driftjs-ssr 0.0.11 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index-es.js CHANGED
@@ -1,44 +1,6 @@
1
- import { VOID_ELEMENTS as e, createContext as t, evaluateExpression as n, evaluatePropsSpec as r, inject as i, injectContext as a, normalizeStyle as o, popActiveVM as s, populateItemScope as c, provide as l, provideContext as u, pushActiveVM as d, resolveComponentModule as f, resolveIterable as ee } from "driftjs-shared";
2
- //#region ../compiler/dist/index-es.js
3
- var p = {
4
- Data: "Data",
5
- TagOpen: "TagOpen",
6
- EndTagOpen: "EndTagOpen",
7
- BeforeAttributeName: "BeforeAttributeName",
8
- AttributeName: "AttributeName",
9
- AfterAttributeName: "AfterAttributeName",
10
- BeforeAttributeValue: "BeforeAttributeValue",
11
- AttributeValueQuoted: "AttributeValueQuoted",
12
- AttributeValueInterpolation: "AttributeValueInterpolation",
13
- Comment: "Comment",
14
- Interpolation: "Interpolation",
15
- RawText: "RawText",
16
- EOF: "EOF"
17
- }, m = /* @__PURE__ */ function(e) {
18
- return e[e.RETURN = 0] = "RETURN", e[e.CREATE_ELEMENT = 1] = "CREATE_ELEMENT", e[e.CREATE_TEXT = 2] = "CREATE_TEXT", e[e.CREATE_COMMENT = 3] = "CREATE_COMMENT", e[e.APPEND_CHILD = 4] = "APPEND_CHILD", e[e.SET_ATTR = 5] = "SET_ATTR", e[e.CREATE_FRAGMENT = 6] = "CREATE_FRAGMENT", e[e.INTERPOLATE_TEXT = 7] = "INTERPOLATE_TEXT", e[e.EXEC_SCRIPT = 12] = "EXEC_SCRIPT", e[e.REACTIVE_IF = 13] = "REACTIVE_IF", e[e.REACTIVE_FOR = 14] = "REACTIVE_FOR", e[e.MOUNT_COMPONENT = 15] = "MOUNT_COMPONENT", e;
19
- }({});
20
- function h(e, t) {
21
- if (!e || typeof e != "object") return !1;
22
- let n = e;
23
- for (; n && n !== Object.prototype;) {
24
- if (Object.prototype.hasOwnProperty.call(n, t)) return !0;
25
- n = Object.getPrototypeOf(n);
26
- }
27
- return !1;
28
- }
29
- function g(e, t) {
30
- if (e && h(e, t)) return e[t];
31
- if (typeof globalThis < "u" && globalThis) {
32
- if (t === "__proto__" || t === "constructor" || t === "prototype" || t === "__drift_mark_dirty__") return;
33
- let e = globalThis;
34
- for (; e && e !== Object.prototype;) {
35
- if (Object.prototype.hasOwnProperty.call(e, t)) return globalThis[t];
36
- e = Object.getPrototypeOf(e);
37
- }
38
- }
39
- }
40
- typeof globalThis < "u" && !globalThis._get && (globalThis._get = g), p.Data, p.Comment, p.EndTagOpen, p.TagOpen, p.Interpolation, p.Data, p.EOF, p.TagOpen, p.BeforeAttributeName, p.EndTagOpen, p.BeforeAttributeName, p.BeforeAttributeName, p.AttributeName, p.Data, p.RawText, p.Data, p.AttributeName, p.AfterAttributeName, p.AfterAttributeName, p.BeforeAttributeValue, p.BeforeAttributeName, p.BeforeAttributeValue, p.AttributeValueQuoted, p.AttributeValueInterpolation, p.AttributeValueQuoted, p.BeforeAttributeName, p.AttributeValueInterpolation, p.BeforeAttributeName, p.Comment, p.Data, p.Interpolation, p.Data, p.BeforeAttributeName, p.RawText, p.RawText, p.EndTagOpen, p.EOF, p.EOF, p.EOF;
41
- var te = [
1
+ import { VOID_ELEMENTS as e, createContext as t, effect as n, evaluateExpression as r, evaluatePropsSpec as i, inject as a, injectContext as o, normalizeStyle as s, onMount as c, onUnmount as l, popActiveVM as u, populateItemScope as d, provide as f, provideContext as p, pushActiveVM as m, resolveComponentModule as h, resolveIterable as ee } from "driftjs-shared";
2
+ //#region ../../node_modules/.pnpm/acorn@8.17.0/node_modules/acorn/dist/acorn.mjs
3
+ var g = [
42
4
  509,
43
5
  0,
44
6
  227,
@@ -369,7 +331,7 @@ var te = [
369
331
  9,
370
332
  787719,
371
333
  239
372
- ], ne = [
334
+ ], te = [
373
335
  0,
374
336
  11,
375
337
  2,
@@ -988,18 +950,18 @@ var te = [
988
950
  4938,
989
951
  6,
990
952
  8489
991
- ], re = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", ie = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ae = {
953
+ ], ne = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", re = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ie = {
992
954
  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",
993
955
  5: "class enum extends super const export import",
994
956
  6: "enum",
995
957
  strict: "implements interface let package private protected public static yield",
996
958
  strictBind: "eval arguments"
997
- }, oe = "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", se = {
998
- 5: oe,
999
- "5module": oe + " export import",
1000
- 6: oe + " const class extends export import super"
1001
- }, ce = /^in(stanceof)?$/, le = RegExp("[" + ie + "]"), ue = RegExp("[" + ie + re + "]");
1002
- function de(e, t) {
959
+ }, ae = "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", oe = {
960
+ 5: ae,
961
+ "5module": ae + " export import",
962
+ 6: ae + " const class extends export import super"
963
+ }, se = /^in(stanceof)?$/, ce = RegExp("[" + re + "]"), le = RegExp("[" + re + ne + "]");
964
+ function ue(e, t) {
1003
965
  for (var n = 65536, r = 0; r < t.length; r += 2) {
1004
966
  if (n += t[r], n > e) return !1;
1005
967
  if (n += t[r + 1], n >= e) return !0;
@@ -1007,10 +969,10 @@ function de(e, t) {
1007
969
  return !1;
1008
970
  }
1009
971
  function _(e, t) {
1010
- return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && le.test(String.fromCharCode(e)) : t !== !1 && de(e, ne);
972
+ return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && ce.test(String.fromCharCode(e)) : t !== !1 && ue(e, te);
1011
973
  }
1012
974
  function v(e, t) {
1013
- 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 && ue.test(String.fromCharCode(e)) : t === !1 ? !1 : de(e, ne) || de(e, te);
975
+ 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 && le.test(String.fromCharCode(e)) : t === !1 ? !1 : ue(e, te) || ue(e, g);
1014
976
  }
1015
977
  var y = function(e, t) {
1016
978
  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;
@@ -1021,9 +983,9 @@ function b(e, t) {
1021
983
  binop: t
1022
984
  });
1023
985
  }
1024
- var x = { beforeExpr: !0 }, S = { startsExpr: !0 }, fe = {};
986
+ var x = { beforeExpr: !0 }, S = { startsExpr: !0 }, de = {};
1025
987
  function C(e, t) {
1026
- return t === void 0 && (t = {}), t.keyword = e, fe[e] = new y(e, t);
988
+ return t === void 0 && (t = {}), t.keyword = e, de[e] = new y(e, t);
1027
989
  }
1028
990
  var w = {
1029
991
  num: new y("num", S),
@@ -1158,11 +1120,11 @@ var w = {
1158
1120
  prefix: !0,
1159
1121
  startsExpr: !0
1160
1122
  })
1161
- }, T = /\r\n?|\n|\u2028|\u2029/, pe = new RegExp(T.source, "g");
1123
+ }, T = /\r\n?|\n|\u2028|\u2029/, fe = new RegExp(T.source, "g");
1162
1124
  function E(e) {
1163
1125
  return e === 10 || e === 13 || e === 8232 || e === 8233;
1164
1126
  }
1165
- function me(e, t, n) {
1127
+ function pe(e, t, n) {
1166
1128
  n === void 0 && (n = e.length);
1167
1129
  for (var r = t; r < n; r++) {
1168
1130
  var i = e.charCodeAt(r);
@@ -1170,30 +1132,30 @@ function me(e, t, n) {
1170
1132
  }
1171
1133
  return -1;
1172
1134
  }
1173
- var he = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, D = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ge = Object.prototype, _e = ge.hasOwnProperty, ve = ge.toString, O = Object.hasOwn || (function(e, t) {
1174
- return _e.call(e, t);
1175
- }), ye = Array.isArray || (function(e) {
1176
- return ve.call(e) === "[object Array]";
1177
- }), be = Object.create(null);
1135
+ var me = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, D = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, he = Object.prototype, ge = he.hasOwnProperty, _e = he.toString, O = Object.hasOwn || (function(e, t) {
1136
+ return ge.call(e, t);
1137
+ }), ve = Array.isArray || (function(e) {
1138
+ return _e.call(e) === "[object Array]";
1139
+ }), ye = Object.create(null);
1178
1140
  function k(e) {
1179
- return be[e] || (be[e] = RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
1141
+ return ye[e] || (ye[e] = RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
1180
1142
  }
1181
1143
  function A(e) {
1182
1144
  return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10) + 55296, (e & 1023) + 56320));
1183
1145
  }
1184
- var xe = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, j = function(e, t) {
1146
+ var be = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, xe = function(e, t) {
1185
1147
  this.line = e, this.column = t;
1186
1148
  };
1187
- j.prototype.offset = function(e) {
1188
- return new j(this.line, this.column + e);
1149
+ xe.prototype.offset = function(e) {
1150
+ return new xe(this.line, this.column + e);
1189
1151
  };
1190
1152
  var Se = function(e, t, n) {
1191
1153
  this.start = t, this.end = n, e.sourceFile !== null && (this.source = e.sourceFile);
1192
1154
  };
1193
1155
  function Ce(e, t) {
1194
1156
  for (var n = 1, r = 0;;) {
1195
- var i = me(e, r, t);
1196
- if (i < 0) return new j(n, t - r);
1157
+ var i = pe(e, r, t);
1158
+ if (i < 0) return new xe(n, t - r);
1197
1159
  ++n, r = i;
1198
1160
  }
1199
1161
  }
@@ -1222,13 +1184,13 @@ var we = {
1222
1184
  function Ee(e) {
1223
1185
  var t = {};
1224
1186
  for (var n in we) t[n] = e && O(e, n) ? e[n] : we[n];
1225
- if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!Te && typeof console == "object" && console.warn && (Te = !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), ye(t.onToken)) {
1187
+ if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!Te && typeof console == "object" && console.warn && (Te = !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), ve(t.onToken)) {
1226
1188
  var r = t.onToken;
1227
1189
  t.onToken = function(e) {
1228
1190
  return r.push(e);
1229
1191
  };
1230
1192
  }
1231
- if (ye(t.onComment) && (t.onComment = De(t, t.onComment)), t.sourceType === "commonjs" && t.allowAwaitOutsideFunction) throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
1193
+ if (ve(t.onComment) && (t.onComment = De(t, t.onComment)), t.sourceType === "commonjs" && t.allowAwaitOutsideFunction) throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
1232
1194
  return t;
1233
1195
  }
1234
1196
  function De(e, t) {
@@ -1242,17 +1204,17 @@ function De(e, t) {
1242
1204
  e.locations && (c.loc = new Se(this, o, s)), e.ranges && (c.range = [i, a]), t.push(c);
1243
1205
  };
1244
1206
  }
1245
- var M = 1, N = 2, Oe = 4, ke = 8, Ae = 16, je = 32, Me = 64, Ne = 128, P = 256, F = 512, Pe = 1024, Fe = M | N | P;
1246
- function Ie(e, t) {
1247
- return N | (e ? Oe : 0) | (t ? ke : 0);
1207
+ var j = 1, M = 2, Oe = 4, ke = 8, Ae = 16, je = 32, Me = 64, Ne = 128, N = 256, Pe = 512, Fe = 1024, Ie = j | M | N;
1208
+ function Le(e, t) {
1209
+ return M | (e ? Oe : 0) | (t ? ke : 0);
1248
1210
  }
1249
- var Le = 0, Re = 1, I = 2, ze = 3, Be = 4, Ve = 5, L = function(e, t, n) {
1250
- this.options = e = Ee(e), this.sourceFile = e.sourceFile, this.keywords = k(se[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
1211
+ var Re = 0, ze = 1, P = 2, Be = 3, Ve = 4, He = 5, F = function(e, t, n) {
1212
+ this.options = e = Ee(e), this.sourceFile = e.sourceFile, this.keywords = k(oe[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
1251
1213
  var r = "";
1252
- e.allowReserved !== !0 && (r = ae[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (r += " await")), this.reservedWords = k(r);
1253
- var i = (r ? r + " " : "") + ae.strict;
1254
- this.reservedWordsStrict = k(i), this.reservedWordsStrictBind = k(i + " " + ae.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(T).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = w.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" ? N : M), this.regexpState = null, this.privateNameStack = [];
1255
- }, R = {
1214
+ e.allowReserved !== !0 && (r = ie[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (r += " await")), this.reservedWords = k(r);
1215
+ var i = (r ? r + " " : "") + ie.strict;
1216
+ this.reservedWordsStrict = k(i), this.reservedWordsStrictBind = k(i + " " + ie.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(T).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = w.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" ? M : j), this.regexpState = null, this.privateNameStack = [];
1217
+ }, I = {
1256
1218
  inFunction: { configurable: !0 },
1257
1219
  inGenerator: { configurable: !0 },
1258
1220
  inAsync: { configurable: !0 },
@@ -1265,61 +1227,61 @@ var Le = 0, Re = 1, I = 2, ze = 3, Be = 4, Ve = 5, L = function(e, t, n) {
1265
1227
  allowUsing: { configurable: !0 },
1266
1228
  inClassStaticBlock: { configurable: !0 }
1267
1229
  };
1268
- L.prototype.parse = function() {
1230
+ F.prototype.parse = function() {
1269
1231
  var e = this, t = this.options.program || this.startNode();
1270
1232
  return this.nextToken(), this.catchStackOverflow(function() {
1271
1233
  return e.parseTopLevel(t);
1272
1234
  });
1273
- }, R.inFunction.get = function() {
1274
- return (this.currentVarScope().flags & N) > 0;
1275
- }, R.inGenerator.get = function() {
1235
+ }, I.inFunction.get = function() {
1236
+ return (this.currentVarScope().flags & M) > 0;
1237
+ }, I.inGenerator.get = function() {
1276
1238
  return (this.currentVarScope().flags & ke) > 0;
1277
- }, R.inAsync.get = function() {
1239
+ }, I.inAsync.get = function() {
1278
1240
  return (this.currentVarScope().flags & Oe) > 0;
1279
- }, R.canAwait.get = function() {
1241
+ }, I.canAwait.get = function() {
1280
1242
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1281
1243
  var t = this.scopeStack[e].flags;
1282
- if (t & (P | F)) return !1;
1283
- if (t & N) return (t & Oe) > 0;
1244
+ if (t & (N | Pe)) return !1;
1245
+ if (t & M) return (t & Oe) > 0;
1284
1246
  }
1285
1247
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
1286
- }, R.allowReturn.get = function() {
1287
- return !!(this.inFunction || this.options.allowReturnOutsideFunction && this.currentVarScope().flags & M);
1288
- }, R.allowSuper.get = function() {
1248
+ }, I.allowReturn.get = function() {
1249
+ return !!(this.inFunction || this.options.allowReturnOutsideFunction && this.currentVarScope().flags & j);
1250
+ }, I.allowSuper.get = function() {
1289
1251
  return (this.currentThisScope().flags & Me) > 0 || this.options.allowSuperOutsideMethod;
1290
- }, R.allowDirectSuper.get = function() {
1252
+ }, I.allowDirectSuper.get = function() {
1291
1253
  return (this.currentThisScope().flags & Ne) > 0;
1292
- }, R.treatFunctionsAsVar.get = function() {
1254
+ }, I.treatFunctionsAsVar.get = function() {
1293
1255
  return this.treatFunctionsAsVarInScope(this.currentScope());
1294
- }, R.allowNewDotTarget.get = function() {
1256
+ }, I.allowNewDotTarget.get = function() {
1295
1257
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1296
1258
  var t = this.scopeStack[e].flags;
1297
- if (t & (P | F) || t & N && !(t & Ae)) return !0;
1259
+ if (t & (N | Pe) || t & M && !(t & Ae)) return !0;
1298
1260
  }
1299
1261
  return !1;
1300
- }, R.allowUsing.get = function() {
1262
+ }, I.allowUsing.get = function() {
1301
1263
  var e = this.currentScope().flags;
1302
- return !(e & Pe || !this.inModule && e & M);
1303
- }, R.inClassStaticBlock.get = function() {
1304
- return (this.currentVarScope().flags & P) > 0;
1305
- }, L.extend = function() {
1264
+ return !(e & Fe || !this.inModule && e & j);
1265
+ }, I.inClassStaticBlock.get = function() {
1266
+ return (this.currentVarScope().flags & N) > 0;
1267
+ }, F.extend = function() {
1306
1268
  for (var e = [], t = arguments.length; t--;) e[t] = arguments[t];
1307
1269
  for (var n = this, r = 0; r < e.length; r++) n = e[r](n);
1308
1270
  return n;
1309
- }, L.parse = function(e, t) {
1271
+ }, F.parse = function(e, t) {
1310
1272
  return new this(t, e).parse();
1311
- }, L.parseExpressionAt = function(e, t, n) {
1273
+ }, F.parseExpressionAt = function(e, t, n) {
1312
1274
  var r = new this(n, e, t);
1313
1275
  return r.nextToken(), r.parseExpression();
1314
- }, L.tokenizer = function(e, t) {
1276
+ }, F.tokenizer = function(e, t) {
1315
1277
  return new this(t, e);
1316
- }, Object.defineProperties(L.prototype, R);
1317
- var z = L.prototype, He = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
1318
- z.strictDirective = function(e) {
1278
+ }, Object.defineProperties(F.prototype, I);
1279
+ var L = F.prototype, Ue = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
1280
+ L.strictDirective = function(e) {
1319
1281
  if (this.options.ecmaVersion < 5) return !1;
1320
1282
  for (;;) {
1321
1283
  D.lastIndex = e, e += D.exec(this.input)[0].length;
1322
- var t = He.exec(this.input.slice(e));
1284
+ var t = Ue.exec(this.input.slice(e));
1323
1285
  if (!t) return !1;
1324
1286
  if ((t[1] || t[2]) === "use strict") {
1325
1287
  D.lastIndex = e + t[0].length;
@@ -1328,55 +1290,55 @@ z.strictDirective = function(e) {
1328
1290
  }
1329
1291
  e += t[0].length, D.lastIndex = e, e += D.exec(this.input)[0].length, this.input[e] === ";" && e++;
1330
1292
  }
1331
- }, z.eat = function(e) {
1293
+ }, L.eat = function(e) {
1332
1294
  return this.type === e ? (this.next(), !0) : !1;
1333
- }, z.isContextual = function(e) {
1295
+ }, L.isContextual = function(e) {
1334
1296
  return this.type === w.name && this.value === e && !this.containsEsc;
1335
- }, z.eatContextual = function(e) {
1297
+ }, L.eatContextual = function(e) {
1336
1298
  return this.isContextual(e) ? (this.next(), !0) : !1;
1337
- }, z.catchStackOverflow = function(e) {
1299
+ }, L.catchStackOverflow = function(e) {
1338
1300
  try {
1339
1301
  return e();
1340
1302
  } catch (e) {
1341
1303
  if (e instanceof Error && (/\bstack\b.*\b(exceeded|overflow)\b/i.test(e.message) || /\btoo much recursion\b/i.test(e.message))) this.raise(this.start, "Not enough stack space to parse input");
1342
1304
  else throw e;
1343
1305
  }
1344
- }, z.expectContextual = function(e) {
1306
+ }, L.expectContextual = function(e) {
1345
1307
  this.eatContextual(e) || this.unexpected();
1346
- }, z.canInsertSemicolon = function() {
1308
+ }, L.canInsertSemicolon = function() {
1347
1309
  return this.type === w.eof || this.type === w.braceR || T.test(this.input.slice(this.lastTokEnd, this.start));
1348
- }, z.insertSemicolon = function() {
1310
+ }, L.insertSemicolon = function() {
1349
1311
  if (this.canInsertSemicolon()) return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), !0;
1350
- }, z.semicolon = function() {
1312
+ }, L.semicolon = function() {
1351
1313
  !this.eat(w.semi) && !this.insertSemicolon() && this.unexpected();
1352
- }, z.afterTrailingComma = function(e, t) {
1314
+ }, L.afterTrailingComma = function(e, t) {
1353
1315
  if (this.type === e) return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), t || this.next(), !0;
1354
- }, z.expect = function(e) {
1316
+ }, L.expect = function(e) {
1355
1317
  this.eat(e) || this.unexpected();
1356
- }, z.unexpected = function(e) {
1318
+ }, L.unexpected = function(e) {
1357
1319
  this.raise(e ?? this.start, "Unexpected token");
1358
1320
  };
1359
- var Ue = function() {
1321
+ var We = function() {
1360
1322
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
1361
1323
  };
1362
- z.checkPatternErrors = function(e, t) {
1324
+ L.checkPatternErrors = function(e, t) {
1363
1325
  if (e) {
1364
1326
  e.trailingComma > -1 && this.raiseRecoverable(e.trailingComma, "Comma is not permitted after the rest element");
1365
1327
  var n = t ? e.parenthesizedAssign : e.parenthesizedBind;
1366
1328
  n > -1 && this.raiseRecoverable(n, t ? "Assigning to rvalue" : "Parenthesized pattern");
1367
1329
  }
1368
- }, z.checkExpressionErrors = function(e, t) {
1330
+ }, L.checkExpressionErrors = function(e, t) {
1369
1331
  if (!e) return !1;
1370
1332
  var n = e.shorthandAssign, r = e.doubleProto;
1371
1333
  if (!t) return n >= 0 || r >= 0;
1372
1334
  n >= 0 && this.raise(n, "Shorthand property assignments are valid only in destructuring patterns"), r >= 0 && this.raiseRecoverable(r, "Redefinition of __proto__ property");
1373
- }, z.checkYieldAwaitInDefaultParams = function() {
1335
+ }, L.checkYieldAwaitInDefaultParams = function() {
1374
1336
  this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default value"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value");
1375
- }, z.isSimpleAssignTarget = function(e) {
1337
+ }, L.isSimpleAssignTarget = function(e) {
1376
1338
  return e.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(e.expression) : e.type === "Identifier" || e.type === "MemberExpression";
1377
1339
  };
1378
- var B = L.prototype;
1379
- B.parseTopLevel = function(e) {
1340
+ var R = F.prototype;
1341
+ R.parseTopLevel = function(e) {
1380
1342
  var t = Object.create(null);
1381
1343
  for (e.body ||= []; this.type !== w.eof;) {
1382
1344
  var n = this.parseStatement(null, !0, t);
@@ -1388,8 +1350,8 @@ B.parseTopLevel = function(e) {
1388
1350
  }
1389
1351
  return this.adaptDirectivePrologue(e.body), this.next(), e.sourceType = this.options.sourceType === "commonjs" ? "script" : this.options.sourceType, this.finishNode(e, "Program");
1390
1352
  };
1391
- var We = { kind: "loop" }, Ge = { kind: "switch" };
1392
- B.isLet = function(e) {
1353
+ var Ge = { kind: "loop" }, Ke = { kind: "switch" };
1354
+ R.isLet = function(e) {
1393
1355
  if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return !1;
1394
1356
  D.lastIndex = this.pos;
1395
1357
  var t = D.exec(this.input), n = this.pos + t[0].length, r = this.fullCharCodeAt(n);
@@ -1403,15 +1365,15 @@ B.isLet = function(e) {
1403
1365
  while (v(r = this.fullCharCodeAt(n)));
1404
1366
  if (r === 92) return !0;
1405
1367
  var a = this.input.slice(i, n);
1406
- if (!ce.test(a)) return !0;
1368
+ if (!se.test(a)) return !0;
1407
1369
  }
1408
1370
  return !1;
1409
- }, B.isAsyncFunction = function() {
1371
+ }, R.isAsyncFunction = function() {
1410
1372
  if (this.options.ecmaVersion < 8 || !this.isContextual("async")) return !1;
1411
1373
  D.lastIndex = this.pos;
1412
1374
  var e = D.exec(this.input), t = this.pos + e[0].length, n;
1413
1375
  return !T.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(v(n = this.fullCharCodeAt(t + 8)) || n === 92));
1414
- }, B.isUsingKeyword = function(e, t) {
1376
+ }, R.isUsingKeyword = function(e, t) {
1415
1377
  if (this.options.ecmaVersion < 17 || !this.isContextual(e ? "await" : "using")) return !1;
1416
1378
  D.lastIndex = this.pos;
1417
1379
  var n = D.exec(this.input), r = this.pos + n[0].length;
@@ -1431,18 +1393,18 @@ B.isLet = function(e) {
1431
1393
  while (v(s = this.fullCharCodeAt(r)));
1432
1394
  if (s === 92) return !0;
1433
1395
  var l = this.input.slice(c, r);
1434
- if (ce.test(l)) return !1;
1396
+ if (se.test(l)) return !1;
1435
1397
  if (t && !e && l === "of") {
1436
1398
  D.lastIndex = r;
1437
1399
  var u = D.exec(this.input);
1438
1400
  if (r += u[0].length, this.input.charCodeAt(r) !== 61 || (s = this.input.charCodeAt(r + 1)) === 61 || s === 62) return !1;
1439
1401
  }
1440
1402
  return !0;
1441
- }, B.isAwaitUsing = function(e) {
1403
+ }, R.isAwaitUsing = function(e) {
1442
1404
  return this.isUsingKeyword(!0, e);
1443
- }, B.isUsing = function(e) {
1405
+ }, R.isUsing = function(e) {
1444
1406
  return this.isUsingKeyword(!1, e);
1445
- }, B.parseStatement = function(e, t, n) {
1407
+ }, R.parseStatement = function(e, t, n) {
1446
1408
  var r = this.type, i = this.startNode(), a;
1447
1409
  switch (this.isLet(e) && (r = w._var, a = "let"), r) {
1448
1410
  case w._break:
@@ -1478,7 +1440,7 @@ B.isLet = function(e) {
1478
1440
  var u = this.value, d = this.parseExpression();
1479
1441
  return r === w.name && d.type === "Identifier" && this.eat(w.colon) ? this.parseLabeledStatement(i, u, d, e) : this.parseExpressionStatement(i, d);
1480
1442
  }
1481
- }, B.parseBreakContinueStatement = function(e, t) {
1443
+ }, R.parseBreakContinueStatement = function(e, t) {
1482
1444
  var n = t === "break";
1483
1445
  this.next(), this.eat(w.semi) || this.insertSemicolon() ? e.label = null : this.type === w.name ? (e.label = this.parseIdent(), this.semicolon()) : this.unexpected();
1484
1446
  for (var r = 0; r < this.labels.length; ++r) {
@@ -1486,14 +1448,14 @@ B.isLet = function(e) {
1486
1448
  if ((e.label == null || i.name === e.label.name) && (i.kind != null && (n || i.kind === "loop") || e.label && n)) break;
1487
1449
  }
1488
1450
  return r === this.labels.length && this.raise(e.start, "Unsyntactic " + t), this.finishNode(e, n ? "BreakStatement" : "ContinueStatement");
1489
- }, B.parseDebuggerStatement = function(e) {
1451
+ }, R.parseDebuggerStatement = function(e) {
1490
1452
  return this.next(), this.semicolon(), this.finishNode(e, "DebuggerStatement");
1491
- }, B.parseDoStatement = function(e) {
1492
- return this.next(), this.labels.push(We), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(w._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(w.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
1493
- }, B.parseForStatement = function(e) {
1453
+ }, R.parseDoStatement = function(e) {
1454
+ return this.next(), this.labels.push(Ge), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(w._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(w.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
1455
+ }, R.parseForStatement = function(e) {
1494
1456
  this.next();
1495
1457
  var t = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
1496
- if (this.labels.push(We), this.enterScope(0), this.expect(w.parenL), this.type === w.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
1458
+ if (this.labels.push(Ge), this.enterScope(0), this.expect(w.parenL), this.type === w.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
1497
1459
  var n = this.isLet();
1498
1460
  if (this.type === w._var || this.type === w._const || n) {
1499
1461
  var r = this.startNode(), i = n ? "let" : this.value;
@@ -1504,45 +1466,45 @@ B.isLet = function(e) {
1504
1466
  var c = this.startNode();
1505
1467
  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);
1506
1468
  }
1507
- var l = this.containsEsc, u = new Ue(), d = this.start, f = t > -1 ? this.parseExprSubscripts(u, "await") : this.parseExpression(!0, u);
1469
+ var l = this.containsEsc, u = new We(), d = this.start, f = t > -1 ? this.parseExprSubscripts(u, "await") : this.parseExpression(!0, u);
1508
1470
  return this.type === w._in || (o = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === w._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));
1509
- }, B.parseForAfterInit = function(e, t, n) {
1471
+ }, R.parseForAfterInit = function(e, t, n) {
1510
1472
  return (this.type === w._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.type === w._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));
1511
- }, B.parseFunctionStatement = function(e, t, n) {
1512
- return this.next(), this.parseFunction(e, qe | (n ? 0 : Je), !1, t);
1513
- }, B.parseIfStatement = function(e) {
1473
+ }, R.parseFunctionStatement = function(e, t, n) {
1474
+ return this.next(), this.parseFunction(e, Je | (n ? 0 : Ye), !1, t);
1475
+ }, R.parseIfStatement = function(e) {
1514
1476
  return this.next(), e.test = this.parseParenExpression(), e.consequent = this.parseStatement("if"), e.alternate = this.eat(w._else) ? this.parseStatement("if") : null, this.finishNode(e, "IfStatement");
1515
- }, B.parseReturnStatement = function(e) {
1477
+ }, R.parseReturnStatement = function(e) {
1516
1478
  return this.allowReturn || this.raise(this.start, "'return' outside of function"), this.next(), this.eat(w.semi) || this.insertSemicolon() ? e.argument = null : (e.argument = this.parseExpression(), this.semicolon()), this.finishNode(e, "ReturnStatement");
1517
- }, B.parseSwitchStatement = function(e) {
1518
- this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(w.braceL), this.labels.push(Ge), this.enterScope(Pe);
1479
+ }, R.parseSwitchStatement = function(e) {
1480
+ this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(w.braceL), this.labels.push(Ke), this.enterScope(Fe);
1519
1481
  for (var t, n = !1; this.type !== w.braceR;) if (this.type === w._case || this.type === w._default) {
1520
1482
  var r = this.type === w._case;
1521
1483
  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(w.colon);
1522
1484
  } else t || this.unexpected(), t.consequent.push(this.parseStatement(null));
1523
1485
  return this.exitScope(), t && this.finishNode(t, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(e, "SwitchStatement");
1524
- }, B.parseThrowStatement = function(e) {
1486
+ }, R.parseThrowStatement = function(e) {
1525
1487
  return this.next(), T.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");
1526
1488
  };
1527
- var Ke = [];
1528
- B.parseCatchClauseParam = function() {
1489
+ var qe = [];
1490
+ R.parseCatchClauseParam = function() {
1529
1491
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
1530
- return this.enterScope(t ? je : 0), this.checkLValPattern(e, t ? Be : I), this.expect(w.parenR), e;
1531
- }, B.parseTryStatement = function(e) {
1492
+ return this.enterScope(t ? je : 0), this.checkLValPattern(e, t ? Ve : P), this.expect(w.parenR), e;
1493
+ }, R.parseTryStatement = function(e) {
1532
1494
  if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === w._catch) {
1533
1495
  var t = this.startNode();
1534
1496
  this.next(), this.eat(w.parenL) ? t.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), t.param = null, this.enterScope(0)), t.body = this.parseBlock(!1), this.exitScope(), e.handler = this.finishNode(t, "CatchClause");
1535
1497
  }
1536
1498
  return e.finalizer = this.eat(w._finally) ? this.parseBlock() : null, !e.handler && !e.finalizer && this.raise(e.start, "Missing catch or finally clause"), this.finishNode(e, "TryStatement");
1537
- }, B.parseVarStatement = function(e, t, n) {
1499
+ }, R.parseVarStatement = function(e, t, n) {
1538
1500
  return this.next(), this.parseVar(e, !1, t, n), this.semicolon(), this.finishNode(e, "VariableDeclaration");
1539
- }, B.parseWhileStatement = function(e) {
1540
- return this.next(), e.test = this.parseParenExpression(), this.labels.push(We), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
1541
- }, B.parseWithStatement = function(e) {
1501
+ }, R.parseWhileStatement = function(e) {
1502
+ return this.next(), e.test = this.parseParenExpression(), this.labels.push(Ge), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
1503
+ }, R.parseWithStatement = function(e) {
1542
1504
  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");
1543
- }, B.parseEmptyStatement = function(e) {
1505
+ }, R.parseEmptyStatement = function(e) {
1544
1506
  return this.next(), this.finishNode(e, "EmptyStatement");
1545
- }, B.parseLabeledStatement = function(e, t, n, r) {
1507
+ }, R.parseLabeledStatement = function(e, t, n, r) {
1546
1508
  for (var i = 0, a = this.labels; i < a.length; i += 1) a[i].name === t && this.raise(n.start, "Label '" + t + "' is already declared");
1547
1509
  for (var o = this.type.isLoop ? "loop" : this.type === w._switch ? "switch" : null, s = this.labels.length - 1; s >= 0; s--) {
1548
1510
  var c = this.labels[s];
@@ -1554,46 +1516,46 @@ B.parseCatchClauseParam = function() {
1554
1516
  kind: o,
1555
1517
  statementStart: this.start
1556
1518
  }), e.body = this.parseStatement(r ? r.indexOf("label") === -1 ? r + "label" : r : "label"), this.labels.pop(), e.label = n, this.finishNode(e, "LabeledStatement");
1557
- }, B.parseExpressionStatement = function(e, t) {
1519
+ }, R.parseExpressionStatement = function(e, t) {
1558
1520
  return e.expression = t, this.semicolon(), this.finishNode(e, "ExpressionStatement");
1559
- }, B.parseBlock = function(e, t, n) {
1521
+ }, R.parseBlock = function(e, t, n) {
1560
1522
  for (e === void 0 && (e = !0), t === void 0 && (t = this.startNode()), t.body = [], this.expect(w.braceL), e && this.enterScope(0); this.type !== w.braceR;) {
1561
1523
  var r = this.parseStatement(null);
1562
1524
  t.body.push(r);
1563
1525
  }
1564
1526
  return n && (this.strict = !1), this.next(), e && this.exitScope(), this.finishNode(t, "BlockStatement");
1565
- }, B.parseFor = function(e, t) {
1527
+ }, R.parseFor = function(e, t) {
1566
1528
  return e.init = t, this.expect(w.semi), e.test = this.type === w.semi ? null : this.parseExpression(), this.expect(w.semi), e.update = this.type === w.parenR ? null : this.parseExpression(), this.expect(w.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, "ForStatement");
1567
- }, B.parseForIn = function(e, t) {
1529
+ }, R.parseForIn = function(e, t) {
1568
1530
  var n = this.type === w._in;
1569
1531
  return this.next(), t.type === "VariableDeclaration" && t.declarations[0].init != null && (!n || this.options.ecmaVersion < 8 || this.strict || t.kind !== "var" || t.declarations[0].id.type !== "Identifier") && this.raise(t.start, (n ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"), e.left = t, e.right = n ? this.parseExpression() : this.parseMaybeAssign(), this.expect(w.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, n ? "ForInStatement" : "ForOfStatement");
1570
- }, B.parseVar = function(e, t, n, r) {
1532
+ }, R.parseVar = function(e, t, n, r) {
1571
1533
  for (e.declarations = [], e.kind = n;;) {
1572
1534
  var i = this.startNode();
1573
1535
  if (this.parseVarId(i, n), this.eat(w.eq) ? i.init = this.parseMaybeAssign(t) : !r && n === "const" && !(this.type === w._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) ? this.unexpected() : !r && (n === "using" || n === "await using") && this.options.ecmaVersion >= 17 && this.type !== w._in && !this.isContextual("of") ? this.raise(this.lastTokEnd, "Missing initializer in " + n + " declaration") : !r && i.id.type !== "Identifier" && !(t && (this.type === w._in || this.isContextual("of"))) ? this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : i.init = null, e.declarations.push(this.finishNode(i, "VariableDeclarator")), !this.eat(w.comma)) break;
1574
1536
  }
1575
1537
  return e;
1576
- }, B.parseVarId = function(e, t) {
1577
- e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Re : I, !1);
1538
+ }, R.parseVarId = function(e, t) {
1539
+ e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? ze : P, !1);
1578
1540
  };
1579
- var qe = 1, Je = 2, Ye = 4;
1580
- B.parseFunction = function(e, t, n, r, i) {
1581
- this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === w.star && t & Je && this.unexpected(), e.generator = this.eat(w.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & qe && (e.id = t & Ye && this.type !== w.name ? null : this.parseIdent(), e.id && !(t & Je) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Re : I : ze));
1541
+ var Je = 1, Ye = 2, Xe = 4;
1542
+ R.parseFunction = function(e, t, n, r, i) {
1543
+ this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === w.star && t & Ye && this.unexpected(), e.generator = this.eat(w.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & Je && (e.id = t & Xe && this.type !== w.name ? null : this.parseIdent(), e.id && !(t & Ye) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? ze : P : Be));
1582
1544
  var a = this.yieldPos, o = this.awaitPos, s = this.awaitIdentPos;
1583
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ie(e.async, e.generator)), t & qe || (e.id = this.type === w.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, n, !1, i), this.yieldPos = a, this.awaitPos = o, this.awaitIdentPos = s, this.finishNode(e, t & qe ? "FunctionDeclaration" : "FunctionExpression");
1584
- }, B.parseFunctionParams = function(e) {
1545
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Le(e.async, e.generator)), t & Je || (e.id = this.type === w.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");
1546
+ }, R.parseFunctionParams = function(e) {
1585
1547
  this.expect(w.parenL), e.params = this.parseBindingList(w.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
1586
- }, B.parseClass = function(e, t) {
1548
+ }, R.parseClass = function(e, t) {
1587
1549
  this.next();
1588
1550
  var n = this.strict;
1589
1551
  this.strict = !0, this.parseClassId(e, t), this.parseClassSuper(e);
1590
1552
  var r = this.enterClassBody(), i = this.startNode(), a = !1;
1591
1553
  for (i.body = [], this.expect(w.braceL); this.type !== w.braceR;) {
1592
1554
  var o = this.parseClassElement(e.superClass !== null);
1593
- o && (i.body.push(o), o.type === "MethodDefinition" && o.kind === "constructor" ? (a && this.raiseRecoverable(o.start, "Duplicate constructor in the same class"), a = !0) : o.key && o.key.type === "PrivateIdentifier" && Xe(r, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
1555
+ 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"));
1594
1556
  }
1595
1557
  return this.strict = n, this.next(), e.body = this.finishNode(i, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclaration" : "ClassExpression");
1596
- }, B.parseClassElement = function(e) {
1558
+ }, R.parseClassElement = function(e) {
1597
1559
  if (this.eat(w.semi)) return null;
1598
1560
  var t = this.options.ecmaVersion, n = this.startNode(), r = "", i = !1, a = !1, o = "method", s = !1;
1599
1561
  if (this.eatContextual("static")) {
@@ -1605,57 +1567,57 @@ B.parseFunction = function(e, t, n, r, i) {
1605
1567
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? o = c : r = c);
1606
1568
  }
1607
1569
  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 === w.parenL || o !== "method" || i || a) {
1608
- var l = !n.static && Ze(n, "constructor"), u = l && e;
1570
+ var l = !n.static && Qe(n, "constructor"), u = l && e;
1609
1571
  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);
1610
1572
  } else this.parseClassField(n);
1611
1573
  return n;
1612
- }, B.isClassElementNameStart = function() {
1574
+ }, R.isClassElementNameStart = function() {
1613
1575
  return this.type === w.name || this.type === w.privateId || this.type === w.num || this.type === w.string || this.type === w.bracketL || this.type.keyword;
1614
- }, B.parseClassElementName = function(e) {
1576
+ }, R.parseClassElementName = function(e) {
1615
1577
  this.type === w.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);
1616
- }, B.parseClassMethod = function(e, t, n, r) {
1578
+ }, R.parseClassMethod = function(e, t, n, r) {
1617
1579
  var i = e.key;
1618
- e.kind === "constructor" ? (t && this.raise(i.start, "Constructor can't be a generator"), n && this.raise(i.start, "Constructor can't be an async method")) : e.static && Ze(e, "prototype") && this.raise(i.start, "Classes may not have a static property named prototype");
1580
+ 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");
1619
1581
  var a = e.value = this.parseMethod(t, n, r);
1620
1582
  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");
1621
- }, B.parseClassField = function(e) {
1622
- return Ze(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && Ze(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(w.eq) ? (this.enterScope(F | Me), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
1623
- }, B.parseClassStaticBlock = function(e) {
1583
+ }, R.parseClassField = function(e) {
1584
+ 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(w.eq) ? (this.enterScope(Pe | Me), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
1585
+ }, R.parseClassStaticBlock = function(e) {
1624
1586
  e.body = [];
1625
1587
  var t = this.labels;
1626
- for (this.labels = [], this.enterScope(P | Me); this.type !== w.braceR;) {
1588
+ for (this.labels = [], this.enterScope(N | Me); this.type !== w.braceR;) {
1627
1589
  var n = this.parseStatement(null);
1628
1590
  e.body.push(n);
1629
1591
  }
1630
1592
  return this.next(), this.exitScope(), this.labels = t, this.finishNode(e, "StaticBlock");
1631
- }, B.parseClassId = function(e, t) {
1632
- this.type === w.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, I, !1)) : (t === !0 && this.unexpected(), e.id = null);
1633
- }, B.parseClassSuper = function(e) {
1593
+ }, R.parseClassId = function(e, t) {
1594
+ this.type === w.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, P, !1)) : (t === !0 && this.unexpected(), e.id = null);
1595
+ }, R.parseClassSuper = function(e) {
1634
1596
  e.superClass = this.eat(w._extends) ? this.parseExprSubscripts(null, !1) : null;
1635
- }, B.enterClassBody = function() {
1597
+ }, R.enterClassBody = function() {
1636
1598
  var e = {
1637
1599
  declared: Object.create(null),
1638
1600
  used: []
1639
1601
  };
1640
1602
  return this.privateNameStack.push(e), e.declared;
1641
- }, B.exitClassBody = function() {
1603
+ }, R.exitClassBody = function() {
1642
1604
  var e = this.privateNameStack.pop(), t = e.declared, n = e.used;
1643
1605
  if (this.options.checkPrivateFields) for (var r = this.privateNameStack.length, i = r === 0 ? null : this.privateNameStack[r - 1], a = 0; a < n.length; ++a) {
1644
1606
  var o = n[a];
1645
1607
  O(t, o.name) || (i ? i.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
1646
1608
  }
1647
1609
  };
1648
- function Xe(e, t) {
1610
+ function Ze(e, t) {
1649
1611
  var n = t.key.name, r = e[n], i = "true";
1650
1612
  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);
1651
1613
  }
1652
- function Ze(e, t) {
1614
+ function Qe(e, t) {
1653
1615
  var n = e.computed, r = e.key;
1654
1616
  return !n && (r.type === "Identifier" && r.name === t || r.type === "Literal" && r.value === t);
1655
1617
  }
1656
- B.parseExportAllDeclaration = function(e, t) {
1618
+ R.parseExportAllDeclaration = function(e, t) {
1657
1619
  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 !== w.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ExportAllDeclaration");
1658
- }, B.parseExport = function(e, t) {
1620
+ }, R.parseExport = function(e, t) {
1659
1621
  if (this.next(), this.eat(w.star)) return this.parseExportAllDeclaration(e, t);
1660
1622
  if (this.eat(w._default)) return this.checkExport(t, "default", this.lastTokStart), e.declaration = this.parseExportDefaultDeclaration(), this.finishNode(e, "ExportDefaultDeclaration");
1661
1623
  if (this.shouldParseExportStatement()) e.declaration = this.parseExportDeclaration(e), e.declaration.type === "VariableDeclaration" ? this.checkVariableExport(t, e.declaration.declarations) : this.checkExport(t, e.declaration.id, e.declaration.id.start), e.specifiers = [], e.source = null, this.options.ecmaVersion >= 16 && (e.attributes = []);
@@ -1671,13 +1633,13 @@ B.parseExportAllDeclaration = function(e, t) {
1671
1633
  this.semicolon();
1672
1634
  }
1673
1635
  return this.finishNode(e, "ExportNamedDeclaration");
1674
- }, B.parseExportDeclaration = function(e) {
1636
+ }, R.parseExportDeclaration = function(e) {
1675
1637
  return this.parseStatement(null);
1676
- }, B.parseExportDefaultDeclaration = function() {
1638
+ }, R.parseExportDefaultDeclaration = function() {
1677
1639
  var e;
1678
1640
  if (this.type === w._function || (e = this.isAsyncFunction())) {
1679
1641
  var t = this.startNode();
1680
- return this.next(), e && this.next(), this.parseFunction(t, qe | Ye, !1, e);
1642
+ return this.next(), e && this.next(), this.parseFunction(t, Je | Xe, !1, e);
1681
1643
  } else if (this.type === w._class) {
1682
1644
  var n = this.startNode();
1683
1645
  return this.parseClass(n, "nullableID");
@@ -1685,9 +1647,9 @@ B.parseExportAllDeclaration = function(e, t) {
1685
1647
  var r = this.parseMaybeAssign();
1686
1648
  return this.semicolon(), r;
1687
1649
  }
1688
- }, B.checkExport = function(e, t, n) {
1650
+ }, R.checkExport = function(e, t, n) {
1689
1651
  e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), O(e, t) && this.raiseRecoverable(n, "Duplicate export '" + t + "'"), e[t] = !0);
1690
- }, B.checkPatternExport = function(e, t) {
1652
+ }, R.checkPatternExport = function(e, t) {
1691
1653
  var n = t.type;
1692
1654
  if (n === "Identifier") this.checkExport(e, t, t.start);
1693
1655
  else if (n === "ObjectPattern") for (var r = 0, i = t.properties; r < i.length; r += 1) {
@@ -1699,17 +1661,17 @@ B.parseExportAllDeclaration = function(e, t) {
1699
1661
  c && this.checkPatternExport(e, c);
1700
1662
  }
1701
1663
  else n === "Property" ? this.checkPatternExport(e, t.value) : n === "AssignmentPattern" ? this.checkPatternExport(e, t.left) : n === "RestElement" && this.checkPatternExport(e, t.argument);
1702
- }, B.checkVariableExport = function(e, t) {
1664
+ }, R.checkVariableExport = function(e, t) {
1703
1665
  if (e) for (var n = 0, r = t; n < r.length; n += 1) {
1704
1666
  var i = r[n];
1705
1667
  this.checkPatternExport(e, i.id);
1706
1668
  }
1707
- }, B.shouldParseExportStatement = function() {
1669
+ }, R.shouldParseExportStatement = function() {
1708
1670
  return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
1709
- }, B.parseExportSpecifier = function(e) {
1671
+ }, R.parseExportSpecifier = function(e) {
1710
1672
  var t = this.startNode();
1711
1673
  return t.local = this.parseModuleExportName(), t.exported = this.eatContextual("as") ? this.parseModuleExportName() : t.local, this.checkExport(e, t.exported, t.exported.start), this.finishNode(t, "ExportSpecifier");
1712
- }, B.parseExportSpecifiers = function(e) {
1674
+ }, R.parseExportSpecifiers = function(e) {
1713
1675
  var t = [], n = !0;
1714
1676
  for (this.expect(w.braceL); !this.eat(w.braceR);) {
1715
1677
  if (n) n = !1;
@@ -1717,18 +1679,18 @@ B.parseExportAllDeclaration = function(e, t) {
1717
1679
  t.push(this.parseExportSpecifier(e));
1718
1680
  }
1719
1681
  return t;
1720
- }, B.parseImport = function(e) {
1721
- return this.next(), this.type === w.string ? (e.specifiers = Ke, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === w.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
1722
- }, B.parseImportSpecifier = function() {
1682
+ }, R.parseImport = function(e) {
1683
+ return this.next(), this.type === w.string ? (e.specifiers = qe, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === w.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
1684
+ }, R.parseImportSpecifier = function() {
1723
1685
  var e = this.startNode();
1724
- return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, I), this.finishNode(e, "ImportSpecifier");
1725
- }, B.parseImportDefaultSpecifier = function() {
1686
+ return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, P), this.finishNode(e, "ImportSpecifier");
1687
+ }, R.parseImportDefaultSpecifier = function() {
1726
1688
  var e = this.startNode();
1727
- return e.local = this.parseIdent(), this.checkLValSimple(e.local, I), this.finishNode(e, "ImportDefaultSpecifier");
1728
- }, B.parseImportNamespaceSpecifier = function() {
1689
+ return e.local = this.parseIdent(), this.checkLValSimple(e.local, P), this.finishNode(e, "ImportDefaultSpecifier");
1690
+ }, R.parseImportNamespaceSpecifier = function() {
1729
1691
  var e = this.startNode();
1730
- return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, I), this.finishNode(e, "ImportNamespaceSpecifier");
1731
- }, B.parseImportSpecifiers = function() {
1692
+ return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, P), this.finishNode(e, "ImportNamespaceSpecifier");
1693
+ }, R.parseImportSpecifiers = function() {
1732
1694
  var e = [], t = !0;
1733
1695
  if (this.type === w.name && (e.push(this.parseImportDefaultSpecifier()), !this.eat(w.comma))) return e;
1734
1696
  if (this.type === w.star) return e.push(this.parseImportNamespaceSpecifier()), e;
@@ -1738,7 +1700,7 @@ B.parseExportAllDeclaration = function(e, t) {
1738
1700
  e.push(this.parseImportSpecifier());
1739
1701
  }
1740
1702
  return e;
1741
- }, B.parseWithClause = function() {
1703
+ }, R.parseWithClause = function() {
1742
1704
  var e = [];
1743
1705
  if (!this.eat(w._with)) return e;
1744
1706
  this.expect(w.braceL);
@@ -1749,22 +1711,22 @@ B.parseExportAllDeclaration = function(e, t) {
1749
1711
  O(t, i) && this.raiseRecoverable(r.key.start, "Duplicate attribute key '" + i + "'"), t[i] = !0, e.push(r);
1750
1712
  }
1751
1713
  return e;
1752
- }, B.parseImportAttribute = function() {
1714
+ }, R.parseImportAttribute = function() {
1753
1715
  var e = this.startNode();
1754
1716
  return e.key = this.type === w.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never"), this.expect(w.colon), this.type !== w.string && this.unexpected(), e.value = this.parseExprAtom(), this.finishNode(e, "ImportAttribute");
1755
- }, B.parseModuleExportName = function() {
1717
+ }, R.parseModuleExportName = function() {
1756
1718
  if (this.options.ecmaVersion >= 13 && this.type === w.string) {
1757
1719
  var e = this.parseLiteral(this.value);
1758
- return xe.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
1720
+ return be.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
1759
1721
  }
1760
1722
  return this.parseIdent(!0);
1761
- }, B.adaptDirectivePrologue = function(e) {
1723
+ }, R.adaptDirectivePrologue = function(e) {
1762
1724
  for (var t = 0; t < e.length && this.isDirectiveCandidate(e[t]); ++t) e[t].directive = e[t].expression.raw.slice(1, -1);
1763
- }, B.isDirectiveCandidate = function(e) {
1725
+ }, R.isDirectiveCandidate = function(e) {
1764
1726
  return this.options.ecmaVersion >= 5 && e.type === "ExpressionStatement" && e.expression.type === "Literal" && typeof e.expression.value == "string" && (this.input[e.start] === "\"" || this.input[e.start] === "'");
1765
1727
  };
1766
- var V = L.prototype;
1767
- V.toAssignable = function(e, t, n) {
1728
+ var z = F.prototype;
1729
+ z.toAssignable = function(e, t, n) {
1768
1730
  if (this.options.ecmaVersion >= 6 && e) switch (e.type) {
1769
1731
  case "Identifier":
1770
1732
  this.inAsync && e.name === "await" && this.raise(e.start, "Cannot use 'await' as identifier inside an async function");
@@ -1803,7 +1765,7 @@ V.toAssignable = function(e, t, n) {
1803
1765
  }
1804
1766
  else n && this.checkPatternErrors(n, !0);
1805
1767
  return e;
1806
- }, V.toAssignableList = function(e, t) {
1768
+ }, z.toAssignableList = function(e, t) {
1807
1769
  for (var n = e.length, r = 0; r < n; r++) {
1808
1770
  var i = e[r];
1809
1771
  i && this.toAssignable(i, t);
@@ -1813,13 +1775,13 @@ V.toAssignable = function(e, t, n) {
1813
1775
  this.options.ecmaVersion === 6 && t && a && a.type === "RestElement" && a.argument.type !== "Identifier" && this.unexpected(a.argument.start);
1814
1776
  }
1815
1777
  return e;
1816
- }, V.parseSpread = function(e) {
1778
+ }, z.parseSpread = function(e) {
1817
1779
  var t = this.startNode();
1818
1780
  return this.next(), t.argument = this.parseMaybeAssign(!1, e), this.finishNode(t, "SpreadElement");
1819
- }, V.parseRestBinding = function() {
1781
+ }, z.parseRestBinding = function() {
1820
1782
  var e = this.startNode();
1821
1783
  return this.next(), this.options.ecmaVersion === 6 && this.type !== w.name && this.unexpected(), e.argument = this.parseBindingAtom(), this.finishNode(e, "RestElement");
1822
- }, V.parseBindingAtom = function() {
1784
+ }, z.parseBindingAtom = function() {
1823
1785
  if (this.options.ecmaVersion >= 6) switch (this.type) {
1824
1786
  case w.bracketL:
1825
1787
  var e = this.startNode();
@@ -1827,7 +1789,7 @@ V.toAssignable = function(e, t, n) {
1827
1789
  case w.braceL: return this.parseObj(!0);
1828
1790
  }
1829
1791
  return this.parseIdent();
1830
- }, V.parseBindingList = function(e, t, n, r) {
1792
+ }, z.parseBindingList = function(e, t, n, r) {
1831
1793
  for (var i = [], a = !0; !this.eat(e);) if (a ? a = !1 : this.expect(w.comma), t && this.type === w.comma) i.push(null);
1832
1794
  else if (n && this.afterTrailingComma(e)) break;
1833
1795
  else if (this.type === w.ellipsis) {
@@ -1836,21 +1798,21 @@ V.toAssignable = function(e, t, n) {
1836
1798
  break;
1837
1799
  } else i.push(this.parseAssignableListItem(r));
1838
1800
  return i;
1839
- }, V.parseAssignableListItem = function(e) {
1801
+ }, z.parseAssignableListItem = function(e) {
1840
1802
  var t = this.parseMaybeDefault(this.start, this.startLoc);
1841
1803
  return this.parseBindingListItem(t), t;
1842
- }, V.parseBindingListItem = function(e) {
1804
+ }, z.parseBindingListItem = function(e) {
1843
1805
  return e;
1844
- }, V.parseMaybeDefault = function(e, t, n) {
1806
+ }, z.parseMaybeDefault = function(e, t, n) {
1845
1807
  if (n ||= this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(w.eq)) return n;
1846
1808
  var r = this.startNodeAt(e, t);
1847
1809
  return r.left = n, r.right = this.parseMaybeAssign(), this.finishNode(r, "AssignmentPattern");
1848
- }, V.checkLValSimple = function(e, t, n) {
1849
- t === void 0 && (t = Le);
1850
- var r = t !== Le;
1810
+ }, z.checkLValSimple = function(e, t, n) {
1811
+ t === void 0 && (t = Re);
1812
+ var r = t !== Re;
1851
1813
  switch (e.type) {
1852
1814
  case "Identifier":
1853
- this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === I && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), n && (O(n, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), n[e.name] = !0), t !== Ve && this.declareName(e.name, t, e.start));
1815
+ this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === P && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), n && (O(n, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), n[e.name] = !0), t !== He && this.declareName(e.name, t, e.start));
1854
1816
  break;
1855
1817
  case "ChainExpression":
1856
1818
  this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
@@ -1861,8 +1823,8 @@ V.toAssignable = function(e, t, n) {
1861
1823
  case "ParenthesizedExpression": return r && this.raiseRecoverable(e.start, "Binding parenthesized expression"), this.checkLValSimple(e.expression, t, n);
1862
1824
  default: this.raise(e.start, (r ? "Binding" : "Assigning to") + " rvalue");
1863
1825
  }
1864
- }, V.checkLValPattern = function(e, t, n) {
1865
- switch (t === void 0 && (t = Le), e.type) {
1826
+ }, z.checkLValPattern = function(e, t, n) {
1827
+ switch (t === void 0 && (t = Re), e.type) {
1866
1828
  case "ObjectPattern":
1867
1829
  for (var r = 0, i = e.properties; r < i.length; r += 1) {
1868
1830
  var a = i[r];
@@ -1877,8 +1839,8 @@ V.toAssignable = function(e, t, n) {
1877
1839
  break;
1878
1840
  default: this.checkLValSimple(e, t, n);
1879
1841
  }
1880
- }, V.checkLValInnerPattern = function(e, t, n) {
1881
- switch (t === void 0 && (t = Le), e.type) {
1842
+ }, z.checkLValInnerPattern = function(e, t, n) {
1843
+ switch (t === void 0 && (t = Re), e.type) {
1882
1844
  case "Property":
1883
1845
  this.checkLValInnerPattern(e.value, t, n);
1884
1846
  break;
@@ -1891,39 +1853,39 @@ V.toAssignable = function(e, t, n) {
1891
1853
  default: this.checkLValPattern(e, t, n);
1892
1854
  }
1893
1855
  };
1894
- var H = function(e, t, n, r, i) {
1856
+ var B = function(e, t, n, r, i) {
1895
1857
  this.token = e, this.isExpr = !!t, this.preserveSpace = !!n, this.override = r, this.generator = !!i;
1896
- }, U = {
1897
- b_stat: new H("{", !1),
1898
- b_expr: new H("{", !0),
1899
- b_tmpl: new H("${", !1),
1900
- p_stat: new H("(", !1),
1901
- p_expr: new H("(", !0),
1902
- q_tmpl: new H("`", !0, !0, function(e) {
1858
+ }, V = {
1859
+ b_stat: new B("{", !1),
1860
+ b_expr: new B("{", !0),
1861
+ b_tmpl: new B("${", !1),
1862
+ p_stat: new B("(", !1),
1863
+ p_expr: new B("(", !0),
1864
+ q_tmpl: new B("`", !0, !0, function(e) {
1903
1865
  return e.tryReadTemplateToken();
1904
1866
  }),
1905
- f_stat: new H("function", !1),
1906
- f_expr: new H("function", !0),
1907
- f_expr_gen: new H("function", !0, !1, null, !0),
1908
- f_gen: new H("function", !1, !1, null, !0)
1909
- }, W = L.prototype;
1910
- W.initialContext = function() {
1911
- return [U.b_stat];
1912
- }, W.curContext = function() {
1867
+ f_stat: new B("function", !1),
1868
+ f_expr: new B("function", !0),
1869
+ f_expr_gen: new B("function", !0, !1, null, !0),
1870
+ f_gen: new B("function", !1, !1, null, !0)
1871
+ }, H = F.prototype;
1872
+ H.initialContext = function() {
1873
+ return [V.b_stat];
1874
+ }, H.curContext = function() {
1913
1875
  return this.context[this.context.length - 1];
1914
- }, W.braceIsBlock = function(e) {
1876
+ }, H.braceIsBlock = function(e) {
1915
1877
  var t = this.curContext();
1916
- return t === U.f_expr || t === U.f_stat ? !0 : e === w.colon && (t === U.b_stat || t === U.b_expr) ? !t.isExpr : e === w._return || e === w.name && this.exprAllowed ? T.test(this.input.slice(this.lastTokEnd, this.start)) : e === w._else || e === w.semi || e === w.eof || e === w.parenR || e === w.arrow ? !0 : e === w.braceL ? t === U.b_stat : e === w._var || e === w._const || e === w.name ? !1 : !this.exprAllowed;
1917
- }, W.inGeneratorContext = function() {
1878
+ return t === V.f_expr || t === V.f_stat ? !0 : e === w.colon && (t === V.b_stat || t === V.b_expr) ? !t.isExpr : e === w._return || e === w.name && this.exprAllowed ? T.test(this.input.slice(this.lastTokEnd, this.start)) : e === w._else || e === w.semi || e === w.eof || e === w.parenR || e === w.arrow ? !0 : e === w.braceL ? t === V.b_stat : e === w._var || e === w._const || e === w.name ? !1 : !this.exprAllowed;
1879
+ }, H.inGeneratorContext = function() {
1918
1880
  for (var e = this.context.length - 1; e >= 1; e--) {
1919
1881
  var t = this.context[e];
1920
1882
  if (t.token === "function") return t.generator;
1921
1883
  }
1922
1884
  return !1;
1923
- }, W.updateContext = function(e) {
1885
+ }, H.updateContext = function(e) {
1924
1886
  var t, n = this.type;
1925
1887
  n.keyword && e === w.dot ? this.exprAllowed = !1 : (t = n.updateContext) ? t.call(this, e) : this.exprAllowed = n.beforeExpr;
1926
- }, W.overrideContext = function(e) {
1888
+ }, H.overrideContext = function(e) {
1927
1889
  this.curContext() !== e && (this.context[this.context.length - 1] = e);
1928
1890
  }, w.parenR.updateContext = w.braceR.updateContext = function() {
1929
1891
  if (this.context.length === 1) {
@@ -1931,32 +1893,32 @@ W.initialContext = function() {
1931
1893
  return;
1932
1894
  }
1933
1895
  var e = this.context.pop();
1934
- e === U.b_stat && this.curContext().token === "function" && (e = this.context.pop()), this.exprAllowed = !e.isExpr;
1896
+ e === V.b_stat && this.curContext().token === "function" && (e = this.context.pop()), this.exprAllowed = !e.isExpr;
1935
1897
  }, w.braceL.updateContext = function(e) {
1936
- this.context.push(this.braceIsBlock(e) ? U.b_stat : U.b_expr), this.exprAllowed = !0;
1898
+ this.context.push(this.braceIsBlock(e) ? V.b_stat : V.b_expr), this.exprAllowed = !0;
1937
1899
  }, w.dollarBraceL.updateContext = function() {
1938
- this.context.push(U.b_tmpl), this.exprAllowed = !0;
1900
+ this.context.push(V.b_tmpl), this.exprAllowed = !0;
1939
1901
  }, w.parenL.updateContext = function(e) {
1940
1902
  var t = e === w._if || e === w._for || e === w._with || e === w._while;
1941
- this.context.push(t ? U.p_stat : U.p_expr), this.exprAllowed = !0;
1903
+ this.context.push(t ? V.p_stat : V.p_expr), this.exprAllowed = !0;
1942
1904
  }, w.incDec.updateContext = function() {}, w._function.updateContext = w._class.updateContext = function(e) {
1943
- e.beforeExpr && e !== w._else && !(e === w.semi && this.curContext() !== U.p_stat) && !(e === w._return && T.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === w.colon || e === w.braceL) && this.curContext() === U.b_stat) ? this.context.push(U.f_expr) : this.context.push(U.f_stat), this.exprAllowed = !1;
1905
+ e.beforeExpr && e !== w._else && !(e === w.semi && this.curContext() !== V.p_stat) && !(e === w._return && T.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === w.colon || e === w.braceL) && this.curContext() === V.b_stat) ? this.context.push(V.f_expr) : this.context.push(V.f_stat), this.exprAllowed = !1;
1944
1906
  }, w.colon.updateContext = function() {
1945
1907
  this.curContext().token === "function" && this.context.pop(), this.exprAllowed = !0;
1946
1908
  }, w.backQuote.updateContext = function() {
1947
- this.curContext() === U.q_tmpl ? this.context.pop() : this.context.push(U.q_tmpl), this.exprAllowed = !1;
1909
+ this.curContext() === V.q_tmpl ? this.context.pop() : this.context.push(V.q_tmpl), this.exprAllowed = !1;
1948
1910
  }, w.star.updateContext = function(e) {
1949
1911
  if (e === w._function) {
1950
1912
  var t = this.context.length - 1;
1951
- this.context[t] === U.f_expr ? this.context[t] = U.f_expr_gen : this.context[t] = U.f_gen;
1913
+ this.context[t] === V.f_expr ? this.context[t] = V.f_expr_gen : this.context[t] = V.f_gen;
1952
1914
  }
1953
1915
  this.exprAllowed = !0;
1954
1916
  }, w.name.updateContext = function(e) {
1955
1917
  var t = !1;
1956
1918
  this.options.ecmaVersion >= 6 && e !== w.dot && (this.value === "of" && !this.exprAllowed || this.value === "yield" && this.inGeneratorContext()) && (t = !0), this.exprAllowed = t;
1957
1919
  };
1958
- var G = L.prototype;
1959
- G.checkPropClash = function(e, t, n) {
1920
+ var U = F.prototype;
1921
+ U.checkPropClash = function(e, t, n) {
1960
1922
  if (!(this.options.ecmaVersion >= 9 && e.type === "SpreadElement") && !(this.options.ecmaVersion >= 6 && (e.computed || e.method || e.shorthand))) {
1961
1923
  var r = e.key, i;
1962
1924
  switch (r.type) {
@@ -1981,7 +1943,7 @@ G.checkPropClash = function(e, t, n) {
1981
1943
  set: !1
1982
1944
  }, o[a] = !0;
1983
1945
  }
1984
- }, G.parseExpression = function(e, t) {
1946
+ }, U.parseExpression = function(e, t) {
1985
1947
  var n = this;
1986
1948
  return this.catchStackOverflow(function() {
1987
1949
  var r = n.start, i = n.startLoc, a = n.parseMaybeAssign(e, t);
@@ -1992,13 +1954,13 @@ G.checkPropClash = function(e, t, n) {
1992
1954
  }
1993
1955
  return a;
1994
1956
  });
1995
- }, G.parseMaybeAssign = function(e, t, n) {
1957
+ }, U.parseMaybeAssign = function(e, t, n) {
1996
1958
  if (this.isContextual("yield")) {
1997
1959
  if (this.inGenerator) return this.parseYield(e);
1998
1960
  this.exprAllowed = !1;
1999
1961
  }
2000
1962
  var r = !1, i = -1, a = -1, o = -1;
2001
- t ? (i = t.parenthesizedAssign, a = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Ue(), r = !0);
1963
+ t ? (i = t.parenthesizedAssign, a = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new We(), r = !0);
2002
1964
  var s = this.start, c = this.startLoc;
2003
1965
  (this.type === w.parenL || this.type === w.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
2004
1966
  var l = this.parseMaybeConditional(e, t);
@@ -2007,7 +1969,7 @@ G.checkPropClash = function(e, t, n) {
2007
1969
  return u.operator = this.value, this.type === w.eq && (l = this.toAssignable(l, !1, t)), r || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= l.start && (t.shorthandAssign = -1), this.type === w.eq ? this.checkLValPattern(l) : this.checkLValSimple(l), u.left = l, this.next(), u.right = this.parseMaybeAssign(e), o > -1 && (t.doubleProto = o), this.finishNode(u, "AssignmentExpression");
2008
1970
  } else r && this.checkExpressionErrors(t, !0);
2009
1971
  return i > -1 && (t.parenthesizedAssign = i), a > -1 && (t.trailingComma = a), l;
2010
- }, G.parseMaybeConditional = function(e, t) {
1972
+ }, U.parseMaybeConditional = function(e, t) {
2011
1973
  var n = this.start, r = this.startLoc, i = this.parseExprOps(e, t);
2012
1974
  if (this.checkExpressionErrors(t)) return i;
2013
1975
  if (!(i.type === "ArrowFunctionExpression" && i.start === n) && this.eat(w.question)) {
@@ -2015,10 +1977,10 @@ G.checkPropClash = function(e, t, n) {
2015
1977
  return a.test = i, a.consequent = this.parseMaybeAssign(), this.expect(w.colon), a.alternate = this.parseMaybeAssign(e), this.finishNode(a, "ConditionalExpression");
2016
1978
  }
2017
1979
  return i;
2018
- }, G.parseExprOps = function(e, t) {
1980
+ }, U.parseExprOps = function(e, t) {
2019
1981
  var n = this.start, r = this.startLoc, i = this.parseMaybeUnary(t, !1, !1, e);
2020
1982
  return this.checkExpressionErrors(t) || i.start === n && i.type === "ArrowFunctionExpression" ? i : this.parseExprOp(i, n, r, -1, e);
2021
- }, G.parseExprOp = function(e, t, n, r, i) {
1983
+ }, U.parseExprOp = function(e, t, n, r, i) {
2022
1984
  var a = this.type.binop;
2023
1985
  if (a != null && (!i || this.type !== w._in) && a > r) {
2024
1986
  var o = this.type === w.logicalOR || this.type === w.logicalAND, s = this.type === w.coalesce;
@@ -2029,16 +1991,16 @@ G.checkPropClash = function(e, t, n) {
2029
1991
  return (o && this.type === w.coalesce || s && (this.type === w.logicalOR || this.type === w.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(f, t, n, r, i);
2030
1992
  }
2031
1993
  return e;
2032
- }, G.buildBinary = function(e, t, n, r, i, a) {
1994
+ }, U.buildBinary = function(e, t, n, r, i, a) {
2033
1995
  r.type === "PrivateIdentifier" && this.raise(r.start, "Private identifier can only be left side of binary expression");
2034
1996
  var o = this.startNodeAt(e, t);
2035
1997
  return o.left = n, o.operator = i, o.right = r, this.finishNode(o, a ? "LogicalExpression" : "BinaryExpression");
2036
- }, G.parseMaybeUnary = function(e, t, n, r) {
1998
+ }, U.parseMaybeUnary = function(e, t, n, r) {
2037
1999
  var i = this.start, a = this.startLoc, o;
2038
2000
  if (this.isContextual("await") && this.canAwait) o = this.parseAwait(r), t = !0;
2039
2001
  else if (this.type.prefix) {
2040
2002
  var s = this.startNode(), c = this.type === w.incDec;
2041
- s.operator = this.value, s.prefix = !0, this.next(), s.argument = this.parseMaybeUnary(null, !0, c, r), this.checkExpressionErrors(e, !0), c ? this.checkLValSimple(s.argument) : this.strict && s.operator === "delete" && Qe(s.argument) ? this.raiseRecoverable(s.start, "Deleting local variable in strict mode") : s.operator === "delete" && $e(s.argument) ? this.raiseRecoverable(s.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(s, c ? "UpdateExpression" : "UnaryExpression");
2003
+ s.operator = this.value, s.prefix = !0, this.next(), s.argument = this.parseMaybeUnary(null, !0, c, r), this.checkExpressionErrors(e, !0), c ? this.checkLValSimple(s.argument) : this.strict && s.operator === "delete" && $e(s.argument) ? this.raiseRecoverable(s.start, "Deleting local variable in strict mode") : s.operator === "delete" && et(s.argument) ? this.raiseRecoverable(s.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(s, c ? "UpdateExpression" : "UnaryExpression");
2042
2004
  } else if (!t && this.type === w.privateId) (r || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), o = this.parsePrivateIdent(), this.type !== w._in && this.unexpected();
2043
2005
  else {
2044
2006
  if (o = this.parseExprSubscripts(e, r), this.checkExpressionErrors(e)) return o;
@@ -2051,18 +2013,18 @@ G.checkPropClash = function(e, t, n) {
2051
2013
  else return this.buildBinary(i, a, o, this.parseMaybeUnary(null, !1, !1, r), "**", !1);
2052
2014
  else return o;
2053
2015
  };
2054
- function Qe(e) {
2055
- return e.type === "Identifier" || e.type === "ParenthesizedExpression" && Qe(e.expression);
2056
- }
2057
2016
  function $e(e) {
2058
- return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && $e(e.expression) || e.type === "ParenthesizedExpression" && $e(e.expression);
2017
+ return e.type === "Identifier" || e.type === "ParenthesizedExpression" && $e(e.expression);
2018
+ }
2019
+ function et(e) {
2020
+ return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && et(e.expression) || e.type === "ParenthesizedExpression" && et(e.expression);
2059
2021
  }
2060
- G.parseExprSubscripts = function(e, t) {
2022
+ U.parseExprSubscripts = function(e, t) {
2061
2023
  var n = this.start, r = this.startLoc, i = this.parseExprAtom(e, t);
2062
2024
  if (i.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")") return i;
2063
2025
  var a = this.parseSubscripts(i, n, r, !1, t);
2064
2026
  return e && a.type === "MemberExpression" && (e.parenthesizedAssign >= a.start && (e.parenthesizedAssign = -1), e.parenthesizedBind >= a.start && (e.parenthesizedBind = -1), e.trailingComma >= a.start && (e.trailingComma = -1)), a;
2065
- }, G.parseSubscripts = function(e, t, n, r, i) {
2027
+ }, U.parseSubscripts = function(e, t, n, r, i) {
2066
2028
  for (var a = this.options.ecmaVersion >= 8 && e.type === "Identifier" && e.name === "async" && this.lastTokEnd === e.end && !this.canInsertSemicolon() && e.end - e.start === 5 && this.potentialArrowAt === e.start, o = !1;;) {
2067
2029
  var s = this.parseSubscript(e, t, n, r, a, o, i);
2068
2030
  if (s.optional && (o = !0), s === e || s.type === "ArrowFunctionExpression") {
@@ -2074,11 +2036,11 @@ G.parseExprSubscripts = function(e, t) {
2074
2036
  }
2075
2037
  e = s;
2076
2038
  }
2077
- }, G.shouldParseAsyncArrow = function() {
2039
+ }, U.shouldParseAsyncArrow = function() {
2078
2040
  return !this.canInsertSemicolon() && this.eat(w.arrow);
2079
- }, G.parseSubscriptAsyncArrow = function(e, t, n, r) {
2041
+ }, U.parseSubscriptAsyncArrow = function(e, t, n, r) {
2080
2042
  return this.parseArrowExpression(this.startNodeAt(e, t), n, !0, r);
2081
- }, G.parseSubscript = function(e, t, n, r, i, a, o) {
2043
+ }, U.parseSubscript = function(e, t, n, r, i, a, o) {
2082
2044
  var s = this.options.ecmaVersion >= 11, c = s && this.eat(w.questionDot);
2083
2045
  r && c && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
2084
2046
  var l = this.eat(w.bracketL);
@@ -2086,20 +2048,20 @@ G.parseExprSubscripts = function(e, t) {
2086
2048
  var u = this.startNodeAt(t, n);
2087
2049
  u.object = e, l ? (u.property = this.parseExpression(), this.expect(w.bracketR)) : this.type === w.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");
2088
2050
  } else if (!r && this.eat(w.parenL)) {
2089
- var d = new Ue(), f = this.yieldPos, ee = this.awaitPos, p = this.awaitIdentPos;
2051
+ var d = new We(), f = this.yieldPos, p = this.awaitPos, m = this.awaitIdentPos;
2090
2052
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
2091
- var m = this.parseExprList(w.parenR, this.options.ecmaVersion >= 8, !1, d);
2092
- 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 = ee, this.awaitIdentPos = p, this.parseSubscriptAsyncArrow(t, n, m, o);
2093
- this.checkExpressionErrors(d, !0), this.yieldPos = f || this.yieldPos, this.awaitPos = ee || this.awaitPos, this.awaitIdentPos = p || this.awaitIdentPos;
2094
- var h = this.startNodeAt(t, n);
2095
- h.callee = e, h.arguments = m, s && (h.optional = c), e = this.finishNode(h, "CallExpression");
2053
+ var h = this.parseExprList(w.parenR, this.options.ecmaVersion >= 8, !1, d);
2054
+ 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);
2055
+ this.checkExpressionErrors(d, !0), this.yieldPos = f || this.yieldPos, this.awaitPos = p || this.awaitPos, this.awaitIdentPos = m || this.awaitIdentPos;
2056
+ var ee = this.startNodeAt(t, n);
2057
+ ee.callee = e, ee.arguments = h, s && (ee.optional = c), e = this.finishNode(ee, "CallExpression");
2096
2058
  } else if (this.type === w.backQuote) {
2097
2059
  (c || a) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
2098
2060
  var g = this.startNodeAt(t, n);
2099
2061
  g.tag = e, g.quasi = this.parseTemplate({ isTagged: !0 }), e = this.finishNode(g, "TaggedTemplateExpression");
2100
2062
  }
2101
2063
  return e;
2102
- }, G.parseExprAtom = function(e, t, n) {
2064
+ }, U.parseExprAtom = function(e, t, n) {
2103
2065
  this.type === w.slash && this.readRegexp();
2104
2066
  var r, i = this.potentialArrowAt === this.start;
2105
2067
  switch (this.type) {
@@ -2107,7 +2069,7 @@ G.parseExprSubscripts = function(e, t) {
2107
2069
  case w._this: return r = this.startNode(), this.next(), this.finishNode(r, "ThisExpression");
2108
2070
  case w.name:
2109
2071
  var a = this.start, o = this.startLoc, s = this.containsEsc, c = this.parseIdent(!1);
2110
- if (this.options.ecmaVersion >= 8 && !s && c.name === "async" && !this.canInsertSemicolon() && this.eat(w._function)) return this.overrideContext(U.f_expr), this.parseFunction(this.startNodeAt(a, o), 0, !1, !0, t);
2072
+ if (this.options.ecmaVersion >= 8 && !s && c.name === "async" && !this.canInsertSemicolon() && this.eat(w._function)) return this.overrideContext(V.f_expr), this.parseFunction(this.startNodeAt(a, o), 0, !1, !0, t);
2111
2073
  if (i && !this.canInsertSemicolon()) {
2112
2074
  if (this.eat(w.arrow)) return this.parseArrowExpression(this.startNodeAt(a, o), [c], !1, t);
2113
2075
  if (this.options.ecmaVersion >= 8 && c.name === "async" && this.type === w.name && !s && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc)) return c = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(w.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(a, o), [c], !0, t);
@@ -2128,7 +2090,7 @@ G.parseExprSubscripts = function(e, t) {
2128
2090
  var u = this.start, d = this.parseParenAndDistinguishExpression(i, t);
2129
2091
  return e && (e.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(d) && (e.parenthesizedAssign = u), e.parenthesizedBind < 0 && (e.parenthesizedBind = u)), d;
2130
2092
  case w.bracketL: return r = this.startNode(), this.next(), r.elements = this.parseExprList(w.bracketR, !0, !0, e), this.finishNode(r, "ArrayExpression");
2131
- case w.braceL: return this.overrideContext(U.b_expr), this.parseObj(!1, e);
2093
+ case w.braceL: return this.overrideContext(V.b_expr), this.parseObj(!1, e);
2132
2094
  case w._function: return r = this.startNode(), this.next(), this.parseFunction(r, 0);
2133
2095
  case w._class: return this.parseClass(this.startNode(), !1);
2134
2096
  case w._new: return this.parseNew();
@@ -2136,62 +2098,62 @@ G.parseExprSubscripts = function(e, t) {
2136
2098
  case w._import: return this.options.ecmaVersion >= 11 ? this.parseExprImport(n) : this.unexpected();
2137
2099
  default: return this.parseExprAtomDefault();
2138
2100
  }
2139
- }, G.parseExprAtomDefault = function() {
2101
+ }, U.parseExprAtomDefault = function() {
2140
2102
  this.unexpected();
2141
- }, G.parseExprImport = function(e) {
2103
+ }, U.parseExprImport = function(e) {
2142
2104
  var t = this.startNode();
2143
2105
  if (this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword import"), this.next(), this.type === w.parenL && !e) return this.parseDynamicImport(t);
2144
2106
  if (this.type === w.dot) {
2145
2107
  var n = this.startNodeAt(t.start, t.loc && t.loc.start);
2146
2108
  return n.name = "import", t.meta = this.finishNode(n, "Identifier"), this.parseImportMeta(t);
2147
2109
  } else this.unexpected();
2148
- }, G.parseDynamicImport = function(e) {
2110
+ }, U.parseDynamicImport = function(e) {
2149
2111
  if (this.next(), e.source = this.parseMaybeAssign(), this.options.ecmaVersion >= 16) this.eat(w.parenR) ? e.options = null : (this.expect(w.comma), this.afterTrailingComma(w.parenR) ? e.options = null : (e.options = this.parseMaybeAssign(), this.eat(w.parenR) || (this.expect(w.comma), this.afterTrailingComma(w.parenR) || this.unexpected())));
2150
2112
  else if (!this.eat(w.parenR)) {
2151
2113
  var t = this.start;
2152
2114
  this.eat(w.comma) && this.eat(w.parenR) ? this.raiseRecoverable(t, "Trailing comma is not allowed in import()") : this.unexpected(t);
2153
2115
  }
2154
2116
  return this.finishNode(e, "ImportExpression");
2155
- }, G.parseImportMeta = function(e) {
2117
+ }, U.parseImportMeta = function(e) {
2156
2118
  this.next();
2157
2119
  var t = this.containsEsc;
2158
2120
  return e.property = this.parseIdent(!0), e.property.name !== "meta" && this.raiseRecoverable(e.property.start, "The only valid meta property for import is 'import.meta'"), t && this.raiseRecoverable(e.start, "'import.meta' must not contain escaped characters"), this.options.sourceType !== "module" && !this.options.allowImportExportEverywhere && this.raiseRecoverable(e.start, "Cannot use 'import.meta' outside a module"), this.finishNode(e, "MetaProperty");
2159
- }, G.parseLiteral = function(e) {
2121
+ }, U.parseLiteral = function(e) {
2160
2122
  var t = this.startNode();
2161
2123
  return t.value = e, t.raw = this.input.slice(this.start, this.end), t.raw.charCodeAt(t.raw.length - 1) === 110 && (t.bigint = t.value == null ? t.raw.slice(0, -1).replace(/_/g, "") : t.value.toString()), this.next(), this.finishNode(t, "Literal");
2162
- }, G.parseParenExpression = function() {
2124
+ }, U.parseParenExpression = function() {
2163
2125
  this.expect(w.parenL);
2164
2126
  var e = this.parseExpression();
2165
2127
  return this.expect(w.parenR), e;
2166
- }, G.shouldParseArrow = function(e) {
2128
+ }, U.shouldParseArrow = function(e) {
2167
2129
  return !this.canInsertSemicolon();
2168
- }, G.parseParenAndDistinguishExpression = function(e, t) {
2130
+ }, U.parseParenAndDistinguishExpression = function(e, t) {
2169
2131
  var n = this.start, r = this.startLoc, i, a = this.options.ecmaVersion >= 8;
2170
2132
  if (this.options.ecmaVersion >= 6) {
2171
2133
  this.next();
2172
- var o = this.start, s = this.startLoc, c = [], l = !0, u = !1, d = new Ue(), f = this.yieldPos, ee = this.awaitPos, p;
2134
+ var o = this.start, s = this.startLoc, c = [], l = !0, u = !1, d = new We(), f = this.yieldPos, p = this.awaitPos, m;
2173
2135
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== w.parenR;) if (l ? l = !1 : this.expect(w.comma), a && this.afterTrailingComma(w.parenR, !0)) {
2174
2136
  u = !0;
2175
2137
  break;
2176
2138
  } else if (this.type === w.ellipsis) {
2177
- p = this.start, c.push(this.parseParenItem(this.parseRestBinding())), this.type === w.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element");
2139
+ m = this.start, c.push(this.parseParenItem(this.parseRestBinding())), this.type === w.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element");
2178
2140
  break;
2179
2141
  } else c.push(this.parseMaybeAssign(!1, d, this.parseParenItem));
2180
- var m = this.lastTokEnd, h = this.lastTokEndLoc;
2181
- if (this.expect(w.parenR), e && this.shouldParseArrow(c) && this.eat(w.arrow)) return this.checkPatternErrors(d, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = f, this.awaitPos = ee, this.parseParenArrowList(n, r, c, t);
2182
- (!c.length || u) && this.unexpected(this.lastTokStart), p && this.unexpected(p), this.checkExpressionErrors(d, !0), this.yieldPos = f || this.yieldPos, this.awaitPos = ee || this.awaitPos, c.length > 1 ? (i = this.startNodeAt(o, s), i.expressions = c, this.finishNodeAt(i, "SequenceExpression", m, h)) : i = c[0];
2142
+ var h = this.lastTokEnd, ee = this.lastTokEndLoc;
2143
+ if (this.expect(w.parenR), e && this.shouldParseArrow(c) && this.eat(w.arrow)) return this.checkPatternErrors(d, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = f, this.awaitPos = p, this.parseParenArrowList(n, r, c, t);
2144
+ (!c.length || u) && this.unexpected(this.lastTokStart), m && this.unexpected(m), this.checkExpressionErrors(d, !0), this.yieldPos = f || this.yieldPos, this.awaitPos = p || this.awaitPos, c.length > 1 ? (i = this.startNodeAt(o, s), i.expressions = c, this.finishNodeAt(i, "SequenceExpression", h, ee)) : i = c[0];
2183
2145
  } else i = this.parseParenExpression();
2184
2146
  if (this.options.preserveParens) {
2185
2147
  var g = this.startNodeAt(n, r);
2186
2148
  return g.expression = i, this.finishNode(g, "ParenthesizedExpression");
2187
2149
  } else return i;
2188
- }, G.parseParenItem = function(e) {
2150
+ }, U.parseParenItem = function(e) {
2189
2151
  return e;
2190
- }, G.parseParenArrowList = function(e, t, n, r) {
2152
+ }, U.parseParenArrowList = function(e, t, n, r) {
2191
2153
  return this.parseArrowExpression(this.startNodeAt(e, t), n, !1, r);
2192
2154
  };
2193
- var et = [];
2194
- G.parseNew = function() {
2155
+ var tt = [];
2156
+ U.parseNew = function() {
2195
2157
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
2196
2158
  var e = this.startNode();
2197
2159
  if (this.next(), this.options.ecmaVersion >= 6 && this.type === w.dot) {
@@ -2201,8 +2163,8 @@ G.parseNew = function() {
2201
2163
  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");
2202
2164
  }
2203
2165
  var r = this.start, i = this.startLoc;
2204
- 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(w.parenL) ? e.arguments = this.parseExprList(w.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = et, this.finishNode(e, "NewExpression");
2205
- }, G.parseTemplateElement = function(e) {
2166
+ 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(w.parenL) ? e.arguments = this.parseExprList(w.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = tt, this.finishNode(e, "NewExpression");
2167
+ }, U.parseTemplateElement = function(e) {
2206
2168
  var t = e.isTagged, n = this.startNode();
2207
2169
  return this.type === w.invalidTemplate ? (t || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), n.value = {
2208
2170
  raw: this.value.replace(/\r\n?/g, "\n"),
@@ -2211,7 +2173,7 @@ G.parseNew = function() {
2211
2173
  raw: this.input.slice(this.start, this.end).replace(/\r\n?/g, "\n"),
2212
2174
  cooked: this.value
2213
2175
  }, this.next(), n.tail = this.type === w.backQuote, this.finishNode(n, "TemplateElement");
2214
- }, G.parseTemplate = function(e) {
2176
+ }, U.parseTemplate = function(e) {
2215
2177
  e === void 0 && (e = {});
2216
2178
  var t = e.isTagged;
2217
2179
  t === void 0 && (t = !1);
@@ -2220,9 +2182,9 @@ G.parseNew = function() {
2220
2182
  var r = this.parseTemplateElement({ isTagged: t });
2221
2183
  for (n.quasis = [r]; !r.tail;) this.type === w.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(w.dollarBraceL), n.expressions.push(this.parseExpression()), this.expect(w.braceR), n.quasis.push(r = this.parseTemplateElement({ isTagged: t }));
2222
2184
  return this.next(), this.finishNode(n, "TemplateLiteral");
2223
- }, G.isAsyncProp = function(e) {
2185
+ }, U.isAsyncProp = function(e) {
2224
2186
  return !e.computed && e.key.type === "Identifier" && e.key.name === "async" && (this.type === w.name || this.type === w.num || this.type === w.string || this.type === w.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === w.star) && !T.test(this.input.slice(this.lastTokEnd, this.start));
2225
- }, G.parseObj = function(e, t) {
2187
+ }, U.parseObj = function(e, t) {
2226
2188
  var n = this.startNode(), r = !0, i = {};
2227
2189
  for (n.properties = [], this.next(); !this.eat(w.braceR);) {
2228
2190
  if (r) r = !1;
@@ -2231,13 +2193,13 @@ G.parseNew = function() {
2231
2193
  e || this.checkPropClash(a, i, t), n.properties.push(a);
2232
2194
  }
2233
2195
  return this.finishNode(n, e ? "ObjectPattern" : "ObjectExpression");
2234
- }, G.parseProperty = function(e, t) {
2196
+ }, U.parseProperty = function(e, t) {
2235
2197
  var n = this.startNode(), r, i, a, o;
2236
2198
  if (this.options.ecmaVersion >= 9 && this.eat(w.ellipsis)) return e ? (n.argument = this.parseIdent(!1), this.type === w.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(n, "RestElement")) : (n.argument = this.parseMaybeAssign(!1, t), this.type === w.comma && t && t.trailingComma < 0 && (t.trailingComma = this.start), this.finishNode(n, "SpreadElement"));
2237
2199
  this.options.ecmaVersion >= 6 && (n.method = !1, n.shorthand = !1, (e || t) && (a = this.start, o = this.startLoc), e || (r = this.eat(w.star)));
2238
2200
  var s = this.containsEsc;
2239
2201
  return this.parsePropertyName(n), !e && !s && this.options.ecmaVersion >= 8 && !r && this.isAsyncProp(n) ? (i = !0, r = this.options.ecmaVersion >= 9 && this.eat(w.star), this.parsePropertyName(n)) : i = !1, this.parsePropertyValue(n, e, r, i, a, o, t, s), this.finishNode(n, "Property");
2240
- }, G.parseGetterSetter = function(e) {
2202
+ }, U.parseGetterSetter = function(e) {
2241
2203
  var t = e.key.name;
2242
2204
  this.parsePropertyName(e), e.value = this.parseMethod(!1), e.kind = t;
2243
2205
  var n = e.kind === "get" ? 0 : 1;
@@ -2245,41 +2207,41 @@ G.parseNew = function() {
2245
2207
  var r = e.value.start;
2246
2208
  e.kind === "get" ? this.raiseRecoverable(r, "getter should have no params") : this.raiseRecoverable(r, "setter should have exactly one param");
2247
2209
  } else e.kind === "set" && e.value.params[0].type === "RestElement" && this.raiseRecoverable(e.value.params[0].start, "Setter cannot use rest params");
2248
- }, G.parsePropertyValue = function(e, t, n, r, i, a, o, s) {
2210
+ }, U.parsePropertyValue = function(e, t, n, r, i, a, o, s) {
2249
2211
  (n || r) && this.type === w.colon && this.unexpected(), this.eat(w.colon) ? (e.value = t ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, o), e.kind = "init") : this.options.ecmaVersion >= 6 && this.type === w.parenL ? (t && this.unexpected(), e.method = !0, e.value = this.parseMethod(n, r), e.kind = "init") : !t && !s && this.options.ecmaVersion >= 5 && !e.computed && e.key.type === "Identifier" && (e.key.name === "get" || e.key.name === "set") && this.type !== w.comma && this.type !== w.braceR && this.type !== w.eq ? ((n || r) && this.unexpected(), this.parseGetterSetter(e)) : this.options.ecmaVersion >= 6 && !e.computed && e.key.type === "Identifier" ? ((n || r) && this.unexpected(), this.checkUnreserved(e.key), e.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = i), t ? e.value = this.parseMaybeDefault(i, a, this.copyNode(e.key)) : this.type === w.eq && o ? (o.shorthandAssign < 0 && (o.shorthandAssign = this.start), e.value = this.parseMaybeDefault(i, a, this.copyNode(e.key))) : e.value = this.copyNode(e.key), e.kind = "init", e.shorthand = !0) : this.unexpected();
2250
- }, G.parsePropertyName = function(e) {
2212
+ }, U.parsePropertyName = function(e) {
2251
2213
  if (this.options.ecmaVersion >= 6) {
2252
2214
  if (this.eat(w.bracketL)) return e.computed = !0, e.key = this.parseMaybeAssign(), this.expect(w.bracketR), e.key;
2253
2215
  e.computed = !1;
2254
2216
  }
2255
2217
  return e.key = this.type === w.num || this.type === w.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never");
2256
- }, G.initFunction = function(e) {
2218
+ }, U.initFunction = function(e) {
2257
2219
  e.id = null, this.options.ecmaVersion >= 6 && (e.generator = e.expression = !1), this.options.ecmaVersion >= 8 && (e.async = !1);
2258
- }, G.parseMethod = function(e, t, n) {
2220
+ }, U.parseMethod = function(e, t, n) {
2259
2221
  var r = this.startNode(), i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
2260
- 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) | Me | (n ? Ne : 0)), this.expect(w.parenL), r.params = this.parseBindingList(w.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");
2261
- }, G.parseArrowExpression = function(e, t, n, r) {
2222
+ 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) | Me | (n ? Ne : 0)), this.expect(w.parenL), r.params = this.parseBindingList(w.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");
2223
+ }, U.parseArrowExpression = function(e, t, n, r) {
2262
2224
  var i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
2263
- return this.enterScope(Ie(n, !1) | Ae), 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");
2264
- }, G.parseFunctionBody = function(e, t, n, r) {
2225
+ return this.enterScope(Le(n, !1) | Ae), 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");
2226
+ }, U.parseFunctionBody = function(e, t, n, r) {
2265
2227
  var i = t && this.type !== w.braceL, a = this.strict, o = !1;
2266
2228
  if (i) e.body = this.parseMaybeAssign(r), e.expression = !0, this.checkParams(e, !1);
2267
2229
  else {
2268
2230
  var s = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
2269
2231
  (!a || s) && (o = this.strictDirective(this.end), o && s && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
2270
2232
  var c = this.labels;
2271
- this.labels = [], o && (this.strict = !0), this.checkParams(e, !a && !o && !t && !n && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, Ve), e.body = this.parseBlock(!1, void 0, o && !a), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = c;
2233
+ 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;
2272
2234
  }
2273
2235
  this.exitScope();
2274
- }, G.isSimpleParamList = function(e) {
2236
+ }, U.isSimpleParamList = function(e) {
2275
2237
  for (var t = 0, n = e; t < n.length; t += 1) if (n[t].type !== "Identifier") return !1;
2276
2238
  return !0;
2277
- }, G.checkParams = function(e, t) {
2239
+ }, U.checkParams = function(e, t) {
2278
2240
  for (var n = Object.create(null), r = 0, i = e.params; r < i.length; r += 1) {
2279
2241
  var a = i[r];
2280
- this.checkLValInnerPattern(a, Re, t ? null : n);
2242
+ this.checkLValInnerPattern(a, ze, t ? null : n);
2281
2243
  }
2282
- }, G.parseExprList = function(e, t, n, r) {
2244
+ }, U.parseExprList = function(e, t, n, r) {
2283
2245
  for (var i = [], a = !0; !this.eat(e);) {
2284
2246
  if (a) a = !1;
2285
2247
  else if (this.expect(w.comma), t && this.afterTrailingComma(e)) break;
@@ -2287,52 +2249,52 @@ G.parseNew = function() {
2287
2249
  n && this.type === w.comma ? o = null : this.type === w.ellipsis ? (o = this.parseSpread(r), r && this.type === w.comma && r.trailingComma < 0 && (r.trailingComma = this.start)) : o = this.parseMaybeAssign(!1, r), i.push(o);
2288
2250
  }
2289
2251
  return i;
2290
- }, G.checkUnreserved = function(e) {
2252
+ }, U.checkUnreserved = function(e) {
2291
2253
  var t = e.start, n = e.end, r = e.name;
2292
- 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"));
2293
- }, G.parseIdent = function(e) {
2254
+ 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"));
2255
+ }, U.parseIdent = function(e) {
2294
2256
  var t = this.parseIdentNode();
2295
2257
  return this.next(!!e), this.finishNode(t, "Identifier"), e || (this.checkUnreserved(t), t.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = t.start)), t;
2296
- }, G.parseIdentNode = function() {
2258
+ }, U.parseIdentNode = function() {
2297
2259
  var e = this.startNode();
2298
2260
  return this.type === w.name ? e.name = this.value : this.type.keyword ? (e.name = this.type.keyword, (e.name === "class" || e.name === "function") && (this.lastTokEnd !== this.lastTokStart + 1 || this.input.charCodeAt(this.lastTokStart) !== 46) && this.context.pop(), this.type = w.name) : this.unexpected(), e;
2299
- }, G.parsePrivateIdent = function() {
2261
+ }, U.parsePrivateIdent = function() {
2300
2262
  var e = this.startNode();
2301
2263
  return this.type === w.privateId ? e.name = this.value : this.unexpected(), this.next(), this.finishNode(e, "PrivateIdentifier"), this.options.checkPrivateFields && (this.privateNameStack.length === 0 ? this.raise(e.start, "Private field '#" + e.name + "' must be declared in an enclosing class") : this.privateNameStack[this.privateNameStack.length - 1].used.push(e)), e;
2302
- }, G.parseYield = function(e) {
2264
+ }, U.parseYield = function(e) {
2303
2265
  this.yieldPos ||= this.start;
2304
2266
  var t = this.startNode();
2305
2267
  return this.next(), this.type === w.semi || this.canInsertSemicolon() || this.type !== w.star && !this.type.startsExpr ? (t.delegate = !1, t.argument = null) : (t.delegate = this.eat(w.star), t.argument = this.parseMaybeAssign(e)), this.finishNode(t, "YieldExpression");
2306
- }, G.parseAwait = function(e) {
2268
+ }, U.parseAwait = function(e) {
2307
2269
  this.awaitPos ||= this.start;
2308
2270
  var t = this.startNode();
2309
2271
  return this.next(), t.argument = this.parseMaybeUnary(null, !0, !1, e), this.finishNode(t, "AwaitExpression");
2310
2272
  };
2311
- var tt = L.prototype;
2312
- tt.raise = function(e, t) {
2273
+ var nt = F.prototype;
2274
+ nt.raise = function(e, t) {
2313
2275
  var n = Ce(this.input, e);
2314
2276
  t += " (" + n.line + ":" + n.column + ")", this.sourceFile && (t += " in " + this.sourceFile);
2315
2277
  var r = SyntaxError(t);
2316
2278
  throw r.pos = e, r.loc = n, r.raisedAt = this.pos, r;
2317
- }, tt.raiseRecoverable = tt.raise, tt.curPosition = function() {
2318
- if (this.options.locations) return new j(this.curLine, this.pos - this.lineStart);
2279
+ }, nt.raiseRecoverable = nt.raise, nt.curPosition = function() {
2280
+ if (this.options.locations) return new xe(this.curLine, this.pos - this.lineStart);
2319
2281
  };
2320
- var K = L.prototype, nt = function(e) {
2282
+ var W = F.prototype, rt = function(e) {
2321
2283
  this.flags = e, this.var = [], this.lexical = [], this.functions = [];
2322
2284
  };
2323
- K.enterScope = function(e) {
2324
- this.scopeStack.push(new nt(e));
2325
- }, K.exitScope = function() {
2285
+ W.enterScope = function(e) {
2286
+ this.scopeStack.push(new rt(e));
2287
+ }, W.exitScope = function() {
2326
2288
  this.scopeStack.pop();
2327
- }, K.treatFunctionsAsVarInScope = function(e) {
2328
- return e.flags & N || !this.inModule && e.flags & M;
2329
- }, K.declareName = function(e, t, n) {
2289
+ }, W.treatFunctionsAsVarInScope = function(e) {
2290
+ return e.flags & M || !this.inModule && e.flags & j;
2291
+ }, W.declareName = function(e, t, n) {
2330
2292
  var r = !1;
2331
- if (t === I) {
2293
+ if (t === P) {
2332
2294
  var i = this.currentScope();
2333
- r = i.lexical.indexOf(e) > -1 || i.functions.indexOf(e) > -1 || i.var.indexOf(e) > -1, i.lexical.push(e), this.inModule && i.flags & M && delete this.undefinedExports[e];
2334
- } else if (t === Be) this.currentScope().lexical.push(e);
2335
- else if (t === ze) {
2295
+ r = i.lexical.indexOf(e) > -1 || i.functions.indexOf(e) > -1 || i.var.indexOf(e) > -1, i.lexical.push(e), this.inModule && i.flags & j && delete this.undefinedExports[e];
2296
+ } else if (t === Ve) this.currentScope().lexical.push(e);
2297
+ else if (t === Be) {
2336
2298
  var a = this.currentScope();
2337
2299
  r = this.treatFunctionsAsVar ? a.lexical.indexOf(e) > -1 : a.lexical.indexOf(e) > -1 || a.var.indexOf(e) > -1, a.functions.push(e);
2338
2300
  } else for (var o = this.scopeStack.length - 1; o >= 0; --o) {
@@ -2341,106 +2303,106 @@ K.enterScope = function(e) {
2341
2303
  r = !0;
2342
2304
  break;
2343
2305
  }
2344
- if (s.var.push(e), this.inModule && s.flags & M && delete this.undefinedExports[e], s.flags & Fe) break;
2306
+ if (s.var.push(e), this.inModule && s.flags & j && delete this.undefinedExports[e], s.flags & Ie) break;
2345
2307
  }
2346
2308
  r && this.raiseRecoverable(n, "Identifier '" + e + "' has already been declared");
2347
- }, K.checkLocalExport = function(e) {
2309
+ }, W.checkLocalExport = function(e) {
2348
2310
  this.scopeStack[0].lexical.indexOf(e.name) === -1 && this.scopeStack[0].var.indexOf(e.name) === -1 && (this.undefinedExports[e.name] = e);
2349
- }, K.currentScope = function() {
2311
+ }, W.currentScope = function() {
2350
2312
  return this.scopeStack[this.scopeStack.length - 1];
2351
- }, K.currentVarScope = function() {
2313
+ }, W.currentVarScope = function() {
2352
2314
  for (var e = this.scopeStack.length - 1;; e--) {
2353
2315
  var t = this.scopeStack[e];
2354
- if (t.flags & (Fe | F | P)) return t;
2316
+ if (t.flags & (Ie | Pe | N)) return t;
2355
2317
  }
2356
- }, K.currentThisScope = function() {
2318
+ }, W.currentThisScope = function() {
2357
2319
  for (var e = this.scopeStack.length - 1;; e--) {
2358
2320
  var t = this.scopeStack[e];
2359
- if (t.flags & (Fe | F | P) && !(t.flags & Ae)) return t;
2321
+ if (t.flags & (Ie | Pe | N) && !(t.flags & Ae)) return t;
2360
2322
  }
2361
2323
  };
2362
- var rt = function(e, t, n) {
2324
+ var it = function(e, t, n) {
2363
2325
  this.type = "", this.start = t, this.end = 0, e.options.locations && (this.loc = new Se(e, n)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [t, 0]);
2364
- }, it = L.prototype;
2365
- it.startNode = function() {
2366
- return new rt(this, this.start, this.startLoc);
2367
- }, it.startNodeAt = function(e, t) {
2368
- return new rt(this, e, t);
2326
+ }, at = F.prototype;
2327
+ at.startNode = function() {
2328
+ return new it(this, this.start, this.startLoc);
2329
+ }, at.startNodeAt = function(e, t) {
2330
+ return new it(this, e, t);
2369
2331
  };
2370
- function at(e, t, n, r) {
2332
+ function ot(e, t, n, r) {
2371
2333
  return e.type = t, e.end = n, this.options.locations && (e.loc.end = r), this.options.ranges && (e.range[1] = n), e;
2372
2334
  }
2373
- it.finishNode = function(e, t) {
2374
- return at.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
2375
- }, it.finishNodeAt = function(e, t, n, r) {
2376
- return at.call(this, e, t, n, r);
2377
- }, it.copyNode = function(e) {
2378
- var t = new rt(this, e.start, this.startLoc);
2335
+ at.finishNode = function(e, t) {
2336
+ return ot.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
2337
+ }, at.finishNodeAt = function(e, t, n, r) {
2338
+ return ot.call(this, e, t, n, r);
2339
+ }, at.copyNode = function(e) {
2340
+ var t = new it(this, e.start, this.startLoc);
2379
2341
  for (var n in e) t[n] = e[n];
2380
2342
  return t;
2381
2343
  };
2382
- var ot = "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", st = "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", ct = st + " Extended_Pictographic", lt = ct, ut = lt + " EBase EComp EMod EPres ExtPict", dt = ut, ft = {
2383
- 9: st,
2384
- 10: ct,
2385
- 11: lt,
2386
- 12: ut,
2387
- 13: dt,
2388
- 14: dt
2389
- }, pt = {
2344
+ var st = "Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz", ct = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", lt = ct + " Extended_Pictographic", ut = lt, dt = ut + " EBase EComp EMod EPres ExtPict", ft = dt, pt = {
2345
+ 9: ct,
2346
+ 10: lt,
2347
+ 11: ut,
2348
+ 12: dt,
2349
+ 13: ft,
2350
+ 14: ft
2351
+ }, mt = {
2390
2352
  9: "",
2391
2353
  10: "",
2392
2354
  11: "",
2393
2355
  12: "",
2394
2356
  13: "",
2395
2357
  14: "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"
2396
- }, mt = "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", ht = "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", gt = ht + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", _t = gt + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", vt = _t + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", yt = vt + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", bt = {
2397
- 9: ht,
2398
- 10: gt,
2399
- 11: _t,
2400
- 12: vt,
2401
- 13: yt,
2402
- 14: yt + " " + ot
2403
- }, xt = {};
2404
- function St(e) {
2405
- var t = xt[e] = {
2406
- binary: k(ft[e] + " " + mt),
2407
- binaryOfStrings: k(pt[e]),
2358
+ }, ht = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", gt = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", _t = gt + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", vt = _t + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", yt = vt + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", bt = yt + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", xt = {
2359
+ 9: gt,
2360
+ 10: _t,
2361
+ 11: vt,
2362
+ 12: yt,
2363
+ 13: bt,
2364
+ 14: bt + " " + st
2365
+ }, St = {};
2366
+ function Ct(e) {
2367
+ var t = St[e] = {
2368
+ binary: k(pt[e] + " " + ht),
2369
+ binaryOfStrings: k(mt[e]),
2408
2370
  nonBinary: {
2409
- General_Category: k(mt),
2410
- Script: k(bt[e])
2371
+ General_Category: k(ht),
2372
+ Script: k(xt[e])
2411
2373
  }
2412
2374
  };
2413
2375
  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;
2414
2376
  }
2415
- for (var Ct = 0, wt = [
2377
+ for (var wt = 0, Tt = [
2416
2378
  9,
2417
2379
  10,
2418
2380
  11,
2419
2381
  12,
2420
2382
  13,
2421
2383
  14
2422
- ]; Ct < wt.length; Ct += 1) {
2423
- var Tt = wt[Ct];
2424
- St(Tt);
2384
+ ]; wt < Tt.length; wt += 1) {
2385
+ var Et = Tt[wt];
2386
+ Ct(Et);
2425
2387
  }
2426
- var q = L.prototype, Et = function(e, t) {
2388
+ var G = F.prototype, Dt = function(e, t) {
2427
2389
  this.parent = e, this.base = t || this;
2428
2390
  };
2429
- Et.prototype.separatedFrom = function(e) {
2391
+ Dt.prototype.separatedFrom = function(e) {
2430
2392
  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;
2431
2393
  return !1;
2432
- }, Et.prototype.sibling = function() {
2433
- return new Et(this.parent, this.base);
2394
+ }, Dt.prototype.sibling = function() {
2395
+ return new Dt(this.parent, this.base);
2434
2396
  };
2435
- var J = function(e) {
2436
- 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 = xt[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;
2397
+ var K = function(e) {
2398
+ this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : "") + (e.options.ecmaVersion >= 13 ? "d" : "") + (e.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = St[e.options.ecmaVersion >= 14 ? 14 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = Object.create(null), this.backReferenceNames = [], this.branchID = null;
2437
2399
  };
2438
- J.prototype.reset = function(e, t, n) {
2400
+ K.prototype.reset = function(e, t, n) {
2439
2401
  var r = n.indexOf("v") !== -1, i = n.indexOf("u") !== -1;
2440
2402
  this.start = e | 0, this.source = t + "", this.flags = n, r && this.parser.options.ecmaVersion >= 15 ? (this.switchU = !0, this.switchV = !0, this.switchN = !0) : (this.switchU = i && this.parser.options.ecmaVersion >= 6, this.switchV = !1, this.switchN = i && this.parser.options.ecmaVersion >= 9);
2441
- }, J.prototype.raise = function(e) {
2403
+ }, K.prototype.raise = function(e) {
2442
2404
  this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + e);
2443
- }, J.prototype.at = function(e, t) {
2405
+ }, K.prototype.at = function(e, t) {
2444
2406
  t === void 0 && (t = !1);
2445
2407
  var n = this.source, r = n.length;
2446
2408
  if (e >= r) return -1;
@@ -2448,21 +2410,21 @@ J.prototype.reset = function(e, t, n) {
2448
2410
  if (!(t || this.switchU) || i <= 55295 || i >= 57344 || e + 1 >= r) return i;
2449
2411
  var a = n.charCodeAt(e + 1);
2450
2412
  return a >= 56320 && a <= 57343 ? (i << 10) + a - 56613888 : i;
2451
- }, J.prototype.nextIndex = function(e, t) {
2413
+ }, K.prototype.nextIndex = function(e, t) {
2452
2414
  t === void 0 && (t = !1);
2453
2415
  var n = this.source, r = n.length;
2454
2416
  if (e >= r) return r;
2455
2417
  var i = n.charCodeAt(e), a;
2456
2418
  return !(t || this.switchU) || i <= 55295 || i >= 57344 || e + 1 >= r || (a = n.charCodeAt(e + 1)) < 56320 || a > 57343 ? e + 1 : e + 2;
2457
- }, J.prototype.current = function(e) {
2419
+ }, K.prototype.current = function(e) {
2458
2420
  return e === void 0 && (e = !1), this.at(this.pos, e);
2459
- }, J.prototype.lookahead = function(e) {
2421
+ }, K.prototype.lookahead = function(e) {
2460
2422
  return e === void 0 && (e = !1), this.at(this.nextIndex(this.pos, e), e);
2461
- }, J.prototype.advance = function(e) {
2423
+ }, K.prototype.advance = function(e) {
2462
2424
  e === void 0 && (e = !1), this.pos = this.nextIndex(this.pos, e);
2463
- }, J.prototype.eat = function(e, t) {
2425
+ }, K.prototype.eat = function(e, t) {
2464
2426
  return t === void 0 && (t = !1), this.current(t) === e ? (this.advance(t), !0) : !1;
2465
- }, J.prototype.eatChars = function(e, t) {
2427
+ }, K.prototype.eatChars = function(e, t) {
2466
2428
  t === void 0 && (t = !1);
2467
2429
  for (var n = this.pos, r = 0, i = e; r < i.length; r += 1) {
2468
2430
  var a = i[r], o = this.at(n, t);
@@ -2470,34 +2432,34 @@ J.prototype.reset = function(e, t, n) {
2470
2432
  n = this.nextIndex(n, t);
2471
2433
  }
2472
2434
  return this.pos = n, !0;
2473
- }, q.validateRegExpFlags = function(e) {
2435
+ }, G.validateRegExpFlags = function(e) {
2474
2436
  for (var t = e.validFlags, n = e.flags, r = !1, i = !1, a = 0; a < n.length; a++) {
2475
2437
  var o = n.charAt(a);
2476
2438
  t.indexOf(o) === -1 && this.raise(e.start, "Invalid regular expression flag"), n.indexOf(o, a + 1) > -1 && this.raise(e.start, "Duplicate regular expression flag"), o === "u" && (r = !0), o === "v" && (i = !0);
2477
2439
  }
2478
2440
  this.options.ecmaVersion >= 15 && r && i && this.raise(e.start, "Invalid regular expression flag");
2479
2441
  };
2480
- function Dt(e) {
2442
+ function Ot(e) {
2481
2443
  for (var t in e) return !0;
2482
2444
  return !1;
2483
2445
  }
2484
- q.validateRegExpPattern = function(e) {
2485
- this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && Dt(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
2486
- }, q.regexp_pattern = function(e) {
2446
+ G.validateRegExpPattern = function(e) {
2447
+ this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && Ot(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
2448
+ }, G.regexp_pattern = function(e) {
2487
2449
  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");
2488
2450
  for (var t = 0, n = e.backReferenceNames; t < n.length; t += 1) {
2489
2451
  var r = n[t];
2490
2452
  e.groupNames[r] || e.raise("Invalid named capture referenced");
2491
2453
  }
2492
- }, q.regexp_disjunction = function(e) {
2454
+ }, G.regexp_disjunction = function(e) {
2493
2455
  var t = this.options.ecmaVersion >= 16;
2494
- for (t && (e.branchID = new Et(e.branchID, null)), this.regexp_alternative(e); e.eat(124);) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
2456
+ for (t && (e.branchID = new Dt(e.branchID, null)), this.regexp_alternative(e); e.eat(124);) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
2495
2457
  t && (e.branchID = e.branchID.parent), this.regexp_eatQuantifier(e, !0) && e.raise("Nothing to repeat"), e.eat(123) && e.raise("Lone quantifier brackets");
2496
- }, q.regexp_alternative = function(e) {
2458
+ }, G.regexp_alternative = function(e) {
2497
2459
  for (; e.pos < e.source.length && this.regexp_eatTerm(e););
2498
- }, q.regexp_eatTerm = function(e) {
2460
+ }, G.regexp_eatTerm = function(e) {
2499
2461
  return this.regexp_eatAssertion(e) ? (e.lastAssertionIsQuantifiable && this.regexp_eatQuantifier(e) && e.switchU && e.raise("Invalid quantifier"), !0) : (e.switchU ? this.regexp_eatAtom(e) : this.regexp_eatExtendedAtom(e)) ? (this.regexp_eatQuantifier(e), !0) : !1;
2500
- }, q.regexp_eatAssertion = function(e) {
2462
+ }, G.regexp_eatAssertion = function(e) {
2501
2463
  var t = e.pos;
2502
2464
  if (e.lastAssertionIsQuantifiable = !1, e.eat(94) || e.eat(36)) return !0;
2503
2465
  if (e.eat(92)) {
@@ -2509,11 +2471,11 @@ q.validateRegExpPattern = function(e) {
2509
2471
  if (this.options.ecmaVersion >= 9 && (n = e.eat(60)), e.eat(61) || e.eat(33)) return this.regexp_disjunction(e), e.eat(41) || e.raise("Unterminated group"), e.lastAssertionIsQuantifiable = !n, !0;
2510
2472
  }
2511
2473
  return e.pos = t, !1;
2512
- }, q.regexp_eatQuantifier = function(e, t) {
2474
+ }, G.regexp_eatQuantifier = function(e, t) {
2513
2475
  return t === void 0 && (t = !1), this.regexp_eatQuantifierPrefix(e, t) ? (e.eat(63), !0) : !1;
2514
- }, q.regexp_eatQuantifierPrefix = function(e, t) {
2476
+ }, G.regexp_eatQuantifierPrefix = function(e, t) {
2515
2477
  return e.eat(42) || e.eat(43) || e.eat(63) || this.regexp_eatBracedQuantifier(e, t);
2516
- }, q.regexp_eatBracedQuantifier = function(e, t) {
2478
+ }, G.regexp_eatBracedQuantifier = function(e, t) {
2517
2479
  var n = e.pos;
2518
2480
  if (e.eat(123)) {
2519
2481
  var r = 0, i = -1;
@@ -2521,16 +2483,16 @@ q.validateRegExpPattern = function(e) {
2521
2483
  e.switchU && !t && e.raise("Incomplete quantifier"), e.pos = n;
2522
2484
  }
2523
2485
  return !1;
2524
- }, q.regexp_eatAtom = function(e) {
2486
+ }, G.regexp_eatAtom = function(e) {
2525
2487
  return this.regexp_eatPatternCharacters(e) || e.eat(46) || this.regexp_eatReverseSolidusAtomEscape(e) || this.regexp_eatCharacterClass(e) || this.regexp_eatUncapturingGroup(e) || this.regexp_eatCapturingGroup(e);
2526
- }, q.regexp_eatReverseSolidusAtomEscape = function(e) {
2488
+ }, G.regexp_eatReverseSolidusAtomEscape = function(e) {
2527
2489
  var t = e.pos;
2528
2490
  if (e.eat(92)) {
2529
2491
  if (this.regexp_eatAtomEscape(e)) return !0;
2530
2492
  e.pos = t;
2531
2493
  }
2532
2494
  return !1;
2533
- }, q.regexp_eatUncapturingGroup = function(e) {
2495
+ }, G.regexp_eatUncapturingGroup = function(e) {
2534
2496
  var t = e.pos;
2535
2497
  if (e.eat(40)) {
2536
2498
  if (e.eat(63)) {
@@ -2559,37 +2521,37 @@ q.validateRegExpPattern = function(e) {
2559
2521
  e.pos = t;
2560
2522
  }
2561
2523
  return !1;
2562
- }, q.regexp_eatCapturingGroup = function(e) {
2524
+ }, G.regexp_eatCapturingGroup = function(e) {
2563
2525
  if (e.eat(40)) {
2564
2526
  if (this.options.ecmaVersion >= 9 ? this.regexp_groupSpecifier(e) : e.current() === 63 && e.raise("Invalid group"), this.regexp_disjunction(e), e.eat(41)) return e.numCapturingParens += 1, !0;
2565
2527
  e.raise("Unterminated group");
2566
2528
  }
2567
2529
  return !1;
2568
- }, q.regexp_eatModifiers = function(e) {
2569
- for (var t = "", n = 0; (n = e.current()) !== -1 && Ot(n);) t += A(n), e.advance();
2530
+ }, G.regexp_eatModifiers = function(e) {
2531
+ for (var t = "", n = 0; (n = e.current()) !== -1 && kt(n);) t += A(n), e.advance();
2570
2532
  return t;
2571
2533
  };
2572
- function Ot(e) {
2534
+ function kt(e) {
2573
2535
  return e === 105 || e === 109 || e === 115;
2574
2536
  }
2575
- q.regexp_eatExtendedAtom = function(e) {
2537
+ G.regexp_eatExtendedAtom = function(e) {
2576
2538
  return e.eat(46) || this.regexp_eatReverseSolidusAtomEscape(e) || this.regexp_eatCharacterClass(e) || this.regexp_eatUncapturingGroup(e) || this.regexp_eatCapturingGroup(e) || this.regexp_eatInvalidBracedQuantifier(e) || this.regexp_eatExtendedPatternCharacter(e);
2577
- }, q.regexp_eatInvalidBracedQuantifier = function(e) {
2539
+ }, G.regexp_eatInvalidBracedQuantifier = function(e) {
2578
2540
  return this.regexp_eatBracedQuantifier(e, !0) && e.raise("Nothing to repeat"), !1;
2579
- }, q.regexp_eatSyntaxCharacter = function(e) {
2541
+ }, G.regexp_eatSyntaxCharacter = function(e) {
2580
2542
  var t = e.current();
2581
- return kt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2543
+ return At(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2582
2544
  };
2583
- function kt(e) {
2545
+ function At(e) {
2584
2546
  return e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e >= 91 && e <= 94 || e >= 123 && e <= 125;
2585
2547
  }
2586
- q.regexp_eatPatternCharacters = function(e) {
2587
- for (var t = e.pos, n = 0; (n = e.current()) !== -1 && !kt(n);) e.advance();
2548
+ G.regexp_eatPatternCharacters = function(e) {
2549
+ for (var t = e.pos, n = 0; (n = e.current()) !== -1 && !At(n);) e.advance();
2588
2550
  return e.pos !== t;
2589
- }, q.regexp_eatExtendedPatternCharacter = function(e) {
2551
+ }, G.regexp_eatExtendedPatternCharacter = function(e) {
2590
2552
  var t = e.current();
2591
2553
  return t !== -1 && t !== 36 && !(t >= 40 && t <= 43) && t !== 46 && t !== 63 && t !== 91 && t !== 94 && t !== 124 ? (e.advance(), !0) : !1;
2592
- }, q.regexp_groupSpecifier = function(e) {
2554
+ }, G.regexp_groupSpecifier = function(e) {
2593
2555
  if (e.eat(63)) {
2594
2556
  this.regexp_eatGroupName(e) || e.raise("Invalid group");
2595
2557
  var t = this.options.ecmaVersion >= 16, n = e.groupNames[e.lastStringValue];
@@ -2597,35 +2559,35 @@ q.regexp_eatPatternCharacters = function(e) {
2597
2559
  else e.raise("Duplicate capture group name");
2598
2560
  t ? (n || (e.groupNames[e.lastStringValue] = [])).push(e.branchID) : e.groupNames[e.lastStringValue] = !0;
2599
2561
  }
2600
- }, q.regexp_eatGroupName = function(e) {
2562
+ }, G.regexp_eatGroupName = function(e) {
2601
2563
  if (e.lastStringValue = "", e.eat(60)) {
2602
2564
  if (this.regexp_eatRegExpIdentifierName(e) && e.eat(62)) return !0;
2603
2565
  e.raise("Invalid capture group name");
2604
2566
  }
2605
2567
  return !1;
2606
- }, q.regexp_eatRegExpIdentifierName = function(e) {
2568
+ }, G.regexp_eatRegExpIdentifierName = function(e) {
2607
2569
  if (e.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(e)) {
2608
2570
  for (e.lastStringValue += A(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e);) e.lastStringValue += A(e.lastIntValue);
2609
2571
  return !0;
2610
2572
  }
2611
2573
  return !1;
2612
- }, q.regexp_eatRegExpIdentifierStart = function(e) {
2574
+ }, G.regexp_eatRegExpIdentifierStart = function(e) {
2613
2575
  var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
2614
- return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), At(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2576
+ return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), jt(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2615
2577
  };
2616
- function At(e) {
2578
+ function jt(e) {
2617
2579
  return _(e, !0) || e === 36 || e === 95;
2618
2580
  }
2619
- q.regexp_eatRegExpIdentifierPart = function(e) {
2581
+ G.regexp_eatRegExpIdentifierPart = function(e) {
2620
2582
  var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
2621
- return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), jt(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2583
+ return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), Mt(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2622
2584
  };
2623
- function jt(e) {
2585
+ function Mt(e) {
2624
2586
  return v(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
2625
2587
  }
2626
- q.regexp_eatAtomEscape = function(e) {
2588
+ G.regexp_eatAtomEscape = function(e) {
2627
2589
  return this.regexp_eatBackReference(e) || this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e) || e.switchN && this.regexp_eatKGroupName(e) ? !0 : (e.switchU && (e.current() === 99 && e.raise("Invalid unicode escape"), e.raise("Invalid escape")), !1);
2628
- }, q.regexp_eatBackReference = function(e) {
2590
+ }, G.regexp_eatBackReference = function(e) {
2629
2591
  var t = e.pos;
2630
2592
  if (this.regexp_eatDecimalEscape(e)) {
2631
2593
  var n = e.lastIntValue;
@@ -2634,34 +2596,34 @@ q.regexp_eatAtomEscape = function(e) {
2634
2596
  e.pos = t;
2635
2597
  }
2636
2598
  return !1;
2637
- }, q.regexp_eatKGroupName = function(e) {
2599
+ }, G.regexp_eatKGroupName = function(e) {
2638
2600
  if (e.eat(107)) {
2639
2601
  if (this.regexp_eatGroupName(e)) return e.backReferenceNames.push(e.lastStringValue), !0;
2640
2602
  e.raise("Invalid named reference");
2641
2603
  }
2642
2604
  return !1;
2643
- }, q.regexp_eatCharacterEscape = function(e) {
2605
+ }, G.regexp_eatCharacterEscape = function(e) {
2644
2606
  return this.regexp_eatControlEscape(e) || this.regexp_eatCControlLetter(e) || this.regexp_eatZero(e) || this.regexp_eatHexEscapeSequence(e) || this.regexp_eatRegExpUnicodeEscapeSequence(e, !1) || !e.switchU && this.regexp_eatLegacyOctalEscapeSequence(e) || this.regexp_eatIdentityEscape(e);
2645
- }, q.regexp_eatCControlLetter = function(e) {
2607
+ }, G.regexp_eatCControlLetter = function(e) {
2646
2608
  var t = e.pos;
2647
2609
  if (e.eat(99)) {
2648
2610
  if (this.regexp_eatControlLetter(e)) return !0;
2649
2611
  e.pos = t;
2650
2612
  }
2651
2613
  return !1;
2652
- }, q.regexp_eatZero = function(e) {
2653
- return e.current() === 48 && !Vt(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
2654
- }, q.regexp_eatControlEscape = function(e) {
2614
+ }, G.regexp_eatZero = function(e) {
2615
+ return e.current() === 48 && !Ht(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
2616
+ }, G.regexp_eatControlEscape = function(e) {
2655
2617
  var t = e.current();
2656
2618
  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;
2657
- }, q.regexp_eatControlLetter = function(e) {
2619
+ }, G.regexp_eatControlLetter = function(e) {
2658
2620
  var t = e.current();
2659
- return Mt(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2621
+ return Nt(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2660
2622
  };
2661
- function Mt(e) {
2623
+ function Nt(e) {
2662
2624
  return e >= 65 && e <= 90 || e >= 97 && e <= 122;
2663
2625
  }
2664
- q.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
2626
+ G.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
2665
2627
  t === void 0 && (t = !1);
2666
2628
  var n = e.pos, r = t || e.switchU;
2667
2629
  if (e.eat(117)) {
@@ -2677,19 +2639,19 @@ q.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
2677
2639
  }
2678
2640
  return !0;
2679
2641
  }
2680
- if (r && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && Nt(e.lastIntValue)) return !0;
2642
+ if (r && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && Pt(e.lastIntValue)) return !0;
2681
2643
  r && e.raise("Invalid unicode escape"), e.pos = n;
2682
2644
  }
2683
2645
  return !1;
2684
2646
  };
2685
- function Nt(e) {
2647
+ function Pt(e) {
2686
2648
  return e >= 0 && e <= 1114111;
2687
2649
  }
2688
- q.regexp_eatIdentityEscape = function(e) {
2650
+ G.regexp_eatIdentityEscape = function(e) {
2689
2651
  if (e.switchU) return this.regexp_eatSyntaxCharacter(e) ? !0 : e.eat(47) ? (e.lastIntValue = 47, !0) : !1;
2690
2652
  var t = e.current();
2691
2653
  return t !== 99 && (!e.switchN || t !== 107) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2692
- }, q.regexp_eatDecimalEscape = function(e) {
2654
+ }, G.regexp_eatDecimalEscape = function(e) {
2693
2655
  e.lastIntValue = 0;
2694
2656
  var t = e.current();
2695
2657
  if (t >= 49 && t <= 57) {
@@ -2700,69 +2662,69 @@ q.regexp_eatIdentityEscape = function(e) {
2700
2662
  }
2701
2663
  return !1;
2702
2664
  };
2703
- var Pt = 0, Y = 1, X = 2;
2704
- q.regexp_eatCharacterClassEscape = function(e) {
2665
+ var Ft = 0, q = 1, J = 2;
2666
+ G.regexp_eatCharacterClassEscape = function(e) {
2705
2667
  var t = e.current();
2706
- if (Ft(t)) return e.lastIntValue = -1, e.advance(), Y;
2668
+ if (It(t)) return e.lastIntValue = -1, e.advance(), q;
2707
2669
  var n = !1;
2708
2670
  if (e.switchU && this.options.ecmaVersion >= 9 && ((n = t === 80) || t === 112)) {
2709
2671
  e.lastIntValue = -1, e.advance();
2710
2672
  var r;
2711
- if (e.eat(123) && (r = this.regexp_eatUnicodePropertyValueExpression(e)) && e.eat(125)) return n && r === X && e.raise("Invalid property name"), r;
2673
+ if (e.eat(123) && (r = this.regexp_eatUnicodePropertyValueExpression(e)) && e.eat(125)) return n && r === J && e.raise("Invalid property name"), r;
2712
2674
  e.raise("Invalid property name");
2713
2675
  }
2714
- return Pt;
2676
+ return Ft;
2715
2677
  };
2716
- function Ft(e) {
2678
+ function It(e) {
2717
2679
  return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87;
2718
2680
  }
2719
- q.regexp_eatUnicodePropertyValueExpression = function(e) {
2681
+ G.regexp_eatUnicodePropertyValueExpression = function(e) {
2720
2682
  var t = e.pos;
2721
2683
  if (this.regexp_eatUnicodePropertyName(e) && e.eat(61)) {
2722
2684
  var n = e.lastStringValue;
2723
2685
  if (this.regexp_eatUnicodePropertyValue(e)) {
2724
2686
  var r = e.lastStringValue;
2725
- return this.regexp_validateUnicodePropertyNameAndValue(e, n, r), Y;
2687
+ return this.regexp_validateUnicodePropertyNameAndValue(e, n, r), q;
2726
2688
  }
2727
2689
  }
2728
2690
  if (e.pos = t, this.regexp_eatLoneUnicodePropertyNameOrValue(e)) {
2729
2691
  var i = e.lastStringValue;
2730
2692
  return this.regexp_validateUnicodePropertyNameOrValue(e, i);
2731
2693
  }
2732
- return Pt;
2733
- }, q.regexp_validateUnicodePropertyNameAndValue = function(e, t, n) {
2694
+ return Ft;
2695
+ }, G.regexp_validateUnicodePropertyNameAndValue = function(e, t, n) {
2734
2696
  O(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(n) || e.raise("Invalid property value");
2735
- }, q.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
2736
- if (e.unicodeProperties.binary.test(t)) return Y;
2737
- if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t)) return X;
2697
+ }, G.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
2698
+ if (e.unicodeProperties.binary.test(t)) return q;
2699
+ if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t)) return J;
2738
2700
  e.raise("Invalid property name");
2739
- }, q.regexp_eatUnicodePropertyName = function(e) {
2701
+ }, G.regexp_eatUnicodePropertyName = function(e) {
2740
2702
  var t = 0;
2741
- for (e.lastStringValue = ""; It(t = e.current());) e.lastStringValue += A(t), e.advance();
2703
+ for (e.lastStringValue = ""; Lt(t = e.current());) e.lastStringValue += A(t), e.advance();
2742
2704
  return e.lastStringValue !== "";
2743
2705
  };
2744
- function It(e) {
2745
- return Mt(e) || e === 95;
2706
+ function Lt(e) {
2707
+ return Nt(e) || e === 95;
2746
2708
  }
2747
- q.regexp_eatUnicodePropertyValue = function(e) {
2709
+ G.regexp_eatUnicodePropertyValue = function(e) {
2748
2710
  var t = 0;
2749
- for (e.lastStringValue = ""; Lt(t = e.current());) e.lastStringValue += A(t), e.advance();
2711
+ for (e.lastStringValue = ""; Rt(t = e.current());) e.lastStringValue += A(t), e.advance();
2750
2712
  return e.lastStringValue !== "";
2751
2713
  };
2752
- function Lt(e) {
2753
- return It(e) || Vt(e);
2714
+ function Rt(e) {
2715
+ return Lt(e) || Ht(e);
2754
2716
  }
2755
- q.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2717
+ G.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2756
2718
  return this.regexp_eatUnicodePropertyValue(e);
2757
- }, q.regexp_eatCharacterClass = function(e) {
2719
+ }, G.regexp_eatCharacterClass = function(e) {
2758
2720
  if (e.eat(91)) {
2759
2721
  var t = e.eat(94), n = this.regexp_classContents(e);
2760
- return e.eat(93) || e.raise("Unterminated character class"), t && n === X && e.raise("Negated character class may contain strings"), !0;
2722
+ return e.eat(93) || e.raise("Unterminated character class"), t && n === J && e.raise("Negated character class may contain strings"), !0;
2761
2723
  }
2762
2724
  return !1;
2763
- }, q.regexp_classContents = function(e) {
2764
- return e.current() === 93 ? Y : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), Y);
2765
- }, q.regexp_nonEmptyClassRanges = function(e) {
2725
+ }, G.regexp_classContents = function(e) {
2726
+ return e.current() === 93 ? q : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), q);
2727
+ }, G.regexp_nonEmptyClassRanges = function(e) {
2766
2728
  for (; this.regexp_eatClassAtom(e);) {
2767
2729
  var t = e.lastIntValue;
2768
2730
  if (e.eat(45) && this.regexp_eatClassAtom(e)) {
@@ -2770,19 +2732,19 @@ q.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2770
2732
  e.switchU && (t === -1 || n === -1) && e.raise("Invalid character class"), t !== -1 && n !== -1 && t > n && e.raise("Range out of order in character class");
2771
2733
  }
2772
2734
  }
2773
- }, q.regexp_eatClassAtom = function(e) {
2735
+ }, G.regexp_eatClassAtom = function(e) {
2774
2736
  var t = e.pos;
2775
2737
  if (e.eat(92)) {
2776
2738
  if (this.regexp_eatClassEscape(e)) return !0;
2777
2739
  if (e.switchU) {
2778
2740
  var n = e.current();
2779
- (n === 99 || Wt(n)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
2741
+ (n === 99 || Gt(n)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
2780
2742
  }
2781
2743
  e.pos = t;
2782
2744
  }
2783
2745
  var r = e.current();
2784
2746
  return r === 93 ? !1 : (e.lastIntValue = r, e.advance(), !0);
2785
- }, q.regexp_eatClassEscape = function(e) {
2747
+ }, G.regexp_eatClassEscape = function(e) {
2786
2748
  var t = e.pos;
2787
2749
  if (e.eat(98)) return e.lastIntValue = 8, !0;
2788
2750
  if (e.switchU && e.eat(45)) return e.lastIntValue = 45, !0;
@@ -2791,13 +2753,13 @@ q.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2791
2753
  e.pos = t;
2792
2754
  }
2793
2755
  return this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e);
2794
- }, q.regexp_classSetExpression = function(e) {
2795
- var t = Y, n;
2756
+ }, G.regexp_classSetExpression = function(e) {
2757
+ var t = q, n;
2796
2758
  if (!this.regexp_eatClassSetRange(e)) if (n = this.regexp_eatClassSetOperand(e)) {
2797
- n === X && (t = X);
2759
+ n === J && (t = J);
2798
2760
  for (var r = e.pos; e.eatChars([38, 38]);) {
2799
2761
  if (e.current() !== 38 && (n = this.regexp_eatClassSetOperand(e))) {
2800
- n !== X && (t = Y);
2762
+ n !== J && (t = q);
2801
2763
  continue;
2802
2764
  }
2803
2765
  e.raise("Invalid character in character class");
@@ -2808,9 +2770,9 @@ q.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2808
2770
  } else e.raise("Invalid character in character class");
2809
2771
  for (;;) if (!this.regexp_eatClassSetRange(e)) {
2810
2772
  if (n = this.regexp_eatClassSetOperand(e), !n) return t;
2811
- n === X && (t = X);
2773
+ n === J && (t = J);
2812
2774
  }
2813
- }, q.regexp_eatClassSetRange = function(e) {
2775
+ }, G.regexp_eatClassSetRange = function(e) {
2814
2776
  var t = e.pos;
2815
2777
  if (this.regexp_eatClassSetCharacter(e)) {
2816
2778
  var n = e.lastIntValue;
@@ -2821,13 +2783,13 @@ q.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2821
2783
  e.pos = t;
2822
2784
  }
2823
2785
  return !1;
2824
- }, q.regexp_eatClassSetOperand = function(e) {
2825
- return this.regexp_eatClassSetCharacter(e) ? Y : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
2826
- }, q.regexp_eatNestedClass = function(e) {
2786
+ }, G.regexp_eatClassSetOperand = function(e) {
2787
+ return this.regexp_eatClassSetCharacter(e) ? q : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
2788
+ }, G.regexp_eatNestedClass = function(e) {
2827
2789
  var t = e.pos;
2828
2790
  if (e.eat(91)) {
2829
2791
  var n = e.eat(94), r = this.regexp_classContents(e);
2830
- if (e.eat(93)) return n && r === X && e.raise("Negated character class may contain strings"), r;
2792
+ if (e.eat(93)) return n && r === J && e.raise("Negated character class may contain strings"), r;
2831
2793
  e.pos = t;
2832
2794
  }
2833
2795
  if (e.eat(92)) {
@@ -2836,7 +2798,7 @@ q.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2836
2798
  e.pos = t;
2837
2799
  }
2838
2800
  return null;
2839
- }, q.regexp_eatClassStringDisjunction = function(e) {
2801
+ }, G.regexp_eatClassStringDisjunction = function(e) {
2840
2802
  var t = e.pos;
2841
2803
  if (e.eatChars([92, 113])) {
2842
2804
  if (e.eat(123)) {
@@ -2846,61 +2808,61 @@ q.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2846
2808
  e.pos = t;
2847
2809
  }
2848
2810
  return null;
2849
- }, q.regexp_classStringDisjunctionContents = function(e) {
2850
- for (var t = this.regexp_classString(e); e.eat(124);) this.regexp_classString(e) === X && (t = X);
2811
+ }, G.regexp_classStringDisjunctionContents = function(e) {
2812
+ for (var t = this.regexp_classString(e); e.eat(124);) this.regexp_classString(e) === J && (t = J);
2851
2813
  return t;
2852
- }, q.regexp_classString = function(e) {
2814
+ }, G.regexp_classString = function(e) {
2853
2815
  for (var t = 0; this.regexp_eatClassSetCharacter(e);) t++;
2854
- return t === 1 ? Y : X;
2855
- }, q.regexp_eatClassSetCharacter = function(e) {
2816
+ return t === 1 ? q : J;
2817
+ }, G.regexp_eatClassSetCharacter = function(e) {
2856
2818
  var t = e.pos;
2857
2819
  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);
2858
2820
  var n = e.current();
2859
- return n < 0 || n === e.lookahead() && Rt(n) || zt(n) ? !1 : (e.advance(), e.lastIntValue = n, !0);
2821
+ return n < 0 || n === e.lookahead() && zt(n) || Bt(n) ? !1 : (e.advance(), e.lastIntValue = n, !0);
2860
2822
  };
2861
- function Rt(e) {
2823
+ function zt(e) {
2862
2824
  return e === 33 || e >= 35 && e <= 38 || e >= 42 && e <= 44 || e === 46 || e >= 58 && e <= 64 || e === 94 || e === 96 || e === 126;
2863
2825
  }
2864
- function zt(e) {
2826
+ function Bt(e) {
2865
2827
  return e === 40 || e === 41 || e === 45 || e === 47 || e >= 91 && e <= 93 || e >= 123 && e <= 125;
2866
2828
  }
2867
- q.regexp_eatClassSetReservedPunctuator = function(e) {
2829
+ G.regexp_eatClassSetReservedPunctuator = function(e) {
2868
2830
  var t = e.current();
2869
- return Bt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2831
+ return Vt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2870
2832
  };
2871
- function Bt(e) {
2833
+ function Vt(e) {
2872
2834
  return e === 33 || e === 35 || e === 37 || e === 38 || e === 44 || e === 45 || e >= 58 && e <= 62 || e === 64 || e === 96 || e === 126;
2873
2835
  }
2874
- q.regexp_eatClassControlLetter = function(e) {
2836
+ G.regexp_eatClassControlLetter = function(e) {
2875
2837
  var t = e.current();
2876
- return Vt(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2877
- }, q.regexp_eatHexEscapeSequence = function(e) {
2838
+ return Ht(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2839
+ }, G.regexp_eatHexEscapeSequence = function(e) {
2878
2840
  var t = e.pos;
2879
2841
  if (e.eat(120)) {
2880
2842
  if (this.regexp_eatFixedHexDigits(e, 2)) return !0;
2881
2843
  e.switchU && e.raise("Invalid escape"), e.pos = t;
2882
2844
  }
2883
2845
  return !1;
2884
- }, q.regexp_eatDecimalDigits = function(e) {
2846
+ }, G.regexp_eatDecimalDigits = function(e) {
2885
2847
  var t = e.pos, n = 0;
2886
- for (e.lastIntValue = 0; Vt(n = e.current());) e.lastIntValue = 10 * e.lastIntValue + (n - 48), e.advance();
2848
+ for (e.lastIntValue = 0; Ht(n = e.current());) e.lastIntValue = 10 * e.lastIntValue + (n - 48), e.advance();
2887
2849
  return e.pos !== t;
2888
2850
  };
2889
- function Vt(e) {
2851
+ function Ht(e) {
2890
2852
  return e >= 48 && e <= 57;
2891
2853
  }
2892
- q.regexp_eatHexDigits = function(e) {
2854
+ G.regexp_eatHexDigits = function(e) {
2893
2855
  var t = e.pos, n = 0;
2894
- for (e.lastIntValue = 0; Ht(n = e.current());) e.lastIntValue = 16 * e.lastIntValue + Ut(n), e.advance();
2856
+ for (e.lastIntValue = 0; Ut(n = e.current());) e.lastIntValue = 16 * e.lastIntValue + Wt(n), e.advance();
2895
2857
  return e.pos !== t;
2896
2858
  };
2897
- function Ht(e) {
2859
+ function Ut(e) {
2898
2860
  return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
2899
2861
  }
2900
- function Ut(e) {
2862
+ function Wt(e) {
2901
2863
  return e >= 65 && e <= 70 ? 10 + (e - 65) : e >= 97 && e <= 102 ? 10 + (e - 97) : e - 48;
2902
2864
  }
2903
- q.regexp_eatLegacyOctalEscapeSequence = function(e) {
2865
+ G.regexp_eatLegacyOctalEscapeSequence = function(e) {
2904
2866
  if (this.regexp_eatOctalDigit(e)) {
2905
2867
  var t = e.lastIntValue;
2906
2868
  if (this.regexp_eatOctalDigit(e)) {
@@ -2910,31 +2872,31 @@ q.regexp_eatLegacyOctalEscapeSequence = function(e) {
2910
2872
  return !0;
2911
2873
  }
2912
2874
  return !1;
2913
- }, q.regexp_eatOctalDigit = function(e) {
2875
+ }, G.regexp_eatOctalDigit = function(e) {
2914
2876
  var t = e.current();
2915
- return Wt(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
2877
+ return Gt(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
2916
2878
  };
2917
- function Wt(e) {
2879
+ function Gt(e) {
2918
2880
  return e >= 48 && e <= 55;
2919
2881
  }
2920
- q.regexp_eatFixedHexDigits = function(e, t) {
2882
+ G.regexp_eatFixedHexDigits = function(e, t) {
2921
2883
  var n = e.pos;
2922
2884
  e.lastIntValue = 0;
2923
2885
  for (var r = 0; r < t; ++r) {
2924
2886
  var i = e.current();
2925
- if (!Ht(i)) return e.pos = n, !1;
2926
- e.lastIntValue = 16 * e.lastIntValue + Ut(i), e.advance();
2887
+ if (!Ut(i)) return e.pos = n, !1;
2888
+ e.lastIntValue = 16 * e.lastIntValue + Wt(i), e.advance();
2927
2889
  }
2928
2890
  return !0;
2929
2891
  };
2930
- var Gt = function(e) {
2892
+ var Kt = function(e) {
2931
2893
  this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new Se(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
2932
- }, Z = L.prototype;
2933
- Z.next = function(e) {
2934
- !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Gt(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2935
- }, Z.getToken = function() {
2936
- return this.next(), new Gt(this);
2937
- }, typeof Symbol < "u" && (Z[Symbol.iterator] = function() {
2894
+ }, Y = F.prototype;
2895
+ Y.next = function(e) {
2896
+ !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Kt(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2897
+ }, Y.getToken = function() {
2898
+ return this.next(), new Kt(this);
2899
+ }, typeof Symbol < "u" && (Y[Symbol.iterator] = function() {
2938
2900
  var e = this;
2939
2901
  return { next: function() {
2940
2902
  var t = e.getToken();
@@ -2943,28 +2905,28 @@ Z.next = function(e) {
2943
2905
  value: t
2944
2906
  };
2945
2907
  } };
2946
- }), Z.nextToken = function() {
2908
+ }), Y.nextToken = function() {
2947
2909
  var e = this.curContext();
2948
2910
  if ((!e || !e.preserveSpace) && this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length) return this.finishToken(w.eof);
2949
2911
  if (e.override) return e.override(this);
2950
2912
  this.readToken(this.fullCharCodeAtPos());
2951
- }, Z.readToken = function(e) {
2913
+ }, Y.readToken = function(e) {
2952
2914
  return _(e, this.options.ecmaVersion >= 6) || e === 92 ? this.readWord() : this.getTokenFromCode(e);
2953
- }, Z.fullCharCodeAt = function(e) {
2915
+ }, Y.fullCharCodeAt = function(e) {
2954
2916
  var t = this.input.charCodeAt(e);
2955
2917
  if (t <= 55295 || t >= 56320) return t;
2956
2918
  var n = this.input.charCodeAt(e + 1);
2957
2919
  return n <= 56319 || n >= 57344 ? t : (t << 10) + n - 56613888;
2958
- }, Z.fullCharCodeAtPos = function() {
2920
+ }, Y.fullCharCodeAtPos = function() {
2959
2921
  return this.fullCharCodeAt(this.pos);
2960
- }, Z.skipBlockComment = function() {
2922
+ }, Y.skipBlockComment = function() {
2961
2923
  var e = this.options.onComment && this.curPosition(), t = this.pos, n = this.input.indexOf("*/", this.pos += 2);
2962
- 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 = me(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
2924
+ 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 = pe(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
2963
2925
  this.options.onComment && this.options.onComment(!0, this.input.slice(t + 2, n), t, this.pos, e, this.curPosition());
2964
- }, Z.skipLineComment = function(e) {
2926
+ }, Y.skipLineComment = function(e) {
2965
2927
  for (var t = this.pos, n = this.options.onComment && this.curPosition(), r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !E(r);) r = this.input.charCodeAt(++this.pos);
2966
2928
  this.options.onComment && this.options.onComment(!1, this.input.slice(t + e, this.pos), t, this.pos, n, this.curPosition());
2967
- }, Z.skipSpace = function() {
2929
+ }, Y.skipSpace = function() {
2968
2930
  loop: for (; this.pos < this.input.length;) {
2969
2931
  var e = this.input.charCodeAt(this.pos);
2970
2932
  switch (e) {
@@ -2989,40 +2951,40 @@ Z.next = function(e) {
2989
2951
  default: break loop;
2990
2952
  }
2991
2953
  break;
2992
- default: if (e > 8 && e < 14 || e >= 5760 && he.test(String.fromCharCode(e))) ++this.pos;
2954
+ default: if (e > 8 && e < 14 || e >= 5760 && me.test(String.fromCharCode(e))) ++this.pos;
2993
2955
  else break loop;
2994
2956
  }
2995
2957
  }
2996
- }, Z.finishToken = function(e, t) {
2958
+ }, Y.finishToken = function(e, t) {
2997
2959
  this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
2998
2960
  var n = this.type;
2999
2961
  this.type = e, this.value = t, this.updateContext(n);
3000
- }, Z.readToken_dot = function() {
2962
+ }, Y.readToken_dot = function() {
3001
2963
  var e = this.input.charCodeAt(this.pos + 1);
3002
2964
  if (e >= 48 && e <= 57) return this.readNumber(!0);
3003
2965
  var t = this.input.charCodeAt(this.pos + 2);
3004
2966
  return this.options.ecmaVersion >= 6 && e === 46 && t === 46 ? (this.pos += 3, this.finishToken(w.ellipsis)) : (++this.pos, this.finishToken(w.dot));
3005
- }, Z.readToken_slash = function() {
2967
+ }, Y.readToken_slash = function() {
3006
2968
  var e = this.input.charCodeAt(this.pos + 1);
3007
2969
  return this.exprAllowed ? (++this.pos, this.readRegexp()) : e === 61 ? this.finishOp(w.assign, 2) : this.finishOp(w.slash, 1);
3008
- }, Z.readToken_mult_modulo_exp = function(e) {
2970
+ }, Y.readToken_mult_modulo_exp = function(e) {
3009
2971
  var t = this.input.charCodeAt(this.pos + 1), n = 1, r = e === 42 ? w.star : w.modulo;
3010
2972
  return this.options.ecmaVersion >= 7 && e === 42 && t === 42 && (++n, r = w.starstar, t = this.input.charCodeAt(this.pos + 2)), t === 61 ? this.finishOp(w.assign, n + 1) : this.finishOp(r, n);
3011
- }, Z.readToken_pipe_amp = function(e) {
2973
+ }, Y.readToken_pipe_amp = function(e) {
3012
2974
  var t = this.input.charCodeAt(this.pos + 1);
3013
2975
  return t === e ? this.options.ecmaVersion >= 12 && this.input.charCodeAt(this.pos + 2) === 61 ? this.finishOp(w.assign, 3) : this.finishOp(e === 124 ? w.logicalOR : w.logicalAND, 2) : t === 61 ? this.finishOp(w.assign, 2) : this.finishOp(e === 124 ? w.bitwiseOR : w.bitwiseAND, 1);
3014
- }, Z.readToken_caret = function() {
2976
+ }, Y.readToken_caret = function() {
3015
2977
  return this.input.charCodeAt(this.pos + 1) === 61 ? this.finishOp(w.assign, 2) : this.finishOp(w.bitwiseXOR, 1);
3016
- }, Z.readToken_plus_min = function(e) {
2978
+ }, Y.readToken_plus_min = function(e) {
3017
2979
  var t = this.input.charCodeAt(this.pos + 1);
3018
2980
  return t === e ? t === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || T.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(w.incDec, 2) : t === 61 ? this.finishOp(w.assign, 2) : this.finishOp(w.plusMin, 1);
3019
- }, Z.readToken_lt_gt = function(e) {
2981
+ }, Y.readToken_lt_gt = function(e) {
3020
2982
  var t = this.input.charCodeAt(this.pos + 1), n = 1;
3021
2983
  return t === e ? (n = e === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2, this.input.charCodeAt(this.pos + n) === 61 ? this.finishOp(w.assign, n + 1) : this.finishOp(w.bitShift, n)) : t === 33 && e === 60 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 45 && this.input.charCodeAt(this.pos + 3) === 45 ? (this.skipLineComment(4), this.skipSpace(), this.nextToken()) : (t === 61 && (n = 2), this.finishOp(w.relational, n));
3022
- }, Z.readToken_eq_excl = function(e) {
2984
+ }, Y.readToken_eq_excl = function(e) {
3023
2985
  var t = this.input.charCodeAt(this.pos + 1);
3024
2986
  return t === 61 ? this.finishOp(w.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2) : e === 61 && t === 62 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(w.arrow)) : this.finishOp(e === 61 ? w.eq : w.prefix, 1);
3025
- }, Z.readToken_question = function() {
2987
+ }, Y.readToken_question = function() {
3026
2988
  var e = this.options.ecmaVersion;
3027
2989
  if (e >= 11) {
3028
2990
  var t = this.input.charCodeAt(this.pos + 1);
@@ -3033,11 +2995,11 @@ Z.next = function(e) {
3033
2995
  if (t === 63) return e >= 12 && this.input.charCodeAt(this.pos + 2) === 61 ? this.finishOp(w.assign, 3) : this.finishOp(w.coalesce, 2);
3034
2996
  }
3035
2997
  return this.finishOp(w.question, 1);
3036
- }, Z.readToken_numberSign = function() {
2998
+ }, Y.readToken_numberSign = function() {
3037
2999
  var e = this.options.ecmaVersion, t = 35;
3038
3000
  if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), _(t, !0) || t === 92)) return this.finishToken(w.privateId, this.readWord1());
3039
3001
  this.raise(this.pos, "Unexpected character '" + A(t) + "'");
3040
- }, Z.getTokenFromCode = function(e) {
3002
+ }, Y.getTokenFromCode = function(e) {
3041
3003
  switch (e) {
3042
3004
  case 46: return this.readToken_dot();
3043
3005
  case 40: return ++this.pos, this.finishToken(w.parenL);
@@ -3087,10 +3049,10 @@ Z.next = function(e) {
3087
3049
  case 35: return this.readToken_numberSign();
3088
3050
  }
3089
3051
  this.raise(this.pos, "Unexpected character '" + A(e) + "'");
3090
- }, Z.finishOp = function(e, t) {
3052
+ }, Y.finishOp = function(e, t) {
3091
3053
  var n = this.input.slice(this.pos, this.pos + t);
3092
3054
  return this.pos += t, this.finishToken(e, n);
3093
- }, Z.readRegexp = function() {
3055
+ }, Y.readRegexp = function() {
3094
3056
  for (var e, t, n = this.pos;;) {
3095
3057
  this.pos >= this.input.length && this.raise(n, "Unterminated regular expression");
3096
3058
  var r = this.input.charAt(this.pos);
@@ -3107,7 +3069,7 @@ Z.next = function(e) {
3107
3069
  ++this.pos;
3108
3070
  var a = this.pos, o = this.readWord1();
3109
3071
  this.containsEsc && this.unexpected(a);
3110
- var s = this.regexpState ||= new J(this);
3072
+ var s = this.regexpState ||= new K(this);
3111
3073
  s.reset(n, i, o), this.validateRegExpFlags(s), this.validateRegExpPattern(s);
3112
3074
  var c = null;
3113
3075
  try {
@@ -3118,7 +3080,7 @@ Z.next = function(e) {
3118
3080
  flags: o,
3119
3081
  value: c
3120
3082
  });
3121
- }, Z.readInt = function(e, t, n) {
3083
+ }, Y.readInt = function(e, t, n) {
3122
3084
  for (var r = this.options.ecmaVersion >= 12 && t === void 0, i = n && this.input.charCodeAt(this.pos) === 48, a = this.pos, o = 0, s = 0, c = 0, l = t ?? Infinity; c < l; ++c, ++this.pos) {
3123
3085
  var u = this.input.charCodeAt(this.pos), d = void 0;
3124
3086
  if (r && u === 95) {
@@ -3130,31 +3092,31 @@ Z.next = function(e) {
3130
3092
  }
3131
3093
  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;
3132
3094
  };
3133
- function Kt(e, t) {
3095
+ function qt(e, t) {
3134
3096
  return t ? parseInt(e, 8) : parseFloat(e.replace(/_/g, ""));
3135
3097
  }
3136
- function qt(e) {
3098
+ function Jt(e) {
3137
3099
  return typeof BigInt == "function" ? BigInt(e.replace(/_/g, "")) : null;
3138
3100
  }
3139
- Z.readRadixNumber = function(e) {
3101
+ Y.readRadixNumber = function(e) {
3140
3102
  var t = this.pos;
3141
3103
  this.pos += 2;
3142
3104
  var n = this.readInt(e);
3143
- 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) : _(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(w.num, n);
3144
- }, Z.readNumber = function(e) {
3105
+ return n ?? this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (n = Jt(this.input.slice(t, this.pos)), ++this.pos) : _(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(w.num, n);
3106
+ }, Y.readNumber = function(e) {
3145
3107
  var t = this.pos;
3146
3108
  !e && this.readInt(10, void 0, !0) === null && this.raise(t, "Invalid number");
3147
3109
  var n = this.pos - t >= 2 && this.input.charCodeAt(t) === 48;
3148
3110
  n && this.strict && this.raise(t, "Invalid number");
3149
3111
  var r = this.input.charCodeAt(this.pos);
3150
3112
  if (!n && !e && this.options.ecmaVersion >= 11 && r === 110) {
3151
- var i = qt(this.input.slice(t, this.pos));
3113
+ var i = Jt(this.input.slice(t, this.pos));
3152
3114
  return ++this.pos, _(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(w.num, i);
3153
3115
  }
3154
3116
  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")), _(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
3155
- var a = Kt(this.input.slice(t, this.pos), n);
3117
+ var a = qt(this.input.slice(t, this.pos), n);
3156
3118
  return this.finishToken(w.num, a);
3157
- }, Z.readCodePoint = function() {
3119
+ }, Y.readCodePoint = function() {
3158
3120
  var e = this.input.charCodeAt(this.pos), t;
3159
3121
  if (e === 123) {
3160
3122
  this.options.ecmaVersion < 6 && this.unexpected();
@@ -3162,7 +3124,7 @@ Z.readRadixNumber = function(e) {
3162
3124
  t = this.readHexChar(this.input.indexOf("}", this.pos) - this.pos), ++this.pos, t > 1114111 && this.invalidStringToken(n, "Code point out of bounds");
3163
3125
  } else t = this.readHexChar(4);
3164
3126
  return t;
3165
- }, Z.readString = function(e) {
3127
+ }, Y.readString = function(e) {
3166
3128
  for (var t = "", n = ++this.pos;;) {
3167
3129
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
3168
3130
  var r = this.input.charCodeAt(this.pos);
@@ -3171,20 +3133,20 @@ Z.readRadixNumber = function(e) {
3171
3133
  }
3172
3134
  return t += this.input.slice(n, this.pos++), this.finishToken(w.string, t);
3173
3135
  };
3174
- var Jt = {};
3175
- Z.tryReadTemplateToken = function() {
3136
+ var Yt = {};
3137
+ Y.tryReadTemplateToken = function() {
3176
3138
  this.inTemplateElement = !0;
3177
3139
  try {
3178
3140
  this.readTmplToken();
3179
3141
  } catch (e) {
3180
- if (e === Jt) this.readInvalidTemplateToken();
3142
+ if (e === Yt) this.readInvalidTemplateToken();
3181
3143
  else throw e;
3182
3144
  }
3183
3145
  this.inTemplateElement = !1;
3184
- }, Z.invalidStringToken = function(e, t) {
3185
- if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw Jt;
3146
+ }, Y.invalidStringToken = function(e, t) {
3147
+ if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw Yt;
3186
3148
  this.raise(e, t);
3187
- }, Z.readTmplToken = function() {
3149
+ }, Y.readTmplToken = function() {
3188
3150
  for (var e = "", t = this.pos;;) {
3189
3151
  this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
3190
3152
  var n = this.input.charCodeAt(this.pos);
@@ -3203,7 +3165,7 @@ Z.tryReadTemplateToken = function() {
3203
3165
  this.options.locations && (++this.curLine, this.lineStart = this.pos), t = this.pos;
3204
3166
  } else ++this.pos;
3205
3167
  }
3206
- }, Z.readInvalidTemplateToken = function() {
3168
+ }, Y.readInvalidTemplateToken = function() {
3207
3169
  for (; this.pos < this.input.length; this.pos++) switch (this.input[this.pos]) {
3208
3170
  case "\\":
3209
3171
  ++this.pos;
@@ -3218,7 +3180,7 @@ Z.tryReadTemplateToken = function() {
3218
3180
  break;
3219
3181
  }
3220
3182
  this.raise(this.start, "Unterminated template");
3221
- }, Z.readEscapedChar = function(e) {
3183
+ }, Y.readEscapedChar = function(e) {
3222
3184
  var t = this.input.charCodeAt(++this.pos);
3223
3185
  switch (++this.pos, t) {
3224
3186
  case 110: return "\n";
@@ -3243,10 +3205,10 @@ Z.tryReadTemplateToken = function() {
3243
3205
  }
3244
3206
  return E(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
3245
3207
  }
3246
- }, Z.readHexChar = function(e) {
3208
+ }, Y.readHexChar = function(e) {
3247
3209
  var t = this.pos, n = this.readInt(16, e);
3248
3210
  return n === null && this.invalidStringToken(t, "Bad character escape sequence"), n;
3249
- }, Z.readWord1 = function() {
3211
+ }, Y.readWord1 = function() {
3250
3212
  this.containsEsc = !1;
3251
3213
  for (var e = "", t = !0, n = this.pos, r = this.options.ecmaVersion >= 6; this.pos < this.input.length;) {
3252
3214
  var i = this.fullCharCodeAtPos();
@@ -3261,122 +3223,124 @@ Z.tryReadTemplateToken = function() {
3261
3223
  t = !1;
3262
3224
  }
3263
3225
  return e + this.input.slice(n, this.pos);
3264
- }, Z.readWord = function() {
3226
+ }, Y.readWord = function() {
3265
3227
  var e = this.readWord1(), t = w.name;
3266
- return this.keywords.test(e) && (t = fe[e]), this.finishToken(t, e);
3267
- }, L.acorn = {
3268
- Parser: L,
3228
+ return this.keywords.test(e) && (t = de[e]), this.finishToken(t, e);
3229
+ }, F.acorn = {
3230
+ Parser: F,
3269
3231
  version: "8.17.0",
3270
3232
  defaultOptions: we,
3271
- Position: j,
3233
+ Position: xe,
3272
3234
  SourceLocation: Se,
3273
3235
  getLineInfo: Ce,
3274
- Node: rt,
3236
+ Node: it,
3275
3237
  TokenType: y,
3276
3238
  tokTypes: w,
3277
- keywordTypes: fe,
3278
- TokContext: H,
3279
- tokContexts: U,
3239
+ keywordTypes: de,
3240
+ TokContext: B,
3241
+ tokContexts: V,
3280
3242
  isIdentifierChar: v,
3281
3243
  isIdentifierStart: _,
3282
- Token: Gt,
3244
+ Token: Kt,
3283
3245
  isNewLine: E,
3284
3246
  lineBreak: T,
3285
- lineBreakG: pe,
3286
- nonASCIIwhitespace: he
3247
+ lineBreakG: fe,
3248
+ nonASCIIwhitespace: me
3287
3249
  };
3288
- function Yt(e, t, n) {
3250
+ //#endregion
3251
+ //#region ../../node_modules/.pnpm/acorn-walk@8.3.5/node_modules/acorn-walk/dist/walk.mjs
3252
+ function Xt(e, t, n) {
3289
3253
  n(e, t);
3290
3254
  }
3291
- function Q(e, t, n) {}
3292
- var $ = {};
3293
- $.Program = $.BlockStatement = $.StaticBlock = function(e, t, n) {
3255
+ function X(e, t, n) {}
3256
+ var Z = {};
3257
+ Z.Program = Z.BlockStatement = Z.StaticBlock = function(e, t, n) {
3294
3258
  for (var r = 0, i = e.body; r < i.length; r += 1) {
3295
3259
  var a = i[r];
3296
3260
  n(a, t, "Statement");
3297
3261
  }
3298
- }, $.Statement = Yt, $.EmptyStatement = Q, $.ExpressionStatement = $.ParenthesizedExpression = $.ChainExpression = function(e, t, n) {
3262
+ }, Z.Statement = Xt, Z.EmptyStatement = X, Z.ExpressionStatement = Z.ParenthesizedExpression = Z.ChainExpression = function(e, t, n) {
3299
3263
  return n(e.expression, t, "Expression");
3300
- }, $.IfStatement = function(e, t, n) {
3264
+ }, Z.IfStatement = function(e, t, n) {
3301
3265
  n(e.test, t, "Expression"), n(e.consequent, t, "Statement"), e.alternate && n(e.alternate, t, "Statement");
3302
- }, $.LabeledStatement = function(e, t, n) {
3266
+ }, Z.LabeledStatement = function(e, t, n) {
3303
3267
  return n(e.body, t, "Statement");
3304
- }, $.BreakStatement = $.ContinueStatement = Q, $.WithStatement = function(e, t, n) {
3268
+ }, Z.BreakStatement = Z.ContinueStatement = X, Z.WithStatement = function(e, t, n) {
3305
3269
  n(e.object, t, "Expression"), n(e.body, t, "Statement");
3306
- }, $.SwitchStatement = function(e, t, n) {
3270
+ }, Z.SwitchStatement = function(e, t, n) {
3307
3271
  n(e.discriminant, t, "Expression");
3308
3272
  for (var r = 0, i = e.cases; r < i.length; r += 1) {
3309
3273
  var a = i[r];
3310
3274
  n(a, t);
3311
3275
  }
3312
- }, $.SwitchCase = function(e, t, n) {
3276
+ }, Z.SwitchCase = function(e, t, n) {
3313
3277
  e.test && n(e.test, t, "Expression");
3314
3278
  for (var r = 0, i = e.consequent; r < i.length; r += 1) {
3315
3279
  var a = i[r];
3316
3280
  n(a, t, "Statement");
3317
3281
  }
3318
- }, $.ReturnStatement = $.YieldExpression = $.AwaitExpression = function(e, t, n) {
3282
+ }, Z.ReturnStatement = Z.YieldExpression = Z.AwaitExpression = function(e, t, n) {
3319
3283
  e.argument && n(e.argument, t, "Expression");
3320
- }, $.ThrowStatement = $.SpreadElement = function(e, t, n) {
3284
+ }, Z.ThrowStatement = Z.SpreadElement = function(e, t, n) {
3321
3285
  return n(e.argument, t, "Expression");
3322
- }, $.TryStatement = function(e, t, n) {
3286
+ }, Z.TryStatement = function(e, t, n) {
3323
3287
  n(e.block, t, "Statement"), e.handler && n(e.handler, t), e.finalizer && n(e.finalizer, t, "Statement");
3324
- }, $.CatchClause = function(e, t, n) {
3288
+ }, Z.CatchClause = function(e, t, n) {
3325
3289
  e.param && n(e.param, t, "Pattern"), n(e.body, t, "Statement");
3326
- }, $.WhileStatement = $.DoWhileStatement = function(e, t, n) {
3290
+ }, Z.WhileStatement = Z.DoWhileStatement = function(e, t, n) {
3327
3291
  n(e.test, t, "Expression"), n(e.body, t, "Statement");
3328
- }, $.ForStatement = function(e, t, n) {
3292
+ }, Z.ForStatement = function(e, t, n) {
3329
3293
  e.init && n(e.init, t, "ForInit"), e.test && n(e.test, t, "Expression"), e.update && n(e.update, t, "Expression"), n(e.body, t, "Statement");
3330
- }, $.ForInStatement = $.ForOfStatement = function(e, t, n) {
3294
+ }, Z.ForInStatement = Z.ForOfStatement = function(e, t, n) {
3331
3295
  n(e.left, t, "ForInit"), n(e.right, t, "Expression"), n(e.body, t, "Statement");
3332
- }, $.ForInit = function(e, t, n) {
3296
+ }, Z.ForInit = function(e, t, n) {
3333
3297
  e.type === "VariableDeclaration" ? n(e, t) : n(e, t, "Expression");
3334
- }, $.DebuggerStatement = Q, $.FunctionDeclaration = function(e, t, n) {
3298
+ }, Z.DebuggerStatement = X, Z.FunctionDeclaration = function(e, t, n) {
3335
3299
  return n(e, t, "Function");
3336
- }, $.VariableDeclaration = function(e, t, n) {
3300
+ }, Z.VariableDeclaration = function(e, t, n) {
3337
3301
  for (var r = 0, i = e.declarations; r < i.length; r += 1) {
3338
3302
  var a = i[r];
3339
3303
  n(a, t);
3340
3304
  }
3341
- }, $.VariableDeclarator = function(e, t, n) {
3305
+ }, Z.VariableDeclarator = function(e, t, n) {
3342
3306
  n(e.id, t, "Pattern"), e.init && n(e.init, t, "Expression");
3343
- }, $.Function = function(e, t, n) {
3307
+ }, Z.Function = function(e, t, n) {
3344
3308
  e.id && n(e.id, t, "Pattern");
3345
3309
  for (var r = 0, i = e.params; r < i.length; r += 1) {
3346
3310
  var a = i[r];
3347
3311
  n(a, t, "Pattern");
3348
3312
  }
3349
3313
  n(e.body, t, e.expression ? "Expression" : "Statement");
3350
- }, $.Pattern = function(e, t, n) {
3314
+ }, Z.Pattern = function(e, t, n) {
3351
3315
  e.type === "Identifier" ? n(e, t, "VariablePattern") : e.type === "MemberExpression" ? n(e, t, "MemberPattern") : n(e, t);
3352
- }, $.VariablePattern = Q, $.MemberPattern = Yt, $.RestElement = function(e, t, n) {
3316
+ }, Z.VariablePattern = X, Z.MemberPattern = Xt, Z.RestElement = function(e, t, n) {
3353
3317
  return n(e.argument, t, "Pattern");
3354
- }, $.ArrayPattern = function(e, t, n) {
3318
+ }, Z.ArrayPattern = function(e, t, n) {
3355
3319
  for (var r = 0, i = e.elements; r < i.length; r += 1) {
3356
3320
  var a = i[r];
3357
3321
  a && n(a, t, "Pattern");
3358
3322
  }
3359
- }, $.ObjectPattern = function(e, t, n) {
3323
+ }, Z.ObjectPattern = function(e, t, n) {
3360
3324
  for (var r = 0, i = e.properties; r < i.length; r += 1) {
3361
3325
  var a = i[r];
3362
3326
  a.type === "Property" ? (a.computed && n(a.key, t, "Expression"), n(a.value, t, "Pattern")) : a.type === "RestElement" && n(a.argument, t, "Pattern");
3363
3327
  }
3364
- }, $.Expression = Yt, $.ThisExpression = $.Super = $.MetaProperty = Q, $.ArrayExpression = function(e, t, n) {
3328
+ }, Z.Expression = Xt, Z.ThisExpression = Z.Super = Z.MetaProperty = X, Z.ArrayExpression = function(e, t, n) {
3365
3329
  for (var r = 0, i = e.elements; r < i.length; r += 1) {
3366
3330
  var a = i[r];
3367
3331
  a && n(a, t, "Expression");
3368
3332
  }
3369
- }, $.ObjectExpression = function(e, t, n) {
3333
+ }, Z.ObjectExpression = function(e, t, n) {
3370
3334
  for (var r = 0, i = e.properties; r < i.length; r += 1) {
3371
3335
  var a = i[r];
3372
3336
  n(a, t);
3373
3337
  }
3374
- }, $.FunctionExpression = $.ArrowFunctionExpression = $.FunctionDeclaration, $.SequenceExpression = function(e, t, n) {
3338
+ }, Z.FunctionExpression = Z.ArrowFunctionExpression = Z.FunctionDeclaration, Z.SequenceExpression = function(e, t, n) {
3375
3339
  for (var r = 0, i = e.expressions; r < i.length; r += 1) {
3376
3340
  var a = i[r];
3377
3341
  n(a, t, "Expression");
3378
3342
  }
3379
- }, $.TemplateLiteral = function(e, t, n) {
3343
+ }, Z.TemplateLiteral = function(e, t, n) {
3380
3344
  for (var r = 0, i = e.quasis; r < i.length; r += 1) {
3381
3345
  var a = i[r];
3382
3346
  n(a, t);
@@ -3385,34 +3349,34 @@ $.Program = $.BlockStatement = $.StaticBlock = function(e, t, n) {
3385
3349
  var c = s[o];
3386
3350
  n(c, t, "Expression");
3387
3351
  }
3388
- }, $.TemplateElement = Q, $.UnaryExpression = $.UpdateExpression = function(e, t, n) {
3352
+ }, Z.TemplateElement = X, Z.UnaryExpression = Z.UpdateExpression = function(e, t, n) {
3389
3353
  n(e.argument, t, "Expression");
3390
- }, $.BinaryExpression = $.LogicalExpression = function(e, t, n) {
3354
+ }, Z.BinaryExpression = Z.LogicalExpression = function(e, t, n) {
3391
3355
  n(e.left, t, "Expression"), n(e.right, t, "Expression");
3392
- }, $.AssignmentExpression = $.AssignmentPattern = function(e, t, n) {
3356
+ }, Z.AssignmentExpression = Z.AssignmentPattern = function(e, t, n) {
3393
3357
  n(e.left, t, "Pattern"), n(e.right, t, "Expression");
3394
- }, $.ConditionalExpression = function(e, t, n) {
3358
+ }, Z.ConditionalExpression = function(e, t, n) {
3395
3359
  n(e.test, t, "Expression"), n(e.consequent, t, "Expression"), n(e.alternate, t, "Expression");
3396
- }, $.NewExpression = $.CallExpression = function(e, t, n) {
3360
+ }, Z.NewExpression = Z.CallExpression = function(e, t, n) {
3397
3361
  if (n(e.callee, t, "Expression"), e.arguments) for (var r = 0, i = e.arguments; r < i.length; r += 1) {
3398
3362
  var a = i[r];
3399
3363
  n(a, t, "Expression");
3400
3364
  }
3401
- }, $.MemberExpression = function(e, t, n) {
3365
+ }, Z.MemberExpression = function(e, t, n) {
3402
3366
  n(e.object, t, "Expression"), e.computed && n(e.property, t, "Expression");
3403
- }, $.ExportNamedDeclaration = $.ExportDefaultDeclaration = function(e, t, n) {
3367
+ }, Z.ExportNamedDeclaration = Z.ExportDefaultDeclaration = function(e, t, n) {
3404
3368
  if (e.declaration && n(e.declaration, t, e.type === "ExportNamedDeclaration" || e.declaration.id ? "Statement" : "Expression"), e.source && n(e.source, t, "Expression"), e.attributes) for (var r = 0, i = e.attributes; r < i.length; r += 1) {
3405
3369
  var a = i[r];
3406
3370
  n(a, t);
3407
3371
  }
3408
- }, $.ExportAllDeclaration = function(e, t, n) {
3372
+ }, Z.ExportAllDeclaration = function(e, t, n) {
3409
3373
  if (e.exported && n(e.exported, t), n(e.source, t, "Expression"), e.attributes) for (var r = 0, i = e.attributes; r < i.length; r += 1) {
3410
3374
  var a = i[r];
3411
3375
  n(a, t);
3412
3376
  }
3413
- }, $.ImportAttribute = function(e, t, n) {
3377
+ }, Z.ImportAttribute = function(e, t, n) {
3414
3378
  n(e.value, t, "Expression");
3415
- }, $.ImportDeclaration = function(e, t, n) {
3379
+ }, Z.ImportDeclaration = function(e, t, n) {
3416
3380
  for (var r = 0, i = e.specifiers; r < i.length; r += 1) {
3417
3381
  var a = i[r];
3418
3382
  n(a, t);
@@ -3421,28 +3385,48 @@ $.Program = $.BlockStatement = $.StaticBlock = function(e, t, n) {
3421
3385
  var c = s[o];
3422
3386
  n(c, t);
3423
3387
  }
3424
- }, $.ImportExpression = function(e, t, n) {
3388
+ }, Z.ImportExpression = function(e, t, n) {
3425
3389
  n(e.source, t, "Expression"), e.options && n(e.options, t, "Expression");
3426
- }, $.ImportSpecifier = $.ImportDefaultSpecifier = $.ImportNamespaceSpecifier = $.Identifier = $.PrivateIdentifier = $.Literal = Q, $.TaggedTemplateExpression = function(e, t, n) {
3390
+ }, Z.ImportSpecifier = Z.ImportDefaultSpecifier = Z.ImportNamespaceSpecifier = Z.Identifier = Z.PrivateIdentifier = Z.Literal = X, Z.TaggedTemplateExpression = function(e, t, n) {
3427
3391
  n(e.tag, t, "Expression"), n(e.quasi, t, "Expression");
3428
- }, $.ClassDeclaration = $.ClassExpression = function(e, t, n) {
3392
+ }, Z.ClassDeclaration = Z.ClassExpression = function(e, t, n) {
3429
3393
  return n(e, t, "Class");
3430
- }, $.Class = function(e, t, n) {
3394
+ }, Z.Class = function(e, t, n) {
3431
3395
  e.id && n(e.id, t, "Pattern"), e.superClass && n(e.superClass, t, "Expression"), n(e.body, t);
3432
- }, $.ClassBody = function(e, t, n) {
3396
+ }, Z.ClassBody = function(e, t, n) {
3433
3397
  for (var r = 0, i = e.body; r < i.length; r += 1) {
3434
3398
  var a = i[r];
3435
3399
  n(a, t);
3436
3400
  }
3437
- }, $.MethodDefinition = $.PropertyDefinition = $.Property = function(e, t, n) {
3401
+ }, Z.MethodDefinition = Z.PropertyDefinition = Z.Property = function(e, t, n) {
3438
3402
  e.computed && n(e.key, t, "Expression"), e.value && n(e.value, t, "Expression");
3439
3403
  };
3440
3404
  //#endregion
3405
+ //#region ../compiler/dist/index-es.js
3406
+ var Q = {
3407
+ Data: "Data",
3408
+ TagOpen: "TagOpen",
3409
+ EndTagOpen: "EndTagOpen",
3410
+ BeforeAttributeName: "BeforeAttributeName",
3411
+ AttributeName: "AttributeName",
3412
+ AfterAttributeName: "AfterAttributeName",
3413
+ BeforeAttributeValue: "BeforeAttributeValue",
3414
+ AttributeValueQuoted: "AttributeValueQuoted",
3415
+ AttributeValueInterpolation: "AttributeValueInterpolation",
3416
+ Comment: "Comment",
3417
+ Interpolation: "Interpolation",
3418
+ RawText: "RawText",
3419
+ EOF: "EOF"
3420
+ }, $ = /* @__PURE__ */ function(e) {
3421
+ return e[e.RETURN = 0] = "RETURN", e[e.CREATE_ELEMENT = 1] = "CREATE_ELEMENT", e[e.CREATE_TEXT = 2] = "CREATE_TEXT", e[e.CREATE_COMMENT = 3] = "CREATE_COMMENT", e[e.APPEND_CHILD = 4] = "APPEND_CHILD", e[e.SET_ATTR = 5] = "SET_ATTR", e[e.CREATE_FRAGMENT = 6] = "CREATE_FRAGMENT", e[e.INTERPOLATE_TEXT = 7] = "INTERPOLATE_TEXT", e[e.EXEC_SCRIPT = 12] = "EXEC_SCRIPT", e[e.REACTIVE_IF = 13] = "REACTIVE_IF", e[e.REACTIVE_FOR = 14] = "REACTIVE_FOR", e[e.MOUNT_COMPONENT = 15] = "MOUNT_COMPONENT", e;
3422
+ }({});
3423
+ Q.Data, Q.Comment, Q.EndTagOpen, Q.TagOpen, Q.Interpolation, Q.Data, Q.EOF, Q.TagOpen, Q.BeforeAttributeName, Q.EndTagOpen, Q.BeforeAttributeName, Q.BeforeAttributeName, Q.AttributeName, Q.Data, Q.RawText, Q.Data, Q.AttributeName, Q.AfterAttributeName, Q.AfterAttributeName, Q.BeforeAttributeValue, Q.BeforeAttributeName, Q.BeforeAttributeValue, Q.AttributeValueQuoted, Q.AttributeValueInterpolation, Q.AttributeValueQuoted, Q.BeforeAttributeName, Q.AttributeValueInterpolation, Q.BeforeAttributeName, Q.Comment, Q.Data, Q.Interpolation, Q.Data, Q.BeforeAttributeName, Q.RawText, Q.RawText, Q.EndTagOpen, Q.EOF, Q.EOF, Q.EOF;
3424
+ //#endregion
3441
3425
  //#region src/index.ts
3442
- function Xt(e) {
3426
+ function Zt(e) {
3443
3427
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
3444
3428
  }
3445
- var Zt = /^[a-zA-Z_:][a-zA-Z0-9_.:-]*$/, Qt = /^[a-zA-Z_:][a-zA-Z0-9_.:-]*$/, $t = class e {
3429
+ var Qt = /^[a-zA-Z_:][a-zA-Z0-9_.:-]*$/, $t = /^[a-zA-Z_:][a-zA-Z0-9_.:-]*$/, en = class e {
3446
3430
  static MAX_REGISTERS = 256;
3447
3431
  registers = Array(e.MAX_REGISTERS);
3448
3432
  scope = {};
@@ -3458,43 +3442,42 @@ var Zt = /^[a-zA-Z_:][a-zA-Z0-9_.:-]*$/, Qt = /^[a-zA-Z_:][a-zA-Z0-9_.:-]*$/, $t
3458
3442
  getRegister(e) {
3459
3443
  return this.checkRegister(e), this.registers[e];
3460
3444
  }
3461
- execute(t, i = {}) {
3462
- let a = f(t) || t, l = i.scope || null;
3463
- if (this.scope = Object.assign(Object.create(l), a.scope), a.derived && a.derived.length > 0) for (let e of a.derived) {
3445
+ execute(t, n = {}) {
3446
+ let a = h(t) || t, o = n.scope || null;
3447
+ if (this.scope = Object.assign(Object.create(o), a.scope), a.derived && a.derived.length > 0) for (let e of a.derived) {
3464
3448
  let t = a.constants[e.exprIdx];
3465
3449
  Object.defineProperty(this.scope, e.name, {
3466
- get: () => n(t, this.scope, this.declaredVars),
3450
+ get: () => r(t, this.scope, this.declaredVars),
3467
3451
  enumerable: !0,
3468
3452
  configurable: !0
3469
3453
  });
3470
3454
  }
3471
3455
  this.declaredVars = new Set(a.declaredVars ?? []), this.registers.fill(null);
3472
- let u = a.bytecode, p = a.constants, h = 0;
3473
- d(this);
3456
+ let c = a.bytecode, l = a.constants, f = 0;
3457
+ m(this);
3474
3458
  try {
3475
- for (; h < u.length;) {
3476
- let t = u[h];
3459
+ for (; f < c.length;) {
3460
+ let t = c[f];
3477
3461
  switch (t) {
3478
- case m.RETURN: {
3479
- let e = u[h + 1];
3480
- return this.getRegister(e);
3481
- }
3482
- case m.CREATE_ELEMENT: {
3483
- let e = u[h + 1], t = u[h + 2], n = String(p[t]);
3462
+ case $.RETURN:
3463
+ f += 1;
3464
+ break;
3465
+ case $.CREATE_ELEMENT: {
3466
+ let e = c[f + 1], t = c[f + 2], n = String(l[t]);
3484
3467
  this.setRegister(e, {
3485
3468
  type: "element",
3486
3469
  tag: n,
3487
3470
  attrs: /* @__PURE__ */ new Map(),
3488
3471
  children: []
3489
- }), h += 3;
3472
+ }), f += 3;
3490
3473
  break;
3491
3474
  }
3492
- case m.MOUNT_COMPONENT: {
3493
- let t = u[h + 1], n = u[h + 2], i = u[h + 3], a = String(p[n]), o = f(this.scope && a in this.scope ? this.scope[a] : typeof globalThis < "u" && globalThis[a]);
3475
+ case $.MOUNT_COMPONENT: {
3476
+ let t = c[f + 1], n = c[f + 2], r = c[f + 3], a = String(l[n]), o = h(this.scope && a in this.scope ? this.scope[a] : typeof globalThis < "u" && globalThis[a]);
3494
3477
  if (o) {
3495
- let n = i === 255 ? null : p[i], a = r(n, this.scope, this.declaredVars), s;
3478
+ let n = r === 255 ? null : l[r], a = i(n, this.scope, this.declaredVars), s;
3496
3479
  if (n && n.__drift_children__ !== void 0) {
3497
- let t = p[n.__drift_children__] ?? n.__drift_children__;
3480
+ let t = l[n.__drift_children__] ?? n.__drift_children__;
3498
3481
  if (t) {
3499
3482
  let n = new e();
3500
3483
  n.parentVM = this, s = n.execute(t, { scope: this.scope }) ?? void 0;
@@ -3502,99 +3485,99 @@ var Zt = /^[a-zA-Z_:][a-zA-Z0-9_.:-]*$/, Qt = /^[a-zA-Z_:][a-zA-Z0-9_.:-]*$/, $t
3502
3485
  }
3503
3486
  let c = new e();
3504
3487
  c.parentVM = this;
3505
- let l = Object.assign(Object.create(this.scope), { props: a }, a);
3506
- s !== void 0 && (l.children = s);
3507
- let u = c.execute(o, { scope: l });
3508
- u && this.setRegister(t, u);
3488
+ let u = Object.assign(Object.create(this.scope), { props: a }, a);
3489
+ s !== void 0 && (u.children = s);
3490
+ let d = c.execute(o, { scope: u });
3491
+ d && this.setRegister(t, d);
3509
3492
  }
3510
- h += 4;
3493
+ f += 4;
3511
3494
  break;
3512
3495
  }
3513
- case m.CREATE_TEXT: {
3514
- let e = u[h + 1], t = p[u[h + 2]], r = n(t, this.scope, this.declaredVars), i = r == null ? "" : String(r);
3496
+ case $.CREATE_TEXT: {
3497
+ let e = c[f + 1], t = l[c[f + 2]], n = r(t, this.scope, this.declaredVars), i = n == null ? "" : String(n);
3515
3498
  this.setRegister(e, {
3516
3499
  type: "text",
3517
3500
  content: i,
3518
3501
  children: []
3519
- }), h += 3;
3502
+ }), f += 3;
3520
3503
  break;
3521
3504
  }
3522
- case m.CREATE_COMMENT: {
3523
- let e = u[h + 1], t = u[h + 2], n = String(p[t]);
3505
+ case $.CREATE_COMMENT: {
3506
+ let e = c[f + 1], t = c[f + 2], n = String(l[t]);
3524
3507
  this.setRegister(e, {
3525
3508
  type: "comment",
3526
3509
  content: n,
3527
3510
  children: []
3528
- }), h += 3;
3511
+ }), f += 3;
3529
3512
  break;
3530
3513
  }
3531
- case m.CREATE_FRAGMENT: {
3532
- let e = u[h + 1];
3514
+ case $.CREATE_FRAGMENT: {
3515
+ let e = c[f + 1];
3533
3516
  this.setRegister(e, {
3534
3517
  type: "fragment",
3535
3518
  children: []
3536
- }), h += 2;
3519
+ }), f += 2;
3537
3520
  break;
3538
3521
  }
3539
- case m.APPEND_CHILD: {
3540
- let e = u[h + 1], t = u[h + 2], n = this.getRegister(e), r = this.getRegister(t);
3541
- n.children.push(r), h += 3;
3522
+ case $.APPEND_CHILD: {
3523
+ let e = c[f + 1], t = c[f + 2], n = this.getRegister(e), r = this.getRegister(t);
3524
+ n.children.push(r), f += 3;
3542
3525
  break;
3543
3526
  }
3544
- case m.SET_ATTR: {
3545
- let e = u[h + 1], t = u[h + 2], r = u[h + 3], i = u[h + 4], a = this.getRegister(e), s = String(p[t]);
3546
- if (s.startsWith("on")) {
3547
- h += 5;
3527
+ case $.SET_ATTR: {
3528
+ let e = c[f + 1], t = c[f + 2], n = c[f + 3], i = c[f + 4], a = this.getRegister(e), o = String(l[t]);
3529
+ if (o.startsWith("on")) {
3530
+ f += 5;
3548
3531
  break;
3549
3532
  }
3550
- let c = p[r], l = i === 1 ? n(c, this.scope, this.declaredVars) : c;
3551
- s === "style" && (l = o(l)), a.attrs ||= /* @__PURE__ */ new Map(), s === "className" ? a.attrs.set("class", l) : a.attrs.set(s, l), h += 5;
3533
+ let u = l[n], d = i === 1 ? r(u, this.scope, this.declaredVars) : u;
3534
+ o === "style" && (d = s(d)), a.attrs ||= /* @__PURE__ */ new Map(), o === "className" ? a.attrs.set("class", d) : a.attrs.set(o, d), f += 5;
3552
3535
  break;
3553
3536
  }
3554
- case m.INTERPOLATE_TEXT: {
3555
- let e = u[h + 1], t = p[u[h + 2]], r = n(t, this.scope, this.declaredVars);
3556
- if (r && typeof r == "object" && "type" in r && Array.isArray(r.children)) this.setRegister(e, r);
3537
+ case $.INTERPOLATE_TEXT: {
3538
+ let e = c[f + 1], t = l[c[f + 2]], n = r(t, this.scope, this.declaredVars);
3539
+ if (n && typeof n == "object" && "type" in n && Array.isArray(n.children)) this.setRegister(e, n);
3557
3540
  else {
3558
- let t = r == null ? "" : String(r);
3541
+ let t = n == null ? "" : String(n);
3559
3542
  this.setRegister(e, {
3560
3543
  type: "text",
3561
3544
  content: t,
3562
3545
  children: []
3563
3546
  });
3564
3547
  }
3565
- h += 3;
3548
+ f += 3;
3566
3549
  break;
3567
3550
  }
3568
- case m.EXEC_SCRIPT: {
3569
- let e = p[u[h + 1]];
3570
- if (Array.isArray(e)) for (let t of e) n(t, this.scope, this.declaredVars);
3571
- else e && n(e, this.scope, this.declaredVars);
3572
- h += 2;
3551
+ case $.EXEC_SCRIPT: {
3552
+ let e = l[c[f + 1]];
3553
+ if (Array.isArray(e)) for (let t of e) r(t, this.scope, this.declaredVars);
3554
+ else e && r(e, this.scope, this.declaredVars);
3555
+ f += 2;
3573
3556
  break;
3574
3557
  }
3575
- case m.REACTIVE_IF: {
3576
- let t = u[h + 1], r = u[h + 2], i = u[h + 3], a = u[h + 4], o = this.getRegister(t), s = p[r], c = p[i], l = a === 255 ? null : p[a], d = n(s, this.scope, this.declaredVars) ? c : l;
3558
+ case $.REACTIVE_IF: {
3559
+ let t = c[f + 1], n = c[f + 2], i = c[f + 3], a = c[f + 4], o = this.getRegister(t), s = l[n], u = l[i], d = a === 255 ? null : l[a], p = r(s, this.scope, this.declaredVars) ? u : d;
3577
3560
  if (o.children.push({
3578
3561
  type: "comment",
3579
3562
  content: "if",
3580
3563
  children: []
3581
- }), d) {
3564
+ }), p) {
3582
3565
  let t = Object.create(this.scope), n = new e();
3583
3566
  n.parentVM = this;
3584
- let r = n.execute(d, { scope: t });
3567
+ let r = n.execute(p, { scope: t });
3585
3568
  r && o.children.push(r);
3586
3569
  }
3587
3570
  o.children.push({
3588
3571
  type: "comment",
3589
3572
  content: "/if",
3590
3573
  children: []
3591
- }), h += 6;
3574
+ }), f += 6;
3592
3575
  break;
3593
3576
  }
3594
- case m.REACTIVE_FOR: {
3595
- let t = u[h + 1], r = u[h + 2], i = u[h + 3], a = u[h + 4];
3596
- u[h + 5];
3597
- let o = u[h + 6], s = this.getRegister(t), l = p[r], d = p[i], f = a === 255 ? null : p[a], m = p[o], g = ee(n(l, this.scope, this.declaredVars));
3577
+ case $.REACTIVE_FOR: {
3578
+ let t = c[f + 1], n = c[f + 2], i = c[f + 3], a = c[f + 4];
3579
+ c[f + 5];
3580
+ let o = c[f + 6], s = this.getRegister(t), u = l[n], p = l[i], m = a === 255 ? null : l[a], h = l[o], g = ee(r(u, this.scope, this.declaredVars));
3598
3581
  s.children.push({
3599
3582
  type: "comment",
3600
3583
  content: "for",
@@ -3602,57 +3585,57 @@ var Zt = /^[a-zA-Z_:][a-zA-Z0-9_.:-]*$/, Qt = /^[a-zA-Z_:][a-zA-Z0-9_.:-]*$/, $t
3602
3585
  });
3603
3586
  for (let t = 0; t < g.length; t++) {
3604
3587
  let n = Object.create(this.scope);
3605
- c(n, d, g[t], f, t);
3588
+ d(n, p, g[t], m, t);
3606
3589
  let r = new e();
3607
3590
  r.parentVM = this;
3608
- let i = r.execute(m, { scope: n });
3591
+ let i = r.execute(h, { scope: n });
3609
3592
  i && s.children.push(i);
3610
3593
  }
3611
3594
  s.children.push({
3612
3595
  type: "comment",
3613
3596
  content: "/for",
3614
3597
  children: []
3615
- }), h += 8;
3598
+ }), f += 8;
3616
3599
  break;
3617
3600
  }
3618
- default: throw Error(`DriftServerVM: Unknown Opcode ${t} at PC ${h}`);
3601
+ default: throw Error(`DriftServerVM: Unknown Opcode ${t} at PC ${f}`);
3619
3602
  }
3620
3603
  }
3621
- return null;
3604
+ return this.getRegister(0);
3622
3605
  } finally {
3623
- s();
3606
+ u();
3624
3607
  }
3625
3608
  }
3626
3609
  };
3627
- function en(e, t) {
3610
+ function tn(e, t) {
3628
3611
  if (!t) return e;
3629
3612
  let n = t.toLowerCase();
3630
3613
  return n === "script" ? e.replace(/<\/script/gi, "<\\/script") : n === "style" ? e.replace(/<\/style/gi, "<\\/style") : e;
3631
3614
  }
3632
- function tn(t, n = !1, r) {
3615
+ function nn(t, n = !1, r) {
3633
3616
  if (!t) return "";
3634
- if (typeof t == "string") return n ? en(t, r) : Xt(t);
3635
- if (t.type === "text") return n ? en(t.content ?? "", r) : Xt(t.content ?? "");
3617
+ if (typeof t == "string") return n ? tn(t, r) : Zt(t);
3618
+ if (t.type === "text") return n ? tn(t.content ?? "", r) : Zt(t.content ?? "");
3636
3619
  if (t.type === "comment") return `<!--${String(t.content ?? "").replace(/-->/g, "-- >").replace(/--!>/g, "--! >")}-->`;
3637
- if (t.type === "fragment") return t.children.map((e) => tn(e, n, r)).join("");
3620
+ if (t.type === "fragment") return t.children.map((e) => nn(e, n, r)).join("");
3638
3621
  if (t.type === "element") {
3639
3622
  let n = t.tag;
3640
- if (!n || !Qt.test(n)) return "";
3623
+ if (!n || !$t.test(n)) return "";
3641
3624
  let r = n.toLowerCase() === "script" || n.toLowerCase() === "style", i = "";
3642
3625
  if (t.attrs && t.attrs.size > 0) for (let [e, n] of t.attrs.entries()) {
3643
- if (!Zt.test(e) || e === "style" && (n === "" || n == null || n === !1)) continue;
3626
+ if (!Qt.test(e) || e === "style" && (n === "" || n == null || n === !1)) continue;
3644
3627
  let t = e.startsWith("aria-") || e.startsWith("data-");
3645
- n === !0 ? i += t ? ` ${e}="true"` : ` ${e}` : n === !1 ? t && (i += ` ${e}="false"`) : n != null && (i += ` ${e}="${Xt(String(n))}"`);
3628
+ n === !0 ? i += t ? ` ${e}="true"` : ` ${e}` : n === !1 ? t && (i += ` ${e}="false"`) : n != null && (i += ` ${e}="${Zt(String(n))}"`);
3646
3629
  }
3647
3630
  if (e.has(n.toLowerCase())) return `<${n}${i} />`;
3648
- let a = t.children.map((e) => tn(e, r, r ? n : void 0)).join("");
3631
+ let a = t.children.map((e) => nn(e, r, r ? n : void 0)).join("");
3649
3632
  return `<${n}${i}>${a}</${n}>`;
3650
3633
  }
3651
3634
  return "";
3652
3635
  }
3653
- function nn(e, t = {}) {
3654
- let n = new $t().execute(e, t);
3655
- return n ? tn(n) : "";
3636
+ function rn(e, t = {}) {
3637
+ let n = new en().execute(e, t);
3638
+ return n ? nn(n) : "";
3656
3639
  }
3657
3640
  //#endregion
3658
- export { $t as DriftServerVM, t as createContext, i as inject, a as injectContext, l as provide, u as provideContext, nn as renderToString, tn as serializeNode };
3641
+ export { en as DriftServerVM, t as createContext, n as effect, a as inject, o as injectContext, c as onMount, l as onUnmount, f as provide, p as provideContext, rn as renderToString, nn as serializeNode };