@styleframe/cli 2.0.3 → 2.2.0

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.
@@ -1,5 +1,6 @@
1
1
  import path, { isAbsolute as isAbsolute$1, resolve as resolve$1 } from "node:path";
2
2
  import { rm, readFile, mkdir, writeFile, stat } from "node:fs/promises";
3
+ import { validateInstanceLicense, getLicenseKeyFromEnv } from "@styleframe/license";
3
4
  import fs, { lstatSync, realpathSync, statSync, existsSync, readFileSync, promises } from "node:fs";
4
5
  import require$$9$1, { fileURLToPath, pathToFileURL, URL as URL$1 } from "node:url";
5
6
  import require$$0, { homedir } from "node:os";
@@ -18,54 +19,6 @@ import require$$2 from "os";
18
19
  import require$$3 from "crypto";
19
20
  import { defineCommand } from "citty";
20
21
  import consola from "consola";
21
- const a = "__licenseRequired", o = "__licenseValidated", f = "zkbxuglymolesrtagncn", s = `https://${f}.supabase.co`, y = {};
22
- function I$1() {
23
- return process.env?.STYLEFRAME_KEY || y?.STYLEFRAME_KEY;
24
- }
25
- async function p$2(e) {
26
- return await (await fetch(
27
- `${s}/functions/v1/validate-license`,
28
- {
29
- method: "POST",
30
- body: JSON.stringify(e)
31
- }
32
- )).json();
33
- }
34
- function c(e) {
35
- return Object.prototype.hasOwnProperty.call(e, a);
36
- }
37
- function b$2(e, n) {
38
- Object.defineProperty(e, o, {
39
- value: n,
40
- writable: false,
41
- configurable: false,
42
- enumerable: false
43
- });
44
- }
45
- async function L$2(e, {
46
- licenseKey: n,
47
- environment: t,
48
- isBuild: r2 = false
49
- }) {
50
- if (c(e)) {
51
- if (n) {
52
- const i = await p$2({
53
- key: n,
54
- instanceId: e.id,
55
- environment: t
56
- });
57
- if ("payload" in i && "signature" in i)
58
- b$2(e, i);
59
- else
60
- throw new Error(`License validation failed with ${i.error}`);
61
- } else if (t !== "production")
62
- console.warn("[styleframe] No styleframe Pro license key provided.");
63
- else if (r2)
64
- throw new Error(
65
- "A valid styleframe Pro license key is required to build in production mode."
66
- );
67
- }
68
- }
69
22
  const _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
70
23
  function normalizeWindowsPath(input = "") {
71
24
  if (!input) {
@@ -1225,17 +1178,17 @@ function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, ba
1225
1178
  }
1226
1179
  throw exportsNotFound(packageSubpath, packageJsonUrl, base);
1227
1180
  }
1228
- function patternKeyCompare(a2, b2) {
1229
- const aPatternIndex = a2.indexOf("*");
1181
+ function patternKeyCompare(a, b2) {
1182
+ const aPatternIndex = a.indexOf("*");
1230
1183
  const bPatternIndex = b2.indexOf("*");
1231
- const baseLengthA = aPatternIndex === -1 ? a2.length : aPatternIndex + 1;
1184
+ const baseLengthA = aPatternIndex === -1 ? a.length : aPatternIndex + 1;
1232
1185
  const baseLengthB = bPatternIndex === -1 ? b2.length : bPatternIndex + 1;
1233
1186
  if (baseLengthA > baseLengthB) return -1;
1234
1187
  if (baseLengthB > baseLengthA) return 1;
1235
1188
  if (aPatternIndex === -1) return 1;
1236
1189
  if (bPatternIndex === -1) return -1;
1237
- if (a2.length > b2.length) return -1;
1238
- if (b2.length > a2.length) return 1;
1190
+ if (a.length > b2.length) return -1;
1191
+ if (b2.length > a.length) return 1;
1239
1192
  return 0;
1240
1193
  }
1241
1194
  function packageImportsResolve(name, base, conditions) {
@@ -1602,11 +1555,11 @@ function _cacheKey(id, opts) {
1602
1555
  opts?.suffixes
1603
1556
  ]);
1604
1557
  }
1605
- function _join(a2, b2) {
1606
- if (!a2 || !b2 || b2 === "/") {
1607
- return a2;
1558
+ function _join(a, b2) {
1559
+ if (!a || !b2 || b2 === "/") {
1560
+ return a;
1608
1561
  }
1609
- return (a2.endsWith("/") ? a2 : a2 + "/") + (b2.startsWith("/") ? b2.slice(1) : b2);
1562
+ return (a.endsWith("/") ? a : a + "/") + (b2.startsWith("/") ? b2.slice(1) : b2);
1610
1563
  }
1611
1564
  function _normalizeWinPath(path2) {
1612
1565
  return path2.replace(/\\/g, "/").replace(/^[a-z]:\//, (r2) => r2.toUpperCase());
@@ -1659,8 +1612,8 @@ function requireJiti() {
1659
1612
  webpackEmptyAsyncContext.keys = () => [], webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext, webpackEmptyAsyncContext.id = "./node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist lazy recursive", e2.exports = webpackEmptyAsyncContext;
1660
1613
  } }, t = {};
1661
1614
  function __webpack_require__(i2) {
1662
- var s2 = t[i2];
1663
- if (void 0 !== s2) return s2.exports;
1615
+ var s = t[i2];
1616
+ if (void 0 !== s) return s.exports;
1664
1617
  var r2 = t[i2] = { exports: {} };
1665
1618
  return e[i2](r2, r2.exports, __webpack_require__), r2.exports;
1666
1619
  }
@@ -1674,19 +1627,19 @@ function requireJiti() {
1674
1627
  (() => {
1675
1628
  __webpack_require__.d(i, { default: () => createJiti2 });
1676
1629
  const e2 = require$$0;
1677
- var t2 = [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], s2 = [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], r2 = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", n = { 3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile", 5: "class enum extends super const export import", 6: "enum", strict: "implements interface let package private protected public static yield", strictBind: "eval arguments" }, a2 = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", o2 = { 5: a2, "5module": a2 + " export import", 6: a2 + " const class extends export import super" }, h2 = /^in(stanceof)?$/, c2 = new RegExp("[" + r2 + "]"), p2 = new RegExp("[" + r2 + "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");
1630
+ var t2 = [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], s = [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], r2 = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", n = { 3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile", 5: "class enum extends super const export import", 6: "enum", strict: "implements interface let package private protected public static yield", strictBind: "eval arguments" }, a = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", o = { 5: a, "5module": a + " export import", 6: a + " const class extends export import super" }, h2 = /^in(stanceof)?$/, c = new RegExp("[" + r2 + "]"), p2 = new RegExp("[" + r2 + "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");
1678
1631
  function isInAstralSet(e3, t3) {
1679
- for (var i2 = 65536, s3 = 0; s3 < t3.length; s3 += 2) {
1680
- if ((i2 += t3[s3]) > e3) return false;
1681
- if ((i2 += t3[s3 + 1]) >= e3) return true;
1632
+ for (var i2 = 65536, s2 = 0; s2 < t3.length; s2 += 2) {
1633
+ if ((i2 += t3[s2]) > e3) return false;
1634
+ if ((i2 += t3[s2 + 1]) >= e3) return true;
1682
1635
  }
1683
1636
  return false;
1684
1637
  }
1685
1638
  function isIdentifierStart(e3, t3) {
1686
- return e3 < 65 ? 36 === e3 : e3 < 91 || (e3 < 97 ? 95 === e3 : e3 < 123 || (e3 <= 65535 ? e3 >= 170 && c2.test(String.fromCharCode(e3)) : false !== t3 && isInAstralSet(e3, s2)));
1639
+ return e3 < 65 ? 36 === e3 : e3 < 91 || (e3 < 97 ? 95 === e3 : e3 < 123 || (e3 <= 65535 ? e3 >= 170 && c.test(String.fromCharCode(e3)) : false !== t3 && isInAstralSet(e3, s)));
1687
1640
  }
1688
1641
  function isIdentifierChar(e3, i2) {
1689
- return e3 < 48 ? 36 === e3 : e3 < 58 || !(e3 < 65) && (e3 < 91 || (e3 < 97 ? 95 === e3 : e3 < 123 || (e3 <= 65535 ? e3 >= 170 && p2.test(String.fromCharCode(e3)) : false !== i2 && (isInAstralSet(e3, s2) || isInAstralSet(e3, t2)))));
1642
+ return e3 < 48 ? 36 === e3 : e3 < 58 || !(e3 < 65) && (e3 < 91 || (e3 < 97 ? 95 === e3 : e3 < 123 || (e3 <= 65535 ? e3 >= 170 && p2.test(String.fromCharCode(e3)) : false !== i2 && (isInAstralSet(e3, s) || isInAstralSet(e3, t2)))));
1690
1643
  }
1691
1644
  var acorn_TokenType = function(e3, t3) {
1692
1645
  void 0 === t3 && (t3 = {}), this.label = e3, this.keyword = t3.keyword, this.beforeExpr = !!t3.beforeExpr, this.startsExpr = !!t3.startsExpr, this.isLoop = !!t3.isLoop, this.isAssign = !!t3.isAssign, this.prefix = !!t3.prefix, this.postfix = !!t3.postfix, this.binop = t3.binop || null, this.updateContext = null;
@@ -1698,19 +1651,19 @@ function requireJiti() {
1698
1651
  function kw(e3, t3) {
1699
1652
  return void 0 === t3 && (t3 = {}), t3.keyword = e3, d[e3] = new acorn_TokenType(e3, t3);
1700
1653
  }
1701
- var f2 = { num: new acorn_TokenType("num", u), regexp: new acorn_TokenType("regexp", u), string: new acorn_TokenType("string", u), name: new acorn_TokenType("name", u), privateId: new acorn_TokenType("privateId", u), eof: new acorn_TokenType("eof"), bracketL: new acorn_TokenType("[", { beforeExpr: true, startsExpr: true }), bracketR: new acorn_TokenType("]"), braceL: new acorn_TokenType("{", { beforeExpr: true, startsExpr: true }), braceR: new acorn_TokenType("}"), parenL: new acorn_TokenType("(", { beforeExpr: true, startsExpr: true }), parenR: new acorn_TokenType(")"), comma: new acorn_TokenType(",", l), semi: new acorn_TokenType(";", l), colon: new acorn_TokenType(":", l), dot: new acorn_TokenType("."), question: new acorn_TokenType("?", l), questionDot: new acorn_TokenType("?."), arrow: new acorn_TokenType("=>", l), template: new acorn_TokenType("template"), invalidTemplate: new acorn_TokenType("invalidTemplate"), ellipsis: new acorn_TokenType("...", l), backQuote: new acorn_TokenType("`", u), dollarBraceL: new acorn_TokenType("${", { beforeExpr: true, startsExpr: true }), eq: new acorn_TokenType("=", { beforeExpr: true, isAssign: true }), assign: new acorn_TokenType("_=", { beforeExpr: true, isAssign: true }), incDec: new acorn_TokenType("++/--", { prefix: true, postfix: true, startsExpr: true }), prefix: new acorn_TokenType("!/~", { beforeExpr: true, prefix: true, startsExpr: true }), logicalOR: binop("||", 1), logicalAND: binop("&&", 2), bitwiseOR: binop("|", 3), bitwiseXOR: binop("^", 4), bitwiseAND: binop("&", 5), equality: binop("==/!=/===/!==", 6), relational: binop("</>/<=/>=", 7), bitShift: binop("<</>>/>>>", 8), plusMin: new acorn_TokenType("+/-", { beforeExpr: true, binop: 9, prefix: true, startsExpr: true }), modulo: binop("%", 10), star: binop("*", 10), slash: binop("/", 10), starstar: new acorn_TokenType("**", { beforeExpr: true }), coalesce: binop("??", 1), _break: kw("break"), _case: kw("case", l), _catch: kw("catch"), _continue: kw("continue"), _debugger: kw("debugger"), _default: kw("default", l), _do: kw("do", { isLoop: true, beforeExpr: true }), _else: kw("else", l), _finally: kw("finally"), _for: kw("for", { isLoop: true }), _function: kw("function", u), _if: kw("if"), _return: kw("return", l), _switch: kw("switch"), _throw: kw("throw", l), _try: kw("try"), _var: kw("var"), _const: kw("const"), _while: kw("while", { isLoop: true }), _with: kw("with"), _new: kw("new", { beforeExpr: true, startsExpr: true }), _this: kw("this", u), _super: kw("super", u), _class: kw("class", u), _extends: kw("extends", l), _export: kw("export"), _import: kw("import", u), _null: kw("null", u), _true: kw("true", u), _false: kw("false", u), _in: kw("in", { beforeExpr: true, binop: 7 }), _instanceof: kw("instanceof", { beforeExpr: true, binop: 7 }), _typeof: kw("typeof", { beforeExpr: true, prefix: true, startsExpr: true }), _void: kw("void", { beforeExpr: true, prefix: true, startsExpr: true }), _delete: kw("delete", { beforeExpr: true, prefix: true, startsExpr: true }) }, m2 = /\r\n?|\n|\u2028|\u2029/, g2 = new RegExp(m2.source, "g");
1654
+ var f = { num: new acorn_TokenType("num", u), regexp: new acorn_TokenType("regexp", u), string: new acorn_TokenType("string", u), name: new acorn_TokenType("name", u), privateId: new acorn_TokenType("privateId", u), eof: new acorn_TokenType("eof"), bracketL: new acorn_TokenType("[", { beforeExpr: true, startsExpr: true }), bracketR: new acorn_TokenType("]"), braceL: new acorn_TokenType("{", { beforeExpr: true, startsExpr: true }), braceR: new acorn_TokenType("}"), parenL: new acorn_TokenType("(", { beforeExpr: true, startsExpr: true }), parenR: new acorn_TokenType(")"), comma: new acorn_TokenType(",", l), semi: new acorn_TokenType(";", l), colon: new acorn_TokenType(":", l), dot: new acorn_TokenType("."), question: new acorn_TokenType("?", l), questionDot: new acorn_TokenType("?."), arrow: new acorn_TokenType("=>", l), template: new acorn_TokenType("template"), invalidTemplate: new acorn_TokenType("invalidTemplate"), ellipsis: new acorn_TokenType("...", l), backQuote: new acorn_TokenType("`", u), dollarBraceL: new acorn_TokenType("${", { beforeExpr: true, startsExpr: true }), eq: new acorn_TokenType("=", { beforeExpr: true, isAssign: true }), assign: new acorn_TokenType("_=", { beforeExpr: true, isAssign: true }), incDec: new acorn_TokenType("++/--", { prefix: true, postfix: true, startsExpr: true }), prefix: new acorn_TokenType("!/~", { beforeExpr: true, prefix: true, startsExpr: true }), logicalOR: binop("||", 1), logicalAND: binop("&&", 2), bitwiseOR: binop("|", 3), bitwiseXOR: binop("^", 4), bitwiseAND: binop("&", 5), equality: binop("==/!=/===/!==", 6), relational: binop("</>/<=/>=", 7), bitShift: binop("<</>>/>>>", 8), plusMin: new acorn_TokenType("+/-", { beforeExpr: true, binop: 9, prefix: true, startsExpr: true }), modulo: binop("%", 10), star: binop("*", 10), slash: binop("/", 10), starstar: new acorn_TokenType("**", { beforeExpr: true }), coalesce: binop("??", 1), _break: kw("break"), _case: kw("case", l), _catch: kw("catch"), _continue: kw("continue"), _debugger: kw("debugger"), _default: kw("default", l), _do: kw("do", { isLoop: true, beforeExpr: true }), _else: kw("else", l), _finally: kw("finally"), _for: kw("for", { isLoop: true }), _function: kw("function", u), _if: kw("if"), _return: kw("return", l), _switch: kw("switch"), _throw: kw("throw", l), _try: kw("try"), _var: kw("var"), _const: kw("const"), _while: kw("while", { isLoop: true }), _with: kw("with"), _new: kw("new", { beforeExpr: true, startsExpr: true }), _this: kw("this", u), _super: kw("super", u), _class: kw("class", u), _extends: kw("extends", l), _export: kw("export"), _import: kw("import", u), _null: kw("null", u), _true: kw("true", u), _false: kw("false", u), _in: kw("in", { beforeExpr: true, binop: 7 }), _instanceof: kw("instanceof", { beforeExpr: true, binop: 7 }), _typeof: kw("typeof", { beforeExpr: true, prefix: true, startsExpr: true }), _void: kw("void", { beforeExpr: true, prefix: true, startsExpr: true }), _delete: kw("delete", { beforeExpr: true, prefix: true, startsExpr: true }) }, m2 = /\r\n?|\n|\u2028|\u2029/, g2 = new RegExp(m2.source, "g");
1702
1655
  function isNewLine(e3) {
1703
1656
  return 10 === e3 || 13 === e3 || 8232 === e3 || 8233 === e3;
1704
1657
  }
1705
1658
  function nextLineBreak(e3, t3, i2) {
1706
1659
  void 0 === i2 && (i2 = e3.length);
1707
- for (var s3 = t3; s3 < i2; s3++) {
1708
- var r3 = e3.charCodeAt(s3);
1709
- if (isNewLine(r3)) return s3 < i2 - 1 && 13 === r3 && 10 === e3.charCodeAt(s3 + 1) ? s3 + 2 : s3 + 1;
1660
+ for (var s2 = t3; s2 < i2; s2++) {
1661
+ var r3 = e3.charCodeAt(s2);
1662
+ if (isNewLine(r3)) return s2 < i2 - 1 && 13 === r3 && 10 === e3.charCodeAt(s2 + 1) ? s2 + 2 : s2 + 1;
1710
1663
  }
1711
1664
  return -1;
1712
1665
  }
1713
- var x2 = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, v2 = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, y2 = Object.prototype, _2 = y2.hasOwnProperty, E2 = y2.toString, b2 = Object.hasOwn || function(e3, t3) {
1666
+ var x2 = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, v2 = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, y = Object.prototype, _2 = y.hasOwnProperty, E2 = y.toString, b2 = Object.hasOwn || function(e3, t3) {
1714
1667
  return _2.call(e3, t3);
1715
1668
  }, S2 = Array.isArray || function(e3) {
1716
1669
  return "[object Array]" === E2.call(e3);
@@ -1731,10 +1684,10 @@ function requireJiti() {
1731
1684
  this.start = t3, this.end = i2, null !== e3.sourceFile && (this.source = e3.sourceFile);
1732
1685
  };
1733
1686
  function getLineInfo(e3, t3) {
1734
- for (var i2 = 1, s3 = 0; ; ) {
1735
- var r3 = nextLineBreak(e3, s3, t3);
1736
- if (r3 < 0) return new acorn_Position(i2, t3 - s3);
1737
- ++i2, s3 = r3;
1687
+ for (var i2 = 1, s2 = 0; ; ) {
1688
+ var r3 = nextLineBreak(e3, s2, t3);
1689
+ if (r3 < 0) return new acorn_Position(i2, t3 - s2);
1690
+ ++i2, s2 = r3;
1738
1691
  }
1739
1692
  }
1740
1693
  var I2 = { ecmaVersion: null, sourceType: "script", onInsertedSemicolon: null, onTrailingComma: null, allowReserved: null, allowReturnOutsideFunction: false, allowImportExportEverywhere: false, allowAwaitOutsideFunction: null, allowSuperOutsideMethod: null, allowHashBang: false, checkPrivateFields: true, locations: false, onToken: null, onComment: null, ranges: false, program: null, sourceFile: null, directSourceFile: null, preserveParens: false }, C2 = false;
@@ -1742,15 +1695,15 @@ function requireJiti() {
1742
1695
  var t3 = {};
1743
1696
  for (var i2 in I2) t3[i2] = e3 && b2(e3, i2) ? e3[i2] : I2[i2];
1744
1697
  if ("latest" === t3.ecmaVersion ? t3.ecmaVersion = 1e8 : null == t3.ecmaVersion ? (!C2 && "object" == typeof console && console.warn && (C2 = true, console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")), t3.ecmaVersion = 11) : t3.ecmaVersion >= 2015 && (t3.ecmaVersion -= 2009), null == t3.allowReserved && (t3.allowReserved = t3.ecmaVersion < 5), e3 && null != e3.allowHashBang || (t3.allowHashBang = t3.ecmaVersion >= 14), S2(t3.onToken)) {
1745
- var s3 = t3.onToken;
1698
+ var s2 = t3.onToken;
1746
1699
  t3.onToken = function(e4) {
1747
- return s3.push(e4);
1700
+ return s2.push(e4);
1748
1701
  };
1749
1702
  }
1750
1703
  return S2(t3.onComment) && (t3.onComment = /* @__PURE__ */ (function(e4, t4) {
1751
- return function(i3, s4, r3, n2, a3, o3) {
1752
- var h3 = { type: i3 ? "Block" : "Line", value: s4, start: r3, end: n2 };
1753
- e4.locations && (h3.loc = new acorn_SourceLocation(this, a3, o3)), e4.ranges && (h3.range = [r3, n2]), t4.push(h3);
1704
+ return function(i3, s3, r3, n2, a2, o2) {
1705
+ var h3 = { type: i3 ? "Block" : "Line", value: s3, start: r3, end: n2 };
1706
+ e4.locations && (h3.loc = new acorn_SourceLocation(this, a2, o2)), e4.ranges && (h3.range = [r3, n2]), t4.push(h3);
1754
1707
  };
1755
1708
  })(t3, t3.onComment)), t3;
1756
1709
  }
@@ -1759,11 +1712,11 @@ function requireJiti() {
1759
1712
  return 2 | (e3 ? 4 : 0) | (t3 ? 8 : 0);
1760
1713
  }
1761
1714
  var acorn_Parser = function(e3, t3, i2) {
1762
- this.options = e3 = getOptions(e3), this.sourceFile = e3.sourceFile, this.keywords = wordsRegexp(o2[e3.ecmaVersion >= 6 ? 6 : "module" === e3.sourceType ? "5module" : 5]);
1763
- var s3 = "";
1764
- true !== e3.allowReserved && (s3 = n[e3.ecmaVersion >= 6 ? 6 : 5 === e3.ecmaVersion ? 5 : 3], "module" === e3.sourceType && (s3 += " await")), this.reservedWords = wordsRegexp(s3);
1765
- var r3 = (s3 ? s3 + " " : "") + n.strict;
1766
- this.reservedWordsStrict = wordsRegexp(r3), this.reservedWordsStrictBind = wordsRegexp(r3 + " " + n.strictBind), this.input = String(t3), this.containsEsc = false, i2 ? (this.pos = i2, this.lineStart = this.input.lastIndexOf("\n", i2 - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(m2).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = f2.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = true, this.inModule = "module" === e3.sourceType, this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = false, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), 0 === this.pos && e3.allowHashBang && "#!" === this.input.slice(0, 2) && this.skipLineComment(2), this.scopeStack = [], this.enterScope(1), this.regexpState = null, this.privateNameStack = [];
1715
+ this.options = e3 = getOptions(e3), this.sourceFile = e3.sourceFile, this.keywords = wordsRegexp(o[e3.ecmaVersion >= 6 ? 6 : "module" === e3.sourceType ? "5module" : 5]);
1716
+ var s2 = "";
1717
+ true !== e3.allowReserved && (s2 = n[e3.ecmaVersion >= 6 ? 6 : 5 === e3.ecmaVersion ? 5 : 3], "module" === e3.sourceType && (s2 += " await")), this.reservedWords = wordsRegexp(s2);
1718
+ var r3 = (s2 ? s2 + " " : "") + n.strict;
1719
+ this.reservedWordsStrict = wordsRegexp(r3), this.reservedWordsStrictBind = wordsRegexp(r3 + " " + n.strictBind), this.input = String(t3), this.containsEsc = false, i2 ? (this.pos = i2, this.lineStart = this.input.lastIndexOf("\n", i2 - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(m2).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = f.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = true, this.inModule = "module" === e3.sourceType, this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = false, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), 0 === this.pos && e3.allowHashBang && "#!" === this.input.slice(0, 2) && this.skipLineComment(2), this.scopeStack = [], this.enterScope(1), this.regexpState = null, this.privateNameStack = [];
1767
1720
  }, T2 = { inFunction: { configurable: true }, inGenerator: { configurable: true }, inAsync: { configurable: true }, canAwait: { configurable: true }, allowSuper: { configurable: true }, allowDirectSuper: { configurable: true }, treatFunctionsAsVar: { configurable: true }, allowNewDotTarget: { configurable: true }, inClassStaticBlock: { configurable: true } };
1768
1721
  acorn_Parser.prototype.parse = function() {
1769
1722
  var e3 = this.options.program || this.startNode();
@@ -1797,13 +1750,13 @@ function requireJiti() {
1797
1750
  return (this.currentVarScope().flags & R2) > 0;
1798
1751
  }, acorn_Parser.extend = function() {
1799
1752
  for (var e3 = [], t3 = arguments.length; t3--; ) e3[t3] = arguments[t3];
1800
- for (var i2 = this, s3 = 0; s3 < e3.length; s3++) i2 = e3[s3](i2);
1753
+ for (var i2 = this, s2 = 0; s2 < e3.length; s2++) i2 = e3[s2](i2);
1801
1754
  return i2;
1802
1755
  }, acorn_Parser.parse = function(e3, t3) {
1803
1756
  return new this(t3, e3).parse();
1804
1757
  }, acorn_Parser.parseExpressionAt = function(e3, t3, i2) {
1805
- var s3 = new this(i2, e3, t3);
1806
- return s3.nextToken(), s3.parseExpression();
1758
+ var s2 = new this(i2, e3, t3);
1759
+ return s2.nextToken(), s2.parseExpression();
1807
1760
  }, acorn_Parser.tokenizer = function(e3, t3) {
1808
1761
  return new this(t3, e3);
1809
1762
  }, Object.defineProperties(acorn_Parser.prototype, T2);
@@ -1816,25 +1769,25 @@ function requireJiti() {
1816
1769
  if (!t3) return false;
1817
1770
  if ("use strict" === (t3[1] || t3[2])) {
1818
1771
  v2.lastIndex = e3 + t3[0].length;
1819
- var i2 = v2.exec(this.input), s3 = i2.index + i2[0].length, r3 = this.input.charAt(s3);
1820
- return ";" === r3 || "}" === r3 || m2.test(i2[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(r3) || "!" === r3 && "=" === this.input.charAt(s3 + 1));
1772
+ var i2 = v2.exec(this.input), s2 = i2.index + i2[0].length, r3 = this.input.charAt(s2);
1773
+ return ";" === r3 || "}" === r3 || m2.test(i2[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(r3) || "!" === r3 && "=" === this.input.charAt(s2 + 1));
1821
1774
  }
1822
1775
  e3 += t3[0].length, v2.lastIndex = e3, e3 += v2.exec(this.input)[0].length, ";" === this.input[e3] && e3++;
1823
1776
  }
1824
1777
  }, A2.eat = function(e3) {
1825
1778
  return this.type === e3 && (this.next(), true);
1826
1779
  }, A2.isContextual = function(e3) {
1827
- return this.type === f2.name && this.value === e3 && !this.containsEsc;
1780
+ return this.type === f.name && this.value === e3 && !this.containsEsc;
1828
1781
  }, A2.eatContextual = function(e3) {
1829
1782
  return !!this.isContextual(e3) && (this.next(), true);
1830
1783
  }, A2.expectContextual = function(e3) {
1831
1784
  this.eatContextual(e3) || this.unexpected();
1832
1785
  }, A2.canInsertSemicolon = function() {
1833
- return this.type === f2.eof || this.type === f2.braceR || m2.test(this.input.slice(this.lastTokEnd, this.start));
1786
+ return this.type === f.eof || this.type === f.braceR || m2.test(this.input.slice(this.lastTokEnd, this.start));
1834
1787
  }, A2.insertSemicolon = function() {
1835
1788
  if (this.canInsertSemicolon()) return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), true;
1836
1789
  }, A2.semicolon = function() {
1837
- this.eat(f2.semi) || this.insertSemicolon() || this.unexpected();
1790
+ this.eat(f.semi) || this.insertSemicolon() || this.unexpected();
1838
1791
  }, A2.afterTrailingComma = function(e3, t3) {
1839
1792
  if (this.type === e3) return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), t3 || this.next(), true;
1840
1793
  }, A2.expect = function(e3) {
@@ -1853,9 +1806,9 @@ function requireJiti() {
1853
1806
  }
1854
1807
  }, A2.checkExpressionErrors = function(e3, t3) {
1855
1808
  if (!e3) return false;
1856
- var i2 = e3.shorthandAssign, s3 = e3.doubleProto;
1857
- if (!t3) return i2 >= 0 || s3 >= 0;
1858
- i2 >= 0 && this.raise(i2, "Shorthand property assignments are valid only in destructuring patterns"), s3 >= 0 && this.raiseRecoverable(s3, "Redefinition of __proto__ property");
1809
+ var i2 = e3.shorthandAssign, s2 = e3.doubleProto;
1810
+ if (!t3) return i2 >= 0 || s2 >= 0;
1811
+ i2 >= 0 && this.raise(i2, "Shorthand property assignments are valid only in destructuring patterns"), s2 >= 0 && this.raiseRecoverable(s2, "Redefinition of __proto__ property");
1859
1812
  }, A2.checkYieldAwaitInDefaultParams = function() {
1860
1813
  this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default value"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value");
1861
1814
  }, A2.isSimpleAssignTarget = function(e3) {
@@ -1864,12 +1817,12 @@ function requireJiti() {
1864
1817
  var L2 = acorn_Parser.prototype;
1865
1818
  L2.parseTopLevel = function(e3) {
1866
1819
  var t3 = /* @__PURE__ */ Object.create(null);
1867
- for (e3.body || (e3.body = []); this.type !== f2.eof; ) {
1820
+ for (e3.body || (e3.body = []); this.type !== f.eof; ) {
1868
1821
  var i2 = this.parseStatement(null, true, t3);
1869
1822
  e3.body.push(i2);
1870
1823
  }
1871
- if (this.inModule) for (var s3 = 0, r3 = Object.keys(this.undefinedExports); s3 < r3.length; s3 += 1) {
1872
- var n2 = r3[s3];
1824
+ if (this.inModule) for (var s2 = 0, r3 = Object.keys(this.undefinedExports); s2 < r3.length; s2 += 1) {
1825
+ var n2 = r3[s2];
1873
1826
  this.raiseRecoverable(this.undefinedExports[n2].start, "Export '" + n2 + "' is not defined");
1874
1827
  }
1875
1828
  return this.adaptDirectivePrologue(e3.body), this.next(), e3.sourceType = this.options.sourceType, this.finishNode(e3, "Program");
@@ -1878,13 +1831,13 @@ function requireJiti() {
1878
1831
  L2.isLet = function(e3) {
1879
1832
  if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return false;
1880
1833
  v2.lastIndex = this.pos;
1881
- var t3 = v2.exec(this.input), i2 = this.pos + t3[0].length, s3 = this.input.charCodeAt(i2);
1882
- if (91 === s3 || 92 === s3) return true;
1834
+ var t3 = v2.exec(this.input), i2 = this.pos + t3[0].length, s2 = this.input.charCodeAt(i2);
1835
+ if (91 === s2 || 92 === s2) return true;
1883
1836
  if (e3) return false;
1884
- if (123 === s3 || s3 > 55295 && s3 < 56320) return true;
1885
- if (isIdentifierStart(s3, true)) {
1886
- for (var r3 = i2 + 1; isIdentifierChar(s3 = this.input.charCodeAt(r3), true); ) ++r3;
1887
- if (92 === s3 || s3 > 55295 && s3 < 56320) return true;
1837
+ if (123 === s2 || s2 > 55295 && s2 < 56320) return true;
1838
+ if (isIdentifierStart(s2, true)) {
1839
+ for (var r3 = i2 + 1; isIdentifierChar(s2 = this.input.charCodeAt(r3), true); ) ++r3;
1840
+ if (92 === s2 || s2 > 55295 && s2 < 56320) return true;
1888
1841
  var n2 = this.input.slice(i2, r3);
1889
1842
  if (!h2.test(n2)) return true;
1890
1843
  }
@@ -1897,122 +1850,122 @@ function requireJiti() {
1897
1850
  }, L2.isUsingKeyword = function(e3, t3) {
1898
1851
  if (this.options.ecmaVersion < 17 || !this.isContextual(e3 ? "await" : "using")) return false;
1899
1852
  v2.lastIndex = this.pos;
1900
- var i2 = v2.exec(this.input), s3 = this.pos + i2[0].length;
1901
- if (m2.test(this.input.slice(this.pos, s3))) return false;
1853
+ var i2 = v2.exec(this.input), s2 = this.pos + i2[0].length;
1854
+ if (m2.test(this.input.slice(this.pos, s2))) return false;
1902
1855
  if (e3) {
1903
- var r3, n2 = s3 + 5;
1904
- if ("using" !== this.input.slice(s3, n2) || n2 === this.input.length || isIdentifierChar(r3 = this.input.charCodeAt(n2)) || r3 > 55295 && r3 < 56320) return false;
1856
+ var r3, n2 = s2 + 5;
1857
+ if ("using" !== this.input.slice(s2, n2) || n2 === this.input.length || isIdentifierChar(r3 = this.input.charCodeAt(n2)) || r3 > 55295 && r3 < 56320) return false;
1905
1858
  v2.lastIndex = n2;
1906
- var a3 = v2.exec(this.input);
1907
- if (a3 && m2.test(this.input.slice(n2, n2 + a3[0].length))) return false;
1859
+ var a2 = v2.exec(this.input);
1860
+ if (a2 && m2.test(this.input.slice(n2, n2 + a2[0].length))) return false;
1908
1861
  }
1909
1862
  if (t3) {
1910
- var o3, h3 = s3 + 2;
1911
- if (!("of" !== this.input.slice(s3, h3) || h3 !== this.input.length && (isIdentifierChar(o3 = this.input.charCodeAt(h3)) || o3 > 55295 && o3 < 56320))) return false;
1863
+ var o2, h3 = s2 + 2;
1864
+ if (!("of" !== this.input.slice(s2, h3) || h3 !== this.input.length && (isIdentifierChar(o2 = this.input.charCodeAt(h3)) || o2 > 55295 && o2 < 56320))) return false;
1912
1865
  }
1913
- var c3 = this.input.charCodeAt(s3);
1914
- return isIdentifierStart(c3, true) || 92 === c3;
1866
+ var c2 = this.input.charCodeAt(s2);
1867
+ return isIdentifierStart(c2, true) || 92 === c2;
1915
1868
  }, L2.isAwaitUsing = function(e3) {
1916
1869
  return this.isUsingKeyword(true, e3);
1917
1870
  }, L2.isUsing = function(e3) {
1918
1871
  return this.isUsingKeyword(false, e3);
1919
1872
  }, L2.parseStatement = function(e3, t3, i2) {
1920
- var s3, r3 = this.type, n2 = this.startNode();
1921
- switch (this.isLet(e3) && (r3 = f2._var, s3 = "let"), r3) {
1922
- case f2._break:
1923
- case f2._continue:
1873
+ var s2, r3 = this.type, n2 = this.startNode();
1874
+ switch (this.isLet(e3) && (r3 = f._var, s2 = "let"), r3) {
1875
+ case f._break:
1876
+ case f._continue:
1924
1877
  return this.parseBreakContinueStatement(n2, r3.keyword);
1925
- case f2._debugger:
1878
+ case f._debugger:
1926
1879
  return this.parseDebuggerStatement(n2);
1927
- case f2._do:
1880
+ case f._do:
1928
1881
  return this.parseDoStatement(n2);
1929
- case f2._for:
1882
+ case f._for:
1930
1883
  return this.parseForStatement(n2);
1931
- case f2._function:
1884
+ case f._function:
1932
1885
  return e3 && (this.strict || "if" !== e3 && "label" !== e3) && this.options.ecmaVersion >= 6 && this.unexpected(), this.parseFunctionStatement(n2, false, !e3);
1933
- case f2._class:
1886
+ case f._class:
1934
1887
  return e3 && this.unexpected(), this.parseClass(n2, true);
1935
- case f2._if:
1888
+ case f._if:
1936
1889
  return this.parseIfStatement(n2);
1937
- case f2._return:
1890
+ case f._return:
1938
1891
  return this.parseReturnStatement(n2);
1939
- case f2._switch:
1892
+ case f._switch:
1940
1893
  return this.parseSwitchStatement(n2);
1941
- case f2._throw:
1894
+ case f._throw:
1942
1895
  return this.parseThrowStatement(n2);
1943
- case f2._try:
1896
+ case f._try:
1944
1897
  return this.parseTryStatement(n2);
1945
- case f2._const:
1946
- case f2._var:
1947
- return s3 = s3 || this.value, e3 && "var" !== s3 && this.unexpected(), this.parseVarStatement(n2, s3);
1948
- case f2._while:
1898
+ case f._const:
1899
+ case f._var:
1900
+ return s2 = s2 || this.value, e3 && "var" !== s2 && this.unexpected(), this.parseVarStatement(n2, s2);
1901
+ case f._while:
1949
1902
  return this.parseWhileStatement(n2);
1950
- case f2._with:
1903
+ case f._with:
1951
1904
  return this.parseWithStatement(n2);
1952
- case f2.braceL:
1905
+ case f.braceL:
1953
1906
  return this.parseBlock(true, n2);
1954
- case f2.semi:
1907
+ case f.semi:
1955
1908
  return this.parseEmptyStatement(n2);
1956
- case f2._export:
1957
- case f2._import:
1958
- if (this.options.ecmaVersion > 10 && r3 === f2._import) {
1909
+ case f._export:
1910
+ case f._import:
1911
+ if (this.options.ecmaVersion > 10 && r3 === f._import) {
1959
1912
  v2.lastIndex = this.pos;
1960
- var a3 = v2.exec(this.input), o3 = this.pos + a3[0].length, h3 = this.input.charCodeAt(o3);
1913
+ var a2 = v2.exec(this.input), o2 = this.pos + a2[0].length, h3 = this.input.charCodeAt(o2);
1961
1914
  if (40 === h3 || 46 === h3) return this.parseExpressionStatement(n2, this.parseExpression());
1962
1915
  }
1963
- return this.options.allowImportExportEverywhere || (t3 || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), r3 === f2._import ? this.parseImport(n2) : this.parseExport(n2, i2);
1916
+ return this.options.allowImportExportEverywhere || (t3 || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), r3 === f._import ? this.parseImport(n2) : this.parseExport(n2, i2);
1964
1917
  default:
1965
1918
  if (this.isAsyncFunction()) return e3 && this.unexpected(), this.next(), this.parseFunctionStatement(n2, true, !e3);
1966
- var c3 = this.isAwaitUsing(false) ? "await using" : this.isUsing(false) ? "using" : null;
1967
- if (c3) return t3 && "script" === this.options.sourceType && this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`"), "await using" === c3 && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(n2, false, c3), this.semicolon(), this.finishNode(n2, "VariableDeclaration");
1919
+ var c2 = this.isAwaitUsing(false) ? "await using" : this.isUsing(false) ? "using" : null;
1920
+ if (c2) return t3 && "script" === this.options.sourceType && this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`"), "await using" === c2 && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(n2, false, c2), this.semicolon(), this.finishNode(n2, "VariableDeclaration");
1968
1921
  var p3 = this.value, l2 = this.parseExpression();
1969
- return r3 === f2.name && "Identifier" === l2.type && this.eat(f2.colon) ? this.parseLabeledStatement(n2, p3, l2, e3) : this.parseExpressionStatement(n2, l2);
1922
+ return r3 === f.name && "Identifier" === l2.type && this.eat(f.colon) ? this.parseLabeledStatement(n2, p3, l2, e3) : this.parseExpressionStatement(n2, l2);
1970
1923
  }
1971
1924
  }, L2.parseBreakContinueStatement = function(e3, t3) {
1972
1925
  var i2 = "break" === t3;
1973
- this.next(), this.eat(f2.semi) || this.insertSemicolon() ? e3.label = null : this.type !== f2.name ? this.unexpected() : (e3.label = this.parseIdent(), this.semicolon());
1974
- for (var s3 = 0; s3 < this.labels.length; ++s3) {
1975
- var r3 = this.labels[s3];
1926
+ this.next(), this.eat(f.semi) || this.insertSemicolon() ? e3.label = null : this.type !== f.name ? this.unexpected() : (e3.label = this.parseIdent(), this.semicolon());
1927
+ for (var s2 = 0; s2 < this.labels.length; ++s2) {
1928
+ var r3 = this.labels[s2];
1976
1929
  if (null == e3.label || r3.name === e3.label.name) {
1977
1930
  if (null != r3.kind && (i2 || "loop" === r3.kind)) break;
1978
1931
  if (e3.label && i2) break;
1979
1932
  }
1980
1933
  }
1981
- return s3 === this.labels.length && this.raise(e3.start, "Unsyntactic " + t3), this.finishNode(e3, i2 ? "BreakStatement" : "ContinueStatement");
1934
+ return s2 === this.labels.length && this.raise(e3.start, "Unsyntactic " + t3), this.finishNode(e3, i2 ? "BreakStatement" : "ContinueStatement");
1982
1935
  }, L2.parseDebuggerStatement = function(e3) {
1983
1936
  return this.next(), this.semicolon(), this.finishNode(e3, "DebuggerStatement");
1984
1937
  }, L2.parseDoStatement = function(e3) {
1985
- return this.next(), this.labels.push(O2), e3.body = this.parseStatement("do"), this.labels.pop(), this.expect(f2._while), e3.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(f2.semi) : this.semicolon(), this.finishNode(e3, "DoWhileStatement");
1938
+ return this.next(), this.labels.push(O2), e3.body = this.parseStatement("do"), this.labels.pop(), this.expect(f._while), e3.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(f.semi) : this.semicolon(), this.finishNode(e3, "DoWhileStatement");
1986
1939
  }, L2.parseForStatement = function(e3) {
1987
1940
  this.next();
1988
1941
  var t3 = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
1989
- if (this.labels.push(O2), this.enterScope(0), this.expect(f2.parenL), this.type === f2.semi) return t3 > -1 && this.unexpected(t3), this.parseFor(e3, null);
1942
+ if (this.labels.push(O2), this.enterScope(0), this.expect(f.parenL), this.type === f.semi) return t3 > -1 && this.unexpected(t3), this.parseFor(e3, null);
1990
1943
  var i2 = this.isLet();
1991
- if (this.type === f2._var || this.type === f2._const || i2) {
1992
- var s3 = this.startNode(), r3 = i2 ? "let" : this.value;
1993
- return this.next(), this.parseVar(s3, true, r3), this.finishNode(s3, "VariableDeclaration"), this.parseForAfterInit(e3, s3, t3);
1944
+ if (this.type === f._var || this.type === f._const || i2) {
1945
+ var s2 = this.startNode(), r3 = i2 ? "let" : this.value;
1946
+ return this.next(), this.parseVar(s2, true, r3), this.finishNode(s2, "VariableDeclaration"), this.parseForAfterInit(e3, s2, t3);
1994
1947
  }
1995
- var n2 = this.isContextual("let"), a3 = false, o3 = this.isUsing(true) ? "using" : this.isAwaitUsing(true) ? "await using" : null;
1996
- if (o3) {
1948
+ var n2 = this.isContextual("let"), a2 = false, o2 = this.isUsing(true) ? "using" : this.isAwaitUsing(true) ? "await using" : null;
1949
+ if (o2) {
1997
1950
  var h3 = this.startNode();
1998
- return this.next(), "await using" === o3 && this.next(), this.parseVar(h3, true, o3), this.finishNode(h3, "VariableDeclaration"), this.parseForAfterInit(e3, h3, t3);
1951
+ return this.next(), "await using" === o2 && this.next(), this.parseVar(h3, true, o2), this.finishNode(h3, "VariableDeclaration"), this.parseForAfterInit(e3, h3, t3);
1999
1952
  }
2000
- var c3 = this.containsEsc, p3 = new acorn_DestructuringErrors(), l2 = this.start, u2 = t3 > -1 ? this.parseExprSubscripts(p3, "await") : this.parseExpression(true, p3);
2001
- return this.type === f2._in || (a3 = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t3 > -1 ? (this.type === f2._in && this.unexpected(t3), e3.await = true) : a3 && this.options.ecmaVersion >= 8 && (u2.start !== l2 || c3 || "Identifier" !== u2.type || "async" !== u2.name ? this.options.ecmaVersion >= 9 && (e3.await = false) : this.unexpected()), n2 && a3 && this.raise(u2.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(u2, false, p3), this.checkLValPattern(u2), this.parseForIn(e3, u2)) : (this.checkExpressionErrors(p3, true), t3 > -1 && this.unexpected(t3), this.parseFor(e3, u2));
1953
+ var c2 = this.containsEsc, p3 = new acorn_DestructuringErrors(), l2 = this.start, u2 = t3 > -1 ? this.parseExprSubscripts(p3, "await") : this.parseExpression(true, p3);
1954
+ return this.type === f._in || (a2 = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t3 > -1 ? (this.type === f._in && this.unexpected(t3), e3.await = true) : a2 && this.options.ecmaVersion >= 8 && (u2.start !== l2 || c2 || "Identifier" !== u2.type || "async" !== u2.name ? this.options.ecmaVersion >= 9 && (e3.await = false) : this.unexpected()), n2 && a2 && this.raise(u2.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(u2, false, p3), this.checkLValPattern(u2), this.parseForIn(e3, u2)) : (this.checkExpressionErrors(p3, true), t3 > -1 && this.unexpected(t3), this.parseFor(e3, u2));
2002
1955
  }, L2.parseForAfterInit = function(e3, t3, i2) {
2003
- return (this.type === f2._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && 1 === t3.declarations.length ? (this.options.ecmaVersion >= 9 && (this.type === f2._in ? i2 > -1 && this.unexpected(i2) : e3.await = i2 > -1), this.parseForIn(e3, t3)) : (i2 > -1 && this.unexpected(i2), this.parseFor(e3, t3));
1956
+ return (this.type === f._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && 1 === t3.declarations.length ? (this.options.ecmaVersion >= 9 && (this.type === f._in ? i2 > -1 && this.unexpected(i2) : e3.await = i2 > -1), this.parseForIn(e3, t3)) : (i2 > -1 && this.unexpected(i2), this.parseFor(e3, t3));
2004
1957
  }, L2.parseFunctionStatement = function(e3, t3, i2) {
2005
1958
  return this.next(), this.parseFunction(e3, U2 | (i2 ? 0 : M2), false, t3);
2006
1959
  }, L2.parseIfStatement = function(e3) {
2007
- return this.next(), e3.test = this.parseParenExpression(), e3.consequent = this.parseStatement("if"), e3.alternate = this.eat(f2._else) ? this.parseStatement("if") : null, this.finishNode(e3, "IfStatement");
1960
+ return this.next(), e3.test = this.parseParenExpression(), e3.consequent = this.parseStatement("if"), e3.alternate = this.eat(f._else) ? this.parseStatement("if") : null, this.finishNode(e3, "IfStatement");
2008
1961
  }, L2.parseReturnStatement = function(e3) {
2009
- return this.inFunction || this.options.allowReturnOutsideFunction || this.raise(this.start, "'return' outside of function"), this.next(), this.eat(f2.semi) || this.insertSemicolon() ? e3.argument = null : (e3.argument = this.parseExpression(), this.semicolon()), this.finishNode(e3, "ReturnStatement");
1962
+ return this.inFunction || this.options.allowReturnOutsideFunction || this.raise(this.start, "'return' outside of function"), this.next(), this.eat(f.semi) || this.insertSemicolon() ? e3.argument = null : (e3.argument = this.parseExpression(), this.semicolon()), this.finishNode(e3, "ReturnStatement");
2010
1963
  }, L2.parseSwitchStatement = function(e3) {
2011
1964
  var t3;
2012
- this.next(), e3.discriminant = this.parseParenExpression(), e3.cases = [], this.expect(f2.braceL), this.labels.push(D2), this.enterScope(0);
2013
- for (var i2 = false; this.type !== f2.braceR; ) if (this.type === f2._case || this.type === f2._default) {
2014
- var s3 = this.type === f2._case;
2015
- t3 && this.finishNode(t3, "SwitchCase"), e3.cases.push(t3 = this.startNode()), t3.consequent = [], this.next(), s3 ? t3.test = this.parseExpression() : (i2 && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), i2 = true, t3.test = null), this.expect(f2.colon);
1965
+ this.next(), e3.discriminant = this.parseParenExpression(), e3.cases = [], this.expect(f.braceL), this.labels.push(D2), this.enterScope(0);
1966
+ for (var i2 = false; this.type !== f.braceR; ) if (this.type === f._case || this.type === f._default) {
1967
+ var s2 = this.type === f._case;
1968
+ t3 && this.finishNode(t3, "SwitchCase"), e3.cases.push(t3 = this.startNode()), t3.consequent = [], this.next(), s2 ? t3.test = this.parseExpression() : (i2 && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), i2 = true, t3.test = null), this.expect(f.colon);
2016
1969
  } else t3 || this.unexpected(), t3.consequent.push(this.parseStatement(null));
2017
1970
  return this.exitScope(), t3 && this.finishNode(t3, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(e3, "SwitchStatement");
2018
1971
  }, L2.parseThrowStatement = function(e3) {
@@ -2021,13 +1974,13 @@ function requireJiti() {
2021
1974
  var V2 = [];
2022
1975
  L2.parseCatchClauseParam = function() {
2023
1976
  var e3 = this.parseBindingAtom(), t3 = "Identifier" === e3.type;
2024
- return this.enterScope(t3 ? 32 : 0), this.checkLValPattern(e3, t3 ? 4 : 2), this.expect(f2.parenR), e3;
1977
+ return this.enterScope(t3 ? 32 : 0), this.checkLValPattern(e3, t3 ? 4 : 2), this.expect(f.parenR), e3;
2025
1978
  }, L2.parseTryStatement = function(e3) {
2026
- if (this.next(), e3.block = this.parseBlock(), e3.handler = null, this.type === f2._catch) {
1979
+ if (this.next(), e3.block = this.parseBlock(), e3.handler = null, this.type === f._catch) {
2027
1980
  var t3 = this.startNode();
2028
- this.next(), this.eat(f2.parenL) ? t3.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), t3.param = null, this.enterScope(0)), t3.body = this.parseBlock(false), this.exitScope(), e3.handler = this.finishNode(t3, "CatchClause");
1981
+ this.next(), this.eat(f.parenL) ? t3.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), t3.param = null, this.enterScope(0)), t3.body = this.parseBlock(false), this.exitScope(), e3.handler = this.finishNode(t3, "CatchClause");
2029
1982
  }
2030
- return e3.finalizer = this.eat(f2._finally) ? this.parseBlock() : null, e3.handler || e3.finalizer || this.raise(e3.start, "Missing catch or finally clause"), this.finishNode(e3, "TryStatement");
1983
+ return e3.finalizer = this.eat(f._finally) ? this.parseBlock() : null, e3.handler || e3.finalizer || this.raise(e3.start, "Missing catch or finally clause"), this.finishNode(e3, "TryStatement");
2031
1984
  }, L2.parseVarStatement = function(e3, t3, i2) {
2032
1985
  return this.next(), this.parseVar(e3, false, t3, i2), this.semicolon(), this.finishNode(e3, "VariableDeclaration");
2033
1986
  }, L2.parseWhileStatement = function(e3) {
@@ -2036,33 +1989,33 @@ function requireJiti() {
2036
1989
  return this.strict && this.raise(this.start, "'with' in strict mode"), this.next(), e3.object = this.parseParenExpression(), e3.body = this.parseStatement("with"), this.finishNode(e3, "WithStatement");
2037
1990
  }, L2.parseEmptyStatement = function(e3) {
2038
1991
  return this.next(), this.finishNode(e3, "EmptyStatement");
2039
- }, L2.parseLabeledStatement = function(e3, t3, i2, s3) {
1992
+ }, L2.parseLabeledStatement = function(e3, t3, i2, s2) {
2040
1993
  for (var r3 = 0, n2 = this.labels; r3 < n2.length; r3 += 1) {
2041
1994
  n2[r3].name === t3 && this.raise(i2.start, "Label '" + t3 + "' is already declared");
2042
1995
  }
2043
- for (var a3 = this.type.isLoop ? "loop" : this.type === f2._switch ? "switch" : null, o3 = this.labels.length - 1; o3 >= 0; o3--) {
2044
- var h3 = this.labels[o3];
1996
+ for (var a2 = this.type.isLoop ? "loop" : this.type === f._switch ? "switch" : null, o2 = this.labels.length - 1; o2 >= 0; o2--) {
1997
+ var h3 = this.labels[o2];
2045
1998
  if (h3.statementStart !== e3.start) break;
2046
- h3.statementStart = this.start, h3.kind = a3;
1999
+ h3.statementStart = this.start, h3.kind = a2;
2047
2000
  }
2048
- return this.labels.push({ name: t3, kind: a3, statementStart: this.start }), e3.body = this.parseStatement(s3 ? -1 === s3.indexOf("label") ? s3 + "label" : s3 : "label"), this.labels.pop(), e3.label = i2, this.finishNode(e3, "LabeledStatement");
2001
+ return this.labels.push({ name: t3, kind: a2, statementStart: this.start }), e3.body = this.parseStatement(s2 ? -1 === s2.indexOf("label") ? s2 + "label" : s2 : "label"), this.labels.pop(), e3.label = i2, this.finishNode(e3, "LabeledStatement");
2049
2002
  }, L2.parseExpressionStatement = function(e3, t3) {
2050
2003
  return e3.expression = t3, this.semicolon(), this.finishNode(e3, "ExpressionStatement");
2051
2004
  }, L2.parseBlock = function(e3, t3, i2) {
2052
- for (void 0 === e3 && (e3 = true), void 0 === t3 && (t3 = this.startNode()), t3.body = [], this.expect(f2.braceL), e3 && this.enterScope(0); this.type !== f2.braceR; ) {
2053
- var s3 = this.parseStatement(null);
2054
- t3.body.push(s3);
2005
+ for (void 0 === e3 && (e3 = true), void 0 === t3 && (t3 = this.startNode()), t3.body = [], this.expect(f.braceL), e3 && this.enterScope(0); this.type !== f.braceR; ) {
2006
+ var s2 = this.parseStatement(null);
2007
+ t3.body.push(s2);
2055
2008
  }
2056
2009
  return i2 && (this.strict = false), this.next(), e3 && this.exitScope(), this.finishNode(t3, "BlockStatement");
2057
2010
  }, L2.parseFor = function(e3, t3) {
2058
- return e3.init = t3, this.expect(f2.semi), e3.test = this.type === f2.semi ? null : this.parseExpression(), this.expect(f2.semi), e3.update = this.type === f2.parenR ? null : this.parseExpression(), this.expect(f2.parenR), e3.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e3, "ForStatement");
2011
+ return e3.init = t3, this.expect(f.semi), e3.test = this.type === f.semi ? null : this.parseExpression(), this.expect(f.semi), e3.update = this.type === f.parenR ? null : this.parseExpression(), this.expect(f.parenR), e3.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e3, "ForStatement");
2059
2012
  }, L2.parseForIn = function(e3, t3) {
2060
- var i2 = this.type === f2._in;
2061
- return this.next(), "VariableDeclaration" === t3.type && null != t3.declarations[0].init && (!i2 || this.options.ecmaVersion < 8 || this.strict || "var" !== t3.kind || "Identifier" !== t3.declarations[0].id.type) && this.raise(t3.start, (i2 ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"), e3.left = t3, e3.right = i2 ? this.parseExpression() : this.parseMaybeAssign(), this.expect(f2.parenR), e3.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e3, i2 ? "ForInStatement" : "ForOfStatement");
2062
- }, L2.parseVar = function(e3, t3, i2, s3) {
2013
+ var i2 = this.type === f._in;
2014
+ return this.next(), "VariableDeclaration" === t3.type && null != t3.declarations[0].init && (!i2 || this.options.ecmaVersion < 8 || this.strict || "var" !== t3.kind || "Identifier" !== t3.declarations[0].id.type) && this.raise(t3.start, (i2 ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"), e3.left = t3, e3.right = i2 ? this.parseExpression() : this.parseMaybeAssign(), this.expect(f.parenR), e3.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e3, i2 ? "ForInStatement" : "ForOfStatement");
2015
+ }, L2.parseVar = function(e3, t3, i2, s2) {
2063
2016
  for (e3.declarations = [], e3.kind = i2; ; ) {
2064
2017
  var r3 = this.startNode();
2065
- if (this.parseVarId(r3, i2), this.eat(f2.eq) ? r3.init = this.parseMaybeAssign(t3) : s3 || "const" !== i2 || this.type === f2._in || this.options.ecmaVersion >= 6 && this.isContextual("of") ? s3 || "using" !== i2 && "await using" !== i2 || !(this.options.ecmaVersion >= 17) || this.type === f2._in || this.isContextual("of") ? s3 || "Identifier" === r3.id.type || t3 && (this.type === f2._in || this.isContextual("of")) ? r3.init = null : this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : this.raise(this.lastTokEnd, "Missing initializer in " + i2 + " declaration") : this.unexpected(), e3.declarations.push(this.finishNode(r3, "VariableDeclarator")), !this.eat(f2.comma)) break;
2018
+ if (this.parseVarId(r3, i2), this.eat(f.eq) ? r3.init = this.parseMaybeAssign(t3) : s2 || "const" !== i2 || this.type === f._in || this.options.ecmaVersion >= 6 && this.isContextual("of") ? s2 || "using" !== i2 && "await using" !== i2 || !(this.options.ecmaVersion >= 17) || this.type === f._in || this.isContextual("of") ? s2 || "Identifier" === r3.id.type || t3 && (this.type === f._in || this.isContextual("of")) ? r3.init = null : this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : this.raise(this.lastTokEnd, "Missing initializer in " + i2 + " declaration") : this.unexpected(), e3.declarations.push(this.finishNode(r3, "VariableDeclarator")), !this.eat(f.comma)) break;
2066
2019
  }
2067
2020
  return e3;
2068
2021
  }, L2.parseVarId = function(e3, t3) {
@@ -2070,88 +2023,88 @@ function requireJiti() {
2070
2023
  };
2071
2024
  var U2 = 1, M2 = 2;
2072
2025
  function isPrivateNameConflicted(e3, t3) {
2073
- var i2 = t3.key.name, s3 = e3[i2], r3 = "true";
2074
- return "MethodDefinition" !== t3.type || "get" !== t3.kind && "set" !== t3.kind || (r3 = (t3.static ? "s" : "i") + t3.kind), "iget" === s3 && "iset" === r3 || "iset" === s3 && "iget" === r3 || "sget" === s3 && "sset" === r3 || "sset" === s3 && "sget" === r3 ? (e3[i2] = "true", false) : !!s3 || (e3[i2] = r3, false);
2026
+ var i2 = t3.key.name, s2 = e3[i2], r3 = "true";
2027
+ return "MethodDefinition" !== t3.type || "get" !== t3.kind && "set" !== t3.kind || (r3 = (t3.static ? "s" : "i") + t3.kind), "iget" === s2 && "iset" === r3 || "iset" === s2 && "iget" === r3 || "sget" === s2 && "sset" === r3 || "sset" === s2 && "sget" === r3 ? (e3[i2] = "true", false) : !!s2 || (e3[i2] = r3, false);
2075
2028
  }
2076
2029
  function checkKeyName(e3, t3) {
2077
- var i2 = e3.computed, s3 = e3.key;
2078
- return !i2 && ("Identifier" === s3.type && s3.name === t3 || "Literal" === s3.type && s3.value === t3);
2030
+ var i2 = e3.computed, s2 = e3.key;
2031
+ return !i2 && ("Identifier" === s2.type && s2.name === t3 || "Literal" === s2.type && s2.value === t3);
2079
2032
  }
2080
- L2.parseFunction = function(e3, t3, i2, s3, r3) {
2081
- this.initFunction(e3), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !s3) && (this.type === f2.star && t3 & M2 && this.unexpected(), e3.generator = this.eat(f2.star)), this.options.ecmaVersion >= 8 && (e3.async = !!s3), t3 & U2 && (e3.id = 4 & t3 && this.type !== f2.name ? null : this.parseIdent(), !e3.id || t3 & M2 || this.checkLValSimple(e3.id, this.strict || e3.generator || e3.async ? this.treatFunctionsAsVar ? 1 : 2 : 3));
2082
- var n2 = this.yieldPos, a3 = this.awaitPos, o3 = this.awaitIdentPos;
2083
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(functionFlags(e3.async, e3.generator)), t3 & U2 || (e3.id = this.type === f2.name ? this.parseIdent() : null), this.parseFunctionParams(e3), this.parseFunctionBody(e3, i2, false, r3), this.yieldPos = n2, this.awaitPos = a3, this.awaitIdentPos = o3, this.finishNode(e3, t3 & U2 ? "FunctionDeclaration" : "FunctionExpression");
2033
+ L2.parseFunction = function(e3, t3, i2, s2, r3) {
2034
+ this.initFunction(e3), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !s2) && (this.type === f.star && t3 & M2 && this.unexpected(), e3.generator = this.eat(f.star)), this.options.ecmaVersion >= 8 && (e3.async = !!s2), t3 & U2 && (e3.id = 4 & t3 && this.type !== f.name ? null : this.parseIdent(), !e3.id || t3 & M2 || this.checkLValSimple(e3.id, this.strict || e3.generator || e3.async ? this.treatFunctionsAsVar ? 1 : 2 : 3));
2035
+ var n2 = this.yieldPos, a2 = this.awaitPos, o2 = this.awaitIdentPos;
2036
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(functionFlags(e3.async, e3.generator)), t3 & U2 || (e3.id = this.type === f.name ? this.parseIdent() : null), this.parseFunctionParams(e3), this.parseFunctionBody(e3, i2, false, r3), this.yieldPos = n2, this.awaitPos = a2, this.awaitIdentPos = o2, this.finishNode(e3, t3 & U2 ? "FunctionDeclaration" : "FunctionExpression");
2084
2037
  }, L2.parseFunctionParams = function(e3) {
2085
- this.expect(f2.parenL), e3.params = this.parseBindingList(f2.parenR, false, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
2038
+ this.expect(f.parenL), e3.params = this.parseBindingList(f.parenR, false, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
2086
2039
  }, L2.parseClass = function(e3, t3) {
2087
2040
  this.next();
2088
2041
  var i2 = this.strict;
2089
2042
  this.strict = true, this.parseClassId(e3, t3), this.parseClassSuper(e3);
2090
- var s3 = this.enterClassBody(), r3 = this.startNode(), n2 = false;
2091
- for (r3.body = [], this.expect(f2.braceL); this.type !== f2.braceR; ) {
2092
- var a3 = this.parseClassElement(null !== e3.superClass);
2093
- a3 && (r3.body.push(a3), "MethodDefinition" === a3.type && "constructor" === a3.kind ? (n2 && this.raiseRecoverable(a3.start, "Duplicate constructor in the same class"), n2 = true) : a3.key && "PrivateIdentifier" === a3.key.type && isPrivateNameConflicted(s3, a3) && this.raiseRecoverable(a3.key.start, "Identifier '#" + a3.key.name + "' has already been declared"));
2043
+ var s2 = this.enterClassBody(), r3 = this.startNode(), n2 = false;
2044
+ for (r3.body = [], this.expect(f.braceL); this.type !== f.braceR; ) {
2045
+ var a2 = this.parseClassElement(null !== e3.superClass);
2046
+ a2 && (r3.body.push(a2), "MethodDefinition" === a2.type && "constructor" === a2.kind ? (n2 && this.raiseRecoverable(a2.start, "Duplicate constructor in the same class"), n2 = true) : a2.key && "PrivateIdentifier" === a2.key.type && isPrivateNameConflicted(s2, a2) && this.raiseRecoverable(a2.key.start, "Identifier '#" + a2.key.name + "' has already been declared"));
2094
2047
  }
2095
2048
  return this.strict = i2, this.next(), e3.body = this.finishNode(r3, "ClassBody"), this.exitClassBody(), this.finishNode(e3, t3 ? "ClassDeclaration" : "ClassExpression");
2096
2049
  }, L2.parseClassElement = function(e3) {
2097
- if (this.eat(f2.semi)) return null;
2098
- var t3 = this.options.ecmaVersion, i2 = this.startNode(), s3 = "", r3 = false, n2 = false, a3 = "method", o3 = false;
2050
+ if (this.eat(f.semi)) return null;
2051
+ var t3 = this.options.ecmaVersion, i2 = this.startNode(), s2 = "", r3 = false, n2 = false, a2 = "method", o2 = false;
2099
2052
  if (this.eatContextual("static")) {
2100
- if (t3 >= 13 && this.eat(f2.braceL)) return this.parseClassStaticBlock(i2), i2;
2101
- this.isClassElementNameStart() || this.type === f2.star ? o3 = true : s3 = "static";
2053
+ if (t3 >= 13 && this.eat(f.braceL)) return this.parseClassStaticBlock(i2), i2;
2054
+ this.isClassElementNameStart() || this.type === f.star ? o2 = true : s2 = "static";
2102
2055
  }
2103
- if (i2.static = o3, !s3 && t3 >= 8 && this.eatContextual("async") && (!this.isClassElementNameStart() && this.type !== f2.star || this.canInsertSemicolon() ? s3 = "async" : n2 = true), !s3 && (t3 >= 9 || !n2) && this.eat(f2.star) && (r3 = true), !s3 && !n2 && !r3) {
2056
+ if (i2.static = o2, !s2 && t3 >= 8 && this.eatContextual("async") && (!this.isClassElementNameStart() && this.type !== f.star || this.canInsertSemicolon() ? s2 = "async" : n2 = true), !s2 && (t3 >= 9 || !n2) && this.eat(f.star) && (r3 = true), !s2 && !n2 && !r3) {
2104
2057
  var h3 = this.value;
2105
- (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? a3 = h3 : s3 = h3);
2058
+ (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? a2 = h3 : s2 = h3);
2106
2059
  }
2107
- if (s3 ? (i2.computed = false, i2.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), i2.key.name = s3, this.finishNode(i2.key, "Identifier")) : this.parseClassElementName(i2), t3 < 13 || this.type === f2.parenL || "method" !== a3 || r3 || n2) {
2108
- var c3 = !i2.static && checkKeyName(i2, "constructor"), p3 = c3 && e3;
2109
- c3 && "method" !== a3 && this.raise(i2.key.start, "Constructor can't have get/set modifier"), i2.kind = c3 ? "constructor" : a3, this.parseClassMethod(i2, r3, n2, p3);
2060
+ if (s2 ? (i2.computed = false, i2.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), i2.key.name = s2, this.finishNode(i2.key, "Identifier")) : this.parseClassElementName(i2), t3 < 13 || this.type === f.parenL || "method" !== a2 || r3 || n2) {
2061
+ var c2 = !i2.static && checkKeyName(i2, "constructor"), p3 = c2 && e3;
2062
+ c2 && "method" !== a2 && this.raise(i2.key.start, "Constructor can't have get/set modifier"), i2.kind = c2 ? "constructor" : a2, this.parseClassMethod(i2, r3, n2, p3);
2110
2063
  } else this.parseClassField(i2);
2111
2064
  return i2;
2112
2065
  }, L2.isClassElementNameStart = function() {
2113
- return this.type === f2.name || this.type === f2.privateId || this.type === f2.num || this.type === f2.string || this.type === f2.bracketL || this.type.keyword;
2066
+ return this.type === f.name || this.type === f.privateId || this.type === f.num || this.type === f.string || this.type === f.bracketL || this.type.keyword;
2114
2067
  }, L2.parseClassElementName = function(e3) {
2115
- this.type === f2.privateId ? ("constructor" === this.value && this.raise(this.start, "Classes can't have an element named '#constructor'"), e3.computed = false, e3.key = this.parsePrivateIdent()) : this.parsePropertyName(e3);
2116
- }, L2.parseClassMethod = function(e3, t3, i2, s3) {
2068
+ this.type === f.privateId ? ("constructor" === this.value && this.raise(this.start, "Classes can't have an element named '#constructor'"), e3.computed = false, e3.key = this.parsePrivateIdent()) : this.parsePropertyName(e3);
2069
+ }, L2.parseClassMethod = function(e3, t3, i2, s2) {
2117
2070
  var r3 = e3.key;
2118
2071
  "constructor" === e3.kind ? (t3 && this.raise(r3.start, "Constructor can't be a generator"), i2 && this.raise(r3.start, "Constructor can't be an async method")) : e3.static && checkKeyName(e3, "prototype") && this.raise(r3.start, "Classes may not have a static property named prototype");
2119
- var n2 = e3.value = this.parseMethod(t3, i2, s3);
2072
+ var n2 = e3.value = this.parseMethod(t3, i2, s2);
2120
2073
  return "get" === e3.kind && 0 !== n2.params.length && this.raiseRecoverable(n2.start, "getter should have no params"), "set" === e3.kind && 1 !== n2.params.length && this.raiseRecoverable(n2.start, "setter should have exactly one param"), "set" === e3.kind && "RestElement" === n2.params[0].type && this.raiseRecoverable(n2.params[0].start, "Setter cannot use rest params"), this.finishNode(e3, "MethodDefinition");
2121
2074
  }, L2.parseClassField = function(e3) {
2122
- return checkKeyName(e3, "constructor") ? this.raise(e3.key.start, "Classes can't have a field named 'constructor'") : e3.static && checkKeyName(e3, "prototype") && this.raise(e3.key.start, "Classes can't have a static field named 'prototype'"), this.eat(f2.eq) ? (this.enterScope(576), e3.value = this.parseMaybeAssign(), this.exitScope()) : e3.value = null, this.semicolon(), this.finishNode(e3, "PropertyDefinition");
2075
+ return checkKeyName(e3, "constructor") ? this.raise(e3.key.start, "Classes can't have a field named 'constructor'") : e3.static && checkKeyName(e3, "prototype") && this.raise(e3.key.start, "Classes can't have a static field named 'prototype'"), this.eat(f.eq) ? (this.enterScope(576), e3.value = this.parseMaybeAssign(), this.exitScope()) : e3.value = null, this.semicolon(), this.finishNode(e3, "PropertyDefinition");
2123
2076
  }, L2.parseClassStaticBlock = function(e3) {
2124
2077
  e3.body = [];
2125
2078
  var t3 = this.labels;
2126
- for (this.labels = [], this.enterScope(320); this.type !== f2.braceR; ) {
2079
+ for (this.labels = [], this.enterScope(320); this.type !== f.braceR; ) {
2127
2080
  var i2 = this.parseStatement(null);
2128
2081
  e3.body.push(i2);
2129
2082
  }
2130
2083
  return this.next(), this.exitScope(), this.labels = t3, this.finishNode(e3, "StaticBlock");
2131
2084
  }, L2.parseClassId = function(e3, t3) {
2132
- this.type === f2.name ? (e3.id = this.parseIdent(), t3 && this.checkLValSimple(e3.id, 2, false)) : (true === t3 && this.unexpected(), e3.id = null);
2085
+ this.type === f.name ? (e3.id = this.parseIdent(), t3 && this.checkLValSimple(e3.id, 2, false)) : (true === t3 && this.unexpected(), e3.id = null);
2133
2086
  }, L2.parseClassSuper = function(e3) {
2134
- e3.superClass = this.eat(f2._extends) ? this.parseExprSubscripts(null, false) : null;
2087
+ e3.superClass = this.eat(f._extends) ? this.parseExprSubscripts(null, false) : null;
2135
2088
  }, L2.enterClassBody = function() {
2136
2089
  var e3 = { declared: /* @__PURE__ */ Object.create(null), used: [] };
2137
2090
  return this.privateNameStack.push(e3), e3.declared;
2138
2091
  }, L2.exitClassBody = function() {
2139
2092
  var e3 = this.privateNameStack.pop(), t3 = e3.declared, i2 = e3.used;
2140
- if (this.options.checkPrivateFields) for (var s3 = this.privateNameStack.length, r3 = 0 === s3 ? null : this.privateNameStack[s3 - 1], n2 = 0; n2 < i2.length; ++n2) {
2141
- var a3 = i2[n2];
2142
- b2(t3, a3.name) || (r3 ? r3.used.push(a3) : this.raiseRecoverable(a3.start, "Private field '#" + a3.name + "' must be declared in an enclosing class"));
2093
+ if (this.options.checkPrivateFields) for (var s2 = this.privateNameStack.length, r3 = 0 === s2 ? null : this.privateNameStack[s2 - 1], n2 = 0; n2 < i2.length; ++n2) {
2094
+ var a2 = i2[n2];
2095
+ b2(t3, a2.name) || (r3 ? r3.used.push(a2) : this.raiseRecoverable(a2.start, "Private field '#" + a2.name + "' must be declared in an enclosing class"));
2143
2096
  }
2144
2097
  }, L2.parseExportAllDeclaration = function(e3, t3) {
2145
- return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (e3.exported = this.parseModuleExportName(), this.checkExport(t3, e3.exported, this.lastTokStart)) : e3.exported = null), this.expectContextual("from"), this.type !== f2.string && this.unexpected(), e3.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e3.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e3, "ExportAllDeclaration");
2098
+ return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (e3.exported = this.parseModuleExportName(), this.checkExport(t3, e3.exported, this.lastTokStart)) : e3.exported = null), this.expectContextual("from"), this.type !== f.string && this.unexpected(), e3.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e3.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e3, "ExportAllDeclaration");
2146
2099
  }, L2.parseExport = function(e3, t3) {
2147
- if (this.next(), this.eat(f2.star)) return this.parseExportAllDeclaration(e3, t3);
2148
- if (this.eat(f2._default)) return this.checkExport(t3, "default", this.lastTokStart), e3.declaration = this.parseExportDefaultDeclaration(), this.finishNode(e3, "ExportDefaultDeclaration");
2100
+ if (this.next(), this.eat(f.star)) return this.parseExportAllDeclaration(e3, t3);
2101
+ if (this.eat(f._default)) return this.checkExport(t3, "default", this.lastTokStart), e3.declaration = this.parseExportDefaultDeclaration(), this.finishNode(e3, "ExportDefaultDeclaration");
2149
2102
  if (this.shouldParseExportStatement()) e3.declaration = this.parseExportDeclaration(e3), "VariableDeclaration" === e3.declaration.type ? this.checkVariableExport(t3, e3.declaration.declarations) : this.checkExport(t3, e3.declaration.id, e3.declaration.id.start), e3.specifiers = [], e3.source = null, this.options.ecmaVersion >= 16 && (e3.attributes = []);
2150
2103
  else {
2151
- if (e3.declaration = null, e3.specifiers = this.parseExportSpecifiers(t3), this.eatContextual("from")) this.type !== f2.string && this.unexpected(), e3.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e3.attributes = this.parseWithClause());
2104
+ if (e3.declaration = null, e3.specifiers = this.parseExportSpecifiers(t3), this.eatContextual("from")) this.type !== f.string && this.unexpected(), e3.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e3.attributes = this.parseWithClause());
2152
2105
  else {
2153
- for (var i2 = 0, s3 = e3.specifiers; i2 < s3.length; i2 += 1) {
2154
- var r3 = s3[i2];
2106
+ for (var i2 = 0, s2 = e3.specifiers; i2 < s2.length; i2 += 1) {
2107
+ var r3 = s2[i2];
2155
2108
  this.checkUnreserved(r3.local), this.checkLocalExport(r3.local), "Literal" === r3.local.type && this.raise(r3.local.start, "A string literal cannot be used as an exported binding without `from`.");
2156
2109
  }
2157
2110
  e3.source = null, this.options.ecmaVersion >= 16 && (e3.attributes = []);
@@ -2163,33 +2116,33 @@ function requireJiti() {
2163
2116
  return this.parseStatement(null);
2164
2117
  }, L2.parseExportDefaultDeclaration = function() {
2165
2118
  var e3;
2166
- if (this.type === f2._function || (e3 = this.isAsyncFunction())) {
2119
+ if (this.type === f._function || (e3 = this.isAsyncFunction())) {
2167
2120
  var t3 = this.startNode();
2168
2121
  return this.next(), e3 && this.next(), this.parseFunction(t3, 4 | U2, false, e3);
2169
2122
  }
2170
- if (this.type === f2._class) {
2123
+ if (this.type === f._class) {
2171
2124
  var i2 = this.startNode();
2172
2125
  return this.parseClass(i2, "nullableID");
2173
2126
  }
2174
- var s3 = this.parseMaybeAssign();
2175
- return this.semicolon(), s3;
2127
+ var s2 = this.parseMaybeAssign();
2128
+ return this.semicolon(), s2;
2176
2129
  }, L2.checkExport = function(e3, t3, i2) {
2177
2130
  e3 && ("string" != typeof t3 && (t3 = "Identifier" === t3.type ? t3.name : t3.value), b2(e3, t3) && this.raiseRecoverable(i2, "Duplicate export '" + t3 + "'"), e3[t3] = true);
2178
2131
  }, L2.checkPatternExport = function(e3, t3) {
2179
2132
  var i2 = t3.type;
2180
2133
  if ("Identifier" === i2) this.checkExport(e3, t3, t3.start);
2181
- else if ("ObjectPattern" === i2) for (var s3 = 0, r3 = t3.properties; s3 < r3.length; s3 += 1) {
2182
- var n2 = r3[s3];
2134
+ else if ("ObjectPattern" === i2) for (var s2 = 0, r3 = t3.properties; s2 < r3.length; s2 += 1) {
2135
+ var n2 = r3[s2];
2183
2136
  this.checkPatternExport(e3, n2);
2184
2137
  }
2185
- else if ("ArrayPattern" === i2) for (var a3 = 0, o3 = t3.elements; a3 < o3.length; a3 += 1) {
2186
- var h3 = o3[a3];
2138
+ else if ("ArrayPattern" === i2) for (var a2 = 0, o2 = t3.elements; a2 < o2.length; a2 += 1) {
2139
+ var h3 = o2[a2];
2187
2140
  h3 && this.checkPatternExport(e3, h3);
2188
2141
  }
2189
2142
  else "Property" === i2 ? this.checkPatternExport(e3, t3.value) : "AssignmentPattern" === i2 ? this.checkPatternExport(e3, t3.left) : "RestElement" === i2 && this.checkPatternExport(e3, t3.argument);
2190
2143
  }, L2.checkVariableExport = function(e3, t3) {
2191
- if (e3) for (var i2 = 0, s3 = t3; i2 < s3.length; i2 += 1) {
2192
- var r3 = s3[i2];
2144
+ if (e3) for (var i2 = 0, s2 = t3; i2 < s2.length; i2 += 1) {
2145
+ var r3 = s2[i2];
2193
2146
  this.checkPatternExport(e3, r3.id);
2194
2147
  }
2195
2148
  }, L2.shouldParseExportStatement = function() {
@@ -2199,14 +2152,14 @@ function requireJiti() {
2199
2152
  return t3.local = this.parseModuleExportName(), t3.exported = this.eatContextual("as") ? this.parseModuleExportName() : t3.local, this.checkExport(e3, t3.exported, t3.exported.start), this.finishNode(t3, "ExportSpecifier");
2200
2153
  }, L2.parseExportSpecifiers = function(e3) {
2201
2154
  var t3 = [], i2 = true;
2202
- for (this.expect(f2.braceL); !this.eat(f2.braceR); ) {
2155
+ for (this.expect(f.braceL); !this.eat(f.braceR); ) {
2203
2156
  if (i2) i2 = false;
2204
- else if (this.expect(f2.comma), this.afterTrailingComma(f2.braceR)) break;
2157
+ else if (this.expect(f.comma), this.afterTrailingComma(f.braceR)) break;
2205
2158
  t3.push(this.parseExportSpecifier(e3));
2206
2159
  }
2207
2160
  return t3;
2208
2161
  }, L2.parseImport = function(e3) {
2209
- return this.next(), this.type === f2.string ? (e3.specifiers = V2, e3.source = this.parseExprAtom()) : (e3.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e3.source = this.type === f2.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e3.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e3, "ImportDeclaration");
2162
+ return this.next(), this.type === f.string ? (e3.specifiers = V2, e3.source = this.parseExprAtom()) : (e3.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e3.source = this.type === f.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e3.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e3, "ImportDeclaration");
2210
2163
  }, L2.parseImportSpecifier = function() {
2211
2164
  var e3 = this.startNode();
2212
2165
  return e3.imported = this.parseModuleExportName(), this.eatContextual("as") ? e3.local = this.parseIdent() : (this.checkUnreserved(e3.imported), e3.local = e3.imported), this.checkLValSimple(e3.local, 2), this.finishNode(e3, "ImportSpecifier");
@@ -2218,30 +2171,30 @@ function requireJiti() {
2218
2171
  return this.next(), this.expectContextual("as"), e3.local = this.parseIdent(), this.checkLValSimple(e3.local, 2), this.finishNode(e3, "ImportNamespaceSpecifier");
2219
2172
  }, L2.parseImportSpecifiers = function() {
2220
2173
  var e3 = [], t3 = true;
2221
- if (this.type === f2.name && (e3.push(this.parseImportDefaultSpecifier()), !this.eat(f2.comma))) return e3;
2222
- if (this.type === f2.star) return e3.push(this.parseImportNamespaceSpecifier()), e3;
2223
- for (this.expect(f2.braceL); !this.eat(f2.braceR); ) {
2174
+ if (this.type === f.name && (e3.push(this.parseImportDefaultSpecifier()), !this.eat(f.comma))) return e3;
2175
+ if (this.type === f.star) return e3.push(this.parseImportNamespaceSpecifier()), e3;
2176
+ for (this.expect(f.braceL); !this.eat(f.braceR); ) {
2224
2177
  if (t3) t3 = false;
2225
- else if (this.expect(f2.comma), this.afterTrailingComma(f2.braceR)) break;
2178
+ else if (this.expect(f.comma), this.afterTrailingComma(f.braceR)) break;
2226
2179
  e3.push(this.parseImportSpecifier());
2227
2180
  }
2228
2181
  return e3;
2229
2182
  }, L2.parseWithClause = function() {
2230
2183
  var e3 = [];
2231
- if (!this.eat(f2._with)) return e3;
2232
- this.expect(f2.braceL);
2233
- for (var t3 = {}, i2 = true; !this.eat(f2.braceR); ) {
2184
+ if (!this.eat(f._with)) return e3;
2185
+ this.expect(f.braceL);
2186
+ for (var t3 = {}, i2 = true; !this.eat(f.braceR); ) {
2234
2187
  if (i2) i2 = false;
2235
- else if (this.expect(f2.comma), this.afterTrailingComma(f2.braceR)) break;
2236
- var s3 = this.parseImportAttribute(), r3 = "Identifier" === s3.key.type ? s3.key.name : s3.key.value;
2237
- b2(t3, r3) && this.raiseRecoverable(s3.key.start, "Duplicate attribute key '" + r3 + "'"), t3[r3] = true, e3.push(s3);
2188
+ else if (this.expect(f.comma), this.afterTrailingComma(f.braceR)) break;
2189
+ var s2 = this.parseImportAttribute(), r3 = "Identifier" === s2.key.type ? s2.key.name : s2.key.value;
2190
+ b2(t3, r3) && this.raiseRecoverable(s2.key.start, "Duplicate attribute key '" + r3 + "'"), t3[r3] = true, e3.push(s2);
2238
2191
  }
2239
2192
  return e3;
2240
2193
  }, L2.parseImportAttribute = function() {
2241
2194
  var e3 = this.startNode();
2242
- return e3.key = this.type === f2.string ? this.parseExprAtom() : this.parseIdent("never" !== this.options.allowReserved), this.expect(f2.colon), this.type !== f2.string && this.unexpected(), e3.value = this.parseExprAtom(), this.finishNode(e3, "ImportAttribute");
2195
+ return e3.key = this.type === f.string ? this.parseExprAtom() : this.parseIdent("never" !== this.options.allowReserved), this.expect(f.colon), this.type !== f.string && this.unexpected(), e3.value = this.parseExprAtom(), this.finishNode(e3, "ImportAttribute");
2243
2196
  }, L2.parseModuleExportName = function() {
2244
- if (this.options.ecmaVersion >= 13 && this.type === f2.string) {
2197
+ if (this.options.ecmaVersion >= 13 && this.type === f.string) {
2245
2198
  var e3 = this.parseLiteral(this.value);
2246
2199
  return w2.test(e3.value) && this.raise(e3.start, "An export name cannot include a lone surrogate."), e3;
2247
2200
  }
@@ -2264,8 +2217,8 @@ function requireJiti() {
2264
2217
  break;
2265
2218
  case "ObjectExpression":
2266
2219
  e3.type = "ObjectPattern", i2 && this.checkPatternErrors(i2, true);
2267
- for (var s3 = 0, r3 = e3.properties; s3 < r3.length; s3 += 1) {
2268
- var n2 = r3[s3];
2220
+ for (var s2 = 0, r3 = e3.properties; s2 < r3.length; s2 += 1) {
2221
+ var n2 = r3[s2];
2269
2222
  this.toAssignable(n2, t3), "RestElement" !== n2.type || "ArrayPattern" !== n2.argument.type && "ObjectPattern" !== n2.argument.type || this.raise(n2.argument.start, "Unexpected token");
2270
2223
  }
2271
2224
  break;
@@ -2295,8 +2248,8 @@ function requireJiti() {
2295
2248
  else i2 && this.checkPatternErrors(i2, true);
2296
2249
  return e3;
2297
2250
  }, j2.toAssignableList = function(e3, t3) {
2298
- for (var i2 = e3.length, s3 = 0; s3 < i2; s3++) {
2299
- var r3 = e3[s3];
2251
+ for (var i2 = e3.length, s2 = 0; s2 < i2; s2++) {
2252
+ var r3 = e3[s2];
2300
2253
  r3 && this.toAssignable(r3, t3);
2301
2254
  }
2302
2255
  if (i2) {
@@ -2309,26 +2262,26 @@ function requireJiti() {
2309
2262
  return this.next(), t3.argument = this.parseMaybeAssign(false, e3), this.finishNode(t3, "SpreadElement");
2310
2263
  }, j2.parseRestBinding = function() {
2311
2264
  var e3 = this.startNode();
2312
- return this.next(), 6 === this.options.ecmaVersion && this.type !== f2.name && this.unexpected(), e3.argument = this.parseBindingAtom(), this.finishNode(e3, "RestElement");
2265
+ return this.next(), 6 === this.options.ecmaVersion && this.type !== f.name && this.unexpected(), e3.argument = this.parseBindingAtom(), this.finishNode(e3, "RestElement");
2313
2266
  }, j2.parseBindingAtom = function() {
2314
2267
  if (this.options.ecmaVersion >= 6) switch (this.type) {
2315
- case f2.bracketL:
2268
+ case f.bracketL:
2316
2269
  var e3 = this.startNode();
2317
- return this.next(), e3.elements = this.parseBindingList(f2.bracketR, true, true), this.finishNode(e3, "ArrayPattern");
2318
- case f2.braceL:
2270
+ return this.next(), e3.elements = this.parseBindingList(f.bracketR, true, true), this.finishNode(e3, "ArrayPattern");
2271
+ case f.braceL:
2319
2272
  return this.parseObj(true);
2320
2273
  }
2321
2274
  return this.parseIdent();
2322
- }, j2.parseBindingList = function(e3, t3, i2, s3) {
2323
- for (var r3 = [], n2 = true; !this.eat(e3); ) if (n2 ? n2 = false : this.expect(f2.comma), t3 && this.type === f2.comma) r3.push(null);
2275
+ }, j2.parseBindingList = function(e3, t3, i2, s2) {
2276
+ for (var r3 = [], n2 = true; !this.eat(e3); ) if (n2 ? n2 = false : this.expect(f.comma), t3 && this.type === f.comma) r3.push(null);
2324
2277
  else {
2325
2278
  if (i2 && this.afterTrailingComma(e3)) break;
2326
- if (this.type === f2.ellipsis) {
2327
- var a3 = this.parseRestBinding();
2328
- this.parseBindingListItem(a3), r3.push(a3), this.type === f2.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.expect(e3);
2279
+ if (this.type === f.ellipsis) {
2280
+ var a2 = this.parseRestBinding();
2281
+ this.parseBindingListItem(a2), r3.push(a2), this.type === f.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.expect(e3);
2329
2282
  break;
2330
2283
  }
2331
- r3.push(this.parseAssignableListItem(s3));
2284
+ r3.push(this.parseAssignableListItem(s2));
2332
2285
  }
2333
2286
  return r3;
2334
2287
  }, j2.parseAssignableListItem = function(e3) {
@@ -2337,38 +2290,38 @@ function requireJiti() {
2337
2290
  }, j2.parseBindingListItem = function(e3) {
2338
2291
  return e3;
2339
2292
  }, j2.parseMaybeDefault = function(e3, t3, i2) {
2340
- if (i2 = i2 || this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(f2.eq)) return i2;
2341
- var s3 = this.startNodeAt(e3, t3);
2342
- return s3.left = i2, s3.right = this.parseMaybeAssign(), this.finishNode(s3, "AssignmentPattern");
2293
+ if (i2 = i2 || this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(f.eq)) return i2;
2294
+ var s2 = this.startNodeAt(e3, t3);
2295
+ return s2.left = i2, s2.right = this.parseMaybeAssign(), this.finishNode(s2, "AssignmentPattern");
2343
2296
  }, j2.checkLValSimple = function(e3, t3, i2) {
2344
2297
  void 0 === t3 && (t3 = 0);
2345
- var s3 = 0 !== t3;
2298
+ var s2 = 0 !== t3;
2346
2299
  switch (e3.type) {
2347
2300
  case "Identifier":
2348
- this.strict && this.reservedWordsStrictBind.test(e3.name) && this.raiseRecoverable(e3.start, (s3 ? "Binding " : "Assigning to ") + e3.name + " in strict mode"), s3 && (2 === t3 && "let" === e3.name && this.raiseRecoverable(e3.start, "let is disallowed as a lexically bound name"), i2 && (b2(i2, e3.name) && this.raiseRecoverable(e3.start, "Argument name clash"), i2[e3.name] = true), 5 !== t3 && this.declareName(e3.name, t3, e3.start));
2301
+ this.strict && this.reservedWordsStrictBind.test(e3.name) && this.raiseRecoverable(e3.start, (s2 ? "Binding " : "Assigning to ") + e3.name + " in strict mode"), s2 && (2 === t3 && "let" === e3.name && this.raiseRecoverable(e3.start, "let is disallowed as a lexically bound name"), i2 && (b2(i2, e3.name) && this.raiseRecoverable(e3.start, "Argument name clash"), i2[e3.name] = true), 5 !== t3 && this.declareName(e3.name, t3, e3.start));
2349
2302
  break;
2350
2303
  case "ChainExpression":
2351
2304
  this.raiseRecoverable(e3.start, "Optional chaining cannot appear in left-hand side");
2352
2305
  break;
2353
2306
  case "MemberExpression":
2354
- s3 && this.raiseRecoverable(e3.start, "Binding member expression");
2307
+ s2 && this.raiseRecoverable(e3.start, "Binding member expression");
2355
2308
  break;
2356
2309
  case "ParenthesizedExpression":
2357
- return s3 && this.raiseRecoverable(e3.start, "Binding parenthesized expression"), this.checkLValSimple(e3.expression, t3, i2);
2310
+ return s2 && this.raiseRecoverable(e3.start, "Binding parenthesized expression"), this.checkLValSimple(e3.expression, t3, i2);
2358
2311
  default:
2359
- this.raise(e3.start, (s3 ? "Binding" : "Assigning to") + " rvalue");
2312
+ this.raise(e3.start, (s2 ? "Binding" : "Assigning to") + " rvalue");
2360
2313
  }
2361
2314
  }, j2.checkLValPattern = function(e3, t3, i2) {
2362
2315
  switch (void 0 === t3 && (t3 = 0), e3.type) {
2363
2316
  case "ObjectPattern":
2364
- for (var s3 = 0, r3 = e3.properties; s3 < r3.length; s3 += 1) {
2365
- var n2 = r3[s3];
2317
+ for (var s2 = 0, r3 = e3.properties; s2 < r3.length; s2 += 1) {
2318
+ var n2 = r3[s2];
2366
2319
  this.checkLValInnerPattern(n2, t3, i2);
2367
2320
  }
2368
2321
  break;
2369
2322
  case "ArrayPattern":
2370
- for (var a3 = 0, o3 = e3.elements; a3 < o3.length; a3 += 1) {
2371
- var h3 = o3[a3];
2323
+ for (var a2 = 0, o2 = e3.elements; a2 < o2.length; a2 += 1) {
2324
+ var h3 = o2[a2];
2372
2325
  h3 && this.checkLValInnerPattern(h3, t3, i2);
2373
2326
  }
2374
2327
  break;
@@ -2390,8 +2343,8 @@ function requireJiti() {
2390
2343
  this.checkLValPattern(e3, t3, i2);
2391
2344
  }
2392
2345
  };
2393
- var acorn_TokContext = function(e3, t3, i2, s3, r3) {
2394
- this.token = e3, this.isExpr = !!t3, this.preserveSpace = !!i2, this.override = s3, this.generator = !!r3;
2346
+ var acorn_TokContext = function(e3, t3, i2, s2, r3) {
2347
+ this.token = e3, this.isExpr = !!t3, this.preserveSpace = !!i2, this.override = s2, this.generator = !!r3;
2395
2348
  }, F2 = { b_stat: new acorn_TokContext("{", false), b_expr: new acorn_TokContext("{", true), b_tmpl: new acorn_TokContext("${", false), p_stat: new acorn_TokContext("(", false), p_expr: new acorn_TokContext("(", true), q_tmpl: new acorn_TokContext("`", true, true, function(e3) {
2396
2349
  return e3.tryReadTemplateToken();
2397
2350
  }), f_stat: new acorn_TokContext("function", false), f_expr: new acorn_TokContext("function", true), f_expr_gen: new acorn_TokContext("function", true, false, null, true), f_gen: new acorn_TokContext("function", false, false, null, true) }, B2 = acorn_Parser.prototype;
@@ -2401,7 +2354,7 @@ function requireJiti() {
2401
2354
  return this.context[this.context.length - 1];
2402
2355
  }, B2.braceIsBlock = function(e3) {
2403
2356
  var t3 = this.curContext();
2404
- return t3 === F2.f_expr || t3 === F2.f_stat || (e3 !== f2.colon || t3 !== F2.b_stat && t3 !== F2.b_expr ? e3 === f2._return || e3 === f2.name && this.exprAllowed ? m2.test(this.input.slice(this.lastTokEnd, this.start)) : e3 === f2._else || e3 === f2.semi || e3 === f2.eof || e3 === f2.parenR || e3 === f2.arrow || (e3 === f2.braceL ? t3 === F2.b_stat : e3 !== f2._var && e3 !== f2._const && e3 !== f2.name && !this.exprAllowed) : !t3.isExpr);
2357
+ return t3 === F2.f_expr || t3 === F2.f_stat || (e3 !== f.colon || t3 !== F2.b_stat && t3 !== F2.b_expr ? e3 === f._return || e3 === f.name && this.exprAllowed ? m2.test(this.input.slice(this.lastTokEnd, this.start)) : e3 === f._else || e3 === f.semi || e3 === f.eof || e3 === f.parenR || e3 === f.arrow || (e3 === f.braceL ? t3 === F2.b_stat : e3 !== f._var && e3 !== f._const && e3 !== f.name && !this.exprAllowed) : !t3.isExpr);
2405
2358
  }, B2.inGeneratorContext = function() {
2406
2359
  for (var e3 = this.context.length - 1; e3 >= 1; e3--) {
2407
2360
  var t3 = this.context[e3];
@@ -2410,37 +2363,37 @@ function requireJiti() {
2410
2363
  return false;
2411
2364
  }, B2.updateContext = function(e3) {
2412
2365
  var t3, i2 = this.type;
2413
- i2.keyword && e3 === f2.dot ? this.exprAllowed = false : (t3 = i2.updateContext) ? t3.call(this, e3) : this.exprAllowed = i2.beforeExpr;
2366
+ i2.keyword && e3 === f.dot ? this.exprAllowed = false : (t3 = i2.updateContext) ? t3.call(this, e3) : this.exprAllowed = i2.beforeExpr;
2414
2367
  }, B2.overrideContext = function(e3) {
2415
2368
  this.curContext() !== e3 && (this.context[this.context.length - 1] = e3);
2416
- }, f2.parenR.updateContext = f2.braceR.updateContext = function() {
2369
+ }, f.parenR.updateContext = f.braceR.updateContext = function() {
2417
2370
  if (1 !== this.context.length) {
2418
2371
  var e3 = this.context.pop();
2419
2372
  e3 === F2.b_stat && "function" === this.curContext().token && (e3 = this.context.pop()), this.exprAllowed = !e3.isExpr;
2420
2373
  } else this.exprAllowed = true;
2421
- }, f2.braceL.updateContext = function(e3) {
2374
+ }, f.braceL.updateContext = function(e3) {
2422
2375
  this.context.push(this.braceIsBlock(e3) ? F2.b_stat : F2.b_expr), this.exprAllowed = true;
2423
- }, f2.dollarBraceL.updateContext = function() {
2376
+ }, f.dollarBraceL.updateContext = function() {
2424
2377
  this.context.push(F2.b_tmpl), this.exprAllowed = true;
2425
- }, f2.parenL.updateContext = function(e3) {
2426
- var t3 = e3 === f2._if || e3 === f2._for || e3 === f2._with || e3 === f2._while;
2378
+ }, f.parenL.updateContext = function(e3) {
2379
+ var t3 = e3 === f._if || e3 === f._for || e3 === f._with || e3 === f._while;
2427
2380
  this.context.push(t3 ? F2.p_stat : F2.p_expr), this.exprAllowed = true;
2428
- }, f2.incDec.updateContext = function() {
2429
- }, f2._function.updateContext = f2._class.updateContext = function(e3) {
2430
- !e3.beforeExpr || e3 === f2._else || e3 === f2.semi && this.curContext() !== F2.p_stat || e3 === f2._return && m2.test(this.input.slice(this.lastTokEnd, this.start)) || (e3 === f2.colon || e3 === f2.braceL) && this.curContext() === F2.b_stat ? this.context.push(F2.f_stat) : this.context.push(F2.f_expr), this.exprAllowed = false;
2431
- }, f2.colon.updateContext = function() {
2381
+ }, f.incDec.updateContext = function() {
2382
+ }, f._function.updateContext = f._class.updateContext = function(e3) {
2383
+ !e3.beforeExpr || e3 === f._else || e3 === f.semi && this.curContext() !== F2.p_stat || e3 === f._return && m2.test(this.input.slice(this.lastTokEnd, this.start)) || (e3 === f.colon || e3 === f.braceL) && this.curContext() === F2.b_stat ? this.context.push(F2.f_stat) : this.context.push(F2.f_expr), this.exprAllowed = false;
2384
+ }, f.colon.updateContext = function() {
2432
2385
  "function" === this.curContext().token && this.context.pop(), this.exprAllowed = true;
2433
- }, f2.backQuote.updateContext = function() {
2386
+ }, f.backQuote.updateContext = function() {
2434
2387
  this.curContext() === F2.q_tmpl ? this.context.pop() : this.context.push(F2.q_tmpl), this.exprAllowed = false;
2435
- }, f2.star.updateContext = function(e3) {
2436
- if (e3 === f2._function) {
2388
+ }, f.star.updateContext = function(e3) {
2389
+ if (e3 === f._function) {
2437
2390
  var t3 = this.context.length - 1;
2438
2391
  this.context[t3] === F2.f_expr ? this.context[t3] = F2.f_expr_gen : this.context[t3] = F2.f_gen;
2439
2392
  }
2440
2393
  this.exprAllowed = true;
2441
- }, f2.name.updateContext = function(e3) {
2394
+ }, f.name.updateContext = function(e3) {
2442
2395
  var t3 = false;
2443
- this.options.ecmaVersion >= 6 && e3 !== f2.dot && ("of" === this.value && !this.exprAllowed || "yield" === this.value && this.inGeneratorContext()) && (t3 = true), this.exprAllowed = t3;
2396
+ this.options.ecmaVersion >= 6 && e3 !== f.dot && ("of" === this.value && !this.exprAllowed || "yield" === this.value && this.inGeneratorContext()) && (t3 = true), this.exprAllowed = t3;
2444
2397
  };
2445
2398
  var $2 = acorn_Parser.prototype;
2446
2399
  function isLocalVariableAccess(e3) {
@@ -2451,31 +2404,31 @@ function requireJiti() {
2451
2404
  }
2452
2405
  $2.checkPropClash = function(e3, t3, i2) {
2453
2406
  if (!(this.options.ecmaVersion >= 9 && "SpreadElement" === e3.type || this.options.ecmaVersion >= 6 && (e3.computed || e3.method || e3.shorthand))) {
2454
- var s3, r3 = e3.key;
2407
+ var s2, r3 = e3.key;
2455
2408
  switch (r3.type) {
2456
2409
  case "Identifier":
2457
- s3 = r3.name;
2410
+ s2 = r3.name;
2458
2411
  break;
2459
2412
  case "Literal":
2460
- s3 = String(r3.value);
2413
+ s2 = String(r3.value);
2461
2414
  break;
2462
2415
  default:
2463
2416
  return;
2464
2417
  }
2465
2418
  var n2 = e3.kind;
2466
- if (this.options.ecmaVersion >= 6) "__proto__" === s3 && "init" === n2 && (t3.proto && (i2 ? i2.doubleProto < 0 && (i2.doubleProto = r3.start) : this.raiseRecoverable(r3.start, "Redefinition of __proto__ property")), t3.proto = true);
2419
+ if (this.options.ecmaVersion >= 6) "__proto__" === s2 && "init" === n2 && (t3.proto && (i2 ? i2.doubleProto < 0 && (i2.doubleProto = r3.start) : this.raiseRecoverable(r3.start, "Redefinition of __proto__ property")), t3.proto = true);
2467
2420
  else {
2468
- var a3 = t3[s3 = "$" + s3];
2469
- if (a3) ("init" === n2 ? this.strict && a3.init || a3.get || a3.set : a3.init || a3[n2]) && this.raiseRecoverable(r3.start, "Redefinition of property");
2470
- else a3 = t3[s3] = { init: false, get: false, set: false };
2471
- a3[n2] = true;
2421
+ var a2 = t3[s2 = "$" + s2];
2422
+ if (a2) ("init" === n2 ? this.strict && a2.init || a2.get || a2.set : a2.init || a2[n2]) && this.raiseRecoverable(r3.start, "Redefinition of property");
2423
+ else a2 = t3[s2] = { init: false, get: false, set: false };
2424
+ a2[n2] = true;
2472
2425
  }
2473
2426
  }
2474
2427
  }, $2.parseExpression = function(e3, t3) {
2475
- var i2 = this.start, s3 = this.startLoc, r3 = this.parseMaybeAssign(e3, t3);
2476
- if (this.type === f2.comma) {
2477
- var n2 = this.startNodeAt(i2, s3);
2478
- for (n2.expressions = [r3]; this.eat(f2.comma); ) n2.expressions.push(this.parseMaybeAssign(e3, t3));
2428
+ var i2 = this.start, s2 = this.startLoc, r3 = this.parseMaybeAssign(e3, t3);
2429
+ if (this.type === f.comma) {
2430
+ var n2 = this.startNodeAt(i2, s2);
2431
+ for (n2.expressions = [r3]; this.eat(f.comma); ) n2.expressions.push(this.parseMaybeAssign(e3, t3));
2479
2432
  return this.finishNode(n2, "SequenceExpression");
2480
2433
  }
2481
2434
  return r3;
@@ -2484,140 +2437,140 @@ function requireJiti() {
2484
2437
  if (this.inGenerator) return this.parseYield(e3);
2485
2438
  this.exprAllowed = false;
2486
2439
  }
2487
- var s3 = false, r3 = -1, n2 = -1, a3 = -1;
2488
- t3 ? (r3 = t3.parenthesizedAssign, n2 = t3.trailingComma, a3 = t3.doubleProto, t3.parenthesizedAssign = t3.trailingComma = -1) : (t3 = new acorn_DestructuringErrors(), s3 = true);
2489
- var o3 = this.start, h3 = this.startLoc;
2490
- this.type !== f2.parenL && this.type !== f2.name || (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = "await" === e3);
2491
- var c3 = this.parseMaybeConditional(e3, t3);
2492
- if (i2 && (c3 = i2.call(this, c3, o3, h3)), this.type.isAssign) {
2493
- var p3 = this.startNodeAt(o3, h3);
2494
- return p3.operator = this.value, this.type === f2.eq && (c3 = this.toAssignable(c3, false, t3)), s3 || (t3.parenthesizedAssign = t3.trailingComma = t3.doubleProto = -1), t3.shorthandAssign >= c3.start && (t3.shorthandAssign = -1), this.type === f2.eq ? this.checkLValPattern(c3) : this.checkLValSimple(c3), p3.left = c3, this.next(), p3.right = this.parseMaybeAssign(e3), a3 > -1 && (t3.doubleProto = a3), this.finishNode(p3, "AssignmentExpression");
2440
+ var s2 = false, r3 = -1, n2 = -1, a2 = -1;
2441
+ t3 ? (r3 = t3.parenthesizedAssign, n2 = t3.trailingComma, a2 = t3.doubleProto, t3.parenthesizedAssign = t3.trailingComma = -1) : (t3 = new acorn_DestructuringErrors(), s2 = true);
2442
+ var o2 = this.start, h3 = this.startLoc;
2443
+ this.type !== f.parenL && this.type !== f.name || (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = "await" === e3);
2444
+ var c2 = this.parseMaybeConditional(e3, t3);
2445
+ if (i2 && (c2 = i2.call(this, c2, o2, h3)), this.type.isAssign) {
2446
+ var p3 = this.startNodeAt(o2, h3);
2447
+ return p3.operator = this.value, this.type === f.eq && (c2 = this.toAssignable(c2, false, t3)), s2 || (t3.parenthesizedAssign = t3.trailingComma = t3.doubleProto = -1), t3.shorthandAssign >= c2.start && (t3.shorthandAssign = -1), this.type === f.eq ? this.checkLValPattern(c2) : this.checkLValSimple(c2), p3.left = c2, this.next(), p3.right = this.parseMaybeAssign(e3), a2 > -1 && (t3.doubleProto = a2), this.finishNode(p3, "AssignmentExpression");
2495
2448
  }
2496
- return s3 && this.checkExpressionErrors(t3, true), r3 > -1 && (t3.parenthesizedAssign = r3), n2 > -1 && (t3.trailingComma = n2), c3;
2449
+ return s2 && this.checkExpressionErrors(t3, true), r3 > -1 && (t3.parenthesizedAssign = r3), n2 > -1 && (t3.trailingComma = n2), c2;
2497
2450
  }, $2.parseMaybeConditional = function(e3, t3) {
2498
- var i2 = this.start, s3 = this.startLoc, r3 = this.parseExprOps(e3, t3);
2451
+ var i2 = this.start, s2 = this.startLoc, r3 = this.parseExprOps(e3, t3);
2499
2452
  if (this.checkExpressionErrors(t3)) return r3;
2500
- if (this.eat(f2.question)) {
2501
- var n2 = this.startNodeAt(i2, s3);
2502
- return n2.test = r3, n2.consequent = this.parseMaybeAssign(), this.expect(f2.colon), n2.alternate = this.parseMaybeAssign(e3), this.finishNode(n2, "ConditionalExpression");
2453
+ if (this.eat(f.question)) {
2454
+ var n2 = this.startNodeAt(i2, s2);
2455
+ return n2.test = r3, n2.consequent = this.parseMaybeAssign(), this.expect(f.colon), n2.alternate = this.parseMaybeAssign(e3), this.finishNode(n2, "ConditionalExpression");
2503
2456
  }
2504
2457
  return r3;
2505
2458
  }, $2.parseExprOps = function(e3, t3) {
2506
- var i2 = this.start, s3 = this.startLoc, r3 = this.parseMaybeUnary(t3, false, false, e3);
2507
- return this.checkExpressionErrors(t3) || r3.start === i2 && "ArrowFunctionExpression" === r3.type ? r3 : this.parseExprOp(r3, i2, s3, -1, e3);
2508
- }, $2.parseExprOp = function(e3, t3, i2, s3, r3) {
2459
+ var i2 = this.start, s2 = this.startLoc, r3 = this.parseMaybeUnary(t3, false, false, e3);
2460
+ return this.checkExpressionErrors(t3) || r3.start === i2 && "ArrowFunctionExpression" === r3.type ? r3 : this.parseExprOp(r3, i2, s2, -1, e3);
2461
+ }, $2.parseExprOp = function(e3, t3, i2, s2, r3) {
2509
2462
  var n2 = this.type.binop;
2510
- if (null != n2 && (!r3 || this.type !== f2._in) && n2 > s3) {
2511
- var a3 = this.type === f2.logicalOR || this.type === f2.logicalAND, o3 = this.type === f2.coalesce;
2512
- o3 && (n2 = f2.logicalAND.binop);
2463
+ if (null != n2 && (!r3 || this.type !== f._in) && n2 > s2) {
2464
+ var a2 = this.type === f.logicalOR || this.type === f.logicalAND, o2 = this.type === f.coalesce;
2465
+ o2 && (n2 = f.logicalAND.binop);
2513
2466
  var h3 = this.value;
2514
2467
  this.next();
2515
- var c3 = this.start, p3 = this.startLoc, l2 = this.parseExprOp(this.parseMaybeUnary(null, false, false, r3), c3, p3, n2, r3), u2 = this.buildBinary(t3, i2, e3, l2, h3, a3 || o3);
2516
- return (a3 && this.type === f2.coalesce || o3 && (this.type === f2.logicalOR || this.type === f2.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(u2, t3, i2, s3, r3);
2468
+ var c2 = this.start, p3 = this.startLoc, l2 = this.parseExprOp(this.parseMaybeUnary(null, false, false, r3), c2, p3, n2, r3), u2 = this.buildBinary(t3, i2, e3, l2, h3, a2 || o2);
2469
+ return (a2 && this.type === f.coalesce || o2 && (this.type === f.logicalOR || this.type === f.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(u2, t3, i2, s2, r3);
2517
2470
  }
2518
2471
  return e3;
2519
- }, $2.buildBinary = function(e3, t3, i2, s3, r3, n2) {
2520
- "PrivateIdentifier" === s3.type && this.raise(s3.start, "Private identifier can only be left side of binary expression");
2521
- var a3 = this.startNodeAt(e3, t3);
2522
- return a3.left = i2, a3.operator = r3, a3.right = s3, this.finishNode(a3, n2 ? "LogicalExpression" : "BinaryExpression");
2523
- }, $2.parseMaybeUnary = function(e3, t3, i2, s3) {
2524
- var r3, n2 = this.start, a3 = this.startLoc;
2525
- if (this.isContextual("await") && this.canAwait) r3 = this.parseAwait(s3), t3 = true;
2472
+ }, $2.buildBinary = function(e3, t3, i2, s2, r3, n2) {
2473
+ "PrivateIdentifier" === s2.type && this.raise(s2.start, "Private identifier can only be left side of binary expression");
2474
+ var a2 = this.startNodeAt(e3, t3);
2475
+ return a2.left = i2, a2.operator = r3, a2.right = s2, this.finishNode(a2, n2 ? "LogicalExpression" : "BinaryExpression");
2476
+ }, $2.parseMaybeUnary = function(e3, t3, i2, s2) {
2477
+ var r3, n2 = this.start, a2 = this.startLoc;
2478
+ if (this.isContextual("await") && this.canAwait) r3 = this.parseAwait(s2), t3 = true;
2526
2479
  else if (this.type.prefix) {
2527
- var o3 = this.startNode(), h3 = this.type === f2.incDec;
2528
- o3.operator = this.value, o3.prefix = true, this.next(), o3.argument = this.parseMaybeUnary(null, true, h3, s3), this.checkExpressionErrors(e3, true), h3 ? this.checkLValSimple(o3.argument) : this.strict && "delete" === o3.operator && isLocalVariableAccess(o3.argument) ? this.raiseRecoverable(o3.start, "Deleting local variable in strict mode") : "delete" === o3.operator && isPrivateFieldAccess(o3.argument) ? this.raiseRecoverable(o3.start, "Private fields can not be deleted") : t3 = true, r3 = this.finishNode(o3, h3 ? "UpdateExpression" : "UnaryExpression");
2529
- } else if (t3 || this.type !== f2.privateId) {
2530
- if (r3 = this.parseExprSubscripts(e3, s3), this.checkExpressionErrors(e3)) return r3;
2480
+ var o2 = this.startNode(), h3 = this.type === f.incDec;
2481
+ o2.operator = this.value, o2.prefix = true, this.next(), o2.argument = this.parseMaybeUnary(null, true, h3, s2), this.checkExpressionErrors(e3, true), h3 ? this.checkLValSimple(o2.argument) : this.strict && "delete" === o2.operator && isLocalVariableAccess(o2.argument) ? this.raiseRecoverable(o2.start, "Deleting local variable in strict mode") : "delete" === o2.operator && isPrivateFieldAccess(o2.argument) ? this.raiseRecoverable(o2.start, "Private fields can not be deleted") : t3 = true, r3 = this.finishNode(o2, h3 ? "UpdateExpression" : "UnaryExpression");
2482
+ } else if (t3 || this.type !== f.privateId) {
2483
+ if (r3 = this.parseExprSubscripts(e3, s2), this.checkExpressionErrors(e3)) return r3;
2531
2484
  for (; this.type.postfix && !this.canInsertSemicolon(); ) {
2532
- var c3 = this.startNodeAt(n2, a3);
2533
- c3.operator = this.value, c3.prefix = false, c3.argument = r3, this.checkLValSimple(r3), this.next(), r3 = this.finishNode(c3, "UpdateExpression");
2485
+ var c2 = this.startNodeAt(n2, a2);
2486
+ c2.operator = this.value, c2.prefix = false, c2.argument = r3, this.checkLValSimple(r3), this.next(), r3 = this.finishNode(c2, "UpdateExpression");
2534
2487
  }
2535
- } else (s3 || 0 === this.privateNameStack.length) && this.options.checkPrivateFields && this.unexpected(), r3 = this.parsePrivateIdent(), this.type !== f2._in && this.unexpected();
2536
- return i2 || !this.eat(f2.starstar) ? r3 : t3 ? void this.unexpected(this.lastTokStart) : this.buildBinary(n2, a3, r3, this.parseMaybeUnary(null, false, false, s3), "**", false);
2488
+ } else (s2 || 0 === this.privateNameStack.length) && this.options.checkPrivateFields && this.unexpected(), r3 = this.parsePrivateIdent(), this.type !== f._in && this.unexpected();
2489
+ return i2 || !this.eat(f.starstar) ? r3 : t3 ? void this.unexpected(this.lastTokStart) : this.buildBinary(n2, a2, r3, this.parseMaybeUnary(null, false, false, s2), "**", false);
2537
2490
  }, $2.parseExprSubscripts = function(e3, t3) {
2538
- var i2 = this.start, s3 = this.startLoc, r3 = this.parseExprAtom(e3, t3);
2491
+ var i2 = this.start, s2 = this.startLoc, r3 = this.parseExprAtom(e3, t3);
2539
2492
  if ("ArrowFunctionExpression" === r3.type && ")" !== this.input.slice(this.lastTokStart, this.lastTokEnd)) return r3;
2540
- var n2 = this.parseSubscripts(r3, i2, s3, false, t3);
2493
+ var n2 = this.parseSubscripts(r3, i2, s2, false, t3);
2541
2494
  return e3 && "MemberExpression" === n2.type && (e3.parenthesizedAssign >= n2.start && (e3.parenthesizedAssign = -1), e3.parenthesizedBind >= n2.start && (e3.parenthesizedBind = -1), e3.trailingComma >= n2.start && (e3.trailingComma = -1)), n2;
2542
- }, $2.parseSubscripts = function(e3, t3, i2, s3, r3) {
2543
- for (var n2 = this.options.ecmaVersion >= 8 && "Identifier" === e3.type && "async" === e3.name && this.lastTokEnd === e3.end && !this.canInsertSemicolon() && e3.end - e3.start === 5 && this.potentialArrowAt === e3.start, a3 = false; ; ) {
2544
- var o3 = this.parseSubscript(e3, t3, i2, s3, n2, a3, r3);
2545
- if (o3.optional && (a3 = true), o3 === e3 || "ArrowFunctionExpression" === o3.type) {
2546
- if (a3) {
2495
+ }, $2.parseSubscripts = function(e3, t3, i2, s2, r3) {
2496
+ for (var n2 = this.options.ecmaVersion >= 8 && "Identifier" === e3.type && "async" === e3.name && this.lastTokEnd === e3.end && !this.canInsertSemicolon() && e3.end - e3.start === 5 && this.potentialArrowAt === e3.start, a2 = false; ; ) {
2497
+ var o2 = this.parseSubscript(e3, t3, i2, s2, n2, a2, r3);
2498
+ if (o2.optional && (a2 = true), o2 === e3 || "ArrowFunctionExpression" === o2.type) {
2499
+ if (a2) {
2547
2500
  var h3 = this.startNodeAt(t3, i2);
2548
- h3.expression = o3, o3 = this.finishNode(h3, "ChainExpression");
2501
+ h3.expression = o2, o2 = this.finishNode(h3, "ChainExpression");
2549
2502
  }
2550
- return o3;
2503
+ return o2;
2551
2504
  }
2552
- e3 = o3;
2505
+ e3 = o2;
2553
2506
  }
2554
2507
  }, $2.shouldParseAsyncArrow = function() {
2555
- return !this.canInsertSemicolon() && this.eat(f2.arrow);
2556
- }, $2.parseSubscriptAsyncArrow = function(e3, t3, i2, s3) {
2557
- return this.parseArrowExpression(this.startNodeAt(e3, t3), i2, true, s3);
2558
- }, $2.parseSubscript = function(e3, t3, i2, s3, r3, n2, a3) {
2559
- var o3 = this.options.ecmaVersion >= 11, h3 = o3 && this.eat(f2.questionDot);
2560
- s3 && h3 && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
2561
- var c3 = this.eat(f2.bracketL);
2562
- if (c3 || h3 && this.type !== f2.parenL && this.type !== f2.backQuote || this.eat(f2.dot)) {
2508
+ return !this.canInsertSemicolon() && this.eat(f.arrow);
2509
+ }, $2.parseSubscriptAsyncArrow = function(e3, t3, i2, s2) {
2510
+ return this.parseArrowExpression(this.startNodeAt(e3, t3), i2, true, s2);
2511
+ }, $2.parseSubscript = function(e3, t3, i2, s2, r3, n2, a2) {
2512
+ var o2 = this.options.ecmaVersion >= 11, h3 = o2 && this.eat(f.questionDot);
2513
+ s2 && h3 && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
2514
+ var c2 = this.eat(f.bracketL);
2515
+ if (c2 || h3 && this.type !== f.parenL && this.type !== f.backQuote || this.eat(f.dot)) {
2563
2516
  var p3 = this.startNodeAt(t3, i2);
2564
- p3.object = e3, c3 ? (p3.property = this.parseExpression(), this.expect(f2.bracketR)) : this.type === f2.privateId && "Super" !== e3.type ? p3.property = this.parsePrivateIdent() : p3.property = this.parseIdent("never" !== this.options.allowReserved), p3.computed = !!c3, o3 && (p3.optional = h3), e3 = this.finishNode(p3, "MemberExpression");
2565
- } else if (!s3 && this.eat(f2.parenL)) {
2517
+ p3.object = e3, c2 ? (p3.property = this.parseExpression(), this.expect(f.bracketR)) : this.type === f.privateId && "Super" !== e3.type ? p3.property = this.parsePrivateIdent() : p3.property = this.parseIdent("never" !== this.options.allowReserved), p3.computed = !!c2, o2 && (p3.optional = h3), e3 = this.finishNode(p3, "MemberExpression");
2518
+ } else if (!s2 && this.eat(f.parenL)) {
2566
2519
  var l2 = new acorn_DestructuringErrors(), u2 = this.yieldPos, d2 = this.awaitPos, m3 = this.awaitIdentPos;
2567
2520
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
2568
- var g3 = this.parseExprList(f2.parenR, this.options.ecmaVersion >= 8, false, l2);
2569
- if (r3 && !h3 && this.shouldParseAsyncArrow()) return this.checkPatternErrors(l2, false), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = u2, this.awaitPos = d2, this.awaitIdentPos = m3, this.parseSubscriptAsyncArrow(t3, i2, g3, a3);
2521
+ var g3 = this.parseExprList(f.parenR, this.options.ecmaVersion >= 8, false, l2);
2522
+ if (r3 && !h3 && this.shouldParseAsyncArrow()) return this.checkPatternErrors(l2, false), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = u2, this.awaitPos = d2, this.awaitIdentPos = m3, this.parseSubscriptAsyncArrow(t3, i2, g3, a2);
2570
2523
  this.checkExpressionErrors(l2, true), this.yieldPos = u2 || this.yieldPos, this.awaitPos = d2 || this.awaitPos, this.awaitIdentPos = m3 || this.awaitIdentPos;
2571
2524
  var x3 = this.startNodeAt(t3, i2);
2572
- x3.callee = e3, x3.arguments = g3, o3 && (x3.optional = h3), e3 = this.finishNode(x3, "CallExpression");
2573
- } else if (this.type === f2.backQuote) {
2525
+ x3.callee = e3, x3.arguments = g3, o2 && (x3.optional = h3), e3 = this.finishNode(x3, "CallExpression");
2526
+ } else if (this.type === f.backQuote) {
2574
2527
  (h3 || n2) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
2575
2528
  var v3 = this.startNodeAt(t3, i2);
2576
2529
  v3.tag = e3, v3.quasi = this.parseTemplate({ isTagged: true }), e3 = this.finishNode(v3, "TaggedTemplateExpression");
2577
2530
  }
2578
2531
  return e3;
2579
2532
  }, $2.parseExprAtom = function(e3, t3, i2) {
2580
- this.type === f2.slash && this.readRegexp();
2581
- var s3, r3 = this.potentialArrowAt === this.start;
2533
+ this.type === f.slash && this.readRegexp();
2534
+ var s2, r3 = this.potentialArrowAt === this.start;
2582
2535
  switch (this.type) {
2583
- case f2._super:
2584
- return this.allowSuper || this.raise(this.start, "'super' keyword outside a method"), s3 = this.startNode(), this.next(), this.type !== f2.parenL || this.allowDirectSuper || this.raise(s3.start, "super() call outside constructor of a subclass"), this.type !== f2.dot && this.type !== f2.bracketL && this.type !== f2.parenL && this.unexpected(), this.finishNode(s3, "Super");
2585
- case f2._this:
2586
- return s3 = this.startNode(), this.next(), this.finishNode(s3, "ThisExpression");
2587
- case f2.name:
2588
- var n2 = this.start, a3 = this.startLoc, o3 = this.containsEsc, h3 = this.parseIdent(false);
2589
- if (this.options.ecmaVersion >= 8 && !o3 && "async" === h3.name && !this.canInsertSemicolon() && this.eat(f2._function)) return this.overrideContext(F2.f_expr), this.parseFunction(this.startNodeAt(n2, a3), 0, false, true, t3);
2536
+ case f._super:
2537
+ return this.allowSuper || this.raise(this.start, "'super' keyword outside a method"), s2 = this.startNode(), this.next(), this.type !== f.parenL || this.allowDirectSuper || this.raise(s2.start, "super() call outside constructor of a subclass"), this.type !== f.dot && this.type !== f.bracketL && this.type !== f.parenL && this.unexpected(), this.finishNode(s2, "Super");
2538
+ case f._this:
2539
+ return s2 = this.startNode(), this.next(), this.finishNode(s2, "ThisExpression");
2540
+ case f.name:
2541
+ var n2 = this.start, a2 = this.startLoc, o2 = this.containsEsc, h3 = this.parseIdent(false);
2542
+ if (this.options.ecmaVersion >= 8 && !o2 && "async" === h3.name && !this.canInsertSemicolon() && this.eat(f._function)) return this.overrideContext(F2.f_expr), this.parseFunction(this.startNodeAt(n2, a2), 0, false, true, t3);
2590
2543
  if (r3 && !this.canInsertSemicolon()) {
2591
- if (this.eat(f2.arrow)) return this.parseArrowExpression(this.startNodeAt(n2, a3), [h3], false, t3);
2592
- if (this.options.ecmaVersion >= 8 && "async" === h3.name && this.type === f2.name && !o3 && (!this.potentialArrowInForAwait || "of" !== this.value || this.containsEsc)) return h3 = this.parseIdent(false), !this.canInsertSemicolon() && this.eat(f2.arrow) || this.unexpected(), this.parseArrowExpression(this.startNodeAt(n2, a3), [h3], true, t3);
2544
+ if (this.eat(f.arrow)) return this.parseArrowExpression(this.startNodeAt(n2, a2), [h3], false, t3);
2545
+ if (this.options.ecmaVersion >= 8 && "async" === h3.name && this.type === f.name && !o2 && (!this.potentialArrowInForAwait || "of" !== this.value || this.containsEsc)) return h3 = this.parseIdent(false), !this.canInsertSemicolon() && this.eat(f.arrow) || this.unexpected(), this.parseArrowExpression(this.startNodeAt(n2, a2), [h3], true, t3);
2593
2546
  }
2594
2547
  return h3;
2595
- case f2.regexp:
2596
- var c3 = this.value;
2597
- return (s3 = this.parseLiteral(c3.value)).regex = { pattern: c3.pattern, flags: c3.flags }, s3;
2598
- case f2.num:
2599
- case f2.string:
2548
+ case f.regexp:
2549
+ var c2 = this.value;
2550
+ return (s2 = this.parseLiteral(c2.value)).regex = { pattern: c2.pattern, flags: c2.flags }, s2;
2551
+ case f.num:
2552
+ case f.string:
2600
2553
  return this.parseLiteral(this.value);
2601
- case f2._null:
2602
- case f2._true:
2603
- case f2._false:
2604
- return (s3 = this.startNode()).value = this.type === f2._null ? null : this.type === f2._true, s3.raw = this.type.keyword, this.next(), this.finishNode(s3, "Literal");
2605
- case f2.parenL:
2554
+ case f._null:
2555
+ case f._true:
2556
+ case f._false:
2557
+ return (s2 = this.startNode()).value = this.type === f._null ? null : this.type === f._true, s2.raw = this.type.keyword, this.next(), this.finishNode(s2, "Literal");
2558
+ case f.parenL:
2606
2559
  var p3 = this.start, l2 = this.parseParenAndDistinguishExpression(r3, t3);
2607
2560
  return e3 && (e3.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(l2) && (e3.parenthesizedAssign = p3), e3.parenthesizedBind < 0 && (e3.parenthesizedBind = p3)), l2;
2608
- case f2.bracketL:
2609
- return s3 = this.startNode(), this.next(), s3.elements = this.parseExprList(f2.bracketR, true, true, e3), this.finishNode(s3, "ArrayExpression");
2610
- case f2.braceL:
2561
+ case f.bracketL:
2562
+ return s2 = this.startNode(), this.next(), s2.elements = this.parseExprList(f.bracketR, true, true, e3), this.finishNode(s2, "ArrayExpression");
2563
+ case f.braceL:
2611
2564
  return this.overrideContext(F2.b_expr), this.parseObj(false, e3);
2612
- case f2._function:
2613
- return s3 = this.startNode(), this.next(), this.parseFunction(s3, 0);
2614
- case f2._class:
2565
+ case f._function:
2566
+ return s2 = this.startNode(), this.next(), this.parseFunction(s2, 0);
2567
+ case f._class:
2615
2568
  return this.parseClass(this.startNode(), false);
2616
- case f2._new:
2569
+ case f._new:
2617
2570
  return this.parseNew();
2618
- case f2.backQuote:
2571
+ case f.backQuote:
2619
2572
  return this.parseTemplate();
2620
- case f2._import:
2573
+ case f._import:
2621
2574
  return this.options.ecmaVersion >= 11 ? this.parseExprImport(i2) : this.unexpected();
2622
2575
  default:
2623
2576
  return this.parseExprAtomDefault();
@@ -2626,17 +2579,17 @@ function requireJiti() {
2626
2579
  this.unexpected();
2627
2580
  }, $2.parseExprImport = function(e3) {
2628
2581
  var t3 = this.startNode();
2629
- if (this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword import"), this.next(), this.type === f2.parenL && !e3) return this.parseDynamicImport(t3);
2630
- if (this.type === f2.dot) {
2582
+ if (this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword import"), this.next(), this.type === f.parenL && !e3) return this.parseDynamicImport(t3);
2583
+ if (this.type === f.dot) {
2631
2584
  var i2 = this.startNodeAt(t3.start, t3.loc && t3.loc.start);
2632
2585
  return i2.name = "import", t3.meta = this.finishNode(i2, "Identifier"), this.parseImportMeta(t3);
2633
2586
  }
2634
2587
  this.unexpected();
2635
2588
  }, $2.parseDynamicImport = function(e3) {
2636
- if (this.next(), e3.source = this.parseMaybeAssign(), this.options.ecmaVersion >= 16) this.eat(f2.parenR) ? e3.options = null : (this.expect(f2.comma), this.afterTrailingComma(f2.parenR) ? e3.options = null : (e3.options = this.parseMaybeAssign(), this.eat(f2.parenR) || (this.expect(f2.comma), this.afterTrailingComma(f2.parenR) || this.unexpected())));
2637
- else if (!this.eat(f2.parenR)) {
2589
+ if (this.next(), e3.source = this.parseMaybeAssign(), this.options.ecmaVersion >= 16) this.eat(f.parenR) ? e3.options = null : (this.expect(f.comma), this.afterTrailingComma(f.parenR) ? e3.options = null : (e3.options = this.parseMaybeAssign(), this.eat(f.parenR) || (this.expect(f.comma), this.afterTrailingComma(f.parenR) || this.unexpected())));
2590
+ else if (!this.eat(f.parenR)) {
2638
2591
  var t3 = this.start;
2639
- this.eat(f2.comma) && this.eat(f2.parenR) ? this.raiseRecoverable(t3, "Trailing comma is not allowed in import()") : this.unexpected(t3);
2592
+ this.eat(f.comma) && this.eat(f.parenR) ? this.raiseRecoverable(t3, "Trailing comma is not allowed in import()") : this.unexpected(t3);
2640
2593
  }
2641
2594
  return this.finishNode(e3, "ImportExpression");
2642
2595
  }, $2.parseImportMeta = function(e3) {
@@ -2647,114 +2600,114 @@ function requireJiti() {
2647
2600
  var t3 = this.startNode();
2648
2601
  return t3.value = e3, t3.raw = this.input.slice(this.start, this.end), 110 === t3.raw.charCodeAt(t3.raw.length - 1) && (t3.bigint = null != t3.value ? t3.value.toString() : t3.raw.slice(0, -1).replace(/_/g, "")), this.next(), this.finishNode(t3, "Literal");
2649
2602
  }, $2.parseParenExpression = function() {
2650
- this.expect(f2.parenL);
2603
+ this.expect(f.parenL);
2651
2604
  var e3 = this.parseExpression();
2652
- return this.expect(f2.parenR), e3;
2605
+ return this.expect(f.parenR), e3;
2653
2606
  }, $2.shouldParseArrow = function(e3) {
2654
2607
  return !this.canInsertSemicolon();
2655
2608
  }, $2.parseParenAndDistinguishExpression = function(e3, t3) {
2656
- var i2, s3 = this.start, r3 = this.startLoc, n2 = this.options.ecmaVersion >= 8;
2609
+ var i2, s2 = this.start, r3 = this.startLoc, n2 = this.options.ecmaVersion >= 8;
2657
2610
  if (this.options.ecmaVersion >= 6) {
2658
2611
  this.next();
2659
- var a3, o3 = this.start, h3 = this.startLoc, c3 = [], p3 = true, l2 = false, u2 = new acorn_DestructuringErrors(), d2 = this.yieldPos, m3 = this.awaitPos;
2660
- for (this.yieldPos = 0, this.awaitPos = 0; this.type !== f2.parenR; ) {
2661
- if (p3 ? p3 = false : this.expect(f2.comma), n2 && this.afterTrailingComma(f2.parenR, true)) {
2612
+ var a2, o2 = this.start, h3 = this.startLoc, c2 = [], p3 = true, l2 = false, u2 = new acorn_DestructuringErrors(), d2 = this.yieldPos, m3 = this.awaitPos;
2613
+ for (this.yieldPos = 0, this.awaitPos = 0; this.type !== f.parenR; ) {
2614
+ if (p3 ? p3 = false : this.expect(f.comma), n2 && this.afterTrailingComma(f.parenR, true)) {
2662
2615
  l2 = true;
2663
2616
  break;
2664
2617
  }
2665
- if (this.type === f2.ellipsis) {
2666
- a3 = this.start, c3.push(this.parseParenItem(this.parseRestBinding())), this.type === f2.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element");
2618
+ if (this.type === f.ellipsis) {
2619
+ a2 = this.start, c2.push(this.parseParenItem(this.parseRestBinding())), this.type === f.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element");
2667
2620
  break;
2668
2621
  }
2669
- c3.push(this.parseMaybeAssign(false, u2, this.parseParenItem));
2622
+ c2.push(this.parseMaybeAssign(false, u2, this.parseParenItem));
2670
2623
  }
2671
2624
  var g3 = this.lastTokEnd, x3 = this.lastTokEndLoc;
2672
- if (this.expect(f2.parenR), e3 && this.shouldParseArrow(c3) && this.eat(f2.arrow)) return this.checkPatternErrors(u2, false), this.checkYieldAwaitInDefaultParams(), this.yieldPos = d2, this.awaitPos = m3, this.parseParenArrowList(s3, r3, c3, t3);
2673
- c3.length && !l2 || this.unexpected(this.lastTokStart), a3 && this.unexpected(a3), this.checkExpressionErrors(u2, true), this.yieldPos = d2 || this.yieldPos, this.awaitPos = m3 || this.awaitPos, c3.length > 1 ? ((i2 = this.startNodeAt(o3, h3)).expressions = c3, this.finishNodeAt(i2, "SequenceExpression", g3, x3)) : i2 = c3[0];
2625
+ if (this.expect(f.parenR), e3 && this.shouldParseArrow(c2) && this.eat(f.arrow)) return this.checkPatternErrors(u2, false), this.checkYieldAwaitInDefaultParams(), this.yieldPos = d2, this.awaitPos = m3, this.parseParenArrowList(s2, r3, c2, t3);
2626
+ c2.length && !l2 || this.unexpected(this.lastTokStart), a2 && this.unexpected(a2), this.checkExpressionErrors(u2, true), this.yieldPos = d2 || this.yieldPos, this.awaitPos = m3 || this.awaitPos, c2.length > 1 ? ((i2 = this.startNodeAt(o2, h3)).expressions = c2, this.finishNodeAt(i2, "SequenceExpression", g3, x3)) : i2 = c2[0];
2674
2627
  } else i2 = this.parseParenExpression();
2675
2628
  if (this.options.preserveParens) {
2676
- var v3 = this.startNodeAt(s3, r3);
2629
+ var v3 = this.startNodeAt(s2, r3);
2677
2630
  return v3.expression = i2, this.finishNode(v3, "ParenthesizedExpression");
2678
2631
  }
2679
2632
  return i2;
2680
2633
  }, $2.parseParenItem = function(e3) {
2681
2634
  return e3;
2682
- }, $2.parseParenArrowList = function(e3, t3, i2, s3) {
2683
- return this.parseArrowExpression(this.startNodeAt(e3, t3), i2, false, s3);
2635
+ }, $2.parseParenArrowList = function(e3, t3, i2, s2) {
2636
+ return this.parseArrowExpression(this.startNodeAt(e3, t3), i2, false, s2);
2684
2637
  };
2685
2638
  var q2 = [];
2686
2639
  $2.parseNew = function() {
2687
2640
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
2688
2641
  var e3 = this.startNode();
2689
- if (this.next(), this.options.ecmaVersion >= 6 && this.type === f2.dot) {
2642
+ if (this.next(), this.options.ecmaVersion >= 6 && this.type === f.dot) {
2690
2643
  var t3 = this.startNodeAt(e3.start, e3.loc && e3.loc.start);
2691
2644
  t3.name = "new", e3.meta = this.finishNode(t3, "Identifier"), this.next();
2692
2645
  var i2 = this.containsEsc;
2693
2646
  return e3.property = this.parseIdent(true), "target" !== e3.property.name && this.raiseRecoverable(e3.property.start, "The only valid meta property for new is 'new.target'"), i2 && this.raiseRecoverable(e3.start, "'new.target' must not contain escaped characters"), this.allowNewDotTarget || this.raiseRecoverable(e3.start, "'new.target' can only be used in functions and class static block"), this.finishNode(e3, "MetaProperty");
2694
2647
  }
2695
- var s3 = this.start, r3 = this.startLoc;
2696
- return e3.callee = this.parseSubscripts(this.parseExprAtom(null, false, true), s3, r3, true, false), this.eat(f2.parenL) ? e3.arguments = this.parseExprList(f2.parenR, this.options.ecmaVersion >= 8, false) : e3.arguments = q2, this.finishNode(e3, "NewExpression");
2648
+ var s2 = this.start, r3 = this.startLoc;
2649
+ return e3.callee = this.parseSubscripts(this.parseExprAtom(null, false, true), s2, r3, true, false), this.eat(f.parenL) ? e3.arguments = this.parseExprList(f.parenR, this.options.ecmaVersion >= 8, false) : e3.arguments = q2, this.finishNode(e3, "NewExpression");
2697
2650
  }, $2.parseTemplateElement = function(e3) {
2698
2651
  var t3 = e3.isTagged, i2 = this.startNode();
2699
- return this.type === f2.invalidTemplate ? (t3 || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), i2.value = { raw: this.value.replace(/\r\n?/g, "\n"), cooked: null }) : i2.value = { raw: this.input.slice(this.start, this.end).replace(/\r\n?/g, "\n"), cooked: this.value }, this.next(), i2.tail = this.type === f2.backQuote, this.finishNode(i2, "TemplateElement");
2652
+ return this.type === f.invalidTemplate ? (t3 || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), i2.value = { raw: this.value.replace(/\r\n?/g, "\n"), cooked: null }) : i2.value = { raw: this.input.slice(this.start, this.end).replace(/\r\n?/g, "\n"), cooked: this.value }, this.next(), i2.tail = this.type === f.backQuote, this.finishNode(i2, "TemplateElement");
2700
2653
  }, $2.parseTemplate = function(e3) {
2701
2654
  void 0 === e3 && (e3 = {});
2702
2655
  var t3 = e3.isTagged;
2703
2656
  void 0 === t3 && (t3 = false);
2704
2657
  var i2 = this.startNode();
2705
2658
  this.next(), i2.expressions = [];
2706
- var s3 = this.parseTemplateElement({ isTagged: t3 });
2707
- for (i2.quasis = [s3]; !s3.tail; ) this.type === f2.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(f2.dollarBraceL), i2.expressions.push(this.parseExpression()), this.expect(f2.braceR), i2.quasis.push(s3 = this.parseTemplateElement({ isTagged: t3 }));
2659
+ var s2 = this.parseTemplateElement({ isTagged: t3 });
2660
+ for (i2.quasis = [s2]; !s2.tail; ) this.type === f.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(f.dollarBraceL), i2.expressions.push(this.parseExpression()), this.expect(f.braceR), i2.quasis.push(s2 = this.parseTemplateElement({ isTagged: t3 }));
2708
2661
  return this.next(), this.finishNode(i2, "TemplateLiteral");
2709
2662
  }, $2.isAsyncProp = function(e3) {
2710
- return !e3.computed && "Identifier" === e3.key.type && "async" === e3.key.name && (this.type === f2.name || this.type === f2.num || this.type === f2.string || this.type === f2.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === f2.star) && !m2.test(this.input.slice(this.lastTokEnd, this.start));
2663
+ return !e3.computed && "Identifier" === e3.key.type && "async" === e3.key.name && (this.type === f.name || this.type === f.num || this.type === f.string || this.type === f.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === f.star) && !m2.test(this.input.slice(this.lastTokEnd, this.start));
2711
2664
  }, $2.parseObj = function(e3, t3) {
2712
- var i2 = this.startNode(), s3 = true, r3 = {};
2713
- for (i2.properties = [], this.next(); !this.eat(f2.braceR); ) {
2714
- if (s3) s3 = false;
2715
- else if (this.expect(f2.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(f2.braceR)) break;
2665
+ var i2 = this.startNode(), s2 = true, r3 = {};
2666
+ for (i2.properties = [], this.next(); !this.eat(f.braceR); ) {
2667
+ if (s2) s2 = false;
2668
+ else if (this.expect(f.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(f.braceR)) break;
2716
2669
  var n2 = this.parseProperty(e3, t3);
2717
2670
  e3 || this.checkPropClash(n2, r3, t3), i2.properties.push(n2);
2718
2671
  }
2719
2672
  return this.finishNode(i2, e3 ? "ObjectPattern" : "ObjectExpression");
2720
2673
  }, $2.parseProperty = function(e3, t3) {
2721
- var i2, s3, r3, n2, a3 = this.startNode();
2722
- if (this.options.ecmaVersion >= 9 && this.eat(f2.ellipsis)) return e3 ? (a3.argument = this.parseIdent(false), this.type === f2.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(a3, "RestElement")) : (a3.argument = this.parseMaybeAssign(false, t3), this.type === f2.comma && t3 && t3.trailingComma < 0 && (t3.trailingComma = this.start), this.finishNode(a3, "SpreadElement"));
2723
- this.options.ecmaVersion >= 6 && (a3.method = false, a3.shorthand = false, (e3 || t3) && (r3 = this.start, n2 = this.startLoc), e3 || (i2 = this.eat(f2.star)));
2724
- var o3 = this.containsEsc;
2725
- return this.parsePropertyName(a3), !e3 && !o3 && this.options.ecmaVersion >= 8 && !i2 && this.isAsyncProp(a3) ? (s3 = true, i2 = this.options.ecmaVersion >= 9 && this.eat(f2.star), this.parsePropertyName(a3)) : s3 = false, this.parsePropertyValue(a3, e3, i2, s3, r3, n2, t3, o3), this.finishNode(a3, "Property");
2674
+ var i2, s2, r3, n2, a2 = this.startNode();
2675
+ if (this.options.ecmaVersion >= 9 && this.eat(f.ellipsis)) return e3 ? (a2.argument = this.parseIdent(false), this.type === f.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(a2, "RestElement")) : (a2.argument = this.parseMaybeAssign(false, t3), this.type === f.comma && t3 && t3.trailingComma < 0 && (t3.trailingComma = this.start), this.finishNode(a2, "SpreadElement"));
2676
+ this.options.ecmaVersion >= 6 && (a2.method = false, a2.shorthand = false, (e3 || t3) && (r3 = this.start, n2 = this.startLoc), e3 || (i2 = this.eat(f.star)));
2677
+ var o2 = this.containsEsc;
2678
+ return this.parsePropertyName(a2), !e3 && !o2 && this.options.ecmaVersion >= 8 && !i2 && this.isAsyncProp(a2) ? (s2 = true, i2 = this.options.ecmaVersion >= 9 && this.eat(f.star), this.parsePropertyName(a2)) : s2 = false, this.parsePropertyValue(a2, e3, i2, s2, r3, n2, t3, o2), this.finishNode(a2, "Property");
2726
2679
  }, $2.parseGetterSetter = function(e3) {
2727
2680
  var t3 = e3.key.name;
2728
2681
  this.parsePropertyName(e3), e3.value = this.parseMethod(false), e3.kind = t3;
2729
2682
  var i2 = "get" === e3.kind ? 0 : 1;
2730
2683
  if (e3.value.params.length !== i2) {
2731
- var s3 = e3.value.start;
2732
- "get" === e3.kind ? this.raiseRecoverable(s3, "getter should have no params") : this.raiseRecoverable(s3, "setter should have exactly one param");
2684
+ var s2 = e3.value.start;
2685
+ "get" === e3.kind ? this.raiseRecoverable(s2, "getter should have no params") : this.raiseRecoverable(s2, "setter should have exactly one param");
2733
2686
  } else "set" === e3.kind && "RestElement" === e3.value.params[0].type && this.raiseRecoverable(e3.value.params[0].start, "Setter cannot use rest params");
2734
- }, $2.parsePropertyValue = function(e3, t3, i2, s3, r3, n2, a3, o3) {
2735
- (i2 || s3) && this.type === f2.colon && this.unexpected(), this.eat(f2.colon) ? (e3.value = t3 ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(false, a3), e3.kind = "init") : this.options.ecmaVersion >= 6 && this.type === f2.parenL ? (t3 && this.unexpected(), e3.method = true, e3.value = this.parseMethod(i2, s3), e3.kind = "init") : t3 || o3 || !(this.options.ecmaVersion >= 5) || e3.computed || "Identifier" !== e3.key.type || "get" !== e3.key.name && "set" !== e3.key.name || this.type === f2.comma || this.type === f2.braceR || this.type === f2.eq ? this.options.ecmaVersion >= 6 && !e3.computed && "Identifier" === e3.key.type ? ((i2 || s3) && this.unexpected(), this.checkUnreserved(e3.key), "await" !== e3.key.name || this.awaitIdentPos || (this.awaitIdentPos = r3), t3 ? e3.value = this.parseMaybeDefault(r3, n2, this.copyNode(e3.key)) : this.type === f2.eq && a3 ? (a3.shorthandAssign < 0 && (a3.shorthandAssign = this.start), e3.value = this.parseMaybeDefault(r3, n2, this.copyNode(e3.key))) : e3.value = this.copyNode(e3.key), e3.kind = "init", e3.shorthand = true) : this.unexpected() : ((i2 || s3) && this.unexpected(), this.parseGetterSetter(e3));
2687
+ }, $2.parsePropertyValue = function(e3, t3, i2, s2, r3, n2, a2, o2) {
2688
+ (i2 || s2) && this.type === f.colon && this.unexpected(), this.eat(f.colon) ? (e3.value = t3 ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(false, a2), e3.kind = "init") : this.options.ecmaVersion >= 6 && this.type === f.parenL ? (t3 && this.unexpected(), e3.method = true, e3.value = this.parseMethod(i2, s2), e3.kind = "init") : t3 || o2 || !(this.options.ecmaVersion >= 5) || e3.computed || "Identifier" !== e3.key.type || "get" !== e3.key.name && "set" !== e3.key.name || this.type === f.comma || this.type === f.braceR || this.type === f.eq ? this.options.ecmaVersion >= 6 && !e3.computed && "Identifier" === e3.key.type ? ((i2 || s2) && this.unexpected(), this.checkUnreserved(e3.key), "await" !== e3.key.name || this.awaitIdentPos || (this.awaitIdentPos = r3), t3 ? e3.value = this.parseMaybeDefault(r3, n2, this.copyNode(e3.key)) : this.type === f.eq && a2 ? (a2.shorthandAssign < 0 && (a2.shorthandAssign = this.start), e3.value = this.parseMaybeDefault(r3, n2, this.copyNode(e3.key))) : e3.value = this.copyNode(e3.key), e3.kind = "init", e3.shorthand = true) : this.unexpected() : ((i2 || s2) && this.unexpected(), this.parseGetterSetter(e3));
2736
2689
  }, $2.parsePropertyName = function(e3) {
2737
2690
  if (this.options.ecmaVersion >= 6) {
2738
- if (this.eat(f2.bracketL)) return e3.computed = true, e3.key = this.parseMaybeAssign(), this.expect(f2.bracketR), e3.key;
2691
+ if (this.eat(f.bracketL)) return e3.computed = true, e3.key = this.parseMaybeAssign(), this.expect(f.bracketR), e3.key;
2739
2692
  e3.computed = false;
2740
2693
  }
2741
- return e3.key = this.type === f2.num || this.type === f2.string ? this.parseExprAtom() : this.parseIdent("never" !== this.options.allowReserved);
2694
+ return e3.key = this.type === f.num || this.type === f.string ? this.parseExprAtom() : this.parseIdent("never" !== this.options.allowReserved);
2742
2695
  }, $2.initFunction = function(e3) {
2743
2696
  e3.id = null, this.options.ecmaVersion >= 6 && (e3.generator = e3.expression = false), this.options.ecmaVersion >= 8 && (e3.async = false);
2744
2697
  }, $2.parseMethod = function(e3, t3, i2) {
2745
- var s3 = this.startNode(), r3 = this.yieldPos, n2 = this.awaitPos, a3 = this.awaitIdentPos;
2746
- return this.initFunction(s3), this.options.ecmaVersion >= 6 && (s3.generator = e3), this.options.ecmaVersion >= 8 && (s3.async = !!t3), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(64 | functionFlags(t3, s3.generator) | (i2 ? 128 : 0)), this.expect(f2.parenL), s3.params = this.parseBindingList(f2.parenR, false, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(s3, false, true, false), this.yieldPos = r3, this.awaitPos = n2, this.awaitIdentPos = a3, this.finishNode(s3, "FunctionExpression");
2747
- }, $2.parseArrowExpression = function(e3, t3, i2, s3) {
2748
- var r3 = this.yieldPos, n2 = this.awaitPos, a3 = this.awaitIdentPos;
2749
- return this.enterScope(16 | functionFlags(i2, false)), this.initFunction(e3), this.options.ecmaVersion >= 8 && (e3.async = !!i2), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e3.params = this.toAssignableList(t3, true), this.parseFunctionBody(e3, true, false, s3), this.yieldPos = r3, this.awaitPos = n2, this.awaitIdentPos = a3, this.finishNode(e3, "ArrowFunctionExpression");
2750
- }, $2.parseFunctionBody = function(e3, t3, i2, s3) {
2751
- var r3 = t3 && this.type !== f2.braceL, n2 = this.strict, a3 = false;
2752
- if (r3) e3.body = this.parseMaybeAssign(s3), e3.expression = true, this.checkParams(e3, false);
2698
+ var s2 = this.startNode(), r3 = this.yieldPos, n2 = this.awaitPos, a2 = this.awaitIdentPos;
2699
+ return this.initFunction(s2), this.options.ecmaVersion >= 6 && (s2.generator = e3), this.options.ecmaVersion >= 8 && (s2.async = !!t3), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(64 | functionFlags(t3, s2.generator) | (i2 ? 128 : 0)), this.expect(f.parenL), s2.params = this.parseBindingList(f.parenR, false, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(s2, false, true, false), this.yieldPos = r3, this.awaitPos = n2, this.awaitIdentPos = a2, this.finishNode(s2, "FunctionExpression");
2700
+ }, $2.parseArrowExpression = function(e3, t3, i2, s2) {
2701
+ var r3 = this.yieldPos, n2 = this.awaitPos, a2 = this.awaitIdentPos;
2702
+ return this.enterScope(16 | functionFlags(i2, false)), this.initFunction(e3), this.options.ecmaVersion >= 8 && (e3.async = !!i2), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e3.params = this.toAssignableList(t3, true), this.parseFunctionBody(e3, true, false, s2), this.yieldPos = r3, this.awaitPos = n2, this.awaitIdentPos = a2, this.finishNode(e3, "ArrowFunctionExpression");
2703
+ }, $2.parseFunctionBody = function(e3, t3, i2, s2) {
2704
+ var r3 = t3 && this.type !== f.braceL, n2 = this.strict, a2 = false;
2705
+ if (r3) e3.body = this.parseMaybeAssign(s2), e3.expression = true, this.checkParams(e3, false);
2753
2706
  else {
2754
- var o3 = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e3.params);
2755
- n2 && !o3 || (a3 = this.strictDirective(this.end)) && o3 && this.raiseRecoverable(e3.start, "Illegal 'use strict' directive in function with non-simple parameter list");
2707
+ var o2 = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e3.params);
2708
+ n2 && !o2 || (a2 = this.strictDirective(this.end)) && o2 && this.raiseRecoverable(e3.start, "Illegal 'use strict' directive in function with non-simple parameter list");
2756
2709
  var h3 = this.labels;
2757
- this.labels = [], a3 && (this.strict = true), this.checkParams(e3, !n2 && !a3 && !t3 && !i2 && this.isSimpleParamList(e3.params)), this.strict && e3.id && this.checkLValSimple(e3.id, 5), e3.body = this.parseBlock(false, void 0, a3 && !n2), e3.expression = false, this.adaptDirectivePrologue(e3.body.body), this.labels = h3;
2710
+ this.labels = [], a2 && (this.strict = true), this.checkParams(e3, !n2 && !a2 && !t3 && !i2 && this.isSimpleParamList(e3.params)), this.strict && e3.id && this.checkLValSimple(e3.id, 5), e3.body = this.parseBlock(false, void 0, a2 && !n2), e3.expression = false, this.adaptDirectivePrologue(e3.body.body), this.labels = h3;
2758
2711
  }
2759
2712
  this.exitScope();
2760
2713
  }, $2.isSimpleParamList = function(e3) {
@@ -2763,34 +2716,34 @@ function requireJiti() {
2763
2716
  }
2764
2717
  return true;
2765
2718
  }, $2.checkParams = function(e3, t3) {
2766
- for (var i2 = /* @__PURE__ */ Object.create(null), s3 = 0, r3 = e3.params; s3 < r3.length; s3 += 1) {
2767
- var n2 = r3[s3];
2719
+ for (var i2 = /* @__PURE__ */ Object.create(null), s2 = 0, r3 = e3.params; s2 < r3.length; s2 += 1) {
2720
+ var n2 = r3[s2];
2768
2721
  this.checkLValInnerPattern(n2, 1, t3 ? null : i2);
2769
2722
  }
2770
- }, $2.parseExprList = function(e3, t3, i2, s3) {
2723
+ }, $2.parseExprList = function(e3, t3, i2, s2) {
2771
2724
  for (var r3 = [], n2 = true; !this.eat(e3); ) {
2772
2725
  if (n2) n2 = false;
2773
- else if (this.expect(f2.comma), t3 && this.afterTrailingComma(e3)) break;
2774
- var a3 = void 0;
2775
- i2 && this.type === f2.comma ? a3 = null : this.type === f2.ellipsis ? (a3 = this.parseSpread(s3), s3 && this.type === f2.comma && s3.trailingComma < 0 && (s3.trailingComma = this.start)) : a3 = this.parseMaybeAssign(false, s3), r3.push(a3);
2726
+ else if (this.expect(f.comma), t3 && this.afterTrailingComma(e3)) break;
2727
+ var a2 = void 0;
2728
+ i2 && this.type === f.comma ? a2 = null : this.type === f.ellipsis ? (a2 = this.parseSpread(s2), s2 && this.type === f.comma && s2.trailingComma < 0 && (s2.trailingComma = this.start)) : a2 = this.parseMaybeAssign(false, s2), r3.push(a2);
2776
2729
  }
2777
2730
  return r3;
2778
2731
  }, $2.checkUnreserved = function(e3) {
2779
- var t3 = e3.start, i2 = e3.end, s3 = e3.name;
2780
- (this.inGenerator && "yield" === s3 && this.raiseRecoverable(t3, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && "await" === s3 && this.raiseRecoverable(t3, "Cannot use 'await' as identifier inside an async function"), this.currentThisScope().flags & P2 || "arguments" !== s3 || this.raiseRecoverable(t3, "Cannot use 'arguments' in class field initializer"), !this.inClassStaticBlock || "arguments" !== s3 && "await" !== s3 || this.raise(t3, "Cannot use " + s3 + " in class static initialization block"), this.keywords.test(s3) && this.raise(t3, "Unexpected keyword '" + s3 + "'"), this.options.ecmaVersion < 6 && -1 !== this.input.slice(t3, i2).indexOf("\\")) || (this.strict ? this.reservedWordsStrict : this.reservedWords).test(s3) && (this.inAsync || "await" !== s3 || this.raiseRecoverable(t3, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t3, "The keyword '" + s3 + "' is reserved"));
2732
+ var t3 = e3.start, i2 = e3.end, s2 = e3.name;
2733
+ (this.inGenerator && "yield" === s2 && this.raiseRecoverable(t3, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && "await" === s2 && this.raiseRecoverable(t3, "Cannot use 'await' as identifier inside an async function"), this.currentThisScope().flags & P2 || "arguments" !== s2 || this.raiseRecoverable(t3, "Cannot use 'arguments' in class field initializer"), !this.inClassStaticBlock || "arguments" !== s2 && "await" !== s2 || this.raise(t3, "Cannot use " + s2 + " in class static initialization block"), this.keywords.test(s2) && this.raise(t3, "Unexpected keyword '" + s2 + "'"), this.options.ecmaVersion < 6 && -1 !== this.input.slice(t3, i2).indexOf("\\")) || (this.strict ? this.reservedWordsStrict : this.reservedWords).test(s2) && (this.inAsync || "await" !== s2 || this.raiseRecoverable(t3, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t3, "The keyword '" + s2 + "' is reserved"));
2781
2734
  }, $2.parseIdent = function(e3) {
2782
2735
  var t3 = this.parseIdentNode();
2783
2736
  return this.next(!!e3), this.finishNode(t3, "Identifier"), e3 || (this.checkUnreserved(t3), "await" !== t3.name || this.awaitIdentPos || (this.awaitIdentPos = t3.start)), t3;
2784
2737
  }, $2.parseIdentNode = function() {
2785
2738
  var e3 = this.startNode();
2786
- return this.type === f2.name ? e3.name = this.value : this.type.keyword ? (e3.name = this.type.keyword, "class" !== e3.name && "function" !== e3.name || this.lastTokEnd === this.lastTokStart + 1 && 46 === this.input.charCodeAt(this.lastTokStart) || this.context.pop(), this.type = f2.name) : this.unexpected(), e3;
2739
+ return this.type === f.name ? e3.name = this.value : this.type.keyword ? (e3.name = this.type.keyword, "class" !== e3.name && "function" !== e3.name || this.lastTokEnd === this.lastTokStart + 1 && 46 === this.input.charCodeAt(this.lastTokStart) || this.context.pop(), this.type = f.name) : this.unexpected(), e3;
2787
2740
  }, $2.parsePrivateIdent = function() {
2788
2741
  var e3 = this.startNode();
2789
- return this.type === f2.privateId ? e3.name = this.value : this.unexpected(), this.next(), this.finishNode(e3, "PrivateIdentifier"), this.options.checkPrivateFields && (0 === this.privateNameStack.length ? this.raise(e3.start, "Private field '#" + e3.name + "' must be declared in an enclosing class") : this.privateNameStack[this.privateNameStack.length - 1].used.push(e3)), e3;
2742
+ return this.type === f.privateId ? e3.name = this.value : this.unexpected(), this.next(), this.finishNode(e3, "PrivateIdentifier"), this.options.checkPrivateFields && (0 === this.privateNameStack.length ? this.raise(e3.start, "Private field '#" + e3.name + "' must be declared in an enclosing class") : this.privateNameStack[this.privateNameStack.length - 1].used.push(e3)), e3;
2790
2743
  }, $2.parseYield = function(e3) {
2791
2744
  this.yieldPos || (this.yieldPos = this.start);
2792
2745
  var t3 = this.startNode();
2793
- return this.next(), this.type === f2.semi || this.canInsertSemicolon() || this.type !== f2.star && !this.type.startsExpr ? (t3.delegate = false, t3.argument = null) : (t3.delegate = this.eat(f2.star), t3.argument = this.parseMaybeAssign(e3)), this.finishNode(t3, "YieldExpression");
2746
+ return this.next(), this.type === f.semi || this.canInsertSemicolon() || this.type !== f.star && !this.type.startsExpr ? (t3.delegate = false, t3.argument = null) : (t3.delegate = this.eat(f.star), t3.argument = this.parseMaybeAssign(e3)), this.finishNode(t3, "YieldExpression");
2794
2747
  }, $2.parseAwait = function(e3) {
2795
2748
  this.awaitPos || (this.awaitPos = this.start);
2796
2749
  var t3 = this.startNode();
@@ -2800,8 +2753,8 @@ function requireJiti() {
2800
2753
  W2.raise = function(e3, t3) {
2801
2754
  var i2 = getLineInfo(this.input, e3);
2802
2755
  t3 += " (" + i2.line + ":" + i2.column + ")", this.sourceFile && (t3 += " in " + this.sourceFile);
2803
- var s3 = new SyntaxError(t3);
2804
- throw s3.pos = e3, s3.loc = i2, s3.raisedAt = this.pos, s3;
2756
+ var s2 = new SyntaxError(t3);
2757
+ throw s2.pos = e3, s2.loc = i2, s2.raisedAt = this.pos, s2;
2805
2758
  }, W2.raiseRecoverable = W2.raise, W2.curPosition = function() {
2806
2759
  if (this.options.locations) return new acorn_Position(this.curLine, this.pos - this.lineStart);
2807
2760
  };
@@ -2815,24 +2768,24 @@ function requireJiti() {
2815
2768
  }, G2.treatFunctionsAsVarInScope = function(e3) {
2816
2769
  return 2 & e3.flags || !this.inModule && 1 & e3.flags;
2817
2770
  }, G2.declareName = function(e3, t3, i2) {
2818
- var s3 = false;
2771
+ var s2 = false;
2819
2772
  if (2 === t3) {
2820
2773
  var r3 = this.currentScope();
2821
- s3 = r3.lexical.indexOf(e3) > -1 || r3.functions.indexOf(e3) > -1 || r3.var.indexOf(e3) > -1, r3.lexical.push(e3), this.inModule && 1 & r3.flags && delete this.undefinedExports[e3];
2774
+ s2 = r3.lexical.indexOf(e3) > -1 || r3.functions.indexOf(e3) > -1 || r3.var.indexOf(e3) > -1, r3.lexical.push(e3), this.inModule && 1 & r3.flags && delete this.undefinedExports[e3];
2822
2775
  } else if (4 === t3) {
2823
2776
  this.currentScope().lexical.push(e3);
2824
2777
  } else if (3 === t3) {
2825
2778
  var n2 = this.currentScope();
2826
- s3 = this.treatFunctionsAsVar ? n2.lexical.indexOf(e3) > -1 : n2.lexical.indexOf(e3) > -1 || n2.var.indexOf(e3) > -1, n2.functions.push(e3);
2827
- } else for (var a3 = this.scopeStack.length - 1; a3 >= 0; --a3) {
2828
- var o3 = this.scopeStack[a3];
2829
- if (o3.lexical.indexOf(e3) > -1 && !(32 & o3.flags && o3.lexical[0] === e3) || !this.treatFunctionsAsVarInScope(o3) && o3.functions.indexOf(e3) > -1) {
2830
- s3 = true;
2779
+ s2 = this.treatFunctionsAsVar ? n2.lexical.indexOf(e3) > -1 : n2.lexical.indexOf(e3) > -1 || n2.var.indexOf(e3) > -1, n2.functions.push(e3);
2780
+ } else for (var a2 = this.scopeStack.length - 1; a2 >= 0; --a2) {
2781
+ var o2 = this.scopeStack[a2];
2782
+ if (o2.lexical.indexOf(e3) > -1 && !(32 & o2.flags && o2.lexical[0] === e3) || !this.treatFunctionsAsVarInScope(o2) && o2.functions.indexOf(e3) > -1) {
2783
+ s2 = true;
2831
2784
  break;
2832
2785
  }
2833
- if (o3.var.push(e3), this.inModule && 1 & o3.flags && delete this.undefinedExports[e3], o3.flags & P2) break;
2786
+ if (o2.var.push(e3), this.inModule && 1 & o2.flags && delete this.undefinedExports[e3], o2.flags & P2) break;
2834
2787
  }
2835
- s3 && this.raiseRecoverable(i2, "Identifier '" + e3 + "' has already been declared");
2788
+ s2 && this.raiseRecoverable(i2, "Identifier '" + e3 + "' has already been declared");
2836
2789
  }, G2.checkLocalExport = function(e3) {
2837
2790
  -1 === this.scopeStack[0].lexical.indexOf(e3.name) && -1 === this.scopeStack[0].var.indexOf(e3.name) && (this.undefinedExports[e3.name] = e3);
2838
2791
  }, G2.currentScope = function() {
@@ -2851,8 +2804,8 @@ function requireJiti() {
2851
2804
  var acorn_Node = function(e3, t3, i2) {
2852
2805
  this.type = "", this.start = t3, this.end = 0, e3.options.locations && (this.loc = new acorn_SourceLocation(e3, i2)), e3.options.directSourceFile && (this.sourceFile = e3.options.directSourceFile), e3.options.ranges && (this.range = [t3, 0]);
2853
2806
  }, H2 = acorn_Parser.prototype;
2854
- function finishNodeAt(e3, t3, i2, s3) {
2855
- return e3.type = t3, e3.end = i2, this.options.locations && (e3.loc.end = s3), this.options.ranges && (e3.range[1] = i2), e3;
2807
+ function finishNodeAt(e3, t3, i2, s2) {
2808
+ return e3.type = t3, e3.end = i2, this.options.locations && (e3.loc.end = s2), this.options.ranges && (e3.range[1] = i2), e3;
2856
2809
  }
2857
2810
  H2.startNode = function() {
2858
2811
  return new acorn_Node(this, this.start, this.startLoc);
@@ -2860,8 +2813,8 @@ function requireJiti() {
2860
2813
  return new acorn_Node(this, e3, t3);
2861
2814
  }, H2.finishNode = function(e3, t3) {
2862
2815
  return finishNodeAt.call(this, e3, t3, this.lastTokEnd, this.lastTokEndLoc);
2863
- }, H2.finishNodeAt = function(e3, t3, i2, s3) {
2864
- return finishNodeAt.call(this, e3, t3, i2, s3);
2816
+ }, H2.finishNodeAt = function(e3, t3, i2, s2) {
2817
+ return finishNodeAt.call(this, e3, t3, i2, s2);
2865
2818
  }, H2.copyNode = function(e3) {
2866
2819
  var t3 = new acorn_Node(this, e3.start, this.startLoc);
2867
2820
  for (var i2 in e3) t3[i2] = e3[i2];
@@ -2897,24 +2850,24 @@ function requireJiti() {
2897
2850
  return e3 >= 65 && e3 <= 90 || e3 >= 97 && e3 <= 122;
2898
2851
  }
2899
2852
  acorn_RegExpValidationState.prototype.reset = function(e3, t3, i2) {
2900
- var s3 = -1 !== i2.indexOf("v"), r3 = -1 !== i2.indexOf("u");
2901
- this.start = 0 | e3, this.source = t3 + "", this.flags = i2, s3 && this.parser.options.ecmaVersion >= 15 ? (this.switchU = true, this.switchV = true, this.switchN = true) : (this.switchU = r3 && this.parser.options.ecmaVersion >= 6, this.switchV = false, this.switchN = r3 && this.parser.options.ecmaVersion >= 9);
2853
+ var s2 = -1 !== i2.indexOf("v"), r3 = -1 !== i2.indexOf("u");
2854
+ this.start = 0 | e3, this.source = t3 + "", this.flags = i2, s2 && this.parser.options.ecmaVersion >= 15 ? (this.switchU = true, this.switchV = true, this.switchN = true) : (this.switchU = r3 && this.parser.options.ecmaVersion >= 6, this.switchV = false, this.switchN = r3 && this.parser.options.ecmaVersion >= 9);
2902
2855
  }, acorn_RegExpValidationState.prototype.raise = function(e3) {
2903
2856
  this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + e3);
2904
2857
  }, acorn_RegExpValidationState.prototype.at = function(e3, t3) {
2905
2858
  void 0 === t3 && (t3 = false);
2906
- var i2 = this.source, s3 = i2.length;
2907
- if (e3 >= s3) return -1;
2859
+ var i2 = this.source, s2 = i2.length;
2860
+ if (e3 >= s2) return -1;
2908
2861
  var r3 = i2.charCodeAt(e3);
2909
- if (!t3 && !this.switchU || r3 <= 55295 || r3 >= 57344 || e3 + 1 >= s3) return r3;
2862
+ if (!t3 && !this.switchU || r3 <= 55295 || r3 >= 57344 || e3 + 1 >= s2) return r3;
2910
2863
  var n2 = i2.charCodeAt(e3 + 1);
2911
2864
  return n2 >= 56320 && n2 <= 57343 ? (r3 << 10) + n2 - 56613888 : r3;
2912
2865
  }, acorn_RegExpValidationState.prototype.nextIndex = function(e3, t3) {
2913
2866
  void 0 === t3 && (t3 = false);
2914
- var i2 = this.source, s3 = i2.length;
2915
- if (e3 >= s3) return s3;
2867
+ var i2 = this.source, s2 = i2.length;
2868
+ if (e3 >= s2) return s2;
2916
2869
  var r3, n2 = i2.charCodeAt(e3);
2917
- return !t3 && !this.switchU || n2 <= 55295 || n2 >= 57344 || e3 + 1 >= s3 || (r3 = i2.charCodeAt(e3 + 1)) < 56320 || r3 > 57343 ? e3 + 1 : e3 + 2;
2870
+ return !t3 && !this.switchU || n2 <= 55295 || n2 >= 57344 || e3 + 1 >= s2 || (r3 = i2.charCodeAt(e3 + 1)) < 56320 || r3 > 57343 ? e3 + 1 : e3 + 2;
2918
2871
  }, acorn_RegExpValidationState.prototype.current = function(e3) {
2919
2872
  return void 0 === e3 && (e3 = false), this.at(this.pos, e3);
2920
2873
  }, acorn_RegExpValidationState.prototype.lookahead = function(e3) {
@@ -2925,18 +2878,18 @@ function requireJiti() {
2925
2878
  return void 0 === t3 && (t3 = false), this.current(t3) === e3 && (this.advance(t3), true);
2926
2879
  }, acorn_RegExpValidationState.prototype.eatChars = function(e3, t3) {
2927
2880
  void 0 === t3 && (t3 = false);
2928
- for (var i2 = this.pos, s3 = 0, r3 = e3; s3 < r3.length; s3 += 1) {
2929
- var n2 = r3[s3], a3 = this.at(i2, t3);
2930
- if (-1 === a3 || a3 !== n2) return false;
2881
+ for (var i2 = this.pos, s2 = 0, r3 = e3; s2 < r3.length; s2 += 1) {
2882
+ var n2 = r3[s2], a2 = this.at(i2, t3);
2883
+ if (-1 === a2 || a2 !== n2) return false;
2931
2884
  i2 = this.nextIndex(i2, t3);
2932
2885
  }
2933
2886
  return this.pos = i2, true;
2934
2887
  }, he2.validateRegExpFlags = function(e3) {
2935
- for (var t3 = e3.validFlags, i2 = e3.flags, s3 = false, r3 = false, n2 = 0; n2 < i2.length; n2++) {
2936
- var a3 = i2.charAt(n2);
2937
- -1 === t3.indexOf(a3) && this.raise(e3.start, "Invalid regular expression flag"), i2.indexOf(a3, n2 + 1) > -1 && this.raise(e3.start, "Duplicate regular expression flag"), "u" === a3 && (s3 = true), "v" === a3 && (r3 = true);
2888
+ for (var t3 = e3.validFlags, i2 = e3.flags, s2 = false, r3 = false, n2 = 0; n2 < i2.length; n2++) {
2889
+ var a2 = i2.charAt(n2);
2890
+ -1 === t3.indexOf(a2) && this.raise(e3.start, "Invalid regular expression flag"), i2.indexOf(a2, n2 + 1) > -1 && this.raise(e3.start, "Duplicate regular expression flag"), "u" === a2 && (s2 = true), "v" === a2 && (r3 = true);
2938
2891
  }
2939
- this.options.ecmaVersion >= 15 && s3 && r3 && this.raise(e3.start, "Invalid regular expression flag");
2892
+ this.options.ecmaVersion >= 15 && s2 && r3 && this.raise(e3.start, "Invalid regular expression flag");
2940
2893
  }, he2.validateRegExpPattern = function(e3) {
2941
2894
  this.regexp_pattern(e3), !e3.switchN && this.options.ecmaVersion >= 9 && (function(e4) {
2942
2895
  for (var t3 in e4) return true;
@@ -2945,8 +2898,8 @@ function requireJiti() {
2945
2898
  }, he2.regexp_pattern = function(e3) {
2946
2899
  e3.pos = 0, e3.lastIntValue = 0, e3.lastStringValue = "", e3.lastAssertionIsQuantifiable = false, e3.numCapturingParens = 0, e3.maxBackReference = 0, e3.groupNames = /* @__PURE__ */ Object.create(null), e3.backReferenceNames.length = 0, e3.branchID = null, this.regexp_disjunction(e3), e3.pos !== e3.source.length && (e3.eat(41) && e3.raise("Unmatched ')'"), (e3.eat(93) || e3.eat(125)) && e3.raise("Lone quantifier brackets")), e3.maxBackReference > e3.numCapturingParens && e3.raise("Invalid escape");
2947
2900
  for (var t3 = 0, i2 = e3.backReferenceNames; t3 < i2.length; t3 += 1) {
2948
- var s3 = i2[t3];
2949
- e3.groupNames[s3] || e3.raise("Invalid named capture referenced");
2901
+ var s2 = i2[t3];
2902
+ e3.groupNames[s2] || e3.raise("Invalid named capture referenced");
2950
2903
  }
2951
2904
  }, he2.regexp_disjunction = function(e3) {
2952
2905
  var t3 = this.options.ecmaVersion >= 16;
@@ -2975,8 +2928,8 @@ function requireJiti() {
2975
2928
  }, he2.regexp_eatBracedQuantifier = function(e3, t3) {
2976
2929
  var i2 = e3.pos;
2977
2930
  if (e3.eat(123)) {
2978
- var s3 = 0, r3 = -1;
2979
- if (this.regexp_eatDecimalDigits(e3) && (s3 = e3.lastIntValue, e3.eat(44) && this.regexp_eatDecimalDigits(e3) && (r3 = e3.lastIntValue), e3.eat(125))) return -1 !== r3 && r3 < s3 && !t3 && e3.raise("numbers out of order in {} quantifier"), true;
2931
+ var s2 = 0, r3 = -1;
2932
+ if (this.regexp_eatDecimalDigits(e3) && (s2 = e3.lastIntValue, e3.eat(44) && this.regexp_eatDecimalDigits(e3) && (r3 = e3.lastIntValue), e3.eat(125))) return -1 !== r3 && r3 < s2 && !t3 && e3.raise("numbers out of order in {} quantifier"), true;
2980
2933
  e3.switchU && !t3 && e3.raise("Incomplete quantifier"), e3.pos = i2;
2981
2934
  }
2982
2935
  return false;
@@ -2994,18 +2947,18 @@ function requireJiti() {
2994
2947
  if (e3.eat(40)) {
2995
2948
  if (e3.eat(63)) {
2996
2949
  if (this.options.ecmaVersion >= 16) {
2997
- var i2 = this.regexp_eatModifiers(e3), s3 = e3.eat(45);
2998
- if (i2 || s3) {
2950
+ var i2 = this.regexp_eatModifiers(e3), s2 = e3.eat(45);
2951
+ if (i2 || s2) {
2999
2952
  for (var r3 = 0; r3 < i2.length; r3++) {
3000
2953
  var n2 = i2.charAt(r3);
3001
2954
  i2.indexOf(n2, r3 + 1) > -1 && e3.raise("Duplicate regular expression modifiers");
3002
2955
  }
3003
- if (s3) {
3004
- var a3 = this.regexp_eatModifiers(e3);
3005
- i2 || a3 || 58 !== e3.current() || e3.raise("Invalid regular expression modifiers");
3006
- for (var o3 = 0; o3 < a3.length; o3++) {
3007
- var h3 = a3.charAt(o3);
3008
- (a3.indexOf(h3, o3 + 1) > -1 || i2.indexOf(h3) > -1) && e3.raise("Duplicate regular expression modifiers");
2956
+ if (s2) {
2957
+ var a2 = this.regexp_eatModifiers(e3);
2958
+ i2 || a2 || 58 !== e3.current() || e3.raise("Invalid regular expression modifiers");
2959
+ for (var o2 = 0; o2 < a2.length; o2++) {
2960
+ var h3 = a2.charAt(o2);
2961
+ (a2.indexOf(h3, o2 + 1) > -1 || i2.indexOf(h3) > -1) && e3.raise("Duplicate regular expression modifiers");
3009
2962
  }
3010
2963
  }
3011
2964
  }
@@ -3044,8 +2997,8 @@ function requireJiti() {
3044
2997
  if (e3.eat(63)) {
3045
2998
  this.regexp_eatGroupName(e3) || e3.raise("Invalid group");
3046
2999
  var t3 = this.options.ecmaVersion >= 16, i2 = e3.groupNames[e3.lastStringValue];
3047
- if (i2) if (t3) for (var s3 = 0, r3 = i2; s3 < r3.length; s3 += 1) {
3048
- r3[s3].separatedFrom(e3.branchID) || e3.raise("Duplicate capture group name");
3000
+ if (i2) if (t3) for (var s2 = 0, r3 = i2; s2 < r3.length; s2 += 1) {
3001
+ r3[s2].separatedFrom(e3.branchID) || e3.raise("Duplicate capture group name");
3049
3002
  }
3050
3003
  else e3.raise("Duplicate capture group name");
3051
3004
  t3 ? (i2 || (e3.groupNames[e3.lastStringValue] = [])).push(e3.branchID) : e3.groupNames[e3.lastStringValue] = true;
@@ -3063,15 +3016,15 @@ function requireJiti() {
3063
3016
  }
3064
3017
  return false;
3065
3018
  }, he2.regexp_eatRegExpIdentifierStart = function(e3) {
3066
- var t3 = e3.pos, i2 = this.options.ecmaVersion >= 11, s3 = e3.current(i2);
3067
- return e3.advance(i2), 92 === s3 && this.regexp_eatRegExpUnicodeEscapeSequence(e3, i2) && (s3 = e3.lastIntValue), (function(e4) {
3019
+ var t3 = e3.pos, i2 = this.options.ecmaVersion >= 11, s2 = e3.current(i2);
3020
+ return e3.advance(i2), 92 === s2 && this.regexp_eatRegExpUnicodeEscapeSequence(e3, i2) && (s2 = e3.lastIntValue), (function(e4) {
3068
3021
  return isIdentifierStart(e4, true) || 36 === e4 || 95 === e4;
3069
- })(s3) ? (e3.lastIntValue = s3, true) : (e3.pos = t3, false);
3022
+ })(s2) ? (e3.lastIntValue = s2, true) : (e3.pos = t3, false);
3070
3023
  }, he2.regexp_eatRegExpIdentifierPart = function(e3) {
3071
- var t3 = e3.pos, i2 = this.options.ecmaVersion >= 11, s3 = e3.current(i2);
3072
- return e3.advance(i2), 92 === s3 && this.regexp_eatRegExpUnicodeEscapeSequence(e3, i2) && (s3 = e3.lastIntValue), (function(e4) {
3024
+ var t3 = e3.pos, i2 = this.options.ecmaVersion >= 11, s2 = e3.current(i2);
3025
+ return e3.advance(i2), 92 === s2 && this.regexp_eatRegExpUnicodeEscapeSequence(e3, i2) && (s2 = e3.lastIntValue), (function(e4) {
3073
3026
  return isIdentifierChar(e4, true) || 36 === e4 || 95 === e4 || 8204 === e4 || 8205 === e4;
3074
- })(s3) ? (e3.lastIntValue = s3, true) : (e3.pos = t3, false);
3027
+ })(s2) ? (e3.lastIntValue = s2, true) : (e3.pos = t3, false);
3075
3028
  }, he2.regexp_eatAtomEscape = function(e3) {
3076
3029
  return !!(this.regexp_eatBackReference(e3) || this.regexp_eatCharacterClassEscape(e3) || this.regexp_eatCharacterEscape(e3) || e3.switchN && this.regexp_eatKGroupName(e3)) || (e3.switchU && (99 === e3.current() && e3.raise("Invalid unicode escape"), e3.raise("Invalid escape")), false);
3077
3030
  }, he2.regexp_eatBackReference = function(e3) {
@@ -3108,22 +3061,22 @@ function requireJiti() {
3108
3061
  return !!isControlLetter(t3) && (e3.lastIntValue = t3 % 32, e3.advance(), true);
3109
3062
  }, he2.regexp_eatRegExpUnicodeEscapeSequence = function(e3, t3) {
3110
3063
  void 0 === t3 && (t3 = false);
3111
- var i2, s3 = e3.pos, r3 = t3 || e3.switchU;
3064
+ var i2, s2 = e3.pos, r3 = t3 || e3.switchU;
3112
3065
  if (e3.eat(117)) {
3113
3066
  if (this.regexp_eatFixedHexDigits(e3, 4)) {
3114
3067
  var n2 = e3.lastIntValue;
3115
3068
  if (r3 && n2 >= 55296 && n2 <= 56319) {
3116
- var a3 = e3.pos;
3069
+ var a2 = e3.pos;
3117
3070
  if (e3.eat(92) && e3.eat(117) && this.regexp_eatFixedHexDigits(e3, 4)) {
3118
- var o3 = e3.lastIntValue;
3119
- if (o3 >= 56320 && o3 <= 57343) return e3.lastIntValue = 1024 * (n2 - 55296) + (o3 - 56320) + 65536, true;
3071
+ var o2 = e3.lastIntValue;
3072
+ if (o2 >= 56320 && o2 <= 57343) return e3.lastIntValue = 1024 * (n2 - 55296) + (o2 - 56320) + 65536, true;
3120
3073
  }
3121
- e3.pos = a3, e3.lastIntValue = n2;
3074
+ e3.pos = a2, e3.lastIntValue = n2;
3122
3075
  }
3123
3076
  return true;
3124
3077
  }
3125
3078
  if (r3 && e3.eat(123) && this.regexp_eatHexDigits(e3) && e3.eat(125) && ((i2 = e3.lastIntValue) >= 0 && i2 <= 1114111)) return true;
3126
- r3 && e3.raise("Invalid unicode escape"), e3.pos = s3;
3079
+ r3 && e3.raise("Invalid unicode escape"), e3.pos = s2;
3127
3080
  }
3128
3081
  return false;
3129
3082
  }, he2.regexp_eatIdentityEscape = function(e3) {
@@ -3166,8 +3119,8 @@ function requireJiti() {
3166
3119
  })(t3)) return e3.lastIntValue = -1, e3.advance(), 1;
3167
3120
  var i2 = false;
3168
3121
  if (e3.switchU && this.options.ecmaVersion >= 9 && ((i2 = 80 === t3) || 112 === t3)) {
3169
- var s3;
3170
- if (e3.lastIntValue = -1, e3.advance(), e3.eat(123) && (s3 = this.regexp_eatUnicodePropertyValueExpression(e3)) && e3.eat(125)) return i2 && 2 === s3 && e3.raise("Invalid property name"), s3;
3122
+ var s2;
3123
+ if (e3.lastIntValue = -1, e3.advance(), e3.eat(123) && (s2 = this.regexp_eatUnicodePropertyValueExpression(e3)) && e3.eat(125)) return i2 && 2 === s2 && e3.raise("Invalid property name"), s2;
3171
3124
  e3.raise("Invalid property name");
3172
3125
  }
3173
3126
  return 0;
@@ -3176,8 +3129,8 @@ function requireJiti() {
3176
3129
  if (this.regexp_eatUnicodePropertyName(e3) && e3.eat(61)) {
3177
3130
  var i2 = e3.lastStringValue;
3178
3131
  if (this.regexp_eatUnicodePropertyValue(e3)) {
3179
- var s3 = e3.lastStringValue;
3180
- return this.regexp_validateUnicodePropertyNameAndValue(e3, i2, s3), 1;
3132
+ var s2 = e3.lastStringValue;
3133
+ return this.regexp_validateUnicodePropertyNameAndValue(e3, i2, s2), 1;
3181
3134
  }
3182
3135
  }
3183
3136
  if (e3.pos = t3, this.regexp_eatLoneUnicodePropertyNameOrValue(e3)) {
@@ -3225,8 +3178,8 @@ function requireJiti() {
3225
3178
  }
3226
3179
  e3.pos = t3;
3227
3180
  }
3228
- var s3 = e3.current();
3229
- return 93 !== s3 && (e3.lastIntValue = s3, e3.advance(), true);
3181
+ var s2 = e3.current();
3182
+ return 93 !== s2 && (e3.lastIntValue = s2, e3.advance(), true);
3230
3183
  }, he2.regexp_eatClassEscape = function(e3) {
3231
3184
  var t3 = e3.pos;
3232
3185
  if (e3.eat(98)) return e3.lastIntValue = 8, true;
@@ -3241,10 +3194,10 @@ function requireJiti() {
3241
3194
  if (this.regexp_eatClassSetRange(e3)) ;
3242
3195
  else if (t3 = this.regexp_eatClassSetOperand(e3)) {
3243
3196
  2 === t3 && (i2 = 2);
3244
- for (var s3 = e3.pos; e3.eatChars([38, 38]); ) 38 !== e3.current() && (t3 = this.regexp_eatClassSetOperand(e3)) ? 2 !== t3 && (i2 = 1) : e3.raise("Invalid character in character class");
3245
- if (s3 !== e3.pos) return i2;
3197
+ for (var s2 = e3.pos; e3.eatChars([38, 38]); ) 38 !== e3.current() && (t3 = this.regexp_eatClassSetOperand(e3)) ? 2 !== t3 && (i2 = 1) : e3.raise("Invalid character in character class");
3198
+ if (s2 !== e3.pos) return i2;
3246
3199
  for (; e3.eatChars([45, 45]); ) this.regexp_eatClassSetOperand(e3) || e3.raise("Invalid character in character class");
3247
- if (s3 !== e3.pos) return i2;
3200
+ if (s2 !== e3.pos) return i2;
3248
3201
  } else e3.raise("Invalid character in character class");
3249
3202
  for (; ; ) if (!this.regexp_eatClassSetRange(e3)) {
3250
3203
  if (!(t3 = this.regexp_eatClassSetOperand(e3))) return i2;
@@ -3255,8 +3208,8 @@ function requireJiti() {
3255
3208
  if (this.regexp_eatClassSetCharacter(e3)) {
3256
3209
  var i2 = e3.lastIntValue;
3257
3210
  if (e3.eat(45) && this.regexp_eatClassSetCharacter(e3)) {
3258
- var s3 = e3.lastIntValue;
3259
- return -1 !== i2 && -1 !== s3 && i2 > s3 && e3.raise("Range out of order in character class"), true;
3211
+ var s2 = e3.lastIntValue;
3212
+ return -1 !== i2 && -1 !== s2 && i2 > s2 && e3.raise("Range out of order in character class"), true;
3260
3213
  }
3261
3214
  e3.pos = t3;
3262
3215
  }
@@ -3266,8 +3219,8 @@ function requireJiti() {
3266
3219
  }, he2.regexp_eatNestedClass = function(e3) {
3267
3220
  var t3 = e3.pos;
3268
3221
  if (e3.eat(91)) {
3269
- var i2 = e3.eat(94), s3 = this.regexp_classContents(e3);
3270
- if (e3.eat(93)) return i2 && 2 === s3 && e3.raise("Negated character class may contain strings"), s3;
3222
+ var i2 = e3.eat(94), s2 = this.regexp_classContents(e3);
3223
+ if (e3.eat(93)) return i2 && 2 === s2 && e3.raise("Negated character class may contain strings"), s2;
3271
3224
  e3.pos = t3;
3272
3225
  }
3273
3226
  if (e3.eat(92)) {
@@ -3340,7 +3293,7 @@ function requireJiti() {
3340
3293
  }, he2.regexp_eatFixedHexDigits = function(e3, t3) {
3341
3294
  var i2 = e3.pos;
3342
3295
  e3.lastIntValue = 0;
3343
- for (var s3 = 0; s3 < t3; ++s3) {
3296
+ for (var s2 = 0; s2 < t3; ++s2) {
3344
3297
  var r3 = e3.current();
3345
3298
  if (!isHexDigit(r3)) return e3.pos = i2, false;
3346
3299
  e3.lastIntValue = 16 * e3.lastIntValue + hexToInt(r3), e3.advance();
@@ -3361,11 +3314,11 @@ function requireJiti() {
3361
3314
  var e3 = this;
3362
3315
  return { next: function() {
3363
3316
  var t3 = e3.getToken();
3364
- return { done: t3.type === f2.eof, value: t3 };
3317
+ return { done: t3.type === f.eof, value: t3 };
3365
3318
  } };
3366
3319
  }), ce2.nextToken = function() {
3367
3320
  var e3 = this.curContext();
3368
- return e3 && e3.preserveSpace || this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length ? this.finishToken(f2.eof) : e3.override ? e3.override(this) : void this.readToken(this.fullCharCodeAtPos());
3321
+ return e3 && e3.preserveSpace || this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length ? this.finishToken(f.eof) : e3.override ? e3.override(this) : void this.readToken(this.fullCharCodeAtPos());
3369
3322
  }, ce2.readToken = function(e3) {
3370
3323
  return isIdentifierStart(e3, this.options.ecmaVersion >= 6) || 92 === e3 ? this.readWord() : this.getTokenFromCode(e3);
3371
3324
  }, ce2.fullCharCodeAtPos = function() {
@@ -3375,10 +3328,10 @@ function requireJiti() {
3375
3328
  return t3 <= 56319 || t3 >= 57344 ? e3 : (e3 << 10) + t3 - 56613888;
3376
3329
  }, ce2.skipBlockComment = function() {
3377
3330
  var e3 = this.options.onComment && this.curPosition(), t3 = this.pos, i2 = this.input.indexOf("*/", this.pos += 2);
3378
- if (-1 === i2 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = i2 + 2, this.options.locations) for (var s3 = void 0, r3 = t3; (s3 = nextLineBreak(this.input, r3, this.pos)) > -1; ) ++this.curLine, r3 = this.lineStart = s3;
3331
+ if (-1 === i2 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = i2 + 2, this.options.locations) for (var s2 = void 0, r3 = t3; (s2 = nextLineBreak(this.input, r3, this.pos)) > -1; ) ++this.curLine, r3 = this.lineStart = s2;
3379
3332
  this.options.onComment && this.options.onComment(true, this.input.slice(t3 + 2, i2), t3, this.pos, e3, this.curPosition());
3380
3333
  }, ce2.skipLineComment = function(e3) {
3381
- for (var t3 = this.pos, i2 = this.options.onComment && this.curPosition(), s3 = this.input.charCodeAt(this.pos += e3); this.pos < this.input.length && !isNewLine(s3); ) s3 = this.input.charCodeAt(++this.pos);
3334
+ for (var t3 = this.pos, i2 = this.options.onComment && this.curPosition(), s2 = this.input.charCodeAt(this.pos += e3); this.pos < this.input.length && !isNewLine(s2); ) s2 = this.input.charCodeAt(++this.pos);
3382
3335
  this.options.onComment && this.options.onComment(false, this.input.slice(t3 + e3, this.pos), t3, this.pos, i2, this.curPosition());
3383
3336
  }, ce2.skipSpace = function() {
3384
3337
  e: for (; this.pos < this.input.length; ) {
@@ -3420,78 +3373,78 @@ function requireJiti() {
3420
3373
  var e3 = this.input.charCodeAt(this.pos + 1);
3421
3374
  if (e3 >= 48 && e3 <= 57) return this.readNumber(true);
3422
3375
  var t3 = this.input.charCodeAt(this.pos + 2);
3423
- return this.options.ecmaVersion >= 6 && 46 === e3 && 46 === t3 ? (this.pos += 3, this.finishToken(f2.ellipsis)) : (++this.pos, this.finishToken(f2.dot));
3376
+ return this.options.ecmaVersion >= 6 && 46 === e3 && 46 === t3 ? (this.pos += 3, this.finishToken(f.ellipsis)) : (++this.pos, this.finishToken(f.dot));
3424
3377
  }, ce2.readToken_slash = function() {
3425
3378
  var e3 = this.input.charCodeAt(this.pos + 1);
3426
- return this.exprAllowed ? (++this.pos, this.readRegexp()) : 61 === e3 ? this.finishOp(f2.assign, 2) : this.finishOp(f2.slash, 1);
3379
+ return this.exprAllowed ? (++this.pos, this.readRegexp()) : 61 === e3 ? this.finishOp(f.assign, 2) : this.finishOp(f.slash, 1);
3427
3380
  }, ce2.readToken_mult_modulo_exp = function(e3) {
3428
- var t3 = this.input.charCodeAt(this.pos + 1), i2 = 1, s3 = 42 === e3 ? f2.star : f2.modulo;
3429
- return this.options.ecmaVersion >= 7 && 42 === e3 && 42 === t3 && (++i2, s3 = f2.starstar, t3 = this.input.charCodeAt(this.pos + 2)), 61 === t3 ? this.finishOp(f2.assign, i2 + 1) : this.finishOp(s3, i2);
3381
+ var t3 = this.input.charCodeAt(this.pos + 1), i2 = 1, s2 = 42 === e3 ? f.star : f.modulo;
3382
+ return this.options.ecmaVersion >= 7 && 42 === e3 && 42 === t3 && (++i2, s2 = f.starstar, t3 = this.input.charCodeAt(this.pos + 2)), 61 === t3 ? this.finishOp(f.assign, i2 + 1) : this.finishOp(s2, i2);
3430
3383
  }, ce2.readToken_pipe_amp = function(e3) {
3431
3384
  var t3 = this.input.charCodeAt(this.pos + 1);
3432
3385
  if (t3 === e3) {
3433
3386
  if (this.options.ecmaVersion >= 12) {
3434
- if (61 === this.input.charCodeAt(this.pos + 2)) return this.finishOp(f2.assign, 3);
3387
+ if (61 === this.input.charCodeAt(this.pos + 2)) return this.finishOp(f.assign, 3);
3435
3388
  }
3436
- return this.finishOp(124 === e3 ? f2.logicalOR : f2.logicalAND, 2);
3389
+ return this.finishOp(124 === e3 ? f.logicalOR : f.logicalAND, 2);
3437
3390
  }
3438
- return 61 === t3 ? this.finishOp(f2.assign, 2) : this.finishOp(124 === e3 ? f2.bitwiseOR : f2.bitwiseAND, 1);
3391
+ return 61 === t3 ? this.finishOp(f.assign, 2) : this.finishOp(124 === e3 ? f.bitwiseOR : f.bitwiseAND, 1);
3439
3392
  }, ce2.readToken_caret = function() {
3440
- return 61 === this.input.charCodeAt(this.pos + 1) ? this.finishOp(f2.assign, 2) : this.finishOp(f2.bitwiseXOR, 1);
3393
+ return 61 === this.input.charCodeAt(this.pos + 1) ? this.finishOp(f.assign, 2) : this.finishOp(f.bitwiseXOR, 1);
3441
3394
  }, ce2.readToken_plus_min = function(e3) {
3442
3395
  var t3 = this.input.charCodeAt(this.pos + 1);
3443
- return t3 === e3 ? 45 !== t3 || this.inModule || 62 !== this.input.charCodeAt(this.pos + 2) || 0 !== this.lastTokEnd && !m2.test(this.input.slice(this.lastTokEnd, this.pos)) ? this.finishOp(f2.incDec, 2) : (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : 61 === t3 ? this.finishOp(f2.assign, 2) : this.finishOp(f2.plusMin, 1);
3396
+ return t3 === e3 ? 45 !== t3 || this.inModule || 62 !== this.input.charCodeAt(this.pos + 2) || 0 !== this.lastTokEnd && !m2.test(this.input.slice(this.lastTokEnd, this.pos)) ? this.finishOp(f.incDec, 2) : (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : 61 === t3 ? this.finishOp(f.assign, 2) : this.finishOp(f.plusMin, 1);
3444
3397
  }, ce2.readToken_lt_gt = function(e3) {
3445
3398
  var t3 = this.input.charCodeAt(this.pos + 1), i2 = 1;
3446
- return t3 === e3 ? (i2 = 62 === e3 && 62 === this.input.charCodeAt(this.pos + 2) ? 3 : 2, 61 === this.input.charCodeAt(this.pos + i2) ? this.finishOp(f2.assign, i2 + 1) : this.finishOp(f2.bitShift, i2)) : 33 !== t3 || 60 !== e3 || this.inModule || 45 !== this.input.charCodeAt(this.pos + 2) || 45 !== this.input.charCodeAt(this.pos + 3) ? (61 === t3 && (i2 = 2), this.finishOp(f2.relational, i2)) : (this.skipLineComment(4), this.skipSpace(), this.nextToken());
3399
+ return t3 === e3 ? (i2 = 62 === e3 && 62 === this.input.charCodeAt(this.pos + 2) ? 3 : 2, 61 === this.input.charCodeAt(this.pos + i2) ? this.finishOp(f.assign, i2 + 1) : this.finishOp(f.bitShift, i2)) : 33 !== t3 || 60 !== e3 || this.inModule || 45 !== this.input.charCodeAt(this.pos + 2) || 45 !== this.input.charCodeAt(this.pos + 3) ? (61 === t3 && (i2 = 2), this.finishOp(f.relational, i2)) : (this.skipLineComment(4), this.skipSpace(), this.nextToken());
3447
3400
  }, ce2.readToken_eq_excl = function(e3) {
3448
3401
  var t3 = this.input.charCodeAt(this.pos + 1);
3449
- return 61 === t3 ? this.finishOp(f2.equality, 61 === this.input.charCodeAt(this.pos + 2) ? 3 : 2) : 61 === e3 && 62 === t3 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(f2.arrow)) : this.finishOp(61 === e3 ? f2.eq : f2.prefix, 1);
3402
+ return 61 === t3 ? this.finishOp(f.equality, 61 === this.input.charCodeAt(this.pos + 2) ? 3 : 2) : 61 === e3 && 62 === t3 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(f.arrow)) : this.finishOp(61 === e3 ? f.eq : f.prefix, 1);
3450
3403
  }, ce2.readToken_question = function() {
3451
3404
  var e3 = this.options.ecmaVersion;
3452
3405
  if (e3 >= 11) {
3453
3406
  var t3 = this.input.charCodeAt(this.pos + 1);
3454
3407
  if (46 === t3) {
3455
3408
  var i2 = this.input.charCodeAt(this.pos + 2);
3456
- if (i2 < 48 || i2 > 57) return this.finishOp(f2.questionDot, 2);
3409
+ if (i2 < 48 || i2 > 57) return this.finishOp(f.questionDot, 2);
3457
3410
  }
3458
3411
  if (63 === t3) {
3459
3412
  if (e3 >= 12) {
3460
- if (61 === this.input.charCodeAt(this.pos + 2)) return this.finishOp(f2.assign, 3);
3413
+ if (61 === this.input.charCodeAt(this.pos + 2)) return this.finishOp(f.assign, 3);
3461
3414
  }
3462
- return this.finishOp(f2.coalesce, 2);
3415
+ return this.finishOp(f.coalesce, 2);
3463
3416
  }
3464
3417
  }
3465
- return this.finishOp(f2.question, 1);
3418
+ return this.finishOp(f.question, 1);
3466
3419
  }, ce2.readToken_numberSign = function() {
3467
3420
  var e3 = 35;
3468
- if (this.options.ecmaVersion >= 13 && (++this.pos, isIdentifierStart(e3 = this.fullCharCodeAtPos(), true) || 92 === e3)) return this.finishToken(f2.privateId, this.readWord1());
3421
+ if (this.options.ecmaVersion >= 13 && (++this.pos, isIdentifierStart(e3 = this.fullCharCodeAtPos(), true) || 92 === e3)) return this.finishToken(f.privateId, this.readWord1());
3469
3422
  this.raise(this.pos, "Unexpected character '" + codePointToString(e3) + "'");
3470
3423
  }, ce2.getTokenFromCode = function(e3) {
3471
3424
  switch (e3) {
3472
3425
  case 46:
3473
3426
  return this.readToken_dot();
3474
3427
  case 40:
3475
- return ++this.pos, this.finishToken(f2.parenL);
3428
+ return ++this.pos, this.finishToken(f.parenL);
3476
3429
  case 41:
3477
- return ++this.pos, this.finishToken(f2.parenR);
3430
+ return ++this.pos, this.finishToken(f.parenR);
3478
3431
  case 59:
3479
- return ++this.pos, this.finishToken(f2.semi);
3432
+ return ++this.pos, this.finishToken(f.semi);
3480
3433
  case 44:
3481
- return ++this.pos, this.finishToken(f2.comma);
3434
+ return ++this.pos, this.finishToken(f.comma);
3482
3435
  case 91:
3483
- return ++this.pos, this.finishToken(f2.bracketL);
3436
+ return ++this.pos, this.finishToken(f.bracketL);
3484
3437
  case 93:
3485
- return ++this.pos, this.finishToken(f2.bracketR);
3438
+ return ++this.pos, this.finishToken(f.bracketR);
3486
3439
  case 123:
3487
- return ++this.pos, this.finishToken(f2.braceL);
3440
+ return ++this.pos, this.finishToken(f.braceL);
3488
3441
  case 125:
3489
- return ++this.pos, this.finishToken(f2.braceR);
3442
+ return ++this.pos, this.finishToken(f.braceR);
3490
3443
  case 58:
3491
- return ++this.pos, this.finishToken(f2.colon);
3444
+ return ++this.pos, this.finishToken(f.colon);
3492
3445
  case 96:
3493
3446
  if (this.options.ecmaVersion < 6) break;
3494
- return ++this.pos, this.finishToken(f2.backQuote);
3447
+ return ++this.pos, this.finishToken(f.backQuote);
3495
3448
  case 48:
3496
3449
  var t3 = this.input.charCodeAt(this.pos + 1);
3497
3450
  if (120 === t3 || 88 === t3) return this.readRadixNumber(16);
@@ -3534,7 +3487,7 @@ function requireJiti() {
3534
3487
  case 63:
3535
3488
  return this.readToken_question();
3536
3489
  case 126:
3537
- return this.finishOp(f2.prefix, 1);
3490
+ return this.finishOp(f.prefix, 1);
3538
3491
  case 35:
3539
3492
  return this.readToken_numberSign();
3540
3493
  }
@@ -3545,56 +3498,56 @@ function requireJiti() {
3545
3498
  }, ce2.readRegexp = function() {
3546
3499
  for (var e3, t3, i2 = this.pos; ; ) {
3547
3500
  this.pos >= this.input.length && this.raise(i2, "Unterminated regular expression");
3548
- var s3 = this.input.charAt(this.pos);
3549
- if (m2.test(s3) && this.raise(i2, "Unterminated regular expression"), e3) e3 = false;
3501
+ var s2 = this.input.charAt(this.pos);
3502
+ if (m2.test(s2) && this.raise(i2, "Unterminated regular expression"), e3) e3 = false;
3550
3503
  else {
3551
- if ("[" === s3) t3 = true;
3552
- else if ("]" === s3 && t3) t3 = false;
3553
- else if ("/" === s3 && !t3) break;
3554
- e3 = "\\" === s3;
3504
+ if ("[" === s2) t3 = true;
3505
+ else if ("]" === s2 && t3) t3 = false;
3506
+ else if ("/" === s2 && !t3) break;
3507
+ e3 = "\\" === s2;
3555
3508
  }
3556
3509
  ++this.pos;
3557
3510
  }
3558
3511
  var r3 = this.input.slice(i2, this.pos);
3559
3512
  ++this.pos;
3560
- var n2 = this.pos, a3 = this.readWord1();
3513
+ var n2 = this.pos, a2 = this.readWord1();
3561
3514
  this.containsEsc && this.unexpected(n2);
3562
- var o3 = this.regexpState || (this.regexpState = new acorn_RegExpValidationState(this));
3563
- o3.reset(i2, r3, a3), this.validateRegExpFlags(o3), this.validateRegExpPattern(o3);
3515
+ var o2 = this.regexpState || (this.regexpState = new acorn_RegExpValidationState(this));
3516
+ o2.reset(i2, r3, a2), this.validateRegExpFlags(o2), this.validateRegExpPattern(o2);
3564
3517
  var h3 = null;
3565
3518
  try {
3566
- h3 = new RegExp(r3, a3);
3519
+ h3 = new RegExp(r3, a2);
3567
3520
  } catch (e4) {
3568
3521
  }
3569
- return this.finishToken(f2.regexp, { pattern: r3, flags: a3, value: h3 });
3522
+ return this.finishToken(f.regexp, { pattern: r3, flags: a2, value: h3 });
3570
3523
  }, ce2.readInt = function(e3, t3, i2) {
3571
- for (var s3 = this.options.ecmaVersion >= 12 && void 0 === t3, r3 = i2 && 48 === this.input.charCodeAt(this.pos), n2 = this.pos, a3 = 0, o3 = 0, h3 = 0, c3 = null == t3 ? 1 / 0 : t3; h3 < c3; ++h3, ++this.pos) {
3524
+ for (var s2 = this.options.ecmaVersion >= 12 && void 0 === t3, r3 = i2 && 48 === this.input.charCodeAt(this.pos), n2 = this.pos, a2 = 0, o2 = 0, h3 = 0, c2 = null == t3 ? 1 / 0 : t3; h3 < c2; ++h3, ++this.pos) {
3572
3525
  var p3 = this.input.charCodeAt(this.pos), l2 = void 0;
3573
- if (s3 && 95 === p3) r3 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), 95 === o3 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), 0 === h3 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), o3 = p3;
3526
+ if (s2 && 95 === p3) r3 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), 95 === o2 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), 0 === h3 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), o2 = p3;
3574
3527
  else {
3575
3528
  if ((l2 = p3 >= 97 ? p3 - 97 + 10 : p3 >= 65 ? p3 - 65 + 10 : p3 >= 48 && p3 <= 57 ? p3 - 48 : 1 / 0) >= e3) break;
3576
- o3 = p3, a3 = a3 * e3 + l2;
3529
+ o2 = p3, a2 = a2 * e3 + l2;
3577
3530
  }
3578
3531
  }
3579
- return s3 && 95 === o3 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === n2 || null != t3 && this.pos - n2 !== t3 ? null : a3;
3532
+ return s2 && 95 === o2 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === n2 || null != t3 && this.pos - n2 !== t3 ? null : a2;
3580
3533
  }, ce2.readRadixNumber = function(e3) {
3581
3534
  var t3 = this.pos;
3582
3535
  this.pos += 2;
3583
3536
  var i2 = this.readInt(e3);
3584
- return null == i2 && this.raise(this.start + 2, "Expected number in radix " + e3), this.options.ecmaVersion >= 11 && 110 === this.input.charCodeAt(this.pos) ? (i2 = stringToBigInt(this.input.slice(t3, this.pos)), ++this.pos) : isIdentifierStart(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(f2.num, i2);
3537
+ return null == i2 && this.raise(this.start + 2, "Expected number in radix " + e3), this.options.ecmaVersion >= 11 && 110 === this.input.charCodeAt(this.pos) ? (i2 = stringToBigInt(this.input.slice(t3, this.pos)), ++this.pos) : isIdentifierStart(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(f.num, i2);
3585
3538
  }, ce2.readNumber = function(e3) {
3586
3539
  var t3 = this.pos;
3587
3540
  e3 || null !== this.readInt(10, void 0, true) || this.raise(t3, "Invalid number");
3588
3541
  var i2 = this.pos - t3 >= 2 && 48 === this.input.charCodeAt(t3);
3589
3542
  i2 && this.strict && this.raise(t3, "Invalid number");
3590
- var s3 = this.input.charCodeAt(this.pos);
3591
- if (!i2 && !e3 && this.options.ecmaVersion >= 11 && 110 === s3) {
3543
+ var s2 = this.input.charCodeAt(this.pos);
3544
+ if (!i2 && !e3 && this.options.ecmaVersion >= 11 && 110 === s2) {
3592
3545
  var r3 = stringToBigInt(this.input.slice(t3, this.pos));
3593
- return ++this.pos, isIdentifierStart(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(f2.num, r3);
3546
+ return ++this.pos, isIdentifierStart(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(f.num, r3);
3594
3547
  }
3595
- i2 && /[89]/.test(this.input.slice(t3, this.pos)) && (i2 = false), 46 !== s3 || i2 || (++this.pos, this.readInt(10), s3 = this.input.charCodeAt(this.pos)), 69 !== s3 && 101 !== s3 || i2 || (43 !== (s3 = this.input.charCodeAt(++this.pos)) && 45 !== s3 || ++this.pos, null === this.readInt(10) && this.raise(t3, "Invalid number")), isIdentifierStart(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
3596
- var n2, a3 = (n2 = this.input.slice(t3, this.pos), i2 ? parseInt(n2, 8) : parseFloat(n2.replace(/_/g, "")));
3597
- return this.finishToken(f2.num, a3);
3548
+ i2 && /[89]/.test(this.input.slice(t3, this.pos)) && (i2 = false), 46 !== s2 || i2 || (++this.pos, this.readInt(10), s2 = this.input.charCodeAt(this.pos)), 69 !== s2 && 101 !== s2 || i2 || (43 !== (s2 = this.input.charCodeAt(++this.pos)) && 45 !== s2 || ++this.pos, null === this.readInt(10) && this.raise(t3, "Invalid number")), isIdentifierStart(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
3549
+ var n2, a2 = (n2 = this.input.slice(t3, this.pos), i2 ? parseInt(n2, 8) : parseFloat(n2.replace(/_/g, "")));
3550
+ return this.finishToken(f.num, a2);
3598
3551
  }, ce2.readCodePoint = function() {
3599
3552
  var e3;
3600
3553
  if (123 === this.input.charCodeAt(this.pos)) {
@@ -3606,11 +3559,11 @@ function requireJiti() {
3606
3559
  }, ce2.readString = function(e3) {
3607
3560
  for (var t3 = "", i2 = ++this.pos; ; ) {
3608
3561
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
3609
- var s3 = this.input.charCodeAt(this.pos);
3610
- if (s3 === e3) break;
3611
- 92 === s3 ? (t3 += this.input.slice(i2, this.pos), t3 += this.readEscapedChar(false), i2 = this.pos) : 8232 === s3 || 8233 === s3 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (isNewLine(s3) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
3562
+ var s2 = this.input.charCodeAt(this.pos);
3563
+ if (s2 === e3) break;
3564
+ 92 === s2 ? (t3 += this.input.slice(i2, this.pos), t3 += this.readEscapedChar(false), i2 = this.pos) : 8232 === s2 || 8233 === s2 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (isNewLine(s2) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
3612
3565
  }
3613
- return t3 += this.input.slice(i2, this.pos++), this.finishToken(f2.string, t3);
3566
+ return t3 += this.input.slice(i2, this.pos++), this.finishToken(f.string, t3);
3614
3567
  };
3615
3568
  var pe2 = {};
3616
3569
  ce2.tryReadTemplateToken = function() {
@@ -3629,7 +3582,7 @@ function requireJiti() {
3629
3582
  for (var e3 = "", t3 = this.pos; ; ) {
3630
3583
  this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
3631
3584
  var i2 = this.input.charCodeAt(this.pos);
3632
- if (96 === i2 || 36 === i2 && 123 === this.input.charCodeAt(this.pos + 1)) return this.pos !== this.start || this.type !== f2.template && this.type !== f2.invalidTemplate ? (e3 += this.input.slice(t3, this.pos), this.finishToken(f2.template, e3)) : 36 === i2 ? (this.pos += 2, this.finishToken(f2.dollarBraceL)) : (++this.pos, this.finishToken(f2.backQuote));
3585
+ if (96 === i2 || 36 === i2 && 123 === this.input.charCodeAt(this.pos + 1)) return this.pos !== this.start || this.type !== f.template && this.type !== f.invalidTemplate ? (e3 += this.input.slice(t3, this.pos), this.finishToken(f.template, e3)) : 36 === i2 ? (this.pos += 2, this.finishToken(f.dollarBraceL)) : (++this.pos, this.finishToken(f.backQuote));
3633
3586
  if (92 === i2) e3 += this.input.slice(t3, this.pos), e3 += this.readEscapedChar(true), t3 = this.pos;
3634
3587
  else if (isNewLine(i2)) {
3635
3588
  switch (e3 += this.input.slice(t3, this.pos), ++this.pos, i2) {
@@ -3652,7 +3605,7 @@ function requireJiti() {
3652
3605
  case "$":
3653
3606
  if ("{" !== this.input[this.pos + 1]) break;
3654
3607
  case "`":
3655
- return this.finishToken(f2.invalidTemplate, this.input.slice(this.start, this.pos));
3608
+ return this.finishToken(f.invalidTemplate, this.input.slice(this.start, this.pos));
3656
3609
  case "\r":
3657
3610
  "\n" === this.input[this.pos + 1] && ++this.pos;
3658
3611
  case "\n":
@@ -3692,8 +3645,8 @@ function requireJiti() {
3692
3645
  }
3693
3646
  default:
3694
3647
  if (t3 >= 48 && t3 <= 55) {
3695
- var s3 = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], r3 = parseInt(s3, 8);
3696
- return r3 > 255 && (s3 = s3.slice(0, -1), r3 = parseInt(s3, 8)), this.pos += s3.length - 1, t3 = this.input.charCodeAt(this.pos), "0" === s3 && 56 !== t3 && 57 !== t3 || !this.strict && !e3 || this.invalidStringToken(this.pos - 1 - s3.length, e3 ? "Octal literal in template string" : "Octal literal in strict mode"), String.fromCharCode(r3);
3648
+ var s2 = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], r3 = parseInt(s2, 8);
3649
+ return r3 > 255 && (s2 = s2.slice(0, -1), r3 = parseInt(s2, 8)), this.pos += s2.length - 1, t3 = this.input.charCodeAt(this.pos), "0" === s2 && 56 !== t3 && 57 !== t3 || !this.strict && !e3 || this.invalidStringToken(this.pos - 1 - s2.length, e3 ? "Octal literal in template string" : "Octal literal in strict mode"), String.fromCharCode(r3);
3697
3650
  }
3698
3651
  return isNewLine(t3) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t3);
3699
3652
  }
@@ -3702,25 +3655,25 @@ function requireJiti() {
3702
3655
  return null === i2 && this.invalidStringToken(t3, "Bad character escape sequence"), i2;
3703
3656
  }, ce2.readWord1 = function() {
3704
3657
  this.containsEsc = false;
3705
- for (var e3 = "", t3 = true, i2 = this.pos, s3 = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) {
3658
+ for (var e3 = "", t3 = true, i2 = this.pos, s2 = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) {
3706
3659
  var r3 = this.fullCharCodeAtPos();
3707
- if (isIdentifierChar(r3, s3)) this.pos += r3 <= 65535 ? 1 : 2;
3660
+ if (isIdentifierChar(r3, s2)) this.pos += r3 <= 65535 ? 1 : 2;
3708
3661
  else {
3709
3662
  if (92 !== r3) break;
3710
3663
  this.containsEsc = true, e3 += this.input.slice(i2, this.pos);
3711
3664
  var n2 = this.pos;
3712
3665
  117 !== this.input.charCodeAt(++this.pos) && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
3713
- var a3 = this.readCodePoint();
3714
- (t3 ? isIdentifierStart : isIdentifierChar)(a3, s3) || this.invalidStringToken(n2, "Invalid Unicode escape"), e3 += codePointToString(a3), i2 = this.pos;
3666
+ var a2 = this.readCodePoint();
3667
+ (t3 ? isIdentifierStart : isIdentifierChar)(a2, s2) || this.invalidStringToken(n2, "Invalid Unicode escape"), e3 += codePointToString(a2), i2 = this.pos;
3715
3668
  }
3716
3669
  t3 = false;
3717
3670
  }
3718
3671
  return e3 + this.input.slice(i2, this.pos);
3719
3672
  }, ce2.readWord = function() {
3720
- var e3 = this.readWord1(), t3 = f2.name;
3673
+ var e3 = this.readWord1(), t3 = f.name;
3721
3674
  return this.keywords.test(e3) && (t3 = d[e3]), this.finishToken(t3, e3);
3722
3675
  };
3723
- acorn_Parser.acorn = { Parser: acorn_Parser, version: "8.15.0", defaultOptions: I2, Position: acorn_Position, SourceLocation: acorn_SourceLocation, getLineInfo, Node: acorn_Node, TokenType: acorn_TokenType, tokTypes: f2, keywordTypes: d, TokContext: acorn_TokContext, tokContexts: F2, isIdentifierChar, isIdentifierStart, Token: acorn_Token, isNewLine, lineBreak: m2, lineBreakG: g2, nonASCIIwhitespace: x2 };
3676
+ acorn_Parser.acorn = { Parser: acorn_Parser, version: "8.15.0", defaultOptions: I2, Position: acorn_Position, SourceLocation: acorn_SourceLocation, getLineInfo, Node: acorn_Node, TokenType: acorn_TokenType, tokTypes: f, keywordTypes: d, TokContext: acorn_TokContext, tokContexts: F2, isIdentifierChar, isIdentifierStart, Token: acorn_Token, isNewLine, lineBreak: m2, lineBreakG: g2, nonASCIIwhitespace: x2 };
3724
3677
  const le2 = require$$1, ue2 = fs;
3725
3678
  const fe2 = /^\.?\//;
3726
3679
  function withTrailingSlash(e3 = "", t3) {
@@ -3743,13 +3696,13 @@ function requireJiti() {
3743
3696
  }
3744
3697
  const ge2 = /^[/\\]{2}/, xe = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, ve = /^[A-Za-z]:$/, ye2 = /.(\.[^./]+|\.)$/, pathe_M_eThtNZ_normalize = function(e3) {
3745
3698
  if (0 === e3.length) return ".";
3746
- const t3 = (e3 = pathe_M_eThtNZ_normalizeWindowsPath(e3)).match(ge2), i2 = isAbsolute2(e3), s3 = "/" === e3[e3.length - 1];
3747
- return 0 === (e3 = normalizeString2(e3, !i2)).length ? i2 ? "/" : s3 ? "./" : "." : (s3 && (e3 += "/"), ve.test(e3) && (e3 += "/"), t3 ? i2 ? `//${e3}` : `//./${e3}` : i2 && !isAbsolute2(e3) ? `/${e3}` : e3);
3699
+ const t3 = (e3 = pathe_M_eThtNZ_normalizeWindowsPath(e3)).match(ge2), i2 = isAbsolute2(e3), s2 = "/" === e3[e3.length - 1];
3700
+ return 0 === (e3 = normalizeString2(e3, !i2)).length ? i2 ? "/" : s2 ? "./" : "." : (s2 && (e3 += "/"), ve.test(e3) && (e3 += "/"), t3 ? i2 ? `//${e3}` : `//./${e3}` : i2 && !isAbsolute2(e3) ? `/${e3}` : e3);
3748
3701
  }, pathe_M_eThtNZ_join = function(...e3) {
3749
3702
  let t3 = "";
3750
3703
  for (const i2 of e3) if (i2) if (t3.length > 0) {
3751
- const e4 = "/" === t3[t3.length - 1], s3 = "/" === i2[0];
3752
- t3 += e4 && s3 ? i2.slice(1) : e4 || s3 ? i2 : `/${i2}`;
3704
+ const e4 = "/" === t3[t3.length - 1], s2 = "/" === i2[0];
3705
+ t3 += e4 && s2 ? i2.slice(1) : e4 || s2 ? i2 : `/${i2}`;
3753
3706
  } else t3 += i2;
3754
3707
  return pathe_M_eThtNZ_normalize(t3);
3755
3708
  };
@@ -3758,38 +3711,38 @@ function requireJiti() {
3758
3711
  }
3759
3712
  const pathe_M_eThtNZ_resolve = function(...e3) {
3760
3713
  let t3 = "", i2 = false;
3761
- for (let s3 = (e3 = e3.map((e4) => pathe_M_eThtNZ_normalizeWindowsPath(e4))).length - 1; s3 >= -1 && !i2; s3--) {
3762
- const r3 = s3 >= 0 ? e3[s3] : pathe_M_eThtNZ_cwd();
3714
+ for (let s2 = (e3 = e3.map((e4) => pathe_M_eThtNZ_normalizeWindowsPath(e4))).length - 1; s2 >= -1 && !i2; s2--) {
3715
+ const r3 = s2 >= 0 ? e3[s2] : pathe_M_eThtNZ_cwd();
3763
3716
  r3 && 0 !== r3.length && (t3 = `${r3}/${t3}`, i2 = isAbsolute2(r3));
3764
3717
  }
3765
3718
  return t3 = normalizeString2(t3, !i2), i2 && !isAbsolute2(t3) ? `/${t3}` : t3.length > 0 ? t3 : ".";
3766
3719
  };
3767
3720
  function normalizeString2(e3, t3) {
3768
- let i2 = "", s3 = 0, r3 = -1, n2 = 0, a3 = null;
3769
- for (let o3 = 0; o3 <= e3.length; ++o3) {
3770
- if (o3 < e3.length) a3 = e3[o3];
3721
+ let i2 = "", s2 = 0, r3 = -1, n2 = 0, a2 = null;
3722
+ for (let o2 = 0; o2 <= e3.length; ++o2) {
3723
+ if (o2 < e3.length) a2 = e3[o2];
3771
3724
  else {
3772
- if ("/" === a3) break;
3773
- a3 = "/";
3725
+ if ("/" === a2) break;
3726
+ a2 = "/";
3774
3727
  }
3775
- if ("/" === a3) {
3776
- if (r3 === o3 - 1 || 1 === n2) ;
3728
+ if ("/" === a2) {
3729
+ if (r3 === o2 - 1 || 1 === n2) ;
3777
3730
  else if (2 === n2) {
3778
- if (i2.length < 2 || 2 !== s3 || "." !== i2[i2.length - 1] || "." !== i2[i2.length - 2]) {
3731
+ if (i2.length < 2 || 2 !== s2 || "." !== i2[i2.length - 1] || "." !== i2[i2.length - 2]) {
3779
3732
  if (i2.length > 2) {
3780
3733
  const e4 = i2.lastIndexOf("/");
3781
- -1 === e4 ? (i2 = "", s3 = 0) : (i2 = i2.slice(0, e4), s3 = i2.length - 1 - i2.lastIndexOf("/")), r3 = o3, n2 = 0;
3734
+ -1 === e4 ? (i2 = "", s2 = 0) : (i2 = i2.slice(0, e4), s2 = i2.length - 1 - i2.lastIndexOf("/")), r3 = o2, n2 = 0;
3782
3735
  continue;
3783
3736
  }
3784
3737
  if (i2.length > 0) {
3785
- i2 = "", s3 = 0, r3 = o3, n2 = 0;
3738
+ i2 = "", s2 = 0, r3 = o2, n2 = 0;
3786
3739
  continue;
3787
3740
  }
3788
3741
  }
3789
- t3 && (i2 += i2.length > 0 ? "/.." : "..", s3 = 2);
3790
- } else i2.length > 0 ? i2 += `/${e3.slice(r3 + 1, o3)}` : i2 = e3.slice(r3 + 1, o3), s3 = o3 - r3 - 1;
3791
- r3 = o3, n2 = 0;
3792
- } else "." === a3 && -1 !== n2 ? ++n2 : n2 = -1;
3742
+ t3 && (i2 += i2.length > 0 ? "/.." : "..", s2 = 2);
3743
+ } else i2.length > 0 ? i2 += `/${e3.slice(r3 + 1, o2)}` : i2 = e3.slice(r3 + 1, o2), s2 = o2 - r3 - 1;
3744
+ r3 = o2, n2 = 0;
3745
+ } else "." === a2 && -1 !== n2 ? ++n2 : n2 = -1;
3793
3746
  }
3794
3747
  return i2;
3795
3748
  }
@@ -3804,15 +3757,15 @@ function requireJiti() {
3804
3757
  return 1 === t3.length && ve.test(t3[0]) && (t3[0] += "/"), t3.join("/") || (isAbsolute2(e3) ? "/" : ".");
3805
3758
  }, basename2 = function(e3, t3) {
3806
3759
  const i2 = pathe_M_eThtNZ_normalizeWindowsPath(e3).split("/");
3807
- let s3 = "";
3760
+ let s2 = "";
3808
3761
  for (let e4 = i2.length - 1; e4 >= 0; e4--) {
3809
3762
  const t4 = i2[e4];
3810
3763
  if (t4) {
3811
- s3 = t4;
3764
+ s2 = t4;
3812
3765
  break;
3813
3766
  }
3814
3767
  }
3815
- return s3;
3768
+ return s2;
3816
3769
  }, _e = require$$9$1, Ee = assert, be2 = process$1, Se2 = path, ke = v8, we = require$$6, Ie = new Set(le2.builtinModules);
3817
3770
  function normalizeSlash(e3) {
3818
3771
  return e3.replace(/\\/g, "/");
@@ -3827,17 +3780,17 @@ function requireJiti() {
3827
3780
  return Ae2.set(e3, t3), /* @__PURE__ */ (function(e4, t4) {
3828
3781
  return NodeError;
3829
3782
  function NodeError(...i3) {
3830
- const s3 = Error.stackTraceLimit;
3783
+ const s2 = Error.stackTraceLimit;
3831
3784
  isErrorStackTraceLimitWritable2() && (Error.stackTraceLimit = 0);
3832
3785
  const r3 = new e4();
3833
- isErrorStackTraceLimitWritable2() && (Error.stackTraceLimit = s3);
3786
+ isErrorStackTraceLimitWritable2() && (Error.stackTraceLimit = s2);
3834
3787
  const n2 = (function(e5, t5, i4) {
3835
- const s4 = Ae2.get(e5);
3836
- if (Ee(void 0 !== s4, "expected `message` to be found"), "function" == typeof s4) return Ee(s4.length <= t5.length, `Code: ${e5}; The provided arguments length (${t5.length}) does not match the required ones (${s4.length}).`), Reflect.apply(s4, i4, t5);
3788
+ const s3 = Ae2.get(e5);
3789
+ if (Ee(void 0 !== s3, "expected `message` to be found"), "function" == typeof s3) return Ee(s3.length <= t5.length, `Code: ${e5}; The provided arguments length (${t5.length}) does not match the required ones (${s3.length}).`), Reflect.apply(s3, i4, t5);
3837
3790
  const r4 = /%[dfijoOs]/g;
3838
3791
  let n3 = 0;
3839
- for (; null !== r4.exec(s4); ) n3++;
3840
- return Ee(n3 === t5.length, `Code: ${e5}; The provided arguments length (${t5.length}) does not match the required ones (${n3}).`), 0 === t5.length ? s4 : (t5.unshift(s4), Reflect.apply(we.format, null, t5));
3792
+ for (; null !== r4.exec(s3); ) n3++;
3793
+ return Ee(n3 === t5.length, `Code: ${e5}; The provided arguments length (${t5.length}) does not match the required ones (${n3}).`), 0 === t5.length ? s3 : (t5.unshift(s3), Reflect.apply(we.format, null, t5));
3841
3794
  })(t4, i3, r3);
3842
3795
  return Object.defineProperties(r3, { message: { value: n2, enumerable: false, writable: true, configurable: true }, toString: { value() {
3843
3796
  return `${this.name} [${t4}]: ${this.message}`;
@@ -3855,34 +3808,34 @@ function requireJiti() {
3855
3808
  }
3856
3809
  Te.ERR_INVALID_ARG_TYPE = createError2("ERR_INVALID_ARG_TYPE", (e3, t3, i2) => {
3857
3810
  Ee("string" == typeof e3, "'name' must be a string"), Array.isArray(t3) || (t3 = [t3]);
3858
- let s3 = "The ";
3859
- if (e3.endsWith(" argument")) s3 += `${e3} `;
3811
+ let s2 = "The ";
3812
+ if (e3.endsWith(" argument")) s2 += `${e3} `;
3860
3813
  else {
3861
3814
  const t4 = e3.includes(".") ? "property" : "argument";
3862
- s3 += `"${e3}" ${t4} `;
3815
+ s2 += `"${e3}" ${t4} `;
3863
3816
  }
3864
- s3 += "must be ";
3865
- const r3 = [], n2 = [], a3 = [];
3866
- for (const e4 of t3) Ee("string" == typeof e4, "All expected entries have to be of type string"), Pe.has(e4) ? r3.push(e4.toLowerCase()) : null === Re.exec(e4) ? (Ee("object" !== e4, 'The value "object" should be written as "Object"'), a3.push(e4)) : n2.push(e4);
3817
+ s2 += "must be ";
3818
+ const r3 = [], n2 = [], a2 = [];
3819
+ for (const e4 of t3) Ee("string" == typeof e4, "All expected entries have to be of type string"), Pe.has(e4) ? r3.push(e4.toLowerCase()) : null === Re.exec(e4) ? (Ee("object" !== e4, 'The value "object" should be written as "Object"'), a2.push(e4)) : n2.push(e4);
3867
3820
  if (n2.length > 0) {
3868
3821
  const e4 = r3.indexOf("object");
3869
3822
  -1 !== e4 && (r3.slice(e4, 1), n2.push("Object"));
3870
3823
  }
3871
- return r3.length > 0 && (s3 += `${r3.length > 1 ? "one of type" : "of type"} ${formatList2(r3, "or")}`, (n2.length > 0 || a3.length > 0) && (s3 += " or ")), n2.length > 0 && (s3 += `an instance of ${formatList2(n2, "or")}`, a3.length > 0 && (s3 += " or ")), a3.length > 0 && (a3.length > 1 ? s3 += `one of ${formatList2(a3, "or")}` : (a3[0].toLowerCase() !== a3[0] && (s3 += "an "), s3 += `${a3[0]}`)), s3 += `. Received ${(function(e4) {
3824
+ return r3.length > 0 && (s2 += `${r3.length > 1 ? "one of type" : "of type"} ${formatList2(r3, "or")}`, (n2.length > 0 || a2.length > 0) && (s2 += " or ")), n2.length > 0 && (s2 += `an instance of ${formatList2(n2, "or")}`, a2.length > 0 && (s2 += " or ")), a2.length > 0 && (a2.length > 1 ? s2 += `one of ${formatList2(a2, "or")}` : (a2[0].toLowerCase() !== a2[0] && (s2 += "an "), s2 += `${a2[0]}`)), s2 += `. Received ${(function(e4) {
3872
3825
  if (null == e4) return String(e4);
3873
3826
  if ("function" == typeof e4 && e4.name) return `function ${e4.name}`;
3874
3827
  if ("object" == typeof e4) return e4.constructor && e4.constructor.name ? `an instance of ${e4.constructor.name}` : `${(0, we.inspect)(e4, { depth: -1 })}`;
3875
3828
  let t4 = (0, we.inspect)(e4, { colors: false });
3876
3829
  t4.length > 28 && (t4 = `${t4.slice(0, 25)}...`);
3877
3830
  return `type ${typeof e4} (${t4})`;
3878
- })(i2)}`, s3;
3879
- }, TypeError), Te.ERR_INVALID_MODULE_SPECIFIER = createError2("ERR_INVALID_MODULE_SPECIFIER", (e3, t3, i2 = void 0) => `Invalid module "${e3}" ${t3}${i2 ? ` imported from ${i2}` : ""}`, TypeError), Te.ERR_INVALID_PACKAGE_CONFIG = createError2("ERR_INVALID_PACKAGE_CONFIG", (e3, t3, i2) => `Invalid package config ${e3}${t3 ? ` while importing ${t3}` : ""}${i2 ? `. ${i2}` : ""}`, Error), Te.ERR_INVALID_PACKAGE_TARGET = createError2("ERR_INVALID_PACKAGE_TARGET", (e3, t3, i2, s3 = false, r3 = void 0) => {
3880
- const n2 = "string" == typeof i2 && !s3 && i2.length > 0 && !i2.startsWith("./");
3881
- return "." === t3 ? (Ee(false === s3), `Invalid "exports" main target ${JSON.stringify(i2)} defined in the package config ${e3}package.json${r3 ? ` imported from ${r3}` : ""}${n2 ? '; targets must start with "./"' : ""}`) : `Invalid "${s3 ? "imports" : "exports"}" target ${JSON.stringify(i2)} defined for '${t3}' in the package config ${e3}package.json${r3 ? ` imported from ${r3}` : ""}${n2 ? '; targets must start with "./"' : ""}`;
3831
+ })(i2)}`, s2;
3832
+ }, TypeError), Te.ERR_INVALID_MODULE_SPECIFIER = createError2("ERR_INVALID_MODULE_SPECIFIER", (e3, t3, i2 = void 0) => `Invalid module "${e3}" ${t3}${i2 ? ` imported from ${i2}` : ""}`, TypeError), Te.ERR_INVALID_PACKAGE_CONFIG = createError2("ERR_INVALID_PACKAGE_CONFIG", (e3, t3, i2) => `Invalid package config ${e3}${t3 ? ` while importing ${t3}` : ""}${i2 ? `. ${i2}` : ""}`, Error), Te.ERR_INVALID_PACKAGE_TARGET = createError2("ERR_INVALID_PACKAGE_TARGET", (e3, t3, i2, s2 = false, r3 = void 0) => {
3833
+ const n2 = "string" == typeof i2 && !s2 && i2.length > 0 && !i2.startsWith("./");
3834
+ return "." === t3 ? (Ee(false === s2), `Invalid "exports" main target ${JSON.stringify(i2)} defined in the package config ${e3}package.json${r3 ? ` imported from ${r3}` : ""}${n2 ? '; targets must start with "./"' : ""}`) : `Invalid "${s2 ? "imports" : "exports"}" target ${JSON.stringify(i2)} defined for '${t3}' in the package config ${e3}package.json${r3 ? ` imported from ${r3}` : ""}${n2 ? '; targets must start with "./"' : ""}`;
3882
3835
  }, Error), Te.ERR_MODULE_NOT_FOUND = createError2("ERR_MODULE_NOT_FOUND", (e3, t3, i2 = false) => `Cannot find ${i2 ? "module" : "package"} '${e3}' imported from ${t3}`, Error), Te.ERR_NETWORK_IMPORT_DISALLOWED = createError2("ERR_NETWORK_IMPORT_DISALLOWED", "import of '%s' by %s is not supported: %s", Error), Te.ERR_PACKAGE_IMPORT_NOT_DEFINED = createError2("ERR_PACKAGE_IMPORT_NOT_DEFINED", (e3, t3, i2) => `Package import specifier "${e3}" is not defined${t3 ? ` in package ${t3}package.json` : ""} imported from ${i2}`, TypeError), Te.ERR_PACKAGE_PATH_NOT_EXPORTED = createError2("ERR_PACKAGE_PATH_NOT_EXPORTED", (e3, t3, i2 = void 0) => "." === t3 ? `No "exports" main defined in ${e3}package.json${i2 ? ` imported from ${i2}` : ""}` : `Package subpath '${t3}' is not defined by "exports" in ${e3}package.json${i2 ? ` imported from ${i2}` : ""}`, Error), Te.ERR_UNSUPPORTED_DIR_IMPORT = createError2("ERR_UNSUPPORTED_DIR_IMPORT", "Directory import '%s' is not supported resolving ES modules imported from %s", Error), Te.ERR_UNSUPPORTED_RESOLVE_REQUEST = createError2("ERR_UNSUPPORTED_RESOLVE_REQUEST", 'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.', TypeError), Te.ERR_UNKNOWN_FILE_EXTENSION = createError2("ERR_UNKNOWN_FILE_EXTENSION", (e3, t3) => `Unknown file extension "${e3}" for ${t3}`, TypeError), Te.ERR_INVALID_ARG_VALUE = createError2("ERR_INVALID_ARG_VALUE", (e3, t3, i2 = "is invalid") => {
3883
- let s3 = (0, we.inspect)(t3);
3884
- s3.length > 128 && (s3 = `${s3.slice(0, 128)}...`);
3885
- return `The ${e3.includes(".") ? "property" : "argument"} '${e3}' ${i2}. Received ${s3}`;
3836
+ let s2 = (0, we.inspect)(t3);
3837
+ s2.length > 128 && (s2 = `${s2.slice(0, 128)}...`);
3838
+ return `The ${e3.includes(".") ? "property" : "argument"} '${e3}' ${i2}. Received ${s2}`;
3886
3839
  }, TypeError);
3887
3840
  const Le = (function(e3) {
3888
3841
  const t3 = "__node_internal_" + e3.name;
@@ -3893,8 +3846,8 @@ function requireJiti() {
3893
3846
  });
3894
3847
  const Oe = {}.hasOwnProperty, { ERR_INVALID_PACKAGE_CONFIG: De } = Te, Ve = /* @__PURE__ */ new Map();
3895
3848
  function read2(e3, { base: t3, specifier: i2 }) {
3896
- const s3 = Ve.get(e3);
3897
- if (s3) return s3;
3849
+ const s2 = Ve.get(e3);
3850
+ if (s2) return s2;
3898
3851
  let r3;
3899
3852
  try {
3900
3853
  r3 = ue2.readFileSync(Se2.toNamespacedPath(e3), "utf8");
@@ -3904,14 +3857,14 @@ function requireJiti() {
3904
3857
  }
3905
3858
  const n2 = { exists: false, pjsonPath: e3, main: void 0, name: void 0, type: "none", exports: void 0, imports: void 0 };
3906
3859
  if (void 0 !== r3) {
3907
- let s4;
3860
+ let s3;
3908
3861
  try {
3909
- s4 = JSON.parse(r3);
3910
- } catch (s5) {
3911
- const r4 = s5, n3 = new De(e3, (t3 ? `"${i2}" from ` : "") + (0, _e.fileURLToPath)(t3 || i2), r4.message);
3862
+ s3 = JSON.parse(r3);
3863
+ } catch (s4) {
3864
+ const r4 = s4, n3 = new De(e3, (t3 ? `"${i2}" from ` : "") + (0, _e.fileURLToPath)(t3 || i2), r4.message);
3912
3865
  throw n3.cause = r4, n3;
3913
3866
  }
3914
- n2.exists = true, Oe.call(s4, "name") && "string" == typeof s4.name && (n2.name = s4.name), Oe.call(s4, "main") && "string" == typeof s4.main && (n2.main = s4.main), Oe.call(s4, "exports") && (n2.exports = s4.exports), Oe.call(s4, "imports") && (n2.imports = s4.imports), !Oe.call(s4, "type") || "commonjs" !== s4.type && "module" !== s4.type || (n2.type = s4.type);
3867
+ n2.exists = true, Oe.call(s3, "name") && "string" == typeof s3.name && (n2.name = s3.name), Oe.call(s3, "main") && "string" == typeof s3.main && (n2.main = s3.main), Oe.call(s3, "exports") && (n2.exports = s3.exports), Oe.call(s3, "imports") && (n2.imports = s3.imports), !Oe.call(s3, "type") || "commonjs" !== s3.type && "module" !== s3.type || (n2.type = s3.type);
3915
3868
  }
3916
3869
  return Ve.set(e3, n2), n2;
3917
3870
  }
@@ -3921,8 +3874,8 @@ function requireJiti() {
3921
3874
  if (t3.pathname.endsWith("node_modules/package.json")) break;
3922
3875
  const i2 = read2((0, _e.fileURLToPath)(t3), { specifier: e3 });
3923
3876
  if (i2.exists) return i2;
3924
- const s3 = t3;
3925
- if (t3 = new URL("../package.json", t3), t3.pathname === s3.pathname) break;
3877
+ const s2 = t3;
3878
+ if (t3 = new URL("../package.json", t3), t3.pathname === s2.pathname) break;
3926
3879
  }
3927
3880
  return { pjsonPath: (0, _e.fileURLToPath)(t3), exists: false, type: "none" };
3928
3881
  }
@@ -3936,7 +3889,7 @@ function requireJiti() {
3936
3889
  return e4 && /\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e4) ? "module" : "application/json" === e4 ? "json" : null;
3937
3890
  })(t3);
3938
3891
  }, "file:": function(e3, t3, i2) {
3939
- const s3 = (function(e4) {
3892
+ const s2 = (function(e4) {
3940
3893
  const t4 = e4.pathname;
3941
3894
  let i3 = t4.length;
3942
3895
  for (; i3--; ) {
@@ -3946,38 +3899,38 @@ function requireJiti() {
3946
3899
  }
3947
3900
  return "";
3948
3901
  })(e3);
3949
- if (".js" === s3) {
3902
+ if (".js" === s2) {
3950
3903
  const t4 = getPackageType(e3);
3951
3904
  return "none" !== t4 ? t4 : "commonjs";
3952
3905
  }
3953
- if ("" === s3) {
3906
+ if ("" === s2) {
3954
3907
  const t4 = getPackageType(e3);
3955
3908
  return "none" === t4 || "commonjs" === t4 ? "commonjs" : "module";
3956
3909
  }
3957
- const r3 = je[s3];
3910
+ const r3 = je[s2];
3958
3911
  if (r3) return r3;
3959
3912
  if (i2) return;
3960
3913
  const n2 = (0, _e.fileURLToPath)(e3);
3961
- throw new Ue(s3, n2);
3914
+ throw new Ue(s2, n2);
3962
3915
  }, "http:": getHttpProtocolModuleFormat, "https:": getHttpProtocolModuleFormat, "node:": () => "builtin" };
3963
3916
  function getHttpProtocolModuleFormat() {
3964
3917
  }
3965
3918
  const Be = RegExp.prototype[Symbol.replace], { ERR_INVALID_MODULE_SPECIFIER: $e, ERR_INVALID_PACKAGE_CONFIG: qe, ERR_INVALID_PACKAGE_TARGET: We, ERR_MODULE_NOT_FOUND: Ge, ERR_PACKAGE_IMPORT_NOT_DEFINED: He, ERR_PACKAGE_PATH_NOT_EXPORTED: Ke, ERR_UNSUPPORTED_DIR_IMPORT: ze, ERR_UNSUPPORTED_RESOLVE_REQUEST: Je } = Te, Ye = {}.hasOwnProperty, Qe = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i, Ze = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i, Xe = /^\.|%|\\/, et = /\*/g, tt = /%2f|%5c/i, it = /* @__PURE__ */ new Set(), st = /[/\\]{2}/;
3966
- function emitInvalidSegmentDeprecation2(e3, t3, i2, s3, r3, n2, a3) {
3919
+ function emitInvalidSegmentDeprecation2(e3, t3, i2, s2, r3, n2, a2) {
3967
3920
  if (be2.noDeprecation) return;
3968
- const o3 = (0, _e.fileURLToPath)(s3), h3 = null !== st.exec(a3 ? e3 : t3);
3969
- be2.emitWarning(`Use of deprecated ${h3 ? "double slash" : "leading or trailing slash matching"} resolving "${e3}" for module request "${t3}" ${t3 === i2 ? "" : `matched to "${i2}" `}in the "${r3 ? "imports" : "exports"}" field module resolution of the package at ${o3}${n2 ? ` imported from ${(0, _e.fileURLToPath)(n2)}` : ""}.`, "DeprecationWarning", "DEP0166");
3921
+ const o2 = (0, _e.fileURLToPath)(s2), h3 = null !== st.exec(a2 ? e3 : t3);
3922
+ be2.emitWarning(`Use of deprecated ${h3 ? "double slash" : "leading or trailing slash matching"} resolving "${e3}" for module request "${t3}" ${t3 === i2 ? "" : `matched to "${i2}" `}in the "${r3 ? "imports" : "exports"}" field module resolution of the package at ${o2}${n2 ? ` imported from ${(0, _e.fileURLToPath)(n2)}` : ""}.`, "DeprecationWarning", "DEP0166");
3970
3923
  }
3971
- function emitLegacyIndexDeprecation2(e3, t3, i2, s3) {
3924
+ function emitLegacyIndexDeprecation2(e3, t3, i2, s2) {
3972
3925
  if (be2.noDeprecation) return;
3973
3926
  const r3 = (function(e4, t4) {
3974
3927
  const i3 = e4.protocol;
3975
3928
  return Me.call(Fe, i3) && Fe[i3](e4, t4, true) || null;
3976
3929
  })(e3, { parentURL: i2.href });
3977
3930
  if ("module" !== r3) return;
3978
- const n2 = (0, _e.fileURLToPath)(e3.href), a3 = (0, _e.fileURLToPath)(new _e.URL(".", t3)), o3 = (0, _e.fileURLToPath)(i2);
3979
- s3 ? Se2.resolve(a3, s3) !== n2 && be2.emitWarning(`Package ${a3} has a "main" field set to "${s3}", excluding the full filename and extension to the resolved file at "${n2.slice(a3.length)}", imported from ${o3}.
3980
- Automatic extension resolution of the "main" field is deprecated for ES modules.`, "DeprecationWarning", "DEP0151") : be2.emitWarning(`No "main" or "exports" field defined in the package.json for ${a3} resolving the main entry point "${n2.slice(a3.length)}", imported from ${o3}.
3931
+ const n2 = (0, _e.fileURLToPath)(e3.href), a2 = (0, _e.fileURLToPath)(new _e.URL(".", t3)), o2 = (0, _e.fileURLToPath)(i2);
3932
+ s2 ? Se2.resolve(a2, s2) !== n2 && be2.emitWarning(`Package ${a2} has a "main" field set to "${s2}", excluding the full filename and extension to the resolved file at "${n2.slice(a2.length)}", imported from ${o2}.
3933
+ Automatic extension resolution of the "main" field is deprecated for ES modules.`, "DeprecationWarning", "DEP0151") : be2.emitWarning(`No "main" or "exports" field defined in the package.json for ${a2} resolving the main entry point "${n2.slice(a2.length)}", imported from ${o2}.
3981
3934
  Default "index" lookups for the main are deprecated for ES modules.`, "DeprecationWarning", "DEP0151");
3982
3935
  }
3983
3936
  function tryStatSync2(e3) {
@@ -3991,79 +3944,79 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
3991
3944
  return null != i2 && i2;
3992
3945
  }
3993
3946
  function legacyMainResolve2(e3, t3, i2) {
3994
- let s3;
3947
+ let s2;
3995
3948
  if (void 0 !== t3.main) {
3996
- if (s3 = new _e.URL(t3.main, e3), fileExists2(s3)) return s3;
3949
+ if (s2 = new _e.URL(t3.main, e3), fileExists2(s2)) return s2;
3997
3950
  const r4 = [`./${t3.main}.js`, `./${t3.main}.json`, `./${t3.main}.node`, `./${t3.main}/index.js`, `./${t3.main}/index.json`, `./${t3.main}/index.node`];
3998
3951
  let n3 = -1;
3999
- for (; ++n3 < r4.length && (s3 = new _e.URL(r4[n3], e3), !fileExists2(s3)); ) s3 = void 0;
4000
- if (s3) return emitLegacyIndexDeprecation2(s3, e3, i2, t3.main), s3;
3952
+ for (; ++n3 < r4.length && (s2 = new _e.URL(r4[n3], e3), !fileExists2(s2)); ) s2 = void 0;
3953
+ if (s2) return emitLegacyIndexDeprecation2(s2, e3, i2, t3.main), s2;
4001
3954
  }
4002
3955
  const r3 = ["./index.js", "./index.json", "./index.node"];
4003
3956
  let n2 = -1;
4004
- for (; ++n2 < r3.length && (s3 = new _e.URL(r3[n2], e3), !fileExists2(s3)); ) s3 = void 0;
4005
- if (s3) return emitLegacyIndexDeprecation2(s3, e3, i2, t3.main), s3;
3957
+ for (; ++n2 < r3.length && (s2 = new _e.URL(r3[n2], e3), !fileExists2(s2)); ) s2 = void 0;
3958
+ if (s2) return emitLegacyIndexDeprecation2(s2, e3, i2, t3.main), s2;
4006
3959
  throw new Ge((0, _e.fileURLToPath)(new _e.URL(".", e3)), (0, _e.fileURLToPath)(i2));
4007
3960
  }
4008
3961
  function exportsNotFound2(e3, t3, i2) {
4009
3962
  return new Ke((0, _e.fileURLToPath)(new _e.URL(".", t3)), e3, i2 && (0, _e.fileURLToPath)(i2));
4010
3963
  }
4011
- function invalidPackageTarget2(e3, t3, i2, s3, r3) {
4012
- return t3 = "object" == typeof t3 && null !== t3 ? JSON.stringify(t3, null, "") : `${t3}`, new We((0, _e.fileURLToPath)(new _e.URL(".", i2)), e3, t3, s3, r3 && (0, _e.fileURLToPath)(r3));
3964
+ function invalidPackageTarget2(e3, t3, i2, s2, r3) {
3965
+ return t3 = "object" == typeof t3 && null !== t3 ? JSON.stringify(t3, null, "") : `${t3}`, new We((0, _e.fileURLToPath)(new _e.URL(".", i2)), e3, t3, s2, r3 && (0, _e.fileURLToPath)(r3));
4013
3966
  }
4014
- function resolvePackageTargetString2(e3, t3, i2, s3, r3, n2, a3, o3, h3) {
4015
- if ("" !== t3 && !n2 && "/" !== e3[e3.length - 1]) throw invalidPackageTarget2(i2, e3, s3, a3, r3);
3967
+ function resolvePackageTargetString2(e3, t3, i2, s2, r3, n2, a2, o2, h3) {
3968
+ if ("" !== t3 && !n2 && "/" !== e3[e3.length - 1]) throw invalidPackageTarget2(i2, e3, s2, a2, r3);
4016
3969
  if (!e3.startsWith("./")) {
4017
- if (a3 && !e3.startsWith("../") && !e3.startsWith("/")) {
3970
+ if (a2 && !e3.startsWith("../") && !e3.startsWith("/")) {
4018
3971
  let i3 = false;
4019
3972
  try {
4020
3973
  new _e.URL(e3), i3 = true;
4021
3974
  } catch {
4022
3975
  }
4023
3976
  if (!i3) {
4024
- return packageResolve2(n2 ? Be.call(et, e3, () => t3) : e3 + t3, s3, h3);
3977
+ return packageResolve2(n2 ? Be.call(et, e3, () => t3) : e3 + t3, s2, h3);
4025
3978
  }
4026
3979
  }
4027
- throw invalidPackageTarget2(i2, e3, s3, a3, r3);
3980
+ throw invalidPackageTarget2(i2, e3, s2, a2, r3);
4028
3981
  }
4029
3982
  if (null !== Qe.exec(e3.slice(2))) {
4030
- if (null !== Ze.exec(e3.slice(2))) throw invalidPackageTarget2(i2, e3, s3, a3, r3);
4031
- if (!o3) {
4032
- const o4 = n2 ? i2.replace("*", () => t3) : i2 + t3;
4033
- emitInvalidSegmentDeprecation2(n2 ? Be.call(et, e3, () => t3) : e3, o4, i2, s3, a3, r3, true);
3983
+ if (null !== Ze.exec(e3.slice(2))) throw invalidPackageTarget2(i2, e3, s2, a2, r3);
3984
+ if (!o2) {
3985
+ const o3 = n2 ? i2.replace("*", () => t3) : i2 + t3;
3986
+ emitInvalidSegmentDeprecation2(n2 ? Be.call(et, e3, () => t3) : e3, o3, i2, s2, a2, r3, true);
4034
3987
  }
4035
3988
  }
4036
- const c3 = new _e.URL(e3, s3), p3 = c3.pathname, l2 = new _e.URL(".", s3).pathname;
4037
- if (!p3.startsWith(l2)) throw invalidPackageTarget2(i2, e3, s3, a3, r3);
4038
- if ("" === t3) return c3;
3989
+ const c2 = new _e.URL(e3, s2), p3 = c2.pathname, l2 = new _e.URL(".", s2).pathname;
3990
+ if (!p3.startsWith(l2)) throw invalidPackageTarget2(i2, e3, s2, a2, r3);
3991
+ if ("" === t3) return c2;
4039
3992
  if (null !== Qe.exec(t3)) {
4040
3993
  const h4 = n2 ? i2.replace("*", () => t3) : i2 + t3;
4041
3994
  if (null === Ze.exec(t3)) {
4042
- if (!o3) {
4043
- emitInvalidSegmentDeprecation2(n2 ? Be.call(et, e3, () => t3) : e3, h4, i2, s3, a3, r3, false);
3995
+ if (!o2) {
3996
+ emitInvalidSegmentDeprecation2(n2 ? Be.call(et, e3, () => t3) : e3, h4, i2, s2, a2, r3, false);
4044
3997
  }
4045
- } else !(function(e4, t4, i3, s4, r4) {
4046
- const n3 = `request is not a valid match in pattern "${t4}" for the "${s4 ? "imports" : "exports"}" resolution of ${(0, _e.fileURLToPath)(i3)}`;
3998
+ } else !(function(e4, t4, i3, s3, r4) {
3999
+ const n3 = `request is not a valid match in pattern "${t4}" for the "${s3 ? "imports" : "exports"}" resolution of ${(0, _e.fileURLToPath)(i3)}`;
4047
4000
  throw new $e(e4, n3, r4 && (0, _e.fileURLToPath)(r4));
4048
- })(h4, i2, s3, a3, r3);
4001
+ })(h4, i2, s2, a2, r3);
4049
4002
  }
4050
- return n2 ? new _e.URL(Be.call(et, c3.href, () => t3)) : new _e.URL(t3, c3);
4003
+ return n2 ? new _e.URL(Be.call(et, c2.href, () => t3)) : new _e.URL(t3, c2);
4051
4004
  }
4052
4005
  function isArrayIndex2(e3) {
4053
4006
  const t3 = Number(e3);
4054
4007
  return `${t3}` === e3 && (t3 >= 0 && t3 < 4294967295);
4055
4008
  }
4056
- function resolvePackageTarget2(e3, t3, i2, s3, r3, n2, a3, o3, h3) {
4057
- if ("string" == typeof t3) return resolvePackageTargetString2(t3, i2, s3, e3, r3, n2, a3, o3, h3);
4009
+ function resolvePackageTarget2(e3, t3, i2, s2, r3, n2, a2, o2, h3) {
4010
+ if ("string" == typeof t3) return resolvePackageTargetString2(t3, i2, s2, e3, r3, n2, a2, o2, h3);
4058
4011
  if (Array.isArray(t3)) {
4059
- const c3 = t3;
4060
- if (0 === c3.length) return null;
4012
+ const c2 = t3;
4013
+ if (0 === c2.length) return null;
4061
4014
  let p3, l2 = -1;
4062
- for (; ++l2 < c3.length; ) {
4063
- const t4 = c3[l2];
4015
+ for (; ++l2 < c2.length; ) {
4016
+ const t4 = c2[l2];
4064
4017
  let u2;
4065
4018
  try {
4066
- u2 = resolvePackageTarget2(e3, t4, i2, s3, r3, n2, a3, o3, h3);
4019
+ u2 = resolvePackageTarget2(e3, t4, i2, s2, r3, n2, a2, o2, h3);
4067
4020
  } catch (e4) {
4068
4021
  if (p3 = e4, "ERR_INVALID_PACKAGE_TARGET" === e4.code) continue;
4069
4022
  throw e4;
@@ -4077,130 +4030,130 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4077
4030
  throw p3;
4078
4031
  }
4079
4032
  if ("object" == typeof t3 && null !== t3) {
4080
- const c3 = Object.getOwnPropertyNames(t3);
4033
+ const c2 = Object.getOwnPropertyNames(t3);
4081
4034
  let p3 = -1;
4082
- for (; ++p3 < c3.length; ) {
4083
- if (isArrayIndex2(c3[p3])) throw new qe((0, _e.fileURLToPath)(e3), r3, '"exports" cannot contain numeric property keys.');
4035
+ for (; ++p3 < c2.length; ) {
4036
+ if (isArrayIndex2(c2[p3])) throw new qe((0, _e.fileURLToPath)(e3), r3, '"exports" cannot contain numeric property keys.');
4084
4037
  }
4085
- for (p3 = -1; ++p3 < c3.length; ) {
4086
- const l2 = c3[p3];
4038
+ for (p3 = -1; ++p3 < c2.length; ) {
4039
+ const l2 = c2[p3];
4087
4040
  if ("default" === l2 || h3 && h3.has(l2)) {
4088
- const c4 = resolvePackageTarget2(e3, t3[l2], i2, s3, r3, n2, a3, o3, h3);
4089
- if (void 0 === c4) continue;
4090
- return c4;
4041
+ const c3 = resolvePackageTarget2(e3, t3[l2], i2, s2, r3, n2, a2, o2, h3);
4042
+ if (void 0 === c3) continue;
4043
+ return c3;
4091
4044
  }
4092
4045
  }
4093
4046
  return null;
4094
4047
  }
4095
4048
  if (null === t3) return null;
4096
- throw invalidPackageTarget2(s3, t3, e3, a3, r3);
4049
+ throw invalidPackageTarget2(s2, t3, e3, a2, r3);
4097
4050
  }
4098
4051
  function emitTrailingSlashPatternDeprecation2(e3, t3, i2) {
4099
4052
  if (be2.noDeprecation) return;
4100
- const s3 = (0, _e.fileURLToPath)(t3);
4101
- it.has(s3 + "|" + e3) || (it.add(s3 + "|" + e3), be2.emitWarning(`Use of deprecated trailing slash pattern mapping "${e3}" in the "exports" field module resolution of the package at ${s3}${i2 ? ` imported from ${(0, _e.fileURLToPath)(i2)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, "DeprecationWarning", "DEP0155"));
4053
+ const s2 = (0, _e.fileURLToPath)(t3);
4054
+ it.has(s2 + "|" + e3) || (it.add(s2 + "|" + e3), be2.emitWarning(`Use of deprecated trailing slash pattern mapping "${e3}" in the "exports" field module resolution of the package at ${s2}${i2 ? ` imported from ${(0, _e.fileURLToPath)(i2)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, "DeprecationWarning", "DEP0155"));
4102
4055
  }
4103
- function packageExportsResolve2(e3, t3, i2, s3, r3) {
4056
+ function packageExportsResolve2(e3, t3, i2, s2, r3) {
4104
4057
  let n2 = i2.exports;
4105
4058
  if ((function(e4, t4, i3) {
4106
4059
  if ("string" == typeof e4 || Array.isArray(e4)) return true;
4107
4060
  if ("object" != typeof e4 || null === e4) return false;
4108
- const s4 = Object.getOwnPropertyNames(e4);
4109
- let r4 = false, n3 = 0, a4 = -1;
4110
- for (; ++a4 < s4.length; ) {
4111
- const e5 = s4[a4], o4 = "" === e5 || "." !== e5[0];
4112
- if (0 === n3++) r4 = o4;
4113
- else if (r4 !== o4) throw new qe((0, _e.fileURLToPath)(t4), i3, `"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`);
4061
+ const s3 = Object.getOwnPropertyNames(e4);
4062
+ let r4 = false, n3 = 0, a3 = -1;
4063
+ for (; ++a3 < s3.length; ) {
4064
+ const e5 = s3[a3], o3 = "" === e5 || "." !== e5[0];
4065
+ if (0 === n3++) r4 = o3;
4066
+ else if (r4 !== o3) throw new qe((0, _e.fileURLToPath)(t4), i3, `"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`);
4114
4067
  }
4115
4068
  return r4;
4116
- })(n2, e3, s3) && (n2 = { ".": n2 }), Ye.call(n2, t3) && !t3.includes("*") && !t3.endsWith("/")) {
4117
- const i3 = resolvePackageTarget2(e3, n2[t3], "", t3, s3, false, false, false, r3);
4118
- if (null == i3) throw exportsNotFound2(t3, e3, s3);
4069
+ })(n2, e3, s2) && (n2 = { ".": n2 }), Ye.call(n2, t3) && !t3.includes("*") && !t3.endsWith("/")) {
4070
+ const i3 = resolvePackageTarget2(e3, n2[t3], "", t3, s2, false, false, false, r3);
4071
+ if (null == i3) throw exportsNotFound2(t3, e3, s2);
4119
4072
  return i3;
4120
4073
  }
4121
- let a3 = "", o3 = "";
4074
+ let a2 = "", o2 = "";
4122
4075
  const h3 = Object.getOwnPropertyNames(n2);
4123
- let c3 = -1;
4124
- for (; ++c3 < h3.length; ) {
4125
- const i3 = h3[c3], r4 = i3.indexOf("*");
4076
+ let c2 = -1;
4077
+ for (; ++c2 < h3.length; ) {
4078
+ const i3 = h3[c2], r4 = i3.indexOf("*");
4126
4079
  if (-1 !== r4 && t3.startsWith(i3.slice(0, r4))) {
4127
- t3.endsWith("/") && emitTrailingSlashPatternDeprecation2(t3, e3, s3);
4080
+ t3.endsWith("/") && emitTrailingSlashPatternDeprecation2(t3, e3, s2);
4128
4081
  const n3 = i3.slice(r4 + 1);
4129
- t3.length >= i3.length && t3.endsWith(n3) && 1 === patternKeyCompare2(a3, i3) && i3.lastIndexOf("*") === r4 && (a3 = i3, o3 = t3.slice(r4, t3.length - n3.length));
4082
+ t3.length >= i3.length && t3.endsWith(n3) && 1 === patternKeyCompare2(a2, i3) && i3.lastIndexOf("*") === r4 && (a2 = i3, o2 = t3.slice(r4, t3.length - n3.length));
4130
4083
  }
4131
4084
  }
4132
- if (a3) {
4133
- const i3 = resolvePackageTarget2(e3, n2[a3], o3, a3, s3, true, false, t3.endsWith("/"), r3);
4134
- if (null == i3) throw exportsNotFound2(t3, e3, s3);
4085
+ if (a2) {
4086
+ const i3 = resolvePackageTarget2(e3, n2[a2], o2, a2, s2, true, false, t3.endsWith("/"), r3);
4087
+ if (null == i3) throw exportsNotFound2(t3, e3, s2);
4135
4088
  return i3;
4136
4089
  }
4137
- throw exportsNotFound2(t3, e3, s3);
4090
+ throw exportsNotFound2(t3, e3, s2);
4138
4091
  }
4139
4092
  function patternKeyCompare2(e3, t3) {
4140
- const i2 = e3.indexOf("*"), s3 = t3.indexOf("*"), r3 = -1 === i2 ? e3.length : i2 + 1, n2 = -1 === s3 ? t3.length : s3 + 1;
4141
- return r3 > n2 ? -1 : n2 > r3 || -1 === i2 ? 1 : -1 === s3 || e3.length > t3.length ? -1 : t3.length > e3.length ? 1 : 0;
4093
+ const i2 = e3.indexOf("*"), s2 = t3.indexOf("*"), r3 = -1 === i2 ? e3.length : i2 + 1, n2 = -1 === s2 ? t3.length : s2 + 1;
4094
+ return r3 > n2 ? -1 : n2 > r3 || -1 === i2 ? 1 : -1 === s2 || e3.length > t3.length ? -1 : t3.length > e3.length ? 1 : 0;
4142
4095
  }
4143
4096
  function packageImportsResolve2(e3, t3, i2) {
4144
4097
  if ("#" === e3 || e3.startsWith("#/") || e3.endsWith("/")) {
4145
4098
  throw new $e(e3, "is not a valid internal imports specifier name", (0, _e.fileURLToPath)(t3));
4146
4099
  }
4147
- let s3;
4100
+ let s2;
4148
4101
  const r3 = getPackageScopeConfig2(t3);
4149
4102
  if (r3.exists) {
4150
- s3 = (0, _e.pathToFileURL)(r3.pjsonPath);
4103
+ s2 = (0, _e.pathToFileURL)(r3.pjsonPath);
4151
4104
  const n2 = r3.imports;
4152
4105
  if (n2) if (Ye.call(n2, e3) && !e3.includes("*")) {
4153
- const r4 = resolvePackageTarget2(s3, n2[e3], "", e3, t3, false, true, false, i2);
4106
+ const r4 = resolvePackageTarget2(s2, n2[e3], "", e3, t3, false, true, false, i2);
4154
4107
  if (null != r4) return r4;
4155
4108
  } else {
4156
- let r4 = "", a3 = "";
4157
- const o3 = Object.getOwnPropertyNames(n2);
4109
+ let r4 = "", a2 = "";
4110
+ const o2 = Object.getOwnPropertyNames(n2);
4158
4111
  let h3 = -1;
4159
- for (; ++h3 < o3.length; ) {
4160
- const t4 = o3[h3], i3 = t4.indexOf("*");
4112
+ for (; ++h3 < o2.length; ) {
4113
+ const t4 = o2[h3], i3 = t4.indexOf("*");
4161
4114
  if (-1 !== i3 && e3.startsWith(t4.slice(0, -1))) {
4162
- const s4 = t4.slice(i3 + 1);
4163
- e3.length >= t4.length && e3.endsWith(s4) && 1 === patternKeyCompare2(r4, t4) && t4.lastIndexOf("*") === i3 && (r4 = t4, a3 = e3.slice(i3, e3.length - s4.length));
4115
+ const s3 = t4.slice(i3 + 1);
4116
+ e3.length >= t4.length && e3.endsWith(s3) && 1 === patternKeyCompare2(r4, t4) && t4.lastIndexOf("*") === i3 && (r4 = t4, a2 = e3.slice(i3, e3.length - s3.length));
4164
4117
  }
4165
4118
  }
4166
4119
  if (r4) {
4167
- const e4 = resolvePackageTarget2(s3, n2[r4], a3, r4, t3, true, true, false, i2);
4120
+ const e4 = resolvePackageTarget2(s2, n2[r4], a2, r4, t3, true, true, false, i2);
4168
4121
  if (null != e4) return e4;
4169
4122
  }
4170
4123
  }
4171
4124
  }
4172
4125
  throw (function(e4, t4, i3) {
4173
4126
  return new He(e4, t4 && (0, _e.fileURLToPath)(new _e.URL(".", t4)), (0, _e.fileURLToPath)(i3));
4174
- })(e3, s3, t3);
4127
+ })(e3, s2, t3);
4175
4128
  }
4176
4129
  function packageResolve2(e3, t3, i2) {
4177
4130
  if (le2.builtinModules.includes(e3)) return new _e.URL("node:" + e3);
4178
- const { packageName: s3, packageSubpath: r3, isScoped: n2 } = (function(e4, t4) {
4179
- let i3 = e4.indexOf("/"), s4 = true, r4 = false;
4180
- "@" === e4[0] && (r4 = true, -1 === i3 || 0 === e4.length ? s4 = false : i3 = e4.indexOf("/", i3 + 1));
4131
+ const { packageName: s2, packageSubpath: r3, isScoped: n2 } = (function(e4, t4) {
4132
+ let i3 = e4.indexOf("/"), s3 = true, r4 = false;
4133
+ "@" === e4[0] && (r4 = true, -1 === i3 || 0 === e4.length ? s3 = false : i3 = e4.indexOf("/", i3 + 1));
4181
4134
  const n3 = -1 === i3 ? e4 : e4.slice(0, i3);
4182
- if (null !== Xe.exec(n3) && (s4 = false), !s4) throw new $e(e4, "is not a valid package name", (0, _e.fileURLToPath)(t4));
4135
+ if (null !== Xe.exec(n3) && (s3 = false), !s3) throw new $e(e4, "is not a valid package name", (0, _e.fileURLToPath)(t4));
4183
4136
  return { packageName: n3, packageSubpath: "." + (-1 === i3 ? "" : e4.slice(i3)), isScoped: r4 };
4184
- })(e3, t3), a3 = getPackageScopeConfig2(t3);
4185
- if (a3.exists) {
4186
- const e4 = (0, _e.pathToFileURL)(a3.pjsonPath);
4187
- if (a3.name === s3 && void 0 !== a3.exports && null !== a3.exports) return packageExportsResolve2(e4, r3, a3, t3, i2);
4137
+ })(e3, t3), a2 = getPackageScopeConfig2(t3);
4138
+ if (a2.exists) {
4139
+ const e4 = (0, _e.pathToFileURL)(a2.pjsonPath);
4140
+ if (a2.name === s2 && void 0 !== a2.exports && null !== a2.exports) return packageExportsResolve2(e4, r3, a2, t3, i2);
4188
4141
  }
4189
- let o3, h3 = new _e.URL("./node_modules/" + s3 + "/package.json", t3), c3 = (0, _e.fileURLToPath)(h3);
4142
+ let o2, h3 = new _e.URL("./node_modules/" + s2 + "/package.json", t3), c2 = (0, _e.fileURLToPath)(h3);
4190
4143
  do {
4191
- const a4 = tryStatSync2(c3.slice(0, -13));
4192
- if (!a4 || !a4.isDirectory()) {
4193
- o3 = c3, h3 = new _e.URL((n2 ? "../../../../node_modules/" : "../../../node_modules/") + s3 + "/package.json", h3), c3 = (0, _e.fileURLToPath)(h3);
4144
+ const a3 = tryStatSync2(c2.slice(0, -13));
4145
+ if (!a3 || !a3.isDirectory()) {
4146
+ o2 = c2, h3 = new _e.URL((n2 ? "../../../../node_modules/" : "../../../node_modules/") + s2 + "/package.json", h3), c2 = (0, _e.fileURLToPath)(h3);
4194
4147
  continue;
4195
4148
  }
4196
- const p3 = read2(c3, { base: t3, specifier: e3 });
4149
+ const p3 = read2(c2, { base: t3, specifier: e3 });
4197
4150
  return void 0 !== p3.exports && null !== p3.exports ? packageExportsResolve2(h3, r3, p3, t3, i2) : "." === r3 ? legacyMainResolve2(h3, p3, t3) : new _e.URL(r3, h3);
4198
- } while (c3.length !== o3.length);
4199
- throw new Ge(s3, (0, _e.fileURLToPath)(t3), false);
4151
+ } while (c2.length !== o2.length);
4152
+ throw new Ge(s2, (0, _e.fileURLToPath)(t3), false);
4200
4153
  }
4201
- function moduleResolve2(e3, t3, i2, s3) {
4154
+ function moduleResolve2(e3, t3, i2, s2) {
4202
4155
  const r3 = t3.protocol, n2 = "data:" === r3 || "http:" === r3 || "https:" === r3;
4203
- let a3;
4156
+ let a2;
4204
4157
  if ((function(e4) {
4205
4158
  return "" !== e4 && ("/" === e4[0] || (function(e5) {
4206
4159
  if ("." === e5[0]) {
@@ -4210,45 +4163,45 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4210
4163
  return false;
4211
4164
  })(e4));
4212
4165
  })(e3)) try {
4213
- a3 = new _e.URL(e3, t3);
4166
+ a2 = new _e.URL(e3, t3);
4214
4167
  } catch (i3) {
4215
- const s4 = new Je(e3, t3);
4216
- throw s4.cause = i3, s4;
4168
+ const s3 = new Je(e3, t3);
4169
+ throw s3.cause = i3, s3;
4217
4170
  }
4218
- else if ("file:" === r3 && "#" === e3[0]) a3 = packageImportsResolve2(e3, t3, i2);
4171
+ else if ("file:" === r3 && "#" === e3[0]) a2 = packageImportsResolve2(e3, t3, i2);
4219
4172
  else try {
4220
- a3 = new _e.URL(e3);
4221
- } catch (s4) {
4173
+ a2 = new _e.URL(e3);
4174
+ } catch (s3) {
4222
4175
  if (n2 && !le2.builtinModules.includes(e3)) {
4223
4176
  const i3 = new Je(e3, t3);
4224
- throw i3.cause = s4, i3;
4177
+ throw i3.cause = s3, i3;
4225
4178
  }
4226
- a3 = packageResolve2(e3, t3, i2);
4179
+ a2 = packageResolve2(e3, t3, i2);
4227
4180
  }
4228
- return Ee(void 0 !== a3, "expected to be defined"), "file:" !== a3.protocol ? a3 : (function(e4, t4) {
4181
+ return Ee(void 0 !== a2, "expected to be defined"), "file:" !== a2.protocol ? a2 : (function(e4, t4) {
4229
4182
  if (null !== tt.exec(e4.pathname)) throw new $e(e4.pathname, 'must not include encoded "/" or "\\" characters', (0, _e.fileURLToPath)(t4));
4230
4183
  let i3;
4231
4184
  try {
4232
4185
  i3 = (0, _e.fileURLToPath)(e4);
4233
4186
  } catch (i4) {
4234
- const s5 = i4;
4235
- throw Object.defineProperty(s5, "input", { value: String(e4) }), Object.defineProperty(s5, "module", { value: String(t4) }), s5;
4187
+ const s4 = i4;
4188
+ throw Object.defineProperty(s4, "input", { value: String(e4) }), Object.defineProperty(s4, "module", { value: String(t4) }), s4;
4236
4189
  }
4237
- const s4 = tryStatSync2(i3.endsWith("/") ? i3.slice(-1) : i3);
4238
- if (s4 && s4.isDirectory()) {
4239
- const s5 = new ze(i3, (0, _e.fileURLToPath)(t4));
4240
- throw s5.url = String(e4), s5;
4190
+ const s3 = tryStatSync2(i3.endsWith("/") ? i3.slice(-1) : i3);
4191
+ if (s3 && s3.isDirectory()) {
4192
+ const s4 = new ze(i3, (0, _e.fileURLToPath)(t4));
4193
+ throw s4.url = String(e4), s4;
4241
4194
  }
4242
- if (!s4 || !s4.isFile()) {
4243
- const s5 = new Ge(i3 || e4.pathname, t4 && (0, _e.fileURLToPath)(t4), true);
4244
- throw s5.url = String(e4), s5;
4195
+ if (!s3 || !s3.isFile()) {
4196
+ const s4 = new Ge(i3 || e4.pathname, t4 && (0, _e.fileURLToPath)(t4), true);
4197
+ throw s4.url = String(e4), s4;
4245
4198
  }
4246
4199
  {
4247
- const t5 = (0, ue2.realpathSync)(i3), { search: s5, hash: r4 } = e4;
4248
- (e4 = (0, _e.pathToFileURL)(t5 + (i3.endsWith(Se2.sep) ? "/" : ""))).search = s5, e4.hash = r4;
4200
+ const t5 = (0, ue2.realpathSync)(i3), { search: s4, hash: r4 } = e4;
4201
+ (e4 = (0, _e.pathToFileURL)(t5 + (i3.endsWith(Se2.sep) ? "/" : ""))).search = s4, e4.hash = r4;
4249
4202
  }
4250
4203
  return e4;
4251
- })(a3, t3);
4204
+ })(a2, t3);
4252
4205
  }
4253
4206
  function fileURLToPath2(e3) {
4254
4207
  return "string" != typeof e3 || e3.startsWith("file://") ? normalizeSlash((0, _e.fileURLToPath)(e3)) : normalizeSlash(e3);
@@ -4276,17 +4229,17 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4276
4229
  } catch (e4) {
4277
4230
  if ("ENOENT" !== e4?.code) throw e4;
4278
4231
  }
4279
- const i2 = t3.conditions ? new Set(t3.conditions) : rt, s3 = (Array.isArray(t3.url) ? t3.url : [t3.url]).filter(Boolean).map((e4) => new URL((function(e5) {
4232
+ const i2 = t3.conditions ? new Set(t3.conditions) : rt, s2 = (Array.isArray(t3.url) ? t3.url : [t3.url]).filter(Boolean).map((e4) => new URL((function(e5) {
4280
4233
  return "string" != typeof e5 && (e5 = e5.toString()), /(?:node|data|http|https|file):/.test(e5) ? e5 : Ie.has(e5) ? "node:" + e5 : "file://" + encodeURI(normalizeSlash(e5));
4281
4234
  })(e4.toString())));
4282
- 0 === s3.length && s3.push(new URL(pathToFileURL2(process.cwd())));
4283
- const r3 = [...s3];
4284
- for (const e4 of s3) "file:" === e4.protocol && r3.push(new URL("./", e4), new URL(dist_joinURL(e4.pathname, "_index.js"), e4), new URL("node_modules", e4));
4235
+ 0 === s2.length && s2.push(new URL(pathToFileURL2(process.cwd())));
4236
+ const r3 = [...s2];
4237
+ for (const e4 of s2) "file:" === e4.protocol && r3.push(new URL("./", e4), new URL(dist_joinURL(e4.pathname, "_index.js"), e4), new URL("node_modules", e4));
4285
4238
  let n2;
4286
- for (const s4 of r3) {
4287
- if (n2 = _tryModuleResolve2(e3, s4, i2), n2) break;
4239
+ for (const s3 of r3) {
4240
+ if (n2 = _tryModuleResolve2(e3, s3, i2), n2) break;
4288
4241
  for (const r4 of ["", "/index"]) {
4289
- for (const a3 of t3.extensions || nt) if (n2 = _tryModuleResolve2(dist_joinURL(e3, r4) + a3, s4, i2), n2) break;
4242
+ for (const a2 of t3.extensions || nt) if (n2 = _tryModuleResolve2(dist_joinURL(e3, r4) + a2, s3, i2), n2) break;
4290
4243
  if (n2) break;
4291
4244
  }
4292
4245
  if (n2) break;
@@ -4356,15 +4309,15 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4356
4309
  })();
4357
4310
  const Lt = require$$10, Ot = Lt?.WriteStream?.prototype?.hasColors?.() ?? false, base_format = (e3, t3) => {
4358
4311
  if (!Ot) return (e4) => e4;
4359
- const i2 = `\x1B[${e3}m`, s3 = `\x1B[${t3}m`;
4312
+ const i2 = `\x1B[${e3}m`, s2 = `\x1B[${t3}m`;
4360
4313
  return (e4) => {
4361
4314
  const r3 = e4 + "";
4362
- let n2 = r3.indexOf(s3);
4363
- if (-1 === n2) return i2 + r3 + s3;
4364
- let a3 = i2, o3 = 0;
4365
- const h3 = (22 === t3 ? s3 : "") + i2;
4366
- for (; -1 !== n2; ) a3 += r3.slice(o3, n2) + h3, o3 = n2 + s3.length, n2 = r3.indexOf(s3, o3);
4367
- return a3 += r3.slice(o3) + s3, a3;
4315
+ let n2 = r3.indexOf(s2);
4316
+ if (-1 === n2) return i2 + r3 + s2;
4317
+ let a2 = i2, o2 = 0;
4318
+ const h3 = (22 === t3 ? s2 : "") + i2;
4319
+ for (; -1 !== n2; ) a2 += r3.slice(o2, n2) + h3, o2 = n2 + s2.length, n2 = r3.indexOf(s2, o2);
4320
+ return a2 += r3.slice(o2) + s2, a2;
4368
4321
  };
4369
4322
  }, Dt = base_format(31, 39), Vt = base_format(32, 39), Ut = base_format(33, 39), Mt = base_format(34, 39), jt = base_format(36, 39), Ft = base_format(90, 39);
4370
4323
  function isDir(e3) {
@@ -4395,17 +4348,17 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4395
4348
  return e3.opts.interopDefault ? (function(e4) {
4396
4349
  const t4 = typeof e4;
4397
4350
  if (null === e4 || "object" !== t4 && "function" !== t4) return e4;
4398
- const i2 = e4.default, s3 = typeof i2, r3 = null == i2, n2 = "object" === s3 || "function" === s3;
4351
+ const i2 = e4.default, s2 = typeof i2, r3 = null == i2, n2 = "object" === s2 || "function" === s2;
4399
4352
  if (r3 && e4 instanceof Promise) return e4;
4400
- return new Proxy(e4, { get(t5, s4, a3) {
4401
- if ("__esModule" === s4) return true;
4402
- if ("default" === s4) return r3 ? e4 : "function" == typeof i2?.default && e4.__esModule ? i2.default : i2;
4403
- if (Reflect.has(t5, s4)) return Reflect.get(t5, s4, a3);
4353
+ return new Proxy(e4, { get(t5, s3, a2) {
4354
+ if ("__esModule" === s3) return true;
4355
+ if ("default" === s3) return r3 ? e4 : "function" == typeof i2?.default && e4.__esModule ? i2.default : i2;
4356
+ if (Reflect.has(t5, s3)) return Reflect.get(t5, s3, a2);
4404
4357
  if (n2 && !(i2 instanceof Promise)) {
4405
- let e5 = Reflect.get(i2, s4, a3);
4358
+ let e5 = Reflect.get(i2, s3, a2);
4406
4359
  return "function" == typeof e5 && (e5 = e5.bind(i2)), e5;
4407
4360
  }
4408
- }, apply: (e5, t5, r4) => "function" == typeof e5 ? Reflect.apply(e5, t5, r4) : "function" === s3 ? Reflect.apply(i2, t5, r4) : void 0 });
4361
+ }, apply: (e5, t5, r4) => "function" == typeof e5 ? Reflect.apply(e5, t5, r4) : "function" === s2 ? Reflect.apply(i2, t5, r4) : void 0 });
4409
4362
  })(t3) : t3;
4410
4363
  }
4411
4364
  let $t;
@@ -4424,28 +4377,28 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4424
4377
  }
4425
4378
  const qt = /\.(c|m)?j(sx?)$/, Wt = /\.(c|m)?t(sx?)$/;
4426
4379
  function jitiResolve(e3, t3, i2) {
4427
- let s3, r3;
4380
+ let s2, r3;
4428
4381
  if (e3.isNativeRe.test(t3)) return t3;
4429
4382
  e3.alias && (t3 = (function(e4, t4) {
4430
4383
  const i3 = pathe_M_eThtNZ_normalizeWindowsPath(e4);
4431
4384
  t4 = normalizeAliases(t4);
4432
- for (const [e5, s4] of Object.entries(t4)) {
4385
+ for (const [e5, s3] of Object.entries(t4)) {
4433
4386
  if (!i3.startsWith(e5)) continue;
4434
4387
  const t5 = utils_hasTrailingSlash(e5) ? e5.slice(0, -1) : e5;
4435
- if (utils_hasTrailingSlash(i3[t5.length])) return pathe_M_eThtNZ_join(s4, i3.slice(e5.length));
4388
+ if (utils_hasTrailingSlash(i3[t5.length])) return pathe_M_eThtNZ_join(s3, i3.slice(e5.length));
4436
4389
  }
4437
4390
  return i3;
4438
4391
  })(t3, e3.alias));
4439
4392
  let n2 = i2?.parentURL || e3.url;
4440
4393
  isDir(n2) && (n2 = pathe_M_eThtNZ_join(n2, "_index.js"));
4441
- const a3 = (i2?.async ? [i2?.conditions, ["node", "import"], ["node", "require"]] : [i2?.conditions, ["node", "require"], ["node", "import"]]).filter(Boolean);
4442
- for (const i3 of a3) {
4394
+ const a2 = (i2?.async ? [i2?.conditions, ["node", "import"], ["node", "require"]] : [i2?.conditions, ["node", "require"], ["node", "import"]]).filter(Boolean);
4395
+ for (const i3 of a2) {
4443
4396
  try {
4444
- s3 = resolvePathSync(t3, { url: n2, conditions: i3, extensions: e3.opts.extensions });
4397
+ s2 = resolvePathSync(t3, { url: n2, conditions: i3, extensions: e3.opts.extensions });
4445
4398
  } catch (e4) {
4446
4399
  r3 = e4;
4447
4400
  }
4448
- if (s3) return s3;
4401
+ if (s2) return s2;
4449
4402
  }
4450
4403
  try {
4451
4404
  return e3.nativeRequire.resolve(t3, { paths: i2.paths });
@@ -4453,21 +4406,21 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4453
4406
  r3 = e4;
4454
4407
  }
4455
4408
  for (const r4 of e3.additionalExts) {
4456
- if (s3 = tryNativeRequireResolve(e3, t3 + r4, n2, i2) || tryNativeRequireResolve(e3, t3 + "/index" + r4, n2, i2), s3) return s3;
4457
- if ((Wt.test(e3.filename) || Wt.test(e3.parentModule?.filename || "") || qt.test(t3)) && (s3 = tryNativeRequireResolve(e3, t3.replace(qt, ".$1t$2"), n2, i2), s3)) return s3;
4409
+ if (s2 = tryNativeRequireResolve(e3, t3 + r4, n2, i2) || tryNativeRequireResolve(e3, t3 + "/index" + r4, n2, i2), s2) return s2;
4410
+ if ((Wt.test(e3.filename) || Wt.test(e3.parentModule?.filename || "") || qt.test(t3)) && (s2 = tryNativeRequireResolve(e3, t3.replace(qt, ".$1t$2"), n2, i2), s2)) return s2;
4458
4411
  }
4459
4412
  if (!i2?.try) throw r3;
4460
4413
  }
4461
- function tryNativeRequireResolve(e3, t3, i2, s3) {
4414
+ function tryNativeRequireResolve(e3, t3, i2, s2) {
4462
4415
  try {
4463
- return e3.nativeRequire.resolve(t3, { ...s3, paths: [pathe_M_eThtNZ_dirname(fileURLToPath2(i2)), ...s3?.paths || []] });
4416
+ return e3.nativeRequire.resolve(t3, { ...s2, paths: [pathe_M_eThtNZ_dirname(fileURLToPath2(i2)), ...s2?.paths || []] });
4464
4417
  } catch {
4465
4418
  }
4466
4419
  }
4467
4420
  const Gt = require$$11, Ht = require$$12;
4468
4421
  var Kt = __webpack_require__.n(Ht);
4469
4422
  function jitiRequire(e3, t3, i2) {
4470
- const s3 = e3.parentCache || {};
4423
+ const s2 = e3.parentCache || {};
4471
4424
  if (t3.startsWith("node:")) return nativeImportOrRequire(e3, t3, i2.async);
4472
4425
  if (t3.startsWith("file:")) t3 = (0, _e.fileURLToPath)(t3);
4473
4426
  else if (t3.startsWith("data:")) {
@@ -4495,13 +4448,13 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4495
4448
  }
4496
4449
  if (n2 && !e3.opts.extensions.includes(n2)) return debug(e3, "[native]", "[unknown]", i2.async ? "[import]" : "[require]", r3), nativeImportOrRequire(e3, r3, i2.async);
4497
4450
  if (e3.isNativeRe.test(r3)) return debug(e3, "[native]", i2.async ? "[import]" : "[require]", r3), nativeImportOrRequire(e3, r3, i2.async);
4498
- if (s3[r3]) return jitiInteropDefault(e3, s3[r3]?.exports);
4451
+ if (s2[r3]) return jitiInteropDefault(e3, s2[r3]?.exports);
4499
4452
  if (e3.opts.moduleCache) {
4500
4453
  const t4 = e3.nativeRequire.cache[r3];
4501
4454
  if (t4?.loaded) return jitiInteropDefault(e3, t4.exports);
4502
4455
  }
4503
- const a3 = (0, ue2.readFileSync)(r3, "utf8");
4504
- return eval_evalModule(e3, a3, { id: t3, filename: r3, ext: n2, cache: s3, async: i2.async });
4456
+ const a2 = (0, ue2.readFileSync)(r3, "utf8");
4457
+ return eval_evalModule(e3, a2, { id: t3, filename: r3, ext: n2, cache: s2, async: i2.async });
4505
4458
  }
4506
4459
  function nativeImportOrRequire(e3, t3, i2) {
4507
4460
  return i2 && e3.nativeImport ? e3.nativeImport((function(e4) {
@@ -4511,7 +4464,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4511
4464
  const zt = "9";
4512
4465
  function getCache(e3, t3, i2) {
4513
4466
  if (!e3.opts.fsCache || !t3.filename) return i2();
4514
- const s3 = ` /* v${zt}-${utils_hash(t3.source, 16)} */
4467
+ const s2 = ` /* v${zt}-${utils_hash(t3.source, 16)} */
4515
4468
  `;
4516
4469
  let r3 = `${basename2(pathe_M_eThtNZ_dirname(t3.filename))}-${(function(e4) {
4517
4470
  const t4 = e4.split(lt).pop();
@@ -4520,25 +4473,25 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4520
4473
  return i3 <= 0 ? t4 : t4.slice(0, i3);
4521
4474
  })(t3.filename)}` + (e3.opts.sourceMaps ? "+map" : "") + (t3.interopDefault ? ".i" : "") + `.${utils_hash(t3.filename)}` + (t3.async ? ".mjs" : ".cjs");
4522
4475
  t3.jsx && t3.filename.endsWith("x") && (r3 += "x");
4523
- const n2 = e3.opts.fsCache, a3 = pathe_M_eThtNZ_join(n2, r3);
4524
- if (!e3.opts.rebuildFsCache && (0, ue2.existsSync)(a3)) {
4525
- const i3 = (0, ue2.readFileSync)(a3, "utf8");
4526
- if (i3.endsWith(s3)) return debug(e3, "[cache]", "[hit]", t3.filename, "~>", a3), i3;
4476
+ const n2 = e3.opts.fsCache, a2 = pathe_M_eThtNZ_join(n2, r3);
4477
+ if (!e3.opts.rebuildFsCache && (0, ue2.existsSync)(a2)) {
4478
+ const i3 = (0, ue2.readFileSync)(a2, "utf8");
4479
+ if (i3.endsWith(s2)) return debug(e3, "[cache]", "[hit]", t3.filename, "~>", a2), i3;
4527
4480
  }
4528
4481
  debug(e3, "[cache]", "[miss]", t3.filename);
4529
- const o3 = i2();
4530
- return o3.includes("__JITI_ERROR__") || ((0, ue2.writeFileSync)(a3, o3 + s3, "utf8"), debug(e3, "[cache]", "[store]", t3.filename, "~>", a3)), o3;
4482
+ const o2 = i2();
4483
+ return o2.includes("__JITI_ERROR__") || ((0, ue2.writeFileSync)(a2, o2 + s2, "utf8"), debug(e3, "[cache]", "[store]", t3.filename, "~>", a2)), o2;
4531
4484
  }
4532
4485
  function prepareCacheDir(t3) {
4533
4486
  if (true === t3.opts.fsCache && (t3.opts.fsCache = (function(t4) {
4534
4487
  const i2 = t4.filename && pathe_M_eThtNZ_resolve(t4.filename, "../node_modules");
4535
4488
  if (i2 && (0, ue2.existsSync)(i2)) return pathe_M_eThtNZ_join(i2, ".cache/jiti");
4536
- let s3 = (0, e2.tmpdir)();
4537
- if (process.env.TMPDIR && s3 === process.cwd() && !process.env.JITI_RESPECT_TMPDIR_ENV) {
4489
+ let s2 = (0, e2.tmpdir)();
4490
+ if (process.env.TMPDIR && s2 === process.cwd() && !process.env.JITI_RESPECT_TMPDIR_ENV) {
4538
4491
  const t5 = process.env.TMPDIR;
4539
- delete process.env.TMPDIR, s3 = (0, e2.tmpdir)(), process.env.TMPDIR = t5;
4492
+ delete process.env.TMPDIR, s2 = (0, e2.tmpdir)(), process.env.TMPDIR = t5;
4540
4493
  }
4541
- return pathe_M_eThtNZ_join(s3, "jiti");
4494
+ return pathe_M_eThtNZ_join(s2, "jiti");
4542
4495
  })(t3)), t3.opts.fsCache) try {
4543
4496
  if ((0, ue2.mkdirSync)(t3.opts.fsCache, { recursive: true }), !(function(e3) {
4544
4497
  try {
@@ -4559,7 +4512,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4559
4512
  return i2.startsWith("#!") && (i2 = "// " + i2), i2;
4560
4513
  }
4561
4514
  function eval_evalModule(e3, t3, i2 = {}) {
4562
- const s3 = i2.id || (i2.filename ? basename2(i2.filename) : `_jitiEval.${i2.ext || (i2.async ? "mjs" : "js")}`), r3 = i2.filename || jitiResolve(e3, s3, { async: i2.async }), n2 = i2.ext || extname2(r3), a3 = i2.cache || e3.parentCache || {}, o3 = /\.[cm]?tsx?$/.test(n2), h3 = ".mjs" === n2 || ".js" === n2 && "module" === (function(e4) {
4515
+ const s2 = i2.id || (i2.filename ? basename2(i2.filename) : `_jitiEval.${i2.ext || (i2.async ? "mjs" : "js")}`), r3 = i2.filename || jitiResolve(e3, s2, { async: i2.async }), n2 = i2.ext || extname2(r3), a2 = i2.cache || e3.parentCache || {}, o2 = /\.[cm]?tsx?$/.test(n2), h3 = ".mjs" === n2 || ".js" === n2 && "module" === (function(e4) {
4563
4516
  for (; e4 && "." !== e4 && "/" !== e4; ) {
4564
4517
  e4 = pathe_M_eThtNZ_join(e4, "..");
4565
4518
  try {
@@ -4572,47 +4525,47 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4572
4525
  } catch {
4573
4526
  }
4574
4527
  }
4575
- })(r3)?.type, c3 = ".cjs" === n2, p3 = i2.forceTranspile ?? (!c3 && !(h3 && i2.async) && (o3 || h3 || e3.isTransformRe.test(r3) || hasESMSyntax(t3))), l2 = Gt.performance.now();
4528
+ })(r3)?.type, c2 = ".cjs" === n2, p3 = i2.forceTranspile ?? (!c2 && !(h3 && i2.async) && (o2 || h3 || e3.isTransformRe.test(r3) || hasESMSyntax(t3))), l2 = Gt.performance.now();
4576
4529
  if (p3) {
4577
- t3 = transform(e3, { filename: r3, source: t3, ts: o3, async: i2.async ?? false, jsx: e3.opts.jsx });
4578
- const s4 = Math.round(1e3 * (Gt.performance.now() - l2)) / 1e3;
4579
- debug(e3, "[transpile]", i2.async ? "[esm]" : "[cjs]", r3, `(${s4}ms)`);
4530
+ t3 = transform(e3, { filename: r3, source: t3, ts: o2, async: i2.async ?? false, jsx: e3.opts.jsx });
4531
+ const s3 = Math.round(1e3 * (Gt.performance.now() - l2)) / 1e3;
4532
+ debug(e3, "[transpile]", i2.async ? "[esm]" : "[cjs]", r3, `(${s3}ms)`);
4580
4533
  } else {
4581
- if (debug(e3, "[native]", i2.async ? "[import]" : "[require]", r3), i2.async) return Promise.resolve(nativeImportOrRequire(e3, r3, i2.async)).catch((s4) => (debug(e3, "Native import error:", s4), debug(e3, "[fallback]", r3), eval_evalModule(e3, t3, { ...i2, forceTranspile: true })));
4534
+ if (debug(e3, "[native]", i2.async ? "[import]" : "[require]", r3), i2.async) return Promise.resolve(nativeImportOrRequire(e3, r3, i2.async)).catch((s3) => (debug(e3, "Native import error:", s3), debug(e3, "[fallback]", r3), eval_evalModule(e3, t3, { ...i2, forceTranspile: true })));
4582
4535
  try {
4583
4536
  return nativeImportOrRequire(e3, r3, i2.async);
4584
- } catch (s4) {
4585
- debug(e3, "Native require error:", s4), debug(e3, "[fallback]", r3), t3 = transform(e3, { filename: r3, source: t3, ts: o3, async: i2.async ?? false, jsx: e3.opts.jsx });
4537
+ } catch (s3) {
4538
+ debug(e3, "Native require error:", s3), debug(e3, "[fallback]", r3), t3 = transform(e3, { filename: r3, source: t3, ts: o2, async: i2.async ?? false, jsx: e3.opts.jsx });
4586
4539
  }
4587
4540
  }
4588
4541
  const u2 = new le2.Module(r3);
4589
4542
  u2.filename = r3, e3.parentModule && (u2.parent = e3.parentModule, Array.isArray(e3.parentModule.children) && !e3.parentModule.children.includes(u2) && e3.parentModule.children.push(u2));
4590
- const d2 = createJiti2(r3, e3.opts, { parentModule: u2, parentCache: a3, nativeImport: e3.nativeImport, onError: e3.onError, createRequire: e3.createRequire }, true);
4591
- let f3;
4592
- u2.require = d2, u2.path = pathe_M_eThtNZ_dirname(r3), u2.paths = le2.Module._nodeModulePaths(u2.path), a3[r3] = u2, e3.opts.moduleCache && (e3.nativeRequire.cache[r3] = u2);
4543
+ const d2 = createJiti2(r3, e3.opts, { parentModule: u2, parentCache: a2, nativeImport: e3.nativeImport, onError: e3.onError, createRequire: e3.createRequire }, true);
4544
+ let f2;
4545
+ u2.require = d2, u2.path = pathe_M_eThtNZ_dirname(r3), u2.paths = le2.Module._nodeModulePaths(u2.path), a2[r3] = u2, e3.opts.moduleCache && (e3.nativeRequire.cache[r3] = u2);
4593
4546
  const m3 = (function(e4, t4) {
4594
4547
  return `(${t4?.async ? "async " : ""}function (exports, require, module, __filename, __dirname, jitiImport, jitiESMResolve) { ${e4}
4595
4548
  });`;
4596
4549
  })(t3, { async: i2.async });
4597
4550
  try {
4598
- f3 = Kt().runInThisContext(m3, { filename: r3, lineOffset: 0, displayErrors: false });
4551
+ f2 = Kt().runInThisContext(m3, { filename: r3, lineOffset: 0, displayErrors: false });
4599
4552
  } catch (t4) {
4600
- "SyntaxError" === t4.name && i2.async && e3.nativeImport ? (debug(e3, "[esm]", "[import]", "[fallback]", r3), f3 = (function(e4, t5) {
4553
+ "SyntaxError" === t4.name && i2.async && e3.nativeImport ? (debug(e3, "[esm]", "[import]", "[fallback]", r3), f2 = (function(e4, t5) {
4601
4554
  const i3 = `data:text/javascript;base64,${Buffer.from(`export default ${e4}`).toString("base64")}`;
4602
4555
  return (...e5) => t5(i3).then((t6) => t6.default(...e5));
4603
4556
  })(m3, e3.nativeImport)) : (e3.opts.moduleCache && delete e3.nativeRequire.cache[r3], e3.onError(t4));
4604
4557
  }
4605
4558
  let g3;
4606
4559
  try {
4607
- g3 = f3(u2.exports, u2.require, u2, u2.filename, pathe_M_eThtNZ_dirname(u2.filename), d2.import, d2.esmResolve);
4560
+ g3 = f2(u2.exports, u2.require, u2, u2.filename, pathe_M_eThtNZ_dirname(u2.filename), d2.import, d2.esmResolve);
4608
4561
  } catch (t4) {
4609
4562
  e3.opts.moduleCache && delete e3.nativeRequire.cache[r3], e3.onError(t4);
4610
4563
  }
4611
4564
  function next() {
4612
4565
  if (u2.exports && u2.exports.__JITI_ERROR__) {
4613
- const { filename: t4, line: i3, column: s4, code: r4, message: n3 } = u2.exports.__JITI_ERROR__, a4 = new Error(`${r4}: ${n3}
4614
- ${`${t4}:${i3}:${s4}`}`);
4615
- Error.captureStackTrace(a4, jitiRequire), e3.onError(a4);
4566
+ const { filename: t4, line: i3, column: s3, code: r4, message: n3 } = u2.exports.__JITI_ERROR__, a3 = new Error(`${r4}: ${n3}
4567
+ ${`${t4}:${i3}:${s3}`}`);
4568
+ Error.captureStackTrace(a3, jitiRequire), e3.onError(a3);
4616
4569
  }
4617
4570
  u2.loaded = true;
4618
4571
  return jitiInteropDefault(e3, u2.exports);
@@ -4620,17 +4573,17 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4620
4573
  return i2.async ? Promise.resolve(g3).then(next) : next();
4621
4574
  }
4622
4575
  const Jt = "win32" === (0, e2.platform)();
4623
- function createJiti2(e3, t3 = {}, i2, s3 = false) {
4624
- const r3 = s3 ? t3 : (function(e4) {
4576
+ function createJiti2(e3, t3 = {}, i2, s2 = false) {
4577
+ const r3 = s2 ? t3 : (function(e4) {
4625
4578
  const t4 = { fsCache: _booleanEnv("JITI_FS_CACHE", _booleanEnv("JITI_CACHE", true)), rebuildFsCache: _booleanEnv("JITI_REBUILD_FS_CACHE", false), moduleCache: _booleanEnv("JITI_MODULE_CACHE", _booleanEnv("JITI_REQUIRE_CACHE", true)), debug: _booleanEnv("JITI_DEBUG", false), sourceMaps: _booleanEnv("JITI_SOURCE_MAPS", false), interopDefault: _booleanEnv("JITI_INTEROP_DEFAULT", true), extensions: _jsonEnv("JITI_EXTENSIONS", [".js", ".mjs", ".cjs", ".ts", ".tsx", ".mts", ".cts", ".mtsx", ".ctsx"]), alias: _jsonEnv("JITI_ALIAS", {}), nativeModules: _jsonEnv("JITI_NATIVE_MODULES", []), transformModules: _jsonEnv("JITI_TRANSFORM_MODULES", []), tryNative: _jsonEnv("JITI_TRY_NATIVE", "Bun" in globalThis), jsx: _booleanEnv("JITI_JSX", false) };
4626
4579
  t4.jsx && t4.extensions.push(".jsx", ".tsx");
4627
4580
  const i3 = {};
4628
4581
  return void 0 !== e4.cache && (i3.fsCache = e4.cache), void 0 !== e4.requireCache && (i3.moduleCache = e4.requireCache), { ...t4, ...i3, ...e4 };
4629
- })(t3), n2 = r3.alias && Object.keys(r3.alias).length > 0 ? normalizeAliases(r3.alias || {}) : void 0, a3 = ["typescript", "jiti", ...r3.nativeModules || []], o3 = new RegExp(`node_modules/(${a3.map((e4) => escapeStringRegexp(e4)).join("|")})/`), h3 = [...r3.transformModules || []], c3 = new RegExp(`node_modules/(${h3.map((e4) => escapeStringRegexp(e4)).join("|")})/`);
4630
- e3 || (e3 = process.cwd()), !s3 && isDir(e3) && (e3 = pathe_M_eThtNZ_join(e3, "_index.js"));
4631
- const p3 = pathToFileURL2(e3), l2 = [...r3.extensions].filter((e4) => ".js" !== e4), u2 = i2.createRequire(Jt ? e3.replace(/\//g, "\\") : e3), d2 = { filename: e3, url: p3, opts: r3, alias: n2, nativeModules: a3, transformModules: h3, isNativeRe: o3, isTransformRe: c3, additionalExts: l2, nativeRequire: u2, onError: i2.onError, parentModule: i2.parentModule, parentCache: i2.parentCache, nativeImport: i2.nativeImport, createRequire: i2.createRequire };
4632
- s3 || debug(d2, "[init]", ...[["version:", ut.rE], ["module-cache:", r3.moduleCache], ["fs-cache:", r3.fsCache], ["rebuild-fs-cache:", r3.rebuildFsCache], ["interop-defaults:", r3.interopDefault]].flat()), s3 || prepareCacheDir(d2);
4633
- const f3 = Object.assign(function(e4) {
4582
+ })(t3), n2 = r3.alias && Object.keys(r3.alias).length > 0 ? normalizeAliases(r3.alias || {}) : void 0, a2 = ["typescript", "jiti", ...r3.nativeModules || []], o2 = new RegExp(`node_modules/(${a2.map((e4) => escapeStringRegexp(e4)).join("|")})/`), h3 = [...r3.transformModules || []], c2 = new RegExp(`node_modules/(${h3.map((e4) => escapeStringRegexp(e4)).join("|")})/`);
4583
+ e3 || (e3 = process.cwd()), !s2 && isDir(e3) && (e3 = pathe_M_eThtNZ_join(e3, "_index.js"));
4584
+ const p3 = pathToFileURL2(e3), l2 = [...r3.extensions].filter((e4) => ".js" !== e4), u2 = i2.createRequire(Jt ? e3.replace(/\//g, "\\") : e3), d2 = { filename: e3, url: p3, opts: r3, alias: n2, nativeModules: a2, transformModules: h3, isNativeRe: o2, isTransformRe: c2, additionalExts: l2, nativeRequire: u2, onError: i2.onError, parentModule: i2.parentModule, parentCache: i2.parentCache, nativeImport: i2.nativeImport, createRequire: i2.createRequire };
4585
+ s2 || debug(d2, "[init]", ...[["version:", ut.rE], ["module-cache:", r3.moduleCache], ["fs-cache:", r3.fsCache], ["rebuild-fs-cache:", r3.rebuildFsCache], ["interop-defaults:", r3.interopDefault]].flat()), s2 || prepareCacheDir(d2);
4586
+ const f2 = Object.assign(function(e4) {
4634
4587
  return jitiRequire(d2, e4, { async: false });
4635
4588
  }, { cache: r3.moduleCache ? u2.cache : /* @__PURE__ */ Object.create(null), extensions: u2.extensions, main: u2.main, options: r3, resolve: Object.assign(function(e4) {
4636
4589
  return jitiResolve(d2, e4, { async: false });
@@ -4642,7 +4595,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
4642
4595
  const i3 = jitiResolve(d2, e4, { parentURL: p3, ...t4, async: true });
4643
4596
  return !i3 || "string" != typeof i3 || i3.startsWith("file://") ? i3 : pathToFileURL2(i3);
4644
4597
  } });
4645
- return f3;
4598
+ return f2;
4646
4599
  }
4647
4600
  })(), jiti.exports = i.default;
4648
4601
  })();
@@ -4788,7 +4741,7 @@ function _defu(baseObject, defaults2, namespace = ".", merger) {
4788
4741
  function createDefu(merger) {
4789
4742
  return (...arguments_) => (
4790
4743
  // eslint-disable-next-line unicorn/no-array-reduce
4791
- arguments_.reduce((p2, c2) => _defu(p2, c2, "", merger), {})
4744
+ arguments_.reduce((p2, c) => _defu(p2, c, "", merger), {})
4792
4745
  );
4793
4746
  }
4794
4747
  const defu = createDefu();
@@ -4950,26 +4903,26 @@ function readUser(options) {
4950
4903
  }
4951
4904
  const m$1 = Symbol.for("__confbox_fmt__"), k$2 = /^(\s+)/, v = /(\s+)$/;
4952
4905
  function x$2(e, t = {}) {
4953
- const n = t.indent === void 0 && t.preserveIndentation !== false && e.slice(0, t?.sampleSize || 1024), s2 = t.preserveWhitespace === false ? void 0 : { start: k$2.exec(e)?.[0] || "", end: v.exec(e)?.[0] || "" };
4954
- return { sample: n, whiteSpace: s2 };
4906
+ const n = t.indent === void 0 && t.preserveIndentation !== false && e.slice(0, t?.sampleSize || 1024), s = t.preserveWhitespace === false ? void 0 : { start: k$2.exec(e)?.[0] || "", end: v.exec(e)?.[0] || "" };
4907
+ return { sample: n, whiteSpace: s };
4955
4908
  }
4956
4909
  function N$2(e, t, n) {
4957
4910
  !t || typeof t != "object" || Object.defineProperty(t, m$1, { enumerable: false, configurable: true, writable: true, value: x$2(e, n) });
4958
4911
  }
4959
4912
  function $$2(n, l = false) {
4960
4913
  const g2 = n.length;
4961
- let e = 0, u = "", p2 = 0, k2 = 16, A2 = 0, o2 = 0, O2 = 0, B2 = 0, b2 = 0;
4914
+ let e = 0, u = "", p2 = 0, k2 = 16, A2 = 0, o = 0, O2 = 0, B2 = 0, b2 = 0;
4962
4915
  function I2(i, T2) {
4963
- let s2 = 0, c2 = 0;
4964
- for (; s2 < i; ) {
4916
+ let s = 0, c = 0;
4917
+ for (; s < i; ) {
4965
4918
  let t = n.charCodeAt(e);
4966
- if (t >= 48 && t <= 57) c2 = c2 * 16 + t - 48;
4967
- else if (t >= 65 && t <= 70) c2 = c2 * 16 + t - 65 + 10;
4968
- else if (t >= 97 && t <= 102) c2 = c2 * 16 + t - 97 + 10;
4919
+ if (t >= 48 && t <= 57) c = c * 16 + t - 48;
4920
+ else if (t >= 65 && t <= 70) c = c * 16 + t - 65 + 10;
4921
+ else if (t >= 97 && t <= 102) c = c * 16 + t - 97 + 10;
4969
4922
  else break;
4970
- e++, s2++;
4923
+ e++, s++;
4971
4924
  }
4972
- return s2 < i && (c2 = -1), c2;
4925
+ return s < i && (c = -1), c;
4973
4926
  }
4974
4927
  function V2(i) {
4975
4928
  e = i, u = "", p2 = 0, k2 = 16, b2 = 0;
@@ -4987,19 +4940,19 @@ function $$2(n, l = false) {
4987
4940
  } else b2 = 3;
4988
4941
  return n.substring(i, T2);
4989
4942
  }
4990
- function a2() {
4943
+ function a() {
4991
4944
  let i = "", T2 = e;
4992
4945
  for (; ; ) {
4993
4946
  if (e >= g2) {
4994
4947
  i += n.substring(T2, e), b2 = 2;
4995
4948
  break;
4996
4949
  }
4997
- const s2 = n.charCodeAt(e);
4998
- if (s2 === 34) {
4950
+ const s = n.charCodeAt(e);
4951
+ if (s === 34) {
4999
4952
  i += n.substring(T2, e), e++;
5000
4953
  break;
5001
4954
  }
5002
- if (s2 === 92) {
4955
+ if (s === 92) {
5003
4956
  if (i += n.substring(T2, e), e++, e >= g2) {
5004
4957
  b2 = 2;
5005
4958
  break;
@@ -5040,7 +4993,7 @@ function $$2(n, l = false) {
5040
4993
  T2 = e;
5041
4994
  continue;
5042
4995
  }
5043
- if (s2 >= 0 && s2 <= 31) if (r(s2)) {
4996
+ if (s >= 0 && s <= 31) if (r(s)) {
5044
4997
  i += n.substring(T2, e), b2 = 2;
5045
4998
  break;
5046
4999
  } else b2 = 6;
@@ -5049,7 +5002,7 @@ function $$2(n, l = false) {
5049
5002
  return i;
5050
5003
  }
5051
5004
  function w2() {
5052
- if (u = "", b2 = 0, p2 = e, o2 = A2, B2 = O2, e >= g2) return p2 = g2, k2 = 17;
5005
+ if (u = "", b2 = 0, p2 = e, o = A2, B2 = O2, e >= g2) return p2 = g2, k2 = 17;
5053
5006
  let i = n.charCodeAt(e);
5054
5007
  if (J$2(i)) {
5055
5008
  do
@@ -5073,7 +5026,7 @@ function $$2(n, l = false) {
5073
5026
  case 44:
5074
5027
  return e++, k2 = 5;
5075
5028
  case 34:
5076
- return e++, u = a2(), k2 = 10;
5029
+ return e++, u = a(), k2 = 10;
5077
5030
  case 47:
5078
5031
  const T2 = e - 1;
5079
5032
  if (n.charCodeAt(e + 1) === 47) {
@@ -5082,17 +5035,17 @@ function $$2(n, l = false) {
5082
5035
  }
5083
5036
  if (n.charCodeAt(e + 1) === 42) {
5084
5037
  e += 2;
5085
- const s2 = g2 - 1;
5086
- let c2 = false;
5087
- for (; e < s2; ) {
5038
+ const s = g2 - 1;
5039
+ let c = false;
5040
+ for (; e < s; ) {
5088
5041
  const t = n.charCodeAt(e);
5089
5042
  if (t === 42 && n.charCodeAt(e + 1) === 47) {
5090
- e += 2, c2 = true;
5043
+ e += 2, c = true;
5091
5044
  break;
5092
5045
  }
5093
5046
  e++, r(t) && (t === 13 && n.charCodeAt(e) === 10 && e++, A2++, O2 = e);
5094
5047
  }
5095
- return c2 || (e++, b2 = 1), u = n.substring(T2, e), k2 = 13;
5048
+ return c || (e++, b2 = 1), u = n.substring(T2, e), k2 = 13;
5096
5049
  }
5097
5050
  return u += String.fromCharCode(i), e++, k2 = 16;
5098
5051
  case 45:
@@ -5146,7 +5099,7 @@ function $$2(n, l = false) {
5146
5099
  while (i >= 12 && i <= 15);
5147
5100
  return i;
5148
5101
  }
5149
- return { setPosition: V2, getPosition: () => e, scan: l ? j2 : w2, getToken: () => k2, getTokenValue: () => u, getTokenOffset: () => p2, getTokenLength: () => e - p2, getTokenStartLine: () => o2, getTokenStartCharacter: () => p2 - B2, getTokenError: () => b2 };
5102
+ return { setPosition: V2, getPosition: () => e, scan: l ? j2 : w2, getToken: () => k2, getTokenValue: () => u, getTokenOffset: () => p2, getTokenLength: () => e - p2, getTokenStartLine: () => o, getTokenStartCharacter: () => p2 - B2, getTokenError: () => b2 };
5150
5103
  }
5151
5104
  function J$2(n) {
5152
5105
  return n === 32 || n === 9;
@@ -5174,51 +5127,51 @@ var U$2;
5174
5127
  function S$2(n, l = [], g2 = U$2.DEFAULT) {
5175
5128
  let e = null, u = [];
5176
5129
  const p2 = [];
5177
- function k2(o2) {
5178
- Array.isArray(u) ? u.push(o2) : e !== null && (u[e] = o2);
5130
+ function k2(o) {
5131
+ Array.isArray(u) ? u.push(o) : e !== null && (u[e] = o);
5179
5132
  }
5180
5133
  return P$2(n, { onObjectBegin: () => {
5181
- const o2 = {};
5182
- k2(o2), p2.push(u), u = o2, e = null;
5183
- }, onObjectProperty: (o2) => {
5184
- e = o2;
5134
+ const o = {};
5135
+ k2(o), p2.push(u), u = o, e = null;
5136
+ }, onObjectProperty: (o) => {
5137
+ e = o;
5185
5138
  }, onObjectEnd: () => {
5186
5139
  u = p2.pop();
5187
5140
  }, onArrayBegin: () => {
5188
- const o2 = [];
5189
- k2(o2), p2.push(u), u = o2, e = null;
5141
+ const o = [];
5142
+ k2(o), p2.push(u), u = o, e = null;
5190
5143
  }, onArrayEnd: () => {
5191
5144
  u = p2.pop();
5192
- }, onLiteralValue: k2, onError: (o2, O2, B2) => {
5193
- l.push({ error: o2, offset: O2, length: B2 });
5145
+ }, onLiteralValue: k2, onError: (o, O2, B2) => {
5146
+ l.push({ error: o, offset: O2, length: B2 });
5194
5147
  } }, g2), u[0];
5195
5148
  }
5196
5149
  function P$2(n, l, g2 = U$2.DEFAULT) {
5197
5150
  const e = $$2(n, false), u = [];
5198
5151
  let p2 = 0;
5199
- function k2(f2) {
5200
- return f2 ? () => p2 === 0 && f2(e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter()) : () => true;
5152
+ function k2(f) {
5153
+ return f ? () => p2 === 0 && f(e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter()) : () => true;
5201
5154
  }
5202
- function A2(f2) {
5203
- return f2 ? (m2) => p2 === 0 && f2(m2, e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter()) : () => true;
5155
+ function A2(f) {
5156
+ return f ? (m2) => p2 === 0 && f(m2, e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter()) : () => true;
5204
5157
  }
5205
- function o2(f2) {
5206
- return f2 ? (m2) => p2 === 0 && f2(m2, e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter(), () => u.slice()) : () => true;
5158
+ function o(f) {
5159
+ return f ? (m2) => p2 === 0 && f(m2, e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter(), () => u.slice()) : () => true;
5207
5160
  }
5208
- function O2(f2) {
5209
- return f2 ? () => {
5210
- p2 > 0 ? p2++ : f2(e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter(), () => u.slice()) === false && (p2 = 1);
5161
+ function O2(f) {
5162
+ return f ? () => {
5163
+ p2 > 0 ? p2++ : f(e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter(), () => u.slice()) === false && (p2 = 1);
5211
5164
  } : () => true;
5212
5165
  }
5213
- function B2(f2) {
5214
- return f2 ? () => {
5215
- p2 > 0 && p2--, p2 === 0 && f2(e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter());
5166
+ function B2(f) {
5167
+ return f ? () => {
5168
+ p2 > 0 && p2--, p2 === 0 && f(e.getTokenOffset(), e.getTokenLength(), e.getTokenStartLine(), e.getTokenStartCharacter());
5216
5169
  } : () => true;
5217
5170
  }
5218
- const b2 = O2(l.onObjectBegin), I2 = o2(l.onObjectProperty), V2 = B2(l.onObjectEnd), F2 = O2(l.onArrayBegin), a2 = B2(l.onArrayEnd), w2 = o2(l.onLiteralValue), v2 = A2(l.onSeparator), j2 = k2(l.onComment), i = A2(l.onError), T2 = g2 && g2.disallowComments, s2 = g2 && g2.allowTrailingComma;
5219
- function c2() {
5171
+ const b2 = O2(l.onObjectBegin), I2 = o(l.onObjectProperty), V2 = B2(l.onObjectEnd), F2 = O2(l.onArrayBegin), a = B2(l.onArrayEnd), w2 = o(l.onLiteralValue), v2 = A2(l.onSeparator), j2 = k2(l.onComment), i = A2(l.onError), T2 = g2 && g2.disallowComments, s = g2 && g2.allowTrailingComma;
5172
+ function c() {
5220
5173
  for (; ; ) {
5221
- const f2 = e.scan();
5174
+ const f = e.scan();
5222
5175
  switch (e.getTokenError()) {
5223
5176
  case 4:
5224
5177
  t(14);
@@ -5239,7 +5192,7 @@ function P$2(n, l, g2 = U$2.DEFAULT) {
5239
5192
  t(16);
5240
5193
  break;
5241
5194
  }
5242
- switch (f2) {
5195
+ switch (f) {
5243
5196
  case 12:
5244
5197
  case 13:
5245
5198
  T2 ? t(10) : j2();
@@ -5251,31 +5204,31 @@ function P$2(n, l, g2 = U$2.DEFAULT) {
5251
5204
  case 14:
5252
5205
  break;
5253
5206
  default:
5254
- return f2;
5207
+ return f;
5255
5208
  }
5256
5209
  }
5257
5210
  }
5258
- function t(f2, m2 = [], y2 = []) {
5259
- if (i(f2), m2.length + y2.length > 0) {
5211
+ function t(f, m2 = [], y = []) {
5212
+ if (i(f), m2.length + y.length > 0) {
5260
5213
  let _2 = e.getToken();
5261
5214
  for (; _2 !== 17; ) {
5262
5215
  if (m2.indexOf(_2) !== -1) {
5263
- c2();
5216
+ c();
5264
5217
  break;
5265
- } else if (y2.indexOf(_2) !== -1) break;
5266
- _2 = c2();
5218
+ } else if (y.indexOf(_2) !== -1) break;
5219
+ _2 = c();
5267
5220
  }
5268
5221
  }
5269
5222
  }
5270
- function D2(f2) {
5223
+ function D2(f) {
5271
5224
  const m2 = e.getTokenValue();
5272
- return f2 ? w2(m2) : (I2(m2), u.push(m2)), c2(), true;
5225
+ return f ? w2(m2) : (I2(m2), u.push(m2)), c(), true;
5273
5226
  }
5274
5227
  function G2() {
5275
5228
  switch (e.getToken()) {
5276
5229
  case 11:
5277
- const f2 = e.getTokenValue();
5278
- let m2 = Number(f2);
5230
+ const f = e.getTokenValue();
5231
+ let m2 = Number(f);
5279
5232
  isNaN(m2) && (t(2), m2 = 0), w2(m2);
5280
5233
  break;
5281
5234
  case 7:
@@ -5290,32 +5243,32 @@ function P$2(n, l, g2 = U$2.DEFAULT) {
5290
5243
  default:
5291
5244
  return false;
5292
5245
  }
5293
- return c2(), true;
5246
+ return c(), true;
5294
5247
  }
5295
5248
  function M2() {
5296
- return e.getToken() !== 10 ? (t(3, [], [2, 5]), false) : (D2(false), e.getToken() === 6 ? (v2(":"), c2(), E2() || t(4, [], [2, 5])) : t(5, [], [2, 5]), u.pop(), true);
5249
+ return e.getToken() !== 10 ? (t(3, [], [2, 5]), false) : (D2(false), e.getToken() === 6 ? (v2(":"), c(), E2() || t(4, [], [2, 5])) : t(5, [], [2, 5]), u.pop(), true);
5297
5250
  }
5298
5251
  function X2() {
5299
- b2(), c2();
5300
- let f2 = false;
5252
+ b2(), c();
5253
+ let f = false;
5301
5254
  for (; e.getToken() !== 2 && e.getToken() !== 17; ) {
5302
5255
  if (e.getToken() === 5) {
5303
- if (f2 || t(4, [], []), v2(","), c2(), e.getToken() === 2 && s2) break;
5304
- } else f2 && t(6, [], []);
5305
- M2() || t(4, [], [2, 5]), f2 = true;
5256
+ if (f || t(4, [], []), v2(","), c(), e.getToken() === 2 && s) break;
5257
+ } else f && t(6, [], []);
5258
+ M2() || t(4, [], [2, 5]), f = true;
5306
5259
  }
5307
- return V2(), e.getToken() !== 2 ? t(7, [2], []) : c2(), true;
5260
+ return V2(), e.getToken() !== 2 ? t(7, [2], []) : c(), true;
5308
5261
  }
5309
5262
  function Y2() {
5310
- F2(), c2();
5311
- let f2 = true, m2 = false;
5263
+ F2(), c();
5264
+ let f = true, m2 = false;
5312
5265
  for (; e.getToken() !== 4 && e.getToken() !== 17; ) {
5313
5266
  if (e.getToken() === 5) {
5314
- if (m2 || t(4, [], []), v2(","), c2(), e.getToken() === 4 && s2) break;
5267
+ if (m2 || t(4, [], []), v2(","), c(), e.getToken() === 4 && s) break;
5315
5268
  } else m2 && t(6, [], []);
5316
- f2 ? (u.push(0), f2 = false) : u[u.length - 1]++, E2() || t(4, [], [4, 5]), m2 = true;
5269
+ f ? (u.push(0), f = false) : u[u.length - 1]++, E2() || t(4, [], [4, 5]), m2 = true;
5317
5270
  }
5318
- return a2(), f2 || u.pop(), e.getToken() !== 4 ? t(8, [4], []) : c2(), true;
5271
+ return a(), f || u.pop(), e.getToken() !== 4 ? t(8, [4], []) : c(), true;
5319
5272
  }
5320
5273
  function E2() {
5321
5274
  switch (e.getToken()) {
@@ -5329,7 +5282,7 @@ function P$2(n, l, g2 = U$2.DEFAULT) {
5329
5282
  return G2();
5330
5283
  }
5331
5284
  }
5332
- return c2(), e.getToken() === 17 ? g2.allowEmptyContent ? true : (t(4, [], []), false) : E2() ? (e.getToken() !== 17 && t(9, [], []), true) : (t(4, [], []), false);
5285
+ return c(), e.getToken() === 17 ? g2.allowEmptyContent ? true : (t(4, [], []), false) : E2() ? (e.getToken() !== 17 && t(9, [], []), true) : (t(4, [], []), false);
5333
5286
  }
5334
5287
  var W$2;
5335
5288
  (function(n) {
@@ -5916,11 +5869,11 @@ function getDotEnvVars(targetEnvironment) {
5916
5869
  }
5917
5870
  const _normalize = (p2) => p2?.replace(/\\/g, "/");
5918
5871
  const ASYNC_LOADERS = {
5919
- ".yaml": () => import("./yaml-7uQ9Qi-A.js").then((r2) => r2.parseYAML),
5920
- ".yml": () => import("./yaml-7uQ9Qi-A.js").then((r2) => r2.parseYAML),
5921
- ".jsonc": () => import("./jsonc-DlUWLSWt.js").then((r2) => r2.parseJSONC),
5922
- ".json5": () => import("./json5-BBa2N_QR.js").then((r2) => r2.parseJSON5),
5923
- ".toml": () => import("./toml-DstbNVEm.js").then((r2) => r2.parseTOML)
5872
+ ".yaml": () => import("./yaml-VCOw0LQd.js").then((r2) => r2.parseYAML),
5873
+ ".yml": () => import("./yaml-VCOw0LQd.js").then((r2) => r2.parseYAML),
5874
+ ".jsonc": () => import("./jsonc-vOBrObxl.js").then((r2) => r2.parseJSONC),
5875
+ ".json5": () => import("./json5-DmfAJeEV.js").then((r2) => r2.parseJSON5),
5876
+ ".toml": () => import("./toml-DNCZMGE5.js").then((r2) => r2.parseTOML)
5924
5877
  };
5925
5878
  const SUPPORTED_EXTENSIONS = Object.freeze([
5926
5879
  // with jiti
@@ -6134,7 +6087,7 @@ async function resolveConfig(source, options, sourceOptions = {}) {
6134
6087
  ).map((key) => `${key}:`);
6135
6088
  const gigetPrefixes = customProviderKeys.length > 0 ? [.../* @__PURE__ */ new Set([...customProviderKeys, ...GIGET_PREFIXES])] : GIGET_PREFIXES;
6136
6089
  if (options.giget !== false && gigetPrefixes.some((prefix) => source.startsWith(prefix))) {
6137
- const { downloadTemplate } = await import("./index-hNSlMmId.js").then((n) => n.i);
6090
+ const { downloadTemplate } = await import("./index-ywNS35f6.js").then((n) => n.i);
6138
6091
  const { digest } = await import("./index-B2xSBfiT.js");
6139
6092
  const cloneName = source.replace(/\W+/g, "_").split("_").splice(0, 3).join("_") + "_" + digest(source).slice(0, 10).replace(/[-_]/g, "");
6140
6093
  let cloneDir;
@@ -6242,28 +6195,28 @@ function U$1(e, t) {
6242
6195
  const n = M$1, r2 = [];
6243
6196
  if (!e || typeof e != "string")
6244
6197
  return r2;
6245
- let c2 = "", a2, i;
6246
- for (const s2 of e) {
6247
- const o2 = n.includes(s2);
6248
- if (o2 === true) {
6249
- r2.push(c2), c2 = "", a2 = void 0;
6198
+ let c = "", a, i;
6199
+ for (const s of e) {
6200
+ const o = n.includes(s);
6201
+ if (o === true) {
6202
+ r2.push(c), c = "", a = void 0;
6250
6203
  continue;
6251
6204
  }
6252
- const u = $$1(s2);
6205
+ const u = $$1(s);
6253
6206
  if (i === false) {
6254
- if (a2 === false && u === true) {
6255
- r2.push(c2), c2 = s2, a2 = u;
6207
+ if (a === false && u === true) {
6208
+ r2.push(c), c = s, a = u;
6256
6209
  continue;
6257
6210
  }
6258
- if (a2 === true && u === false && c2.length > 1) {
6259
- const f2 = c2.at(-1);
6260
- r2.push(c2.slice(0, Math.max(0, c2.length - 1))), c2 = f2 + s2, a2 = u;
6211
+ if (a === true && u === false && c.length > 1) {
6212
+ const f = c.at(-1);
6213
+ r2.push(c.slice(0, Math.max(0, c.length - 1))), c = f + s, a = u;
6261
6214
  continue;
6262
6215
  }
6263
6216
  }
6264
- c2 += s2, a2 = u, i = o2;
6217
+ c += s, a = u, i = o;
6265
6218
  }
6266
- return r2.push(c2), r2;
6219
+ return r2.push(c), r2;
6267
6220
  }
6268
6221
  function _$1(e, t) {
6269
6222
  return e ? (Array.isArray(e) ? e : U$1(e)).map((n) => n.toLowerCase()).join("-") : "";
@@ -6304,52 +6257,52 @@ function C$1(e, t) {
6304
6257
  }
6305
6258
  function Q$1(e) {
6306
6259
  return function(n, r2) {
6307
- return Object.entries(n).map(([c2, a2]) => B$1(c2, e(a2, r2)));
6260
+ return Object.entries(n).map(([c, a]) => B$1(c, e(a, r2)));
6308
6261
  };
6309
6262
  }
6310
6263
  function E$1(e) {
6311
6264
  return function(n, r2) {
6312
- const a2 = (r2.variables?.name ?? w)({ name: n.name });
6313
- return z$1(a2, e(n.value, r2));
6265
+ const a = (r2.variables?.name ?? w)({ name: n.name });
6266
+ return z$1(a, e(n.value, r2));
6314
6267
  };
6315
6268
  }
6316
6269
  function S$1(e) {
6317
6270
  const t = E$1(e), n = Q$1(e);
6318
- return function(c2, a2, i) {
6319
- const { variables: s2, declarations: o2, children: u } = a2, f2 = c2 === ":root", l = (s2 ?? []).map(
6271
+ return function(c, a, i) {
6272
+ const { variables: s, declarations: o, children: u } = a, f = c === ":root", l = (s ?? []).map(
6320
6273
  (A2) => t(A2, i)
6321
6274
  ), m2 = n(
6322
- o2 ?? {},
6275
+ o ?? {},
6323
6276
  i
6324
- ), y2 = (u ?? []).map(
6277
+ ), y = (u ?? []).map(
6325
6278
  (A2) => e(A2, i)
6326
- ), d = l.length > 0, h2 = m2.length > 0, v2 = y2.length > 0;
6327
- return f2 ? `${d || h2 ? C$1(c2, [
6279
+ ), d = l.length > 0, h2 = m2.length > 0, v2 = y.length > 0;
6280
+ return f ? `${d || h2 ? C$1(c, [
6328
6281
  ...l,
6329
6282
  ...d && h2 ? [""] : [],
6330
6283
  ...m2
6331
6284
  ]) : ""}${v2 && (d || h2) ? `
6332
6285
 
6333
- ` : ""}${y2.join(`
6286
+ ` : ""}${y.join(`
6334
6287
 
6335
- `)}` : C$1(c2, [
6288
+ `)}` : C$1(c, [
6336
6289
  ...l,
6337
6290
  ...d && (v2 || h2) ? [""] : [],
6338
6291
  ...m2,
6339
6292
  ...h2 && v2 ? [""] : [],
6340
- ...y2.flatMap(
6341
- (A2, F2) => F2 === y2.length - 1 ? [A2] : [A2, ""]
6293
+ ...y.flatMap(
6294
+ (A2, F2) => F2 === y.length - 1 ? [A2] : [A2, ""]
6342
6295
  )
6343
6296
  ]);
6344
6297
  };
6345
6298
  }
6346
6299
  function Z(e) {
6347
6300
  const t = S$1(e);
6348
- return function(r2, c2) {
6349
- const a2 = N.includes(r2.identifier), i = R$1.includes(
6301
+ return function(r2, c) {
6302
+ const a = N.includes(r2.identifier), i = R$1.includes(
6350
6303
  r2.identifier
6351
- ), s2 = Object.keys(r2.declarations).length > 0, o2 = r2.variables.length > 0, u = r2.children.length > 0, f2 = L(r2.identifier, r2.rule);
6352
- return a2 || i && !(s2 || o2 || u) ? `${f2};` : t(f2, r2, c2);
6304
+ ), s = Object.keys(r2.declarations).length > 0, o = r2.variables.length > 0, u = r2.children.length > 0, f = L(r2.identifier, r2.rule);
6305
+ return a || i && !(s || o || u) ? `${f};` : t(f, r2, c);
6353
6306
  };
6354
6307
  }
6355
6308
  function W$1(e) {
@@ -6398,120 +6351,120 @@ function oe(e) {
6398
6351
  const t = /* @__PURE__ */ new Map();
6399
6352
  if (t.set(Date, (i) => new Date(i)), t.set(
6400
6353
  Map,
6401
- (i, s2) => new Map(r2(Array.from(i), s2))
6354
+ (i, s) => new Map(r2(Array.from(i), s))
6402
6355
  ), t.set(
6403
6356
  Set,
6404
- (i, s2) => new Set(r2(Array.from(i), s2))
6357
+ (i, s) => new Set(r2(Array.from(i), s))
6405
6358
  ), e.constructorHandlers)
6406
6359
  for (const i of e.constructorHandlers)
6407
6360
  t.set(i[0], i[1]);
6408
6361
  let n;
6409
- return e.proto ? a2 : c2;
6410
- function r2(i, s2) {
6411
- const o2 = Object.keys(i), u = Array.from({ length: o2.length });
6412
- for (let f2 = 0; f2 < o2.length; f2++) {
6413
- const l = o2[f2], m2 = i[l];
6414
- typeof m2 != "object" || m2 === null ? u[l] = m2 : m2.constructor !== Object && (n = t.get(m2.constructor)) ? u[l] = n(m2, s2) : ArrayBuffer.isView(m2) ? u[l] = g$1(m2) : u[l] = s2(m2);
6362
+ return e.proto ? a : c;
6363
+ function r2(i, s) {
6364
+ const o = Object.keys(i), u = Array.from({ length: o.length });
6365
+ for (let f = 0; f < o.length; f++) {
6366
+ const l = o[f], m2 = i[l];
6367
+ typeof m2 != "object" || m2 === null ? u[l] = m2 : m2.constructor !== Object && (n = t.get(m2.constructor)) ? u[l] = n(m2, s) : ArrayBuffer.isView(m2) ? u[l] = g$1(m2) : u[l] = s(m2);
6415
6368
  }
6416
6369
  return u;
6417
6370
  }
6418
- function c2(i) {
6371
+ function c(i) {
6419
6372
  if (typeof i != "object" || i === null) return i;
6420
- if (Array.isArray(i)) return r2(i, c2);
6373
+ if (Array.isArray(i)) return r2(i, c);
6421
6374
  if (i.constructor !== Object && (n = t.get(i.constructor)))
6422
- return n(i, c2);
6423
- const s2 = {};
6424
- for (const o2 in i) {
6425
- if (Object.hasOwnProperty.call(i, o2) === false) continue;
6426
- const u = i[o2];
6427
- typeof u != "object" || u === null ? s2[o2] = u : u.constructor !== Object && (n = t.get(u.constructor)) ? s2[o2] = n(u, c2) : ArrayBuffer.isView(u) ? s2[o2] = g$1(u) : s2[o2] = c2(u);
6375
+ return n(i, c);
6376
+ const s = {};
6377
+ for (const o in i) {
6378
+ if (Object.hasOwnProperty.call(i, o) === false) continue;
6379
+ const u = i[o];
6380
+ typeof u != "object" || u === null ? s[o] = u : u.constructor !== Object && (n = t.get(u.constructor)) ? s[o] = n(u, c) : ArrayBuffer.isView(u) ? s[o] = g$1(u) : s[o] = c(u);
6428
6381
  }
6429
- return s2;
6382
+ return s;
6430
6383
  }
6431
- function a2(i) {
6384
+ function a(i) {
6432
6385
  if (typeof i != "object" || i === null) return i;
6433
- if (Array.isArray(i)) return r2(i, a2);
6386
+ if (Array.isArray(i)) return r2(i, a);
6434
6387
  if (i.constructor !== Object && (n = t.get(i.constructor)))
6435
- return n(i, a2);
6436
- const s2 = {};
6437
- for (const o2 in i) {
6438
- const u = i[o2];
6439
- typeof u != "object" || u === null ? s2[o2] = u : u.constructor !== Object && (n = t.get(u.constructor)) ? s2[o2] = n(u, a2) : ArrayBuffer.isView(u) ? s2[o2] = g$1(u) : s2[o2] = a2(u);
6388
+ return n(i, a);
6389
+ const s = {};
6390
+ for (const o in i) {
6391
+ const u = i[o];
6392
+ typeof u != "object" || u === null ? s[o] = u : u.constructor !== Object && (n = t.get(u.constructor)) ? s[o] = n(u, a) : ArrayBuffer.isView(u) ? s[o] = g$1(u) : s[o] = a(u);
6440
6393
  }
6441
- return s2;
6394
+ return s;
6442
6395
  }
6443
6396
  }
6444
6397
  function ue$1(e) {
6445
6398
  const t = [], n = [], r2 = /* @__PURE__ */ new Map();
6446
- if (r2.set(Date, (o2) => new Date(o2)), r2.set(
6399
+ if (r2.set(Date, (o) => new Date(o)), r2.set(
6447
6400
  Map,
6448
- (o2, u) => new Map(a2(Array.from(o2), u))
6401
+ (o, u) => new Map(a(Array.from(o), u))
6449
6402
  ), r2.set(
6450
6403
  Set,
6451
- (o2, u) => new Set(a2(Array.from(o2), u))
6404
+ (o, u) => new Set(a(Array.from(o), u))
6452
6405
  ), e.constructorHandlers)
6453
- for (const o2 of e.constructorHandlers)
6454
- r2.set(o2[0], o2[1]);
6455
- let c2;
6456
- return e.proto ? s2 : i;
6457
- function a2(o2, u) {
6458
- const f2 = Object.keys(o2), l = Array.from({ length: f2.length });
6459
- for (let m2 = 0; m2 < f2.length; m2++) {
6460
- const y2 = f2[m2], d = o2[y2];
6406
+ for (const o of e.constructorHandlers)
6407
+ r2.set(o[0], o[1]);
6408
+ let c;
6409
+ return e.proto ? s : i;
6410
+ function a(o, u) {
6411
+ const f = Object.keys(o), l = Array.from({ length: f.length });
6412
+ for (let m2 = 0; m2 < f.length; m2++) {
6413
+ const y = f[m2], d = o[y];
6461
6414
  if (typeof d != "object" || d === null)
6462
- l[y2] = d;
6463
- else if (d.constructor !== Object && (c2 = r2.get(d.constructor)))
6464
- l[y2] = c2(d, u);
6415
+ l[y] = d;
6416
+ else if (d.constructor !== Object && (c = r2.get(d.constructor)))
6417
+ l[y] = c(d, u);
6465
6418
  else if (ArrayBuffer.isView(d))
6466
- l[y2] = g$1(d);
6419
+ l[y] = g$1(d);
6467
6420
  else {
6468
6421
  const h2 = t.indexOf(d);
6469
- h2 !== -1 ? l[y2] = n[h2] : l[y2] = u(d);
6422
+ h2 !== -1 ? l[y] = n[h2] : l[y] = u(d);
6470
6423
  }
6471
6424
  }
6472
6425
  return l;
6473
6426
  }
6474
- function i(o2) {
6475
- if (typeof o2 != "object" || o2 === null) return o2;
6476
- if (Array.isArray(o2)) return a2(o2, i);
6477
- if (o2.constructor !== Object && (c2 = r2.get(o2.constructor)))
6478
- return c2(o2, i);
6427
+ function i(o) {
6428
+ if (typeof o != "object" || o === null) return o;
6429
+ if (Array.isArray(o)) return a(o, i);
6430
+ if (o.constructor !== Object && (c = r2.get(o.constructor)))
6431
+ return c(o, i);
6479
6432
  const u = {};
6480
- t.push(o2), n.push(u);
6481
- for (const f2 in o2) {
6482
- if (Object.hasOwnProperty.call(o2, f2) === false) continue;
6483
- const l = o2[f2];
6433
+ t.push(o), n.push(u);
6434
+ for (const f in o) {
6435
+ if (Object.hasOwnProperty.call(o, f) === false) continue;
6436
+ const l = o[f];
6484
6437
  if (typeof l != "object" || l === null)
6485
- u[f2] = l;
6486
- else if (l.constructor !== Object && (c2 = r2.get(l.constructor)))
6487
- u[f2] = c2(l, i);
6438
+ u[f] = l;
6439
+ else if (l.constructor !== Object && (c = r2.get(l.constructor)))
6440
+ u[f] = c(l, i);
6488
6441
  else if (ArrayBuffer.isView(l))
6489
- u[f2] = g$1(l);
6442
+ u[f] = g$1(l);
6490
6443
  else {
6491
6444
  const m2 = t.indexOf(l);
6492
- m2 !== -1 ? u[f2] = n[m2] : u[f2] = i(l);
6445
+ m2 !== -1 ? u[f] = n[m2] : u[f] = i(l);
6493
6446
  }
6494
6447
  }
6495
6448
  return t.pop(), n.pop(), u;
6496
6449
  }
6497
- function s2(o2) {
6498
- if (typeof o2 != "object" || o2 === null) return o2;
6499
- if (Array.isArray(o2)) return a2(o2, s2);
6500
- if (o2.constructor !== Object && (c2 = r2.get(o2.constructor)))
6501
- return c2(o2, s2);
6450
+ function s(o) {
6451
+ if (typeof o != "object" || o === null) return o;
6452
+ if (Array.isArray(o)) return a(o, s);
6453
+ if (o.constructor !== Object && (c = r2.get(o.constructor)))
6454
+ return c(o, s);
6502
6455
  const u = {};
6503
- t.push(o2), n.push(u);
6504
- for (const f2 in o2) {
6505
- const l = o2[f2];
6456
+ t.push(o), n.push(u);
6457
+ for (const f in o) {
6458
+ const l = o[f];
6506
6459
  if (typeof l != "object" || l === null)
6507
- u[f2] = l;
6508
- else if (l.constructor !== Object && (c2 = r2.get(l.constructor)))
6509
- u[f2] = c2(l, s2);
6460
+ u[f] = l;
6461
+ else if (l.constructor !== Object && (c = r2.get(l.constructor)))
6462
+ u[f] = c(l, s);
6510
6463
  else if (ArrayBuffer.isView(l))
6511
- u[f2] = g$1(l);
6464
+ u[f] = g$1(l);
6512
6465
  else {
6513
6466
  const m2 = t.indexOf(l);
6514
- m2 !== -1 ? u[f2] = n[m2] : u[f2] = s2(l);
6467
+ m2 !== -1 ? u[f] = n[m2] : u[f] = s(l);
6515
6468
  }
6516
6469
  }
6517
6470
  return t.pop(), n.pop(), u;
@@ -6520,7 +6473,7 @@ function ue$1(e) {
6520
6473
  oe();
6521
6474
  function ce(e) {
6522
6475
  return function(n, r2) {
6523
- return n.value.map((c2) => e(c2, r2)).join("").trim();
6476
+ return n.value.map((c) => e(c, r2)).join("").trim();
6524
6477
  };
6525
6478
  }
6526
6479
  function ie(e) {
@@ -6530,19 +6483,19 @@ function ie(e) {
6530
6483
  }
6531
6484
  function se(e) {
6532
6485
  return function(n, r2) {
6533
- const a2 = (r2.variables?.name ?? w)({ name: n.name });
6486
+ const a = (r2.variables?.name ?? w)({ name: n.name });
6534
6487
  return H$1(
6535
- a2,
6488
+ a,
6536
6489
  n.fallback ? e(n.fallback, r2) : void 0
6537
6490
  );
6538
6491
  };
6539
6492
  }
6540
6493
  function ae(e) {
6541
6494
  const t = S$1(e);
6542
- return function(r2, c2) {
6495
+ return function(r2, c) {
6543
6496
  return r2.themes.reduce(
6544
- (a2, i) => (a2.push(e(i, c2)), a2),
6545
- [t(":root", r2, c2)]
6497
+ (a, i) => (a.push(e(i, c)), a),
6498
+ [t(":root", r2, c)]
6546
6499
  // Default theme (root)
6547
6500
  ).join(`
6548
6501
 
@@ -6551,51 +6504,51 @@ function ae(e) {
6551
6504
  }
6552
6505
  function le(e) {
6553
6506
  const t = S$1(e);
6554
- return function(r2, c2) {
6555
- return t(r2.query, r2, c2);
6507
+ return function(r2, c) {
6508
+ return t(r2.query, r2, c);
6556
6509
  };
6557
6510
  }
6558
6511
  function fe(e) {
6559
6512
  const t = S$1(e);
6560
- return function(r2, c2) {
6561
- const i = (c2.theme?.selector ?? D$1)({ name: r2.name });
6562
- return t(i, r2, c2);
6513
+ return function(r2, c) {
6514
+ const i = (c.theme?.selector ?? D$1)({ name: r2.name });
6515
+ return t(i, r2, c);
6563
6516
  };
6564
6517
  }
6565
6518
  function me(e) {
6566
6519
  const t = S$1(e);
6567
- return function(r2, c2) {
6568
- const a2 = [], s2 = (c2.utilities?.selector ?? I)({
6520
+ return function(r2, c) {
6521
+ const a = [], s = (c.utilities?.selector ?? I)({
6569
6522
  name: r2.name,
6570
6523
  value: r2.value,
6571
6524
  modifiers: r2.modifiers
6572
6525
  });
6573
- return a2.push(t(s2, r2, c2)), a2.join(`
6526
+ return a.push(t(s, r2, c)), a.join(`
6574
6527
 
6575
6528
  `);
6576
6529
  };
6577
6530
  }
6578
6531
  function p$1(e, t) {
6579
- const n = ae(p$1), r2 = le(p$1), c2 = me(p$1), a2 = Z(p$1), i = fe(p$1), s2 = E$1(p$1), o2 = se(p$1), u = ce(p$1), f2 = ie();
6532
+ const n = ae(p$1), r2 = le(p$1), c = me(p$1), a = Z(p$1), i = fe(p$1), s = E$1(p$1), o = se(p$1), u = ce(p$1), f = ie();
6580
6533
  switch (true) {
6581
6534
  case Y$1(e):
6582
6535
  return r2(e, t);
6583
6536
  case ee(e):
6584
- return c2(e, t);
6537
+ return c(e, t);
6585
6538
  case X$1(e):
6586
- return a2(e, t);
6539
+ return a(e, t);
6587
6540
  case re(e):
6588
6541
  return n(e, t);
6589
6542
  case ne(e):
6590
6543
  return i(e, t);
6591
6544
  case J$1(e):
6592
- return s2(e, t);
6545
+ return s(e, t);
6593
6546
  case G$1(e):
6594
- return o2(e, t);
6547
+ return o(e, t);
6595
6548
  case te(e):
6596
6549
  return u(e, t);
6597
6550
  default:
6598
- return f2(e, t);
6551
+ return f(e, t);
6599
6552
  }
6600
6553
  }
6601
6554
  function T$1(e, t) {
@@ -6638,11 +6591,11 @@ async function be({
6638
6591
  }) {
6639
6592
  const n = new TextEncoder().encode(e), r2 = Uint8Array.from(
6640
6593
  atob(t),
6641
- (a2) => a2.charCodeAt(0)
6642
- ), c2 = await he(de);
6594
+ (a) => a.charCodeAt(0)
6595
+ ), c = await he(de);
6643
6596
  if (!await crypto.subtle.verify(
6644
6597
  { name: "RSASSA-PKCS1-v1_5" },
6645
- c2,
6598
+ c,
6646
6599
  r2,
6647
6600
  n
6648
6601
  ))
@@ -6721,19 +6674,19 @@ async function Ce(e, {
6721
6674
  type: t = "all",
6722
6675
  consumers: n = { css: p$1, ts: T$1 }
6723
6676
  } = {}) {
6724
- const r2 = { files: [] }, c2 = e.options;
6677
+ const r2 = { files: [] }, c = e.options;
6725
6678
  if (Ae(e)) {
6726
- const s2 = await ge(e);
6727
- (!s2.valid || s2.instanceId !== e.id) && Se(e);
6679
+ const s = await ge(e);
6680
+ (!s.valid || s.instanceId !== e.id) && Se(e);
6728
6681
  }
6729
- const { recipes: a2, ...i } = e.root;
6682
+ const { recipes: a, ...i } = e.root;
6730
6683
  if (t === "all" || t === "css") {
6731
- const s2 = j("index.css", n.css(i, c2));
6732
- r2.files.push(s2);
6684
+ const s = j("index.css", n.css(i, c));
6685
+ r2.files.push(s);
6733
6686
  }
6734
6687
  if (t === "all" || t === "ts") {
6735
- const s2 = j("index.ts", n.ts([], c2));
6736
- r2.files.push(s2);
6688
+ const s = j("index.ts", n.ts([], c));
6689
+ r2.files.push(s);
6737
6690
  }
6738
6691
  return r2;
6739
6692
  }
@@ -6746,8 +6699,8 @@ async function directoryExists(path2) {
6746
6699
  }
6747
6700
  }
6748
6701
  async function build$2(instance, { clean = true, outputDir = "./styleframe", transpiler } = {}) {
6749
- await L$2(instance, {
6750
- licenseKey: I$1() || "",
6702
+ await validateInstanceLicense(instance, {
6703
+ licenseKey: getLicenseKeyFromEnv() || "",
6751
6704
  environment: process.env.NODE_ENV || "development",
6752
6705
  isBuild: true
6753
6706
  });
@@ -6770,7 +6723,7 @@ function k(e, r2) {
6770
6723
  return function(t, ...i) {
6771
6724
  return {
6772
6725
  type: "css",
6773
- value: t.reduce((o2, u, c2) => (o2.push(u), c2 < i.length && o2.push(i[c2]), o2), [])
6726
+ value: t.reduce((o, u, c) => (o.push(u), c < i.length && o.push(i[c]), o), [])
6774
6727
  };
6775
6728
  };
6776
6729
  }
@@ -6799,28 +6752,28 @@ function C(e) {
6799
6752
  return M(e) && "children" in e && "declarations" in e && "variables" in e;
6800
6753
  }
6801
6754
  function R(e, r2) {
6802
- return function(t, i, s2) {
6803
- const o2 = {
6755
+ return function(t, i, s) {
6756
+ const o = {
6804
6757
  type: "at-rule",
6805
6758
  identifier: t,
6806
6759
  rule: i,
6807
6760
  declarations: {},
6808
6761
  variables: [],
6809
6762
  children: []
6810
- }, u = b(o2, r2);
6811
- return typeof s2 == "function" ? o2.declarations = s2(u) ?? {} : s2 && (o2.declarations = s2), g(o2.declarations, u), e.children.push(o2), o2;
6763
+ }, u = b(o, r2);
6764
+ return typeof s == "function" ? o.declarations = s(u) ?? {} : s && (o.declarations = s), g(o.declarations, u), e.children.push(o), o;
6812
6765
  };
6813
6766
  }
6814
6767
  function S(e, r2) {
6815
6768
  const n = R(e, r2);
6816
- return function(i, s2) {
6817
- return n("media", i, s2);
6769
+ return function(i, s) {
6770
+ return n("media", i, s);
6818
6771
  };
6819
6772
  }
6820
6773
  function E(e, r2) {
6821
6774
  const n = R(e, r2);
6822
- return function(i, s2) {
6823
- return n("keyframes", i, s2);
6775
+ return function(i, s) {
6776
+ return n("keyframes", i, s);
6824
6777
  };
6825
6778
  }
6826
6779
  function P(e, r2) {
@@ -6838,45 +6791,45 @@ function P(e, r2) {
6838
6791
  }
6839
6792
  function D(e, r2) {
6840
6793
  return function(t, i) {
6841
- const s2 = {
6794
+ const s = {
6842
6795
  type: "selector",
6843
6796
  query: t,
6844
6797
  declarations: {},
6845
6798
  variables: [],
6846
6799
  children: []
6847
- }, o2 = b(s2, r2);
6848
- return typeof i == "function" ? s2.declarations = i(o2) ?? {} : C(i) ? (s2.variables = i.variables, s2.declarations = i.declarations, s2.children = i.children) : s2.declarations = i, g(s2.declarations, o2), e.children.push(s2), s2;
6800
+ }, o = b(s, r2);
6801
+ return typeof i == "function" ? s.declarations = i(o) ?? {} : C(i) ? (s.variables = i.variables, s.declarations = i.declarations, s.children = i.children) : s.declarations = i, g(s.declarations, o), e.children.push(s), s;
6849
6802
  };
6850
6803
  }
6851
6804
  function H(e, r2) {
6852
- return function(t, i, s2 = {
6805
+ return function(t, i, s = {
6853
6806
  default: false
6854
6807
  }) {
6855
- const o2 = typeof t == "string" ? t : t.name, u = e.variables.find(
6856
- (f2) => f2.name === o2
6808
+ const o = typeof t == "string" ? t : t.name, u = e.variables.find(
6809
+ (f) => f.name === o
6857
6810
  );
6858
- if (s2.default && u)
6811
+ if (s.default && u)
6859
6812
  return u;
6860
6813
  if (u)
6861
6814
  return u.value = i, u;
6862
- const c2 = {
6815
+ const c = {
6863
6816
  type: "variable",
6864
- name: o2,
6817
+ name: o,
6865
6818
  value: i
6866
6819
  };
6867
- return e.variables.push(c2), c2;
6820
+ return e.variables.push(c), c;
6868
6821
  };
6869
6822
  }
6870
6823
  function b(e, r2) {
6871
- const n = H(e), t = D(e, r2), i = R(e, r2), s2 = E(r2, r2), o2 = S(e, r2), u = P(), c2 = k();
6824
+ const n = H(e), t = D(e, r2), i = R(e, r2), s = E(r2, r2), o = S(e, r2), u = P(), c = k();
6872
6825
  return {
6873
6826
  variable: n,
6874
6827
  selector: t,
6875
- keyframes: s2,
6828
+ keyframes: s,
6876
6829
  atRule: i,
6877
- media: o2,
6830
+ media: o,
6878
6831
  ref: u,
6879
- css: c2
6832
+ css: c
6880
6833
  };
6881
6834
  }
6882
6835
  function g(e, r2) {
@@ -6884,8 +6837,8 @@ function g(e, r2) {
6884
6837
  if (n.startsWith("@")) {
6885
6838
  const t = e[n];
6886
6839
  if (typeof t == "object" && t !== null && !O(t)) {
6887
- const i = n.replace(/^@(\w+).*/, "$1"), s2 = n.replace(`@${i}`, "").trim();
6888
- r2.atRule(i, s2, t), delete e[n];
6840
+ const i = n.replace(/^@(\w+).*/, "$1"), s = n.replace(`@${i}`, "").trim();
6841
+ r2.atRule(i, s, t), delete e[n];
6889
6842
  }
6890
6843
  } else if (/^[.&:]/.test(n)) {
6891
6844
  const t = e[n];
@@ -6907,125 +6860,125 @@ function K(e) {
6907
6860
  if (e = e || {}, e.circular)
6908
6861
  return U(e);
6909
6862
  const r2 = /* @__PURE__ */ new Map();
6910
- if (r2.set(Date, (o2) => new Date(o2)), r2.set(
6863
+ if (r2.set(Date, (o) => new Date(o)), r2.set(
6911
6864
  Map,
6912
- (o2, u) => new Map(t(Array.from(o2), u))
6865
+ (o, u) => new Map(t(Array.from(o), u))
6913
6866
  ), r2.set(
6914
6867
  Set,
6915
- (o2, u) => new Set(t(Array.from(o2), u))
6868
+ (o, u) => new Set(t(Array.from(o), u))
6916
6869
  ), e.constructorHandlers)
6917
- for (const o2 of e.constructorHandlers)
6918
- r2.set(o2[0], o2[1]);
6870
+ for (const o of e.constructorHandlers)
6871
+ r2.set(o[0], o[1]);
6919
6872
  let n;
6920
- return e.proto ? s2 : i;
6921
- function t(o2, u) {
6922
- const c2 = Object.keys(o2), f2 = Array.from({ length: c2.length });
6923
- for (let a2 = 0; a2 < c2.length; a2++) {
6924
- const l = c2[a2], y2 = o2[l];
6925
- typeof y2 != "object" || y2 === null ? f2[l] = y2 : y2.constructor !== Object && (n = r2.get(y2.constructor)) ? f2[l] = n(y2, u) : ArrayBuffer.isView(y2) ? f2[l] = m(y2) : f2[l] = u(y2);
6926
- }
6927
- return f2;
6928
- }
6929
- function i(o2) {
6930
- if (typeof o2 != "object" || o2 === null) return o2;
6931
- if (Array.isArray(o2)) return t(o2, i);
6932
- if (o2.constructor !== Object && (n = r2.get(o2.constructor)))
6933
- return n(o2, i);
6873
+ return e.proto ? s : i;
6874
+ function t(o, u) {
6875
+ const c = Object.keys(o), f = Array.from({ length: c.length });
6876
+ for (let a = 0; a < c.length; a++) {
6877
+ const l = c[a], y = o[l];
6878
+ typeof y != "object" || y === null ? f[l] = y : y.constructor !== Object && (n = r2.get(y.constructor)) ? f[l] = n(y, u) : ArrayBuffer.isView(y) ? f[l] = m(y) : f[l] = u(y);
6879
+ }
6880
+ return f;
6881
+ }
6882
+ function i(o) {
6883
+ if (typeof o != "object" || o === null) return o;
6884
+ if (Array.isArray(o)) return t(o, i);
6885
+ if (o.constructor !== Object && (n = r2.get(o.constructor)))
6886
+ return n(o, i);
6934
6887
  const u = {};
6935
- for (const c2 in o2) {
6936
- if (Object.hasOwnProperty.call(o2, c2) === false) continue;
6937
- const f2 = o2[c2];
6938
- typeof f2 != "object" || f2 === null ? u[c2] = f2 : f2.constructor !== Object && (n = r2.get(f2.constructor)) ? u[c2] = n(f2, i) : ArrayBuffer.isView(f2) ? u[c2] = m(f2) : u[c2] = i(f2);
6888
+ for (const c in o) {
6889
+ if (Object.hasOwnProperty.call(o, c) === false) continue;
6890
+ const f = o[c];
6891
+ typeof f != "object" || f === null ? u[c] = f : f.constructor !== Object && (n = r2.get(f.constructor)) ? u[c] = n(f, i) : ArrayBuffer.isView(f) ? u[c] = m(f) : u[c] = i(f);
6939
6892
  }
6940
6893
  return u;
6941
6894
  }
6942
- function s2(o2) {
6943
- if (typeof o2 != "object" || o2 === null) return o2;
6944
- if (Array.isArray(o2)) return t(o2, s2);
6945
- if (o2.constructor !== Object && (n = r2.get(o2.constructor)))
6946
- return n(o2, s2);
6895
+ function s(o) {
6896
+ if (typeof o != "object" || o === null) return o;
6897
+ if (Array.isArray(o)) return t(o, s);
6898
+ if (o.constructor !== Object && (n = r2.get(o.constructor)))
6899
+ return n(o, s);
6947
6900
  const u = {};
6948
- for (const c2 in o2) {
6949
- const f2 = o2[c2];
6950
- typeof f2 != "object" || f2 === null ? u[c2] = f2 : f2.constructor !== Object && (n = r2.get(f2.constructor)) ? u[c2] = n(f2, s2) : ArrayBuffer.isView(f2) ? u[c2] = m(f2) : u[c2] = s2(f2);
6901
+ for (const c in o) {
6902
+ const f = o[c];
6903
+ typeof f != "object" || f === null ? u[c] = f : f.constructor !== Object && (n = r2.get(f.constructor)) ? u[c] = n(f, s) : ArrayBuffer.isView(f) ? u[c] = m(f) : u[c] = s(f);
6951
6904
  }
6952
6905
  return u;
6953
6906
  }
6954
6907
  }
6955
6908
  function U(e) {
6956
6909
  const r2 = [], n = [], t = /* @__PURE__ */ new Map();
6957
- if (t.set(Date, (c2) => new Date(c2)), t.set(
6910
+ if (t.set(Date, (c) => new Date(c)), t.set(
6958
6911
  Map,
6959
- (c2, f2) => new Map(s2(Array.from(c2), f2))
6912
+ (c, f) => new Map(s(Array.from(c), f))
6960
6913
  ), t.set(
6961
6914
  Set,
6962
- (c2, f2) => new Set(s2(Array.from(c2), f2))
6915
+ (c, f) => new Set(s(Array.from(c), f))
6963
6916
  ), e.constructorHandlers)
6964
- for (const c2 of e.constructorHandlers)
6965
- t.set(c2[0], c2[1]);
6917
+ for (const c of e.constructorHandlers)
6918
+ t.set(c[0], c[1]);
6966
6919
  let i;
6967
- return e.proto ? u : o2;
6968
- function s2(c2, f2) {
6969
- const a2 = Object.keys(c2), l = Array.from({ length: a2.length });
6970
- for (let y2 = 0; y2 < a2.length; y2++) {
6971
- const h2 = a2[y2], d = c2[h2];
6920
+ return e.proto ? u : o;
6921
+ function s(c, f) {
6922
+ const a = Object.keys(c), l = Array.from({ length: a.length });
6923
+ for (let y = 0; y < a.length; y++) {
6924
+ const h2 = a[y], d = c[h2];
6972
6925
  if (typeof d != "object" || d === null)
6973
6926
  l[h2] = d;
6974
6927
  else if (d.constructor !== Object && (i = t.get(d.constructor)))
6975
- l[h2] = i(d, f2);
6928
+ l[h2] = i(d, f);
6976
6929
  else if (ArrayBuffer.isView(d))
6977
6930
  l[h2] = m(d);
6978
6931
  else {
6979
6932
  const v2 = r2.indexOf(d);
6980
- v2 !== -1 ? l[h2] = n[v2] : l[h2] = f2(d);
6933
+ v2 !== -1 ? l[h2] = n[v2] : l[h2] = f(d);
6981
6934
  }
6982
6935
  }
6983
6936
  return l;
6984
6937
  }
6985
- function o2(c2) {
6986
- if (typeof c2 != "object" || c2 === null) return c2;
6987
- if (Array.isArray(c2)) return s2(c2, o2);
6988
- if (c2.constructor !== Object && (i = t.get(c2.constructor)))
6989
- return i(c2, o2);
6990
- const f2 = {};
6991
- r2.push(c2), n.push(f2);
6992
- for (const a2 in c2) {
6993
- if (Object.hasOwnProperty.call(c2, a2) === false) continue;
6994
- const l = c2[a2];
6938
+ function o(c) {
6939
+ if (typeof c != "object" || c === null) return c;
6940
+ if (Array.isArray(c)) return s(c, o);
6941
+ if (c.constructor !== Object && (i = t.get(c.constructor)))
6942
+ return i(c, o);
6943
+ const f = {};
6944
+ r2.push(c), n.push(f);
6945
+ for (const a in c) {
6946
+ if (Object.hasOwnProperty.call(c, a) === false) continue;
6947
+ const l = c[a];
6995
6948
  if (typeof l != "object" || l === null)
6996
- f2[a2] = l;
6949
+ f[a] = l;
6997
6950
  else if (l.constructor !== Object && (i = t.get(l.constructor)))
6998
- f2[a2] = i(l, o2);
6951
+ f[a] = i(l, o);
6999
6952
  else if (ArrayBuffer.isView(l))
7000
- f2[a2] = m(l);
6953
+ f[a] = m(l);
7001
6954
  else {
7002
- const y2 = r2.indexOf(l);
7003
- y2 !== -1 ? f2[a2] = n[y2] : f2[a2] = o2(l);
6955
+ const y = r2.indexOf(l);
6956
+ y !== -1 ? f[a] = n[y] : f[a] = o(l);
7004
6957
  }
7005
6958
  }
7006
- return r2.pop(), n.pop(), f2;
6959
+ return r2.pop(), n.pop(), f;
7007
6960
  }
7008
- function u(c2) {
7009
- if (typeof c2 != "object" || c2 === null) return c2;
7010
- if (Array.isArray(c2)) return s2(c2, u);
7011
- if (c2.constructor !== Object && (i = t.get(c2.constructor)))
7012
- return i(c2, u);
7013
- const f2 = {};
7014
- r2.push(c2), n.push(f2);
7015
- for (const a2 in c2) {
7016
- const l = c2[a2];
6961
+ function u(c) {
6962
+ if (typeof c != "object" || c === null) return c;
6963
+ if (Array.isArray(c)) return s(c, u);
6964
+ if (c.constructor !== Object && (i = t.get(c.constructor)))
6965
+ return i(c, u);
6966
+ const f = {};
6967
+ r2.push(c), n.push(f);
6968
+ for (const a in c) {
6969
+ const l = c[a];
7017
6970
  if (typeof l != "object" || l === null)
7018
- f2[a2] = l;
6971
+ f[a] = l;
7019
6972
  else if (l.constructor !== Object && (i = t.get(l.constructor)))
7020
- f2[a2] = i(l, u);
6973
+ f[a] = i(l, u);
7021
6974
  else if (ArrayBuffer.isView(l))
7022
- f2[a2] = m(l);
6975
+ f[a] = m(l);
7023
6976
  else {
7024
- const y2 = r2.indexOf(l);
7025
- y2 !== -1 ? f2[a2] = n[y2] : f2[a2] = u(l);
6977
+ const y = r2.indexOf(l);
6978
+ y !== -1 ? f[a] = n[y] : f[a] = u(l);
7026
6979
  }
7027
6980
  }
7028
- return r2.pop(), n.pop(), f2;
6981
+ return r2.pop(), n.pop(), f;
7029
6982
  }
7030
6983
  }
7031
6984
  const A = K();
@@ -7033,8 +6986,8 @@ function $(e, r2 = 8) {
7033
6986
  const n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
7034
6987
  let t = "";
7035
6988
  for (let i = 0; i < r2; i++) {
7036
- const s2 = Math.floor(Math.random() * n.length);
7037
- t += n[s2];
6989
+ const s = Math.floor(Math.random() * n.length);
6990
+ t += n[s];
7038
6991
  }
7039
6992
  return `${e}${t}`;
7040
6993
  }
@@ -7042,14 +6995,14 @@ function q(e) {
7042
6995
  const r2 = [];
7043
6996
  function n(t, i) {
7044
6997
  i.length > 0 && r2.push([...i].sort());
7045
- for (let s2 = t; s2 < e.length; s2++) {
7046
- const o2 = e[s2];
7047
- if (o2)
7048
- if (o2.length === 1 && o2[0])
7049
- n(s2 + 1, [...i, o2[0]]);
6998
+ for (let s = t; s < e.length; s++) {
6999
+ const o = e[s];
7000
+ if (o)
7001
+ if (o.length === 1 && o[0])
7002
+ n(s + 1, [...i, o[0]]);
7050
7003
  else
7051
- for (const u of o2)
7052
- n(s2 + 1, [...i, u]);
7004
+ for (const u of o)
7005
+ n(s + 1, [...i, u]);
7053
7006
  }
7054
7007
  }
7055
7008
  return n(0, []), r2.sort((t, i) => t.length !== i.length ? t.length - i.length : t.join(",").localeCompare(i.join(",")));
@@ -7059,8 +7012,8 @@ function z(e, r2, n) {
7059
7012
  ...e,
7060
7013
  modifiers: [...n.keys()]
7061
7014
  }, i = b(t, r2);
7062
- for (const s2 of n.values())
7063
- s2.factory({
7015
+ for (const s of n.values())
7016
+ s.factory({
7064
7017
  ...i,
7065
7018
  declarations: A(t.declarations),
7066
7019
  variables: A(t.variables),
@@ -7070,12 +7023,12 @@ function z(e, r2, n) {
7070
7023
  }
7071
7024
  function W(e, r2) {
7072
7025
  return function(t, i) {
7073
- const s2 = {
7026
+ const s = {
7074
7027
  type: "modifier",
7075
7028
  key: Array.isArray(t) ? t : [t],
7076
7029
  factory: i
7077
7030
  };
7078
- return r2.modifiers.push(s2), s2;
7031
+ return r2.modifiers.push(s), s;
7079
7032
  };
7080
7033
  }
7081
7034
  function Y() {
@@ -7091,44 +7044,44 @@ function Y() {
7091
7044
  };
7092
7045
  }
7093
7046
  function G(e, r2, n) {
7094
- const t = r2.map((s2) => s2.key);
7095
- return q(t).map((s2) => {
7096
- const o2 = /* @__PURE__ */ new Map();
7097
- for (const u of s2) {
7098
- const c2 = r2.find(
7099
- (f2) => f2.key.includes(u)
7047
+ const t = r2.map((s) => s.key);
7048
+ return q(t).map((s) => {
7049
+ const o = /* @__PURE__ */ new Map();
7050
+ for (const u of s) {
7051
+ const c = r2.find(
7052
+ (f) => f.key.includes(u)
7100
7053
  );
7101
- c2 && o2.set(u, c2);
7054
+ c && o.set(u, c);
7102
7055
  }
7103
- return z(e, n, o2);
7056
+ return z(e, n, o);
7104
7057
  });
7105
7058
  }
7106
7059
  function J(e, r2) {
7107
7060
  return function(t, i) {
7108
- const s2 = {
7061
+ const s = {
7109
7062
  type: "utility",
7110
7063
  name: t,
7111
7064
  factory: i
7112
7065
  };
7113
- return r2.utilities.push(s2), (o2, u = []) => {
7114
- for (const [c2, f2] of Object.entries(o2)) {
7115
- const a2 = {
7066
+ return r2.utilities.push(s), (o, u = []) => {
7067
+ for (const [c, f] of Object.entries(o)) {
7068
+ const a = {
7116
7069
  type: "utility",
7117
7070
  name: t,
7118
- value: c2,
7071
+ value: c,
7119
7072
  declarations: {},
7120
7073
  variables: [],
7121
7074
  children: [],
7122
7075
  modifiers: []
7123
7076
  }, l = b(
7124
- a2,
7077
+ a,
7125
7078
  r2
7126
7079
  );
7127
- a2.declarations = i({
7080
+ a.declarations = i({
7128
7081
  ...l,
7129
- value: f2
7130
- }) ?? {}, g(a2.declarations, l), e.children.push(a2), u.length > 0 && e.children.push(
7131
- ...G(a2, u, r2)
7082
+ value: f
7083
+ }) ?? {}, g(a.declarations, l), e.children.push(a), u.length > 0 && e.children.push(
7084
+ ...G(a, u, r2)
7132
7085
  );
7133
7086
  }
7134
7087
  };
@@ -7136,44 +7089,44 @@ function J(e, r2) {
7136
7089
  }
7137
7090
  function Q(e, r2) {
7138
7091
  return function(t, i) {
7139
- const s2 = r2.themes.find((c2) => c2.name === t), o2 = s2 ?? {
7092
+ const s = r2.themes.find((c) => c.name === t), o = s ?? {
7140
7093
  type: "theme",
7141
7094
  name: t,
7142
7095
  declarations: {},
7143
7096
  variables: [],
7144
7097
  children: []
7145
7098
  };
7146
- s2 || r2.themes.push(o2);
7147
- const u = b(o2, r2);
7148
- return i && i(u), o2;
7099
+ s || r2.themes.push(o);
7100
+ const u = b(o, r2);
7101
+ return i && i(u), o;
7149
7102
  };
7150
7103
  }
7151
7104
  function X(e, r2) {
7152
- return function(t, i, s2, o2) {
7105
+ return function(t, i, s, o) {
7153
7106
  const u = {
7154
7107
  type: "recipe",
7155
7108
  name: t,
7156
7109
  defaults: i,
7157
- variants: s2,
7158
- ...o2
7110
+ variants: s,
7111
+ ...o
7159
7112
  };
7160
7113
  return r2.recipes.push(u), u;
7161
7114
  };
7162
7115
  }
7163
7116
  function ue(e) {
7164
- const r2 = $("sf-"), n = Y(), t = { ...e }, i = J(n, n), s2 = W(n, n), o2 = X(n, n), u = Q(n, n), { variable: c2, selector: f2, atRule: a2, keyframes: l, media: y2, ref: h2, css: d } = b(n, n);
7117
+ const r2 = $("sf-"), n = Y(), t = { ...e }, i = J(n, n), s = W(n, n), o = X(n, n), u = Q(n, n), { variable: c, selector: f, atRule: a, keyframes: l, media: y, ref: h2, css: d } = b(n, n);
7165
7118
  return {
7166
7119
  id: r2,
7167
7120
  root: n,
7168
- variable: c2,
7169
- selector: f2,
7121
+ variable: c,
7122
+ selector: f,
7170
7123
  utility: i,
7171
- modifier: s2,
7172
- recipe: o2,
7124
+ modifier: s,
7125
+ recipe: o,
7173
7126
  theme: u,
7174
- atRule: a2,
7127
+ atRule: a,
7175
7128
  keyframes: l,
7176
- media: y2,
7129
+ media: y,
7177
7130
  ref: h2,
7178
7131
  css: d,
7179
7132
  options: t