@airalogy/aimd-editor 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,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 Hi, ref as Bt, onMounted as Qi, onBeforeUnmount as Ji, watch as ut, openBlock as Ft, createElementBlock as jt, normalizeStyle as Yi, toDisplayString as Zi, createCommentVNode as Xi, createElementVNode as es } from "vue";
2
+ var ts = [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], Zt = [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], is = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", Xt = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨ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
+ }, ct = "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", ss = {
9
+ 5: ct,
10
+ "5module": ct + " export import",
11
+ 6: ct + " const class extends export import super"
12
+ }, rs = /^in(stanceof)?$/, ns = new RegExp("[" + Xt + "]"), as = new RegExp("[" + Xt + is + "]");
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,10 +20,10 @@ 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 && ns.test(String.fromCharCode(e)) : t === !1 ? !1 : mt(e, Zt);
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 && as.test(String.fromCharCode(e)) : t === !1 ? !1 : mt(e, Zt) || mt(e, ts);
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;
@@ -31,16 +31,16 @@ var C = function(t, i) {
31
31
  function K(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 W = { beforeExpr: !0 }, B = { 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
- num: new C("num", M),
40
- regexp: new C("regexp", M),
41
- string: new C("string", M),
42
- name: new C("name", M),
43
- privateId: new C("privateId", M),
39
+ num: new C("num", B),
40
+ regexp: new C("regexp", B),
41
+ string: new C("string", B),
42
+ name: new C("name", B),
43
+ privateId: new C("privateId", B),
44
44
  eof: new C("eof"),
45
45
  // Punctuation token types.
46
46
  bracketL: new C("[", { beforeExpr: !0, startsExpr: !0 }),
@@ -59,7 +59,7 @@ var a = {
59
59
  template: new C("template"),
60
60
  invalidTemplate: new C("invalidTemplate"),
61
61
  ellipsis: new C("...", W),
62
- backQuote: new C("`", M),
62
+ backQuote: new C("`", B),
63
63
  dollarBraceL: new C("${", { beforeExpr: !0, startsExpr: !0 }),
64
64
  // Operators. These carry several kinds of properties to help the
65
65
  // parser use them properly (the presence of these properties is
@@ -103,7 +103,7 @@ var a = {
103
103
  _else: w("else", W),
104
104
  _finally: w("finally"),
105
105
  _for: w("for", { isLoop: !0 }),
106
- _function: w("function", M),
106
+ _function: w("function", B),
107
107
  _if: w("if"),
108
108
  _return: w("return", W),
109
109
  _switch: w("switch"),
@@ -114,62 +114,62 @@ var a = {
114
114
  _while: w("while", { isLoop: !0 }),
115
115
  _with: w("with"),
116
116
  _new: w("new", { beforeExpr: !0, startsExpr: !0 }),
117
- _this: w("this", M),
118
- _super: w("super", M),
119
- _class: w("class", M),
117
+ _this: w("this", B),
118
+ _super: w("super", B),
119
+ _class: w("class", B),
120
120
  _extends: w("extends", W),
121
121
  _export: w("export"),
122
- _import: w("import", M),
123
- _null: w("null", M),
124
- _true: w("true", M),
125
- _false: w("false", M),
122
+ _import: w("import", B),
123
+ _null: w("null", B),
124
+ _true: w("true", B),
125
+ _false: w("false", B),
126
126
  _in: w("in", { beforeExpr: !0, binop: 7 }),
127
127
  _instanceof: w("instanceof", { beforeExpr: !0, binop: 7 }),
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/, os = 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 ei(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 ti = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, R = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ii = Object.prototype, us = ii.hasOwnProperty, ls = ii.toString, Se = Object.hasOwn || (function(e, t) {
145
+ return us.call(e, t);
146
+ }), $t = Array.isArray || (function(e) {
147
+ return ls.call(e) === "[object Array]";
148
+ }), Ut = /* @__PURE__ */ Object.create(null);
149
149
  function ne(e) {
150
- return jt[e] || (jt[e] = new RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
150
+ return Ut[e] || (Ut[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 cs = /(?:[\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 si(e, t) {
165
165
  for (var i = 1, s = 0; ; ) {
166
- var r = Yt(e, s, t);
166
+ var r = ei(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 hs(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), $t(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 $t(t.onComment) && (t.onComment = fs(t, t.onComment)), t;
281
281
  }
282
- function os(e, t) {
282
+ function fs(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, ri = 8, _t = 16, ni = 32, Ye = 64, ai = 128, pe = 256, Oe = 512, Ze = Ne | ke | pe;
294
+ function Ct(e, t) {
295
+ return ke | (e ? wt : 0) | (t ? ri : 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, oi = 3, ui = 4, li = 5, L = function(t, i, s) {
298
+ this.options = t = hs(t), this.sourceFile = t.sourceFile, this.keywords = ne(ss[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 & ri) > 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 & ai) > 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 = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
367
- D.strictDirective = function(e) {
366
+ var M = L.prototype, ps = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
367
+ M.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 = ps.exec(this.input.slice(e));
373
373
  if (!t)
374
374
  return !1;
375
375
  if ((t[1] || t[2]) === "use strict") {
@@ -380,49 +380,49 @@ D.strictDirective = function(e) {
380
380
  e += t[0].length, R.lastIndex = e, e += R.exec(this.input)[0].length, this.input[e] === ";" && e++;
381
381
  }
382
382
  };
383
- D.eat = function(e) {
383
+ M.eat = function(e) {
384
384
  return this.type === e ? (this.next(), !0) : !1;
385
385
  };
386
- D.isContextual = function(e) {
386
+ M.isContextual = function(e) {
387
387
  return this.type === a.name && this.value === e && !this.containsEsc;
388
388
  };
389
- D.eatContextual = function(e) {
389
+ M.eatContextual = function(e) {
390
390
  return this.isContextual(e) ? (this.next(), !0) : !1;
391
391
  };
392
- D.expectContextual = function(e) {
392
+ M.expectContextual = function(e) {
393
393
  this.eatContextual(e) || this.unexpected();
394
394
  };
395
- D.canInsertSemicolon = function() {
395
+ M.canInsertSemicolon = function() {
396
396
  return this.type === a.eof || this.type === a.braceR || F.test(this.input.slice(this.lastTokEnd, this.start));
397
397
  };
398
- D.insertSemicolon = function() {
398
+ M.insertSemicolon = function() {
399
399
  if (this.canInsertSemicolon())
400
400
  return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), !0;
401
401
  };
402
- D.semicolon = function() {
402
+ M.semicolon = function() {
403
403
  !this.eat(a.semi) && !this.insertSemicolon() && this.unexpected();
404
404
  };
405
- D.afterTrailingComma = function(e, t) {
405
+ M.afterTrailingComma = function(e, t) {
406
406
  if (this.type === e)
407
407
  return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), t || this.next(), !0;
408
408
  };
409
- D.expect = function(e) {
409
+ M.expect = function(e) {
410
410
  this.eat(e) || this.unexpected();
411
411
  };
412
- D.unexpected = function(e) {
412
+ M.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
- D.checkPatternErrors = function(e, t) {
418
+ M.checkPatternErrors = function(e, t) {
419
419
  if (e) {
420
420
  e.trailingComma > -1 && this.raiseRecoverable(e.trailingComma, "Comma is not permitted after the rest element");
421
421
  var i = t ? e.parenthesizedAssign : e.parenthesizedBind;
422
422
  i > -1 && this.raiseRecoverable(i, t ? "Assigning to rvalue" : "Parenthesized pattern");
423
423
  }
424
424
  };
425
- D.checkExpressionErrors = function(e, t) {
425
+ M.checkExpressionErrors = function(e, t) {
426
426
  if (!e)
427
427
  return !1;
428
428
  var i = e.shorthandAssign, s = e.doubleProto;
@@ -430,10 +430,10 @@ D.checkExpressionErrors = function(e, t) {
430
430
  return i >= 0 || s >= 0;
431
431
  i >= 0 && this.raise(i, "Shorthand property assignments are valid only in destructuring patterns"), s >= 0 && this.raiseRecoverable(s, "Redefinition of __proto__ property");
432
432
  };
433
- D.checkYieldAwaitInDefaultParams = function() {
433
+ M.checkYieldAwaitInDefaultParams = function() {
434
434
  this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default value"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value");
435
435
  };
436
- D.isSimpleAssignTarget = function(e) {
436
+ M.isSimpleAssignTarget = function(e) {
437
437
  return e.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(e.expression) : e.type === "Identifier" || e.type === "MemberExpression";
438
438
  };
439
439
  var g = L.prototype;
@@ -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" }, ds = { 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 (!rs.test(n))
472
472
  return !0;
473
473
  }
474
474
  return !1;
@@ -501,8 +501,8 @@ g.isUsingKeyword = function(e, t) {
501
501
  if (this.input.slice(s, l) === "of" && (l === this.input.length || !ae(u = this.input.charCodeAt(l)) && !(u > 55295 && u < 56320)))
502
502
  return !1;
503
503
  }
504
- var h = this.input.charCodeAt(s);
505
- return J(h, !0) || h === 92;
504
+ var c = this.input.charCodeAt(s);
505
+ return J(c, !0) || c === 92;
506
506
  };
507
507
  g.isAwaitUsing = function(e) {
508
508
  return this.isUsingKeyword(!0, e);
@@ -564,11 +564,11 @@ g.parseStatement = function(e, t, i) {
564
564
  default:
565
565
  if (this.isAsyncFunction())
566
566
  return e && this.unexpected(), this.next(), this.parseFunctionStatement(r, !0, !e);
567
- var h = this.isAwaitUsing(!1) ? "await using" : this.isUsing(!1) ? "using" : null;
568
- if (h)
569
- return t && this.options.sourceType === "script" && this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`"), h === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(r, !1, h), this.semicolon(), this.finishNode(r, "VariableDeclaration");
570
- var f = this.value, c = this.parseExpression();
571
- return s === a.name && c.type === "Identifier" && this.eat(a.colon) ? this.parseLabeledStatement(r, f, c, e) : this.parseExpressionStatement(r, c);
567
+ var c = this.isAwaitUsing(!1) ? "await using" : this.isUsing(!1) ? "using" : null;
568
+ if (c)
569
+ return t && this.options.sourceType === "script" && this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`"), c === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(r, !1, c), this.semicolon(), this.finishNode(r, "VariableDeclaration");
570
+ var f = this.value, h = this.parseExpression();
571
+ return s === a.name && h.type === "Identifier" && this.eat(a.colon) ? this.parseLabeledStatement(r, f, h, e) : this.parseExpressionStatement(r, h);
572
572
  }
573
573
  };
574
574
  g.parseBreakContinueStatement = function(e, t) {
@@ -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);
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));
605
+ var c = this.containsEsc, f = new Xe(), h = this.start, p = t > -1 ? this.parseExprSubscripts(f, "await") : this.parseExpression(!0, f);
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 === h && !c && 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(ds), 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 ms = [];
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 ? ni : 0), this.checkLValPattern(e, t ? ui : 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");
@@ -660,9 +660,9 @@ g.parseLabeledStatement = function(e, t, i, s) {
660
660
  o.name === t && this.raise(i.start, "Label '" + t + "' is already declared");
661
661
  }
662
662
  for (var l = this.type.isLoop ? "loop" : this.type === a._switch ? "switch" : null, u = this.labels.length - 1; u >= 0; u--) {
663
- var h = this.labels[u];
664
- if (h.statementStart === e.start)
665
- h.statementStart = this.start, h.kind = l;
663
+ var c = this.labels[u];
664
+ if (c.statementStart === e.start)
665
+ c.statementStart = this.start, c.kind = l;
666
666
  else
667
667
  break;
668
668
  }
@@ -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, ci = 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 & ci && 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 : oi));
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" && gs(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,8 +733,8 @@ 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;
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);
736
+ var c = !i.static && Ke(i, "constructor"), f = c && e;
737
+ c && o !== "method" && this.raise(i.key.start, "Constructor can't have get/set modifier"), i.kind = c ? "constructor" : o, this.parseClassMethod(i, r, n, f);
738
738
  } else
739
739
  this.parseClassField(i);
740
740
  return 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 && Ke(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 Ke(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && Ke(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 gs(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 Ke(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 | ci, !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 = ms, 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 cs.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 !== li && 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;
@@ -1113,18 +1113,18 @@ var H = function(t, i, s, r, n) {
1113
1113
  f_expr: new H("function", !0),
1114
1114
  f_expr_gen: new H("function", !0, !1, null, !0),
1115
1115
  f_gen: new H("function", !1, !1, null, !0)
1116
- }, ke = L.prototype;
1117
- ke.initialContext = function() {
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,16 +1229,16 @@ 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
- var h = this.parseMaybeConditional(e, t);
1236
- if (i && (h = i.call(this, h, l, u)), this.type.isAssign) {
1235
+ var c = this.parseMaybeConditional(e, t);
1236
+ if (i && (c = i.call(this, c, l, u)), this.type.isAssign) {
1237
1237
  var f = this.startNodeAt(l, u);
1238
- return f.operator = this.value, this.type === a.eq && (h = this.toAssignable(h, !1, t)), s || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= h.start && (t.shorthandAssign = -1), this.type === a.eq ? this.checkLValPattern(h) : this.checkLValSimple(h), f.left = h, this.next(), f.right = this.parseMaybeAssign(e), o > -1 && (t.doubleProto = o), this.finishNode(f, "AssignmentExpression");
1238
+ return f.operator = this.value, this.type === a.eq && (c = this.toAssignable(c, !1, t)), s || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= c.start && (t.shorthandAssign = -1), this.type === a.eq ? this.checkLValPattern(c) : this.checkLValSimple(c), f.left = c, this.next(), f.right = this.parseMaybeAssign(e), o > -1 && (t.doubleProto = o), this.finishNode(f, "AssignmentExpression");
1239
1239
  } else
1240
1240
  s && this.checkExpressionErrors(t, !0);
1241
- return r > -1 && (t.parenthesizedAssign = r), n > -1 && (t.trailingComma = n), h;
1241
+ return r > -1 && (t.parenthesizedAssign = r), n > -1 && (t.trailingComma = n), c;
1242
1242
  };
1243
1243
  S.parseMaybeConditional = function(e, t) {
1244
1244
  var i = this.start, s = this.startLoc, r = this.parseExprOps(e, t);
@@ -1261,7 +1261,7 @@ S.parseExprOp = function(e, t, i, s, r) {
1261
1261
  l && (n = a.logicalAND.binop);
1262
1262
  var u = this.value;
1263
1263
  this.next();
1264
- var h = this.start, f = this.startLoc, c = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, r), h, f, n, r), p = this.buildBinary(t, i, e, c, u, o || l);
1264
+ var c = this.start, f = this.startLoc, h = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, r), c, f, n, r), p = this.buildBinary(t, i, e, h, u, o || l);
1265
1265
  return (o && this.type === a.coalesce || l && (this.type === a.logicalOR || this.type === a.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(p, t, i, s, r);
1266
1266
  }
1267
1267
  return e;
@@ -1277,15 +1277,15 @@ 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 {
1284
1284
  if (o = this.parseExprSubscripts(e, s), this.checkExpressionErrors(e))
1285
1285
  return o;
1286
1286
  for (; this.type.postfix && !this.canInsertSemicolon(); ) {
1287
- var h = this.startNodeAt(r, n);
1288
- h.operator = this.value, h.prefix = !1, h.argument = o, this.checkLValSimple(o), this.next(), o = this.finishNode(h, "UpdateExpression");
1287
+ var c = this.startNodeAt(r, n);
1288
+ c.operator = this.value, c.prefix = !1, c.argument = o, this.checkLValSimple(o), this.next(), o = this.finishNode(c, "UpdateExpression");
1289
1289
  }
1290
1290
  }
1291
1291
  if (!i && this.eat(a.starstar))
@@ -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);
@@ -1331,17 +1331,17 @@ S.parseSubscriptAsyncArrow = function(e, t, i, s) {
1331
1331
  S.parseSubscript = function(e, t, i, s, r, n, o) {
1332
1332
  var l = this.options.ecmaVersion >= 11, u = l && this.eat(a.questionDot);
1333
1333
  s && u && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
1334
- var h = this.eat(a.bracketL);
1335
- if (h || u && this.type !== a.parenL && this.type !== a.backQuote || this.eat(a.dot)) {
1334
+ var c = this.eat(a.bracketL);
1335
+ if (c || u && this.type !== a.parenL && this.type !== a.backQuote || this.eat(a.dot)) {
1336
1336
  var f = this.startNodeAt(t, i);
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");
1337
+ f.object = e, c ? (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 = !!c, 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 h = new Xe(), p = this.yieldPos, x = this.awaitPos, y = this.awaitIdentPos;
1340
1340
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
1341
- var d = this.parseExprList(a.parenR, this.options.ecmaVersion >= 8, !1, c);
1341
+ var d = this.parseExprList(a.parenR, this.options.ecmaVersion >= 8, !1, h);
1342
1342
  if (r && !u && this.shouldParseAsyncArrow())
1343
- return this.checkPatternErrors(c, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = p, this.awaitPos = x, this.awaitIdentPos = y, this.parseSubscriptAsyncArrow(t, i, d, o);
1344
- this.checkExpressionErrors(c, !0), this.yieldPos = p || this.yieldPos, this.awaitPos = x || this.awaitPos, this.awaitIdentPos = y || this.awaitIdentPos;
1343
+ return this.checkPatternErrors(h, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = p, this.awaitPos = x, this.awaitIdentPos = y, this.parseSubscriptAsyncArrow(t, i, d, o);
1344
+ this.checkExpressionErrors(h, !0), this.yieldPos = p || this.yieldPos, this.awaitPos = x || this.awaitPos, this.awaitIdentPos = y || this.awaitIdentPos;
1345
1345
  var b = this.startNodeAt(t, i);
1346
1346
  b.callee = e, b.arguments = d, l && (b.optional = u), e = this.finishNode(b, "CallExpression");
1347
1347
  } else if (this.type === a.backQuote) {
@@ -1371,8 +1371,8 @@ S.parseExprAtom = function(e, t, i) {
1371
1371
  }
1372
1372
  return u;
1373
1373
  case a.regexp:
1374
- var h = this.value;
1375
- return s = this.parseLiteral(h.value), s.regex = { pattern: h.pattern, flags: h.flags }, s;
1374
+ var c = this.value;
1375
+ return s = this.parseLiteral(c.value), s.regex = { pattern: c.pattern, flags: c.flags }, s;
1376
1376
  case a.num:
1377
1377
  case a.string:
1378
1378
  return this.parseLiteral(this.value);
@@ -1381,8 +1381,8 @@ S.parseExprAtom = function(e, t, i) {
1381
1381
  case a._false:
1382
1382
  return s = this.startNode(), s.value = this.type === a._null ? null : this.type === a._true, s.raw = this.type.keyword, this.next(), this.finishNode(s, "Literal");
1383
1383
  case a.parenL:
1384
- var f = this.start, c = this.parseParenAndDistinguishExpression(r, t);
1385
- return e && (e.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(c) && (e.parenthesizedAssign = f), e.parenthesizedBind < 0 && (e.parenthesizedBind = f)), c;
1384
+ var f = this.start, h = this.parseParenAndDistinguishExpression(r, t);
1385
+ return e && (e.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(h) && (e.parenthesizedAssign = f), e.parenthesizedBind < 0 && (e.parenthesizedBind = f)), h;
1386
1386
  case a.bracketL:
1387
1387
  return s = this.startNode(), this.next(), s.elements = this.parseExprList(a.bracketR, !0, !0, e), this.finishNode(s, "ArrayExpression");
1388
1388
  case a.braceL:
@@ -1444,9 +1444,9 @@ 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 = [], c = !0, f = !1, h = new Xe(), p = this.yieldPos, x = this.awaitPos, y;
1448
1448
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== a.parenR; )
1449
- if (h ? h = !1 : this.expect(a.comma), n && this.afterTrailingComma(a.parenR, !0)) {
1449
+ if (c ? c = !1 : this.expect(a.comma), n && this.afterTrailingComma(a.parenR, !0)) {
1450
1450
  f = !0;
1451
1451
  break;
1452
1452
  } else if (this.type === a.ellipsis) {
@@ -1456,11 +1456,11 @@ S.parseParenAndDistinguishExpression = function(e, t) {
1456
1456
  );
1457
1457
  break;
1458
1458
  } else
1459
- u.push(this.parseMaybeAssign(!1, c, this.parseParenItem));
1459
+ u.push(this.parseMaybeAssign(!1, h, this.parseParenItem));
1460
1460
  var d = this.lastTokEnd, b = this.lastTokEndLoc;
1461
1461
  if (this.expect(a.parenR), e && this.shouldParseArrow(u) && this.eat(a.arrow))
1462
- return this.checkPatternErrors(c, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = p, this.awaitPos = x, this.parseParenArrowList(i, s, u, t);
1463
- (!u.length || f) && this.unexpected(this.lastTokStart), y && this.unexpected(y), this.checkExpressionErrors(c, !0), this.yieldPos = p || this.yieldPos, this.awaitPos = x || this.awaitPos, u.length > 1 ? (r = this.startNodeAt(o, l), r.expressions = u, this.finishNodeAt(r, "SequenceExpression", d, b)) : r = u[0];
1462
+ return this.checkPatternErrors(h, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = p, this.awaitPos = x, this.parseParenArrowList(i, s, u, t);
1463
+ (!u.length || f) && this.unexpected(this.lastTokStart), y && this.unexpected(y), this.checkExpressionErrors(h, !0), this.yieldPos = p || this.yieldPos, this.awaitPos = x || this.awaitPos, u.length > 1 ? (r = this.startNodeAt(o, l), r.expressions = u, this.finishNodeAt(r, "SequenceExpression", d, b)) : r = u[0];
1464
1464
  } else
1465
1465
  r = this.parseParenExpression();
1466
1466
  if (this.options.preserveParens) {
@@ -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 bs = [];
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 = bs, 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 ? ai : 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, li), 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
  }
@@ -1632,49 +1632,49 @@ S.parseAwait = function(e) {
1632
1632
  var t = this.startNode();
1633
1633
  return this.next(), t.argument = this.parseMaybeUnary(null, !0, !1, e), this.finishNode(t, "AwaitExpression");
1634
1634
  };
1635
- var Ke = L.prototype;
1636
- Ke.raise = function(e, t) {
1637
- var i = ei(this.input, e);
1635
+ var We = L.prototype;
1636
+ We.raise = function(e, t) {
1637
+ var i = si(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;
1641
1641
  };
1642
- Ke.raiseRecoverable = Ke.raise;
1643
- Ke.curPosition = function() {
1642
+ We.raiseRecoverable = We.raise;
1643
+ We.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, xs = 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 xs(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 === ui) {
1665
1665
  var n = this.currentScope();
1666
1666
  n.lexical.push(e);
1667
- } else if (t === ri) {
1667
+ } else if (t === oi) {
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 & ni && 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 fi(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 fi.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 fi.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 ys = "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", pi = "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", di = pi + " Extended_Pictographic", mi = di, gi = mi + " EBase EComp EMod EPres ExtPict", bi = gi, vs = bi, Ss = {
1727
+ 9: pi,
1728
+ 10: di,
1729
+ 11: mi,
1730
+ 12: gi,
1731
+ 13: bi,
1732
+ 14: vs
1733
+ }, ks = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", ws = {
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: ks
1740
+ }, Kt = "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", xi = "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", yi = xi + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", vi = yi + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", Si = vi + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", ki = Si + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", _s = ki + " " + ys, Cs = {
1741
+ 9: xi,
1742
+ 10: yi,
1743
+ 11: vi,
1744
+ 12: Si,
1745
+ 13: ki,
1746
+ 14: _s
1747
+ }, wi = {};
1748
+ function Es(e) {
1749
+ var t = wi[e] = {
1750
+ binary: ne(Ss[e] + " " + Kt),
1751
+ binaryOfStrings: ne(ws[e]),
1752
1752
  nonBinary: {
1753
- General_Category: ne($t),
1754
- Script: ne(vs[e])
1753
+ General_Category: ne(Kt),
1754
+ Script: ne(Cs[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 ht = 0, Wt = [9, 10, 11, 12, 13, 14]; ht < Wt.length; ht += 1) {
1760
+ var As = Wt[ht];
1761
+ Es(As);
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 = wi[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 Is(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 && Is(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 && Ns(i); )
2043
2043
  t += te(i), e.advance();
2044
2044
  return t;
2045
2045
  };
2046
- function _s(e) {
2046
+ function Ns(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 _i(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2061
2061
  };
2062
- function Si(e) {
2062
+ function _i(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 && !_i(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), Ps(s) ? (e.lastIntValue = s, !0) : (e.pos = t, !1);
2117
2117
  };
2118
- function Cs(e) {
2118
+ function Ps(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), Os(s) ? (e.lastIntValue = s, !0) : (e.pos = t, !1);
2124
2124
  };
2125
- function Es(e) {
2125
+ function Os(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 Ci(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2179
2179
  };
2180
- function ki(e) {
2180
+ function Ci(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
+ ) && Vs(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 Vs(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 Ei = 0, ie = 1, G = 2;
2245
2245
  m.regexp_eatCharacterClassEscape = function(e) {
2246
2246
  var t = e.current();
2247
- if (Is(t))
2247
+ if (Ls(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 Ei;
2264
2264
  };
2265
- function Is(e) {
2265
+ function Ls(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 Ei;
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 = ""; Ai(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 Ai(e) {
2303
+ return Ci(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 = ""; Ts(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 Ts(e) {
2312
+ return Ai(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 || Pi(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() && Rs(i) || Ds(i) ? !1 : (e.advance(), e.lastIntValue = i, !0);
2512
2512
  };
2513
- function Ps(e) {
2513
+ function Rs(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 Ds(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 Ms(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2522
2522
  };
2523
- function Vs(e) {
2523
+ function Ms(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; Ii(i = e.current()); )
2554
+ e.lastIntValue = 16 * e.lastIntValue + Ni(i), e.advance();
2555
2555
  return e.pos !== t;
2556
2556
  };
2557
- function Ci(e) {
2557
+ function Ii(e) {
2558
2558
  return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
2559
2559
  }
2560
- function Ei(e) {
2560
+ function Ni(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 Pi(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
2578
2578
  };
2579
- function Ai(e) {
2579
+ function Pi(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 (!Ii(r))
2588
2588
  return e.pos = i, !1;
2589
- e.lastIntValue = 16 * e.lastIntValue + Ei(r), e.advance();
2589
+ e.lastIntValue = 16 * e.lastIntValue + Ni(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 = ei(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 && ti.test(String.fromCharCode(e)))
2687
2687
  ++this.pos;
2688
2688
  else
2689
2689
  break e;
@@ -2886,29 +2886,29 @@ k.readRegexp = function() {
2886
2886
  return this.finishToken(a.regexp, { pattern: r, flags: o, value: u });
2887
2887
  };
2888
2888
  k.readInt = function(e, t, i) {
2889
- for (var s = this.options.ecmaVersion >= 12 && t === void 0, r = i && this.input.charCodeAt(this.pos) === 48, n = this.pos, o = 0, l = 0, u = 0, h = t ?? 1 / 0; u < h; ++u, ++this.pos) {
2890
- var f = this.input.charCodeAt(this.pos), c = void 0;
2889
+ for (var s = this.options.ecmaVersion >= 12 && t === void 0, r = i && this.input.charCodeAt(this.pos) === 48, n = this.pos, o = 0, l = 0, u = 0, c = t ?? 1 / 0; u < c; ++u, ++this.pos) {
2890
+ var f = this.input.charCodeAt(this.pos), h = void 0;
2891
2891
  if (s && f === 95) {
2892
2892
  r && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), l === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), u === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), l = f;
2893
2893
  continue;
2894
2894
  }
2895
- if (f >= 97 ? c = f - 97 + 10 : f >= 65 ? c = f - 65 + 10 : f >= 48 && f <= 57 ? c = f - 48 : c = 1 / 0, c >= e)
2895
+ if (f >= 97 ? h = f - 97 + 10 : f >= 65 ? h = f - 65 + 10 : f >= 48 && f <= 57 ? h = f - 48 : h = 1 / 0, h >= e)
2896
2896
  break;
2897
- l = f, o = o * e + c;
2897
+ l = f, o = o * e + h;
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 Oi(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 = Oi(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 = Oi(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 Vi = {};
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 === Vi)
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 Vi;
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,91 +3092,129 @@ 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 Fs = "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: Fs,
3101
+ defaultOptions: gt,
3102
+ Position: Ie,
3103
+ SourceLocation: Je,
3104
+ getLineInfo: si,
3105
+ Node: et,
3106
3106
  TokenType: C,
3107
3107
  tokTypes: a,
3108
- keywordTypes: St,
3108
+ keywordTypes: kt,
3109
3109
  TokContext: H,
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: os,
3117
+ nonASCIIwhitespace: ti
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
- for (const h of e) {
3122
+ for (const c of e) {
3133
3123
  if (r) {
3134
- i += h, r = !1;
3124
+ i += c, r = !1;
3135
3125
  continue;
3136
3126
  }
3137
3127
  if (s) {
3138
- i += h, h === "\\" ? r = !0 : h === s && (s = null);
3128
+ i += c, c === "\\" ? r = !0 : c === s && (s = null);
3139
3129
  continue;
3140
3130
  }
3141
- if (h === '"' || h === "'") {
3142
- s = h, i += h;
3131
+ if (c === '"' || c === "'") {
3132
+ s = c, i += c;
3143
3133
  continue;
3144
3134
  }
3145
- if (h === "(") {
3146
- n += 1, i += h;
3135
+ if (c === "(") {
3136
+ n += 1, i += c;
3147
3137
  continue;
3148
3138
  }
3149
- if (h === ")") {
3150
- n = Math.max(0, n - 1), i += h;
3139
+ if (c === ")") {
3140
+ n = Math.max(0, n - 1), i += c;
3151
3141
  continue;
3152
3142
  }
3153
- if (h === "[") {
3154
- o += 1, i += h;
3143
+ if (c === "[") {
3144
+ o += 1, i += c;
3155
3145
  continue;
3156
3146
  }
3157
- if (h === "]") {
3158
- o = Math.max(0, o - 1), i += h;
3147
+ if (c === "]") {
3148
+ o = Math.max(0, o - 1), i += c;
3159
3149
  continue;
3160
3150
  }
3161
- if (h === "{") {
3162
- l += 1, i += h;
3151
+ if (c === "{") {
3152
+ l += 1, i += c;
3163
3153
  continue;
3164
3154
  }
3165
- if (h === "}") {
3166
- l = Math.max(0, l - 1), i += h;
3155
+ if (c === "}") {
3156
+ l = Math.max(0, l - 1), i += c;
3167
3157
  continue;
3168
3158
  }
3169
- if (h === "," && n === 0 && o === 0 && l === 0) {
3159
+ if (c === "," && n === 0 && o === 0 && l === 0) {
3170
3160
  const f = i.trim();
3171
3161
  f && t.push(f), i = "";
3172
3162
  continue;
3173
3163
  }
3174
- i += h;
3164
+ i += c;
3175
3165
  }
3176
3166
  const u = i.trim();
3177
3167
  return u && t.push(u), t;
3178
3168
  }
3179
- function Bs(e, t) {
3169
+ function js(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 js(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 $s(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 Us(e) {
3198
+ return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null;
3199
+ }
3200
+ function Li(e) {
3201
+ return Array.isArray(e) ? e.filter(Us) : [];
3202
+ }
3203
+ function qs(e) {
3204
+ const t = e?.trim().match(/^(?:(?:typing|typing_extensions)\.)?Literal\s*\[([\s\S]*)\]$/);
3205
+ return t ? Li(
3206
+ ye(t[1]).map(Nt)
3207
+ ) : [];
3208
+ }
3209
+ function Ks(e, t) {
3210
+ const i = Li(t?.enum);
3211
+ return i.length > 0 ? i : qs(e);
3212
+ }
3213
+ function ft(e) {
3214
+ const t = Ks(e.type, e.kwargs);
3215
+ return t.length > 0 && (e.enum = t), e;
3216
+ }
3217
+ function Ws(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 Gs = /* @__PURE__ */ new Set(["int", "integer", "float", "number"]), zs = ["gt", "ge", "lt", "le", "multiple_of"];
3243
+ function Hs(e) {
3244
+ return e !== void 0 && Gs.has(e.toLowerCase());
3207
3245
  }
3208
- function js(e) {
3246
+ function Qs(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 = Ws(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);
3224
- r[h.id] = h;
3261
+ const c = Gt(u);
3262
+ r[c.id] = c;
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 = $s(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
- const o = s.indexOf(":"), l = s.slice(0, o).trim(), u = s.slice(o + 1).trim(), h = u.indexOf("=");
3252
- 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();
3289
+ const o = s.indexOf(":"), l = s.slice(0, o).trim(), u = s.slice(o + 1).trim(), c = u.indexOf("=");
3290
+ let f, h, p;
3291
+ c > 0 ? (f = u.slice(0, c).trim(), p = u.slice(c + 1).trim(), h = 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 h !== void 0 && (x.default = h, 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 Js(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 Ti(e) {
3290
3345
  const t = [], i = e.kwargs, s = e.type?.toLowerCase();
3291
3346
  if (i) {
3292
- const r = Ms.filter(
3347
+ const r = zs.filter(
3293
3348
  (n) => Object.prototype.hasOwnProperty.call(i, n)
3294
3349
  );
3295
- if (r.length > 0 && !Fs(s)) {
3350
+ if (r.length > 0 && !Hs(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,85 +3360,140 @@ 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(...Ti(r));
3309
3364
  return t;
3310
3365
  }
3311
- function Oi(e) {
3312
- const t = Us(e);
3366
+ function Ri(e) {
3367
+ const t = Js(e);
3313
3368
  if (e.subvars)
3314
3369
  for (const i of Object.values(e.subvars))
3315
- t.push(...Oi(i));
3370
+ t.push(...Ri(i));
3316
3371
  return t;
3317
3372
  }
3318
- function $s(e) {
3373
+ function Ys(e) {
3319
3374
  return [
3320
- ...Oi(e),
3321
- ...Pi(e)
3375
+ ...Ri(e),
3376
+ ...Ti(e)
3377
+ ];
3378
+ }
3379
+ function Ht(e) {
3380
+ const t = e.trim();
3381
+ if (t.length >= 2) {
3382
+ const i = t[0];
3383
+ if ((i === '"' || i === "'") && t[t.length - 1] === i)
3384
+ try {
3385
+ return i === '"' ? JSON.parse(t) : t.slice(1, -1).replace(/\\'/g, "'");
3386
+ } catch {
3387
+ return t.slice(1, -1);
3388
+ }
3389
+ }
3390
+ return t;
3391
+ }
3392
+ function Zs(e) {
3393
+ const t = e.split(`
3394
+ `), i = {};
3395
+ let s = null, r = "", n = !1;
3396
+ for (const o of t) {
3397
+ const l = o.trim();
3398
+ if (!l && !n)
3399
+ continue;
3400
+ const u = l.match(/^(\w+):\s*(.*)$/);
3401
+ if (u) {
3402
+ s && (i[s] = Ht(r)), s = u[1];
3403
+ const c = u[2];
3404
+ c === "|" ? (n = !0, r = "") : (n = !1, r = c);
3405
+ } else s && (n || l) && (r ? r += `
3406
+ ${o}` : r = o);
3407
+ }
3408
+ return s && (i[s] = Ht(r)), i;
3409
+ }
3410
+ const Xs = ["video", "audio", "file"];
3411
+ function Di(e) {
3412
+ return (e || "file").trim().toLowerCase() || "file";
3413
+ }
3414
+ function er(e) {
3415
+ return Xs.includes(Di(e));
3416
+ }
3417
+ function tr(e) {
3418
+ const t = Di(e.kind);
3419
+ return er(t) ? [] : [
3420
+ `media "${e.id}": unsupported kind "${e.kind}". Supported media kinds are video, audio, and file; static images must use a fig block.`
3322
3421
  ];
3323
3422
  }
3423
+ function ir(e) {
3424
+ const t = Zs(e);
3425
+ if (!t.id || !t.src)
3426
+ throw new Error('media block must have "id" and "src" fields');
3427
+ const i = {
3428
+ id: t.id,
3429
+ kind: t.kind || "file",
3430
+ src: t.src
3431
+ };
3432
+ return t.mime && (i.mime = t.mime), t.provider && (i.provider = t.provider), t.poster && (i.poster = t.poster), t.title && (i.title = t.title), t.legend && (i.legend = t.legend), i;
3433
+ }
3324
3434
  new TextEncoder();
3325
3435
  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;
3327
- function $(e) {
3436
+ const Pt = /* @__PURE__ */ Symbol.for("yaml.alias"), sr = /* @__PURE__ */ Symbol.for("yaml.document"), fe = /* @__PURE__ */ Symbol.for("yaml.map"), Mi = /* @__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] === sr, Bi = (e) => !!e && typeof e == "object" && e[X] === fe, T = (e) => !!e && typeof e == "object" && e[X] === Mi, V = (e) => !!e && typeof e == "object" && e[X] === Ot, Vt = (e) => !!e && typeof e == "object" && e[X] === Le;
3437
+ function U(e) {
3328
3438
  if (e && typeof e == "object")
3329
3439
  switch (e[X]) {
3330
3440
  case fe:
3331
- case Ve:
3441
+ case Le:
3332
3442
  return !0;
3333
3443
  }
3334
3444
  return !1;
3335
3445
  }
3336
- function B(e) {
3446
+ function D(e) {
3337
3447
  if (e && typeof e == "object")
3338
3448
  switch (e[X]) {
3339
- case It:
3449
+ case Pt:
3340
3450
  case fe:
3341
- case Nt:
3342
- case Ve:
3451
+ case Ot:
3452
+ case Le:
3343
3453
  return !0;
3344
3454
  }
3345
3455
  return !1;
3346
3456
  }
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([]));
3457
+ const Fi = (e) => (V(e) || U(e)) && !!e.anchor, ce = /* @__PURE__ */ Symbol("break visit"), rr = /* @__PURE__ */ Symbol("skip children"), Ee = /* @__PURE__ */ Symbol("remove node");
3458
+ function st(e, t) {
3459
+ const i = nr(t);
3460
+ it(e) ? ge(null, e.contents, i, Object.freeze([e])) === Ee && (e.contents = null) : ge(null, e, i, Object.freeze([]));
3351
3461
  }
3352
- it.BREAK = he;
3353
- it.SKIP = Ks;
3354
- it.REMOVE = Ce;
3462
+ st.BREAK = ce;
3463
+ st.SKIP = rr;
3464
+ st.REMOVE = Ee;
3355
3465
  function ge(e, t, i, s) {
3356
- const r = Gs(e, t, i, s);
3357
- if (B(r) || T(r))
3358
- return zs(e, s, r), ge(e, r, i, s);
3466
+ const r = ar(e, t, i, s);
3467
+ if (D(r) || T(r))
3468
+ return or(e, s, r), ge(e, r, i, s);
3359
3469
  if (typeof r != "symbol") {
3360
- if ($(t)) {
3470
+ if (U(t)) {
3361
3471
  s = Object.freeze(s.concat(t));
3362
3472
  for (let n = 0; n < t.items.length; ++n) {
3363
3473
  const o = ge(n, t.items[n], i, s);
3364
3474
  if (typeof o == "number")
3365
3475
  n = o - 1;
3366
3476
  else {
3367
- if (o === he)
3368
- return he;
3369
- o === Ce && (t.items.splice(n, 1), n -= 1);
3477
+ if (o === ce)
3478
+ return ce;
3479
+ o === Ee && (t.items.splice(n, 1), n -= 1);
3370
3480
  }
3371
3481
  }
3372
3482
  } else if (T(t)) {
3373
3483
  s = Object.freeze(s.concat(t));
3374
3484
  const n = ge("key", t.key, i, s);
3375
- if (n === he)
3376
- return he;
3377
- n === Ce && (t.key = null);
3485
+ if (n === ce)
3486
+ return ce;
3487
+ n === Ee && (t.key = null);
3378
3488
  const o = ge("value", t.value, i, s);
3379
- if (o === he)
3380
- return he;
3381
- o === Ce && (t.value = null);
3489
+ if (o === ce)
3490
+ return ce;
3491
+ o === Ee && (t.value = null);
3382
3492
  }
3383
3493
  }
3384
3494
  return r;
3385
3495
  }
3386
- function Ws(e) {
3496
+ function nr(e) {
3387
3497
  return typeof e == "object" && (e.Collection || e.Node || e.Value) ? Object.assign({
3388
3498
  Alias: e.Node,
3389
3499
  Map: e.Node,
@@ -3398,12 +3508,12 @@ function Ws(e) {
3398
3508
  Seq: e.Collection
3399
3509
  }, e) : e;
3400
3510
  }
3401
- function Gs(e, t, i, s) {
3511
+ function ar(e, t, i, s) {
3402
3512
  if (typeof i == "function")
3403
3513
  return i(e, t, s);
3404
- if (Li(t))
3514
+ if (Bi(t))
3405
3515
  return i.Map?.(e, t, s);
3406
- if (Pt(t))
3516
+ if (Vt(t))
3407
3517
  return i.Seq?.(e, t, s);
3408
3518
  if (T(t))
3409
3519
  return i.Pair?.(e, t, s);
@@ -3412,46 +3522,46 @@ function Gs(e, t, i, s) {
3412
3522
  if (de(t))
3413
3523
  return i.Alias?.(e, t, s);
3414
3524
  }
3415
- function zs(e, t, i) {
3525
+ function or(e, t, i) {
3416
3526
  const s = t[t.length - 1];
3417
- if ($(s))
3527
+ if (U(s))
3418
3528
  s.items[e] = i;
3419
3529
  else if (T(s))
3420
3530
  e === "key" ? s.key = i : s.value = i;
3421
- else if (tt(s))
3531
+ else if (it(s))
3422
3532
  s.contents = i;
3423
3533
  else {
3424
3534
  const r = de(s) ? "alias" : "scalar";
3425
3535
  throw new Error(`Cannot replace node with ${r} parent`);
3426
3536
  }
3427
3537
  }
3428
- function Ri(e) {
3538
+ function ji(e) {
3429
3539
  if (/[\x00-\x19\s,[\]{}]/.test(e)) {
3430
3540
  const i = `Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;
3431
3541
  throw new Error(i);
3432
3542
  }
3433
3543
  return !0;
3434
3544
  }
3435
- function we(e, t, i, s) {
3545
+ function _e(e, t, i, s) {
3436
3546
  if (s && typeof s == "object")
3437
3547
  if (Array.isArray(s))
3438
3548
  for (let r = 0, n = s.length; r < n; ++r) {
3439
- const o = s[r], l = we(e, s, String(r), o);
3549
+ const o = s[r], l = _e(e, s, String(r), o);
3440
3550
  l === void 0 ? delete s[r] : l !== o && (s[r] = l);
3441
3551
  }
3442
3552
  else if (s instanceof Map)
3443
3553
  for (const r of Array.from(s.keys())) {
3444
- const n = s.get(r), o = we(e, s, r, n);
3554
+ const n = s.get(r), o = _e(e, s, r, n);
3445
3555
  o === void 0 ? s.delete(r) : o !== n && s.set(r, o);
3446
3556
  }
3447
3557
  else if (s instanceof Set)
3448
3558
  for (const r of Array.from(s)) {
3449
- const n = we(e, s, r, r);
3559
+ const n = _e(e, s, r, r);
3450
3560
  n === void 0 ? s.delete(r) : n !== r && (s.delete(r), s.add(n));
3451
3561
  }
3452
3562
  else
3453
3563
  for (const [r, n] of Object.entries(s)) {
3454
- const o = we(e, s, r, n);
3564
+ const o = _e(e, s, r, n);
3455
3565
  o === void 0 ? delete s[r] : o !== n && (s[r] = o);
3456
3566
  }
3457
3567
  return e.call(t, i, s);
@@ -3460,7 +3570,7 @@ function Q(e, t, i) {
3460
3570
  if (Array.isArray(e))
3461
3571
  return e.map((s, r) => Q(s, String(r), i));
3462
3572
  if (e && typeof e.toJSON == "function") {
3463
- if (!i || !Ti(e))
3573
+ if (!i || !Fi(e))
3464
3574
  return e.toJSON(t, i);
3465
3575
  const s = { aliasCount: 0, count: 1, res: void 0 };
3466
3576
  i.anchors.set(e, s), i.onCreate = (n) => {
@@ -3471,7 +3581,7 @@ function Q(e, t, i) {
3471
3581
  }
3472
3582
  return typeof e == "bigint" && !i?.keep ? Number(e) : e;
3473
3583
  }
3474
- class Ot {
3584
+ class Lt {
3475
3585
  constructor(t) {
3476
3586
  Object.defineProperty(this, X, { value: t });
3477
3587
  }
@@ -3482,7 +3592,7 @@ class Ot {
3482
3592
  }
3483
3593
  /** A plain JavaScript representation of this node. */
3484
3594
  toJS(t, { mapAsMap: i, maxAliasCount: s, onAnchor: r, reviver: n } = {}) {
3485
- if (!tt(t))
3595
+ if (!it(t))
3486
3596
  throw new TypeError("A document argument is required");
3487
3597
  const o = {
3488
3598
  anchors: /* @__PURE__ */ new Map(),
@@ -3493,14 +3603,14 @@ class Ot {
3493
3603
  maxAliasCount: typeof s == "number" ? s : 100
3494
3604
  }, l = Q(this, "", o);
3495
3605
  if (typeof r == "function")
3496
- for (const { count: u, res: h } of o.anchors.values())
3497
- r(h, u);
3498
- return typeof n == "function" ? we(n, { "": l }, "", l) : l;
3606
+ for (const { count: u, res: c } of o.anchors.values())
3607
+ r(c, u);
3608
+ return typeof n == "function" ? _e(n, { "": l }, "", l) : l;
3499
3609
  }
3500
3610
  }
3501
- class Hs extends Ot {
3611
+ class ur extends Lt {
3502
3612
  constructor(t) {
3503
- super(It), this.source = t, Object.defineProperty(this, "tag", {
3613
+ super(Pt), this.source = t, Object.defineProperty(this, "tag", {
3504
3614
  set() {
3505
3615
  throw new Error("Alias nodes cannot have tags");
3506
3616
  }
@@ -3512,9 +3622,9 @@ class Hs extends Ot {
3512
3622
  */
3513
3623
  resolve(t, i) {
3514
3624
  let s;
3515
- i?.aliasResolveCache ? s = i.aliasResolveCache : (s = [], it(t, {
3625
+ i?.aliasResolveCache ? s = i.aliasResolveCache : (s = [], st(t, {
3516
3626
  Node: (n, o) => {
3517
- (de(o) || Ti(o)) && s.push(o);
3627
+ (de(o) || Fi(o)) && s.push(o);
3518
3628
  }
3519
3629
  }), i && (i.aliasResolveCache = s));
3520
3630
  let r;
@@ -3538,7 +3648,7 @@ class Hs extends Ot {
3538
3648
  const u = "This should not happen: Alias anchor was not resolved?";
3539
3649
  throw new ReferenceError(u);
3540
3650
  }
3541
- if (n >= 0 && (l.count += 1, l.aliasCount === 0 && (l.aliasCount = Fe(r, o, s)), l.count * l.aliasCount > n)) {
3651
+ if (n >= 0 && (l.count += 1, l.aliasCount === 0 && (l.aliasCount = je(r, o, s)), l.count * l.aliasCount > n)) {
3542
3652
  const u = "Excessive alias count indicates a resource exhaustion attack";
3543
3653
  throw new ReferenceError(u);
3544
3654
  }
@@ -3547,7 +3657,7 @@ class Hs extends Ot {
3547
3657
  toString(t, i, s) {
3548
3658
  const r = `*${this.source}`;
3549
3659
  if (t) {
3550
- if (Ri(this.source), t.options.verifyAliasOrder && !t.anchors.has(this.source)) {
3660
+ if (ji(this.source), t.options.verifyAliasOrder && !t.anchors.has(this.source)) {
3551
3661
  const n = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
3552
3662
  throw new Error(n);
3553
3663
  }
@@ -3557,27 +3667,27 @@ class Hs extends Ot {
3557
3667
  return r;
3558
3668
  }
3559
3669
  }
3560
- function Fe(e, t, i) {
3670
+ function je(e, t, i) {
3561
3671
  if (de(t)) {
3562
3672
  const s = t.resolve(e), r = i && s && i.get(s);
3563
3673
  return r ? r.count * r.aliasCount : 0;
3564
- } else if ($(t)) {
3674
+ } else if (U(t)) {
3565
3675
  let s = 0;
3566
3676
  for (const r of t.items) {
3567
- const n = Fe(e, r, i);
3677
+ const n = je(e, r, i);
3568
3678
  n > s && (s = n);
3569
3679
  }
3570
3680
  return s;
3571
3681
  } else if (T(t)) {
3572
- const s = Fe(e, t.key, i), r = Fe(e, t.value, i);
3682
+ const s = je(e, t.key, i), r = je(e, t.value, i);
3573
3683
  return Math.max(s, r);
3574
3684
  }
3575
3685
  return 1;
3576
3686
  }
3577
- const Bi = (e) => !e || typeof e != "function" && typeof e != "object";
3578
- class O extends Ot {
3687
+ const $i = (e) => !e || typeof e != "function" && typeof e != "object";
3688
+ class O extends Lt {
3579
3689
  constructor(t) {
3580
- super(Nt), this.value = t;
3690
+ super(Ot), this.value = t;
3581
3691
  }
3582
3692
  toJSON(t, i) {
3583
3693
  return i?.keep ? this.value : Q(this.value, t, i);
@@ -3591,37 +3701,37 @@ O.BLOCK_LITERAL = "BLOCK_LITERAL";
3591
3701
  O.PLAIN = "PLAIN";
3592
3702
  O.QUOTE_DOUBLE = "QUOTE_DOUBLE";
3593
3703
  O.QUOTE_SINGLE = "QUOTE_SINGLE";
3594
- function Qs(e, t, i) {
3704
+ function lr(e, t, i) {
3595
3705
  return i.find((s) => s.identify?.(e) && !s.format);
3596
3706
  }
3597
- function Ge(e, t, i) {
3598
- if (tt(e) && (e = e.contents), B(e))
3707
+ function ze(e, t, i) {
3708
+ if (it(e) && (e = e.contents), D(e))
3599
3709
  return e;
3600
3710
  if (T(e)) {
3601
- const c = i.schema[fe].createNode?.(i.schema, null, i);
3602
- return c.items.push(e), c;
3711
+ const h = i.schema[fe].createNode?.(i.schema, null, i);
3712
+ return h.items.push(e), h;
3603
3713
  }
3604
3714
  (e instanceof String || e instanceof Number || e instanceof Boolean || typeof BigInt < "u" && e instanceof BigInt) && (e = e.valueOf());
3605
3715
  const { aliasDuplicateObjects: s, onAnchor: r, onTagObj: n, schema: o, sourceObjects: l } = i;
3606
3716
  let u;
3607
3717
  if (s && e && typeof e == "object") {
3608
3718
  if (u = l.get(e), u)
3609
- return u.anchor ?? (u.anchor = r(e)), new Hs(u.anchor);
3719
+ return u.anchor ?? (u.anchor = r(e)), new ur(u.anchor);
3610
3720
  u = { anchor: null, node: null }, l.set(e, u);
3611
3721
  }
3612
- let h = Qs(e, t, o.tags);
3613
- if (!h) {
3722
+ let c = lr(e, t, o.tags);
3723
+ if (!c) {
3614
3724
  if (e && typeof e.toJSON == "function" && (e = e.toJSON()), !e || typeof e != "object") {
3615
- const c = new O(e);
3616
- return u && (u.node = c), c;
3725
+ const h = new O(e);
3726
+ return u && (u.node = h), h;
3617
3727
  }
3618
- h = e instanceof Map ? o[fe] : Symbol.iterator in Object(e) ? o[Ve] : o[fe];
3728
+ c = e instanceof Map ? o[fe] : Symbol.iterator in Object(e) ? o[Le] : o[fe];
3619
3729
  }
3620
- n && (n(h), delete i.onTagObj);
3621
- 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
- return h.default || (f.tag = h.tag), u && (u.node = f), f;
3730
+ n && (n(c), delete i.onTagObj);
3731
+ const f = c?.createNode ? c.createNode(i.schema, e, i) : typeof c?.nodeClass?.from == "function" ? c.nodeClass.from(i.schema, e, i) : new O(e);
3732
+ return c.default || (f.tag = c.tag), u && (u.node = f), f;
3623
3733
  }
3624
- function Gt(e, t, i) {
3734
+ function Qt(e, t, i) {
3625
3735
  let s = i;
3626
3736
  for (let r = t.length - 1; r >= 0; --r) {
3627
3737
  const n = t[r];
@@ -3631,7 +3741,7 @@ function Gt(e, t, i) {
3631
3741
  } else
3632
3742
  s = /* @__PURE__ */ new Map([[n, s]]);
3633
3743
  }
3634
- return Ge(s, void 0, {
3744
+ return ze(s, void 0, {
3635
3745
  aliasDuplicateObjects: !1,
3636
3746
  keepUndefined: !1,
3637
3747
  onAnchor: () => {
@@ -3641,8 +3751,8 @@ function Gt(e, t, i) {
3641
3751
  sourceObjects: /* @__PURE__ */ new Map()
3642
3752
  });
3643
3753
  }
3644
- const Js = (e) => e == null || typeof e == "object" && !!e[Symbol.iterator]().next().done;
3645
- class Di extends Ot {
3754
+ const cr = (e) => e == null || typeof e == "object" && !!e[Symbol.iterator]().next().done;
3755
+ class Ui extends Lt {
3646
3756
  constructor(t, i) {
3647
3757
  super(t), Object.defineProperty(this, "schema", {
3648
3758
  value: i,
@@ -3658,7 +3768,7 @@ class Di extends Ot {
3658
3768
  */
3659
3769
  clone(t) {
3660
3770
  const i = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
3661
- return t && (i.schema = t), i.items = i.items.map((s) => B(s) || T(s) ? s.clone(t) : s), this.range && (i.range = this.range.slice()), i;
3771
+ return t && (i.schema = t), i.items = i.items.map((s) => D(s) || T(s) ? s.clone(t) : s), this.range && (i.range = this.range.slice()), i;
3662
3772
  }
3663
3773
  /**
3664
3774
  * Adds a value to the collection. For `!!map` and `!!omap` the value must
@@ -3666,14 +3776,14 @@ class Di extends Ot {
3666
3776
  * that already exists in the map.
3667
3777
  */
3668
3778
  addIn(t, i) {
3669
- if (Js(t))
3779
+ if (cr(t))
3670
3780
  this.add(i);
3671
3781
  else {
3672
3782
  const [s, ...r] = t, n = this.get(s, !0);
3673
- if ($(n))
3783
+ if (U(n))
3674
3784
  n.addIn(r, i);
3675
3785
  else if (n === void 0 && this.schema)
3676
- this.set(s, Gt(this.schema, r, i));
3786
+ this.set(s, Qt(this.schema, r, i));
3677
3787
  else
3678
3788
  throw new Error(`Expected YAML collection at ${s}. Remaining path: ${r}`);
3679
3789
  }
@@ -3687,7 +3797,7 @@ class Di extends Ot {
3687
3797
  if (s.length === 0)
3688
3798
  return this.delete(i);
3689
3799
  const r = this.get(i, !0);
3690
- if ($(r))
3800
+ if (U(r))
3691
3801
  return r.deleteIn(s);
3692
3802
  throw new Error(`Expected YAML collection at ${i}. Remaining path: ${s}`);
3693
3803
  }
@@ -3698,7 +3808,7 @@ class Di extends Ot {
3698
3808
  */
3699
3809
  getIn(t, i) {
3700
3810
  const [s, ...r] = t, n = this.get(s, !0);
3701
- return r.length === 0 ? !i && V(n) ? n.value : n : $(n) ? n.getIn(r, i) : void 0;
3811
+ return r.length === 0 ? !i && V(n) ? n.value : n : U(n) ? n.getIn(r, i) : void 0;
3702
3812
  }
3703
3813
  hasAllNullValues(t) {
3704
3814
  return this.items.every((i) => {
@@ -3716,7 +3826,7 @@ class Di extends Ot {
3716
3826
  if (s.length === 0)
3717
3827
  return this.has(i);
3718
3828
  const r = this.get(i, !0);
3719
- return $(r) ? r.hasIn(s) : !1;
3829
+ return U(r) ? r.hasIn(s) : !1;
3720
3830
  }
3721
3831
  /**
3722
3832
  * Sets a value in this collection. For `!!set`, `value` needs to be a
@@ -3728,37 +3838,37 @@ class Di extends Ot {
3728
3838
  this.set(s, i);
3729
3839
  else {
3730
3840
  const n = this.get(s, !0);
3731
- if ($(n))
3841
+ if (U(n))
3732
3842
  n.setIn(r, i);
3733
3843
  else if (n === void 0 && this.schema)
3734
- this.set(s, Gt(this.schema, r, i));
3844
+ this.set(s, Qt(this.schema, r, i));
3735
3845
  else
3736
3846
  throw new Error(`Expected YAML collection at ${s}. Remaining path: ${r}`);
3737
3847
  }
3738
3848
  }
3739
3849
  }
3740
- const Ys = (e) => e.replace(/^(?!$)(?: $)?/gm, "#");
3741
- function Ne(e, t) {
3850
+ const hr = (e) => e.replace(/^(?!$)(?: $)?/gm, "#");
3851
+ function Pe(e, t) {
3742
3852
  return /^\n+$/.test(e) ? e.substring(1) : t ? e.replace(/^(?! *$)/gm, t) : e;
3743
3853
  }
3744
3854
  const be = (e, t, i) => e.endsWith(`
3745
- `) ? Ne(i, t) : i.includes(`
3855
+ `) ? Pe(i, t) : i.includes(`
3746
3856
  `) ? `
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 } = {}) {
3857
+ ` + Pe(i, t) : (e.endsWith(" ") ? "" : " ") + i, qi = "flow", yt = "block", $e = "quoted";
3858
+ function rt(e, t, i = "flow", { indentAtStart: s, lineWidth: r = 80, minContentWidth: n = 20, onFold: o, onOverflow: l } = {}) {
3749
3859
  if (!r || r < 0)
3750
3860
  return e;
3751
3861
  r < n && (n = 0);
3752
3862
  const u = Math.max(1 + n, 1 + r - t.length);
3753
3863
  if (e.length <= u)
3754
3864
  return e;
3755
- const h = [], f = {};
3756
- let c = r - t.length;
3757
- typeof s == "number" && (s > r - Math.max(2, n) ? h.push(0) : c = r - s);
3865
+ const c = [], f = {};
3866
+ let h = r - t.length;
3867
+ typeof s == "number" && (s > r - Math.max(2, n) ? c.push(0) : h = r - s);
3758
3868
  let p, x, y = !1, d = -1, b = -1, _ = -1;
3759
- i === xt && (d = zt(e, d, t.length), d !== -1 && (c = d + u));
3869
+ i === yt && (d = Jt(e, d, t.length), d !== -1 && (h = d + u));
3760
3870
  for (let A; A = e[d += 1]; ) {
3761
- if (i === je && A === "\\") {
3871
+ if (i === $e && A === "\\") {
3762
3872
  switch (b = d, e[d + 1]) {
3763
3873
  case "x":
3764
3874
  d += 3;
@@ -3776,7 +3886,7 @@ function st(e, t, i = "flow", { indentAtStart: s, lineWidth: r = 80, minContentW
3776
3886
  }
3777
3887
  if (A === `
3778
3888
  `)
3779
- i === xt && (d = zt(e, d, t.length)), c = d + t.length + u, p = void 0;
3889
+ i === yt && (d = Jt(e, d, t.length)), h = d + t.length + u, p = void 0;
3780
3890
  else {
3781
3891
  if (A === " " && x && x !== " " && x !== `
3782
3892
  ` && x !== " ") {
@@ -3784,34 +3894,34 @@ function st(e, t, i = "flow", { indentAtStart: s, lineWidth: r = 80, minContentW
3784
3894
  I && I !== " " && I !== `
3785
3895
  ` && I !== " " && (p = d);
3786
3896
  }
3787
- if (d >= c)
3897
+ if (d >= h)
3788
3898
  if (p)
3789
- h.push(p), c = p + u, p = void 0;
3790
- else if (i === je) {
3899
+ c.push(p), h = p + u, p = void 0;
3900
+ else if (i === $e) {
3791
3901
  for (; x === " " || x === " "; )
3792
3902
  x = A, A = e[d += 1], y = !0;
3793
3903
  const I = d > _ + 1 ? d - 2 : b - 1;
3794
3904
  if (f[I])
3795
3905
  return e;
3796
- h.push(I), f[I] = !0, c = I + u, p = void 0;
3906
+ c.push(I), f[I] = !0, h = I + u, p = void 0;
3797
3907
  } else
3798
3908
  y = !0;
3799
3909
  }
3800
3910
  x = A;
3801
3911
  }
3802
- if (y && l && l(), h.length === 0)
3912
+ if (y && l && l(), c.length === 0)
3803
3913
  return e;
3804
3914
  o && o();
3805
- let E = e.slice(0, h[0]);
3806
- for (let A = 0; A < h.length; ++A) {
3807
- const I = h[A], P = h[A + 1] || e.length;
3915
+ let E = e.slice(0, c[0]);
3916
+ for (let A = 0; A < c.length; ++A) {
3917
+ const I = c[A], P = c[A + 1] || e.length;
3808
3918
  I === 0 ? E = `
3809
- ${t}${e.slice(0, P)}` : (i === je && f[I] && (E += `${e[I]}\\`), E += `
3919
+ ${t}${e.slice(0, P)}` : (i === $e && f[I] && (E += `${e[I]}\\`), E += `
3810
3920
  ${t}${e.slice(I + 1, P)}`);
3811
3921
  }
3812
3922
  return E;
3813
3923
  }
3814
- function zt(e, t, i) {
3924
+ function Jt(e, t, i) {
3815
3925
  let s = t, r = t + 1, n = e[r];
3816
3926
  for (; n === " " || n === " "; )
3817
3927
  if (t < r + i)
@@ -3825,12 +3935,12 @@ function zt(e, t, i) {
3825
3935
  }
3826
3936
  return s;
3827
3937
  }
3828
- const rt = (e, t) => ({
3938
+ const nt = (e, t) => ({
3829
3939
  indentAtStart: t ? e.indent.length : e.indentAtStart,
3830
3940
  lineWidth: e.options.lineWidth,
3831
3941
  minContentWidth: e.options.minContentWidth
3832
- }), nt = (e) => /^(%|---|\.\.\.)/m.test(e);
3833
- function Zs(e, t, i) {
3942
+ }), at = (e) => /^(%|---|\.\.\.)/m.test(e);
3943
+ function fr(e, t, i) {
3834
3944
  if (!t || t < 0)
3835
3945
  return !1;
3836
3946
  const s = t - i, r = e.length;
@@ -3846,14 +3956,14 @@ function Zs(e, t, i) {
3846
3956
  }
3847
3957
  return !0;
3848
3958
  }
3849
- function Ee(e, t) {
3959
+ function Ae(e, t) {
3850
3960
  const i = JSON.stringify(e);
3851
3961
  if (t.options.doubleQuotedAsJSON)
3852
3962
  return i;
3853
- const { implicitKey: s } = t, r = t.options.doubleQuotedMinMultiLineLength, n = t.indent || (nt(e) ? " " : "");
3963
+ const { implicitKey: s } = t, r = t.options.doubleQuotedMinMultiLineLength, n = t.indent || (at(e) ? " " : "");
3854
3964
  let o = "", l = 0;
3855
- for (let u = 0, h = i[u]; h; h = i[++u])
3856
- if (h === " " && i[u + 1] === "\\" && i[u + 2] === "n" && (o += i.slice(l, u) + "\\ ", u += 1, l = u, h = "\\"), h === "\\")
3965
+ for (let u = 0, c = i[u]; c; c = i[++u])
3966
+ if (c === " " && i[u + 1] === "\\" && i[u + 2] === "n" && (o += i.slice(l, u) + "\\ ", u += 1, l = u, c = "\\"), c === "\\")
3857
3967
  switch (i[u + 1]) {
3858
3968
  case "u":
3859
3969
  {
@@ -3905,46 +4015,46 @@ function Ee(e, t) {
3905
4015
  default:
3906
4016
  u += 1;
3907
4017
  }
3908
- return o = l ? o + i.slice(l) : i, s ? o : st(o, n, je, rt(t, !1));
4018
+ return o = l ? o + i.slice(l) : i, s ? o : rt(o, n, $e, nt(t, !1));
3909
4019
  }
3910
- function yt(e, t) {
4020
+ function vt(e, t) {
3911
4021
  if (t.options.singleQuote === !1 || t.implicitKey && e.includes(`
3912
4022
  `) || /[ \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, `$&
4023
+ return Ae(e, t);
4024
+ const i = t.indent || (at(e) ? " " : ""), s = "'" + e.replace(/'/g, "''").replace(/\n+/g, `$&
3915
4025
  ${i}`) + "'";
3916
- return t.implicitKey ? s : st(s, i, Mi, rt(t, !1));
4026
+ return t.implicitKey ? s : rt(s, i, qi, nt(t, !1));
3917
4027
  }
3918
4028
  function xe(e, t) {
3919
4029
  const { singleQuote: i } = t.options;
3920
4030
  let s;
3921
4031
  if (i === !1)
3922
- s = Ee;
4032
+ s = Ae;
3923
4033
  else {
3924
4034
  const r = e.includes('"'), n = e.includes("'");
3925
- r && !n ? s = yt : n && !r ? s = Ee : s = i ? yt : Ee;
4035
+ r && !n ? s = vt : n && !r ? s = Ae : s = i ? vt : Ae;
3926
4036
  }
3927
4037
  return s(e, t);
3928
4038
  }
3929
- let vt;
4039
+ let St;
3930
4040
  try {
3931
- vt = new RegExp(`(^|(?<!
4041
+ St = new RegExp(`(^|(?<!
3932
4042
  ))
3933
4043
  +(?!
3934
4044
  |$)`, "g");
3935
4045
  } catch {
3936
- vt = /\n+(?!\n|$)/g;
4046
+ St = /\n+(?!\n|$)/g;
3937
4047
  }
3938
4048
  function Ue({ comment: e, type: t, value: i }, s, r, n) {
3939
4049
  const { blockQuote: o, commentString: l, lineWidth: u } = s.options;
3940
4050
  if (!o || /\n[\t ]+$/.test(i))
3941
4051
  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);
4052
+ const c = s.indent || (s.forceBlockIndent || at(i) ? " " : ""), f = o === "literal" ? !0 : o === "folded" || t === O.BLOCK_FOLDED ? !1 : t === O.BLOCK_LITERAL ? !0 : !fr(i, u, c.length);
3943
4053
  if (!i)
3944
4054
  return f ? `|
3945
4055
  ` : `>
3946
4056
  `;
3947
- let c, p;
4057
+ let h, p;
3948
4058
  for (p = i.length; p > 0; --p) {
3949
4059
  const P = i[p - 1];
3950
4060
  if (P !== `
@@ -3954,8 +4064,8 @@ function Ue({ comment: e, type: t, value: i }, s, r, n) {
3954
4064
  let x = i.substring(p);
3955
4065
  const y = x.indexOf(`
3956
4066
  `);
3957
- 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}`));
4067
+ y === -1 ? h = "-" : i === x || y !== x.length - 1 ? (h = "+", n && n()) : h = "", x && (i = i.slice(0, -x.length), x[x.length - 1] === `
4068
+ ` && (x = x.slice(0, -1)), x = x.replace(St, `$&${c}`));
3959
4069
  let d = !1, b, _ = -1;
3960
4070
  for (b = 0; b < i.length; ++b) {
3961
4071
  const P = i[b];
@@ -3968,26 +4078,26 @@ function Ue({ comment: e, type: t, value: i }, s, r, n) {
3968
4078
  break;
3969
4079
  }
3970
4080
  let E = i.substring(0, _ < b ? _ + 1 : b);
3971
- E && (i = i.substring(E.length), E = E.replace(/\n+/g, `$&${h}`));
3972
- let I = (d ? h ? "2" : "1" : "") + c;
4081
+ E && (i = i.substring(E.length), E = E.replace(/\n+/g, `$&${c}`));
4082
+ let I = (d ? c ? "2" : "1" : "") + h;
3973
4083
  if (e && (I += " " + l(e.replace(/ ?[\r\n]+/g, " ")), r && r()), !f) {
3974
4084
  const P = i.replace(/\n+/g, `
3975
- $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${h}`);
4085
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${c}`);
3976
4086
  let j = !1;
3977
- const q = rt(s, !0);
4087
+ const q = nt(s, !0);
3978
4088
  o !== "folded" && t !== O.BLOCK_FOLDED && (q.onOverflow = () => {
3979
4089
  j = !0;
3980
4090
  });
3981
- const ue = st(`${E}${P}${x}`, h, xt, q);
4091
+ const ue = rt(`${E}${P}${x}`, c, yt, q);
3982
4092
  if (!j)
3983
4093
  return `>${I}
3984
- ${h}${ue}`;
4094
+ ${c}${ue}`;
3985
4095
  }
3986
- return i = i.replace(/\n+/g, `$&${h}`), `|${I}
3987
- ${h}${E}${i}${x}`;
4096
+ return i = i.replace(/\n+/g, `$&${c}`), `|${I}
4097
+ ${c}${E}${i}${x}`;
3988
4098
  }
3989
- function Xs(e, t, i, s) {
3990
- const { type: r, value: n } = e, { actualString: o, implicitKey: l, indent: u, indentStep: h, inFlow: f } = t;
4099
+ function pr(e, t, i, s) {
4100
+ const { type: r, value: n } = e, { actualString: o, implicitKey: l, indent: u, indentStep: c, inFlow: f } = t;
3991
4101
  if (l && n.includes(`
3992
4102
  `) || f && /[[\]{},]/.test(n))
3993
4103
  return xe(n, t);
@@ -3997,22 +4107,22 @@ function Xs(e, t, i, s) {
3997
4107
  if (!l && !f && r !== O.PLAIN && n.includes(`
3998
4108
  `))
3999
4109
  return Ue(e, t, i, s);
4000
- if (nt(n)) {
4110
+ if (at(n)) {
4001
4111
  if (u === "")
4002
4112
  return t.forceBlockIndent = !0, Ue(e, t, i, s);
4003
- if (l && u === h)
4113
+ if (l && u === c)
4004
4114
  return xe(n, t);
4005
4115
  }
4006
- const c = n.replace(/\n+/g, `$&
4116
+ const h = n.replace(/\n+/g, `$&
4007
4117
  ${u}`);
4008
4118
  if (o) {
4009
- const p = (d) => d.default && d.tag !== "tag:yaml.org,2002:str" && d.test?.test(c), { compat: x, tags: y } = t.doc.schema;
4119
+ const p = (d) => d.default && d.tag !== "tag:yaml.org,2002:str" && d.test?.test(h), { compat: x, tags: y } = t.doc.schema;
4010
4120
  if (y.some(p) || x?.some(p))
4011
4121
  return xe(n, t);
4012
4122
  }
4013
- return l ? c : st(c, u, Mi, rt(t, !1));
4123
+ return l ? h : rt(h, u, qi, nt(t, !1));
4014
4124
  }
4015
- function er(e, t, i, s) {
4125
+ function dr(e, t, i, s) {
4016
4126
  const { implicitKey: r, inFlow: n } = t, o = typeof e.value == "string" ? e : Object.assign({}, e, { value: String(e.value) });
4017
4127
  let { type: l } = e;
4018
4128
  l !== O.QUOTE_DOUBLE && /[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value) && (l = O.QUOTE_DOUBLE);
@@ -4022,27 +4132,27 @@ function er(e, t, i, s) {
4022
4132
  case O.BLOCK_LITERAL:
4023
4133
  return r || n ? xe(o.value, t) : Ue(o, t, i, s);
4024
4134
  case O.QUOTE_DOUBLE:
4025
- return Ee(o.value, t);
4135
+ return Ae(o.value, t);
4026
4136
  case O.QUOTE_SINGLE:
4027
- return yt(o.value, t);
4137
+ return vt(o.value, t);
4028
4138
  case O.PLAIN:
4029
- return Xs(o, t, i, s);
4139
+ return pr(o, t, i, s);
4030
4140
  default:
4031
4141
  return null;
4032
4142
  }
4033
4143
  };
4034
- let h = u(l);
4035
- if (h === null) {
4036
- const { defaultKeyType: f, defaultStringType: c } = t.options, p = r && f || c;
4037
- if (h = u(p), h === null)
4144
+ let c = u(l);
4145
+ if (c === null) {
4146
+ const { defaultKeyType: f, defaultStringType: h } = t.options, p = r && f || h;
4147
+ if (c = u(p), c === null)
4038
4148
  throw new Error(`Unsupported default string type ${p}`);
4039
4149
  }
4040
- return h;
4150
+ return c;
4041
4151
  }
4042
- function tr(e, t) {
4152
+ function mr(e, t) {
4043
4153
  const i = Object.assign({
4044
4154
  blockQuote: !0,
4045
- commentString: Ys,
4155
+ commentString: hr,
4046
4156
  defaultKeyType: null,
4047
4157
  defaultStringType: "PLAIN",
4048
4158
  directives: null,
@@ -4080,7 +4190,7 @@ function tr(e, t) {
4080
4190
  options: i
4081
4191
  };
4082
4192
  }
4083
- function ir(e, t) {
4193
+ function gr(e, t) {
4084
4194
  if (t.tag) {
4085
4195
  const r = e.filter((n) => n.tag === t.tag);
4086
4196
  if (r.length > 0)
@@ -4103,15 +4213,15 @@ function ir(e, t) {
4103
4213
  }
4104
4214
  return i;
4105
4215
  }
4106
- function sr(e, t, { anchors: i, doc: s }) {
4216
+ function br(e, t, { anchors: i, doc: s }) {
4107
4217
  if (!s.directives)
4108
4218
  return "";
4109
- const r = [], n = (V(e) || $(e)) && e.anchor;
4110
- n && Ri(n) && (i.add(n), r.push(`&${n}`));
4219
+ const r = [], n = (V(e) || U(e)) && e.anchor;
4220
+ n && ji(n) && (i.add(n), r.push(`&${n}`));
4111
4221
  const o = e.tag ?? (t.default ? null : t.tag);
4112
4222
  return o && r.push(s.directives.tagString(o)), r.join(" ");
4113
4223
  }
4114
- function ze(e, t, i, s) {
4224
+ function He(e, t, i, s) {
4115
4225
  if (T(e))
4116
4226
  return e.toString(t, i, s);
4117
4227
  if (de(e)) {
@@ -4122,103 +4232,103 @@ function ze(e, t, i, s) {
4122
4232
  t.resolvedAliases ? t.resolvedAliases.add(e) : t.resolvedAliases = /* @__PURE__ */ new Set([e]), e = e.resolve(t.doc);
4123
4233
  }
4124
4234
  let r;
4125
- 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);
4235
+ const n = D(e) ? e : t.doc.createNode(e, { onTagObj: (u) => r = u });
4236
+ r ?? (r = gr(t.doc.schema.tags, n));
4237
+ const o = br(n, r, t);
4128
4238
  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);
4239
+ const l = typeof r.stringify == "function" ? r.stringify(n, t, i, s) : V(n) ? dr(n, t, i, s) : n.toString(t, i, s);
4130
4240
  return o ? V(n) || l[0] === "{" || l[0] === "[" ? `${o} ${l}` : `${o}
4131
4241
  ${t.indent}${l}` : l;
4132
4242
  }
4133
- function rr({ key: e, value: t }, i, s, r) {
4134
- const { allNullValues: n, doc: o, indent: l, indentStep: u, options: { commentString: h, indentSeq: f, simpleKeys: c } } = i;
4135
- let p = B(e) && e.comment || null;
4136
- if (c) {
4243
+ function xr({ key: e, value: t }, i, s, r) {
4244
+ const { allNullValues: n, doc: o, indent: l, indentStep: u, options: { commentString: c, indentSeq: f, simpleKeys: h } } = i;
4245
+ let p = D(e) && e.comment || null;
4246
+ if (h) {
4137
4247
  if (p)
4138
4248
  throw new Error("With simple keys, key nodes cannot have comments");
4139
- if ($(e) || !B(e) && typeof e == "object") {
4249
+ if (U(e) || !D(e) && typeof e == "object") {
4140
4250
  const q = "With simple keys, collection cannot be used as a key value";
4141
4251
  throw new Error(q);
4142
4252
  }
4143
4253
  }
4144
- let x = !c && (!e || p && t == null && !i.inFlow || $(e) || (V(e) ? e.type === O.BLOCK_FOLDED || e.type === O.BLOCK_LITERAL : typeof e == "object"));
4254
+ let x = !h && (!e || p && t == null && !i.inFlow || U(e) || (V(e) ? e.type === O.BLOCK_FOLDED || e.type === O.BLOCK_LITERAL : typeof e == "object"));
4145
4255
  i = Object.assign({}, i, {
4146
4256
  allNullValues: !1,
4147
- implicitKey: !x && (c || !n),
4257
+ implicitKey: !x && (h || !n),
4148
4258
  indent: l + u
4149
4259
  });
4150
- let y = !1, d = !1, b = ze(e, i, () => y = !0, () => d = !0);
4260
+ let y = !1, d = !1, b = He(e, i, () => y = !0, () => d = !0);
4151
4261
  if (!x && !i.inFlow && b.length > 1024) {
4152
- if (c)
4262
+ if (h)
4153
4263
  throw new Error("With simple keys, single line scalar must not span more than 1024 characters");
4154
4264
  x = !0;
4155
4265
  }
4156
4266
  if (i.inFlow) {
4157
4267
  if (n || t == null)
4158
4268
  return y && s && s(), b === "" ? "?" : x ? `? ${b}` : b;
4159
- } else if (n && !c || t == null && x)
4160
- return b = `? ${b}`, p && !y ? b += be(b, i.indent, h(p)) : d && r && r(), b;
4161
- y && (p = null), x ? (p && (b += be(b, i.indent, h(p))), b = `? ${b}
4162
- ${l}:`) : (b = `${b}:`, p && (b += be(b, i.indent, h(p))));
4269
+ } else if (n && !h || t == null && x)
4270
+ return b = `? ${b}`, p && !y ? b += be(b, i.indent, c(p)) : d && r && r(), b;
4271
+ y && (p = null), x ? (p && (b += be(b, i.indent, c(p))), b = `? ${b}
4272
+ ${l}:`) : (b = `${b}:`, p && (b += be(b, i.indent, c(p))));
4163
4273
  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));
4274
+ D(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
4275
  let I = !1;
4166
- const P = ze(t, i, () => I = !0, () => d = !0);
4276
+ const P = He(t, i, () => I = !0, () => d = !0);
4167
4277
  let j = " ";
4168
4278
  if (p || _ || E) {
4169
4279
  if (j = _ ? `
4170
4280
  ` : "", E) {
4171
- const q = h(E);
4281
+ const q = c(E);
4172
4282
  j += `
4173
- ${Ne(q, i.indent)}`;
4283
+ ${Pe(q, i.indent)}`;
4174
4284
  }
4175
4285
  P === "" && !i.inFlow ? j === `
4176
4286
  ` && A && (j = `
4177
4287
 
4178
4288
  `) : j += `
4179
4289
  ${i.indent}`;
4180
- } else if (!x && $(t)) {
4290
+ } else if (!x && U(t)) {
4181
4291
  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 === "!")) {
4292
+ `), Te = ue !== -1, ot = i.inFlow ?? t.flow ?? t.items.length === 0;
4293
+ if (Te || !ot) {
4294
+ let Re = !1;
4295
+ if (Te && (q === "&" || q === "!")) {
4186
4296
  let v = P.indexOf(" ");
4187
- q === "&" && v !== -1 && v < ue && P[v + 1] === "!" && (v = P.indexOf(" ", v + 1)), (v === -1 || ue < v) && (Te = !0);
4297
+ q === "&" && v !== -1 && v < ue && P[v + 1] === "!" && (v = P.indexOf(" ", v + 1)), (v === -1 || ue < v) && (Re = !0);
4188
4298
  }
4189
- Te || (j = `
4299
+ Re || (j = `
4190
4300
  ${i.indent}`);
4191
4301
  }
4192
4302
  } else (P === "" || P[0] === `
4193
4303
  `) && (j = "");
4194
- return b += j + P, i.inFlow ? I && s && s() : A && !I ? b += be(b, i.indent, h(A)) : d && r && r(), b;
4304
+ return b += j + P, i.inFlow ? I && s && s() : A && !I ? b += be(b, i.indent, c(A)) : d && r && r(), b;
4195
4305
  }
4196
- function nr(e, t) {
4306
+ function yr(e, t) {
4197
4307
  (e === "debug" || e === "warn") && console.warn(t);
4198
4308
  }
4199
- const De = "<<", ct = {
4200
- identify: (e) => e === De || typeof e == "symbol" && e.description === De,
4309
+ const Be = "<<", pt = {
4310
+ identify: (e) => e === Be || typeof e == "symbol" && e.description === Be,
4201
4311
  default: "key",
4202
4312
  tag: "tag:yaml.org,2002:merge",
4203
4313
  test: /^<<$/,
4204
- resolve: () => Object.assign(new O(Symbol(De)), {
4205
- addToJSMap: Fi
4314
+ resolve: () => Object.assign(new O(Symbol(Be)), {
4315
+ addToJSMap: Ki
4206
4316
  }),
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))
4317
+ stringify: () => Be
4318
+ }, vr = (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);
4319
+ function Ki(e, t, i) {
4320
+ if (i = e && de(i) ? i.resolve(e.doc) : i, Vt(i))
4211
4321
  for (const s of i.items)
4212
- ft(e, t, s);
4322
+ dt(e, t, s);
4213
4323
  else if (Array.isArray(i))
4214
4324
  for (const s of i)
4215
- ft(e, t, s);
4325
+ dt(e, t, s);
4216
4326
  else
4217
- ft(e, t, i);
4327
+ dt(e, t, i);
4218
4328
  }
4219
- function ft(e, t, i) {
4329
+ function dt(e, t, i) {
4220
4330
  const s = e && de(i) ? i.resolve(e.doc) : i;
4221
- if (!Li(s))
4331
+ if (!Bi(s))
4222
4332
  throw new Error("Merge sources must be maps or map aliases");
4223
4333
  const r = s.toJSON(null, e, Map);
4224
4334
  for (const [n, o] of r)
@@ -4230,11 +4340,11 @@ function ft(e, t, i) {
4230
4340
  });
4231
4341
  return t;
4232
4342
  }
4233
- function ji(e, t, { key: i, value: s }) {
4234
- if (B(i) && i.addToJSMap)
4343
+ function Wi(e, t, { key: i, value: s }) {
4344
+ if (D(i) && i.addToJSMap)
4235
4345
  i.addToJSMap(e, t, s);
4236
- else if (ar(e, i))
4237
- Fi(e, t, s);
4346
+ else if (vr(e, i))
4347
+ Ki(e, t, s);
4238
4348
  else {
4239
4349
  const r = Q(i, "", e);
4240
4350
  if (t instanceof Map)
@@ -4242,7 +4352,7 @@ function ji(e, t, { key: i, value: s }) {
4242
4352
  else if (t instanceof Set)
4243
4353
  t.add(r);
4244
4354
  else {
4245
- const n = or(i, r, e), o = Q(s, n, e);
4355
+ const n = Sr(i, r, e), o = Q(s, n, e);
4246
4356
  n in t ? Object.defineProperty(t, n, {
4247
4357
  value: o,
4248
4358
  writable: !0,
@@ -4253,13 +4363,13 @@ function ji(e, t, { key: i, value: s }) {
4253
4363
  }
4254
4364
  return t;
4255
4365
  }
4256
- function or(e, t, i) {
4366
+ function Sr(e, t, i) {
4257
4367
  if (t === null)
4258
4368
  return "";
4259
4369
  if (typeof t != "object")
4260
4370
  return String(t);
4261
- if (B(e) && i?.doc) {
4262
- const s = tr(i.doc, {});
4371
+ if (D(e) && i?.doc) {
4372
+ const s = mr(i.doc, {});
4263
4373
  s.anchors = /* @__PURE__ */ new Set();
4264
4374
  for (const n of i.anchors.keys())
4265
4375
  s.anchors.add(n.anchor);
@@ -4267,51 +4377,51 @@ function or(e, t, i) {
4267
4377
  const r = e.toString(s);
4268
4378
  if (!i.mapKeyWarned) {
4269
4379
  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;
4380
+ n.length > 40 && (n = n.substring(0, 36) + '..."'), yr(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
4381
  }
4272
4382
  return r;
4273
4383
  }
4274
4384
  return JSON.stringify(t);
4275
4385
  }
4276
- function Vt(e, t, i) {
4277
- const s = Ge(e, void 0, i), r = Ge(t, void 0, i);
4386
+ function Tt(e, t, i) {
4387
+ const s = ze(e, void 0, i), r = ze(t, void 0, i);
4278
4388
  return new ee(s, r);
4279
4389
  }
4280
4390
  class ee {
4281
4391
  constructor(t, i = null) {
4282
- Object.defineProperty(this, X, { value: Vi }), this.key = t, this.value = i;
4392
+ Object.defineProperty(this, X, { value: Mi }), this.key = t, this.value = i;
4283
4393
  }
4284
4394
  clone(t) {
4285
4395
  let { key: i, value: s } = this;
4286
- return B(i) && (i = i.clone(t)), B(s) && (s = s.clone(t)), new ee(i, s);
4396
+ return D(i) && (i = i.clone(t)), D(s) && (s = s.clone(t)), new ee(i, s);
4287
4397
  }
4288
4398
  toJSON(t, i) {
4289
4399
  const s = i?.mapAsMap ? /* @__PURE__ */ new Map() : {};
4290
- return ji(i, s, this);
4400
+ return Wi(i, s, this);
4291
4401
  }
4292
4402
  toString(t, i, s) {
4293
- return t?.doc ? rr(this, t, i, s) : JSON.stringify(this);
4403
+ return t?.doc ? xr(this, t, i, s) : JSON.stringify(this);
4294
4404
  }
4295
4405
  }
4296
- function Ui(e, t, i) {
4297
- return (t.inFlow ?? e.flow ? lr : ur)(e, t, i);
4406
+ function Gi(e, t, i) {
4407
+ return (t.inFlow ?? e.flow ? wr : kr)(e, t, i);
4298
4408
  }
4299
- function ur({ comment: e, items: t }, i, { blockItemPrefix: s, flowChars: r, itemIndent: n, onChompKeep: o, onComment: l }) {
4300
- const { indent: u, options: { commentString: h } } = i, f = Object.assign({}, i, { indent: n, type: null });
4301
- let c = !1;
4409
+ function kr({ comment: e, items: t }, i, { blockItemPrefix: s, flowChars: r, itemIndent: n, onChompKeep: o, onComment: l }) {
4410
+ const { indent: u, options: { commentString: c } } = i, f = Object.assign({}, i, { indent: n, type: null });
4411
+ let h = !1;
4302
4412
  const p = [];
4303
4413
  for (let y = 0; y < t.length; ++y) {
4304
4414
  const d = t[y];
4305
4415
  let b = null;
4306
- if (B(d))
4307
- !c && d.spaceBefore && p.push(""), He(i, p, d.commentBefore, c), d.comment && (b = d.comment);
4416
+ if (D(d))
4417
+ !h && d.spaceBefore && p.push(""), Qe(i, p, d.commentBefore, h), d.comment && (b = d.comment);
4308
4418
  else if (T(d)) {
4309
- const E = B(d.key) ? d.key : null;
4310
- E && (!c && E.spaceBefore && p.push(""), He(i, p, E.commentBefore, c));
4419
+ const E = D(d.key) ? d.key : null;
4420
+ E && (!h && E.spaceBefore && p.push(""), Qe(i, p, E.commentBefore, h));
4311
4421
  }
4312
- c = !1;
4313
- let _ = ze(d, f, () => b = null, () => c = !0);
4314
- b && (_ += be(_, n, h(b))), c && b && (c = !1), p.push(s + _);
4422
+ h = !1;
4423
+ let _ = He(d, f, () => b = null, () => h = !0);
4424
+ b && (_ += be(_, n, c(b))), h && b && (h = !1), p.push(s + _);
4315
4425
  }
4316
4426
  let x;
4317
4427
  if (p.length === 0)
@@ -4326,9 +4436,9 @@ ${u}${d}` : `
4326
4436
  }
4327
4437
  }
4328
4438
  return e ? (x += `
4329
- ` + Ne(h(e), u), l && l()) : c && o && o(), x;
4439
+ ` + Pe(c(e), u), l && l()) : h && o && o(), x;
4330
4440
  }
4331
- function lr({ items: e }, t, { flowChars: i, itemIndent: s }) {
4441
+ function wr({ items: e }, t, { flowChars: i, itemIndent: s }) {
4332
4442
  const { indent: r, indentStep: n, flowCollectionPadding: o, options: { commentString: l } } = t;
4333
4443
  s += n;
4334
4444
  const u = Object.assign({}, t, {
@@ -4336,55 +4446,55 @@ function lr({ items: e }, t, { flowChars: i, itemIndent: s }) {
4336
4446
  inFlow: !0,
4337
4447
  type: null
4338
4448
  });
4339
- let h = !1, f = 0;
4340
- const c = [];
4449
+ let c = !1, f = 0;
4450
+ const h = [];
4341
4451
  for (let y = 0; y < e.length; ++y) {
4342
4452
  const d = e[y];
4343
4453
  let b = null;
4344
- if (B(d))
4345
- d.spaceBefore && c.push(""), He(t, c, d.commentBefore, !1), d.comment && (b = d.comment);
4454
+ if (D(d))
4455
+ d.spaceBefore && h.push(""), Qe(t, h, d.commentBefore, !1), d.comment && (b = d.comment);
4346
4456
  else if (T(d)) {
4347
- const E = B(d.key) ? d.key : null;
4348
- E && (E.spaceBefore && c.push(""), He(t, c, E.commentBefore, !1), E.comment && (h = !0));
4349
- const A = B(d.value) ? d.value : null;
4350
- A ? (A.comment && (b = A.comment), A.commentBefore && (h = !0)) : d.value == null && E?.comment && (b = E.comment);
4457
+ const E = D(d.key) ? d.key : null;
4458
+ E && (E.spaceBefore && h.push(""), Qe(t, h, E.commentBefore, !1), E.comment && (c = !0));
4459
+ const A = D(d.value) ? d.value : null;
4460
+ A ? (A.comment && (b = A.comment), A.commentBefore && (c = !0)) : d.value == null && E?.comment && (b = E.comment);
4351
4461
  }
4352
- b && (h = !0);
4353
- let _ = ze(d, u, () => b = null);
4354
- y < e.length - 1 && (_ += ","), b && (_ += be(_, s, l(b))), !h && (c.length > f || _.includes(`
4355
- `)) && (h = !0), c.push(_), f = c.length;
4462
+ b && (c = !0);
4463
+ let _ = He(d, u, () => b = null);
4464
+ y < e.length - 1 && (_ += ","), b && (_ += be(_, s, l(b))), !c && (h.length > f || _.includes(`
4465
+ `)) && (c = !0), h.push(_), f = h.length;
4356
4466
  }
4357
4467
  const { start: p, end: x } = i;
4358
- if (c.length === 0)
4468
+ if (h.length === 0)
4359
4469
  return p + x;
4360
- if (!h) {
4361
- const y = c.reduce((d, b) => d + b.length + 2, 2);
4362
- h = t.options.lineWidth > 0 && y > t.options.lineWidth;
4470
+ if (!c) {
4471
+ const y = h.reduce((d, b) => d + b.length + 2, 2);
4472
+ c = t.options.lineWidth > 0 && y > t.options.lineWidth;
4363
4473
  }
4364
- if (h) {
4474
+ if (c) {
4365
4475
  let y = p;
4366
- for (const d of c)
4476
+ for (const d of h)
4367
4477
  y += d ? `
4368
4478
  ${n}${r}${d}` : `
4369
4479
  `;
4370
4480
  return `${y}
4371
4481
  ${r}${x}`;
4372
4482
  } else
4373
- return `${p}${o}${c.join(" ")}${o}${x}`;
4483
+ return `${p}${o}${h.join(" ")}${o}${x}`;
4374
4484
  }
4375
- function He({ indent: e, options: { commentString: t } }, i, s, r) {
4485
+ function Qe({ indent: e, options: { commentString: t } }, i, s, r) {
4376
4486
  if (s && r && (s = s.replace(/^\n+/, "")), s) {
4377
- const n = Ne(t(s), e);
4487
+ const n = Pe(t(s), e);
4378
4488
  i.push(n.trimStart());
4379
4489
  }
4380
4490
  }
4381
- function ce(e, t) {
4491
+ function he(e, t) {
4382
4492
  const i = V(t) ? t.value : t;
4383
4493
  for (const s of e)
4384
4494
  if (T(s) && (s.key === t || s.key === i || V(s.key) && s.key.value === i))
4385
4495
  return s;
4386
4496
  }
4387
- class me extends Di {
4497
+ class me extends Ui {
4388
4498
  static get tagName() {
4389
4499
  return "tag:yaml.org,2002:map";
4390
4500
  }
@@ -4396,16 +4506,16 @@ class me extends Di {
4396
4506
  * to other node classes that inherit from YAMLMap
4397
4507
  */
4398
4508
  static from(t, i, s) {
4399
- const { keepUndefined: r, replacer: n } = s, o = new this(t), l = (u, h) => {
4509
+ const { keepUndefined: r, replacer: n } = s, o = new this(t), l = (u, c) => {
4400
4510
  if (typeof n == "function")
4401
- h = n.call(i, u, h);
4511
+ c = n.call(i, u, c);
4402
4512
  else if (Array.isArray(n) && !n.includes(u))
4403
4513
  return;
4404
- (h !== void 0 || r) && o.items.push(Vt(u, h, s));
4514
+ (c !== void 0 || r) && o.items.push(Tt(u, c, s));
4405
4515
  };
4406
4516
  if (i instanceof Map)
4407
- for (const [u, h] of i)
4408
- l(u, h);
4517
+ for (const [u, c] of i)
4518
+ l(u, c);
4409
4519
  else if (i && typeof i == "object")
4410
4520
  for (const u of Object.keys(i))
4411
4521
  l(u, i[u]);
@@ -4420,11 +4530,11 @@ class me extends Di {
4420
4530
  add(t, i) {
4421
4531
  let s;
4422
4532
  T(t) ? s = t : !t || typeof t != "object" || !("key" in t) ? s = new ee(t, t?.value) : s = new ee(t.key, t.value);
4423
- const r = ce(this.items, s.key), n = this.schema?.sortMapEntries;
4533
+ const r = he(this.items, s.key), n = this.schema?.sortMapEntries;
4424
4534
  if (r) {
4425
4535
  if (!i)
4426
4536
  throw new Error(`Key ${s.key} already set`);
4427
- V(r.value) && Bi(s.value) ? r.value.value = s.value : r.value = s.value;
4537
+ V(r.value) && $i(s.value) ? r.value.value = s.value : r.value = s.value;
4428
4538
  } else if (n) {
4429
4539
  const o = this.items.findIndex((l) => n(s, l) < 0);
4430
4540
  o === -1 ? this.items.push(s) : this.items.splice(o, 0, s);
@@ -4432,15 +4542,15 @@ class me extends Di {
4432
4542
  this.items.push(s);
4433
4543
  }
4434
4544
  delete(t) {
4435
- const i = ce(this.items, t);
4545
+ const i = he(this.items, t);
4436
4546
  return i ? this.items.splice(this.items.indexOf(i), 1).length > 0 : !1;
4437
4547
  }
4438
4548
  get(t, i) {
4439
- const r = ce(this.items, t)?.value;
4549
+ const r = he(this.items, t)?.value;
4440
4550
  return (!i && V(r) ? r.value : r) ?? void 0;
4441
4551
  }
4442
4552
  has(t) {
4443
- return !!ce(this.items, t);
4553
+ return !!he(this.items, t);
4444
4554
  }
4445
4555
  set(t, i) {
4446
4556
  this.add(new ee(t, i), !0);
@@ -4454,7 +4564,7 @@ class me extends Di {
4454
4564
  const r = s ? new s() : i?.mapAsMap ? /* @__PURE__ */ new Map() : {};
4455
4565
  i?.onCreate && i.onCreate(r);
4456
4566
  for (const n of this.items)
4457
- ji(i, r, n);
4567
+ Wi(i, r, n);
4458
4568
  return r;
4459
4569
  }
4460
4570
  toString(t, i, s) {
@@ -4463,7 +4573,7 @@ class me extends Di {
4463
4573
  for (const r of this.items)
4464
4574
  if (!T(r))
4465
4575
  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, {
4576
+ return !t.allNullValues && this.hasAllNullValues(!1) && (t = Object.assign({}, t, { allNullValues: !0 })), Gi(this, t, {
4467
4577
  blockItemPrefix: "",
4468
4578
  flowChars: { start: "{", end: "}" },
4469
4579
  itemIndent: t.indent || "",
@@ -4472,12 +4582,12 @@ class me extends Di {
4472
4582
  });
4473
4583
  }
4474
4584
  }
4475
- class $i extends Di {
4585
+ class zi extends Ui {
4476
4586
  static get tagName() {
4477
4587
  return "tag:yaml.org,2002:seq";
4478
4588
  }
4479
4589
  constructor(t) {
4480
- super(Ve, t), this.items = [];
4590
+ super(Le, t), this.items = [];
4481
4591
  }
4482
4592
  add(t) {
4483
4593
  this.items.push(t);
@@ -4491,11 +4601,11 @@ class $i extends Di {
4491
4601
  * @returns `true` if the item was found and removed.
4492
4602
  */
4493
4603
  delete(t) {
4494
- const i = Me(t);
4604
+ const i = Fe(t);
4495
4605
  return typeof i != "number" ? !1 : this.items.splice(i, 1).length > 0;
4496
4606
  }
4497
4607
  get(t, i) {
4498
- const s = Me(t);
4608
+ const s = Fe(t);
4499
4609
  if (typeof s != "number")
4500
4610
  return;
4501
4611
  const r = this.items[s];
@@ -4508,7 +4618,7 @@ class $i extends Di {
4508
4618
  * It may be wrapped in a `Scalar`.
4509
4619
  */
4510
4620
  has(t) {
4511
- const i = Me(t);
4621
+ const i = Fe(t);
4512
4622
  return typeof i == "number" && i < this.items.length;
4513
4623
  }
4514
4624
  /**
@@ -4519,11 +4629,11 @@ class $i extends Di {
4519
4629
  * It may be wrapped in a `Scalar`.
4520
4630
  */
4521
4631
  set(t, i) {
4522
- const s = Me(t);
4632
+ const s = Fe(t);
4523
4633
  if (typeof s != "number")
4524
4634
  throw new Error(`Expected a valid index, not ${t}.`);
4525
4635
  const r = this.items[s];
4526
- V(r) && Bi(i) ? r.value = i : this.items[s] = i;
4636
+ V(r) && $i(i) ? r.value = i : this.items[s] = i;
4527
4637
  }
4528
4638
  toJSON(t, i) {
4529
4639
  const s = [];
@@ -4534,7 +4644,7 @@ class $i extends Di {
4534
4644
  return s;
4535
4645
  }
4536
4646
  toString(t, i, s) {
4537
- return t ? Ui(this, t, {
4647
+ return t ? Gi(this, t, {
4538
4648
  blockItemPrefix: "- ",
4539
4649
  flowChars: { start: "[", end: "]" },
4540
4650
  itemIndent: (t.indent || "") + " ",
@@ -4551,18 +4661,18 @@ class $i extends Di {
4551
4661
  const u = i instanceof Set ? l : String(o++);
4552
4662
  l = r.call(i, u, l);
4553
4663
  }
4554
- n.items.push(Ge(l, void 0, s));
4664
+ n.items.push(ze(l, void 0, s));
4555
4665
  }
4556
4666
  }
4557
4667
  return n;
4558
4668
  }
4559
4669
  }
4560
- function Me(e) {
4670
+ function Fe(e) {
4561
4671
  let t = V(e) ? e.value : e;
4562
4672
  return t && typeof t == "string" && (t = Number(t)), typeof t == "number" && Number.isInteger(t) && t >= 0 ? t : null;
4563
4673
  }
4564
- function hr(e, t, i) {
4565
- const { replacer: s } = i, r = new $i(e);
4674
+ function _r(e, t, i) {
4675
+ const { replacer: s } = i, r = new zi(e);
4566
4676
  r.tag = "tag:yaml.org,2002:pairs";
4567
4677
  let n = 0;
4568
4678
  if (t && Symbol.iterator in Object(t))
@@ -4575,20 +4685,20 @@ function hr(e, t, i) {
4575
4685
  else
4576
4686
  throw new TypeError(`Expected [key, value] tuple: ${o}`);
4577
4687
  else if (o && o instanceof Object) {
4578
- const h = Object.keys(o);
4579
- if (h.length === 1)
4580
- l = h[0], u = o[l];
4688
+ const c = Object.keys(o);
4689
+ if (c.length === 1)
4690
+ l = c[0], u = o[l];
4581
4691
  else
4582
- throw new TypeError(`Expected tuple with one key, not ${h.length} keys`);
4692
+ throw new TypeError(`Expected tuple with one key, not ${c.length} keys`);
4583
4693
  } else
4584
4694
  l = o;
4585
- r.items.push(Vt(l, u, i));
4695
+ r.items.push(Tt(l, u, i));
4586
4696
  }
4587
4697
  return r;
4588
4698
  }
4589
- class Lt extends $i {
4699
+ class Rt extends zi {
4590
4700
  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;
4701
+ 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
4702
  }
4593
4703
  /**
4594
4704
  * If `ctx` is given, the return type is actually `Map<unknown, unknown>`,
@@ -4608,31 +4718,31 @@ class Lt extends $i {
4608
4718
  return s;
4609
4719
  }
4610
4720
  static from(t, i, s) {
4611
- const r = hr(t, i, s), n = new this();
4721
+ const r = _r(t, i, s), n = new this();
4612
4722
  return n.items = r.items, n;
4613
4723
  }
4614
4724
  }
4615
- Lt.tag = "tag:yaml.org,2002:omap";
4616
- class Tt extends me {
4725
+ Rt.tag = "tag:yaml.org,2002:omap";
4726
+ class Dt extends me {
4617
4727
  constructor(t) {
4618
- super(t), this.tag = Tt.tag;
4728
+ super(t), this.tag = Dt.tag;
4619
4729
  }
4620
4730
  add(t) {
4621
4731
  let i;
4622
- T(t) ? i = t : t && typeof t == "object" && "key" in t && "value" in t && t.value === null ? i = new ee(t.key, null) : i = new ee(t, null), ce(this.items, i.key) || this.items.push(i);
4732
+ T(t) ? i = t : t && typeof t == "object" && "key" in t && "value" in t && t.value === null ? i = new ee(t.key, null) : i = new ee(t, null), he(this.items, i.key) || this.items.push(i);
4623
4733
  }
4624
4734
  /**
4625
4735
  * If `keepPair` is `true`, returns the Pair matching `key`.
4626
4736
  * Otherwise, returns the value of that Pair's key.
4627
4737
  */
4628
4738
  get(t, i) {
4629
- const s = ce(this.items, t);
4739
+ const s = he(this.items, t);
4630
4740
  return !i && T(s) ? V(s.key) ? s.key.value : s.key : s;
4631
4741
  }
4632
4742
  set(t, i) {
4633
4743
  if (typeof i != "boolean")
4634
4744
  throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof i}`);
4635
- const s = ce(this.items, t);
4745
+ const s = he(this.items, t);
4636
4746
  s && !i ? this.items.splice(this.items.indexOf(s), 1) : !s && i && this.items.push(new ee(t));
4637
4747
  }
4638
4748
  toJSON(t, i) {
@@ -4649,23 +4759,23 @@ class Tt extends me {
4649
4759
  const { replacer: r } = s, n = new this(t);
4650
4760
  if (i && Symbol.iterator in Object(i))
4651
4761
  for (let o of i)
4652
- typeof r == "function" && (o = r.call(i, o, o)), n.items.push(Vt(o, null, s));
4762
+ typeof r == "function" && (o = r.call(i, o, o)), n.items.push(Tt(o, null, s));
4653
4763
  return n;
4654
4764
  }
4655
4765
  }
4656
- Tt.tag = "tag:yaml.org,2002:set";
4766
+ Dt.tag = "tag:yaml.org,2002:set";
4657
4767
  new Set("0123456789ABCDEFabcdef");
4658
4768
  new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()");
4659
4769
  new Set(",[]{}");
4660
4770
  new Set(` ,[]{}
4661
4771
  \r `);
4662
- const cr = /\{\{\s*(var_table|var)\s*\|([\s\S]*?)\}\}/g;
4663
- function fr(e) {
4772
+ const Cr = /\{\{\s*(var_table|var)\s*\|([\s\S]*?)\}\}/g, Er = /^[ \t]*(```|~~~)[ \t]*media(?:[^\n]*)?\r?\n([\s\S]*?)^[ \t]*\1[ \t]*$/gm;
4773
+ function Ar(e) {
4664
4774
  const t = [];
4665
- for (const i of e.matchAll(cr)) {
4775
+ for (const i of e.matchAll(Cr)) {
4666
4776
  const s = i.index ?? 0, r = i[0], n = i[2] ?? "";
4667
4777
  try {
4668
- const o = $s(js(n));
4778
+ const o = Ys(Qs(n));
4669
4779
  o.length > 0 && t.push({
4670
4780
  message: o.join(`
4671
4781
  `),
@@ -4676,12 +4786,26 @@ function fr(e) {
4676
4786
  } catch {
4677
4787
  }
4678
4788
  }
4789
+ for (const i of e.matchAll(Er)) {
4790
+ const s = i.index ?? 0, r = i[0], n = i[2] ?? "";
4791
+ try {
4792
+ const o = tr(ir(n));
4793
+ o.length > 0 && t.push({
4794
+ message: o.join(`
4795
+ `),
4796
+ severity: "error",
4797
+ startOffset: s,
4798
+ endOffset: s + r.length
4799
+ });
4800
+ } catch {
4801
+ }
4802
+ }
4679
4803
  return t;
4680
4804
  }
4681
- const pr = {
4805
+ const Ir = {
4682
4806
  key: 0,
4683
4807
  class: "aimd-editor-loading"
4684
- }, Ht = "airalogy-aimd", mr = /* @__PURE__ */ qi({
4808
+ }, Yt = "airalogy-aimd", Pr = /* @__PURE__ */ Hi({
4685
4809
  __name: "AimdSourceEditor",
4686
4810
  props: {
4687
4811
  content: {},
@@ -4693,11 +4817,11 @@ const pr = {
4693
4817
  },
4694
4818
  emits: ["content-change", "ready", "monaco-loaded"],
4695
4819
  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);
4697
- let c = null, p = null, x = !1;
4820
+ 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*$/, c = /^\s*(```|~~~)\s*$/, f = Bt(null);
4821
+ let h = null, p = null, x = !1;
4698
4822
  const y = Bt(!0);
4699
4823
  function d(v) {
4700
- const U = s.resolvedMessages;
4824
+ const $ = s.resolvedMessages;
4701
4825
  v.languages.getLanguages().some((re) => re.id === "aimd") || (v.languages.register({
4702
4826
  id: "aimd",
4703
4827
  extensions: [".aimd"],
@@ -4737,7 +4861,7 @@ const pr = {
4737
4861
  [n, { token: "string.code", next: "@embeddedCodeblock", nextEmbedded: "javascript" }],
4738
4862
  [o, { token: "string.code", next: "@embeddedCodeblock", nextEmbedded: "python" }],
4739
4863
  [u, { token: "string.code", next: "@embeddedCodeblock", nextEmbedded: "$2" }],
4740
- [h, { token: "string.code", next: "@codeblock" }],
4864
+ [c, { token: "string.code", next: "@codeblock" }],
4741
4865
  [/`[^`]+`/, "string.code"],
4742
4866
  [/\*\*[^*]+\*\*/, "strong"],
4743
4867
  [/__[^_]+__/, "strong"],
@@ -4782,7 +4906,7 @@ const pr = {
4782
4906
  }
4783
4907
  }), v.languages.registerCompletionItemProvider("aimd", {
4784
4908
  provideCompletionItems: () => {
4785
- const re = ["var", "var_table", "step", "check", "ref_step", "ref_var", "ref_fig", "cite"], Re = {
4909
+ const re = ["var", "var_table", "step", "check", "ref_step", "ref_var", "ref_fig", "cite"], De = {
4786
4910
  var: "var_id",
4787
4911
  var_table: "table_id",
4788
4912
  step: "step_id",
@@ -4791,15 +4915,15 @@ const pr = {
4791
4915
  ref_var: "var_id",
4792
4916
  ref_fig: "fig_id",
4793
4917
  cite: "ref_id"
4794
- }, Rt = re.map((Be) => ({
4795
- label: `{{${Be}|}}`,
4918
+ }, Mt = re.map((Me) => ({
4919
+ label: `{{${Me}|}}`,
4796
4920
  kind: v.languages.CompletionItemKind.Snippet,
4797
- insertText: `{{${Be}|\${1:${Re[Be] ?? "id"}}}}`,
4921
+ insertText: `{{${Me}|\${1:${De[Me] ?? "id"}}}}`,
4798
4922
  insertTextRules: v.languages.CompletionItemInsertTextRule.InsertAsSnippet,
4799
- documentation: U.completions.insertAimdField(Be)
4923
+ documentation: $.completions.insertAimdField(Me)
4800
4924
  }));
4801
- return Rt.push({
4802
- label: U.completions.quizBlockLabel,
4925
+ return Mt.push({
4926
+ label: $.completions.quizBlockLabel,
4803
4927
  kind: v.languages.CompletionItemKind.Snippet,
4804
4928
  insertText: [
4805
4929
  "```quiz",
@@ -4807,19 +4931,19 @@ const pr = {
4807
4931
  "type: choice",
4808
4932
  "mode: single",
4809
4933
  "stem: |",
4810
- ` \${2:${U.defaults.questionStem}}`,
4934
+ ` \${2:${$.defaults.questionStem}}`,
4811
4935
  "options:",
4812
4936
  " - key: A",
4813
- ` text: ${U.defaults.optionText("A")}`,
4937
+ ` text: ${$.defaults.optionText("A")}`,
4814
4938
  " - key: B",
4815
- ` text: ${U.defaults.optionText("B")}`,
4939
+ ` text: ${$.defaults.optionText("B")}`,
4816
4940
  "answer: A",
4817
4941
  "```"
4818
4942
  ].join(`
4819
4943
  `),
4820
4944
  insertTextRules: v.languages.CompletionItemInsertTextRule.InsertAsSnippet,
4821
- documentation: U.completions.quizBlock
4822
- }), { suggestions: Rt };
4945
+ documentation: $.completions.quizBlock
4946
+ }), { suggestions: Mt };
4823
4947
  }
4824
4948
  }), v.editor.defineTheme("aimd-light", {
4825
4949
  base: "vs",
@@ -4858,34 +4982,34 @@ const pr = {
4858
4982
  }));
4859
4983
  }
4860
4984
  function b() {
4861
- if (!p || !c) return;
4862
- const v = c.getModel();
4985
+ if (!p || !h) return;
4986
+ const v = h.getModel();
4863
4987
  if (!v) return;
4864
- const U = fr(v.getValue()).map((le) => {
4865
- const re = v.getPositionAt(le.startOffset), Re = v.getPositionAt(le.endOffset);
4988
+ const $ = Ar(v.getValue()).map((le) => {
4989
+ const re = v.getPositionAt(le.startOffset), De = v.getPositionAt(le.endOffset);
4866
4990
  return {
4867
4991
  severity: le.severity === "error" ? p.MarkerSeverity.Error : p.MarkerSeverity.Warning,
4868
4992
  message: le.message,
4869
4993
  source: "AIMD",
4870
4994
  startLineNumber: re.lineNumber,
4871
4995
  startColumn: re.column,
4872
- endLineNumber: Re.lineNumber,
4873
- endColumn: Re.column
4996
+ endLineNumber: De.lineNumber,
4997
+ endColumn: De.column
4874
4998
  };
4875
4999
  });
4876
- p.editor.setModelMarkers(v, Ht, U);
5000
+ p.editor.setModelMarkers(v, Yt, $);
4877
5001
  }
4878
5002
  function _() {
4879
- if (!p || !c) return;
4880
- const v = c.getModel();
4881
- v && p.editor.setModelMarkers(v, Ht, []);
5003
+ if (!p || !h) return;
5004
+ const v = h.getModel();
5005
+ v && p.editor.setModelMarkers(v, Yt, []);
4882
5006
  }
4883
5007
  function E(v) {
4884
- if (!f.value || c) return;
4885
- const U = /* @__PURE__ */ new Set(["value", "language", "model"]), le = Object.fromEntries(
4886
- Object.entries(s.monacoOptions).filter(([re]) => !U.has(re))
5008
+ if (!f.value || h) return;
5009
+ const $ = /* @__PURE__ */ new Set(["value", "language", "model"]), le = Object.fromEntries(
5010
+ Object.entries(s.monacoOptions).filter(([re]) => !$.has(re))
4887
5011
  );
4888
- c = v.editor.create(f.value, {
5012
+ h = v.editor.create(f.value, {
4889
5013
  value: s.content,
4890
5014
  language: "aimd",
4891
5015
  theme: s.theme,
@@ -4899,11 +5023,11 @@ const pr = {
4899
5023
  padding: { top: 12 },
4900
5024
  readOnly: s.readonly,
4901
5025
  ...le
4902
- }), c.onDidChangeModelContent(() => {
4903
- b(), x || r("content-change", c.getValue());
4904
- }), b(), r("ready", c), r("monaco-loaded", v, c);
5026
+ }), h.onDidChangeModelContent(() => {
5027
+ b(), x || r("content-change", h.getValue());
5028
+ }), b(), r("ready", h), r("monaco-loaded", v, h);
4905
5029
  }
4906
- Ki(async () => {
5030
+ Qi(async () => {
4907
5031
  try {
4908
5032
  y.value = !0;
4909
5033
  const v = await import("monaco-editor");
@@ -4911,41 +5035,41 @@ const pr = {
4911
5035
  } finally {
4912
5036
  y.value = !1;
4913
5037
  }
4914
- }), Wi(() => {
4915
- _(), c?.dispose();
4916
- }), ot(() => s.content, (v) => {
4917
- !c || v === c.getValue() || (x = !0, c.setValue(v), x = !1);
4918
- }), ot(() => s.theme, (v) => {
5038
+ }), Ji(() => {
5039
+ _(), h?.dispose();
5040
+ }), ut(() => s.content, (v) => {
5041
+ !h || v === h.getValue() || (x = !0, h.setValue(v), x = !1);
5042
+ }), ut(() => s.theme, (v) => {
4919
5043
  p && p.editor.setTheme(v);
4920
- }), ot(() => s.readonly, (v) => {
4921
- c?.updateOptions({ readOnly: v });
5044
+ }), ut(() => s.readonly, (v) => {
5045
+ h?.updateOptions({ readOnly: v });
4922
5046
  });
4923
5047
  function A() {
4924
- return c;
5048
+ return h;
4925
5049
  }
4926
5050
  function I() {
4927
5051
  return p;
4928
5052
  }
4929
5053
  function P(v) {
4930
- c && (x = !0, c.setValue(v), x = !1);
5054
+ h && (x = !0, h.setValue(v), x = !1);
4931
5055
  }
4932
5056
  function j() {
4933
- return c?.getSelection();
5057
+ return h?.getSelection();
4934
5058
  }
4935
- function q(v, U) {
4936
- c?.executeEdits(v, U);
5059
+ function q(v, $) {
5060
+ h?.executeEdits(v, $);
4937
5061
  }
4938
5062
  function ue() {
4939
- c?.focus();
5063
+ h?.focus();
4940
5064
  }
4941
- function Le() {
4942
- return c?.getModel();
5065
+ function Te() {
5066
+ return h?.getModel();
4943
5067
  }
4944
- function at() {
4945
- return c?.getPosition();
5068
+ function ot() {
5069
+ return h?.getPosition();
4946
5070
  }
4947
- function Te() {
4948
- return c?.getValue();
5071
+ function Re() {
5072
+ return h?.getValue();
4949
5073
  }
4950
5074
  return t({
4951
5075
  getEditor: A,
@@ -4954,16 +5078,16 @@ const pr = {
4954
5078
  getSelection: j,
4955
5079
  executeEdits: q,
4956
5080
  focus: ue,
4957
- getModel: Le,
4958
- getPosition: at,
4959
- getValue: Te,
5081
+ getModel: Te,
5082
+ getPosition: ot,
5083
+ getValue: Re,
4960
5084
  loading: y
4961
- }), (v, U) => (Dt(), Mt("div", {
5085
+ }), (v, $) => (Ft(), jt("div", {
4962
5086
  class: "aimd-editor-source-mode",
4963
- style: Gi({ height: e.minHeight + "px" })
5087
+ style: Yi({ minHeight: e.minHeight + "px" })
4964
5088
  }, [
4965
- y.value ? (Dt(), Mt("div", pr, zi(e.resolvedMessages.common.loadingEditor), 1)) : Hi("", !0),
4966
- Qi("div", {
5089
+ y.value ? (Ft(), jt("div", Ir, Zi(e.resolvedMessages.common.loadingEditor), 1)) : Xi("", !0),
5090
+ es("div", {
4967
5091
  ref_key: "editorContainer",
4968
5092
  ref: f,
4969
5093
  class: "aimd-editor-container"
@@ -4972,5 +5096,5 @@ const pr = {
4972
5096
  }
4973
5097
  });
4974
5098
  export {
4975
- mr as _
5099
+ Pr as _
4976
5100
  };