@dpuse/dpuse-development 0.3.600 → 0.3.602

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,38 +4,39 @@ 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
  import { brotliCompress as s, gzip as c } from "node:zlib";
7
+ import { init as l } from "license-checker-rseidelsohn";
7
8
  //#region \0rolldown/runtime.js
8
- var l = Object.defineProperty, u = /* @__PURE__ */ ((e, t) => {
9
+ var u = Object.defineProperty, d = /* @__PURE__ */ ((e, t) => {
9
10
  let n = {};
10
- for (var r in e) l(n, r, {
11
+ for (var r in e) u(n, r, {
11
12
  get: e[r],
12
13
  enumerable: !0
13
14
  });
14
- return t || l(n, Symbol.toStringTag, { value: "Module" }), n;
15
+ return t || u(n, Symbol.toStringTag, { value: "Module" }), n;
15
16
  })({
16
- Node: () => ot,
17
+ Node: () => st,
17
18
  Parser: () => k,
18
- Position: () => _e,
19
- SourceLocation: () => ve,
19
+ Position: () => ve,
20
+ SourceLocation: () => ye,
20
21
  TokContext: () => P,
21
- Token: () => Yt,
22
+ Token: () => Xt,
22
23
  TokenType: () => x,
23
- defaultOptions: () => be,
24
- getLineInfo: () => ye,
24
+ defaultOptions: () => xe,
25
+ getLineInfo: () => be,
25
26
  isIdentifierChar: () => b,
26
27
  isIdentifierStart: () => y,
27
- isNewLine: () => ae,
28
- keywordTypes: () => re,
28
+ isNewLine: () => oe,
29
+ keywordTypes: () => ie,
29
30
  lineBreak: () => D,
30
- lineBreakG: () => ie,
31
- nonASCIIwhitespace: () => se,
32
- parse: () => en,
33
- parseExpressionAt: () => tn,
31
+ lineBreakG: () => ae,
32
+ nonASCIIwhitespace: () => ce,
33
+ parse: () => tn,
34
+ parseExpressionAt: () => nn,
34
35
  tokContexts: () => F,
35
36
  tokTypes: () => E,
36
- tokenizer: () => nn,
37
- version: () => $t
38
- }), d = [
37
+ tokenizer: () => rn,
38
+ version: () => en
39
+ }), f = [
39
40
  509,
40
41
  0,
41
42
  227,
@@ -366,7 +367,7 @@ var l = Object.defineProperty, u = /* @__PURE__ */ ((e, t) => {
366
367
  9,
367
368
  787719,
368
369
  239
369
- ], f = [
370
+ ], p = [
370
371
  0,
371
372
  11,
372
373
  2,
@@ -985,18 +986,18 @@ var l = Object.defineProperty, u = /* @__PURE__ */ ((e, t) => {
985
986
  4938,
986
987
  6,
987
988
  8489
988
- ], p = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", m = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", h = {
989
+ ], m = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", h = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", g = {
989
990
  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",
990
991
  5: "class enum extends super const export import",
991
992
  6: "enum",
992
993
  strict: "implements interface let package private protected public static yield",
993
994
  strictBind: "eval arguments"
994
- }, g = "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", _ = {
995
- 5: g,
996
- "5module": g + " export import",
997
- 6: g + " const class extends export import super"
998
- }, ee = /^in(stanceof)?$/, te = RegExp("[" + m + "]"), v = RegExp("[" + m + p + "]");
999
- function ne(e, t) {
995
+ }, _ = "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", ee = {
996
+ 5: _,
997
+ "5module": _ + " export import",
998
+ 6: _ + " const class extends export import super"
999
+ }, te = /^in(stanceof)?$/, v = RegExp("[" + h + "]"), ne = RegExp("[" + h + m + "]");
1000
+ function re(e, t) {
1000
1001
  for (var n = 65536, r = 0; r < t.length; r += 2) {
1001
1002
  if (n += t[r], n > e) return !1;
1002
1003
  if (n += t[r + 1], n >= e) return !0;
@@ -1004,10 +1005,10 @@ function ne(e, t) {
1004
1005
  return !1;
1005
1006
  }
1006
1007
  function y(e, t) {
1007
- return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && te.test(String.fromCharCode(e)) : t === !1 ? !1 : ne(e, f);
1008
+ return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && v.test(String.fromCharCode(e)) : t === !1 ? !1 : re(e, p);
1008
1009
  }
1009
1010
  function b(e, t) {
1010
- 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 && v.test(String.fromCharCode(e)) : t === !1 ? !1 : ne(e, f) || ne(e, d);
1011
+ 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 && ne.test(String.fromCharCode(e)) : t === !1 ? !1 : re(e, p) || re(e, f);
1011
1012
  }
1012
1013
  var x = function(e, t) {
1013
1014
  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;
@@ -1018,9 +1019,9 @@ function S(e, t) {
1018
1019
  binop: t
1019
1020
  });
1020
1021
  }
1021
- var C = { beforeExpr: !0 }, w = { startsExpr: !0 }, re = {};
1022
+ var C = { beforeExpr: !0 }, w = { startsExpr: !0 }, ie = {};
1022
1023
  function T(e, t) {
1023
- return t === void 0 && (t = {}), t.keyword = e, re[e] = new x(e, t);
1024
+ return t === void 0 && (t = {}), t.keyword = e, ie[e] = new x(e, t);
1024
1025
  }
1025
1026
  var E = {
1026
1027
  num: new x("num", w),
@@ -1155,46 +1156,46 @@ var E = {
1155
1156
  prefix: !0,
1156
1157
  startsExpr: !0
1157
1158
  })
1158
- }, D = /\r\n?|\n|\u2028|\u2029/, ie = new RegExp(D.source, "g");
1159
- function ae(e) {
1159
+ }, D = /\r\n?|\n|\u2028|\u2029/, ae = new RegExp(D.source, "g");
1160
+ function oe(e) {
1160
1161
  return e === 10 || e === 13 || e === 8232 || e === 8233;
1161
1162
  }
1162
- function oe(e, t, n) {
1163
+ function se(e, t, n) {
1163
1164
  n === void 0 && (n = e.length);
1164
1165
  for (var r = t; r < n; r++) {
1165
1166
  var i = e.charCodeAt(r);
1166
- if (ae(i)) return r < n - 1 && i === 13 && e.charCodeAt(r + 1) === 10 ? r + 2 : r + 1;
1167
+ if (oe(i)) return r < n - 1 && i === 13 && e.charCodeAt(r + 1) === 10 ? r + 2 : r + 1;
1167
1168
  }
1168
1169
  return -1;
1169
1170
  }
1170
- var se = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, O = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ce = Object.prototype, le = ce.hasOwnProperty, ue = ce.toString, de = Object.hasOwn || (function(e, t) {
1171
- return le.call(e, t);
1172
- }), fe = Array.isArray || (function(e) {
1173
- return ue.call(e) === "[object Array]";
1174
- }), pe = Object.create(null);
1175
- function me(e) {
1176
- return pe[e] || (pe[e] = RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
1177
- }
1171
+ var ce = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, O = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, le = Object.prototype, ue = le.hasOwnProperty, de = le.toString, fe = Object.hasOwn || (function(e, t) {
1172
+ return ue.call(e, t);
1173
+ }), pe = Array.isArray || (function(e) {
1174
+ return de.call(e) === "[object Array]";
1175
+ }), me = Object.create(null);
1178
1176
  function he(e) {
1177
+ return me[e] || (me[e] = RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
1178
+ }
1179
+ function ge(e) {
1179
1180
  return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10) + 55296, (e & 1023) + 56320));
1180
1181
  }
1181
- var ge = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, _e = function(e, t) {
1182
+ var _e = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, ve = function(e, t) {
1182
1183
  this.line = e, this.column = t;
1183
1184
  };
1184
- _e.prototype.offset = function(e) {
1185
- return new _e(this.line, this.column + e);
1185
+ ve.prototype.offset = function(e) {
1186
+ return new ve(this.line, this.column + e);
1186
1187
  };
1187
- var ve = function(e, t, n) {
1188
+ var ye = function(e, t, n) {
1188
1189
  this.start = t, this.end = n, e.sourceFile !== null && (this.source = e.sourceFile);
1189
1190
  };
1190
- function ye(e, t) {
1191
+ function be(e, t) {
1191
1192
  for (var n = 1, r = 0;;) {
1192
- var i = oe(e, r, t);
1193
- if (i < 0) return new _e(n, t - r);
1193
+ var i = se(e, r, t);
1194
+ if (i < 0) return new ve(n, t - r);
1194
1195
  ++n, r = i;
1195
1196
  }
1196
1197
  }
1197
- var be = {
1198
+ var xe = {
1198
1199
  ecmaVersion: null,
1199
1200
  sourceType: "script",
1200
1201
  strict: !1,
@@ -1215,20 +1216,20 @@ var be = {
1215
1216
  sourceFile: null,
1216
1217
  directSourceFile: null,
1217
1218
  preserveParens: !1
1218
- }, xe = !1;
1219
- function Se(e) {
1219
+ }, Se = !1;
1220
+ function Ce(e) {
1220
1221
  var t = {};
1221
- for (var n in be) t[n] = e && de(e, n) ? e[n] : be[n];
1222
- if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!xe && typeof console == "object" && console.warn && (xe = !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), fe(t.onToken)) {
1222
+ for (var n in xe) t[n] = e && fe(e, n) ? e[n] : xe[n];
1223
+ if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!Se && typeof console == "object" && console.warn && (Se = !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), pe(t.onToken)) {
1223
1224
  var r = t.onToken;
1224
1225
  t.onToken = function(e) {
1225
1226
  return r.push(e);
1226
1227
  };
1227
1228
  }
1228
- if (fe(t.onComment) && (t.onComment = Ce(t, t.onComment)), t.sourceType === "commonjs" && t.allowAwaitOutsideFunction) throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
1229
+ if (pe(t.onComment) && (t.onComment = we(t, t.onComment)), t.sourceType === "commonjs" && t.allowAwaitOutsideFunction) throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
1229
1230
  return t;
1230
1231
  }
1231
- function Ce(e, t) {
1232
+ function we(e, t) {
1232
1233
  return function(n, r, i, a, o, s) {
1233
1234
  var c = {
1234
1235
  type: n ? "Block" : "Line",
@@ -1236,19 +1237,19 @@ function Ce(e, t) {
1236
1237
  start: i,
1237
1238
  end: a
1238
1239
  };
1239
- e.locations && (c.loc = new ve(this, o, s)), e.ranges && (c.range = [i, a]), t.push(c);
1240
+ e.locations && (c.loc = new ye(this, o, s)), e.ranges && (c.range = [i, a]), t.push(c);
1240
1241
  };
1241
1242
  }
1242
- var we = 1, Te = 2, Ee = 4, De = 8, Oe = 16, ke = 32, Ae = 64, je = 128, Me = 256, Ne = 512, Pe = 1024, Fe = we | Te | Me;
1243
- function Ie(e, t) {
1244
- return Te | (e ? Ee : 0) | (t ? De : 0);
1243
+ var Te = 1, Ee = 2, De = 4, Oe = 8, ke = 16, Ae = 32, je = 64, Me = 128, Ne = 256, Pe = 512, Fe = 1024, Ie = Te | Ee | Ne;
1244
+ function Le(e, t) {
1245
+ return Ee | (e ? De : 0) | (t ? Oe : 0);
1245
1246
  }
1246
- var Le = 0, Re = 1, ze = 2, Be = 3, Ve = 4, He = 5, k = function(e, t, n) {
1247
- this.options = e = Se(e), this.sourceFile = e.sourceFile, this.keywords = me(_[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
1247
+ var Re = 0, ze = 1, Be = 2, Ve = 3, He = 4, Ue = 5, k = function(e, t, n) {
1248
+ this.options = e = Ce(e), this.sourceFile = e.sourceFile, this.keywords = he(ee[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
1248
1249
  var r = "";
1249
- e.allowReserved !== !0 && (r = h[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (r += " await")), this.reservedWords = me(r);
1250
- var i = (r ? r + " " : "") + h.strict;
1251
- this.reservedWordsStrict = me(i), this.reservedWordsStrictBind = me(i + " " + h.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" ? Te : we), this.regexpState = null, this.privateNameStack = [];
1250
+ e.allowReserved !== !0 && (r = g[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (r += " await")), this.reservedWords = he(r);
1251
+ var i = (r ? r + " " : "") + g.strict;
1252
+ this.reservedWordsStrict = he(i), this.reservedWordsStrictBind = he(i + " " + g.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" ? Ee : Te), this.regexpState = null, this.privateNameStack = [];
1252
1253
  }, A = {
1253
1254
  inFunction: { configurable: !0 },
1254
1255
  inGenerator: { configurable: !0 },
@@ -1268,37 +1269,37 @@ k.prototype.parse = function() {
1268
1269
  return e.parseTopLevel(t);
1269
1270
  });
1270
1271
  }, A.inFunction.get = function() {
1271
- return (this.currentVarScope().flags & Te) > 0;
1272
+ return (this.currentVarScope().flags & Ee) > 0;
1272
1273
  }, A.inGenerator.get = function() {
1273
- return (this.currentVarScope().flags & De) > 0;
1274
+ return (this.currentVarScope().flags & Oe) > 0;
1274
1275
  }, A.inAsync.get = function() {
1275
- return (this.currentVarScope().flags & Ee) > 0;
1276
+ return (this.currentVarScope().flags & De) > 0;
1276
1277
  }, A.canAwait.get = function() {
1277
1278
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1278
1279
  var t = this.scopeStack[e].flags;
1279
- if (t & (Me | Ne)) return !1;
1280
- if (t & Te) return (t & Ee) > 0;
1280
+ if (t & (Ne | Pe)) return !1;
1281
+ if (t & Ee) return (t & De) > 0;
1281
1282
  }
1282
1283
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
1283
1284
  }, A.allowReturn.get = function() {
1284
- return !!(this.inFunction || this.options.allowReturnOutsideFunction && this.currentVarScope().flags & we);
1285
+ return !!(this.inFunction || this.options.allowReturnOutsideFunction && this.currentVarScope().flags & Te);
1285
1286
  }, A.allowSuper.get = function() {
1286
- return (this.currentThisScope().flags & Ae) > 0 || this.options.allowSuperOutsideMethod;
1287
+ return (this.currentThisScope().flags & je) > 0 || this.options.allowSuperOutsideMethod;
1287
1288
  }, A.allowDirectSuper.get = function() {
1288
- return (this.currentThisScope().flags & je) > 0;
1289
+ return (this.currentThisScope().flags & Me) > 0;
1289
1290
  }, A.treatFunctionsAsVar.get = function() {
1290
1291
  return this.treatFunctionsAsVarInScope(this.currentScope());
1291
1292
  }, A.allowNewDotTarget.get = function() {
1292
1293
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1293
1294
  var t = this.scopeStack[e].flags;
1294
- if (t & (Me | Ne) || t & Te && !(t & Oe)) return !0;
1295
+ if (t & (Ne | Pe) || t & Ee && !(t & ke)) return !0;
1295
1296
  }
1296
1297
  return !1;
1297
1298
  }, A.allowUsing.get = function() {
1298
1299
  var e = this.currentScope().flags;
1299
- return !(e & Pe || !this.inModule && e & we);
1300
+ return !(e & Fe || !this.inModule && e & Te);
1300
1301
  }, A.inClassStaticBlock.get = function() {
1301
- return (this.currentVarScope().flags & Me) > 0;
1302
+ return (this.currentVarScope().flags & Ne) > 0;
1302
1303
  }, k.extend = function() {
1303
1304
  for (var e = [], t = arguments.length; t--;) e[t] = arguments[t];
1304
1305
  for (var n = this, r = 0; r < e.length; r++) n = e[r](n);
@@ -1311,12 +1312,12 @@ k.prototype.parse = function() {
1311
1312
  }, k.tokenizer = function(e, t) {
1312
1313
  return new this(t, e);
1313
1314
  }, Object.defineProperties(k.prototype, A);
1314
- var j = k.prototype, Ue = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
1315
+ var j = k.prototype, We = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
1315
1316
  j.strictDirective = function(e) {
1316
1317
  if (this.options.ecmaVersion < 5) return !1;
1317
1318
  for (;;) {
1318
1319
  O.lastIndex = e, e += O.exec(this.input)[0].length;
1319
- var t = Ue.exec(this.input.slice(e));
1320
+ var t = We.exec(this.input.slice(e));
1320
1321
  if (!t) return !1;
1321
1322
  if ((t[1] || t[2]) === "use strict") {
1322
1323
  O.lastIndex = e + t[0].length;
@@ -1353,7 +1354,7 @@ j.strictDirective = function(e) {
1353
1354
  }, j.unexpected = function(e) {
1354
1355
  this.raise(e ?? this.start, "Unexpected token");
1355
1356
  };
1356
- var We = function() {
1357
+ var Ge = function() {
1357
1358
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
1358
1359
  };
1359
1360
  j.checkPatternErrors = function(e, t) {
@@ -1385,7 +1386,7 @@ M.parseTopLevel = function(e) {
1385
1386
  }
1386
1387
  return this.adaptDirectivePrologue(e.body), this.next(), e.sourceType = this.options.sourceType === "commonjs" ? "script" : this.options.sourceType, this.finishNode(e, "Program");
1387
1388
  };
1388
- var Ge = { kind: "loop" }, Ke = { kind: "switch" };
1389
+ var Ke = { kind: "loop" }, qe = { kind: "switch" };
1389
1390
  M.isLet = function(e) {
1390
1391
  if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return !1;
1391
1392
  O.lastIndex = this.pos;
@@ -1400,7 +1401,7 @@ M.isLet = function(e) {
1400
1401
  while (b(r = this.fullCharCodeAt(n)));
1401
1402
  if (r === 92) return !0;
1402
1403
  var a = this.input.slice(i, n);
1403
- if (!ee.test(a)) return !0;
1404
+ if (!te.test(a)) return !0;
1404
1405
  }
1405
1406
  return !1;
1406
1407
  }, M.isAsyncFunction = function() {
@@ -1428,7 +1429,7 @@ M.isLet = function(e) {
1428
1429
  while (b(s = this.fullCharCodeAt(r)));
1429
1430
  if (s === 92) return !0;
1430
1431
  var l = this.input.slice(c, r);
1431
- if (ee.test(l)) return !1;
1432
+ if (te.test(l)) return !1;
1432
1433
  if (t && !e && l === "of") {
1433
1434
  O.lastIndex = r;
1434
1435
  var u = O.exec(this.input);
@@ -1486,11 +1487,11 @@ M.isLet = function(e) {
1486
1487
  }, M.parseDebuggerStatement = function(e) {
1487
1488
  return this.next(), this.semicolon(), this.finishNode(e, "DebuggerStatement");
1488
1489
  }, M.parseDoStatement = function(e) {
1489
- return this.next(), this.labels.push(Ge), 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");
1490
+ return this.next(), this.labels.push(Ke), 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");
1490
1491
  }, M.parseForStatement = function(e) {
1491
1492
  this.next();
1492
1493
  var t = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
1493
- if (this.labels.push(Ge), this.enterScope(0), this.expect(E.parenL), this.type === E.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
1494
+ if (this.labels.push(Ke), this.enterScope(0), this.expect(E.parenL), this.type === E.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
1494
1495
  var n = this.isLet();
1495
1496
  if (this.type === E._var || this.type === E._const || n) {
1496
1497
  var r = this.startNode(), i = n ? "let" : this.value;
@@ -1501,18 +1502,18 @@ M.isLet = function(e) {
1501
1502
  var c = this.startNode();
1502
1503
  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);
1503
1504
  }
1504
- var l = this.containsEsc, u = new We(), d = this.start, f = t > -1 ? this.parseExprSubscripts(u, "await") : this.parseExpression(!0, u);
1505
+ var l = this.containsEsc, u = new Ge(), d = this.start, f = t > -1 ? this.parseExprSubscripts(u, "await") : this.parseExpression(!0, u);
1505
1506
  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));
1506
1507
  }, M.parseForAfterInit = function(e, t, n) {
1507
1508
  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));
1508
1509
  }, M.parseFunctionStatement = function(e, t, n) {
1509
- return this.next(), this.parseFunction(e, Je | (n ? 0 : Ye), !1, t);
1510
+ return this.next(), this.parseFunction(e, Ye | (n ? 0 : Xe), !1, t);
1510
1511
  }, M.parseIfStatement = function(e) {
1511
1512
  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");
1512
1513
  }, M.parseReturnStatement = function(e) {
1513
1514
  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");
1514
1515
  }, M.parseSwitchStatement = function(e) {
1515
- this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(E.braceL), this.labels.push(Ke), this.enterScope(Pe);
1516
+ this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(E.braceL), this.labels.push(qe), this.enterScope(Fe);
1516
1517
  for (var t, n = !1; this.type !== E.braceR;) if (this.type === E._case || this.type === E._default) {
1517
1518
  var r = this.type === E._case;
1518
1519
  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);
@@ -1521,10 +1522,10 @@ M.isLet = function(e) {
1521
1522
  }, M.parseThrowStatement = function(e) {
1522
1523
  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");
1523
1524
  };
1524
- var qe = [];
1525
+ var Je = [];
1525
1526
  M.parseCatchClauseParam = function() {
1526
1527
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
1527
- return this.enterScope(t ? ke : 0), this.checkLValPattern(e, t ? Ve : ze), this.expect(E.parenR), e;
1528
+ return this.enterScope(t ? Ae : 0), this.checkLValPattern(e, t ? He : Be), this.expect(E.parenR), e;
1528
1529
  }, M.parseTryStatement = function(e) {
1529
1530
  if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === E._catch) {
1530
1531
  var t = this.startNode();
@@ -1534,7 +1535,7 @@ M.parseCatchClauseParam = function() {
1534
1535
  }, M.parseVarStatement = function(e, t, n) {
1535
1536
  return this.next(), this.parseVar(e, !1, t, n), this.semicolon(), this.finishNode(e, "VariableDeclaration");
1536
1537
  }, M.parseWhileStatement = function(e) {
1537
- return this.next(), e.test = this.parseParenExpression(), this.labels.push(Ge), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
1538
+ return this.next(), e.test = this.parseParenExpression(), this.labels.push(Ke), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
1538
1539
  }, M.parseWithStatement = function(e) {
1539
1540
  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");
1540
1541
  }, M.parseEmptyStatement = function(e) {
@@ -1571,13 +1572,13 @@ M.parseCatchClauseParam = function() {
1571
1572
  }
1572
1573
  return e;
1573
1574
  }, M.parseVarId = function(e, t) {
1574
- e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Re : ze, !1);
1575
+ e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? ze : Be, !1);
1575
1576
  };
1576
- var Je = 1, Ye = 2, Xe = 4;
1577
+ var Ye = 1, Xe = 2, Ze = 4;
1577
1578
  M.parseFunction = function(e, t, n, r, i) {
1578
- this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === E.star && t & Ye && this.unexpected(), e.generator = this.eat(E.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & Je && (e.id = t & Xe && this.type !== E.name ? null : this.parseIdent(), e.id && !(t & Ye) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Re : ze : Be));
1579
+ this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === E.star && t & Xe && this.unexpected(), e.generator = this.eat(E.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & Ye && (e.id = t & Ze && this.type !== E.name ? null : this.parseIdent(), e.id && !(t & Xe) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? ze : Be : Ve));
1579
1580
  var a = this.yieldPos, o = this.awaitPos, s = this.awaitIdentPos;
1580
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ie(e.async, e.generator)), t & Je || (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 & Je ? "FunctionDeclaration" : "FunctionExpression");
1581
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Le(e.async, e.generator)), t & Ye || (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 & Ye ? "FunctionDeclaration" : "FunctionExpression");
1581
1582
  }, M.parseFunctionParams = function(e) {
1582
1583
  this.expect(E.parenL), e.params = this.parseBindingList(E.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
1583
1584
  }, M.parseClass = function(e, t) {
@@ -1587,7 +1588,7 @@ M.parseFunction = function(e, t, n, r, i) {
1587
1588
  var r = this.enterClassBody(), i = this.startNode(), a = !1;
1588
1589
  for (i.body = [], this.expect(E.braceL); this.type !== E.braceR;) {
1589
1590
  var o = this.parseClassElement(e.superClass !== null);
1590
- 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" && Ze(r, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
1591
+ 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" && Qe(r, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
1591
1592
  }
1592
1593
  return this.strict = n, this.next(), e.body = this.finishNode(i, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclaration" : "ClassExpression");
1593
1594
  }, M.parseClassElement = function(e) {
@@ -1602,7 +1603,7 @@ M.parseFunction = function(e, t, n, r, i) {
1602
1603
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? o = c : r = c);
1603
1604
  }
1604
1605
  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) {
1605
- var l = !n.static && Qe(n, "constructor"), u = l && e;
1606
+ var l = !n.static && $e(n, "constructor"), u = l && e;
1606
1607
  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);
1607
1608
  } else this.parseClassField(n);
1608
1609
  return n;
@@ -1612,21 +1613,21 @@ M.parseFunction = function(e, t, n, r, i) {
1612
1613
  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);
1613
1614
  }, M.parseClassMethod = function(e, t, n, r) {
1614
1615
  var i = e.key;
1615
- 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 && Qe(e, "prototype") && this.raise(i.start, "Classes may not have a static property named prototype");
1616
+ 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 && $e(e, "prototype") && this.raise(i.start, "Classes may not have a static property named prototype");
1616
1617
  var a = e.value = this.parseMethod(t, n, r);
1617
1618
  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");
1618
1619
  }, M.parseClassField = function(e) {
1619
- return Qe(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && Qe(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(E.eq) ? (this.enterScope(Ne | Ae), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
1620
+ return $e(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && $e(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(E.eq) ? (this.enterScope(Pe | je), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
1620
1621
  }, M.parseClassStaticBlock = function(e) {
1621
1622
  e.body = [];
1622
1623
  var t = this.labels;
1623
- for (this.labels = [], this.enterScope(Me | Ae); this.type !== E.braceR;) {
1624
+ for (this.labels = [], this.enterScope(Ne | je); this.type !== E.braceR;) {
1624
1625
  var n = this.parseStatement(null);
1625
1626
  e.body.push(n);
1626
1627
  }
1627
1628
  return this.next(), this.exitScope(), this.labels = t, this.finishNode(e, "StaticBlock");
1628
1629
  }, M.parseClassId = function(e, t) {
1629
- this.type === E.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, ze, !1)) : (t === !0 && this.unexpected(), e.id = null);
1630
+ this.type === E.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, Be, !1)) : (t === !0 && this.unexpected(), e.id = null);
1630
1631
  }, M.parseClassSuper = function(e) {
1631
1632
  e.superClass = this.eat(E._extends) ? this.parseExprSubscripts(null, !1) : null;
1632
1633
  }, M.enterClassBody = function() {
@@ -1639,14 +1640,14 @@ M.parseFunction = function(e, t, n, r, i) {
1639
1640
  var e = this.privateNameStack.pop(), t = e.declared, n = e.used;
1640
1641
  if (this.options.checkPrivateFields) for (var r = this.privateNameStack.length, i = r === 0 ? null : this.privateNameStack[r - 1], a = 0; a < n.length; ++a) {
1641
1642
  var o = n[a];
1642
- de(t, o.name) || (i ? i.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
1643
+ fe(t, o.name) || (i ? i.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
1643
1644
  }
1644
1645
  };
1645
- function Ze(e, t) {
1646
+ function Qe(e, t) {
1646
1647
  var n = t.key.name, r = e[n], i = "true";
1647
1648
  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);
1648
1649
  }
1649
- function Qe(e, t) {
1650
+ function $e(e, t) {
1650
1651
  var n = e.computed, r = e.key;
1651
1652
  return !n && (r.type === "Identifier" && r.name === t || r.type === "Literal" && r.value === t);
1652
1653
  }
@@ -1674,7 +1675,7 @@ M.parseExportAllDeclaration = function(e, t) {
1674
1675
  var e;
1675
1676
  if (this.type === E._function || (e = this.isAsyncFunction())) {
1676
1677
  var t = this.startNode();
1677
- return this.next(), e && this.next(), this.parseFunction(t, Je | Xe, !1, e);
1678
+ return this.next(), e && this.next(), this.parseFunction(t, Ye | Ze, !1, e);
1678
1679
  } else if (this.type === E._class) {
1679
1680
  var n = this.startNode();
1680
1681
  return this.parseClass(n, "nullableID");
@@ -1683,7 +1684,7 @@ M.parseExportAllDeclaration = function(e, t) {
1683
1684
  return this.semicolon(), r;
1684
1685
  }
1685
1686
  }, M.checkExport = function(e, t, n) {
1686
- e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), de(e, t) && this.raiseRecoverable(n, "Duplicate export '" + t + "'"), e[t] = !0);
1687
+ e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), fe(e, t) && this.raiseRecoverable(n, "Duplicate export '" + t + "'"), e[t] = !0);
1687
1688
  }, M.checkPatternExport = function(e, t) {
1688
1689
  var n = t.type;
1689
1690
  if (n === "Identifier") this.checkExport(e, t, t.start);
@@ -1715,16 +1716,16 @@ M.parseExportAllDeclaration = function(e, t) {
1715
1716
  }
1716
1717
  return t;
1717
1718
  }, M.parseImport = function(e) {
1718
- return this.next(), this.type === E.string ? (e.specifiers = qe, 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");
1719
+ return this.next(), this.type === E.string ? (e.specifiers = Je, 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");
1719
1720
  }, M.parseImportSpecifier = function() {
1720
1721
  var e = this.startNode();
1721
- return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, ze), this.finishNode(e, "ImportSpecifier");
1722
+ return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, Be), this.finishNode(e, "ImportSpecifier");
1722
1723
  }, M.parseImportDefaultSpecifier = function() {
1723
1724
  var e = this.startNode();
1724
- return e.local = this.parseIdent(), this.checkLValSimple(e.local, ze), this.finishNode(e, "ImportDefaultSpecifier");
1725
+ return e.local = this.parseIdent(), this.checkLValSimple(e.local, Be), this.finishNode(e, "ImportDefaultSpecifier");
1725
1726
  }, M.parseImportNamespaceSpecifier = function() {
1726
1727
  var e = this.startNode();
1727
- return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, ze), this.finishNode(e, "ImportNamespaceSpecifier");
1728
+ return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, Be), this.finishNode(e, "ImportNamespaceSpecifier");
1728
1729
  }, M.parseImportSpecifiers = function() {
1729
1730
  var e = [], t = !0;
1730
1731
  if (this.type === E.name && (e.push(this.parseImportDefaultSpecifier()), !this.eat(E.comma))) return e;
@@ -1743,7 +1744,7 @@ M.parseExportAllDeclaration = function(e, t) {
1743
1744
  if (n) n = !1;
1744
1745
  else if (this.expect(E.comma), this.afterTrailingComma(E.braceR)) break;
1745
1746
  var r = this.parseImportAttribute(), i = r.key.type === "Identifier" ? r.key.name : r.key.value;
1746
- de(t, i) && this.raiseRecoverable(r.key.start, "Duplicate attribute key '" + i + "'"), t[i] = !0, e.push(r);
1747
+ fe(t, i) && this.raiseRecoverable(r.key.start, "Duplicate attribute key '" + i + "'"), t[i] = !0, e.push(r);
1747
1748
  }
1748
1749
  return e;
1749
1750
  }, M.parseImportAttribute = function() {
@@ -1752,7 +1753,7 @@ M.parseExportAllDeclaration = function(e, t) {
1752
1753
  }, M.parseModuleExportName = function() {
1753
1754
  if (this.options.ecmaVersion >= 13 && this.type === E.string) {
1754
1755
  var e = this.parseLiteral(this.value);
1755
- return ge.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
1756
+ return _e.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
1756
1757
  }
1757
1758
  return this.parseIdent(!0);
1758
1759
  }, M.adaptDirectivePrologue = function(e) {
@@ -1843,11 +1844,11 @@ N.toAssignable = function(e, t, n) {
1843
1844
  var r = this.startNodeAt(e, t);
1844
1845
  return r.left = n, r.right = this.parseMaybeAssign(), this.finishNode(r, "AssignmentPattern");
1845
1846
  }, N.checkLValSimple = function(e, t, n) {
1846
- t === void 0 && (t = Le);
1847
- var r = t !== Le;
1847
+ t === void 0 && (t = Re);
1848
+ var r = t !== Re;
1848
1849
  switch (e.type) {
1849
1850
  case "Identifier":
1850
- this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === ze && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), n && (de(n, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), n[e.name] = !0), t !== He && this.declareName(e.name, t, e.start));
1851
+ this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === Be && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), n && (fe(n, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), n[e.name] = !0), t !== Ue && this.declareName(e.name, t, e.start));
1851
1852
  break;
1852
1853
  case "ChainExpression":
1853
1854
  this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
@@ -1859,7 +1860,7 @@ N.toAssignable = function(e, t, n) {
1859
1860
  default: this.raise(e.start, (r ? "Binding" : "Assigning to") + " rvalue");
1860
1861
  }
1861
1862
  }, N.checkLValPattern = function(e, t, n) {
1862
- switch (t === void 0 && (t = Le), e.type) {
1863
+ switch (t === void 0 && (t = Re), e.type) {
1863
1864
  case "ObjectPattern":
1864
1865
  for (var r = 0, i = e.properties; r < i.length; r += 1) {
1865
1866
  var a = i[r];
@@ -1875,7 +1876,7 @@ N.toAssignable = function(e, t, n) {
1875
1876
  default: this.checkLValSimple(e, t, n);
1876
1877
  }
1877
1878
  }, N.checkLValInnerPattern = function(e, t, n) {
1878
- switch (t === void 0 && (t = Le), e.type) {
1879
+ switch (t === void 0 && (t = Re), e.type) {
1879
1880
  case "Property":
1880
1881
  this.checkLValInnerPattern(e.value, t, n);
1881
1882
  break;
@@ -1903,24 +1904,24 @@ var P = function(e, t, n, r, i) {
1903
1904
  f_expr: new P("function", !0),
1904
1905
  f_expr_gen: new P("function", !0, !1, null, !0),
1905
1906
  f_gen: new P("function", !1, !1, null, !0)
1906
- }, $e = k.prototype;
1907
- $e.initialContext = function() {
1907
+ }, et = k.prototype;
1908
+ et.initialContext = function() {
1908
1909
  return [F.b_stat];
1909
- }, $e.curContext = function() {
1910
+ }, et.curContext = function() {
1910
1911
  return this.context[this.context.length - 1];
1911
- }, $e.braceIsBlock = function(e) {
1912
+ }, et.braceIsBlock = function(e) {
1912
1913
  var t = this.curContext();
1913
1914
  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;
1914
- }, $e.inGeneratorContext = function() {
1915
+ }, et.inGeneratorContext = function() {
1915
1916
  for (var e = this.context.length - 1; e >= 1; e--) {
1916
1917
  var t = this.context[e];
1917
1918
  if (t.token === "function") return t.generator;
1918
1919
  }
1919
1920
  return !1;
1920
- }, $e.updateContext = function(e) {
1921
+ }, et.updateContext = function(e) {
1921
1922
  var t, n = this.type;
1922
1923
  n.keyword && e === E.dot ? this.exprAllowed = !1 : (t = n.updateContext) ? t.call(this, e) : this.exprAllowed = n.beforeExpr;
1923
- }, $e.overrideContext = function(e) {
1924
+ }, et.overrideContext = function(e) {
1924
1925
  this.curContext() !== e && (this.context[this.context.length - 1] = e);
1925
1926
  }, E.parenR.updateContext = E.braceR.updateContext = function() {
1926
1927
  if (this.context.length === 1) {
@@ -1995,7 +1996,7 @@ I.checkPropClash = function(e, t, n) {
1995
1996
  this.exprAllowed = !1;
1996
1997
  }
1997
1998
  var r = !1, i = -1, a = -1, o = -1;
1998
- t ? (i = t.parenthesizedAssign, a = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new We(), r = !0);
1999
+ t ? (i = t.parenthesizedAssign, a = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Ge(), r = !0);
1999
2000
  var s = this.start, c = this.startLoc;
2000
2001
  (this.type === E.parenL || this.type === E.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
2001
2002
  var l = this.parseMaybeConditional(e, t);
@@ -2035,7 +2036,7 @@ I.checkPropClash = function(e, t, n) {
2035
2036
  if (this.isContextual("await") && this.canAwait) o = this.parseAwait(r), t = !0;
2036
2037
  else if (this.type.prefix) {
2037
2038
  var s = this.startNode(), c = this.type === E.incDec;
2038
- 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" && et(s.argument) ? this.raiseRecoverable(s.start, "Deleting local variable in strict mode") : s.operator === "delete" && tt(s.argument) ? this.raiseRecoverable(s.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(s, c ? "UpdateExpression" : "UnaryExpression");
2039
+ 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" && tt(s.argument) ? this.raiseRecoverable(s.start, "Deleting local variable in strict mode") : s.operator === "delete" && nt(s.argument) ? this.raiseRecoverable(s.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(s, c ? "UpdateExpression" : "UnaryExpression");
2039
2040
  } 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();
2040
2041
  else {
2041
2042
  if (o = this.parseExprSubscripts(e, r), this.checkExpressionErrors(e)) return o;
@@ -2048,11 +2049,11 @@ I.checkPropClash = function(e, t, n) {
2048
2049
  else return this.buildBinary(i, a, o, this.parseMaybeUnary(null, !1, !1, r), "**", !1);
2049
2050
  else return o;
2050
2051
  };
2051
- function et(e) {
2052
- return e.type === "Identifier" || e.type === "ParenthesizedExpression" && et(e.expression);
2053
- }
2054
2052
  function tt(e) {
2055
- return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && tt(e.expression) || e.type === "ParenthesizedExpression" && tt(e.expression);
2053
+ return e.type === "Identifier" || e.type === "ParenthesizedExpression" && tt(e.expression);
2054
+ }
2055
+ function nt(e) {
2056
+ return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && nt(e.expression) || e.type === "ParenthesizedExpression" && nt(e.expression);
2056
2057
  }
2057
2058
  I.parseExprSubscripts = function(e, t) {
2058
2059
  var n = this.start, r = this.startLoc, i = this.parseExprAtom(e, t);
@@ -2083,7 +2084,7 @@ I.parseExprSubscripts = function(e, t) {
2083
2084
  var u = this.startNodeAt(t, n);
2084
2085
  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");
2085
2086
  } else if (!r && this.eat(E.parenL)) {
2086
- var d = new We(), f = this.yieldPos, p = this.awaitPos, m = this.awaitIdentPos;
2087
+ var d = new Ge(), f = this.yieldPos, p = this.awaitPos, m = this.awaitIdentPos;
2087
2088
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
2088
2089
  var h = this.parseExprList(E.parenR, this.options.ecmaVersion >= 8, !1, d);
2089
2090
  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);
@@ -2166,7 +2167,7 @@ I.parseExprSubscripts = function(e, t) {
2166
2167
  var n = this.start, r = this.startLoc, i, a = this.options.ecmaVersion >= 8;
2167
2168
  if (this.options.ecmaVersion >= 6) {
2168
2169
  this.next();
2169
- var o = this.start, s = this.startLoc, c = [], l = !0, u = !1, d = new We(), f = this.yieldPos, p = this.awaitPos, m;
2170
+ var o = this.start, s = this.startLoc, c = [], l = !0, u = !1, d = new Ge(), f = this.yieldPos, p = this.awaitPos, m;
2170
2171
  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)) {
2171
2172
  u = !0;
2172
2173
  break;
@@ -2187,7 +2188,7 @@ I.parseExprSubscripts = function(e, t) {
2187
2188
  }, I.parseParenArrowList = function(e, t, n, r) {
2188
2189
  return this.parseArrowExpression(this.startNodeAt(e, t), n, !1, r);
2189
2190
  };
2190
- var nt = [];
2191
+ var rt = [];
2191
2192
  I.parseNew = function() {
2192
2193
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
2193
2194
  var e = this.startNode();
@@ -2198,7 +2199,7 @@ I.parseNew = function() {
2198
2199
  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");
2199
2200
  }
2200
2201
  var r = this.start, i = this.startLoc;
2201
- 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 = nt, this.finishNode(e, "NewExpression");
2202
+ 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 = rt, this.finishNode(e, "NewExpression");
2202
2203
  }, I.parseTemplateElement = function(e) {
2203
2204
  var t = e.isTagged, n = this.startNode();
2204
2205
  return this.type === E.invalidTemplate ? (t || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), n.value = {
@@ -2254,10 +2255,10 @@ I.parseNew = function() {
2254
2255
  e.id = null, this.options.ecmaVersion >= 6 && (e.generator = e.expression = !1), this.options.ecmaVersion >= 8 && (e.async = !1);
2255
2256
  }, I.parseMethod = function(e, t, n) {
2256
2257
  var r = this.startNode(), i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
2257
- 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(Ie(t, r.generator) | Ae | (n ? je : 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");
2258
+ 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(Le(t, r.generator) | je | (n ? Me : 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");
2258
2259
  }, I.parseArrowExpression = function(e, t, n, r) {
2259
2260
  var i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
2260
- return this.enterScope(Ie(n, !1) | Oe), 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");
2261
+ return this.enterScope(Le(n, !1) | ke), 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");
2261
2262
  }, I.parseFunctionBody = function(e, t, n, r) {
2262
2263
  var i = t && this.type !== E.braceL, a = this.strict, o = !1;
2263
2264
  if (i) e.body = this.parseMaybeAssign(r), e.expression = !0, this.checkParams(e, !1);
@@ -2265,7 +2266,7 @@ I.parseNew = function() {
2265
2266
  var s = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
2266
2267
  (!a || s) && (o = this.strictDirective(this.end), o && s && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
2267
2268
  var c = this.labels;
2268
- 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, He), e.body = this.parseBlock(!1, void 0, o && !a), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = c;
2269
+ 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, Ue), e.body = this.parseBlock(!1, void 0, o && !a), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = c;
2269
2270
  }
2270
2271
  this.exitScope();
2271
2272
  }, I.isSimpleParamList = function(e) {
@@ -2274,7 +2275,7 @@ I.parseNew = function() {
2274
2275
  }, I.checkParams = function(e, t) {
2275
2276
  for (var n = Object.create(null), r = 0, i = e.params; r < i.length; r += 1) {
2276
2277
  var a = i[r];
2277
- this.checkLValInnerPattern(a, Re, t ? null : n);
2278
+ this.checkLValInnerPattern(a, ze, t ? null : n);
2278
2279
  }
2279
2280
  }, I.parseExprList = function(e, t, n, r) {
2280
2281
  for (var i = [], a = !0; !this.eat(e);) {
@@ -2286,7 +2287,7 @@ I.parseNew = function() {
2286
2287
  return i;
2287
2288
  }, I.checkUnreserved = function(e) {
2288
2289
  var t = e.start, n = e.end, r = e.name;
2289
- 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 & Fe) && 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"));
2290
+ 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 & Ie) && 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"));
2290
2291
  }, I.parseIdent = function(e) {
2291
2292
  var t = this.parseIdentNode();
2292
2293
  return this.next(!!e), this.finishNode(t, "Identifier"), e || (this.checkUnreserved(t), t.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = t.start)), t;
@@ -2305,132 +2306,132 @@ I.parseNew = function() {
2305
2306
  var t = this.startNode();
2306
2307
  return this.next(), t.argument = this.parseMaybeUnary(null, !0, !1, e), this.finishNode(t, "AwaitExpression");
2307
2308
  };
2308
- var rt = k.prototype;
2309
- rt.raise = function(e, t) {
2310
- var n = ye(this.input, e);
2309
+ var it = k.prototype;
2310
+ it.raise = function(e, t) {
2311
+ var n = be(this.input, e);
2311
2312
  t += " (" + n.line + ":" + n.column + ")", this.sourceFile && (t += " in " + this.sourceFile);
2312
2313
  var r = SyntaxError(t);
2313
2314
  throw r.pos = e, r.loc = n, r.raisedAt = this.pos, r;
2314
- }, rt.raiseRecoverable = rt.raise, rt.curPosition = function() {
2315
- if (this.options.locations) return new _e(this.curLine, this.pos - this.lineStart);
2315
+ }, it.raiseRecoverable = it.raise, it.curPosition = function() {
2316
+ if (this.options.locations) return new ve(this.curLine, this.pos - this.lineStart);
2316
2317
  };
2317
- var it = k.prototype, at = function(e) {
2318
+ var at = k.prototype, ot = function(e) {
2318
2319
  this.flags = e, this.var = [], this.lexical = [], this.functions = [];
2319
2320
  };
2320
- it.enterScope = function(e) {
2321
- this.scopeStack.push(new at(e));
2322
- }, it.exitScope = function() {
2321
+ at.enterScope = function(e) {
2322
+ this.scopeStack.push(new ot(e));
2323
+ }, at.exitScope = function() {
2323
2324
  this.scopeStack.pop();
2324
- }, it.treatFunctionsAsVarInScope = function(e) {
2325
- return e.flags & Te || !this.inModule && e.flags & we;
2326
- }, it.declareName = function(e, t, n) {
2325
+ }, at.treatFunctionsAsVarInScope = function(e) {
2326
+ return e.flags & Ee || !this.inModule && e.flags & Te;
2327
+ }, at.declareName = function(e, t, n) {
2327
2328
  var r = !1;
2328
- if (t === ze) {
2329
+ if (t === Be) {
2329
2330
  var i = this.currentScope();
2330
- r = i.lexical.indexOf(e) > -1 || i.functions.indexOf(e) > -1 || i.var.indexOf(e) > -1, i.lexical.push(e), this.inModule && i.flags & we && delete this.undefinedExports[e];
2331
- } else if (t === Ve) this.currentScope().lexical.push(e);
2332
- else if (t === Be) {
2331
+ r = i.lexical.indexOf(e) > -1 || i.functions.indexOf(e) > -1 || i.var.indexOf(e) > -1, i.lexical.push(e), this.inModule && i.flags & Te && delete this.undefinedExports[e];
2332
+ } else if (t === He) this.currentScope().lexical.push(e);
2333
+ else if (t === Ve) {
2333
2334
  var a = this.currentScope();
2334
2335
  r = this.treatFunctionsAsVar ? a.lexical.indexOf(e) > -1 : a.lexical.indexOf(e) > -1 || a.var.indexOf(e) > -1, a.functions.push(e);
2335
2336
  } else for (var o = this.scopeStack.length - 1; o >= 0; --o) {
2336
2337
  var s = this.scopeStack[o];
2337
- if (s.lexical.indexOf(e) > -1 && !(s.flags & ke && s.lexical[0] === e) || !this.treatFunctionsAsVarInScope(s) && s.functions.indexOf(e) > -1) {
2338
+ if (s.lexical.indexOf(e) > -1 && !(s.flags & Ae && s.lexical[0] === e) || !this.treatFunctionsAsVarInScope(s) && s.functions.indexOf(e) > -1) {
2338
2339
  r = !0;
2339
2340
  break;
2340
2341
  }
2341
- if (s.var.push(e), this.inModule && s.flags & we && delete this.undefinedExports[e], s.flags & Fe) break;
2342
+ if (s.var.push(e), this.inModule && s.flags & Te && delete this.undefinedExports[e], s.flags & Ie) break;
2342
2343
  }
2343
2344
  r && this.raiseRecoverable(n, "Identifier '" + e + "' has already been declared");
2344
- }, it.checkLocalExport = function(e) {
2345
+ }, at.checkLocalExport = function(e) {
2345
2346
  this.scopeStack[0].lexical.indexOf(e.name) === -1 && this.scopeStack[0].var.indexOf(e.name) === -1 && (this.undefinedExports[e.name] = e);
2346
- }, it.currentScope = function() {
2347
+ }, at.currentScope = function() {
2347
2348
  return this.scopeStack[this.scopeStack.length - 1];
2348
- }, it.currentVarScope = function() {
2349
+ }, at.currentVarScope = function() {
2349
2350
  for (var e = this.scopeStack.length - 1;; e--) {
2350
2351
  var t = this.scopeStack[e];
2351
- if (t.flags & (Fe | Ne | Me)) return t;
2352
+ if (t.flags & (Ie | Pe | Ne)) return t;
2352
2353
  }
2353
- }, it.currentThisScope = function() {
2354
+ }, at.currentThisScope = function() {
2354
2355
  for (var e = this.scopeStack.length - 1;; e--) {
2355
2356
  var t = this.scopeStack[e];
2356
- if (t.flags & (Fe | Ne | Me) && !(t.flags & Oe)) return t;
2357
+ if (t.flags & (Ie | Pe | Ne) && !(t.flags & ke)) return t;
2357
2358
  }
2358
2359
  };
2359
- var ot = function(e, t, n) {
2360
- this.type = "", this.start = t, this.end = 0, e.options.locations && (this.loc = new ve(e, n)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [t, 0]);
2361
- }, st = k.prototype;
2362
- st.startNode = function() {
2363
- return new ot(this, this.start, this.startLoc);
2364
- }, st.startNodeAt = function(e, t) {
2365
- return new ot(this, e, t);
2360
+ var st = function(e, t, n) {
2361
+ this.type = "", this.start = t, this.end = 0, e.options.locations && (this.loc = new ye(e, n)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [t, 0]);
2362
+ }, ct = k.prototype;
2363
+ ct.startNode = function() {
2364
+ return new st(this, this.start, this.startLoc);
2365
+ }, ct.startNodeAt = function(e, t) {
2366
+ return new st(this, e, t);
2366
2367
  };
2367
- function ct(e, t, n, r) {
2368
+ function lt(e, t, n, r) {
2368
2369
  return e.type = t, e.end = n, this.options.locations && (e.loc.end = r), this.options.ranges && (e.range[1] = n), e;
2369
2370
  }
2370
- st.finishNode = function(e, t) {
2371
- return ct.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
2372
- }, st.finishNodeAt = function(e, t, n, r) {
2373
- return ct.call(this, e, t, n, r);
2374
- }, st.copyNode = function(e) {
2375
- var t = new ot(this, e.start, this.startLoc);
2371
+ ct.finishNode = function(e, t) {
2372
+ return lt.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
2373
+ }, ct.finishNodeAt = function(e, t, n, r) {
2374
+ return lt.call(this, e, t, n, r);
2375
+ }, ct.copyNode = function(e) {
2376
+ var t = new st(this, e.start, this.startLoc);
2376
2377
  for (var n in e) t[n] = e[n];
2377
2378
  return t;
2378
2379
  };
2379
- var lt = "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", ut = "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", dt = ut + " Extended_Pictographic", ft = dt, pt = ft + " EBase EComp EMod EPres ExtPict", mt = pt, ht = {
2380
- 9: ut,
2381
- 10: dt,
2382
- 11: ft,
2383
- 12: pt,
2384
- 13: mt,
2385
- 14: mt
2386
- }, gt = {
2380
+ var ut = "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", dt = "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", ft = dt + " Extended_Pictographic", pt = ft, mt = pt + " EBase EComp EMod EPres ExtPict", ht = mt, gt = {
2381
+ 9: dt,
2382
+ 10: ft,
2383
+ 11: pt,
2384
+ 12: mt,
2385
+ 13: ht,
2386
+ 14: ht
2387
+ }, _t = {
2387
2388
  9: "",
2388
2389
  10: "",
2389
2390
  11: "",
2390
2391
  12: "",
2391
2392
  13: "",
2392
2393
  14: "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"
2393
- }, _t = "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", vt = "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", yt = vt + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", bt = yt + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", xt = bt + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", St = xt + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", Ct = {
2394
- 9: vt,
2395
- 10: yt,
2396
- 11: bt,
2397
- 12: xt,
2398
- 13: St,
2399
- 14: St + " " + lt
2400
- }, wt = {};
2401
- function Tt(e) {
2402
- var t = wt[e] = {
2403
- binary: me(ht[e] + " " + _t),
2404
- binaryOfStrings: me(gt[e]),
2394
+ }, vt = "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", yt = "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", bt = yt + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", xt = bt + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", St = xt + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Ct = St + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", wt = {
2395
+ 9: yt,
2396
+ 10: bt,
2397
+ 11: xt,
2398
+ 12: St,
2399
+ 13: Ct,
2400
+ 14: Ct + " " + ut
2401
+ }, Tt = {};
2402
+ function Et(e) {
2403
+ var t = Tt[e] = {
2404
+ binary: he(gt[e] + " " + vt),
2405
+ binaryOfStrings: he(_t[e]),
2405
2406
  nonBinary: {
2406
- General_Category: me(_t),
2407
- Script: me(Ct[e])
2407
+ General_Category: he(vt),
2408
+ Script: he(wt[e])
2408
2409
  }
2409
2410
  };
2410
2411
  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;
2411
2412
  }
2412
- for (var Et = 0, Dt = [
2413
+ for (var Dt = 0, Ot = [
2413
2414
  9,
2414
2415
  10,
2415
2416
  11,
2416
2417
  12,
2417
2418
  13,
2418
2419
  14
2419
- ]; Et < Dt.length; Et += 1) {
2420
- var Ot = Dt[Et];
2421
- Tt(Ot);
2420
+ ]; Dt < Ot.length; Dt += 1) {
2421
+ var kt = Ot[Dt];
2422
+ Et(kt);
2422
2423
  }
2423
- var L = k.prototype, kt = function(e, t) {
2424
+ var L = k.prototype, At = function(e, t) {
2424
2425
  this.parent = e, this.base = t || this;
2425
2426
  };
2426
- kt.prototype.separatedFrom = function(e) {
2427
+ At.prototype.separatedFrom = function(e) {
2427
2428
  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;
2428
2429
  return !1;
2429
- }, kt.prototype.sibling = function() {
2430
- return new kt(this.parent, this.base);
2430
+ }, At.prototype.sibling = function() {
2431
+ return new At(this.parent, this.base);
2431
2432
  };
2432
2433
  var R = function(e) {
2433
- 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 = wt[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;
2434
+ 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 = Tt[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;
2434
2435
  };
2435
2436
  R.prototype.reset = function(e, t, n) {
2436
2437
  var r = n.indexOf("v") !== -1, i = n.indexOf("u") !== -1;
@@ -2474,12 +2475,12 @@ R.prototype.reset = function(e, t, n) {
2474
2475
  }
2475
2476
  this.options.ecmaVersion >= 15 && r && i && this.raise(e.start, "Invalid regular expression flag");
2476
2477
  };
2477
- function At(e) {
2478
+ function jt(e) {
2478
2479
  for (var t in e) return !0;
2479
2480
  return !1;
2480
2481
  }
2481
2482
  L.validateRegExpPattern = function(e) {
2482
- this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && At(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
2483
+ this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && jt(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
2483
2484
  }, L.regexp_pattern = function(e) {
2484
2485
  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");
2485
2486
  for (var t = 0, n = e.backReferenceNames; t < n.length; t += 1) {
@@ -2488,7 +2489,7 @@ L.validateRegExpPattern = function(e) {
2488
2489
  }
2489
2490
  }, L.regexp_disjunction = function(e) {
2490
2491
  var t = this.options.ecmaVersion >= 16;
2491
- for (t && (e.branchID = new kt(e.branchID, null)), this.regexp_alternative(e); e.eat(124);) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
2492
+ for (t && (e.branchID = new At(e.branchID, null)), this.regexp_alternative(e); e.eat(124);) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
2492
2493
  t && (e.branchID = e.branchID.parent), this.regexp_eatQuantifier(e, !0) && e.raise("Nothing to repeat"), e.eat(123) && e.raise("Lone quantifier brackets");
2493
2494
  }, L.regexp_alternative = function(e) {
2494
2495
  for (; e.pos < e.source.length && this.regexp_eatTerm(e););
@@ -2563,10 +2564,10 @@ L.validateRegExpPattern = function(e) {
2563
2564
  }
2564
2565
  return !1;
2565
2566
  }, L.regexp_eatModifiers = function(e) {
2566
- for (var t = "", n = 0; (n = e.current()) !== -1 && jt(n);) t += he(n), e.advance();
2567
+ for (var t = "", n = 0; (n = e.current()) !== -1 && Mt(n);) t += ge(n), e.advance();
2567
2568
  return t;
2568
2569
  };
2569
- function jt(e) {
2570
+ function Mt(e) {
2570
2571
  return e === 105 || e === 109 || e === 115;
2571
2572
  }
2572
2573
  L.regexp_eatExtendedAtom = function(e) {
@@ -2575,13 +2576,13 @@ L.regexp_eatExtendedAtom = function(e) {
2575
2576
  return this.regexp_eatBracedQuantifier(e, !0) && e.raise("Nothing to repeat"), !1;
2576
2577
  }, L.regexp_eatSyntaxCharacter = function(e) {
2577
2578
  var t = e.current();
2578
- return Mt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2579
+ return Nt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2579
2580
  };
2580
- function Mt(e) {
2581
+ function Nt(e) {
2581
2582
  return e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e >= 91 && e <= 94 || e >= 123 && e <= 125;
2582
2583
  }
2583
2584
  L.regexp_eatPatternCharacters = function(e) {
2584
- for (var t = e.pos, n = 0; (n = e.current()) !== -1 && !Mt(n);) e.advance();
2585
+ for (var t = e.pos, n = 0; (n = e.current()) !== -1 && !Nt(n);) e.advance();
2585
2586
  return e.pos !== t;
2586
2587
  }, L.regexp_eatExtendedPatternCharacter = function(e) {
2587
2588
  var t = e.current();
@@ -2602,22 +2603,22 @@ L.regexp_eatPatternCharacters = function(e) {
2602
2603
  return !1;
2603
2604
  }, L.regexp_eatRegExpIdentifierName = function(e) {
2604
2605
  if (e.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(e)) {
2605
- for (e.lastStringValue += he(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e);) e.lastStringValue += he(e.lastIntValue);
2606
+ for (e.lastStringValue += ge(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e);) e.lastStringValue += ge(e.lastIntValue);
2606
2607
  return !0;
2607
2608
  }
2608
2609
  return !1;
2609
2610
  }, L.regexp_eatRegExpIdentifierStart = function(e) {
2610
2611
  var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
2611
- return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), Nt(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2612
+ return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), Pt(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2612
2613
  };
2613
- function Nt(e) {
2614
+ function Pt(e) {
2614
2615
  return y(e, !0) || e === 36 || e === 95;
2615
2616
  }
2616
2617
  L.regexp_eatRegExpIdentifierPart = function(e) {
2617
2618
  var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
2618
- return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), Pt(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2619
+ return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), Ft(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2619
2620
  };
2620
- function Pt(e) {
2621
+ function Ft(e) {
2621
2622
  return b(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
2622
2623
  }
2623
2624
  L.regexp_eatAtomEscape = function(e) {
@@ -2647,15 +2648,15 @@ L.regexp_eatAtomEscape = function(e) {
2647
2648
  }
2648
2649
  return !1;
2649
2650
  }, L.regexp_eatZero = function(e) {
2650
- return e.current() === 48 && !Gt(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
2651
+ return e.current() === 48 && !Kt(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
2651
2652
  }, L.regexp_eatControlEscape = function(e) {
2652
2653
  var t = e.current();
2653
2654
  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;
2654
2655
  }, L.regexp_eatControlLetter = function(e) {
2655
2656
  var t = e.current();
2656
- return Ft(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2657
+ return It(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2657
2658
  };
2658
- function Ft(e) {
2659
+ function It(e) {
2659
2660
  return e >= 65 && e <= 90 || e >= 97 && e <= 122;
2660
2661
  }
2661
2662
  L.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
@@ -2674,12 +2675,12 @@ L.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
2674
2675
  }
2675
2676
  return !0;
2676
2677
  }
2677
- if (r && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && It(e.lastIntValue)) return !0;
2678
+ if (r && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && Lt(e.lastIntValue)) return !0;
2678
2679
  r && e.raise("Invalid unicode escape"), e.pos = n;
2679
2680
  }
2680
2681
  return !1;
2681
2682
  };
2682
- function It(e) {
2683
+ function Lt(e) {
2683
2684
  return e >= 0 && e <= 1114111;
2684
2685
  }
2685
2686
  L.regexp_eatIdentityEscape = function(e) {
@@ -2697,10 +2698,10 @@ L.regexp_eatIdentityEscape = function(e) {
2697
2698
  }
2698
2699
  return !1;
2699
2700
  };
2700
- var Lt = 0, Rt = 1, z = 2;
2701
+ var Rt = 0, zt = 1, z = 2;
2701
2702
  L.regexp_eatCharacterClassEscape = function(e) {
2702
2703
  var t = e.current();
2703
- if (zt(t)) return e.lastIntValue = -1, e.advance(), Rt;
2704
+ if (Bt(t)) return e.lastIntValue = -1, e.advance(), zt;
2704
2705
  var n = !1;
2705
2706
  if (e.switchU && this.options.ecmaVersion >= 9 && ((n = t === 80) || t === 112)) {
2706
2707
  e.lastIntValue = -1, e.advance();
@@ -2708,9 +2709,9 @@ L.regexp_eatCharacterClassEscape = function(e) {
2708
2709
  if (e.eat(123) && (r = this.regexp_eatUnicodePropertyValueExpression(e)) && e.eat(125)) return n && r === z && e.raise("Invalid property name"), r;
2709
2710
  e.raise("Invalid property name");
2710
2711
  }
2711
- return Lt;
2712
+ return Rt;
2712
2713
  };
2713
- function zt(e) {
2714
+ function Bt(e) {
2714
2715
  return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87;
2715
2716
  }
2716
2717
  L.regexp_eatUnicodePropertyValueExpression = function(e) {
@@ -2719,35 +2720,35 @@ L.regexp_eatUnicodePropertyValueExpression = function(e) {
2719
2720
  var n = e.lastStringValue;
2720
2721
  if (this.regexp_eatUnicodePropertyValue(e)) {
2721
2722
  var r = e.lastStringValue;
2722
- return this.regexp_validateUnicodePropertyNameAndValue(e, n, r), Rt;
2723
+ return this.regexp_validateUnicodePropertyNameAndValue(e, n, r), zt;
2723
2724
  }
2724
2725
  }
2725
2726
  if (e.pos = t, this.regexp_eatLoneUnicodePropertyNameOrValue(e)) {
2726
2727
  var i = e.lastStringValue;
2727
2728
  return this.regexp_validateUnicodePropertyNameOrValue(e, i);
2728
2729
  }
2729
- return Lt;
2730
+ return Rt;
2730
2731
  }, L.regexp_validateUnicodePropertyNameAndValue = function(e, t, n) {
2731
- de(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(n) || e.raise("Invalid property value");
2732
+ fe(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(n) || e.raise("Invalid property value");
2732
2733
  }, L.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
2733
- if (e.unicodeProperties.binary.test(t)) return Rt;
2734
+ if (e.unicodeProperties.binary.test(t)) return zt;
2734
2735
  if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t)) return z;
2735
2736
  e.raise("Invalid property name");
2736
2737
  }, L.regexp_eatUnicodePropertyName = function(e) {
2737
2738
  var t = 0;
2738
- for (e.lastStringValue = ""; Bt(t = e.current());) e.lastStringValue += he(t), e.advance();
2739
+ for (e.lastStringValue = ""; Vt(t = e.current());) e.lastStringValue += ge(t), e.advance();
2739
2740
  return e.lastStringValue !== "";
2740
2741
  };
2741
- function Bt(e) {
2742
- return Ft(e) || e === 95;
2742
+ function Vt(e) {
2743
+ return It(e) || e === 95;
2743
2744
  }
2744
2745
  L.regexp_eatUnicodePropertyValue = function(e) {
2745
2746
  var t = 0;
2746
- for (e.lastStringValue = ""; Vt(t = e.current());) e.lastStringValue += he(t), e.advance();
2747
+ for (e.lastStringValue = ""; Ht(t = e.current());) e.lastStringValue += ge(t), e.advance();
2747
2748
  return e.lastStringValue !== "";
2748
2749
  };
2749
- function Vt(e) {
2750
- return Bt(e) || Gt(e);
2750
+ function Ht(e) {
2751
+ return Vt(e) || Kt(e);
2751
2752
  }
2752
2753
  L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2753
2754
  return this.regexp_eatUnicodePropertyValue(e);
@@ -2758,7 +2759,7 @@ L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2758
2759
  }
2759
2760
  return !1;
2760
2761
  }, L.regexp_classContents = function(e) {
2761
- return e.current() === 93 ? Rt : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), Rt);
2762
+ return e.current() === 93 ? zt : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), zt);
2762
2763
  }, L.regexp_nonEmptyClassRanges = function(e) {
2763
2764
  for (; this.regexp_eatClassAtom(e);) {
2764
2765
  var t = e.lastIntValue;
@@ -2773,7 +2774,7 @@ L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2773
2774
  if (this.regexp_eatClassEscape(e)) return !0;
2774
2775
  if (e.switchU) {
2775
2776
  var n = e.current();
2776
- (n === 99 || Jt(n)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
2777
+ (n === 99 || Yt(n)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
2777
2778
  }
2778
2779
  e.pos = t;
2779
2780
  }
@@ -2789,12 +2790,12 @@ L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2789
2790
  }
2790
2791
  return this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e);
2791
2792
  }, L.regexp_classSetExpression = function(e) {
2792
- var t = Rt, n;
2793
+ var t = zt, n;
2793
2794
  if (!this.regexp_eatClassSetRange(e)) if (n = this.regexp_eatClassSetOperand(e)) {
2794
2795
  n === z && (t = z);
2795
2796
  for (var r = e.pos; e.eatChars([38, 38]);) {
2796
2797
  if (e.current() !== 38 && (n = this.regexp_eatClassSetOperand(e))) {
2797
- n !== z && (t = Rt);
2798
+ n !== z && (t = zt);
2798
2799
  continue;
2799
2800
  }
2800
2801
  e.raise("Invalid character in character class");
@@ -2819,7 +2820,7 @@ L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2819
2820
  }
2820
2821
  return !1;
2821
2822
  }, L.regexp_eatClassSetOperand = function(e) {
2822
- return this.regexp_eatClassSetCharacter(e) ? Rt : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
2823
+ return this.regexp_eatClassSetCharacter(e) ? zt : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
2823
2824
  }, L.regexp_eatNestedClass = function(e) {
2824
2825
  var t = e.pos;
2825
2826
  if (e.eat(91)) {
@@ -2848,29 +2849,29 @@ L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2848
2849
  return t;
2849
2850
  }, L.regexp_classString = function(e) {
2850
2851
  for (var t = 0; this.regexp_eatClassSetCharacter(e);) t++;
2851
- return t === 1 ? Rt : z;
2852
+ return t === 1 ? zt : z;
2852
2853
  }, L.regexp_eatClassSetCharacter = function(e) {
2853
2854
  var t = e.pos;
2854
2855
  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);
2855
2856
  var n = e.current();
2856
- return n < 0 || n === e.lookahead() && Ht(n) || Ut(n) ? !1 : (e.advance(), e.lastIntValue = n, !0);
2857
+ return n < 0 || n === e.lookahead() && Ut(n) || Wt(n) ? !1 : (e.advance(), e.lastIntValue = n, !0);
2857
2858
  };
2858
- function Ht(e) {
2859
+ function Ut(e) {
2859
2860
  return e === 33 || e >= 35 && e <= 38 || e >= 42 && e <= 44 || e === 46 || e >= 58 && e <= 64 || e === 94 || e === 96 || e === 126;
2860
2861
  }
2861
- function Ut(e) {
2862
+ function Wt(e) {
2862
2863
  return e === 40 || e === 41 || e === 45 || e === 47 || e >= 91 && e <= 93 || e >= 123 && e <= 125;
2863
2864
  }
2864
2865
  L.regexp_eatClassSetReservedPunctuator = function(e) {
2865
2866
  var t = e.current();
2866
- return Wt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2867
+ return Gt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2867
2868
  };
2868
- function Wt(e) {
2869
+ function Gt(e) {
2869
2870
  return e === 33 || e === 35 || e === 37 || e === 38 || e === 44 || e === 45 || e >= 58 && e <= 62 || e === 64 || e === 96 || e === 126;
2870
2871
  }
2871
2872
  L.regexp_eatClassControlLetter = function(e) {
2872
2873
  var t = e.current();
2873
- return Gt(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2874
+ return Kt(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2874
2875
  }, L.regexp_eatHexEscapeSequence = function(e) {
2875
2876
  var t = e.pos;
2876
2877
  if (e.eat(120)) {
@@ -2880,21 +2881,21 @@ L.regexp_eatClassControlLetter = function(e) {
2880
2881
  return !1;
2881
2882
  }, L.regexp_eatDecimalDigits = function(e) {
2882
2883
  var t = e.pos, n = 0;
2883
- for (e.lastIntValue = 0; Gt(n = e.current());) e.lastIntValue = 10 * e.lastIntValue + (n - 48), e.advance();
2884
+ for (e.lastIntValue = 0; Kt(n = e.current());) e.lastIntValue = 10 * e.lastIntValue + (n - 48), e.advance();
2884
2885
  return e.pos !== t;
2885
2886
  };
2886
- function Gt(e) {
2887
+ function Kt(e) {
2887
2888
  return e >= 48 && e <= 57;
2888
2889
  }
2889
2890
  L.regexp_eatHexDigits = function(e) {
2890
2891
  var t = e.pos, n = 0;
2891
- for (e.lastIntValue = 0; Kt(n = e.current());) e.lastIntValue = 16 * e.lastIntValue + qt(n), e.advance();
2892
+ for (e.lastIntValue = 0; qt(n = e.current());) e.lastIntValue = 16 * e.lastIntValue + Jt(n), e.advance();
2892
2893
  return e.pos !== t;
2893
2894
  };
2894
- function Kt(e) {
2895
+ function qt(e) {
2895
2896
  return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
2896
2897
  }
2897
- function qt(e) {
2898
+ function Jt(e) {
2898
2899
  return e >= 65 && e <= 70 ? 10 + (e - 65) : e >= 97 && e <= 102 ? 10 + (e - 97) : e - 48;
2899
2900
  }
2900
2901
  L.regexp_eatLegacyOctalEscapeSequence = function(e) {
@@ -2909,9 +2910,9 @@ L.regexp_eatLegacyOctalEscapeSequence = function(e) {
2909
2910
  return !1;
2910
2911
  }, L.regexp_eatOctalDigit = function(e) {
2911
2912
  var t = e.current();
2912
- return Jt(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
2913
+ return Yt(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
2913
2914
  };
2914
- function Jt(e) {
2915
+ function Yt(e) {
2915
2916
  return e >= 48 && e <= 55;
2916
2917
  }
2917
2918
  L.regexp_eatFixedHexDigits = function(e, t) {
@@ -2919,18 +2920,18 @@ L.regexp_eatFixedHexDigits = function(e, t) {
2919
2920
  e.lastIntValue = 0;
2920
2921
  for (var r = 0; r < t; ++r) {
2921
2922
  var i = e.current();
2922
- if (!Kt(i)) return e.pos = n, !1;
2923
- e.lastIntValue = 16 * e.lastIntValue + qt(i), e.advance();
2923
+ if (!qt(i)) return e.pos = n, !1;
2924
+ e.lastIntValue = 16 * e.lastIntValue + Jt(i), e.advance();
2924
2925
  }
2925
2926
  return !0;
2926
2927
  };
2927
- var Yt = function(e) {
2928
- this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new ve(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
2928
+ var Xt = function(e) {
2929
+ this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new ye(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
2929
2930
  }, B = k.prototype;
2930
2931
  B.next = function(e) {
2931
- !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Yt(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2932
+ !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Xt(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2932
2933
  }, B.getToken = function() {
2933
- return this.next(), new Yt(this);
2934
+ return this.next(), new Xt(this);
2934
2935
  }, typeof Symbol < "u" && (B[Symbol.iterator] = function() {
2935
2936
  var e = this;
2936
2937
  return { next: function() {
@@ -2956,10 +2957,10 @@ B.next = function(e) {
2956
2957
  return this.fullCharCodeAt(this.pos);
2957
2958
  }, B.skipBlockComment = function() {
2958
2959
  var e = this.options.onComment && this.curPosition(), t = this.pos, n = this.input.indexOf("*/", this.pos += 2);
2959
- 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 = oe(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
2960
+ 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 = se(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
2960
2961
  this.options.onComment && this.options.onComment(!0, this.input.slice(t + 2, n), t, this.pos, e, this.curPosition());
2961
2962
  }, B.skipLineComment = function(e) {
2962
- for (var t = this.pos, n = this.options.onComment && this.curPosition(), r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !ae(r);) r = this.input.charCodeAt(++this.pos);
2963
+ for (var t = this.pos, n = this.options.onComment && this.curPosition(), r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !oe(r);) r = this.input.charCodeAt(++this.pos);
2963
2964
  this.options.onComment && this.options.onComment(!1, this.input.slice(t + e, this.pos), t, this.pos, n, this.curPosition());
2964
2965
  }, B.skipSpace = function() {
2965
2966
  loop: for (; this.pos < this.input.length;) {
@@ -2986,7 +2987,7 @@ B.next = function(e) {
2986
2987
  default: break loop;
2987
2988
  }
2988
2989
  break;
2989
- default: if (e > 8 && e < 14 || e >= 5760 && se.test(String.fromCharCode(e))) ++this.pos;
2990
+ default: if (e > 8 && e < 14 || e >= 5760 && ce.test(String.fromCharCode(e))) ++this.pos;
2990
2991
  else break loop;
2991
2992
  }
2992
2993
  }
@@ -3033,7 +3034,7 @@ B.next = function(e) {
3033
3034
  }, B.readToken_numberSign = function() {
3034
3035
  var e = this.options.ecmaVersion, t = 35;
3035
3036
  if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), y(t, !0) || t === 92)) return this.finishToken(E.privateId, this.readWord1());
3036
- this.raise(this.pos, "Unexpected character '" + he(t) + "'");
3037
+ this.raise(this.pos, "Unexpected character '" + ge(t) + "'");
3037
3038
  }, B.getTokenFromCode = function(e) {
3038
3039
  switch (e) {
3039
3040
  case 46: return this.readToken_dot();
@@ -3083,7 +3084,7 @@ B.next = function(e) {
3083
3084
  case 126: return this.finishOp(E.prefix, 1);
3084
3085
  case 35: return this.readToken_numberSign();
3085
3086
  }
3086
- this.raise(this.pos, "Unexpected character '" + he(e) + "'");
3087
+ this.raise(this.pos, "Unexpected character '" + ge(e) + "'");
3087
3088
  }, B.finishOp = function(e, t) {
3088
3089
  var n = this.input.slice(this.pos, this.pos + t);
3089
3090
  return this.pos += t, this.finishToken(e, n);
@@ -3127,17 +3128,17 @@ B.next = function(e) {
3127
3128
  }
3128
3129
  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;
3129
3130
  };
3130
- function Xt(e, t) {
3131
+ function Zt(e, t) {
3131
3132
  return t ? parseInt(e, 8) : parseFloat(e.replace(/_/g, ""));
3132
3133
  }
3133
- function Zt(e) {
3134
+ function Qt(e) {
3134
3135
  return typeof BigInt == "function" ? BigInt(e.replace(/_/g, "")) : null;
3135
3136
  }
3136
3137
  B.readRadixNumber = function(e) {
3137
3138
  var t = this.pos;
3138
3139
  this.pos += 2;
3139
3140
  var n = this.readInt(e);
3140
- return n ?? this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (n = Zt(this.input.slice(t, this.pos)), ++this.pos) : y(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(E.num, n);
3141
+ return n ?? this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (n = Qt(this.input.slice(t, this.pos)), ++this.pos) : y(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(E.num, n);
3141
3142
  }, B.readNumber = function(e) {
3142
3143
  var t = this.pos;
3143
3144
  !e && this.readInt(10, void 0, !0) === null && this.raise(t, "Invalid number");
@@ -3145,11 +3146,11 @@ B.readRadixNumber = function(e) {
3145
3146
  n && this.strict && this.raise(t, "Invalid number");
3146
3147
  var r = this.input.charCodeAt(this.pos);
3147
3148
  if (!n && !e && this.options.ecmaVersion >= 11 && r === 110) {
3148
- var i = Zt(this.input.slice(t, this.pos));
3149
+ var i = Qt(this.input.slice(t, this.pos));
3149
3150
  return ++this.pos, y(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(E.num, i);
3150
3151
  }
3151
3152
  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");
3152
- var a = Xt(this.input.slice(t, this.pos), n);
3153
+ var a = Zt(this.input.slice(t, this.pos), n);
3153
3154
  return this.finishToken(E.num, a);
3154
3155
  }, B.readCodePoint = function() {
3155
3156
  var e = this.input.charCodeAt(this.pos), t;
@@ -3164,22 +3165,22 @@ B.readRadixNumber = function(e) {
3164
3165
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
3165
3166
  var r = this.input.charCodeAt(this.pos);
3166
3167
  if (r === e) break;
3167
- 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)) : (ae(r) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
3168
+ 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)) : (oe(r) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
3168
3169
  }
3169
3170
  return t += this.input.slice(n, this.pos++), this.finishToken(E.string, t);
3170
3171
  };
3171
- var Qt = {};
3172
+ var $t = {};
3172
3173
  B.tryReadTemplateToken = function() {
3173
3174
  this.inTemplateElement = !0;
3174
3175
  try {
3175
3176
  this.readTmplToken();
3176
3177
  } catch (e) {
3177
- if (e === Qt) this.readInvalidTemplateToken();
3178
+ if (e === $t) this.readInvalidTemplateToken();
3178
3179
  else throw e;
3179
3180
  }
3180
3181
  this.inTemplateElement = !1;
3181
3182
  }, B.invalidStringToken = function(e, t) {
3182
- if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw Qt;
3183
+ if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw $t;
3183
3184
  this.raise(e, t);
3184
3185
  }, B.readTmplToken = function() {
3185
3186
  for (var e = "", t = this.pos;;) {
@@ -3187,7 +3188,7 @@ B.tryReadTemplateToken = function() {
3187
3188
  var n = this.input.charCodeAt(this.pos);
3188
3189
  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));
3189
3190
  if (n === 92) e += this.input.slice(t, this.pos), e += this.readEscapedChar(!0), t = this.pos;
3190
- else if (ae(n)) {
3191
+ else if (oe(n)) {
3191
3192
  switch (e += this.input.slice(t, this.pos), ++this.pos, n) {
3192
3193
  case 13: this.input.charCodeAt(this.pos) === 10 && ++this.pos;
3193
3194
  case 10:
@@ -3221,7 +3222,7 @@ B.tryReadTemplateToken = function() {
3221
3222
  case 110: return "\n";
3222
3223
  case 114: return "\r";
3223
3224
  case 120: return String.fromCharCode(this.readHexChar(2));
3224
- case 117: return he(this.readCodePoint());
3225
+ case 117: return ge(this.readCodePoint());
3225
3226
  case 116: return " ";
3226
3227
  case 98: return "\b";
3227
3228
  case 118: return "\v";
@@ -3238,7 +3239,7 @@ B.tryReadTemplateToken = function() {
3238
3239
  var r = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], i = parseInt(r, 8);
3239
3240
  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);
3240
3241
  }
3241
- return ae(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
3242
+ return oe(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
3242
3243
  }
3243
3244
  }, B.readHexChar = function(e) {
3244
3245
  var t = this.pos, n = this.readInt(16, e);
@@ -3253,49 +3254,49 @@ B.tryReadTemplateToken = function() {
3253
3254
  var a = this.pos;
3254
3255
  this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
3255
3256
  var o = this.readCodePoint();
3256
- (t ? y : b)(o, r) || this.invalidStringToken(a, "Invalid Unicode escape"), e += he(o), n = this.pos;
3257
+ (t ? y : b)(o, r) || this.invalidStringToken(a, "Invalid Unicode escape"), e += ge(o), n = this.pos;
3257
3258
  } else break;
3258
3259
  t = !1;
3259
3260
  }
3260
3261
  return e + this.input.slice(n, this.pos);
3261
3262
  }, B.readWord = function() {
3262
3263
  var e = this.readWord1(), t = E.name;
3263
- return this.keywords.test(e) && (t = re[e]), this.finishToken(t, e);
3264
+ return this.keywords.test(e) && (t = ie[e]), this.finishToken(t, e);
3264
3265
  };
3265
- var $t = "8.17.0";
3266
+ var en = "8.17.0";
3266
3267
  k.acorn = {
3267
3268
  Parser: k,
3268
- version: $t,
3269
- defaultOptions: be,
3270
- Position: _e,
3271
- SourceLocation: ve,
3272
- getLineInfo: ye,
3273
- Node: ot,
3269
+ version: en,
3270
+ defaultOptions: xe,
3271
+ Position: ve,
3272
+ SourceLocation: ye,
3273
+ getLineInfo: be,
3274
+ Node: st,
3274
3275
  TokenType: x,
3275
3276
  tokTypes: E,
3276
- keywordTypes: re,
3277
+ keywordTypes: ie,
3277
3278
  TokContext: P,
3278
3279
  tokContexts: F,
3279
3280
  isIdentifierChar: b,
3280
3281
  isIdentifierStart: y,
3281
- Token: Yt,
3282
- isNewLine: ae,
3282
+ Token: Xt,
3283
+ isNewLine: oe,
3283
3284
  lineBreak: D,
3284
- lineBreakG: ie,
3285
- nonASCIIwhitespace: se
3285
+ lineBreakG: ae,
3286
+ nonASCIIwhitespace: ce
3286
3287
  };
3287
- function en(e, t) {
3288
+ function tn(e, t) {
3288
3289
  return k.parse(e, t);
3289
3290
  }
3290
- function tn(e, t, n) {
3291
+ function nn(e, t, n) {
3291
3292
  return k.parseExpressionAt(e, t, n);
3292
3293
  }
3293
- function nn(e, t) {
3294
+ function rn(e, t) {
3294
3295
  return k.tokenizer(e, t);
3295
3296
  }
3296
3297
  //#endregion
3297
3298
  //#region node_modules/acorn-typescript/lib/index.mjs
3298
- function rn(e, t) {
3299
+ function an(e, t) {
3299
3300
  for (var n = 0; n < t.length; n++) {
3300
3301
  var r = t[n];
3301
3302
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, typeof (i = function(e, t) {
@@ -3311,36 +3312,36 @@ function rn(e, t) {
3311
3312
  }
3312
3313
  var i;
3313
3314
  }
3314
- function an() {
3315
- return an = Object.assign ? Object.assign.bind() : function(e) {
3315
+ function on() {
3316
+ return on = Object.assign ? Object.assign.bind() : function(e) {
3316
3317
  for (var t = 1; t < arguments.length; t++) {
3317
3318
  var n = arguments[t];
3318
3319
  for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
3319
3320
  }
3320
3321
  return e;
3321
- }, an.apply(this, arguments);
3322
- }
3323
- function on(e, t) {
3324
- e.prototype = Object.create(t.prototype), e.prototype.constructor = e, sn(e, t);
3322
+ }, on.apply(this, arguments);
3325
3323
  }
3326
3324
  function sn(e, t) {
3327
- return sn = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
3328
- return e.__proto__ = t, e;
3329
- }, sn(e, t);
3325
+ e.prototype = Object.create(t.prototype), e.prototype.constructor = e, cn(e, t);
3330
3326
  }
3331
3327
  function cn(e, t) {
3328
+ return cn = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
3329
+ return e.__proto__ = t, e;
3330
+ }, cn(e, t);
3331
+ }
3332
+ function ln(e, t) {
3332
3333
  (t == null || t > e.length) && (t = e.length);
3333
3334
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
3334
3335
  return r;
3335
3336
  }
3336
- function ln(e, t) {
3337
+ function un(e, t) {
3337
3338
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
3338
3339
  if (n) return (n = n.call(e)).next.bind(n);
3339
3340
  if (Array.isArray(e) || (n = function(e, t) {
3340
3341
  if (e) {
3341
- if (typeof e == "string") return cn(e, t);
3342
+ if (typeof e == "string") return ln(e, t);
3342
3343
  var n = Object.prototype.toString.call(e).slice(8, -1);
3343
- 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) ? cn(e, t) : void 0;
3344
+ 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) ? ln(e, t) : void 0;
3344
3345
  }
3345
3346
  }(e)) || t && e && typeof e.length == "number") {
3346
3347
  n && (e = n);
@@ -3358,9 +3359,9 @@ var V = !0;
3358
3359
  function H(e, t) {
3359
3360
  return t === void 0 && (t = {}), new x("name", t);
3360
3361
  }
3361
- var un = /* @__PURE__ */ new WeakMap();
3362
- function dn(e) {
3363
- var t = un.get(e.Parser.acorn || e);
3362
+ var dn = /* @__PURE__ */ new WeakMap();
3363
+ function fn(e) {
3364
+ var t = dn.get(e.Parser.acorn || e);
3364
3365
  if (!t) {
3365
3366
  var n = {
3366
3367
  assert: H(0, { startsExpr: V }),
@@ -3393,18 +3394,18 @@ function dn(e) {
3393
3394
  var t = this.context.pop();
3394
3395
  t === i.tc_oTag && e === E.slash || t === i.tc_cTag ? (this.context.pop(), this.exprAllowed = this.curContext() === i.tc_expr) : this.exprAllowed = !0;
3395
3396
  }, t = {
3396
- tokTypes: an({}, n, r),
3397
- tokContexts: an({}, i),
3397
+ tokTypes: on({}, n, r),
3398
+ tokContexts: on({}, i),
3398
3399
  keywordsRegExp: a,
3399
3400
  tokenIsLiteralPropertyName: function(e) {
3400
3401
  return [
3401
3402
  E.name,
3402
3403
  E.string,
3403
3404
  E.num
3404
- ].concat(Object.values(re), Object.values(n)).includes(e);
3405
+ ].concat(Object.values(ie), Object.values(n)).includes(e);
3405
3406
  },
3406
3407
  tokenIsKeywordOrIdentifier: function(e) {
3407
- return [E.name].concat(Object.values(re), Object.values(n)).includes(e);
3408
+ return [E.name].concat(Object.values(ie), Object.values(n)).includes(e);
3408
3409
  },
3409
3410
  tokenIsIdentifier: function(e) {
3410
3411
  return [].concat(Object.values(n), [E.name]).includes(e);
@@ -3434,14 +3435,14 @@ function dn(e) {
3434
3435
  }
3435
3436
  return t;
3436
3437
  }
3437
- var fn = 1024, pn = RegExp("(?=(" + (/* @__PURE__ */ RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y")).source + "))\\1(?=[\\n\\r\\u2028\\u2029]|\\/\\*(?!.*?\\*\\/)|$)", "y"), mn = function() {
3438
+ var pn = 1024, mn = RegExp("(?=(" + (/* @__PURE__ */ RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y")).source + "))\\1(?=[\\n\\r\\u2028\\u2029]|\\/\\*(?!.*?\\*\\/)|$)", "y"), hn = function() {
3438
3439
  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;
3439
3440
  };
3440
- function hn(e, t) {
3441
+ function gn(e, t) {
3441
3442
  var n = t.key.name, r = e[n], i = "true";
3442
3443
  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);
3443
3444
  }
3444
- function gn(e, t) {
3445
+ function _n(e, t) {
3445
3446
  var n = e.key;
3446
3447
  return !e.computed && (n.type === "Identifier" && n.name === t || n.type === "Literal" && n.value === t);
3447
3448
  }
@@ -3546,7 +3547,7 @@ var U = {
3546
3547
  return "Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got " + e.type + ".";
3547
3548
  },
3548
3549
  LetInLexicalBinding: "'let' is not allowed to be used as a name in 'let' or 'const' declarations."
3549
- }, _n = {
3550
+ }, vn = {
3550
3551
  quot: "\"",
3551
3552
  amp: "&",
3552
3553
  apos: "'",
@@ -3800,43 +3801,43 @@ var U = {
3800
3801
  clubs: "♣",
3801
3802
  hearts: "♥",
3802
3803
  diams: "♦"
3803
- }, vn = /^[\da-fA-F]+$/, yn = /^\d+$/;
3804
- function bn(e) {
3805
- return e && (e.type === "JSXIdentifier" ? e.name : e.type === "JSXNamespacedName" ? e.namespace.name + ":" + e.name.name : e.type === "JSXMemberExpression" ? bn(e.object) + "." + bn(e.property) : void 0);
3804
+ }, yn = /^[\da-fA-F]+$/, bn = /^\d+$/;
3805
+ function xn(e) {
3806
+ return e && (e.type === "JSXIdentifier" ? e.name : e.type === "JSXNamespacedName" ? e.namespace.name + ":" + e.name.name : e.type === "JSXMemberExpression" ? xn(e.object) + "." + xn(e.property) : void 0);
3806
3807
  }
3807
- var xn = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
3808
- function Sn(e) {
3808
+ var Sn = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
3809
+ function Cn(e) {
3809
3810
  if (!e) throw Error("Assert fail");
3810
3811
  }
3811
- function Cn(e) {
3812
+ function wn(e) {
3812
3813
  return e === "accessor";
3813
3814
  }
3814
- function wn(e) {
3815
+ function Tn(e) {
3815
3816
  return e === "in" || e === "out";
3816
3817
  }
3817
- function Tn(e, t) {
3818
+ function En(e, t) {
3818
3819
  return 2 | (e ? 4 : 0) | (t ? 8 : 0);
3819
3820
  }
3820
- function En(e) {
3821
+ function Dn(e) {
3821
3822
  if (e.type !== "MemberExpression") return !1;
3822
3823
  var t = e.property;
3823
- return (!e.computed || !(t.type !== "TemplateLiteral" || t.expressions.length > 0)) && Dn(e.object);
3824
- }
3825
- function Dn(e) {
3826
- return e.type === "Identifier" || e.type === "MemberExpression" && !e.computed && Dn(e.object);
3824
+ return (!e.computed || !(t.type !== "TemplateLiteral" || t.expressions.length > 0)) && On(e.object);
3827
3825
  }
3828
3826
  function On(e) {
3829
- return e === "private" || e === "public" || e === "protected";
3827
+ return e.type === "Identifier" || e.type === "MemberExpression" && !e.computed && On(e.object);
3830
3828
  }
3831
3829
  function kn(e) {
3830
+ return e === "private" || e === "public" || e === "protected";
3831
+ }
3832
+ function An(e) {
3832
3833
  var t = e || {}, n = t.dts, r = n !== void 0 && n, i = t.allowSatisfies, a = i !== void 0 && i;
3833
3834
  return function(t) {
3834
- var n = t.acorn || u, i = dn(n), o = n.tokTypes, s = n.keywordTypes, c = n.isIdentifierStart, l = 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, ne = i.tokenIsKeywordOrIdentifier, y = i.tokenIsTSTypeOperator;
3835
- function b(e, t, n) {
3835
+ var n = t.acorn || d, i = fn(n), o = n.tokTypes, s = n.keywordTypes, c = n.isIdentifierStart, l = n.lineBreak, u = 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, ne = i.tokenIsKeywordOrIdentifier, re = i.tokenIsTSTypeOperator;
3836
+ function y(e, t, n) {
3836
3837
  n === void 0 && (n = e.length);
3837
3838
  for (var r = t; r < n; r++) {
3838
3839
  var i = e.charCodeAt(r);
3839
- if (d(i)) return r < n - 1 && i === 13 && e.charCodeAt(r + 1) === 10 ? r + 2 : r + 1;
3840
+ if (u(i)) return r < n - 1 && i === 13 && e.charCodeAt(r + 1) === 10 ? r + 2 : r + 1;
3840
3841
  }
3841
3842
  return -1;
3842
3843
  }
@@ -3846,7 +3847,7 @@ function kn(e) {
3846
3847
  function t() {
3847
3848
  return e.apply(this, arguments) || this;
3848
3849
  }
3849
- on(t, e);
3850
+ sn(t, e);
3850
3851
  var n = t.prototype;
3851
3852
  return n.takeDecorators = function(e) {
3852
3853
  var t = this.decoratorStack[this.decoratorStack.length - 1];
@@ -3889,7 +3890,7 @@ function kn(e) {
3889
3890
  function t() {
3890
3891
  return e.apply(this, arguments) || this;
3891
3892
  }
3892
- on(t, e);
3893
+ sn(t, e);
3893
3894
  var n = t.prototype;
3894
3895
  return n.jsx_readToken = function() {
3895
3896
  for (var e = "", t = this.pos;;) {
@@ -3922,7 +3923,7 @@ function kn(e) {
3922
3923
  r !== "&" && this.raise(this.pos, "Entity must start with an ampersand");
3923
3924
  for (var i = ++this.pos; this.pos < this.input.length && n++ < 10;) {
3924
3925
  if ((r = this.input[this.pos++]) === ";") {
3925
- t[0] === "#" ? t[1] === "x" ? (t = t.substr(2), vn.test(t) && (e = String.fromCharCode(parseInt(t, 16)))) : (t = t.substr(1), yn.test(t) && (e = String.fromCharCode(parseInt(t, 10)))) : e = _n[t];
3926
+ t[0] === "#" ? t[1] === "x" ? (t = t.substr(2), yn.test(t) && (e = String.fromCharCode(parseInt(t, 16)))) : (t = t.substr(1), bn.test(t) && (e = String.fromCharCode(parseInt(t, 10)))) : e = vn[t];
3926
3927
  break;
3927
3928
  }
3928
3929
  t += r;
@@ -3996,7 +3997,7 @@ function kn(e) {
3996
3997
  break;
3997
3998
  default: this.unexpected();
3998
3999
  }
3999
- bn(s.name) !== bn(o.name) && this.raise(s.start, "Expected corresponding JSX closing tag for <" + bn(o.name) + ">");
4000
+ xn(s.name) !== xn(o.name) && this.raise(s.start, "Expected corresponding JSX closing tag for <" + xn(o.name) + ">");
4000
4001
  }
4001
4002
  var c = o.name ? "Element" : "Fragment";
4002
4003
  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);
@@ -4014,7 +4015,7 @@ function kn(e) {
4014
4015
  function t() {
4015
4016
  return e.apply(this, arguments) || this;
4016
4017
  }
4017
- on(t, e);
4018
+ sn(t, e);
4018
4019
  var n = t.prototype;
4019
4020
  return n.parseMaybeImportAttributes = function(e) {
4020
4021
  if (this.type === i._with || this.type === r.assert) {
@@ -4048,11 +4049,11 @@ function kn(e) {
4048
4049
  errorTemplate: U.InvalidModifierOnTypeParameterPositions
4049
4050
  }), i;
4050
4051
  }
4051
- on(t, e);
4052
- var u, x, S, C = t.prototype;
4053
- return C.getTokenFromCodeInType = function(t) {
4052
+ sn(t, e);
4053
+ var d, b, x, S = t.prototype;
4054
+ return S.getTokenFromCodeInType = function(t) {
4054
4055
  return t === 62 || t === 60 ? this.finishOp(o.relational, 1) : e.prototype.getTokenFromCode.call(this, t);
4055
- }, C.readToken = function(t) {
4056
+ }, S.readToken = function(t) {
4056
4057
  if (!this.inType) {
4057
4058
  var n = this.curContext();
4058
4059
  if (n === h.tc_expr) return this.jsx_readToken();
@@ -4064,13 +4065,13 @@ function kn(e) {
4064
4065
  if (t === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33) return ++this.pos, this.finishToken(m.jsxTagStart);
4065
4066
  }
4066
4067
  return e.prototype.readToken.call(this, t);
4067
- }, C.getTokenFromCode = function(t) {
4068
+ }, S.getTokenFromCode = function(t) {
4068
4069
  return this.inType ? this.getTokenFromCodeInType(t) : t === 64 ? (++this.pos, this.finishToken(m.at)) : e.prototype.getTokenFromCode.call(this, t);
4069
- }, C.isAbstractClass = function() {
4070
+ }, S.isAbstractClass = function() {
4070
4071
  return this.ts_isContextual(m.abstract) && this.lookahead().type === o._class;
4071
- }, C.finishNode = function(t, n) {
4072
+ }, S.finishNode = function(t, n) {
4072
4073
  return t.type !== "" && t.end !== 0 ? t : e.prototype.finishNode.call(this, t, n);
4073
- }, C.tryParse = function(e, t) {
4074
+ }, S.tryParse = function(e, t) {
4074
4075
  t === void 0 && (t = this.cloneCurLookaheadState());
4075
4076
  var n = { node: null };
4076
4077
  try {
@@ -4101,37 +4102,37 @@ function kn(e) {
4101
4102
  };
4102
4103
  throw e;
4103
4104
  }
4104
- }, C.setOptionalParametersError = function(e, t) {
4105
+ }, S.setOptionalParametersError = function(e, t) {
4105
4106
  e.optionalParametersLoc = t?.loc ?? this.startLoc;
4106
- }, C.reScan_lt_gt = function() {
4107
+ }, S.reScan_lt_gt = function() {
4107
4108
  this.type === o.relational && (--this.pos, this.readToken_lt_gt(this.fullCharCodeAtPos()));
4108
- }, C.reScan_lt = function() {
4109
+ }, S.reScan_lt = function() {
4109
4110
  var e = this.type;
4110
4111
  return e === o.bitShift ? (this.pos -= 2, this.finishOp(o.relational, 1), o.relational) : e;
4111
- }, C.resetEndLocation = function(e, t) {
4112
+ }, S.resetEndLocation = function(e, t) {
4112
4113
  t === void 0 && (t = this.lastTokEndLoc), e.end = t.column, e.loc.end = t, this.options.ranges && (e.range[1] = t.column);
4113
- }, C.startNodeAtNode = function(t) {
4114
+ }, S.startNodeAtNode = function(t) {
4114
4115
  return e.prototype.startNodeAt.call(this, t.start, t.loc.start);
4115
- }, C.nextTokenStart = function() {
4116
+ }, S.nextTokenStart = function() {
4116
4117
  return this.nextTokenStartSince(this.pos);
4117
- }, C.tsHasSomeModifiers = function(e, t) {
4118
+ }, S.tsHasSomeModifiers = function(e, t) {
4118
4119
  return t.some(function(t) {
4119
- return On(t) ? e.accessibility === t : !!e[t];
4120
+ return kn(t) ? e.accessibility === t : !!e[t];
4120
4121
  });
4121
- }, C.tsIsStartOfStaticBlocks = function() {
4122
+ }, S.tsIsStartOfStaticBlocks = function() {
4122
4123
  return this.isContextual("static") && this.lookaheadCharCode() === 123;
4123
- }, C.tsCheckForInvalidTypeCasts = function(e) {
4124
+ }, S.tsCheckForInvalidTypeCasts = function(e) {
4124
4125
  var t = this;
4125
4126
  e.forEach(function(e) {
4126
4127
  e?.type === "TSTypeCastExpression" && t.raise(e.typeAnnotation.start, U.UnexpectedTypeAnnotation);
4127
4128
  });
4128
- }, C.atPossibleAsyncArrow = function(e) {
4129
+ }, S.atPossibleAsyncArrow = function(e) {
4129
4130
  return e.type === "Identifier" && e.name === "async" && this.lastTokEndLoc.column === e.end && !this.canInsertSemicolon() && e.end - e.start == 5 && e.start === this.potentialArrowAt;
4130
- }, C.tsIsIdentifier = function() {
4131
+ }, S.tsIsIdentifier = function() {
4131
4132
  return v(this.type);
4132
- }, C.tsTryParseTypeOrTypePredicateAnnotation = function() {
4133
+ }, S.tsTryParseTypeOrTypePredicateAnnotation = function() {
4133
4134
  return this.match(o.colon) ? this.tsParseTypeOrTypePredicateAnnotation(o.colon) : void 0;
4134
- }, C.tsTryParseGenericAsyncArrowFunction = function(t, n, r) {
4135
+ }, S.tsTryParseGenericAsyncArrowFunction = function(t, n, r) {
4135
4136
  var i = this;
4136
4137
  if (this.tsMatchLeftRelational()) {
4137
4138
  var a = this.maybeInArrowParameters;
@@ -4142,9 +4143,9 @@ function kn(e) {
4142
4143
  });
4143
4144
  if (this.maybeInArrowParameters = a, s) return e.prototype.parseArrowExpression.call(this, s, null, !0, r);
4144
4145
  }
4145
- }, C.tsParseTypeArgumentsInExpression = function() {
4146
+ }, S.tsParseTypeArgumentsInExpression = function() {
4146
4147
  if (this.reScan_lt() === o.relational) return this.tsParseTypeArguments();
4147
- }, C.tsInNoContext = function(e) {
4148
+ }, S.tsInNoContext = function(e) {
4148
4149
  var t = this.context;
4149
4150
  this.context = [t[0]];
4150
4151
  try {
@@ -4152,30 +4153,30 @@ function kn(e) {
4152
4153
  } finally {
4153
4154
  this.context = t;
4154
4155
  }
4155
- }, C.tsTryParseTypeAnnotation = function() {
4156
+ }, S.tsTryParseTypeAnnotation = function() {
4156
4157
  return this.match(o.colon) ? this.tsParseTypeAnnotation() : void 0;
4157
- }, C.isUnparsedContextual = function(e, t) {
4158
+ }, S.isUnparsedContextual = function(e, t) {
4158
4159
  var n = e + t.length;
4159
4160
  if (this.input.slice(e, n) === t) {
4160
4161
  var r = this.input.charCodeAt(n);
4161
4162
  return !(p(r) || (64512 & r) == 55296);
4162
4163
  }
4163
4164
  return !1;
4164
- }, C.isAbstractConstructorSignature = function() {
4165
+ }, S.isAbstractConstructorSignature = function() {
4165
4166
  return this.ts_isContextual(m.abstract) && this.lookahead().type === o._new;
4166
- }, C.nextTokenStartSince = function(e) {
4167
- return xn.lastIndex = e, xn.test(this.input) ? xn.lastIndex : e;
4168
- }, C.lookaheadCharCode = function() {
4167
+ }, S.nextTokenStartSince = function(e) {
4168
+ return Sn.lastIndex = e, Sn.test(this.input) ? Sn.lastIndex : e;
4169
+ }, S.lookaheadCharCode = function() {
4169
4170
  return this.input.charCodeAt(this.nextTokenStart());
4170
- }, C.compareLookaheadState = function(e, t) {
4171
+ }, S.compareLookaheadState = function(e, t) {
4171
4172
  for (var n = 0, r = Object.keys(e); n < r.length; n++) {
4172
4173
  var i = r[n];
4173
4174
  if (e[i] !== t[i]) return !1;
4174
4175
  }
4175
4176
  return !0;
4176
- }, C.createLookaheadState = function() {
4177
+ }, S.createLookaheadState = function() {
4177
4178
  this.value = null, this.context = [this.curContext()];
4178
- }, C.getCurLookaheadState = function() {
4179
+ }, S.getCurLookaheadState = function() {
4179
4180
  return {
4180
4181
  endLoc: this.endLoc,
4181
4182
  lastTokEnd: this.lastTokEnd,
@@ -4194,7 +4195,7 @@ function kn(e) {
4194
4195
  curPosition: this.curPosition,
4195
4196
  containsEsc: this.containsEsc
4196
4197
  };
4197
- }, C.cloneCurLookaheadState = function() {
4198
+ }, S.cloneCurLookaheadState = function() {
4198
4199
  return {
4199
4200
  pos: this.pos,
4200
4201
  value: this.value,
@@ -4213,43 +4214,43 @@ function kn(e) {
4213
4214
  curPosition: this.curPosition,
4214
4215
  containsEsc: this.containsEsc
4215
4216
  };
4216
- }, C.setLookaheadState = function(e) {
4217
+ }, S.setLookaheadState = function(e) {
4217
4218
  this.pos = e.pos, this.value = e.value, this.endLoc = e.endLoc, this.lastTokEnd = e.lastTokEnd, this.lastTokStart = e.lastTokStart, this.lastTokStartLoc = e.lastTokStartLoc, this.type = e.type, this.start = e.start, this.end = e.end, this.context = e.context, this.startLoc = e.startLoc, this.lastTokEndLoc = e.lastTokEndLoc, this.curLine = e.curLine, this.lineStart = e.lineStart, this.curPosition = e.curPosition, this.containsEsc = e.containsEsc;
4218
- }, C.tsLookAhead = function(e) {
4219
+ }, S.tsLookAhead = function(e) {
4219
4220
  var t = this.getCurLookaheadState(), n = e();
4220
4221
  return this.setLookaheadState(t), n;
4221
- }, C.lookahead = function(e) {
4222
+ }, S.lookahead = function(e) {
4222
4223
  var t = this.getCurLookaheadState();
4223
4224
  if (this.createLookaheadState(), this.isLookahead = !0, e !== void 0) for (var n = 0; n < e; n++) this.nextToken();
4224
4225
  else this.nextToken();
4225
4226
  this.isLookahead = !1;
4226
4227
  var r = this.getCurLookaheadState();
4227
4228
  return this.setLookaheadState(t), r;
4228
- }, C.readWord = function() {
4229
+ }, S.readWord = function() {
4229
4230
  var e = this.readWord1(), t = o.name;
4230
4231
  return this.keywords.test(e) ? t = s[e] : new RegExp(g).test(e) && (t = m[e]), this.finishToken(t, e);
4231
- }, C.skipBlockComment = function() {
4232
+ }, S.skipBlockComment = function() {
4232
4233
  var e;
4233
4234
  this.isLookahead || (e = this.options.onComment && this.curPosition());
4234
4235
  var t = this.pos, n = this.input.indexOf("*/", this.pos += 2);
4235
- if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var r, i = t; (r = b(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
4236
+ if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var r, i = t; (r = y(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
4236
4237
  this.isLookahead || this.options.onComment && this.options.onComment(!0, this.input.slice(t + 2, n), t, this.pos, e, this.curPosition());
4237
- }, C.skipLineComment = function(e) {
4238
+ }, S.skipLineComment = function(e) {
4238
4239
  var t, n = this.pos;
4239
4240
  this.isLookahead || (t = this.options.onComment && this.curPosition());
4240
- for (var r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !d(r);) r = this.input.charCodeAt(++this.pos);
4241
+ for (var r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !u(r);) r = this.input.charCodeAt(++this.pos);
4241
4242
  this.isLookahead || this.options.onComment && this.options.onComment(!1, this.input.slice(n + e, this.pos), n, this.pos, t, this.curPosition());
4242
- }, C.finishToken = function(e, t) {
4243
+ }, S.finishToken = function(e, t) {
4243
4244
  this.preValue = this.value, this.preToken = this.type, this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
4244
4245
  var n = this.type;
4245
4246
  this.type = e, this.value = t, this.isLookahead || this.updateContext(n);
4246
- }, C.resetStartLocation = function(e, t, n) {
4247
+ }, S.resetStartLocation = function(e, t, n) {
4247
4248
  e.start = t, e.loc.start = n, this.options.ranges && (e.range[0] = t);
4248
- }, C.isLineTerminator = function() {
4249
+ }, S.isLineTerminator = function() {
4249
4250
  return this.eat(o.semi) || e.prototype.canInsertSemicolon.call(this);
4250
- }, C.hasFollowingLineBreak = function() {
4251
- return pn.lastIndex = this.end, pn.test(this.input);
4252
- }, C.addExtra = function(e, t, n, r) {
4251
+ }, S.hasFollowingLineBreak = function() {
4252
+ return mn.lastIndex = this.end, mn.test(this.input);
4253
+ }, S.addExtra = function(e, t, n, r) {
4253
4254
  if (r === void 0 && (r = !0), e) {
4254
4255
  var i = e.extra = e.extra || {};
4255
4256
  r ? i[t] = n : Object.defineProperty(i, t, {
@@ -4257,30 +4258,30 @@ function kn(e) {
4257
4258
  value: n
4258
4259
  });
4259
4260
  }
4260
- }, C.isLiteralPropertyName = function() {
4261
+ }, S.isLiteralPropertyName = function() {
4261
4262
  return _(this.type);
4262
- }, C.hasPrecedingLineBreak = function() {
4263
+ }, S.hasPrecedingLineBreak = function() {
4263
4264
  return l.test(this.input.slice(this.lastTokEndLoc.index, this.start));
4264
- }, C.createIdentifier = function(e, t) {
4265
+ }, S.createIdentifier = function(e, t) {
4265
4266
  return e.name = t, this.finishNode(e, "Identifier");
4266
- }, C.resetStartLocationFromNode = function(e, t) {
4267
+ }, S.resetStartLocationFromNode = function(e, t) {
4267
4268
  this.resetStartLocation(e, t.start, t.loc.start);
4268
- }, C.isThisParam = function(e) {
4269
+ }, S.isThisParam = function(e) {
4269
4270
  return e.type === "Identifier" && e.name === "this";
4270
- }, C.isLookaheadContextual = function(e) {
4271
+ }, S.isLookaheadContextual = function(e) {
4271
4272
  var t = this.nextTokenStart();
4272
4273
  return this.isUnparsedContextual(t, e);
4273
- }, C.ts_type_isContextual = function(e, t) {
4274
+ }, S.ts_type_isContextual = function(e, t) {
4274
4275
  return e === t && !this.containsEsc;
4275
- }, C.ts_isContextual = function(e) {
4276
+ }, S.ts_isContextual = function(e) {
4276
4277
  return this.type === e && !this.containsEsc;
4277
- }, C.ts_isContextualWithState = function(e, t) {
4278
+ }, S.ts_isContextualWithState = function(e, t) {
4278
4279
  return e.type === t && !e.containsEsc;
4279
- }, C.isContextualWithState = function(e, t) {
4280
+ }, S.isContextualWithState = function(e, t) {
4280
4281
  return t.type === o.name && t.value === e && !t.containsEsc;
4281
- }, C.tsIsStartOfMappedType = function() {
4282
+ }, S.tsIsStartOfMappedType = function() {
4282
4283
  return this.next(), this.eat(o.plusMin) ? this.ts_isContextual(m.readonly) : (this.ts_isContextual(m.readonly) && this.next(), !!this.match(o.bracketL) && (this.next(), !!this.tsIsIdentifier() && (this.next(), this.match(o._in))));
4283
- }, C.tsInDisallowConditionalTypesContext = function(e) {
4284
+ }, S.tsInDisallowConditionalTypesContext = function(e) {
4284
4285
  var t = this.inDisallowConditionalTypesContext;
4285
4286
  this.inDisallowConditionalTypesContext = !0;
4286
4287
  try {
@@ -4288,19 +4289,19 @@ function kn(e) {
4288
4289
  } finally {
4289
4290
  this.inDisallowConditionalTypesContext = t;
4290
4291
  }
4291
- }, C.tsTryParseType = function() {
4292
+ }, S.tsTryParseType = function() {
4292
4293
  return this.tsEatThenParseType(o.colon);
4293
- }, C.match = function(e) {
4294
+ }, S.match = function(e) {
4294
4295
  return this.type === e;
4295
- }, C.matchJsx = function(e) {
4296
+ }, S.matchJsx = function(e) {
4296
4297
  return this.type === i.tokTypes[e];
4297
- }, C.ts_eatWithState = function(e, t, n) {
4298
+ }, S.ts_eatWithState = function(e, t, n) {
4298
4299
  if (e === n.type) {
4299
4300
  for (var r = 0; r < t; r++) this.next();
4300
4301
  return !0;
4301
4302
  }
4302
4303
  return !1;
4303
- }, C.ts_eatContextualWithState = function(e, t, n) {
4304
+ }, S.ts_eatContextualWithState = function(e, t, n) {
4304
4305
  if (g.test(e)) {
4305
4306
  if (this.ts_isContextualWithState(n, m[e])) {
4306
4307
  for (var r = 0; r < t; r++) this.next();
@@ -4311,37 +4312,37 @@ function kn(e) {
4311
4312
  if (!this.isContextualWithState(e, n)) return !1;
4312
4313
  for (var i = 0; i < t; i++) this.next();
4313
4314
  return !0;
4314
- }, C.canHaveLeadingDecorator = function() {
4315
+ }, S.canHaveLeadingDecorator = function() {
4315
4316
  return this.match(o._class);
4316
- }, C.eatContextual = function(t) {
4317
+ }, S.eatContextual = function(t) {
4317
4318
  return g.test(t) ? !!this.ts_isContextual(m[t]) && (this.next(), !0) : e.prototype.eatContextual.call(this, t);
4318
- }, C.tsIsExternalModuleReference = function() {
4319
+ }, S.tsIsExternalModuleReference = function() {
4319
4320
  return this.isContextual("require") && this.lookaheadCharCode() === 40;
4320
- }, C.tsParseExternalModuleReference = function() {
4321
+ }, S.tsParseExternalModuleReference = function() {
4321
4322
  var e = this.startNode();
4322
4323
  return this.expectContextual("require"), this.expect(o.parenL), this.match(o.string) || this.unexpected(), e.expression = this.parseExprAtom(), this.expect(o.parenR), this.finishNode(e, "TSExternalModuleReference");
4323
- }, C.tsParseEntityName = function(e) {
4324
+ }, S.tsParseEntityName = function(e) {
4324
4325
  e === void 0 && (e = !0);
4325
4326
  for (var t = this.parseIdent(e); this.eat(o.dot);) {
4326
4327
  var n = this.startNodeAtNode(t);
4327
4328
  n.left = t, n.right = this.parseIdent(e), t = this.finishNode(n, "TSQualifiedName");
4328
4329
  }
4329
4330
  return t;
4330
- }, C.tsParseEnumMember = function() {
4331
+ }, S.tsParseEnumMember = function() {
4331
4332
  var e = this.startNode();
4332
4333
  return e.id = this.match(o.string) ? this.parseLiteral(this.value) : this.parseIdent(!0), this.eat(o.eq) && (e.initializer = this.parseMaybeAssign()), this.finishNode(e, "TSEnumMember");
4333
- }, C.tsParseEnumDeclaration = function(e, t) {
4334
+ }, S.tsParseEnumDeclaration = function(e, t) {
4334
4335
  return t === void 0 && (t = {}), t.const && (e.const = !0), t.declare && (e.declare = !0), this.expectContextual("enum"), e.id = this.parseIdent(), this.checkLValSimple(e.id), this.expect(o.braceL), e.members = this.tsParseDelimitedList("EnumMembers", this.tsParseEnumMember.bind(this)), this.expect(o.braceR), this.finishNode(e, "TSEnumDeclaration");
4335
- }, C.tsParseModuleBlock = function() {
4336
+ }, S.tsParseModuleBlock = function() {
4336
4337
  var t = this.startNode();
4337
4338
  for (e.prototype.enterScope.call(this, 512), this.expect(o.braceL), t.body = []; this.type !== o.braceR;) {
4338
4339
  var n = this.parseStatement(null, !0);
4339
4340
  t.body.push(n);
4340
4341
  }
4341
4342
  return this.next(), e.prototype.exitScope.call(this), this.finishNode(t, "TSModuleBlock");
4342
- }, C.tsParseAmbientExternalModuleDeclaration = function(t) {
4343
- 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, fn), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this)) : e.prototype.semicolon.call(this), this.finishNode(t, "TSModuleDeclaration");
4344
- }, C.tsTryParseDeclare = function(e) {
4343
+ }, S.tsParseAmbientExternalModuleDeclaration = function(t) {
4344
+ 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, pn), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this)) : e.prototype.semicolon.call(this), this.finishNode(t, "TSModuleDeclaration");
4345
+ }, S.tsTryParseDeclare = function(e) {
4345
4346
  var t = this;
4346
4347
  if (!this.isLineTerminator()) {
4347
4348
  var n, r = this.type;
@@ -4361,7 +4362,7 @@ function kn(e) {
4361
4362
  return v(r) ? t.tsParseDeclaration(e, t.value, !0) : void 0;
4362
4363
  });
4363
4364
  }
4364
- }, C.tsIsListTerminator = function(e) {
4365
+ }, S.tsIsListTerminator = function(e) {
4365
4366
  switch (e) {
4366
4367
  case "EnumMembers":
4367
4368
  case "TypeMembers": return this.match(o.braceR);
@@ -4369,7 +4370,7 @@ function kn(e) {
4369
4370
  case "TupleElementTypes": return this.match(o.bracketR);
4370
4371
  case "TypeParametersOrArguments": return this.tsMatchRightRelational();
4371
4372
  }
4372
- }, C.tsParseDelimitedListWorker = function(e, t, n, r) {
4373
+ }, S.tsParseDelimitedListWorker = function(e, t, n, r) {
4373
4374
  for (var i = [], a = -1; !this.tsIsListTerminator(e);) {
4374
4375
  a = -1;
4375
4376
  var s = t();
@@ -4382,35 +4383,35 @@ function kn(e) {
4382
4383
  a = this.lastTokStart;
4383
4384
  }
4384
4385
  return r && (r.value = a), i;
4385
- }, C.tsParseDelimitedList = function(e, t, n) {
4386
+ }, S.tsParseDelimitedList = function(e, t, n) {
4386
4387
  return function(e) {
4387
4388
  if (e == null) throw Error("Unexpected " + e + " value.");
4388
4389
  return e;
4389
4390
  }(this.tsParseDelimitedListWorker(e, t, !0, n));
4390
- }, C.tsParseBracketedList = function(e, t, n, r, i) {
4391
+ }, S.tsParseBracketedList = function(e, t, n, r, i) {
4391
4392
  r || this.expect(n ? o.bracketL : o.relational);
4392
4393
  var a = this.tsParseDelimitedList(e, t, i);
4393
4394
  return this.expect(n ? o.bracketR : o.relational), a;
4394
- }, C.tsParseTypeParameterName = function() {
4395
+ }, S.tsParseTypeParameterName = function() {
4395
4396
  return this.parseIdent().name;
4396
- }, C.tsEatThenParseType = function(e) {
4397
+ }, S.tsEatThenParseType = function(e) {
4397
4398
  return this.match(e) ? this.tsNextThenParseType() : void 0;
4398
- }, C.tsExpectThenParseType = function(e) {
4399
+ }, S.tsExpectThenParseType = function(e) {
4399
4400
  var t = this;
4400
4401
  return this.tsDoThenParseType(function() {
4401
4402
  return t.expect(e);
4402
4403
  });
4403
- }, C.tsNextThenParseType = function() {
4404
+ }, S.tsNextThenParseType = function() {
4404
4405
  var e = this;
4405
4406
  return this.tsDoThenParseType(function() {
4406
4407
  return e.next();
4407
4408
  });
4408
- }, C.tsDoThenParseType = function(e) {
4409
+ }, S.tsDoThenParseType = function(e) {
4409
4410
  var t = this;
4410
4411
  return this.tsInType(function() {
4411
4412
  return e(), t.tsParseType();
4412
4413
  });
4413
- }, C.tsSkipParameterStart = function() {
4414
+ }, S.tsSkipParameterStart = function() {
4414
4415
  if (v(this.type) || this.match(o._this)) return this.next(), !0;
4415
4416
  if (this.match(o.braceL)) try {
4416
4417
  return this.parseObj(!0), !0;
@@ -4426,11 +4427,11 @@ function kn(e) {
4426
4427
  }
4427
4428
  }
4428
4429
  return !1;
4429
- }, C.tsIsUnambiguouslyStartOfFunctionType = function() {
4430
+ }, S.tsIsUnambiguouslyStartOfFunctionType = function() {
4430
4431
  return this.next(), !!(this.match(o.parenR) || this.match(o.ellipsis) || this.tsSkipParameterStart() && (this.match(o.colon) || this.match(o.comma) || this.match(o.question) || this.match(o.eq) || this.match(o.parenR) && (this.next(), this.match(o.arrow))));
4431
- }, C.tsIsStartOfFunctionType = function() {
4432
+ }, S.tsIsStartOfFunctionType = function() {
4432
4433
  return !!this.tsMatchLeftRelational() || this.match(o.parenL) && this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this));
4433
- }, C.tsInAllowConditionalTypesContext = function(e) {
4434
+ }, S.tsInAllowConditionalTypesContext = function(e) {
4434
4435
  var t = this.inDisallowConditionalTypesContext;
4435
4436
  this.inDisallowConditionalTypesContext = !1;
4436
4437
  try {
@@ -4438,34 +4439,34 @@ function kn(e) {
4438
4439
  } finally {
4439
4440
  this.inDisallowConditionalTypesContext = t;
4440
4441
  }
4441
- }, C.tsParseBindingListForSignature = function() {
4442
+ }, S.tsParseBindingListForSignature = function() {
4442
4443
  var t = this;
4443
4444
  return e.prototype.parseBindingList.call(this, o.parenR, !0, !0).map(function(e) {
4444
4445
  return e.type !== "Identifier" && e.type !== "RestElement" && e.type !== "ObjectPattern" && e.type !== "ArrayPattern" && t.raise(e.start, U.UnsupportedSignatureParameterKind(e.type)), e;
4445
4446
  });
4446
- }, C.tsParseTypePredicateAsserts = function() {
4447
+ }, S.tsParseTypePredicateAsserts = function() {
4447
4448
  if (this.type !== m.asserts) return !1;
4448
4449
  var e = this.containsEsc;
4449
4450
  return this.next(), !(!v(this.type) && !this.match(o._this) || (e && this.raise(this.lastTokStart, "Escape sequence in keyword asserts"), 0));
4450
- }, C.tsParseThisTypeNode = function() {
4451
+ }, S.tsParseThisTypeNode = function() {
4451
4452
  var e = this.startNode();
4452
4453
  return this.next(), this.finishNode(e, "TSThisType");
4453
- }, C.tsParseTypeAnnotation = function(e, t) {
4454
+ }, S.tsParseTypeAnnotation = function(e, t) {
4454
4455
  var n = this;
4455
4456
  return e === void 0 && (e = !0), t === void 0 && (t = this.startNode()), this.tsInType(function() {
4456
4457
  e && n.expect(o.colon), t.typeAnnotation = n.tsParseType();
4457
4458
  }), this.finishNode(t, "TSTypeAnnotation");
4458
- }, C.tsParseThisTypePredicate = function(e) {
4459
+ }, S.tsParseThisTypePredicate = function(e) {
4459
4460
  this.next();
4460
4461
  var t = this.startNodeAtNode(e);
4461
4462
  return t.parameterName = e, t.typeAnnotation = this.tsParseTypeAnnotation(!1), t.asserts = !1, this.finishNode(t, "TSTypePredicate");
4462
- }, C.tsParseThisTypeOrThisTypePredicate = function() {
4463
+ }, S.tsParseThisTypeOrThisTypePredicate = function() {
4463
4464
  var e = this.tsParseThisTypeNode();
4464
4465
  return this.isContextual("is") && !this.hasPrecedingLineBreak() ? this.tsParseThisTypePredicate(e) : e;
4465
- }, C.tsParseTypePredicatePrefix = function() {
4466
+ }, S.tsParseTypePredicatePrefix = function() {
4466
4467
  var e = this.parseIdent();
4467
4468
  if (this.isContextual("is") && !this.hasPrecedingLineBreak()) return this.next(), e;
4468
- }, C.tsParseTypeOrTypePredicateAnnotation = function(e) {
4469
+ }, S.tsParseTypeOrTypePredicateAnnotation = function(e) {
4469
4470
  var t = this;
4470
4471
  return this.tsInType(function() {
4471
4472
  var n = t.startNode();
@@ -4480,35 +4481,35 @@ function kn(e) {
4480
4481
  var c = t.tsParseTypeAnnotation(!1);
4481
4482
  return r.parameterName = s, r.typeAnnotation = c, r.asserts = i, n.typeAnnotation = t.finishNode(r, "TSTypePredicate"), t.finishNode(n, "TSTypeAnnotation");
4482
4483
  });
4483
- }, C.tsFillSignature = function(e, t) {
4484
+ }, S.tsFillSignature = function(e, t) {
4484
4485
  var n = e === o.arrow;
4485
4486
  t.typeParameters = this.tsTryParseTypeParameters(), this.expect(o.parenL), t.parameters = this.tsParseBindingListForSignature(), (n || this.match(e)) && (t.typeAnnotation = this.tsParseTypeOrTypePredicateAnnotation(e));
4486
- }, C.tsTryNextParseConstantContext = function() {
4487
+ }, S.tsTryNextParseConstantContext = function() {
4487
4488
  if (this.lookahead().type !== o._const) return null;
4488
4489
  this.next();
4489
4490
  var e = this.tsParseTypeReference();
4490
4491
  return e.typeParameters && this.raise(e.typeName.start, U.CannotFindName({ name: "const" })), e;
4491
- }, C.tsParseFunctionOrConstructorType = function(e, t) {
4492
+ }, S.tsParseFunctionOrConstructorType = function(e, t) {
4492
4493
  var n = this, r = this.startNode();
4493
4494
  return e === "TSConstructorType" && (r.abstract = !!t, t && this.next(), this.next()), this.tsInAllowConditionalTypesContext(function() {
4494
4495
  return n.tsFillSignature(o.arrow, r);
4495
4496
  }), this.finishNode(r, e);
4496
- }, C.tsParseUnionOrIntersectionType = function(e, t, n) {
4497
+ }, S.tsParseUnionOrIntersectionType = function(e, t, n) {
4497
4498
  var r = this.startNode(), i = this.eat(n), a = [];
4498
4499
  do
4499
4500
  a.push(t());
4500
4501
  while (this.eat(n));
4501
4502
  return a.length !== 1 || i ? (r.types = a, this.finishNode(r, e)) : a[0];
4502
- }, C.tsCheckTypeAnnotationForReadOnly = function(e) {
4503
+ }, S.tsCheckTypeAnnotationForReadOnly = function(e) {
4503
4504
  switch (e.typeAnnotation.type) {
4504
4505
  case "TSTupleType":
4505
4506
  case "TSArrayType": return;
4506
4507
  default: this.raise(e.start, U.UnexpectedReadonly);
4507
4508
  }
4508
- }, C.tsParseTypeOperator = function() {
4509
+ }, S.tsParseTypeOperator = function() {
4509
4510
  var e = this.startNode(), t = this.value;
4510
4511
  return this.next(), e.operator = t, e.typeAnnotation = this.tsParseTypeOperatorOrHigher(), t === "readonly" && this.tsCheckTypeAnnotationForReadOnly(e), this.finishNode(e, "TSTypeOperator");
4511
- }, C.tsParseConstraintForInferType = function() {
4512
+ }, S.tsParseConstraintForInferType = function() {
4512
4513
  var e = this;
4513
4514
  if (this.eat(o._extends)) {
4514
4515
  var t = this.tsInDisallowConditionalTypesContext(function() {
@@ -4516,14 +4517,14 @@ function kn(e) {
4516
4517
  });
4517
4518
  if (this.inDisallowConditionalTypesContext || !this.match(o.question)) return t;
4518
4519
  }
4519
- }, C.tsParseInferType = function() {
4520
+ }, S.tsParseInferType = function() {
4520
4521
  var e = this, t = this.startNode();
4521
4522
  this.expectContextual("infer");
4522
4523
  var n = this.startNode();
4523
4524
  return n.name = this.tsParseTypeParameterName(), n.constraint = this.tsTryParse(function() {
4524
4525
  return e.tsParseConstraintForInferType();
4525
4526
  }), t.typeParameter = this.finishNode(n, "TSTypeParameter"), this.finishNode(t, "TSInferType");
4526
- }, C.tsParseLiteralTypeNode = function() {
4527
+ }, S.tsParseLiteralTypeNode = function() {
4527
4528
  var e = this, t = this.startNode();
4528
4529
  return t.literal = function() {
4529
4530
  switch (e.type) {
@@ -4534,22 +4535,22 @@ function kn(e) {
4534
4535
  default: e.unexpected();
4535
4536
  }
4536
4537
  }(), this.finishNode(t, "TSLiteralType");
4537
- }, C.tsParseImportType = function() {
4538
+ }, S.tsParseImportType = function() {
4538
4539
  var e = this.startNode();
4539
4540
  return this.expect(o._import), this.expect(o.parenL), this.match(o.string) || this.raise(this.start, U.UnsupportedImportTypeArgument), e.argument = this.parseExprAtom(), this.expect(o.parenR), this.eat(o.dot) && (e.qualifier = this.tsParseEntityName()), this.tsMatchLeftRelational() && (e.typeParameters = this.tsParseTypeArguments()), this.finishNode(e, "TSImportType");
4540
- }, C.tsParseTypeQuery = function() {
4541
+ }, S.tsParseTypeQuery = function() {
4541
4542
  var e = this.startNode();
4542
4543
  return this.expect(o._typeof), e.exprName = this.match(o._import) ? this.tsParseImportType() : this.tsParseEntityName(), !this.hasPrecedingLineBreak() && this.tsMatchLeftRelational() && (e.typeParameters = this.tsParseTypeArguments()), this.finishNode(e, "TSTypeQuery");
4543
- }, C.tsParseMappedTypeParameter = function() {
4544
+ }, S.tsParseMappedTypeParameter = function() {
4544
4545
  var e = this.startNode();
4545
4546
  return e.name = this.tsParseTypeParameterName(), e.constraint = this.tsExpectThenParseType(o._in), this.finishNode(e, "TSTypeParameter");
4546
- }, C.tsParseMappedType = function() {
4547
+ }, S.tsParseMappedType = function() {
4547
4548
  var e = this.startNode();
4548
4549
  return this.expect(o.braceL), this.match(o.plusMin) ? (e.readonly = this.value, this.next(), this.expectContextual("readonly")) : this.eatContextual("readonly") && (e.readonly = !0), this.expect(o.bracketL), e.typeParameter = this.tsParseMappedTypeParameter(), e.nameType = this.eatContextual("as") ? this.tsParseType() : null, this.expect(o.bracketR), this.match(o.plusMin) ? (e.optional = this.value, this.next(), this.expect(o.question)) : this.eat(o.question) && (e.optional = !0), e.typeAnnotation = this.tsTryParseType(), this.semicolon(), this.expect(o.braceR), this.finishNode(e, "TSMappedType");
4549
- }, C.tsParseTypeLiteral = function() {
4550
+ }, S.tsParseTypeLiteral = function() {
4550
4551
  var e = this.startNode();
4551
4552
  return e.members = this.tsParseObjectTypeMembers(), this.finishNode(e, "TSTypeLiteral");
4552
- }, C.tsParseTupleElementType = function() {
4553
+ }, S.tsParseTupleElementType = function() {
4553
4554
  var e = this.startLoc, t = this.start, n = this.eat(o.ellipsis), r = this.tsParseType(), i = this.eat(o.question);
4554
4555
  if (this.eat(o.colon)) {
4555
4556
  var a = this.startNodeAtNode(r);
@@ -4563,7 +4564,7 @@ function kn(e) {
4563
4564
  c.typeAnnotation = r, r = this.finishNode(c, "TSRestType");
4564
4565
  }
4565
4566
  return r;
4566
- }, C.tsParseTupleType = function() {
4567
+ }, S.tsParseTupleType = function() {
4567
4568
  var e = this, t = this.startNode();
4568
4569
  t.elementTypes = this.tsParseBracketedList("TupleElementTypes", this.tsParseTupleElementType.bind(this), !0, !1);
4569
4570
  var n = !1, r = null;
@@ -4575,20 +4576,20 @@ function kn(e) {
4575
4576
  var o = a === "TSNamedTupleMember";
4576
4577
  r ??= o, r !== o && e.raise(t.start, U.MixedLabeledAndUnlabeledElements);
4577
4578
  }), this.finishNode(t, "TSTupleType");
4578
- }, C.tsParseTemplateLiteralType = function() {
4579
+ }, S.tsParseTemplateLiteralType = function() {
4579
4580
  var e = this.startNode();
4580
4581
  return e.literal = this.parseTemplate({ isTagged: !1 }), this.finishNode(e, "TSLiteralType");
4581
- }, C.tsParseTypeReference = function() {
4582
+ }, S.tsParseTypeReference = function() {
4582
4583
  var e = this.startNode();
4583
4584
  return e.typeName = this.tsParseEntityName(), !this.hasPrecedingLineBreak() && this.tsMatchLeftRelational() && (e.typeParameters = this.tsParseTypeArguments()), this.finishNode(e, "TSTypeReference");
4584
- }, C.tsMatchLeftRelational = function() {
4585
+ }, S.tsMatchLeftRelational = function() {
4585
4586
  return this.match(o.relational) && this.value === "<";
4586
- }, C.tsMatchRightRelational = function() {
4587
+ }, S.tsMatchRightRelational = function() {
4587
4588
  return this.match(o.relational) && this.value === ">";
4588
- }, C.tsParseParenthesizedType = function() {
4589
+ }, S.tsParseParenthesizedType = function() {
4589
4590
  var e = this.startNode();
4590
4591
  return this.expect(o.parenL), e.typeAnnotation = this.tsParseType(), this.expect(o.parenR), this.finishNode(e, "TSParenthesizedType");
4591
- }, C.tsParseNonArrayType = function() {
4592
+ }, S.tsParseNonArrayType = function() {
4592
4593
  switch (this.type) {
4593
4594
  case o.string:
4594
4595
  case o.num:
@@ -4634,7 +4635,7 @@ function kn(e) {
4634
4635
  }
4635
4636
  }
4636
4637
  this.unexpected();
4637
- }, C.tsParseArrayTypeOrHigher = function() {
4638
+ }, S.tsParseArrayTypeOrHigher = function() {
4638
4639
  for (var e = this.tsParseNonArrayType(); !this.hasPrecedingLineBreak() && this.eat(o.bracketL);) if (this.match(o.bracketR)) {
4639
4640
  var t = this.startNodeAtNode(e);
4640
4641
  t.elementType = e, this.expect(o.bracketR), e = this.finishNode(t, "TSArrayType");
@@ -4643,20 +4644,20 @@ function kn(e) {
4643
4644
  n.objectType = e, n.indexType = this.tsParseType(), this.expect(o.bracketR), e = this.finishNode(n, "TSIndexedAccessType");
4644
4645
  }
4645
4646
  return e;
4646
- }, C.tsParseTypeOperatorOrHigher = function() {
4647
+ }, S.tsParseTypeOperatorOrHigher = function() {
4647
4648
  var e = this;
4648
- return y(this.type) && !this.containsEsc ? this.tsParseTypeOperator() : this.isContextual("infer") ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(function() {
4649
+ return re(this.type) && !this.containsEsc ? this.tsParseTypeOperator() : this.isContextual("infer") ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(function() {
4649
4650
  return e.tsParseArrayTypeOrHigher();
4650
4651
  });
4651
- }, C.tsParseIntersectionTypeOrHigher = function() {
4652
+ }, S.tsParseIntersectionTypeOrHigher = function() {
4652
4653
  return this.tsParseUnionOrIntersectionType("TSIntersectionType", this.tsParseTypeOperatorOrHigher.bind(this), o.bitwiseAND);
4653
- }, C.tsParseUnionTypeOrHigher = function() {
4654
+ }, S.tsParseUnionTypeOrHigher = function() {
4654
4655
  return this.tsParseUnionOrIntersectionType("TSUnionType", this.tsParseIntersectionTypeOrHigher.bind(this), o.bitwiseOR);
4655
- }, C.tsParseNonConditionalType = function() {
4656
+ }, S.tsParseNonConditionalType = function() {
4656
4657
  return this.tsIsStartOfFunctionType() ? this.tsParseFunctionOrConstructorType("TSFunctionType") : this.match(o._new) ? this.tsParseFunctionOrConstructorType("TSConstructorType") : this.isAbstractConstructorSignature() ? this.tsParseFunctionOrConstructorType("TSConstructorType", !0) : this.tsParseUnionTypeOrHigher();
4657
- }, C.tsParseType = function() {
4658
+ }, S.tsParseType = function() {
4658
4659
  var e = this;
4659
- Sn(this.inType);
4660
+ Cn(this.inType);
4660
4661
  var t = this.tsParseNonConditionalType();
4661
4662
  if (this.inDisallowConditionalTypesContext || this.hasPrecedingLineBreak() || !this.eat(o._extends)) return t;
4662
4663
  var n = this.startNodeAtNode(t);
@@ -4667,9 +4668,9 @@ function kn(e) {
4667
4668
  }), this.expect(o.colon), n.falseType = this.tsInAllowConditionalTypesContext(function() {
4668
4669
  return e.tsParseType();
4669
4670
  }), this.finishNode(n, "TSConditionalType");
4670
- }, C.tsIsUnambiguouslyIndexSignature = function() {
4671
+ }, S.tsIsUnambiguouslyIndexSignature = function() {
4671
4672
  return this.next(), !!v(this.type) && (this.next(), this.match(o.colon));
4672
- }, C.tsInType = function(e) {
4673
+ }, S.tsInType = function(e) {
4673
4674
  var t = this.inType;
4674
4675
  this.inType = !0;
4675
4676
  try {
@@ -4677,7 +4678,7 @@ function kn(e) {
4677
4678
  } finally {
4678
4679
  this.inType = t;
4679
4680
  }
4680
- }, C.tsTryParseIndexSignature = function(e) {
4681
+ }, S.tsTryParseIndexSignature = function(e) {
4681
4682
  if (this.match(o.bracketL) && this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))) {
4682
4683
  this.expect(o.bracketL);
4683
4684
  var t = this.parseIdent();
@@ -4685,32 +4686,32 @@ function kn(e) {
4685
4686
  var n = this.tsTryParseTypeAnnotation();
4686
4687
  return n && (e.typeAnnotation = n), this.tsParseTypeMemberSemicolon(), this.finishNode(e, "TSIndexSignature");
4687
4688
  }
4688
- }, C.tsParseNoneModifiers = function(e) {
4689
+ }, S.tsParseNoneModifiers = function(e) {
4689
4690
  this.tsParseModifiers({
4690
4691
  modified: e,
4691
4692
  allowedModifiers: [],
4692
4693
  disallowedModifiers: ["in", "out"],
4693
4694
  errorTemplate: U.InvalidModifierOnTypeParameterPositions
4694
4695
  });
4695
- }, C.tsParseTypeParameter = function(e) {
4696
+ }, S.tsParseTypeParameter = function(e) {
4696
4697
  e === void 0 && (e = this.tsParseNoneModifiers.bind(this));
4697
4698
  var t = this.startNode();
4698
4699
  return e(t), t.name = this.tsParseTypeParameterName(), t.constraint = this.tsEatThenParseType(o._extends), t.default = this.tsEatThenParseType(o.eq), this.finishNode(t, "TSTypeParameter");
4699
- }, C.tsParseTypeParameters = function(e) {
4700
+ }, S.tsParseTypeParameters = function(e) {
4700
4701
  var t = this.startNode();
4701
4702
  this.tsMatchLeftRelational() || this.matchJsx("jsxTagStart") ? this.next() : this.unexpected();
4702
4703
  var n = { value: -1 };
4703
4704
  return t.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this, e), !1, !0, n), t.params.length === 0 && this.raise(this.start, U.EmptyTypeParameters), n.value !== -1 && this.addExtra(t, "trailingComma", n.value), this.finishNode(t, "TSTypeParameterDeclaration");
4704
- }, C.tsTryParseTypeParameters = function(e) {
4705
+ }, S.tsTryParseTypeParameters = function(e) {
4705
4706
  if (this.tsMatchLeftRelational()) return this.tsParseTypeParameters(e);
4706
- }, C.tsTryParse = function(e) {
4707
+ }, S.tsTryParse = function(e) {
4707
4708
  var t = this.getCurLookaheadState(), n = e();
4708
4709
  return n !== void 0 && !1 !== n ? n : void this.setLookaheadState(t);
4709
- }, C.tsTokenCanFollowModifier = function() {
4710
+ }, S.tsTokenCanFollowModifier = function() {
4710
4711
  return (this.match(o.bracketL) || this.match(o.braceL) || this.match(o.star) || this.match(o.ellipsis) || this.match(o.privateId) || this.isLiteralPropertyName()) && !this.hasPrecedingLineBreak();
4711
- }, C.tsNextTokenCanFollowModifier = function() {
4712
+ }, S.tsNextTokenCanFollowModifier = function() {
4712
4713
  return this.next(!0), this.tsTokenCanFollowModifier();
4713
- }, C.tsParseModifier = function(e, t) {
4714
+ }, S.tsParseModifier = function(e, t) {
4714
4715
  if (v(this.type) || this.type === o._in) {
4715
4716
  var n = this.value;
4716
4717
  if (e.indexOf(n) !== -1 && !this.containsEsc) {
@@ -4718,12 +4719,12 @@ function kn(e) {
4718
4719
  if (this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))) return n;
4719
4720
  }
4720
4721
  }
4721
- }, C.tsParseModifiersByMap = function(e) {
4722
+ }, S.tsParseModifiersByMap = function(e) {
4722
4723
  for (var t = e.modified, n = e.map, r = 0, i = Object.keys(n); r < i.length; r++) {
4723
4724
  var a = i[r];
4724
4725
  t[a] = n[a];
4725
4726
  }
4726
- }, C.tsParseModifiers = function(e) {
4727
+ }, S.tsParseModifiers = function(e) {
4727
4728
  for (var t = this, n = e.modified, r = e.allowedModifiers, i = e.disallowedModifiers, a = e.stopOnStartOfClassStaticBlock, o = e.errorTemplate, s = o === void 0 ? U.InvalidModifierOnTypeMember : o, c = {}, l = function(e, r, i, a) {
4728
4729
  r === i && n[a] && t.raise(e.column, U.InvalidModifiersOrder({ orderedModifiers: [i, a] }));
4729
4730
  }, u = function(e, r, i, a) {
@@ -4731,10 +4732,10 @@ function kn(e) {
4731
4732
  };;) {
4732
4733
  var d = this.startLoc, f = this.tsParseModifier(r.concat(i ?? []), a);
4733
4734
  if (!f) break;
4734
- On(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) : wn(f) ? n[f] ? this.raise(this.start, U.DuplicateModifier({ modifier: f })) : (l(d, f, "in", "out"), c[f] = f, n[f] = !0) : Cn(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);
4735
+ kn(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) : Tn(f) ? n[f] ? this.raise(this.start, U.DuplicateModifier({ modifier: f })) : (l(d, f, "in", "out"), c[f] = f, n[f] = !0) : wn(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);
4735
4736
  }
4736
4737
  return c;
4737
- }, C.tsParseInOutModifiers = function(e) {
4738
+ }, S.tsParseInOutModifiers = function(e) {
4738
4739
  this.tsParseModifiers({
4739
4740
  modified: e,
4740
4741
  allowedModifiers: ["in", "out"],
@@ -4749,29 +4750,29 @@ function kn(e) {
4749
4750
  ],
4750
4751
  errorTemplate: U.InvalidModifierOnTypeParameter
4751
4752
  });
4752
- }, C.tsParseTypeArguments = function() {
4753
+ }, S.tsParseTypeArguments = function() {
4753
4754
  var e = this, t = this.startNode();
4754
4755
  return t.params = this.tsInType(function() {
4755
4756
  return e.tsInNoContext(function() {
4756
4757
  return e.expect(o.relational), e.tsParseDelimitedList("TypeParametersOrArguments", e.tsParseType.bind(e));
4757
4758
  });
4758
4759
  }), t.params.length === 0 && this.raise(this.start, U.EmptyTypeArguments), this.exprAllowed = !1, this.expect(o.relational), this.finishNode(t, "TSTypeParameterInstantiation");
4759
- }, C.tsParseHeritageClause = function(e) {
4760
+ }, S.tsParseHeritageClause = function(e) {
4760
4761
  var t = this, n = this.start, r = this.tsParseDelimitedList("HeritageClauseElement", function() {
4761
4762
  var e = t.startNode();
4762
4763
  return e.expression = t.tsParseEntityName(), t.tsMatchLeftRelational() && (e.typeParameters = t.tsParseTypeArguments()), t.finishNode(e, "TSExpressionWithTypeArguments");
4763
4764
  });
4764
4765
  return r.length || this.raise(n, U.EmptyHeritageClauseType({ token: e })), r;
4765
- }, C.tsParseTypeMemberSemicolon = function() {
4766
+ }, S.tsParseTypeMemberSemicolon = function() {
4766
4767
  this.eat(o.comma) || this.isLineTerminator() || this.expect(o.semi);
4767
- }, C.tsTryParseAndCatch = function(e) {
4768
+ }, S.tsTryParseAndCatch = function(e) {
4768
4769
  var t = this.tryParse(function(t) {
4769
4770
  return e() || t();
4770
4771
  });
4771
4772
  if (!t.aborted && t.node) return t.error && this.setLookaheadState(t.failState), t.node;
4772
- }, C.tsParseSignatureMember = function(e, t) {
4773
+ }, S.tsParseSignatureMember = function(e, t) {
4773
4774
  return this.tsFillSignature(o.colon, t), this.tsParseTypeMemberSemicolon(), this.finishNode(t, e);
4774
- }, C.tsParsePropertyOrMethodSignature = function(e, t) {
4775
+ }, S.tsParsePropertyOrMethodSignature = function(e, t) {
4775
4776
  this.eat(o.question) && (e.optional = !0);
4776
4777
  var n = e;
4777
4778
  if (this.match(o.parenL) || this.tsMatchLeftRelational()) {
@@ -4794,7 +4795,7 @@ function kn(e) {
4794
4795
  t && (c.readonly = !0);
4795
4796
  var l = this.tsTryParseTypeAnnotation();
4796
4797
  return l && (c.typeAnnotation = l), this.tsParseTypeMemberSemicolon(), this.finishNode(c, "TSPropertySignature");
4797
- }, C.tsParseTypeMember = function() {
4798
+ }, S.tsParseTypeMember = function() {
4798
4799
  var e = this.startNode();
4799
4800
  if (this.match(o.parenL) || this.tsMatchLeftRelational()) return this.tsParseSignatureMember("TSCallSignatureDeclaration", e);
4800
4801
  if (this.match(o._new)) {
@@ -4814,26 +4815,26 @@ function kn(e) {
4814
4815
  "override"
4815
4816
  ]
4816
4817
  }), this.tsTryParseIndexSignature(e) || (this.parsePropertyName(e), e.computed || e.key.type !== "Identifier" || e.key.name !== "get" && e.key.name !== "set" || !this.tsTokenCanFollowModifier() || (e.kind = e.key.name, this.parsePropertyName(e)), this.tsParsePropertyOrMethodSignature(e, !!e.readonly));
4817
- }, C.tsParseList = function(e, t) {
4818
+ }, S.tsParseList = function(e, t) {
4818
4819
  for (var n = []; !this.tsIsListTerminator(e);) n.push(t());
4819
4820
  return n;
4820
- }, C.tsParseObjectTypeMembers = function() {
4821
+ }, S.tsParseObjectTypeMembers = function() {
4821
4822
  this.expect(o.braceL);
4822
4823
  var e = this.tsParseList("TypeMembers", this.tsParseTypeMember.bind(this));
4823
4824
  return this.expect(o.braceR), e;
4824
- }, C.tsParseInterfaceDeclaration = function(e, t) {
4825
+ }, S.tsParseInterfaceDeclaration = function(e, t) {
4825
4826
  if (t === void 0 && (t = {}), this.hasFollowingLineBreak()) return null;
4826
4827
  this.expectContextual("interface"), t.declare && (e.declare = !0), v(this.type) ? (e.id = this.parseIdent(), this.checkLValSimple(e.id, 7)) : (e.id = null, this.raise(this.start, U.MissingInterfaceName)), e.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)), this.eat(o._extends) && (e.extends = this.tsParseHeritageClause("extends"));
4827
4828
  var n = this.startNode();
4828
4829
  return n.body = this.tsInType(this.tsParseObjectTypeMembers.bind(this)), e.body = this.finishNode(n, "TSInterfaceBody"), this.finishNode(e, "TSInterfaceDeclaration");
4829
- }, C.tsParseAbstractDeclaration = function(e) {
4830
+ }, S.tsParseAbstractDeclaration = function(e) {
4830
4831
  if (this.match(o._class)) return e.abstract = !0, this.parseClass(e, !0);
4831
4832
  if (this.ts_isContextual(m.interface)) {
4832
4833
  if (!this.hasFollowingLineBreak()) return e.abstract = !0, this.tsParseInterfaceDeclaration(e);
4833
4834
  } else this.unexpected(e.start);
4834
- }, C.tsIsDeclarationStart = function() {
4835
+ }, S.tsIsDeclarationStart = function() {
4835
4836
  return te(this.type);
4836
- }, C.tsParseExpressionStatement = function(t, n) {
4837
+ }, S.tsParseExpressionStatement = function(t, n) {
4837
4838
  switch (n.name) {
4838
4839
  case "declare":
4839
4840
  var r = this.tsTryParseDeclare(t);
@@ -4841,16 +4842,16 @@ function kn(e) {
4841
4842
  break;
4842
4843
  case "global":
4843
4844
  if (this.match(o.braceL)) {
4844
- e.prototype.enterScope.call(this, fn);
4845
+ e.prototype.enterScope.call(this, pn);
4845
4846
  var i = t;
4846
4847
  return i.global = !0, i.id = n, i.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this), this.finishNode(i, "TSModuleDeclaration");
4847
4848
  }
4848
4849
  break;
4849
4850
  default: return this.tsParseDeclaration(t, n.name, !1);
4850
4851
  }
4851
- }, C.tsParseModuleReference = function() {
4852
+ }, S.tsParseModuleReference = function() {
4852
4853
  return this.tsIsExternalModuleReference() ? this.tsParseExternalModuleReference() : this.tsParseEntityName(!1);
4853
- }, C.tsIsExportDefaultSpecifier = function() {
4854
+ }, S.tsIsExportDefaultSpecifier = function() {
4854
4855
  var e = this.type, t = this.isAsyncFunction(), n = this.isLet();
4855
4856
  if (v(e)) {
4856
4857
  if (t && !this.containsEsc || n) return !1;
@@ -4866,7 +4867,7 @@ function kn(e) {
4866
4867
  return s === 34 || s === 39;
4867
4868
  }
4868
4869
  return !1;
4869
- }, C.tsInAmbientContext = function(e) {
4870
+ }, S.tsInAmbientContext = function(e) {
4870
4871
  var t = this.isAmbientContext;
4871
4872
  this.isAmbientContext = !0;
4872
4873
  try {
@@ -4874,17 +4875,17 @@ function kn(e) {
4874
4875
  } finally {
4875
4876
  this.isAmbientContext = t;
4876
4877
  }
4877
- }, C.tsCheckLineTerminator = function(e) {
4878
+ }, S.tsCheckLineTerminator = function(e) {
4878
4879
  return e ? !this.hasFollowingLineBreak() && (this.next(), !0) : !this.isLineTerminator();
4879
- }, C.tsParseModuleOrNamespaceDeclaration = function(t, n) {
4880
+ }, S.tsParseModuleOrNamespaceDeclaration = function(t, n) {
4880
4881
  if (n === void 0 && (n = !1), t.id = this.parseIdent(), n || this.checkLValSimple(t.id, 8), this.eat(o.dot)) {
4881
4882
  var r = this.startNode();
4882
4883
  this.tsParseModuleOrNamespaceDeclaration(r, !0), t.body = r;
4883
- } else e.prototype.enterScope.call(this, fn), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this);
4884
+ } else e.prototype.enterScope.call(this, pn), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this);
4884
4885
  return this.finishNode(t, "TSModuleDeclaration");
4885
- }, C.checkLValSimple = function(t, n, r) {
4886
+ }, S.checkLValSimple = function(t, n, r) {
4886
4887
  return n === void 0 && (n = 0), e.prototype.checkLValSimple.call(this, t, n, r);
4887
- }, C.tsParseTypeAliasDeclaration = function(e) {
4888
+ }, S.tsParseTypeAliasDeclaration = function(e) {
4888
4889
  var t = this;
4889
4890
  return e.id = this.parseIdent(), this.checkLValSimple(e.id, 6), e.typeAnnotation = this.tsInType(function() {
4890
4891
  if (e.typeParameters = t.tsTryParseTypeParameters(t.tsParseInOutModifiers.bind(t)), t.expect(o.eq), t.ts_isContextual(m.interface) && t.lookahead().type !== o.dot) {
@@ -4893,7 +4894,7 @@ function kn(e) {
4893
4894
  }
4894
4895
  return t.tsParseType();
4895
4896
  }), this.semicolon(), this.finishNode(e, "TSTypeAliasDeclaration");
4896
- }, C.tsParseDeclaration = function(e, t, n) {
4897
+ }, S.tsParseDeclaration = function(e, t, n) {
4897
4898
  switch (t) {
4898
4899
  case "abstract":
4899
4900
  if (this.tsCheckLineTerminator(n) && (this.match(o._class) || v(this.type))) return this.tsParseAbstractDeclaration(e);
@@ -4909,13 +4910,13 @@ function kn(e) {
4909
4910
  break;
4910
4911
  case "type": if (this.tsCheckLineTerminator(n) && v(this.type)) return this.tsParseTypeAliasDeclaration(e);
4911
4912
  }
4912
- }, C.tsTryParseExportDeclaration = function() {
4913
+ }, S.tsTryParseExportDeclaration = function() {
4913
4914
  return this.tsParseDeclaration(this.startNode(), this.value, !0);
4914
- }, C.tsParseImportEqualsDeclaration = function(t, n) {
4915
+ }, S.tsParseImportEqualsDeclaration = function(t, n) {
4915
4916
  t.isExport = n || !1, t.id = this.parseIdent(), this.checkLValSimple(t.id, 2), e.prototype.expect.call(this, o.eq);
4916
4917
  var r = this.tsParseModuleReference();
4917
4918
  return t.importKind === "type" && r.type !== "TSExternalModuleReference" && this.raise(r.start, U.ImportAliasHasImportType), t.moduleReference = r, e.prototype.semicolon.call(this), this.finishNode(t, "TSImportEqualsDeclaration");
4918
- }, C.isExportDefaultSpecifier = function() {
4919
+ }, S.isExportDefaultSpecifier = function() {
4919
4920
  if (this.tsIsDeclarationStart()) return !1;
4920
4921
  var e = this.type;
4921
4922
  if (v(e)) {
@@ -4932,23 +4933,23 @@ function kn(e) {
4932
4933
  return i === 34 || i === 39;
4933
4934
  }
4934
4935
  return !1;
4935
- }, C.parseTemplate = function(e) {
4936
+ }, S.parseTemplate = function(e) {
4936
4937
  var t = (e === void 0 ? {} : e).isTagged, n = t !== void 0 && t, r = this.startNode();
4937
4938
  this.next(), r.expressions = [];
4938
4939
  var i = this.parseTemplateElement({ isTagged: n });
4939
4940
  for (r.quasis = [i]; !i.tail;) this.type === o.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(o.dollarBraceL), r.expressions.push(this.inType ? this.tsParseType() : this.parseExpression()), this.expect(o.braceR), r.quasis.push(i = this.parseTemplateElement({ isTagged: n }));
4940
4941
  return this.next(), this.finishNode(r, "TemplateLiteral");
4941
- }, C.parseFunction = function(e, t, n, r, i) {
4942
+ }, S.parseFunction = function(e, t, n, r, i) {
4942
4943
  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());
4943
4944
  var a = this.yieldPos, s = this.awaitPos, c = this.awaitIdentPos, l = this.maybeInArrowParameters;
4944
- this.maybeInArrowParameters = !1, this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Tn(e.async, e.generator)), 1 & t || (e.id = this.type === o.name ? this.parseIdent() : null), this.parseFunctionParams(e);
4945
+ this.maybeInArrowParameters = !1, this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(En(e.async, e.generator)), 1 & t || (e.id = this.type === o.name ? this.parseIdent() : null), this.parseFunctionParams(e);
4945
4946
  var u = 1 & t;
4946
4947
  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");
4947
- }, C.parseFunctionBody = function(t, n, r, i, a) {
4948
+ }, S.parseFunctionBody = function(t, n, r, i, a) {
4948
4949
  n === void 0 && (n = !1), r === void 0 && (r = !1), i === void 0 && (i = !1), this.match(o.colon) && (t.returnType = this.tsParseTypeOrTypePredicateAnnotation(o.colon));
4949
4950
  var s = a != null && a.isFunctionDeclaration ? "TSDeclareFunction" : a != null && a.isClassMethod ? "TSDeclareMethod" : void 0;
4950
4951
  return s && !this.match(o.braceL) && this.isLineTerminator() ? this.finishNode(t, s) : s === "TSDeclareFunction" && this.isAmbientContext && (this.raise(t.start, U.DeclareFunctionHasImplementation), t.declare) ? (e.prototype.parseFunctionBody.call(this, t, n, r, !1), this.finishNode(t, s)) : (e.prototype.parseFunctionBody.call(this, t, n, r, i), t);
4951
- }, C.parseNew = function() {
4952
+ }, S.parseNew = function() {
4952
4953
  var e;
4953
4954
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
4954
4955
  var t = this.startNode(), n = this.parseIdent(!0);
@@ -4961,14 +4962,14 @@ function kn(e) {
4961
4962
  t.callee = this.parseSubscripts(this.parseExprAtom(), i, a, !0, !1), s && t.callee.type === "ImportExpression" && this.raise(i, "Cannot use new with import()");
4962
4963
  var c = t.callee;
4963
4964
  return c.type !== "TSInstantiationExpression" || (e = c.extra) != null && e.parenthesized || (t.typeParameters = c.typeParameters, t.callee = c.expression), t.arguments = this.eat(o.parenL) ? this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1) : [], this.finishNode(t, "NewExpression");
4964
- }, C.parseExprOp = function(t, n, r, i, s) {
4965
+ }, S.parseExprOp = function(t, n, r, i, s) {
4965
4966
  var c;
4966
4967
  if (o._in.binop > i && !this.hasPrecedingLineBreak() && (this.isContextual("as") && (c = "TSAsExpression"), a && this.isContextual("satisfies") && (c = "TSSatisfiesExpression"), c)) {
4967
4968
  var l = this.startNodeAt(n, r);
4968
4969
  return l.expression = t, l.typeAnnotation = this.tsTryNextParseConstantContext() || this.tsNextThenParseType(), this.finishNode(l, c), this.reScan_lt_gt(), this.parseExprOp(l, n, r, i, s);
4969
4970
  }
4970
4971
  return e.prototype.parseExprOp.call(this, t, n, r, i, s);
4971
- }, C.parseImportSpecifiers = function() {
4972
+ }, S.parseImportSpecifiers = function() {
4972
4973
  var e = [], t = !0;
4973
4974
  if (i.tokenIsIdentifier(this.type) && (e.push(this.parseImportDefaultSpecifier()), !this.eat(o.comma))) return e;
4974
4975
  if (this.type === o.star) return e.push(this.parseImportNamespaceSpecifier()), e;
@@ -4978,7 +4979,7 @@ function kn(e) {
4978
4979
  e.push(this.parseImportSpecifier());
4979
4980
  }
4980
4981
  return e;
4981
- }, C.parseImport = function(e) {
4982
+ }, S.parseImport = function(e) {
4982
4983
  var t = this.lookahead();
4983
4984
  if (e.importKind = "value", this.importOrExportOuterKind = "value", v(t.type) || this.match(o.star) || this.match(o.braceL)) {
4984
4985
  var n = this.lookahead(2);
@@ -4989,7 +4990,7 @@ function kn(e) {
4989
4990
  }
4990
4991
  }
4991
4992
  return this.next(), this.type === o.string ? (e.specifiers = [], e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === o.string ? this.parseExprAtom() : this.unexpected()), this.parseMaybeImportAttributes(e), this.semicolon(), this.finishNode(e, "ImportDeclaration"), this.importOrExportOuterKind = "value", e.importKind === "type" && e.specifiers.length > 1 && e.specifiers[0].type === "ImportDefaultSpecifier" && this.raise(e.start, U.TypeImportCannotSpecifyDefaultAndNamed), e;
4992
- }, C.parseExportDefaultDeclaration = function() {
4993
+ }, S.parseExportDefaultDeclaration = function() {
4993
4994
  if (this.isAbstractClass()) {
4994
4995
  var t = this.startNode();
4995
4996
  return this.next(), t.abstract = !0, this.parseClass(t, !0);
@@ -4999,15 +5000,15 @@ function kn(e) {
4999
5000
  if (n) return n;
5000
5001
  }
5001
5002
  return e.prototype.parseExportDefaultDeclaration.call(this);
5002
- }, C.parseExportAllDeclaration = function(e, t) {
5003
+ }, S.parseExportAllDeclaration = function(e, t) {
5003
5004
  return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (e.exported = this.parseModuleExportName(), this.checkExport(t, e.exported, this.lastTokStart)) : e.exported = null), this.expectContextual("from"), this.type !== o.string && this.unexpected(), e.source = this.parseExprAtom(), this.parseMaybeImportAttributes(e), this.semicolon(), this.finishNode(e, "ExportAllDeclaration");
5004
- }, C.parseDynamicImport = function(e) {
5005
+ }, S.parseDynamicImport = function(e) {
5005
5006
  if (this.next(), e.source = this.parseMaybeAssign(), this.eat(o.comma) && (e.arguments = [this.parseExpression()]), !this.eat(o.parenR)) {
5006
5007
  var t = this.start;
5007
5008
  this.eat(o.comma) && this.eat(o.parenR) ? this.raiseRecoverable(t, "Trailing comma is not allowed in import()") : this.unexpected(t);
5008
5009
  }
5009
5010
  return this.finishNode(e, "ImportExpression");
5010
- }, C.parseExport = function(e, t) {
5011
+ }, S.parseExport = function(e, t) {
5011
5012
  var n = this.lookahead();
5012
5013
  if (this.ts_eatWithState(o._import, 2, n)) {
5013
5014
  this.ts_isContextual(m.type) && this.lookaheadCharCode() !== 61 ? (e.importKind = "type", this.importOrExportOuterKind = "type", this.next()) : (e.importKind = "value", this.importOrExportOuterKind = "value");
@@ -5028,7 +5029,7 @@ function kn(e) {
5028
5029
  else {
5029
5030
  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);
5030
5031
  else {
5031
- for (var s, c = ln(e.specifiers); !(s = c()).done;) {
5032
+ for (var s, c = un(e.specifiers); !(s = c()).done;) {
5032
5033
  var l = s.value;
5033
5034
  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`.");
5034
5035
  }
@@ -5037,20 +5038,20 @@ function kn(e) {
5037
5038
  this.semicolon();
5038
5039
  }
5039
5040
  return this.finishNode(e, "ExportNamedDeclaration");
5040
- }, C.checkExport = function(e, t, n) {
5041
+ }, S.checkExport = function(e, t, n) {
5041
5042
  e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), e[t] = !0);
5042
- }, C.parseMaybeDefault = function(t, n, r) {
5043
+ }, S.parseMaybeDefault = function(t, n, r) {
5043
5044
  var i = e.prototype.parseMaybeDefault.call(this, t, n, r);
5044
5045
  return i.type === "AssignmentPattern" && i.typeAnnotation && i.right.start < i.typeAnnotation.start && this.raise(i.typeAnnotation.start, U.TypeAnnotationAfterAssign), i;
5045
- }, C.typeCastToParameter = function(e) {
5046
+ }, S.typeCastToParameter = function(e) {
5046
5047
  return e.expression.typeAnnotation = e.typeAnnotation, this.resetEndLocation(e.expression, e.typeAnnotation.end), e.expression;
5047
- }, C.toAssignableList = function(t, n) {
5048
+ }, S.toAssignableList = function(t, n) {
5048
5049
  for (var r = 0; r < t.length; r++) {
5049
5050
  var i = t[r];
5050
5051
  i?.type === "TSTypeCastExpression" && (t[r] = this.typeCastToParameter(i));
5051
5052
  }
5052
5053
  return e.prototype.toAssignableList.call(this, t, n);
5053
- }, C.reportReservedArrowTypeParam = function(e) {}, C.parseExprAtom = function(t, n, r) {
5054
+ }, S.reportReservedArrowTypeParam = function(e) {}, S.parseExprAtom = function(t, n, r) {
5054
5055
  if (this.type === m.jsxText) return this.jsx_parseText();
5055
5056
  if (this.type === m.jsxTagStart) return this.jsx_parseElement();
5056
5057
  if (this.type === m.at) return this.parseDecorators(), this.parseExprAtom();
@@ -5064,7 +5065,7 @@ function kn(e) {
5064
5065
  return l;
5065
5066
  }
5066
5067
  return e.prototype.parseExprAtom.call(this, t, n, r);
5067
- }, C.parseExprAtomDefault = function() {
5068
+ }, S.parseExprAtomDefault = function() {
5068
5069
  if (v(this.type)) {
5069
5070
  var e = this.potentialArrowAt === this.start, t = this.containsEsc, n = this.parseIdent();
5070
5071
  if (!t && n.name === "async" && !this.canInsertSemicolon()) {
@@ -5081,21 +5082,21 @@ function kn(e) {
5081
5082
  return e && this.match(o.arrow) && !this.canInsertSemicolon() ? (this.next(), this.parseArrowExpression(this.startNodeAtNode(n), [n], !1)) : n;
5082
5083
  }
5083
5084
  this.unexpected();
5084
- }, C.parseIdentNode = function() {
5085
+ }, S.parseIdentNode = function() {
5085
5086
  var t = this.startNode();
5086
5087
  return ne(this.type) ? (t.name = this.value, t) : e.prototype.parseIdentNode.call(this);
5087
- }, C.parseVarStatement = function(t, n, r) {
5088
+ }, S.parseVarStatement = function(t, n, r) {
5088
5089
  r === void 0 && (r = !1);
5089
5090
  var i = this.isAmbientContext;
5090
5091
  this.next(), e.prototype.parseVar.call(this, t, !1, n, r || i), this.semicolon();
5091
5092
  var a = this.finishNode(t, "VariableDeclaration");
5092
5093
  if (!i) return a;
5093
- for (var o, s = ln(a.declarations); !(o = s()).done;) {
5094
+ for (var o, s = un(a.declarations); !(o = s()).done;) {
5094
5095
  var c = o.value, l = c.init;
5095
- 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) && !En(l) && this.raise(l.start, U.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
5096
+ 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) && !Dn(l) && this.raise(l.start, U.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
5096
5097
  }
5097
5098
  return a;
5098
- }, C.parseStatement = function(t, n, r) {
5099
+ }, S.parseStatement = function(t, n, r) {
5099
5100
  if (this.match(m.at) && this.parseDecorators(!0), this.match(o._const) && this.isLookaheadContextual("enum")) {
5100
5101
  var i = this.startNode();
5101
5102
  return this.expect(o._const), this.tsParseEnumDeclaration(i, { const: !0 });
@@ -5106,25 +5107,25 @@ function kn(e) {
5106
5107
  if (a) return a;
5107
5108
  }
5108
5109
  return e.prototype.parseStatement.call(this, t, n, r);
5109
- }, C.parseAccessModifier = function() {
5110
+ }, S.parseAccessModifier = function() {
5110
5111
  return this.tsParseModifier([
5111
5112
  "public",
5112
5113
  "protected",
5113
5114
  "private"
5114
5115
  ]);
5115
- }, C.parsePostMemberNameModifiers = function(e) {
5116
+ }, S.parsePostMemberNameModifiers = function(e) {
5116
5117
  this.eat(o.question) && (e.optional = !0), e.readonly && this.match(o.parenL) && this.raise(e.start, U.ClassMethodHasReadonly), e.declare && this.match(o.parenL) && this.raise(e.start, U.ClassMethodHasDeclare);
5117
- }, C.parseExpressionStatement = function(t, n) {
5118
+ }, S.parseExpressionStatement = function(t, n) {
5118
5119
  return (n.type === "Identifier" ? this.tsParseExpressionStatement(t, n) : void 0) || e.prototype.parseExpressionStatement.call(this, t, n);
5119
- }, C.shouldParseExportStatement = function() {
5120
+ }, S.shouldParseExportStatement = function() {
5120
5121
  return !!this.tsIsDeclarationStart() || !!this.match(m.at) || e.prototype.shouldParseExportStatement.call(this);
5121
- }, C.parseConditional = function(e, t, n, r, i) {
5122
+ }, S.parseConditional = function(e, t, n, r, i) {
5122
5123
  if (this.eat(o.question)) {
5123
5124
  var a = this.startNodeAt(t, n);
5124
5125
  return a.test = e, a.consequent = this.parseMaybeAssign(), this.expect(o.colon), a.alternate = this.parseMaybeAssign(r), this.finishNode(a, "ConditionalExpression");
5125
5126
  }
5126
5127
  return e;
5127
- }, C.parseMaybeConditional = function(e, t) {
5128
+ }, S.parseMaybeConditional = function(e, t) {
5128
5129
  var n = this, r = this.start, i = this.startLoc, a = this.parseExprOps(e, t);
5129
5130
  if (this.checkExpressionErrors(t)) return a;
5130
5131
  if (!this.maybeInArrowParameters || !this.match(o.question)) return this.parseConditional(a, r, i, e, t);
@@ -5132,14 +5133,14 @@ function kn(e) {
5132
5133
  return n.parseConditional(a, r, i, e, t);
5133
5134
  });
5134
5135
  return s.node ? (s.error && this.setLookaheadState(s.failState), s.node) : (s.error && this.setOptionalParametersError(t, s.error), a);
5135
- }, C.parseParenItem = function(t) {
5136
+ }, S.parseParenItem = function(t) {
5136
5137
  var n = this.start, r = this.startLoc;
5137
5138
  if (t = e.prototype.parseParenItem.call(this, t), this.eat(o.question) && (t.optional = !0, this.resetEndLocation(t)), this.match(o.colon)) {
5138
5139
  var i = this.startNodeAt(n, r);
5139
5140
  return i.expression = t, i.typeAnnotation = this.tsParseTypeAnnotation(), this.finishNode(i, "TSTypeCastExpression");
5140
5141
  }
5141
5142
  return t;
5142
- }, C.parseExportDeclaration = function(e) {
5143
+ }, S.parseExportDeclaration = function(e) {
5143
5144
  var t = this;
5144
5145
  if (!this.isAmbientContext && this.ts_isContextual(m.declare)) return this.tsInAmbientContext(function() {
5145
5146
  return t.parseExportDeclaration(e);
@@ -5148,35 +5149,35 @@ function kn(e) {
5148
5149
  !i || !this.ts_isContextual(m.declare) && this.shouldParseExportStatement() || this.raise(this.start, U.ExpectedAmbientAfterExportDeclare);
5149
5150
  var a = v(this.type) && this.tsTryParseExportDeclaration() || this.parseStatement(null);
5150
5151
  return a ? ((a.type === "TSInterfaceDeclaration" || a.type === "TSTypeAliasDeclaration" || i) && (e.exportKind = "type"), i && (this.resetStartLocation(a, n, r), a.declare = !0), a) : null;
5151
- }, C.parseClassId = function(t, n) {
5152
+ }, S.parseClassId = function(t, n) {
5152
5153
  if (n || !this.isContextual("implements")) {
5153
5154
  e.prototype.parseClassId.call(this, t, n);
5154
5155
  var r = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));
5155
5156
  r && (t.typeParameters = r);
5156
5157
  }
5157
- }, C.parseClassPropertyAnnotation = function(e) {
5158
+ }, S.parseClassPropertyAnnotation = function(e) {
5158
5159
  e.optional || (this.value === "!" && this.eat(o.prefix) ? e.definite = !0 : this.eat(o.question) && (e.optional = !0));
5159
5160
  var t = this.tsTryParseTypeAnnotation();
5160
5161
  t && (e.typeAnnotation = t);
5161
- }, C.parseClassField = function(t) {
5162
+ }, S.parseClassField = function(t) {
5162
5163
  if (t.key.type === "PrivateIdentifier") t.abstract && this.raise(t.start, U.PrivateElementHasAbstract), t.accessibility && this.raise(t.start, U.PrivateElementHasAccessibility({ modifier: t.accessibility })), this.parseClassPropertyAnnotation(t);
5163
5164
  else if (this.parseClassPropertyAnnotation(t), this.isAmbientContext && (!t.readonly || t.typeAnnotation) && this.match(o.eq) && this.raise(this.start, U.DeclareClassFieldHasInitializer), t.abstract && this.match(o.eq)) {
5164
5165
  var n = t.key;
5165
5166
  this.raise(this.start, U.AbstractPropertyHasInitializer({ propertyName: n.type !== "Identifier" || t.computed ? "[" + this.input.slice(n.start, n.end) + "]" : n.name }));
5166
5167
  }
5167
5168
  return e.prototype.parseClassField.call(this, t);
5168
- }, C.parseClassMethod = function(e, t, n, r) {
5169
+ }, S.parseClassMethod = function(e, t, n, r) {
5169
5170
  var i = e.kind === "constructor", a = e.key.type === "PrivateIdentifier", o = this.tsTryParseTypeParameters();
5170
5171
  a ? (o && (e.typeParameters = o), e.accessibility && this.raise(e.start, U.PrivateMethodsHasAccessibility({ modifier: e.accessibility }))) : o && i && this.raise(o.start, U.ConstructorHasTypeParameters);
5171
5172
  var s = e.declare, c = e.kind;
5172
5173
  !(s !== void 0 && s) || c !== "get" && c !== "set" || this.raise(e.start, U.DeclareAccessor({ kind: c })), o && (e.typeParameters = o);
5173
5174
  var l = e.key;
5174
- 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 && gn(e, "prototype") && this.raise(l.start, "Classes may not have a static property named prototype");
5175
+ 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 && _n(e, "prototype") && this.raise(l.start, "Classes may not have a static property named prototype");
5175
5176
  var u = e.value = this.parseMethod(t, n, r, !0, e);
5176
5177
  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");
5177
- }, C.isClassMethod = function() {
5178
+ }, S.isClassMethod = function() {
5178
5179
  return this.match(o.relational);
5179
- }, C.parseClassElement = function(t) {
5180
+ }, S.parseClassElement = function(t) {
5180
5181
  var n = this;
5181
5182
  if (this.eat(o.semi)) return null;
5182
5183
  var r, i = this.options.ecmaVersion, a = this.startNode(), s = "", c = !1, l = !1, u = "method", d = [
@@ -5206,7 +5207,7 @@ function kn(e) {
5206
5207
  (n.eatContextual("get") || n.eatContextual("set")) && (n.isClassElementNameStart() ? u = p : s = p);
5207
5208
  }
5208
5209
  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) {
5209
- var m = !a.static && gn(a, "constructor"), h = m && t;
5210
+ var m = !a.static && _n(a, "constructor"), h = m && t;
5210
5211
  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);
5211
5212
  } else n.parseClassField(a);
5212
5213
  return a;
@@ -5214,30 +5215,30 @@ function kn(e) {
5214
5215
  if (n.next(), n.next(), n.tsHasSomeModifiers(a, d) && n.raise(n.start, U.StaticBlockCannotHaveModifier), i >= 13) return e.prototype.parseClassStaticBlock.call(n, a), a;
5215
5216
  };
5216
5217
  return a.declare ? this.tsInAmbientContext(f) : f(), a;
5217
- }, C.isClassElementNameStart = function() {
5218
+ }, S.isClassElementNameStart = function() {
5218
5219
  return !!this.tsIsIdentifier() || e.prototype.isClassElementNameStart.call(this);
5219
- }, C.parseClassSuper = function(t) {
5220
+ }, S.parseClassSuper = function(t) {
5220
5221
  e.prototype.parseClassSuper.call(this, t), t.superClass && (this.tsMatchLeftRelational() || this.match(o.bitShift)) && (t.superTypeParameters = this.tsParseTypeArgumentsInExpression()), this.eatContextual("implements") && (t.implements = this.tsParseHeritageClause("implements"));
5221
- }, C.parseFunctionParams = function(t) {
5222
+ }, S.parseFunctionParams = function(t) {
5222
5223
  var n = this.tsTryParseTypeParameters();
5223
5224
  n && (t.typeParameters = n), e.prototype.parseFunctionParams.call(this, t);
5224
- }, C.parseVarId = function(t, n) {
5225
+ }, S.parseVarId = function(t, n) {
5225
5226
  e.prototype.parseVarId.call(this, t, n), t.id.type === "Identifier" && !this.hasPrecedingLineBreak() && this.value === "!" && this.eat(o.prefix) && (t.definite = !0);
5226
5227
  var r = this.tsTryParseTypeAnnotation();
5227
5228
  r && (t.id.typeAnnotation = r, this.resetEndLocation(t.id));
5228
- }, C.parseArrowExpression = function(e, t, n, r) {
5229
+ }, S.parseArrowExpression = function(e, t, n, r) {
5229
5230
  this.match(o.colon) && (e.returnType = this.tsParseTypeAnnotation());
5230
5231
  var i = this.yieldPos, a = this.awaitPos, s = this.awaitIdentPos;
5231
- this.enterScope(16 | Tn(n, !1)), this.initFunction(e);
5232
+ this.enterScope(16 | En(n, !1)), this.initFunction(e);
5232
5233
  var c = this.maybeInArrowParameters;
5233
5234
  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");
5234
- }, C.parseMaybeAssignOrigin = function(e, t, n) {
5235
+ }, S.parseMaybeAssignOrigin = function(e, t, n) {
5235
5236
  if (this.isContextual("yield")) {
5236
5237
  if (this.inGenerator) return this.parseYield(e);
5237
5238
  this.exprAllowed = !1;
5238
5239
  }
5239
5240
  var r = !1, i = -1, a = -1, s = -1;
5240
- t ? (i = t.parenthesizedAssign, a = t.trailingComma, s = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new mn(), r = !0);
5241
+ t ? (i = t.parenthesizedAssign, a = t.trailingComma, s = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new hn(), r = !0);
5241
5242
  var c = this.start, l = this.startLoc;
5242
5243
  (this.type === o.parenL || v(this.type)) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
5243
5244
  var u = this.parseMaybeConditional(e, t);
@@ -5246,7 +5247,7 @@ function kn(e) {
5246
5247
  return d.operator = this.value, this.type === o.eq && (u = this.toAssignable(u, !0, t)), r || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= u.start && (t.shorthandAssign = -1), this.type === o.eq ? this.checkLValPattern(u) : this.checkLValSimple(u), d.left = u, this.next(), d.right = this.parseMaybeAssign(e), s > -1 && (t.doubleProto = s), this.finishNode(d, "AssignmentExpression");
5247
5248
  }
5248
5249
  return r && this.checkExpressionErrors(t, !0), i > -1 && (t.parenthesizedAssign = i), a > -1 && (t.trailingComma = a), u;
5249
- }, C.parseMaybeAssign = function(e, t, n) {
5250
+ }, S.parseMaybeAssign = function(e, t, n) {
5250
5251
  var r, a, o, s, c, l, u, d, f, p = this;
5251
5252
  if (this.matchJsx("jsxTagStart") || this.tsMatchLeftRelational()) {
5252
5253
  if (l = this.cloneCurLookaheadState(), !(u = this.tryParse(function() {
@@ -5264,14 +5265,14 @@ function kn(e) {
5264
5265
  return (a.type !== "ArrowFunctionExpression" || (i = a.extra) != null && i.parenthesized) && r(), f?.params.length !== 0 && p.resetStartLocationFromNode(a, f), a.typeParameters = f, a;
5265
5266
  }, l);
5266
5267
  if (!g.error && !g.aborted) return f && this.reportReservedArrowTypeParam(f), g.node;
5267
- if (!u && (Sn(!0), !(d = this.tryParse(function() {
5268
+ if (!u && (Cn(!0), !(d = this.tryParse(function() {
5268
5269
  return p.parseMaybeAssignOrigin(e, t, n);
5269
5270
  }, l)).error)) return d.node;
5270
5271
  if ((a = u) != null && a.node) return this.setLookaheadState(u.failState), u.node;
5271
5272
  if (g.node) return this.setLookaheadState(g.failState), f && this.reportReservedArrowTypeParam(f), g.node;
5272
5273
  if ((o = d) != null && o.node) return this.setLookaheadState(d.failState), d.node;
5273
5274
  throw (s = u) != null && s.thrown ? u.error : g.thrown ? g.error : (c = d) != null && c.thrown ? d.error : u?.error || g.error || d?.error;
5274
- }, C.parseAssignableListItem = function(e) {
5275
+ }, S.parseAssignableListItem = function(e) {
5275
5276
  for (var t = []; this.match(m.at);) t.push(this.parseDecorator());
5276
5277
  var n, r = this.start, i = this.startLoc, a = !1, o = !1;
5277
5278
  if (e !== void 0) {
@@ -5295,13 +5296,13 @@ function kn(e) {
5295
5296
  return n && (u.accessibility = n), a && (u.readonly = a), o && (u.override = o), l.type !== "Identifier" && l.type !== "AssignmentPattern" && this.raise(u.start, U.UnsupportedParameterPropertyKind), u.parameter = l, this.finishNode(u, "TSParameterProperty");
5296
5297
  }
5297
5298
  return l;
5298
- }, C.checkLValInnerPattern = function(t, n, r) {
5299
+ }, S.checkLValInnerPattern = function(t, n, r) {
5299
5300
  n === void 0 && (n = 0), t.type === "TSParameterProperty" ? this.checkLValInnerPattern(t.parameter, n, r) : e.prototype.checkLValInnerPattern.call(this, t, n, r);
5300
- }, C.parseBindingListItem = function(e) {
5301
+ }, S.parseBindingListItem = function(e) {
5301
5302
  this.eat(o.question) && (e.type === "Identifier" || this.isAmbientContext || this.inType || this.raise(e.start, U.PatternIsOptional), e.optional = !0);
5302
5303
  var t = this.tsTryParseTypeAnnotation();
5303
5304
  return t && (e.typeAnnotation = t), this.resetEndLocation(e), e;
5304
- }, C.isAssignable = function(e, t) {
5305
+ }, S.isAssignable = function(e, t) {
5305
5306
  var n = this;
5306
5307
  switch (e.type) {
5307
5308
  case "TSTypeCastExpression": return this.isAssignable(e.expression, t);
@@ -5328,8 +5329,8 @@ function kn(e) {
5328
5329
  case "OptionalMemberExpression": return !t;
5329
5330
  default: return !1;
5330
5331
  }
5331
- }, C.toAssignable = function(t, n, r) {
5332
- switch (n === void 0 && (n = !1), r === void 0 && (r = new mn()), t.type) {
5332
+ }, S.toAssignable = function(t, n, r) {
5333
+ switch (n === void 0 && (n = !1), r === void 0 && (r = new hn()), t.type) {
5333
5334
  case "ParenthesizedExpression": return this.toAssignableParenthesizedExpression(t, n, r);
5334
5335
  case "TSAsExpression":
5335
5336
  case "TSSatisfiesExpression":
@@ -5341,7 +5342,7 @@ function kn(e) {
5341
5342
  default: return e.prototype.toAssignable.call(this, t, n, r);
5342
5343
  }
5343
5344
  return t;
5344
- }, C.toAssignableParenthesizedExpression = function(t, n, r) {
5345
+ }, S.toAssignableParenthesizedExpression = function(t, n, r) {
5345
5346
  switch (t.expression.type) {
5346
5347
  case "TSAsExpression":
5347
5348
  case "TSSatisfiesExpression":
@@ -5350,7 +5351,7 @@ function kn(e) {
5350
5351
  case "ParenthesizedExpression": return this.toAssignable(t.expression, n, r);
5351
5352
  default: return e.prototype.toAssignable.call(this, t, n, r);
5352
5353
  }
5353
- }, C.curPosition = function() {
5354
+ }, S.curPosition = function() {
5354
5355
  if (this.options.locations) {
5355
5356
  var t = e.prototype.curPosition.call(this);
5356
5357
  return Object.defineProperty(t, "offset", { get: function() {
@@ -5360,9 +5361,9 @@ function kn(e) {
5360
5361
  };
5361
5362
  } }), t.index = this.pos, t;
5362
5363
  }
5363
- }, C.parseBindingAtom = function() {
5364
+ }, S.parseBindingAtom = function() {
5364
5365
  return this.type === o._this ? this.parseIdent(!0) : e.prototype.parseBindingAtom.call(this);
5365
- }, C.shouldParseArrow = function(e) {
5366
+ }, S.shouldParseArrow = function(e) {
5366
5367
  var t, n = this;
5367
5368
  if (t = this.match(o.colon) ? e.every(function(e) {
5368
5369
  return n.isAssignable(e, !0);
@@ -5378,15 +5379,15 @@ function kn(e) {
5378
5379
  return !!this.match(o.arrow) || (this.shouldParseArrowReturnType = void 0, !1);
5379
5380
  }
5380
5381
  return this.shouldParseArrowReturnType = void 0, t;
5381
- }, C.parseParenArrowList = function(e, t, n, r) {
5382
+ }, S.parseParenArrowList = function(e, t, n, r) {
5382
5383
  var i = this.startNodeAt(e, t);
5383
5384
  return i.returnType = this.shouldParseArrowReturnType, this.shouldParseArrowReturnType = void 0, this.parseArrowExpression(i, n, !1, r);
5384
- }, C.parseParenAndDistinguishExpression = function(e, t) {
5385
+ }, S.parseParenAndDistinguishExpression = function(e, t) {
5385
5386
  var n, r = this.start, i = this.startLoc, a = this.options.ecmaVersion >= 8;
5386
5387
  if (this.options.ecmaVersion >= 6) {
5387
5388
  var s = this.maybeInArrowParameters;
5388
5389
  this.maybeInArrowParameters = !0, this.next();
5389
- var c, l = this.start, u = this.startLoc, d = [], f = !0, p = !1, m = new mn(), h = this.yieldPos, g = this.awaitPos;
5390
+ var c, l = this.start, u = this.startLoc, d = [], f = !0, p = !1, m = new hn(), h = this.yieldPos, g = this.awaitPos;
5390
5391
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== o.parenR;) {
5391
5392
  if (f ? f = !1 : this.expect(o.comma), a && this.afterTrailingComma(o.parenR, !0)) {
5392
5393
  p = !0;
@@ -5407,10 +5408,10 @@ function kn(e) {
5407
5408
  return te.expression = n, this.finishNode(te, "ParenthesizedExpression");
5408
5409
  }
5409
5410
  return n;
5410
- }, C.parseTaggedTemplateExpression = function(e, t, n, r) {
5411
+ }, S.parseTaggedTemplateExpression = function(e, t, n, r) {
5411
5412
  var i = this.startNodeAt(t, n);
5412
5413
  return i.tag = e, i.quasi = this.parseTemplate({ isTagged: !0 }), r && this.raise(t, "Tagged Template Literals are not allowed in optionalChain."), this.finishNode(i, "TaggedTemplateExpression");
5413
- }, C.shouldParseAsyncArrow = function() {
5414
+ }, S.shouldParseAsyncArrow = function() {
5414
5415
  var e = this;
5415
5416
  if (!this.match(o.colon)) return !this.canInsertSemicolon() && this.eat(o.arrow);
5416
5417
  var t = this.tryParse(function(t) {
@@ -5418,10 +5419,10 @@ function kn(e) {
5418
5419
  return !e.canInsertSemicolon() && e.match(o.arrow) || t(), n;
5419
5420
  });
5420
5421
  return t.aborted ? (this.shouldParseAsyncArrowReturnType = void 0, !1) : t.thrown ? void 0 : (t.error && this.setLookaheadState(t.failState), this.shouldParseAsyncArrowReturnType = t.node, !this.canInsertSemicolon() && this.eat(o.arrow));
5421
- }, C.parseSubscriptAsyncArrow = function(e, t, n, r) {
5422
+ }, S.parseSubscriptAsyncArrow = function(e, t, n, r) {
5422
5423
  var i = this.startNodeAt(e, t);
5423
5424
  return i.returnType = this.shouldParseAsyncArrowReturnType, this.shouldParseAsyncArrowReturnType = void 0, this.parseArrowExpression(i, n, !0, r);
5424
- }, C.parseExprList = function(e, t, n, r) {
5425
+ }, S.parseExprList = function(e, t, n, r) {
5425
5426
  for (var i = [], a = !0; !this.eat(e);) {
5426
5427
  if (a) a = !1;
5427
5428
  else if (this.expect(o.comma), t && this.afterTrailingComma(e)) break;
@@ -5429,7 +5430,7 @@ function kn(e) {
5429
5430
  n && this.type === o.comma ? s = null : this.type === o.ellipsis ? (s = this.parseSpread(r), r && this.type === o.comma && r.trailingComma < 0 && (r.trailingComma = this.start)) : s = this.parseMaybeAssign(!1, r, this.parseParenItem), i.push(s);
5430
5431
  }
5431
5432
  return i;
5432
- }, C.parseSubscript = function(e, t, n, r, i, a, s) {
5433
+ }, S.parseSubscript = function(e, t, n, r, i, a, s) {
5433
5434
  var c = this, l = a;
5434
5435
  if (!this.hasPrecedingLineBreak() && this.value === "!" && this.match(o.prefix)) {
5435
5436
  this.exprAllowed = !1, this.next();
@@ -5455,7 +5456,7 @@ function kn(e) {
5455
5456
  return u.typeParameters = a, u;
5456
5457
  }
5457
5458
  if (!r && c.eat(o.parenL)) {
5458
- var p = new mn(), m = c.startNodeAt(t, n);
5459
+ var p = new hn(), m = c.startNodeAt(t, n);
5459
5460
  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");
5460
5461
  }
5461
5462
  var h = c.type;
@@ -5475,27 +5476,27 @@ function kn(e) {
5475
5476
  } else if (!r && this.eat(o.parenL)) {
5476
5477
  var te = this.maybeInArrowParameters;
5477
5478
  this.maybeInArrowParameters = !0;
5478
- var v = new mn(), ne = this.yieldPos, y = this.awaitPos, b = this.awaitIdentPos;
5479
+ var v = new hn(), ne = this.yieldPos, re = this.awaitPos, y = this.awaitIdentPos;
5479
5480
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
5480
- var x = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, v);
5481
- 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 = ne, this.awaitPos = y, this.awaitIdentPos = b, e = this.parseSubscriptAsyncArrow(t, n, x, s);
5481
+ var b = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, v);
5482
+ 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 = ne, this.awaitPos = re, this.awaitIdentPos = y, e = this.parseSubscriptAsyncArrow(t, n, b, s);
5482
5483
  else {
5483
- this.checkExpressionErrors(v, !0), this.yieldPos = ne || this.yieldPos, this.awaitPos = y || this.awaitPos, this.awaitIdentPos = b || this.awaitIdentPos;
5484
- var S = this.startNodeAt(t, n);
5485
- S.callee = e, S.arguments = x, m && (S.optional = h), e = this.finishNode(S, "CallExpression");
5484
+ this.checkExpressionErrors(v, !0), this.yieldPos = ne || this.yieldPos, this.awaitPos = re || this.awaitPos, this.awaitIdentPos = y || this.awaitIdentPos;
5485
+ var x = this.startNodeAt(t, n);
5486
+ x.callee = e, x.arguments = b, m && (x.optional = h), e = this.finishNode(x, "CallExpression");
5486
5487
  }
5487
5488
  this.maybeInArrowParameters = te;
5488
5489
  } else if (this.type === o.backQuote) {
5489
5490
  (h || l) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
5490
- var C = this.startNodeAt(t, n);
5491
- C.tag = e, C.quasi = this.parseTemplate({ isTagged: !0 }), e = this.finishNode(C, "TaggedTemplateExpression");
5491
+ var S = this.startNodeAt(t, n);
5492
+ S.tag = e, S.quasi = this.parseTemplate({ isTagged: !0 }), e = this.finishNode(S, "TaggedTemplateExpression");
5492
5493
  }
5493
5494
  return e;
5494
- }, C.parseGetterSetter = function(e) {
5495
+ }, S.parseGetterSetter = function(e) {
5495
5496
  e.kind = e.key.name, this.parsePropertyName(e), e.value = this.parseMethod(!1);
5496
5497
  var t = e.kind === "get" ? 0 : 1, n = e.value.params[0], r = n && this.isThisParam(n);
5497
5498
  e.value.params.length === (t = r ? t + 1 : t) ? e.kind === "set" && e.value.params[0].type === "RestElement" && this.raiseRecoverable(e.value.params[0].start, "Setter cannot use rest params") : this.raiseRecoverable(e.value.start, e.kind === "get" ? "getter should have no params" : "setter should have exactly one param");
5498
- }, C.parseProperty = function(t, n) {
5499
+ }, S.parseProperty = function(t, n) {
5499
5500
  if (!t) {
5500
5501
  var r = [];
5501
5502
  if (this.match(m.at)) for (; this.match(m.at);) r.push(this.parseDecorator());
@@ -5503,12 +5504,12 @@ function kn(e) {
5503
5504
  return i.type === "SpreadElement" && r.length && this.raise(i.start, "Decorators can't be used with SpreadElement"), r.length && (i.decorators = r, r = []), i;
5504
5505
  }
5505
5506
  return e.prototype.parseProperty.call(this, t, n);
5506
- }, C.parseCatchClauseParam = function() {
5507
+ }, S.parseCatchClauseParam = function() {
5507
5508
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
5508
5509
  this.enterScope(t ? 32 : 0), this.checkLValPattern(e, t ? 4 : 2);
5509
5510
  var n = this.tsTryParseTypeAnnotation();
5510
5511
  return n && (e.typeAnnotation = n, this.resetEndLocation(e)), this.expect(o.parenR), e;
5511
- }, C.parseClass = function(e, t) {
5512
+ }, S.parseClass = function(e, t) {
5512
5513
  var n = this.inAbstractClass;
5513
5514
  this.inAbstractClass = !!e.abstract;
5514
5515
  try {
@@ -5521,18 +5522,18 @@ function kn(e) {
5521
5522
  for (this.expect(o.braceL); this.type !== o.braceR;) if (this.match(m.at)) c.push(this.parseDecorator());
5522
5523
  else {
5523
5524
  var l = this.parseClassElement(e.superClass !== null);
5524
- 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" && hn(i, l) && this.raiseRecoverable(l.key.start, "Identifier '#" + l.key.name + "' has already been declared"));
5525
+ 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" && gn(i, l) && this.raiseRecoverable(l.key.start, "Identifier '#" + l.key.name + "' has already been declared"));
5525
5526
  }
5526
5527
  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");
5527
5528
  } finally {
5528
5529
  this.inAbstractClass = n;
5529
5530
  }
5530
- }, C.parseClassFunctionParams = function() {
5531
+ }, S.parseClassFunctionParams = function() {
5531
5532
  var e = this.tsTryParseTypeParameters(this.tsParseConstModifier), t = this.parseBindingList(o.parenR, !1, this.options.ecmaVersion >= 8, !0);
5532
5533
  return e && (t.typeParameters = e), t;
5533
- }, C.parseMethod = function(e, t, n, r, i) {
5534
+ }, S.parseMethod = function(e, t, n, r, i) {
5534
5535
  var a = this.startNode(), s = this.yieldPos, c = this.awaitPos, l = this.awaitIdentPos;
5535
- 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 | Tn(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) {
5536
+ 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 | En(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) {
5536
5537
  var u = i.key;
5537
5538
  this.raise(i.start, U.AbstractMethodHasImplementation({ methodName: u.type !== "Identifier" || i.computed ? "[" + this.input.slice(u.start, u.end) + "]" : u.name }));
5538
5539
  }
@@ -5547,14 +5548,14 @@ function kn(e) {
5547
5548
  n.locations = !0;
5548
5549
  var i = new this(n, e, t);
5549
5550
  return r && (i.isAmbientContext = !0), i.nextToken(), i.parseExpression();
5550
- }, C.parseImportSpecifier = function() {
5551
+ }, S.parseImportSpecifier = function() {
5551
5552
  if (this.ts_isContextual(m.type)) {
5552
5553
  var t = this.startNode();
5553
5554
  return t.imported = this.parseModuleExportName(), this.parseTypeOnlyImportExportSpecifier(t, !0, this.importOrExportOuterKind === "type"), this.finishNode(t, "ImportSpecifier");
5554
5555
  }
5555
5556
  var n = e.prototype.parseImportSpecifier.call(this);
5556
5557
  return n.importKind = "value", n;
5557
- }, C.parseExportSpecifier = function(t) {
5558
+ }, S.parseExportSpecifier = function(t) {
5558
5559
  var n = this.ts_isContextual(m.type);
5559
5560
  if (!this.match(o.string) && n) {
5560
5561
  var r = this.startNode();
@@ -5562,7 +5563,7 @@ function kn(e) {
5562
5563
  }
5563
5564
  var i = e.prototype.parseExportSpecifier.call(this, t);
5564
5565
  return i.exportKind = "value", i;
5565
- }, C.parseTypeOnlyImportExportSpecifier = function(t, n, r) {
5566
+ }, S.parseTypeOnlyImportExportSpecifier = function(t, n, r) {
5566
5567
  var i, a = n ? "imported" : "local", o = n ? "local" : "exported", s = t[a], c = !1, l = !0, u = s.start;
5567
5568
  if (this.isContextual("as")) {
5568
5569
  var d = this.parseIdent();
@@ -5572,13 +5573,13 @@ function kn(e) {
5572
5573
  } else ne(this.type) ? (l = !1, i = n ? this.parseIdent() : this.parseModuleExportName()) : (c = !0, s = d);
5573
5574
  } else ne(this.type) && (c = !0, n ? (s = e.prototype.parseIdent.call(this, !0), this.isContextual("as") || this.checkUnreserved(s)) : s = this.parseModuleExportName());
5574
5575
  c && r && this.raise(u, n ? U.TypeModifierIsUsedInTypeImports : U.TypeModifierIsUsedInTypeExports), t[a] = s, t[o] = i, t[n ? "importKind" : "exportKind"] = c ? "type" : "value", l && this.eatContextual("as") && (t[o] = n ? this.parseIdent() : this.parseModuleExportName()), t[o] || (t[o] = this.copyNode(t[a])), n && this.checkLValSimple(t[o], 2);
5575
- }, C.raiseCommonCheck = function(t, n, r) {
5576
+ }, S.raiseCommonCheck = function(t, n, r) {
5576
5577
  return n === "Comma is not permitted after the rest element" ? this.isAmbientContext && this.match(o.comma) && this.lookaheadCharCode() === 41 ? void this.next() : e.prototype.raise.call(this, t, n) : r ? e.prototype.raiseRecoverable.call(this, t, n) : e.prototype.raise.call(this, t, n);
5577
- }, C.raiseRecoverable = function(e, t) {
5578
+ }, S.raiseRecoverable = function(e, t) {
5578
5579
  return this.raiseCommonCheck(e, t, !0);
5579
- }, C.raise = function(e, t) {
5580
+ }, S.raise = function(e, t) {
5580
5581
  return this.raiseCommonCheck(e, t, !0);
5581
- }, C.updateContext = function(t) {
5582
+ }, S.updateContext = function(t) {
5582
5583
  var n = this.type;
5583
5584
  if (n == o.braceL) {
5584
5585
  var r = this.curContext();
@@ -5587,7 +5588,7 @@ function kn(e) {
5587
5588
  if (n !== o.slash || t !== m.jsxTagStart) return e.prototype.updateContext.call(this, t);
5588
5589
  this.context.length -= 2, this.context.push(h.tc_cTag), this.exprAllowed = !1;
5589
5590
  }
5590
- }, C.jsx_parseOpeningElementAt = function(e, t) {
5591
+ }, S.jsx_parseOpeningElementAt = function(e, t) {
5591
5592
  var n = this, r = this.startNodeAt(e, t), i = this.jsx_parseElementName();
5592
5593
  if (i && (r.name = i), this.match(o.relational) || this.match(o.bitShift)) {
5593
5594
  var a = this.tsTryParseAndCatch(function() {
@@ -5597,31 +5598,31 @@ function kn(e) {
5597
5598
  }
5598
5599
  for (r.attributes = []; this.type !== o.slash && this.type !== m.jsxTagEnd;) r.attributes.push(this.jsx_parseAttribute());
5599
5600
  return r.selfClosing = this.eat(o.slash), this.expect(m.jsxTagEnd), this.finishNode(r, i ? "JSXOpeningElement" : "JSXOpeningFragment");
5600
- }, C.enterScope = function(t) {
5601
- t === fn && this.importsStack.push([]), e.prototype.enterScope.call(this, t);
5601
+ }, S.enterScope = function(t) {
5602
+ t === pn && this.importsStack.push([]), e.prototype.enterScope.call(this, t);
5602
5603
  var n = e.prototype.currentScope.call(this);
5603
5604
  n.types = [], n.enums = [], n.constEnums = [], n.classes = [], n.exportOnlyBindings = [];
5604
- }, C.exitScope = function() {
5605
- e.prototype.currentScope.call(this).flags === fn && this.importsStack.pop(), e.prototype.exitScope.call(this);
5606
- }, C.hasImport = function(e, t) {
5605
+ }, S.exitScope = function() {
5606
+ e.prototype.currentScope.call(this).flags === pn && this.importsStack.pop(), e.prototype.exitScope.call(this);
5607
+ }, S.hasImport = function(e, t) {
5607
5608
  var n = this.importsStack.length;
5608
5609
  if (this.importsStack[n - 1].indexOf(e) > -1) return !0;
5609
5610
  if (!t && n > 1) {
5610
5611
  for (var r = 0; r < n - 1; r++) if (this.importsStack[r].indexOf(e) > -1) return !0;
5611
5612
  }
5612
5613
  return !1;
5613
- }, C.maybeExportDefined = function(e, t) {
5614
+ }, S.maybeExportDefined = function(e, t) {
5614
5615
  this.inModule && 1 & e.flags && this.undefinedExports.delete(t);
5615
- }, C.isRedeclaredInScope = function(t, n, r) {
5616
+ }, S.isRedeclaredInScope = function(t, n, r) {
5616
5617
  return !!(0 & r) && (2 & r ? t.lexical.indexOf(n) > -1 || t.functions.indexOf(n) > -1 || t.var.indexOf(n) > -1 : 3 & r ? t.lexical.indexOf(n) > -1 || !e.prototype.treatFunctionsAsVarInScope.call(this, t) && t.var.indexOf(n) > -1 : t.lexical.indexOf(n) > -1 && !(32 & t.flags && t.lexical[0] === n) || !this.treatFunctionsAsVarInScope(t) && t.functions.indexOf(n) > -1);
5617
- }, C.checkRedeclarationInScope = function(e, t, n, r) {
5618
+ }, S.checkRedeclarationInScope = function(e, t, n, r) {
5618
5619
  this.isRedeclaredInScope(e, t, n) && this.raise(r, "Identifier '" + t + "' has already been declared.");
5619
- }, C.declareName = function(t, n, r) {
5620
+ }, S.declareName = function(t, n, r) {
5620
5621
  if (4096 & n) return this.hasImport(t, !0) && this.raise(r, "Identifier '" + t + "' has already been declared."), void this.importsStack[this.importsStack.length - 1].push(t);
5621
5622
  var i = this.currentScope();
5622
5623
  if (1024 & n) return this.maybeExportDefined(i, t), void i.exportOnlyBindings.push(t);
5623
5624
  e.prototype.declareName.call(this, t, n, r), 0 & n && (0 & n || (this.checkRedeclarationInScope(i, t, n, r), this.maybeExportDefined(i, t)), i.types.push(t)), 256 & n && i.enums.push(t), 512 & n && i.constEnums.push(t), 128 & n && i.classes.push(t);
5624
- }, C.checkLocalExport = function(t) {
5625
+ }, S.checkLocalExport = function(t) {
5625
5626
  var n = t.name;
5626
5627
  if (!this.hasImport(n)) {
5627
5628
  for (var r = this.scopeStack.length - 1; r >= 0; r--) {
@@ -5630,23 +5631,23 @@ function kn(e) {
5630
5631
  }
5631
5632
  e.prototype.checkLocalExport.call(this, t);
5632
5633
  }
5633
- }, u = t, S = [{
5634
+ }, d = t, x = [{
5634
5635
  key: "acornTypeScript",
5635
5636
  get: function() {
5636
5637
  return i;
5637
5638
  }
5638
- }], (x = [{
5639
+ }], (b = [{
5639
5640
  key: "acornTypeScript",
5640
5641
  get: function() {
5641
5642
  return i;
5642
5643
  }
5643
- }]) && rn(u.prototype, x), S && rn(u, S), Object.defineProperty(u, "prototype", { writable: !1 }), t;
5644
+ }]) && an(d.prototype, b), x && an(d, x), Object.defineProperty(d, "prototype", { writable: !1 }), t;
5644
5645
  }(t);
5645
5646
  };
5646
5647
  }
5647
5648
  //#endregion
5648
5649
  //#region src/utilities/index.ts
5649
- var An = [
5650
+ var jn = [
5650
5651
  {
5651
5652
  idPrefix: "dpuse-app",
5652
5653
  typeId: "app",
@@ -5719,8 +5720,8 @@ var An = [
5719
5720
  publishedTo: "npm",
5720
5721
  uploadGroupName: "tools"
5721
5722
  }
5722
- ], jn = r(i);
5723
- async function Mn(e, r) {
5723
+ ], Mn = r(i);
5724
+ async function Nn(e, r) {
5724
5725
  e !== void 0 && q(`${e} - clear(${r})`);
5725
5726
  let i;
5726
5727
  try {
@@ -5741,15 +5742,15 @@ async function Mn(e, r) {
5741
5742
  }
5742
5743
  }));
5743
5744
  }
5744
- async function Nn(e, n) {
5745
+ async function Pn(e, n) {
5745
5746
  return t.readdir(e, n);
5746
5747
  }
5747
- async function Pn(e, n, r = [], i) {
5748
+ async function Fn(e, n, r = [], i) {
5748
5749
  e !== void 0 && q(`${e} - exec(${n} ${r.join(" ")})`);
5749
- let { stdout: a, stderr: o } = await jn(n, r);
5750
+ let { stdout: a, stderr: o } = await Mn(n, r);
5750
5751
  i === void 0 ? a.trim() && console.log(a.trim()) : await t.writeFile(i, a.trim(), "utf8"), o.trim() && console.error(o.trim());
5751
5752
  }
5752
- async function Fn(e, t, n = [], r = !1, i = !1) {
5753
+ async function In(e, t, n = [], r = !1, i = !1) {
5753
5754
  return q(`${e} - spawn(${t} ${n.join(" ")})`), new Promise((e, o) => {
5754
5755
  a(t, n, {
5755
5756
  shell: i,
@@ -5759,7 +5760,7 @@ async function Fn(e, t, n = [], r = !1, i = !1) {
5759
5760
  });
5760
5761
  });
5761
5762
  }
5762
- async function In(e, n, r = [], i, o = !1) {
5763
+ async function Ln(e, n, r = [], i, o = !1) {
5763
5764
  return q(`${e} - spawn(${n} ${r.join(" ")}) > ${i}`), new Promise((e, s) => {
5764
5765
  let c = a(n, r, {
5765
5766
  shell: !1,
@@ -5785,20 +5786,20 @@ async function In(e, n, r = [], i, o = !1) {
5785
5786
  async function W(e) {
5786
5787
  return JSON.parse(await t.readFile(e, "utf8"));
5787
5788
  }
5788
- async function Ln(e) {
5789
+ async function Rn(e) {
5789
5790
  return await t.readFile(e, "utf8");
5790
5791
  }
5791
- async function Rn(e) {
5792
+ async function zn(e) {
5792
5793
  try {
5793
5794
  await t.unlink(e);
5794
5795
  } catch (e) {
5795
5796
  if (e.code !== "ENOENT") throw e;
5796
5797
  }
5797
5798
  }
5798
- async function zn(e, n) {
5799
+ async function Bn(e, n) {
5799
5800
  await t.writeFile(e, JSON.stringify(n, void 0, 4), "utf8");
5800
5801
  }
5801
- async function Bn(e, n) {
5802
+ async function Vn(e, n) {
5802
5803
  await t.writeFile(e, n, "utf8");
5803
5804
  }
5804
5805
  function G(e) {
@@ -5811,21 +5812,21 @@ function K(e) {
5811
5812
  function q(e) {
5812
5813
  console.info(`\n${e}\n`);
5813
5814
  }
5814
- function Vn(e) {
5815
- let t = An.find((t) => e.startsWith(t.idPrefix));
5815
+ function Hn(e) {
5816
+ let t = jn.find((t) => e.startsWith(t.idPrefix));
5816
5817
  if (!t) throw Error(`Failed to locate module type configuration for identifier '${e}'.`);
5817
5818
  return t;
5818
5819
  }
5819
- async function Hn(e) {
5820
+ async function Un(e) {
5820
5821
  return await t.stat(e);
5821
5822
  }
5822
- function Un(e) {
5823
- let t = k.extend(kn()).parse(e, {
5823
+ function Wn(e) {
5824
+ let t = k.extend(An()).parse(e, {
5824
5825
  ecmaVersion: "latest",
5825
5826
  sourceType: "module",
5826
5827
  locations: !0
5827
5828
  }), n = [];
5828
- return Wn(t, (e) => {
5829
+ return Gn(t, (e) => {
5829
5830
  if (e.type !== "MethodDefinition") return;
5830
5831
  let t = e, r = t.key;
5831
5832
  if (r.type !== "Identifier") return;
@@ -5833,7 +5834,7 @@ function Un(e) {
5833
5834
  i && i !== "constructor" && t.accessibility !== "private" && n.push(i);
5834
5835
  }), n;
5835
5836
  }
5836
- function Wn(e, t) {
5837
+ function Gn(e, t) {
5837
5838
  t(e);
5838
5839
  for (let [n, r] of Object.entries(e)) {
5839
5840
  if ([
@@ -5846,40 +5847,40 @@ function Wn(e, t) {
5846
5847
  let e = r;
5847
5848
  if (Array.isArray(e)) for (let n of e) {
5848
5849
  let e = n;
5849
- e && typeof e.type == "string" && Wn(e, t);
5850
+ e && typeof e.type == "string" && Gn(e, t);
5850
5851
  }
5851
- else e && typeof e == "object" && typeof e.type == "string" && Wn(e, t);
5852
+ else e && typeof e == "object" && typeof e.type == "string" && Gn(e, t);
5852
5853
  }
5853
5854
  }
5854
- function Gn(e, t, n, r) {
5855
+ function Kn(e, t, n, r) {
5855
5856
  let i = e.indexOf(n), a = e.indexOf(r);
5856
5857
  if (i === -1 || a === -1) throw Error(`Markers ${n}-${r} not found in content.`);
5857
5858
  return `${e.slice(0, Math.max(0, i + n.length))}\n${t}\n${e.slice(Math.max(0, a))}`;
5858
5859
  }
5859
5860
  //#endregion
5860
5861
  //#region src/actions/auditDependencies.ts
5861
- async function Kn() {
5862
+ async function qn() {
5862
5863
  try {
5863
- G("Audit Dependencies"), await Fn("1️⃣ Check using 'npm audit'", "npm", ["audit"]), K("Dependencies audited.");
5864
+ G("Audit Dependencies"), await In("1️⃣ Check using 'npm audit'", "npm", ["audit"]), K("Dependencies audited.");
5864
5865
  } catch (e) {
5865
5866
  console.error("❌ Error auditing dependencies.", e), process.exit(1);
5866
5867
  }
5867
5868
  }
5868
5869
  //#endregion
5869
5870
  //#region src/actions/checkConfigFiles.ts
5870
- async function qn() {
5871
+ async function Jn() {
5871
5872
  try {
5872
5873
  G("Check configuration files.");
5873
- let e = Vn((await W("config.json")).id), t = n.dirname(o(import.meta.url));
5874
- await Jn(t, "../", ".editorconfig"), await Jn(t, "../", ".gitattributes"), await Jn(t, "../", e.publishedTo === "npm" ? ".gitignore_published" : ".gitignore_unpublished"), await Jn(t, "../", ".markdownlint.json"), await Jn(t, "../", "LICENSE"), K("Configuration files checked..");
5874
+ let e = Hn((await W("config.json")).id), t = n.dirname(o(import.meta.url));
5875
+ await Yn(t, "../", ".editorconfig"), await Yn(t, "../", ".gitattributes"), await Yn(t, "../", e.publishedTo === "npm" ? ".gitignore_published" : ".gitignore_unpublished"), await Yn(t, "../", ".markdownlint.json"), await Yn(t, "../", "LICENSE"), K("Configuration files checked..");
5875
5876
  } catch (e) {
5876
5877
  console.error("❌ Error checking configuration files.", e), process.exit(1);
5877
5878
  }
5878
5879
  }
5879
- async function Jn(e, t, r) {
5880
- let i = await Ln(n.resolve(e, `${t}${r}`)), a = n.resolve(process.cwd(), r.split("_", 1)[0] ?? r), o;
5880
+ async function Yn(e, t, r) {
5881
+ let i = await Rn(n.resolve(e, `${t}${r}`)), a = n.resolve(process.cwd(), r.split("_", 1)[0] ?? r), o;
5881
5882
  try {
5882
- o = await Ln(a);
5883
+ o = await Rn(a);
5883
5884
  } catch (e) {
5884
5885
  if (e.code !== "ENOENT") throw e;
5885
5886
  }
@@ -5891,58 +5892,58 @@ async function Jn(e, t, r) {
5891
5892
  }
5892
5893
  //#endregion
5893
5894
  //#region src/actions/checkDependencies.ts
5894
- async function Yn() {
5895
+ async function Xn() {
5895
5896
  try {
5896
- G("Check Dependencies"), await Fn("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), await Fn("2️⃣ Check using 'npm-check-updates'", "npm-check-updates", [
5897
+ G("Check Dependencies"), await In("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), await In("2️⃣ Check using 'npm-check-updates'", "npm-check-updates", [
5897
5898
  "-i",
5898
5899
  "--dep",
5899
5900
  "dev,prod,peer,optional",
5900
5901
  "--install",
5901
5902
  "never"
5902
- ]), await Fn("3️⃣ Install updated dependencies", "npm", ["install", "--prefer-online"]), K("Dependencies checked.");
5903
+ ]), await In("3️⃣ Install updated dependencies", "npm", ["install", "--prefer-online"]), K("Dependencies checked.");
5903
5904
  } catch (e) {
5904
5905
  console.error("❌ Error checking dependencies.", e), process.exit(1);
5905
5906
  }
5906
5907
  }
5907
5908
  //#endregion
5908
5909
  //#region src/actions/documentBundleSizes.ts
5909
- var Xn = r(c), Zn = r(s), Qn = "<!-- BUNDLE_START -->", $n = "<!-- BUNDLE_END -->", er = "&nbsp;&nbsp;&nbsp;&nbsp;", tr = 20;
5910
- async function nr(e) {
5910
+ var Zn = r(c), Qn = r(s), $n = "<!-- BUNDLE_START -->", er = "<!-- BUNDLE_END -->", tr = "&nbsp;&nbsp;&nbsp;&nbsp;", nr = 20;
5911
+ async function rr(e) {
5911
5912
  try {
5912
5913
  G("Document Bundle Sizes"), q("1️⃣ Read bundle analysis report");
5913
5914
  let t = await W("./bundle-analysis-reports/rollup-visualiser/index.json");
5914
5915
  q("2️⃣ Insert table into 'README.md'");
5915
- let n = await ir(t, await rr(), e?.moduleLevel ?? !1);
5916
- await Bn("README.md", Gn(await Ln("./README.md"), `\n${n}\n`, Qn, $n)), K("Bundle sizes documented.");
5916
+ let n = await ar(t, await ir(), e?.moduleLevel ?? !1);
5917
+ await Vn("README.md", Kn(await Rn("./README.md"), `\n${n}\n`, $n, er)), K("Bundle sizes documented.");
5917
5918
  } catch (e) {
5918
5919
  console.error("❌ Error documenting bundle sizes.", e), process.exit(1);
5919
5920
  }
5920
5921
  }
5921
- async function rr() {
5922
+ async function ir() {
5922
5923
  try {
5923
5924
  return await t.access("./dist/client/assets"), "./dist/client/assets";
5924
5925
  } catch {
5925
5926
  return "./dist";
5926
5927
  }
5927
5928
  }
5928
- async function ir(e, t, n) {
5929
- let r = sr(e), i = r.values().flatMap((e) => e.values().toArray()).reduce((e, t) => e + t.sizes.rendered, 0), a = await ar(t);
5929
+ async function ar(e, t, n) {
5930
+ let r = ur(e), i = r.values().flatMap((e) => e.values().toArray()).reduce((e, t) => e + t.sizes.rendered, 0), a = await cr(t);
5930
5931
  a.sort((e, t) => t[1].rendered - e[1].rendered);
5931
- let o = ["|Chunk/Module/File|Composition|", "|:------ |:-----------|"], s = (e) => `${mr(e.rendered)} · gz ${mr(e.gzip)} · br ${mr(e.brotli)}`;
5932
+ let o = ["|Chunk/Module/File|Composition|", "|:------ |:-----------|"], s = (e) => `${_r(e.rendered)} · gz ${_r(e.gzip)} · br ${_r(e.brotli)}`;
5932
5933
  for (let [e, t] of a) {
5933
5934
  let a = [...r.get(e) ?? /* @__PURE__ */ new Map()].toSorted((e, t) => t[1].sizes.rendered - e[1].sizes.rendered);
5934
5935
  if (a.length === 1) {
5935
- let [r, { sizes: c, files: l }] = a[0], u = i > 0 ? c.rendered / i * 100 : 0;
5936
+ let [r, { sizes: c, files: l }] = or(a), u = i > 0 ? c.rendered / i * 100 : 0;
5936
5937
  if (l.size === 1) {
5937
- let [n] = l.keys();
5938
- o.push(`| ${e} → ${r} → ${n} | ${s(t)} · ${cr(u)} |`);
5939
- } else if (n) o.push(`| ${e} → ${r} | ${s(t)} · ${cr(u)} |`);
5938
+ let n = sr(l);
5939
+ o.push(`| ${e} → ${r} → ${n} | ${s(t)} · ${dr(u)} |`);
5940
+ } else if (n) o.push(`| ${e} → ${r} | ${s(t)} · ${dr(u)} |`);
5940
5941
  else {
5941
- o.push(`| ${e} → ${r} | ${s(t)} · ${cr(u)} |`);
5942
+ o.push(`| ${e} → ${r} | ${s(t)} · ${dr(u)} |`);
5942
5943
  let n = [...l].toSorted((e, t) => t[1].rendered - e[1].rendered);
5943
5944
  for (let [e, t] of n) {
5944
5945
  let n = i > 0 ? t.rendered / i * 100 : 0;
5945
- o.push(`| ${er}${e} | ${cr(n)} |`);
5946
+ o.push(`| ${tr}${e} | ${dr(n)} |`);
5946
5947
  }
5947
5948
  }
5948
5949
  } else {
@@ -5950,15 +5951,15 @@ async function ir(e, t, n) {
5950
5951
  for (let [e, { sizes: t, files: r }] of a) {
5951
5952
  let a = i > 0 ? t.rendered / i * 100 : 0;
5952
5953
  if (r.size === 1) {
5953
- let [t] = r.keys();
5954
- o.push(`| ${er}${e} → ${t} | ${cr(a)} |`);
5955
- } else if (n) o.push(`| ${er}${e} | ${cr(a)} |`);
5954
+ let t = sr(r);
5955
+ o.push(`| ${tr}${e} → ${t} | ${dr(a)} |`);
5956
+ } else if (n) o.push(`| ${tr}${e} | ${dr(a)} |`);
5956
5957
  else {
5957
- o.push(`| ${er}${e} | ${cr(a)} |`);
5958
+ o.push(`| ${tr}${e} | ${dr(a)} |`);
5958
5959
  let t = [...r].toSorted((e, t) => t[1].rendered - e[1].rendered);
5959
5960
  for (let [e, n] of t) {
5960
5961
  let t = i > 0 ? n.rendered / i * 100 : 0;
5961
- o.push(`| ${er}${er}${e} | ${cr(t)} |`);
5962
+ o.push(`| ${tr}${tr}${e} | ${dr(t)} |`);
5962
5963
  }
5963
5964
  }
5964
5965
  }
@@ -5966,10 +5967,20 @@ async function ir(e, t, n) {
5966
5967
  }
5967
5968
  return o.join("\n");
5968
5969
  }
5969
- async function ar(e) {
5970
+ function or(e) {
5971
+ let [t] = e;
5972
+ if (t === void 0) throw Error("Expected exactly one entry.");
5973
+ return t;
5974
+ }
5975
+ function sr(e) {
5976
+ let [t] = e.keys();
5977
+ if (t === void 0) throw Error("Expected exactly one file.");
5978
+ return t;
5979
+ }
5980
+ async function cr(e) {
5970
5981
  let n = (await t.readdir(e)).filter((e) => e.endsWith(".js") && !e.endsWith(".map"));
5971
5982
  return Promise.all(n.map(async (n) => {
5972
- let r = await t.readFile(`${e}/${n}`), [i, a] = await Promise.all([Xn(r), Zn(r)]);
5983
+ let r = await t.readFile(`${e}/${n}`), [i, a] = await Promise.all([Zn(r), Qn(r)]);
5973
5984
  return [n, {
5974
5985
  rendered: r.length,
5975
5986
  gzip: i.length,
@@ -5977,32 +5988,32 @@ async function ar(e) {
5977
5988
  }];
5978
5989
  }));
5979
5990
  }
5980
- function or(e, t, n, r, i, a) {
5991
+ function lr(e, t, n, r, i, a) {
5981
5992
  let o = t.nodeParts[a];
5982
5993
  if (!o) return;
5983
- let s = dr(o), c = e.get(i);
5994
+ let s = mr(o), c = e.get(i);
5984
5995
  c === void 0 && (c = /* @__PURE__ */ new Map(), e.set(i, c));
5985
5996
  let l = c.get(n);
5986
5997
  l === void 0 && (l = {
5987
- sizes: fr(),
5998
+ sizes: hr(),
5988
5999
  files: /* @__PURE__ */ new Map()
5989
- }, c.set(n, l)), pr(l.sizes, s);
6000
+ }, c.set(n, l)), gr(l.sizes, s);
5990
6001
  let u = l.files.get(r);
5991
- u === void 0 && (u = fr(), l.files.set(r, u)), pr(u, s);
6002
+ u === void 0 && (u = hr(), l.files.set(r, u)), gr(u, s);
5992
6003
  }
5993
- function sr(e) {
6004
+ function ur(e) {
5994
6005
  let t = /* @__PURE__ */ new Map();
5995
6006
  for (let n of Object.values(e.nodeMetas)) {
5996
- let r = lr(n.id), i = ur(n.id);
5997
- for (let [a, o] of Object.entries(n.moduleParts)) or(t, e, r, i, a.split("/").at(-1) ?? a, o);
6007
+ let r = fr(n.id), i = pr(n.id);
6008
+ for (let [a, o] of Object.entries(n.moduleParts)) lr(t, e, r, i, a.split("/").at(-1) ?? a, o);
5998
6009
  }
5999
6010
  return t;
6000
6011
  }
6001
- function cr(e) {
6002
- let t = Math.round(e / 100 * tr);
6003
- return `\`${"█".repeat(t)}${"░".repeat(tr - t)}\` ${e.toFixed(1)}%`;
6012
+ function dr(e) {
6013
+ let t = Math.round(e / 100 * nr);
6014
+ return `\`${"█".repeat(t)}${"░".repeat(nr - t)}\` ${e.toFixed(1)}%`;
6004
6015
  }
6005
- function lr(e) {
6016
+ function fr(e) {
6006
6017
  let t = e.startsWith("/") ? e.slice(1) : e;
6007
6018
  if (t.startsWith("\0")) return "(runtime)";
6008
6019
  if (t.startsWith("node_modules/")) {
@@ -6015,7 +6026,7 @@ function lr(e) {
6015
6026
  }
6016
6027
  return t.startsWith("rust/") || t.startsWith("__vite-plugin-wasm") ? "wasm" : "src";
6017
6028
  }
6018
- function ur(e) {
6029
+ function pr(e) {
6019
6030
  let t = e.startsWith("/") ? e.slice(1) : e;
6020
6031
  if (t.startsWith("\0")) return t.slice(1);
6021
6032
  if (t.startsWith("node_modules/")) {
@@ -6024,68 +6035,80 @@ function ur(e) {
6024
6035
  }
6025
6036
  return t.split("/").at(-1) ?? t;
6026
6037
  }
6027
- function dr(e) {
6038
+ function mr(e) {
6028
6039
  return {
6029
6040
  rendered: e.renderedLength,
6030
6041
  gzip: e.gzipLength,
6031
6042
  brotli: e.brotliLength
6032
6043
  };
6033
6044
  }
6034
- function fr() {
6045
+ function hr() {
6035
6046
  return {
6036
6047
  rendered: 0,
6037
6048
  gzip: 0,
6038
6049
  brotli: 0
6039
6050
  };
6040
6051
  }
6041
- function pr(e, t) {
6052
+ function gr(e, t) {
6042
6053
  e.rendered += t.rendered, e.gzip += t.gzip, e.brotli += t.brotli;
6043
6054
  }
6044
- function mr(e) {
6055
+ function _r(e) {
6045
6056
  return e < 1024 ? `${String(e)} B` : `${(e / 1024).toFixed(1)} kB`;
6046
6057
  }
6047
6058
  //#endregion
6048
6059
  //#region src/actions/documentDependencies.ts
6049
- var hr = "<!-- DEPENDENCY_LICENSES_START -->", gr = "<!-- DEPENDENCY_LICENSES_END -->", _r = "<!-- DEPENDENCY_TREE_START -->", vr = "<!-- DEPENDENCY_TREE_END -->";
6050
- async function yr(e = "MIT") {
6060
+ var vr = "<!-- DEPENDENCY_LICENSES_START -->", yr = "<!-- DEPENDENCY_LICENSES_END -->", br = "<!-- DEPENDENCY_TREE_START -->", xr = "<!-- DEPENDENCY_TREE_END -->";
6061
+ async function Sr(e = "MIT") {
6051
6062
  try {
6052
- G("Document Dependencies"), await Mn("1️⃣ Clear downloaded licenses", "licenses/downloads"), await Pn("2️⃣ Identify production licenses", "license-checker-rseidelsohn", [
6053
- "--production",
6054
- "--json",
6055
- "--files",
6056
- "licenses/downloads",
6057
- "--relativeModulePath",
6058
- "--relativeLicensePath",
6059
- "--onlyAllow",
6060
- e,
6061
- "--excludePackages",
6062
- (await W("package.json")).name ?? "",
6063
- "--out",
6064
- "licenses/licenses.json"
6065
- ]), await In("3️⃣ Identify transitive dependencies", "npm", [
6063
+ G("Document Dependencies");
6064
+ let t = await W("package.json");
6065
+ if (t.name === "@dpuse/dpuse-development") {
6066
+ await Cr(), K("Dependencies documented.");
6067
+ return;
6068
+ }
6069
+ await Nn("1️⃣ Clear downloaded licenses", "licenses/downloads"), q("2️⃣ Identify production licenses"), await new Promise((n, r) => {
6070
+ l({
6071
+ start: process.cwd(),
6072
+ production: !0,
6073
+ json: !0,
6074
+ files: "licenses/downloads",
6075
+ relativeModulePath: !0,
6076
+ relativeLicensePath: !0,
6077
+ onlyAllow: e,
6078
+ excludePackages: t.name ?? "",
6079
+ out: "licenses/licenses.json"
6080
+ }, (e) => {
6081
+ e == null ? n() : r(e);
6082
+ });
6083
+ }), await Ln("3️⃣ Identify transitive dependencies", "npm", [
6066
6084
  "ls",
6067
6085
  "--all",
6068
6086
  "--json",
6069
6087
  "--omit=dev"
6070
- ], "licenses/licenseTree.json"), await br("4️⃣ "), K("Dependencies documented.");
6088
+ ], "licenses/licenseTree.json"), await wr("4️⃣ "), K("Dependencies documented.");
6071
6089
  } catch (e) {
6072
6090
  console.error("❌ Error documenting dependencies.", e), process.exit(1);
6073
6091
  }
6074
6092
  }
6075
- async function br(e) {
6093
+ async function Cr() {
6094
+ q("1️⃣ Skip: @dpuse/dpuse-development is a development-only tool and is never part of a production release");
6095
+ let e = "⚠️ Dependency licenses are not documented here: @dpuse/dpuse-development is a development-only tool and is never part of a production release.";
6096
+ await Vn("README.md", Kn(Kn(await Rn("./README.md"), e, vr, yr), e, br, xr));
6097
+ }
6098
+ async function wr(e) {
6076
6099
  q(`${e} Insert licenses into 'README.md'`);
6077
6100
  let [t, n] = await Promise.all([W("licenses/licenses.json"), W("licenses/licenseTree.json")]), r = /* @__PURE__ */ new Map();
6078
- for (let [e, n] of Object.entries(t)) r.set(e, xr(e, n));
6101
+ for (let [e, n] of Object.entries(t)) r.set(e, Tr(e, n));
6079
6102
  await Promise.all(r.values().map(async (e) => {
6080
- let t = await Sr(e.name, e.installedVersion);
6103
+ let t = await Er(e.name, e.installedVersion);
6081
6104
  e.latestVersion = t.latestVersion, e.latestPublishedDate = t.latestPublishedDate, e.publishedDate = t.publishedDate;
6082
6105
  }));
6083
6106
  let i = "|Dependency|Version|License(s)|Document|\n|:-|:-:|:-|:-|\n";
6084
- for (let e of r.values()) i += Cr(e);
6107
+ for (let e of r.values()) i += Dr(e);
6085
6108
  let a = [];
6086
- n.dependencies != null && wr(n.dependencies, r, a, 0), await Bn("README.md", Gn(Gn(await Ln("./README.md"), i, hr, gr), a.join("\n"), _r, vr));
6109
+ n.dependencies != null && Or(n.dependencies, r, a, 0), await Vn("README.md", Kn(Kn(await Rn("./README.md"), i, vr, yr), a.join("\n"), br, xr));
6087
6110
  }
6088
- function xr(e, t) {
6111
+ function Tr(e, t) {
6089
6112
  let n = e.lastIndexOf("@"), r = n > 0 ? e.slice(0, n) : e, i = n > 0 ? e.slice(n + 1) : "";
6090
6113
  return {
6091
6114
  name: r,
@@ -6099,7 +6122,7 @@ function xr(e, t) {
6099
6122
  ...t.licenseFile != null && { licenseFileLink: t.licenseFile }
6100
6123
  };
6101
6124
  }
6102
- async function Sr(e, t) {
6125
+ async function Er(e, t) {
6103
6126
  try {
6104
6127
  let n = await fetch(`https://registry.npmjs.org/${encodeURIComponent(e)}`);
6105
6128
  if (n.ok) {
@@ -6117,25 +6140,25 @@ async function Sr(e, t) {
6117
6140
  publishedDate: ""
6118
6141
  };
6119
6142
  }
6120
- function Cr(e) {
6143
+ function Dr(e) {
6121
6144
  let t = e.licenseFileLink == null || e.licenseFileLink === "" ? "⚠️ No license file" : `[LICENSE](licenses/${e.licenseFileLink})`;
6122
6145
  return `|[${e.name}](${e.repository})|${e.installedVersion}|${e.licenseTypes}|${t}|\n`;
6123
6146
  }
6124
- function wr(e, t, n, r) {
6147
+ function Or(e, t, n, r) {
6125
6148
  let i = " ".repeat(r);
6126
6149
  for (let [a, o] of Object.entries(e)) {
6127
- let e = o.version ?? "", s = t.get(`${a}@${e}`), c = s == null ? a : `[${a}](${s.repository})`, l = Tr(s);
6128
- n.push(`${i}- **${c}** ${e}${l}`), o.dependencies != null && wr(o.dependencies, t, n, r + 1);
6150
+ let e = o.version ?? "", s = t.get(`${a}@${e}`), c = s == null ? a : `[${a}](${s.repository})`, l = kr(s);
6151
+ n.push(`${i}- **${c}** ${e}${l}`), o.dependencies != null && Or(o.dependencies, t, n, r + 1);
6129
6152
  }
6130
6153
  }
6131
- function Tr(e) {
6154
+ function kr(e) {
6132
6155
  if (e == null) return "";
6133
- let t = e.publishedDate ? Er(e.publishedDate.split("T", 1)[0]) : "";
6156
+ let t = e.publishedDate ? Ar(e.publishedDate.split("T", 1)[0]) : "";
6134
6157
  if (!(e.latestVersion !== "" && e.latestVersion !== e.installedVersion)) return t === "" ? "" : ` — ${t}`;
6135
- let n = e.latestPublishedDate ? Er(e.latestPublishedDate.split("T", 1)[0]) : "", r = n === "" ? `**latest**: ${e.latestVersion} ❗` : `**latest**: ${e.latestVersion} — ${n} ❗`;
6158
+ let n = e.latestPublishedDate ? Ar(e.latestPublishedDate.split("T", 1)[0]) : "", r = n === "" ? `**latest**: ${e.latestVersion} ❗` : `**latest**: ${e.latestVersion} — ${n} ❗`;
6136
6159
  return t === "" ? ` — → ${r}` : ` — ${t} → ${r}`;
6137
6160
  }
6138
- function Er(e) {
6161
+ function Ar(e) {
6139
6162
  if (e == null || e === "") return "n/a";
6140
6163
  let t = e.split("T", 1)[0];
6141
6164
  if (t == null || t === "") return "n/a";
@@ -6144,43 +6167,43 @@ function Er(e) {
6144
6167
  }
6145
6168
  //#endregion
6146
6169
  //#region node_modules/@dpuse/dpuse-shared/dist/componentConfig.schema-B7kVKqVP.js
6147
- var Dr, Or = {
6170
+ var jr, Mr = {
6148
6171
  lang: void 0,
6149
6172
  message: void 0,
6150
6173
  abortEarly: void 0,
6151
6174
  abortPipeEarly: void 0
6152
6175
  };
6153
6176
  /* @__NO_SIDE_EFFECTS__ */
6154
- function kr(e) {
6155
- return !e && !Dr ? Or : {
6156
- lang: e?.lang ?? Dr?.lang,
6177
+ function Nr(e) {
6178
+ return !e && !jr ? Mr : {
6179
+ lang: e?.lang ?? jr?.lang,
6157
6180
  message: e?.message,
6158
- abortEarly: e?.abortEarly ?? Dr?.abortEarly,
6159
- abortPipeEarly: e?.abortPipeEarly ?? Dr?.abortPipeEarly
6181
+ abortEarly: e?.abortEarly ?? jr?.abortEarly,
6182
+ abortPipeEarly: e?.abortPipeEarly ?? jr?.abortPipeEarly
6160
6183
  };
6161
6184
  }
6162
- var Ar;
6185
+ var Pr;
6163
6186
  /* @__NO_SIDE_EFFECTS__ */
6164
- function jr(e) {
6165
- return Ar?.get(e);
6187
+ function Fr(e) {
6188
+ return Pr?.get(e);
6166
6189
  }
6167
- var Mr;
6190
+ var Ir;
6168
6191
  /* @__NO_SIDE_EFFECTS__ */
6169
- function Nr(e) {
6170
- return Mr?.get(e);
6192
+ function Lr(e) {
6193
+ return Ir?.get(e);
6171
6194
  }
6172
- var Pr;
6195
+ var Rr;
6173
6196
  /* @__NO_SIDE_EFFECTS__ */
6174
- function Fr(e, t) {
6175
- return Pr?.get(e)?.get(t);
6197
+ function zr(e, t) {
6198
+ return Rr?.get(e)?.get(t);
6176
6199
  }
6177
6200
  /* @__NO_SIDE_EFFECTS__ */
6178
- function Ir(e) {
6201
+ function Br(e) {
6179
6202
  let t = typeof e;
6180
6203
  return t === "string" ? `"${e}"` : t === "number" || t === "bigint" || t === "boolean" ? `${e}` : t === "object" || t === "function" ? (e && Object.getPrototypeOf(e)?.constructor?.name) ?? "null" : t;
6181
6204
  }
6182
6205
  function J(e, t, n, r, i) {
6183
- let a = i && "input" in i ? i.input : n.value, o = i?.expected ?? e.expects ?? null, s = i?.received ?? /* @__PURE__ */ Ir(a), c = {
6206
+ let a = i && "input" in i ? i.input : n.value, o = i?.expected ?? e.expects ?? null, s = i?.received ?? /* @__PURE__ */ Br(a), c = {
6184
6207
  kind: e.kind,
6185
6208
  type: e.type,
6186
6209
  input: a,
@@ -6193,36 +6216,36 @@ function J(e, t, n, r, i) {
6193
6216
  lang: r.lang,
6194
6217
  abortEarly: r.abortEarly,
6195
6218
  abortPipeEarly: r.abortPipeEarly
6196
- }, l = e.kind === "schema", u = i?.message ?? e.message ?? /* @__PURE__ */ Fr(e.reference, c.lang) ?? (l ? /* @__PURE__ */ Nr(c.lang) : null) ?? r.message ?? /* @__PURE__ */ jr(c.lang);
6219
+ }, l = e.kind === "schema", u = i?.message ?? e.message ?? /* @__PURE__ */ zr(e.reference, c.lang) ?? (l ? /* @__PURE__ */ Lr(c.lang) : null) ?? r.message ?? /* @__PURE__ */ Fr(c.lang);
6197
6220
  u !== void 0 && (c.message = typeof u == "function" ? u(c) : u), l && (n.typed = !1), n.issues ? n.issues.push(c) : n.issues = [c];
6198
6221
  }
6199
- var Lr = /* @__PURE__ */ new WeakMap();
6222
+ var Vr = /* @__PURE__ */ new WeakMap();
6200
6223
  /* @__NO_SIDE_EFFECTS__ */
6201
6224
  function Y(e) {
6202
- let t = Lr.get(e);
6225
+ let t = Vr.get(e);
6203
6226
  return t || (t = {
6204
6227
  version: 1,
6205
6228
  vendor: "valibot",
6206
6229
  validate(t) {
6207
- return e["~run"]({ value: t }, /* @__PURE__ */ kr());
6230
+ return e["~run"]({ value: t }, /* @__PURE__ */ Nr());
6208
6231
  }
6209
- }, Lr.set(e, t)), t;
6232
+ }, Vr.set(e, t)), t;
6210
6233
  }
6211
6234
  /* @__NO_SIDE_EFFECTS__ */
6212
- function Rr(e, t) {
6235
+ function Hr(e, t) {
6213
6236
  return Object.prototype.hasOwnProperty.call(e, t) && t !== "__proto__" && t !== "prototype" && t !== "constructor";
6214
6237
  }
6215
6238
  /* @__NO_SIDE_EFFECTS__ */
6216
- function zr(e, t) {
6239
+ function Ur(e, t) {
6217
6240
  let n = [...new Set(e)];
6218
6241
  return n.length > 1 ? `(${n.join(` ${t} `)})` : n[0] ?? "never";
6219
6242
  }
6220
6243
  /* @__NO_SIDE_EFFECTS__ */
6221
- function Br(e, t, n) {
6244
+ function Wr(e, t, n) {
6222
6245
  return typeof e.fallback == "function" ? e.fallback(t, n) : e.fallback;
6223
6246
  }
6224
6247
  /* @__NO_SIDE_EFFECTS__ */
6225
- function Vr(e, t, n) {
6248
+ function Gr(e, t, n) {
6226
6249
  return typeof e.default == "function" ? e.default(t, n) : e.default;
6227
6250
  }
6228
6251
  /* @__NO_SIDE_EFFECTS__ */
@@ -6266,11 +6289,11 @@ function X(e, t) {
6266
6289
  };
6267
6290
  }
6268
6291
  /* @__NO_SIDE_EFFECTS__ */
6269
- function Hr(e) {
6292
+ function Kr(e) {
6270
6293
  return {
6271
6294
  kind: "schema",
6272
6295
  type: "boolean",
6273
- reference: Hr,
6296
+ reference: Kr,
6274
6297
  expects: "boolean",
6275
6298
  async: !1,
6276
6299
  message: e,
@@ -6283,12 +6306,12 @@ function Hr(e) {
6283
6306
  };
6284
6307
  }
6285
6308
  /* @__NO_SIDE_EFFECTS__ */
6286
- function Ur(e, t) {
6309
+ function qr(e, t) {
6287
6310
  return {
6288
6311
  kind: "schema",
6289
6312
  type: "literal",
6290
- reference: Ur,
6291
- expects: /* @__PURE__ */ Ir(e),
6313
+ reference: qr,
6314
+ expects: /* @__PURE__ */ Br(e),
6292
6315
  async: !1,
6293
6316
  literal: e,
6294
6317
  message: t,
@@ -6314,16 +6337,16 @@ function Z(e, t) {
6314
6337
  return /* @__PURE__ */ Y(this);
6315
6338
  },
6316
6339
  "~run"(e, t) {
6317
- return e.value === null && (this.default !== void 0 && (e.value = /* @__PURE__ */ Vr(this, e, t)), e.value === null) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
6340
+ return e.value === null && (this.default !== void 0 && (e.value = /* @__PURE__ */ Gr(this, e, t)), e.value === null) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
6318
6341
  }
6319
6342
  };
6320
6343
  }
6321
6344
  /* @__NO_SIDE_EFFECTS__ */
6322
- function Wr(e) {
6345
+ function Jr(e) {
6323
6346
  return {
6324
6347
  kind: "schema",
6325
6348
  type: "number",
6326
- reference: Wr,
6349
+ reference: Jr,
6327
6350
  expects: "number",
6328
6351
  async: !1,
6329
6352
  message: e,
@@ -6355,7 +6378,7 @@ function Q(e, t) {
6355
6378
  for (let r in this.entries) {
6356
6379
  let i = this.entries[r];
6357
6380
  if (r in n || (i.type === "exact_optional" || i.type === "optional" || i.type === "nullish") && i.default !== void 0) {
6358
- let a = r in n ? n[r] : /* @__PURE__ */ Vr(i), o = i["~run"]({ value: a }, t);
6381
+ let a = r in n ? n[r] : /* @__PURE__ */ Gr(i), o = i["~run"]({ value: a }, t);
6359
6382
  if (o.issues) {
6360
6383
  let i = {
6361
6384
  type: "object",
@@ -6371,7 +6394,7 @@ function Q(e, t) {
6371
6394
  }
6372
6395
  }
6373
6396
  o.typed || (e.typed = !1), e.value[r] = o.value;
6374
- } else if (i.fallback !== void 0) e.value[r] = /* @__PURE__ */ Br(i);
6397
+ } else if (i.fallback !== void 0) e.value[r] = /* @__PURE__ */ Wr(i);
6375
6398
  else if (i.type !== "exact_optional" && i.type !== "optional" && i.type !== "nullish" && (J(this, "key", e, t, {
6376
6399
  input: void 0,
6377
6400
  expected: `"${r}"`,
@@ -6390,11 +6413,11 @@ function Q(e, t) {
6390
6413
  };
6391
6414
  }
6392
6415
  /* @__NO_SIDE_EFFECTS__ */
6393
- function Gr(e, t) {
6416
+ function Yr(e, t) {
6394
6417
  return {
6395
6418
  kind: "schema",
6396
6419
  type: "optional",
6397
- reference: Gr,
6420
+ reference: Yr,
6398
6421
  expects: `(${e.expects} | undefined)`,
6399
6422
  async: !1,
6400
6423
  wrapped: e,
@@ -6403,16 +6426,16 @@ function Gr(e, t) {
6403
6426
  return /* @__PURE__ */ Y(this);
6404
6427
  },
6405
6428
  "~run"(e, t) {
6406
- return e.value === void 0 && (this.default !== void 0 && (e.value = /* @__PURE__ */ Vr(this, e, t)), e.value === void 0) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
6429
+ return e.value === void 0 && (this.default !== void 0 && (e.value = /* @__PURE__ */ Gr(this, e, t)), e.value === void 0) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
6407
6430
  }
6408
6431
  };
6409
6432
  }
6410
6433
  /* @__NO_SIDE_EFFECTS__ */
6411
- function Kr(e, t, n) {
6434
+ function Xr(e, t, n) {
6412
6435
  return {
6413
6436
  kind: "schema",
6414
6437
  type: "record",
6415
- reference: Kr,
6438
+ reference: Xr,
6416
6439
  expects: "Object",
6417
6440
  async: !1,
6418
6441
  key: e,
@@ -6425,7 +6448,7 @@ function Kr(e, t, n) {
6425
6448
  let n = e.value;
6426
6449
  if (n && typeof n == "object") {
6427
6450
  e.typed = !0, e.value = {};
6428
- for (let r in n) if (/* @__PURE__ */ Rr(n, r)) {
6451
+ for (let r in n) if (/* @__PURE__ */ Hr(n, r)) {
6429
6452
  let i = n[r], a = this.key["~run"]({ value: r }, t);
6430
6453
  if (a.issues) {
6431
6454
  let o = {
@@ -6481,19 +6504,19 @@ function $(e) {
6481
6504
  };
6482
6505
  }
6483
6506
  /* @__NO_SIDE_EFFECTS__ */
6484
- function qr(e) {
6507
+ function Zr(e) {
6485
6508
  let t;
6486
6509
  if (e) for (let n of e) if (t) for (let e of n.issues) t.push(e);
6487
6510
  else t = n.issues;
6488
6511
  return t;
6489
6512
  }
6490
6513
  /* @__NO_SIDE_EFFECTS__ */
6491
- function Jr(e, t) {
6514
+ function Qr(e, t) {
6492
6515
  return {
6493
6516
  kind: "schema",
6494
6517
  type: "union",
6495
- reference: Jr,
6496
- expects: /* @__PURE__ */ zr(e.map((e) => e.expects), "|"),
6518
+ reference: Qr,
6519
+ expects: /* @__PURE__ */ Ur(e.map((e) => e.expects), "|"),
6497
6520
  async: !1,
6498
6521
  options: e,
6499
6522
  message: t,
@@ -6514,24 +6537,24 @@ function Jr(e, t) {
6514
6537
  if (n) return n;
6515
6538
  if (r) {
6516
6539
  if (r.length === 1) return r[0];
6517
- J(this, "type", e, t, { issues: /* @__PURE__ */ qr(r) }), e.typed = !0;
6540
+ J(this, "type", e, t, { issues: /* @__PURE__ */ Zr(r) }), e.typed = !0;
6518
6541
  } else if (i?.length === 1) return i[0];
6519
- else J(this, "type", e, t, { issues: /* @__PURE__ */ qr(i) });
6542
+ else J(this, "type", e, t, { issues: /* @__PURE__ */ Zr(i) });
6520
6543
  return e;
6521
6544
  }
6522
6545
  };
6523
6546
  }
6524
- var Yr = (e) => /* @__PURE__ */ Jr(e.map((e) => /* @__PURE__ */ Ur(e))), Xr = /* @__PURE__ */ Q({
6547
+ var $r = (e) => /* @__PURE__ */ Qr(e.map((e) => /* @__PURE__ */ qr(e))), ei = /* @__PURE__ */ Q({
6525
6548
  en: /* @__PURE__ */ $(),
6526
6549
  es: /* @__PURE__ */ $()
6527
- }), Zr = /* @__PURE__ */ Q({
6528
- en: /* @__PURE__ */ Gr(/* @__PURE__ */ X(/* @__PURE__ */ $())),
6529
- es: /* @__PURE__ */ Gr(/* @__PURE__ */ X(/* @__PURE__ */ $()))
6530
- }), Qr = /* @__PURE__ */ Q({
6531
- en: /* @__PURE__ */ Gr(/* @__PURE__ */ $()),
6532
- es: /* @__PURE__ */ Gr(/* @__PURE__ */ $())
6550
+ }), ti = /* @__PURE__ */ Q({
6551
+ en: /* @__PURE__ */ Yr(/* @__PURE__ */ X(/* @__PURE__ */ $())),
6552
+ es: /* @__PURE__ */ Yr(/* @__PURE__ */ X(/* @__PURE__ */ $()))
6553
+ }), ni = /* @__PURE__ */ Q({
6554
+ en: /* @__PURE__ */ Yr(/* @__PURE__ */ $()),
6555
+ es: /* @__PURE__ */ Yr(/* @__PURE__ */ $())
6533
6556
  });
6534
- Yr([
6557
+ $r([
6535
6558
  "app",
6536
6559
  "connector",
6537
6560
  "connectorConnection",
@@ -6556,12 +6579,12 @@ Yr([
6556
6579
  "presenterPresentation",
6557
6580
  "tool"
6558
6581
  ]);
6559
- var $r = Yr([
6582
+ var ri = $r([
6560
6583
  "amber",
6561
6584
  "green",
6562
6585
  "red",
6563
6586
  "other"
6564
- ]), ei = Yr([
6587
+ ]), ii = $r([
6565
6588
  "alpha",
6566
6589
  "beta",
6567
6590
  "generalAvailability",
@@ -6571,31 +6594,31 @@ var $r = Yr([
6571
6594
  "releaseCandidate",
6572
6595
  "unavailable",
6573
6596
  "underReview"
6574
- ]), ti = /* @__PURE__ */ Q({
6575
- color: $r,
6597
+ ]), ai = /* @__PURE__ */ Q({
6598
+ color: ri,
6576
6599
  label: /* @__PURE__ */ $()
6577
- }), ni = /* @__PURE__ */ Q({
6600
+ }), oi = /* @__PURE__ */ Q({
6578
6601
  id: /* @__PURE__ */ $(),
6579
- label: Qr,
6580
- description: Zr,
6602
+ label: ni,
6603
+ description: ti,
6581
6604
  icon: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6582
6605
  iconDark: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6583
6606
  iconNeutral: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6584
- order: /* @__PURE__ */ Wr(),
6607
+ order: /* @__PURE__ */ Jr(),
6585
6608
  path: /* @__PURE__ */ $()
6586
- }), ri = {
6609
+ }), si = {
6587
6610
  id: /* @__PURE__ */ $(),
6588
- label: Qr,
6589
- description: Zr,
6590
- firstCreatedAt: /* @__PURE__ */ Z(/* @__PURE__ */ Wr()),
6611
+ label: ni,
6612
+ description: ti,
6613
+ firstCreatedAt: /* @__PURE__ */ Z(/* @__PURE__ */ Jr()),
6591
6614
  icon: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6592
6615
  iconDark: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6593
6616
  iconNeutral: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6594
- lastUpdatedAt: /* @__PURE__ */ Z(/* @__PURE__ */ Wr()),
6595
- status: /* @__PURE__ */ Z(ti),
6596
- statusId: /* @__PURE__ */ Z(ei)
6617
+ lastUpdatedAt: /* @__PURE__ */ Z(/* @__PURE__ */ Jr()),
6618
+ status: /* @__PURE__ */ Z(ai),
6619
+ statusId: /* @__PURE__ */ Z(ii)
6597
6620
  };
6598
- ({ ...ri }), Yr([
6621
+ ({ ...si }), $r([
6599
6622
  "app",
6600
6623
  "engine",
6601
6624
  "connector",
@@ -6605,14 +6628,14 @@ var $r = Yr([
6605
6628
  ]);
6606
6629
  //#endregion
6607
6630
  //#region node_modules/@dpuse/dpuse-shared/dist/moduleConfig.schema-Cvc9QRvr.js
6608
- var ii = {
6609
- ...ri,
6631
+ var ci = {
6632
+ ...si,
6610
6633
  version: /* @__PURE__ */ $()
6611
6634
  };
6612
- ({ ...ii });
6635
+ ({ ...ci });
6613
6636
  //#endregion
6614
6637
  //#region node_modules/@dpuse/dpuse-shared/dist/dpuse-shared-componentModuleConnector.es.js
6615
- var ai = Yr([
6638
+ var li = $r([
6616
6639
  "abortOperation",
6617
6640
  "auditObjectContent",
6618
6641
  "createObject",
@@ -6627,35 +6650,35 @@ var ai = Yr([
6627
6650
  "retrieveChunks",
6628
6651
  "retrieveRecords",
6629
6652
  "upsertRecords"
6630
- ]), oi = Yr([
6653
+ ]), ui = $r([
6631
6654
  "application",
6632
6655
  "curatedDataset",
6633
6656
  "database",
6634
6657
  "fileStore"
6635
- ]), si = /* @__PURE__ */ Q({ label: Xr }), ci = /* @__PURE__ */ Q({
6636
- authMethodId: Yr([
6658
+ ]), di = /* @__PURE__ */ Q({ label: ei }), fi = /* @__PURE__ */ Q({
6659
+ authMethodId: $r([
6637
6660
  "apiKey",
6638
6661
  "disabled",
6639
6662
  "oAuth2",
6640
6663
  "none"
6641
6664
  ]),
6642
- activeConnectionCount: /* @__PURE__ */ Gr(/* @__PURE__ */ Wr()),
6643
- canDescribe: /* @__PURE__ */ Gr(/* @__PURE__ */ Hr()),
6644
- id: /* @__PURE__ */ Gr(/* @__PURE__ */ $()),
6645
- label: /* @__PURE__ */ Gr(Xr),
6646
- maxConnectionCount: /* @__PURE__ */ Z(/* @__PURE__ */ Wr()),
6647
- params: /* @__PURE__ */ Gr(/* @__PURE__ */ X(/* @__PURE__ */ Kr(/* @__PURE__ */ $(), /* @__PURE__ */ $())))
6648
- }), li = /* @__PURE__ */ Q({
6649
- typeId: /* @__PURE__ */ Ur("connector"),
6650
- ...ii,
6651
- actionNames: /* @__PURE__ */ X(ai),
6652
- category: /* @__PURE__ */ Z(si),
6653
- categoryId: oi,
6654
- implementations: /* @__PURE__ */ Kr(/* @__PURE__ */ $(), ci),
6665
+ activeConnectionCount: /* @__PURE__ */ Yr(/* @__PURE__ */ Jr()),
6666
+ canDescribe: /* @__PURE__ */ Yr(/* @__PURE__ */ Kr()),
6667
+ id: /* @__PURE__ */ Yr(/* @__PURE__ */ $()),
6668
+ label: /* @__PURE__ */ Yr(ei),
6669
+ maxConnectionCount: /* @__PURE__ */ Z(/* @__PURE__ */ Jr()),
6670
+ params: /* @__PURE__ */ Yr(/* @__PURE__ */ X(/* @__PURE__ */ Xr(/* @__PURE__ */ $(), /* @__PURE__ */ $())))
6671
+ }), pi = /* @__PURE__ */ Q({
6672
+ typeId: /* @__PURE__ */ qr("connector"),
6673
+ ...ci,
6674
+ actionNames: /* @__PURE__ */ X(li),
6675
+ category: /* @__PURE__ */ Z(di),
6676
+ categoryId: ui,
6677
+ implementations: /* @__PURE__ */ Xr(/* @__PURE__ */ $(), fi),
6655
6678
  vendorAccountURL: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6656
6679
  vendorDocumentationURL: /* @__PURE__ */ Z(/* @__PURE__ */ $()),
6657
6680
  vendorHomeURL: /* @__PURE__ */ Z(/* @__PURE__ */ $())
6658
- }), ui = {
6681
+ }), mi = {
6659
6682
  abortOperation: "Abort Operation",
6660
6683
  auditObjectContent: "Audit Object Content",
6661
6684
  createObject: "Create Object",
@@ -6671,29 +6694,29 @@ var ai = Yr([
6671
6694
  retrieveRecords: "Retrieve Records",
6672
6695
  upsertRecords: "Upsert Records"
6673
6696
  };
6674
- function di(e) {
6697
+ function hi(e) {
6675
6698
  let t = new Set(e), n = "|Action|Supported|\n";
6676
6699
  n += "|:----|:-------:|\n";
6677
- for (let e of Object.keys(ui)) n += `| ${ui[e]} | ${t.has(e) ? "✓" : ""} |\n`;
6700
+ for (let e of Object.keys(mi)) n += `| ${mi[e]} | ${t.has(e) ? "✓" : ""} |\n`;
6678
6701
  return n;
6679
6702
  }
6680
6703
  //#endregion
6681
6704
  //#region src/actions/documentActions.ts
6682
- var fi = "<!-- CONNECTOR_ACTIONS_START -->", pi = "<!-- CONNECTOR_ACTIONS_END -->";
6683
- async function mi() {
6705
+ var gi = "<!-- CONNECTOR_ACTIONS_START -->", _i = "<!-- CONNECTOR_ACTIONS_END -->";
6706
+ async function vi() {
6684
6707
  try {
6685
6708
  G("Document Actions"), q("1️⃣ Insert actions table into 'README.md'");
6686
- let e = di((await W("config.json")).actionNames ?? []);
6687
- await Bn("README.md", Gn(await Ln("./README.md"), e, fi, pi)), K("Actions documented.");
6709
+ let e = hi((await W("config.json")).actionNames ?? []);
6710
+ await Vn("README.md", Kn(await Rn("./README.md"), e, gi, _i)), K("Actions documented.");
6688
6711
  } catch (e) {
6689
6712
  console.error("❌ Error documenting actions.", e), process.exit(1);
6690
6713
  }
6691
6714
  }
6692
6715
  //#endregion
6693
6716
  //#region src/actions/formatCode.ts
6694
- async function hi() {
6717
+ async function yi() {
6695
6718
  try {
6696
- G("Format Code"), await Fn("1️⃣ Format", "prettier", [
6719
+ G("Format Code"), await In("1️⃣ Format", "prettier", [
6697
6720
  "--write",
6698
6721
  "*.json",
6699
6722
  "*.md",
@@ -6706,16 +6729,16 @@ async function hi() {
6706
6729
  }
6707
6730
  //#endregion
6708
6731
  //#region src/actions/lintCode.ts
6709
- async function gi() {
6732
+ async function bi() {
6710
6733
  try {
6711
- G("Lint Code"), await Fn("1️⃣ Lint", "eslint", ["."]), K("Code linted.");
6734
+ G("Lint Code"), await In("1️⃣ Lint", "eslint", ["."]), K("Code linted.");
6712
6735
  } catch (e) {
6713
6736
  console.error("❌ Error linting code.", e), process.exit(1);
6714
6737
  }
6715
6738
  }
6716
6739
  //#endregion
6717
6740
  //#region src/utilities/cloudflare.ts
6718
- async function _i() {
6741
+ async function xi() {
6719
6742
  let e = await W("config.json"), t = {
6720
6743
  body: JSON.stringify(e),
6721
6744
  headers: { "Content-Type": "application/json" },
@@ -6723,11 +6746,11 @@ async function _i() {
6723
6746
  }, n = await fetch(`https://api.dpuse.app/configs/${e.id}`, t);
6724
6747
  if (!n.ok) throw Error(await n.text());
6725
6748
  }
6726
- async function vi(e, t) {
6749
+ async function Si(e, t) {
6727
6750
  async function n(e, t, r) {
6728
6751
  for (let i of r) {
6729
6752
  let r = `${e}/${i}`, a = `${t}/${i}`;
6730
- (await Hn(r)).isDirectory() ? await n(r, a, await Nn(r)) : (console.info(`⚙️ Uploading '${e}/${i}'...`), await Pn(void 0, "wrangler", [
6753
+ (await Un(r)).isDirectory() ? await n(r, a, await Pn(r)) : (console.info(`⚙️ Uploading '${e}/${i}'...`), await Fn(void 0, "wrangler", [
6731
6754
  "r2",
6732
6755
  "object",
6733
6756
  "put",
@@ -6738,10 +6761,10 @@ async function vi(e, t) {
6738
6761
  ]));
6739
6762
  }
6740
6763
  }
6741
- let r = await Nn(`${e}/${t}/`);
6764
+ let r = await Pn(`${e}/${t}/`);
6742
6765
  await n(`${e}/${t}`, t, r);
6743
6766
  }
6744
- async function yi(e) {
6767
+ async function Ci(e) {
6745
6768
  let t = e.id, n = {
6746
6769
  body: JSON.stringify(e),
6747
6770
  headers: { "Content-Type": "application/json" },
@@ -6749,14 +6772,14 @@ async function yi(e) {
6749
6772
  }, r = await fetch(`https://api.dpuse.app/configs/${t}`, n);
6750
6773
  if (!r.ok) throw Error(await r.text());
6751
6774
  }
6752
- async function bi(e, t) {
6775
+ async function wi(e, t) {
6753
6776
  let n = `v${e.version ?? "unknown"}`;
6754
6777
  async function r(e, r = "") {
6755
- let i = await Nn(e, { withFileTypes: !0 });
6778
+ let i = await Pn(e, { withFileTypes: !0 });
6756
6779
  for (let a of i) {
6757
6780
  if (a.isDirectory()) continue;
6758
6781
  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;
6759
- console.info(`⚙️ Uploading '${o}' → '${s}'...`), await Pn(void 0, "wrangler", [
6782
+ console.info(`⚙️ Uploading '${o}' → '${s}'...`), await Fn(void 0, "wrangler", [
6760
6783
  "r2",
6761
6784
  "object",
6762
6785
  "put",
@@ -6773,24 +6796,24 @@ async function bi(e, t) {
6773
6796
  }
6774
6797
  //#endregion
6775
6798
  //#region node_modules/valibot/dist/index.mjs
6776
- var xi, Si = {
6799
+ var Ti, Ei = {
6777
6800
  lang: void 0,
6778
6801
  message: void 0,
6779
6802
  abortEarly: void 0,
6780
6803
  abortPipeEarly: void 0
6781
6804
  };
6782
6805
  /* @__NO_SIDE_EFFECTS__ */
6783
- function Ci(e) {
6784
- return !e && !xi ? Si : {
6785
- lang: e?.lang ?? xi?.lang,
6806
+ function Di(e) {
6807
+ return !e && !Ti ? Ei : {
6808
+ lang: e?.lang ?? Ti?.lang,
6786
6809
  message: e?.message,
6787
- abortEarly: e?.abortEarly ?? xi?.abortEarly,
6788
- abortPipeEarly: e?.abortPipeEarly ?? xi?.abortPipeEarly
6810
+ abortEarly: e?.abortEarly ?? Ti?.abortEarly,
6811
+ abortPipeEarly: e?.abortPipeEarly ?? Ti?.abortPipeEarly
6789
6812
  };
6790
6813
  }
6791
6814
  /* @__NO_SIDE_EFFECTS__ */
6792
- function wi(e, t, n) {
6793
- let r = e["~run"]({ value: t }, /* @__PURE__ */ Ci(n));
6815
+ function Oi(e, t, n) {
6816
+ let r = e["~run"]({ value: t }, /* @__PURE__ */ Di(n));
6794
6817
  return {
6795
6818
  typed: r.typed,
6796
6819
  success: !r.issues,
@@ -6800,31 +6823,31 @@ function wi(e, t, n) {
6800
6823
  }
6801
6824
  //#endregion
6802
6825
  //#region node_modules/@dpuse/dpuse-shared/dist/dpuse-shared-componentModuleContext.es.js
6803
- var Ti = /* @__PURE__ */ Q({
6804
- typeId: /* @__PURE__ */ Ur("contextModelGroup"),
6805
- ...ri,
6806
- modelRefs: /* @__PURE__ */ X(ni),
6807
- order: /* @__PURE__ */ Wr()
6808
- }), Ei = Yr(["listContextFocuses"]), Di = /* @__PURE__ */ Q({
6809
- typeId: /* @__PURE__ */ Ur("context"),
6810
- ...ii,
6811
- actionNames: /* @__PURE__ */ X(Ei),
6812
- models: /* @__PURE__ */ X(Ti)
6813
- }), Oi = Yr([
6826
+ var ki = /* @__PURE__ */ Q({
6827
+ typeId: /* @__PURE__ */ qr("contextModelGroup"),
6828
+ ...si,
6829
+ modelRefs: /* @__PURE__ */ X(oi),
6830
+ order: /* @__PURE__ */ Jr()
6831
+ }), Ai = $r(["listContextFocuses"]), ji = /* @__PURE__ */ Q({
6832
+ typeId: /* @__PURE__ */ qr("context"),
6833
+ ...ci,
6834
+ actionNames: /* @__PURE__ */ X(Ai),
6835
+ models: /* @__PURE__ */ X(ki)
6836
+ }), Mi = $r([
6814
6837
  "list",
6815
6838
  "render",
6816
6839
  "setColorMode"
6817
- ]), ki = /* @__PURE__ */ Q({
6818
- typeId: /* @__PURE__ */ Ur("presenter"),
6819
- ...ii,
6820
- actionNames: /* @__PURE__ */ X(Oi),
6821
- presentations: /* @__PURE__ */ X(ni)
6822
- }), Ai = /* @__PURE__ */ new Set([
6840
+ ]), Ni = /* @__PURE__ */ Q({
6841
+ typeId: /* @__PURE__ */ qr("presenter"),
6842
+ ...ci,
6843
+ actionNames: /* @__PURE__ */ X(Mi),
6844
+ presentations: /* @__PURE__ */ X(oi)
6845
+ }), Pi = /* @__PURE__ */ new Set([
6823
6846
  "createObject",
6824
6847
  "dropObject",
6825
6848
  "removeRecords",
6826
6849
  "upsertRecords"
6827
- ]), ji = /* @__PURE__ */ new Set([
6850
+ ]), Fi = /* @__PURE__ */ new Set([
6828
6851
  "auditObjectContent",
6829
6852
  "findObjectFolderPath",
6830
6853
  "getReadableStream",
@@ -6834,57 +6857,57 @@ var Ti = /* @__PURE__ */ Q({
6834
6857
  "retrieveChunks",
6835
6858
  "retrieveRecords"
6836
6859
  ]);
6837
- async function Mi() {
6860
+ async function Ii() {
6838
6861
  try {
6839
- G("Build Project"), await Fn("1️⃣ Bundle project", "vite", ["build"]), K("Project built.");
6862
+ G("Build Project"), await In("1️⃣ Bundle project", "vite", ["build"]), K("Project built.");
6840
6863
  } catch (e) {
6841
6864
  console.error("❌ Error building project.", e), process.exit(1);
6842
6865
  }
6843
6866
  }
6844
- async function Ni() {
6867
+ async function Li() {
6845
6868
  try {
6846
6869
  G("Release Project");
6847
6870
  let e = await W("package.json"), t = await W("config.json");
6848
- await Ui("1️⃣ ", e);
6849
- let n = Vn(t.id);
6871
+ await qi("1️⃣ ", e);
6872
+ let n = Hn(t.id);
6850
6873
  switch (n.typeId) {
6851
6874
  case "connector":
6852
- t = await Fi("2️⃣ ", e);
6875
+ t = await zi("2️⃣ ", e);
6853
6876
  break;
6854
6877
  case "context":
6855
- t = await Ii("2️⃣ ", e);
6878
+ t = await Bi("2️⃣ ", e);
6856
6879
  break;
6857
6880
  case "presenter":
6858
- t = await Li("2️⃣ ", e);
6881
+ t = await Vi("2️⃣ ", e);
6859
6882
  break;
6860
- default: t = await Pi("2️⃣ ", e);
6883
+ default: t = await Ri("2️⃣ ", e);
6861
6884
  }
6862
- if (await Fn("3️⃣ Bundle project", "vite", ["build"]), await Pn("4️⃣ Stage changes", "git", ["add", "."]), await Pn("5️⃣ Commit changes", "git", [
6885
+ if (await In("3️⃣ Bundle project", "vite", ["build"]), await Fn("4️⃣ Stage changes", "git", ["add", "."]), await Fn("5️⃣ Commit changes", "git", [
6863
6886
  "commit",
6864
6887
  "-m",
6865
6888
  `v${e.version ?? "unknown"}`
6866
- ]), await Pn("6️⃣ Push changes", "git", [
6889
+ ]), await Fn("6️⃣ Push changes", "git", [
6867
6890
  "push",
6868
6891
  "origin",
6869
6892
  "main:main"
6870
- ]), n.typeId === "app") q("7️⃣ Register module"), await _i();
6871
- else if (n.typeId === "engine") q("7️⃣ Register module"), await bi(e, `dpuse-engine-eu/${n.uploadGroupName ?? "unknown"}`), await yi(t);
6893
+ ]), n.typeId === "app") q("7️⃣ Register module"), await xi();
6894
+ else if (n.typeId === "engine") q("7️⃣ Register module"), await wi(e, `dpuse-engine-eu/${n.uploadGroupName ?? "unknown"}`), await Ci(t);
6872
6895
  else if (n.uploadGroupName === void 0) q("7️⃣ Registration NOT required.");
6873
6896
  else {
6874
6897
  q("7️⃣ Register module");
6875
6898
  let r = t.id.split("-").slice(2).join("-");
6876
- await bi(e, `dpuse-engine-eu/${n.uploadGroupName}/${r}`), await yi(t);
6899
+ await wi(e, `dpuse-engine-eu/${n.uploadGroupName}/${r}`), await Ci(t);
6877
6900
  }
6878
6901
  if (n.publishedTo === "npm") {
6879
6902
  let e = ".npmrc";
6880
6903
  try {
6881
- await Bn(e, `registry=https://registry.npmjs.org/\n//registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN ?? ""}`), await Fn("8️⃣ Publish to npm", "npm", [
6904
+ await Vn(e, `registry=https://registry.npmjs.org/\n//registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN ?? ""}`), await In("8️⃣ Publish to npm", "npm", [
6882
6905
  "publish",
6883
6906
  "--access",
6884
6907
  "public"
6885
6908
  ]);
6886
6909
  } finally {
6887
- await Rn(e);
6910
+ await zn(e);
6888
6911
  }
6889
6912
  } else q(`8️⃣ Publishing NOT required for package with type identifier of '${n.typeId}'.`);
6890
6913
  K(`Project version '${e.version ?? "unknown"}' released.`);
@@ -6892,76 +6915,76 @@ async function Ni() {
6892
6915
  console.error("❌ Error releasing project.", e), process.exit(1);
6893
6916
  }
6894
6917
  }
6895
- async function Pi(e, t) {
6918
+ async function Ri(e, t) {
6896
6919
  q(`${e} Build project configuration`);
6897
6920
  let n = await W("config.json");
6898
- return t.name != null && (n.id = t.name.replace("@dpuse/", "")), t.version != null && (n.version = t.version), await zn("config.json", n), n;
6921
+ return t.name != null && (n.id = t.name.replace("@dpuse/", "")), t.version != null && (n.version = t.version), await Bn("config.json", n), n;
6899
6922
  }
6900
- async function Fi(e, t) {
6923
+ async function zi(e, t) {
6901
6924
  q(`${e} Build connector project configuration`);
6902
- let [n, r] = await Promise.all([W("config.json"), Ln("src/index.ts")]), i = /* @__PURE__ */ wi(li, n);
6925
+ let [n, r] = await Promise.all([W("config.json"), Rn("src/index.ts")]), i = /* @__PURE__ */ Oi(pi, n);
6903
6926
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid.");
6904
- let a = Un(r);
6905
- return await zi(t, n, a, Ri(a));
6927
+ let a = Wn(r);
6928
+ return await Ui(t, n, a, Hi(a));
6906
6929
  }
6907
- async function Ii(e, t) {
6930
+ async function Bi(e, t) {
6908
6931
  q(`${e} Build context project configuration`);
6909
- let [n, r] = await Promise.all([W("config.json"), Ln("src/index.ts")]), i = /* @__PURE__ */ wi(Di, n);
6932
+ let [n, r] = await Promise.all([W("config.json"), Rn("src/index.ts")]), i = /* @__PURE__ */ Oi(ji, n);
6910
6933
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid.");
6911
- return await zi(t, n, Un(r));
6934
+ return await Ui(t, n, Wn(r));
6912
6935
  }
6913
- async function Li(e, t) {
6936
+ async function Vi(e, t) {
6914
6937
  q(`${e} Build presenter project configuration`);
6915
- let [n, r] = await Promise.all([W("config.json"), Ln("src/index.ts")]), i = /* @__PURE__ */ wi(ki, n);
6938
+ let [n, r] = await Promise.all([W("config.json"), Rn("src/index.ts")]), i = /* @__PURE__ */ Oi(Ni, n);
6916
6939
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid.");
6917
- return await zi(t, n, Un(r));
6940
+ return await Ui(t, n, Wn(r));
6918
6941
  }
6919
- function Ri(e) {
6942
+ function Hi(e) {
6920
6943
  let t = !1, n = !1;
6921
- for (let r of e) ji.has(r) && (t = !0), Ai.has(r) && (n = !0);
6944
+ for (let r of e) Fi.has(r) && (t = !0), Pi.has(r) && (n = !0);
6922
6945
  return t && n ? "bidirectional" : t ? "source" : n ? "destination" : "unknown";
6923
6946
  }
6924
- async function zi(e, t, n, r) {
6925
- 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 zn("config.json", t), t;
6947
+ async function Ui(e, t, n, r) {
6948
+ 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 Bn("config.json", t), t;
6926
6949
  }
6927
- async function Bi() {
6950
+ async function Wi() {
6928
6951
  try {
6929
6952
  G("Publish Project");
6930
- let e = await W("package.json"), t = await W("config.json"), n = Vn(t.id);
6931
- if (n.typeId === "app") q("1️⃣ Register module"), await _i();
6932
- else if (n.typeId === "engine") q("1️⃣ Register module"), await bi(e, `dpuse-engine-eu/${n.uploadGroupName ?? "unknown"}`), await yi(t);
6953
+ let e = await W("package.json"), t = await W("config.json"), n = Hn(t.id);
6954
+ if (n.typeId === "app") q("1️⃣ Register module"), await xi();
6955
+ else if (n.typeId === "engine") q("1️⃣ Register module"), await wi(e, `dpuse-engine-eu/${n.uploadGroupName ?? "unknown"}`), await Ci(t);
6933
6956
  else if (n.uploadGroupName === void 0) q("1️⃣ Publishing NOT required.");
6934
6957
  else {
6935
6958
  q("1️⃣ Register module");
6936
6959
  let r = t.id.split("-").slice(2).join("-");
6937
- await bi(e, `dpuse-engine-eu/${n.uploadGroupName}/${r}`), await yi(t);
6960
+ await wi(e, `dpuse-engine-eu/${n.uploadGroupName}/${r}`), await Ci(t);
6938
6961
  }
6939
6962
  K(`Project version '${e.version ?? "unknown"}' published.`);
6940
6963
  } catch (e) {
6941
6964
  console.error("❌ Error publishing project.", e), process.exit(1);
6942
6965
  }
6943
6966
  }
6944
- async function Vi() {
6967
+ async function Gi() {
6945
6968
  try {
6946
6969
  G("Synchronise Project with GitHub");
6947
6970
  let e = await W("package.json"), t = await W("config.json");
6948
- switch (await Ui("1️⃣ ", e), Vn(t.id).typeId) {
6971
+ switch (await qi("1️⃣ ", e), Hn(t.id).typeId) {
6949
6972
  case "connector":
6950
- await Fi("2️⃣ ", e);
6973
+ await zi("2️⃣ ", e);
6951
6974
  break;
6952
6975
  case "context":
6953
- await Ii("2️⃣ ", e);
6976
+ await Bi("2️⃣ ", e);
6954
6977
  break;
6955
6978
  case "presenter":
6956
- await Li("2️⃣ ", e);
6979
+ await Vi("2️⃣ ", e);
6957
6980
  break;
6958
- default: await Pi("2️⃣ ", e);
6981
+ default: await Ri("2️⃣ ", e);
6959
6982
  }
6960
- await Pn("3️⃣ Stage changes", "git", ["add", "."]), await Pn("4️⃣ Commit changes", "git", [
6983
+ await Fn("3️⃣ Stage changes", "git", ["add", "."]), await Fn("4️⃣ Commit changes", "git", [
6961
6984
  "commit",
6962
6985
  "-m",
6963
6986
  `v${e.version ?? "unknown"}`
6964
- ]), await Pn("5️⃣ Push changes", "git", [
6987
+ ]), await Fn("5️⃣ Push changes", "git", [
6965
6988
  "push",
6966
6989
  "origin",
6967
6990
  "main:main"
@@ -6970,22 +6993,22 @@ async function Vi() {
6970
6993
  console.error("❌ Error synchronising project with GitHub.", e), process.exit(1);
6971
6994
  }
6972
6995
  }
6973
- function Hi() {
6996
+ function Ki() {
6974
6997
  try {
6975
6998
  G("Test Project"), console.error("\n❌ No tests implemented.\n");
6976
6999
  } catch (e) {
6977
7000
  console.error("❌ Error testing project.", e), process.exit(1);
6978
7001
  }
6979
7002
  }
6980
- async function Ui(e, t, n = "./") {
7003
+ async function qi(e, t, n = "./") {
6981
7004
  if (q(`${e} Bump project version`), t.version == null) t.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${t.version}'.`);
6982
7005
  else {
6983
7006
  let e = t.version, n = t.version.split(".");
6984
7007
  t.version = `${n[0] ?? "unknown"}.${n[1] ?? "unknown"}.${String(Number(n[2]) + 1)}`, console.info(`Project version bumped from '${e}' to '${t.version}'.`);
6985
7008
  }
6986
- await zn(`${n}package.json`, t);
7009
+ await Bn(`${n}package.json`, t);
6987
7010
  }
6988
7011
  //#endregion
6989
- export { Kn as auditDependencies, Mi as buildProject, qn as checkConfigFiles, Yn as checkDependencies, mi as documentActions, nr as documentBundleSizes, yr as documentDependencies, hi as formatCode, gi as lintCode, Bi as publishProject, Ni as releaseProject, Vi as syncProjectWithGitHub, Hi as testProject, vi as uploadDirectoryToR2 };
7012
+ export { qn as auditDependencies, Ii as buildProject, Jn as checkConfigFiles, Xn as checkDependencies, vi as documentActions, rr as documentBundleSizes, Sr as documentDependencies, yi as formatCode, bi as lintCode, Wi as publishProject, Li as releaseProject, Gi as syncProjectWithGitHub, Ki as testProject, Si as uploadDirectoryToR2 };
6990
7013
 
6991
7014
  //# sourceMappingURL=dpuse-development.es.js.map