@piedata/pieui 1.1.23 → 1.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +135 -65
- package/dist/components/PieBaseRoot/index.d.ts +4 -0
- package/dist/components/PieBaseRoot/index.d.ts.map +1 -0
- package/dist/components/PieBaseRoot/types/index.d.ts +6 -0
- package/dist/components/PieBaseRoot/types/index.d.ts.map +1 -0
- package/dist/components/PieRoot/index.d.ts.map +1 -1
- package/dist/components/PieTelegramRoot/index.d.ts.map +1 -1
- package/dist/components/index.esm.js +36 -36
- package/dist/components/index.js +65 -48
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +36 -36
- package/dist/index.js +74 -57
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -170668,10 +170668,10 @@ var require_acorn = __commonJS((exports2, module2) => {
|
|
|
170668
170668
|
(function(global2, factory) {
|
|
170669
170669
|
typeof exports2 === "object" && typeof module2 !== "undefined" ? factory(exports2) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.acorn = {}));
|
|
170670
170670
|
})(exports2, function(exports3) {
|
|
170671
|
-
var astralIdentifierCodes = [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,
|
|
170672
|
-
var astralIdentifierStartCodes = [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,
|
|
170673
|
-
var nonASCIIidentifierChars = "
|
|
170674
|
-
var nonASCIIidentifierStartChars = "
|
|
170671
|
+
var astralIdentifierCodes = [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, 78, 5, 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, 199, 7, 137, 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, 55, 9, 266, 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, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
170672
|
+
var astralIdentifierStartCodes = [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, 7, 25, 39, 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, 5, 57, 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, 24, 43, 261, 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, 33, 24, 3, 24, 45, 74, 6, 0, 67, 12, 65, 1, 2, 0, 15, 4, 10, 7381, 42, 31, 98, 114, 8702, 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, 208, 30, 2, 2, 2, 1, 2, 6, 3, 4, 10, 1, 225, 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, 4381, 3, 5773, 3, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 8489];
|
|
170673
|
+
var nonASCIIidentifierChars = "·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ--ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";
|
|
170674
|
+
var nonASCIIidentifierStartChars = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";
|
|
170675
170675
|
var reservedWords = {
|
|
170676
170676
|
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",
|
|
170677
170677
|
5: "class enum extends super const export import",
|
|
@@ -170971,6 +170971,9 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
170971
170971
|
if (isArray(options.onComment)) {
|
|
170972
170972
|
options.onComment = pushComment(options, options.onComment);
|
|
170973
170973
|
}
|
|
170974
|
+
if (options.sourceType === "commonjs" && options.allowAwaitOutsideFunction) {
|
|
170975
|
+
throw new Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
|
|
170976
|
+
}
|
|
170974
170977
|
return options;
|
|
170975
170978
|
}
|
|
170976
170979
|
function pushComment(options, array) {
|
|
@@ -170990,7 +170993,7 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
170990
170993
|
array.push(comment);
|
|
170991
170994
|
};
|
|
170992
170995
|
}
|
|
170993
|
-
var SCOPE_TOP = 1, SCOPE_FUNCTION = 2, SCOPE_ASYNC = 4, SCOPE_GENERATOR = 8, SCOPE_ARROW = 16, SCOPE_SIMPLE_CATCH = 32, SCOPE_SUPER = 64, SCOPE_DIRECT_SUPER = 128, SCOPE_CLASS_STATIC_BLOCK = 256, SCOPE_CLASS_FIELD_INIT = 512, SCOPE_VAR = SCOPE_TOP | SCOPE_FUNCTION | SCOPE_CLASS_STATIC_BLOCK;
|
|
170996
|
+
var SCOPE_TOP = 1, SCOPE_FUNCTION = 2, SCOPE_ASYNC = 4, SCOPE_GENERATOR = 8, SCOPE_ARROW = 16, SCOPE_SIMPLE_CATCH = 32, SCOPE_SUPER = 64, SCOPE_DIRECT_SUPER = 128, SCOPE_CLASS_STATIC_BLOCK = 256, SCOPE_CLASS_FIELD_INIT = 512, SCOPE_SWITCH = 1024, SCOPE_VAR = SCOPE_TOP | SCOPE_FUNCTION | SCOPE_CLASS_STATIC_BLOCK;
|
|
170994
170997
|
function functionFlags(async, generator) {
|
|
170995
170998
|
return SCOPE_FUNCTION | (async ? SCOPE_ASYNC : 0) | (generator ? SCOPE_GENERATOR : 0);
|
|
170996
170999
|
}
|
|
@@ -171040,11 +171043,11 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
171040
171043
|
this.skipLineComment(2);
|
|
171041
171044
|
}
|
|
171042
171045
|
this.scopeStack = [];
|
|
171043
|
-
this.enterScope(SCOPE_TOP);
|
|
171046
|
+
this.enterScope(this.options.sourceType === "commonjs" ? SCOPE_FUNCTION : SCOPE_TOP);
|
|
171044
171047
|
this.regexpState = null;
|
|
171045
171048
|
this.privateNameStack = [];
|
|
171046
171049
|
};
|
|
171047
|
-
var prototypeAccessors = { inFunction: { configurable: true }, inGenerator: { configurable: true }, inAsync: { configurable: true }, canAwait: { configurable: true }, allowSuper: { configurable: true }, allowDirectSuper: { configurable: true }, treatFunctionsAsVar: { configurable: true }, allowNewDotTarget: { configurable: true }, inClassStaticBlock: { configurable: true } };
|
|
171050
|
+
var prototypeAccessors = { inFunction: { configurable: true }, inGenerator: { configurable: true }, inAsync: { configurable: true }, canAwait: { configurable: true }, allowReturn: { configurable: true }, allowSuper: { configurable: true }, allowDirectSuper: { configurable: true }, treatFunctionsAsVar: { configurable: true }, allowNewDotTarget: { configurable: true }, allowUsing: { configurable: true }, inClassStaticBlock: { configurable: true } };
|
|
171048
171051
|
Parser.prototype.parse = function parse2() {
|
|
171049
171052
|
var node = this.options.program || this.startNode();
|
|
171050
171053
|
this.nextToken();
|
|
@@ -171072,6 +171075,15 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
171072
171075
|
}
|
|
171073
171076
|
return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
|
|
171074
171077
|
};
|
|
171078
|
+
prototypeAccessors.allowReturn.get = function() {
|
|
171079
|
+
if (this.inFunction) {
|
|
171080
|
+
return true;
|
|
171081
|
+
}
|
|
171082
|
+
if (this.options.allowReturnOutsideFunction && this.currentVarScope().flags & SCOPE_TOP) {
|
|
171083
|
+
return true;
|
|
171084
|
+
}
|
|
171085
|
+
return false;
|
|
171086
|
+
};
|
|
171075
171087
|
prototypeAccessors.allowSuper.get = function() {
|
|
171076
171088
|
var ref2 = this.currentThisScope();
|
|
171077
171089
|
var flags = ref2.flags;
|
|
@@ -171093,6 +171105,17 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
171093
171105
|
}
|
|
171094
171106
|
return false;
|
|
171095
171107
|
};
|
|
171108
|
+
prototypeAccessors.allowUsing.get = function() {
|
|
171109
|
+
var ref2 = this.currentScope();
|
|
171110
|
+
var flags = ref2.flags;
|
|
171111
|
+
if (flags & SCOPE_SWITCH) {
|
|
171112
|
+
return false;
|
|
171113
|
+
}
|
|
171114
|
+
if (!this.inModule && flags & SCOPE_TOP) {
|
|
171115
|
+
return false;
|
|
171116
|
+
}
|
|
171117
|
+
return true;
|
|
171118
|
+
};
|
|
171096
171119
|
prototypeAccessors.inClassStaticBlock.get = function() {
|
|
171097
171120
|
return (this.currentVarScope().flags & SCOPE_CLASS_STATIC_BLOCK) > 0;
|
|
171098
171121
|
};
|
|
@@ -171264,7 +171287,7 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
171264
171287
|
}
|
|
171265
171288
|
this.adaptDirectivePrologue(node.body);
|
|
171266
171289
|
this.next();
|
|
171267
|
-
node.sourceType = this.options.sourceType;
|
|
171290
|
+
node.sourceType = this.options.sourceType === "commonjs" ? "script" : this.options.sourceType;
|
|
171268
171291
|
return this.finishNode(node, "Program");
|
|
171269
171292
|
};
|
|
171270
171293
|
var loopLabel = { kind: "loop" }, switchLabel = { kind: "switch" };
|
|
@@ -171274,25 +171297,25 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
171274
171297
|
}
|
|
171275
171298
|
skipWhiteSpace.lastIndex = this.pos;
|
|
171276
171299
|
var skip = skipWhiteSpace.exec(this.input);
|
|
171277
|
-
var next = this.pos + skip[0].length, nextCh = this.
|
|
171300
|
+
var next = this.pos + skip[0].length, nextCh = this.fullCharCodeAt(next);
|
|
171278
171301
|
if (nextCh === 91 || nextCh === 92) {
|
|
171279
171302
|
return true;
|
|
171280
171303
|
}
|
|
171281
171304
|
if (context) {
|
|
171282
171305
|
return false;
|
|
171283
171306
|
}
|
|
171284
|
-
if (nextCh === 123
|
|
171307
|
+
if (nextCh === 123) {
|
|
171285
171308
|
return true;
|
|
171286
171309
|
}
|
|
171287
|
-
if (isIdentifierStart(nextCh
|
|
171288
|
-
var
|
|
171289
|
-
|
|
171290
|
-
|
|
171291
|
-
}
|
|
171292
|
-
if (nextCh === 92
|
|
171310
|
+
if (isIdentifierStart(nextCh)) {
|
|
171311
|
+
var start = next;
|
|
171312
|
+
do {
|
|
171313
|
+
next += nextCh <= 65535 ? 1 : 2;
|
|
171314
|
+
} while (isIdentifierChar(nextCh = this.fullCharCodeAt(next)));
|
|
171315
|
+
if (nextCh === 92) {
|
|
171293
171316
|
return true;
|
|
171294
171317
|
}
|
|
171295
|
-
var ident = this.input.slice(
|
|
171318
|
+
var ident = this.input.slice(start, next);
|
|
171296
171319
|
if (!keywordRelationalOperator.test(ident)) {
|
|
171297
171320
|
return true;
|
|
171298
171321
|
}
|
|
@@ -171306,7 +171329,7 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
171306
171329
|
skipWhiteSpace.lastIndex = this.pos;
|
|
171307
171330
|
var skip = skipWhiteSpace.exec(this.input);
|
|
171308
171331
|
var next = this.pos + skip[0].length, after;
|
|
171309
|
-
return !lineBreak.test(this.input.slice(this.pos, next)) && this.input.slice(next, next + 8) === "function" && (next + 8 === this.input.length || !(isIdentifierChar(after = this.
|
|
171332
|
+
return !lineBreak.test(this.input.slice(this.pos, next)) && this.input.slice(next, next + 8) === "function" && (next + 8 === this.input.length || !(isIdentifierChar(after = this.fullCharCodeAt(next + 8)) || after === 92));
|
|
171310
171333
|
};
|
|
171311
171334
|
pp$8.isUsingKeyword = function(isAwaitUsing, isFor) {
|
|
171312
171335
|
if (this.options.ecmaVersion < 17 || !this.isContextual(isAwaitUsing ? "await" : "using")) {
|
|
@@ -171319,26 +171342,33 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
171319
171342
|
return false;
|
|
171320
171343
|
}
|
|
171321
171344
|
if (isAwaitUsing) {
|
|
171322
|
-
var
|
|
171323
|
-
if (this.input.slice(next,
|
|
171345
|
+
var usingEndPos = next + 5, after;
|
|
171346
|
+
if (this.input.slice(next, usingEndPos) !== "using" || usingEndPos === this.input.length || isIdentifierChar(after = this.fullCharCodeAt(usingEndPos)) || after === 92) {
|
|
171324
171347
|
return false;
|
|
171325
171348
|
}
|
|
171326
|
-
skipWhiteSpace.lastIndex =
|
|
171349
|
+
skipWhiteSpace.lastIndex = usingEndPos;
|
|
171327
171350
|
var skipAfterUsing = skipWhiteSpace.exec(this.input);
|
|
171328
|
-
|
|
171351
|
+
next = usingEndPos + skipAfterUsing[0].length;
|
|
171352
|
+
if (skipAfterUsing && lineBreak.test(this.input.slice(usingEndPos, next))) {
|
|
171329
171353
|
return false;
|
|
171330
171354
|
}
|
|
171331
171355
|
}
|
|
171332
|
-
|
|
171333
|
-
|
|
171334
|
-
|
|
171335
|
-
if (ofEndPos === this.input.length || !isIdentifierChar(after$1 = this.input.charCodeAt(ofEndPos)) && !(after$1 > 55295 && after$1 < 56320)) {
|
|
171336
|
-
return false;
|
|
171337
|
-
}
|
|
171338
|
-
}
|
|
171356
|
+
var ch = this.fullCharCodeAt(next);
|
|
171357
|
+
if (!isIdentifierStart(ch) && ch !== 92) {
|
|
171358
|
+
return false;
|
|
171339
171359
|
}
|
|
171340
|
-
var
|
|
171341
|
-
|
|
171360
|
+
var idStart = next;
|
|
171361
|
+
do {
|
|
171362
|
+
next += ch <= 65535 ? 1 : 2;
|
|
171363
|
+
} while (isIdentifierChar(ch = this.fullCharCodeAt(next)));
|
|
171364
|
+
if (ch === 92) {
|
|
171365
|
+
return true;
|
|
171366
|
+
}
|
|
171367
|
+
var id = this.input.slice(idStart, next);
|
|
171368
|
+
if (keywordRelationalOperator.test(id) || isFor && id === "of") {
|
|
171369
|
+
return false;
|
|
171370
|
+
}
|
|
171371
|
+
return true;
|
|
171342
171372
|
};
|
|
171343
171373
|
pp$8.isAwaitUsing = function(isFor) {
|
|
171344
171374
|
return this.isUsingKeyword(true, isFor);
|
|
@@ -171426,8 +171456,8 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
171426
171456
|
}
|
|
171427
171457
|
var usingKind = this.isAwaitUsing(false) ? "await using" : this.isUsing(false) ? "using" : null;
|
|
171428
171458
|
if (usingKind) {
|
|
171429
|
-
if (
|
|
171430
|
-
this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`");
|
|
171459
|
+
if (!this.allowUsing) {
|
|
171460
|
+
this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script` or in the bare case statement");
|
|
171431
171461
|
}
|
|
171432
171462
|
if (usingKind === "await using") {
|
|
171433
171463
|
if (!this.canAwait) {
|
|
@@ -171521,6 +171551,9 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
171521
171551
|
var init$2 = this.startNode();
|
|
171522
171552
|
this.next();
|
|
171523
171553
|
if (usingKind === "await using") {
|
|
171554
|
+
if (!this.canAwait) {
|
|
171555
|
+
this.raise(this.start, "Await using cannot appear outside of async function");
|
|
171556
|
+
}
|
|
171524
171557
|
this.next();
|
|
171525
171558
|
}
|
|
171526
171559
|
this.parseVar(init$2, true, usingKind);
|
|
@@ -171588,7 +171621,7 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
171588
171621
|
return this.finishNode(node, "IfStatement");
|
|
171589
171622
|
};
|
|
171590
171623
|
pp$8.parseReturnStatement = function(node) {
|
|
171591
|
-
if (!this.
|
|
171624
|
+
if (!this.allowReturn) {
|
|
171592
171625
|
this.raise(this.start, "'return' outside of function");
|
|
171593
171626
|
}
|
|
171594
171627
|
this.next();
|
|
@@ -171606,7 +171639,7 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
171606
171639
|
node.cases = [];
|
|
171607
171640
|
this.expect(types$1.braceL);
|
|
171608
171641
|
this.labels.push(switchLabel);
|
|
171609
|
-
this.enterScope(
|
|
171642
|
+
this.enterScope(SCOPE_SWITCH);
|
|
171610
171643
|
var cur;
|
|
171611
171644
|
for (var sawDefault = false;this.type !== types$1.braceR; ) {
|
|
171612
171645
|
if (this.type === types$1._case || this.type === types$1._default) {
|
|
@@ -173943,7 +173976,7 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
173943
173976
|
}
|
|
173944
173977
|
return newNode;
|
|
173945
173978
|
};
|
|
173946
|
-
var scriptValuesAddedInUnicode = "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";
|
|
173979
|
+
var scriptValuesAddedInUnicode = "Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz";
|
|
173947
173980
|
var ecma9BinaryProperties = "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";
|
|
173948
173981
|
var ecma10BinaryProperties = ecma9BinaryProperties + " Extended_Pictographic";
|
|
173949
173982
|
var ecma11BinaryProperties = ecma10BinaryProperties;
|
|
@@ -175163,14 +175196,17 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
175163
175196
|
}
|
|
175164
175197
|
return this.getTokenFromCode(code);
|
|
175165
175198
|
};
|
|
175166
|
-
pp.
|
|
175167
|
-
var code = this.input.charCodeAt(
|
|
175199
|
+
pp.fullCharCodeAt = function(pos) {
|
|
175200
|
+
var code = this.input.charCodeAt(pos);
|
|
175168
175201
|
if (code <= 55295 || code >= 56320) {
|
|
175169
175202
|
return code;
|
|
175170
175203
|
}
|
|
175171
|
-
var next = this.input.charCodeAt(
|
|
175204
|
+
var next = this.input.charCodeAt(pos + 1);
|
|
175172
175205
|
return next <= 56319 || next >= 57344 ? code : (code << 10) + next - 56613888;
|
|
175173
175206
|
};
|
|
175207
|
+
pp.fullCharCodeAtPos = function() {
|
|
175208
|
+
return this.fullCharCodeAt(this.pos);
|
|
175209
|
+
};
|
|
175174
175210
|
pp.skipBlockComment = function() {
|
|
175175
175211
|
var startLoc = this.options.onComment && this.curPosition();
|
|
175176
175212
|
var start = this.pos, end = this.input.indexOf("*/", this.pos += 2);
|
|
@@ -175900,7 +175936,7 @@ Defaulting to 2020, but this will stop working in the future.`);
|
|
|
175900
175936
|
}
|
|
175901
175937
|
return this.finishToken(type, word);
|
|
175902
175938
|
};
|
|
175903
|
-
var version = "8.
|
|
175939
|
+
var version = "8.16.0";
|
|
175904
175940
|
Parser.acorn = {
|
|
175905
175941
|
Parser,
|
|
175906
175942
|
version,
|
|
@@ -175967,7 +176003,7 @@ var require_walk = __commonJS((exports2, module2) => {
|
|
|
175967
176003
|
}
|
|
175968
176004
|
(function c(node2, st2, override2) {
|
|
175969
176005
|
var type = override2 || node2.type;
|
|
175970
|
-
baseVisitor
|
|
176006
|
+
visitNode(baseVisitor, type, node2, st2, c);
|
|
175971
176007
|
if (visitors[type]) {
|
|
175972
176008
|
visitors[type](node2, st2);
|
|
175973
176009
|
}
|
|
@@ -175984,7 +176020,7 @@ var require_walk = __commonJS((exports2, module2) => {
|
|
|
175984
176020
|
if (isNew) {
|
|
175985
176021
|
ancestors.push(node2);
|
|
175986
176022
|
}
|
|
175987
|
-
baseVisitor
|
|
176023
|
+
visitNode(baseVisitor, type, node2, st2, c);
|
|
175988
176024
|
if (visitors[type]) {
|
|
175989
176025
|
visitors[type](node2, st2 || ancestors, ancestors);
|
|
175990
176026
|
}
|
|
@@ -176023,7 +176059,7 @@ var require_walk = __commonJS((exports2, module2) => {
|
|
|
176023
176059
|
var last;
|
|
176024
176060
|
(function c(node2, st2, override2) {
|
|
176025
176061
|
var type = override2 || node2.type;
|
|
176026
|
-
baseVisitor
|
|
176062
|
+
visitNode(baseVisitor, type, node2, st2, c);
|
|
176027
176063
|
if (last !== node2) {
|
|
176028
176064
|
callback(node2, st2, type);
|
|
176029
176065
|
last = node2;
|
|
@@ -176041,7 +176077,7 @@ var require_walk = __commonJS((exports2, module2) => {
|
|
|
176041
176077
|
if (isNew) {
|
|
176042
176078
|
ancestors.push(node2);
|
|
176043
176079
|
}
|
|
176044
|
-
baseVisitor
|
|
176080
|
+
visitNode(baseVisitor, type, node2, st2, c);
|
|
176045
176081
|
if (last !== node2) {
|
|
176046
176082
|
callback(node2, st2 || ancestors, ancestors, type);
|
|
176047
176083
|
last = node2;
|
|
@@ -176060,7 +176096,7 @@ var require_walk = __commonJS((exports2, module2) => {
|
|
|
176060
176096
|
(function c(node2, st2, override) {
|
|
176061
176097
|
var type = override || node2.type;
|
|
176062
176098
|
if ((start == null || node2.start <= start) && (end == null || node2.end >= end)) {
|
|
176063
|
-
baseVisitor
|
|
176099
|
+
visitNode(baseVisitor, type, node2, st2, c);
|
|
176064
176100
|
}
|
|
176065
176101
|
if ((start == null || node2.start === start) && (end == null || node2.end === end) && test(type, node2)) {
|
|
176066
176102
|
throw new Found(node2, st2);
|
|
@@ -176084,7 +176120,7 @@ var require_walk = __commonJS((exports2, module2) => {
|
|
|
176084
176120
|
if (node2.start > pos || node2.end < pos) {
|
|
176085
176121
|
return;
|
|
176086
176122
|
}
|
|
176087
|
-
baseVisitor
|
|
176123
|
+
visitNode(baseVisitor, type, node2, st2, c);
|
|
176088
176124
|
if (test(type, node2)) {
|
|
176089
176125
|
throw new Found(node2, st2);
|
|
176090
176126
|
}
|
|
@@ -176110,7 +176146,7 @@ var require_walk = __commonJS((exports2, module2) => {
|
|
|
176110
176146
|
if (node2.start >= pos && test(type, node2)) {
|
|
176111
176147
|
throw new Found(node2, st2);
|
|
176112
176148
|
}
|
|
176113
|
-
baseVisitor
|
|
176149
|
+
visitNode(baseVisitor, type, node2, st2, c);
|
|
176114
176150
|
})(node, state);
|
|
176115
176151
|
} catch (e) {
|
|
176116
176152
|
if (e instanceof Found) {
|
|
@@ -176133,7 +176169,7 @@ var require_walk = __commonJS((exports2, module2) => {
|
|
|
176133
176169
|
if (node2.end <= pos && (!max || max.node.end < node2.end) && test(type, node2)) {
|
|
176134
176170
|
max = new Found(node2, st2);
|
|
176135
176171
|
}
|
|
176136
|
-
baseVisitor
|
|
176172
|
+
visitNode(baseVisitor, type, node2, st2, c);
|
|
176137
176173
|
})(node, state);
|
|
176138
176174
|
return max;
|
|
176139
176175
|
}
|
|
@@ -176148,6 +176184,12 @@ var require_walk = __commonJS((exports2, module2) => {
|
|
|
176148
176184
|
c(node, st2);
|
|
176149
176185
|
}
|
|
176150
176186
|
function ignore(_node, _st, _c) {}
|
|
176187
|
+
function visitNode(baseVisitor, type, node, st2, c) {
|
|
176188
|
+
if (baseVisitor[type] == null) {
|
|
176189
|
+
throw new Error("No walker function defined for node type " + type);
|
|
176190
|
+
}
|
|
176191
|
+
baseVisitor[type](node, st2, c);
|
|
176192
|
+
}
|
|
176151
176193
|
var base = {};
|
|
176152
176194
|
base.Program = base.BlockStatement = base.StaticBlock = function(node, st2, c) {
|
|
176153
176195
|
for (var i = 0, list = node.body;i < list.length; i += 1) {
|
|
@@ -176375,12 +176417,27 @@ var require_walk = __commonJS((exports2, module2) => {
|
|
|
176375
176417
|
if (node.source) {
|
|
176376
176418
|
c(node.source, st2, "Expression");
|
|
176377
176419
|
}
|
|
176420
|
+
if (node.attributes) {
|
|
176421
|
+
for (var i = 0, list = node.attributes;i < list.length; i += 1) {
|
|
176422
|
+
var attr = list[i];
|
|
176423
|
+
c(attr, st2);
|
|
176424
|
+
}
|
|
176425
|
+
}
|
|
176378
176426
|
};
|
|
176379
176427
|
base.ExportAllDeclaration = function(node, st2, c) {
|
|
176380
176428
|
if (node.exported) {
|
|
176381
176429
|
c(node.exported, st2);
|
|
176382
176430
|
}
|
|
176383
176431
|
c(node.source, st2, "Expression");
|
|
176432
|
+
if (node.attributes) {
|
|
176433
|
+
for (var i = 0, list = node.attributes;i < list.length; i += 1) {
|
|
176434
|
+
var attr = list[i];
|
|
176435
|
+
c(attr, st2);
|
|
176436
|
+
}
|
|
176437
|
+
}
|
|
176438
|
+
};
|
|
176439
|
+
base.ImportAttribute = function(node, st2, c) {
|
|
176440
|
+
c(node.value, st2, "Expression");
|
|
176384
176441
|
};
|
|
176385
176442
|
base.ImportDeclaration = function(node, st2, c) {
|
|
176386
176443
|
for (var i = 0, list = node.specifiers;i < list.length; i += 1) {
|
|
@@ -176388,9 +176445,18 @@ var require_walk = __commonJS((exports2, module2) => {
|
|
|
176388
176445
|
c(spec, st2);
|
|
176389
176446
|
}
|
|
176390
176447
|
c(node.source, st2, "Expression");
|
|
176448
|
+
if (node.attributes) {
|
|
176449
|
+
for (var i$1 = 0, list$1 = node.attributes;i$1 < list$1.length; i$1 += 1) {
|
|
176450
|
+
var attr = list$1[i$1];
|
|
176451
|
+
c(attr, st2);
|
|
176452
|
+
}
|
|
176453
|
+
}
|
|
176391
176454
|
};
|
|
176392
176455
|
base.ImportExpression = function(node, st2, c) {
|
|
176393
176456
|
c(node.source, st2, "Expression");
|
|
176457
|
+
if (node.options) {
|
|
176458
|
+
c(node.options, st2, "Expression");
|
|
176459
|
+
}
|
|
176394
176460
|
};
|
|
176395
176461
|
base.ImportSpecifier = base.ImportDefaultSpecifier = base.ImportNamespaceSpecifier = base.Identifier = base.PrivateIdentifier = base.Literal = ignore;
|
|
176396
176462
|
base.TaggedTemplateExpression = function(node, st2, c) {
|
|
@@ -185305,7 +185371,7 @@ var te = class extends Mt {
|
|
|
185305
185371
|
this.src.removeListener("error", this.proxyErrors), super.unpipe();
|
|
185306
185372
|
}
|
|
185307
185373
|
constructor(t, e, s) {
|
|
185308
|
-
super(t, e, s), this.proxyErrors = (i) =>
|
|
185374
|
+
super(t, e, s), this.proxyErrors = (i) => this.dest.emit("error", i), t.on("error", this.proxyErrors);
|
|
185309
185375
|
}
|
|
185310
185376
|
};
|
|
185311
185377
|
var di = (n2) => !!n2.objectMode;
|
|
@@ -185581,7 +185647,7 @@ var V = class extends import_node_events.EventEmitter {
|
|
|
185581
185647
|
});
|
|
185582
185648
|
}, throw: e, return: e, [Symbol.asyncIterator]() {
|
|
185583
185649
|
return this;
|
|
185584
|
-
} };
|
|
185650
|
+
}, [Symbol.asyncDispose]: async () => {} };
|
|
185585
185651
|
}
|
|
185586
185652
|
[Symbol.iterator]() {
|
|
185587
185653
|
this[M] = false;
|
|
@@ -185593,7 +185659,7 @@ var V = class extends import_node_events.EventEmitter {
|
|
|
185593
185659
|
};
|
|
185594
185660
|
return this.once("end", e), this.once(Xt, e), this.once(x, e), { next: s, throw: e, return: e, [Symbol.iterator]() {
|
|
185595
185661
|
return this;
|
|
185596
|
-
} };
|
|
185662
|
+
}, [Symbol.dispose]: () => {} };
|
|
185597
185663
|
}
|
|
185598
185664
|
destroy(t) {
|
|
185599
185665
|
if (this[x])
|
|
@@ -186455,10 +186521,11 @@ var St = class extends rt {
|
|
|
186455
186521
|
super(t, { ...e, nocase: s });
|
|
186456
186522
|
}
|
|
186457
186523
|
};
|
|
186458
|
-
var
|
|
186524
|
+
var Cr = process.platform === "win32" ? Pt : jt;
|
|
186459
186525
|
var Xe = process.platform === "win32" ? it : process.platform === "darwin" ? St : rt;
|
|
186460
186526
|
var Di = (n4) => n4.length >= 1;
|
|
186461
186527
|
var Mi = (n4) => n4.length >= 1;
|
|
186528
|
+
var Ni = Symbol.for("nodejs.util.inspect.custom");
|
|
186462
186529
|
var nt = class n4 {
|
|
186463
186530
|
#t;
|
|
186464
186531
|
#s;
|
|
@@ -186494,6 +186561,9 @@ var nt = class n4 {
|
|
|
186494
186561
|
}
|
|
186495
186562
|
}
|
|
186496
186563
|
}
|
|
186564
|
+
[Ni]() {
|
|
186565
|
+
return "Pattern <" + this.#s.slice(this.#n).join("/") + ">";
|
|
186566
|
+
}
|
|
186497
186567
|
pattern() {
|
|
186498
186568
|
return this.#t[this.#n];
|
|
186499
186569
|
}
|
|
@@ -186538,7 +186608,7 @@ var nt = class n4 {
|
|
|
186538
186608
|
return this.#n === 0 || !this.isGlobstar() || !this.#u ? false : (this.#u = false, true);
|
|
186539
186609
|
}
|
|
186540
186610
|
};
|
|
186541
|
-
var
|
|
186611
|
+
var _i = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux";
|
|
186542
186612
|
var ot = class {
|
|
186543
186613
|
relative;
|
|
186544
186614
|
relativeChildren;
|
|
@@ -186546,7 +186616,7 @@ var ot = class {
|
|
|
186546
186616
|
absoluteChildren;
|
|
186547
186617
|
platform;
|
|
186548
186618
|
mmopts;
|
|
186549
|
-
constructor(t, { nobrace: e, nocase: s, noext: i, noglobstar: r, platform: o =
|
|
186619
|
+
constructor(t, { nobrace: e, nocase: s, noext: i, noglobstar: r, platform: o = _i }) {
|
|
186550
186620
|
this.relative = [], this.absolute = [], this.relativeChildren = [], this.absoluteChildren = [], this.platform = o, this.mmopts = { dot: true, nobrace: e, nocase: s, noext: i, noglobstar: r, optimizationLevel: 2, platform: o, nocomment: true, nonegate: true };
|
|
186551
186621
|
for (let h of t)
|
|
186552
186622
|
this.add(h);
|
|
@@ -186720,7 +186790,7 @@ var Et = class n6 {
|
|
|
186720
186790
|
t.isNamed(e) && (s ? this.subwalks.add(t, s) : this.matches.add(t, i, false));
|
|
186721
186791
|
}
|
|
186722
186792
|
};
|
|
186723
|
-
var
|
|
186793
|
+
var Li = (n7, t) => typeof n7 == "string" ? new ot([n7], t) : Array.isArray(n7) ? new ot(n7, t) : n7;
|
|
186724
186794
|
var zt = class {
|
|
186725
186795
|
path;
|
|
186726
186796
|
patterns;
|
|
@@ -186735,7 +186805,7 @@ var zt = class {
|
|
|
186735
186805
|
maxDepth;
|
|
186736
186806
|
includeChildMatches;
|
|
186737
186807
|
constructor(t, e, s) {
|
|
186738
|
-
if (this.patterns = t, this.path = e, this.opts = s, this.#n = !s.posix && s.platform === "win32" ? "\\" : "/", this.includeChildMatches = s.includeChildMatches !== false, (s.ignore || !this.includeChildMatches) && (this.#s =
|
|
186808
|
+
if (this.patterns = t, this.path = e, this.opts = s, this.#n = !s.posix && s.platform === "win32" ? "\\" : "/", this.includeChildMatches = s.includeChildMatches !== false, (s.ignore || !this.includeChildMatches) && (this.#s = Li(s.ignore ?? [], s), !this.includeChildMatches && typeof this.#s.add != "function")) {
|
|
186739
186809
|
let i = "cannot ignore child matches, ignore lacks add() method.";
|
|
186740
186810
|
throw new Error(i);
|
|
186741
186811
|
}
|
|
@@ -186943,7 +187013,7 @@ var vt = class extends zt {
|
|
|
186943
187013
|
return this.path.isUnknown() && this.path.lstatSync(), this.walkCBSync(this.path, this.patterns, () => this.results.end()), this.results;
|
|
186944
187014
|
}
|
|
186945
187015
|
};
|
|
186946
|
-
var
|
|
187016
|
+
var Pi = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux";
|
|
186947
187017
|
var I = class {
|
|
186948
187018
|
absolute;
|
|
186949
187019
|
cwd;
|
|
@@ -186982,7 +187052,7 @@ var I = class {
|
|
|
186982
187052
|
throw new TypeError("base matching requires globstar");
|
|
186983
187053
|
t = t.map((a) => a.includes("/") ? a : `./**/${a}`);
|
|
186984
187054
|
}
|
|
186985
|
-
if (this.pattern = t, this.platform = e.platform ||
|
|
187055
|
+
if (this.pattern = t, this.platform = e.platform || Pi, this.opts = { ...e, platform: this.platform }, e.scurry) {
|
|
186986
187056
|
if (this.scurry = e.scurry, e.nocase !== undefined && e.nocase !== e.scurry.nocase)
|
|
186987
187057
|
throw new Error("nocase option contradicts provided scurry option");
|
|
186988
187058
|
} else {
|
|
@@ -186990,7 +187060,7 @@ var I = class {
|
|
|
186990
187060
|
this.scurry = new a(this.cwd, { nocase: e.nocase, fs: e.fs });
|
|
186991
187061
|
}
|
|
186992
187062
|
this.nocase = this.scurry.nocase;
|
|
186993
|
-
let s = this.platform === "darwin" || this.platform === "win32", i = { ...e, dot: this.dot, matchBase: this.matchBase, nobrace: this.nobrace, nocase: this.nocase, nocaseMagicOnly: s, nocomment: true, noext: this.noext, nonegate: true, optimizationLevel: 2, platform: this.platform, windowsPathsNoEscape: this.windowsPathsNoEscape, debug: !!this.opts.debug }, r = this.pattern.map((a) => new D(a, i)), [o, h] = r.reduce((a, l) => (a[0].push(...l.set), a[1].push(...l.globParts), a), [[], []]);
|
|
187063
|
+
let s = this.platform === "darwin" || this.platform === "win32", i = { braceExpandMax: 1e4, ...e, dot: this.dot, matchBase: this.matchBase, nobrace: this.nobrace, nocase: this.nocase, nocaseMagicOnly: s, nocomment: true, noext: this.noext, nonegate: true, optimizationLevel: 2, platform: this.platform, windowsPathsNoEscape: this.windowsPathsNoEscape, debug: !!this.opts.debug }, r = this.pattern.map((a) => new D(a, i)), [o, h] = r.reduce((a, l) => (a[0].push(...l.set), a[1].push(...l.globParts), a), [[], []]);
|
|
186994
187064
|
this.patterns = o.map((a, l) => {
|
|
186995
187065
|
let u = h[l];
|
|
186996
187066
|
if (!u)
|
|
@@ -187048,12 +187118,12 @@ function Ut(n7, t = {}) {
|
|
|
187048
187118
|
function es(n7, t = {}) {
|
|
187049
187119
|
return new I(n7, t).iterate();
|
|
187050
187120
|
}
|
|
187051
|
-
var
|
|
187052
|
-
var
|
|
187053
|
-
var
|
|
187054
|
-
var
|
|
187055
|
-
var
|
|
187056
|
-
var Ze = Object.assign(Je, { glob: Je, globSync: ts, sync:
|
|
187121
|
+
var ji = Bt;
|
|
187122
|
+
var Ii = Object.assign(Qe, { sync: Bt });
|
|
187123
|
+
var zi = Ut;
|
|
187124
|
+
var Bi = Object.assign(es, { sync: Ut });
|
|
187125
|
+
var Ui = Object.assign(ts, { stream: Bt, iterate: Ut });
|
|
187126
|
+
var Ze = Object.assign(Je, { glob: Je, globSync: ts, sync: Ui, globStream: Qe, stream: Ii, globStreamSync: Bt, streamSync: ji, globIterate: es, iterate: Bi, globIterateSync: Ut, iterateSync: zi, Glob: I, hasMagic: le, escape: tt, unescape: W });
|
|
187057
187127
|
Ze.glob = Ze;
|
|
187058
187128
|
|
|
187059
187129
|
// src/cli.ts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PieBaseRoot/index.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AA6D1C,QAAA,MAAM,WAAW,GAAI,OAAO,gBAAgB,4CAY3C,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/PieBaseRoot/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC1C,QAAQ,CAAC,EAAE,SAAS,CAAA;CACvB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PieRoot/index.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAqLtC,QAAA,MAAM,OAAO,GAAI,OAAO,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PieRoot/index.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAqLtC,QAAA,MAAM,OAAO,GAAI,OAAO,YAAY,4CAYnC,CAAA;AAED,eAAe,OAAO,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PieTelegramRoot/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAA;AAQjD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AA6L/C,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PieTelegramRoot/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAA;AAQjD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AA6L/C,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAY3C,CAAA;AAED,eAAe,eAAe,CAAA"}
|