@airalogy/aimd-editor 1.8.0 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
- import { defineComponent as qi, ref as Bt, onMounted as Ki, onBeforeUnmount as Wi, watch as ot, openBlock as Dt, createElementBlock as Mt, normalizeStyle as Gi, toDisplayString as zi, createCommentVNode as Hi, createElementVNode as Qi } from "vue";
2
- var Ji = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], Qt = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191], Yi = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", Jt = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ut = {
1
+ import { defineComponent as Gi, ref as Mt, onMounted as zi, onBeforeUnmount as Qi, watch as ut, openBlock as Ft, createElementBlock as jt, normalizeStyle as Hi, toDisplayString as Ji, createCommentVNode as Yi, createElementVNode as Zi } from "vue";
2
+ var Xi = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], Yt = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191], es = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", Zt = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", lt = {
3
3
  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",
4
4
  5: "class enum extends super const export import",
5
5
  6: "enum",
6
6
  strict: "implements interface let package private protected public static yield",
7
7
  strictBind: "eval arguments"
8
- }, lt = "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", Zi = {
9
- 5: lt,
10
- "5module": lt + " export import",
11
- 6: lt + " const class extends export import super"
12
- }, Xi = /^in(stanceof)?$/, es = new RegExp("[" + Jt + "]"), ts = new RegExp("[" + Jt + Yi + "]");
13
- function pt(e, t) {
8
+ }, ht = "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", ts = {
9
+ 5: ht,
10
+ "5module": ht + " export import",
11
+ 6: ht + " const class extends export import super"
12
+ }, is = /^in(stanceof)?$/, ss = new RegExp("[" + Zt + "]"), rs = new RegExp("[" + Zt + es + "]");
13
+ function mt(e, t) {
14
14
  for (var i = 65536, s = 0; s < t.length; s += 2) {
15
15
  if (i += t[s], i > e)
16
16
  return !1;
@@ -20,20 +20,20 @@ function pt(e, t) {
20
20
  return !1;
21
21
  }
22
22
  function J(e, t) {
23
- return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && es.test(String.fromCharCode(e)) : t === !1 ? !1 : pt(e, Qt);
23
+ return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && ss.test(String.fromCharCode(e)) : t === !1 ? !1 : mt(e, Yt);
24
24
  }
25
25
  function ae(e, t) {
26
- 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 && ts.test(String.fromCharCode(e)) : t === !1 ? !1 : pt(e, Qt) || pt(e, Ji);
26
+ 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 && rs.test(String.fromCharCode(e)) : t === !1 ? !1 : mt(e, Yt) || mt(e, Xi);
27
27
  }
28
28
  var C = function(t, i) {
29
29
  i === void 0 && (i = {}), this.label = t, this.keyword = i.keyword, this.beforeExpr = !!i.beforeExpr, this.startsExpr = !!i.startsExpr, this.isLoop = !!i.isLoop, this.isAssign = !!i.isAssign, this.prefix = !!i.prefix, this.postfix = !!i.postfix, this.binop = i.binop || null, this.updateContext = null;
30
30
  };
31
- function K(e, t) {
31
+ function W(e, t) {
32
32
  return new C(e, { beforeExpr: !0, binop: t });
33
33
  }
34
- var W = { beforeExpr: !0 }, M = { startsExpr: !0 }, St = {};
34
+ var K = { beforeExpr: !0 }, M = { startsExpr: !0 }, kt = {};
35
35
  function w(e, t) {
36
- return t === void 0 && (t = {}), t.keyword = e, St[e] = new C(e, t);
36
+ return t === void 0 && (t = {}), t.keyword = e, kt[e] = new C(e, t);
37
37
  }
38
38
  var a = {
39
39
  num: new C("num", M),
@@ -49,16 +49,16 @@ var a = {
49
49
  braceR: new C("}"),
50
50
  parenL: new C("(", { beforeExpr: !0, startsExpr: !0 }),
51
51
  parenR: new C(")"),
52
- comma: new C(",", W),
53
- semi: new C(";", W),
54
- colon: new C(":", W),
52
+ comma: new C(",", K),
53
+ semi: new C(";", K),
54
+ colon: new C(":", K),
55
55
  dot: new C("."),
56
- question: new C("?", W),
56
+ question: new C("?", K),
57
57
  questionDot: new C("?."),
58
- arrow: new C("=>", W),
58
+ arrow: new C("=>", K),
59
59
  template: new C("template"),
60
60
  invalidTemplate: new C("invalidTemplate"),
61
- ellipsis: new C("...", W),
61
+ ellipsis: new C("...", K),
62
62
  backQuote: new C("`", M),
63
63
  dollarBraceL: new C("${", { beforeExpr: !0, startsExpr: !0 }),
64
64
  // Operators. These carry several kinds of properties to help the
@@ -78,36 +78,36 @@ var a = {
78
78
  assign: new C("_=", { beforeExpr: !0, isAssign: !0 }),
79
79
  incDec: new C("++/--", { prefix: !0, postfix: !0, startsExpr: !0 }),
80
80
  prefix: new C("!/~", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
81
- logicalOR: K("||", 1),
82
- logicalAND: K("&&", 2),
83
- bitwiseOR: K("|", 3),
84
- bitwiseXOR: K("^", 4),
85
- bitwiseAND: K("&", 5),
86
- equality: K("==/!=/===/!==", 6),
87
- relational: K("</>/<=/>=", 7),
88
- bitShift: K("<</>>/>>>", 8),
81
+ logicalOR: W("||", 1),
82
+ logicalAND: W("&&", 2),
83
+ bitwiseOR: W("|", 3),
84
+ bitwiseXOR: W("^", 4),
85
+ bitwiseAND: W("&", 5),
86
+ equality: W("==/!=/===/!==", 6),
87
+ relational: W("</>/<=/>=", 7),
88
+ bitShift: W("<</>>/>>>", 8),
89
89
  plusMin: new C("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }),
90
- modulo: K("%", 10),
91
- star: K("*", 10),
92
- slash: K("/", 10),
90
+ modulo: W("%", 10),
91
+ star: W("*", 10),
92
+ slash: W("/", 10),
93
93
  starstar: new C("**", { beforeExpr: !0 }),
94
- coalesce: K("??", 1),
94
+ coalesce: W("??", 1),
95
95
  // Keyword token types.
96
96
  _break: w("break"),
97
- _case: w("case", W),
97
+ _case: w("case", K),
98
98
  _catch: w("catch"),
99
99
  _continue: w("continue"),
100
100
  _debugger: w("debugger"),
101
- _default: w("default", W),
101
+ _default: w("default", K),
102
102
  _do: w("do", { isLoop: !0, beforeExpr: !0 }),
103
- _else: w("else", W),
103
+ _else: w("else", K),
104
104
  _finally: w("finally"),
105
105
  _for: w("for", { isLoop: !0 }),
106
106
  _function: w("function", M),
107
107
  _if: w("if"),
108
- _return: w("return", W),
108
+ _return: w("return", K),
109
109
  _switch: w("switch"),
110
- _throw: w("throw", W),
110
+ _throw: w("throw", K),
111
111
  _try: w("try"),
112
112
  _var: w("var"),
113
113
  _const: w("const"),
@@ -117,7 +117,7 @@ var a = {
117
117
  _this: w("this", M),
118
118
  _super: w("super", M),
119
119
  _class: w("class", M),
120
- _extends: w("extends", W),
120
+ _extends: w("extends", K),
121
121
  _export: w("export"),
122
122
  _import: w("import", M),
123
123
  _null: w("null", M),
@@ -128,48 +128,48 @@ var a = {
128
128
  _typeof: w("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
129
129
  _void: w("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
130
130
  _delete: w("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
131
- }, F = /\r\n?|\n|\u2028|\u2029/, is = new RegExp(F.source, "g");
132
- function ye(e) {
131
+ }, F = /\r\n?|\n|\u2028|\u2029/, ns = new RegExp(F.source, "g");
132
+ function ve(e) {
133
133
  return e === 10 || e === 13 || e === 8232 || e === 8233;
134
134
  }
135
- function Yt(e, t, i) {
135
+ function Xt(e, t, i) {
136
136
  i === void 0 && (i = e.length);
137
137
  for (var s = t; s < i; s++) {
138
138
  var r = e.charCodeAt(s);
139
- if (ye(r))
139
+ if (ve(r))
140
140
  return s < i - 1 && r === 13 && e.charCodeAt(s + 1) === 10 ? s + 2 : s + 1;
141
141
  }
142
142
  return -1;
143
143
  }
144
- var Zt = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, R = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, Xt = Object.prototype, ss = Xt.hasOwnProperty, rs = Xt.toString, ve = Object.hasOwn || (function(e, t) {
145
- return ss.call(e, t);
146
- }), Ft = Array.isArray || (function(e) {
147
- return rs.call(e) === "[object Array]";
148
- }), jt = /* @__PURE__ */ Object.create(null);
144
+ var ei = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, R = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ti = Object.prototype, as = ti.hasOwnProperty, os = ti.toString, Se = Object.hasOwn || (function(e, t) {
145
+ return as.call(e, t);
146
+ }), Ut = Array.isArray || (function(e) {
147
+ return os.call(e) === "[object Array]";
148
+ }), $t = /* @__PURE__ */ Object.create(null);
149
149
  function ne(e) {
150
- return jt[e] || (jt[e] = new RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
150
+ return $t[e] || ($t[e] = new RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
151
151
  }
152
152
  function te(e) {
153
153
  return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10) + 55296, (e & 1023) + 56320));
154
154
  }
155
- var ns = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, Ae = function(t, i) {
155
+ var us = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, Ie = function(t, i) {
156
156
  this.line = t, this.column = i;
157
157
  };
158
- Ae.prototype.offset = function(t) {
159
- return new Ae(this.line, this.column + t);
158
+ Ie.prototype.offset = function(t) {
159
+ return new Ie(this.line, this.column + t);
160
160
  };
161
- var Qe = function(t, i, s) {
161
+ var Je = function(t, i, s) {
162
162
  this.start = i, this.end = s, t.sourceFile !== null && (this.source = t.sourceFile);
163
163
  };
164
- function ei(e, t) {
164
+ function ii(e, t) {
165
165
  for (var i = 1, s = 0; ; ) {
166
- var r = Yt(e, s, t);
166
+ var r = Xt(e, s, t);
167
167
  if (r < 0)
168
- return new Ae(i, t - s);
168
+ return new Ie(i, t - s);
169
169
  ++i, s = r;
170
170
  }
171
171
  }
172
- var dt = {
172
+ var gt = {
173
173
  // `ecmaVersion` indicates the ECMAScript version to parse. Must be
174
174
  // either 3, 5, 6 (or 2015), 7 (2016), 8 (2017), 9 (2018), 10
175
175
  // (2019), 11 (2020), 12 (2021), 13 (2022), 14 (2023), or `"latest"`
@@ -265,21 +265,21 @@ var dt = {
265
265
  // When enabled, parenthesized expressions are represented by
266
266
  // (non-standard) ParenthesizedExpression nodes
267
267
  preserveParens: !1
268
- }, Ut = !1;
269
- function as(e) {
268
+ }, qt = !1;
269
+ function ls(e) {
270
270
  var t = {};
271
- for (var i in dt)
272
- t[i] = e && ve(e, i) ? e[i] : dt[i];
273
- if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!Ut && typeof console == "object" && console.warn && (Ut = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
274
- Defaulting to 2020, but this will stop working in the future.`)), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved == null && (t.allowReserved = t.ecmaVersion < 5), (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), Ft(t.onToken)) {
271
+ for (var i in gt)
272
+ t[i] = e && Se(e, i) ? e[i] : gt[i];
273
+ if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!qt && typeof console == "object" && console.warn && (qt = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
274
+ Defaulting to 2020, but this will stop working in the future.`)), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved == null && (t.allowReserved = t.ecmaVersion < 5), (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), Ut(t.onToken)) {
275
275
  var s = t.onToken;
276
276
  t.onToken = function(r) {
277
277
  return s.push(r);
278
278
  };
279
279
  }
280
- return Ft(t.onComment) && (t.onComment = os(t, t.onComment)), t;
280
+ return Ut(t.onComment) && (t.onComment = hs(t, t.onComment)), t;
281
281
  }
282
- function os(e, t) {
282
+ function hs(e, t) {
283
283
  return function(i, s, r, n, o, l) {
284
284
  var u = {
285
285
  type: i ? "Block" : "Line",
@@ -287,50 +287,50 @@ function os(e, t) {
287
287
  start: r,
288
288
  end: n
289
289
  };
290
- e.locations && (u.loc = new Qe(this, o, l)), e.ranges && (u.range = [r, n]), t.push(u);
290
+ e.locations && (u.loc = new Je(this, o, l)), e.ranges && (u.range = [r, n]), t.push(u);
291
291
  };
292
292
  }
293
- var Ie = 1, Se = 2, kt = 4, ti = 8, wt = 16, ii = 32, Je = 64, si = 128, pe = 256, Pe = 512, Ye = Ie | Se | pe;
294
- function _t(e, t) {
295
- return Se | (e ? kt : 0) | (t ? ti : 0);
293
+ var Ne = 1, ke = 2, wt = 4, si = 8, _t = 16, ri = 32, Ye = 64, ni = 128, pe = 256, Oe = 512, Ze = Ne | ke | pe;
294
+ function Ct(e, t) {
295
+ return ke | (e ? wt : 0) | (t ? si : 0);
296
296
  }
297
- var $e = 0, Ct = 1, se = 2, ri = 3, ni = 4, ai = 5, L = function(t, i, s) {
298
- this.options = t = as(t), this.sourceFile = t.sourceFile, this.keywords = ne(Zi[t.ecmaVersion >= 6 ? 6 : t.sourceType === "module" ? "5module" : 5]);
297
+ var qe = 0, Et = 1, se = 2, ai = 3, oi = 4, ui = 5, L = function(t, i, s) {
298
+ this.options = t = ls(t), this.sourceFile = t.sourceFile, this.keywords = ne(ts[t.ecmaVersion >= 6 ? 6 : t.sourceType === "module" ? "5module" : 5]);
299
299
  var r = "";
300
- t.allowReserved !== !0 && (r = ut[t.ecmaVersion >= 6 ? 6 : t.ecmaVersion === 5 ? 5 : 3], t.sourceType === "module" && (r += " await")), this.reservedWords = ne(r);
301
- var n = (r ? r + " " : "") + ut.strict;
302
- this.reservedWordsStrict = ne(n), this.reservedWordsStrictBind = ne(n + " " + ut.strictBind), this.input = String(i), this.containsEsc = !1, s ? (this.pos = s, this.lineStart = this.input.lastIndexOf(`
303
- `, s - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(F).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = a.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 = t.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && t.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(Ie), this.regexpState = null, this.privateNameStack = [];
300
+ t.allowReserved !== !0 && (r = lt[t.ecmaVersion >= 6 ? 6 : t.ecmaVersion === 5 ? 5 : 3], t.sourceType === "module" && (r += " await")), this.reservedWords = ne(r);
301
+ var n = (r ? r + " " : "") + lt.strict;
302
+ this.reservedWordsStrict = ne(n), this.reservedWordsStrictBind = ne(n + " " + lt.strictBind), this.input = String(i), this.containsEsc = !1, s ? (this.pos = s, this.lineStart = this.input.lastIndexOf(`
303
+ `, s - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(F).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = a.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 = t.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && t.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(Ne), this.regexpState = null, this.privateNameStack = [];
304
304
  }, Y = { inFunction: { configurable: !0 }, inGenerator: { configurable: !0 }, inAsync: { configurable: !0 }, canAwait: { configurable: !0 }, allowSuper: { configurable: !0 }, allowDirectSuper: { configurable: !0 }, treatFunctionsAsVar: { configurable: !0 }, allowNewDotTarget: { configurable: !0 }, inClassStaticBlock: { configurable: !0 } };
305
305
  L.prototype.parse = function() {
306
306
  var t = this.options.program || this.startNode();
307
307
  return this.nextToken(), this.parseTopLevel(t);
308
308
  };
309
309
  Y.inFunction.get = function() {
310
- return (this.currentVarScope().flags & Se) > 0;
310
+ return (this.currentVarScope().flags & ke) > 0;
311
311
  };
312
312
  Y.inGenerator.get = function() {
313
- return (this.currentVarScope().flags & ti) > 0;
313
+ return (this.currentVarScope().flags & si) > 0;
314
314
  };
315
315
  Y.inAsync.get = function() {
316
- return (this.currentVarScope().flags & kt) > 0;
316
+ return (this.currentVarScope().flags & wt) > 0;
317
317
  };
318
318
  Y.canAwait.get = function() {
319
319
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
320
320
  var t = this.scopeStack[e], i = t.flags;
321
- if (i & (pe | Pe))
321
+ if (i & (pe | Oe))
322
322
  return !1;
323
- if (i & Se)
324
- return (i & kt) > 0;
323
+ if (i & ke)
324
+ return (i & wt) > 0;
325
325
  }
326
326
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
327
327
  };
328
328
  Y.allowSuper.get = function() {
329
329
  var e = this.currentThisScope(), t = e.flags;
330
- return (t & Je) > 0 || this.options.allowSuperOutsideMethod;
330
+ return (t & Ye) > 0 || this.options.allowSuperOutsideMethod;
331
331
  };
332
332
  Y.allowDirectSuper.get = function() {
333
- return (this.currentThisScope().flags & si) > 0;
333
+ return (this.currentThisScope().flags & ni) > 0;
334
334
  };
335
335
  Y.treatFunctionsAsVar.get = function() {
336
336
  return this.treatFunctionsAsVarInScope(this.currentScope());
@@ -338,7 +338,7 @@ Y.treatFunctionsAsVar.get = function() {
338
338
  Y.allowNewDotTarget.get = function() {
339
339
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
340
340
  var t = this.scopeStack[e], i = t.flags;
341
- if (i & (pe | Pe) || i & Se && !(i & wt))
341
+ if (i & (pe | Oe) || i & ke && !(i & _t))
342
342
  return !0;
343
343
  }
344
344
  return !1;
@@ -363,13 +363,13 @@ L.tokenizer = function(t, i) {
363
363
  return new this(i, t);
364
364
  };
365
365
  Object.defineProperties(L.prototype, Y);
366
- var D = L.prototype, us = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
366
+ var D = L.prototype, cs = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
367
367
  D.strictDirective = function(e) {
368
368
  if (this.options.ecmaVersion < 5)
369
369
  return !1;
370
370
  for (; ; ) {
371
371
  R.lastIndex = e, e += R.exec(this.input)[0].length;
372
- var t = us.exec(this.input.slice(e));
372
+ var t = cs.exec(this.input.slice(e));
373
373
  if (!t)
374
374
  return !1;
375
375
  if ((t[1] || t[2]) === "use strict") {
@@ -412,7 +412,7 @@ D.expect = function(e) {
412
412
  D.unexpected = function(e) {
413
413
  this.raise(e ?? this.start, "Unexpected token");
414
414
  };
415
- var Ze = function() {
415
+ var Xe = function() {
416
416
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
417
417
  };
418
418
  D.checkPatternErrors = function(e, t) {
@@ -450,7 +450,7 @@ g.parseTopLevel = function(e) {
450
450
  }
451
451
  return this.adaptDirectivePrologue(e.body), this.next(), e.sourceType = this.options.sourceType, this.finishNode(e, "Program");
452
452
  };
453
- var Et = { kind: "loop" }, ls = { kind: "switch" };
453
+ var At = { kind: "loop" }, fs = { kind: "switch" };
454
454
  g.isLet = function(e) {
455
455
  if (this.options.ecmaVersion < 6 || !this.isContextual("let"))
456
456
  return !1;
@@ -468,7 +468,7 @@ g.isLet = function(e) {
468
468
  if (s === 92 || s > 55295 && s < 56320)
469
469
  return !0;
470
470
  var n = this.input.slice(i, r);
471
- if (!Xi.test(n))
471
+ if (!is.test(n))
472
472
  return !0;
473
473
  }
474
474
  return !1;
@@ -585,12 +585,12 @@ g.parseDebuggerStatement = function(e) {
585
585
  return this.next(), this.semicolon(), this.finishNode(e, "DebuggerStatement");
586
586
  };
587
587
  g.parseDoStatement = function(e) {
588
- return this.next(), this.labels.push(Et), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(a._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(a.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
588
+ return this.next(), this.labels.push(At), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(a._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(a.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
589
589
  };
590
590
  g.parseForStatement = function(e) {
591
591
  this.next();
592
592
  var t = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
593
- if (this.labels.push(Et), this.enterScope(0), this.expect(a.parenL), this.type === a.semi)
593
+ if (this.labels.push(At), this.enterScope(0), this.expect(a.parenL), this.type === a.semi)
594
594
  return t > -1 && this.unexpected(t), this.parseFor(e, null);
595
595
  var i = this.isLet();
596
596
  if (this.type === a._var || this.type === a._const || i) {
@@ -602,14 +602,14 @@ g.parseForStatement = function(e) {
602
602
  var u = this.startNode();
603
603
  return this.next(), l === "await using" && this.next(), this.parseVar(u, !0, l), this.finishNode(u, "VariableDeclaration"), this.parseForAfterInit(e, u, t);
604
604
  }
605
- var h = this.containsEsc, f = new Ze(), c = this.start, p = t > -1 ? this.parseExprSubscripts(f, "await") : this.parseExpression(!0, f);
605
+ var h = this.containsEsc, f = new Xe(), c = this.start, p = t > -1 ? this.parseExprSubscripts(f, "await") : this.parseExpression(!0, f);
606
606
  return this.type === a._in || (o = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === a._in && this.unexpected(t), e.await = !0) : o && this.options.ecmaVersion >= 8 && (p.start === c && !h && p.type === "Identifier" && p.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), n && o && this.raise(p.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(p, !1, f), this.checkLValPattern(p), this.parseForIn(e, p)) : (this.checkExpressionErrors(f, !0), t > -1 && this.unexpected(t), this.parseFor(e, p));
607
607
  };
608
608
  g.parseForAfterInit = function(e, t, i) {
609
609
  return (this.type === a._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === a._in ? i > -1 && this.unexpected(i) : e.await = i > -1), this.parseForIn(e, t)) : (i > -1 && this.unexpected(i), this.parseFor(e, t));
610
610
  };
611
611
  g.parseFunctionStatement = function(e, t, i) {
612
- return this.next(), this.parseFunction(e, _e | (i ? 0 : mt), !1, t);
612
+ return this.next(), this.parseFunction(e, Ce | (i ? 0 : bt), !1, t);
613
613
  };
614
614
  g.parseIfStatement = function(e) {
615
615
  return this.next(), e.test = this.parseParenExpression(), e.consequent = this.parseStatement("if"), e.alternate = this.eat(a._else) ? this.parseStatement("if") : null, this.finishNode(e, "IfStatement");
@@ -618,7 +618,7 @@ g.parseReturnStatement = function(e) {
618
618
  return !this.inFunction && !this.options.allowReturnOutsideFunction && this.raise(this.start, "'return' outside of function"), this.next(), this.eat(a.semi) || this.insertSemicolon() ? e.argument = null : (e.argument = this.parseExpression(), this.semicolon()), this.finishNode(e, "ReturnStatement");
619
619
  };
620
620
  g.parseSwitchStatement = function(e) {
621
- this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(a.braceL), this.labels.push(ls), this.enterScope(0);
621
+ this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(a.braceL), this.labels.push(fs), this.enterScope(0);
622
622
  for (var t, i = !1; this.type !== a.braceR; )
623
623
  if (this.type === a._case || this.type === a._default) {
624
624
  var s = this.type === a._case;
@@ -630,10 +630,10 @@ g.parseSwitchStatement = function(e) {
630
630
  g.parseThrowStatement = function(e) {
631
631
  return this.next(), F.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");
632
632
  };
633
- var hs = [];
633
+ var ps = [];
634
634
  g.parseCatchClauseParam = function() {
635
635
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
636
- return this.enterScope(t ? ii : 0), this.checkLValPattern(e, t ? ni : se), this.expect(a.parenR), e;
636
+ return this.enterScope(t ? ri : 0), this.checkLValPattern(e, t ? oi : se), this.expect(a.parenR), e;
637
637
  };
638
638
  g.parseTryStatement = function(e) {
639
639
  if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === a._catch) {
@@ -646,7 +646,7 @@ g.parseVarStatement = function(e, t, i) {
646
646
  return this.next(), this.parseVar(e, !1, t, i), this.semicolon(), this.finishNode(e, "VariableDeclaration");
647
647
  };
648
648
  g.parseWhileStatement = function(e) {
649
- return this.next(), e.test = this.parseParenExpression(), this.labels.push(Et), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
649
+ return this.next(), e.test = this.parseParenExpression(), this.labels.push(At), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
650
650
  };
651
651
  g.parseWithStatement = function(e) {
652
652
  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");
@@ -697,13 +697,13 @@ g.parseVar = function(e, t, i, s) {
697
697
  return e;
698
698
  };
699
699
  g.parseVarId = function(e, t) {
700
- e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Ct : se, !1);
700
+ e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Et : se, !1);
701
701
  };
702
- var _e = 1, mt = 2, oi = 4;
702
+ var Ce = 1, bt = 2, li = 4;
703
703
  g.parseFunction = function(e, t, i, s, r) {
704
- this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !s) && (this.type === a.star && t & mt && this.unexpected(), e.generator = this.eat(a.star)), this.options.ecmaVersion >= 8 && (e.async = !!s), t & _e && (e.id = t & oi && this.type !== a.name ? null : this.parseIdent(), e.id && !(t & mt) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Ct : se : ri));
704
+ this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !s) && (this.type === a.star && t & bt && this.unexpected(), e.generator = this.eat(a.star)), this.options.ecmaVersion >= 8 && (e.async = !!s), t & Ce && (e.id = t & li && this.type !== a.name ? null : this.parseIdent(), e.id && !(t & bt) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Et : se : ai));
705
705
  var n = this.yieldPos, o = this.awaitPos, l = this.awaitIdentPos;
706
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(_t(e.async, e.generator)), t & _e || (e.id = this.type === a.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, i, !1, r), this.yieldPos = n, this.awaitPos = o, this.awaitIdentPos = l, this.finishNode(e, t & _e ? "FunctionDeclaration" : "FunctionExpression");
706
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ct(e.async, e.generator)), t & Ce || (e.id = this.type === a.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, i, !1, r), this.yieldPos = n, this.awaitPos = o, this.awaitIdentPos = l, this.finishNode(e, t & Ce ? "FunctionDeclaration" : "FunctionExpression");
707
707
  };
708
708
  g.parseFunctionParams = function(e) {
709
709
  this.expect(a.parenL), e.params = this.parseBindingList(a.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
@@ -715,7 +715,7 @@ g.parseClass = function(e, t) {
715
715
  var s = this.enterClassBody(), r = this.startNode(), n = !1;
716
716
  for (r.body = [], this.expect(a.braceL); this.type !== a.braceR; ) {
717
717
  var o = this.parseClassElement(e.superClass !== null);
718
- o && (r.body.push(o), o.type === "MethodDefinition" && o.kind === "constructor" ? (n && this.raiseRecoverable(o.start, "Duplicate constructor in the same class"), n = !0) : o.key && o.key.type === "PrivateIdentifier" && cs(s, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
718
+ o && (r.body.push(o), o.type === "MethodDefinition" && o.kind === "constructor" ? (n && this.raiseRecoverable(o.start, "Duplicate constructor in the same class"), n = !0) : o.key && o.key.type === "PrivateIdentifier" && ds(s, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
719
719
  }
720
720
  return this.strict = i, this.next(), e.body = this.finishNode(r, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclaration" : "ClassExpression");
721
721
  };
@@ -733,7 +733,7 @@ g.parseClassElement = function(e) {
733
733
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? o = u : s = u);
734
734
  }
735
735
  if (s ? (i.computed = !1, i.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), i.key.name = s, this.finishNode(i.key, "Identifier")) : this.parseClassElementName(i), t < 13 || this.type === a.parenL || o !== "method" || r || n) {
736
- var h = !i.static && qe(i, "constructor"), f = h && e;
736
+ var h = !i.static && We(i, "constructor"), f = h && e;
737
737
  h && o !== "method" && this.raise(i.key.start, "Constructor can't have get/set modifier"), i.kind = h ? "constructor" : o, this.parseClassMethod(i, r, n, f);
738
738
  } else
739
739
  this.parseClassField(i);
@@ -747,17 +747,17 @@ g.parseClassElementName = function(e) {
747
747
  };
748
748
  g.parseClassMethod = function(e, t, i, s) {
749
749
  var r = e.key;
750
- e.kind === "constructor" ? (t && this.raise(r.start, "Constructor can't be a generator"), i && this.raise(r.start, "Constructor can't be an async method")) : e.static && qe(e, "prototype") && this.raise(r.start, "Classes may not have a static property named prototype");
750
+ e.kind === "constructor" ? (t && this.raise(r.start, "Constructor can't be a generator"), i && this.raise(r.start, "Constructor can't be an async method")) : e.static && We(e, "prototype") && this.raise(r.start, "Classes may not have a static property named prototype");
751
751
  var n = e.value = this.parseMethod(t, i, s);
752
752
  return e.kind === "get" && n.params.length !== 0 && this.raiseRecoverable(n.start, "getter should have no params"), e.kind === "set" && n.params.length !== 1 && this.raiseRecoverable(n.start, "setter should have exactly one param"), e.kind === "set" && n.params[0].type === "RestElement" && this.raiseRecoverable(n.params[0].start, "Setter cannot use rest params"), this.finishNode(e, "MethodDefinition");
753
753
  };
754
754
  g.parseClassField = function(e) {
755
- 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(a.eq) ? (this.enterScope(Pe | Je), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
755
+ return We(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && We(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(a.eq) ? (this.enterScope(Oe | Ye), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
756
756
  };
757
757
  g.parseClassStaticBlock = function(e) {
758
758
  e.body = [];
759
759
  var t = this.labels;
760
- for (this.labels = [], this.enterScope(pe | Je); this.type !== a.braceR; ) {
760
+ for (this.labels = [], this.enterScope(pe | Ye); this.type !== a.braceR; ) {
761
761
  var i = this.parseStatement(null);
762
762
  e.body.push(i);
763
763
  }
@@ -778,14 +778,14 @@ g.exitClassBody = function() {
778
778
  if (this.options.checkPrivateFields)
779
779
  for (var s = this.privateNameStack.length, r = s === 0 ? null : this.privateNameStack[s - 1], n = 0; n < i.length; ++n) {
780
780
  var o = i[n];
781
- ve(t, o.name) || (r ? r.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
781
+ Se(t, o.name) || (r ? r.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
782
782
  }
783
783
  };
784
- function cs(e, t) {
784
+ function ds(e, t) {
785
785
  var i = t.key.name, s = e[i], r = "true";
786
786
  return t.type === "MethodDefinition" && (t.kind === "get" || t.kind === "set") && (r = (t.static ? "s" : "i") + t.kind), s === "iget" && r === "iset" || s === "iset" && r === "iget" || s === "sget" && r === "sset" || s === "sset" && r === "sget" ? (e[i] = "true", !1) : s ? !0 : (e[i] = r, !1);
787
787
  }
788
- function qe(e, t) {
788
+ function We(e, t) {
789
789
  var i = e.computed, s = e.key;
790
790
  return !i && (s.type === "Identifier" && s.name === t || s.type === "Literal" && s.value === t);
791
791
  }
@@ -820,7 +820,7 @@ g.parseExportDefaultDeclaration = function() {
820
820
  var e;
821
821
  if (this.type === a._function || (e = this.isAsyncFunction())) {
822
822
  var t = this.startNode();
823
- return this.next(), e && this.next(), this.parseFunction(t, _e | oi, !1, e);
823
+ return this.next(), e && this.next(), this.parseFunction(t, Ce | li, !1, e);
824
824
  } else if (this.type === a._class) {
825
825
  var i = this.startNode();
826
826
  return this.parseClass(i, "nullableID");
@@ -830,7 +830,7 @@ g.parseExportDefaultDeclaration = function() {
830
830
  }
831
831
  };
832
832
  g.checkExport = function(e, t, i) {
833
- e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), ve(e, t) && this.raiseRecoverable(i, "Duplicate export '" + t + "'"), e[t] = !0);
833
+ e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), Se(e, t) && this.raiseRecoverable(i, "Duplicate export '" + t + "'"), e[t] = !0);
834
834
  };
835
835
  g.checkPatternExport = function(e, t) {
836
836
  var i = t.type;
@@ -878,7 +878,7 @@ g.parseExportSpecifiers = function(e) {
878
878
  return t;
879
879
  };
880
880
  g.parseImport = function(e) {
881
- return this.next(), this.type === a.string ? (e.specifiers = hs, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === a.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
881
+ return this.next(), this.type === a.string ? (e.specifiers = ps, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === a.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
882
882
  };
883
883
  g.parseImportSpecifier = function() {
884
884
  var e = this.startNode();
@@ -918,7 +918,7 @@ g.parseWithClause = function() {
918
918
  else if (this.expect(a.comma), this.afterTrailingComma(a.braceR))
919
919
  break;
920
920
  var s = this.parseImportAttribute(), r = s.key.type === "Identifier" ? s.key.name : s.key.value;
921
- ve(t, r) && this.raiseRecoverable(s.key.start, "Duplicate attribute key '" + r + "'"), t[r] = !0, e.push(s);
921
+ Se(t, r) && this.raiseRecoverable(s.key.start, "Duplicate attribute key '" + r + "'"), t[r] = !0, e.push(s);
922
922
  }
923
923
  return e;
924
924
  };
@@ -929,7 +929,7 @@ g.parseImportAttribute = function() {
929
929
  g.parseModuleExportName = function() {
930
930
  if (this.options.ecmaVersion >= 13 && this.type === a.string) {
931
931
  var e = this.parseLiteral(this.value);
932
- return ns.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
932
+ return us.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
933
933
  }
934
934
  return this.parseIdent(!0);
935
935
  };
@@ -1047,11 +1047,11 @@ z.parseMaybeDefault = function(e, t, i) {
1047
1047
  return s.left = i, s.right = this.parseMaybeAssign(), this.finishNode(s, "AssignmentPattern");
1048
1048
  };
1049
1049
  z.checkLValSimple = function(e, t, i) {
1050
- t === void 0 && (t = $e);
1051
- var s = t !== $e;
1050
+ t === void 0 && (t = qe);
1051
+ var s = t !== qe;
1052
1052
  switch (e.type) {
1053
1053
  case "Identifier":
1054
- this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (s ? "Binding " : "Assigning to ") + e.name + " in strict mode"), s && (t === se && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), i && (ve(i, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), i[e.name] = !0), t !== ai && this.declareName(e.name, t, e.start));
1054
+ this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (s ? "Binding " : "Assigning to ") + e.name + " in strict mode"), s && (t === se && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), i && (Se(i, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), i[e.name] = !0), t !== ui && this.declareName(e.name, t, e.start));
1055
1055
  break;
1056
1056
  case "ChainExpression":
1057
1057
  this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
@@ -1066,7 +1066,7 @@ z.checkLValSimple = function(e, t, i) {
1066
1066
  }
1067
1067
  };
1068
1068
  z.checkLValPattern = function(e, t, i) {
1069
- switch (t === void 0 && (t = $e), e.type) {
1069
+ switch (t === void 0 && (t = qe), e.type) {
1070
1070
  case "ObjectPattern":
1071
1071
  for (var s = 0, r = e.properties; s < r.length; s += 1) {
1072
1072
  var n = r[s];
@@ -1084,7 +1084,7 @@ z.checkLValPattern = function(e, t, i) {
1084
1084
  }
1085
1085
  };
1086
1086
  z.checkLValInnerPattern = function(e, t, i) {
1087
- switch (t === void 0 && (t = $e), e.type) {
1087
+ switch (t === void 0 && (t = qe), e.type) {
1088
1088
  case "Property":
1089
1089
  this.checkLValInnerPattern(e.value, t, i);
1090
1090
  break;
@@ -1098,33 +1098,33 @@ z.checkLValInnerPattern = function(e, t, i) {
1098
1098
  this.checkLValPattern(e, t, i);
1099
1099
  }
1100
1100
  };
1101
- var H = function(t, i, s, r, n) {
1101
+ var Q = function(t, i, s, r, n) {
1102
1102
  this.token = t, this.isExpr = !!i, this.preserveSpace = !!s, this.override = r, this.generator = !!n;
1103
1103
  }, N = {
1104
- b_stat: new H("{", !1),
1105
- b_expr: new H("{", !0),
1106
- b_tmpl: new H("${", !1),
1107
- p_stat: new H("(", !1),
1108
- p_expr: new H("(", !0),
1109
- q_tmpl: new H("`", !0, !0, function(e) {
1104
+ b_stat: new Q("{", !1),
1105
+ b_expr: new Q("{", !0),
1106
+ b_tmpl: new Q("${", !1),
1107
+ p_stat: new Q("(", !1),
1108
+ p_expr: new Q("(", !0),
1109
+ q_tmpl: new Q("`", !0, !0, function(e) {
1110
1110
  return e.tryReadTemplateToken();
1111
1111
  }),
1112
- f_stat: new H("function", !1),
1113
- f_expr: new H("function", !0),
1114
- f_expr_gen: new H("function", !0, !1, null, !0),
1115
- f_gen: new H("function", !1, !1, null, !0)
1116
- }, ke = L.prototype;
1117
- ke.initialContext = function() {
1112
+ f_stat: new Q("function", !1),
1113
+ f_expr: new Q("function", !0),
1114
+ f_expr_gen: new Q("function", !0, !1, null, !0),
1115
+ f_gen: new Q("function", !1, !1, null, !0)
1116
+ }, we = L.prototype;
1117
+ we.initialContext = function() {
1118
1118
  return [N.b_stat];
1119
1119
  };
1120
- ke.curContext = function() {
1120
+ we.curContext = function() {
1121
1121
  return this.context[this.context.length - 1];
1122
1122
  };
1123
- ke.braceIsBlock = function(e) {
1123
+ we.braceIsBlock = function(e) {
1124
1124
  var t = this.curContext();
1125
1125
  return t === N.f_expr || t === N.f_stat ? !0 : e === a.colon && (t === N.b_stat || t === N.b_expr) ? !t.isExpr : e === a._return || e === a.name && this.exprAllowed ? F.test(this.input.slice(this.lastTokEnd, this.start)) : e === a._else || e === a.semi || e === a.eof || e === a.parenR || e === a.arrow ? !0 : e === a.braceL ? t === N.b_stat : e === a._var || e === a._const || e === a.name ? !1 : !this.exprAllowed;
1126
1126
  };
1127
- ke.inGeneratorContext = function() {
1127
+ we.inGeneratorContext = function() {
1128
1128
  for (var e = this.context.length - 1; e >= 1; e--) {
1129
1129
  var t = this.context[e];
1130
1130
  if (t.token === "function")
@@ -1132,11 +1132,11 @@ ke.inGeneratorContext = function() {
1132
1132
  }
1133
1133
  return !1;
1134
1134
  };
1135
- ke.updateContext = function(e) {
1135
+ we.updateContext = function(e) {
1136
1136
  var t, i = this.type;
1137
1137
  i.keyword && e === a.dot ? this.exprAllowed = !1 : (t = i.updateContext) ? t.call(this, e) : this.exprAllowed = i.beforeExpr;
1138
1138
  };
1139
- ke.overrideContext = function(e) {
1139
+ we.overrideContext = function(e) {
1140
1140
  this.curContext() !== e && (this.context[this.context.length - 1] = e);
1141
1141
  };
1142
1142
  a.parenR.updateContext = a.braceR.updateContext = function() {
@@ -1229,7 +1229,7 @@ S.parseMaybeAssign = function(e, t, i) {
1229
1229
  this.exprAllowed = !1;
1230
1230
  }
1231
1231
  var s = !1, r = -1, n = -1, o = -1;
1232
- t ? (r = t.parenthesizedAssign, n = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Ze(), s = !0);
1232
+ t ? (r = t.parenthesizedAssign, n = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Xe(), s = !0);
1233
1233
  var l = this.start, u = this.startLoc;
1234
1234
  (this.type === a.parenL || this.type === a.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
1235
1235
  var h = this.parseMaybeConditional(e, t);
@@ -1277,7 +1277,7 @@ S.parseMaybeUnary = function(e, t, i, s) {
1277
1277
  o = this.parseAwait(s), t = !0;
1278
1278
  else if (this.type.prefix) {
1279
1279
  var l = this.startNode(), u = this.type === a.incDec;
1280
- l.operator = this.value, l.prefix = !0, this.next(), l.argument = this.parseMaybeUnary(null, !0, u, s), this.checkExpressionErrors(e, !0), u ? this.checkLValSimple(l.argument) : this.strict && l.operator === "delete" && ui(l.argument) ? this.raiseRecoverable(l.start, "Deleting local variable in strict mode") : l.operator === "delete" && gt(l.argument) ? this.raiseRecoverable(l.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(l, u ? "UpdateExpression" : "UnaryExpression");
1280
+ l.operator = this.value, l.prefix = !0, this.next(), l.argument = this.parseMaybeUnary(null, !0, u, s), this.checkExpressionErrors(e, !0), u ? this.checkLValSimple(l.argument) : this.strict && l.operator === "delete" && hi(l.argument) ? this.raiseRecoverable(l.start, "Deleting local variable in strict mode") : l.operator === "delete" && xt(l.argument) ? this.raiseRecoverable(l.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(l, u ? "UpdateExpression" : "UnaryExpression");
1281
1281
  } else if (!t && this.type === a.privateId)
1282
1282
  (s || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), o = this.parsePrivateIdent(), this.type !== a._in && this.unexpected();
1283
1283
  else {
@@ -1296,11 +1296,11 @@ S.parseMaybeUnary = function(e, t, i, s) {
1296
1296
  else
1297
1297
  return o;
1298
1298
  };
1299
- function ui(e) {
1300
- return e.type === "Identifier" || e.type === "ParenthesizedExpression" && ui(e.expression);
1299
+ function hi(e) {
1300
+ return e.type === "Identifier" || e.type === "ParenthesizedExpression" && hi(e.expression);
1301
1301
  }
1302
- function gt(e) {
1303
- return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && gt(e.expression) || e.type === "ParenthesizedExpression" && gt(e.expression);
1302
+ function xt(e) {
1303
+ return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && xt(e.expression) || e.type === "ParenthesizedExpression" && xt(e.expression);
1304
1304
  }
1305
1305
  S.parseExprSubscripts = function(e, t) {
1306
1306
  var i = this.start, s = this.startLoc, r = this.parseExprAtom(e, t);
@@ -1336,7 +1336,7 @@ S.parseSubscript = function(e, t, i, s, r, n, o) {
1336
1336
  var f = this.startNodeAt(t, i);
1337
1337
  f.object = e, h ? (f.property = this.parseExpression(), this.expect(a.bracketR)) : this.type === a.privateId && e.type !== "Super" ? f.property = this.parsePrivateIdent() : f.property = this.parseIdent(this.options.allowReserved !== "never"), f.computed = !!h, l && (f.optional = u), e = this.finishNode(f, "MemberExpression");
1338
1338
  } else if (!s && this.eat(a.parenL)) {
1339
- var c = new Ze(), p = this.yieldPos, x = this.awaitPos, y = this.awaitIdentPos;
1339
+ var c = new Xe(), p = this.yieldPos, x = this.awaitPos, y = this.awaitIdentPos;
1340
1340
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
1341
1341
  var d = this.parseExprList(a.parenR, this.options.ecmaVersion >= 8, !1, c);
1342
1342
  if (r && !u && this.shouldParseAsyncArrow())
@@ -1444,7 +1444,7 @@ S.parseParenAndDistinguishExpression = function(e, t) {
1444
1444
  var i = this.start, s = this.startLoc, r, n = this.options.ecmaVersion >= 8;
1445
1445
  if (this.options.ecmaVersion >= 6) {
1446
1446
  this.next();
1447
- var o = this.start, l = this.startLoc, u = [], h = !0, f = !1, c = new Ze(), p = this.yieldPos, x = this.awaitPos, y;
1447
+ var o = this.start, l = this.startLoc, u = [], h = !0, f = !1, c = new Xe(), p = this.yieldPos, x = this.awaitPos, y;
1448
1448
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== a.parenR; )
1449
1449
  if (h ? h = !1 : this.expect(a.comma), n && this.afterTrailingComma(a.parenR, !0)) {
1450
1450
  f = !0;
@@ -1475,7 +1475,7 @@ S.parseParenItem = function(e) {
1475
1475
  S.parseParenArrowList = function(e, t, i, s) {
1476
1476
  return this.parseArrowExpression(this.startNodeAt(e, t), i, !1, s);
1477
1477
  };
1478
- var fs = [];
1478
+ var ms = [];
1479
1479
  S.parseNew = function() {
1480
1480
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
1481
1481
  var e = this.startNode();
@@ -1486,7 +1486,7 @@ S.parseNew = function() {
1486
1486
  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'"), i && 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");
1487
1487
  }
1488
1488
  var s = this.start, r = this.startLoc;
1489
- return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), s, r, !0, !1), this.eat(a.parenL) ? e.arguments = this.parseExprList(a.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = fs, this.finishNode(e, "NewExpression");
1489
+ return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), s, r, !0, !1), this.eat(a.parenL) ? e.arguments = this.parseExprList(a.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = ms, this.finishNode(e, "NewExpression");
1490
1490
  };
1491
1491
  S.parseTemplateElement = function(e) {
1492
1492
  var t = e.isTagged, i = this.startNode();
@@ -1560,11 +1560,11 @@ S.initFunction = function(e) {
1560
1560
  };
1561
1561
  S.parseMethod = function(e, t, i) {
1562
1562
  var s = this.startNode(), r = this.yieldPos, n = this.awaitPos, o = this.awaitIdentPos;
1563
- return this.initFunction(s), this.options.ecmaVersion >= 6 && (s.generator = e), this.options.ecmaVersion >= 8 && (s.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(_t(t, s.generator) | Je | (i ? si : 0)), this.expect(a.parenL), s.params = this.parseBindingList(a.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(s, !1, !0, !1), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = o, this.finishNode(s, "FunctionExpression");
1563
+ return this.initFunction(s), this.options.ecmaVersion >= 6 && (s.generator = e), this.options.ecmaVersion >= 8 && (s.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ct(t, s.generator) | Ye | (i ? ni : 0)), this.expect(a.parenL), s.params = this.parseBindingList(a.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(s, !1, !0, !1), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = o, this.finishNode(s, "FunctionExpression");
1564
1564
  };
1565
1565
  S.parseArrowExpression = function(e, t, i, s) {
1566
1566
  var r = this.yieldPos, n = this.awaitPos, o = this.awaitIdentPos;
1567
- return this.enterScope(_t(i, !1) | wt), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!i), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, !0), this.parseFunctionBody(e, !0, !1, s), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = o, this.finishNode(e, "ArrowFunctionExpression");
1567
+ return this.enterScope(Ct(i, !1) | _t), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!i), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, !0), this.parseFunctionBody(e, !0, !1, s), this.yieldPos = r, this.awaitPos = n, this.awaitIdentPos = o, this.finishNode(e, "ArrowFunctionExpression");
1568
1568
  };
1569
1569
  S.parseFunctionBody = function(e, t, i, s) {
1570
1570
  var r = t && this.type !== a.braceL, n = this.strict, o = !1;
@@ -1574,7 +1574,7 @@ S.parseFunctionBody = function(e, t, i, s) {
1574
1574
  var l = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
1575
1575
  (!n || l) && (o = this.strictDirective(this.end), o && l && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
1576
1576
  var u = this.labels;
1577
- this.labels = [], o && (this.strict = !0), this.checkParams(e, !n && !o && !t && !i && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, ai), e.body = this.parseBlock(!1, void 0, o && !n), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = u;
1577
+ this.labels = [], o && (this.strict = !0), this.checkParams(e, !n && !o && !t && !i && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, ui), e.body = this.parseBlock(!1, void 0, o && !n), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = u;
1578
1578
  }
1579
1579
  this.exitScope();
1580
1580
  };
@@ -1589,7 +1589,7 @@ S.isSimpleParamList = function(e) {
1589
1589
  S.checkParams = function(e, t) {
1590
1590
  for (var i = /* @__PURE__ */ Object.create(null), s = 0, r = e.params; s < r.length; s += 1) {
1591
1591
  var n = r[s];
1592
- this.checkLValInnerPattern(n, Ct, t ? null : i);
1592
+ this.checkLValInnerPattern(n, Et, t ? null : i);
1593
1593
  }
1594
1594
  };
1595
1595
  S.parseExprList = function(e, t, i, s) {
@@ -1605,7 +1605,7 @@ S.parseExprList = function(e, t, i, s) {
1605
1605
  };
1606
1606
  S.checkUnreserved = function(e) {
1607
1607
  var t = e.start, i = e.end, s = e.name;
1608
- if (this.inGenerator && s === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && s === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & Ye) && s === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (s === "arguments" || s === "await") && this.raise(t, "Cannot use " + s + " in class static initialization block"), this.keywords.test(s) && this.raise(t, "Unexpected keyword '" + s + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, i).indexOf("\\") !== -1)) {
1608
+ if (this.inGenerator && s === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && s === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & Ze) && s === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (s === "arguments" || s === "await") && this.raise(t, "Cannot use " + s + " in class static initialization block"), this.keywords.test(s) && this.raise(t, "Unexpected keyword '" + s + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, i).indexOf("\\") !== -1)) {
1609
1609
  var r = this.strict ? this.reservedWordsStrict : this.reservedWords;
1610
1610
  r.test(s) && (!this.inAsync && s === "await" && this.raiseRecoverable(t, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t, "The keyword '" + s + "' is reserved"));
1611
1611
  }
@@ -1634,7 +1634,7 @@ S.parseAwait = function(e) {
1634
1634
  };
1635
1635
  var Ke = L.prototype;
1636
1636
  Ke.raise = function(e, t) {
1637
- var i = ei(this.input, e);
1637
+ var i = ii(this.input, e);
1638
1638
  t += " (" + i.line + ":" + i.column + ")", this.sourceFile && (t += " in " + this.sourceFile);
1639
1639
  var s = new SyntaxError(t);
1640
1640
  throw s.pos = e, s.loc = i, s.raisedAt = this.pos, s;
@@ -1642,39 +1642,39 @@ Ke.raise = function(e, t) {
1642
1642
  Ke.raiseRecoverable = Ke.raise;
1643
1643
  Ke.curPosition = function() {
1644
1644
  if (this.options.locations)
1645
- return new Ae(this.curLine, this.pos - this.lineStart);
1645
+ return new Ie(this.curLine, this.pos - this.lineStart);
1646
1646
  };
1647
- var oe = L.prototype, ps = function(t) {
1647
+ var oe = L.prototype, gs = function(t) {
1648
1648
  this.flags = t, this.var = [], this.lexical = [], this.functions = [];
1649
1649
  };
1650
1650
  oe.enterScope = function(e) {
1651
- this.scopeStack.push(new ps(e));
1651
+ this.scopeStack.push(new gs(e));
1652
1652
  };
1653
1653
  oe.exitScope = function() {
1654
1654
  this.scopeStack.pop();
1655
1655
  };
1656
1656
  oe.treatFunctionsAsVarInScope = function(e) {
1657
- return e.flags & Se || !this.inModule && e.flags & Ie;
1657
+ return e.flags & ke || !this.inModule && e.flags & Ne;
1658
1658
  };
1659
1659
  oe.declareName = function(e, t, i) {
1660
1660
  var s = !1;
1661
1661
  if (t === se) {
1662
1662
  var r = this.currentScope();
1663
- s = r.lexical.indexOf(e) > -1 || r.functions.indexOf(e) > -1 || r.var.indexOf(e) > -1, r.lexical.push(e), this.inModule && r.flags & Ie && delete this.undefinedExports[e];
1664
- } else if (t === ni) {
1663
+ s = r.lexical.indexOf(e) > -1 || r.functions.indexOf(e) > -1 || r.var.indexOf(e) > -1, r.lexical.push(e), this.inModule && r.flags & Ne && delete this.undefinedExports[e];
1664
+ } else if (t === oi) {
1665
1665
  var n = this.currentScope();
1666
1666
  n.lexical.push(e);
1667
- } else if (t === ri) {
1667
+ } else if (t === ai) {
1668
1668
  var o = this.currentScope();
1669
1669
  this.treatFunctionsAsVar ? s = o.lexical.indexOf(e) > -1 : s = o.lexical.indexOf(e) > -1 || o.var.indexOf(e) > -1, o.functions.push(e);
1670
1670
  } else
1671
1671
  for (var l = this.scopeStack.length - 1; l >= 0; --l) {
1672
1672
  var u = this.scopeStack[l];
1673
- if (u.lexical.indexOf(e) > -1 && !(u.flags & ii && u.lexical[0] === e) || !this.treatFunctionsAsVarInScope(u) && u.functions.indexOf(e) > -1) {
1673
+ if (u.lexical.indexOf(e) > -1 && !(u.flags & ri && u.lexical[0] === e) || !this.treatFunctionsAsVarInScope(u) && u.functions.indexOf(e) > -1) {
1674
1674
  s = !0;
1675
1675
  break;
1676
1676
  }
1677
- if (u.var.push(e), this.inModule && u.flags & Ie && delete this.undefinedExports[e], u.flags & Ye)
1677
+ if (u.var.push(e), this.inModule && u.flags & Ne && delete this.undefinedExports[e], u.flags & Ze)
1678
1678
  break;
1679
1679
  }
1680
1680
  s && this.raiseRecoverable(i, "Identifier '" + e + "' has already been declared");
@@ -1688,93 +1688,93 @@ oe.currentScope = function() {
1688
1688
  oe.currentVarScope = function() {
1689
1689
  for (var e = this.scopeStack.length - 1; ; e--) {
1690
1690
  var t = this.scopeStack[e];
1691
- if (t.flags & (Ye | Pe | pe))
1691
+ if (t.flags & (Ze | Oe | pe))
1692
1692
  return t;
1693
1693
  }
1694
1694
  };
1695
1695
  oe.currentThisScope = function() {
1696
1696
  for (var e = this.scopeStack.length - 1; ; e--) {
1697
1697
  var t = this.scopeStack[e];
1698
- if (t.flags & (Ye | Pe | pe) && !(t.flags & wt))
1698
+ if (t.flags & (Ze | Oe | pe) && !(t.flags & _t))
1699
1699
  return t;
1700
1700
  }
1701
1701
  };
1702
- var Xe = function(t, i, s) {
1703
- this.type = "", this.start = i, this.end = 0, t.options.locations && (this.loc = new Qe(t, s)), t.options.directSourceFile && (this.sourceFile = t.options.directSourceFile), t.options.ranges && (this.range = [i, 0]);
1704
- }, Oe = L.prototype;
1705
- Oe.startNode = function() {
1706
- return new Xe(this, this.start, this.startLoc);
1702
+ var et = function(t, i, s) {
1703
+ this.type = "", this.start = i, this.end = 0, t.options.locations && (this.loc = new Je(t, s)), t.options.directSourceFile && (this.sourceFile = t.options.directSourceFile), t.options.ranges && (this.range = [i, 0]);
1704
+ }, Ve = L.prototype;
1705
+ Ve.startNode = function() {
1706
+ return new et(this, this.start, this.startLoc);
1707
1707
  };
1708
- Oe.startNodeAt = function(e, t) {
1709
- return new Xe(this, e, t);
1708
+ Ve.startNodeAt = function(e, t) {
1709
+ return new et(this, e, t);
1710
1710
  };
1711
- function li(e, t, i, s) {
1711
+ function ci(e, t, i, s) {
1712
1712
  return e.type = t, e.end = i, this.options.locations && (e.loc.end = s), this.options.ranges && (e.range[1] = i), e;
1713
1713
  }
1714
- Oe.finishNode = function(e, t) {
1715
- return li.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
1714
+ Ve.finishNode = function(e, t) {
1715
+ return ci.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
1716
1716
  };
1717
- Oe.finishNodeAt = function(e, t, i, s) {
1718
- return li.call(this, e, t, i, s);
1717
+ Ve.finishNodeAt = function(e, t, i, s) {
1718
+ return ci.call(this, e, t, i, s);
1719
1719
  };
1720
- Oe.copyNode = function(e) {
1721
- var t = new Xe(this, e.start, this.startLoc);
1720
+ Ve.copyNode = function(e) {
1721
+ var t = new et(this, e.start, this.startLoc);
1722
1722
  for (var i in e)
1723
1723
  t[i] = e[i];
1724
1724
  return t;
1725
1725
  };
1726
- var ds = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", hi = "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", ci = hi + " Extended_Pictographic", fi = ci, pi = fi + " EBase EComp EMod EPres ExtPict", di = pi, ms = di, gs = {
1727
- 9: hi,
1728
- 10: ci,
1729
- 11: fi,
1730
- 12: pi,
1731
- 13: di,
1732
- 14: ms
1733
- }, bs = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", xs = {
1726
+ var bs = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", fi = "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", pi = fi + " Extended_Pictographic", di = pi, mi = di + " EBase EComp EMod EPres ExtPict", gi = mi, xs = gi, ys = {
1727
+ 9: fi,
1728
+ 10: pi,
1729
+ 11: di,
1730
+ 12: mi,
1731
+ 13: gi,
1732
+ 14: xs
1733
+ }, vs = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", Ss = {
1734
1734
  9: "",
1735
1735
  10: "",
1736
1736
  11: "",
1737
1737
  12: "",
1738
1738
  13: "",
1739
- 14: bs
1740
- }, $t = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", mi = "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", gi = mi + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", bi = gi + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", xi = bi + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", yi = xi + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", ys = yi + " " + ds, vs = {
1741
- 9: mi,
1742
- 10: gi,
1743
- 11: bi,
1744
- 12: xi,
1745
- 13: yi,
1746
- 14: ys
1747
- }, vi = {};
1748
- function Ss(e) {
1749
- var t = vi[e] = {
1750
- binary: ne(gs[e] + " " + $t),
1751
- binaryOfStrings: ne(xs[e]),
1739
+ 14: vs
1740
+ }, Wt = "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", bi = "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", xi = bi + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", yi = xi + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", vi = yi + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Si = vi + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", ks = Si + " " + bs, ws = {
1741
+ 9: bi,
1742
+ 10: xi,
1743
+ 11: yi,
1744
+ 12: vi,
1745
+ 13: Si,
1746
+ 14: ks
1747
+ }, ki = {};
1748
+ function _s(e) {
1749
+ var t = ki[e] = {
1750
+ binary: ne(ys[e] + " " + Wt),
1751
+ binaryOfStrings: ne(Ss[e]),
1752
1752
  nonBinary: {
1753
- General_Category: ne($t),
1754
- Script: ne(vs[e])
1753
+ General_Category: ne(Wt),
1754
+ Script: ne(ws[e])
1755
1755
  }
1756
1756
  };
1757
1757
  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;
1758
1758
  }
1759
- for (var ht = 0, qt = [9, 10, 11, 12, 13, 14]; ht < qt.length; ht += 1) {
1760
- var ks = qt[ht];
1761
- Ss(ks);
1759
+ for (var ct = 0, Kt = [9, 10, 11, 12, 13, 14]; ct < Kt.length; ct += 1) {
1760
+ var Cs = Kt[ct];
1761
+ _s(Cs);
1762
1762
  }
1763
- var m = L.prototype, We = function(t, i) {
1763
+ var m = L.prototype, Ge = function(t, i) {
1764
1764
  this.parent = t, this.base = i || this;
1765
1765
  };
1766
- We.prototype.separatedFrom = function(t) {
1766
+ Ge.prototype.separatedFrom = function(t) {
1767
1767
  for (var i = this; i; i = i.parent)
1768
1768
  for (var s = t; s; s = s.parent)
1769
1769
  if (i.base === s.base && i !== s)
1770
1770
  return !0;
1771
1771
  return !1;
1772
1772
  };
1773
- We.prototype.sibling = function() {
1774
- return new We(this.parent, this.base);
1773
+ Ge.prototype.sibling = function() {
1774
+ return new Ge(this.parent, this.base);
1775
1775
  };
1776
1776
  var Z = function(t) {
1777
- this.parser = t, this.validFlags = "gim" + (t.options.ecmaVersion >= 6 ? "uy" : "") + (t.options.ecmaVersion >= 9 ? "s" : "") + (t.options.ecmaVersion >= 13 ? "d" : "") + (t.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = vi[t.options.ecmaVersion >= 14 ? 14 : t.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 = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
1777
+ this.parser = t, this.validFlags = "gim" + (t.options.ecmaVersion >= 6 ? "uy" : "") + (t.options.ecmaVersion >= 9 ? "s" : "") + (t.options.ecmaVersion >= 13 ? "d" : "") + (t.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = ki[t.options.ecmaVersion >= 14 ? 14 : t.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 = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
1778
1778
  };
1779
1779
  Z.prototype.reset = function(t, i, s) {
1780
1780
  var r = s.indexOf("v") !== -1, n = s.indexOf("u") !== -1;
@@ -1831,13 +1831,13 @@ m.validateRegExpFlags = function(e) {
1831
1831
  }
1832
1832
  this.options.ecmaVersion >= 15 && s && r && this.raise(e.start, "Invalid regular expression flag");
1833
1833
  };
1834
- function ws(e) {
1834
+ function Es(e) {
1835
1835
  for (var t in e)
1836
1836
  return !0;
1837
1837
  return !1;
1838
1838
  }
1839
1839
  m.validateRegExpPattern = function(e) {
1840
- this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && ws(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
1840
+ this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && Es(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
1841
1841
  };
1842
1842
  m.regexp_pattern = function(e) {
1843
1843
  e.pos = 0, e.lastIntValue = 0, e.lastStringValue = "", e.lastAssertionIsQuantifiable = !1, e.numCapturingParens = 0, e.maxBackReference = 0, e.groupNames = /* @__PURE__ */ Object.create(null), e.backReferenceNames.length = 0, e.branchID = null, this.regexp_disjunction(e), e.pos !== e.source.length && (e.eat(
@@ -1857,7 +1857,7 @@ m.regexp_pattern = function(e) {
1857
1857
  };
1858
1858
  m.regexp_disjunction = function(e) {
1859
1859
  var t = this.options.ecmaVersion >= 16;
1860
- for (t && (e.branchID = new We(e.branchID, null)), this.regexp_alternative(e); e.eat(
1860
+ for (t && (e.branchID = new Ge(e.branchID, null)), this.regexp_alternative(e); e.eat(
1861
1861
  124
1862
1862
  /* | */
1863
1863
  ); )
@@ -2039,11 +2039,11 @@ m.regexp_eatCapturingGroup = function(e) {
2039
2039
  return !1;
2040
2040
  };
2041
2041
  m.regexp_eatModifiers = function(e) {
2042
- for (var t = "", i = 0; (i = e.current()) !== -1 && _s(i); )
2042
+ for (var t = "", i = 0; (i = e.current()) !== -1 && As(i); )
2043
2043
  t += te(i), e.advance();
2044
2044
  return t;
2045
2045
  };
2046
- function _s(e) {
2046
+ function As(e) {
2047
2047
  return e === 105 || e === 109 || e === 115;
2048
2048
  }
2049
2049
  m.regexp_eatExtendedAtom = function(e) {
@@ -2057,13 +2057,13 @@ m.regexp_eatInvalidBracedQuantifier = function(e) {
2057
2057
  };
2058
2058
  m.regexp_eatSyntaxCharacter = function(e) {
2059
2059
  var t = e.current();
2060
- return Si(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2060
+ return wi(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2061
2061
  };
2062
- function Si(e) {
2062
+ function wi(e) {
2063
2063
  return e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e >= 91 && e <= 94 || e >= 123 && e <= 125;
2064
2064
  }
2065
2065
  m.regexp_eatPatternCharacters = function(e) {
2066
- for (var t = e.pos, i = 0; (i = e.current()) !== -1 && !Si(i); )
2066
+ for (var t = e.pos, i = 0; (i = e.current()) !== -1 && !wi(i); )
2067
2067
  e.advance();
2068
2068
  return e.pos !== t;
2069
2069
  };
@@ -2113,16 +2113,16 @@ m.regexp_eatRegExpIdentifierName = function(e) {
2113
2113
  };
2114
2114
  m.regexp_eatRegExpIdentifierStart = function(e) {
2115
2115
  var t = e.pos, i = this.options.ecmaVersion >= 11, s = e.current(i);
2116
- return e.advance(i), s === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, i) && (s = e.lastIntValue), Cs(s) ? (e.lastIntValue = s, !0) : (e.pos = t, !1);
2116
+ return e.advance(i), s === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, i) && (s = e.lastIntValue), Is(s) ? (e.lastIntValue = s, !0) : (e.pos = t, !1);
2117
2117
  };
2118
- function Cs(e) {
2118
+ function Is(e) {
2119
2119
  return J(e, !0) || e === 36 || e === 95;
2120
2120
  }
2121
2121
  m.regexp_eatRegExpIdentifierPart = function(e) {
2122
2122
  var t = e.pos, i = this.options.ecmaVersion >= 11, s = e.current(i);
2123
- return e.advance(i), s === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, i) && (s = e.lastIntValue), Es(s) ? (e.lastIntValue = s, !0) : (e.pos = t, !1);
2123
+ return e.advance(i), s === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, i) && (s = e.lastIntValue), Ns(s) ? (e.lastIntValue = s, !0) : (e.pos = t, !1);
2124
2124
  };
2125
- function Es(e) {
2125
+ function Ns(e) {
2126
2126
  return ae(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
2127
2127
  }
2128
2128
  m.regexp_eatAtomEscape = function(e) {
@@ -2167,7 +2167,7 @@ m.regexp_eatCControlLetter = function(e) {
2167
2167
  return !1;
2168
2168
  };
2169
2169
  m.regexp_eatZero = function(e) {
2170
- return e.current() === 48 && !et(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
2170
+ return e.current() === 48 && !tt(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
2171
2171
  };
2172
2172
  m.regexp_eatControlEscape = function(e) {
2173
2173
  var t = e.current();
@@ -2175,9 +2175,9 @@ m.regexp_eatControlEscape = function(e) {
2175
2175
  };
2176
2176
  m.regexp_eatControlLetter = function(e) {
2177
2177
  var t = e.current();
2178
- return ki(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2178
+ return _i(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2179
2179
  };
2180
- function ki(e) {
2180
+ function _i(e) {
2181
2181
  return e >= 65 && e <= 90 || e >= 97 && e <= 122;
2182
2182
  }
2183
2183
  m.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
@@ -2212,13 +2212,13 @@ m.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
2212
2212
  ) && this.regexp_eatHexDigits(e) && e.eat(
2213
2213
  125
2214
2214
  /* } */
2215
- ) && As(e.lastIntValue))
2215
+ ) && Ps(e.lastIntValue))
2216
2216
  return !0;
2217
2217
  s && e.raise("Invalid unicode escape"), e.pos = i;
2218
2218
  }
2219
2219
  return !1;
2220
2220
  };
2221
- function As(e) {
2221
+ function Ps(e) {
2222
2222
  return e >= 0 && e <= 1114111;
2223
2223
  }
2224
2224
  m.regexp_eatIdentityEscape = function(e) {
@@ -2241,10 +2241,10 @@ m.regexp_eatDecimalEscape = function(e) {
2241
2241
  }
2242
2242
  return !1;
2243
2243
  };
2244
- var wi = 0, ie = 1, G = 2;
2244
+ var Ci = 0, ie = 1, G = 2;
2245
2245
  m.regexp_eatCharacterClassEscape = function(e) {
2246
2246
  var t = e.current();
2247
- if (Is(t))
2247
+ if (Os(t))
2248
2248
  return e.lastIntValue = -1, e.advance(), ie;
2249
2249
  var i = !1;
2250
2250
  if (e.switchU && this.options.ecmaVersion >= 9 && ((i = t === 80) || t === 112)) {
@@ -2260,9 +2260,9 @@ m.regexp_eatCharacterClassEscape = function(e) {
2260
2260
  return i && s === G && e.raise("Invalid property name"), s;
2261
2261
  e.raise("Invalid property name");
2262
2262
  }
2263
- return wi;
2263
+ return Ci;
2264
2264
  };
2265
- function Is(e) {
2265
+ function Os(e) {
2266
2266
  return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87;
2267
2267
  }
2268
2268
  m.regexp_eatUnicodePropertyValueExpression = function(e) {
@@ -2281,10 +2281,10 @@ m.regexp_eatUnicodePropertyValueExpression = function(e) {
2281
2281
  var r = e.lastStringValue;
2282
2282
  return this.regexp_validateUnicodePropertyNameOrValue(e, r);
2283
2283
  }
2284
- return wi;
2284
+ return Ci;
2285
2285
  };
2286
2286
  m.regexp_validateUnicodePropertyNameAndValue = function(e, t, i) {
2287
- ve(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(i) || e.raise("Invalid property value");
2287
+ Se(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(i) || e.raise("Invalid property value");
2288
2288
  };
2289
2289
  m.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
2290
2290
  if (e.unicodeProperties.binary.test(t))
@@ -2295,21 +2295,21 @@ m.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
2295
2295
  };
2296
2296
  m.regexp_eatUnicodePropertyName = function(e) {
2297
2297
  var t = 0;
2298
- for (e.lastStringValue = ""; _i(t = e.current()); )
2298
+ for (e.lastStringValue = ""; Ei(t = e.current()); )
2299
2299
  e.lastStringValue += te(t), e.advance();
2300
2300
  return e.lastStringValue !== "";
2301
2301
  };
2302
- function _i(e) {
2303
- return ki(e) || e === 95;
2302
+ function Ei(e) {
2303
+ return _i(e) || e === 95;
2304
2304
  }
2305
2305
  m.regexp_eatUnicodePropertyValue = function(e) {
2306
2306
  var t = 0;
2307
- for (e.lastStringValue = ""; Ns(t = e.current()); )
2307
+ for (e.lastStringValue = ""; Vs(t = e.current()); )
2308
2308
  e.lastStringValue += te(t), e.advance();
2309
2309
  return e.lastStringValue !== "";
2310
2310
  };
2311
- function Ns(e) {
2312
- return _i(e) || et(e);
2311
+ function Vs(e) {
2312
+ return Ei(e) || tt(e);
2313
2313
  }
2314
2314
  m.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2315
2315
  return this.regexp_eatUnicodePropertyValue(e);
@@ -2355,7 +2355,7 @@ m.regexp_eatClassAtom = function(e) {
2355
2355
  return !0;
2356
2356
  if (e.switchU) {
2357
2357
  var i = e.current();
2358
- (i === 99 || Ai(i)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
2358
+ (i === 99 || Ni(i)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
2359
2359
  }
2360
2360
  e.pos = t;
2361
2361
  }
@@ -2508,24 +2508,24 @@ m.regexp_eatClassSetCharacter = function(e) {
2508
2508
  /* b */
2509
2509
  ) ? (e.lastIntValue = 8, !0) : (e.pos = t, !1);
2510
2510
  var i = e.current();
2511
- return i < 0 || i === e.lookahead() && Ps(i) || Os(i) ? !1 : (e.advance(), e.lastIntValue = i, !0);
2511
+ return i < 0 || i === e.lookahead() && Ls(i) || Ts(i) ? !1 : (e.advance(), e.lastIntValue = i, !0);
2512
2512
  };
2513
- function Ps(e) {
2513
+ function Ls(e) {
2514
2514
  return e === 33 || e >= 35 && e <= 38 || e >= 42 && e <= 44 || e === 46 || e >= 58 && e <= 64 || e === 94 || e === 96 || e === 126;
2515
2515
  }
2516
- function Os(e) {
2516
+ function Ts(e) {
2517
2517
  return e === 40 || e === 41 || e === 45 || e === 47 || e >= 91 && e <= 93 || e >= 123 && e <= 125;
2518
2518
  }
2519
2519
  m.regexp_eatClassSetReservedPunctuator = function(e) {
2520
2520
  var t = e.current();
2521
- return Vs(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2521
+ return Rs(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2522
2522
  };
2523
- function Vs(e) {
2523
+ function Rs(e) {
2524
2524
  return e === 33 || e === 35 || e === 37 || e === 38 || e === 44 || e === 45 || e >= 58 && e <= 62 || e === 64 || e === 96 || e === 126;
2525
2525
  }
2526
2526
  m.regexp_eatClassControlLetter = function(e) {
2527
2527
  var t = e.current();
2528
- return et(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2528
+ return tt(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2529
2529
  };
2530
2530
  m.regexp_eatHexEscapeSequence = function(e) {
2531
2531
  var t = e.pos;
@@ -2541,23 +2541,23 @@ m.regexp_eatHexEscapeSequence = function(e) {
2541
2541
  };
2542
2542
  m.regexp_eatDecimalDigits = function(e) {
2543
2543
  var t = e.pos, i = 0;
2544
- for (e.lastIntValue = 0; et(i = e.current()); )
2544
+ for (e.lastIntValue = 0; tt(i = e.current()); )
2545
2545
  e.lastIntValue = 10 * e.lastIntValue + (i - 48), e.advance();
2546
2546
  return e.pos !== t;
2547
2547
  };
2548
- function et(e) {
2548
+ function tt(e) {
2549
2549
  return e >= 48 && e <= 57;
2550
2550
  }
2551
2551
  m.regexp_eatHexDigits = function(e) {
2552
2552
  var t = e.pos, i = 0;
2553
- for (e.lastIntValue = 0; Ci(i = e.current()); )
2554
- e.lastIntValue = 16 * e.lastIntValue + Ei(i), e.advance();
2553
+ for (e.lastIntValue = 0; Ai(i = e.current()); )
2554
+ e.lastIntValue = 16 * e.lastIntValue + Ii(i), e.advance();
2555
2555
  return e.pos !== t;
2556
2556
  };
2557
- function Ci(e) {
2557
+ function Ai(e) {
2558
2558
  return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
2559
2559
  }
2560
- function Ei(e) {
2560
+ function Ii(e) {
2561
2561
  return e >= 65 && e <= 70 ? 10 + (e - 65) : e >= 97 && e <= 102 ? 10 + (e - 97) : e - 48;
2562
2562
  }
2563
2563
  m.regexp_eatLegacyOctalEscapeSequence = function(e) {
@@ -2574,9 +2574,9 @@ m.regexp_eatLegacyOctalEscapeSequence = function(e) {
2574
2574
  };
2575
2575
  m.regexp_eatOctalDigit = function(e) {
2576
2576
  var t = e.current();
2577
- return Ai(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
2577
+ return Ni(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
2578
2578
  };
2579
- function Ai(e) {
2579
+ function Ni(e) {
2580
2580
  return e >= 48 && e <= 55;
2581
2581
  }
2582
2582
  m.regexp_eatFixedHexDigits = function(e, t) {
@@ -2584,20 +2584,20 @@ m.regexp_eatFixedHexDigits = function(e, t) {
2584
2584
  e.lastIntValue = 0;
2585
2585
  for (var s = 0; s < t; ++s) {
2586
2586
  var r = e.current();
2587
- if (!Ci(r))
2587
+ if (!Ai(r))
2588
2588
  return e.pos = i, !1;
2589
- e.lastIntValue = 16 * e.lastIntValue + Ei(r), e.advance();
2589
+ e.lastIntValue = 16 * e.lastIntValue + Ii(r), e.advance();
2590
2590
  }
2591
2591
  return !0;
2592
2592
  };
2593
- var At = function(t) {
2594
- this.type = t.type, this.value = t.value, this.start = t.start, this.end = t.end, t.options.locations && (this.loc = new Qe(t, t.startLoc, t.endLoc)), t.options.ranges && (this.range = [t.start, t.end]);
2593
+ var It = function(t) {
2594
+ this.type = t.type, this.value = t.value, this.start = t.start, this.end = t.end, t.options.locations && (this.loc = new Je(t, t.startLoc, t.endLoc)), t.options.ranges && (this.range = [t.start, t.end]);
2595
2595
  }, k = L.prototype;
2596
2596
  k.next = function(e) {
2597
- !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new At(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2597
+ !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new It(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2598
2598
  };
2599
2599
  k.getToken = function() {
2600
- return this.next(), new At(this);
2600
+ return this.next(), new It(this);
2601
2601
  };
2602
2602
  typeof Symbol < "u" && (k[Symbol.iterator] = function() {
2603
2603
  var e = this;
@@ -2632,7 +2632,7 @@ k.fullCharCodeAtPos = function() {
2632
2632
  k.skipBlockComment = function() {
2633
2633
  var e = this.options.onComment && this.curPosition(), t = this.pos, i = this.input.indexOf("*/", this.pos += 2);
2634
2634
  if (i === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = i + 2, this.options.locations)
2635
- for (var s = void 0, r = t; (s = Yt(this.input, r, this.pos)) > -1; )
2635
+ for (var s = void 0, r = t; (s = Xt(this.input, r, this.pos)) > -1; )
2636
2636
  ++this.curLine, r = this.lineStart = s;
2637
2637
  this.options.onComment && this.options.onComment(
2638
2638
  !0,
@@ -2644,7 +2644,7 @@ k.skipBlockComment = function() {
2644
2644
  );
2645
2645
  };
2646
2646
  k.skipLineComment = function(e) {
2647
- for (var t = this.pos, i = this.options.onComment && this.curPosition(), s = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !ye(s); )
2647
+ for (var t = this.pos, i = this.options.onComment && this.curPosition(), s = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !ve(s); )
2648
2648
  s = this.input.charCodeAt(++this.pos);
2649
2649
  this.options.onComment && this.options.onComment(
2650
2650
  !1,
@@ -2683,7 +2683,7 @@ k.skipSpace = function() {
2683
2683
  }
2684
2684
  break;
2685
2685
  default:
2686
- if (e > 8 && e < 14 || e >= 5760 && Zt.test(String.fromCharCode(e)))
2686
+ if (e > 8 && e < 14 || e >= 5760 && ei.test(String.fromCharCode(e)))
2687
2687
  ++this.pos;
2688
2688
  else
2689
2689
  break e;
@@ -2898,17 +2898,17 @@ k.readInt = function(e, t, i) {
2898
2898
  }
2899
2899
  return s && l === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === n || t != null && this.pos - n !== t ? null : o;
2900
2900
  };
2901
- function Ls(e, t) {
2901
+ function Bs(e, t) {
2902
2902
  return t ? parseInt(e, 8) : parseFloat(e.replace(/_/g, ""));
2903
2903
  }
2904
- function Ii(e) {
2904
+ function Pi(e) {
2905
2905
  return typeof BigInt != "function" ? null : BigInt(e.replace(/_/g, ""));
2906
2906
  }
2907
2907
  k.readRadixNumber = function(e) {
2908
2908
  var t = this.pos;
2909
2909
  this.pos += 2;
2910
2910
  var i = this.readInt(e);
2911
- return i == null && this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (i = Ii(this.input.slice(t, this.pos)), ++this.pos) : J(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(a.num, i);
2911
+ return i == null && this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (i = Pi(this.input.slice(t, this.pos)), ++this.pos) : J(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(a.num, i);
2912
2912
  };
2913
2913
  k.readNumber = function(e) {
2914
2914
  var t = this.pos;
@@ -2917,11 +2917,11 @@ k.readNumber = function(e) {
2917
2917
  i && this.strict && this.raise(t, "Invalid number");
2918
2918
  var s = this.input.charCodeAt(this.pos);
2919
2919
  if (!i && !e && this.options.ecmaVersion >= 11 && s === 110) {
2920
- var r = Ii(this.input.slice(t, this.pos));
2920
+ var r = Pi(this.input.slice(t, this.pos));
2921
2921
  return ++this.pos, J(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(a.num, r);
2922
2922
  }
2923
2923
  i && /[89]/.test(this.input.slice(t, this.pos)) && (i = !1), s === 46 && !i && (++this.pos, this.readInt(10), s = this.input.charCodeAt(this.pos)), (s === 69 || s === 101) && !i && (s = this.input.charCodeAt(++this.pos), (s === 43 || s === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), J(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
2924
- var n = Ls(this.input.slice(t, this.pos), i);
2924
+ var n = Bs(this.input.slice(t, this.pos), i);
2925
2925
  return this.finishToken(a.num, n);
2926
2926
  };
2927
2927
  k.readCodePoint = function() {
@@ -2940,17 +2940,17 @@ k.readString = function(e) {
2940
2940
  var s = this.input.charCodeAt(this.pos);
2941
2941
  if (s === e)
2942
2942
  break;
2943
- s === 92 ? (t += this.input.slice(i, this.pos), t += this.readEscapedChar(!1), i = this.pos) : s === 8232 || s === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (ye(s) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
2943
+ s === 92 ? (t += this.input.slice(i, this.pos), t += this.readEscapedChar(!1), i = this.pos) : s === 8232 || s === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (ve(s) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
2944
2944
  }
2945
2945
  return t += this.input.slice(i, this.pos++), this.finishToken(a.string, t);
2946
2946
  };
2947
- var Ni = {};
2947
+ var Oi = {};
2948
2948
  k.tryReadTemplateToken = function() {
2949
2949
  this.inTemplateElement = !0;
2950
2950
  try {
2951
2951
  this.readTmplToken();
2952
2952
  } catch (e) {
2953
- if (e === Ni)
2953
+ if (e === Oi)
2954
2954
  this.readInvalidTemplateToken();
2955
2955
  else
2956
2956
  throw e;
@@ -2959,7 +2959,7 @@ k.tryReadTemplateToken = function() {
2959
2959
  };
2960
2960
  k.invalidStringToken = function(e, t) {
2961
2961
  if (this.inTemplateElement && this.options.ecmaVersion >= 9)
2962
- throw Ni;
2962
+ throw Oi;
2963
2963
  this.raise(e, t);
2964
2964
  };
2965
2965
  k.readTmplToken = function() {
@@ -2970,7 +2970,7 @@ k.readTmplToken = function() {
2970
2970
  return this.pos === this.start && (this.type === a.template || this.type === a.invalidTemplate) ? i === 36 ? (this.pos += 2, this.finishToken(a.dollarBraceL)) : (++this.pos, this.finishToken(a.backQuote)) : (e += this.input.slice(t, this.pos), this.finishToken(a.template, e));
2971
2971
  if (i === 92)
2972
2972
  e += this.input.slice(t, this.pos), e += this.readEscapedChar(!0), t = this.pos;
2973
- else if (ye(i)) {
2973
+ else if (ve(i)) {
2974
2974
  switch (e += this.input.slice(t, this.pos), ++this.pos, i) {
2975
2975
  case 13:
2976
2976
  this.input.charCodeAt(this.pos) === 10 && ++this.pos;
@@ -3065,7 +3065,7 @@ k.readEscapedChar = function(e) {
3065
3065
  e ? "Octal literal in template string" : "Octal literal in strict mode"
3066
3066
  ), String.fromCharCode(r);
3067
3067
  }
3068
- return ye(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
3068
+ return ve(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
3069
3069
  }
3070
3070
  };
3071
3071
  k.readHexChar = function(e) {
@@ -3092,41 +3092,31 @@ k.readWord1 = function() {
3092
3092
  };
3093
3093
  k.readWord = function() {
3094
3094
  var e = this.readWord1(), t = a.name;
3095
- return this.keywords.test(e) && (t = St[e]), this.finishToken(t, e);
3095
+ return this.keywords.test(e) && (t = kt[e]), this.finishToken(t, e);
3096
3096
  };
3097
- var Ts = "8.15.0";
3097
+ var Ds = "8.15.0";
3098
3098
  L.acorn = {
3099
3099
  Parser: L,
3100
- version: Ts,
3101
- defaultOptions: dt,
3102
- Position: Ae,
3103
- SourceLocation: Qe,
3104
- getLineInfo: ei,
3105
- Node: Xe,
3100
+ version: Ds,
3101
+ defaultOptions: gt,
3102
+ Position: Ie,
3103
+ SourceLocation: Je,
3104
+ getLineInfo: ii,
3105
+ Node: et,
3106
3106
  TokenType: C,
3107
3107
  tokTypes: a,
3108
- keywordTypes: St,
3109
- TokContext: H,
3108
+ keywordTypes: kt,
3109
+ TokContext: Q,
3110
3110
  tokContexts: N,
3111
3111
  isIdentifierChar: ae,
3112
3112
  isIdentifierStart: J,
3113
- Token: At,
3114
- isNewLine: ye,
3113
+ Token: It,
3114
+ isNewLine: ve,
3115
3115
  lineBreak: F,
3116
- lineBreakG: is,
3117
- nonASCIIwhitespace: Zt
3116
+ lineBreakG: ns,
3117
+ nonASCIIwhitespace: ei
3118
3118
  };
3119
- function Rs(e) {
3120
- const t = {}, i = /(\w+)\s*=\s*(?:r?"((?:[^"\\]|\\.)*)"|r?'((?:[^'\\]|\\.)*)'|(\S+?)(?=,|$|\s))/g;
3121
- let s = i.exec(e);
3122
- for (; s !== null; ) {
3123
- const r = s[1];
3124
- let n = s[2] ?? s[3] ?? s[4];
3125
- n && typeof n == "string" && ((s[4] && s[4].startsWith('r"') || s[4] && s[4].startsWith("r'")) && (n = s[4].slice(2, -1)), s[2] !== void 0 ? n = n.replace(/\\"/g, '"') : s[3] !== void 0 && (n = n.replace(/\\'/g, "'"))), n === "True" || n === "true" ? t[r] = !0 : n === "False" || n === "false" ? t[r] = !1 : /^-?\d+$/.test(n) ? t[r] = Number.parseInt(n, 10) : /^-?\d+\.\d+$/.test(n) ? t[r] = Number.parseFloat(n) : t[r] = n, s = i.exec(e);
3126
- }
3127
- return t;
3128
- }
3129
- function bt(e) {
3119
+ function ye(e) {
3130
3120
  const t = [];
3131
3121
  let i = "", s = null, r = !1, n = 0, o = 0, l = 0;
3132
3122
  for (const h of e) {
@@ -3176,7 +3166,55 @@ function bt(e) {
3176
3166
  const u = i.trim();
3177
3167
  return u && t.push(u), t;
3178
3168
  }
3179
- function Bs(e, t) {
3169
+ function Ms(e, t) {
3170
+ return e.replace(/\\\\/g, "\\").replace(t === '"' ? /\\"/g : /\\'/g, t);
3171
+ }
3172
+ function Nt(e) {
3173
+ const t = e.trim();
3174
+ if (!t)
3175
+ return "";
3176
+ const i = t.match(/^r(["'])([\s\S]*)\1$/);
3177
+ if (i)
3178
+ return i[2];
3179
+ if (t.startsWith('"') && t.endsWith('"') || t.startsWith("'") && t.endsWith("'")) {
3180
+ const s = t[0];
3181
+ return Ms(t.slice(1, -1), s);
3182
+ }
3183
+ if (t.startsWith("[") && t.endsWith("]")) {
3184
+ const s = t.slice(1, -1).trim();
3185
+ return s ? ye(s).map(Nt) : [];
3186
+ }
3187
+ return t === "True" || t === "true" ? !0 : t === "False" || t === "false" ? !1 : t === "None" || t === "null" ? null : /^-?\d+$/.test(t) ? Number.parseInt(t, 10) : /^-?(?:\d+\.\d*|\.\d+)(?:[eE][+-]?\d+)?$/.test(t) || /^-?\d+[eE][+-]?\d+$/.test(t) ? Number.parseFloat(t) : t;
3188
+ }
3189
+ function Fs(e) {
3190
+ const t = {};
3191
+ for (const i of ye(e)) {
3192
+ const s = i.match(/^(\w+)\s*=\s*([\s\S]+)$/);
3193
+ s && (t[s[1]] = Nt(s[2]));
3194
+ }
3195
+ return t;
3196
+ }
3197
+ function js(e) {
3198
+ return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null;
3199
+ }
3200
+ function Vi(e) {
3201
+ return Array.isArray(e) ? e.filter(js) : [];
3202
+ }
3203
+ function Us(e) {
3204
+ const t = e?.trim().match(/^(?:(?:typing|typing_extensions)\.)?Literal\s*\[([\s\S]*)\]$/);
3205
+ return t ? Vi(
3206
+ ye(t[1]).map(Nt)
3207
+ ) : [];
3208
+ }
3209
+ function $s(e, t) {
3210
+ const i = Vi(t?.enum);
3211
+ return i.length > 0 ? i : Us(e);
3212
+ }
3213
+ function ft(e) {
3214
+ const t = $s(e.type, e.kwargs);
3215
+ return t.length > 0 && (e.enum = t), e;
3216
+ }
3217
+ function qs(e, t) {
3180
3218
  let i = null, s = !1, r = 0;
3181
3219
  for (let n = t; n < e.length; n += 1) {
3182
3220
  const o = e[n];
@@ -3201,64 +3239,81 @@ function Bs(e, t) {
3201
3239
  }
3202
3240
  return -1;
3203
3241
  }
3204
- const Ds = /* @__PURE__ */ new Set(["int", "integer", "float", "number"]), Ms = ["gt", "ge", "lt", "le", "multiple_of"];
3205
- function Fs(e) {
3206
- return e !== void 0 && Ds.has(e.toLowerCase());
3242
+ const Ws = /* @__PURE__ */ new Set(["int", "integer", "float", "number"]), Ks = ["gt", "ge", "lt", "le", "multiple_of"];
3243
+ function Gs(e) {
3244
+ return e !== void 0 && Ws.has(e.toLowerCase());
3207
3245
  }
3208
- function js(e) {
3246
+ function zs(e) {
3209
3247
  const t = e.trim(), i = t.indexOf("subvars");
3210
3248
  let s, r;
3211
3249
  if (i !== -1) {
3212
3250
  const l = t.indexOf("[", i);
3213
3251
  if (l !== -1) {
3214
- const u = Bs(t, l);
3252
+ const u = qs(t, l);
3215
3253
  u !== -1 && (s = t.slice(l + 1, u));
3216
3254
  }
3217
3255
  }
3218
3256
  if (s) {
3219
- const l = bt(s);
3257
+ const l = ye(s);
3220
3258
  r = {};
3221
3259
  for (const u of l)
3222
3260
  if (/^var\s*\(/.test(u) || /^[A-Za-z_]\w*\s*[:=]/.test(u)) {
3223
- const h = Kt(u);
3261
+ const h = Gt(u);
3224
3262
  r[h.id] = h;
3225
3263
  } else
3226
3264
  r[u] = { id: u };
3227
3265
  }
3228
- const n = bt(t).filter((l) => !/^subvars\s*=/.test(l)).join(", "), o = Kt(n);
3266
+ const n = ye(t).filter((l) => !/^subvars\s*=/.test(l)).join(", "), o = Gt(n);
3229
3267
  return r ? {
3230
3268
  ...o,
3231
3269
  subvars: r
3232
3270
  } : o;
3233
3271
  }
3234
- function Kt(e) {
3272
+ function Gt(e) {
3235
3273
  let t = e.trim();
3236
3274
  t.startsWith("var(") && t.endsWith(")") ? t = t.slice(4, -1).trim() : t.startsWith("var (") && t.endsWith(")") && (t = t.slice(5, -1).trim());
3237
- const i = bt(t), s = (i[0] || "").trim(), r = i.slice(1).filter((y) => /^\w+\s*=/.test(y)), n = Rs(r.join(", "));
3275
+ const i = ye(t), s = (i[0] || "").trim(), r = i.slice(1).filter((y) => /^\w+\s*=/.test(y)), n = Fs(r.join(", "));
3238
3276
  if (!s.includes(":")) {
3239
3277
  const y = s.indexOf("=");
3240
3278
  if (y > 0) {
3241
3279
  const b = s.slice(y + 1).trim(), _ = {
3242
3280
  id: s.slice(0, y).trim(),
3243
- default: Wt(b),
3281
+ default: zt(b),
3244
3282
  defaultRaw: b
3245
3283
  };
3246
- return Object.keys(n).length > 0 && (_.kwargs = n), _;
3284
+ return Object.keys(n).length > 0 && (_.kwargs = n), ft(_);
3247
3285
  }
3248
3286
  const d = { id: s.split(/\s/)[0].trim() };
3249
- return Object.keys(n).length > 0 && (d.kwargs = n), d;
3287
+ return Object.keys(n).length > 0 && (d.kwargs = n), ft(d);
3250
3288
  }
3251
3289
  const o = s.indexOf(":"), l = s.slice(0, o).trim(), u = s.slice(o + 1).trim(), h = u.indexOf("=");
3252
3290
  let f, c, p;
3253
- h > 0 ? (f = u.slice(0, h).trim(), p = u.slice(h + 1).trim(), c = Wt(p)) : f = u.trim();
3291
+ h > 0 ? (f = u.slice(0, h).trim(), p = u.slice(h + 1).trim(), c = zt(p)) : f = u.trim();
3254
3292
  const x = { id: l, type: f };
3255
- return c !== void 0 && (x.default = c, x.defaultRaw = p), Object.keys(n).length > 0 && (x.kwargs = n), x;
3293
+ return c !== void 0 && (x.default = c, x.defaultRaw = p), Object.keys(n).length > 0 && (x.kwargs = n), ft(x);
3256
3294
  }
3257
- function Wt(e) {
3295
+ function zt(e) {
3258
3296
  const t = e.trim();
3259
- return t === "true" || t === "True" ? !0 : t === "false" || t === "False" ? !1 : t === "null" || t === "None" ? null : /^-?\d+$/.test(t) ? Number.parseInt(t, 10) : /^-?\d+\.\d+$/.test(t) ? Number.parseFloat(t) : t.startsWith('"') && t.endsWith('"') || t.startsWith("'") && t.endsWith("'") ? t.slice(1, -1) : t;
3297
+ if (t === "true" || t === "True")
3298
+ return !0;
3299
+ if (t === "false" || t === "False")
3300
+ return !1;
3301
+ if (t === "null" || t === "None")
3302
+ return null;
3303
+ if (/^-?\d+$/.test(t))
3304
+ return Number.parseInt(t, 10);
3305
+ if (/^-?\d+\.\d+$/.test(t))
3306
+ return Number.parseFloat(t);
3307
+ if (t.startsWith('"') && t.endsWith('"') || t.startsWith("'") && t.endsWith("'"))
3308
+ return t.slice(1, -1);
3309
+ if (t.startsWith("[") && t.endsWith("]") || t.startsWith("{") && t.endsWith("}"))
3310
+ try {
3311
+ return JSON.parse(t);
3312
+ } catch {
3313
+ }
3314
+ return t;
3260
3315
  }
3261
- function Us(e) {
3316
+ function Qs(e) {
3262
3317
  if (e.type === void 0 || e.default === void 0 || e.default === null)
3263
3318
  return [];
3264
3319
  const t = [], i = e.type.toLowerCase(), s = e.default;
@@ -3286,13 +3341,13 @@ function Us(e) {
3286
3341
  }
3287
3342
  return t;
3288
3343
  }
3289
- function Pi(e) {
3344
+ function Li(e) {
3290
3345
  const t = [], i = e.kwargs, s = e.type?.toLowerCase();
3291
3346
  if (i) {
3292
- const r = Ms.filter(
3347
+ const r = Ks.filter(
3293
3348
  (n) => Object.prototype.hasOwnProperty.call(i, n)
3294
3349
  );
3295
- if (r.length > 0 && !Fs(s)) {
3350
+ if (r.length > 0 && !Gs(s)) {
3296
3351
  const n = s ?? "untyped";
3297
3352
  t.push(
3298
3353
  `"${e.id}": numeric constraints (${r.join(", ")}) only apply to int/integer/float/number variables, not ${n}`
@@ -3305,30 +3360,30 @@ function Pi(e) {
3305
3360
  }
3306
3361
  if (e.subvars)
3307
3362
  for (const r of Object.values(e.subvars))
3308
- t.push(...Pi(r));
3363
+ t.push(...Li(r));
3309
3364
  return t;
3310
3365
  }
3311
- function Oi(e) {
3312
- const t = Us(e);
3366
+ function Ti(e) {
3367
+ const t = Qs(e);
3313
3368
  if (e.subvars)
3314
3369
  for (const i of Object.values(e.subvars))
3315
- t.push(...Oi(i));
3370
+ t.push(...Ti(i));
3316
3371
  return t;
3317
3372
  }
3318
- function $s(e) {
3373
+ function Hs(e) {
3319
3374
  return [
3320
- ...Oi(e),
3321
- ...Pi(e)
3375
+ ...Ti(e),
3376
+ ...Li(e)
3322
3377
  ];
3323
3378
  }
3324
3379
  new TextEncoder();
3325
3380
  new TextDecoder();
3326
- const It = /* @__PURE__ */ Symbol.for("yaml.alias"), qs = /* @__PURE__ */ Symbol.for("yaml.document"), fe = /* @__PURE__ */ Symbol.for("yaml.map"), Vi = /* @__PURE__ */ Symbol.for("yaml.pair"), Nt = /* @__PURE__ */ Symbol.for("yaml.scalar"), Ve = /* @__PURE__ */ Symbol.for("yaml.seq"), X = /* @__PURE__ */ Symbol.for("yaml.node.type"), de = (e) => !!e && typeof e == "object" && e[X] === It, tt = (e) => !!e && typeof e == "object" && e[X] === qs, Li = (e) => !!e && typeof e == "object" && e[X] === fe, T = (e) => !!e && typeof e == "object" && e[X] === Vi, V = (e) => !!e && typeof e == "object" && e[X] === Nt, Pt = (e) => !!e && typeof e == "object" && e[X] === Ve;
3381
+ const Pt = /* @__PURE__ */ Symbol.for("yaml.alias"), Js = /* @__PURE__ */ Symbol.for("yaml.document"), fe = /* @__PURE__ */ Symbol.for("yaml.map"), Ri = /* @__PURE__ */ Symbol.for("yaml.pair"), Ot = /* @__PURE__ */ Symbol.for("yaml.scalar"), Le = /* @__PURE__ */ Symbol.for("yaml.seq"), X = /* @__PURE__ */ Symbol.for("yaml.node.type"), de = (e) => !!e && typeof e == "object" && e[X] === Pt, it = (e) => !!e && typeof e == "object" && e[X] === Js, Bi = (e) => !!e && typeof e == "object" && e[X] === fe, T = (e) => !!e && typeof e == "object" && e[X] === Ri, V = (e) => !!e && typeof e == "object" && e[X] === Ot, Vt = (e) => !!e && typeof e == "object" && e[X] === Le;
3327
3382
  function $(e) {
3328
3383
  if (e && typeof e == "object")
3329
3384
  switch (e[X]) {
3330
3385
  case fe:
3331
- case Ve:
3386
+ case Le:
3332
3387
  return !0;
3333
3388
  }
3334
3389
  return !1;
@@ -3336,26 +3391,26 @@ function $(e) {
3336
3391
  function B(e) {
3337
3392
  if (e && typeof e == "object")
3338
3393
  switch (e[X]) {
3339
- case It:
3394
+ case Pt:
3340
3395
  case fe:
3341
- case Nt:
3342
- case Ve:
3396
+ case Ot:
3397
+ case Le:
3343
3398
  return !0;
3344
3399
  }
3345
3400
  return !1;
3346
3401
  }
3347
- const Ti = (e) => (V(e) || $(e)) && !!e.anchor, he = /* @__PURE__ */ Symbol("break visit"), Ks = /* @__PURE__ */ Symbol("skip children"), Ce = /* @__PURE__ */ Symbol("remove node");
3348
- function it(e, t) {
3349
- const i = Ws(t);
3350
- tt(e) ? ge(null, e.contents, i, Object.freeze([e])) === Ce && (e.contents = null) : ge(null, e, i, Object.freeze([]));
3402
+ const Di = (e) => (V(e) || $(e)) && !!e.anchor, he = /* @__PURE__ */ Symbol("break visit"), Ys = /* @__PURE__ */ Symbol("skip children"), Ee = /* @__PURE__ */ Symbol("remove node");
3403
+ function st(e, t) {
3404
+ const i = Zs(t);
3405
+ it(e) ? ge(null, e.contents, i, Object.freeze([e])) === Ee && (e.contents = null) : ge(null, e, i, Object.freeze([]));
3351
3406
  }
3352
- it.BREAK = he;
3353
- it.SKIP = Ks;
3354
- it.REMOVE = Ce;
3407
+ st.BREAK = he;
3408
+ st.SKIP = Ys;
3409
+ st.REMOVE = Ee;
3355
3410
  function ge(e, t, i, s) {
3356
- const r = Gs(e, t, i, s);
3411
+ const r = Xs(e, t, i, s);
3357
3412
  if (B(r) || T(r))
3358
- return zs(e, s, r), ge(e, r, i, s);
3413
+ return er(e, s, r), ge(e, r, i, s);
3359
3414
  if (typeof r != "symbol") {
3360
3415
  if ($(t)) {
3361
3416
  s = Object.freeze(s.concat(t));
@@ -3366,7 +3421,7 @@ function ge(e, t, i, s) {
3366
3421
  else {
3367
3422
  if (o === he)
3368
3423
  return he;
3369
- o === Ce && (t.items.splice(n, 1), n -= 1);
3424
+ o === Ee && (t.items.splice(n, 1), n -= 1);
3370
3425
  }
3371
3426
  }
3372
3427
  } else if (T(t)) {
@@ -3374,16 +3429,16 @@ function ge(e, t, i, s) {
3374
3429
  const n = ge("key", t.key, i, s);
3375
3430
  if (n === he)
3376
3431
  return he;
3377
- n === Ce && (t.key = null);
3432
+ n === Ee && (t.key = null);
3378
3433
  const o = ge("value", t.value, i, s);
3379
3434
  if (o === he)
3380
3435
  return he;
3381
- o === Ce && (t.value = null);
3436
+ o === Ee && (t.value = null);
3382
3437
  }
3383
3438
  }
3384
3439
  return r;
3385
3440
  }
3386
- function Ws(e) {
3441
+ function Zs(e) {
3387
3442
  return typeof e == "object" && (e.Collection || e.Node || e.Value) ? Object.assign({
3388
3443
  Alias: e.Node,
3389
3444
  Map: e.Node,
@@ -3398,12 +3453,12 @@ function Ws(e) {
3398
3453
  Seq: e.Collection
3399
3454
  }, e) : e;
3400
3455
  }
3401
- function Gs(e, t, i, s) {
3456
+ function Xs(e, t, i, s) {
3402
3457
  if (typeof i == "function")
3403
3458
  return i(e, t, s);
3404
- if (Li(t))
3459
+ if (Bi(t))
3405
3460
  return i.Map?.(e, t, s);
3406
- if (Pt(t))
3461
+ if (Vt(t))
3407
3462
  return i.Seq?.(e, t, s);
3408
3463
  if (T(t))
3409
3464
  return i.Pair?.(e, t, s);
@@ -3412,55 +3467,55 @@ function Gs(e, t, i, s) {
3412
3467
  if (de(t))
3413
3468
  return i.Alias?.(e, t, s);
3414
3469
  }
3415
- function zs(e, t, i) {
3470
+ function er(e, t, i) {
3416
3471
  const s = t[t.length - 1];
3417
3472
  if ($(s))
3418
3473
  s.items[e] = i;
3419
3474
  else if (T(s))
3420
3475
  e === "key" ? s.key = i : s.value = i;
3421
- else if (tt(s))
3476
+ else if (it(s))
3422
3477
  s.contents = i;
3423
3478
  else {
3424
3479
  const r = de(s) ? "alias" : "scalar";
3425
3480
  throw new Error(`Cannot replace node with ${r} parent`);
3426
3481
  }
3427
3482
  }
3428
- function Ri(e) {
3483
+ function Mi(e) {
3429
3484
  if (/[\x00-\x19\s,[\]{}]/.test(e)) {
3430
3485
  const i = `Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;
3431
3486
  throw new Error(i);
3432
3487
  }
3433
3488
  return !0;
3434
3489
  }
3435
- function we(e, t, i, s) {
3490
+ function _e(e, t, i, s) {
3436
3491
  if (s && typeof s == "object")
3437
3492
  if (Array.isArray(s))
3438
3493
  for (let r = 0, n = s.length; r < n; ++r) {
3439
- const o = s[r], l = we(e, s, String(r), o);
3494
+ const o = s[r], l = _e(e, s, String(r), o);
3440
3495
  l === void 0 ? delete s[r] : l !== o && (s[r] = l);
3441
3496
  }
3442
3497
  else if (s instanceof Map)
3443
3498
  for (const r of Array.from(s.keys())) {
3444
- const n = s.get(r), o = we(e, s, r, n);
3499
+ const n = s.get(r), o = _e(e, s, r, n);
3445
3500
  o === void 0 ? s.delete(r) : o !== n && s.set(r, o);
3446
3501
  }
3447
3502
  else if (s instanceof Set)
3448
3503
  for (const r of Array.from(s)) {
3449
- const n = we(e, s, r, r);
3504
+ const n = _e(e, s, r, r);
3450
3505
  n === void 0 ? s.delete(r) : n !== r && (s.delete(r), s.add(n));
3451
3506
  }
3452
3507
  else
3453
3508
  for (const [r, n] of Object.entries(s)) {
3454
- const o = we(e, s, r, n);
3509
+ const o = _e(e, s, r, n);
3455
3510
  o === void 0 ? delete s[r] : o !== n && (s[r] = o);
3456
3511
  }
3457
3512
  return e.call(t, i, s);
3458
3513
  }
3459
- function Q(e, t, i) {
3514
+ function H(e, t, i) {
3460
3515
  if (Array.isArray(e))
3461
- return e.map((s, r) => Q(s, String(r), i));
3516
+ return e.map((s, r) => H(s, String(r), i));
3462
3517
  if (e && typeof e.toJSON == "function") {
3463
- if (!i || !Ti(e))
3518
+ if (!i || !Di(e))
3464
3519
  return e.toJSON(t, i);
3465
3520
  const s = { aliasCount: 0, count: 1, res: void 0 };
3466
3521
  i.anchors.set(e, s), i.onCreate = (n) => {
@@ -3471,7 +3526,7 @@ function Q(e, t, i) {
3471
3526
  }
3472
3527
  return typeof e == "bigint" && !i?.keep ? Number(e) : e;
3473
3528
  }
3474
- class Ot {
3529
+ class Lt {
3475
3530
  constructor(t) {
3476
3531
  Object.defineProperty(this, X, { value: t });
3477
3532
  }
@@ -3482,7 +3537,7 @@ class Ot {
3482
3537
  }
3483
3538
  /** A plain JavaScript representation of this node. */
3484
3539
  toJS(t, { mapAsMap: i, maxAliasCount: s, onAnchor: r, reviver: n } = {}) {
3485
- if (!tt(t))
3540
+ if (!it(t))
3486
3541
  throw new TypeError("A document argument is required");
3487
3542
  const o = {
3488
3543
  anchors: /* @__PURE__ */ new Map(),
@@ -3491,16 +3546,16 @@ class Ot {
3491
3546
  mapAsMap: i === !0,
3492
3547
  mapKeyWarned: !1,
3493
3548
  maxAliasCount: typeof s == "number" ? s : 100
3494
- }, l = Q(this, "", o);
3549
+ }, l = H(this, "", o);
3495
3550
  if (typeof r == "function")
3496
3551
  for (const { count: u, res: h } of o.anchors.values())
3497
3552
  r(h, u);
3498
- return typeof n == "function" ? we(n, { "": l }, "", l) : l;
3553
+ return typeof n == "function" ? _e(n, { "": l }, "", l) : l;
3499
3554
  }
3500
3555
  }
3501
- class Hs extends Ot {
3556
+ class tr extends Lt {
3502
3557
  constructor(t) {
3503
- super(It), this.source = t, Object.defineProperty(this, "tag", {
3558
+ super(Pt), this.source = t, Object.defineProperty(this, "tag", {
3504
3559
  set() {
3505
3560
  throw new Error("Alias nodes cannot have tags");
3506
3561
  }
@@ -3512,9 +3567,9 @@ class Hs extends Ot {
3512
3567
  */
3513
3568
  resolve(t, i) {
3514
3569
  let s;
3515
- i?.aliasResolveCache ? s = i.aliasResolveCache : (s = [], it(t, {
3570
+ i?.aliasResolveCache ? s = i.aliasResolveCache : (s = [], st(t, {
3516
3571
  Node: (n, o) => {
3517
- (de(o) || Ti(o)) && s.push(o);
3572
+ (de(o) || Di(o)) && s.push(o);
3518
3573
  }
3519
3574
  }), i && (i.aliasResolveCache = s));
3520
3575
  let r;
@@ -3534,11 +3589,11 @@ class Hs extends Ot {
3534
3589
  throw new ReferenceError(u);
3535
3590
  }
3536
3591
  let l = s.get(o);
3537
- if (l || (Q(o, null, i), l = s.get(o)), l?.res === void 0) {
3592
+ if (l || (H(o, null, i), l = s.get(o)), l?.res === void 0) {
3538
3593
  const u = "This should not happen: Alias anchor was not resolved?";
3539
3594
  throw new ReferenceError(u);
3540
3595
  }
3541
- if (n >= 0 && (l.count += 1, l.aliasCount === 0 && (l.aliasCount = Fe(r, o, s)), l.count * l.aliasCount > n)) {
3596
+ if (n >= 0 && (l.count += 1, l.aliasCount === 0 && (l.aliasCount = je(r, o, s)), l.count * l.aliasCount > n)) {
3542
3597
  const u = "Excessive alias count indicates a resource exhaustion attack";
3543
3598
  throw new ReferenceError(u);
3544
3599
  }
@@ -3547,7 +3602,7 @@ class Hs extends Ot {
3547
3602
  toString(t, i, s) {
3548
3603
  const r = `*${this.source}`;
3549
3604
  if (t) {
3550
- if (Ri(this.source), t.options.verifyAliasOrder && !t.anchors.has(this.source)) {
3605
+ if (Mi(this.source), t.options.verifyAliasOrder && !t.anchors.has(this.source)) {
3551
3606
  const n = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
3552
3607
  throw new Error(n);
3553
3608
  }
@@ -3557,30 +3612,30 @@ class Hs extends Ot {
3557
3612
  return r;
3558
3613
  }
3559
3614
  }
3560
- function Fe(e, t, i) {
3615
+ function je(e, t, i) {
3561
3616
  if (de(t)) {
3562
3617
  const s = t.resolve(e), r = i && s && i.get(s);
3563
3618
  return r ? r.count * r.aliasCount : 0;
3564
3619
  } else if ($(t)) {
3565
3620
  let s = 0;
3566
3621
  for (const r of t.items) {
3567
- const n = Fe(e, r, i);
3622
+ const n = je(e, r, i);
3568
3623
  n > s && (s = n);
3569
3624
  }
3570
3625
  return s;
3571
3626
  } else if (T(t)) {
3572
- const s = Fe(e, t.key, i), r = Fe(e, t.value, i);
3627
+ const s = je(e, t.key, i), r = je(e, t.value, i);
3573
3628
  return Math.max(s, r);
3574
3629
  }
3575
3630
  return 1;
3576
3631
  }
3577
- const Bi = (e) => !e || typeof e != "function" && typeof e != "object";
3578
- class O extends Ot {
3632
+ const Fi = (e) => !e || typeof e != "function" && typeof e != "object";
3633
+ class O extends Lt {
3579
3634
  constructor(t) {
3580
- super(Nt), this.value = t;
3635
+ super(Ot), this.value = t;
3581
3636
  }
3582
3637
  toJSON(t, i) {
3583
- return i?.keep ? this.value : Q(this.value, t, i);
3638
+ return i?.keep ? this.value : H(this.value, t, i);
3584
3639
  }
3585
3640
  toString() {
3586
3641
  return String(this.value);
@@ -3591,11 +3646,11 @@ O.BLOCK_LITERAL = "BLOCK_LITERAL";
3591
3646
  O.PLAIN = "PLAIN";
3592
3647
  O.QUOTE_DOUBLE = "QUOTE_DOUBLE";
3593
3648
  O.QUOTE_SINGLE = "QUOTE_SINGLE";
3594
- function Qs(e, t, i) {
3649
+ function ir(e, t, i) {
3595
3650
  return i.find((s) => s.identify?.(e) && !s.format);
3596
3651
  }
3597
- function Ge(e, t, i) {
3598
- if (tt(e) && (e = e.contents), B(e))
3652
+ function ze(e, t, i) {
3653
+ if (it(e) && (e = e.contents), B(e))
3599
3654
  return e;
3600
3655
  if (T(e)) {
3601
3656
  const c = i.schema[fe].createNode?.(i.schema, null, i);
@@ -3606,22 +3661,22 @@ function Ge(e, t, i) {
3606
3661
  let u;
3607
3662
  if (s && e && typeof e == "object") {
3608
3663
  if (u = l.get(e), u)
3609
- return u.anchor ?? (u.anchor = r(e)), new Hs(u.anchor);
3664
+ return u.anchor ?? (u.anchor = r(e)), new tr(u.anchor);
3610
3665
  u = { anchor: null, node: null }, l.set(e, u);
3611
3666
  }
3612
- let h = Qs(e, t, o.tags);
3667
+ let h = ir(e, t, o.tags);
3613
3668
  if (!h) {
3614
3669
  if (e && typeof e.toJSON == "function" && (e = e.toJSON()), !e || typeof e != "object") {
3615
3670
  const c = new O(e);
3616
3671
  return u && (u.node = c), c;
3617
3672
  }
3618
- h = e instanceof Map ? o[fe] : Symbol.iterator in Object(e) ? o[Ve] : o[fe];
3673
+ h = e instanceof Map ? o[fe] : Symbol.iterator in Object(e) ? o[Le] : o[fe];
3619
3674
  }
3620
3675
  n && (n(h), delete i.onTagObj);
3621
3676
  const f = h?.createNode ? h.createNode(i.schema, e, i) : typeof h?.nodeClass?.from == "function" ? h.nodeClass.from(i.schema, e, i) : new O(e);
3622
3677
  return h.default || (f.tag = h.tag), u && (u.node = f), f;
3623
3678
  }
3624
- function Gt(e, t, i) {
3679
+ function Qt(e, t, i) {
3625
3680
  let s = i;
3626
3681
  for (let r = t.length - 1; r >= 0; --r) {
3627
3682
  const n = t[r];
@@ -3631,7 +3686,7 @@ function Gt(e, t, i) {
3631
3686
  } else
3632
3687
  s = /* @__PURE__ */ new Map([[n, s]]);
3633
3688
  }
3634
- return Ge(s, void 0, {
3689
+ return ze(s, void 0, {
3635
3690
  aliasDuplicateObjects: !1,
3636
3691
  keepUndefined: !1,
3637
3692
  onAnchor: () => {
@@ -3641,8 +3696,8 @@ function Gt(e, t, i) {
3641
3696
  sourceObjects: /* @__PURE__ */ new Map()
3642
3697
  });
3643
3698
  }
3644
- const Js = (e) => e == null || typeof e == "object" && !!e[Symbol.iterator]().next().done;
3645
- class Di extends Ot {
3699
+ const sr = (e) => e == null || typeof e == "object" && !!e[Symbol.iterator]().next().done;
3700
+ class ji extends Lt {
3646
3701
  constructor(t, i) {
3647
3702
  super(t), Object.defineProperty(this, "schema", {
3648
3703
  value: i,
@@ -3666,14 +3721,14 @@ class Di extends Ot {
3666
3721
  * that already exists in the map.
3667
3722
  */
3668
3723
  addIn(t, i) {
3669
- if (Js(t))
3724
+ if (sr(t))
3670
3725
  this.add(i);
3671
3726
  else {
3672
3727
  const [s, ...r] = t, n = this.get(s, !0);
3673
3728
  if ($(n))
3674
3729
  n.addIn(r, i);
3675
3730
  else if (n === void 0 && this.schema)
3676
- this.set(s, Gt(this.schema, r, i));
3731
+ this.set(s, Qt(this.schema, r, i));
3677
3732
  else
3678
3733
  throw new Error(`Expected YAML collection at ${s}. Remaining path: ${r}`);
3679
3734
  }
@@ -3731,21 +3786,21 @@ class Di extends Ot {
3731
3786
  if ($(n))
3732
3787
  n.setIn(r, i);
3733
3788
  else if (n === void 0 && this.schema)
3734
- this.set(s, Gt(this.schema, r, i));
3789
+ this.set(s, Qt(this.schema, r, i));
3735
3790
  else
3736
3791
  throw new Error(`Expected YAML collection at ${s}. Remaining path: ${r}`);
3737
3792
  }
3738
3793
  }
3739
3794
  }
3740
- const Ys = (e) => e.replace(/^(?!$)(?: $)?/gm, "#");
3741
- function Ne(e, t) {
3795
+ const rr = (e) => e.replace(/^(?!$)(?: $)?/gm, "#");
3796
+ function Pe(e, t) {
3742
3797
  return /^\n+$/.test(e) ? e.substring(1) : t ? e.replace(/^(?! *$)/gm, t) : e;
3743
3798
  }
3744
3799
  const be = (e, t, i) => e.endsWith(`
3745
- `) ? Ne(i, t) : i.includes(`
3800
+ `) ? Pe(i, t) : i.includes(`
3746
3801
  `) ? `
3747
- ` + Ne(i, t) : (e.endsWith(" ") ? "" : " ") + i, Mi = "flow", xt = "block", je = "quoted";
3748
- function st(e, t, i = "flow", { indentAtStart: s, lineWidth: r = 80, minContentWidth: n = 20, onFold: o, onOverflow: l } = {}) {
3802
+ ` + Pe(i, t) : (e.endsWith(" ") ? "" : " ") + i, Ui = "flow", yt = "block", Ue = "quoted";
3803
+ function rt(e, t, i = "flow", { indentAtStart: s, lineWidth: r = 80, minContentWidth: n = 20, onFold: o, onOverflow: l } = {}) {
3749
3804
  if (!r || r < 0)
3750
3805
  return e;
3751
3806
  r < n && (n = 0);
@@ -3756,9 +3811,9 @@ function st(e, t, i = "flow", { indentAtStart: s, lineWidth: r = 80, minContentW
3756
3811
  let c = r - t.length;
3757
3812
  typeof s == "number" && (s > r - Math.max(2, n) ? h.push(0) : c = r - s);
3758
3813
  let p, x, y = !1, d = -1, b = -1, _ = -1;
3759
- i === xt && (d = zt(e, d, t.length), d !== -1 && (c = d + u));
3814
+ i === yt && (d = Ht(e, d, t.length), d !== -1 && (c = d + u));
3760
3815
  for (let A; A = e[d += 1]; ) {
3761
- if (i === je && A === "\\") {
3816
+ if (i === Ue && A === "\\") {
3762
3817
  switch (b = d, e[d + 1]) {
3763
3818
  case "x":
3764
3819
  d += 3;
@@ -3776,7 +3831,7 @@ function st(e, t, i = "flow", { indentAtStart: s, lineWidth: r = 80, minContentW
3776
3831
  }
3777
3832
  if (A === `
3778
3833
  `)
3779
- i === xt && (d = zt(e, d, t.length)), c = d + t.length + u, p = void 0;
3834
+ i === yt && (d = Ht(e, d, t.length)), c = d + t.length + u, p = void 0;
3780
3835
  else {
3781
3836
  if (A === " " && x && x !== " " && x !== `
3782
3837
  ` && x !== " ") {
@@ -3787,7 +3842,7 @@ function st(e, t, i = "flow", { indentAtStart: s, lineWidth: r = 80, minContentW
3787
3842
  if (d >= c)
3788
3843
  if (p)
3789
3844
  h.push(p), c = p + u, p = void 0;
3790
- else if (i === je) {
3845
+ else if (i === Ue) {
3791
3846
  for (; x === " " || x === " "; )
3792
3847
  x = A, A = e[d += 1], y = !0;
3793
3848
  const I = d > _ + 1 ? d - 2 : b - 1;
@@ -3806,12 +3861,12 @@ function st(e, t, i = "flow", { indentAtStart: s, lineWidth: r = 80, minContentW
3806
3861
  for (let A = 0; A < h.length; ++A) {
3807
3862
  const I = h[A], P = h[A + 1] || e.length;
3808
3863
  I === 0 ? E = `
3809
- ${t}${e.slice(0, P)}` : (i === je && f[I] && (E += `${e[I]}\\`), E += `
3864
+ ${t}${e.slice(0, P)}` : (i === Ue && f[I] && (E += `${e[I]}\\`), E += `
3810
3865
  ${t}${e.slice(I + 1, P)}`);
3811
3866
  }
3812
3867
  return E;
3813
3868
  }
3814
- function zt(e, t, i) {
3869
+ function Ht(e, t, i) {
3815
3870
  let s = t, r = t + 1, n = e[r];
3816
3871
  for (; n === " " || n === " "; )
3817
3872
  if (t < r + i)
@@ -3825,12 +3880,12 @@ function zt(e, t, i) {
3825
3880
  }
3826
3881
  return s;
3827
3882
  }
3828
- const rt = (e, t) => ({
3883
+ const nt = (e, t) => ({
3829
3884
  indentAtStart: t ? e.indent.length : e.indentAtStart,
3830
3885
  lineWidth: e.options.lineWidth,
3831
3886
  minContentWidth: e.options.minContentWidth
3832
- }), nt = (e) => /^(%|---|\.\.\.)/m.test(e);
3833
- function Zs(e, t, i) {
3887
+ }), at = (e) => /^(%|---|\.\.\.)/m.test(e);
3888
+ function nr(e, t, i) {
3834
3889
  if (!t || t < 0)
3835
3890
  return !1;
3836
3891
  const s = t - i, r = e.length;
@@ -3846,11 +3901,11 @@ function Zs(e, t, i) {
3846
3901
  }
3847
3902
  return !0;
3848
3903
  }
3849
- function Ee(e, t) {
3904
+ function Ae(e, t) {
3850
3905
  const i = JSON.stringify(e);
3851
3906
  if (t.options.doubleQuotedAsJSON)
3852
3907
  return i;
3853
- const { implicitKey: s } = t, r = t.options.doubleQuotedMinMultiLineLength, n = t.indent || (nt(e) ? " " : "");
3908
+ const { implicitKey: s } = t, r = t.options.doubleQuotedMinMultiLineLength, n = t.indent || (at(e) ? " " : "");
3854
3909
  let o = "", l = 0;
3855
3910
  for (let u = 0, h = i[u]; h; h = i[++u])
3856
3911
  if (h === " " && i[u + 1] === "\\" && i[u + 2] === "n" && (o += i.slice(l, u) + "\\ ", u += 1, l = u, h = "\\"), h === "\\")
@@ -3905,41 +3960,41 @@ function Ee(e, t) {
3905
3960
  default:
3906
3961
  u += 1;
3907
3962
  }
3908
- return o = l ? o + i.slice(l) : i, s ? o : st(o, n, je, rt(t, !1));
3963
+ return o = l ? o + i.slice(l) : i, s ? o : rt(o, n, Ue, nt(t, !1));
3909
3964
  }
3910
- function yt(e, t) {
3965
+ function vt(e, t) {
3911
3966
  if (t.options.singleQuote === !1 || t.implicitKey && e.includes(`
3912
3967
  `) || /[ \t]\n|\n[ \t]/.test(e))
3913
- return Ee(e, t);
3914
- const i = t.indent || (nt(e) ? " " : ""), s = "'" + e.replace(/'/g, "''").replace(/\n+/g, `$&
3968
+ return Ae(e, t);
3969
+ const i = t.indent || (at(e) ? " " : ""), s = "'" + e.replace(/'/g, "''").replace(/\n+/g, `$&
3915
3970
  ${i}`) + "'";
3916
- return t.implicitKey ? s : st(s, i, Mi, rt(t, !1));
3971
+ return t.implicitKey ? s : rt(s, i, Ui, nt(t, !1));
3917
3972
  }
3918
3973
  function xe(e, t) {
3919
3974
  const { singleQuote: i } = t.options;
3920
3975
  let s;
3921
3976
  if (i === !1)
3922
- s = Ee;
3977
+ s = Ae;
3923
3978
  else {
3924
3979
  const r = e.includes('"'), n = e.includes("'");
3925
- r && !n ? s = yt : n && !r ? s = Ee : s = i ? yt : Ee;
3980
+ r && !n ? s = vt : n && !r ? s = Ae : s = i ? vt : Ae;
3926
3981
  }
3927
3982
  return s(e, t);
3928
3983
  }
3929
- let vt;
3984
+ let St;
3930
3985
  try {
3931
- vt = new RegExp(`(^|(?<!
3986
+ St = new RegExp(`(^|(?<!
3932
3987
  ))
3933
3988
  +(?!
3934
3989
  |$)`, "g");
3935
3990
  } catch {
3936
- vt = /\n+(?!\n|$)/g;
3991
+ St = /\n+(?!\n|$)/g;
3937
3992
  }
3938
- function Ue({ comment: e, type: t, value: i }, s, r, n) {
3993
+ function $e({ comment: e, type: t, value: i }, s, r, n) {
3939
3994
  const { blockQuote: o, commentString: l, lineWidth: u } = s.options;
3940
3995
  if (!o || /\n[\t ]+$/.test(i))
3941
3996
  return xe(i, s);
3942
- const h = s.indent || (s.forceBlockIndent || nt(i) ? " " : ""), f = o === "literal" ? !0 : o === "folded" || t === O.BLOCK_FOLDED ? !1 : t === O.BLOCK_LITERAL ? !0 : !Zs(i, u, h.length);
3997
+ const h = s.indent || (s.forceBlockIndent || at(i) ? " " : ""), f = o === "literal" ? !0 : o === "folded" || t === O.BLOCK_FOLDED ? !1 : t === O.BLOCK_LITERAL ? !0 : !nr(i, u, h.length);
3943
3998
  if (!i)
3944
3999
  return f ? `|
3945
4000
  ` : `>
@@ -3955,7 +4010,7 @@ function Ue({ comment: e, type: t, value: i }, s, r, n) {
3955
4010
  const y = x.indexOf(`
3956
4011
  `);
3957
4012
  y === -1 ? c = "-" : i === x || y !== x.length - 1 ? (c = "+", n && n()) : c = "", x && (i = i.slice(0, -x.length), x[x.length - 1] === `
3958
- ` && (x = x.slice(0, -1)), x = x.replace(vt, `$&${h}`));
4013
+ ` && (x = x.slice(0, -1)), x = x.replace(St, `$&${h}`));
3959
4014
  let d = !1, b, _ = -1;
3960
4015
  for (b = 0; b < i.length; ++b) {
3961
4016
  const P = i[b];
@@ -3974,11 +4029,11 @@ function Ue({ comment: e, type: t, value: i }, s, r, n) {
3974
4029
  const P = i.replace(/\n+/g, `
3975
4030
  $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${h}`);
3976
4031
  let j = !1;
3977
- const q = rt(s, !0);
4032
+ const q = nt(s, !0);
3978
4033
  o !== "folded" && t !== O.BLOCK_FOLDED && (q.onOverflow = () => {
3979
4034
  j = !0;
3980
4035
  });
3981
- const ue = st(`${E}${P}${x}`, h, xt, q);
4036
+ const ue = rt(`${E}${P}${x}`, h, yt, q);
3982
4037
  if (!j)
3983
4038
  return `>${I}
3984
4039
  ${h}${ue}`;
@@ -3986,20 +4041,20 @@ ${h}${ue}`;
3986
4041
  return i = i.replace(/\n+/g, `$&${h}`), `|${I}
3987
4042
  ${h}${E}${i}${x}`;
3988
4043
  }
3989
- function Xs(e, t, i, s) {
4044
+ function ar(e, t, i, s) {
3990
4045
  const { type: r, value: n } = e, { actualString: o, implicitKey: l, indent: u, indentStep: h, inFlow: f } = t;
3991
4046
  if (l && n.includes(`
3992
4047
  `) || f && /[[\]{},]/.test(n))
3993
4048
  return xe(n, t);
3994
4049
  if (/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(n))
3995
4050
  return l || f || !n.includes(`
3996
- `) ? xe(n, t) : Ue(e, t, i, s);
4051
+ `) ? xe(n, t) : $e(e, t, i, s);
3997
4052
  if (!l && !f && r !== O.PLAIN && n.includes(`
3998
4053
  `))
3999
- return Ue(e, t, i, s);
4000
- if (nt(n)) {
4054
+ return $e(e, t, i, s);
4055
+ if (at(n)) {
4001
4056
  if (u === "")
4002
- return t.forceBlockIndent = !0, Ue(e, t, i, s);
4057
+ return t.forceBlockIndent = !0, $e(e, t, i, s);
4003
4058
  if (l && u === h)
4004
4059
  return xe(n, t);
4005
4060
  }
@@ -4010,9 +4065,9 @@ ${u}`);
4010
4065
  if (y.some(p) || x?.some(p))
4011
4066
  return xe(n, t);
4012
4067
  }
4013
- return l ? c : st(c, u, Mi, rt(t, !1));
4068
+ return l ? c : rt(c, u, Ui, nt(t, !1));
4014
4069
  }
4015
- function er(e, t, i, s) {
4070
+ function or(e, t, i, s) {
4016
4071
  const { implicitKey: r, inFlow: n } = t, o = typeof e.value == "string" ? e : Object.assign({}, e, { value: String(e.value) });
4017
4072
  let { type: l } = e;
4018
4073
  l !== O.QUOTE_DOUBLE && /[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value) && (l = O.QUOTE_DOUBLE);
@@ -4020,13 +4075,13 @@ function er(e, t, i, s) {
4020
4075
  switch (f) {
4021
4076
  case O.BLOCK_FOLDED:
4022
4077
  case O.BLOCK_LITERAL:
4023
- return r || n ? xe(o.value, t) : Ue(o, t, i, s);
4078
+ return r || n ? xe(o.value, t) : $e(o, t, i, s);
4024
4079
  case O.QUOTE_DOUBLE:
4025
- return Ee(o.value, t);
4080
+ return Ae(o.value, t);
4026
4081
  case O.QUOTE_SINGLE:
4027
- return yt(o.value, t);
4082
+ return vt(o.value, t);
4028
4083
  case O.PLAIN:
4029
- return Xs(o, t, i, s);
4084
+ return ar(o, t, i, s);
4030
4085
  default:
4031
4086
  return null;
4032
4087
  }
@@ -4039,10 +4094,10 @@ function er(e, t, i, s) {
4039
4094
  }
4040
4095
  return h;
4041
4096
  }
4042
- function tr(e, t) {
4097
+ function ur(e, t) {
4043
4098
  const i = Object.assign({
4044
4099
  blockQuote: !0,
4045
- commentString: Ys,
4100
+ commentString: rr,
4046
4101
  defaultKeyType: null,
4047
4102
  defaultStringType: "PLAIN",
4048
4103
  directives: null,
@@ -4080,7 +4135,7 @@ function tr(e, t) {
4080
4135
  options: i
4081
4136
  };
4082
4137
  }
4083
- function ir(e, t) {
4138
+ function lr(e, t) {
4084
4139
  if (t.tag) {
4085
4140
  const r = e.filter((n) => n.tag === t.tag);
4086
4141
  if (r.length > 0)
@@ -4103,15 +4158,15 @@ function ir(e, t) {
4103
4158
  }
4104
4159
  return i;
4105
4160
  }
4106
- function sr(e, t, { anchors: i, doc: s }) {
4161
+ function hr(e, t, { anchors: i, doc: s }) {
4107
4162
  if (!s.directives)
4108
4163
  return "";
4109
4164
  const r = [], n = (V(e) || $(e)) && e.anchor;
4110
- n && Ri(n) && (i.add(n), r.push(`&${n}`));
4165
+ n && Mi(n) && (i.add(n), r.push(`&${n}`));
4111
4166
  const o = e.tag ?? (t.default ? null : t.tag);
4112
4167
  return o && r.push(s.directives.tagString(o)), r.join(" ");
4113
4168
  }
4114
- function ze(e, t, i, s) {
4169
+ function Qe(e, t, i, s) {
4115
4170
  if (T(e))
4116
4171
  return e.toString(t, i, s);
4117
4172
  if (de(e)) {
@@ -4123,14 +4178,14 @@ function ze(e, t, i, s) {
4123
4178
  }
4124
4179
  let r;
4125
4180
  const n = B(e) ? e : t.doc.createNode(e, { onTagObj: (u) => r = u });
4126
- r ?? (r = ir(t.doc.schema.tags, n));
4127
- const o = sr(n, r, t);
4181
+ r ?? (r = lr(t.doc.schema.tags, n));
4182
+ const o = hr(n, r, t);
4128
4183
  o.length > 0 && (t.indentAtStart = (t.indentAtStart ?? 0) + o.length + 1);
4129
- const l = typeof r.stringify == "function" ? r.stringify(n, t, i, s) : V(n) ? er(n, t, i, s) : n.toString(t, i, s);
4184
+ const l = typeof r.stringify == "function" ? r.stringify(n, t, i, s) : V(n) ? or(n, t, i, s) : n.toString(t, i, s);
4130
4185
  return o ? V(n) || l[0] === "{" || l[0] === "[" ? `${o} ${l}` : `${o}
4131
4186
  ${t.indent}${l}` : l;
4132
4187
  }
4133
- function rr({ key: e, value: t }, i, s, r) {
4188
+ function cr({ key: e, value: t }, i, s, r) {
4134
4189
  const { allNullValues: n, doc: o, indent: l, indentStep: u, options: { commentString: h, indentSeq: f, simpleKeys: c } } = i;
4135
4190
  let p = B(e) && e.comment || null;
4136
4191
  if (c) {
@@ -4147,7 +4202,7 @@ function rr({ key: e, value: t }, i, s, r) {
4147
4202
  implicitKey: !x && (c || !n),
4148
4203
  indent: l + u
4149
4204
  });
4150
- let y = !1, d = !1, b = ze(e, i, () => y = !0, () => d = !0);
4205
+ let y = !1, d = !1, b = Qe(e, i, () => y = !0, () => d = !0);
4151
4206
  if (!x && !i.inFlow && b.length > 1024) {
4152
4207
  if (c)
4153
4208
  throw new Error("With simple keys, single line scalar must not span more than 1024 characters");
@@ -4161,16 +4216,16 @@ function rr({ key: e, value: t }, i, s, r) {
4161
4216
  y && (p = null), x ? (p && (b += be(b, i.indent, h(p))), b = `? ${b}
4162
4217
  ${l}:`) : (b = `${b}:`, p && (b += be(b, i.indent, h(p))));
4163
4218
  let _, E, A;
4164
- B(t) ? (_ = !!t.spaceBefore, E = t.commentBefore, A = t.comment) : (_ = !1, E = null, A = null, t && typeof t == "object" && (t = o.createNode(t))), i.implicitKey = !1, !x && !p && V(t) && (i.indentAtStart = b.length + 1), d = !1, !f && u.length >= 2 && !i.inFlow && !x && Pt(t) && !t.flow && !t.tag && !t.anchor && (i.indent = i.indent.substring(2));
4219
+ B(t) ? (_ = !!t.spaceBefore, E = t.commentBefore, A = t.comment) : (_ = !1, E = null, A = null, t && typeof t == "object" && (t = o.createNode(t))), i.implicitKey = !1, !x && !p && V(t) && (i.indentAtStart = b.length + 1), d = !1, !f && u.length >= 2 && !i.inFlow && !x && Vt(t) && !t.flow && !t.tag && !t.anchor && (i.indent = i.indent.substring(2));
4165
4220
  let I = !1;
4166
- const P = ze(t, i, () => I = !0, () => d = !0);
4221
+ const P = Qe(t, i, () => I = !0, () => d = !0);
4167
4222
  let j = " ";
4168
4223
  if (p || _ || E) {
4169
4224
  if (j = _ ? `
4170
4225
  ` : "", E) {
4171
4226
  const q = h(E);
4172
4227
  j += `
4173
- ${Ne(q, i.indent)}`;
4228
+ ${Pe(q, i.indent)}`;
4174
4229
  }
4175
4230
  P === "" && !i.inFlow ? j === `
4176
4231
  ` && A && (j = `
@@ -4179,46 +4234,46 @@ ${Ne(q, i.indent)}`;
4179
4234
  ${i.indent}`;
4180
4235
  } else if (!x && $(t)) {
4181
4236
  const q = P[0], ue = P.indexOf(`
4182
- `), Le = ue !== -1, at = i.inFlow ?? t.flow ?? t.items.length === 0;
4183
- if (Le || !at) {
4184
- let Te = !1;
4185
- if (Le && (q === "&" || q === "!")) {
4237
+ `), Te = ue !== -1, ot = i.inFlow ?? t.flow ?? t.items.length === 0;
4238
+ if (Te || !ot) {
4239
+ let Re = !1;
4240
+ if (Te && (q === "&" || q === "!")) {
4186
4241
  let v = P.indexOf(" ");
4187
- q === "&" && v !== -1 && v < ue && P[v + 1] === "!" && (v = P.indexOf(" ", v + 1)), (v === -1 || ue < v) && (Te = !0);
4242
+ q === "&" && v !== -1 && v < ue && P[v + 1] === "!" && (v = P.indexOf(" ", v + 1)), (v === -1 || ue < v) && (Re = !0);
4188
4243
  }
4189
- Te || (j = `
4244
+ Re || (j = `
4190
4245
  ${i.indent}`);
4191
4246
  }
4192
4247
  } else (P === "" || P[0] === `
4193
4248
  `) && (j = "");
4194
4249
  return b += j + P, i.inFlow ? I && s && s() : A && !I ? b += be(b, i.indent, h(A)) : d && r && r(), b;
4195
4250
  }
4196
- function nr(e, t) {
4251
+ function fr(e, t) {
4197
4252
  (e === "debug" || e === "warn") && console.warn(t);
4198
4253
  }
4199
- const De = "<<", ct = {
4200
- identify: (e) => e === De || typeof e == "symbol" && e.description === De,
4254
+ const Me = "<<", pt = {
4255
+ identify: (e) => e === Me || typeof e == "symbol" && e.description === Me,
4201
4256
  default: "key",
4202
4257
  tag: "tag:yaml.org,2002:merge",
4203
4258
  test: /^<<$/,
4204
- resolve: () => Object.assign(new O(Symbol(De)), {
4205
- addToJSMap: Fi
4259
+ resolve: () => Object.assign(new O(Symbol(Me)), {
4260
+ addToJSMap: $i
4206
4261
  }),
4207
- stringify: () => De
4208
- }, ar = (e, t) => (ct.identify(t) || V(t) && (!t.type || t.type === O.PLAIN) && ct.identify(t.value)) && e?.doc.schema.tags.some((i) => i.tag === ct.tag && i.default);
4209
- function Fi(e, t, i) {
4210
- if (i = e && de(i) ? i.resolve(e.doc) : i, Pt(i))
4262
+ stringify: () => Me
4263
+ }, pr = (e, t) => (pt.identify(t) || V(t) && (!t.type || t.type === O.PLAIN) && pt.identify(t.value)) && e?.doc.schema.tags.some((i) => i.tag === pt.tag && i.default);
4264
+ function $i(e, t, i) {
4265
+ if (i = e && de(i) ? i.resolve(e.doc) : i, Vt(i))
4211
4266
  for (const s of i.items)
4212
- ft(e, t, s);
4267
+ dt(e, t, s);
4213
4268
  else if (Array.isArray(i))
4214
4269
  for (const s of i)
4215
- ft(e, t, s);
4270
+ dt(e, t, s);
4216
4271
  else
4217
- ft(e, t, i);
4272
+ dt(e, t, i);
4218
4273
  }
4219
- function ft(e, t, i) {
4274
+ function dt(e, t, i) {
4220
4275
  const s = e && de(i) ? i.resolve(e.doc) : i;
4221
- if (!Li(s))
4276
+ if (!Bi(s))
4222
4277
  throw new Error("Merge sources must be maps or map aliases");
4223
4278
  const r = s.toJSON(null, e, Map);
4224
4279
  for (const [n, o] of r)
@@ -4230,19 +4285,19 @@ function ft(e, t, i) {
4230
4285
  });
4231
4286
  return t;
4232
4287
  }
4233
- function ji(e, t, { key: i, value: s }) {
4288
+ function qi(e, t, { key: i, value: s }) {
4234
4289
  if (B(i) && i.addToJSMap)
4235
4290
  i.addToJSMap(e, t, s);
4236
- else if (ar(e, i))
4237
- Fi(e, t, s);
4291
+ else if (pr(e, i))
4292
+ $i(e, t, s);
4238
4293
  else {
4239
- const r = Q(i, "", e);
4294
+ const r = H(i, "", e);
4240
4295
  if (t instanceof Map)
4241
- t.set(r, Q(s, r, e));
4296
+ t.set(r, H(s, r, e));
4242
4297
  else if (t instanceof Set)
4243
4298
  t.add(r);
4244
4299
  else {
4245
- const n = or(i, r, e), o = Q(s, n, e);
4300
+ const n = dr(i, r, e), o = H(s, n, e);
4246
4301
  n in t ? Object.defineProperty(t, n, {
4247
4302
  value: o,
4248
4303
  writable: !0,
@@ -4253,13 +4308,13 @@ function ji(e, t, { key: i, value: s }) {
4253
4308
  }
4254
4309
  return t;
4255
4310
  }
4256
- function or(e, t, i) {
4311
+ function dr(e, t, i) {
4257
4312
  if (t === null)
4258
4313
  return "";
4259
4314
  if (typeof t != "object")
4260
4315
  return String(t);
4261
4316
  if (B(e) && i?.doc) {
4262
- const s = tr(i.doc, {});
4317
+ const s = ur(i.doc, {});
4263
4318
  s.anchors = /* @__PURE__ */ new Set();
4264
4319
  for (const n of i.anchors.keys())
4265
4320
  s.anchors.add(n.anchor);
@@ -4267,19 +4322,19 @@ function or(e, t, i) {
4267
4322
  const r = e.toString(s);
4268
4323
  if (!i.mapKeyWarned) {
4269
4324
  let n = JSON.stringify(r);
4270
- n.length > 40 && (n = n.substring(0, 36) + '..."'), nr(i.doc.options.logLevel, `Keys with collection values will be stringified due to JS Object restrictions: ${n}. Set mapAsMap: true to use object keys.`), i.mapKeyWarned = !0;
4325
+ n.length > 40 && (n = n.substring(0, 36) + '..."'), fr(i.doc.options.logLevel, `Keys with collection values will be stringified due to JS Object restrictions: ${n}. Set mapAsMap: true to use object keys.`), i.mapKeyWarned = !0;
4271
4326
  }
4272
4327
  return r;
4273
4328
  }
4274
4329
  return JSON.stringify(t);
4275
4330
  }
4276
- function Vt(e, t, i) {
4277
- const s = Ge(e, void 0, i), r = Ge(t, void 0, i);
4331
+ function Tt(e, t, i) {
4332
+ const s = ze(e, void 0, i), r = ze(t, void 0, i);
4278
4333
  return new ee(s, r);
4279
4334
  }
4280
4335
  class ee {
4281
4336
  constructor(t, i = null) {
4282
- Object.defineProperty(this, X, { value: Vi }), this.key = t, this.value = i;
4337
+ Object.defineProperty(this, X, { value: Ri }), this.key = t, this.value = i;
4283
4338
  }
4284
4339
  clone(t) {
4285
4340
  let { key: i, value: s } = this;
@@ -4287,16 +4342,16 @@ class ee {
4287
4342
  }
4288
4343
  toJSON(t, i) {
4289
4344
  const s = i?.mapAsMap ? /* @__PURE__ */ new Map() : {};
4290
- return ji(i, s, this);
4345
+ return qi(i, s, this);
4291
4346
  }
4292
4347
  toString(t, i, s) {
4293
- return t?.doc ? rr(this, t, i, s) : JSON.stringify(this);
4348
+ return t?.doc ? cr(this, t, i, s) : JSON.stringify(this);
4294
4349
  }
4295
4350
  }
4296
- function Ui(e, t, i) {
4297
- return (t.inFlow ?? e.flow ? lr : ur)(e, t, i);
4351
+ function Wi(e, t, i) {
4352
+ return (t.inFlow ?? e.flow ? gr : mr)(e, t, i);
4298
4353
  }
4299
- function ur({ comment: e, items: t }, i, { blockItemPrefix: s, flowChars: r, itemIndent: n, onChompKeep: o, onComment: l }) {
4354
+ function mr({ comment: e, items: t }, i, { blockItemPrefix: s, flowChars: r, itemIndent: n, onChompKeep: o, onComment: l }) {
4300
4355
  const { indent: u, options: { commentString: h } } = i, f = Object.assign({}, i, { indent: n, type: null });
4301
4356
  let c = !1;
4302
4357
  const p = [];
@@ -4310,7 +4365,7 @@ function ur({ comment: e, items: t }, i, { blockItemPrefix: s, flowChars: r, ite
4310
4365
  E && (!c && E.spaceBefore && p.push(""), He(i, p, E.commentBefore, c));
4311
4366
  }
4312
4367
  c = !1;
4313
- let _ = ze(d, f, () => b = null, () => c = !0);
4368
+ let _ = Qe(d, f, () => b = null, () => c = !0);
4314
4369
  b && (_ += be(_, n, h(b))), c && b && (c = !1), p.push(s + _);
4315
4370
  }
4316
4371
  let x;
@@ -4326,9 +4381,9 @@ ${u}${d}` : `
4326
4381
  }
4327
4382
  }
4328
4383
  return e ? (x += `
4329
- ` + Ne(h(e), u), l && l()) : c && o && o(), x;
4384
+ ` + Pe(h(e), u), l && l()) : c && o && o(), x;
4330
4385
  }
4331
- function lr({ items: e }, t, { flowChars: i, itemIndent: s }) {
4386
+ function gr({ items: e }, t, { flowChars: i, itemIndent: s }) {
4332
4387
  const { indent: r, indentStep: n, flowCollectionPadding: o, options: { commentString: l } } = t;
4333
4388
  s += n;
4334
4389
  const u = Object.assign({}, t, {
@@ -4350,7 +4405,7 @@ function lr({ items: e }, t, { flowChars: i, itemIndent: s }) {
4350
4405
  A ? (A.comment && (b = A.comment), A.commentBefore && (h = !0)) : d.value == null && E?.comment && (b = E.comment);
4351
4406
  }
4352
4407
  b && (h = !0);
4353
- let _ = ze(d, u, () => b = null);
4408
+ let _ = Qe(d, u, () => b = null);
4354
4409
  y < e.length - 1 && (_ += ","), b && (_ += be(_, s, l(b))), !h && (c.length > f || _.includes(`
4355
4410
  `)) && (h = !0), c.push(_), f = c.length;
4356
4411
  }
@@ -4374,7 +4429,7 @@ ${r}${x}`;
4374
4429
  }
4375
4430
  function He({ indent: e, options: { commentString: t } }, i, s, r) {
4376
4431
  if (s && r && (s = s.replace(/^\n+/, "")), s) {
4377
- const n = Ne(t(s), e);
4432
+ const n = Pe(t(s), e);
4378
4433
  i.push(n.trimStart());
4379
4434
  }
4380
4435
  }
@@ -4384,7 +4439,7 @@ function ce(e, t) {
4384
4439
  if (T(s) && (s.key === t || s.key === i || V(s.key) && s.key.value === i))
4385
4440
  return s;
4386
4441
  }
4387
- class me extends Di {
4442
+ class me extends ji {
4388
4443
  static get tagName() {
4389
4444
  return "tag:yaml.org,2002:map";
4390
4445
  }
@@ -4401,7 +4456,7 @@ class me extends Di {
4401
4456
  h = n.call(i, u, h);
4402
4457
  else if (Array.isArray(n) && !n.includes(u))
4403
4458
  return;
4404
- (h !== void 0 || r) && o.items.push(Vt(u, h, s));
4459
+ (h !== void 0 || r) && o.items.push(Tt(u, h, s));
4405
4460
  };
4406
4461
  if (i instanceof Map)
4407
4462
  for (const [u, h] of i)
@@ -4424,7 +4479,7 @@ class me extends Di {
4424
4479
  if (r) {
4425
4480
  if (!i)
4426
4481
  throw new Error(`Key ${s.key} already set`);
4427
- V(r.value) && Bi(s.value) ? r.value.value = s.value : r.value = s.value;
4482
+ V(r.value) && Fi(s.value) ? r.value.value = s.value : r.value = s.value;
4428
4483
  } else if (n) {
4429
4484
  const o = this.items.findIndex((l) => n(s, l) < 0);
4430
4485
  o === -1 ? this.items.push(s) : this.items.splice(o, 0, s);
@@ -4454,7 +4509,7 @@ class me extends Di {
4454
4509
  const r = s ? new s() : i?.mapAsMap ? /* @__PURE__ */ new Map() : {};
4455
4510
  i?.onCreate && i.onCreate(r);
4456
4511
  for (const n of this.items)
4457
- ji(i, r, n);
4512
+ qi(i, r, n);
4458
4513
  return r;
4459
4514
  }
4460
4515
  toString(t, i, s) {
@@ -4463,7 +4518,7 @@ class me extends Di {
4463
4518
  for (const r of this.items)
4464
4519
  if (!T(r))
4465
4520
  throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`);
4466
- return !t.allNullValues && this.hasAllNullValues(!1) && (t = Object.assign({}, t, { allNullValues: !0 })), Ui(this, t, {
4521
+ return !t.allNullValues && this.hasAllNullValues(!1) && (t = Object.assign({}, t, { allNullValues: !0 })), Wi(this, t, {
4467
4522
  blockItemPrefix: "",
4468
4523
  flowChars: { start: "{", end: "}" },
4469
4524
  itemIndent: t.indent || "",
@@ -4472,12 +4527,12 @@ class me extends Di {
4472
4527
  });
4473
4528
  }
4474
4529
  }
4475
- class $i extends Di {
4530
+ class Ki extends ji {
4476
4531
  static get tagName() {
4477
4532
  return "tag:yaml.org,2002:seq";
4478
4533
  }
4479
4534
  constructor(t) {
4480
- super(Ve, t), this.items = [];
4535
+ super(Le, t), this.items = [];
4481
4536
  }
4482
4537
  add(t) {
4483
4538
  this.items.push(t);
@@ -4491,11 +4546,11 @@ class $i extends Di {
4491
4546
  * @returns `true` if the item was found and removed.
4492
4547
  */
4493
4548
  delete(t) {
4494
- const i = Me(t);
4549
+ const i = Fe(t);
4495
4550
  return typeof i != "number" ? !1 : this.items.splice(i, 1).length > 0;
4496
4551
  }
4497
4552
  get(t, i) {
4498
- const s = Me(t);
4553
+ const s = Fe(t);
4499
4554
  if (typeof s != "number")
4500
4555
  return;
4501
4556
  const r = this.items[s];
@@ -4508,7 +4563,7 @@ class $i extends Di {
4508
4563
  * It may be wrapped in a `Scalar`.
4509
4564
  */
4510
4565
  has(t) {
4511
- const i = Me(t);
4566
+ const i = Fe(t);
4512
4567
  return typeof i == "number" && i < this.items.length;
4513
4568
  }
4514
4569
  /**
@@ -4519,22 +4574,22 @@ class $i extends Di {
4519
4574
  * It may be wrapped in a `Scalar`.
4520
4575
  */
4521
4576
  set(t, i) {
4522
- const s = Me(t);
4577
+ const s = Fe(t);
4523
4578
  if (typeof s != "number")
4524
4579
  throw new Error(`Expected a valid index, not ${t}.`);
4525
4580
  const r = this.items[s];
4526
- V(r) && Bi(i) ? r.value = i : this.items[s] = i;
4581
+ V(r) && Fi(i) ? r.value = i : this.items[s] = i;
4527
4582
  }
4528
4583
  toJSON(t, i) {
4529
4584
  const s = [];
4530
4585
  i?.onCreate && i.onCreate(s);
4531
4586
  let r = 0;
4532
4587
  for (const n of this.items)
4533
- s.push(Q(n, String(r++), i));
4588
+ s.push(H(n, String(r++), i));
4534
4589
  return s;
4535
4590
  }
4536
4591
  toString(t, i, s) {
4537
- return t ? Ui(this, t, {
4592
+ return t ? Wi(this, t, {
4538
4593
  blockItemPrefix: "- ",
4539
4594
  flowChars: { start: "[", end: "]" },
4540
4595
  itemIndent: (t.indent || "") + " ",
@@ -4551,18 +4606,18 @@ class $i extends Di {
4551
4606
  const u = i instanceof Set ? l : String(o++);
4552
4607
  l = r.call(i, u, l);
4553
4608
  }
4554
- n.items.push(Ge(l, void 0, s));
4609
+ n.items.push(ze(l, void 0, s));
4555
4610
  }
4556
4611
  }
4557
4612
  return n;
4558
4613
  }
4559
4614
  }
4560
- function Me(e) {
4615
+ function Fe(e) {
4561
4616
  let t = V(e) ? e.value : e;
4562
4617
  return t && typeof t == "string" && (t = Number(t)), typeof t == "number" && Number.isInteger(t) && t >= 0 ? t : null;
4563
4618
  }
4564
- function hr(e, t, i) {
4565
- const { replacer: s } = i, r = new $i(e);
4619
+ function br(e, t, i) {
4620
+ const { replacer: s } = i, r = new Ki(e);
4566
4621
  r.tag = "tag:yaml.org,2002:pairs";
4567
4622
  let n = 0;
4568
4623
  if (t && Symbol.iterator in Object(t))
@@ -4582,13 +4637,13 @@ function hr(e, t, i) {
4582
4637
  throw new TypeError(`Expected tuple with one key, not ${h.length} keys`);
4583
4638
  } else
4584
4639
  l = o;
4585
- r.items.push(Vt(l, u, i));
4640
+ r.items.push(Tt(l, u, i));
4586
4641
  }
4587
4642
  return r;
4588
4643
  }
4589
- class Lt extends $i {
4644
+ class Rt extends Ki {
4590
4645
  constructor() {
4591
- super(), this.add = me.prototype.add.bind(this), this.delete = me.prototype.delete.bind(this), this.get = me.prototype.get.bind(this), this.has = me.prototype.has.bind(this), this.set = me.prototype.set.bind(this), this.tag = Lt.tag;
4646
+ super(), this.add = me.prototype.add.bind(this), this.delete = me.prototype.delete.bind(this), this.get = me.prototype.get.bind(this), this.has = me.prototype.has.bind(this), this.set = me.prototype.set.bind(this), this.tag = Rt.tag;
4592
4647
  }
4593
4648
  /**
4594
4649
  * If `ctx` is given, the return type is actually `Map<unknown, unknown>`,
@@ -4601,21 +4656,21 @@ class Lt extends $i {
4601
4656
  i?.onCreate && i.onCreate(s);
4602
4657
  for (const r of this.items) {
4603
4658
  let n, o;
4604
- if (T(r) ? (n = Q(r.key, "", i), o = Q(r.value, n, i)) : n = Q(r, "", i), s.has(n))
4659
+ if (T(r) ? (n = H(r.key, "", i), o = H(r.value, n, i)) : n = H(r, "", i), s.has(n))
4605
4660
  throw new Error("Ordered maps must not include duplicate keys");
4606
4661
  s.set(n, o);
4607
4662
  }
4608
4663
  return s;
4609
4664
  }
4610
4665
  static from(t, i, s) {
4611
- const r = hr(t, i, s), n = new this();
4666
+ const r = br(t, i, s), n = new this();
4612
4667
  return n.items = r.items, n;
4613
4668
  }
4614
4669
  }
4615
- Lt.tag = "tag:yaml.org,2002:omap";
4616
- class Tt extends me {
4670
+ Rt.tag = "tag:yaml.org,2002:omap";
4671
+ class Bt extends me {
4617
4672
  constructor(t) {
4618
- super(t), this.tag = Tt.tag;
4673
+ super(t), this.tag = Bt.tag;
4619
4674
  }
4620
4675
  add(t) {
4621
4676
  let i;
@@ -4649,23 +4704,23 @@ class Tt extends me {
4649
4704
  const { replacer: r } = s, n = new this(t);
4650
4705
  if (i && Symbol.iterator in Object(i))
4651
4706
  for (let o of i)
4652
- typeof r == "function" && (o = r.call(i, o, o)), n.items.push(Vt(o, null, s));
4707
+ typeof r == "function" && (o = r.call(i, o, o)), n.items.push(Tt(o, null, s));
4653
4708
  return n;
4654
4709
  }
4655
4710
  }
4656
- Tt.tag = "tag:yaml.org,2002:set";
4711
+ Bt.tag = "tag:yaml.org,2002:set";
4657
4712
  new Set("0123456789ABCDEFabcdef");
4658
4713
  new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()");
4659
4714
  new Set(",[]{}");
4660
4715
  new Set(` ,[]{}
4661
4716
  \r `);
4662
- const cr = /\{\{\s*(var_table|var)\s*\|([\s\S]*?)\}\}/g;
4663
- function fr(e) {
4717
+ const xr = /\{\{\s*(var_table|var)\s*\|([\s\S]*?)\}\}/g;
4718
+ function yr(e) {
4664
4719
  const t = [];
4665
- for (const i of e.matchAll(cr)) {
4720
+ for (const i of e.matchAll(xr)) {
4666
4721
  const s = i.index ?? 0, r = i[0], n = i[2] ?? "";
4667
4722
  try {
4668
- const o = $s(js(n));
4723
+ const o = Hs(zs(n));
4669
4724
  o.length > 0 && t.push({
4670
4725
  message: o.join(`
4671
4726
  `),
@@ -4678,10 +4733,10 @@ function fr(e) {
4678
4733
  }
4679
4734
  return t;
4680
4735
  }
4681
- const pr = {
4736
+ const vr = {
4682
4737
  key: 0,
4683
4738
  class: "aimd-editor-loading"
4684
- }, Ht = "airalogy-aimd", mr = /* @__PURE__ */ qi({
4739
+ }, Jt = "airalogy-aimd", kr = /* @__PURE__ */ Gi({
4685
4740
  __name: "AimdSourceEditor",
4686
4741
  props: {
4687
4742
  content: {},
@@ -4693,9 +4748,9 @@ const pr = {
4693
4748
  },
4694
4749
  emits: ["content-change", "ready", "monaco-loaded"],
4695
4750
  setup(e, { expose: t, emit: i }) {
4696
- const s = e, r = i, n = /^\s*(```|~~~)\s*assigner(?:\s+.*\bruntime\s*=\s*(?:"client"|'client'|client)\b.*)\s*$/, o = /^\s*(```|~~~)\s*assigner(?:\s+.*)?\s*$/, l = /^\s*(```|~~~)\s*quiz(?:\s+.*)?\s*$/, u = /^\s*(```|~~~)\s*((?:\w|[/#-])+)(?:\s+.*)?\s*$/, h = /^\s*(```|~~~)\s*$/, f = Bt(null);
4751
+ const s = e, r = i, n = /^\s*(```|~~~)\s*assigner(?:\s+.*\bruntime\s*=\s*(?:"client"|'client'|client)\b.*)\s*$/, o = /^\s*(```|~~~)\s*assigner(?:\s+.*)?\s*$/, l = /^\s*(```|~~~)\s*quiz(?:\s+.*)?\s*$/, u = /^\s*(```|~~~)\s*((?:\w|[/#-])+)(?:\s+.*)?\s*$/, h = /^\s*(```|~~~)\s*$/, f = Mt(null);
4697
4752
  let c = null, p = null, x = !1;
4698
- const y = Bt(!0);
4753
+ const y = Mt(!0);
4699
4754
  function d(v) {
4700
4755
  const U = s.resolvedMessages;
4701
4756
  v.languages.getLanguages().some((re) => re.id === "aimd") || (v.languages.register({
@@ -4782,7 +4837,7 @@ const pr = {
4782
4837
  }
4783
4838
  }), v.languages.registerCompletionItemProvider("aimd", {
4784
4839
  provideCompletionItems: () => {
4785
- const re = ["var", "var_table", "step", "check", "ref_step", "ref_var", "ref_fig", "cite"], Re = {
4840
+ const re = ["var", "var_table", "step", "check", "ref_step", "ref_var", "ref_fig", "cite"], Be = {
4786
4841
  var: "var_id",
4787
4842
  var_table: "table_id",
4788
4843
  step: "step_id",
@@ -4791,14 +4846,14 @@ const pr = {
4791
4846
  ref_var: "var_id",
4792
4847
  ref_fig: "fig_id",
4793
4848
  cite: "ref_id"
4794
- }, Rt = re.map((Be) => ({
4795
- label: `{{${Be}|}}`,
4849
+ }, Dt = re.map((De) => ({
4850
+ label: `{{${De}|}}`,
4796
4851
  kind: v.languages.CompletionItemKind.Snippet,
4797
- insertText: `{{${Be}|\${1:${Re[Be] ?? "id"}}}}`,
4852
+ insertText: `{{${De}|\${1:${Be[De] ?? "id"}}}}`,
4798
4853
  insertTextRules: v.languages.CompletionItemInsertTextRule.InsertAsSnippet,
4799
- documentation: U.completions.insertAimdField(Be)
4854
+ documentation: U.completions.insertAimdField(De)
4800
4855
  }));
4801
- return Rt.push({
4856
+ return Dt.push({
4802
4857
  label: U.completions.quizBlockLabel,
4803
4858
  kind: v.languages.CompletionItemKind.Snippet,
4804
4859
  insertText: [
@@ -4819,7 +4874,7 @@ const pr = {
4819
4874
  `),
4820
4875
  insertTextRules: v.languages.CompletionItemInsertTextRule.InsertAsSnippet,
4821
4876
  documentation: U.completions.quizBlock
4822
- }), { suggestions: Rt };
4877
+ }), { suggestions: Dt };
4823
4878
  }
4824
4879
  }), v.editor.defineTheme("aimd-light", {
4825
4880
  base: "vs",
@@ -4861,24 +4916,24 @@ const pr = {
4861
4916
  if (!p || !c) return;
4862
4917
  const v = c.getModel();
4863
4918
  if (!v) return;
4864
- const U = fr(v.getValue()).map((le) => {
4865
- const re = v.getPositionAt(le.startOffset), Re = v.getPositionAt(le.endOffset);
4919
+ const U = yr(v.getValue()).map((le) => {
4920
+ const re = v.getPositionAt(le.startOffset), Be = v.getPositionAt(le.endOffset);
4866
4921
  return {
4867
4922
  severity: le.severity === "error" ? p.MarkerSeverity.Error : p.MarkerSeverity.Warning,
4868
4923
  message: le.message,
4869
4924
  source: "AIMD",
4870
4925
  startLineNumber: re.lineNumber,
4871
4926
  startColumn: re.column,
4872
- endLineNumber: Re.lineNumber,
4873
- endColumn: Re.column
4927
+ endLineNumber: Be.lineNumber,
4928
+ endColumn: Be.column
4874
4929
  };
4875
4930
  });
4876
- p.editor.setModelMarkers(v, Ht, U);
4931
+ p.editor.setModelMarkers(v, Jt, U);
4877
4932
  }
4878
4933
  function _() {
4879
4934
  if (!p || !c) return;
4880
4935
  const v = c.getModel();
4881
- v && p.editor.setModelMarkers(v, Ht, []);
4936
+ v && p.editor.setModelMarkers(v, Jt, []);
4882
4937
  }
4883
4938
  function E(v) {
4884
4939
  if (!f.value || c) return;
@@ -4903,7 +4958,7 @@ const pr = {
4903
4958
  b(), x || r("content-change", c.getValue());
4904
4959
  }), b(), r("ready", c), r("monaco-loaded", v, c);
4905
4960
  }
4906
- Ki(async () => {
4961
+ zi(async () => {
4907
4962
  try {
4908
4963
  y.value = !0;
4909
4964
  const v = await import("monaco-editor");
@@ -4911,13 +4966,13 @@ const pr = {
4911
4966
  } finally {
4912
4967
  y.value = !1;
4913
4968
  }
4914
- }), Wi(() => {
4969
+ }), Qi(() => {
4915
4970
  _(), c?.dispose();
4916
- }), ot(() => s.content, (v) => {
4971
+ }), ut(() => s.content, (v) => {
4917
4972
  !c || v === c.getValue() || (x = !0, c.setValue(v), x = !1);
4918
- }), ot(() => s.theme, (v) => {
4973
+ }), ut(() => s.theme, (v) => {
4919
4974
  p && p.editor.setTheme(v);
4920
- }), ot(() => s.readonly, (v) => {
4975
+ }), ut(() => s.readonly, (v) => {
4921
4976
  c?.updateOptions({ readOnly: v });
4922
4977
  });
4923
4978
  function A() {
@@ -4938,13 +4993,13 @@ const pr = {
4938
4993
  function ue() {
4939
4994
  c?.focus();
4940
4995
  }
4941
- function Le() {
4996
+ function Te() {
4942
4997
  return c?.getModel();
4943
4998
  }
4944
- function at() {
4999
+ function ot() {
4945
5000
  return c?.getPosition();
4946
5001
  }
4947
- function Te() {
5002
+ function Re() {
4948
5003
  return c?.getValue();
4949
5004
  }
4950
5005
  return t({
@@ -4954,16 +5009,16 @@ const pr = {
4954
5009
  getSelection: j,
4955
5010
  executeEdits: q,
4956
5011
  focus: ue,
4957
- getModel: Le,
4958
- getPosition: at,
4959
- getValue: Te,
5012
+ getModel: Te,
5013
+ getPosition: ot,
5014
+ getValue: Re,
4960
5015
  loading: y
4961
- }), (v, U) => (Dt(), Mt("div", {
5016
+ }), (v, U) => (Ft(), jt("div", {
4962
5017
  class: "aimd-editor-source-mode",
4963
- style: Gi({ height: e.minHeight + "px" })
5018
+ style: Hi({ height: e.minHeight + "px" })
4964
5019
  }, [
4965
- y.value ? (Dt(), Mt("div", pr, zi(e.resolvedMessages.common.loadingEditor), 1)) : Hi("", !0),
4966
- Qi("div", {
5020
+ y.value ? (Ft(), jt("div", vr, Ji(e.resolvedMessages.common.loadingEditor), 1)) : Yi("", !0),
5021
+ Zi("div", {
4967
5022
  ref_key: "editorContainer",
4968
5023
  ref: f,
4969
5024
  class: "aimd-editor-container"
@@ -4972,5 +5027,5 @@ const pr = {
4972
5027
  }
4973
5028
  });
4974
5029
  export {
4975
- mr as _
5030
+ kr as _
4976
5031
  };