@dpuse/dpuse-development 0.3.570 → 0.3.571

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.
@@ -4,7 +4,7 @@ import { promisify as r } from "node:util";
4
4
  import { execFile as i, spawn as a } from "node:child_process";
5
5
  import { fileURLToPath as o } from "node:url";
6
6
  //#region \0rolldown/runtime.js
7
- var s = Object.defineProperty, c = /* @__PURE__ */ ((e, t) => {
7
+ var s = Object.defineProperty, c = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), l = /* @__PURE__ */ ((e, t) => {
8
8
  let n = {};
9
9
  for (var r in e) s(n, r, {
10
10
  get: e[r],
@@ -12,29 +12,29 @@ var s = Object.defineProperty, c = /* @__PURE__ */ ((e, t) => {
12
12
  });
13
13
  return t || s(n, Symbol.toStringTag, { value: "Module" }), n;
14
14
  })({
15
- Node: () => it,
15
+ Node: () => at,
16
16
  Parser: () => k,
17
- Position: () => he,
18
- SourceLocation: () => ge,
17
+ Position: () => ge,
18
+ SourceLocation: () => _e,
19
19
  TokContext: () => P,
20
- Token: () => qt,
21
- TokenType: () => b,
22
- defaultOptions: () => ve,
23
- getLineInfo: () => _e,
24
- isIdentifierChar: () => y,
25
- isIdentifierStart: () => v,
26
- isNewLine: () => re,
27
- keywordTypes: () => w,
20
+ Token: () => Jt,
21
+ TokenType: () => x,
22
+ defaultOptions: () => ye,
23
+ getLineInfo: () => ve,
24
+ isIdentifierChar: () => b,
25
+ isIdentifierStart: () => y,
26
+ isNewLine: () => ie,
27
+ keywordTypes: () => ne,
28
28
  lineBreak: () => D,
29
- lineBreakG: () => ne,
30
- nonASCIIwhitespace: () => ae,
31
- parse: () => Qt,
32
- parseExpressionAt: () => $t,
29
+ lineBreakG: () => re,
30
+ nonASCIIwhitespace: () => oe,
31
+ parse: () => $t,
32
+ parseExpressionAt: () => en,
33
33
  tokContexts: () => F,
34
34
  tokTypes: () => E,
35
- tokenizer: () => en,
36
- version: () => Zt
37
- }), l = [
35
+ tokenizer: () => tn,
36
+ version: () => Qt
37
+ }), u = [
38
38
  509,
39
39
  0,
40
40
  227,
@@ -365,7 +365,7 @@ var s = Object.defineProperty, c = /* @__PURE__ */ ((e, t) => {
365
365
  9,
366
366
  787719,
367
367
  239
368
- ], u = [
368
+ ], d = [
369
369
  0,
370
370
  11,
371
371
  2,
@@ -984,135 +984,135 @@ var s = Object.defineProperty, c = /* @__PURE__ */ ((e, t) => {
984
984
  4938,
985
985
  6,
986
986
  8489
987
- ], d = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", f = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", p = {
987
+ ], f = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", p = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", m = {
988
988
  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",
989
989
  5: "class enum extends super const export import",
990
990
  6: "enum",
991
991
  strict: "implements interface let package private protected public static yield",
992
992
  strictBind: "eval arguments"
993
- }, m = "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", h = {
994
- 5: m,
995
- "5module": m + " export import",
996
- 6: m + " const class extends export import super"
997
- }, g = /^in(stanceof)?$/, _ = RegExp("[" + f + "]"), ee = RegExp("[" + f + d + "]");
998
- function te(e, t) {
993
+ }, h = "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", g = {
994
+ 5: h,
995
+ "5module": h + " export import",
996
+ 6: h + " const class extends export import super"
997
+ }, _ = /^in(stanceof)?$/, ee = RegExp("[" + p + "]"), te = RegExp("[" + p + f + "]");
998
+ function v(e, t) {
999
999
  for (var n = 65536, r = 0; r < t.length; r += 2) {
1000
1000
  if (n += t[r], n > e) return !1;
1001
1001
  if (n += t[r + 1], n >= e) return !0;
1002
1002
  }
1003
1003
  return !1;
1004
1004
  }
1005
- function v(e, t) {
1006
- return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && _.test(String.fromCharCode(e)) : t === !1 ? !1 : te(e, u);
1007
- }
1008
1005
  function y(e, t) {
1009
- return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && ee.test(String.fromCharCode(e)) : t === !1 ? !1 : te(e, u) || te(e, l);
1006
+ return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && ee.test(String.fromCharCode(e)) : t === !1 ? !1 : v(e, d);
1007
+ }
1008
+ function b(e, t) {
1009
+ return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && te.test(String.fromCharCode(e)) : t === !1 ? !1 : v(e, d) || v(e, u);
1010
1010
  }
1011
- var b = function(e, t) {
1011
+ var x = function(e, t) {
1012
1012
  t === void 0 && (t = {}), this.label = e, this.keyword = t.keyword, this.beforeExpr = !!t.beforeExpr, this.startsExpr = !!t.startsExpr, this.isLoop = !!t.isLoop, this.isAssign = !!t.isAssign, this.prefix = !!t.prefix, this.postfix = !!t.postfix, this.binop = t.binop || null, this.updateContext = null;
1013
1013
  };
1014
- function x(e, t) {
1015
- return new b(e, {
1014
+ function S(e, t) {
1015
+ return new x(e, {
1016
1016
  beforeExpr: !0,
1017
1017
  binop: t
1018
1018
  });
1019
1019
  }
1020
- var S = { beforeExpr: !0 }, C = { startsExpr: !0 }, w = {};
1020
+ var C = { beforeExpr: !0 }, w = { startsExpr: !0 }, ne = {};
1021
1021
  function T(e, t) {
1022
- return t === void 0 && (t = {}), t.keyword = e, w[e] = new b(e, t);
1022
+ return t === void 0 && (t = {}), t.keyword = e, ne[e] = new x(e, t);
1023
1023
  }
1024
1024
  var E = {
1025
- num: new b("num", C),
1026
- regexp: new b("regexp", C),
1027
- string: new b("string", C),
1028
- name: new b("name", C),
1029
- privateId: new b("privateId", C),
1030
- eof: new b("eof"),
1031
- bracketL: new b("[", {
1025
+ num: new x("num", w),
1026
+ regexp: new x("regexp", w),
1027
+ string: new x("string", w),
1028
+ name: new x("name", w),
1029
+ privateId: new x("privateId", w),
1030
+ eof: new x("eof"),
1031
+ bracketL: new x("[", {
1032
1032
  beforeExpr: !0,
1033
1033
  startsExpr: !0
1034
1034
  }),
1035
- bracketR: new b("]"),
1036
- braceL: new b("{", {
1035
+ bracketR: new x("]"),
1036
+ braceL: new x("{", {
1037
1037
  beforeExpr: !0,
1038
1038
  startsExpr: !0
1039
1039
  }),
1040
- braceR: new b("}"),
1041
- parenL: new b("(", {
1040
+ braceR: new x("}"),
1041
+ parenL: new x("(", {
1042
1042
  beforeExpr: !0,
1043
1043
  startsExpr: !0
1044
1044
  }),
1045
- parenR: new b(")"),
1046
- comma: new b(",", S),
1047
- semi: new b(";", S),
1048
- colon: new b(":", S),
1049
- dot: new b("."),
1050
- question: new b("?", S),
1051
- questionDot: new b("?."),
1052
- arrow: new b("=>", S),
1053
- template: new b("template"),
1054
- invalidTemplate: new b("invalidTemplate"),
1055
- ellipsis: new b("...", S),
1056
- backQuote: new b("`", C),
1057
- dollarBraceL: new b("${", {
1045
+ parenR: new x(")"),
1046
+ comma: new x(",", C),
1047
+ semi: new x(";", C),
1048
+ colon: new x(":", C),
1049
+ dot: new x("."),
1050
+ question: new x("?", C),
1051
+ questionDot: new x("?."),
1052
+ arrow: new x("=>", C),
1053
+ template: new x("template"),
1054
+ invalidTemplate: new x("invalidTemplate"),
1055
+ ellipsis: new x("...", C),
1056
+ backQuote: new x("`", w),
1057
+ dollarBraceL: new x("${", {
1058
1058
  beforeExpr: !0,
1059
1059
  startsExpr: !0
1060
1060
  }),
1061
- eq: new b("=", {
1061
+ eq: new x("=", {
1062
1062
  beforeExpr: !0,
1063
1063
  isAssign: !0
1064
1064
  }),
1065
- assign: new b("_=", {
1065
+ assign: new x("_=", {
1066
1066
  beforeExpr: !0,
1067
1067
  isAssign: !0
1068
1068
  }),
1069
- incDec: new b("++/--", {
1069
+ incDec: new x("++/--", {
1070
1070
  prefix: !0,
1071
1071
  postfix: !0,
1072
1072
  startsExpr: !0
1073
1073
  }),
1074
- prefix: new b("!/~", {
1074
+ prefix: new x("!/~", {
1075
1075
  beforeExpr: !0,
1076
1076
  prefix: !0,
1077
1077
  startsExpr: !0
1078
1078
  }),
1079
- logicalOR: x("||", 1),
1080
- logicalAND: x("&&", 2),
1081
- bitwiseOR: x("|", 3),
1082
- bitwiseXOR: x("^", 4),
1083
- bitwiseAND: x("&", 5),
1084
- equality: x("==/!=/===/!==", 6),
1085
- relational: x("</>/<=/>=", 7),
1086
- bitShift: x("<</>>/>>>", 8),
1087
- plusMin: new b("+/-", {
1079
+ logicalOR: S("||", 1),
1080
+ logicalAND: S("&&", 2),
1081
+ bitwiseOR: S("|", 3),
1082
+ bitwiseXOR: S("^", 4),
1083
+ bitwiseAND: S("&", 5),
1084
+ equality: S("==/!=/===/!==", 6),
1085
+ relational: S("</>/<=/>=", 7),
1086
+ bitShift: S("<</>>/>>>", 8),
1087
+ plusMin: new x("+/-", {
1088
1088
  beforeExpr: !0,
1089
1089
  binop: 9,
1090
1090
  prefix: !0,
1091
1091
  startsExpr: !0
1092
1092
  }),
1093
- modulo: x("%", 10),
1094
- star: x("*", 10),
1095
- slash: x("/", 10),
1096
- starstar: new b("**", { beforeExpr: !0 }),
1097
- coalesce: x("??", 1),
1093
+ modulo: S("%", 10),
1094
+ star: S("*", 10),
1095
+ slash: S("/", 10),
1096
+ starstar: new x("**", { beforeExpr: !0 }),
1097
+ coalesce: S("??", 1),
1098
1098
  _break: T("break"),
1099
- _case: T("case", S),
1099
+ _case: T("case", C),
1100
1100
  _catch: T("catch"),
1101
1101
  _continue: T("continue"),
1102
1102
  _debugger: T("debugger"),
1103
- _default: T("default", S),
1103
+ _default: T("default", C),
1104
1104
  _do: T("do", {
1105
1105
  isLoop: !0,
1106
1106
  beforeExpr: !0
1107
1107
  }),
1108
- _else: T("else", S),
1108
+ _else: T("else", C),
1109
1109
  _finally: T("finally"),
1110
1110
  _for: T("for", { isLoop: !0 }),
1111
- _function: T("function", C),
1111
+ _function: T("function", w),
1112
1112
  _if: T("if"),
1113
- _return: T("return", S),
1113
+ _return: T("return", C),
1114
1114
  _switch: T("switch"),
1115
- _throw: T("throw", S),
1115
+ _throw: T("throw", C),
1116
1116
  _try: T("try"),
1117
1117
  _var: T("var"),
1118
1118
  _const: T("const"),
@@ -1122,15 +1122,15 @@ var E = {
1122
1122
  beforeExpr: !0,
1123
1123
  startsExpr: !0
1124
1124
  }),
1125
- _this: T("this", C),
1126
- _super: T("super", C),
1127
- _class: T("class", C),
1128
- _extends: T("extends", S),
1125
+ _this: T("this", w),
1126
+ _super: T("super", w),
1127
+ _class: T("class", w),
1128
+ _extends: T("extends", C),
1129
1129
  _export: T("export"),
1130
- _import: T("import", C),
1131
- _null: T("null", C),
1132
- _true: T("true", C),
1133
- _false: T("false", C),
1130
+ _import: T("import", w),
1131
+ _null: T("null", w),
1132
+ _true: T("true", w),
1133
+ _false: T("false", w),
1134
1134
  _in: T("in", {
1135
1135
  beforeExpr: !0,
1136
1136
  binop: 7
@@ -1154,46 +1154,46 @@ var E = {
1154
1154
  prefix: !0,
1155
1155
  startsExpr: !0
1156
1156
  })
1157
- }, D = /\r\n?|\n|\u2028|\u2029/, ne = new RegExp(D.source, "g");
1158
- function re(e) {
1157
+ }, D = /\r\n?|\n|\u2028|\u2029/, re = new RegExp(D.source, "g");
1158
+ function ie(e) {
1159
1159
  return e === 10 || e === 13 || e === 8232 || e === 8233;
1160
1160
  }
1161
- function ie(e, t, n) {
1161
+ function ae(e, t, n) {
1162
1162
  n === void 0 && (n = e.length);
1163
1163
  for (var r = t; r < n; r++) {
1164
1164
  var i = e.charCodeAt(r);
1165
- if (re(i)) return r < n - 1 && i === 13 && e.charCodeAt(r + 1) === 10 ? r + 2 : r + 1;
1165
+ if (ie(i)) return r < n - 1 && i === 13 && e.charCodeAt(r + 1) === 10 ? r + 2 : r + 1;
1166
1166
  }
1167
1167
  return -1;
1168
1168
  }
1169
- var ae = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, O = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, oe = Object.prototype, se = oe.hasOwnProperty, ce = oe.toString, le = Object.hasOwn || (function(e, t) {
1170
- return se.call(e, t);
1171
- }), ue = Array.isArray || (function(e) {
1172
- return ce.call(e) === "[object Array]";
1173
- }), de = Object.create(null);
1174
- function fe(e) {
1175
- return de[e] || (de[e] = RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
1176
- }
1169
+ var oe = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, O = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, se = Object.prototype, ce = se.hasOwnProperty, le = se.toString, ue = Object.hasOwn || (function(e, t) {
1170
+ return ce.call(e, t);
1171
+ }), de = Array.isArray || (function(e) {
1172
+ return le.call(e) === "[object Array]";
1173
+ }), fe = Object.create(null);
1177
1174
  function pe(e) {
1175
+ return fe[e] || (fe[e] = RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
1176
+ }
1177
+ function me(e) {
1178
1178
  return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10) + 55296, (e & 1023) + 56320));
1179
1179
  }
1180
- var me = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, he = function(e, t) {
1180
+ var he = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, ge = function(e, t) {
1181
1181
  this.line = e, this.column = t;
1182
1182
  };
1183
- he.prototype.offset = function(e) {
1184
- return new he(this.line, this.column + e);
1183
+ ge.prototype.offset = function(e) {
1184
+ return new ge(this.line, this.column + e);
1185
1185
  };
1186
- var ge = function(e, t, n) {
1186
+ var _e = function(e, t, n) {
1187
1187
  this.start = t, this.end = n, e.sourceFile !== null && (this.source = e.sourceFile);
1188
1188
  };
1189
- function _e(e, t) {
1189
+ function ve(e, t) {
1190
1190
  for (var n = 1, r = 0;;) {
1191
- var i = ie(e, r, t);
1192
- if (i < 0) return new he(n, t - r);
1191
+ var i = ae(e, r, t);
1192
+ if (i < 0) return new ge(n, t - r);
1193
1193
  ++n, r = i;
1194
1194
  }
1195
1195
  }
1196
- var ve = {
1196
+ var ye = {
1197
1197
  ecmaVersion: null,
1198
1198
  sourceType: "script",
1199
1199
  strict: !1,
@@ -1214,20 +1214,20 @@ var ve = {
1214
1214
  sourceFile: null,
1215
1215
  directSourceFile: null,
1216
1216
  preserveParens: !1
1217
- }, ye = !1;
1218
- function be(e) {
1217
+ }, be = !1;
1218
+ function xe(e) {
1219
1219
  var t = {};
1220
- for (var n in ve) t[n] = e && le(e, n) ? e[n] : ve[n];
1221
- if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!ye && typeof console == "object" && console.warn && (ye = !0, console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved ??= t.ecmaVersion < 5, (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), ue(t.onToken)) {
1220
+ for (var n in ye) t[n] = e && ue(e, n) ? e[n] : ye[n];
1221
+ if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!be && typeof console == "object" && console.warn && (be = !0, console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved ??= t.ecmaVersion < 5, (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), de(t.onToken)) {
1222
1222
  var r = t.onToken;
1223
1223
  t.onToken = function(e) {
1224
1224
  return r.push(e);
1225
1225
  };
1226
1226
  }
1227
- if (ue(t.onComment) && (t.onComment = xe(t, t.onComment)), t.sourceType === "commonjs" && t.allowAwaitOutsideFunction) throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
1227
+ if (de(t.onComment) && (t.onComment = Se(t, t.onComment)), t.sourceType === "commonjs" && t.allowAwaitOutsideFunction) throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
1228
1228
  return t;
1229
1229
  }
1230
- function xe(e, t) {
1230
+ function Se(e, t) {
1231
1231
  return function(n, r, i, a, o, s) {
1232
1232
  var c = {
1233
1233
  type: n ? "Block" : "Line",
@@ -1235,19 +1235,19 @@ function xe(e, t) {
1235
1235
  start: i,
1236
1236
  end: a
1237
1237
  };
1238
- e.locations && (c.loc = new ge(this, o, s)), e.ranges && (c.range = [i, a]), t.push(c);
1238
+ e.locations && (c.loc = new _e(this, o, s)), e.ranges && (c.range = [i, a]), t.push(c);
1239
1239
  };
1240
1240
  }
1241
- var Se = 1, Ce = 2, we = 4, Te = 8, Ee = 16, De = 32, Oe = 64, ke = 128, Ae = 256, je = 512, Me = 1024, Ne = Se | Ce | Ae;
1242
- function Pe(e, t) {
1243
- return Ce | (e ? we : 0) | (t ? Te : 0);
1241
+ var Ce = 1, we = 2, Te = 4, Ee = 8, De = 16, Oe = 32, ke = 64, Ae = 128, je = 256, Me = 512, Ne = 1024, Pe = Ce | we | je;
1242
+ function Fe(e, t) {
1243
+ return we | (e ? Te : 0) | (t ? Ee : 0);
1244
1244
  }
1245
- var Fe = 0, Ie = 1, Le = 2, Re = 3, ze = 4, Be = 5, k = function(e, t, n) {
1246
- this.options = e = be(e), this.sourceFile = e.sourceFile, this.keywords = fe(h[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
1245
+ var Ie = 0, Le = 1, Re = 2, ze = 3, Be = 4, Ve = 5, k = function(e, t, n) {
1246
+ this.options = e = xe(e), this.sourceFile = e.sourceFile, this.keywords = pe(g[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
1247
1247
  var r = "";
1248
- e.allowReserved !== !0 && (r = p[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (r += " await")), this.reservedWords = fe(r);
1249
- var i = (r ? r + " " : "") + p.strict;
1250
- this.reservedWordsStrict = fe(i), this.reservedWordsStrictBind = fe(i + " " + p.strictBind), this.input = String(t), this.containsEsc = !1, n ? (this.pos = n, this.lineStart = this.input.lastIndexOf("\n", n - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(D).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = E.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || e.strict === !0 || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = Object.create(null), this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(this.options.sourceType === "commonjs" ? Ce : Se), this.regexpState = null, this.privateNameStack = [];
1248
+ e.allowReserved !== !0 && (r = m[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (r += " await")), this.reservedWords = pe(r);
1249
+ var i = (r ? r + " " : "") + m.strict;
1250
+ this.reservedWordsStrict = pe(i), this.reservedWordsStrictBind = pe(i + " " + m.strictBind), this.input = String(t), this.containsEsc = !1, n ? (this.pos = n, this.lineStart = this.input.lastIndexOf("\n", n - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(D).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = E.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || e.strict === !0 || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = Object.create(null), this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(this.options.sourceType === "commonjs" ? we : Ce), this.regexpState = null, this.privateNameStack = [];
1251
1251
  }, A = {
1252
1252
  inFunction: { configurable: !0 },
1253
1253
  inGenerator: { configurable: !0 },
@@ -1267,37 +1267,37 @@ k.prototype.parse = function() {
1267
1267
  return e.parseTopLevel(t);
1268
1268
  });
1269
1269
  }, A.inFunction.get = function() {
1270
- return (this.currentVarScope().flags & Ce) > 0;
1270
+ return (this.currentVarScope().flags & we) > 0;
1271
1271
  }, A.inGenerator.get = function() {
1272
- return (this.currentVarScope().flags & Te) > 0;
1272
+ return (this.currentVarScope().flags & Ee) > 0;
1273
1273
  }, A.inAsync.get = function() {
1274
- return (this.currentVarScope().flags & we) > 0;
1274
+ return (this.currentVarScope().flags & Te) > 0;
1275
1275
  }, A.canAwait.get = function() {
1276
1276
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1277
1277
  var t = this.scopeStack[e].flags;
1278
- if (t & (Ae | je)) return !1;
1279
- if (t & Ce) return (t & we) > 0;
1278
+ if (t & (je | Me)) return !1;
1279
+ if (t & we) return (t & Te) > 0;
1280
1280
  }
1281
1281
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
1282
1282
  }, A.allowReturn.get = function() {
1283
- return !!(this.inFunction || this.options.allowReturnOutsideFunction && this.currentVarScope().flags & Se);
1283
+ return !!(this.inFunction || this.options.allowReturnOutsideFunction && this.currentVarScope().flags & Ce);
1284
1284
  }, A.allowSuper.get = function() {
1285
- return (this.currentThisScope().flags & Oe) > 0 || this.options.allowSuperOutsideMethod;
1285
+ return (this.currentThisScope().flags & ke) > 0 || this.options.allowSuperOutsideMethod;
1286
1286
  }, A.allowDirectSuper.get = function() {
1287
- return (this.currentThisScope().flags & ke) > 0;
1287
+ return (this.currentThisScope().flags & Ae) > 0;
1288
1288
  }, A.treatFunctionsAsVar.get = function() {
1289
1289
  return this.treatFunctionsAsVarInScope(this.currentScope());
1290
1290
  }, A.allowNewDotTarget.get = function() {
1291
1291
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1292
1292
  var t = this.scopeStack[e].flags;
1293
- if (t & (Ae | je) || t & Ce && !(t & Ee)) return !0;
1293
+ if (t & (je | Me) || t & we && !(t & De)) return !0;
1294
1294
  }
1295
1295
  return !1;
1296
1296
  }, A.allowUsing.get = function() {
1297
1297
  var e = this.currentScope().flags;
1298
- return !(e & Me || !this.inModule && e & Se);
1298
+ return !(e & Ne || !this.inModule && e & Ce);
1299
1299
  }, A.inClassStaticBlock.get = function() {
1300
- return (this.currentVarScope().flags & Ae) > 0;
1300
+ return (this.currentVarScope().flags & je) > 0;
1301
1301
  }, k.extend = function() {
1302
1302
  for (var e = [], t = arguments.length; t--;) e[t] = arguments[t];
1303
1303
  for (var n = this, r = 0; r < e.length; r++) n = e[r](n);
@@ -1310,12 +1310,12 @@ k.prototype.parse = function() {
1310
1310
  }, k.tokenizer = function(e, t) {
1311
1311
  return new this(t, e);
1312
1312
  }, Object.defineProperties(k.prototype, A);
1313
- var j = k.prototype, Ve = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
1313
+ var j = k.prototype, He = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
1314
1314
  j.strictDirective = function(e) {
1315
1315
  if (this.options.ecmaVersion < 5) return !1;
1316
1316
  for (;;) {
1317
1317
  O.lastIndex = e, e += O.exec(this.input)[0].length;
1318
- var t = Ve.exec(this.input.slice(e));
1318
+ var t = He.exec(this.input.slice(e));
1319
1319
  if (!t) return !1;
1320
1320
  if ((t[1] || t[2]) === "use strict") {
1321
1321
  O.lastIndex = e + t[0].length;
@@ -1352,7 +1352,7 @@ j.strictDirective = function(e) {
1352
1352
  }, j.unexpected = function(e) {
1353
1353
  this.raise(e ?? this.start, "Unexpected token");
1354
1354
  };
1355
- var He = function() {
1355
+ var Ue = function() {
1356
1356
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
1357
1357
  };
1358
1358
  j.checkPatternErrors = function(e, t) {
@@ -1384,7 +1384,7 @@ M.parseTopLevel = function(e) {
1384
1384
  }
1385
1385
  return this.adaptDirectivePrologue(e.body), this.next(), e.sourceType = this.options.sourceType === "commonjs" ? "script" : this.options.sourceType, this.finishNode(e, "Program");
1386
1386
  };
1387
- var Ue = { kind: "loop" }, We = { kind: "switch" };
1387
+ var We = { kind: "loop" }, Ge = { kind: "switch" };
1388
1388
  M.isLet = function(e) {
1389
1389
  if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return !1;
1390
1390
  O.lastIndex = this.pos;
@@ -1392,21 +1392,21 @@ M.isLet = function(e) {
1392
1392
  if (r === 91 || r === 92) return !0;
1393
1393
  if (e) return !1;
1394
1394
  if (r === 123) return !0;
1395
- if (v(r)) {
1395
+ if (y(r)) {
1396
1396
  var i = n;
1397
1397
  do
1398
1398
  n += r <= 65535 ? 1 : 2;
1399
- while (y(r = this.fullCharCodeAt(n)));
1399
+ while (b(r = this.fullCharCodeAt(n)));
1400
1400
  if (r === 92) return !0;
1401
1401
  var a = this.input.slice(i, n);
1402
- if (!g.test(a)) return !0;
1402
+ if (!_.test(a)) return !0;
1403
1403
  }
1404
1404
  return !1;
1405
1405
  }, M.isAsyncFunction = function() {
1406
1406
  if (this.options.ecmaVersion < 8 || !this.isContextual("async")) return !1;
1407
1407
  O.lastIndex = this.pos;
1408
1408
  var e = O.exec(this.input), t = this.pos + e[0].length, n;
1409
- return !D.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(y(n = this.fullCharCodeAt(t + 8)) || n === 92));
1409
+ return !D.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(b(n = this.fullCharCodeAt(t + 8)) || n === 92));
1410
1410
  }, M.isUsingKeyword = function(e, t) {
1411
1411
  if (this.options.ecmaVersion < 17 || !this.isContextual(e ? "await" : "using")) return !1;
1412
1412
  O.lastIndex = this.pos;
@@ -1414,20 +1414,20 @@ M.isLet = function(e) {
1414
1414
  if (D.test(this.input.slice(this.pos, r))) return !1;
1415
1415
  if (e) {
1416
1416
  var i = r + 5, a;
1417
- if (this.input.slice(r, i) !== "using" || i === this.input.length || y(a = this.fullCharCodeAt(i)) || a === 92) return !1;
1417
+ if (this.input.slice(r, i) !== "using" || i === this.input.length || b(a = this.fullCharCodeAt(i)) || a === 92) return !1;
1418
1418
  O.lastIndex = i;
1419
1419
  var o = O.exec(this.input);
1420
1420
  if (r = i + o[0].length, o && D.test(this.input.slice(i, r))) return !1;
1421
1421
  }
1422
1422
  var s = this.fullCharCodeAt(r);
1423
- if (!v(s) && s !== 92) return !1;
1423
+ if (!y(s) && s !== 92) return !1;
1424
1424
  var c = r;
1425
1425
  do
1426
1426
  r += s <= 65535 ? 1 : 2;
1427
- while (y(s = this.fullCharCodeAt(r)));
1427
+ while (b(s = this.fullCharCodeAt(r)));
1428
1428
  if (s === 92) return !0;
1429
1429
  var l = this.input.slice(c, r);
1430
- if (g.test(l)) return !1;
1430
+ if (_.test(l)) return !1;
1431
1431
  if (t && !e && l === "of") {
1432
1432
  O.lastIndex = r;
1433
1433
  var u = O.exec(this.input);
@@ -1485,11 +1485,11 @@ M.isLet = function(e) {
1485
1485
  }, M.parseDebuggerStatement = function(e) {
1486
1486
  return this.next(), this.semicolon(), this.finishNode(e, "DebuggerStatement");
1487
1487
  }, M.parseDoStatement = function(e) {
1488
- return this.next(), this.labels.push(Ue), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(E._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(E.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
1488
+ return this.next(), this.labels.push(We), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(E._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(E.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
1489
1489
  }, M.parseForStatement = function(e) {
1490
1490
  this.next();
1491
1491
  var t = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
1492
- if (this.labels.push(Ue), this.enterScope(0), this.expect(E.parenL), this.type === E.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
1492
+ if (this.labels.push(We), this.enterScope(0), this.expect(E.parenL), this.type === E.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
1493
1493
  var n = this.isLet();
1494
1494
  if (this.type === E._var || this.type === E._const || n) {
1495
1495
  var r = this.startNode(), i = n ? "let" : this.value;
@@ -1500,18 +1500,18 @@ M.isLet = function(e) {
1500
1500
  var c = this.startNode();
1501
1501
  return this.next(), s === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.parseVar(c, !0, s), this.finishNode(c, "VariableDeclaration"), this.parseForAfterInit(e, c, t);
1502
1502
  }
1503
- var l = this.containsEsc, u = new He(), d = this.start, f = t > -1 ? this.parseExprSubscripts(u, "await") : this.parseExpression(!0, u);
1503
+ var l = this.containsEsc, u = new Ue(), d = this.start, f = t > -1 ? this.parseExprSubscripts(u, "await") : this.parseExpression(!0, u);
1504
1504
  return this.type === E._in || (o = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === E._in && this.unexpected(t), e.await = !0) : o && this.options.ecmaVersion >= 8 && (f.start === d && !l && f.type === "Identifier" && f.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), a && o && this.raise(f.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(f, !1, u), this.checkLValPattern(f), this.parseForIn(e, f)) : (this.checkExpressionErrors(u, !0), t > -1 && this.unexpected(t), this.parseFor(e, f));
1505
1505
  }, M.parseForAfterInit = function(e, t, n) {
1506
1506
  return (this.type === E._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.type === E._in ? ((t.kind === "using" || t.kind === "await using") && !t.declarations[0].init && this.raise(this.start, "Using declaration is not allowed in for-in loops"), this.options.ecmaVersion >= 9 && n > -1 && this.unexpected(n)) : this.options.ecmaVersion >= 9 && (e.await = n > -1), this.parseForIn(e, t)) : (n > -1 && this.unexpected(n), this.parseFor(e, t));
1507
1507
  }, M.parseFunctionStatement = function(e, t, n) {
1508
- return this.next(), this.parseFunction(e, Ke | (n ? 0 : qe), !1, t);
1508
+ return this.next(), this.parseFunction(e, qe | (n ? 0 : Je), !1, t);
1509
1509
  }, M.parseIfStatement = function(e) {
1510
1510
  return this.next(), e.test = this.parseParenExpression(), e.consequent = this.parseStatement("if"), e.alternate = this.eat(E._else) ? this.parseStatement("if") : null, this.finishNode(e, "IfStatement");
1511
1511
  }, M.parseReturnStatement = function(e) {
1512
1512
  return this.allowReturn || this.raise(this.start, "'return' outside of function"), this.next(), this.eat(E.semi) || this.insertSemicolon() ? e.argument = null : (e.argument = this.parseExpression(), this.semicolon()), this.finishNode(e, "ReturnStatement");
1513
1513
  }, M.parseSwitchStatement = function(e) {
1514
- this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(E.braceL), this.labels.push(We), this.enterScope(Me);
1514
+ this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(E.braceL), this.labels.push(Ge), this.enterScope(Ne);
1515
1515
  for (var t, n = !1; this.type !== E.braceR;) if (this.type === E._case || this.type === E._default) {
1516
1516
  var r = this.type === E._case;
1517
1517
  t && this.finishNode(t, "SwitchCase"), e.cases.push(t = this.startNode()), t.consequent = [], this.next(), r ? t.test = this.parseExpression() : (n && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), n = !0, t.test = null), this.expect(E.colon);
@@ -1520,10 +1520,10 @@ M.isLet = function(e) {
1520
1520
  }, M.parseThrowStatement = function(e) {
1521
1521
  return this.next(), D.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), e.argument = this.parseExpression(), this.semicolon(), this.finishNode(e, "ThrowStatement");
1522
1522
  };
1523
- var Ge = [];
1523
+ var Ke = [];
1524
1524
  M.parseCatchClauseParam = function() {
1525
1525
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
1526
- return this.enterScope(t ? De : 0), this.checkLValPattern(e, t ? ze : Le), this.expect(E.parenR), e;
1526
+ return this.enterScope(t ? Oe : 0), this.checkLValPattern(e, t ? Be : Re), this.expect(E.parenR), e;
1527
1527
  }, M.parseTryStatement = function(e) {
1528
1528
  if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === E._catch) {
1529
1529
  var t = this.startNode();
@@ -1533,7 +1533,7 @@ M.parseCatchClauseParam = function() {
1533
1533
  }, M.parseVarStatement = function(e, t, n) {
1534
1534
  return this.next(), this.parseVar(e, !1, t, n), this.semicolon(), this.finishNode(e, "VariableDeclaration");
1535
1535
  }, M.parseWhileStatement = function(e) {
1536
- return this.next(), e.test = this.parseParenExpression(), this.labels.push(Ue), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
1536
+ return this.next(), e.test = this.parseParenExpression(), this.labels.push(We), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
1537
1537
  }, M.parseWithStatement = function(e) {
1538
1538
  return this.strict && this.raise(this.start, "'with' in strict mode"), this.next(), e.object = this.parseParenExpression(), e.body = this.parseStatement("with"), this.finishNode(e, "WithStatement");
1539
1539
  }, M.parseEmptyStatement = function(e) {
@@ -1570,13 +1570,13 @@ M.parseCatchClauseParam = function() {
1570
1570
  }
1571
1571
  return e;
1572
1572
  }, M.parseVarId = function(e, t) {
1573
- e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Ie : Le, !1);
1573
+ e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Le : Re, !1);
1574
1574
  };
1575
- var Ke = 1, qe = 2, Je = 4;
1575
+ var qe = 1, Je = 2, Ye = 4;
1576
1576
  M.parseFunction = function(e, t, n, r, i) {
1577
- this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === E.star && t & qe && this.unexpected(), e.generator = this.eat(E.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & Ke && (e.id = t & Je && this.type !== E.name ? null : this.parseIdent(), e.id && !(t & qe) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Ie : Le : Re));
1577
+ this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === E.star && t & Je && this.unexpected(), e.generator = this.eat(E.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & qe && (e.id = t & Ye && this.type !== E.name ? null : this.parseIdent(), e.id && !(t & Je) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Le : Re : ze));
1578
1578
  var a = this.yieldPos, o = this.awaitPos, s = this.awaitIdentPos;
1579
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Pe(e.async, e.generator)), t & Ke || (e.id = this.type === E.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, n, !1, i), this.yieldPos = a, this.awaitPos = o, this.awaitIdentPos = s, this.finishNode(e, t & Ke ? "FunctionDeclaration" : "FunctionExpression");
1579
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Fe(e.async, e.generator)), t & qe || (e.id = this.type === E.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, n, !1, i), this.yieldPos = a, this.awaitPos = o, this.awaitIdentPos = s, this.finishNode(e, t & qe ? "FunctionDeclaration" : "FunctionExpression");
1580
1580
  }, M.parseFunctionParams = function(e) {
1581
1581
  this.expect(E.parenL), e.params = this.parseBindingList(E.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
1582
1582
  }, M.parseClass = function(e, t) {
@@ -1586,7 +1586,7 @@ M.parseFunction = function(e, t, n, r, i) {
1586
1586
  var r = this.enterClassBody(), i = this.startNode(), a = !1;
1587
1587
  for (i.body = [], this.expect(E.braceL); this.type !== E.braceR;) {
1588
1588
  var o = this.parseClassElement(e.superClass !== null);
1589
- o && (i.body.push(o), o.type === "MethodDefinition" && o.kind === "constructor" ? (a && this.raiseRecoverable(o.start, "Duplicate constructor in the same class"), a = !0) : o.key && o.key.type === "PrivateIdentifier" && Ye(r, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
1589
+ o && (i.body.push(o), o.type === "MethodDefinition" && o.kind === "constructor" ? (a && this.raiseRecoverable(o.start, "Duplicate constructor in the same class"), a = !0) : o.key && o.key.type === "PrivateIdentifier" && Xe(r, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
1590
1590
  }
1591
1591
  return this.strict = n, this.next(), e.body = this.finishNode(i, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclaration" : "ClassExpression");
1592
1592
  }, M.parseClassElement = function(e) {
@@ -1601,7 +1601,7 @@ M.parseFunction = function(e, t, n, r, i) {
1601
1601
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? o = c : r = c);
1602
1602
  }
1603
1603
  if (r ? (n.computed = !1, n.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), n.key.name = r, this.finishNode(n.key, "Identifier")) : this.parseClassElementName(n), t < 13 || this.type === E.parenL || o !== "method" || i || a) {
1604
- var l = !n.static && Xe(n, "constructor"), u = l && e;
1604
+ var l = !n.static && Ze(n, "constructor"), u = l && e;
1605
1605
  l && o !== "method" && this.raise(n.key.start, "Constructor can't have get/set modifier"), n.kind = l ? "constructor" : o, this.parseClassMethod(n, i, a, u);
1606
1606
  } else this.parseClassField(n);
1607
1607
  return n;
@@ -1611,21 +1611,21 @@ M.parseFunction = function(e, t, n, r, i) {
1611
1611
  this.type === E.privateId ? (this.value === "constructor" && this.raise(this.start, "Classes can't have an element named '#constructor'"), e.computed = !1, e.key = this.parsePrivateIdent()) : this.parsePropertyName(e);
1612
1612
  }, M.parseClassMethod = function(e, t, n, r) {
1613
1613
  var i = e.key;
1614
- e.kind === "constructor" ? (t && this.raise(i.start, "Constructor can't be a generator"), n && this.raise(i.start, "Constructor can't be an async method")) : e.static && Xe(e, "prototype") && this.raise(i.start, "Classes may not have a static property named prototype");
1614
+ e.kind === "constructor" ? (t && this.raise(i.start, "Constructor can't be a generator"), n && this.raise(i.start, "Constructor can't be an async method")) : e.static && Ze(e, "prototype") && this.raise(i.start, "Classes may not have a static property named prototype");
1615
1615
  var a = e.value = this.parseMethod(t, n, r);
1616
1616
  return e.kind === "get" && a.params.length !== 0 && this.raiseRecoverable(a.start, "getter should have no params"), e.kind === "set" && a.params.length !== 1 && this.raiseRecoverable(a.start, "setter should have exactly one param"), e.kind === "set" && a.params[0].type === "RestElement" && this.raiseRecoverable(a.params[0].start, "Setter cannot use rest params"), this.finishNode(e, "MethodDefinition");
1617
1617
  }, M.parseClassField = function(e) {
1618
- return Xe(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && Xe(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(E.eq) ? (this.enterScope(je | Oe), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
1618
+ return Ze(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && Ze(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(E.eq) ? (this.enterScope(Me | ke), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
1619
1619
  }, M.parseClassStaticBlock = function(e) {
1620
1620
  e.body = [];
1621
1621
  var t = this.labels;
1622
- for (this.labels = [], this.enterScope(Ae | Oe); this.type !== E.braceR;) {
1622
+ for (this.labels = [], this.enterScope(je | ke); this.type !== E.braceR;) {
1623
1623
  var n = this.parseStatement(null);
1624
1624
  e.body.push(n);
1625
1625
  }
1626
1626
  return this.next(), this.exitScope(), this.labels = t, this.finishNode(e, "StaticBlock");
1627
1627
  }, M.parseClassId = function(e, t) {
1628
- this.type === E.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, Le, !1)) : (t === !0 && this.unexpected(), e.id = null);
1628
+ this.type === E.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, Re, !1)) : (t === !0 && this.unexpected(), e.id = null);
1629
1629
  }, M.parseClassSuper = function(e) {
1630
1630
  e.superClass = this.eat(E._extends) ? this.parseExprSubscripts(null, !1) : null;
1631
1631
  }, M.enterClassBody = function() {
@@ -1638,14 +1638,14 @@ M.parseFunction = function(e, t, n, r, i) {
1638
1638
  var e = this.privateNameStack.pop(), t = e.declared, n = e.used;
1639
1639
  if (this.options.checkPrivateFields) for (var r = this.privateNameStack.length, i = r === 0 ? null : this.privateNameStack[r - 1], a = 0; a < n.length; ++a) {
1640
1640
  var o = n[a];
1641
- le(t, o.name) || (i ? i.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
1641
+ ue(t, o.name) || (i ? i.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
1642
1642
  }
1643
1643
  };
1644
- function Ye(e, t) {
1644
+ function Xe(e, t) {
1645
1645
  var n = t.key.name, r = e[n], i = "true";
1646
1646
  return t.type === "MethodDefinition" && (t.kind === "get" || t.kind === "set") && (i = (t.static ? "s" : "i") + t.kind), r === "iget" && i === "iset" || r === "iset" && i === "iget" || r === "sget" && i === "sset" || r === "sset" && i === "sget" ? (e[n] = "true", !1) : r ? !0 : (e[n] = i, !1);
1647
1647
  }
1648
- function Xe(e, t) {
1648
+ function Ze(e, t) {
1649
1649
  var n = e.computed, r = e.key;
1650
1650
  return !n && (r.type === "Identifier" && r.name === t || r.type === "Literal" && r.value === t);
1651
1651
  }
@@ -1673,7 +1673,7 @@ M.parseExportAllDeclaration = function(e, t) {
1673
1673
  var e;
1674
1674
  if (this.type === E._function || (e = this.isAsyncFunction())) {
1675
1675
  var t = this.startNode();
1676
- return this.next(), e && this.next(), this.parseFunction(t, Ke | Je, !1, e);
1676
+ return this.next(), e && this.next(), this.parseFunction(t, qe | Ye, !1, e);
1677
1677
  } else if (this.type === E._class) {
1678
1678
  var n = this.startNode();
1679
1679
  return this.parseClass(n, "nullableID");
@@ -1682,7 +1682,7 @@ M.parseExportAllDeclaration = function(e, t) {
1682
1682
  return this.semicolon(), r;
1683
1683
  }
1684
1684
  }, M.checkExport = function(e, t, n) {
1685
- e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), le(e, t) && this.raiseRecoverable(n, "Duplicate export '" + t + "'"), e[t] = !0);
1685
+ e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), ue(e, t) && this.raiseRecoverable(n, "Duplicate export '" + t + "'"), e[t] = !0);
1686
1686
  }, M.checkPatternExport = function(e, t) {
1687
1687
  var n = t.type;
1688
1688
  if (n === "Identifier") this.checkExport(e, t, t.start);
@@ -1714,16 +1714,16 @@ M.parseExportAllDeclaration = function(e, t) {
1714
1714
  }
1715
1715
  return t;
1716
1716
  }, M.parseImport = function(e) {
1717
- return this.next(), this.type === E.string ? (e.specifiers = Ge, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === E.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
1717
+ return this.next(), this.type === E.string ? (e.specifiers = Ke, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === E.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
1718
1718
  }, M.parseImportSpecifier = function() {
1719
1719
  var e = this.startNode();
1720
- return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, Le), this.finishNode(e, "ImportSpecifier");
1720
+ return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, Re), this.finishNode(e, "ImportSpecifier");
1721
1721
  }, M.parseImportDefaultSpecifier = function() {
1722
1722
  var e = this.startNode();
1723
- return e.local = this.parseIdent(), this.checkLValSimple(e.local, Le), this.finishNode(e, "ImportDefaultSpecifier");
1723
+ return e.local = this.parseIdent(), this.checkLValSimple(e.local, Re), this.finishNode(e, "ImportDefaultSpecifier");
1724
1724
  }, M.parseImportNamespaceSpecifier = function() {
1725
1725
  var e = this.startNode();
1726
- return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, Le), this.finishNode(e, "ImportNamespaceSpecifier");
1726
+ return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, Re), this.finishNode(e, "ImportNamespaceSpecifier");
1727
1727
  }, M.parseImportSpecifiers = function() {
1728
1728
  var e = [], t = !0;
1729
1729
  if (this.type === E.name && (e.push(this.parseImportDefaultSpecifier()), !this.eat(E.comma))) return e;
@@ -1742,7 +1742,7 @@ M.parseExportAllDeclaration = function(e, t) {
1742
1742
  if (n) n = !1;
1743
1743
  else if (this.expect(E.comma), this.afterTrailingComma(E.braceR)) break;
1744
1744
  var r = this.parseImportAttribute(), i = r.key.type === "Identifier" ? r.key.name : r.key.value;
1745
- le(t, i) && this.raiseRecoverable(r.key.start, "Duplicate attribute key '" + i + "'"), t[i] = !0, e.push(r);
1745
+ ue(t, i) && this.raiseRecoverable(r.key.start, "Duplicate attribute key '" + i + "'"), t[i] = !0, e.push(r);
1746
1746
  }
1747
1747
  return e;
1748
1748
  }, M.parseImportAttribute = function() {
@@ -1751,7 +1751,7 @@ M.parseExportAllDeclaration = function(e, t) {
1751
1751
  }, M.parseModuleExportName = function() {
1752
1752
  if (this.options.ecmaVersion >= 13 && this.type === E.string) {
1753
1753
  var e = this.parseLiteral(this.value);
1754
- return me.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
1754
+ return he.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
1755
1755
  }
1756
1756
  return this.parseIdent(!0);
1757
1757
  }, M.adaptDirectivePrologue = function(e) {
@@ -1842,11 +1842,11 @@ N.toAssignable = function(e, t, n) {
1842
1842
  var r = this.startNodeAt(e, t);
1843
1843
  return r.left = n, r.right = this.parseMaybeAssign(), this.finishNode(r, "AssignmentPattern");
1844
1844
  }, N.checkLValSimple = function(e, t, n) {
1845
- t === void 0 && (t = Fe);
1846
- var r = t !== Fe;
1845
+ t === void 0 && (t = Ie);
1846
+ var r = t !== Ie;
1847
1847
  switch (e.type) {
1848
1848
  case "Identifier":
1849
- this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === Le && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), n && (le(n, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), n[e.name] = !0), t !== Be && this.declareName(e.name, t, e.start));
1849
+ this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === Re && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), n && (ue(n, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), n[e.name] = !0), t !== Ve && this.declareName(e.name, t, e.start));
1850
1850
  break;
1851
1851
  case "ChainExpression":
1852
1852
  this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
@@ -1858,7 +1858,7 @@ N.toAssignable = function(e, t, n) {
1858
1858
  default: this.raise(e.start, (r ? "Binding" : "Assigning to") + " rvalue");
1859
1859
  }
1860
1860
  }, N.checkLValPattern = function(e, t, n) {
1861
- switch (t === void 0 && (t = Fe), e.type) {
1861
+ switch (t === void 0 && (t = Ie), e.type) {
1862
1862
  case "ObjectPattern":
1863
1863
  for (var r = 0, i = e.properties; r < i.length; r += 1) {
1864
1864
  var a = i[r];
@@ -1874,7 +1874,7 @@ N.toAssignable = function(e, t, n) {
1874
1874
  default: this.checkLValSimple(e, t, n);
1875
1875
  }
1876
1876
  }, N.checkLValInnerPattern = function(e, t, n) {
1877
- switch (t === void 0 && (t = Fe), e.type) {
1877
+ switch (t === void 0 && (t = Ie), e.type) {
1878
1878
  case "Property":
1879
1879
  this.checkLValInnerPattern(e.value, t, n);
1880
1880
  break;
@@ -1902,24 +1902,24 @@ var P = function(e, t, n, r, i) {
1902
1902
  f_expr: new P("function", !0),
1903
1903
  f_expr_gen: new P("function", !0, !1, null, !0),
1904
1904
  f_gen: new P("function", !1, !1, null, !0)
1905
- }, Ze = k.prototype;
1906
- Ze.initialContext = function() {
1905
+ }, Qe = k.prototype;
1906
+ Qe.initialContext = function() {
1907
1907
  return [F.b_stat];
1908
- }, Ze.curContext = function() {
1908
+ }, Qe.curContext = function() {
1909
1909
  return this.context[this.context.length - 1];
1910
- }, Ze.braceIsBlock = function(e) {
1910
+ }, Qe.braceIsBlock = function(e) {
1911
1911
  var t = this.curContext();
1912
1912
  return t === F.f_expr || t === F.f_stat ? !0 : e === E.colon && (t === F.b_stat || t === F.b_expr) ? !t.isExpr : e === E._return || e === E.name && this.exprAllowed ? D.test(this.input.slice(this.lastTokEnd, this.start)) : e === E._else || e === E.semi || e === E.eof || e === E.parenR || e === E.arrow ? !0 : e === E.braceL ? t === F.b_stat : e === E._var || e === E._const || e === E.name ? !1 : !this.exprAllowed;
1913
- }, Ze.inGeneratorContext = function() {
1913
+ }, Qe.inGeneratorContext = function() {
1914
1914
  for (var e = this.context.length - 1; e >= 1; e--) {
1915
1915
  var t = this.context[e];
1916
1916
  if (t.token === "function") return t.generator;
1917
1917
  }
1918
1918
  return !1;
1919
- }, Ze.updateContext = function(e) {
1919
+ }, Qe.updateContext = function(e) {
1920
1920
  var t, n = this.type;
1921
1921
  n.keyword && e === E.dot ? this.exprAllowed = !1 : (t = n.updateContext) ? t.call(this, e) : this.exprAllowed = n.beforeExpr;
1922
- }, Ze.overrideContext = function(e) {
1922
+ }, Qe.overrideContext = function(e) {
1923
1923
  this.curContext() !== e && (this.context[this.context.length - 1] = e);
1924
1924
  }, E.parenR.updateContext = E.braceR.updateContext = function() {
1925
1925
  if (this.context.length === 1) {
@@ -1994,7 +1994,7 @@ I.checkPropClash = function(e, t, n) {
1994
1994
  this.exprAllowed = !1;
1995
1995
  }
1996
1996
  var r = !1, i = -1, a = -1, o = -1;
1997
- t ? (i = t.parenthesizedAssign, a = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new He(), r = !0);
1997
+ t ? (i = t.parenthesizedAssign, a = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Ue(), r = !0);
1998
1998
  var s = this.start, c = this.startLoc;
1999
1999
  (this.type === E.parenL || this.type === E.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
2000
2000
  var l = this.parseMaybeConditional(e, t);
@@ -2034,7 +2034,7 @@ I.checkPropClash = function(e, t, n) {
2034
2034
  if (this.isContextual("await") && this.canAwait) o = this.parseAwait(r), t = !0;
2035
2035
  else if (this.type.prefix) {
2036
2036
  var s = this.startNode(), c = this.type === E.incDec;
2037
- s.operator = this.value, s.prefix = !0, this.next(), s.argument = this.parseMaybeUnary(null, !0, c, r), this.checkExpressionErrors(e, !0), c ? this.checkLValSimple(s.argument) : this.strict && s.operator === "delete" && Qe(s.argument) ? this.raiseRecoverable(s.start, "Deleting local variable in strict mode") : s.operator === "delete" && $e(s.argument) ? this.raiseRecoverable(s.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(s, c ? "UpdateExpression" : "UnaryExpression");
2037
+ s.operator = this.value, s.prefix = !0, this.next(), s.argument = this.parseMaybeUnary(null, !0, c, r), this.checkExpressionErrors(e, !0), c ? this.checkLValSimple(s.argument) : this.strict && s.operator === "delete" && $e(s.argument) ? this.raiseRecoverable(s.start, "Deleting local variable in strict mode") : s.operator === "delete" && et(s.argument) ? this.raiseRecoverable(s.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(s, c ? "UpdateExpression" : "UnaryExpression");
2038
2038
  } else if (!t && this.type === E.privateId) (r || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), o = this.parsePrivateIdent(), this.type !== E._in && this.unexpected();
2039
2039
  else {
2040
2040
  if (o = this.parseExprSubscripts(e, r), this.checkExpressionErrors(e)) return o;
@@ -2047,11 +2047,11 @@ I.checkPropClash = function(e, t, n) {
2047
2047
  else return this.buildBinary(i, a, o, this.parseMaybeUnary(null, !1, !1, r), "**", !1);
2048
2048
  else return o;
2049
2049
  };
2050
- function Qe(e) {
2051
- return e.type === "Identifier" || e.type === "ParenthesizedExpression" && Qe(e.expression);
2052
- }
2053
2050
  function $e(e) {
2054
- return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && $e(e.expression) || e.type === "ParenthesizedExpression" && $e(e.expression);
2051
+ return e.type === "Identifier" || e.type === "ParenthesizedExpression" && $e(e.expression);
2052
+ }
2053
+ function et(e) {
2054
+ return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && et(e.expression) || e.type === "ParenthesizedExpression" && et(e.expression);
2055
2055
  }
2056
2056
  I.parseExprSubscripts = function(e, t) {
2057
2057
  var n = this.start, r = this.startLoc, i = this.parseExprAtom(e, t);
@@ -2082,7 +2082,7 @@ I.parseExprSubscripts = function(e, t) {
2082
2082
  var u = this.startNodeAt(t, n);
2083
2083
  u.object = e, l ? (u.property = this.parseExpression(), this.expect(E.bracketR)) : this.type === E.privateId && e.type !== "Super" ? u.property = this.parsePrivateIdent() : u.property = this.parseIdent(this.options.allowReserved !== "never"), u.computed = !!l, s && (u.optional = c), e = this.finishNode(u, "MemberExpression");
2084
2084
  } else if (!r && this.eat(E.parenL)) {
2085
- var d = new He(), f = this.yieldPos, p = this.awaitPos, m = this.awaitIdentPos;
2085
+ var d = new Ue(), f = this.yieldPos, p = this.awaitPos, m = this.awaitIdentPos;
2086
2086
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
2087
2087
  var h = this.parseExprList(E.parenR, this.options.ecmaVersion >= 8, !1, d);
2088
2088
  if (i && !c && this.shouldParseAsyncArrow()) return this.checkPatternErrors(d, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = f, this.awaitPos = p, this.awaitIdentPos = m, this.parseSubscriptAsyncArrow(t, n, h, o);
@@ -2165,7 +2165,7 @@ I.parseExprSubscripts = function(e, t) {
2165
2165
  var n = this.start, r = this.startLoc, i, a = this.options.ecmaVersion >= 8;
2166
2166
  if (this.options.ecmaVersion >= 6) {
2167
2167
  this.next();
2168
- var o = this.start, s = this.startLoc, c = [], l = !0, u = !1, d = new He(), f = this.yieldPos, p = this.awaitPos, m;
2168
+ var o = this.start, s = this.startLoc, c = [], l = !0, u = !1, d = new Ue(), f = this.yieldPos, p = this.awaitPos, m;
2169
2169
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== E.parenR;) if (l ? l = !1 : this.expect(E.comma), a && this.afterTrailingComma(E.parenR, !0)) {
2170
2170
  u = !0;
2171
2171
  break;
@@ -2186,7 +2186,7 @@ I.parseExprSubscripts = function(e, t) {
2186
2186
  }, I.parseParenArrowList = function(e, t, n, r) {
2187
2187
  return this.parseArrowExpression(this.startNodeAt(e, t), n, !1, r);
2188
2188
  };
2189
- var et = [];
2189
+ var tt = [];
2190
2190
  I.parseNew = function() {
2191
2191
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
2192
2192
  var e = this.startNode();
@@ -2197,7 +2197,7 @@ I.parseNew = function() {
2197
2197
  return e.property = this.parseIdent(!0), e.property.name !== "target" && this.raiseRecoverable(e.property.start, "The only valid meta property for new is 'new.target'"), n && this.raiseRecoverable(e.start, "'new.target' must not contain escaped characters"), this.allowNewDotTarget || this.raiseRecoverable(e.start, "'new.target' can only be used in functions and class static block"), this.finishNode(e, "MetaProperty");
2198
2198
  }
2199
2199
  var r = this.start, i = this.startLoc;
2200
- return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), r, i, !0, !1), e.callee.type === "Super" && this.raiseRecoverable(r, "Invalid use of 'super'"), this.eat(E.parenL) ? e.arguments = this.parseExprList(E.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = et, this.finishNode(e, "NewExpression");
2200
+ return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), r, i, !0, !1), e.callee.type === "Super" && this.raiseRecoverable(r, "Invalid use of 'super'"), this.eat(E.parenL) ? e.arguments = this.parseExprList(E.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = tt, this.finishNode(e, "NewExpression");
2201
2201
  }, I.parseTemplateElement = function(e) {
2202
2202
  var t = e.isTagged, n = this.startNode();
2203
2203
  return this.type === E.invalidTemplate ? (t || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), n.value = {
@@ -2253,10 +2253,10 @@ I.parseNew = function() {
2253
2253
  e.id = null, this.options.ecmaVersion >= 6 && (e.generator = e.expression = !1), this.options.ecmaVersion >= 8 && (e.async = !1);
2254
2254
  }, I.parseMethod = function(e, t, n) {
2255
2255
  var r = this.startNode(), i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
2256
- return this.initFunction(r), this.options.ecmaVersion >= 6 && (r.generator = e), this.options.ecmaVersion >= 8 && (r.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Pe(t, r.generator) | Oe | (n ? ke : 0)), this.expect(E.parenL), r.params = this.parseBindingList(E.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(r, !1, !0, !1), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(r, "FunctionExpression");
2256
+ return this.initFunction(r), this.options.ecmaVersion >= 6 && (r.generator = e), this.options.ecmaVersion >= 8 && (r.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Fe(t, r.generator) | ke | (n ? Ae : 0)), this.expect(E.parenL), r.params = this.parseBindingList(E.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(r, !1, !0, !1), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(r, "FunctionExpression");
2257
2257
  }, I.parseArrowExpression = function(e, t, n, r) {
2258
2258
  var i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
2259
- return this.enterScope(Pe(n, !1) | Ee), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!n), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, !0), this.parseFunctionBody(e, !0, !1, r), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(e, "ArrowFunctionExpression");
2259
+ return this.enterScope(Fe(n, !1) | De), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!n), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, !0), this.parseFunctionBody(e, !0, !1, r), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(e, "ArrowFunctionExpression");
2260
2260
  }, I.parseFunctionBody = function(e, t, n, r) {
2261
2261
  var i = t && this.type !== E.braceL, a = this.strict, o = !1;
2262
2262
  if (i) e.body = this.parseMaybeAssign(r), e.expression = !0, this.checkParams(e, !1);
@@ -2264,7 +2264,7 @@ I.parseNew = function() {
2264
2264
  var s = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
2265
2265
  (!a || s) && (o = this.strictDirective(this.end), o && s && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
2266
2266
  var c = this.labels;
2267
- this.labels = [], o && (this.strict = !0), this.checkParams(e, !a && !o && !t && !n && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, Be), e.body = this.parseBlock(!1, void 0, o && !a), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = c;
2267
+ this.labels = [], o && (this.strict = !0), this.checkParams(e, !a && !o && !t && !n && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, Ve), e.body = this.parseBlock(!1, void 0, o && !a), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = c;
2268
2268
  }
2269
2269
  this.exitScope();
2270
2270
  }, I.isSimpleParamList = function(e) {
@@ -2273,7 +2273,7 @@ I.parseNew = function() {
2273
2273
  }, I.checkParams = function(e, t) {
2274
2274
  for (var n = Object.create(null), r = 0, i = e.params; r < i.length; r += 1) {
2275
2275
  var a = i[r];
2276
- this.checkLValInnerPattern(a, Ie, t ? null : n);
2276
+ this.checkLValInnerPattern(a, Le, t ? null : n);
2277
2277
  }
2278
2278
  }, I.parseExprList = function(e, t, n, r) {
2279
2279
  for (var i = [], a = !0; !this.eat(e);) {
@@ -2285,7 +2285,7 @@ I.parseNew = function() {
2285
2285
  return i;
2286
2286
  }, I.checkUnreserved = function(e) {
2287
2287
  var t = e.start, n = e.end, r = e.name;
2288
- this.inGenerator && r === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & Ne) && r === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (r === "arguments" || r === "await") && this.raise(t, "Cannot use " + r + " in class static initialization block"), this.keywords.test(r) && this.raise(t, "Unexpected keyword '" + r + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, n).indexOf("\\") !== -1) && (this.strict ? this.reservedWordsStrict : this.reservedWords).test(r) && (!this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t, "The keyword '" + r + "' is reserved"));
2288
+ this.inGenerator && r === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & Pe) && r === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (r === "arguments" || r === "await") && this.raise(t, "Cannot use " + r + " in class static initialization block"), this.keywords.test(r) && this.raise(t, "Unexpected keyword '" + r + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, n).indexOf("\\") !== -1) && (this.strict ? this.reservedWordsStrict : this.reservedWords).test(r) && (!this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t, "The keyword '" + r + "' is reserved"));
2289
2289
  }, I.parseIdent = function(e) {
2290
2290
  var t = this.parseIdentNode();
2291
2291
  return this.next(!!e), this.finishNode(t, "Identifier"), e || (this.checkUnreserved(t), t.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = t.start)), t;
@@ -2304,132 +2304,132 @@ I.parseNew = function() {
2304
2304
  var t = this.startNode();
2305
2305
  return this.next(), t.argument = this.parseMaybeUnary(null, !0, !1, e), this.finishNode(t, "AwaitExpression");
2306
2306
  };
2307
- var tt = k.prototype;
2308
- tt.raise = function(e, t) {
2309
- var n = _e(this.input, e);
2307
+ var nt = k.prototype;
2308
+ nt.raise = function(e, t) {
2309
+ var n = ve(this.input, e);
2310
2310
  t += " (" + n.line + ":" + n.column + ")", this.sourceFile && (t += " in " + this.sourceFile);
2311
2311
  var r = SyntaxError(t);
2312
2312
  throw r.pos = e, r.loc = n, r.raisedAt = this.pos, r;
2313
- }, tt.raiseRecoverable = tt.raise, tt.curPosition = function() {
2314
- if (this.options.locations) return new he(this.curLine, this.pos - this.lineStart);
2313
+ }, nt.raiseRecoverable = nt.raise, nt.curPosition = function() {
2314
+ if (this.options.locations) return new ge(this.curLine, this.pos - this.lineStart);
2315
2315
  };
2316
- var nt = k.prototype, rt = function(e) {
2316
+ var rt = k.prototype, it = function(e) {
2317
2317
  this.flags = e, this.var = [], this.lexical = [], this.functions = [];
2318
2318
  };
2319
- nt.enterScope = function(e) {
2320
- this.scopeStack.push(new rt(e));
2321
- }, nt.exitScope = function() {
2319
+ rt.enterScope = function(e) {
2320
+ this.scopeStack.push(new it(e));
2321
+ }, rt.exitScope = function() {
2322
2322
  this.scopeStack.pop();
2323
- }, nt.treatFunctionsAsVarInScope = function(e) {
2324
- return e.flags & Ce || !this.inModule && e.flags & Se;
2325
- }, nt.declareName = function(e, t, n) {
2323
+ }, rt.treatFunctionsAsVarInScope = function(e) {
2324
+ return e.flags & we || !this.inModule && e.flags & Ce;
2325
+ }, rt.declareName = function(e, t, n) {
2326
2326
  var r = !1;
2327
- if (t === Le) {
2327
+ if (t === Re) {
2328
2328
  var i = this.currentScope();
2329
- r = i.lexical.indexOf(e) > -1 || i.functions.indexOf(e) > -1 || i.var.indexOf(e) > -1, i.lexical.push(e), this.inModule && i.flags & Se && delete this.undefinedExports[e];
2330
- } else if (t === ze) this.currentScope().lexical.push(e);
2331
- else if (t === Re) {
2329
+ r = i.lexical.indexOf(e) > -1 || i.functions.indexOf(e) > -1 || i.var.indexOf(e) > -1, i.lexical.push(e), this.inModule && i.flags & Ce && delete this.undefinedExports[e];
2330
+ } else if (t === Be) this.currentScope().lexical.push(e);
2331
+ else if (t === ze) {
2332
2332
  var a = this.currentScope();
2333
2333
  r = this.treatFunctionsAsVar ? a.lexical.indexOf(e) > -1 : a.lexical.indexOf(e) > -1 || a.var.indexOf(e) > -1, a.functions.push(e);
2334
2334
  } else for (var o = this.scopeStack.length - 1; o >= 0; --o) {
2335
2335
  var s = this.scopeStack[o];
2336
- if (s.lexical.indexOf(e) > -1 && !(s.flags & De && s.lexical[0] === e) || !this.treatFunctionsAsVarInScope(s) && s.functions.indexOf(e) > -1) {
2336
+ if (s.lexical.indexOf(e) > -1 && !(s.flags & Oe && s.lexical[0] === e) || !this.treatFunctionsAsVarInScope(s) && s.functions.indexOf(e) > -1) {
2337
2337
  r = !0;
2338
2338
  break;
2339
2339
  }
2340
- if (s.var.push(e), this.inModule && s.flags & Se && delete this.undefinedExports[e], s.flags & Ne) break;
2340
+ if (s.var.push(e), this.inModule && s.flags & Ce && delete this.undefinedExports[e], s.flags & Pe) break;
2341
2341
  }
2342
2342
  r && this.raiseRecoverable(n, "Identifier '" + e + "' has already been declared");
2343
- }, nt.checkLocalExport = function(e) {
2343
+ }, rt.checkLocalExport = function(e) {
2344
2344
  this.scopeStack[0].lexical.indexOf(e.name) === -1 && this.scopeStack[0].var.indexOf(e.name) === -1 && (this.undefinedExports[e.name] = e);
2345
- }, nt.currentScope = function() {
2345
+ }, rt.currentScope = function() {
2346
2346
  return this.scopeStack[this.scopeStack.length - 1];
2347
- }, nt.currentVarScope = function() {
2347
+ }, rt.currentVarScope = function() {
2348
2348
  for (var e = this.scopeStack.length - 1;; e--) {
2349
2349
  var t = this.scopeStack[e];
2350
- if (t.flags & (Ne | je | Ae)) return t;
2350
+ if (t.flags & (Pe | Me | je)) return t;
2351
2351
  }
2352
- }, nt.currentThisScope = function() {
2352
+ }, rt.currentThisScope = function() {
2353
2353
  for (var e = this.scopeStack.length - 1;; e--) {
2354
2354
  var t = this.scopeStack[e];
2355
- if (t.flags & (Ne | je | Ae) && !(t.flags & Ee)) return t;
2355
+ if (t.flags & (Pe | Me | je) && !(t.flags & De)) return t;
2356
2356
  }
2357
2357
  };
2358
- var it = function(e, t, n) {
2359
- this.type = "", this.start = t, this.end = 0, e.options.locations && (this.loc = new ge(e, n)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [t, 0]);
2360
- }, at = k.prototype;
2361
- at.startNode = function() {
2362
- return new it(this, this.start, this.startLoc);
2363
- }, at.startNodeAt = function(e, t) {
2364
- return new it(this, e, t);
2358
+ var at = function(e, t, n) {
2359
+ this.type = "", this.start = t, this.end = 0, e.options.locations && (this.loc = new _e(e, n)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [t, 0]);
2360
+ }, ot = k.prototype;
2361
+ ot.startNode = function() {
2362
+ return new at(this, this.start, this.startLoc);
2363
+ }, ot.startNodeAt = function(e, t) {
2364
+ return new at(this, e, t);
2365
2365
  };
2366
- function ot(e, t, n, r) {
2366
+ function st(e, t, n, r) {
2367
2367
  return e.type = t, e.end = n, this.options.locations && (e.loc.end = r), this.options.ranges && (e.range[1] = n), e;
2368
2368
  }
2369
- at.finishNode = function(e, t) {
2370
- return ot.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
2371
- }, at.finishNodeAt = function(e, t, n, r) {
2372
- return ot.call(this, e, t, n, r);
2373
- }, at.copyNode = function(e) {
2374
- var t = new it(this, e.start, this.startLoc);
2369
+ ot.finishNode = function(e, t) {
2370
+ return st.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
2371
+ }, ot.finishNodeAt = function(e, t, n, r) {
2372
+ return st.call(this, e, t, n, r);
2373
+ }, ot.copyNode = function(e) {
2374
+ var t = new at(this, e.start, this.startLoc);
2375
2375
  for (var n in e) t[n] = e[n];
2376
2376
  return t;
2377
2377
  };
2378
- var st = "Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz", ct = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", lt = ct + " Extended_Pictographic", ut = lt, dt = ut + " EBase EComp EMod EPres ExtPict", ft = dt, pt = {
2379
- 9: ct,
2380
- 10: lt,
2381
- 11: ut,
2382
- 12: dt,
2383
- 13: ft,
2384
- 14: ft
2385
- }, mt = {
2378
+ var ct = "Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz", lt = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", ut = lt + " Extended_Pictographic", dt = ut, ft = dt + " EBase EComp EMod EPres ExtPict", pt = ft, mt = {
2379
+ 9: lt,
2380
+ 10: ut,
2381
+ 11: dt,
2382
+ 12: ft,
2383
+ 13: pt,
2384
+ 14: pt
2385
+ }, ht = {
2386
2386
  9: "",
2387
2387
  10: "",
2388
2388
  11: "",
2389
2389
  12: "",
2390
2390
  13: "",
2391
2391
  14: "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"
2392
- }, ht = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", gt = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", _t = gt + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", vt = _t + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", yt = vt + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", bt = yt + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", xt = {
2393
- 9: gt,
2394
- 10: _t,
2395
- 11: vt,
2396
- 12: yt,
2397
- 13: bt,
2398
- 14: bt + " " + st
2399
- }, St = {};
2400
- function Ct(e) {
2401
- var t = St[e] = {
2402
- binary: fe(pt[e] + " " + ht),
2403
- binaryOfStrings: fe(mt[e]),
2392
+ }, gt = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", _t = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", vt = _t + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", yt = vt + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", bt = yt + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", xt = bt + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", St = {
2393
+ 9: _t,
2394
+ 10: vt,
2395
+ 11: yt,
2396
+ 12: bt,
2397
+ 13: xt,
2398
+ 14: xt + " " + ct
2399
+ }, Ct = {};
2400
+ function wt(e) {
2401
+ var t = Ct[e] = {
2402
+ binary: pe(mt[e] + " " + gt),
2403
+ binaryOfStrings: pe(ht[e]),
2404
2404
  nonBinary: {
2405
- General_Category: fe(ht),
2406
- Script: fe(xt[e])
2405
+ General_Category: pe(gt),
2406
+ Script: pe(St[e])
2407
2407
  }
2408
2408
  };
2409
2409
  t.nonBinary.Script_Extensions = t.nonBinary.Script, t.nonBinary.gc = t.nonBinary.General_Category, t.nonBinary.sc = t.nonBinary.Script, t.nonBinary.scx = t.nonBinary.Script_Extensions;
2410
2410
  }
2411
- for (var wt = 0, Tt = [
2411
+ for (var Tt = 0, Et = [
2412
2412
  9,
2413
2413
  10,
2414
2414
  11,
2415
2415
  12,
2416
2416
  13,
2417
2417
  14
2418
- ]; wt < Tt.length; wt += 1) {
2419
- var Et = Tt[wt];
2420
- Ct(Et);
2418
+ ]; Tt < Et.length; Tt += 1) {
2419
+ var Dt = Et[Tt];
2420
+ wt(Dt);
2421
2421
  }
2422
- var L = k.prototype, Dt = function(e, t) {
2422
+ var L = k.prototype, Ot = function(e, t) {
2423
2423
  this.parent = e, this.base = t || this;
2424
2424
  };
2425
- Dt.prototype.separatedFrom = function(e) {
2425
+ Ot.prototype.separatedFrom = function(e) {
2426
2426
  for (var t = this; t; t = t.parent) for (var n = e; n; n = n.parent) if (t.base === n.base && t !== n) return !0;
2427
2427
  return !1;
2428
- }, Dt.prototype.sibling = function() {
2429
- return new Dt(this.parent, this.base);
2428
+ }, Ot.prototype.sibling = function() {
2429
+ return new Ot(this.parent, this.base);
2430
2430
  };
2431
2431
  var R = function(e) {
2432
- this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : "") + (e.options.ecmaVersion >= 13 ? "d" : "") + (e.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = St[e.options.ecmaVersion >= 14 ? 14 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = Object.create(null), this.backReferenceNames = [], this.branchID = null;
2432
+ this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : "") + (e.options.ecmaVersion >= 13 ? "d" : "") + (e.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = Ct[e.options.ecmaVersion >= 14 ? 14 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = Object.create(null), this.backReferenceNames = [], this.branchID = null;
2433
2433
  };
2434
2434
  R.prototype.reset = function(e, t, n) {
2435
2435
  var r = n.indexOf("v") !== -1, i = n.indexOf("u") !== -1;
@@ -2473,12 +2473,12 @@ R.prototype.reset = function(e, t, n) {
2473
2473
  }
2474
2474
  this.options.ecmaVersion >= 15 && r && i && this.raise(e.start, "Invalid regular expression flag");
2475
2475
  };
2476
- function Ot(e) {
2476
+ function kt(e) {
2477
2477
  for (var t in e) return !0;
2478
2478
  return !1;
2479
2479
  }
2480
2480
  L.validateRegExpPattern = function(e) {
2481
- this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && Ot(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
2481
+ this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && kt(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
2482
2482
  }, L.regexp_pattern = function(e) {
2483
2483
  e.pos = 0, e.lastIntValue = 0, e.lastStringValue = "", e.lastAssertionIsQuantifiable = !1, e.numCapturingParens = 0, e.maxBackReference = 0, e.groupNames = Object.create(null), e.backReferenceNames.length = 0, e.branchID = null, this.regexp_disjunction(e), e.pos !== e.source.length && (e.eat(41) && e.raise("Unmatched ')'"), (e.eat(93) || e.eat(125)) && e.raise("Lone quantifier brackets")), e.maxBackReference > e.numCapturingParens && e.raise("Invalid escape");
2484
2484
  for (var t = 0, n = e.backReferenceNames; t < n.length; t += 1) {
@@ -2487,7 +2487,7 @@ L.validateRegExpPattern = function(e) {
2487
2487
  }
2488
2488
  }, L.regexp_disjunction = function(e) {
2489
2489
  var t = this.options.ecmaVersion >= 16;
2490
- for (t && (e.branchID = new Dt(e.branchID, null)), this.regexp_alternative(e); e.eat(124);) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
2490
+ for (t && (e.branchID = new Ot(e.branchID, null)), this.regexp_alternative(e); e.eat(124);) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
2491
2491
  t && (e.branchID = e.branchID.parent), this.regexp_eatQuantifier(e, !0) && e.raise("Nothing to repeat"), e.eat(123) && e.raise("Lone quantifier brackets");
2492
2492
  }, L.regexp_alternative = function(e) {
2493
2493
  for (; e.pos < e.source.length && this.regexp_eatTerm(e););
@@ -2562,10 +2562,10 @@ L.validateRegExpPattern = function(e) {
2562
2562
  }
2563
2563
  return !1;
2564
2564
  }, L.regexp_eatModifiers = function(e) {
2565
- for (var t = "", n = 0; (n = e.current()) !== -1 && kt(n);) t += pe(n), e.advance();
2565
+ for (var t = "", n = 0; (n = e.current()) !== -1 && At(n);) t += me(n), e.advance();
2566
2566
  return t;
2567
2567
  };
2568
- function kt(e) {
2568
+ function At(e) {
2569
2569
  return e === 105 || e === 109 || e === 115;
2570
2570
  }
2571
2571
  L.regexp_eatExtendedAtom = function(e) {
@@ -2574,13 +2574,13 @@ L.regexp_eatExtendedAtom = function(e) {
2574
2574
  return this.regexp_eatBracedQuantifier(e, !0) && e.raise("Nothing to repeat"), !1;
2575
2575
  }, L.regexp_eatSyntaxCharacter = function(e) {
2576
2576
  var t = e.current();
2577
- return At(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2577
+ return jt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2578
2578
  };
2579
- function At(e) {
2579
+ function jt(e) {
2580
2580
  return e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e >= 91 && e <= 94 || e >= 123 && e <= 125;
2581
2581
  }
2582
2582
  L.regexp_eatPatternCharacters = function(e) {
2583
- for (var t = e.pos, n = 0; (n = e.current()) !== -1 && !At(n);) e.advance();
2583
+ for (var t = e.pos, n = 0; (n = e.current()) !== -1 && !jt(n);) e.advance();
2584
2584
  return e.pos !== t;
2585
2585
  }, L.regexp_eatExtendedPatternCharacter = function(e) {
2586
2586
  var t = e.current();
@@ -2601,23 +2601,23 @@ L.regexp_eatPatternCharacters = function(e) {
2601
2601
  return !1;
2602
2602
  }, L.regexp_eatRegExpIdentifierName = function(e) {
2603
2603
  if (e.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(e)) {
2604
- for (e.lastStringValue += pe(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e);) e.lastStringValue += pe(e.lastIntValue);
2604
+ for (e.lastStringValue += me(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e);) e.lastStringValue += me(e.lastIntValue);
2605
2605
  return !0;
2606
2606
  }
2607
2607
  return !1;
2608
2608
  }, L.regexp_eatRegExpIdentifierStart = function(e) {
2609
2609
  var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
2610
- return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), jt(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2610
+ return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), Mt(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2611
2611
  };
2612
- function jt(e) {
2613
- return v(e, !0) || e === 36 || e === 95;
2612
+ function Mt(e) {
2613
+ return y(e, !0) || e === 36 || e === 95;
2614
2614
  }
2615
2615
  L.regexp_eatRegExpIdentifierPart = function(e) {
2616
2616
  var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
2617
- return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), Mt(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2617
+ return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), Nt(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2618
2618
  };
2619
- function Mt(e) {
2620
- return y(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
2619
+ function Nt(e) {
2620
+ return b(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
2621
2621
  }
2622
2622
  L.regexp_eatAtomEscape = function(e) {
2623
2623
  return this.regexp_eatBackReference(e) || this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e) || e.switchN && this.regexp_eatKGroupName(e) ? !0 : (e.switchU && (e.current() === 99 && e.raise("Invalid unicode escape"), e.raise("Invalid escape")), !1);
@@ -2646,15 +2646,15 @@ L.regexp_eatAtomEscape = function(e) {
2646
2646
  }
2647
2647
  return !1;
2648
2648
  }, L.regexp_eatZero = function(e) {
2649
- return e.current() === 48 && !Ut(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
2649
+ return e.current() === 48 && !Wt(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
2650
2650
  }, L.regexp_eatControlEscape = function(e) {
2651
2651
  var t = e.current();
2652
2652
  return t === 116 ? (e.lastIntValue = 9, e.advance(), !0) : t === 110 ? (e.lastIntValue = 10, e.advance(), !0) : t === 118 ? (e.lastIntValue = 11, e.advance(), !0) : t === 102 ? (e.lastIntValue = 12, e.advance(), !0) : t === 114 ? (e.lastIntValue = 13, e.advance(), !0) : !1;
2653
2653
  }, L.regexp_eatControlLetter = function(e) {
2654
2654
  var t = e.current();
2655
- return Nt(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2655
+ return Pt(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2656
2656
  };
2657
- function Nt(e) {
2657
+ function Pt(e) {
2658
2658
  return e >= 65 && e <= 90 || e >= 97 && e <= 122;
2659
2659
  }
2660
2660
  L.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
@@ -2673,12 +2673,12 @@ L.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
2673
2673
  }
2674
2674
  return !0;
2675
2675
  }
2676
- if (r && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && Pt(e.lastIntValue)) return !0;
2676
+ if (r && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && Ft(e.lastIntValue)) return !0;
2677
2677
  r && e.raise("Invalid unicode escape"), e.pos = n;
2678
2678
  }
2679
2679
  return !1;
2680
2680
  };
2681
- function Pt(e) {
2681
+ function Ft(e) {
2682
2682
  return e >= 0 && e <= 1114111;
2683
2683
  }
2684
2684
  L.regexp_eatIdentityEscape = function(e) {
@@ -2696,10 +2696,10 @@ L.regexp_eatIdentityEscape = function(e) {
2696
2696
  }
2697
2697
  return !1;
2698
2698
  };
2699
- var Ft = 0, It = 1, z = 2;
2699
+ var It = 0, Lt = 1, z = 2;
2700
2700
  L.regexp_eatCharacterClassEscape = function(e) {
2701
2701
  var t = e.current();
2702
- if (Lt(t)) return e.lastIntValue = -1, e.advance(), It;
2702
+ if (Rt(t)) return e.lastIntValue = -1, e.advance(), Lt;
2703
2703
  var n = !1;
2704
2704
  if (e.switchU && this.options.ecmaVersion >= 9 && ((n = t === 80) || t === 112)) {
2705
2705
  e.lastIntValue = -1, e.advance();
@@ -2707,9 +2707,9 @@ L.regexp_eatCharacterClassEscape = function(e) {
2707
2707
  if (e.eat(123) && (r = this.regexp_eatUnicodePropertyValueExpression(e)) && e.eat(125)) return n && r === z && e.raise("Invalid property name"), r;
2708
2708
  e.raise("Invalid property name");
2709
2709
  }
2710
- return Ft;
2710
+ return It;
2711
2711
  };
2712
- function Lt(e) {
2712
+ function Rt(e) {
2713
2713
  return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87;
2714
2714
  }
2715
2715
  L.regexp_eatUnicodePropertyValueExpression = function(e) {
@@ -2718,35 +2718,35 @@ L.regexp_eatUnicodePropertyValueExpression = function(e) {
2718
2718
  var n = e.lastStringValue;
2719
2719
  if (this.regexp_eatUnicodePropertyValue(e)) {
2720
2720
  var r = e.lastStringValue;
2721
- return this.regexp_validateUnicodePropertyNameAndValue(e, n, r), It;
2721
+ return this.regexp_validateUnicodePropertyNameAndValue(e, n, r), Lt;
2722
2722
  }
2723
2723
  }
2724
2724
  if (e.pos = t, this.regexp_eatLoneUnicodePropertyNameOrValue(e)) {
2725
2725
  var i = e.lastStringValue;
2726
2726
  return this.regexp_validateUnicodePropertyNameOrValue(e, i);
2727
2727
  }
2728
- return Ft;
2728
+ return It;
2729
2729
  }, L.regexp_validateUnicodePropertyNameAndValue = function(e, t, n) {
2730
- le(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(n) || e.raise("Invalid property value");
2730
+ ue(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(n) || e.raise("Invalid property value");
2731
2731
  }, L.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
2732
- if (e.unicodeProperties.binary.test(t)) return It;
2732
+ if (e.unicodeProperties.binary.test(t)) return Lt;
2733
2733
  if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t)) return z;
2734
2734
  e.raise("Invalid property name");
2735
2735
  }, L.regexp_eatUnicodePropertyName = function(e) {
2736
2736
  var t = 0;
2737
- for (e.lastStringValue = ""; Rt(t = e.current());) e.lastStringValue += pe(t), e.advance();
2737
+ for (e.lastStringValue = ""; zt(t = e.current());) e.lastStringValue += me(t), e.advance();
2738
2738
  return e.lastStringValue !== "";
2739
2739
  };
2740
- function Rt(e) {
2741
- return Nt(e) || e === 95;
2740
+ function zt(e) {
2741
+ return Pt(e) || e === 95;
2742
2742
  }
2743
2743
  L.regexp_eatUnicodePropertyValue = function(e) {
2744
2744
  var t = 0;
2745
- for (e.lastStringValue = ""; zt(t = e.current());) e.lastStringValue += pe(t), e.advance();
2745
+ for (e.lastStringValue = ""; Bt(t = e.current());) e.lastStringValue += me(t), e.advance();
2746
2746
  return e.lastStringValue !== "";
2747
2747
  };
2748
- function zt(e) {
2749
- return Rt(e) || Ut(e);
2748
+ function Bt(e) {
2749
+ return zt(e) || Wt(e);
2750
2750
  }
2751
2751
  L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2752
2752
  return this.regexp_eatUnicodePropertyValue(e);
@@ -2757,7 +2757,7 @@ L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2757
2757
  }
2758
2758
  return !1;
2759
2759
  }, L.regexp_classContents = function(e) {
2760
- return e.current() === 93 ? It : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), It);
2760
+ return e.current() === 93 ? Lt : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), Lt);
2761
2761
  }, L.regexp_nonEmptyClassRanges = function(e) {
2762
2762
  for (; this.regexp_eatClassAtom(e);) {
2763
2763
  var t = e.lastIntValue;
@@ -2772,7 +2772,7 @@ L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2772
2772
  if (this.regexp_eatClassEscape(e)) return !0;
2773
2773
  if (e.switchU) {
2774
2774
  var n = e.current();
2775
- (n === 99 || Kt(n)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
2775
+ (n === 99 || qt(n)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
2776
2776
  }
2777
2777
  e.pos = t;
2778
2778
  }
@@ -2788,12 +2788,12 @@ L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2788
2788
  }
2789
2789
  return this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e);
2790
2790
  }, L.regexp_classSetExpression = function(e) {
2791
- var t = It, n;
2791
+ var t = Lt, n;
2792
2792
  if (!this.regexp_eatClassSetRange(e)) if (n = this.regexp_eatClassSetOperand(e)) {
2793
2793
  n === z && (t = z);
2794
2794
  for (var r = e.pos; e.eatChars([38, 38]);) {
2795
2795
  if (e.current() !== 38 && (n = this.regexp_eatClassSetOperand(e))) {
2796
- n !== z && (t = It);
2796
+ n !== z && (t = Lt);
2797
2797
  continue;
2798
2798
  }
2799
2799
  e.raise("Invalid character in character class");
@@ -2818,7 +2818,7 @@ L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2818
2818
  }
2819
2819
  return !1;
2820
2820
  }, L.regexp_eatClassSetOperand = function(e) {
2821
- return this.regexp_eatClassSetCharacter(e) ? It : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
2821
+ return this.regexp_eatClassSetCharacter(e) ? Lt : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
2822
2822
  }, L.regexp_eatNestedClass = function(e) {
2823
2823
  var t = e.pos;
2824
2824
  if (e.eat(91)) {
@@ -2847,29 +2847,29 @@ L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2847
2847
  return t;
2848
2848
  }, L.regexp_classString = function(e) {
2849
2849
  for (var t = 0; this.regexp_eatClassSetCharacter(e);) t++;
2850
- return t === 1 ? It : z;
2850
+ return t === 1 ? Lt : z;
2851
2851
  }, L.regexp_eatClassSetCharacter = function(e) {
2852
2852
  var t = e.pos;
2853
2853
  if (e.eat(92)) return this.regexp_eatCharacterEscape(e) || this.regexp_eatClassSetReservedPunctuator(e) ? !0 : e.eat(98) ? (e.lastIntValue = 8, !0) : (e.pos = t, !1);
2854
2854
  var n = e.current();
2855
- return n < 0 || n === e.lookahead() && Bt(n) || Vt(n) ? !1 : (e.advance(), e.lastIntValue = n, !0);
2855
+ return n < 0 || n === e.lookahead() && Vt(n) || Ht(n) ? !1 : (e.advance(), e.lastIntValue = n, !0);
2856
2856
  };
2857
- function Bt(e) {
2857
+ function Vt(e) {
2858
2858
  return e === 33 || e >= 35 && e <= 38 || e >= 42 && e <= 44 || e === 46 || e >= 58 && e <= 64 || e === 94 || e === 96 || e === 126;
2859
2859
  }
2860
- function Vt(e) {
2860
+ function Ht(e) {
2861
2861
  return e === 40 || e === 41 || e === 45 || e === 47 || e >= 91 && e <= 93 || e >= 123 && e <= 125;
2862
2862
  }
2863
2863
  L.regexp_eatClassSetReservedPunctuator = function(e) {
2864
2864
  var t = e.current();
2865
- return Ht(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2865
+ return Ut(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2866
2866
  };
2867
- function Ht(e) {
2867
+ function Ut(e) {
2868
2868
  return e === 33 || e === 35 || e === 37 || e === 38 || e === 44 || e === 45 || e >= 58 && e <= 62 || e === 64 || e === 96 || e === 126;
2869
2869
  }
2870
2870
  L.regexp_eatClassControlLetter = function(e) {
2871
2871
  var t = e.current();
2872
- return Ut(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2872
+ return Wt(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2873
2873
  }, L.regexp_eatHexEscapeSequence = function(e) {
2874
2874
  var t = e.pos;
2875
2875
  if (e.eat(120)) {
@@ -2879,21 +2879,21 @@ L.regexp_eatClassControlLetter = function(e) {
2879
2879
  return !1;
2880
2880
  }, L.regexp_eatDecimalDigits = function(e) {
2881
2881
  var t = e.pos, n = 0;
2882
- for (e.lastIntValue = 0; Ut(n = e.current());) e.lastIntValue = 10 * e.lastIntValue + (n - 48), e.advance();
2882
+ for (e.lastIntValue = 0; Wt(n = e.current());) e.lastIntValue = 10 * e.lastIntValue + (n - 48), e.advance();
2883
2883
  return e.pos !== t;
2884
2884
  };
2885
- function Ut(e) {
2885
+ function Wt(e) {
2886
2886
  return e >= 48 && e <= 57;
2887
2887
  }
2888
2888
  L.regexp_eatHexDigits = function(e) {
2889
2889
  var t = e.pos, n = 0;
2890
- for (e.lastIntValue = 0; Wt(n = e.current());) e.lastIntValue = 16 * e.lastIntValue + Gt(n), e.advance();
2890
+ for (e.lastIntValue = 0; Gt(n = e.current());) e.lastIntValue = 16 * e.lastIntValue + Kt(n), e.advance();
2891
2891
  return e.pos !== t;
2892
2892
  };
2893
- function Wt(e) {
2893
+ function Gt(e) {
2894
2894
  return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
2895
2895
  }
2896
- function Gt(e) {
2896
+ function Kt(e) {
2897
2897
  return e >= 65 && e <= 70 ? 10 + (e - 65) : e >= 97 && e <= 102 ? 10 + (e - 97) : e - 48;
2898
2898
  }
2899
2899
  L.regexp_eatLegacyOctalEscapeSequence = function(e) {
@@ -2908,9 +2908,9 @@ L.regexp_eatLegacyOctalEscapeSequence = function(e) {
2908
2908
  return !1;
2909
2909
  }, L.regexp_eatOctalDigit = function(e) {
2910
2910
  var t = e.current();
2911
- return Kt(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
2911
+ return qt(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
2912
2912
  };
2913
- function Kt(e) {
2913
+ function qt(e) {
2914
2914
  return e >= 48 && e <= 55;
2915
2915
  }
2916
2916
  L.regexp_eatFixedHexDigits = function(e, t) {
@@ -2918,18 +2918,18 @@ L.regexp_eatFixedHexDigits = function(e, t) {
2918
2918
  e.lastIntValue = 0;
2919
2919
  for (var r = 0; r < t; ++r) {
2920
2920
  var i = e.current();
2921
- if (!Wt(i)) return e.pos = n, !1;
2922
- e.lastIntValue = 16 * e.lastIntValue + Gt(i), e.advance();
2921
+ if (!Gt(i)) return e.pos = n, !1;
2922
+ e.lastIntValue = 16 * e.lastIntValue + Kt(i), e.advance();
2923
2923
  }
2924
2924
  return !0;
2925
2925
  };
2926
- var qt = function(e) {
2927
- this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new ge(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
2926
+ var Jt = function(e) {
2927
+ this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new _e(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
2928
2928
  }, B = k.prototype;
2929
2929
  B.next = function(e) {
2930
- !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new qt(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2930
+ !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Jt(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2931
2931
  }, B.getToken = function() {
2932
- return this.next(), new qt(this);
2932
+ return this.next(), new Jt(this);
2933
2933
  }, typeof Symbol < "u" && (B[Symbol.iterator] = function() {
2934
2934
  var e = this;
2935
2935
  return { next: function() {
@@ -2945,7 +2945,7 @@ B.next = function(e) {
2945
2945
  if (e.override) return e.override(this);
2946
2946
  this.readToken(this.fullCharCodeAtPos());
2947
2947
  }, B.readToken = function(e) {
2948
- return v(e, this.options.ecmaVersion >= 6) || e === 92 ? this.readWord() : this.getTokenFromCode(e);
2948
+ return y(e, this.options.ecmaVersion >= 6) || e === 92 ? this.readWord() : this.getTokenFromCode(e);
2949
2949
  }, B.fullCharCodeAt = function(e) {
2950
2950
  var t = this.input.charCodeAt(e);
2951
2951
  if (t <= 55295 || t >= 56320) return t;
@@ -2955,10 +2955,10 @@ B.next = function(e) {
2955
2955
  return this.fullCharCodeAt(this.pos);
2956
2956
  }, B.skipBlockComment = function() {
2957
2957
  var e = this.options.onComment && this.curPosition(), t = this.pos, n = this.input.indexOf("*/", this.pos += 2);
2958
- if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var r = void 0, i = t; (r = ie(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
2958
+ if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var r = void 0, i = t; (r = ae(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
2959
2959
  this.options.onComment && this.options.onComment(!0, this.input.slice(t + 2, n), t, this.pos, e, this.curPosition());
2960
2960
  }, B.skipLineComment = function(e) {
2961
- for (var t = this.pos, n = this.options.onComment && this.curPosition(), r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !re(r);) r = this.input.charCodeAt(++this.pos);
2961
+ for (var t = this.pos, n = this.options.onComment && this.curPosition(), r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !ie(r);) r = this.input.charCodeAt(++this.pos);
2962
2962
  this.options.onComment && this.options.onComment(!1, this.input.slice(t + e, this.pos), t, this.pos, n, this.curPosition());
2963
2963
  }, B.skipSpace = function() {
2964
2964
  loop: for (; this.pos < this.input.length;) {
@@ -2985,7 +2985,7 @@ B.next = function(e) {
2985
2985
  default: break loop;
2986
2986
  }
2987
2987
  break;
2988
- default: if (e > 8 && e < 14 || e >= 5760 && ae.test(String.fromCharCode(e))) ++this.pos;
2988
+ default: if (e > 8 && e < 14 || e >= 5760 && oe.test(String.fromCharCode(e))) ++this.pos;
2989
2989
  else break loop;
2990
2990
  }
2991
2991
  }
@@ -3031,8 +3031,8 @@ B.next = function(e) {
3031
3031
  return this.finishOp(E.question, 1);
3032
3032
  }, B.readToken_numberSign = function() {
3033
3033
  var e = this.options.ecmaVersion, t = 35;
3034
- if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), v(t, !0) || t === 92)) return this.finishToken(E.privateId, this.readWord1());
3035
- this.raise(this.pos, "Unexpected character '" + pe(t) + "'");
3034
+ if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), y(t, !0) || t === 92)) return this.finishToken(E.privateId, this.readWord1());
3035
+ this.raise(this.pos, "Unexpected character '" + me(t) + "'");
3036
3036
  }, B.getTokenFromCode = function(e) {
3037
3037
  switch (e) {
3038
3038
  case 46: return this.readToken_dot();
@@ -3082,7 +3082,7 @@ B.next = function(e) {
3082
3082
  case 126: return this.finishOp(E.prefix, 1);
3083
3083
  case 35: return this.readToken_numberSign();
3084
3084
  }
3085
- this.raise(this.pos, "Unexpected character '" + pe(e) + "'");
3085
+ this.raise(this.pos, "Unexpected character '" + me(e) + "'");
3086
3086
  }, B.finishOp = function(e, t) {
3087
3087
  var n = this.input.slice(this.pos, this.pos + t);
3088
3088
  return this.pos += t, this.finishToken(e, n);
@@ -3126,17 +3126,17 @@ B.next = function(e) {
3126
3126
  }
3127
3127
  return r && s === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === a || t != null && this.pos - a !== t ? null : o;
3128
3128
  };
3129
- function Jt(e, t) {
3129
+ function Yt(e, t) {
3130
3130
  return t ? parseInt(e, 8) : parseFloat(e.replace(/_/g, ""));
3131
3131
  }
3132
- function Yt(e) {
3132
+ function Xt(e) {
3133
3133
  return typeof BigInt == "function" ? BigInt(e.replace(/_/g, "")) : null;
3134
3134
  }
3135
3135
  B.readRadixNumber = function(e) {
3136
3136
  var t = this.pos;
3137
3137
  this.pos += 2;
3138
3138
  var n = this.readInt(e);
3139
- return n ?? this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (n = Yt(this.input.slice(t, this.pos)), ++this.pos) : v(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(E.num, n);
3139
+ return n ?? this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (n = Xt(this.input.slice(t, this.pos)), ++this.pos) : y(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(E.num, n);
3140
3140
  }, B.readNumber = function(e) {
3141
3141
  var t = this.pos;
3142
3142
  !e && this.readInt(10, void 0, !0) === null && this.raise(t, "Invalid number");
@@ -3144,11 +3144,11 @@ B.readRadixNumber = function(e) {
3144
3144
  n && this.strict && this.raise(t, "Invalid number");
3145
3145
  var r = this.input.charCodeAt(this.pos);
3146
3146
  if (!n && !e && this.options.ecmaVersion >= 11 && r === 110) {
3147
- var i = Yt(this.input.slice(t, this.pos));
3148
- return ++this.pos, v(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(E.num, i);
3147
+ var i = Xt(this.input.slice(t, this.pos));
3148
+ return ++this.pos, y(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(E.num, i);
3149
3149
  }
3150
- n && /[89]/.test(this.input.slice(t, this.pos)) && (n = !1), r === 46 && !n && (++this.pos, this.readInt(10), r = this.input.charCodeAt(this.pos)), (r === 69 || r === 101) && !n && (r = this.input.charCodeAt(++this.pos), (r === 43 || r === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), v(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
3151
- var a = Jt(this.input.slice(t, this.pos), n);
3150
+ n && /[89]/.test(this.input.slice(t, this.pos)) && (n = !1), r === 46 && !n && (++this.pos, this.readInt(10), r = this.input.charCodeAt(this.pos)), (r === 69 || r === 101) && !n && (r = this.input.charCodeAt(++this.pos), (r === 43 || r === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), y(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
3151
+ var a = Yt(this.input.slice(t, this.pos), n);
3152
3152
  return this.finishToken(E.num, a);
3153
3153
  }, B.readCodePoint = function() {
3154
3154
  var e = this.input.charCodeAt(this.pos), t;
@@ -3163,22 +3163,22 @@ B.readRadixNumber = function(e) {
3163
3163
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
3164
3164
  var r = this.input.charCodeAt(this.pos);
3165
3165
  if (r === e) break;
3166
- r === 92 ? (t += this.input.slice(n, this.pos), t += this.readEscapedChar(!1), n = this.pos) : r === 8232 || r === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (re(r) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
3166
+ r === 92 ? (t += this.input.slice(n, this.pos), t += this.readEscapedChar(!1), n = this.pos) : r === 8232 || r === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (ie(r) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
3167
3167
  }
3168
3168
  return t += this.input.slice(n, this.pos++), this.finishToken(E.string, t);
3169
3169
  };
3170
- var Xt = {};
3170
+ var Zt = {};
3171
3171
  B.tryReadTemplateToken = function() {
3172
3172
  this.inTemplateElement = !0;
3173
3173
  try {
3174
3174
  this.readTmplToken();
3175
3175
  } catch (e) {
3176
- if (e === Xt) this.readInvalidTemplateToken();
3176
+ if (e === Zt) this.readInvalidTemplateToken();
3177
3177
  else throw e;
3178
3178
  }
3179
3179
  this.inTemplateElement = !1;
3180
3180
  }, B.invalidStringToken = function(e, t) {
3181
- if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw Xt;
3181
+ if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw Zt;
3182
3182
  this.raise(e, t);
3183
3183
  }, B.readTmplToken = function() {
3184
3184
  for (var e = "", t = this.pos;;) {
@@ -3186,7 +3186,7 @@ B.tryReadTemplateToken = function() {
3186
3186
  var n = this.input.charCodeAt(this.pos);
3187
3187
  if (n === 96 || n === 36 && this.input.charCodeAt(this.pos + 1) === 123) return this.pos === this.start && (this.type === E.template || this.type === E.invalidTemplate) ? n === 36 ? (this.pos += 2, this.finishToken(E.dollarBraceL)) : (++this.pos, this.finishToken(E.backQuote)) : (e += this.input.slice(t, this.pos), this.finishToken(E.template, e));
3188
3188
  if (n === 92) e += this.input.slice(t, this.pos), e += this.readEscapedChar(!0), t = this.pos;
3189
- else if (re(n)) {
3189
+ else if (ie(n)) {
3190
3190
  switch (e += this.input.slice(t, this.pos), ++this.pos, n) {
3191
3191
  case 13: this.input.charCodeAt(this.pos) === 10 && ++this.pos;
3192
3192
  case 10:
@@ -3220,7 +3220,7 @@ B.tryReadTemplateToken = function() {
3220
3220
  case 110: return "\n";
3221
3221
  case 114: return "\r";
3222
3222
  case 120: return String.fromCharCode(this.readHexChar(2));
3223
- case 117: return pe(this.readCodePoint());
3223
+ case 117: return me(this.readCodePoint());
3224
3224
  case 116: return " ";
3225
3225
  case 98: return "\b";
3226
3226
  case 118: return "\v";
@@ -3237,7 +3237,7 @@ B.tryReadTemplateToken = function() {
3237
3237
  var r = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], i = parseInt(r, 8);
3238
3238
  return i > 255 && (r = r.slice(0, -1), i = parseInt(r, 8)), this.pos += r.length - 1, t = this.input.charCodeAt(this.pos), (r !== "0" || t === 56 || t === 57) && (this.strict || e) && this.invalidStringToken(this.pos - 1 - r.length, e ? "Octal literal in template string" : "Octal literal in strict mode"), String.fromCharCode(i);
3239
3239
  }
3240
- return re(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
3240
+ return ie(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
3241
3241
  }
3242
3242
  }, B.readHexChar = function(e) {
3243
3243
  var t = this.pos, n = this.readInt(16, e);
@@ -3246,55 +3246,55 @@ B.tryReadTemplateToken = function() {
3246
3246
  this.containsEsc = !1;
3247
3247
  for (var e = "", t = !0, n = this.pos, r = this.options.ecmaVersion >= 6; this.pos < this.input.length;) {
3248
3248
  var i = this.fullCharCodeAtPos();
3249
- if (y(i, r)) this.pos += i <= 65535 ? 1 : 2;
3249
+ if (b(i, r)) this.pos += i <= 65535 ? 1 : 2;
3250
3250
  else if (i === 92) {
3251
3251
  this.containsEsc = !0, e += this.input.slice(n, this.pos);
3252
3252
  var a = this.pos;
3253
3253
  this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
3254
3254
  var o = this.readCodePoint();
3255
- (t ? v : y)(o, r) || this.invalidStringToken(a, "Invalid Unicode escape"), e += pe(o), n = this.pos;
3255
+ (t ? y : b)(o, r) || this.invalidStringToken(a, "Invalid Unicode escape"), e += me(o), n = this.pos;
3256
3256
  } else break;
3257
3257
  t = !1;
3258
3258
  }
3259
3259
  return e + this.input.slice(n, this.pos);
3260
3260
  }, B.readWord = function() {
3261
3261
  var e = this.readWord1(), t = E.name;
3262
- return this.keywords.test(e) && (t = w[e]), this.finishToken(t, e);
3262
+ return this.keywords.test(e) && (t = ne[e]), this.finishToken(t, e);
3263
3263
  };
3264
- var Zt = "8.17.0";
3264
+ var Qt = "8.17.0";
3265
3265
  k.acorn = {
3266
3266
  Parser: k,
3267
- version: Zt,
3268
- defaultOptions: ve,
3269
- Position: he,
3270
- SourceLocation: ge,
3271
- getLineInfo: _e,
3272
- Node: it,
3273
- TokenType: b,
3267
+ version: Qt,
3268
+ defaultOptions: ye,
3269
+ Position: ge,
3270
+ SourceLocation: _e,
3271
+ getLineInfo: ve,
3272
+ Node: at,
3273
+ TokenType: x,
3274
3274
  tokTypes: E,
3275
- keywordTypes: w,
3275
+ keywordTypes: ne,
3276
3276
  TokContext: P,
3277
3277
  tokContexts: F,
3278
- isIdentifierChar: y,
3279
- isIdentifierStart: v,
3280
- Token: qt,
3281
- isNewLine: re,
3278
+ isIdentifierChar: b,
3279
+ isIdentifierStart: y,
3280
+ Token: Jt,
3281
+ isNewLine: ie,
3282
3282
  lineBreak: D,
3283
- lineBreakG: ne,
3284
- nonASCIIwhitespace: ae
3283
+ lineBreakG: re,
3284
+ nonASCIIwhitespace: oe
3285
3285
  };
3286
- function Qt(e, t) {
3286
+ function $t(e, t) {
3287
3287
  return k.parse(e, t);
3288
3288
  }
3289
- function $t(e, t, n) {
3289
+ function en(e, t, n) {
3290
3290
  return k.parseExpressionAt(e, t, n);
3291
3291
  }
3292
- function en(e, t) {
3292
+ function tn(e, t) {
3293
3293
  return k.tokenizer(e, t);
3294
3294
  }
3295
3295
  //#endregion
3296
3296
  //#region node_modules/acorn-typescript/lib/index.mjs
3297
- function tn(e, t) {
3297
+ function nn(e, t) {
3298
3298
  for (var n = 0; n < t.length; n++) {
3299
3299
  var r = t[n];
3300
3300
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, typeof (i = function(e, t) {
@@ -3310,36 +3310,36 @@ function tn(e, t) {
3310
3310
  }
3311
3311
  var i;
3312
3312
  }
3313
- function nn() {
3314
- return nn = Object.assign ? Object.assign.bind() : function(e) {
3313
+ function rn() {
3314
+ return rn = Object.assign ? Object.assign.bind() : function(e) {
3315
3315
  for (var t = 1; t < arguments.length; t++) {
3316
3316
  var n = arguments[t];
3317
3317
  for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
3318
3318
  }
3319
3319
  return e;
3320
- }, nn.apply(this, arguments);
3321
- }
3322
- function rn(e, t) {
3323
- e.prototype = Object.create(t.prototype), e.prototype.constructor = e, an(e, t);
3320
+ }, rn.apply(this, arguments);
3324
3321
  }
3325
3322
  function an(e, t) {
3326
- return an = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
3327
- return e.__proto__ = t, e;
3328
- }, an(e, t);
3323
+ e.prototype = Object.create(t.prototype), e.prototype.constructor = e, on(e, t);
3329
3324
  }
3330
3325
  function on(e, t) {
3326
+ return on = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
3327
+ return e.__proto__ = t, e;
3328
+ }, on(e, t);
3329
+ }
3330
+ function sn(e, t) {
3331
3331
  (t == null || t > e.length) && (t = e.length);
3332
3332
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
3333
3333
  return r;
3334
3334
  }
3335
- function sn(e, t) {
3335
+ function cn(e, t) {
3336
3336
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
3337
3337
  if (n) return (n = n.call(e)).next.bind(n);
3338
3338
  if (Array.isArray(e) || (n = function(e, t) {
3339
3339
  if (e) {
3340
- if (typeof e == "string") return on(e, t);
3340
+ if (typeof e == "string") return sn(e, t);
3341
3341
  var n = Object.prototype.toString.call(e).slice(8, -1);
3342
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? on(e, t) : void 0;
3342
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? sn(e, t) : void 0;
3343
3343
  }
3344
3344
  }(e)) || t && e && typeof e.length == "number") {
3345
3345
  n && (e = n);
@@ -3355,11 +3355,11 @@ function sn(e, t) {
3355
3355
  }
3356
3356
  var V = !0;
3357
3357
  function H(e, t) {
3358
- return t === void 0 && (t = {}), new b("name", t);
3358
+ return t === void 0 && (t = {}), new x("name", t);
3359
3359
  }
3360
- var cn = /* @__PURE__ */ new WeakMap();
3361
- function ln(e) {
3362
- var t = cn.get(e.Parser.acorn || e);
3360
+ var ln = /* @__PURE__ */ new WeakMap();
3361
+ function un(e) {
3362
+ var t = ln.get(e.Parser.acorn || e);
3363
3363
  if (!t) {
3364
3364
  var n = {
3365
3365
  assert: H(0, { startsExpr: V }),
@@ -3376,11 +3376,11 @@ function ln(e) {
3376
3376
  interface: H(0, { startsExpr: V }),
3377
3377
  type: H(0, { startsExpr: V })
3378
3378
  }, r = {
3379
- at: new b("@"),
3380
- jsxName: new b("jsxName"),
3381
- jsxText: new b("jsxText", { beforeExpr: !0 }),
3382
- jsxTagStart: new b("jsxTagStart", { startsExpr: !0 }),
3383
- jsxTagEnd: new b("jsxTagEnd")
3379
+ at: new x("@"),
3380
+ jsxName: new x("jsxName"),
3381
+ jsxText: new x("jsxText", { beforeExpr: !0 }),
3382
+ jsxTagStart: new x("jsxTagStart", { startsExpr: !0 }),
3383
+ jsxTagEnd: new x("jsxTagEnd")
3384
3384
  }, i = {
3385
3385
  tc_oTag: new P("<tag", !1, !1),
3386
3386
  tc_cTag: new P("</tag", !1, !1),
@@ -3392,18 +3392,18 @@ function ln(e) {
3392
3392
  var t = this.context.pop();
3393
3393
  t === i.tc_oTag && e === E.slash || t === i.tc_cTag ? (this.context.pop(), this.exprAllowed = this.curContext() === i.tc_expr) : this.exprAllowed = !0;
3394
3394
  }, t = {
3395
- tokTypes: nn({}, n, r),
3396
- tokContexts: nn({}, i),
3395
+ tokTypes: rn({}, n, r),
3396
+ tokContexts: rn({}, i),
3397
3397
  keywordsRegExp: a,
3398
3398
  tokenIsLiteralPropertyName: function(e) {
3399
3399
  return [
3400
3400
  E.name,
3401
3401
  E.string,
3402
3402
  E.num
3403
- ].concat(Object.values(w), Object.values(n)).includes(e);
3403
+ ].concat(Object.values(ne), Object.values(n)).includes(e);
3404
3404
  },
3405
3405
  tokenIsKeywordOrIdentifier: function(e) {
3406
- return [E.name].concat(Object.values(w), Object.values(n)).includes(e);
3406
+ return [E.name].concat(Object.values(ne), Object.values(n)).includes(e);
3407
3407
  },
3408
3408
  tokenIsIdentifier: function(e) {
3409
3409
  return [].concat(Object.values(n), [E.name]).includes(e);
@@ -3433,14 +3433,14 @@ function ln(e) {
3433
3433
  }
3434
3434
  return t;
3435
3435
  }
3436
- var un = 1024, dn = RegExp("(?=(" + (/* @__PURE__ */ RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y")).source + "))\\1(?=[\\n\\r\\u2028\\u2029]|\\/\\*(?!.*?\\*\\/)|$)", "y"), fn = function() {
3436
+ var dn = 1024, fn = RegExp("(?=(" + (/* @__PURE__ */ RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y")).source + "))\\1(?=[\\n\\r\\u2028\\u2029]|\\/\\*(?!.*?\\*\\/)|$)", "y"), pn = function() {
3437
3437
  this.shorthandAssign = void 0, this.trailingComma = void 0, this.parenthesizedAssign = void 0, this.parenthesizedBind = void 0, this.doubleProto = void 0, this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
3438
3438
  };
3439
- function pn(e, t) {
3439
+ function mn(e, t) {
3440
3440
  var n = t.key.name, r = e[n], i = "true";
3441
3441
  return t.type !== "MethodDefinition" || t.kind !== "get" && t.kind !== "set" || (i = (t.static ? "s" : "i") + t.kind), r === "iget" && i === "iset" || r === "iset" && i === "iget" || r === "sget" && i === "sset" || r === "sset" && i === "sget" ? (e[n] = "true", !1) : !!r || (e[n] = i, !1);
3442
3442
  }
3443
- function mn(e, t) {
3443
+ function hn(e, t) {
3444
3444
  var n = e.key;
3445
3445
  return !e.computed && (n.type === "Identifier" && n.name === t || n.type === "Literal" && n.value === t);
3446
3446
  }
@@ -3545,7 +3545,7 @@ var U = {
3545
3545
  return "Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got " + e.type + ".";
3546
3546
  },
3547
3547
  LetInLexicalBinding: "'let' is not allowed to be used as a name in 'let' or 'const' declarations."
3548
- }, hn = {
3548
+ }, gn = {
3549
3549
  quot: "\"",
3550
3550
  amp: "&",
3551
3551
  apos: "'",
@@ -3799,38 +3799,38 @@ var U = {
3799
3799
  clubs: "♣",
3800
3800
  hearts: "♥",
3801
3801
  diams: "♦"
3802
- }, gn = /^[\da-fA-F]+$/, _n = /^\d+$/;
3803
- function vn(e) {
3804
- return e && (e.type === "JSXIdentifier" ? e.name : e.type === "JSXNamespacedName" ? e.namespace.name + ":" + e.name.name : e.type === "JSXMemberExpression" ? vn(e.object) + "." + vn(e.property) : void 0);
3802
+ }, _n = /^[\da-fA-F]+$/, vn = /^\d+$/;
3803
+ function yn(e) {
3804
+ return e && (e.type === "JSXIdentifier" ? e.name : e.type === "JSXNamespacedName" ? e.namespace.name + ":" + e.name.name : e.type === "JSXMemberExpression" ? yn(e.object) + "." + yn(e.property) : void 0);
3805
3805
  }
3806
- var yn = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
3807
- function bn(e) {
3806
+ var bn = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
3807
+ function xn(e) {
3808
3808
  if (!e) throw Error("Assert fail");
3809
3809
  }
3810
- function xn(e) {
3810
+ function Sn(e) {
3811
3811
  return e === "accessor";
3812
3812
  }
3813
- function Sn(e) {
3813
+ function Cn(e) {
3814
3814
  return e === "in" || e === "out";
3815
3815
  }
3816
- function Cn(e, t) {
3816
+ function wn(e, t) {
3817
3817
  return 2 | (e ? 4 : 0) | (t ? 8 : 0);
3818
3818
  }
3819
- function wn(e) {
3819
+ function Tn(e) {
3820
3820
  if (e.type !== "MemberExpression") return !1;
3821
3821
  var t = e.property;
3822
- return (!e.computed || !(t.type !== "TemplateLiteral" || t.expressions.length > 0)) && Tn(e.object);
3823
- }
3824
- function Tn(e) {
3825
- return e.type === "Identifier" || e.type === "MemberExpression" && !e.computed && Tn(e.object);
3822
+ return (!e.computed || !(t.type !== "TemplateLiteral" || t.expressions.length > 0)) && En(e.object);
3826
3823
  }
3827
3824
  function En(e) {
3828
- return e === "private" || e === "public" || e === "protected";
3825
+ return e.type === "Identifier" || e.type === "MemberExpression" && !e.computed && En(e.object);
3829
3826
  }
3830
3827
  function Dn(e) {
3828
+ return e === "private" || e === "public" || e === "protected";
3829
+ }
3830
+ function On(e) {
3831
3831
  var t = e || {}, n = t.dts, r = n !== void 0 && n, i = t.allowSatisfies, a = i !== void 0 && i;
3832
3832
  return function(t) {
3833
- var n = t.acorn || c, i = ln(n), o = n.tokTypes, s = n.keywordTypes, l = n.isIdentifierStart, u = n.lineBreak, d = n.isNewLine, f = n.tokContexts, p = n.isIdentifierChar, m = i.tokTypes, h = i.tokContexts, g = i.keywordsRegExp, _ = i.tokenIsLiteralPropertyName, ee = i.tokenIsTemplate, te = i.tokenIsTSDeclarationStart, v = i.tokenIsIdentifier, y = i.tokenIsKeywordOrIdentifier, b = i.tokenIsTSTypeOperator;
3833
+ var n = t.acorn || l, i = un(n), o = n.tokTypes, s = n.keywordTypes, c = n.isIdentifierStart, u = n.lineBreak, d = n.isNewLine, f = n.tokContexts, p = n.isIdentifierChar, m = i.tokTypes, h = i.tokContexts, g = i.keywordsRegExp, _ = i.tokenIsLiteralPropertyName, ee = i.tokenIsTemplate, te = i.tokenIsTSDeclarationStart, v = i.tokenIsIdentifier, y = i.tokenIsKeywordOrIdentifier, b = i.tokenIsTSTypeOperator;
3834
3834
  function x(e, t, n) {
3835
3835
  n === void 0 && (n = e.length);
3836
3836
  for (var r = t; r < n; r++) {
@@ -3845,7 +3845,7 @@ function Dn(e) {
3845
3845
  function t() {
3846
3846
  return e.apply(this, arguments) || this;
3847
3847
  }
3848
- rn(t, e);
3848
+ an(t, e);
3849
3849
  var n = t.prototype;
3850
3850
  return n.takeDecorators = function(e) {
3851
3851
  var t = this.decoratorStack[this.decoratorStack.length - 1];
@@ -3888,7 +3888,7 @@ function Dn(e) {
3888
3888
  function t() {
3889
3889
  return e.apply(this, arguments) || this;
3890
3890
  }
3891
- rn(t, e);
3891
+ an(t, e);
3892
3892
  var n = t.prototype;
3893
3893
  return n.jsx_readToken = function() {
3894
3894
  for (var e = "", t = this.pos;;) {
@@ -3921,7 +3921,7 @@ function Dn(e) {
3921
3921
  r !== "&" && this.raise(this.pos, "Entity must start with an ampersand");
3922
3922
  for (var i = ++this.pos; this.pos < this.input.length && n++ < 10;) {
3923
3923
  if ((r = this.input[this.pos++]) === ";") {
3924
- t[0] === "#" ? t[1] === "x" ? (t = t.substr(2), gn.test(t) && (e = String.fromCharCode(parseInt(t, 16)))) : (t = t.substr(1), _n.test(t) && (e = String.fromCharCode(parseInt(t, 10)))) : e = hn[t];
3924
+ t[0] === "#" ? t[1] === "x" ? (t = t.substr(2), _n.test(t) && (e = String.fromCharCode(parseInt(t, 16)))) : (t = t.substr(1), vn.test(t) && (e = String.fromCharCode(parseInt(t, 10)))) : e = gn[t];
3925
3925
  break;
3926
3926
  }
3927
3927
  t += r;
@@ -3995,7 +3995,7 @@ function Dn(e) {
3995
3995
  break;
3996
3996
  default: this.unexpected();
3997
3997
  }
3998
- vn(s.name) !== vn(o.name) && this.raise(s.start, "Expected corresponding JSX closing tag for <" + vn(o.name) + ">");
3998
+ yn(s.name) !== yn(o.name) && this.raise(s.start, "Expected corresponding JSX closing tag for <" + yn(o.name) + ">");
3999
3999
  }
4000
4000
  var c = o.name ? "Element" : "Fragment";
4001
4001
  return n["opening" + c] = o, n["closing" + c] = s, n.children = r, this.type === i.relational && this.value === "<" && this.raise(this.start, "Adjacent JSX elements must be wrapped in an enclosing tag"), this.finishNode(n, "JSX" + c);
@@ -4013,7 +4013,7 @@ function Dn(e) {
4013
4013
  function t() {
4014
4014
  return e.apply(this, arguments) || this;
4015
4015
  }
4016
- rn(t, e);
4016
+ an(t, e);
4017
4017
  var n = t.prototype;
4018
4018
  return n.parseMaybeImportAttributes = function(e) {
4019
4019
  if (this.type === i._with || this.type === r.assert) {
@@ -4047,8 +4047,8 @@ function Dn(e) {
4047
4047
  errorTemplate: U.InvalidModifierOnTypeParameterPositions
4048
4048
  }), i;
4049
4049
  }
4050
- rn(t, e);
4051
- var c, S, C, w = t.prototype;
4050
+ an(t, e);
4051
+ var l, S, C, w = t.prototype;
4052
4052
  return w.getTokenFromCodeInType = function(t) {
4053
4053
  return t === 62 || t === 60 ? this.finishOp(o.relational, 1) : e.prototype.getTokenFromCode.call(this, t);
4054
4054
  }, w.readToken = function(t) {
@@ -4056,7 +4056,7 @@ function Dn(e) {
4056
4056
  var n = this.curContext();
4057
4057
  if (n === h.tc_expr) return this.jsx_readToken();
4058
4058
  if (n === h.tc_oTag || n === h.tc_cTag) {
4059
- if (l(t)) return this.jsx_readWord();
4059
+ if (c(t)) return this.jsx_readWord();
4060
4060
  if (t == 62) return ++this.pos, this.finishToken(m.jsxTagEnd);
4061
4061
  if ((t === 34 || t === 39) && n == h.tc_oTag) return this.jsx_readString(t);
4062
4062
  }
@@ -4115,7 +4115,7 @@ function Dn(e) {
4115
4115
  return this.nextTokenStartSince(this.pos);
4116
4116
  }, w.tsHasSomeModifiers = function(e, t) {
4117
4117
  return t.some(function(t) {
4118
- return En(t) ? e.accessibility === t : !!e[t];
4118
+ return Dn(t) ? e.accessibility === t : !!e[t];
4119
4119
  });
4120
4120
  }, w.tsIsStartOfStaticBlocks = function() {
4121
4121
  return this.isContextual("static") && this.lookaheadCharCode() === 123;
@@ -4163,7 +4163,7 @@ function Dn(e) {
4163
4163
  }, w.isAbstractConstructorSignature = function() {
4164
4164
  return this.ts_isContextual(m.abstract) && this.lookahead().type === o._new;
4165
4165
  }, w.nextTokenStartSince = function(e) {
4166
- return yn.lastIndex = e, yn.test(this.input) ? yn.lastIndex : e;
4166
+ return bn.lastIndex = e, bn.test(this.input) ? bn.lastIndex : e;
4167
4167
  }, w.lookaheadCharCode = function() {
4168
4168
  return this.input.charCodeAt(this.nextTokenStart());
4169
4169
  }, w.compareLookaheadState = function(e, t) {
@@ -4247,7 +4247,7 @@ function Dn(e) {
4247
4247
  }, w.isLineTerminator = function() {
4248
4248
  return this.eat(o.semi) || e.prototype.canInsertSemicolon.call(this);
4249
4249
  }, w.hasFollowingLineBreak = function() {
4250
- return dn.lastIndex = this.end, dn.test(this.input);
4250
+ return fn.lastIndex = this.end, fn.test(this.input);
4251
4251
  }, w.addExtra = function(e, t, n, r) {
4252
4252
  if (r === void 0 && (r = !0), e) {
4253
4253
  var i = e.extra = e.extra || {};
@@ -4339,7 +4339,7 @@ function Dn(e) {
4339
4339
  }
4340
4340
  return this.next(), e.prototype.exitScope.call(this), this.finishNode(t, "TSModuleBlock");
4341
4341
  }, w.tsParseAmbientExternalModuleDeclaration = function(t) {
4342
- return this.ts_isContextual(m.global) ? (t.global = !0, t.id = this.parseIdent()) : this.match(o.string) ? t.id = this.parseLiteral(this.value) : this.unexpected(), this.match(o.braceL) ? (e.prototype.enterScope.call(this, un), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this)) : e.prototype.semicolon.call(this), this.finishNode(t, "TSModuleDeclaration");
4342
+ return this.ts_isContextual(m.global) ? (t.global = !0, t.id = this.parseIdent()) : this.match(o.string) ? t.id = this.parseLiteral(this.value) : this.unexpected(), this.match(o.braceL) ? (e.prototype.enterScope.call(this, dn), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this)) : e.prototype.semicolon.call(this), this.finishNode(t, "TSModuleDeclaration");
4343
4343
  }, w.tsTryParseDeclare = function(e) {
4344
4344
  var t = this;
4345
4345
  if (!this.isLineTerminator()) {
@@ -4655,7 +4655,7 @@ function Dn(e) {
4655
4655
  return this.tsIsStartOfFunctionType() ? this.tsParseFunctionOrConstructorType("TSFunctionType") : this.match(o._new) ? this.tsParseFunctionOrConstructorType("TSConstructorType") : this.isAbstractConstructorSignature() ? this.tsParseFunctionOrConstructorType("TSConstructorType", !0) : this.tsParseUnionTypeOrHigher();
4656
4656
  }, w.tsParseType = function() {
4657
4657
  var e = this;
4658
- bn(this.inType);
4658
+ xn(this.inType);
4659
4659
  var t = this.tsParseNonConditionalType();
4660
4660
  if (this.inDisallowConditionalTypesContext || this.hasPrecedingLineBreak() || !this.eat(o._extends)) return t;
4661
4661
  var n = this.startNodeAtNode(t);
@@ -4730,7 +4730,7 @@ function Dn(e) {
4730
4730
  };;) {
4731
4731
  var d = this.startLoc, f = this.tsParseModifier(r.concat(i ?? []), a);
4732
4732
  if (!f) break;
4733
- En(f) ? n.accessibility ? this.raise(this.start, U.DuplicateAccessibilityModifier()) : (l(d, f, f, "override"), l(d, f, f, "static"), l(d, f, f, "readonly"), l(d, f, f, "accessor"), c.accessibility = f, n.accessibility = f) : Sn(f) ? n[f] ? this.raise(this.start, U.DuplicateModifier({ modifier: f })) : (l(d, f, "in", "out"), c[f] = f, n[f] = !0) : xn(f) ? n[f] ? this.raise(this.start, U.DuplicateModifier({ modifier: f })) : (u(d, f, "accessor", "readonly"), u(d, f, "accessor", "static"), u(d, f, "accessor", "override"), c[f] = f, n[f] = !0) : Object.hasOwnProperty.call(n, f) ? this.raise(this.start, U.DuplicateModifier({ modifier: f })) : (l(d, f, "static", "readonly"), l(d, f, "static", "override"), l(d, f, "override", "readonly"), l(d, f, "abstract", "override"), u(d, f, "declare", "override"), u(d, f, "static", "abstract"), c[f] = f, n[f] = !0), i != null && i.includes(f) && this.raise(this.start, s);
4733
+ Dn(f) ? n.accessibility ? this.raise(this.start, U.DuplicateAccessibilityModifier()) : (l(d, f, f, "override"), l(d, f, f, "static"), l(d, f, f, "readonly"), l(d, f, f, "accessor"), c.accessibility = f, n.accessibility = f) : Cn(f) ? n[f] ? this.raise(this.start, U.DuplicateModifier({ modifier: f })) : (l(d, f, "in", "out"), c[f] = f, n[f] = !0) : Sn(f) ? n[f] ? this.raise(this.start, U.DuplicateModifier({ modifier: f })) : (u(d, f, "accessor", "readonly"), u(d, f, "accessor", "static"), u(d, f, "accessor", "override"), c[f] = f, n[f] = !0) : Object.hasOwnProperty.call(n, f) ? this.raise(this.start, U.DuplicateModifier({ modifier: f })) : (l(d, f, "static", "readonly"), l(d, f, "static", "override"), l(d, f, "override", "readonly"), l(d, f, "abstract", "override"), u(d, f, "declare", "override"), u(d, f, "static", "abstract"), c[f] = f, n[f] = !0), i != null && i.includes(f) && this.raise(this.start, s);
4734
4734
  }
4735
4735
  return c;
4736
4736
  }, w.tsParseInOutModifiers = function(e) {
@@ -4840,7 +4840,7 @@ function Dn(e) {
4840
4840
  break;
4841
4841
  case "global":
4842
4842
  if (this.match(o.braceL)) {
4843
- e.prototype.enterScope.call(this, un);
4843
+ e.prototype.enterScope.call(this, dn);
4844
4844
  var i = t;
4845
4845
  return i.global = !0, i.id = n, i.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this), this.finishNode(i, "TSModuleDeclaration");
4846
4846
  }
@@ -4879,7 +4879,7 @@ function Dn(e) {
4879
4879
  if (n === void 0 && (n = !1), t.id = this.parseIdent(), n || this.checkLValSimple(t.id, 8), this.eat(o.dot)) {
4880
4880
  var r = this.startNode();
4881
4881
  this.tsParseModuleOrNamespaceDeclaration(r, !0), t.body = r;
4882
- } else e.prototype.enterScope.call(this, un), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this);
4882
+ } else e.prototype.enterScope.call(this, dn), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this);
4883
4883
  return this.finishNode(t, "TSModuleDeclaration");
4884
4884
  }, w.checkLValSimple = function(t, n, r) {
4885
4885
  return n === void 0 && (n = 0), e.prototype.checkLValSimple.call(this, t, n, r);
@@ -4940,7 +4940,7 @@ function Dn(e) {
4940
4940
  }, w.parseFunction = function(e, t, n, r, i) {
4941
4941
  this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === o.star && 2 & t && this.unexpected(), e.generator = this.eat(o.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), 1 & t && (e.id = 4 & t && this.type !== o.name ? null : this.parseIdent());
4942
4942
  var a = this.yieldPos, s = this.awaitPos, c = this.awaitIdentPos, l = this.maybeInArrowParameters;
4943
- this.maybeInArrowParameters = !1, this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Cn(e.async, e.generator)), 1 & t || (e.id = this.type === o.name ? this.parseIdent() : null), this.parseFunctionParams(e);
4943
+ this.maybeInArrowParameters = !1, this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(wn(e.async, e.generator)), 1 & t || (e.id = this.type === o.name ? this.parseIdent() : null), this.parseFunctionParams(e);
4944
4944
  var u = 1 & t;
4945
4945
  return this.parseFunctionBody(e, n, !1, i, { isFunctionDeclaration: u }), this.yieldPos = a, this.awaitPos = s, this.awaitIdentPos = c, 1 & t && e.id && !(2 & t) && this.checkLValSimple(e.id, e.body ? this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? 1 : 2 : 3 : 0), this.maybeInArrowParameters = l, this.finishNode(e, u ? "FunctionDeclaration" : "FunctionExpression");
4946
4946
  }, w.parseFunctionBody = function(t, n, r, i, a) {
@@ -5027,7 +5027,7 @@ function Dn(e) {
5027
5027
  else {
5028
5028
  if (e.declaration = null, e.specifiers = this.parseExportSpecifiers(t), this.eatContextual("from")) this.type !== o.string && this.unexpected(), e.source = this.parseExprAtom(), this.parseMaybeImportAttributes(e);
5029
5029
  else {
5030
- for (var s, c = sn(e.specifiers); !(s = c()).done;) {
5030
+ for (var s, c = cn(e.specifiers); !(s = c()).done;) {
5031
5031
  var l = s.value;
5032
5032
  this.checkUnreserved(l.local), this.checkLocalExport(l.local), l.local.type === "Literal" && this.raise(l.local.start, "A string literal cannot be used as an exported binding without `from`.");
5033
5033
  }
@@ -5089,9 +5089,9 @@ function Dn(e) {
5089
5089
  this.next(), e.prototype.parseVar.call(this, t, !1, n, r || i), this.semicolon();
5090
5090
  var a = this.finishNode(t, "VariableDeclaration");
5091
5091
  if (!i) return a;
5092
- for (var o, s = sn(a.declarations); !(o = s()).done;) {
5092
+ for (var o, s = cn(a.declarations); !(o = s()).done;) {
5093
5093
  var c = o.value, l = c.init;
5094
- l && (n !== "const" || c.id.typeAnnotation ? this.raise(l.start, U.InitializerNotAllowedInAmbientContext) : l.type !== "StringLiteral" && l.type !== "BooleanLiteral" && l.type !== "NumericLiteral" && l.type !== "BigIntLiteral" && (l.type !== "TemplateLiteral" || l.expressions.length > 0) && !wn(l) && this.raise(l.start, U.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
5094
+ l && (n !== "const" || c.id.typeAnnotation ? this.raise(l.start, U.InitializerNotAllowedInAmbientContext) : l.type !== "StringLiteral" && l.type !== "BooleanLiteral" && l.type !== "NumericLiteral" && l.type !== "BigIntLiteral" && (l.type !== "TemplateLiteral" || l.expressions.length > 0) && !Tn(l) && this.raise(l.start, U.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
5095
5095
  }
5096
5096
  return a;
5097
5097
  }, w.parseStatement = function(t, n, r) {
@@ -5170,7 +5170,7 @@ function Dn(e) {
5170
5170
  var s = e.declare, c = e.kind;
5171
5171
  !(s !== void 0 && s) || c !== "get" && c !== "set" || this.raise(e.start, U.DeclareAccessor({ kind: c })), o && (e.typeParameters = o);
5172
5172
  var l = e.key;
5173
- e.kind === "constructor" ? (t && this.raise(l.start, "Constructor can't be a generator"), n && this.raise(l.start, "Constructor can't be an async method")) : e.static && mn(e, "prototype") && this.raise(l.start, "Classes may not have a static property named prototype");
5173
+ e.kind === "constructor" ? (t && this.raise(l.start, "Constructor can't be a generator"), n && this.raise(l.start, "Constructor can't be an async method")) : e.static && hn(e, "prototype") && this.raise(l.start, "Classes may not have a static property named prototype");
5174
5174
  var u = e.value = this.parseMethod(t, n, r, !0, e);
5175
5175
  return e.kind === "get" && u.params.length !== 0 && this.raiseRecoverable(u.start, "getter should have no params"), e.kind === "set" && u.params.length !== 1 && this.raiseRecoverable(u.start, "setter should have exactly one param"), e.kind === "set" && u.params[0].type === "RestElement" && this.raiseRecoverable(u.params[0].start, "Setter cannot use rest params"), this.finishNode(e, "MethodDefinition");
5176
5176
  }, w.isClassMethod = function() {
@@ -5205,7 +5205,7 @@ function Dn(e) {
5205
5205
  (n.eatContextual("get") || n.eatContextual("set")) && (n.isClassElementNameStart() ? u = p : s = p);
5206
5206
  }
5207
5207
  if (s ? (a.computed = !1, a.key = n.startNodeAt(n.lastTokStart, n.lastTokStartLoc), a.key.name = s, n.finishNode(a.key, "Identifier")) : n.parseClassElementName(a), n.parsePostMemberNameModifiers(a), n.isClassMethod() || i < 13 || n.type === o.parenL || u !== "method" || c || l) {
5208
- var m = !a.static && mn(a, "constructor"), h = m && t;
5208
+ var m = !a.static && hn(a, "constructor"), h = m && t;
5209
5209
  m && u !== "method" && n.raise(a.key.start, "Constructor can't have get/set modifier"), a.kind = m ? "constructor" : u, n.parseClassMethod(a, c, l, h);
5210
5210
  } else n.parseClassField(a);
5211
5211
  return a;
@@ -5227,7 +5227,7 @@ function Dn(e) {
5227
5227
  }, w.parseArrowExpression = function(e, t, n, r) {
5228
5228
  this.match(o.colon) && (e.returnType = this.tsParseTypeAnnotation());
5229
5229
  var i = this.yieldPos, a = this.awaitPos, s = this.awaitIdentPos;
5230
- this.enterScope(16 | Cn(n, !1)), this.initFunction(e);
5230
+ this.enterScope(16 | wn(n, !1)), this.initFunction(e);
5231
5231
  var c = this.maybeInArrowParameters;
5232
5232
  return this.options.ecmaVersion >= 8 && (e.async = !!n), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.maybeInArrowParameters = !0, e.params = this.toAssignableList(t, !0), this.maybeInArrowParameters = !1, this.parseFunctionBody(e, !0, !1, r), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = s, this.maybeInArrowParameters = c, this.finishNode(e, "ArrowFunctionExpression");
5233
5233
  }, w.parseMaybeAssignOrigin = function(e, t, n) {
@@ -5236,7 +5236,7 @@ function Dn(e) {
5236
5236
  this.exprAllowed = !1;
5237
5237
  }
5238
5238
  var r = !1, i = -1, a = -1, s = -1;
5239
- t ? (i = t.parenthesizedAssign, a = t.trailingComma, s = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new fn(), r = !0);
5239
+ t ? (i = t.parenthesizedAssign, a = t.trailingComma, s = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new pn(), r = !0);
5240
5240
  var c = this.start, l = this.startLoc;
5241
5241
  (this.type === o.parenL || v(this.type)) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
5242
5242
  var u = this.parseMaybeConditional(e, t);
@@ -5263,7 +5263,7 @@ function Dn(e) {
5263
5263
  return (a.type !== "ArrowFunctionExpression" || (i = a.extra) != null && i.parenthesized) && r(), f?.params.length !== 0 && p.resetStartLocationFromNode(a, f), a.typeParameters = f, a;
5264
5264
  }, l);
5265
5265
  if (!g.error && !g.aborted) return f && this.reportReservedArrowTypeParam(f), g.node;
5266
- if (!u && (bn(!0), !(d = this.tryParse(function() {
5266
+ if (!u && (xn(!0), !(d = this.tryParse(function() {
5267
5267
  return p.parseMaybeAssignOrigin(e, t, n);
5268
5268
  }, l)).error)) return d.node;
5269
5269
  if ((a = u) != null && a.node) return this.setLookaheadState(u.failState), u.node;
@@ -5328,7 +5328,7 @@ function Dn(e) {
5328
5328
  default: return !1;
5329
5329
  }
5330
5330
  }, w.toAssignable = function(t, n, r) {
5331
- switch (n === void 0 && (n = !1), r === void 0 && (r = new fn()), t.type) {
5331
+ switch (n === void 0 && (n = !1), r === void 0 && (r = new pn()), t.type) {
5332
5332
  case "ParenthesizedExpression": return this.toAssignableParenthesizedExpression(t, n, r);
5333
5333
  case "TSAsExpression":
5334
5334
  case "TSSatisfiesExpression":
@@ -5385,7 +5385,7 @@ function Dn(e) {
5385
5385
  if (this.options.ecmaVersion >= 6) {
5386
5386
  var s = this.maybeInArrowParameters;
5387
5387
  this.maybeInArrowParameters = !0, this.next();
5388
- var c, l = this.start, u = this.startLoc, d = [], f = !0, p = !1, m = new fn(), h = this.yieldPos, g = this.awaitPos;
5388
+ var c, l = this.start, u = this.startLoc, d = [], f = !0, p = !1, m = new pn(), h = this.yieldPos, g = this.awaitPos;
5389
5389
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== o.parenR;) {
5390
5390
  if (f ? f = !1 : this.expect(o.comma), a && this.afterTrailingComma(o.parenR, !0)) {
5391
5391
  p = !0;
@@ -5454,7 +5454,7 @@ function Dn(e) {
5454
5454
  return u.typeParameters = a, u;
5455
5455
  }
5456
5456
  if (!r && c.eat(o.parenL)) {
5457
- var p = new fn(), m = c.startNodeAt(t, n);
5457
+ var p = new pn(), m = c.startNodeAt(t, n);
5458
5458
  return m.callee = e, m.arguments = c.parseExprList(o.parenR, c.options.ecmaVersion >= 8, !1, p), c.tsCheckForInvalidTypeCasts(m.arguments), m.typeParameters = a, l && (m.optional = d), c.checkExpressionErrors(p, !0), e = c.finishNode(m, "CallExpression");
5459
5459
  }
5460
5460
  var h = c.type;
@@ -5474,7 +5474,7 @@ function Dn(e) {
5474
5474
  } else if (!r && this.eat(o.parenL)) {
5475
5475
  var te = this.maybeInArrowParameters;
5476
5476
  this.maybeInArrowParameters = !0;
5477
- var v = new fn(), y = this.yieldPos, b = this.awaitPos, x = this.awaitIdentPos;
5477
+ var v = new pn(), y = this.yieldPos, b = this.awaitPos, x = this.awaitIdentPos;
5478
5478
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
5479
5479
  var S = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, v);
5480
5480
  if (i && !h && this.shouldParseAsyncArrow()) this.checkPatternErrors(v, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = y, this.awaitPos = b, this.awaitIdentPos = x, e = this.parseSubscriptAsyncArrow(t, n, S, s);
@@ -5520,7 +5520,7 @@ function Dn(e) {
5520
5520
  for (this.expect(o.braceL); this.type !== o.braceR;) if (this.match(m.at)) c.push(this.parseDecorator());
5521
5521
  else {
5522
5522
  var l = this.parseClassElement(e.superClass !== null);
5523
- c.length && (l.decorators = c, this.resetStartLocationFromNode(l, c[0]), c = []), l && (a.body.push(l), l.type === "MethodDefinition" && l.kind === "constructor" && l.value.type === "FunctionExpression" ? (s && this.raiseRecoverable(l.start, "Duplicate constructor in the same class"), s = !0, l.decorators && l.decorators.length > 0 && this.raise(l.start, "Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")) : l.key && l.key.type === "PrivateIdentifier" && pn(i, l) && this.raiseRecoverable(l.key.start, "Identifier '#" + l.key.name + "' has already been declared"));
5523
+ c.length && (l.decorators = c, this.resetStartLocationFromNode(l, c[0]), c = []), l && (a.body.push(l), l.type === "MethodDefinition" && l.kind === "constructor" && l.value.type === "FunctionExpression" ? (s && this.raiseRecoverable(l.start, "Duplicate constructor in the same class"), s = !0, l.decorators && l.decorators.length > 0 && this.raise(l.start, "Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")) : l.key && l.key.type === "PrivateIdentifier" && mn(i, l) && this.raiseRecoverable(l.key.start, "Identifier '#" + l.key.name + "' has already been declared"));
5524
5524
  }
5525
5525
  return this.strict = r, this.next(), c.length && this.raise(this.start, "Decorators must be attached to a class element."), e.body = this.finishNode(a, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclaration" : "ClassExpression");
5526
5526
  } finally {
@@ -5531,7 +5531,7 @@ function Dn(e) {
5531
5531
  return e && (t.typeParameters = e), t;
5532
5532
  }, w.parseMethod = function(e, t, n, r, i) {
5533
5533
  var a = this.startNode(), s = this.yieldPos, c = this.awaitPos, l = this.awaitIdentPos;
5534
- if (this.initFunction(a), this.options.ecmaVersion >= 6 && (a.generator = e), this.options.ecmaVersion >= 8 && (a.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(64 | Cn(t, a.generator) | (n ? 128 : 0)), this.expect(o.parenL), a.params = this.parseClassFunctionParams(), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(a, !1, !0, !1, { isClassMethod: r }), this.yieldPos = s, this.awaitPos = c, this.awaitIdentPos = l, i && i.abstract && a.body) {
5534
+ if (this.initFunction(a), this.options.ecmaVersion >= 6 && (a.generator = e), this.options.ecmaVersion >= 8 && (a.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(64 | wn(t, a.generator) | (n ? 128 : 0)), this.expect(o.parenL), a.params = this.parseClassFunctionParams(), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(a, !1, !0, !1, { isClassMethod: r }), this.yieldPos = s, this.awaitPos = c, this.awaitIdentPos = l, i && i.abstract && a.body) {
5535
5535
  var u = i.key;
5536
5536
  this.raise(i.start, U.AbstractMethodHasImplementation({ methodName: u.type !== "Identifier" || i.computed ? "[" + this.input.slice(u.start, u.end) + "]" : u.name }));
5537
5537
  }
@@ -5597,11 +5597,11 @@ function Dn(e) {
5597
5597
  for (r.attributes = []; this.type !== o.slash && this.type !== m.jsxTagEnd;) r.attributes.push(this.jsx_parseAttribute());
5598
5598
  return r.selfClosing = this.eat(o.slash), this.expect(m.jsxTagEnd), this.finishNode(r, i ? "JSXOpeningElement" : "JSXOpeningFragment");
5599
5599
  }, w.enterScope = function(t) {
5600
- t === un && this.importsStack.push([]), e.prototype.enterScope.call(this, t);
5600
+ t === dn && this.importsStack.push([]), e.prototype.enterScope.call(this, t);
5601
5601
  var n = e.prototype.currentScope.call(this);
5602
5602
  n.types = [], n.enums = [], n.constEnums = [], n.classes = [], n.exportOnlyBindings = [];
5603
5603
  }, w.exitScope = function() {
5604
- e.prototype.currentScope.call(this).flags === un && this.importsStack.pop(), e.prototype.exitScope.call(this);
5604
+ e.prototype.currentScope.call(this).flags === dn && this.importsStack.pop(), e.prototype.exitScope.call(this);
5605
5605
  }, w.hasImport = function(e, t) {
5606
5606
  var n = this.importsStack.length;
5607
5607
  if (this.importsStack[n - 1].indexOf(e) > -1) return !0;
@@ -5629,7 +5629,7 @@ function Dn(e) {
5629
5629
  }
5630
5630
  e.prototype.checkLocalExport.call(this, t);
5631
5631
  }
5632
- }, c = t, C = [{
5632
+ }, l = t, C = [{
5633
5633
  key: "acornTypeScript",
5634
5634
  get: function() {
5635
5635
  return i;
@@ -5639,13 +5639,13 @@ function Dn(e) {
5639
5639
  get: function() {
5640
5640
  return i;
5641
5641
  }
5642
- }]) && tn(c.prototype, S), C && tn(c, C), Object.defineProperty(c, "prototype", { writable: !1 }), t;
5642
+ }]) && nn(l.prototype, S), C && nn(l, C), Object.defineProperty(l, "prototype", { writable: !1 }), t;
5643
5643
  }(t);
5644
5644
  };
5645
5645
  }
5646
5646
  //#endregion
5647
5647
  //#region src/utilities/index.ts
5648
- var On = [
5648
+ var kn = [
5649
5649
  {
5650
5650
  idPrefix: "dpuse-app",
5651
5651
  typeId: "app",
@@ -5718,8 +5718,8 @@ var On = [
5718
5718
  publishedTo: "npm",
5719
5719
  uploadGroupName: "tools"
5720
5720
  }
5721
- ], kn = r(i);
5722
- async function An(e, r) {
5721
+ ], An = r(i);
5722
+ async function jn(e, r) {
5723
5723
  e !== void 0 && q(`${e} - clear(${r})`);
5724
5724
  let i;
5725
5725
  try {
@@ -5740,15 +5740,15 @@ async function An(e, r) {
5740
5740
  }
5741
5741
  }));
5742
5742
  }
5743
- async function jn(e, n) {
5743
+ async function Mn(e, n) {
5744
5744
  return t.readdir(e, n);
5745
5745
  }
5746
- async function Mn(e, n, r = [], i) {
5746
+ async function Nn(e, n, r = [], i) {
5747
5747
  e !== void 0 && q(`${e} - exec(${n} ${r.join(" ")})`);
5748
- let { stdout: a, stderr: o } = await kn(n, r);
5748
+ let { stdout: a, stderr: o } = await An(n, r);
5749
5749
  i === void 0 ? a.trim() && console.log(a.trim()) : await t.writeFile(i, a.trim(), "utf8"), o.trim() && console.error(o.trim());
5750
5750
  }
5751
- async function Nn(e, t, n = [], r = !1, i = !1) {
5751
+ async function Pn(e, t, n = [], r = !1, i = !1) {
5752
5752
  return q(`${e} - spawn(${t} ${n.join(" ")})`), new Promise((e, o) => {
5753
5753
  a(t, n, {
5754
5754
  shell: i,
@@ -5758,7 +5758,7 @@ async function Nn(e, t, n = [], r = !1, i = !1) {
5758
5758
  });
5759
5759
  });
5760
5760
  }
5761
- async function Pn(e, n, r = [], i, o = !1) {
5761
+ async function Fn(e, n, r = [], i, o = !1) {
5762
5762
  return q(`${e} - spawn(${n} ${r.join(" ")}) > ${i}`), new Promise((e, s) => {
5763
5763
  let c = a(n, r, {
5764
5764
  shell: !1,
@@ -5784,20 +5784,20 @@ async function Pn(e, n, r = [], i, o = !1) {
5784
5784
  async function W(e) {
5785
5785
  return JSON.parse(await t.readFile(e, "utf8"));
5786
5786
  }
5787
- async function Fn(e) {
5787
+ async function In(e) {
5788
5788
  return await t.readFile(e, "utf8");
5789
5789
  }
5790
- async function In(e) {
5790
+ async function Ln(e) {
5791
5791
  try {
5792
5792
  await t.unlink(e);
5793
5793
  } catch (e) {
5794
5794
  if (e.code !== "ENOENT") throw e;
5795
5795
  }
5796
5796
  }
5797
- async function Ln(e, n) {
5797
+ async function Rn(e, n) {
5798
5798
  await t.writeFile(e, JSON.stringify(n, void 0, 4), "utf8");
5799
5799
  }
5800
- async function Rn(e, n) {
5800
+ async function zn(e, n) {
5801
5801
  await t.writeFile(e, n, "utf8");
5802
5802
  }
5803
5803
  function G(e) {
@@ -5810,21 +5810,21 @@ function K(e) {
5810
5810
  function q(e) {
5811
5811
  console.info(`\n${e}\n`);
5812
5812
  }
5813
- function zn(e) {
5814
- let t = On.find((t) => e.startsWith(t.idPrefix));
5813
+ function Bn(e) {
5814
+ let t = kn.find((t) => e.startsWith(t.idPrefix));
5815
5815
  if (!t) throw Error(`Failed to locate module type configuration for identifier '${e}'.`);
5816
5816
  return t;
5817
5817
  }
5818
- async function Bn(e) {
5818
+ async function Vn(e) {
5819
5819
  return await t.stat(e);
5820
5820
  }
5821
- function Vn(e) {
5822
- let t = k.extend(Dn()).parse(e, {
5821
+ function Hn(e) {
5822
+ let t = k.extend(On()).parse(e, {
5823
5823
  ecmaVersion: "latest",
5824
5824
  sourceType: "module",
5825
5825
  locations: !0
5826
5826
  }), n = [];
5827
- return Hn(t, (e) => {
5827
+ return Un(t, (e) => {
5828
5828
  if (e.type !== "MethodDefinition") return;
5829
5829
  let t = e, r = t.key;
5830
5830
  if (r.type !== "Identifier") return;
@@ -5832,7 +5832,7 @@ function Vn(e) {
5832
5832
  i && i !== "constructor" && t.accessibility !== "private" && n.push(i);
5833
5833
  }), n;
5834
5834
  }
5835
- function Hn(e, t) {
5835
+ function Un(e, t) {
5836
5836
  t(e);
5837
5837
  for (let [n, r] of Object.entries(e)) {
5838
5838
  if ([
@@ -5845,40 +5845,40 @@ function Hn(e, t) {
5845
5845
  let e = r;
5846
5846
  if (Array.isArray(e)) for (let n of e) {
5847
5847
  let e = n;
5848
- e && typeof e.type == "string" && Hn(e, t);
5848
+ e && typeof e.type == "string" && Un(e, t);
5849
5849
  }
5850
- else e && typeof e == "object" && typeof e.type == "string" && Hn(e, t);
5850
+ else e && typeof e == "object" && typeof e.type == "string" && Un(e, t);
5851
5851
  }
5852
5852
  }
5853
- function Un(e, t, n, r) {
5853
+ function Wn(e, t, n, r) {
5854
5854
  let i = e.indexOf(n), a = e.indexOf(r);
5855
5855
  if (i === -1 || a === -1) throw Error(`Markers ${n}-${r} not found in content.`);
5856
5856
  return `${e.slice(0, Math.max(0, i + n.length))}\n${t}\n${e.slice(Math.max(0, a))}`;
5857
5857
  }
5858
5858
  //#endregion
5859
5859
  //#region src/actions/auditDependencies.ts
5860
- async function Wn() {
5860
+ async function Gn() {
5861
5861
  try {
5862
- G("Audit Dependencies"), await Nn("1️⃣ Check using 'npm audit'", "npm", ["audit"]), K("Dependencies audited.");
5862
+ G("Audit Dependencies"), await Pn("1️⃣ Check using 'npm audit'", "npm", ["audit"]), K("Dependencies audited.");
5863
5863
  } catch (e) {
5864
5864
  console.error("❌ Error auditing dependencies.", e), process.exit(1);
5865
5865
  }
5866
5866
  }
5867
5867
  //#endregion
5868
5868
  //#region src/actions/checkConfigFiles.ts
5869
- async function Gn() {
5869
+ async function Kn() {
5870
5870
  try {
5871
5871
  G("Check configuration files.");
5872
- let e = zn((await W("config.json")).id), t = n.dirname(o(import.meta.url));
5873
- await Kn(t, "../", ".editorconfig"), await Kn(t, "../", ".gitattributes"), await Kn(t, "../", e.publishedTo === "npm" ? ".gitignore_published" : ".gitignore_unpublished"), await Kn(t, "../", ".markdownlint.json"), await Kn(t, "../", "LICENSE"), K("Configuration files checked..");
5872
+ let e = Bn((await W("config.json")).id), t = n.dirname(o(import.meta.url));
5873
+ await qn(t, "../", ".editorconfig"), await qn(t, "../", ".gitattributes"), await qn(t, "../", e.publishedTo === "npm" ? ".gitignore_published" : ".gitignore_unpublished"), await qn(t, "../", ".markdownlint.json"), await qn(t, "../", "LICENSE"), K("Configuration files checked..");
5874
5874
  } catch (e) {
5875
5875
  console.error("❌ Error checking configuration files.", e), process.exit(1);
5876
5876
  }
5877
5877
  }
5878
- async function Kn(e, t, r) {
5879
- let i = await Fn(n.resolve(e, `${t}${r}`)), a = n.resolve(process.cwd(), r.split("_", 1)[0] ?? r), o;
5878
+ async function qn(e, t, r) {
5879
+ let i = await In(n.resolve(e, `${t}${r}`)), a = n.resolve(process.cwd(), r.split("_", 1)[0] ?? r), o;
5880
5880
  try {
5881
- o = await Fn(a);
5881
+ o = await In(a);
5882
5882
  } catch (e) {
5883
5883
  if (e.code !== "ENOENT") throw e;
5884
5884
  }
@@ -5890,9 +5890,9 @@ async function Kn(e, t, r) {
5890
5890
  }
5891
5891
  //#endregion
5892
5892
  //#region src/actions/checkDependencies.ts
5893
- async function qn() {
5893
+ async function Jn() {
5894
5894
  try {
5895
- G("Check Dependencies"), await Nn("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), await Nn("2️⃣ Check using 'npm-check-updates'", "npm-check-updates", [
5895
+ G("Check Dependencies"), await Pn("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), await Pn("2️⃣ Check using 'npm-check-updates'", "npm-check-updates", [
5896
5896
  "-i",
5897
5897
  "--dep",
5898
5898
  "dev,prod,peer,optional"
@@ -5903,69 +5903,93 @@ async function qn() {
5903
5903
  }
5904
5904
  //#endregion
5905
5905
  //#region src/actions/documentBundleSizes.ts
5906
- var Jn = "<!-- BUNDLE_CHUNKS_START -->", Yn = "<!-- BUNDLE_CHUNKS_END -->", Xn = "<!-- BUNDLE_SIZES_START -->", Zn = "<!-- BUNDLE_SIZES_END -->", Qn = "&nbsp;&nbsp;&nbsp;&nbsp;";
5907
- async function $n() {
5906
+ var Yn = (/* @__PURE__ */ c(((e, t) => {
5907
+ t.exports = {};
5908
+ })))(), Xn = r(Yn.gzip), Zn = r(Yn.brotliCompress), Qn = "<!-- BUNDLE_ACTUAL_START -->", $n = "<!-- BUNDLE_ACTUAL_END -->", er = "<!-- BUNDLE_CHUNKS_START -->", tr = "<!-- BUNDLE_CHUNKS_END -->", nr = "<!-- BUNDLE_SIZES_START -->", rr = "<!-- BUNDLE_SIZES_END -->", ir = "&nbsp;&nbsp;&nbsp;&nbsp;";
5909
+ async function ar() {
5908
5910
  try {
5909
5911
  G("Document Bundle Sizes"), q("1️⃣ Read bundle analysis report");
5910
5912
  let e = await W("./bundle-analysis-reports/rollup-visualiser/index.json");
5911
5913
  q("2️⃣ Insert tables into 'README.md'");
5912
- let t = er(e), n = tr(e);
5913
- await Rn("README.md", Un(Un(await Fn("./README.md"), `\n${t}\n`, Jn, Yn), `\n${n}\n`, Xn, Zn)), K("Bundle sizes documented.");
5914
+ let [t, n, r] = await Promise.all([
5915
+ Promise.resolve(sr(e)),
5916
+ Promise.resolve(cr(e)),
5917
+ or()
5918
+ ]);
5919
+ await zn("README.md", Wn(Wn(Wn(await In("./README.md"), `\n${r}\n`, Qn, $n), `\n${t}\n`, er, tr), `\n${n}\n`, nr, rr)), K("Bundle sizes documented.");
5914
5920
  } catch (e) {
5915
5921
  console.error("❌ Error documenting bundle sizes.", e), process.exit(1);
5916
5922
  }
5917
5923
  }
5918
- function er(e) {
5924
+ async function or() {
5925
+ let e = (await t.readdir("./dist")).filter((e) => e.endsWith(".js") && !e.endsWith(".map")), n = await Promise.all(e.map(async (e) => {
5926
+ let n = await t.readFile(`./dist/${e}`), [r, i] = await Promise.all([Xn(n), Zn(n)]);
5927
+ return [e, {
5928
+ rendered: n.length,
5929
+ gzip: r.length,
5930
+ brotli: i.length
5931
+ }];
5932
+ }));
5933
+ n.sort((e, t) => t[1].rendered - e[1].rendered);
5934
+ let r = n.reduce((e, [, t]) => (pr(e, t), e), fr());
5935
+ return [
5936
+ "| File | Size | Gzip | Brotli |",
5937
+ "| ---- | ---: | ---: | -----: |",
5938
+ ...n.map(([e, t]) => `| \`${e}\` | ${hr(t.rendered)} | ${hr(t.gzip)} | ${hr(t.brotli)} |`),
5939
+ `| **Total** | **${hr(r.rendered)}** | **${hr(r.gzip)}** | **${hr(r.brotli)}** |`
5940
+ ].join("\n");
5941
+ }
5942
+ function sr(e) {
5919
5943
  let t = /* @__PURE__ */ new Map();
5920
5944
  for (let n of Object.values(e.nodeMetas)) {
5921
- let r = nr(n.id);
5945
+ let r = lr(n.id);
5922
5946
  for (let [i, a] of Object.entries(n.moduleParts)) {
5923
5947
  let n = e.nodeParts[a];
5924
5948
  if (!n) continue;
5925
- let o = ir(n), s = t.get(i) ?? {
5926
- sizes: ar(),
5949
+ let o = dr(n), s = t.get(i) ?? {
5950
+ sizes: fr(),
5927
5951
  groups: /* @__PURE__ */ new Map()
5928
5952
  };
5929
- or(s.sizes, o), or(s.groups.get(r) ?? (() => {
5930
- let e = ar();
5953
+ pr(s.sizes, o), pr(s.groups.get(r) ?? (() => {
5954
+ let e = fr();
5931
5955
  return s.groups.set(r, e), e;
5932
5956
  })(), o), t.set(i, s);
5933
5957
  }
5934
5958
  }
5935
- let n = [...t.entries()].sort((e, t) => t[1].sizes.rendered - e[1].sizes.rendered), r = n.reduce((e, [, t]) => (or(e, t.sizes), e), ar()), i = ["| Module | Rendered | Gzip | Brotli |", "| ------ | -------: | ---: | -----: |"];
5959
+ let n = [...t.entries()].sort((e, t) => t[1].sizes.rendered - e[1].sizes.rendered), r = n.reduce((e, [, t]) => (pr(e, t.sizes), e), fr()), i = ["| Module | Rendered | Gzip | Brotli |", "| ------ | -------: | ---: | -----: |"];
5936
5960
  for (let [e, { sizes: t, groups: r }] of n) {
5937
- i.push(sr(`\`${e}\``, t));
5961
+ i.push(mr(`\`${e}\``, t));
5938
5962
  let n = [...r.entries()].sort((e, t) => t[1].rendered - e[1].rendered);
5939
- for (let [e, t] of n) i.push(sr(`${Qn}\`${e}\``, t));
5963
+ for (let [e, t] of n) i.push(mr(`${ir}\`${e}\``, t));
5940
5964
  }
5941
- return i.push(sr("Total", r, !0)), i.join("\n");
5965
+ return i.push(mr("Total", r, !0)), i.join("\n");
5942
5966
  }
5943
- function tr(e) {
5967
+ function cr(e) {
5944
5968
  let t = /* @__PURE__ */ new Map();
5945
5969
  for (let n of Object.values(e.nodeMetas)) {
5946
- let r = nr(n.id), i = rr(n.id);
5970
+ let r = lr(n.id), i = ur(n.id);
5947
5971
  for (let a of Object.values(n.moduleParts)) {
5948
5972
  let n = e.nodeParts[a];
5949
5973
  if (!n) continue;
5950
- let o = ir(n), s = t.get(r) ?? {
5951
- sizes: ar(),
5974
+ let o = dr(n), s = t.get(r) ?? {
5975
+ sizes: fr(),
5952
5976
  files: /* @__PURE__ */ new Map()
5953
5977
  };
5954
- or(s.sizes, o), or(s.files.get(i) ?? (() => {
5955
- let e = ar();
5978
+ pr(s.sizes, o), pr(s.files.get(i) ?? (() => {
5979
+ let e = fr();
5956
5980
  return s.files.set(i, e), e;
5957
5981
  })(), o), t.set(r, s);
5958
5982
  }
5959
5983
  }
5960
- let n = [...t.entries()].sort((e, t) => t[1].sizes.rendered - e[1].sizes.rendered), r = n.reduce((e, [, t]) => (or(e, t.sizes), e), ar()), i = ["| Module | Rendered | Gzip | Brotli |", "| ------ | -------: | ---: | -----: |"];
5984
+ let n = [...t.entries()].sort((e, t) => t[1].sizes.rendered - e[1].sizes.rendered), r = n.reduce((e, [, t]) => (pr(e, t.sizes), e), fr()), i = ["| Module | Rendered | Gzip | Brotli |", "| ------ | -------: | ---: | -----: |"];
5961
5985
  for (let [e, { sizes: t, files: r }] of n) {
5962
- i.push(sr(`\`${e}\``, t));
5986
+ i.push(mr(`\`${e}\``, t));
5963
5987
  let n = [...r.entries()].sort((e, t) => t[1].rendered - e[1].rendered);
5964
- for (let [e, t] of n) i.push(sr(`${Qn}\`${e}\``, t));
5988
+ for (let [e, t] of n) i.push(mr(`${ir}\`${e}\``, t));
5965
5989
  }
5966
- return i.push(sr("Total", r, !0)), i.join("\n");
5990
+ return i.push(mr("Total", r, !0)), i.join("\n");
5967
5991
  }
5968
- function nr(e) {
5992
+ function lr(e) {
5969
5993
  let t = e.startsWith("/") ? e.slice(1) : e;
5970
5994
  if (t.startsWith("\0")) return "(runtime)";
5971
5995
  if (t.startsWith("node_modules/")) {
@@ -5978,7 +6002,7 @@ function nr(e) {
5978
6002
  }
5979
6003
  return t.startsWith("rust/") || t.startsWith("__vite-plugin-wasm") ? "wasm" : "src";
5980
6004
  }
5981
- function rr(e) {
6005
+ function ur(e) {
5982
6006
  let t = e.startsWith("/") ? e.slice(1) : e;
5983
6007
  if (t.startsWith("\0")) return t.slice(1);
5984
6008
  if (t.startsWith("node_modules/")) {
@@ -5987,36 +6011,36 @@ function rr(e) {
5987
6011
  }
5988
6012
  return t.split("/").at(-1) ?? t;
5989
6013
  }
5990
- function ir(e) {
6014
+ function dr(e) {
5991
6015
  return {
5992
6016
  rendered: e.renderedLength,
5993
6017
  gzip: e.gzipLength,
5994
6018
  brotli: e.brotliLength
5995
6019
  };
5996
6020
  }
5997
- function ar() {
6021
+ function fr() {
5998
6022
  return {
5999
6023
  rendered: 0,
6000
6024
  gzip: 0,
6001
6025
  brotli: 0
6002
6026
  };
6003
6027
  }
6004
- function or(e, t) {
6028
+ function pr(e, t) {
6005
6029
  e.rendered += t.rendered, e.gzip += t.gzip, e.brotli += t.brotli;
6006
6030
  }
6007
- function sr(e, t, n = !1) {
6031
+ function mr(e, t, n = !1) {
6008
6032
  let r = (e) => n ? `**${e}**` : e;
6009
- return `| ${r(e)} | ${r(cr(t.rendered))} | ${r(cr(t.gzip))} | ${r(cr(t.brotli))} |`;
6033
+ return `| ${r(e)} | ${r(hr(t.rendered))} | ${r(hr(t.gzip))} | ${r(hr(t.brotli))} |`;
6010
6034
  }
6011
- function cr(e) {
6035
+ function hr(e) {
6012
6036
  return e < 1024 ? `${e} B` : `${(e / 1024).toFixed(1)} kB`;
6013
6037
  }
6014
6038
  //#endregion
6015
6039
  //#region src/actions/documentDependencies.ts
6016
- var lr = "<!-- DEPENDENCY_LICENSES_START -->", ur = "<!-- DEPENDENCY_LICENSES_END -->", dr = "<!-- DEPENDENCY_TREE_START -->", fr = "<!-- DEPENDENCY_TREE_END -->";
6017
- async function pr(e = "MIT") {
6040
+ var gr = "<!-- DEPENDENCY_LICENSES_START -->", _r = "<!-- DEPENDENCY_LICENSES_END -->", vr = "<!-- DEPENDENCY_TREE_START -->", yr = "<!-- DEPENDENCY_TREE_END -->";
6041
+ async function br(e = "MIT") {
6018
6042
  try {
6019
- G("Document Dependencies"), await An("1️⃣ Clear downloaded licenses", "licenses/downloads"), await Mn("2️⃣ Identify production licenses", "license-checker-rseidelsohn", [
6043
+ G("Document Dependencies"), await jn("1️⃣ Clear downloaded licenses", "licenses/downloads"), await Nn("2️⃣ Identify production licenses", "license-checker-rseidelsohn", [
6020
6044
  "--production",
6021
6045
  "--json",
6022
6046
  "--files",
@@ -6029,30 +6053,30 @@ async function pr(e = "MIT") {
6029
6053
  (await W("package.json")).name ?? "",
6030
6054
  "--out",
6031
6055
  "licenses/licenses.json"
6032
- ]), await Pn("3️⃣ Identify transitive dependencies", "npm", [
6056
+ ]), await Fn("3️⃣ Identify transitive dependencies", "npm", [
6033
6057
  "ls",
6034
6058
  "--all",
6035
6059
  "--json",
6036
6060
  "--omit=dev"
6037
- ], "licenses/licenseTree.json"), await mr("4️⃣ "), K("Dependencies documented.");
6061
+ ], "licenses/licenseTree.json"), await xr("4️⃣ "), K("Dependencies documented.");
6038
6062
  } catch (e) {
6039
6063
  console.error("❌ Error documenting dependencies.", e), process.exit(1);
6040
6064
  }
6041
6065
  }
6042
- async function mr(e) {
6066
+ async function xr(e) {
6043
6067
  q(`${e} Insert licenses into 'README.md'`);
6044
6068
  let [t, n] = await Promise.all([W("licenses/licenses.json"), W("licenses/licenseTree.json")]), r = /* @__PURE__ */ new Map();
6045
- for (let [e, n] of Object.entries(t)) r.set(e, hr(e, n));
6069
+ for (let [e, n] of Object.entries(t)) r.set(e, Sr(e, n));
6046
6070
  await Promise.all(r.values().map(async (e) => {
6047
- let t = await gr(e.name, e.installedVersion);
6071
+ let t = await Cr(e.name, e.installedVersion);
6048
6072
  e.latestVersion = t.latestVersion, e.latestPublishedDate = t.latestPublishedDate, e.publishedDate = t.publishedDate;
6049
6073
  }));
6050
6074
  let i = "|Name|Version|License(s)|Document|\n|-|:-:|-|-|\n";
6051
- for (let e of r.values()) i += _r(e);
6075
+ for (let e of r.values()) i += wr(e);
6052
6076
  let a = [];
6053
- n.dependencies != null && vr(n.dependencies, r, a, 0), await Rn("README.md", Un(Un(await Fn("./README.md"), i, lr, ur), a.join("\n"), dr, fr));
6077
+ n.dependencies != null && Tr(n.dependencies, r, a, 0), await zn("README.md", Wn(Wn(await In("./README.md"), i, gr, _r), a.join("\n"), vr, yr));
6054
6078
  }
6055
- function hr(e, t) {
6079
+ function Sr(e, t) {
6056
6080
  let n = e.lastIndexOf("@"), r = n > 0 ? e.slice(0, n) : e, i = n > 0 ? e.slice(n + 1) : "";
6057
6081
  return {
6058
6082
  name: r,
@@ -6066,7 +6090,7 @@ function hr(e, t) {
6066
6090
  ...t.licenseFile != null && { licenseFileLink: t.licenseFile }
6067
6091
  };
6068
6092
  }
6069
- async function gr(e, t) {
6093
+ async function Cr(e, t) {
6070
6094
  try {
6071
6095
  let n = await fetch(`https://registry.npmjs.org/${encodeURIComponent(e)}`);
6072
6096
  if (n.ok) {
@@ -6084,25 +6108,25 @@ async function gr(e, t) {
6084
6108
  publishedDate: ""
6085
6109
  };
6086
6110
  }
6087
- function _r(e) {
6111
+ function wr(e) {
6088
6112
  let t = e.licenseFileLink == null || e.licenseFileLink === "" ? "⚠️ No license file" : `[LICENSE](licenses/${e.licenseFileLink})`;
6089
6113
  return `|[${e.name}](${e.repository})|${e.installedVersion}|${e.licenseTypes}|${t}|\n`;
6090
6114
  }
6091
- function vr(e, t, n, r) {
6115
+ function Tr(e, t, n, r) {
6092
6116
  let i = " ".repeat(r);
6093
6117
  for (let [a, o] of Object.entries(e)) {
6094
- let e = o.version ?? "", s = t.get(`${a}@${e}`), c = s == null ? a : `[${a}](${s.repository})`, l = yr(s);
6095
- n.push(`${i}- **${c}** ${e}${l}`), o.dependencies != null && vr(o.dependencies, t, n, r + 1);
6118
+ let e = o.version ?? "", s = t.get(`${a}@${e}`), c = s == null ? a : `[${a}](${s.repository})`, l = Er(s);
6119
+ n.push(`${i}- **${c}** ${e}${l}`), o.dependencies != null && Tr(o.dependencies, t, n, r + 1);
6096
6120
  }
6097
6121
  }
6098
- function yr(e) {
6122
+ function Er(e) {
6099
6123
  if (e == null) return "";
6100
- let t = e.publishedDate ? br(e.publishedDate.split("T", 1)[0]) : "";
6124
+ let t = e.publishedDate ? Dr(e.publishedDate.split("T", 1)[0]) : "";
6101
6125
  if (!(e.latestVersion !== "" && e.latestVersion !== e.installedVersion)) return t === "" ? "" : ` — ${t}`;
6102
- let n = e.latestPublishedDate ? br(e.latestPublishedDate.split("T", 1)[0]) : "", r = n === "" ? `**latest**: ${e.latestVersion} ❗` : `**latest**: ${e.latestVersion} — ${n} ❗`;
6126
+ let n = e.latestPublishedDate ? Dr(e.latestPublishedDate.split("T", 1)[0]) : "", r = n === "" ? `**latest**: ${e.latestVersion} ❗` : `**latest**: ${e.latestVersion} — ${n} ❗`;
6103
6127
  return t === "" ? ` — → ${r}` : ` — ${t} → ${r}`;
6104
6128
  }
6105
- function br(e) {
6129
+ function Dr(e) {
6106
6130
  if (e == null || e === "") return "n/a";
6107
6131
  let t = e.split("T", 1)[0];
6108
6132
  if (t == null || t === "") return "n/a";
@@ -6111,43 +6135,43 @@ function br(e) {
6111
6135
  }
6112
6136
  //#endregion
6113
6137
  //#region node_modules/@dpuse/dpuse-shared/dist/componentConfig.schema-B7kVKqVP.js
6114
- var xr, Sr = {
6138
+ var Or, kr = {
6115
6139
  lang: void 0,
6116
6140
  message: void 0,
6117
6141
  abortEarly: void 0,
6118
6142
  abortPipeEarly: void 0
6119
6143
  };
6120
6144
  /* @__NO_SIDE_EFFECTS__ */
6121
- function Cr(e) {
6122
- return !e && !xr ? Sr : {
6123
- lang: e?.lang ?? xr?.lang,
6145
+ function Ar(e) {
6146
+ return !e && !Or ? kr : {
6147
+ lang: e?.lang ?? Or?.lang,
6124
6148
  message: e?.message,
6125
- abortEarly: e?.abortEarly ?? xr?.abortEarly,
6126
- abortPipeEarly: e?.abortPipeEarly ?? xr?.abortPipeEarly
6149
+ abortEarly: e?.abortEarly ?? Or?.abortEarly,
6150
+ abortPipeEarly: e?.abortPipeEarly ?? Or?.abortPipeEarly
6127
6151
  };
6128
6152
  }
6129
- var wr;
6153
+ var jr;
6130
6154
  /* @__NO_SIDE_EFFECTS__ */
6131
- function Tr(e) {
6132
- return wr?.get(e);
6155
+ function Mr(e) {
6156
+ return jr?.get(e);
6133
6157
  }
6134
- var Er;
6158
+ var Nr;
6135
6159
  /* @__NO_SIDE_EFFECTS__ */
6136
- function Dr(e) {
6137
- return Er?.get(e);
6160
+ function Pr(e) {
6161
+ return Nr?.get(e);
6138
6162
  }
6139
- var Or;
6163
+ var Fr;
6140
6164
  /* @__NO_SIDE_EFFECTS__ */
6141
- function kr(e, t) {
6142
- return Or?.get(e)?.get(t);
6165
+ function Ir(e, t) {
6166
+ return Fr?.get(e)?.get(t);
6143
6167
  }
6144
6168
  /* @__NO_SIDE_EFFECTS__ */
6145
- function Ar(e) {
6169
+ function Lr(e) {
6146
6170
  let t = typeof e;
6147
6171
  return t === "string" ? `"${e}"` : t === "number" || t === "bigint" || t === "boolean" ? `${e}` : t === "object" || t === "function" ? (e && Object.getPrototypeOf(e)?.constructor?.name) ?? "null" : t;
6148
6172
  }
6149
6173
  function J(e, t, n, r, i) {
6150
- let a = i && "input" in i ? i.input : n.value, o = i?.expected ?? e.expects ?? null, s = i?.received ?? /* @__PURE__ */ Ar(a), c = {
6174
+ let a = i && "input" in i ? i.input : n.value, o = i?.expected ?? e.expects ?? null, s = i?.received ?? /* @__PURE__ */ Lr(a), c = {
6151
6175
  kind: e.kind,
6152
6176
  type: e.type,
6153
6177
  input: a,
@@ -6160,50 +6184,50 @@ function J(e, t, n, r, i) {
6160
6184
  lang: r.lang,
6161
6185
  abortEarly: r.abortEarly,
6162
6186
  abortPipeEarly: r.abortPipeEarly
6163
- }, l = e.kind === "schema", u = i?.message ?? e.message ?? /* @__PURE__ */ kr(e.reference, c.lang) ?? (l ? /* @__PURE__ */ Dr(c.lang) : null) ?? r.message ?? /* @__PURE__ */ Tr(c.lang);
6187
+ }, l = e.kind === "schema", u = i?.message ?? e.message ?? /* @__PURE__ */ Ir(e.reference, c.lang) ?? (l ? /* @__PURE__ */ Pr(c.lang) : null) ?? r.message ?? /* @__PURE__ */ Mr(c.lang);
6164
6188
  u !== void 0 && (c.message = typeof u == "function" ? u(c) : u), l && (n.typed = !1), n.issues ? n.issues.push(c) : n.issues = [c];
6165
6189
  }
6166
- var jr = /* @__PURE__ */ new WeakMap();
6190
+ var Rr = /* @__PURE__ */ new WeakMap();
6167
6191
  /* @__NO_SIDE_EFFECTS__ */
6168
- function Mr(e) {
6169
- let t = jr.get(e);
6192
+ function Y(e) {
6193
+ let t = Rr.get(e);
6170
6194
  return t || (t = {
6171
6195
  version: 1,
6172
6196
  vendor: "valibot",
6173
6197
  validate(t) {
6174
- return e["~run"]({ value: t }, /* @__PURE__ */ Cr());
6198
+ return e["~run"]({ value: t }, /* @__PURE__ */ Ar());
6175
6199
  }
6176
- }, jr.set(e, t)), t;
6200
+ }, Rr.set(e, t)), t;
6177
6201
  }
6178
6202
  /* @__NO_SIDE_EFFECTS__ */
6179
- function Nr(e, t) {
6203
+ function zr(e, t) {
6180
6204
  return Object.prototype.hasOwnProperty.call(e, t) && t !== "__proto__" && t !== "prototype" && t !== "constructor";
6181
6205
  }
6182
6206
  /* @__NO_SIDE_EFFECTS__ */
6183
- function Pr(e, t) {
6207
+ function Br(e, t) {
6184
6208
  let n = [...new Set(e)];
6185
6209
  return n.length > 1 ? `(${n.join(` ${t} `)})` : n[0] ?? "never";
6186
6210
  }
6187
6211
  /* @__NO_SIDE_EFFECTS__ */
6188
- function Fr(e, t, n) {
6212
+ function Vr(e, t, n) {
6189
6213
  return typeof e.fallback == "function" ? e.fallback(t, n) : e.fallback;
6190
6214
  }
6191
6215
  /* @__NO_SIDE_EFFECTS__ */
6192
- function Ir(e, t, n) {
6216
+ function Hr(e, t, n) {
6193
6217
  return typeof e.default == "function" ? e.default(t, n) : e.default;
6194
6218
  }
6195
6219
  /* @__NO_SIDE_EFFECTS__ */
6196
- function Y(e, t) {
6220
+ function X(e, t) {
6197
6221
  return {
6198
6222
  kind: "schema",
6199
6223
  type: "array",
6200
- reference: Y,
6224
+ reference: X,
6201
6225
  expects: "Array",
6202
6226
  async: !1,
6203
6227
  item: e,
6204
6228
  message: t,
6205
6229
  get "~standard"() {
6206
- return /* @__PURE__ */ Mr(this);
6230
+ return /* @__PURE__ */ Y(this);
6207
6231
  },
6208
6232
  "~run"(e, t) {
6209
6233
  let n = e.value;
@@ -6233,16 +6257,16 @@ function Y(e, t) {
6233
6257
  };
6234
6258
  }
6235
6259
  /* @__NO_SIDE_EFFECTS__ */
6236
- function Lr(e) {
6260
+ function Ur(e) {
6237
6261
  return {
6238
6262
  kind: "schema",
6239
6263
  type: "boolean",
6240
- reference: Lr,
6264
+ reference: Ur,
6241
6265
  expects: "boolean",
6242
6266
  async: !1,
6243
6267
  message: e,
6244
6268
  get "~standard"() {
6245
- return /* @__PURE__ */ Mr(this);
6269
+ return /* @__PURE__ */ Y(this);
6246
6270
  },
6247
6271
  "~run"(e, t) {
6248
6272
  return typeof e.value == "boolean" ? e.typed = !0 : J(this, "type", e, t), e;
@@ -6250,17 +6274,17 @@ function Lr(e) {
6250
6274
  };
6251
6275
  }
6252
6276
  /* @__NO_SIDE_EFFECTS__ */
6253
- function Rr(e, t) {
6277
+ function Wr(e, t) {
6254
6278
  return {
6255
6279
  kind: "schema",
6256
6280
  type: "literal",
6257
- reference: Rr,
6258
- expects: /* @__PURE__ */ Ar(e),
6281
+ reference: Wr,
6282
+ expects: /* @__PURE__ */ Lr(e),
6259
6283
  async: !1,
6260
6284
  literal: e,
6261
6285
  message: t,
6262
6286
  get "~standard"() {
6263
- return /* @__PURE__ */ Mr(this);
6287
+ return /* @__PURE__ */ Y(this);
6264
6288
  },
6265
6289
  "~run"(e, t) {
6266
6290
  return e.value === this.literal ? e.typed = !0 : J(this, "type", e, t), e;
@@ -6268,34 +6292,34 @@ function Rr(e, t) {
6268
6292
  };
6269
6293
  }
6270
6294
  /* @__NO_SIDE_EFFECTS__ */
6271
- function X(e, t) {
6295
+ function Z(e, t) {
6272
6296
  return {
6273
6297
  kind: "schema",
6274
6298
  type: "nullable",
6275
- reference: X,
6299
+ reference: Z,
6276
6300
  expects: `(${e.expects} | null)`,
6277
6301
  async: !1,
6278
6302
  wrapped: e,
6279
6303
  default: t,
6280
6304
  get "~standard"() {
6281
- return /* @__PURE__ */ Mr(this);
6305
+ return /* @__PURE__ */ Y(this);
6282
6306
  },
6283
6307
  "~run"(e, t) {
6284
- return e.value === null && (this.default !== void 0 && (e.value = /* @__PURE__ */ Ir(this, e, t)), e.value === null) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
6308
+ return e.value === null && (this.default !== void 0 && (e.value = /* @__PURE__ */ Hr(this, e, t)), e.value === null) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
6285
6309
  }
6286
6310
  };
6287
6311
  }
6288
6312
  /* @__NO_SIDE_EFFECTS__ */
6289
- function zr(e) {
6313
+ function Gr(e) {
6290
6314
  return {
6291
6315
  kind: "schema",
6292
6316
  type: "number",
6293
- reference: zr,
6317
+ reference: Gr,
6294
6318
  expects: "number",
6295
6319
  async: !1,
6296
6320
  message: e,
6297
6321
  get "~standard"() {
6298
- return /* @__PURE__ */ Mr(this);
6322
+ return /* @__PURE__ */ Y(this);
6299
6323
  },
6300
6324
  "~run"(e, t) {
6301
6325
  return typeof e.value == "number" && !isNaN(e.value) ? e.typed = !0 : J(this, "type", e, t), e;
@@ -6303,17 +6327,17 @@ function zr(e) {
6303
6327
  };
6304
6328
  }
6305
6329
  /* @__NO_SIDE_EFFECTS__ */
6306
- function Z(e, t) {
6330
+ function Q(e, t) {
6307
6331
  return {
6308
6332
  kind: "schema",
6309
6333
  type: "object",
6310
- reference: Z,
6334
+ reference: Q,
6311
6335
  expects: "Object",
6312
6336
  async: !1,
6313
6337
  entries: e,
6314
6338
  message: t,
6315
6339
  get "~standard"() {
6316
- return /* @__PURE__ */ Mr(this);
6340
+ return /* @__PURE__ */ Y(this);
6317
6341
  },
6318
6342
  "~run"(e, t) {
6319
6343
  let n = e.value;
@@ -6322,7 +6346,7 @@ function Z(e, t) {
6322
6346
  for (let r in this.entries) {
6323
6347
  let i = this.entries[r];
6324
6348
  if (r in n || (i.type === "exact_optional" || i.type === "optional" || i.type === "nullish") && i.default !== void 0) {
6325
- let a = r in n ? n[r] : /* @__PURE__ */ Ir(i), o = i["~run"]({ value: a }, t);
6349
+ let a = r in n ? n[r] : /* @__PURE__ */ Hr(i), o = i["~run"]({ value: a }, t);
6326
6350
  if (o.issues) {
6327
6351
  let i = {
6328
6352
  type: "object",
@@ -6338,7 +6362,7 @@ function Z(e, t) {
6338
6362
  }
6339
6363
  }
6340
6364
  o.typed || (e.typed = !1), e.value[r] = o.value;
6341
- } else if (i.fallback !== void 0) e.value[r] = /* @__PURE__ */ Fr(i);
6365
+ } else if (i.fallback !== void 0) e.value[r] = /* @__PURE__ */ Vr(i);
6342
6366
  else if (i.type !== "exact_optional" && i.type !== "optional" && i.type !== "nullish" && (J(this, "key", e, t, {
6343
6367
  input: void 0,
6344
6368
  expected: `"${r}"`,
@@ -6357,42 +6381,42 @@ function Z(e, t) {
6357
6381
  };
6358
6382
  }
6359
6383
  /* @__NO_SIDE_EFFECTS__ */
6360
- function Q(e, t) {
6384
+ function Kr(e, t) {
6361
6385
  return {
6362
6386
  kind: "schema",
6363
6387
  type: "optional",
6364
- reference: Q,
6388
+ reference: Kr,
6365
6389
  expects: `(${e.expects} | undefined)`,
6366
6390
  async: !1,
6367
6391
  wrapped: e,
6368
6392
  default: t,
6369
6393
  get "~standard"() {
6370
- return /* @__PURE__ */ Mr(this);
6394
+ return /* @__PURE__ */ Y(this);
6371
6395
  },
6372
6396
  "~run"(e, t) {
6373
- return e.value === void 0 && (this.default !== void 0 && (e.value = /* @__PURE__ */ Ir(this, e, t)), e.value === void 0) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
6397
+ return e.value === void 0 && (this.default !== void 0 && (e.value = /* @__PURE__ */ Hr(this, e, t)), e.value === void 0) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
6374
6398
  }
6375
6399
  };
6376
6400
  }
6377
6401
  /* @__NO_SIDE_EFFECTS__ */
6378
- function Br(e, t, n) {
6402
+ function qr(e, t, n) {
6379
6403
  return {
6380
6404
  kind: "schema",
6381
6405
  type: "record",
6382
- reference: Br,
6406
+ reference: qr,
6383
6407
  expects: "Object",
6384
6408
  async: !1,
6385
6409
  key: e,
6386
6410
  value: t,
6387
6411
  message: n,
6388
6412
  get "~standard"() {
6389
- return /* @__PURE__ */ Mr(this);
6413
+ return /* @__PURE__ */ Y(this);
6390
6414
  },
6391
6415
  "~run"(e, t) {
6392
6416
  let n = e.value;
6393
6417
  if (n && typeof n == "object") {
6394
6418
  e.typed = !0, e.value = {};
6395
- for (let r in n) if (/* @__PURE__ */ Nr(n, r)) {
6419
+ for (let r in n) if (/* @__PURE__ */ zr(n, r)) {
6396
6420
  let i = n[r], a = this.key["~run"]({ value: r }, t);
6397
6421
  if (a.issues) {
6398
6422
  let o = {
@@ -6440,7 +6464,7 @@ function $(e) {
6440
6464
  async: !1,
6441
6465
  message: e,
6442
6466
  get "~standard"() {
6443
- return /* @__PURE__ */ Mr(this);
6467
+ return /* @__PURE__ */ Y(this);
6444
6468
  },
6445
6469
  "~run"(e, t) {
6446
6470
  return typeof e.value == "string" ? e.typed = !0 : J(this, "type", e, t), e;
@@ -6448,24 +6472,24 @@ function $(e) {
6448
6472
  };
6449
6473
  }
6450
6474
  /* @__NO_SIDE_EFFECTS__ */
6451
- function Vr(e) {
6475
+ function Jr(e) {
6452
6476
  let t;
6453
6477
  if (e) for (let n of e) if (t) for (let e of n.issues) t.push(e);
6454
6478
  else t = n.issues;
6455
6479
  return t;
6456
6480
  }
6457
6481
  /* @__NO_SIDE_EFFECTS__ */
6458
- function Hr(e, t) {
6482
+ function Yr(e, t) {
6459
6483
  return {
6460
6484
  kind: "schema",
6461
6485
  type: "union",
6462
- reference: Hr,
6463
- expects: /* @__PURE__ */ Pr(e.map((e) => e.expects), "|"),
6486
+ reference: Yr,
6487
+ expects: /* @__PURE__ */ Br(e.map((e) => e.expects), "|"),
6464
6488
  async: !1,
6465
6489
  options: e,
6466
6490
  message: t,
6467
6491
  get "~standard"() {
6468
- return /* @__PURE__ */ Mr(this);
6492
+ return /* @__PURE__ */ Y(this);
6469
6493
  },
6470
6494
  "~run"(e, t) {
6471
6495
  let n, r, i;
@@ -6481,24 +6505,24 @@ function Hr(e, t) {
6481
6505
  if (n) return n;
6482
6506
  if (r) {
6483
6507
  if (r.length === 1) return r[0];
6484
- J(this, "type", e, t, { issues: /* @__PURE__ */ Vr(r) }), e.typed = !0;
6508
+ J(this, "type", e, t, { issues: /* @__PURE__ */ Jr(r) }), e.typed = !0;
6485
6509
  } else if (i?.length === 1) return i[0];
6486
- else J(this, "type", e, t, { issues: /* @__PURE__ */ Vr(i) });
6510
+ else J(this, "type", e, t, { issues: /* @__PURE__ */ Jr(i) });
6487
6511
  return e;
6488
6512
  }
6489
6513
  };
6490
6514
  }
6491
- var Ur = (e) => /* @__PURE__ */ Hr(e.map((e) => /* @__PURE__ */ Rr(e))), Wr = /* @__PURE__ */ Z({
6515
+ var Xr = (e) => /* @__PURE__ */ Yr(e.map((e) => /* @__PURE__ */ Wr(e))), Zr = /* @__PURE__ */ Q({
6492
6516
  en: /* @__PURE__ */ $(),
6493
6517
  es: /* @__PURE__ */ $()
6494
- }), Gr = /* @__PURE__ */ Z({
6495
- en: /* @__PURE__ */ Q(/* @__PURE__ */ Y(/* @__PURE__ */ $())),
6496
- es: /* @__PURE__ */ Q(/* @__PURE__ */ Y(/* @__PURE__ */ $()))
6497
- }), Kr = /* @__PURE__ */ Z({
6498
- en: /* @__PURE__ */ Q(/* @__PURE__ */ $()),
6499
- es: /* @__PURE__ */ Q(/* @__PURE__ */ $())
6518
+ }), Qr = /* @__PURE__ */ Q({
6519
+ en: /* @__PURE__ */ Kr(/* @__PURE__ */ X(/* @__PURE__ */ $())),
6520
+ es: /* @__PURE__ */ Kr(/* @__PURE__ */ X(/* @__PURE__ */ $()))
6521
+ }), $r = /* @__PURE__ */ Q({
6522
+ en: /* @__PURE__ */ Kr(/* @__PURE__ */ $()),
6523
+ es: /* @__PURE__ */ Kr(/* @__PURE__ */ $())
6500
6524
  });
6501
- Ur([
6525
+ Xr([
6502
6526
  "app",
6503
6527
  "connector",
6504
6528
  "connectorConnection",
@@ -6523,12 +6547,12 @@ Ur([
6523
6547
  "presenterPresentation",
6524
6548
  "tool"
6525
6549
  ]);
6526
- var qr = Ur([
6550
+ var ei = Xr([
6527
6551
  "amber",
6528
6552
  "green",
6529
6553
  "red",
6530
6554
  "other"
6531
- ]), Jr = Ur([
6555
+ ]), ti = Xr([
6532
6556
  "alpha",
6533
6557
  "beta",
6534
6558
  "generalAvailability",
@@ -6538,31 +6562,31 @@ var qr = Ur([
6538
6562
  "releaseCandidate",
6539
6563
  "unavailable",
6540
6564
  "underReview"
6541
- ]), Yr = /* @__PURE__ */ Z({
6542
- color: qr,
6565
+ ]), ni = /* @__PURE__ */ Q({
6566
+ color: ei,
6543
6567
  label: /* @__PURE__ */ $()
6544
- }), Xr = /* @__PURE__ */ Z({
6568
+ }), ri = /* @__PURE__ */ Q({
6545
6569
  id: /* @__PURE__ */ $(),
6546
- label: Kr,
6547
- description: Gr,
6548
- icon: /* @__PURE__ */ X(/* @__PURE__ */ $()),
6549
- iconDark: /* @__PURE__ */ X(/* @__PURE__ */ $()),
6550
- iconNeutral: /* @__PURE__ */ X(/* @__PURE__ */ $()),
6551
- order: /* @__PURE__ */ zr(),
6570
+ label: $r,
6571
+ description: Qr,
6572
+ icon: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6573
+ iconDark: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6574
+ iconNeutral: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6575
+ order: /* @__PURE__ */ Gr(),
6552
6576
  path: /* @__PURE__ */ $()
6553
- }), Zr = {
6577
+ }), ii = {
6554
6578
  id: /* @__PURE__ */ $(),
6555
- label: Kr,
6556
- description: Gr,
6557
- firstCreatedAt: /* @__PURE__ */ X(/* @__PURE__ */ zr()),
6558
- icon: /* @__PURE__ */ X(/* @__PURE__ */ $()),
6559
- iconDark: /* @__PURE__ */ X(/* @__PURE__ */ $()),
6560
- iconNeutral: /* @__PURE__ */ X(/* @__PURE__ */ $()),
6561
- lastUpdatedAt: /* @__PURE__ */ X(/* @__PURE__ */ zr()),
6562
- status: /* @__PURE__ */ X(Yr),
6563
- statusId: /* @__PURE__ */ X(Jr)
6579
+ label: $r,
6580
+ description: Qr,
6581
+ firstCreatedAt: /* @__PURE__ */ Z(/* @__PURE__ */ Gr()),
6582
+ icon: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6583
+ iconDark: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6584
+ iconNeutral: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6585
+ lastUpdatedAt: /* @__PURE__ */ Z(/* @__PURE__ */ Gr()),
6586
+ status: /* @__PURE__ */ Z(ni),
6587
+ statusId: /* @__PURE__ */ Z(ti)
6564
6588
  };
6565
- ({ ...Zr }), Ur([
6589
+ ({ ...ii }), Xr([
6566
6590
  "app",
6567
6591
  "engine",
6568
6592
  "connector",
@@ -6572,32 +6596,32 @@ var qr = Ur([
6572
6596
  ]);
6573
6597
  //#endregion
6574
6598
  //#region node_modules/@dpuse/dpuse-shared/dist/moduleConfig.schema-Cvc9QRvr.js
6575
- var Qr = {
6576
- ...Zr,
6599
+ var ai = {
6600
+ ...ii,
6577
6601
  version: /* @__PURE__ */ $()
6578
6602
  };
6579
- ({ ...Qr });
6603
+ ({ ...ai });
6580
6604
  //#endregion
6581
6605
  //#region node_modules/@dpuse/dpuse-shared/dist/dpuse-shared-componentModuleConnector.es.js
6582
- var $r = Ur([
6606
+ var oi = Xr([
6583
6607
  "application",
6584
6608
  "curatedDataset",
6585
6609
  "database",
6586
6610
  "fileStore"
6587
- ]), ei = /* @__PURE__ */ Z({ label: Wr }), ti = /* @__PURE__ */ Z({
6588
- authMethodId: Ur([
6611
+ ]), si = /* @__PURE__ */ Q({ label: Zr }), ci = /* @__PURE__ */ Q({
6612
+ authMethodId: Xr([
6589
6613
  "apiKey",
6590
6614
  "disabled",
6591
6615
  "oAuth2",
6592
6616
  "none"
6593
6617
  ]),
6594
- activeConnectionCount: /* @__PURE__ */ Q(/* @__PURE__ */ zr()),
6595
- canDescribe: /* @__PURE__ */ Q(/* @__PURE__ */ Lr()),
6596
- id: /* @__PURE__ */ Q(/* @__PURE__ */ $()),
6597
- label: /* @__PURE__ */ Q(Wr),
6598
- maxConnectionCount: /* @__PURE__ */ X(/* @__PURE__ */ zr()),
6599
- params: /* @__PURE__ */ Q(/* @__PURE__ */ Y(/* @__PURE__ */ Br(/* @__PURE__ */ $(), /* @__PURE__ */ $())))
6600
- }), ni = Ur([
6618
+ activeConnectionCount: /* @__PURE__ */ Kr(/* @__PURE__ */ Gr()),
6619
+ canDescribe: /* @__PURE__ */ Kr(/* @__PURE__ */ Ur()),
6620
+ id: /* @__PURE__ */ Kr(/* @__PURE__ */ $()),
6621
+ label: /* @__PURE__ */ Kr(Zr),
6622
+ maxConnectionCount: /* @__PURE__ */ Z(/* @__PURE__ */ Gr()),
6623
+ params: /* @__PURE__ */ Kr(/* @__PURE__ */ X(/* @__PURE__ */ qr(/* @__PURE__ */ $(), /* @__PURE__ */ $())))
6624
+ }), li = Xr([
6601
6625
  "abortOperation",
6602
6626
  "auditObjectContent",
6603
6627
  "createObject",
@@ -6612,17 +6636,17 @@ var $r = Ur([
6612
6636
  "retrieveChunks",
6613
6637
  "retrieveRecords",
6614
6638
  "upsertRecords"
6615
- ]), ri = /* @__PURE__ */ Z({
6616
- typeId: /* @__PURE__ */ Rr("connector"),
6617
- ...Qr,
6618
- actionNames: /* @__PURE__ */ Y(ni),
6619
- category: /* @__PURE__ */ X(ei),
6620
- categoryId: $r,
6621
- implementations: /* @__PURE__ */ Br(/* @__PURE__ */ $(), ti),
6622
- vendorAccountURL: /* @__PURE__ */ X(/* @__PURE__ */ $()),
6623
- vendorDocumentationURL: /* @__PURE__ */ X(/* @__PURE__ */ $()),
6624
- vendorHomeURL: /* @__PURE__ */ X(/* @__PURE__ */ $())
6625
- }), ii = {
6639
+ ]), ui = /* @__PURE__ */ Q({
6640
+ typeId: /* @__PURE__ */ Wr("connector"),
6641
+ ...ai,
6642
+ actionNames: /* @__PURE__ */ X(li),
6643
+ category: /* @__PURE__ */ Z(si),
6644
+ categoryId: oi,
6645
+ implementations: /* @__PURE__ */ qr(/* @__PURE__ */ $(), ci),
6646
+ vendorAccountURL: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6647
+ vendorDocumentationURL: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6648
+ vendorHomeURL: /* @__PURE__ */ Z(/* @__PURE__ */ $())
6649
+ }), di = {
6626
6650
  abortOperation: "Abort Operation",
6627
6651
  auditObjectContent: "Audit Object Content",
6628
6652
  createObject: "Create Object",
@@ -6638,29 +6662,29 @@ var $r = Ur([
6638
6662
  retrieveRecords: "Retrieve Records",
6639
6663
  upsertRecords: "Upsert Records"
6640
6664
  };
6641
- function ai(e) {
6665
+ function fi(e) {
6642
6666
  let t = new Set(e), n = "| Name | Supported |\n";
6643
6667
  n += "| ---- | :-------: |\n";
6644
- for (let e of Object.keys(ii)) n += `| ${ii[e]} | ${t.has(e) ? "✓" : ""} |\n`;
6668
+ for (let e of Object.keys(di)) n += `| ${di[e]} | ${t.has(e) ? "✓" : ""} |\n`;
6645
6669
  return n;
6646
6670
  }
6647
6671
  //#endregion
6648
6672
  //#region src/actions/documentOperations.ts
6649
- var oi = "<!-- CONNECTOR_OPERATIONS_START -->", si = "<!-- CONNECTOR_OPERATIONS_END -->";
6650
- async function ci() {
6673
+ var pi = "<!-- CONNECTOR_OPERATIONS_START -->", mi = "<!-- CONNECTOR_OPERATIONS_END -->";
6674
+ async function hi() {
6651
6675
  try {
6652
6676
  G("Document Operations"), q("1️⃣ Insert operations table into 'README.md'");
6653
- let e = ai((await W("config.json")).operations ?? []);
6654
- await Rn("README.md", Un(await Fn("./README.md"), e, oi, si)), K("Operations documented.");
6677
+ let e = fi((await W("config.json")).operations ?? []);
6678
+ await zn("README.md", Wn(await In("./README.md"), e, pi, mi)), K("Operations documented.");
6655
6679
  } catch (e) {
6656
6680
  console.error("❌ Error documenting operations.", e), process.exit(1);
6657
6681
  }
6658
6682
  }
6659
6683
  //#endregion
6660
6684
  //#region src/actions/formatCode.ts
6661
- async function li() {
6685
+ async function gi() {
6662
6686
  try {
6663
- G("Format Code"), await Nn("1️⃣ Format", "prettier", [
6687
+ G("Format Code"), await Pn("1️⃣ Format", "prettier", [
6664
6688
  "--write",
6665
6689
  "*.json",
6666
6690
  "*.md",
@@ -6673,16 +6697,16 @@ async function li() {
6673
6697
  }
6674
6698
  //#endregion
6675
6699
  //#region src/actions/lintCode.ts
6676
- async function ui() {
6700
+ async function _i() {
6677
6701
  try {
6678
- G("Lint Code"), await Nn("1️⃣ Lint", "eslint", ["."]), K("Code linted.");
6702
+ G("Lint Code"), await Pn("1️⃣ Lint", "eslint", ["."]), K("Code linted.");
6679
6703
  } catch (e) {
6680
6704
  console.error("❌ Error linting code.", e), process.exit(1);
6681
6705
  }
6682
6706
  }
6683
6707
  //#endregion
6684
6708
  //#region src/utilities/cloudflare.ts
6685
- async function di() {
6709
+ async function vi() {
6686
6710
  let e = await W("config.json"), t = {
6687
6711
  body: JSON.stringify(e),
6688
6712
  headers: { "Content-Type": "application/json" },
@@ -6690,11 +6714,11 @@ async function di() {
6690
6714
  }, n = await fetch(`https://api.dpuse.app/configs/${e.id}`, t);
6691
6715
  if (!n.ok) throw Error(await n.text());
6692
6716
  }
6693
- async function fi(e, t) {
6717
+ async function yi(e, t) {
6694
6718
  async function n(e, t, r) {
6695
6719
  for (let i of r) {
6696
6720
  let r = `${e}/${i}`, a = `${t}/${i}`;
6697
- (await Bn(r)).isDirectory() ? await n(r, a, await jn(r)) : (console.info(`⚙️ Uploading '${e}/${i}'...`), await Mn(void 0, "wrangler", [
6721
+ (await Vn(r)).isDirectory() ? await n(r, a, await Mn(r)) : (console.info(`⚙️ Uploading '${e}/${i}'...`), await Nn(void 0, "wrangler", [
6698
6722
  "r2",
6699
6723
  "object",
6700
6724
  "put",
@@ -6705,10 +6729,10 @@ async function fi(e, t) {
6705
6729
  ]));
6706
6730
  }
6707
6731
  }
6708
- let r = await jn(`${e}/${t}/`);
6732
+ let r = await Mn(`${e}/${t}/`);
6709
6733
  await n(`${e}/${t}`, t, r);
6710
6734
  }
6711
- async function pi(e) {
6735
+ async function bi(e) {
6712
6736
  let t = e.id, n = {
6713
6737
  body: JSON.stringify(e),
6714
6738
  headers: { "Content-Type": "application/json" },
@@ -6716,14 +6740,14 @@ async function pi(e) {
6716
6740
  }, r = await fetch(`https://api.dpuse.app/configs/${t}`, n);
6717
6741
  if (!r.ok) throw Error(await r.text());
6718
6742
  }
6719
- async function mi(e, t) {
6743
+ async function xi(e, t) {
6720
6744
  let n = `v${e.version ?? "unknown"}`;
6721
6745
  async function r(e, r = "") {
6722
- let i = await jn(e, { withFileTypes: !0 });
6746
+ let i = await Mn(e, { withFileTypes: !0 });
6723
6747
  for (let a of i) {
6724
6748
  if (a.isDirectory()) continue;
6725
6749
  let i = `${e}/${a.name}`, o = r ? `${r}/${a.name}` : a.name, s = `${t}_${n}/${o}`.replaceAll("\\", "/"), c = a.name.endsWith(".css") ? "text/css" : "application/octet-stream", l = a.name.endsWith(".js") ? "application/javascript" : c;
6726
- console.info(`⚙️ Uploading '${o}' → '${s}'...`), await Mn(void 0, "wrangler", [
6750
+ console.info(`⚙️ Uploading '${o}' → '${s}'...`), await Nn(void 0, "wrangler", [
6727
6751
  "r2",
6728
6752
  "object",
6729
6753
  "put",
@@ -6740,24 +6764,24 @@ async function mi(e, t) {
6740
6764
  }
6741
6765
  //#endregion
6742
6766
  //#region node_modules/valibot/dist/index.mjs
6743
- var hi, gi = {
6767
+ var Si, Ci = {
6744
6768
  lang: void 0,
6745
6769
  message: void 0,
6746
6770
  abortEarly: void 0,
6747
6771
  abortPipeEarly: void 0
6748
6772
  };
6749
6773
  /* @__NO_SIDE_EFFECTS__ */
6750
- function _i(e) {
6751
- return !e && !hi ? gi : {
6752
- lang: e?.lang ?? hi?.lang,
6774
+ function wi(e) {
6775
+ return !e && !Si ? Ci : {
6776
+ lang: e?.lang ?? Si?.lang,
6753
6777
  message: e?.message,
6754
- abortEarly: e?.abortEarly ?? hi?.abortEarly,
6755
- abortPipeEarly: e?.abortPipeEarly ?? hi?.abortPipeEarly
6778
+ abortEarly: e?.abortEarly ?? Si?.abortEarly,
6779
+ abortPipeEarly: e?.abortPipeEarly ?? Si?.abortPipeEarly
6756
6780
  };
6757
6781
  }
6758
6782
  /* @__NO_SIDE_EFFECTS__ */
6759
- function vi(e, t, n) {
6760
- let r = e["~run"]({ value: t }, /* @__PURE__ */ _i(n));
6783
+ function Ti(e, t, n) {
6784
+ let r = e["~run"]({ value: t }, /* @__PURE__ */ wi(n));
6761
6785
  return {
6762
6786
  typed: r.typed,
6763
6787
  success: !r.issues,
@@ -6767,31 +6791,31 @@ function vi(e, t, n) {
6767
6791
  }
6768
6792
  //#endregion
6769
6793
  //#region node_modules/@dpuse/dpuse-shared/dist/dpuse-shared-componentModuleContext.es.js
6770
- var yi = /* @__PURE__ */ Z({
6771
- ...Zr,
6772
- typeId: /* @__PURE__ */ Rr("contextModelGroup"),
6773
- modelRefs: /* @__PURE__ */ Y(Xr),
6774
- order: /* @__PURE__ */ zr()
6775
- }), bi = Ur(["listContextFocuses"]), xi = /* @__PURE__ */ Z({
6776
- ...Qr,
6777
- typeId: /* @__PURE__ */ Rr("context"),
6778
- models: /* @__PURE__ */ Y(yi),
6779
- operations: /* @__PURE__ */ Y(bi)
6780
- }), Si = Ur([
6794
+ var Ei = /* @__PURE__ */ Q({
6795
+ ...ii,
6796
+ typeId: /* @__PURE__ */ Wr("contextModelGroup"),
6797
+ modelRefs: /* @__PURE__ */ X(ri),
6798
+ order: /* @__PURE__ */ Gr()
6799
+ }), Di = Xr(["listContextFocuses"]), Oi = /* @__PURE__ */ Q({
6800
+ ...ai,
6801
+ typeId: /* @__PURE__ */ Wr("context"),
6802
+ models: /* @__PURE__ */ X(Ei),
6803
+ operations: /* @__PURE__ */ X(Di)
6804
+ }), ki = Xr([
6781
6805
  "list",
6782
6806
  "render",
6783
6807
  "setColorMode"
6784
- ]), Ci = /* @__PURE__ */ Z({
6785
- typeId: /* @__PURE__ */ Rr("presenter"),
6786
- ...Qr,
6787
- actionNames: /* @__PURE__ */ Y(Si),
6788
- presentations: /* @__PURE__ */ Y(Xr)
6789
- }), wi = /* @__PURE__ */ new Set([
6808
+ ]), Ai = /* @__PURE__ */ Q({
6809
+ typeId: /* @__PURE__ */ Wr("presenter"),
6810
+ ...ai,
6811
+ actionNames: /* @__PURE__ */ X(ki),
6812
+ presentations: /* @__PURE__ */ X(ri)
6813
+ }), ji = /* @__PURE__ */ new Set([
6790
6814
  "createObject",
6791
6815
  "dropObject",
6792
6816
  "removeRecords",
6793
6817
  "upsertRecords"
6794
- ]), Ti = /* @__PURE__ */ new Set([
6818
+ ]), Mi = /* @__PURE__ */ new Set([
6795
6819
  "auditObjectContent",
6796
6820
  "findObjectFolderPath",
6797
6821
  "getReadableStream",
@@ -6801,57 +6825,57 @@ var yi = /* @__PURE__ */ Z({
6801
6825
  "retrieveChunks",
6802
6826
  "retrieveRecords"
6803
6827
  ]);
6804
- async function Ei() {
6828
+ async function Ni() {
6805
6829
  try {
6806
- G("Build Project"), await Nn("1️⃣ Bundle project", "vite", ["build"]), K("Project built.");
6830
+ G("Build Project"), await Pn("1️⃣ Bundle project", "vite", ["build"]), K("Project built.");
6807
6831
  } catch (e) {
6808
6832
  console.error("❌ Error building project.", e), process.exit(1);
6809
6833
  }
6810
6834
  }
6811
- async function Di() {
6835
+ async function Pi() {
6812
6836
  try {
6813
6837
  G("Release Project");
6814
6838
  let e = await W("package.json"), t = await W("config.json");
6815
- await Li("1️⃣ ", e);
6816
- let n = zn(t.id);
6839
+ await Wi("1️⃣ ", e);
6840
+ let n = Bn(t.id);
6817
6841
  switch (n.typeId) {
6818
6842
  case "connector":
6819
- t = await ki("2️⃣ ", e);
6843
+ t = await Ii("2️⃣ ", e);
6820
6844
  break;
6821
6845
  case "context":
6822
- t = await Ai("2️⃣ ", e);
6846
+ t = await Li("2️⃣ ", e);
6823
6847
  break;
6824
6848
  case "presenter":
6825
- t = await ji("2️⃣ ", e);
6849
+ t = await Ri("2️⃣ ", e);
6826
6850
  break;
6827
- default: t = await Oi("2️⃣ ", e);
6851
+ default: t = await Fi("2️⃣ ", e);
6828
6852
  }
6829
- if (await Nn("3️⃣ Bundle project", "vite", ["build"]), await Mn("4️⃣ Stage changes", "git", ["add", "."]), await Mn("5️⃣ Commit changes", "git", [
6853
+ if (await Pn("3️⃣ Bundle project", "vite", ["build"]), await Nn("4️⃣ Stage changes", "git", ["add", "."]), await Nn("5️⃣ Commit changes", "git", [
6830
6854
  "commit",
6831
6855
  "-m",
6832
6856
  `"v${e.version ?? "unknown"}"`
6833
- ]), await Mn("6️⃣ Push changes", "git", [
6857
+ ]), await Nn("6️⃣ Push changes", "git", [
6834
6858
  "push",
6835
6859
  "origin",
6836
6860
  "main:main"
6837
- ]), n.typeId === "app") q("7️⃣ Register module"), await di();
6838
- else if (n.typeId === "engine") q("7️⃣ Register module"), await mi(e, `dpuse-engine-eu/${n.uploadGroupName ?? "unknown"}`), await pi(t);
6861
+ ]), n.typeId === "app") q("7️⃣ Register module"), await vi();
6862
+ else if (n.typeId === "engine") q("7️⃣ Register module"), await xi(e, `dpuse-engine-eu/${n.uploadGroupName ?? "unknown"}`), await bi(t);
6839
6863
  else if (n.uploadGroupName === void 0) q("7️⃣ Registration NOT required.");
6840
6864
  else {
6841
6865
  q("7️⃣ Register module");
6842
6866
  let r = t.id.split("-").slice(2).join("-");
6843
- await mi(e, `dpuse-engine-eu/${n.uploadGroupName}/${r}`), await pi(t);
6867
+ await xi(e, `dpuse-engine-eu/${n.uploadGroupName}/${r}`), await bi(t);
6844
6868
  }
6845
6869
  if (n.publishedTo === "npm") {
6846
6870
  let e = ".npmrc";
6847
6871
  try {
6848
- await Rn(e, `registry=https://registry.npmjs.org/\n//registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN ?? ""}`), await Nn("8️⃣ Publish to npm", "npm", [
6872
+ await zn(e, `registry=https://registry.npmjs.org/\n//registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN ?? ""}`), await Pn("8️⃣ Publish to npm", "npm", [
6849
6873
  "publish",
6850
6874
  "--access",
6851
6875
  "public"
6852
6876
  ]);
6853
6877
  } finally {
6854
- await In(e);
6878
+ await Ln(e);
6855
6879
  }
6856
6880
  } else q(`8️⃣ Publishing NOT required for package with type identifier of '${n.typeId}'.`);
6857
6881
  K(`Project version '${e.version ?? "unknown"}' released.`);
@@ -6859,76 +6883,76 @@ async function Di() {
6859
6883
  console.error("❌ Error releasing project.", e), process.exit(1);
6860
6884
  }
6861
6885
  }
6862
- async function Oi(e, t) {
6886
+ async function Fi(e, t) {
6863
6887
  q(`${e} Build project configuration`);
6864
6888
  let n = await W("config.json");
6865
- return t.name != null && (n.id = t.name.replace("@dpuse/", "")), t.version != null && (n.version = t.version), await Ln("config.json", n), n;
6889
+ return t.name != null && (n.id = t.name.replace("@dpuse/", "")), t.version != null && (n.version = t.version), await Rn("config.json", n), n;
6866
6890
  }
6867
- async function ki(e, t) {
6891
+ async function Ii(e, t) {
6868
6892
  q(`${e} Build connector project configuration`);
6869
- let [n, r] = await Promise.all([W("config.json"), Fn("src/index.ts")]), i = /* @__PURE__ */ vi(ri, n);
6893
+ let [n, r] = await Promise.all([W("config.json"), In("src/index.ts")]), i = /* @__PURE__ */ Ti(ui, n);
6870
6894
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid.");
6871
- let a = Vn(r);
6872
- return await Ni(t, n, a, Mi(a));
6895
+ let a = Hn(r);
6896
+ return await Bi(t, n, a, zi(a));
6873
6897
  }
6874
- async function Ai(e, t) {
6898
+ async function Li(e, t) {
6875
6899
  q(`${e} Build context project configuration`);
6876
- let [n, r] = await Promise.all([W("config.json"), Fn("src/index.ts")]), i = /* @__PURE__ */ vi(xi, n);
6900
+ let [n, r] = await Promise.all([W("config.json"), In("src/index.ts")]), i = /* @__PURE__ */ Ti(Oi, n);
6877
6901
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid.");
6878
- return await Ni(t, n, Vn(r));
6902
+ return await Bi(t, n, Hn(r));
6879
6903
  }
6880
- async function ji(e, t) {
6904
+ async function Ri(e, t) {
6881
6905
  q(`${e} Build presenter project configuration`);
6882
- let [n, r] = await Promise.all([W("config.json"), Fn("src/index.ts")]), i = /* @__PURE__ */ vi(Ci, n);
6906
+ let [n, r] = await Promise.all([W("config.json"), In("src/index.ts")]), i = /* @__PURE__ */ Ti(Ai, n);
6883
6907
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid.");
6884
- return await Ni(t, n, Vn(r));
6908
+ return await Bi(t, n, Hn(r));
6885
6909
  }
6886
- function Mi(e) {
6910
+ function zi(e) {
6887
6911
  let t = !1, n = !1;
6888
- for (let r of e) Ti.has(r) && (t = !0), wi.has(r) && (n = !0);
6912
+ for (let r of e) Mi.has(r) && (t = !0), ji.has(r) && (n = !0);
6889
6913
  return t && n ? "bidirectional" : t ? "source" : n ? "destination" : "unknown";
6890
6914
  }
6891
- async function Ni(e, t, n, r) {
6892
- return n.length > 0 ? (console.info(`ℹ️ Implements ${String(n.length)} operations:`), console.table(n)) : console.warn("⚠️ Implements no operations."), r === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports '${r ?? "unknown"}' usage.`), e.name != null && (t.id = e.name.replace("@dpuse/", "").replace("@dpuse/", "")), e.version != null && (t.version = e.version), t.operations = n, t.usageId = r ?? "unknown", await Ln("config.json", t), t;
6915
+ async function Bi(e, t, n, r) {
6916
+ return n.length > 0 ? (console.info(`ℹ️ Implements ${String(n.length)} operations:`), console.table(n)) : console.warn("⚠️ Implements no operations."), r === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports '${r ?? "unknown"}' usage.`), e.name != null && (t.id = e.name.replace("@dpuse/", "").replace("@dpuse/", "")), e.version != null && (t.version = e.version), t.operations = n, t.usageId = r ?? "unknown", await Rn("config.json", t), t;
6893
6917
  }
6894
- async function Pi() {
6918
+ async function Vi() {
6895
6919
  try {
6896
6920
  G("Publish Project");
6897
- let e = await W("package.json"), t = await W("config.json"), n = zn(t.id);
6898
- if (n.typeId === "app") q("1️⃣ Register module"), await di();
6899
- else if (n.typeId === "engine") q("1️⃣ Register module"), await mi(e, `dpuse-engine-eu/${n.uploadGroupName ?? "unknown"}`), await pi(t);
6921
+ let e = await W("package.json"), t = await W("config.json"), n = Bn(t.id);
6922
+ if (n.typeId === "app") q("1️⃣ Register module"), await vi();
6923
+ else if (n.typeId === "engine") q("1️⃣ Register module"), await xi(e, `dpuse-engine-eu/${n.uploadGroupName ?? "unknown"}`), await bi(t);
6900
6924
  else if (n.uploadGroupName === void 0) q("1️⃣ Publishing NOT required.");
6901
6925
  else {
6902
6926
  q("1️⃣ Register module");
6903
6927
  let r = t.id.split("-").slice(2).join("-");
6904
- await mi(e, `dpuse-engine-eu/${n.uploadGroupName}/${r}`), await pi(t);
6928
+ await xi(e, `dpuse-engine-eu/${n.uploadGroupName}/${r}`), await bi(t);
6905
6929
  }
6906
6930
  K(`Project version '${e.version ?? "unknown"}' published.`);
6907
6931
  } catch (e) {
6908
6932
  console.error("❌ Error publishing project.", e), process.exit(1);
6909
6933
  }
6910
6934
  }
6911
- async function Fi() {
6935
+ async function Hi() {
6912
6936
  try {
6913
6937
  G("Synchronise Project with GitHub");
6914
6938
  let e = await W("package.json"), t = await W("config.json");
6915
- switch (await Li("1️⃣ ", e), zn(t.id).typeId) {
6939
+ switch (await Wi("1️⃣ ", e), Bn(t.id).typeId) {
6916
6940
  case "connector":
6917
- await ki("2️⃣ ", e);
6941
+ await Ii("2️⃣ ", e);
6918
6942
  break;
6919
6943
  case "context":
6920
- await Ai("2️⃣ ", e);
6944
+ await Li("2️⃣ ", e);
6921
6945
  break;
6922
6946
  case "presenter":
6923
- await ji("2️⃣ ", e);
6947
+ await Ri("2️⃣ ", e);
6924
6948
  break;
6925
- default: await Oi("2️⃣ ", e);
6949
+ default: await Fi("2️⃣ ", e);
6926
6950
  }
6927
- await Mn("3️⃣ Stage changes", "git", ["add", "."]), await Mn("4️⃣ Commit changes", "git", [
6951
+ await Nn("3️⃣ Stage changes", "git", ["add", "."]), await Nn("4️⃣ Commit changes", "git", [
6928
6952
  "commit",
6929
6953
  "-m",
6930
6954
  `"v${e.version ?? "unknown"}"`
6931
- ]), await Mn("5️⃣ Push changes", "git", [
6955
+ ]), await Nn("5️⃣ Push changes", "git", [
6932
6956
  "push",
6933
6957
  "origin",
6934
6958
  "main:main"
@@ -6937,22 +6961,22 @@ async function Fi() {
6937
6961
  console.error("❌ Error synchronising project with GitHub.", e), process.exit(1);
6938
6962
  }
6939
6963
  }
6940
- function Ii() {
6964
+ function Ui() {
6941
6965
  try {
6942
6966
  G("Test Project"), console.error("\n❌ No tests implemented.\n");
6943
6967
  } catch (e) {
6944
6968
  console.error("❌ Error testing project.", e), process.exit(1);
6945
6969
  }
6946
6970
  }
6947
- async function Li(e, t, n = "./") {
6971
+ async function Wi(e, t, n = "./") {
6948
6972
  if (q(`${e} Bump project version`), t.version == null) t.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${t.version}'.`);
6949
6973
  else {
6950
6974
  let e = t.version, n = t.version.split(".");
6951
6975
  t.version = `${n[0] ?? "unknown"}.${n[1] ?? "unknown"}.${String(Number(n[2]) + 1)}`, console.info(`Project version bumped from '${e}' to '${t.version}'.`);
6952
6976
  }
6953
- await Ln(`${n}package.json`, t);
6977
+ await Rn(`${n}package.json`, t);
6954
6978
  }
6955
6979
  //#endregion
6956
- export { Wn as auditDependencies, Ei as buildProject, Gn as checkConfigFiles, qn as checkDependencies, $n as documentBundleSizes, pr as documentDependencies, ci as documentOperations, li as formatCode, ui as lintCode, Pi as publishProject, Di as releaseProject, Fi as syncProjectWithGitHub, Ii as testProject, fi as uploadDirectoryToR2 };
6980
+ export { Gn as auditDependencies, Ni as buildProject, Kn as checkConfigFiles, Jn as checkDependencies, ar as documentBundleSizes, br as documentDependencies, hi as documentOperations, gi as formatCode, _i as lintCode, Vi as publishProject, Pi as releaseProject, Hi as syncProjectWithGitHub, Ui as testProject, yi as uploadDirectoryToR2 };
6957
6981
 
6958
6982
  //# sourceMappingURL=dpuse-development.es.js.map