@batijs/core 0.0.508 → 0.0.509
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/jiti-W5Y5D52V.js +0 -483
- package/dist/src-UAKFXUB2.js +0 -9
package/dist/jiti-W5Y5D52V.js
DELETED
|
@@ -1,483 +0,0 @@
|
|
|
1
|
-
import { createRequire as BATI_core_createRequire } from 'module';
|
|
2
|
-
import { fileURLToPath as BATI_fileURLToPath } from "node:url";
|
|
3
|
-
import { dirname as BATI_dirname } from "node:path";
|
|
4
|
-
const require = BATI_core_createRequire(import.meta.url);
|
|
5
|
-
|
|
6
|
-
const __filename = BATI_fileURLToPath(import.meta.url);
|
|
7
|
-
const __dirname = BATI_dirname(__filename);
|
|
8
|
-
|
|
9
|
-
import{a as qt,b as wr,c as Ji,e as qi}from"./chunk-C2T5VISX.js";var Zi=Ji((Fr,Qi)=>{"use strict";(()=>{var Qn={"./node_modules/.pnpm/mlly@1.7.4/node_modules/mlly/dist lazy recursive":ee=>{function e(E){return Promise.resolve().then(()=>{var r=new Error("Cannot find module '"+E+"'");throw r.code="MODULE_NOT_FOUND",r})}e.keys=()=>[],e.resolve=e,e.id="./node_modules/.pnpm/mlly@1.7.4/node_modules/mlly/dist lazy recursive",ee.exports=e}},Xn={};function $t(ee){var e=Xn[ee];if(e!==void 0)return e.exports;var E=Xn[ee]={exports:{}};return Qn[ee](E,E.exports,$t),E.exports}$t.n=ee=>{var e=ee&&ee.__esModule?()=>ee.default:()=>ee;return $t.d(e,{a:e}),e},$t.d=(ee,e)=>{for(var E in e)$t.o(e,E)&&!$t.o(ee,E)&&Object.defineProperty(ee,E,{enumerable:!0,get:e[E]})},$t.o=(ee,e)=>Object.prototype.hasOwnProperty.call(ee,e);var fi={};(()=>{"use strict";$t.d(fi,{default:()=>Xi});let ee=qt("os");var e=[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],E=[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],r="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",l={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",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},d="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",t={5:d,"5module":d+" export import",6:d+" const class extends export import super"},i=/^in(stanceof)?$/,c=new RegExp("["+r+"]"),v=new RegExp("["+r+"\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65]");function T(s,A){for(var I=65536,R=0;R<A.length;R+=2){if((I+=A[R])>s)return!1;if((I+=A[R+1])>=s)return!0}return!1}function g(s,A){return s<65?s===36:s<91||(s<97?s===95:s<123||(s<=65535?s>=170&&c.test(String.fromCharCode(s)):A!==!1&&T(s,E)))}function p(s,A){return s<48?s===36:s<58||!(s<65)&&(s<91||(s<97?s===95:s<123||(s<=65535?s>=170&&v.test(String.fromCharCode(s)):A!==!1&&(T(s,E)||T(s,e)))))}var h=function(s,A){A===void 0&&(A={}),this.label=s,this.keyword=A.keyword,this.beforeExpr=!!A.beforeExpr,this.startsExpr=!!A.startsExpr,this.isLoop=!!A.isLoop,this.isAssign=!!A.isAssign,this.prefix=!!A.prefix,this.postfix=!!A.postfix,this.binop=A.binop||null,this.updateContext=null};function u(s,A){return new h(s,{beforeExpr:!0,binop:A})}var f={beforeExpr:!0},y={startsExpr:!0},P={};function S(s,A){return A===void 0&&(A={}),A.keyword=s,P[s]=new h(s,A)}var b={num:new h("num",y),regexp:new h("regexp",y),string:new h("string",y),name:new h("name",y),privateId:new h("privateId",y),eof:new h("eof"),bracketL:new h("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new h("]"),braceL:new h("{",{beforeExpr:!0,startsExpr:!0}),braceR:new h("}"),parenL:new h("(",{beforeExpr:!0,startsExpr:!0}),parenR:new h(")"),comma:new h(",",f),semi:new h(";",f),colon:new h(":",f),dot:new h("."),question:new h("?",f),questionDot:new h("?."),arrow:new h("=>",f),template:new h("template"),invalidTemplate:new h("invalidTemplate"),ellipsis:new h("...",f),backQuote:new h("`",y),dollarBraceL:new h("${",{beforeExpr:!0,startsExpr:!0}),eq:new h("=",{beforeExpr:!0,isAssign:!0}),assign:new h("_=",{beforeExpr:!0,isAssign:!0}),incDec:new h("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new h("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:u("||",1),logicalAND:u("&&",2),bitwiseOR:u("|",3),bitwiseXOR:u("^",4),bitwiseAND:u("&",5),equality:u("==/!=/===/!==",6),relational:u("</>/<=/>=",7),bitShift:u("<</>>/>>>",8),plusMin:new h("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:u("%",10),star:u("*",10),slash:u("/",10),starstar:new h("**",{beforeExpr:!0}),coalesce:u("??",1),_break:S("break"),_case:S("case",f),_catch:S("catch"),_continue:S("continue"),_debugger:S("debugger"),_default:S("default",f),_do:S("do",{isLoop:!0,beforeExpr:!0}),_else:S("else",f),_finally:S("finally"),_for:S("for",{isLoop:!0}),_function:S("function",y),_if:S("if"),_return:S("return",f),_switch:S("switch"),_throw:S("throw",f),_try:S("try"),_var:S("var"),_const:S("const"),_while:S("while",{isLoop:!0}),_with:S("with"),_new:S("new",{beforeExpr:!0,startsExpr:!0}),_this:S("this",y),_super:S("super",y),_class:S("class",y),_extends:S("extends",f),_export:S("export"),_import:S("import",y),_null:S("null",y),_true:S("true",y),_false:S("false",y),_in:S("in",{beforeExpr:!0,binop:7}),_instanceof:S("instanceof",{beforeExpr:!0,binop:7}),_typeof:S("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:S("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:S("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},C=/\r\n?|\n|\u2028|\u2029/,N=new RegExp(C.source,"g");function F(s){return s===10||s===13||s===8232||s===8233}function K(s,A,I){I===void 0&&(I=s.length);for(var R=A;R<I;R++){var Z=s.charCodeAt(R);if(F(Z))return R<I-1&&Z===13&&s.charCodeAt(R+1)===10?R+2:R+1}return-1}var L=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,w=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,O=Object.prototype,z=O.hasOwnProperty,te=O.toString,$=Object.hasOwn||function(s,A){return z.call(s,A)},D=Array.isArray||function(s){return te.call(s)==="[object Array]"},W=Object.create(null);function q(s){return W[s]||(W[s]=new RegExp("^(?:"+s.replace(/ /g,"|")+")$"))}function re(s){return s<=65535?String.fromCharCode(s):(s-=65536,String.fromCharCode(55296+(s>>10),56320+(1023&s)))}var le=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ie=function(s,A){this.line=s,this.column=A};ie.prototype.offset=function(s){return new ie(this.line,this.column+s)};var M=function(s,A,I){this.start=A,this.end=I,s.sourceFile!==null&&(this.source=s.sourceFile)};function B(s,A){for(var I=1,R=0;;){var Z=K(s,R,A);if(Z<0)return new ie(I,A-R);++I,R=Z}}var G={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},U=!1;function Q(s){var A={};for(var I in G)A[I]=s&&$(s,I)?s[I]:G[I];if(A.ecmaVersion==="latest"?A.ecmaVersion=1e8:A.ecmaVersion==null?(!U&&typeof console=="object"&&console.warn&&(U=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
10
|
-
Defaulting to 2020, but this will stop working in the future.`)),A.ecmaVersion=11):A.ecmaVersion>=2015&&(A.ecmaVersion-=2009),A.allowReserved==null&&(A.allowReserved=A.ecmaVersion<5),s&&s.allowHashBang!=null||(A.allowHashBang=A.ecmaVersion>=14),D(A.onToken)){var R=A.onToken;A.onToken=function(Z){return R.push(Z)}}return D(A.onComment)&&(A.onComment=(function(Z,fe){return function(ge,Ce,Ke,tt,Je,mt){var dt={type:ge?"Block":"Line",value:Ce,start:Ke,end:tt};Z.locations&&(dt.loc=new M(this,Je,mt)),Z.ranges&&(dt.range=[Ke,tt]),fe.push(dt)}})(A,A.onComment)),A}function de(s,A){return 2|(s?4:0)|(A?8:0)}var se=function(s,A,I){this.options=s=Q(s),this.sourceFile=s.sourceFile,this.keywords=q(t[s.ecmaVersion>=6?6:s.sourceType==="module"?"5module":5]);var R="";s.allowReserved!==!0&&(R=l[s.ecmaVersion>=6?6:s.ecmaVersion===5?5:3],s.sourceType==="module"&&(R+=" await")),this.reservedWords=q(R);var Z=(R?R+" ":"")+l.strict;this.reservedWordsStrict=q(Z),this.reservedWordsStrictBind=q(Z+" "+l.strictBind),this.input=String(A),this.containsEsc=!1,I?(this.pos=I,this.lineStart=this.input.lastIndexOf(`
|
|
11
|
-
`,I-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(C).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=b.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=s.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=Object.create(null),this.pos===0&&s.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},ye={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}};se.prototype.parse=function(){var s=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(s)},ye.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},ye.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},ye.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},ye.canAwait.get=function(){for(var s=this.scopeStack.length-1;s>=0;s--){var A=this.scopeStack[s].flags;if(768&A)return!1;if(2&A)return(4&A)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},ye.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0||this.options.allowSuperOutsideMethod},ye.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},ye.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ye.allowNewDotTarget.get=function(){for(var s=this.scopeStack.length-1;s>=0;s--){var A=this.scopeStack[s].flags;if(768&A||2&A&&!(16&A))return!0}return!1},ye.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},se.extend=function(){for(var s=[],A=arguments.length;A--;)s[A]=arguments[A];for(var I=this,R=0;R<s.length;R++)I=s[R](I);return I},se.parse=function(s,A){return new this(A,s).parse()},se.parseExpressionAt=function(s,A,I){var R=new this(I,s,A);return R.nextToken(),R.parseExpression()},se.tokenizer=function(s,A){return new this(A,s)},Object.defineProperties(se.prototype,ye);var we=se.prototype,ve=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;we.strictDirective=function(s){if(this.options.ecmaVersion<5)return!1;for(;;){w.lastIndex=s,s+=w.exec(this.input)[0].length;var A=ve.exec(this.input.slice(s));if(!A)return!1;if((A[1]||A[2])==="use strict"){w.lastIndex=s+A[0].length;var I=w.exec(this.input),R=I.index+I[0].length,Z=this.input.charAt(R);return Z===";"||Z==="}"||C.test(I[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(Z)||Z==="!"&&this.input.charAt(R+1)==="=")}s+=A[0].length,w.lastIndex=s,s+=w.exec(this.input)[0].length,this.input[s]===";"&&s++}},we.eat=function(s){return this.type===s&&(this.next(),!0)},we.isContextual=function(s){return this.type===b.name&&this.value===s&&!this.containsEsc},we.eatContextual=function(s){return!!this.isContextual(s)&&(this.next(),!0)},we.expectContextual=function(s){this.eatContextual(s)||this.unexpected()},we.canInsertSemicolon=function(){return this.type===b.eof||this.type===b.braceR||C.test(this.input.slice(this.lastTokEnd,this.start))},we.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},we.semicolon=function(){this.eat(b.semi)||this.insertSemicolon()||this.unexpected()},we.afterTrailingComma=function(s,A){if(this.type===s)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),A||this.next(),!0},we.expect=function(s){this.eat(s)||this.unexpected()},we.unexpected=function(s){this.raise(s??this.start,"Unexpected token")};var ce=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};we.checkPatternErrors=function(s,A){if(s){s.trailingComma>-1&&this.raiseRecoverable(s.trailingComma,"Comma is not permitted after the rest element");var I=A?s.parenthesizedAssign:s.parenthesizedBind;I>-1&&this.raiseRecoverable(I,A?"Assigning to rvalue":"Parenthesized pattern")}},we.checkExpressionErrors=function(s,A){if(!s)return!1;var I=s.shorthandAssign,R=s.doubleProto;if(!A)return I>=0||R>=0;I>=0&&this.raise(I,"Shorthand property assignments are valid only in destructuring patterns"),R>=0&&this.raiseRecoverable(R,"Redefinition of __proto__ property")},we.checkYieldAwaitInDefaultParams=function(){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")},we.isSimpleAssignTarget=function(s){return s.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(s.expression):s.type==="Identifier"||s.type==="MemberExpression"};var H=se.prototype;H.parseTopLevel=function(s){var A=Object.create(null);for(s.body||(s.body=[]);this.type!==b.eof;){var I=this.parseStatement(null,!0,A);s.body.push(I)}if(this.inModule)for(var R=0,Z=Object.keys(this.undefinedExports);R<Z.length;R+=1){var fe=Z[R];this.raiseRecoverable(this.undefinedExports[fe].start,"Export '"+fe+"' is not defined")}return this.adaptDirectivePrologue(s.body),this.next(),s.sourceType=this.options.sourceType,this.finishNode(s,"Program")};var me={kind:"loop"},Se={kind:"switch"};H.isLet=function(s){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;w.lastIndex=this.pos;var A=w.exec(this.input),I=this.pos+A[0].length,R=this.input.charCodeAt(I);if(R===91||R===92)return!0;if(s)return!1;if(R===123||R>55295&&R<56320)return!0;if(g(R,!0)){for(var Z=I+1;p(R=this.input.charCodeAt(Z),!0);)++Z;if(R===92||R>55295&&R<56320)return!0;var fe=this.input.slice(I,Z);if(!i.test(fe))return!0}return!1},H.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;w.lastIndex=this.pos;var s,A=w.exec(this.input),I=this.pos+A[0].length;return!(C.test(this.input.slice(this.pos,I))||this.input.slice(I,I+8)!=="function"||I+8!==this.input.length&&(p(s=this.input.charCodeAt(I+8))||s>55295&&s<56320))},H.isUsingKeyword=function(s,A){if(this.options.ecmaVersion<17||!this.isContextual(s?"await":"using"))return!1;w.lastIndex=this.pos;var I=w.exec(this.input),R=this.pos+I[0].length;if(C.test(this.input.slice(this.pos,R)))return!1;if(s){var Z,fe=R+5;if(this.input.slice(R,fe)!=="using"||fe===this.input.length||p(Z=this.input.charCodeAt(fe))||Z>55295&&Z<56320)return!1;w.lastIndex=fe;var ge=w.exec(this.input);if(ge&&C.test(this.input.slice(fe,fe+ge[0].length)))return!1}if(A){var Ce,Ke=R+2;if(!(this.input.slice(R,Ke)!=="of"||Ke!==this.input.length&&(p(Ce=this.input.charCodeAt(Ke))||Ce>55295&&Ce<56320)))return!1}var tt=this.input.charCodeAt(R);return g(tt,!0)||tt===92},H.isAwaitUsing=function(s){return this.isUsingKeyword(!0,s)},H.isUsing=function(s){return this.isUsingKeyword(!1,s)},H.parseStatement=function(s,A,I){var R,Z=this.type,fe=this.startNode();switch(this.isLet(s)&&(Z=b._var,R="let"),Z){case b._break:case b._continue:return this.parseBreakContinueStatement(fe,Z.keyword);case b._debugger:return this.parseDebuggerStatement(fe);case b._do:return this.parseDoStatement(fe);case b._for:return this.parseForStatement(fe);case b._function:return s&&(this.strict||s!=="if"&&s!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(fe,!1,!s);case b._class:return s&&this.unexpected(),this.parseClass(fe,!0);case b._if:return this.parseIfStatement(fe);case b._return:return this.parseReturnStatement(fe);case b._switch:return this.parseSwitchStatement(fe);case b._throw:return this.parseThrowStatement(fe);case b._try:return this.parseTryStatement(fe);case b._const:case b._var:return R=R||this.value,s&&R!=="var"&&this.unexpected(),this.parseVarStatement(fe,R);case b._while:return this.parseWhileStatement(fe);case b._with:return this.parseWithStatement(fe);case b.braceL:return this.parseBlock(!0,fe);case b.semi:return this.parseEmptyStatement(fe);case b._export:case b._import:if(this.options.ecmaVersion>10&&Z===b._import){w.lastIndex=this.pos;var ge=w.exec(this.input),Ce=this.pos+ge[0].length,Ke=this.input.charCodeAt(Ce);if(Ke===40||Ke===46)return this.parseExpressionStatement(fe,this.parseExpression())}return this.options.allowImportExportEverywhere||(A||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),Z===b._import?this.parseImport(fe):this.parseExport(fe,I);default:if(this.isAsyncFunction())return s&&this.unexpected(),this.next(),this.parseFunctionStatement(fe,!0,!s);var tt=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(tt)return A&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),tt==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(fe,!1,tt),this.semicolon(),this.finishNode(fe,"VariableDeclaration");var Je=this.value,mt=this.parseExpression();return Z===b.name&&mt.type==="Identifier"&&this.eat(b.colon)?this.parseLabeledStatement(fe,Je,mt,s):this.parseExpressionStatement(fe,mt)}},H.parseBreakContinueStatement=function(s,A){var I=A==="break";this.next(),this.eat(b.semi)||this.insertSemicolon()?s.label=null:this.type!==b.name?this.unexpected():(s.label=this.parseIdent(),this.semicolon());for(var R=0;R<this.labels.length;++R){var Z=this.labels[R];if((s.label==null||Z.name===s.label.name)&&(Z.kind!=null&&(I||Z.kind==="loop")||s.label&&I))break}return R===this.labels.length&&this.raise(s.start,"Unsyntactic "+A),this.finishNode(s,I?"BreakStatement":"ContinueStatement")},H.parseDebuggerStatement=function(s){return this.next(),this.semicolon(),this.finishNode(s,"DebuggerStatement")},H.parseDoStatement=function(s){return this.next(),this.labels.push(me),s.body=this.parseStatement("do"),this.labels.pop(),this.expect(b._while),s.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(b.semi):this.semicolon(),this.finishNode(s,"DoWhileStatement")},H.parseForStatement=function(s){this.next();var A=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(me),this.enterScope(0),this.expect(b.parenL),this.type===b.semi)return A>-1&&this.unexpected(A),this.parseFor(s,null);var I=this.isLet();if(this.type===b._var||this.type===b._const||I){var R=this.startNode(),Z=I?"let":this.value;return this.next(),this.parseVar(R,!0,Z),this.finishNode(R,"VariableDeclaration"),this.parseForAfterInit(s,R,A)}var fe=this.isContextual("let"),ge=!1,Ce=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(Ce){var Ke=this.startNode();return this.next(),Ce==="await using"&&this.next(),this.parseVar(Ke,!0,Ce),this.finishNode(Ke,"VariableDeclaration"),this.parseForAfterInit(s,Ke,A)}var tt=this.containsEsc,Je=new ce,mt=this.start,dt=A>-1?this.parseExprSubscripts(Je,"await"):this.parseExpression(!0,Je);return this.type===b._in||(ge=this.options.ecmaVersion>=6&&this.isContextual("of"))?(A>-1?(this.type===b._in&&this.unexpected(A),s.await=!0):ge&&this.options.ecmaVersion>=8&&(dt.start!==mt||tt||dt.type!=="Identifier"||dt.name!=="async"?this.options.ecmaVersion>=9&&(s.await=!1):this.unexpected()),fe&&ge&&this.raise(dt.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(dt,!1,Je),this.checkLValPattern(dt),this.parseForIn(s,dt)):(this.checkExpressionErrors(Je,!0),A>-1&&this.unexpected(A),this.parseFor(s,dt))},H.parseForAfterInit=function(s,A,I){return(this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&A.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===b._in?I>-1&&this.unexpected(I):s.await=I>-1),this.parseForIn(s,A)):(I>-1&&this.unexpected(I),this.parseFor(s,A))},H.parseFunctionStatement=function(s,A,I){return this.next(),this.parseFunction(s,j|(I?0:Te),!1,A)},H.parseIfStatement=function(s){return this.next(),s.test=this.parseParenExpression(),s.consequent=this.parseStatement("if"),s.alternate=this.eat(b._else)?this.parseStatement("if"):null,this.finishNode(s,"IfStatement")},H.parseReturnStatement=function(s){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(b.semi)||this.insertSemicolon()?s.argument=null:(s.argument=this.parseExpression(),this.semicolon()),this.finishNode(s,"ReturnStatement")},H.parseSwitchStatement=function(s){var A;this.next(),s.discriminant=this.parseParenExpression(),s.cases=[],this.expect(b.braceL),this.labels.push(Se),this.enterScope(0);for(var I=!1;this.type!==b.braceR;)if(this.type===b._case||this.type===b._default){var R=this.type===b._case;A&&this.finishNode(A,"SwitchCase"),s.cases.push(A=this.startNode()),A.consequent=[],this.next(),R?A.test=this.parseExpression():(I&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),I=!0,A.test=null),this.expect(b.colon)}else A||this.unexpected(),A.consequent.push(this.parseStatement(null));return this.exitScope(),A&&this.finishNode(A,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(s,"SwitchStatement")},H.parseThrowStatement=function(s){return this.next(),C.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),s.argument=this.parseExpression(),this.semicolon(),this.finishNode(s,"ThrowStatement")};var pe=[];H.parseCatchClauseParam=function(){var s=this.parseBindingAtom(),A=s.type==="Identifier";return this.enterScope(A?32:0),this.checkLValPattern(s,A?4:2),this.expect(b.parenR),s},H.parseTryStatement=function(s){if(this.next(),s.block=this.parseBlock(),s.handler=null,this.type===b._catch){var A=this.startNode();this.next(),this.eat(b.parenL)?A.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),A.param=null,this.enterScope(0)),A.body=this.parseBlock(!1),this.exitScope(),s.handler=this.finishNode(A,"CatchClause")}return s.finalizer=this.eat(b._finally)?this.parseBlock():null,s.handler||s.finalizer||this.raise(s.start,"Missing catch or finally clause"),this.finishNode(s,"TryStatement")},H.parseVarStatement=function(s,A,I){return this.next(),this.parseVar(s,!1,A,I),this.semicolon(),this.finishNode(s,"VariableDeclaration")},H.parseWhileStatement=function(s){return this.next(),s.test=this.parseParenExpression(),this.labels.push(me),s.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(s,"WhileStatement")},H.parseWithStatement=function(s){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),s.object=this.parseParenExpression(),s.body=this.parseStatement("with"),this.finishNode(s,"WithStatement")},H.parseEmptyStatement=function(s){return this.next(),this.finishNode(s,"EmptyStatement")},H.parseLabeledStatement=function(s,A,I,R){for(var Z=0,fe=this.labels;Z<fe.length;Z+=1)fe[Z].name===A&&this.raise(I.start,"Label '"+A+"' is already declared");for(var ge=this.type.isLoop?"loop":this.type===b._switch?"switch":null,Ce=this.labels.length-1;Ce>=0;Ce--){var Ke=this.labels[Ce];if(Ke.statementStart!==s.start)break;Ke.statementStart=this.start,Ke.kind=ge}return this.labels.push({name:A,kind:ge,statementStart:this.start}),s.body=this.parseStatement(R?R.indexOf("label")===-1?R+"label":R:"label"),this.labels.pop(),s.label=I,this.finishNode(s,"LabeledStatement")},H.parseExpressionStatement=function(s,A){return s.expression=A,this.semicolon(),this.finishNode(s,"ExpressionStatement")},H.parseBlock=function(s,A,I){for(s===void 0&&(s=!0),A===void 0&&(A=this.startNode()),A.body=[],this.expect(b.braceL),s&&this.enterScope(0);this.type!==b.braceR;){var R=this.parseStatement(null);A.body.push(R)}return I&&(this.strict=!1),this.next(),s&&this.exitScope(),this.finishNode(A,"BlockStatement")},H.parseFor=function(s,A){return s.init=A,this.expect(b.semi),s.test=this.type===b.semi?null:this.parseExpression(),this.expect(b.semi),s.update=this.type===b.parenR?null:this.parseExpression(),this.expect(b.parenR),s.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(s,"ForStatement")},H.parseForIn=function(s,A){var I=this.type===b._in;return this.next(),A.type==="VariableDeclaration"&&A.declarations[0].init!=null&&(!I||this.options.ecmaVersion<8||this.strict||A.kind!=="var"||A.declarations[0].id.type!=="Identifier")&&this.raise(A.start,(I?"for-in":"for-of")+" loop variable declaration may not have an initializer"),s.left=A,s.right=I?this.parseExpression():this.parseMaybeAssign(),this.expect(b.parenR),s.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(s,I?"ForInStatement":"ForOfStatement")},H.parseVar=function(s,A,I,R){for(s.declarations=[],s.kind=I;;){var Z=this.startNode();if(this.parseVarId(Z,I),this.eat(b.eq)?Z.init=this.parseMaybeAssign(A):R||I!=="const"||this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual("of")?R||I!=="using"&&I!=="await using"||!(this.options.ecmaVersion>=17)||this.type===b._in||this.isContextual("of")?R||Z.id.type==="Identifier"||A&&(this.type===b._in||this.isContextual("of"))?Z.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.raise(this.lastTokEnd,"Missing initializer in "+I+" declaration"):this.unexpected(),s.declarations.push(this.finishNode(Z,"VariableDeclarator")),!this.eat(b.comma))break}return s},H.parseVarId=function(s,A){s.id=A==="using"||A==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(s.id,A==="var"?1:2,!1)};var j=1,Te=2;function De(s,A){var I=A.key.name,R=s[I],Z="true";return A.type!=="MethodDefinition"||A.kind!=="get"&&A.kind!=="set"||(Z=(A.static?"s":"i")+A.kind),R==="iget"&&Z==="iset"||R==="iset"&&Z==="iget"||R==="sget"&&Z==="sset"||R==="sset"&&Z==="sget"?(s[I]="true",!1):!!R||(s[I]=Z,!1)}function Fe(s,A){var I=s.computed,R=s.key;return!I&&(R.type==="Identifier"&&R.name===A||R.type==="Literal"&&R.value===A)}H.parseFunction=function(s,A,I,R,Z){this.initFunction(s),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!R)&&(this.type===b.star&&A&Te&&this.unexpected(),s.generator=this.eat(b.star)),this.options.ecmaVersion>=8&&(s.async=!!R),A&j&&(s.id=4&A&&this.type!==b.name?null:this.parseIdent(),!s.id||A&Te||this.checkLValSimple(s.id,this.strict||s.generator||s.async?this.treatFunctionsAsVar?1:2:3));var fe=this.yieldPos,ge=this.awaitPos,Ce=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(de(s.async,s.generator)),A&j||(s.id=this.type===b.name?this.parseIdent():null),this.parseFunctionParams(s),this.parseFunctionBody(s,I,!1,Z),this.yieldPos=fe,this.awaitPos=ge,this.awaitIdentPos=Ce,this.finishNode(s,A&j?"FunctionDeclaration":"FunctionExpression")},H.parseFunctionParams=function(s){this.expect(b.parenL),s.params=this.parseBindingList(b.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},H.parseClass=function(s,A){this.next();var I=this.strict;this.strict=!0,this.parseClassId(s,A),this.parseClassSuper(s);var R=this.enterClassBody(),Z=this.startNode(),fe=!1;for(Z.body=[],this.expect(b.braceL);this.type!==b.braceR;){var ge=this.parseClassElement(s.superClass!==null);ge&&(Z.body.push(ge),ge.type==="MethodDefinition"&&ge.kind==="constructor"?(fe&&this.raiseRecoverable(ge.start,"Duplicate constructor in the same class"),fe=!0):ge.key&&ge.key.type==="PrivateIdentifier"&&De(R,ge)&&this.raiseRecoverable(ge.key.start,"Identifier '#"+ge.key.name+"' has already been declared"))}return this.strict=I,this.next(),s.body=this.finishNode(Z,"ClassBody"),this.exitClassBody(),this.finishNode(s,A?"ClassDeclaration":"ClassExpression")},H.parseClassElement=function(s){if(this.eat(b.semi))return null;var A=this.options.ecmaVersion,I=this.startNode(),R="",Z=!1,fe=!1,ge="method",Ce=!1;if(this.eatContextual("static")){if(A>=13&&this.eat(b.braceL))return this.parseClassStaticBlock(I),I;this.isClassElementNameStart()||this.type===b.star?Ce=!0:R="static"}if(I.static=Ce,!R&&A>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==b.star||this.canInsertSemicolon()?R="async":fe=!0),!R&&(A>=9||!fe)&&this.eat(b.star)&&(Z=!0),!R&&!fe&&!Z){var Ke=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?ge=Ke:R=Ke)}if(R?(I.computed=!1,I.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),I.key.name=R,this.finishNode(I.key,"Identifier")):this.parseClassElementName(I),A<13||this.type===b.parenL||ge!=="method"||Z||fe){var tt=!I.static&&Fe(I,"constructor"),Je=tt&&s;tt&&ge!=="method"&&this.raise(I.key.start,"Constructor can't have get/set modifier"),I.kind=tt?"constructor":ge,this.parseClassMethod(I,Z,fe,Je)}else this.parseClassField(I);return I},H.isClassElementNameStart=function(){return this.type===b.name||this.type===b.privateId||this.type===b.num||this.type===b.string||this.type===b.bracketL||this.type.keyword},H.parseClassElementName=function(s){this.type===b.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),s.computed=!1,s.key=this.parsePrivateIdent()):this.parsePropertyName(s)},H.parseClassMethod=function(s,A,I,R){var Z=s.key;s.kind==="constructor"?(A&&this.raise(Z.start,"Constructor can't be a generator"),I&&this.raise(Z.start,"Constructor can't be an async method")):s.static&&Fe(s,"prototype")&&this.raise(Z.start,"Classes may not have a static property named prototype");var fe=s.value=this.parseMethod(A,I,R);return s.kind==="get"&&fe.params.length!==0&&this.raiseRecoverable(fe.start,"getter should have no params"),s.kind==="set"&&fe.params.length!==1&&this.raiseRecoverable(fe.start,"setter should have exactly one param"),s.kind==="set"&&fe.params[0].type==="RestElement"&&this.raiseRecoverable(fe.params[0].start,"Setter cannot use rest params"),this.finishNode(s,"MethodDefinition")},H.parseClassField=function(s){return Fe(s,"constructor")?this.raise(s.key.start,"Classes can't have a field named 'constructor'"):s.static&&Fe(s,"prototype")&&this.raise(s.key.start,"Classes can't have a static field named 'prototype'"),this.eat(b.eq)?(this.enterScope(576),s.value=this.parseMaybeAssign(),this.exitScope()):s.value=null,this.semicolon(),this.finishNode(s,"PropertyDefinition")},H.parseClassStaticBlock=function(s){s.body=[];var A=this.labels;for(this.labels=[],this.enterScope(320);this.type!==b.braceR;){var I=this.parseStatement(null);s.body.push(I)}return this.next(),this.exitScope(),this.labels=A,this.finishNode(s,"StaticBlock")},H.parseClassId=function(s,A){this.type===b.name?(s.id=this.parseIdent(),A&&this.checkLValSimple(s.id,2,!1)):(A===!0&&this.unexpected(),s.id=null)},H.parseClassSuper=function(s){s.superClass=this.eat(b._extends)?this.parseExprSubscripts(null,!1):null},H.enterClassBody=function(){var s={declared:Object.create(null),used:[]};return this.privateNameStack.push(s),s.declared},H.exitClassBody=function(){var s=this.privateNameStack.pop(),A=s.declared,I=s.used;if(this.options.checkPrivateFields)for(var R=this.privateNameStack.length,Z=R===0?null:this.privateNameStack[R-1],fe=0;fe<I.length;++fe){var ge=I[fe];$(A,ge.name)||(Z?Z.used.push(ge):this.raiseRecoverable(ge.start,"Private field '#"+ge.name+"' must be declared in an enclosing class"))}},H.parseExportAllDeclaration=function(s,A){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(s.exported=this.parseModuleExportName(),this.checkExport(A,s.exported,this.lastTokStart)):s.exported=null),this.expectContextual("from"),this.type!==b.string&&this.unexpected(),s.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(s.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(s,"ExportAllDeclaration")},H.parseExport=function(s,A){if(this.next(),this.eat(b.star))return this.parseExportAllDeclaration(s,A);if(this.eat(b._default))return this.checkExport(A,"default",this.lastTokStart),s.declaration=this.parseExportDefaultDeclaration(),this.finishNode(s,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())s.declaration=this.parseExportDeclaration(s),s.declaration.type==="VariableDeclaration"?this.checkVariableExport(A,s.declaration.declarations):this.checkExport(A,s.declaration.id,s.declaration.id.start),s.specifiers=[],s.source=null,this.options.ecmaVersion>=16&&(s.attributes=[]);else{if(s.declaration=null,s.specifiers=this.parseExportSpecifiers(A),this.eatContextual("from"))this.type!==b.string&&this.unexpected(),s.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(s.attributes=this.parseWithClause());else{for(var I=0,R=s.specifiers;I<R.length;I+=1){var Z=R[I];this.checkUnreserved(Z.local),this.checkLocalExport(Z.local),Z.local.type==="Literal"&&this.raise(Z.local.start,"A string literal cannot be used as an exported binding without `from`.")}s.source=null,this.options.ecmaVersion>=16&&(s.attributes=[])}this.semicolon()}return this.finishNode(s,"ExportNamedDeclaration")},H.parseExportDeclaration=function(s){return this.parseStatement(null)},H.parseExportDefaultDeclaration=function(){var s;if(this.type===b._function||(s=this.isAsyncFunction())){var A=this.startNode();return this.next(),s&&this.next(),this.parseFunction(A,4|j,!1,s)}if(this.type===b._class){var I=this.startNode();return this.parseClass(I,"nullableID")}var R=this.parseMaybeAssign();return this.semicolon(),R},H.checkExport=function(s,A,I){s&&(typeof A!="string"&&(A=A.type==="Identifier"?A.name:A.value),$(s,A)&&this.raiseRecoverable(I,"Duplicate export '"+A+"'"),s[A]=!0)},H.checkPatternExport=function(s,A){var I=A.type;if(I==="Identifier")this.checkExport(s,A,A.start);else if(I==="ObjectPattern")for(var R=0,Z=A.properties;R<Z.length;R+=1){var fe=Z[R];this.checkPatternExport(s,fe)}else if(I==="ArrayPattern")for(var ge=0,Ce=A.elements;ge<Ce.length;ge+=1){var Ke=Ce[ge];Ke&&this.checkPatternExport(s,Ke)}else I==="Property"?this.checkPatternExport(s,A.value):I==="AssignmentPattern"?this.checkPatternExport(s,A.left):I==="RestElement"&&this.checkPatternExport(s,A.argument)},H.checkVariableExport=function(s,A){if(s)for(var I=0,R=A;I<R.length;I+=1){var Z=R[I];this.checkPatternExport(s,Z.id)}},H.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},H.parseExportSpecifier=function(s){var A=this.startNode();return A.local=this.parseModuleExportName(),A.exported=this.eatContextual("as")?this.parseModuleExportName():A.local,this.checkExport(s,A.exported,A.exported.start),this.finishNode(A,"ExportSpecifier")},H.parseExportSpecifiers=function(s){var A=[],I=!0;for(this.expect(b.braceL);!this.eat(b.braceR);){if(I)I=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;A.push(this.parseExportSpecifier(s))}return A},H.parseImport=function(s){return this.next(),this.type===b.string?(s.specifiers=pe,s.source=this.parseExprAtom()):(s.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),s.source=this.type===b.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(s.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(s,"ImportDeclaration")},H.parseImportSpecifier=function(){var s=this.startNode();return s.imported=this.parseModuleExportName(),this.eatContextual("as")?s.local=this.parseIdent():(this.checkUnreserved(s.imported),s.local=s.imported),this.checkLValSimple(s.local,2),this.finishNode(s,"ImportSpecifier")},H.parseImportDefaultSpecifier=function(){var s=this.startNode();return s.local=this.parseIdent(),this.checkLValSimple(s.local,2),this.finishNode(s,"ImportDefaultSpecifier")},H.parseImportNamespaceSpecifier=function(){var s=this.startNode();return this.next(),this.expectContextual("as"),s.local=this.parseIdent(),this.checkLValSimple(s.local,2),this.finishNode(s,"ImportNamespaceSpecifier")},H.parseImportSpecifiers=function(){var s=[],A=!0;if(this.type===b.name&&(s.push(this.parseImportDefaultSpecifier()),!this.eat(b.comma)))return s;if(this.type===b.star)return s.push(this.parseImportNamespaceSpecifier()),s;for(this.expect(b.braceL);!this.eat(b.braceR);){if(A)A=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;s.push(this.parseImportSpecifier())}return s},H.parseWithClause=function(){var s=[];if(!this.eat(b._with))return s;this.expect(b.braceL);for(var A={},I=!0;!this.eat(b.braceR);){if(I)I=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;var R=this.parseImportAttribute(),Z=R.key.type==="Identifier"?R.key.name:R.key.value;$(A,Z)&&this.raiseRecoverable(R.key.start,"Duplicate attribute key '"+Z+"'"),A[Z]=!0,s.push(R)}return s},H.parseImportAttribute=function(){var s=this.startNode();return s.key=this.type===b.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(b.colon),this.type!==b.string&&this.unexpected(),s.value=this.parseExprAtom(),this.finishNode(s,"ImportAttribute")},H.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===b.string){var s=this.parseLiteral(this.value);return le.test(s.value)&&this.raise(s.start,"An export name cannot include a lone surrogate."),s}return this.parseIdent(!0)},H.adaptDirectivePrologue=function(s){for(var A=0;A<s.length&&this.isDirectiveCandidate(s[A]);++A)s[A].directive=s[A].expression.raw.slice(1,-1)},H.isDirectiveCandidate=function(s){return this.options.ecmaVersion>=5&&s.type==="ExpressionStatement"&&s.expression.type==="Literal"&&typeof s.expression.value=="string"&&(this.input[s.start]==='"'||this.input[s.start]==="'")};var Pe=se.prototype;Pe.toAssignable=function(s,A,I){if(this.options.ecmaVersion>=6&&s)switch(s.type){case"Identifier":this.inAsync&&s.name==="await"&&this.raise(s.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":s.type="ObjectPattern",I&&this.checkPatternErrors(I,!0);for(var R=0,Z=s.properties;R<Z.length;R+=1){var fe=Z[R];this.toAssignable(fe,A),fe.type!=="RestElement"||fe.argument.type!=="ArrayPattern"&&fe.argument.type!=="ObjectPattern"||this.raise(fe.argument.start,"Unexpected token")}break;case"Property":s.kind!=="init"&&this.raise(s.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(s.value,A);break;case"ArrayExpression":s.type="ArrayPattern",I&&this.checkPatternErrors(I,!0),this.toAssignableList(s.elements,A);break;case"SpreadElement":s.type="RestElement",this.toAssignable(s.argument,A),s.argument.type==="AssignmentPattern"&&this.raise(s.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":s.operator!=="="&&this.raise(s.left.end,"Only '=' operator can be used for specifying default value."),s.type="AssignmentPattern",delete s.operator,this.toAssignable(s.left,A);break;case"ParenthesizedExpression":this.toAssignable(s.expression,A,I);break;case"ChainExpression":this.raiseRecoverable(s.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!A)break;default:this.raise(s.start,"Assigning to rvalue")}else I&&this.checkPatternErrors(I,!0);return s},Pe.toAssignableList=function(s,A){for(var I=s.length,R=0;R<I;R++){var Z=s[R];Z&&this.toAssignable(Z,A)}if(I){var fe=s[I-1];this.options.ecmaVersion===6&&A&&fe&&fe.type==="RestElement"&&fe.argument.type!=="Identifier"&&this.unexpected(fe.argument.start)}return s},Pe.parseSpread=function(s){var A=this.startNode();return this.next(),A.argument=this.parseMaybeAssign(!1,s),this.finishNode(A,"SpreadElement")},Pe.parseRestBinding=function(){var s=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==b.name&&this.unexpected(),s.argument=this.parseBindingAtom(),this.finishNode(s,"RestElement")},Pe.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case b.bracketL:var s=this.startNode();return this.next(),s.elements=this.parseBindingList(b.bracketR,!0,!0),this.finishNode(s,"ArrayPattern");case b.braceL:return this.parseObj(!0)}return this.parseIdent()},Pe.parseBindingList=function(s,A,I,R){for(var Z=[],fe=!0;!this.eat(s);)if(fe?fe=!1:this.expect(b.comma),A&&this.type===b.comma)Z.push(null);else{if(I&&this.afterTrailingComma(s))break;if(this.type===b.ellipsis){var ge=this.parseRestBinding();this.parseBindingListItem(ge),Z.push(ge),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(s);break}Z.push(this.parseAssignableListItem(R))}return Z},Pe.parseAssignableListItem=function(s){var A=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(A),A},Pe.parseBindingListItem=function(s){return s},Pe.parseMaybeDefault=function(s,A,I){if(I=I||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(b.eq))return I;var R=this.startNodeAt(s,A);return R.left=I,R.right=this.parseMaybeAssign(),this.finishNode(R,"AssignmentPattern")},Pe.checkLValSimple=function(s,A,I){A===void 0&&(A=0);var R=A!==0;switch(s.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(s.name)&&this.raiseRecoverable(s.start,(R?"Binding ":"Assigning to ")+s.name+" in strict mode"),R&&(A===2&&s.name==="let"&&this.raiseRecoverable(s.start,"let is disallowed as a lexically bound name"),I&&($(I,s.name)&&this.raiseRecoverable(s.start,"Argument name clash"),I[s.name]=!0),A!==5&&this.declareName(s.name,A,s.start));break;case"ChainExpression":this.raiseRecoverable(s.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":R&&this.raiseRecoverable(s.start,"Binding member expression");break;case"ParenthesizedExpression":return R&&this.raiseRecoverable(s.start,"Binding parenthesized expression"),this.checkLValSimple(s.expression,A,I);default:this.raise(s.start,(R?"Binding":"Assigning to")+" rvalue")}},Pe.checkLValPattern=function(s,A,I){switch(A===void 0&&(A=0),s.type){case"ObjectPattern":for(var R=0,Z=s.properties;R<Z.length;R+=1){var fe=Z[R];this.checkLValInnerPattern(fe,A,I)}break;case"ArrayPattern":for(var ge=0,Ce=s.elements;ge<Ce.length;ge+=1){var Ke=Ce[ge];Ke&&this.checkLValInnerPattern(Ke,A,I)}break;default:this.checkLValSimple(s,A,I)}},Pe.checkLValInnerPattern=function(s,A,I){switch(A===void 0&&(A=0),s.type){case"Property":this.checkLValInnerPattern(s.value,A,I);break;case"AssignmentPattern":this.checkLValPattern(s.left,A,I);break;case"RestElement":this.checkLValPattern(s.argument,A,I);break;default:this.checkLValPattern(s,A,I)}};var ke=function(s,A,I,R,Z){this.token=s,this.isExpr=!!A,this.preserveSpace=!!I,this.override=R,this.generator=!!Z},Oe={b_stat:new ke("{",!1),b_expr:new ke("{",!0),b_tmpl:new ke("${",!1),p_stat:new ke("(",!1),p_expr:new ke("(",!0),q_tmpl:new ke("`",!0,!0,function(s){return s.tryReadTemplateToken()}),f_stat:new ke("function",!1),f_expr:new ke("function",!0),f_expr_gen:new ke("function",!0,!1,null,!0),f_gen:new ke("function",!1,!1,null,!0)},We=se.prototype;We.initialContext=function(){return[Oe.b_stat]},We.curContext=function(){return this.context[this.context.length-1]},We.braceIsBlock=function(s){var A=this.curContext();return A===Oe.f_expr||A===Oe.f_stat||(s!==b.colon||A!==Oe.b_stat&&A!==Oe.b_expr?s===b._return||s===b.name&&this.exprAllowed?C.test(this.input.slice(this.lastTokEnd,this.start)):s===b._else||s===b.semi||s===b.eof||s===b.parenR||s===b.arrow||(s===b.braceL?A===Oe.b_stat:s!==b._var&&s!==b._const&&s!==b.name&&!this.exprAllowed):!A.isExpr)},We.inGeneratorContext=function(){for(var s=this.context.length-1;s>=1;s--){var A=this.context[s];if(A.token==="function")return A.generator}return!1},We.updateContext=function(s){var A,I=this.type;I.keyword&&s===b.dot?this.exprAllowed=!1:(A=I.updateContext)?A.call(this,s):this.exprAllowed=I.beforeExpr},We.overrideContext=function(s){this.curContext()!==s&&(this.context[this.context.length-1]=s)},b.parenR.updateContext=b.braceR.updateContext=function(){if(this.context.length!==1){var s=this.context.pop();s===Oe.b_stat&&this.curContext().token==="function"&&(s=this.context.pop()),this.exprAllowed=!s.isExpr}else this.exprAllowed=!0},b.braceL.updateContext=function(s){this.context.push(this.braceIsBlock(s)?Oe.b_stat:Oe.b_expr),this.exprAllowed=!0},b.dollarBraceL.updateContext=function(){this.context.push(Oe.b_tmpl),this.exprAllowed=!0},b.parenL.updateContext=function(s){var A=s===b._if||s===b._for||s===b._with||s===b._while;this.context.push(A?Oe.p_stat:Oe.p_expr),this.exprAllowed=!0},b.incDec.updateContext=function(){},b._function.updateContext=b._class.updateContext=function(s){!s.beforeExpr||s===b._else||s===b.semi&&this.curContext()!==Oe.p_stat||s===b._return&&C.test(this.input.slice(this.lastTokEnd,this.start))||(s===b.colon||s===b.braceL)&&this.curContext()===Oe.b_stat?this.context.push(Oe.f_stat):this.context.push(Oe.f_expr),this.exprAllowed=!1},b.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},b.backQuote.updateContext=function(){this.curContext()===Oe.q_tmpl?this.context.pop():this.context.push(Oe.q_tmpl),this.exprAllowed=!1},b.star.updateContext=function(s){if(s===b._function){var A=this.context.length-1;this.context[A]===Oe.f_expr?this.context[A]=Oe.f_expr_gen:this.context[A]=Oe.f_gen}this.exprAllowed=!0},b.name.updateContext=function(s){var A=!1;this.options.ecmaVersion>=6&&s!==b.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(A=!0),this.exprAllowed=A};var Re=se.prototype;function at(s){return s.type==="Identifier"||s.type==="ParenthesizedExpression"&&at(s.expression)}function ut(s){return s.type==="MemberExpression"&&s.property.type==="PrivateIdentifier"||s.type==="ChainExpression"&&ut(s.expression)||s.type==="ParenthesizedExpression"&&ut(s.expression)}Re.checkPropClash=function(s,A,I){if(!(this.options.ecmaVersion>=9&&s.type==="SpreadElement"||this.options.ecmaVersion>=6&&(s.computed||s.method||s.shorthand))){var R,Z=s.key;switch(Z.type){case"Identifier":R=Z.name;break;case"Literal":R=String(Z.value);break;default:return}var fe=s.kind;if(this.options.ecmaVersion>=6)R==="__proto__"&&fe==="init"&&(A.proto&&(I?I.doubleProto<0&&(I.doubleProto=Z.start):this.raiseRecoverable(Z.start,"Redefinition of __proto__ property")),A.proto=!0);else{var ge=A[R="$"+R];ge?(fe==="init"?this.strict&&ge.init||ge.get||ge.set:ge.init||ge[fe])&&this.raiseRecoverable(Z.start,"Redefinition of property"):ge=A[R]={init:!1,get:!1,set:!1},ge[fe]=!0}}},Re.parseExpression=function(s,A){var I=this.start,R=this.startLoc,Z=this.parseMaybeAssign(s,A);if(this.type===b.comma){var fe=this.startNodeAt(I,R);for(fe.expressions=[Z];this.eat(b.comma);)fe.expressions.push(this.parseMaybeAssign(s,A));return this.finishNode(fe,"SequenceExpression")}return Z},Re.parseMaybeAssign=function(s,A,I){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(s);this.exprAllowed=!1}var R=!1,Z=-1,fe=-1,ge=-1;A?(Z=A.parenthesizedAssign,fe=A.trailingComma,ge=A.doubleProto,A.parenthesizedAssign=A.trailingComma=-1):(A=new ce,R=!0);var Ce=this.start,Ke=this.startLoc;this.type!==b.parenL&&this.type!==b.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=s==="await");var tt=this.parseMaybeConditional(s,A);if(I&&(tt=I.call(this,tt,Ce,Ke)),this.type.isAssign){var Je=this.startNodeAt(Ce,Ke);return Je.operator=this.value,this.type===b.eq&&(tt=this.toAssignable(tt,!1,A)),R||(A.parenthesizedAssign=A.trailingComma=A.doubleProto=-1),A.shorthandAssign>=tt.start&&(A.shorthandAssign=-1),this.type===b.eq?this.checkLValPattern(tt):this.checkLValSimple(tt),Je.left=tt,this.next(),Je.right=this.parseMaybeAssign(s),ge>-1&&(A.doubleProto=ge),this.finishNode(Je,"AssignmentExpression")}return R&&this.checkExpressionErrors(A,!0),Z>-1&&(A.parenthesizedAssign=Z),fe>-1&&(A.trailingComma=fe),tt},Re.parseMaybeConditional=function(s,A){var I=this.start,R=this.startLoc,Z=this.parseExprOps(s,A);if(this.checkExpressionErrors(A))return Z;if(this.eat(b.question)){var fe=this.startNodeAt(I,R);return fe.test=Z,fe.consequent=this.parseMaybeAssign(),this.expect(b.colon),fe.alternate=this.parseMaybeAssign(s),this.finishNode(fe,"ConditionalExpression")}return Z},Re.parseExprOps=function(s,A){var I=this.start,R=this.startLoc,Z=this.parseMaybeUnary(A,!1,!1,s);return this.checkExpressionErrors(A)||Z.start===I&&Z.type==="ArrowFunctionExpression"?Z:this.parseExprOp(Z,I,R,-1,s)},Re.parseExprOp=function(s,A,I,R,Z){var fe=this.type.binop;if(fe!=null&&(!Z||this.type!==b._in)&&fe>R){var ge=this.type===b.logicalOR||this.type===b.logicalAND,Ce=this.type===b.coalesce;Ce&&(fe=b.logicalAND.binop);var Ke=this.value;this.next();var tt=this.start,Je=this.startLoc,mt=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,Z),tt,Je,fe,Z),dt=this.buildBinary(A,I,s,mt,Ke,ge||Ce);return(ge&&this.type===b.coalesce||Ce&&(this.type===b.logicalOR||this.type===b.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(dt,A,I,R,Z)}return s},Re.buildBinary=function(s,A,I,R,Z,fe){R.type==="PrivateIdentifier"&&this.raise(R.start,"Private identifier can only be left side of binary expression");var ge=this.startNodeAt(s,A);return ge.left=I,ge.operator=Z,ge.right=R,this.finishNode(ge,fe?"LogicalExpression":"BinaryExpression")},Re.parseMaybeUnary=function(s,A,I,R){var Z,fe=this.start,ge=this.startLoc;if(this.isContextual("await")&&this.canAwait)Z=this.parseAwait(R),A=!0;else if(this.type.prefix){var Ce=this.startNode(),Ke=this.type===b.incDec;Ce.operator=this.value,Ce.prefix=!0,this.next(),Ce.argument=this.parseMaybeUnary(null,!0,Ke,R),this.checkExpressionErrors(s,!0),Ke?this.checkLValSimple(Ce.argument):this.strict&&Ce.operator==="delete"&&at(Ce.argument)?this.raiseRecoverable(Ce.start,"Deleting local variable in strict mode"):Ce.operator==="delete"&&ut(Ce.argument)?this.raiseRecoverable(Ce.start,"Private fields can not be deleted"):A=!0,Z=this.finishNode(Ce,Ke?"UpdateExpression":"UnaryExpression")}else if(A||this.type!==b.privateId){if(Z=this.parseExprSubscripts(s,R),this.checkExpressionErrors(s))return Z;for(;this.type.postfix&&!this.canInsertSemicolon();){var tt=this.startNodeAt(fe,ge);tt.operator=this.value,tt.prefix=!1,tt.argument=Z,this.checkLValSimple(Z),this.next(),Z=this.finishNode(tt,"UpdateExpression")}}else(R||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),Z=this.parsePrivateIdent(),this.type!==b._in&&this.unexpected();return I||!this.eat(b.starstar)?Z:A?void this.unexpected(this.lastTokStart):this.buildBinary(fe,ge,Z,this.parseMaybeUnary(null,!1,!1,R),"**",!1)},Re.parseExprSubscripts=function(s,A){var I=this.start,R=this.startLoc,Z=this.parseExprAtom(s,A);if(Z.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return Z;var fe=this.parseSubscripts(Z,I,R,!1,A);return s&&fe.type==="MemberExpression"&&(s.parenthesizedAssign>=fe.start&&(s.parenthesizedAssign=-1),s.parenthesizedBind>=fe.start&&(s.parenthesizedBind=-1),s.trailingComma>=fe.start&&(s.trailingComma=-1)),fe},Re.parseSubscripts=function(s,A,I,R,Z){for(var fe=this.options.ecmaVersion>=8&&s.type==="Identifier"&&s.name==="async"&&this.lastTokEnd===s.end&&!this.canInsertSemicolon()&&s.end-s.start===5&&this.potentialArrowAt===s.start,ge=!1;;){var Ce=this.parseSubscript(s,A,I,R,fe,ge,Z);if(Ce.optional&&(ge=!0),Ce===s||Ce.type==="ArrowFunctionExpression"){if(ge){var Ke=this.startNodeAt(A,I);Ke.expression=Ce,Ce=this.finishNode(Ke,"ChainExpression")}return Ce}s=Ce}},Re.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(b.arrow)},Re.parseSubscriptAsyncArrow=function(s,A,I,R){return this.parseArrowExpression(this.startNodeAt(s,A),I,!0,R)},Re.parseSubscript=function(s,A,I,R,Z,fe,ge){var Ce=this.options.ecmaVersion>=11,Ke=Ce&&this.eat(b.questionDot);R&&Ke&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var tt=this.eat(b.bracketL);if(tt||Ke&&this.type!==b.parenL&&this.type!==b.backQuote||this.eat(b.dot)){var Je=this.startNodeAt(A,I);Je.object=s,tt?(Je.property=this.parseExpression(),this.expect(b.bracketR)):this.type===b.privateId&&s.type!=="Super"?Je.property=this.parsePrivateIdent():Je.property=this.parseIdent(this.options.allowReserved!=="never"),Je.computed=!!tt,Ce&&(Je.optional=Ke),s=this.finishNode(Je,"MemberExpression")}else if(!R&&this.eat(b.parenL)){var mt=new ce,dt=this.yieldPos,Rt=this.awaitPos,cn=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Mt=this.parseExprList(b.parenR,this.options.ecmaVersion>=8,!1,mt);if(Z&&!Ke&&this.shouldParseAsyncArrow())return this.checkPatternErrors(mt,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=dt,this.awaitPos=Rt,this.awaitIdentPos=cn,this.parseSubscriptAsyncArrow(A,I,Mt,ge);this.checkExpressionErrors(mt,!0),this.yieldPos=dt||this.yieldPos,this.awaitPos=Rt||this.awaitPos,this.awaitIdentPos=cn||this.awaitIdentPos;var rn=this.startNodeAt(A,I);rn.callee=s,rn.arguments=Mt,Ce&&(rn.optional=Ke),s=this.finishNode(rn,"CallExpression")}else if(this.type===b.backQuote){(Ke||fe)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var en=this.startNodeAt(A,I);en.tag=s,en.quasi=this.parseTemplate({isTagged:!0}),s=this.finishNode(en,"TaggedTemplateExpression")}return s},Re.parseExprAtom=function(s,A,I){this.type===b.slash&&this.readRegexp();var R,Z=this.potentialArrowAt===this.start;switch(this.type){case b._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),R=this.startNode(),this.next(),this.type!==b.parenL||this.allowDirectSuper||this.raise(R.start,"super() call outside constructor of a subclass"),this.type!==b.dot&&this.type!==b.bracketL&&this.type!==b.parenL&&this.unexpected(),this.finishNode(R,"Super");case b._this:return R=this.startNode(),this.next(),this.finishNode(R,"ThisExpression");case b.name:var fe=this.start,ge=this.startLoc,Ce=this.containsEsc,Ke=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!Ce&&Ke.name==="async"&&!this.canInsertSemicolon()&&this.eat(b._function))return this.overrideContext(Oe.f_expr),this.parseFunction(this.startNodeAt(fe,ge),0,!1,!0,A);if(Z&&!this.canInsertSemicolon()){if(this.eat(b.arrow))return this.parseArrowExpression(this.startNodeAt(fe,ge),[Ke],!1,A);if(this.options.ecmaVersion>=8&&Ke.name==="async"&&this.type===b.name&&!Ce&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Ke=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(b.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(fe,ge),[Ke],!0,A)}return Ke;case b.regexp:var tt=this.value;return(R=this.parseLiteral(tt.value)).regex={pattern:tt.pattern,flags:tt.flags},R;case b.num:case b.string:return this.parseLiteral(this.value);case b._null:case b._true:case b._false:return(R=this.startNode()).value=this.type===b._null?null:this.type===b._true,R.raw=this.type.keyword,this.next(),this.finishNode(R,"Literal");case b.parenL:var Je=this.start,mt=this.parseParenAndDistinguishExpression(Z,A);return s&&(s.parenthesizedAssign<0&&!this.isSimpleAssignTarget(mt)&&(s.parenthesizedAssign=Je),s.parenthesizedBind<0&&(s.parenthesizedBind=Je)),mt;case b.bracketL:return R=this.startNode(),this.next(),R.elements=this.parseExprList(b.bracketR,!0,!0,s),this.finishNode(R,"ArrayExpression");case b.braceL:return this.overrideContext(Oe.b_expr),this.parseObj(!1,s);case b._function:return R=this.startNode(),this.next(),this.parseFunction(R,0);case b._class:return this.parseClass(this.startNode(),!1);case b._new:return this.parseNew();case b.backQuote:return this.parseTemplate();case b._import:return this.options.ecmaVersion>=11?this.parseExprImport(I):this.unexpected();default:return this.parseExprAtomDefault()}},Re.parseExprAtomDefault=function(){this.unexpected()},Re.parseExprImport=function(s){var A=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===b.parenL&&!s)return this.parseDynamicImport(A);if(this.type===b.dot){var I=this.startNodeAt(A.start,A.loc&&A.loc.start);return I.name="import",A.meta=this.finishNode(I,"Identifier"),this.parseImportMeta(A)}this.unexpected()},Re.parseDynamicImport=function(s){if(this.next(),s.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(b.parenR)?s.options=null:(this.expect(b.comma),this.afterTrailingComma(b.parenR)?s.options=null:(s.options=this.parseMaybeAssign(),this.eat(b.parenR)||(this.expect(b.comma),this.afterTrailingComma(b.parenR)||this.unexpected())));else if(!this.eat(b.parenR)){var A=this.start;this.eat(b.comma)&&this.eat(b.parenR)?this.raiseRecoverable(A,"Trailing comma is not allowed in import()"):this.unexpected(A)}return this.finishNode(s,"ImportExpression")},Re.parseImportMeta=function(s){this.next();var A=this.containsEsc;return s.property=this.parseIdent(!0),s.property.name!=="meta"&&this.raiseRecoverable(s.property.start,"The only valid meta property for import is 'import.meta'"),A&&this.raiseRecoverable(s.start,"'import.meta' must not contain escaped characters"),this.options.sourceType==="module"||this.options.allowImportExportEverywhere||this.raiseRecoverable(s.start,"Cannot use 'import.meta' outside a module"),this.finishNode(s,"MetaProperty")},Re.parseLiteral=function(s){var A=this.startNode();return A.value=s,A.raw=this.input.slice(this.start,this.end),A.raw.charCodeAt(A.raw.length-1)===110&&(A.bigint=A.value!=null?A.value.toString():A.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(A,"Literal")},Re.parseParenExpression=function(){this.expect(b.parenL);var s=this.parseExpression();return this.expect(b.parenR),s},Re.shouldParseArrow=function(s){return!this.canInsertSemicolon()},Re.parseParenAndDistinguishExpression=function(s,A){var I,R=this.start,Z=this.startLoc,fe=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var ge,Ce=this.start,Ke=this.startLoc,tt=[],Je=!0,mt=!1,dt=new ce,Rt=this.yieldPos,cn=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==b.parenR;){if(Je?Je=!1:this.expect(b.comma),fe&&this.afterTrailingComma(b.parenR,!0)){mt=!0;break}if(this.type===b.ellipsis){ge=this.start,tt.push(this.parseParenItem(this.parseRestBinding())),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}tt.push(this.parseMaybeAssign(!1,dt,this.parseParenItem))}var Mt=this.lastTokEnd,rn=this.lastTokEndLoc;if(this.expect(b.parenR),s&&this.shouldParseArrow(tt)&&this.eat(b.arrow))return this.checkPatternErrors(dt,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Rt,this.awaitPos=cn,this.parseParenArrowList(R,Z,tt,A);tt.length&&!mt||this.unexpected(this.lastTokStart),ge&&this.unexpected(ge),this.checkExpressionErrors(dt,!0),this.yieldPos=Rt||this.yieldPos,this.awaitPos=cn||this.awaitPos,tt.length>1?((I=this.startNodeAt(Ce,Ke)).expressions=tt,this.finishNodeAt(I,"SequenceExpression",Mt,rn)):I=tt[0]}else I=this.parseParenExpression();if(this.options.preserveParens){var en=this.startNodeAt(R,Z);return en.expression=I,this.finishNode(en,"ParenthesizedExpression")}return I},Re.parseParenItem=function(s){return s},Re.parseParenArrowList=function(s,A,I,R){return this.parseArrowExpression(this.startNodeAt(s,A),I,!1,R)};var pt=[];Re.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var s=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===b.dot){var A=this.startNodeAt(s.start,s.loc&&s.loc.start);A.name="new",s.meta=this.finishNode(A,"Identifier"),this.next();var I=this.containsEsc;return s.property=this.parseIdent(!0),s.property.name!=="target"&&this.raiseRecoverable(s.property.start,"The only valid meta property for new is 'new.target'"),I&&this.raiseRecoverable(s.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(s.start,"'new.target' can only be used in functions and class static block"),this.finishNode(s,"MetaProperty")}var R=this.start,Z=this.startLoc;return s.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),R,Z,!0,!1),this.eat(b.parenL)?s.arguments=this.parseExprList(b.parenR,this.options.ecmaVersion>=8,!1):s.arguments=pt,this.finishNode(s,"NewExpression")},Re.parseTemplateElement=function(s){var A=s.isTagged,I=this.startNode();return this.type===b.invalidTemplate?(A||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),I.value={raw:this.value.replace(/\r\n?/g,`
|
|
12
|
-
`),cooked:null}):I.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
13
|
-
`),cooked:this.value},this.next(),I.tail=this.type===b.backQuote,this.finishNode(I,"TemplateElement")},Re.parseTemplate=function(s){s===void 0&&(s={});var A=s.isTagged;A===void 0&&(A=!1);var I=this.startNode();this.next(),I.expressions=[];var R=this.parseTemplateElement({isTagged:A});for(I.quasis=[R];!R.tail;)this.type===b.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(b.dollarBraceL),I.expressions.push(this.parseExpression()),this.expect(b.braceR),I.quasis.push(R=this.parseTemplateElement({isTagged:A}));return this.next(),this.finishNode(I,"TemplateLiteral")},Re.isAsyncProp=function(s){return!s.computed&&s.key.type==="Identifier"&&s.key.name==="async"&&(this.type===b.name||this.type===b.num||this.type===b.string||this.type===b.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===b.star)&&!C.test(this.input.slice(this.lastTokEnd,this.start))},Re.parseObj=function(s,A){var I=this.startNode(),R=!0,Z={};for(I.properties=[],this.next();!this.eat(b.braceR);){if(R)R=!1;else if(this.expect(b.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(b.braceR))break;var fe=this.parseProperty(s,A);s||this.checkPropClash(fe,Z,A),I.properties.push(fe)}return this.finishNode(I,s?"ObjectPattern":"ObjectExpression")},Re.parseProperty=function(s,A){var I,R,Z,fe,ge=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(b.ellipsis))return s?(ge.argument=this.parseIdent(!1),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(ge,"RestElement")):(ge.argument=this.parseMaybeAssign(!1,A),this.type===b.comma&&A&&A.trailingComma<0&&(A.trailingComma=this.start),this.finishNode(ge,"SpreadElement"));this.options.ecmaVersion>=6&&(ge.method=!1,ge.shorthand=!1,(s||A)&&(Z=this.start,fe=this.startLoc),s||(I=this.eat(b.star)));var Ce=this.containsEsc;return this.parsePropertyName(ge),!s&&!Ce&&this.options.ecmaVersion>=8&&!I&&this.isAsyncProp(ge)?(R=!0,I=this.options.ecmaVersion>=9&&this.eat(b.star),this.parsePropertyName(ge)):R=!1,this.parsePropertyValue(ge,s,I,R,Z,fe,A,Ce),this.finishNode(ge,"Property")},Re.parseGetterSetter=function(s){var A=s.key.name;this.parsePropertyName(s),s.value=this.parseMethod(!1),s.kind=A;var I=s.kind==="get"?0:1;if(s.value.params.length!==I){var R=s.value.start;s.kind==="get"?this.raiseRecoverable(R,"getter should have no params"):this.raiseRecoverable(R,"setter should have exactly one param")}else s.kind==="set"&&s.value.params[0].type==="RestElement"&&this.raiseRecoverable(s.value.params[0].start,"Setter cannot use rest params")},Re.parsePropertyValue=function(s,A,I,R,Z,fe,ge,Ce){(I||R)&&this.type===b.colon&&this.unexpected(),this.eat(b.colon)?(s.value=A?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,ge),s.kind="init"):this.options.ecmaVersion>=6&&this.type===b.parenL?(A&&this.unexpected(),s.method=!0,s.value=this.parseMethod(I,R),s.kind="init"):A||Ce||!(this.options.ecmaVersion>=5)||s.computed||s.key.type!=="Identifier"||s.key.name!=="get"&&s.key.name!=="set"||this.type===b.comma||this.type===b.braceR||this.type===b.eq?this.options.ecmaVersion>=6&&!s.computed&&s.key.type==="Identifier"?((I||R)&&this.unexpected(),this.checkUnreserved(s.key),s.key.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=Z),A?s.value=this.parseMaybeDefault(Z,fe,this.copyNode(s.key)):this.type===b.eq&&ge?(ge.shorthandAssign<0&&(ge.shorthandAssign=this.start),s.value=this.parseMaybeDefault(Z,fe,this.copyNode(s.key))):s.value=this.copyNode(s.key),s.kind="init",s.shorthand=!0):this.unexpected():((I||R)&&this.unexpected(),this.parseGetterSetter(s))},Re.parsePropertyName=function(s){if(this.options.ecmaVersion>=6){if(this.eat(b.bracketL))return s.computed=!0,s.key=this.parseMaybeAssign(),this.expect(b.bracketR),s.key;s.computed=!1}return s.key=this.type===b.num||this.type===b.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Re.initFunction=function(s){s.id=null,this.options.ecmaVersion>=6&&(s.generator=s.expression=!1),this.options.ecmaVersion>=8&&(s.async=!1)},Re.parseMethod=function(s,A,I){var R=this.startNode(),Z=this.yieldPos,fe=this.awaitPos,ge=this.awaitIdentPos;return this.initFunction(R),this.options.ecmaVersion>=6&&(R.generator=s),this.options.ecmaVersion>=8&&(R.async=!!A),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|de(A,R.generator)|(I?128:0)),this.expect(b.parenL),R.params=this.parseBindingList(b.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(R,!1,!0,!1),this.yieldPos=Z,this.awaitPos=fe,this.awaitIdentPos=ge,this.finishNode(R,"FunctionExpression")},Re.parseArrowExpression=function(s,A,I,R){var Z=this.yieldPos,fe=this.awaitPos,ge=this.awaitIdentPos;return this.enterScope(16|de(I,!1)),this.initFunction(s),this.options.ecmaVersion>=8&&(s.async=!!I),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,s.params=this.toAssignableList(A,!0),this.parseFunctionBody(s,!0,!1,R),this.yieldPos=Z,this.awaitPos=fe,this.awaitIdentPos=ge,this.finishNode(s,"ArrowFunctionExpression")},Re.parseFunctionBody=function(s,A,I,R){var Z=A&&this.type!==b.braceL,fe=this.strict,ge=!1;if(Z)s.body=this.parseMaybeAssign(R),s.expression=!0,this.checkParams(s,!1);else{var Ce=this.options.ecmaVersion>=7&&!this.isSimpleParamList(s.params);fe&&!Ce||(ge=this.strictDirective(this.end))&&Ce&&this.raiseRecoverable(s.start,"Illegal 'use strict' directive in function with non-simple parameter list");var Ke=this.labels;this.labels=[],ge&&(this.strict=!0),this.checkParams(s,!fe&&!ge&&!A&&!I&&this.isSimpleParamList(s.params)),this.strict&&s.id&&this.checkLValSimple(s.id,5),s.body=this.parseBlock(!1,void 0,ge&&!fe),s.expression=!1,this.adaptDirectivePrologue(s.body.body),this.labels=Ke}this.exitScope()},Re.isSimpleParamList=function(s){for(var A=0,I=s;A<I.length;A+=1)if(I[A].type!=="Identifier")return!1;return!0},Re.checkParams=function(s,A){for(var I=Object.create(null),R=0,Z=s.params;R<Z.length;R+=1){var fe=Z[R];this.checkLValInnerPattern(fe,1,A?null:I)}},Re.parseExprList=function(s,A,I,R){for(var Z=[],fe=!0;!this.eat(s);){if(fe)fe=!1;else if(this.expect(b.comma),A&&this.afterTrailingComma(s))break;var ge=void 0;I&&this.type===b.comma?ge=null:this.type===b.ellipsis?(ge=this.parseSpread(R),R&&this.type===b.comma&&R.trailingComma<0&&(R.trailingComma=this.start)):ge=this.parseMaybeAssign(!1,R),Z.push(ge)}return Z},Re.checkUnreserved=function(s){var A=s.start,I=s.end,R=s.name;this.inGenerator&&R==="yield"&&this.raiseRecoverable(A,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&R==="await"&&this.raiseRecoverable(A,"Cannot use 'await' as identifier inside an async function"),259&this.currentThisScope().flags||R!=="arguments"||this.raiseRecoverable(A,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||R!=="arguments"&&R!=="await"||this.raise(A,"Cannot use "+R+" in class static initialization block"),this.keywords.test(R)&&this.raise(A,"Unexpected keyword '"+R+"'"),this.options.ecmaVersion<6&&this.input.slice(A,I).indexOf("\\")!==-1||(this.strict?this.reservedWordsStrict:this.reservedWords).test(R)&&(this.inAsync||R!=="await"||this.raiseRecoverable(A,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(A,"The keyword '"+R+"' is reserved"))},Re.parseIdent=function(s){var A=this.parseIdentNode();return this.next(!!s),this.finishNode(A,"Identifier"),s||(this.checkUnreserved(A),A.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=A.start)),A},Re.parseIdentNode=function(){var s=this.startNode();return this.type===b.name?s.name=this.value:this.type.keyword?(s.name=this.type.keyword,s.name!=="class"&&s.name!=="function"||this.lastTokEnd===this.lastTokStart+1&&this.input.charCodeAt(this.lastTokStart)===46||this.context.pop(),this.type=b.name):this.unexpected(),s},Re.parsePrivateIdent=function(){var s=this.startNode();return this.type===b.privateId?s.name=this.value:this.unexpected(),this.next(),this.finishNode(s,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(s.start,"Private field '#"+s.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(s)),s},Re.parseYield=function(s){this.yieldPos||(this.yieldPos=this.start);var A=this.startNode();return this.next(),this.type===b.semi||this.canInsertSemicolon()||this.type!==b.star&&!this.type.startsExpr?(A.delegate=!1,A.argument=null):(A.delegate=this.eat(b.star),A.argument=this.parseMaybeAssign(s)),this.finishNode(A,"YieldExpression")},Re.parseAwait=function(s){this.awaitPos||(this.awaitPos=this.start);var A=this.startNode();return this.next(),A.argument=this.parseMaybeUnary(null,!0,!1,s),this.finishNode(A,"AwaitExpression")};var qe=se.prototype;qe.raise=function(s,A){var I=B(this.input,s);A+=" ("+I.line+":"+I.column+")",this.sourceFile&&(A+=" in "+this.sourceFile);var R=new SyntaxError(A);throw R.pos=s,R.loc=I,R.raisedAt=this.pos,R},qe.raiseRecoverable=qe.raise,qe.curPosition=function(){if(this.options.locations)return new ie(this.curLine,this.pos-this.lineStart)};var rt=se.prototype,Ve=function(s){this.flags=s,this.var=[],this.lexical=[],this.functions=[]};rt.enterScope=function(s){this.scopeStack.push(new Ve(s))},rt.exitScope=function(){this.scopeStack.pop()},rt.treatFunctionsAsVarInScope=function(s){return 2&s.flags||!this.inModule&&1&s.flags},rt.declareName=function(s,A,I){var R=!1;if(A===2){var Z=this.currentScope();R=Z.lexical.indexOf(s)>-1||Z.functions.indexOf(s)>-1||Z.var.indexOf(s)>-1,Z.lexical.push(s),this.inModule&&1&Z.flags&&delete this.undefinedExports[s]}else if(A===4)this.currentScope().lexical.push(s);else if(A===3){var fe=this.currentScope();R=this.treatFunctionsAsVar?fe.lexical.indexOf(s)>-1:fe.lexical.indexOf(s)>-1||fe.var.indexOf(s)>-1,fe.functions.push(s)}else for(var ge=this.scopeStack.length-1;ge>=0;--ge){var Ce=this.scopeStack[ge];if(Ce.lexical.indexOf(s)>-1&&!(32&Ce.flags&&Ce.lexical[0]===s)||!this.treatFunctionsAsVarInScope(Ce)&&Ce.functions.indexOf(s)>-1){R=!0;break}if(Ce.var.push(s),this.inModule&&1&Ce.flags&&delete this.undefinedExports[s],259&Ce.flags)break}R&&this.raiseRecoverable(I,"Identifier '"+s+"' has already been declared")},rt.checkLocalExport=function(s){this.scopeStack[0].lexical.indexOf(s.name)===-1&&this.scopeStack[0].var.indexOf(s.name)===-1&&(this.undefinedExports[s.name]=s)},rt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},rt.currentVarScope=function(){for(var s=this.scopeStack.length-1;;s--){var A=this.scopeStack[s];if(771&A.flags)return A}},rt.currentThisScope=function(){for(var s=this.scopeStack.length-1;;s--){var A=this.scopeStack[s];if(771&A.flags&&!(16&A.flags))return A}};var Ne=function(s,A,I){this.type="",this.start=A,this.end=0,s.options.locations&&(this.loc=new M(s,I)),s.options.directSourceFile&&(this.sourceFile=s.options.directSourceFile),s.options.ranges&&(this.range=[A,0])},ae=se.prototype;function _e(s,A,I,R){return s.type=A,s.end=I,this.options.locations&&(s.loc.end=R),this.options.ranges&&(s.range[1]=I),s}ae.startNode=function(){return new Ne(this,this.start,this.startLoc)},ae.startNodeAt=function(s,A){return new Ne(this,s,A)},ae.finishNode=function(s,A){return _e.call(this,s,A,this.lastTokEnd,this.lastTokEndLoc)},ae.finishNodeAt=function(s,A,I,R){return _e.call(this,s,A,I,R)},ae.copyNode=function(s){var A=new Ne(this,s.start,this.startLoc);for(var I in s)A[I]=s[I];return A};var $e="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",st=$e+" Extended_Pictographic",et=st+" EBase EComp EMod EPres ExtPict",oe={9:$e,10:st,11:st,12:et,13:et,14:et},Ae={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},Ge="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",He="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",Ee=He+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Le=Ee+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Ie=Le+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",xe=Ie+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",ze={9:He,10:Ee,11:Le,12:Ie,13:xe,14:xe+" 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"},it={};function Qe(s){var A=it[s]={binary:q(oe[s]+" "+Ge),binaryOfStrings:q(Ae[s]),nonBinary:{General_Category:q(Ge),Script:q(ze[s])}};A.nonBinary.Script_Extensions=A.nonBinary.Script,A.nonBinary.gc=A.nonBinary.General_Category,A.nonBinary.sc=A.nonBinary.Script,A.nonBinary.scx=A.nonBinary.Script_Extensions}for(var lt=0,ct=[9,10,11,12,13,14];lt<ct.length;lt+=1)Qe(ct[lt]);var Ye=se.prototype,xt=function(s,A){this.parent=s,this.base=A||this};xt.prototype.separatedFrom=function(s){for(var A=this;A;A=A.parent)for(var I=s;I;I=I.parent)if(A.base===I.base&&A!==I)return!0;return!1},xt.prototype.sibling=function(){return new xt(this.parent,this.base)};var St=function(s){this.parser=s,this.validFlags="gim"+(s.options.ecmaVersion>=6?"uy":"")+(s.options.ecmaVersion>=9?"s":"")+(s.options.ecmaVersion>=13?"d":"")+(s.options.ecmaVersion>=15?"v":""),this.unicodeProperties=it[s.options.ecmaVersion>=14?14:s.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};function Ft(s){return s===105||s===109||s===115}function Dt(s){return s===36||s>=40&&s<=43||s===46||s===63||s>=91&&s<=94||s>=123&&s<=125}function Jt(s){return s>=65&&s<=90||s>=97&&s<=122}St.prototype.reset=function(s,A,I){var R=I.indexOf("v")!==-1,Z=I.indexOf("u")!==-1;this.start=0|s,this.source=A+"",this.flags=I,R&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=Z&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=Z&&this.parser.options.ecmaVersion>=9)},St.prototype.raise=function(s){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+s)},St.prototype.at=function(s,A){A===void 0&&(A=!1);var I=this.source,R=I.length;if(s>=R)return-1;var Z=I.charCodeAt(s);if(!A&&!this.switchU||Z<=55295||Z>=57344||s+1>=R)return Z;var fe=I.charCodeAt(s+1);return fe>=56320&&fe<=57343?(Z<<10)+fe-56613888:Z},St.prototype.nextIndex=function(s,A){A===void 0&&(A=!1);var I=this.source,R=I.length;if(s>=R)return R;var Z,fe=I.charCodeAt(s);return!A&&!this.switchU||fe<=55295||fe>=57344||s+1>=R||(Z=I.charCodeAt(s+1))<56320||Z>57343?s+1:s+2},St.prototype.current=function(s){return s===void 0&&(s=!1),this.at(this.pos,s)},St.prototype.lookahead=function(s){return s===void 0&&(s=!1),this.at(this.nextIndex(this.pos,s),s)},St.prototype.advance=function(s){s===void 0&&(s=!1),this.pos=this.nextIndex(this.pos,s)},St.prototype.eat=function(s,A){return A===void 0&&(A=!1),this.current(A)===s&&(this.advance(A),!0)},St.prototype.eatChars=function(s,A){A===void 0&&(A=!1);for(var I=this.pos,R=0,Z=s;R<Z.length;R+=1){var fe=Z[R],ge=this.at(I,A);if(ge===-1||ge!==fe)return!1;I=this.nextIndex(I,A)}return this.pos=I,!0},Ye.validateRegExpFlags=function(s){for(var A=s.validFlags,I=s.flags,R=!1,Z=!1,fe=0;fe<I.length;fe++){var ge=I.charAt(fe);A.indexOf(ge)===-1&&this.raise(s.start,"Invalid regular expression flag"),I.indexOf(ge,fe+1)>-1&&this.raise(s.start,"Duplicate regular expression flag"),ge==="u"&&(R=!0),ge==="v"&&(Z=!0)}this.options.ecmaVersion>=15&&R&&Z&&this.raise(s.start,"Invalid regular expression flag")},Ye.validateRegExpPattern=function(s){this.regexp_pattern(s),!s.switchN&&this.options.ecmaVersion>=9&&(function(A){for(var I in A)return!0;return!1})(s.groupNames)&&(s.switchN=!0,this.regexp_pattern(s))},Ye.regexp_pattern=function(s){s.pos=0,s.lastIntValue=0,s.lastStringValue="",s.lastAssertionIsQuantifiable=!1,s.numCapturingParens=0,s.maxBackReference=0,s.groupNames=Object.create(null),s.backReferenceNames.length=0,s.branchID=null,this.regexp_disjunction(s),s.pos!==s.source.length&&(s.eat(41)&&s.raise("Unmatched ')'"),(s.eat(93)||s.eat(125))&&s.raise("Lone quantifier brackets")),s.maxBackReference>s.numCapturingParens&&s.raise("Invalid escape");for(var A=0,I=s.backReferenceNames;A<I.length;A+=1){var R=I[A];s.groupNames[R]||s.raise("Invalid named capture referenced")}},Ye.regexp_disjunction=function(s){var A=this.options.ecmaVersion>=16;for(A&&(s.branchID=new xt(s.branchID,null)),this.regexp_alternative(s);s.eat(124);)A&&(s.branchID=s.branchID.sibling()),this.regexp_alternative(s);A&&(s.branchID=s.branchID.parent),this.regexp_eatQuantifier(s,!0)&&s.raise("Nothing to repeat"),s.eat(123)&&s.raise("Lone quantifier brackets")},Ye.regexp_alternative=function(s){for(;s.pos<s.source.length&&this.regexp_eatTerm(s););},Ye.regexp_eatTerm=function(s){return this.regexp_eatAssertion(s)?(s.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(s)&&s.switchU&&s.raise("Invalid quantifier"),!0):!!(s.switchU?this.regexp_eatAtom(s):this.regexp_eatExtendedAtom(s))&&(this.regexp_eatQuantifier(s),!0)},Ye.regexp_eatAssertion=function(s){var A=s.pos;if(s.lastAssertionIsQuantifiable=!1,s.eat(94)||s.eat(36))return!0;if(s.eat(92)){if(s.eat(66)||s.eat(98))return!0;s.pos=A}if(s.eat(40)&&s.eat(63)){var I=!1;if(this.options.ecmaVersion>=9&&(I=s.eat(60)),s.eat(61)||s.eat(33))return this.regexp_disjunction(s),s.eat(41)||s.raise("Unterminated group"),s.lastAssertionIsQuantifiable=!I,!0}return s.pos=A,!1},Ye.regexp_eatQuantifier=function(s,A){return A===void 0&&(A=!1),!!this.regexp_eatQuantifierPrefix(s,A)&&(s.eat(63),!0)},Ye.regexp_eatQuantifierPrefix=function(s,A){return s.eat(42)||s.eat(43)||s.eat(63)||this.regexp_eatBracedQuantifier(s,A)},Ye.regexp_eatBracedQuantifier=function(s,A){var I=s.pos;if(s.eat(123)){var R=0,Z=-1;if(this.regexp_eatDecimalDigits(s)&&(R=s.lastIntValue,s.eat(44)&&this.regexp_eatDecimalDigits(s)&&(Z=s.lastIntValue),s.eat(125)))return Z!==-1&&Z<R&&!A&&s.raise("numbers out of order in {} quantifier"),!0;s.switchU&&!A&&s.raise("Incomplete quantifier"),s.pos=I}return!1},Ye.regexp_eatAtom=function(s){return this.regexp_eatPatternCharacters(s)||s.eat(46)||this.regexp_eatReverseSolidusAtomEscape(s)||this.regexp_eatCharacterClass(s)||this.regexp_eatUncapturingGroup(s)||this.regexp_eatCapturingGroup(s)},Ye.regexp_eatReverseSolidusAtomEscape=function(s){var A=s.pos;if(s.eat(92)){if(this.regexp_eatAtomEscape(s))return!0;s.pos=A}return!1},Ye.regexp_eatUncapturingGroup=function(s){var A=s.pos;if(s.eat(40)){if(s.eat(63)){if(this.options.ecmaVersion>=16){var I=this.regexp_eatModifiers(s),R=s.eat(45);if(I||R){for(var Z=0;Z<I.length;Z++){var fe=I.charAt(Z);I.indexOf(fe,Z+1)>-1&&s.raise("Duplicate regular expression modifiers")}if(R){var ge=this.regexp_eatModifiers(s);I||ge||s.current()!==58||s.raise("Invalid regular expression modifiers");for(var Ce=0;Ce<ge.length;Ce++){var Ke=ge.charAt(Ce);(ge.indexOf(Ke,Ce+1)>-1||I.indexOf(Ke)>-1)&&s.raise("Duplicate regular expression modifiers")}}}}if(s.eat(58)){if(this.regexp_disjunction(s),s.eat(41))return!0;s.raise("Unterminated group")}}s.pos=A}return!1},Ye.regexp_eatCapturingGroup=function(s){if(s.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(s):s.current()===63&&s.raise("Invalid group"),this.regexp_disjunction(s),s.eat(41))return s.numCapturingParens+=1,!0;s.raise("Unterminated group")}return!1},Ye.regexp_eatModifiers=function(s){for(var A="",I=0;(I=s.current())!==-1&&Ft(I);)A+=re(I),s.advance();return A},Ye.regexp_eatExtendedAtom=function(s){return s.eat(46)||this.regexp_eatReverseSolidusAtomEscape(s)||this.regexp_eatCharacterClass(s)||this.regexp_eatUncapturingGroup(s)||this.regexp_eatCapturingGroup(s)||this.regexp_eatInvalidBracedQuantifier(s)||this.regexp_eatExtendedPatternCharacter(s)},Ye.regexp_eatInvalidBracedQuantifier=function(s){return this.regexp_eatBracedQuantifier(s,!0)&&s.raise("Nothing to repeat"),!1},Ye.regexp_eatSyntaxCharacter=function(s){var A=s.current();return!!Dt(A)&&(s.lastIntValue=A,s.advance(),!0)},Ye.regexp_eatPatternCharacters=function(s){for(var A=s.pos,I=0;(I=s.current())!==-1&&!Dt(I);)s.advance();return s.pos!==A},Ye.regexp_eatExtendedPatternCharacter=function(s){var A=s.current();return!(A===-1||A===36||A>=40&&A<=43||A===46||A===63||A===91||A===94||A===124)&&(s.advance(),!0)},Ye.regexp_groupSpecifier=function(s){if(s.eat(63)){this.regexp_eatGroupName(s)||s.raise("Invalid group");var A=this.options.ecmaVersion>=16,I=s.groupNames[s.lastStringValue];if(I)if(A)for(var R=0,Z=I;R<Z.length;R+=1)Z[R].separatedFrom(s.branchID)||s.raise("Duplicate capture group name");else s.raise("Duplicate capture group name");A?(I||(s.groupNames[s.lastStringValue]=[])).push(s.branchID):s.groupNames[s.lastStringValue]=!0}},Ye.regexp_eatGroupName=function(s){if(s.lastStringValue="",s.eat(60)){if(this.regexp_eatRegExpIdentifierName(s)&&s.eat(62))return!0;s.raise("Invalid capture group name")}return!1},Ye.regexp_eatRegExpIdentifierName=function(s){if(s.lastStringValue="",this.regexp_eatRegExpIdentifierStart(s)){for(s.lastStringValue+=re(s.lastIntValue);this.regexp_eatRegExpIdentifierPart(s);)s.lastStringValue+=re(s.lastIntValue);return!0}return!1},Ye.regexp_eatRegExpIdentifierStart=function(s){var A=s.pos,I=this.options.ecmaVersion>=11,R=s.current(I);return s.advance(I),R===92&&this.regexp_eatRegExpUnicodeEscapeSequence(s,I)&&(R=s.lastIntValue),(function(Z){return g(Z,!0)||Z===36||Z===95})(R)?(s.lastIntValue=R,!0):(s.pos=A,!1)},Ye.regexp_eatRegExpIdentifierPart=function(s){var A=s.pos,I=this.options.ecmaVersion>=11,R=s.current(I);return s.advance(I),R===92&&this.regexp_eatRegExpUnicodeEscapeSequence(s,I)&&(R=s.lastIntValue),(function(Z){return p(Z,!0)||Z===36||Z===95||Z===8204||Z===8205})(R)?(s.lastIntValue=R,!0):(s.pos=A,!1)},Ye.regexp_eatAtomEscape=function(s){return!!(this.regexp_eatBackReference(s)||this.regexp_eatCharacterClassEscape(s)||this.regexp_eatCharacterEscape(s)||s.switchN&&this.regexp_eatKGroupName(s))||(s.switchU&&(s.current()===99&&s.raise("Invalid unicode escape"),s.raise("Invalid escape")),!1)},Ye.regexp_eatBackReference=function(s){var A=s.pos;if(this.regexp_eatDecimalEscape(s)){var I=s.lastIntValue;if(s.switchU)return I>s.maxBackReference&&(s.maxBackReference=I),!0;if(I<=s.numCapturingParens)return!0;s.pos=A}return!1},Ye.regexp_eatKGroupName=function(s){if(s.eat(107)){if(this.regexp_eatGroupName(s))return s.backReferenceNames.push(s.lastStringValue),!0;s.raise("Invalid named reference")}return!1},Ye.regexp_eatCharacterEscape=function(s){return this.regexp_eatControlEscape(s)||this.regexp_eatCControlLetter(s)||this.regexp_eatZero(s)||this.regexp_eatHexEscapeSequence(s)||this.regexp_eatRegExpUnicodeEscapeSequence(s,!1)||!s.switchU&&this.regexp_eatLegacyOctalEscapeSequence(s)||this.regexp_eatIdentityEscape(s)},Ye.regexp_eatCControlLetter=function(s){var A=s.pos;if(s.eat(99)){if(this.regexp_eatControlLetter(s))return!0;s.pos=A}return!1},Ye.regexp_eatZero=function(s){return s.current()===48&&!sn(s.lookahead())&&(s.lastIntValue=0,s.advance(),!0)},Ye.regexp_eatControlEscape=function(s){var A=s.current();return A===116?(s.lastIntValue=9,s.advance(),!0):A===110?(s.lastIntValue=10,s.advance(),!0):A===118?(s.lastIntValue=11,s.advance(),!0):A===102?(s.lastIntValue=12,s.advance(),!0):A===114&&(s.lastIntValue=13,s.advance(),!0)},Ye.regexp_eatControlLetter=function(s){var A=s.current();return!!Jt(A)&&(s.lastIntValue=A%32,s.advance(),!0)},Ye.regexp_eatRegExpUnicodeEscapeSequence=function(s,A){A===void 0&&(A=!1);var I,R=s.pos,Z=A||s.switchU;if(s.eat(117)){if(this.regexp_eatFixedHexDigits(s,4)){var fe=s.lastIntValue;if(Z&&fe>=55296&&fe<=56319){var ge=s.pos;if(s.eat(92)&&s.eat(117)&&this.regexp_eatFixedHexDigits(s,4)){var Ce=s.lastIntValue;if(Ce>=56320&&Ce<=57343)return s.lastIntValue=1024*(fe-55296)+(Ce-56320)+65536,!0}s.pos=ge,s.lastIntValue=fe}return!0}if(Z&&s.eat(123)&&this.regexp_eatHexDigits(s)&&s.eat(125)&&(I=s.lastIntValue)>=0&&I<=1114111)return!0;Z&&s.raise("Invalid unicode escape"),s.pos=R}return!1},Ye.regexp_eatIdentityEscape=function(s){if(s.switchU)return!!this.regexp_eatSyntaxCharacter(s)||!!s.eat(47)&&(s.lastIntValue=47,!0);var A=s.current();return!(A===99||s.switchN&&A===107)&&(s.lastIntValue=A,s.advance(),!0)},Ye.regexp_eatDecimalEscape=function(s){s.lastIntValue=0;var A=s.current();if(A>=49&&A<=57){do s.lastIntValue=10*s.lastIntValue+(A-48),s.advance();while((A=s.current())>=48&&A<=57);return!0}return!1};function At(s){return Jt(s)||s===95}function Qt(s){return At(s)||sn(s)}function sn(s){return s>=48&&s<=57}function bn(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102}function on(s){return s>=65&&s<=70?s-65+10:s>=97&&s<=102?s-97+10:s-48}function pn(s){return s>=48&&s<=55}Ye.regexp_eatCharacterClassEscape=function(s){var A=s.current();if((function(Z){return Z===100||Z===68||Z===115||Z===83||Z===119||Z===87})(A))return s.lastIntValue=-1,s.advance(),1;var I=!1;if(s.switchU&&this.options.ecmaVersion>=9&&((I=A===80)||A===112)){var R;if(s.lastIntValue=-1,s.advance(),s.eat(123)&&(R=this.regexp_eatUnicodePropertyValueExpression(s))&&s.eat(125))return I&&R===2&&s.raise("Invalid property name"),R;s.raise("Invalid property name")}return 0},Ye.regexp_eatUnicodePropertyValueExpression=function(s){var A=s.pos;if(this.regexp_eatUnicodePropertyName(s)&&s.eat(61)){var I=s.lastStringValue;if(this.regexp_eatUnicodePropertyValue(s)){var R=s.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(s,I,R),1}}if(s.pos=A,this.regexp_eatLoneUnicodePropertyNameOrValue(s)){var Z=s.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(s,Z)}return 0},Ye.regexp_validateUnicodePropertyNameAndValue=function(s,A,I){$(s.unicodeProperties.nonBinary,A)||s.raise("Invalid property name"),s.unicodeProperties.nonBinary[A].test(I)||s.raise("Invalid property value")},Ye.regexp_validateUnicodePropertyNameOrValue=function(s,A){return s.unicodeProperties.binary.test(A)?1:s.switchV&&s.unicodeProperties.binaryOfStrings.test(A)?2:void s.raise("Invalid property name")},Ye.regexp_eatUnicodePropertyName=function(s){var A=0;for(s.lastStringValue="";At(A=s.current());)s.lastStringValue+=re(A),s.advance();return s.lastStringValue!==""},Ye.regexp_eatUnicodePropertyValue=function(s){var A=0;for(s.lastStringValue="";Qt(A=s.current());)s.lastStringValue+=re(A),s.advance();return s.lastStringValue!==""},Ye.regexp_eatLoneUnicodePropertyNameOrValue=function(s){return this.regexp_eatUnicodePropertyValue(s)},Ye.regexp_eatCharacterClass=function(s){if(s.eat(91)){var A=s.eat(94),I=this.regexp_classContents(s);return s.eat(93)||s.raise("Unterminated character class"),A&&I===2&&s.raise("Negated character class may contain strings"),!0}return!1},Ye.regexp_classContents=function(s){return s.current()===93?1:s.switchV?this.regexp_classSetExpression(s):(this.regexp_nonEmptyClassRanges(s),1)},Ye.regexp_nonEmptyClassRanges=function(s){for(;this.regexp_eatClassAtom(s);){var A=s.lastIntValue;if(s.eat(45)&&this.regexp_eatClassAtom(s)){var I=s.lastIntValue;!s.switchU||A!==-1&&I!==-1||s.raise("Invalid character class"),A!==-1&&I!==-1&&A>I&&s.raise("Range out of order in character class")}}},Ye.regexp_eatClassAtom=function(s){var A=s.pos;if(s.eat(92)){if(this.regexp_eatClassEscape(s))return!0;if(s.switchU){var I=s.current();(I===99||pn(I))&&s.raise("Invalid class escape"),s.raise("Invalid escape")}s.pos=A}var R=s.current();return R!==93&&(s.lastIntValue=R,s.advance(),!0)},Ye.regexp_eatClassEscape=function(s){var A=s.pos;if(s.eat(98))return s.lastIntValue=8,!0;if(s.switchU&&s.eat(45))return s.lastIntValue=45,!0;if(!s.switchU&&s.eat(99)){if(this.regexp_eatClassControlLetter(s))return!0;s.pos=A}return this.regexp_eatCharacterClassEscape(s)||this.regexp_eatCharacterEscape(s)},Ye.regexp_classSetExpression=function(s){var A,I=1;if(!this.regexp_eatClassSetRange(s))if(A=this.regexp_eatClassSetOperand(s)){A===2&&(I=2);for(var R=s.pos;s.eatChars([38,38]);)s.current()!==38&&(A=this.regexp_eatClassSetOperand(s))?A!==2&&(I=1):s.raise("Invalid character in character class");if(R!==s.pos)return I;for(;s.eatChars([45,45]);)this.regexp_eatClassSetOperand(s)||s.raise("Invalid character in character class");if(R!==s.pos)return I}else s.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(s)){if(!(A=this.regexp_eatClassSetOperand(s)))return I;A===2&&(I=2)}},Ye.regexp_eatClassSetRange=function(s){var A=s.pos;if(this.regexp_eatClassSetCharacter(s)){var I=s.lastIntValue;if(s.eat(45)&&this.regexp_eatClassSetCharacter(s)){var R=s.lastIntValue;return I!==-1&&R!==-1&&I>R&&s.raise("Range out of order in character class"),!0}s.pos=A}return!1},Ye.regexp_eatClassSetOperand=function(s){return this.regexp_eatClassSetCharacter(s)?1:this.regexp_eatClassStringDisjunction(s)||this.regexp_eatNestedClass(s)},Ye.regexp_eatNestedClass=function(s){var A=s.pos;if(s.eat(91)){var I=s.eat(94),R=this.regexp_classContents(s);if(s.eat(93))return I&&R===2&&s.raise("Negated character class may contain strings"),R;s.pos=A}if(s.eat(92)){var Z=this.regexp_eatCharacterClassEscape(s);if(Z)return Z;s.pos=A}return null},Ye.regexp_eatClassStringDisjunction=function(s){var A=s.pos;if(s.eatChars([92,113])){if(s.eat(123)){var I=this.regexp_classStringDisjunctionContents(s);if(s.eat(125))return I}else s.raise("Invalid escape");s.pos=A}return null},Ye.regexp_classStringDisjunctionContents=function(s){for(var A=this.regexp_classString(s);s.eat(124);)this.regexp_classString(s)===2&&(A=2);return A},Ye.regexp_classString=function(s){for(var A=0;this.regexp_eatClassSetCharacter(s);)A++;return A===1?1:2},Ye.regexp_eatClassSetCharacter=function(s){var A=s.pos;if(s.eat(92))return!(!this.regexp_eatCharacterEscape(s)&&!this.regexp_eatClassSetReservedPunctuator(s))||(s.eat(98)?(s.lastIntValue=8,!0):(s.pos=A,!1));var I=s.current();return!(I<0||I===s.lookahead()&&(function(R){return R===33||R>=35&&R<=38||R>=42&&R<=44||R===46||R>=58&&R<=64||R===94||R===96||R===126})(I))&&!(function(R){return R===40||R===41||R===45||R===47||R>=91&&R<=93||R>=123&&R<=125})(I)&&(s.advance(),s.lastIntValue=I,!0)},Ye.regexp_eatClassSetReservedPunctuator=function(s){var A=s.current();return!!(function(I){return I===33||I===35||I===37||I===38||I===44||I===45||I>=58&&I<=62||I===64||I===96||I===126})(A)&&(s.lastIntValue=A,s.advance(),!0)},Ye.regexp_eatClassControlLetter=function(s){var A=s.current();return!(!sn(A)&&A!==95)&&(s.lastIntValue=A%32,s.advance(),!0)},Ye.regexp_eatHexEscapeSequence=function(s){var A=s.pos;if(s.eat(120)){if(this.regexp_eatFixedHexDigits(s,2))return!0;s.switchU&&s.raise("Invalid escape"),s.pos=A}return!1},Ye.regexp_eatDecimalDigits=function(s){var A=s.pos,I=0;for(s.lastIntValue=0;sn(I=s.current());)s.lastIntValue=10*s.lastIntValue+(I-48),s.advance();return s.pos!==A},Ye.regexp_eatHexDigits=function(s){var A=s.pos,I=0;for(s.lastIntValue=0;bn(I=s.current());)s.lastIntValue=16*s.lastIntValue+on(I),s.advance();return s.pos!==A},Ye.regexp_eatLegacyOctalEscapeSequence=function(s){if(this.regexp_eatOctalDigit(s)){var A=s.lastIntValue;if(this.regexp_eatOctalDigit(s)){var I=s.lastIntValue;A<=3&&this.regexp_eatOctalDigit(s)?s.lastIntValue=64*A+8*I+s.lastIntValue:s.lastIntValue=8*A+I}else s.lastIntValue=A;return!0}return!1},Ye.regexp_eatOctalDigit=function(s){var A=s.current();return pn(A)?(s.lastIntValue=A-48,s.advance(),!0):(s.lastIntValue=0,!1)},Ye.regexp_eatFixedHexDigits=function(s,A){var I=s.pos;s.lastIntValue=0;for(var R=0;R<A;++R){var Z=s.current();if(!bn(Z))return s.pos=I,!1;s.lastIntValue=16*s.lastIntValue+on(Z),s.advance()}return!0};var Dn=function(s){this.type=s.type,this.value=s.value,this.start=s.start,this.end=s.end,s.options.locations&&(this.loc=new M(s,s.startLoc,s.endLoc)),s.options.ranges&&(this.range=[s.start,s.end])},kt=se.prototype;function gn(s){return typeof BigInt!="function"?null:BigInt(s.replace(/_/g,""))}kt.next=function(s){!s&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Dn(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},kt.getToken=function(){return this.next(),new Dn(this)},typeof Symbol<"u"&&(kt[Symbol.iterator]=function(){var s=this;return{next:function(){var A=s.getToken();return{done:A.type===b.eof,value:A}}}}),kt.nextToken=function(){var s=this.curContext();return s&&s.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(b.eof):s.override?s.override(this):void this.readToken(this.fullCharCodeAtPos())},kt.readToken=function(s){return g(s,this.options.ecmaVersion>=6)||s===92?this.readWord():this.getTokenFromCode(s)},kt.fullCharCodeAtPos=function(){var s=this.input.charCodeAt(this.pos);if(s<=55295||s>=56320)return s;var A=this.input.charCodeAt(this.pos+1);return A<=56319||A>=57344?s:(s<<10)+A-56613888},kt.skipBlockComment=function(){var s=this.options.onComment&&this.curPosition(),A=this.pos,I=this.input.indexOf("*/",this.pos+=2);if(I===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=I+2,this.options.locations)for(var R=void 0,Z=A;(R=K(this.input,Z,this.pos))>-1;)++this.curLine,Z=this.lineStart=R;this.options.onComment&&this.options.onComment(!0,this.input.slice(A+2,I),A,this.pos,s,this.curPosition())},kt.skipLineComment=function(s){for(var A=this.pos,I=this.options.onComment&&this.curPosition(),R=this.input.charCodeAt(this.pos+=s);this.pos<this.input.length&&!F(R);)R=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(A+s,this.pos),A,this.pos,I,this.curPosition())},kt.skipSpace=function(){e:for(;this.pos<this.input.length;){var s=this.input.charCodeAt(this.pos);switch(s){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!(s>8&&s<14||s>=5760&&L.test(String.fromCharCode(s))))break e;++this.pos}}},kt.finishToken=function(s,A){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var I=this.type;this.type=s,this.value=A,this.updateContext(I)},kt.readToken_dot=function(){var s=this.input.charCodeAt(this.pos+1);if(s>=48&&s<=57)return this.readNumber(!0);var A=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&s===46&&A===46?(this.pos+=3,this.finishToken(b.ellipsis)):(++this.pos,this.finishToken(b.dot))},kt.readToken_slash=function(){var s=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):s===61?this.finishOp(b.assign,2):this.finishOp(b.slash,1)},kt.readToken_mult_modulo_exp=function(s){var A=this.input.charCodeAt(this.pos+1),I=1,R=s===42?b.star:b.modulo;return this.options.ecmaVersion>=7&&s===42&&A===42&&(++I,R=b.starstar,A=this.input.charCodeAt(this.pos+2)),A===61?this.finishOp(b.assign,I+1):this.finishOp(R,I)},kt.readToken_pipe_amp=function(s){var A=this.input.charCodeAt(this.pos+1);return A===s?this.options.ecmaVersion>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(b.assign,3):this.finishOp(s===124?b.logicalOR:b.logicalAND,2):A===61?this.finishOp(b.assign,2):this.finishOp(s===124?b.bitwiseOR:b.bitwiseAND,1)},kt.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(b.assign,2):this.finishOp(b.bitwiseXOR,1)},kt.readToken_plus_min=function(s){var A=this.input.charCodeAt(this.pos+1);return A===s?A!==45||this.inModule||this.input.charCodeAt(this.pos+2)!==62||this.lastTokEnd!==0&&!C.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(b.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):A===61?this.finishOp(b.assign,2):this.finishOp(b.plusMin,1)},kt.readToken_lt_gt=function(s){var A=this.input.charCodeAt(this.pos+1),I=1;return A===s?(I=s===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+I)===61?this.finishOp(b.assign,I+1):this.finishOp(b.bitShift,I)):A!==33||s!==60||this.inModule||this.input.charCodeAt(this.pos+2)!==45||this.input.charCodeAt(this.pos+3)!==45?(A===61&&(I=2),this.finishOp(b.relational,I)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},kt.readToken_eq_excl=function(s){var A=this.input.charCodeAt(this.pos+1);return A===61?this.finishOp(b.equality,this.input.charCodeAt(this.pos+2)===61?3:2):s===61&&A===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(b.arrow)):this.finishOp(s===61?b.eq:b.prefix,1)},kt.readToken_question=function(){var s=this.options.ecmaVersion;if(s>=11){var A=this.input.charCodeAt(this.pos+1);if(A===46){var I=this.input.charCodeAt(this.pos+2);if(I<48||I>57)return this.finishOp(b.questionDot,2)}if(A===63)return s>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(b.assign,3):this.finishOp(b.coalesce,2)}return this.finishOp(b.question,1)},kt.readToken_numberSign=function(){var s=35;if(this.options.ecmaVersion>=13&&(++this.pos,g(s=this.fullCharCodeAtPos(),!0)||s===92))return this.finishToken(b.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+re(s)+"'")},kt.getTokenFromCode=function(s){switch(s){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(b.parenL);case 41:return++this.pos,this.finishToken(b.parenR);case 59:return++this.pos,this.finishToken(b.semi);case 44:return++this.pos,this.finishToken(b.comma);case 91:return++this.pos,this.finishToken(b.bracketL);case 93:return++this.pos,this.finishToken(b.bracketR);case 123:return++this.pos,this.finishToken(b.braceL);case 125:return++this.pos,this.finishToken(b.braceR);case 58:return++this.pos,this.finishToken(b.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(b.backQuote);case 48:var A=this.input.charCodeAt(this.pos+1);if(A===120||A===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(A===111||A===79)return this.readRadixNumber(8);if(A===98||A===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(s);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(s);case 124:case 38:return this.readToken_pipe_amp(s);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(s);case 60:case 62:return this.readToken_lt_gt(s);case 61:case 33:return this.readToken_eq_excl(s);case 63:return this.readToken_question();case 126:return this.finishOp(b.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+re(s)+"'")},kt.finishOp=function(s,A){var I=this.input.slice(this.pos,this.pos+A);return this.pos+=A,this.finishToken(s,I)},kt.readRegexp=function(){for(var s,A,I=this.pos;;){this.pos>=this.input.length&&this.raise(I,"Unterminated regular expression");var R=this.input.charAt(this.pos);if(C.test(R)&&this.raise(I,"Unterminated regular expression"),s)s=!1;else{if(R==="[")A=!0;else if(R==="]"&&A)A=!1;else if(R==="/"&&!A)break;s=R==="\\"}++this.pos}var Z=this.input.slice(I,this.pos);++this.pos;var fe=this.pos,ge=this.readWord1();this.containsEsc&&this.unexpected(fe);var Ce=this.regexpState||(this.regexpState=new St(this));Ce.reset(I,Z,ge),this.validateRegExpFlags(Ce),this.validateRegExpPattern(Ce);var Ke=null;try{Ke=new RegExp(Z,ge)}catch{}return this.finishToken(b.regexp,{pattern:Z,flags:ge,value:Ke})},kt.readInt=function(s,A,I){for(var R=this.options.ecmaVersion>=12&&A===void 0,Z=I&&this.input.charCodeAt(this.pos)===48,fe=this.pos,ge=0,Ce=0,Ke=0,tt=A??1/0;Ke<tt;++Ke,++this.pos){var Je=this.input.charCodeAt(this.pos),mt=void 0;if(R&&Je===95)Z&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),Ce===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),Ke===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Ce=Je;else{if((mt=Je>=97?Je-97+10:Je>=65?Je-65+10:Je>=48&&Je<=57?Je-48:1/0)>=s)break;Ce=Je,ge=ge*s+mt}}return R&&Ce===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===fe||A!=null&&this.pos-fe!==A?null:ge},kt.readRadixNumber=function(s){var A=this.pos;this.pos+=2;var I=this.readInt(s);return I==null&&this.raise(this.start+2,"Expected number in radix "+s),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(I=gn(this.input.slice(A,this.pos)),++this.pos):g(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(b.num,I)},kt.readNumber=function(s){var A=this.pos;s||this.readInt(10,void 0,!0)!==null||this.raise(A,"Invalid number");var I=this.pos-A>=2&&this.input.charCodeAt(A)===48;I&&this.strict&&this.raise(A,"Invalid number");var R=this.input.charCodeAt(this.pos);if(!I&&!s&&this.options.ecmaVersion>=11&&R===110){var Z=gn(this.input.slice(A,this.pos));return++this.pos,g(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(b.num,Z)}I&&/[89]/.test(this.input.slice(A,this.pos))&&(I=!1),R!==46||I||(++this.pos,this.readInt(10),R=this.input.charCodeAt(this.pos)),R!==69&&R!==101||I||((R=this.input.charCodeAt(++this.pos))!==43&&R!==45||++this.pos,this.readInt(10)===null&&this.raise(A,"Invalid number")),g(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var fe,ge=(fe=this.input.slice(A,this.pos),I?parseInt(fe,8):parseFloat(fe.replace(/_/g,"")));return this.finishToken(b.num,ge)},kt.readCodePoint=function(){var s;if(this.input.charCodeAt(this.pos)===123){this.options.ecmaVersion<6&&this.unexpected();var A=++this.pos;s=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,s>1114111&&this.invalidStringToken(A,"Code point out of bounds")}else s=this.readHexChar(4);return s},kt.readString=function(s){for(var A="",I=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var R=this.input.charCodeAt(this.pos);if(R===s)break;R===92?(A+=this.input.slice(I,this.pos),A+=this.readEscapedChar(!1),I=this.pos):R===8232||R===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(F(R)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return A+=this.input.slice(I,this.pos++),this.finishToken(b.string,A)};var _n={};kt.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(s){if(s!==_n)throw s;this.readInvalidTemplateToken()}this.inTemplateElement=!1},kt.invalidStringToken=function(s,A){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw _n;this.raise(s,A)},kt.readTmplToken=function(){for(var s="",A=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var I=this.input.charCodeAt(this.pos);if(I===96||I===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos!==this.start||this.type!==b.template&&this.type!==b.invalidTemplate?(s+=this.input.slice(A,this.pos),this.finishToken(b.template,s)):I===36?(this.pos+=2,this.finishToken(b.dollarBraceL)):(++this.pos,this.finishToken(b.backQuote));if(I===92)s+=this.input.slice(A,this.pos),s+=this.readEscapedChar(!0),A=this.pos;else if(F(I)){switch(s+=this.input.slice(A,this.pos),++this.pos,I){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:s+=`
|
|
14
|
-
`;break;default:s+=String.fromCharCode(I)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),A=this.pos}else++this.pos}},kt.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(b.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
15
|
-
`&&++this.pos;case`
|
|
16
|
-
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},kt.readEscapedChar=function(s){var A=this.input.charCodeAt(++this.pos);switch(++this.pos,A){case 110:return`
|
|
17
|
-
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return re(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),s){var I=this.pos-1;this.invalidStringToken(I,"Invalid escape sequence in template string")}default:if(A>=48&&A<=55){var R=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],Z=parseInt(R,8);return Z>255&&(R=R.slice(0,-1),Z=parseInt(R,8)),this.pos+=R.length-1,A=this.input.charCodeAt(this.pos),R==="0"&&A!==56&&A!==57||!this.strict&&!s||this.invalidStringToken(this.pos-1-R.length,s?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(Z)}return F(A)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(A)}},kt.readHexChar=function(s){var A=this.pos,I=this.readInt(16,s);return I===null&&this.invalidStringToken(A,"Bad character escape sequence"),I},kt.readWord1=function(){this.containsEsc=!1;for(var s="",A=!0,I=this.pos,R=this.options.ecmaVersion>=6;this.pos<this.input.length;){var Z=this.fullCharCodeAtPos();if(p(Z,R))this.pos+=Z<=65535?1:2;else{if(Z!==92)break;this.containsEsc=!0,s+=this.input.slice(I,this.pos);var fe=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var ge=this.readCodePoint();(A?g:p)(ge,R)||this.invalidStringToken(fe,"Invalid Unicode escape"),s+=re(ge),I=this.pos}A=!1}return s+this.input.slice(I,this.pos)},kt.readWord=function(){var s=this.readWord1(),A=b.name;return this.keywords.test(s)&&(A=P[s]),this.finishToken(A,s)},se.acorn={Parser:se,version:"8.15.0",defaultOptions:G,Position:ie,SourceLocation:M,getLineInfo:B,Node:Ne,TokenType:h,tokTypes:b,keywordTypes:P,TokContext:ke,tokContexts:Oe,isIdentifierChar:p,isIdentifierStart:g,Token:Dn,isNewLine:F,lineBreak:C,lineBreakG:N,nonASCIIwhitespace:L};let Wt=qt("module"),Zt=qt("fs");String.fromCharCode;let dn=/\/$|\/\?|\/#/,tn=/^\.?\//;function Fn(s="",A){return A?dn.test(s):s.endsWith("/")}function Rn(s="",A){if(!A)return s.endsWith("/")?s:s+"/";if(Fn(s,!0))return s||"/";let I=s,R="",Z=s.indexOf("#");if(Z!==-1&&(I=s.slice(0,Z),R=s.slice(Z),!I))return R;let[fe,...ge]=I.split("?");return fe+"/"+(ge.length>0?`?${ge.join("?")}`:"")+R}function Jn(s){return s&&s!=="/"}function fn(s,...A){let I=s||"";for(let R of A.filter(Z=>Jn(Z)))if(I){let Z=R.replace(tn,"");I=Rn(I)+Z}else I=R;return I}Symbol.for("ufo:protocolRelative");let Zn=/^[A-Za-z]:\//;function Nn(s=""){return s&&s.replace(/\\/g,"/").replace(Zn,A=>A.toUpperCase())}let Vn=/^[/\\]{2}/,$n=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,On=/^[A-Za-z]:$/,Wn=/.(\.[^./]+|\.)$/,kn=function(s){if(s.length===0)return".";let A=(s=Nn(s)).match(Vn),I=bt(s),R=s[s.length-1]==="/";return(s=Ze(s,!I)).length===0?I?"/":R?"./":".":(R&&(s+="/"),On.test(s)&&(s+="/"),A?I?`//${s}`:`//./${s}`:I&&!bt(s)?`/${s}`:s)},xn=function(...s){let A="";for(let I of s)if(I)if(A.length>0){let R=A[A.length-1]==="/",Z=I[0]==="/";A+=R&&Z?I.slice(1):R||Z?I:`/${I}`}else A+=I;return kn(A)};function yt(){return typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/"}let ot=function(...s){let A="",I=!1;for(let R=(s=s.map(Z=>Nn(Z))).length-1;R>=-1&&!I;R--){let Z=R>=0?s[R]:yt();Z&&Z.length!==0&&(A=`${Z}/${A}`,I=bt(Z))}return A=Ze(A,!I),I&&!bt(A)?`/${A}`:A.length>0?A:"."};function Ze(s,A){let I="",R=0,Z=-1,fe=0,ge=null;for(let Ce=0;Ce<=s.length;++Ce){if(Ce<s.length)ge=s[Ce];else{if(ge==="/")break;ge="/"}if(ge==="/"){if(!(Z===Ce-1||fe===1))if(fe===2){if(I.length<2||R!==2||I[I.length-1]!=="."||I[I.length-2]!=="."){if(I.length>2){let Ke=I.lastIndexOf("/");Ke===-1?(I="",R=0):(I=I.slice(0,Ke),R=I.length-1-I.lastIndexOf("/")),Z=Ce,fe=0;continue}if(I.length>0){I="",R=0,Z=Ce,fe=0;continue}}A&&(I+=I.length>0?"/..":"..",R=2)}else I.length>0?I+=`/${s.slice(Z+1,Ce)}`:I=s.slice(Z+1,Ce),R=Ce-Z-1;Z=Ce,fe=0}else ge==="."&&fe!==-1?++fe:fe=-1}return I}let bt=function(s){return $n.test(s)},gt=function(s){if(s==="..")return"";let A=Wn.exec(Nn(s));return A&&A[1]||""},_t=function(s){let A=Nn(s).replace(/\/$/,"").split("/").slice(0,-1);return A.length===1&&On.test(A[0])&&(A[0]+="/"),A.join("/")||(bt(s)?"/":".")},It=function(s,A){let I=Nn(s).split("/"),R="";for(let Z=I.length-1;Z>=0;Z--){let fe=I[Z];if(fe){R=fe;break}}return A&&R.endsWith(A)?R.slice(0,-A.length):R},Be=qt("url"),Et=qt("assert"),Nt=qt("process"),jt=qt("path"),Yt=qt("v8"),Lt=qt("util"),vt=new Set(Wt.builtinModules);function hn(s){return s.replace(/\\/g,"/")}let mn={}.hasOwnProperty,Sn=/^([A-Z][a-z\d]*)+$/,yn=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),Kt={};function Kn(s,A="and"){return s.length<3?s.join(` ${A} `):`${s.slice(0,-1).join(", ")}, ${A} ${s[s.length-1]}`}let jn=new Map,qn;function En(s,A,I){return jn.set(s,A),(function(R,Z){return fe;function fe(...ge){let Ce=Error.stackTraceLimit;Mn()&&(Error.stackTraceLimit=0);let Ke=new R;Mn()&&(Error.stackTraceLimit=Ce);let tt=(function(Je,mt,dt){let Rt=jn.get(Je);if(Et(Rt!==void 0,"expected `message` to be found"),typeof Rt=="function")return Et(Rt.length<=mt.length,`Code: ${Je}; The provided arguments length (${mt.length}) does not match the required ones (${Rt.length}).`),Reflect.apply(Rt,dt,mt);let cn=/%[dfijoOs]/g,Mt=0;for(;cn.exec(Rt)!==null;)Mt++;return Et(Mt===mt.length,`Code: ${Je}; The provided arguments length (${mt.length}) does not match the required ones (${Mt}).`),mt.length===0?Rt:(mt.unshift(Rt),Reflect.apply(Lt.format,null,mt))})(Z,ge,Ke);return Object.defineProperties(Ke,{message:{value:tt,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${Z}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),mi(Ke),Ke.code=Z,Ke}})(I,s)}function Mn(){try{if(Yt.startupSnapshot.isBuildingSnapshot())return!1}catch{}let s=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return s===void 0?Object.isExtensible(Error):mn.call(s,"writable")&&s.writable!==void 0?s.writable:s.set!==void 0}Kt.ERR_INVALID_ARG_TYPE=En("ERR_INVALID_ARG_TYPE",(s,A,I)=>{Et(typeof s=="string","'name' must be a string"),Array.isArray(A)||(A=[A]);let R="The ";if(s.endsWith(" argument"))R+=`${s} `;else{let Ce=s.includes(".")?"property":"argument";R+=`"${s}" ${Ce} `}R+="must be ";let Z=[],fe=[],ge=[];for(let Ce of A)Et(typeof Ce=="string","All expected entries have to be of type string"),yn.has(Ce)?Z.push(Ce.toLowerCase()):Sn.exec(Ce)===null?(Et(Ce!=="object",'The value "object" should be written as "Object"'),ge.push(Ce)):fe.push(Ce);if(fe.length>0){let Ce=Z.indexOf("object");Ce!==-1&&(Z.slice(Ce,1),fe.push("Object"))}return Z.length>0&&(R+=`${Z.length>1?"one of type":"of type"} ${Kn(Z,"or")}`,(fe.length>0||ge.length>0)&&(R+=" or ")),fe.length>0&&(R+=`an instance of ${Kn(fe,"or")}`,ge.length>0&&(R+=" or ")),ge.length>0&&(ge.length>1?R+=`one of ${Kn(ge,"or")}`:(ge[0].toLowerCase()!==ge[0]&&(R+="an "),R+=`${ge[0]}`)),R+=`. Received ${(function(Ce){if(Ce==null)return String(Ce);if(typeof Ce=="function"&&Ce.name)return`function ${Ce.name}`;if(typeof Ce=="object")return Ce.constructor&&Ce.constructor.name?`an instance of ${Ce.constructor.name}`:`${(0,Lt.inspect)(Ce,{depth:-1})}`;let Ke=(0,Lt.inspect)(Ce,{colors:!1});return Ke.length>28&&(Ke=`${Ke.slice(0,25)}...`),`type ${typeof Ce} (${Ke})`})(I)}`,R},TypeError),Kt.ERR_INVALID_MODULE_SPECIFIER=En("ERR_INVALID_MODULE_SPECIFIER",(s,A,I=void 0)=>`Invalid module "${s}" ${A}${I?` imported from ${I}`:""}`,TypeError),Kt.ERR_INVALID_PACKAGE_CONFIG=En("ERR_INVALID_PACKAGE_CONFIG",(s,A,I)=>`Invalid package config ${s}${A?` while importing ${A}`:""}${I?`. ${I}`:""}`,Error),Kt.ERR_INVALID_PACKAGE_TARGET=En("ERR_INVALID_PACKAGE_TARGET",(s,A,I,R=!1,Z=void 0)=>{let fe=typeof I=="string"&&!R&&I.length>0&&!I.startsWith("./");return A==="."?(Et(R===!1),`Invalid "exports" main target ${JSON.stringify(I)} defined in the package config ${s}package.json${Z?` imported from ${Z}`:""}${fe?'; targets must start with "./"':""}`):`Invalid "${R?"imports":"exports"}" target ${JSON.stringify(I)} defined for '${A}' in the package config ${s}package.json${Z?` imported from ${Z}`:""}${fe?'; targets must start with "./"':""}`},Error),Kt.ERR_MODULE_NOT_FOUND=En("ERR_MODULE_NOT_FOUND",(s,A,I=!1)=>`Cannot find ${I?"module":"package"} '${s}' imported from ${A}`,Error),Kt.ERR_NETWORK_IMPORT_DISALLOWED=En("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),Kt.ERR_PACKAGE_IMPORT_NOT_DEFINED=En("ERR_PACKAGE_IMPORT_NOT_DEFINED",(s,A,I)=>`Package import specifier "${s}" is not defined${A?` in package ${A}package.json`:""} imported from ${I}`,TypeError),Kt.ERR_PACKAGE_PATH_NOT_EXPORTED=En("ERR_PACKAGE_PATH_NOT_EXPORTED",(s,A,I=void 0)=>A==="."?`No "exports" main defined in ${s}package.json${I?` imported from ${I}`:""}`:`Package subpath '${A}' is not defined by "exports" in ${s}package.json${I?` imported from ${I}`:""}`,Error),Kt.ERR_UNSUPPORTED_DIR_IMPORT=En("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),Kt.ERR_UNSUPPORTED_RESOLVE_REQUEST=En("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),Kt.ERR_UNKNOWN_FILE_EXTENSION=En("ERR_UNKNOWN_FILE_EXTENSION",(s,A)=>`Unknown file extension "${s}" for ${A}`,TypeError),Kt.ERR_INVALID_ARG_VALUE=En("ERR_INVALID_ARG_VALUE",(s,A,I="is invalid")=>{let R=(0,Lt.inspect)(A);return R.length>128&&(R=`${R.slice(0,128)}...`),`The ${s.includes(".")?"property":"argument"} '${s}' ${I}. Received ${R}`},TypeError);let mi=(function(s){let A="__node_internal_"+s.name;return Object.defineProperty(s,"name",{value:A}),s})(function(s){let A=Mn();return A&&(qn=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(s),A&&(Error.stackTraceLimit=qn),s}),un={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:ri}=Kt,Gn=new Map;function ti(s,{base:A,specifier:I}){let R=Gn.get(s);if(R)return R;let Z;try{Z=Zt.readFileSync(jt.toNamespacedPath(s),"utf8")}catch(ge){let Ce=ge;if(Ce.code!=="ENOENT")throw Ce}let fe={exists:!1,pjsonPath:s,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(Z!==void 0){let ge;try{ge=JSON.parse(Z)}catch(Ce){let Ke=Ce,tt=new ri(s,(A?`"${I}" from `:"")+(0,Be.fileURLToPath)(A||I),Ke.message);throw tt.cause=Ke,tt}fe.exists=!0,un.call(ge,"name")&&typeof ge.name=="string"&&(fe.name=ge.name),un.call(ge,"main")&&typeof ge.main=="string"&&(fe.main=ge.main),un.call(ge,"exports")&&(fe.exports=ge.exports),un.call(ge,"imports")&&(fe.imports=ge.imports),!un.call(ge,"type")||ge.type!=="commonjs"&&ge.type!=="module"||(fe.type=ge.type)}return Gn.set(s,fe),fe}function X(s){let A=new URL("package.json",s);for(;!A.pathname.endsWith("node_modules/package.json");){let I=ti((0,Be.fileURLToPath)(A),{specifier:s});if(I.exists)return I;let R=A;if(A=new URL("../package.json",A),A.pathname===R.pathname)break}return{pjsonPath:(0,Be.fileURLToPath)(A),exists:!1,type:"none"}}function n(s){return X(s).type}let{ERR_UNKNOWN_FILE_EXTENSION:a}=Kt,m={}.hasOwnProperty,_={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},k={__proto__:null,"data:":function(s){let{1:A}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(s.pathname)||[null,null,null];return(function(I){return I&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(I)?"module":I==="application/json"?"json":null})(A)},"file:":function(s,A,I){let R=(function(ge){let Ce=ge.pathname,Ke=Ce.length;for(;Ke--;){let tt=Ce.codePointAt(Ke);if(tt===47)return"";if(tt===46)return Ce.codePointAt(Ke-1)===47?"":Ce.slice(Ke)}return""})(s);if(R===".js"){let ge=n(s);return ge!=="none"?ge:"commonjs"}if(R===""){let ge=n(s);return ge==="none"||ge==="commonjs"?"commonjs":"module"}let Z=_[R];if(Z)return Z;if(I)return;let fe=(0,Be.fileURLToPath)(s);throw new a(R,fe)},"http:":J,"https:":J,"node:":()=>"builtin"};function J(){}let ne=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:he,ERR_INVALID_MODULE_SPECIFIER:be,ERR_INVALID_PACKAGE_CONFIG:Ue,ERR_INVALID_PACKAGE_TARGET:nt,ERR_MODULE_NOT_FOUND:Pt,ERR_PACKAGE_IMPORT_NOT_DEFINED:ht,ERR_PACKAGE_PATH_NOT_EXPORTED:Ct,ERR_UNSUPPORTED_DIR_IMPORT:Gt,ERR_UNSUPPORTED_RESOLVE_REQUEST:ln}=Kt,Ut={}.hasOwnProperty,zt=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,Hn=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,si=/^\.|%|\\/,ni=/\*/g,yi=/%2f|%5c/i,vi=new Set,_i=/[/\\]{2}/;function o(s,A,I,R,Z,fe,ge){if(Nt.noDeprecation)return;let Ce=(0,Be.fileURLToPath)(R),Ke=_i.exec(ge?s:A)!==null;Nt.emitWarning(`Use of deprecated ${Ke?"double slash":"leading or trailing slash matching"} resolving "${s}" for module request "${A}" ${A===I?"":`matched to "${I}" `}in the "${Z?"imports":"exports"}" field module resolution of the package at ${Ce}${fe?` imported from ${(0,Be.fileURLToPath)(fe)}`:""}.`,"DeprecationWarning","DEP0166")}function x(s,A,I,R){if(Nt.noDeprecation||(function(Ke,tt){let Je=Ke.protocol;return m.call(k,Je)&&k[Je](Ke,tt,!0)||null})(s,{parentURL:I.href})!=="module")return;let fe=(0,Be.fileURLToPath)(s.href),ge=(0,Be.fileURLToPath)(new Be.URL(".",A)),Ce=(0,Be.fileURLToPath)(I);R?jt.resolve(ge,R)!==fe&&Nt.emitWarning(`Package ${ge} has a "main" field set to "${R}", excluding the full filename and extension to the resolved file at "${fe.slice(ge.length)}", imported from ${Ce}.
|
|
18
|
-
Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):Nt.emitWarning(`No "main" or "exports" field defined in the package.json for ${ge} resolving the main entry point "${fe.slice(ge.length)}", imported from ${Ce}.
|
|
19
|
-
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function V(s){try{return(0,Zt.statSync)(s)}catch{}}function Y(s){let A=(0,Zt.statSync)(s,{throwIfNoEntry:!1}),I=A?A.isFile():void 0;return I!=null&&I}function ue(s,A,I){let R;if(A.main!==void 0){if(R=new Be.URL(A.main,s),Y(R))return R;let ge=[`./${A.main}.js`,`./${A.main}.json`,`./${A.main}.node`,`./${A.main}/index.js`,`./${A.main}/index.json`,`./${A.main}/index.node`],Ce=-1;for(;++Ce<ge.length&&(R=new Be.URL(ge[Ce],s),!Y(R));)R=void 0;if(R)return x(R,s,I,A.main),R}let Z=["./index.js","./index.json","./index.node"],fe=-1;for(;++fe<Z.length&&(R=new Be.URL(Z[fe],s),!Y(R));)R=void 0;if(R)return x(R,s,I,A.main),R;throw new Pt((0,Be.fileURLToPath)(new Be.URL(".",s)),(0,Be.fileURLToPath)(I))}function je(s,A,I){return new Ct((0,Be.fileURLToPath)(new Be.URL(".",A)),s,I&&(0,Be.fileURLToPath)(I))}function Me(s,A,I,R,Z){return A=typeof A=="object"&&A!==null?JSON.stringify(A,null,""):`${A}`,new nt((0,Be.fileURLToPath)(new Be.URL(".",I)),s,A,R,Z&&(0,Be.fileURLToPath)(Z))}function Xe(s,A,I,R,Z,fe,ge,Ce,Ke){if(A!==""&&!fe&&s[s.length-1]!=="/")throw Me(I,s,R,ge,Z);if(!s.startsWith("./")){if(ge&&!s.startsWith("../")&&!s.startsWith("/")){let dt=!1;try{new Be.URL(s),dt=!0}catch{}if(!dt)return Bn(fe?ne.call(ni,s,()=>A):s+A,R,Ke)}throw Me(I,s,R,ge,Z)}if(zt.exec(s.slice(2))!==null){if(Hn.exec(s.slice(2))!==null)throw Me(I,s,R,ge,Z);if(!Ce){let dt=fe?I.replace("*",()=>A):I+A;o(fe?ne.call(ni,s,()=>A):s,dt,I,R,ge,Z,!0)}}let tt=new Be.URL(s,R),Je=tt.pathname,mt=new Be.URL(".",R).pathname;if(!Je.startsWith(mt))throw Me(I,s,R,ge,Z);if(A==="")return tt;if(zt.exec(A)!==null){let dt=fe?I.replace("*",()=>A):I+A;Hn.exec(A)===null?Ce||o(fe?ne.call(ni,s,()=>A):s,dt,I,R,ge,Z,!1):(function(Rt,cn,Mt,rn,en){let an=`request is not a valid match in pattern "${cn}" for the "${rn?"imports":"exports"}" resolution of ${(0,Be.fileURLToPath)(Mt)}`;throw new be(Rt,an,en&&(0,Be.fileURLToPath)(en))})(dt,I,R,ge,Z)}return fe?new Be.URL(ne.call(ni,tt.href,()=>A)):new Be.URL(A,tt)}function ft(s){let A=Number(s);return`${A}`===s&&A>=0&&A<4294967295}function Tt(s,A,I,R,Z,fe,ge,Ce,Ke){if(typeof A=="string")return Xe(A,I,R,s,Z,fe,ge,Ce,Ke);if(Array.isArray(A)){let tt=A;if(tt.length===0)return null;let Je,mt=-1;for(;++mt<tt.length;){let dt=tt[mt],Rt;try{Rt=Tt(s,dt,I,R,Z,fe,ge,Ce,Ke)}catch(cn){if(Je=cn,cn.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw cn}if(Rt!==void 0){if(Rt!==null)return Rt;Je=null}}if(Je==null)return null;throw Je}if(typeof A=="object"&&A!==null){let tt=Object.getOwnPropertyNames(A),Je=-1;for(;++Je<tt.length;)if(ft(tt[Je]))throw new Ue((0,Be.fileURLToPath)(s),Z,'"exports" cannot contain numeric property keys.');for(Je=-1;++Je<tt.length;){let mt=tt[Je];if(mt==="default"||Ke&&Ke.has(mt)){let dt=Tt(s,A[mt],I,R,Z,fe,ge,Ce,Ke);if(dt===void 0)continue;return dt}}return null}if(A===null)return null;throw Me(R,A,s,ge,Z)}function Ot(s,A,I){if(Nt.noDeprecation)return;let R=(0,Be.fileURLToPath)(A);vi.has(R+"|"+s)||(vi.add(R+"|"+s),Nt.emitWarning(`Use of deprecated trailing slash pattern mapping "${s}" in the "exports" field module resolution of the package at ${R}${I?` imported from ${(0,Be.fileURLToPath)(I)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function Vt(s,A,I,R,Z){let fe=I.exports;if((function(Je,mt,dt){if(typeof Je=="string"||Array.isArray(Je))return!0;if(typeof Je!="object"||Je===null)return!1;let Rt=Object.getOwnPropertyNames(Je),cn=!1,Mt=0,rn=-1;for(;++rn<Rt.length;){let en=Rt[rn],an=en===""||en[0]!==".";if(Mt++===0)cn=an;else if(cn!==an)throw new Ue((0,Be.fileURLToPath)(mt),dt,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return cn})(fe,s,R)&&(fe={".":fe}),Ut.call(fe,A)&&!A.includes("*")&&!A.endsWith("/")){let Je=Tt(s,fe[A],"",A,R,!1,!1,!1,Z);if(Je==null)throw je(A,s,R);return Je}let ge="",Ce="",Ke=Object.getOwnPropertyNames(fe),tt=-1;for(;++tt<Ke.length;){let Je=Ke[tt],mt=Je.indexOf("*");if(mt!==-1&&A.startsWith(Je.slice(0,mt))){A.endsWith("/")&&Ot(A,s,R);let dt=Je.slice(mt+1);A.length>=Je.length&&A.endsWith(dt)&&nn(ge,Je)===1&&Je.lastIndexOf("*")===mt&&(ge=Je,Ce=A.slice(mt,A.length-dt.length))}}if(ge){let Je=Tt(s,fe[ge],Ce,ge,R,!0,!1,A.endsWith("/"),Z);if(Je==null)throw je(A,s,R);return Je}throw je(A,s,R)}function nn(s,A){let I=s.indexOf("*"),R=A.indexOf("*"),Z=I===-1?s.length:I+1,fe=R===-1?A.length:R+1;return Z>fe?-1:fe>Z||I===-1?1:R===-1||s.length>A.length?-1:A.length>s.length?1:0}function vn(s,A,I){if(s==="#"||s.startsWith("#/")||s.endsWith("/"))throw new be(s,"is not a valid internal imports specifier name",(0,Be.fileURLToPath)(A));let R,Z=X(A);if(Z.exists){R=(0,Be.pathToFileURL)(Z.pjsonPath);let fe=Z.imports;if(fe)if(Ut.call(fe,s)&&!s.includes("*")){let ge=Tt(R,fe[s],"",s,A,!1,!0,!1,I);if(ge!=null)return ge}else{let ge="",Ce="",Ke=Object.getOwnPropertyNames(fe),tt=-1;for(;++tt<Ke.length;){let Je=Ke[tt],mt=Je.indexOf("*");if(mt!==-1&&s.startsWith(Je.slice(0,-1))){let dt=Je.slice(mt+1);s.length>=Je.length&&s.endsWith(dt)&&nn(ge,Je)===1&&Je.lastIndexOf("*")===mt&&(ge=Je,Ce=s.slice(mt,s.length-dt.length))}}if(ge){let Je=Tt(R,fe[ge],Ce,ge,A,!0,!0,!1,I);if(Je!=null)return Je}}}throw(function(fe,ge,Ce){return new ht(fe,ge&&(0,Be.fileURLToPath)(new Be.URL(".",ge)),(0,Be.fileURLToPath)(Ce))})(s,R,A)}function Bn(s,A,I){if(Wt.builtinModules.includes(s))return new Be.URL("node:"+s);let{packageName:R,packageSubpath:Z,isScoped:fe}=(function(Je,mt){let dt=Je.indexOf("/"),Rt=!0,cn=!1;Je[0]==="@"&&(cn=!0,dt===-1||Je.length===0?Rt=!1:dt=Je.indexOf("/",dt+1));let Mt=dt===-1?Je:Je.slice(0,dt);if(si.exec(Mt)!==null&&(Rt=!1),!Rt)throw new be(Je,"is not a valid package name",(0,Be.fileURLToPath)(mt));return{packageName:Mt,packageSubpath:"."+(dt===-1?"":Je.slice(dt)),isScoped:cn}})(s,A),ge=X(A);if(ge.exists){let Je=(0,Be.pathToFileURL)(ge.pjsonPath);if(ge.name===R&&ge.exports!==void 0&&ge.exports!==null)return Vt(Je,Z,ge,A,I)}let Ce,Ke=new Be.URL("./node_modules/"+R+"/package.json",A),tt=(0,Be.fileURLToPath)(Ke);do{let Je=V(tt.slice(0,-13));if(!Je||!Je.isDirectory()){Ce=tt,Ke=new Be.URL((fe?"../../../../node_modules/":"../../../node_modules/")+R+"/package.json",Ke),tt=(0,Be.fileURLToPath)(Ke);continue}let mt=ti(tt,{base:A,specifier:s});return mt.exports!==void 0&&mt.exports!==null?Vt(Ke,Z,mt,A,I):Z==="."?ue(Ke,mt,A):new Be.URL(Z,Ke)}while(tt.length!==Ce.length);throw new Pt(R,(0,Be.fileURLToPath)(A),!1)}function Un(s,A,I,R){let Z=A.protocol,fe=Z==="data:"||Z==="http:"||Z==="https:",ge;if((function(Ce){return Ce!==""&&(Ce[0]==="/"||(function(Ke){return Ke[0]==="."&&(Ke.length===1||Ke[1]==="/"||Ke[1]==="."&&(Ke.length===2||Ke[2]==="/"))})(Ce))})(s))try{ge=new Be.URL(s,A)}catch(Ce){let Ke=new ln(s,A);throw Ke.cause=Ce,Ke}else if(Z==="file:"&&s[0]==="#")ge=vn(s,A,I);else try{ge=new Be.URL(s)}catch(Ce){if(fe&&!Wt.builtinModules.includes(s)){let Ke=new ln(s,A);throw Ke.cause=Ce,Ke}ge=Bn(s,A,I)}return Et(ge!==void 0,"expected to be defined"),ge.protocol!=="file:"?ge:(function(Ce,Ke){if(yi.exec(Ce.pathname)!==null)throw new be(Ce.pathname,'must not include encoded "/" or "\\" characters',(0,Be.fileURLToPath)(Ke));let tt;try{tt=(0,Be.fileURLToPath)(Ce)}catch(mt){let dt=mt;throw Object.defineProperty(dt,"input",{value:String(Ce)}),Object.defineProperty(dt,"module",{value:String(Ke)}),dt}let Je=V(tt.endsWith("/")?tt.slice(-1):tt);if(Je&&Je.isDirectory()){let mt=new Gt(tt,(0,Be.fileURLToPath)(Ke));throw mt.url=String(Ce),mt}if(!Je||!Je.isFile()){let mt=new Pt(tt||Ce.pathname,Ke&&(0,Be.fileURLToPath)(Ke),!0);throw mt.url=String(Ce),mt}{let mt=(0,Zt.realpathSync)(tt),{search:dt,hash:Rt}=Ce;(Ce=(0,Be.pathToFileURL)(mt+(tt.endsWith(jt.sep)?"/":""))).search=dt,Ce.hash=Rt}return Ce})(ge,A)}function Pn(s){return typeof s!="string"||s.startsWith("file://")?hn((0,Be.fileURLToPath)(s)):hn(s)}function In(s){return(0,Be.pathToFileURL)(Pn(s)).toString()}let wt=new Set(["node","import"]),Ht=[".mjs",".cjs",".js",".json"],Xt=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"]);function Cn(s,A,I){try{return Un(s,A,I)}catch(R){if(!Xt.has(R?.code))throw R}}function An(s,A={}){if(typeof s!="string"){if(!(s instanceof URL))throw new TypeError("input must be a `string` or `URL`");s=Pn(s)}if(/(node|data|http|https):/.test(s))return s;if(vt.has(s))return"node:"+s;if(s.startsWith("file://")&&(s=Pn(s)),bt(s))try{if((0,Zt.statSync)(s).isFile())return In(s)}catch(ge){if(ge?.code!=="ENOENT")throw ge}let I=A.conditions?new Set(A.conditions):wt,R=(Array.isArray(A.url)?A.url:[A.url]).filter(Boolean).map(ge=>new URL((function(Ce){return typeof Ce!="string"&&(Ce=Ce.toString()),/(node|data|http|https|file):/.test(Ce)?Ce:vt.has(Ce)?"node:"+Ce:"file://"+encodeURI(hn(Ce))})(ge.toString())));R.length===0&&R.push(new URL(In(process.cwd())));let Z=[...R];for(let ge of R)ge.protocol==="file:"&&Z.push(new URL("./",ge),new URL(fn(ge.pathname,"_index.js"),ge),new URL("node_modules",ge));let fe;for(let ge of Z){if(fe=Cn(s,ge,I),fe)break;for(let Ce of["","/index"]){for(let Ke of A.extensions||Ht)if(fe=Cn(fn(s,Ce)+Ke,ge,I),fe)break;if(fe)break}if(fe)break}if(!fe){let ge=new Error(`Cannot find module ${s} imported from ${Z.join(", ")}`);throw ge.code="ERR_MODULE_NOT_FOUND",ge}return In(fe)}function ci(s,A){return An(s,A)}function zn(s,A){return Pn(ci(s,A))}let wn=/([\s;]|^)(import[\s\w*,{}]*from|import\s*["'*{]|export\b\s*(?:[*{]|default|class|type|function|const|var|let|async function)|import\.meta\b)/m,Yn=/\/\*.+?\*\/|\/\/.*(?=[nr])/g;function Ln(s,A={}){return A.stripComments&&(s=s.replace(Yn,"")),wn.test(s)}function bi(s){if(typeof s!="string")throw new TypeError("Expected a string");return s.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}let Ti=new Set(["/","\\",void 0]),Li=Symbol.for("pathe:normalizedAlias"),sr=/[/\\]/;function Fi(s){if(s[Li])return s;let A=Object.fromEntries(Object.entries(s).sort(([I],[R])=>(function(Z,fe){return fe.split("/").length-Z.split("/").length})(I,R)));for(let I in A)for(let R in A)R===I||I.startsWith(R)||A[I]?.startsWith(R)&&Ti.has(A[I][R.length])&&(A[I]=A[R]+A[I].slice(R.length));return Object.defineProperty(A,Li,{value:!0,enumerable:!1}),A}function Ri(s="/"){let A=s[s.length-1];return A==="/"||A==="\\"}let ar={rE:"2.5.1"},or=qt("crypto");var xi=$t.n(or);let Si=Object.create(null),gi=s=>globalThis.process?.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(s?Si:globalThis),ii=new Proxy(Si,{get:(s,A)=>gi()[A]??Si[A],has:(s,A)=>A in gi()||A in Si,set:(s,A,I)=>(gi(!0)[A]=I,!0),deleteProperty(s,A){return A?(delete gi(!0)[A],!0):!1},ownKeys(){let s=gi(!0);return Object.keys(s)}}),lr=typeof process<"u"&&process.env&&process.env.NODE_ENV||"",cr=[["APPVEYOR"],["AWS_AMPLIFY","AWS_APP_ID",{ci:!0}],["AZURE_PIPELINES","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],["AZURE_STATIC","INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"],["APPCIRCLE","AC_APPCIRCLE"],["BAMBOO","bamboo_planKey"],["BITBUCKET","BITBUCKET_COMMIT"],["BITRISE","BITRISE_IO"],["BUDDY","BUDDY_WORKSPACE_ID"],["BUILDKITE"],["CIRCLE","CIRCLECI"],["CIRRUS","CIRRUS_CI"],["CLOUDFLARE_PAGES","CF_PAGES",{ci:!0}],["CLOUDFLARE_WORKERS","WORKERS_CI",{ci:!0}],["CODEBUILD","CODEBUILD_BUILD_ARN"],["CODEFRESH","CF_BUILD_ID"],["DRONE"],["DRONE","DRONE_BUILD_EVENT"],["DSARI"],["GITHUB_ACTIONS"],["GITLAB","GITLAB_CI"],["GITLAB","CI_MERGE_REQUEST_ID"],["GOCD","GO_PIPELINE_LABEL"],["LAYERCI"],["HUDSON","HUDSON_URL"],["JENKINS","JENKINS_URL"],["MAGNUM"],["NETLIFY"],["NETLIFY","NETLIFY_LOCAL",{ci:!1}],["NEVERCODE"],["RENDER"],["SAIL","SAILCI"],["SEMAPHORE"],["SCREWDRIVER"],["SHIPPABLE"],["SOLANO","TDDIUM"],["STRIDER"],["TEAMCITY","TEAMCITY_VERSION"],["TRAVIS"],["VERCEL","NOW_BUILDER"],["VERCEL","VERCEL",{ci:!1}],["VERCEL","VERCEL_ENV",{ci:!1}],["APPCENTER","APPCENTER_BUILD_ID"],["CODESANDBOX","CODESANDBOX_SSE",{ci:!1}],["CODESANDBOX","CODESANDBOX_HOST",{ci:!1}],["STACKBLITZ"],["STORMKIT"],["CLEAVR"],["ZEABUR"],["CODESPHERE","CODESPHERE_APP_ID",{ci:!0}],["RAILWAY","RAILWAY_PROJECT_ID"],["RAILWAY","RAILWAY_SERVICE_ID"],["DENO-DEPLOY","DENO_DEPLOYMENT_ID"],["FIREBASE_APP_HOSTING","FIREBASE_APP_HOSTING",{ci:!0}]],Mi=(function(){if(globalThis.process?.env)for(let s of cr){let A=s[1]||s[0];if(globalThis.process?.env[A])return{name:s[0].toLowerCase(),...s[2]}}return globalThis.process?.env?.SHELL==="/bin/jsh"&&globalThis.process?.versions?.webcontainer?{name:"stackblitz",ci:!1}:{name:"",ci:!1}})();Mi.name;function ai(s){return!!s&&s!=="false"}let Ci=globalThis.process?.platform||"",jr=ai(ii.CI)||Mi.ci!==!1,ur=ai(globalThis.process?.stdout&&globalThis.process?.stdout.isTTY),Lr=(ai(ii.DEBUG),lr==="test"||ai(ii.TEST)),Bi=(ai(ii.MINIMAL),/^win/i.test(Ci)),pr=(/^linux/i.test(Ci),/^darwin/i.test(Ci),!ai(ii.NO_COLOR)&&(ai(ii.FORCE_COLOR)||(ur||Bi)&&ii.TERM),(globalThis.process?.versions?.node||"").replace(/^v/,"")||null),dr=(Number(pr?.split(".")[0]),globalThis.process||Object.create(null)),Ui={versions:{}},hr=(new Proxy(dr,{get:(s,A)=>A==="env"?ii:A in s?s[A]:A in Ui?Ui[A]:void 0}),globalThis.process?.release?.name==="node"),fr=!!globalThis.Bun||!!globalThis.process?.versions?.bun,mr=!!globalThis.Deno,yr=!!globalThis.fastly,br=[[!!globalThis.Netlify,"netlify"],[!!globalThis.EdgeRuntime,"edge-light"],[globalThis.navigator?.userAgent==="Cloudflare-Workers","workerd"],[yr,"fastly"],[mr,"deno"],[fr,"bun"],[hr,"node"]];(function(){let s=br.find(A=>A[0]);s&&s[1]})();let gr=qt("tty"),Er=gr?.WriteStream?.prototype?.hasColors?.()??!1,Bt=(s,A)=>{if(!Er)return Z=>Z;let I=`\x1B[${s}m`,R=`\x1B[${A}m`;return Z=>{let fe=Z+"",ge=fe.indexOf(R);if(ge===-1)return I+fe+R;let Ce=I,Ke=0;for(;ge!==-1;)Ce+=fe.slice(Ke,ge)+I,Ke=ge+R.length,ge=fe.indexOf(R,Ke);return Ce+=fe.slice(Ke)+R,Ce}},Vi=(Bt(0,0),Bt(1,22),Bt(2,22),Bt(3,23),Bt(4,24),Bt(53,55),Bt(7,27),Bt(8,28),Bt(9,29),Bt(30,39),Bt(31,39)),ui=Bt(32,39),Pi=Bt(33,39),$i=Bt(34,39),vr=(Bt(35,39),Bt(36,39)),Tr=(Bt(37,39),Bt(90,39));Bt(40,49),Bt(41,49),Bt(42,49),Bt(43,49),Bt(44,49),Bt(45,49),Bt(46,49),Bt(47,49),Bt(100,49),Bt(91,39),Bt(92,39),Bt(93,39),Bt(94,39),Bt(95,39),Bt(96,39),Bt(97,39),Bt(101,49),Bt(102,49),Bt(103,49),Bt(104,49),Bt(105,49),Bt(106,49),Bt(107,49);function Wi(s){if(typeof s!="string"||s.startsWith("file://"))return!1;try{return(0,Zt.lstatSync)(s).isDirectory()}catch{return!1}}function Ki(s,A=8){return((function(){if(pi!==void 0)return pi;try{return pi=!!xi().getFips?.(),pi}catch{return pi=!1,pi}})()?xi().createHash("sha256"):xi().createHash("md5")).update(s).digest("hex").slice(0,A)}let Gi={true:ui("true"),false:Pi("false"),"[rebuild]":Pi("[rebuild]"),"[esm]":$i("[esm]"),"[cjs]":ui("[cjs]"),"[import]":$i("[import]"),"[require]":ui("[require]"),"[native]":vr("[native]"),"[transpile]":Pi("[transpile]"),"[fallback]":Vi("[fallback]"),"[unknown]":Vi("[unknown]"),"[hit]":ui("[hit]"),"[miss]":Pi("[miss]"),"[json]":ui("[json]"),"[data]":ui("[data]")};function Tn(s,...A){if(!s.opts.debug)return;let I=process.cwd();console.log(Tr(["[jiti]",...A.map(R=>R in Gi?Gi[R]:typeof R!="string"?JSON.stringify(R):R.replace(I,"."))].join(" ")))}function oi(s,A){return s.opts.interopDefault?(function(I){let R=typeof I;if(I===null||R!=="object"&&R!=="function")return I;let Z=I.default,fe=typeof Z,ge=Z==null,Ce=fe==="object"||fe==="function";return ge&&I instanceof Promise?I:new Proxy(I,{get(Ke,tt,Je){if(tt==="__esModule")return!0;if(tt==="default")return ge?I:Z;if(Reflect.has(Ke,tt))return Reflect.get(Ke,tt,Je);if(Ce){let mt=Reflect.get(Z,tt,Je);return typeof mt=="function"&&(mt=mt.bind(Z)),mt}},apply:(Ke,tt,Je)=>typeof Ke=="function"?Reflect.apply(Ke,tt,Je):fe==="function"?Reflect.apply(Z,tt,Je):void 0})})(A):A}let pi;function ei(s,A){return!!di(s,A)}function di(s,A){let I=process.env[s];if(!(s in process.env))return A;try{return JSON.parse(I)}catch{return A}}let Hi=/\.(c|m)?j(sx?)$/,zi=/\.(c|m)?t(sx?)$/;function Ei(s,A,I){let R,Z;if(s.isNativeRe.test(A))return A;s.alias&&(A=(function(Ce,Ke){let tt=Nn(Ce);Ke=Fi(Ke);for(let[Je,mt]of Object.entries(Ke)){if(!tt.startsWith(Je))continue;let dt=Ri(Je)?Je.slice(0,-1):Je;if(Ri(tt[dt.length]))return xn(mt,tt.slice(Je.length))}return tt})(A,s.alias));let fe=I?.parentURL||s.url;Wi(fe)&&(fe=xn(fe,"_index.js"));let ge=(I?.async?[I?.conditions,["node","import"],["node","require"]]:[I?.conditions,["node","require"],["node","import"]]).filter(Boolean);for(let Ce of ge){try{R=zn(A,{url:fe,conditions:Ce,extensions:s.opts.extensions})}catch(Ke){Z=Ke}if(R)return R}try{return s.nativeRequire.resolve(A,{paths:I.paths})}catch(Ce){Z=Ce}for(let Ce of s.additionalExts)if(R=wi(s,A+Ce,fe,I)||wi(s,A+"/index"+Ce,fe,I),R||(zi.test(s.filename)||zi.test(s.parentModule?.filename||"")||Hi.test(A))&&(R=wi(s,A.replace(Hi,".$1t$2"),fe,I),R))return R;if(!I?.try)throw Z}function wi(s,A,I,R){try{return s.nativeRequire.resolve(A,{...R,paths:[_t(Pn(I)),...R?.paths||[]]})}catch{}}let Yi=qt("perf_hooks"),Sr=qt("vm");var Pr=$t.n(Sr);function Ii(s,A,I){let R=s.parentCache||{};if(A.startsWith("node:"))A=A.slice(5);else if(A.startsWith("file:"))A=(0,Be.fileURLToPath)(A);else if(A.startsWith("data:")){if(!I.async)throw new Error("`data:` URLs are only supported in ESM context. Use `import` or `jiti.import` instead.");return Tn(s,"[native]","[data]","[import]",A),hi(s,A,!0)}if(Wt.builtinModules.includes(A)||A===".pnp.js")return hi(s,A,I.async);if(s.opts.tryNative&&!s.opts.transformOptions)try{if(!(A=Ei(s,A,I))&&I.try)return;if(Tn(s,"[try-native]",I.async&&s.nativeImport?"[import]":"[require]",A),I.async&&s.nativeImport)return s.nativeImport(A).then(Ce=>(s.opts.moduleCache===!1&&delete s.nativeRequire.cache[A],oi(s,Ce)));{let Ce=s.nativeRequire(A);return s.opts.moduleCache===!1&&delete s.nativeRequire.cache[A],oi(s,Ce)}}catch(Ce){Tn(s,`[try-native] Using fallback for ${A} because of an error:`,Ce)}let Z=Ei(s,A,I);if(!Z&&I.try)return;let fe=gt(Z);if(fe===".json"){Tn(s,"[json]",Z);let Ce=s.nativeRequire(Z);return Ce&&!("default"in Ce)&&Object.defineProperty(Ce,"default",{value:Ce,enumerable:!1}),Ce}if(fe&&!s.opts.extensions.includes(fe))return Tn(s,"[native]","[unknown]",I.async?"[import]":"[require]",Z),hi(s,Z,I.async);if(s.isNativeRe.test(Z))return Tn(s,"[native]",I.async?"[import]":"[require]",Z),hi(s,Z,I.async);if(R[Z])return oi(s,R[Z]?.exports);if(s.opts.moduleCache){let Ce=s.nativeRequire.cache[Z];if(Ce?.loaded)return oi(s,Ce.exports)}let ge=(0,Zt.readFileSync)(Z,"utf8");return Ni(s,ge,{id:A,filename:Z,ext:fe,cache:R,async:I.async})}function hi(s,A,I){return I&&s.nativeImport?s.nativeImport((function(R){return Bi&&bt(R)?In(R):R})(A)).then(R=>oi(s,R)):oi(s,s.nativeRequire(A))}let Ar="9";function _r(s,A,I){if(!s.opts.fsCache||!A.filename)return I();let R=` /* v${Ar}-${Ki(A.source,16)} */
|
|
20
|
-
`,Z=`${It(_t(A.filename))}-${(function(Ke){let tt=Ke.split(sr).pop();if(!tt)return;let Je=tt.lastIndexOf(".");return Je<=0?tt:tt.slice(0,Je)})(A.filename)}`+(s.opts.sourceMaps?"+map":"")+(A.interopDefault?".i":"")+`.${Ki(A.filename)}`+(A.async?".mjs":".cjs");A.jsx&&A.filename.endsWith("x")&&(Z+="x");let fe=s.opts.fsCache,ge=xn(fe,Z);if(!s.opts.rebuildFsCache&&(0,Zt.existsSync)(ge)){let Ke=(0,Zt.readFileSync)(ge,"utf8");if(Ke.endsWith(R))return Tn(s,"[cache]","[hit]",A.filename,"~>",ge),Ke}Tn(s,"[cache]","[miss]",A.filename);let Ce=I();return Ce.includes("__JITI_ERROR__")||((0,Zt.writeFileSync)(ge,Ce+R,"utf8"),Tn(s,"[cache]","[store]",A.filename,"~>",ge)),Ce}function xr(s){if(s.opts.fsCache===!0&&(s.opts.fsCache=(function(A){let I=A.filename&&ot(A.filename,"../node_modules");if(I&&(0,Zt.existsSync)(I))return xn(I,".cache/jiti");let R=(0,ee.tmpdir)();if(process.env.TMPDIR&&R===process.cwd()&&!process.env.JITI_RESPECT_TMPDIR_ENV){let Z=process.env.TMPDIR;delete process.env.TMPDIR,R=(0,ee.tmpdir)(),process.env.TMPDIR=Z}return xn(R,"jiti")})(s)),s.opts.fsCache)try{if((0,Zt.mkdirSync)(s.opts.fsCache,{recursive:!0}),!(function(A){try{return(0,Zt.accessSync)(A,Zt.constants.W_OK),!0}catch{return!1}})(s.opts.fsCache))throw new Error("directory is not writable!")}catch(A){Tn(s,"Error creating cache directory at ",s.opts.fsCache,A),s.opts.fsCache=!1}}function Di(s,A){let I=_r(s,A,()=>{let R=s.opts.transform({...s.opts.transformOptions,babel:{...s.opts.sourceMaps?{sourceFileName:A.filename,sourceMaps:"inline"}:{},...s.opts.transformOptions?.babel},interopDefault:s.opts.interopDefault,...A});return R.error&&s.opts.debug&&Tn(s,R.error),R.code});return I.startsWith("#!")&&(I="// "+I),I}function Ni(s,A,I={}){let R=I.id||(I.filename?It(I.filename):`_jitiEval.${I.ext||(I.async?"mjs":"js")}`),Z=I.filename||Ei(s,R,{async:I.async}),fe=I.ext||gt(Z),ge=I.cache||s.parentCache||{},Ce=/\.[cm]?tsx?$/.test(fe),Ke=fe===".mjs"||fe===".js"&&(function(an){for(;an&&an!=="."&&an!=="/";){an=xn(an,"..");try{let li=(0,Zt.readFileSync)(xn(an,"package.json"),"utf8");try{return JSON.parse(li)}catch{}break}catch{}}})(Z)?.type==="module",tt=fe===".cjs",Je=I.forceTranspile??(!tt&&!(Ke&&I.async)&&(Ce||Ke||s.isTransformRe.test(Z)||Ln(A))),mt=Yi.performance.now();if(Je){A=Di(s,{filename:Z,source:A,ts:Ce,async:I.async??!1,jsx:s.opts.jsx});let an=Math.round(1e3*(Yi.performance.now()-mt))/1e3;Tn(s,"[transpile]",I.async?"[esm]":"[cjs]",Z,`(${an}ms)`)}else{if(Tn(s,"[native]",I.async?"[import]":"[require]",Z),I.async)return Promise.resolve(hi(s,Z,I.async)).catch(an=>(Tn(s,"Native import error:",an),Tn(s,"[fallback]",Z),Ni(s,A,{...I,forceTranspile:!0})));try{return hi(s,Z,I.async)}catch(an){Tn(s,"Native require error:",an),Tn(s,"[fallback]",Z),A=Di(s,{filename:Z,source:A,ts:Ce,async:I.async??!1,jsx:s.opts.jsx})}}let dt=new Wt.Module(Z);dt.filename=Z,s.parentModule&&(dt.parent=s.parentModule,Array.isArray(s.parentModule.children)&&!s.parentModule.children.includes(dt)&&s.parentModule.children.push(dt));let Rt=Xi(Z,s.opts,{parentModule:dt,parentCache:ge,nativeImport:s.nativeImport,onError:s.onError,createRequire:s.createRequire},!0),cn;dt.require=Rt,dt.path=_t(Z),dt.paths=Wt.Module._nodeModulePaths(dt.path),ge[Z]=dt,s.opts.moduleCache&&(s.nativeRequire.cache[Z]=dt);let Mt=(function(an,li){return`(${li?.async?"async ":""}function (exports, require, module, __filename, __dirname, jitiImport, jitiESMResolve) { ${an}
|
|
21
|
-
});`})(A,{async:I.async});try{cn=Pr().runInThisContext(Mt,{filename:Z,lineOffset:0,displayErrors:!1})}catch(an){an.name==="SyntaxError"&&I.async&&s.nativeImport?(Tn(s,"[esm]","[import]","[fallback]",Z),cn=(function(li,Oi){let ki=`data:text/javascript;base64,${Buffer.from(`export default ${li}`).toString("base64")}`;return(...ji)=>Oi(ki).then(Ai=>Ai.default(...ji))})(Mt,s.nativeImport)):(s.opts.moduleCache&&delete s.nativeRequire.cache[Z],s.onError(an))}let rn;try{rn=cn(dt.exports,dt.require,dt,dt.filename,_t(dt.filename),Rt.import,Rt.esmResolve)}catch(an){s.opts.moduleCache&&delete s.nativeRequire.cache[Z],s.onError(an)}function en(){if(dt.exports&&dt.exports.__JITI_ERROR__){let{filename:an,line:li,column:Oi,code:ki,message:ji}=dt.exports.__JITI_ERROR__,Ai=new Error(`${ki}: ${ji}
|
|
22
|
-
${`${an}:${li}:${Oi}`}`);Error.captureStackTrace(Ai,Ii),s.onError(Ai)}return dt.loaded=!0,oi(s,dt.exports)}return I.async?Promise.resolve(rn).then(en):en()}let Cr=(0,ee.platform)()==="win32";function Xi(s,A={},I,R=!1){let Z=R?A:(function(Mt){let rn={fsCache:ei("JITI_FS_CACHE",ei("JITI_CACHE",!0)),rebuildFsCache:ei("JITI_REBUILD_FS_CACHE",!1),moduleCache:ei("JITI_MODULE_CACHE",ei("JITI_REQUIRE_CACHE",!0)),debug:ei("JITI_DEBUG",!1),sourceMaps:ei("JITI_SOURCE_MAPS",!1),interopDefault:ei("JITI_INTEROP_DEFAULT",!0),extensions:di("JITI_EXTENSIONS",[".js",".mjs",".cjs",".ts",".tsx",".mts",".cts",".mtsx",".ctsx"]),alias:di("JITI_ALIAS",{}),nativeModules:di("JITI_NATIVE_MODULES",[]),transformModules:di("JITI_TRANSFORM_MODULES",[]),tryNative:di("JITI_TRY_NATIVE","Bun"in globalThis),jsx:ei("JITI_JSX",!1)};rn.jsx&&rn.extensions.push(".jsx",".tsx");let en={};return Mt.cache!==void 0&&(en.fsCache=Mt.cache),Mt.requireCache!==void 0&&(en.moduleCache=Mt.requireCache),{...rn,...en,...Mt}})(A),fe=Z.alias&&Object.keys(Z.alias).length>0?Fi(Z.alias||{}):void 0,ge=["typescript","jiti",...Z.nativeModules||[]],Ce=new RegExp(`node_modules/(${ge.map(Mt=>bi(Mt)).join("|")})/`),Ke=[...Z.transformModules||[]],tt=new RegExp(`node_modules/(${Ke.map(Mt=>bi(Mt)).join("|")})/`);s||(s=process.cwd()),!R&&Wi(s)&&(s=xn(s,"_index.js"));let Je=In(s),mt=[...Z.extensions].filter(Mt=>Mt!==".js"),dt=I.createRequire(Cr?s.replace(/\//g,"\\"):s),Rt={filename:s,url:Je,opts:Z,alias:fe,nativeModules:ge,transformModules:Ke,isNativeRe:Ce,isTransformRe:tt,additionalExts:mt,nativeRequire:dt,onError:I.onError,parentModule:I.parentModule,parentCache:I.parentCache,nativeImport:I.nativeImport,createRequire:I.createRequire};return R||Tn(Rt,"[init]",...[["version:",ar.rE],["module-cache:",Z.moduleCache],["fs-cache:",Z.fsCache],["rebuild-fs-cache:",Z.rebuildFsCache],["interop-defaults:",Z.interopDefault]].flat()),R||xr(Rt),Object.assign(function(Mt){return Ii(Rt,Mt,{async:!1})},{cache:Z.moduleCache?dt.cache:Object.create(null),extensions:dt.extensions,main:dt.main,options:Z,resolve:Object.assign(function(Mt){return Ei(Rt,Mt,{async:!1})},{paths:dt.resolve.paths}),transform:Mt=>Di(Rt,Mt),evalModule:(Mt,rn)=>Ni(Rt,Mt,rn),async import(Mt,rn){let en=await Ii(Rt,Mt,{...rn,async:!0});return rn?.default?en?.default??en:en},esmResolve(Mt,rn){typeof rn=="string"&&(rn={parentURL:rn});let en=Ei(Rt,Mt,{parentURL:Je,...rn,async:!0});return!en||typeof en!="string"||en.startsWith("file://")?en:In(en)}})}})(),Qi.exports=fi.default})()});var nr=Ji((Rr,tr)=>{"use strict";(()=>{var Qn={"./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js":function(ee,e,E){ee.exports=(function(r,l){"use strict";let d=i("",-1,-1,"",null,!1),t=[];function i(S,b,C,N,F,K){return{source:S,line:b,column:C,name:N,content:F,ignore:K}}function c(S,b,C,N,F){return{map:S,sources:b,source:C,content:N,ignore:F}}function v(S,b){return c(S,b,"",null,!1)}function T(S,b,C){return c(null,t,S,b,C)}function g(S){let b=new l.GenMapping({file:S.map.file}),{sources:C,map:N}=S,F=N.names,K=r.decodedMappings(N);for(let L=0;L<K.length;L++){let w=K[L];for(let O=0;O<w.length;O++){let z=w[O],te=z[0],$=d;if(z.length!==1&&($=p(C[z[1]],z[2],z[3],z.length===5?F[z[4]]:""),$==null))continue;let{column:D,line:W,name:q,content:re,source:le,ignore:ie}=$;l.maybeAddSegment(b,L,te,le,W,D,q),le&&re!=null&&l.setSourceContent(b,le,re),ie&&l.setIgnore(b,le,!0)}}return b}function p(S,b,C,N){if(!S.map)return i(S.source,b,C,N,S.content,S.ignore);let F=r.traceSegment(S.map,b,C);return F==null?null:F.length===1?d:p(S.sources[F[1]],F[2],F[3],F.length===5?S.map.names[F[4]]:N)}function h(S){return Array.isArray(S)?S:[S]}function u(S,b){let C=h(S).map(K=>new r.TraceMap(K,"")),N=C.pop();for(let K=0;K<C.length;K++)if(C[K].sources.length>1)throw new Error(`Transformation map ${K} must have exactly one source file.
|
|
23
|
-
Did you specify these with the most recent transformation maps first?`);let F=f(N,b,"",0);for(let K=C.length-1;K>=0;K--)F=v(C[K],[F]);return F}function f(S,b,C,N){let{resolvedSources:F,sourcesContent:K,ignoreList:L}=S,w=N+1;return v(S,F.map((O,z)=>{let te={importer:C,depth:w,source:O||"",content:void 0,ignore:void 0},$=b(te.source,te),{source:D,content:W,ignore:q}=te;return $?f(new r.TraceMap($,D),b,D,w):T(D,W!==void 0?W:K?K[z]:null,q!==void 0?q:!!L&&L.includes(z))}))}class y{constructor(b,C){let N=C.decodedMappings?l.toDecodedMap(b):l.toEncodedMap(b);this.version=N.version,this.file=N.file,this.mappings=N.mappings,this.names=N.names,this.ignoreList=N.ignoreList,this.sourceRoot=N.sourceRoot,this.sources=N.sources,C.excludeContent||(this.sourcesContent=N.sourcesContent)}toString(){return JSON.stringify(this)}}function P(S,b,C){let N=typeof C=="object"?C:{excludeContent:!!C,decodedMappings:!1},F=u(S,b);return new y(g(F),N)}return P})(E("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.29/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"),E("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.12/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"))},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/caching.js":(ee,e,E)=>{"use strict";function r(){let y=E("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return y},y}Object.defineProperty(e,"__esModule",{value:!0}),e.assertSimpleType=u,e.makeStrongCache=v,e.makeStrongCacheSync=function(y){return t(v(y))},e.makeWeakCache=c,e.makeWeakCacheSync=function(y){return t(c(y))};var l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/gensync-utils/async.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/util.js");let t=y=>r()(y).sync;function*i(){return!0}function c(y){return T(WeakMap,y)}function v(y){return T(Map,y)}function T(y,P){let S=new y,b=new y,C=new y;return function*(N,F){let K=yield*(0,l.isAsync)(),L=K?b:S,w=yield*(function*(D,W,q,re,le){let ie=yield*g(W,re,le);if(ie.valid)return ie;if(D){let M=yield*g(q,re,le);if(M.valid)return{valid:!0,value:yield*(0,l.waitFor)(M.value.promise)}}return{valid:!1,value:null}})(K,L,C,N,F);if(w.valid)return w.value;let O=new h(F),z=P(N,O),te,$;return $=(0,d.isIterableIterator)(z)?yield*(0,l.onFirstPause)(z,()=>{te=(function(D,W,q){let re=new f;return p(W,D,q,re),re})(O,C,N)}):z,p(L,O,N,$),te&&(C.delete(N),te.release($)),$}}function*g(y,P,S){let b=y.get(P);if(b){for(let{value:C,valid:N}of b)if(yield*N(S))return{valid:!0,value:C}}return{valid:!1,value:null}}function p(y,P,S,b){P.configured()||P.forever();let C=y.get(S);switch(P.deactivate(),P.mode()){case"forever":C=[{value:b,valid:i}],y.set(S,C);break;case"invalidate":C=[{value:b,valid:P.validator()}],y.set(S,C);break;case"valid":C?C.push({value:b,valid:P.validator()}):(C=[{value:b,valid:P.validator()}],y.set(S,C))}}class h{constructor(P){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=P}simple(){return(function(P){function S(b){if(typeof b!="boolean")return P.using(()=>u(b()));b?P.forever():P.never()}return S.forever=()=>P.forever(),S.never=()=>P.never(),S.using=b=>P.using(()=>u(b())),S.invalidate=b=>P.invalidate(()=>u(b())),S})(this)}mode(){return this._never?"never":this._forever?"forever":this._invalidate?"invalidate":"valid"}forever(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never)throw new Error("Caching has already been configured with .never()");this._forever=!0,this._configured=!0}never(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._forever)throw new Error("Caching has already been configured with .forever()");this._never=!0,this._configured=!0}using(P){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never||this._forever)throw new Error("Caching has already been configured with .never or .forever()");this._configured=!0;let S=P(this._data),b=(0,l.maybeAsync)(P,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,l.isThenable)(S)?S.then(C=>(this._pairs.push([C,b]),C)):(this._pairs.push([S,b]),S)}invalidate(P){return this._invalidate=!0,this.using(P)}validator(){let P=this._pairs;return function*(S){for(let[b,C]of P)if(b!==(yield*C(S)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}}function u(y){if((0,l.isThenable)(y))throw new Error("You appear to be using an async cache handler, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously handle your caching logic.");if(y!=null&&typeof y!="string"&&typeof y!="boolean"&&typeof y!="number")throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");return y}class f{constructor(){this.released=!1,this.promise=void 0,this._resolve=void 0,this.promise=new Promise(P=>{this._resolve=P})}release(P){this.released=!0,this._resolve(P)}}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/config-chain.js":(ee,e,E)=>{"use strict";function r(){let ce=E("path");return r=function(){return ce},ce}function l(){let ce=E("./node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js");return l=function(){return ce},ce}Object.defineProperty(e,"__esModule",{value:!0}),e.buildPresetChain=function*(ce,H){let me=yield*u(ce,H);return me?{plugins:U(me.plugins),presets:U(me.presets),options:me.options.map(Se=>G(Se)),files:new Set}:null},e.buildPresetChainWalker=void 0,e.buildRootChain=function*(ce,H){let me,Se,pe=new i.ConfigPrinter,j=yield*F({options:ce,dirname:H.cwd},H,void 0,pe);if(!j)return null;let Te=yield*pe.output(),De;typeof ce.configFile=="string"?De=yield*(0,T.loadConfig)(ce.configFile,H.cwd,H.envName,H.caller):ce.configFile!==!1&&(De=yield*(0,T.findRootConfig)(H.root,H.envName,H.caller));let{babelrc:Fe,babelrcRoots:Pe}=ce,ke=H.cwd,Oe=B(),We=new i.ConfigPrinter;if(De){let rt=b(De),Ve=yield*L(rt,H,void 0,We);if(!Ve)return null;me=yield*We.output(),Fe===void 0&&(Fe=rt.options.babelrc),Pe===void 0&&(ke=rt.dirname,Pe=rt.options.babelrcRoots),ie(Oe,Ve)}let Re,at,ut=!1,pt=B();if((Fe===!0||Fe===void 0)&&typeof H.filename=="string"){let rt=yield*(0,T.findPackageData)(H.filename);if(rt&&(function(Ve,Ne,ae,_e){if(typeof ae=="boolean")return ae;let $e=Ve.root;if(ae===void 0)return Ne.directories.includes($e);let st=ae;return Array.isArray(st)||(st=[st]),st=st.map(et=>typeof et=="string"?r().resolve(_e,et):et),st.length===1&&st[0]===$e?Ne.directories.includes($e):st.some(et=>(typeof et=="string"&&(et=(0,t.default)(et,_e)),Ne.directories.some(oe=>ve(et,_e,oe,Ve))))})(H,rt,Pe,ke)){if({ignore:Re,config:at}=yield*(0,T.findRelativeConfig)(rt,H.envName,H.caller),Re&&pt.files.add(Re.filepath),Re&&ye(H,Re.ignore,null,Re.dirname)&&(ut=!0),at&&!ut){let Ve=C(at),Ne=new i.ConfigPrinter,ae=yield*L(Ve,H,void 0,Ne);ae?(Se=yield*Ne.output(),ie(pt,ae)):ut=!0}at&&ut&&pt.files.add(at.filepath)}}H.showConfig&&console.log(`Babel configs on "${H.filename}" (ascending priority):
|
|
24
|
-
`+[me,Se,Te].filter(rt=>!!rt).join(`
|
|
25
|
-
|
|
26
|
-
`)+`
|
|
27
|
-
-----End Babel configs-----`);let qe=ie(ie(ie(B(),Oe),pt),j);return{plugins:ut?[]:U(qe.plugins),presets:ut?[]:U(qe.presets),options:ut?[]:qe.options.map(rt=>G(rt)),fileHandling:ut?"ignored":"transpile",ignore:Re||void 0,babelrc:at||void 0,config:De||void 0,files:qe.files}};var d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/validation/options.js"),t=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/pattern-to-regex.js"),i=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/printer.js"),c=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),v=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/config-error.js"),T=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/index.js"),g=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/caching.js"),p=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/config-descriptors.js");let h=l()("babel:config:config-chain"),u=e.buildPresetChainWalker=re({root:ce=>f(ce),env:(ce,H)=>y(ce)(H),overrides:(ce,H)=>P(ce)(H),overridesEnv:(ce,H,me)=>S(ce)(H)(me),createLogger:()=>()=>{}}),f=(0,g.makeWeakCacheSync)(ce=>$(ce,ce.alias,p.createUncachedDescriptors)),y=(0,g.makeWeakCacheSync)(ce=>(0,g.makeStrongCacheSync)(H=>D(ce,ce.alias,p.createUncachedDescriptors,H))),P=(0,g.makeWeakCacheSync)(ce=>(0,g.makeStrongCacheSync)(H=>W(ce,ce.alias,p.createUncachedDescriptors,H))),S=(0,g.makeWeakCacheSync)(ce=>(0,g.makeStrongCacheSync)(H=>(0,g.makeStrongCacheSync)(me=>q(ce,ce.alias,p.createUncachedDescriptors,H,me)))),b=(0,g.makeWeakCacheSync)(ce=>({filepath:ce.filepath,dirname:ce.dirname,options:(0,d.validate)("configfile",ce.options,ce.filepath)})),C=(0,g.makeWeakCacheSync)(ce=>({filepath:ce.filepath,dirname:ce.dirname,options:(0,d.validate)("babelrcfile",ce.options,ce.filepath)})),N=(0,g.makeWeakCacheSync)(ce=>({filepath:ce.filepath,dirname:ce.dirname,options:(0,d.validate)("extendsfile",ce.options,ce.filepath)})),F=re({root:ce=>$(ce,"base",p.createCachedDescriptors),env:(ce,H)=>D(ce,"base",p.createCachedDescriptors,H),overrides:(ce,H)=>W(ce,"base",p.createCachedDescriptors,H),overridesEnv:(ce,H,me)=>q(ce,"base",p.createCachedDescriptors,H,me),createLogger:(ce,H,me)=>(function(Se,pe,j){var Te;return j?j.configure(pe.showConfig,i.ChainFormatter.Programmatic,{callerName:(Te=pe.caller)==null?void 0:Te.name}):()=>{}})(0,H,me)}),K=re({root:ce=>w(ce),env:(ce,H)=>O(ce)(H),overrides:(ce,H)=>z(ce)(H),overridesEnv:(ce,H,me)=>te(ce)(H)(me),createLogger:(ce,H,me)=>(function(Se,pe,j){return j?j.configure(pe.showConfig,i.ChainFormatter.Config,{filepath:Se}):()=>{}})(ce.filepath,H,me)});function*L(ce,H,me,Se){let pe=yield*K(ce,H,me,Se);return pe?.files.add(ce.filepath),pe}let w=(0,g.makeWeakCacheSync)(ce=>$(ce,ce.filepath,p.createUncachedDescriptors)),O=(0,g.makeWeakCacheSync)(ce=>(0,g.makeStrongCacheSync)(H=>D(ce,ce.filepath,p.createUncachedDescriptors,H))),z=(0,g.makeWeakCacheSync)(ce=>(0,g.makeStrongCacheSync)(H=>W(ce,ce.filepath,p.createUncachedDescriptors,H))),te=(0,g.makeWeakCacheSync)(ce=>(0,g.makeStrongCacheSync)(H=>(0,g.makeStrongCacheSync)(me=>q(ce,ce.filepath,p.createUncachedDescriptors,H,me))));function $({dirname:ce,options:H},me,Se){return Se(ce,H,me)}function D({dirname:ce,options:H},me,Se,pe){var j;let Te=(j=H.env)==null?void 0:j[pe];return Te?Se(ce,Te,`${me}.env["${pe}"]`):null}function W({dirname:ce,options:H},me,Se,pe){var j;let Te=(j=H.overrides)==null?void 0:j[pe];if(!Te)throw new Error("Assertion failure - missing override");return Se(ce,Te,`${me}.overrides[${pe}]`)}function q({dirname:ce,options:H},me,Se,pe,j){var Te,De;let Fe=(Te=H.overrides)==null?void 0:Te[pe];if(!Fe)throw new Error("Assertion failure - missing override");let Pe=(De=Fe.env)==null?void 0:De[j];return Pe?Se(ce,Pe,`${me}.overrides[${pe}].env["${j}"]`):null}function re({root:ce,env:H,overrides:me,overridesEnv:Se,createLogger:pe}){return function*(j,Te,De=new Set,Fe){let{dirname:Pe}=j,ke=[],Oe=ce(j);if(Q(Oe,Pe,Te,j.filepath)){ke.push({config:Oe,envName:void 0,index:void 0});let at=H(j,Te.envName);at&&Q(at,Pe,Te,j.filepath)&&ke.push({config:at,envName:Te.envName,index:void 0}),(Oe.options.overrides||[]).forEach((ut,pt)=>{let qe=me(j,pt);if(Q(qe,Pe,Te,j.filepath)){ke.push({config:qe,index:pt,envName:void 0});let rt=Se(j,pt,Te.envName);rt&&Q(rt,Pe,Te,j.filepath)&&ke.push({config:rt,index:pt,envName:Te.envName})}})}if(ke.some(({config:{options:{ignore:at,only:ut}}})=>ye(Te,at,ut,Pe)))return null;let We=B(),Re=pe(j,Te,Fe);for(let{config:at,index:ut,envName:pt}of ke){if(!(yield*le(We,at.options,Pe,Te,De,Fe)))return null;Re(at,ut,pt),yield*M(We,at)}return We}}function*le(ce,H,me,Se,pe,j){if(H.extends===void 0)return!0;let Te=yield*(0,T.loadConfig)(H.extends,me,Se.envName,Se.caller);if(pe.has(Te))throw new Error(`Configuration cycle detected loading ${Te.filepath}.
|
|
28
|
-
File already loaded following the config chain:
|
|
29
|
-
`+Array.from(pe,Fe=>` - ${Fe.filepath}`).join(`
|
|
30
|
-
`));pe.add(Te);let De=yield*L(N(Te),Se,pe,j);return pe.delete(Te),!!De&&(ie(ce,De),!0)}function ie(ce,H){ce.options.push(...H.options),ce.plugins.push(...H.plugins),ce.presets.push(...H.presets);for(let me of H.files)ce.files.add(me);return ce}function*M(ce,{options:H,plugins:me,presets:Se}){return ce.options.push(H),ce.plugins.push(...yield*me()),ce.presets.push(...yield*Se()),ce}function B(){return{options:[],presets:[],plugins:[],files:new Set}}function G(ce){let H=Object.assign({},ce);return delete H.extends,delete H.env,delete H.overrides,delete H.plugins,delete H.presets,delete H.passPerPreset,delete H.ignore,delete H.only,delete H.test,delete H.include,delete H.exclude,hasOwnProperty.call(H,"sourceMap")&&(H.sourceMaps=H.sourceMap,delete H.sourceMap),H}function U(ce){let H=new Map,me=[];for(let Se of ce)if(typeof Se.value=="function"){let pe=Se.value,j=H.get(pe);j||(j=new Map,H.set(pe,j));let Te=j.get(Se.name);Te?Te.value=Se:(Te={value:Se},me.push(Te),Se.ownPass||j.set(Se.name,Te))}else me.push({value:Se});return me.reduce((Se,pe)=>(Se.push(pe.value),Se),[])}function Q({options:ce},H,me,Se){return(ce.test===void 0||de(me,ce.test,H,Se))&&(ce.include===void 0||de(me,ce.include,H,Se))&&(ce.exclude===void 0||!de(me,ce.exclude,H,Se))}function de(ce,H,me,Se){return we(ce,Array.isArray(H)?H:[H],me,Se)}function se(ce,H){return H instanceof RegExp?String(H):H}function ye(ce,H,me,Se){if(H&&we(ce,H,Se)){var pe;let Te=`No config is applied to "${(pe=ce.filename)!=null?pe:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(H,se)}\` from "${Se}"`;return h(Te),ce.showConfig&&console.log(Te),!0}if(me&&!we(ce,me,Se)){var j;let Te=`No config is applied to "${(j=ce.filename)!=null?j:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(me,se)}\` from "${Se}"`;return h(Te),ce.showConfig&&console.log(Te),!0}return!1}function we(ce,H,me,Se){return H.some(pe=>ve(pe,me,ce.filename,ce,Se))}function ve(ce,H,me,Se,pe){if(typeof ce=="function")return!!(0,c.endHiddenCallStack)(ce)(me,{dirname:H,envName:Se.envName,caller:Se.caller});if(typeof me!="string")throw new v.default("Configuration contains string/RegExp pattern, but no filename was passed to Babel",pe);return typeof ce=="string"&&(ce=(0,t.default)(ce,H)),ce.test(me)}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/config-descriptors.js":(ee,e,E)=>{"use strict";function r(){let N=E("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return N},N}Object.defineProperty(e,"__esModule",{value:!0}),e.createCachedDescriptors=function(N,F,K){let{plugins:L,presets:w,passPerPreset:O}=F;return{options:T(F,N),plugins:L?()=>u(L,N)(K):()=>v([]),presets:w?()=>p(w,N)(K)(!!O):()=>v([])}},e.createDescriptor=C,e.createUncachedDescriptors=function(N,F,K){return{options:T(F,N),plugins:(0,l.once)(()=>S(F.plugins||[],N,K)),presets:(0,l.once)(()=>P(F.presets||[],N,K,!!F.passPerPreset))}};var l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/gensync-utils/functional.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/index.js"),t=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/item.js"),i=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/caching.js"),c=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/resolve-targets.js");function*v(N){return N}function T(N,F){return typeof N.browserslistConfigFile=="string"&&(N.browserslistConfigFile=(0,c.resolveBrowserslistConfigFile)(N.browserslistConfigFile,F)),N}let g=new WeakMap,p=(0,i.makeWeakCacheSync)((N,F)=>{let K=F.using(L=>L);return(0,i.makeStrongCacheSync)(L=>(0,i.makeStrongCache)(function*(w){return(yield*P(N,K,L,w)).map(O=>y(g,O))}))}),h=new WeakMap,u=(0,i.makeWeakCacheSync)((N,F)=>{let K=F.using(L=>L);return(0,i.makeStrongCache)(function*(L){return(yield*S(N,K,L)).map(w=>y(h,w))})}),f={};function y(N,F){let{value:K,options:L=f}=F;if(L===!1)return F;let w=N.get(K);w||(w=new WeakMap,N.set(K,w));let O=w.get(L);if(O||(O=[],w.set(L,O)),!O.includes(F)){let z=O.filter(te=>{return D=F,($=te).name===D.name&&$.value===D.value&&$.options===D.options&&$.dirname===D.dirname&&$.alias===D.alias&&$.ownPass===D.ownPass&&((W=$.file)==null?void 0:W.request)===((q=D.file)==null?void 0:q.request)&&((re=$.file)==null?void 0:re.resolved)===((le=D.file)==null?void 0:le.resolved);var $,D,W,q,re,le});if(z.length>0)return z[0];O.push(F)}return F}function*P(N,F,K,L){return yield*b("preset",N,F,K,L)}function*S(N,F,K){return yield*b("plugin",N,F,K)}function*b(N,F,K,L,w){let O=yield*r().all(F.map((z,te)=>C(z,K,{type:N,alias:`${L}$${te}`,ownPass:!!w})));return(function(z){let te=new Map;for(let $ of z){if(typeof $.value!="function")continue;let D=te.get($.value);if(D||(D=new Set,te.set($.value,D)),D.has($.name)){let W=z.filter(q=>q.value===$.value);throw new Error(["Duplicate plugin/preset detected.","If you'd like to use two separate instances of a plugin,","they need separate names, e.g.",""," plugins: ["," ['some-plugin', {}],"," ['some-plugin', {}, 'some unique name'],"," ]","","Duplicates detected are:",`${JSON.stringify(W,null,2)}`].join(`
|
|
31
|
-
`))}D.add($.name)}})(O),O}function*C(N,F,{type:K,alias:L,ownPass:w}){let O=(0,t.getItemDescriptor)(N);if(O)return O;let z,te,$,D=N;Array.isArray(D)&&(D.length===3?[D,te,z]=D:[D,te]=D);let W=null;if(typeof D=="string"){if(typeof K!="string")throw new Error("To resolve a string-based item, the type of item must be given");let q=K==="plugin"?d.loadPlugin:d.loadPreset,re=D;({filepath:W,value:D}=yield*q(D,F)),$={request:re,resolved:W}}if(!D)throw new Error(`Unexpected falsy value: ${String(D)}`);if(typeof D=="object"&&D.__esModule){if(!D.default)throw new Error("Must export a default export when using ES6 modules.");D=D.default}if(typeof D!="object"&&typeof D!="function")throw new Error(`Unsupported format: ${typeof D}. Expected an object or a function.`);if(W!==null&&typeof D=="object"&&D)throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${W}`);return{name:z,alias:W||L,value:D,options:te,dirname:F,ownPass:w,file:$}}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files lazy recursive":ee=>{function e(E){return Promise.resolve().then(()=>{var r=new Error("Cannot find module '"+E+"'");throw r.code="MODULE_NOT_FOUND",r})}e.keys=()=>[],e.resolve=e,e.id="./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files lazy recursive",ee.exports=e},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files sync recursive":ee=>{function e(E){var r=new Error("Cannot find module '"+E+"'");throw r.code="MODULE_NOT_FOUND",r}e.keys=()=>[],e.resolve=e,e.id="./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files sync recursive",ee.exports=e},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/configuration.js":(ee,e,E)=>{"use strict";function r(){let $=E("./node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js");return r=function(){return $},$}function l(){let $=E("fs");return l=function(){return $},$}function d(){let $=E("path");return d=function(){return $},$}function t(){let $=E("./node_modules/.pnpm/json5@2.2.3/node_modules/json5/dist/index.mjs");return t=function(){return $},$}function i(){let $=E("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return i=function(){return $},$}Object.defineProperty(e,"__esModule",{value:!0}),e.ROOT_CONFIG_FILENAMES=void 0,e.findConfigUpwards=function($){let D=$;for(;;){for(let q of S)if(l().existsSync(d().join(D,q)))return D;let W=d().dirname(D);if(D===W)break;D=W}return null},e.findRelativeConfig=function*($,D,W){let q=null,re=null,le=d().dirname($.filepath);for(let M of $.directories){var ie;if(q||(q=yield*z(b,M,D,W,((ie=$.pkg)==null?void 0:ie.dirname)===M?L($.pkg):null)),!re){let B=d().join(M,C);re=yield*O(B),re&&P("Found ignore %o from %o.",re.filepath,le)}}return{config:q,ignore:re}},e.findRootConfig=function($,D,W){return z(S,$,D,W)},e.loadConfig=function*($,D,W,q){let re=(ie=process.versions.node,M="8.9",ie=ie.split("."),M=M.split("."),+ie[0]>+M[0]||ie[0]==M[0]&&+ie[1]>=+M[1]?E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files sync recursive").resolve:(B,{paths:[G]},U=E("module"))=>{let Q=U._findPath(B,U._nodeModulePaths(G).concat(G));if(Q)return Q;throw Q=new Error(`Cannot resolve module '${B}'`),Q.code="MODULE_NOT_FOUND",Q})($,{paths:[D]}),le=yield*te(re,W,q);var ie,M;if(!le)throw new h.default("Config file contains no configuration data",re);return P("Loaded config %o from %o.",$,D),le},e.resolveShowConfigPath=function*($){let D=process.env.BABEL_SHOW_CONFIG_FOR;if(D!=null){let W=d().resolve($,D);if(!(yield*u.stat(W)).isFile())throw new Error(`${W}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`);return W}return null};var c=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/caching.js"),v=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/helpers/config-api.js"),T=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/utils.js"),g=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/module-types.js"),p=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/pattern-to-regex.js"),h=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/config-error.js"),u=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/gensync-utils/fs.js");E("module");var f=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),y=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/gensync-utils/async.js");let P=r()("babel:config:loading:files:configuration"),S=e.ROOT_CONFIG_FILENAMES=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts","babel.config.ts","babel.config.mts"],b=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"],C=".babelignore",N=(0,c.makeWeakCache)(function*($,D){return yield*[],{options:(0,f.endHiddenCallStack)($)((0,v.makeConfigAPI)(D)),cacheNeedsConfiguration:!D.configured()}});function*F($,D){if(!l().existsSync($))return null;let W=yield*(0,g.default)($,(yield*(0,y.isAsync)())?"auto":"require","You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously or when using the Node.js `--experimental-require-module` flag.","You appear to be using a configuration file that contains top-level await, which is only supported when running Babel asynchronously."),q=!1;if(typeof W=="function"&&({options:W,cacheNeedsConfiguration:q}=yield*N(W,D)),!W||typeof W!="object"||Array.isArray(W))throw new h.default("Configuration should be an exported JavaScript object.",$);if(typeof W.then=="function")throw W.catch==null||W.catch(()=>{}),new h.default("You appear to be using an async configuration, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously return your config.",$);return q&&(function(re){throw new h.default(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured
|
|
32
|
-
for various types of caching, using the first param of their handler functions:
|
|
33
|
-
|
|
34
|
-
module.exports = function(api) {
|
|
35
|
-
// The API exposes the following:
|
|
36
|
-
|
|
37
|
-
// Cache the returned value forever and don't call this function again.
|
|
38
|
-
api.cache(true);
|
|
39
|
-
|
|
40
|
-
// Don't cache at all. Not recommended because it will be very slow.
|
|
41
|
-
api.cache(false);
|
|
42
|
-
|
|
43
|
-
// Cached based on the value of some function. If this function returns a value different from
|
|
44
|
-
// a previously-encountered value, the plugins will re-evaluate.
|
|
45
|
-
var env = api.cache(() => process.env.NODE_ENV);
|
|
46
|
-
|
|
47
|
-
// If testing for a specific env, we recommend specifics to avoid instantiating a plugin for
|
|
48
|
-
// any possible NODE_ENV value that might come up during plugin execution.
|
|
49
|
-
var isProd = api.cache(() => process.env.NODE_ENV === "production");
|
|
50
|
-
|
|
51
|
-
// .cache(fn) will perform a linear search though instances to find the matching plugin based
|
|
52
|
-
// based on previous instantiated plugins. If you want to recreate the plugin and discard the
|
|
53
|
-
// previous instance whenever something changes, you may use:
|
|
54
|
-
var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");
|
|
55
|
-
|
|
56
|
-
// Note, we also expose the following more-verbose versions of the above examples:
|
|
57
|
-
api.cache.forever(); // api.cache(true)
|
|
58
|
-
api.cache.never(); // api.cache(false)
|
|
59
|
-
api.cache.using(fn); // api.cache(fn)
|
|
60
|
-
|
|
61
|
-
// Return the value that will be cached.
|
|
62
|
-
return { };
|
|
63
|
-
};`,re)})($),(function(re,le){let ie=K.get(re);ie||K.set(re,ie=new Map);let M=ie.get(le);return M||(M={filepath:le,dirname:d().dirname(le),options:re},ie.set(le,M)),M})(W,$)}let K=new WeakMap,L=(0,c.makeWeakCacheSync)($=>{let D=$.options.babel;if(D===void 0)return null;if(typeof D!="object"||Array.isArray(D)||D===null)throw new h.default(".babel property must be an object",$.filepath);return{filepath:$.filepath,dirname:$.dirname,options:D}}),w=(0,T.makeStaticFileCache)(($,D)=>{let W;try{W=t().parse(D)}catch(q){throw new h.default(`Error while parsing config - ${q.message}`,$)}if(!W)throw new h.default("No config detected",$);if(typeof W!="object")throw new h.default("Config returned typeof "+typeof W,$);if(Array.isArray(W))throw new h.default("Expected config object but found array",$);return delete W.$schema,{filepath:$,dirname:d().dirname($),options:W}}),O=(0,T.makeStaticFileCache)(($,D)=>{let W=d().dirname($),q=D.split(`
|
|
64
|
-
`).map(re=>re.replace(/#.*$/,"").trim()).filter(Boolean);for(let re of q)if(re[0]==="!")throw new h.default("Negation of file paths is not supported.",$);return{filepath:$,dirname:d().dirname($),ignore:q.map(re=>(0,p.default)(re,W))}});function*z($,D,W,q,re=null){let le=(yield*i().all($.map(ie=>te(d().join(D,ie),W,q)))).reduce((ie,M)=>{if(M&&ie)throw new h.default(`Multiple configuration files found. Please remove one:
|
|
65
|
-
- ${d().basename(ie.filepath)}
|
|
66
|
-
- ${M.filepath}
|
|
67
|
-
from ${D}`);return M||ie},re);return le&&P("Found configuration %o from %o.",le.filepath,D),le}function te($,D,W){switch(d().extname($)){case".js":case".cjs":case".mjs":case".ts":case".cts":case".mts":return F($,{envName:D,caller:W});default:return w($)}}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/import.cjs":(ee,e,E)=>{ee.exports=function(r){return E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files lazy recursive")(r)}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ROOT_CONFIG_FILENAMES",{enumerable:!0,get:function(){return l.ROOT_CONFIG_FILENAMES}}),Object.defineProperty(e,"findConfigUpwards",{enumerable:!0,get:function(){return l.findConfigUpwards}}),Object.defineProperty(e,"findPackageData",{enumerable:!0,get:function(){return r.findPackageData}}),Object.defineProperty(e,"findRelativeConfig",{enumerable:!0,get:function(){return l.findRelativeConfig}}),Object.defineProperty(e,"findRootConfig",{enumerable:!0,get:function(){return l.findRootConfig}}),Object.defineProperty(e,"loadConfig",{enumerable:!0,get:function(){return l.loadConfig}}),Object.defineProperty(e,"loadPlugin",{enumerable:!0,get:function(){return d.loadPlugin}}),Object.defineProperty(e,"loadPreset",{enumerable:!0,get:function(){return d.loadPreset}}),Object.defineProperty(e,"resolvePlugin",{enumerable:!0,get:function(){return d.resolvePlugin}}),Object.defineProperty(e,"resolvePreset",{enumerable:!0,get:function(){return d.resolvePreset}}),Object.defineProperty(e,"resolveShowConfigPath",{enumerable:!0,get:function(){return l.resolveShowConfigPath}});var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/package.js"),l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/configuration.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/plugins.js")},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/module-types.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function*(L,w,O,z){let te,$=l().extname(L),D=$===".ts"||$===".cts"||$===".mts",W=C[hasOwnProperty.call(C,$)?$:".js"];switch(`${w} ${W}`){case"require cjs":case"auto cjs":return D?F(L,$,()=>f(L)):f(L,arguments[2]);case"auto unknown":case"require unknown":case"require esm":try{return D?F(L,$,()=>f(L)):f(L,arguments[2])}catch(q){if(q.code==="ERR_REQUIRE_ASYNC_MODULE"||q.code==="ERR_REQUIRE_CYCLE_MODULE"&&N.has(L)){if(N.add(L),!(te??(te=yield*(0,r.isAsync)())))throw new v.default(z,L)}else if(q.code!=="ERR_REQUIRE_ESM"&&W!=="esm")throw q}case"auto esm":if(te??(te=yield*(0,r.isAsync)())){let q=D?F(L,$,()=>y(L)):y(L);return(yield*(0,r.waitFor)(q)).default}throw D?new v.default(b($),L):new v.default(O,L);default:throw new Error("Internal Babel error: unreachable code.")}},e.supportsESM=void 0;var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/gensync-utils/async.js");function l(){let L=E("path");return l=function(){return L},L}function d(){let L=E("url");return d=function(){return L},L}function t(){let L=E("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return t=function(){return L},L}function i(){let L=E("./node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js");return i=function(){return L},L}E("module");var c=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),v=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/config-error.js"),T=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transform-file.js");function g(L,w,O,z,te,$,D){try{var W=L[$](D),q=W.value}catch(re){return void O(re)}W.done?w(q):Promise.resolve(q).then(z,te)}let p=i()("babel:config:loading:files:module-types");try{var h=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/import.cjs")}catch{}e.supportsESM=t().satisfies(process.versions.node,"^12.17 || >=13.2");let u=new Set;function f(L){if(u.has(L))return p("Auto-ignoring usage of config %o.",L),{};let w;try{u.add(L),w=(0,c.endHiddenCallStack)(E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files sync recursive"))(L)}finally{u.delete(L)}return w==null||!w.__esModule&&w[Symbol.toStringTag]!=="Module"?w:w.default||(arguments[1]?w:void 0)}let y=(0,c.endHiddenCallStack)((P=function*(L){let w=(0,d().pathToFileURL)(L).toString()+"?import";if(!h)throw new v.default(`Internal error: Native ECMAScript modules aren't supported by this platform.
|
|
68
|
-
`,L);return yield h(w)},S=function(){var L=this,w=arguments;return new Promise(function(O,z){var te=P.apply(L,w);function $(W){g(te,O,z,$,D,"next",W)}function D(W){g(te,O,z,$,D,"throw",W)}$(void 0)})},function(L){return S.apply(this,arguments)}));var P,S;let b=L=>`You are using a ${L} config file, but Babel only supports transpiling .cts configs. Either:
|
|
69
|
-
- Use a .cts config file
|
|
70
|
-
- Update to Node.js 23.6.0, which has native TypeScript support
|
|
71
|
-
- Install tsx to transpile ${L} files on the fly`,C={".js":"unknown",".mjs":"esm",".cjs":"cjs",".ts":"unknown",".mts":"esm",".cts":"cjs"},N=new Set;function F(L,w,O){if(process.features.typescript||E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[".ts"]||E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[".cts"]||E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[".mts"])return O();if(w!==".cts")throw new v.default(b(w),L);let z={babelrc:!1,configFile:!1,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:l().basename(L),presets:[[K(L),Object.assign({onlyRemoveTypeImports:!0,optimizeConstEnums:!0},{allowDeclareFields:!0})]]},te=function($,D){if(te&&D.endsWith(".cts"))try{return $._compile((0,T.transformFileSync)(D,Object.assign({},z,{filename:D})).code,D)}catch(W){let q=E("./node_modules/.pnpm/@babel+preset-typescript@7.27.1_@babel+core@7.28.0/node_modules/@babel/preset-typescript/package.json");throw t().lt(q.version,"7.21.4")&&console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`."),W}return E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[".js"]($,D)};E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[w]=te;try{return O()}finally{E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[w]===te&&delete E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[w],te=void 0}}function K(L){try{return E("./node_modules/.pnpm/@babel+preset-typescript@7.27.1_@babel+core@7.28.0/node_modules/@babel/preset-typescript/lib/index.js")}catch(w){if(w.code!=="MODULE_NOT_FOUND")throw w;let O="You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!";throw process.versions.pnp&&(O+=`
|
|
72
|
-
If you are using Yarn Plug'n'Play, you may also need to add the following configuration to your .yarnrc.yml file:
|
|
73
|
-
|
|
74
|
-
packageExtensions:
|
|
75
|
-
"@babel/core@*":
|
|
76
|
-
peerDependencies:
|
|
77
|
-
"@babel/preset-typescript": "*"
|
|
78
|
-
`),new v.default(O,L)}}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/package.js":(ee,e,E)=>{"use strict";function r(){let c=E("path");return r=function(){return c},c}Object.defineProperty(e,"__esModule",{value:!0}),e.findPackageData=function*(c){let v=null,T=[],g=!0,p=r().dirname(c);for(;!v&&r().basename(p)!=="node_modules";){T.push(p),v=yield*i(r().join(p,t));let h=r().dirname(p);if(p===h){g=!1;break}p=h}return{filepath:c,directories:T,pkg:v,isPackage:g}};var l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/utils.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/config-error.js");let t="package.json",i=(0,l.makeStaticFileCache)((c,v)=>{let T;try{T=JSON.parse(v)}catch(g){throw new d.default(`Error while parsing JSON - ${g.message}`,c)}if(!T)throw new Error(`${c}: No config detected`);if(typeof T!="object")throw new d.default("Config returned typeof "+typeof T,c);if(Array.isArray(T))throw new d.default("Expected config object but found array",c);return{filepath:c,dirname:r().dirname(c),options:T}})},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/plugins.js":(ee,e,E)=>{"use strict";function r(){let $=E("./node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js");return r=function(){return $},$}function l(){let $=E("path");return l=function(){return $},$}Object.defineProperty(e,"__esModule",{value:!0}),e.loadPlugin=function*($,D){let{filepath:W,loader:q}=b($,D,yield*(0,d.isAsync)()),re=yield*te("plugin",q,W);return T("Loaded plugin %o from %o.",$,D),{filepath:W,value:re}},e.loadPreset=function*($,D){let{filepath:W,loader:q}=C($,D,yield*(0,d.isAsync)()),re=yield*te("preset",q,W);return T("Loaded preset %o from %o.",$,D),{filepath:W,value:re}},e.resolvePreset=e.resolvePlugin=void 0;var d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/gensync-utils/async.js"),t=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/module-types.js");function i(){let $=E("url");return i=function(){return $},$}var c=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/vendor/import-meta-resolve.js");function v(){let $=E("fs");return v=function(){return $},$}E("module");let T=r()("babel:config:loading:files:plugins"),g=/^module:/,p=/^(?!@|module:|[^/]+\/|babel-plugin-)/,h=/^(?!@|module:|[^/]+\/|babel-preset-)/,u=/^(@babel\/)(?!plugin-|[^/]+\/)/,f=/^(@babel\/)(?!preset-|[^/]+\/)/,y=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/,P=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/,S=/^(@(?!babel$)[^/]+)$/,b=e.resolvePlugin=O.bind(null,"plugin"),C=e.resolvePreset=O.bind(null,"preset");function N($,D){if(l().isAbsolute(D))return D;let W=$==="preset";return D.replace(W?h:p,`babel-${$}-`).replace(W?f:u,`$1${$}-`).replace(W?P:y,`$1babel-${$}-`).replace(S,`$1/babel-${$}`).replace(g,"")}function*F($,D){let W=N($,D),{error:q,value:re}=yield W;if(!q)return re;if(q.code!=="MODULE_NOT_FOUND")throw q;W===D||(yield D).error||(q.message+=`
|
|
79
|
-
- If you want to resolve "${D}", use "module:${D}"`),(yield N($,"@babel/"+D)).error||(q.message+=`
|
|
80
|
-
- Did you mean "@babel/${D}"?`);let le=$==="preset"?"plugin":"preset";if((yield N(le,D)).error||(q.message+=`
|
|
81
|
-
- Did you accidentally pass a ${le} as a ${$}?`),$==="plugin"){let ie=W.replace("-proposal-","-transform-");ie===W||(yield ie).error||(q.message+=`
|
|
82
|
-
- Did you mean "${ie}"?`)}throw q.message+=`
|
|
83
|
-
|
|
84
|
-
Make sure that all the Babel plugins and presets you are using
|
|
85
|
-
are defined as dependencies or devDependencies in your package.json
|
|
86
|
-
file. It's possible that the missing plugin is loaded by a preset
|
|
87
|
-
you are using that forgot to add the plugin to its dependencies: you
|
|
88
|
-
can workaround this problem by explicitly adding the missing package
|
|
89
|
-
to your top-level package.json.
|
|
90
|
-
`,q}function K($,D){try{return D?{error:null,value:(W=process.versions.node,q="8.9",W=W.split("."),q=q.split("."),+W[0]>+q[0]||W[0]==q[0]&&+W[1]>=+q[1]?E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files sync recursive").resolve:(re,{paths:[le]},ie=E("module"))=>{let M=ie._findPath(re,ie._nodeModulePaths(le).concat(le));if(M)return M;throw M=new Error(`Cannot resolve module '${re}'`),M.code="MODULE_NOT_FOUND",M})($,{paths:[D]})}:{error:null,value:E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files sync recursive").resolve($)}}catch(re){return{error:re,value:null}}var W,q}function L($,D){try{return{error:null,value:(0,c.resolve)($,D)}}catch(W){return{error:W,value:null}}}function w($,D,W){let q=F($,D),re=q.next();for(;!re.done;)re=q.next(K(re.value,W));return{loader:"require",filepath:re.value}}function O($,D,W,q){if(!t.supportsESM||!q)return w($,D,W);try{let re=(function(le,ie,M){let B=(0,i().pathToFileURL)(l().join(M,"./babel-virtual-resolve-base.js")).href,G=F(le,ie),U=G.next();for(;!U.done;)U=G.next(L(U.value,B));return{loader:"auto",filepath:(0,i().fileURLToPath)(U.value)}})($,D,W);if(!(0,v().existsSync)(re.filepath))throw Object.assign(new Error(`Could not resolve "${D}" in file ${W}.`),{type:"MODULE_NOT_FOUND"});return re}catch(re){try{return w($,D,W)}catch(le){throw re.type==="MODULE_NOT_FOUND"?re:le.type==="MODULE_NOT_FOUND"?le:re}}}var z=new Set;function*te($,D,W){if(!(yield*(0,d.isAsync)())&&z.has(W))throw new Error(`Reentrant ${$} detected trying to load "${W}". This module is not ignored and is trying to load itself while compiling itself, leading to a dependency cycle. We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.`);try{return z.add(W),yield*(0,t.default)(W,D,`You appear to be using a native ECMAScript module ${$}, which is only supported when running Babel asynchronously or when using the Node.js \`--experimental-require-module\` flag.`,`You appear to be using a ${$} that contains top-level await, which is only supported when running Babel asynchronously.`,!0)}catch(q){throw q.message=`[BABEL]: ${q.message} (While processing: ${W})`,q}finally{z.delete(W)}}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/utils.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.makeStaticFileCache=function(t){return(0,r.makeStrongCache)(function*(i,c){return c.invalidate(()=>(function(T){if(!d().existsSync(T))return null;try{return+d().statSync(T).mtime}catch(g){if(g.code!=="ENOENT"&&g.code!=="ENOTDIR")throw g}return null})(i))===null?null:t(i,yield*l.readFile(i,"utf8"))})};var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/caching.js"),l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/gensync-utils/fs.js");function d(){let t=E("fs");return d=function(){return t},t}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/full.js":(ee,e,E)=>{"use strict";function r(){let D=E("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return D},D}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/gensync-utils/async.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/util.js"),t=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),i=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/plugin.js"),c=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/item.js"),v=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/config-chain.js"),T=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/helpers/deep-array.js");function g(){let D=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js");return g=function(){return D},D}var p=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/caching.js"),h=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/validation/options.js"),u=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/validation/plugins.js"),f=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/helpers/config-api.js"),y=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/partial.js"),P=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/config-error.js");e.default=r()(function*(D){var W;let q=yield*(0,y.default)(D);if(!q)return null;let{options:re,context:le,fileHandling:ie}=q;if(ie==="ignored")return null;let M={},{plugins:B,presets:G}=re;if(!B||!G)throw new Error("Assertion failure - plugins and presets exist");let U=Object.assign({},le,{targets:re.targets}),Q=Se=>{let pe=(0,c.getItemDescriptor)(Se);if(!pe)throw new Error("Assertion failure - must be config item");return pe},de=G.map(Q),se=B.map(Q),ye=[[]],we=[],ve=[];if(yield*S(le,function*Se(pe,j){let Te=[];for(let Fe=0;Fe<pe.length;Fe++){let Pe=pe[Fe];if(Pe.options!==!1){try{var De=yield*te(Pe,U)}catch(ke){throw ke.code==="BABEL_UNKNOWN_OPTION"&&(0,h.checkNoUnwrappedItemOptionPairs)(pe,Fe,"preset",ke),ke}ve.push(De.externalDependencies),Pe.ownPass?Te.push({preset:De.chain,pass:[]}):Te.unshift({preset:De.chain,pass:j})}}if(Te.length>0){ye.splice(1,0,...Te.map(Fe=>Fe.pass).filter(Fe=>Fe!==j));for(let{preset:Fe,pass:Pe}of Te){if(!Fe||(Pe.push(...Fe.plugins),yield*Se(Fe.presets,Pe)))return!0;Fe.options.forEach(ke=>{(0,d.mergeOptions)(M,ke)})}}})(de,ye[0]))return null;let H=M;(0,d.mergeOptions)(H,re);let me=Object.assign({},U,{assumptions:(W=H.assumptions)!=null?W:{}});return yield*S(le,function*(){ye[0].unshift(...se);for(let pe of ye){let j=[];we.push(j);for(let Te=0;Te<pe.length;Te++){let De=pe[Te];if(De.options!==!1){try{var Se=yield*K(De,me)}catch(Fe){throw Fe.code==="BABEL_UNKNOWN_PLUGIN_PROPERTY"&&(0,h.checkNoUnwrappedItemOptionPairs)(pe,Te,"plugin",Fe),Fe}j.push(Se),ve.push(Se.externalDependencies)}}}})(),H.plugins=we[0],H.presets=we.slice(1).filter(Se=>Se.length>0).map(Se=>({plugins:Se})),H.passPerPreset=H.presets.length>0,{options:H,passes:we,externalDependencies:(0,T.finalize)(ve)}});function S(D,W){return function*(q,re){try{return yield*W(q,re)}catch(ie){var le;throw/^\[BABEL\]/.test(ie.message)||(ie.message=`[BABEL] ${(le=D.filename)!=null?le:"unknown file"}: ${ie.message}`),ie}}}let b=D=>(0,p.makeWeakCache)(function*({value:W,options:q,dirname:re,alias:le},ie){if(q===!1)throw new Error("Assertion failure");q=q||{};let M=[],B=W;if(typeof W=="function"){let G=(0,l.maybeAsync)(W,"You appear to be using an async plugin/preset, but Babel has been called synchronously"),U=Object.assign({},t,D(ie,M));try{B=yield*G(U,q,re)}catch(Q){throw le&&(Q.message+=` (While processing: ${JSON.stringify(le)})`),Q}}if(!B||typeof B!="object")throw new Error("Plugin/Preset did not return an object.");if((0,l.isThenable)(B))throw yield*[],new Error(`You appear to be using a promise as a plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version. As an alternative, you can prefix the promise with "await". (While processing: ${JSON.stringify(le)})`);if(M.length>0&&(!ie.configured()||ie.mode()==="forever")){let G=`A plugin/preset has external untracked dependencies (${M[0]}), but the cache `;throw ie.configured()?G+=" has been configured to never be invalidated. ":G+="has not been configured to be invalidated when the external dependencies change. ",G+=`Plugins/presets should configure their cache to be invalidated when the external dependencies change, for example using \`api.cache.invalidate(() => statSync(filepath).mtimeMs)\` or \`api.cache.never()\`
|
|
91
|
-
(While processing: ${JSON.stringify(le)})`,new Error(G)}return{value:B,options:q,dirname:re,alias:le,externalDependencies:(0,T.finalize)(M)}}),C=b(f.makePluginAPI),N=b(f.makePresetAPI),F=(0,p.makeWeakCache)(function*({value:D,options:W,dirname:q,alias:re,externalDependencies:le},ie){let M=(0,u.validatePluginObject)(D),B=Object.assign({},M);if(B.visitor&&(B.visitor=g().default.explode(Object.assign({},B.visitor))),B.inherits){let G={name:void 0,alias:`${re}$inherits`,value:B.inherits,options:W,dirname:q},U=yield*(0,l.forwardAsync)(K,Q=>ie.invalidate(de=>Q(G,de)));B.pre=$(U.pre,B.pre),B.post=$(U.post,B.post),B.manipulateOptions=$(U.manipulateOptions,B.manipulateOptions),B.visitor=g().default.visitors.merge([U.visitor||{},B.visitor||{}]),U.externalDependencies.length>0&&(le=le.length===0?U.externalDependencies:(0,T.finalize)([le,U.externalDependencies]))}return new i.default(B,W,re,le)});function*K(D,W){if(D.value instanceof i.default){if(D.options)throw new Error("Passed options to an existing Plugin instance will not work.");return D.value}return yield*F(yield*C(D,W),W)}let L=D=>D&&typeof D!="function",w=(D,W)=>{if(L(D.test)||L(D.include)||L(D.exclude)){let q=W.name?`"${W.name}"`:"/* your preset */";throw new P.default([`Preset ${q} requires a filename to be set when babel is called directly,`,"```",`babel.transformSync(code, { filename: 'file.ts', presets: [${q}] });`,"```","See https://babeljs.io/docs/en/options#filename for more information."].join(`
|
|
92
|
-
`))}},O=(D,W,q)=>{if(!W.filename){var re;let{options:le}=D;w(le,q),(re=le.overrides)==null||re.forEach(ie=>w(ie,q))}},z=(0,p.makeWeakCacheSync)(({value:D,dirname:W,alias:q,externalDependencies:re})=>({options:(0,h.validate)("preset",D),alias:q,dirname:W,externalDependencies:re}));function*te(D,W){let q=z(yield*N(D,W));return O(q,W,D),{chain:yield*(0,v.buildPresetChain)(q,W),externalDependencies:q.externalDependencies}}function $(D,W){return D?W?function(...q){let re=D.apply(this,q);return re&&typeof re.then=="function"?re.then(()=>W.apply(this,q)):W.apply(this,q)}:D:W}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/helpers/config-api.js":(ee,e,E)=>{"use strict";function r(){let v=E("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return r=function(){return v},v}Object.defineProperty(e,"__esModule",{value:!0}),e.makeConfigAPI=t,e.makePluginAPI=function(v,T){return Object.assign({},i(v,T),{assumption:g=>v.using(p=>p.assumptions[g])})},e.makePresetAPI=i;var l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/caching.js");function t(v){return{version:l.version,cache:v.simple(),env:T=>v.using(g=>T===void 0?g.envName:typeof T=="function"?(0,d.assertSimpleType)(T(g.envName)):(Array.isArray(T)?T:[T]).some(p=>{if(typeof p!="string")throw new Error("Unexpected non-string value");return p===g.envName})),async:()=>!1,caller:T=>v.using(g=>(0,d.assertSimpleType)(T(g.caller))),assertVersion:c}}function i(v,T){return Object.assign({},t(v),{targets:()=>JSON.parse(v.using(g=>JSON.stringify(g.targets))),addExternalDependency:g=>{T.push(g)}})}function c(v){if(typeof v=="number"){if(!Number.isInteger(v))throw new Error("Expected string or integer value.");v=`^${v}.0.0-0`}if(typeof v!="string")throw new Error("Expected string or integer value.");if(v==="*"||r().satisfies(l.version,v))return;let T=Error.stackTraceLimit;typeof T=="number"&&T<25&&(Error.stackTraceLimit=25);let g=new Error(`Requires Babel "${v}", but was loaded with "${l.version}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`);throw typeof T=="number"&&(Error.stackTraceLimit=T),Object.assign(g,{code:"BABEL_VERSION_UNSUPPORTED",version:l.version,range:v})}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/helpers/deep-array.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.finalize=function(E){return Object.freeze(E)},e.flattenToSet=function(E){let r=new Set,l=[E];for(;l.length>0;)for(let d of l.pop())Array.isArray(d)?l.push(d):r.add(d);return r}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/helpers/environment.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEnv=function(E="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||E}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/index.js":(ee,e,E)=>{"use strict";function r(){let u=E("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return u},u}Object.defineProperty(e,"__esModule",{value:!0}),e.createConfigItem=function(u,f,y){if(y!==void 0)(0,i.beginHiddenCallStack)(p.errback)(u,f,y);else{if(typeof f!="function")return h(u,f);(0,i.beginHiddenCallStack)(p.errback)(u,void 0,y)}},e.createConfigItemAsync=function(...u){return(0,i.beginHiddenCallStack)(p.async)(...u)},e.createConfigItemSync=h,Object.defineProperty(e,"default",{enumerable:!0,get:function(){return l.default}}),e.loadOptions=function(u,f){if(f!==void 0)(0,i.beginHiddenCallStack)(T.errback)(u,f);else{if(typeof u!="function")return g(u);(0,i.beginHiddenCallStack)(T.errback)(void 0,u)}},e.loadOptionsAsync=function(...u){return(0,i.beginHiddenCallStack)(T.async)(...u)},e.loadOptionsSync=g,e.loadPartialConfig=function(u,f){if(f!==void 0)(0,i.beginHiddenCallStack)(c.errback)(u,f);else{if(typeof u!="function")return v(u);(0,i.beginHiddenCallStack)(c.errback)(void 0,u)}},e.loadPartialConfigAsync=function(...u){return(0,i.beginHiddenCallStack)(c.async)(...u)},e.loadPartialConfigSync=v;var l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/full.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/partial.js"),t=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/item.js"),i=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let c=r()(d.loadPartialConfig);function v(...u){return(0,i.beginHiddenCallStack)(c.sync)(...u)}let T=r()(function*(u){var f;let y=yield*(0,l.default)(u);return(f=y?.options)!=null?f:null});function g(...u){return(0,i.beginHiddenCallStack)(T.sync)(...u)}let p=r()(t.createConfigItem);function h(...u){return(0,i.beginHiddenCallStack)(p.sync)(...u)}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/item.js":(ee,e,E)=>{"use strict";function r(){let c=E("path");return r=function(){return c},c}Object.defineProperty(e,"__esModule",{value:!0}),e.createConfigItem=function*(c,{dirname:v=".",type:T}={}){return d(yield*(0,l.createDescriptor)(c,r().resolve(v),{type:T,alias:"programmatic item"}))},e.createItemFromDescriptor=d,e.getItemDescriptor=function(c){if(c!=null&&c[t])return c._descriptor};var l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/config-descriptors.js");function d(c){return new i(c)}let t=Symbol.for("@babel/core@7 - ConfigItem");class i{constructor(v){this._descriptor=void 0,this[t]=!0,this.value=void 0,this.options=void 0,this.dirname=void 0,this.name=void 0,this.file=void 0,this._descriptor=v,Object.defineProperty(this,"_descriptor",{enumerable:!1}),Object.defineProperty(this,t,{enumerable:!1}),this.value=this._descriptor.value,this.options=this._descriptor.options,this.dirname=this._descriptor.dirname,this.name=this._descriptor.name,this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:void 0,Object.freeze(this)}}Object.freeze(i.prototype)},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/partial.js":(ee,e,E)=>{"use strict";function r(){let f=E("path");return r=function(){return f},f}Object.defineProperty(e,"__esModule",{value:!0}),e.default=h,e.loadPartialConfig=function*(f){let y=!1;if(typeof f=="object"&&f!==null&&!Array.isArray(f)){var P=f;({showIgnoredFiles:y}=P),f=(function(w,O){if(w==null)return{};var z={};for(var te in w)if({}.hasOwnProperty.call(w,te)){if(O.indexOf(te)!==-1)continue;z[te]=w[te]}return z})(P,p)}let S=yield*h(f);if(!S)return null;let{options:b,babelrc:C,ignore:N,config:F,fileHandling:K,files:L}=S;return K==="ignored"&&!y?null:((b.plugins||[]).forEach(w=>{if(w.value instanceof l.default)throw new Error("Passing cached plugin instances is not supported in babel.loadPartialConfig()")}),new u(b,C?C.filepath:void 0,N?N.filepath:void 0,F?F.filepath:void 0,K,L))};var l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/plugin.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/util.js"),t=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/item.js"),i=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/config-chain.js"),c=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/helpers/environment.js"),v=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/validation/options.js"),T=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/index.js"),g=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/resolve-targets.js");let p=["showIgnoredFiles"];function*h(f){if(f!=null&&(typeof f!="object"||Array.isArray(f)))throw new Error("Babel options must be an object, null, or undefined");let y=f?(0,v.validate)("arguments",f):{},{envName:P=(0,c.getEnv)(),cwd:S=".",root:b=".",rootMode:C="root",caller:N,cloneInputAst:F=!0}=y,K=r().resolve(S),L=(function($,D){switch(D){case"root":return $;case"upward-optional":{let W=(0,T.findConfigUpwards)($);return W===null?$:W}case"upward":{let W=(0,T.findConfigUpwards)($);if(W!==null)return W;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not be found when searching upward from "${$}".
|
|
93
|
-
One of the following config files must be in the directory tree: "${T.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:$})}default:throw new Error("Assertion failure - unknown rootMode value.")}})(r().resolve(K,b),C),w=typeof y.filename=="string"?r().resolve(S,y.filename):void 0,O={filename:w,cwd:K,root:L,envName:P,caller:N,showConfig:(yield*(0,T.resolveShowConfigPath)(K))===w},z=yield*(0,i.buildRootChain)(y,O);if(!z)return null;let te={assumptions:{}};return z.options.forEach($=>{(0,d.mergeOptions)(te,$)}),{options:Object.assign({},te,{targets:(0,g.resolveTargets)(te,L),cloneInputAst:F,babelrc:!1,configFile:!1,browserslistConfigFile:!1,passPerPreset:!1,envName:O.envName,cwd:O.cwd,root:O.root,rootMode:"root",filename:typeof O.filename=="string"?O.filename:void 0,plugins:z.plugins.map($=>(0,t.createItemFromDescriptor)($)),presets:z.presets.map($=>(0,t.createItemFromDescriptor)($))}),context:O,fileHandling:z.fileHandling,ignore:z.ignore,babelrc:z.babelrc,config:z.config,files:z.files}}class u{constructor(y,P,S,b,C,N){this.options=void 0,this.babelrc=void 0,this.babelignore=void 0,this.config=void 0,this.fileHandling=void 0,this.files=void 0,this.options=y,this.babelignore=S,this.babelrc=P,this.config=b,this.fileHandling=C,this.files=N,Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==void 0||this.config!==void 0}}Object.freeze(u.prototype)},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/pattern-to-regex.js":(ee,e,E)=>{"use strict";function r(){let p=E("path");return r=function(){return p},p}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p,h){let u=r().resolve(h,p).split(r().sep);return new RegExp(["^",...u.map((f,y)=>{let P=y===u.length-1;return f==="**"?P?T:v:f==="*"?P?c:i:f.indexOf("*.")===0?t+g(f.slice(1))+(P?d:l):g(f)+(P?d:l)})].join(""))};let l=`\\${r().sep}`,d=`(?:${l}|$)`,t=`[^${l}]+`,i=`(?:${t}${l})`,c=`(?:${t}${d})`,v=`${i}*?`,T=`${i}*?${c}?`;function g(p){return p.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/plugin.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/helpers/deep-array.js");e.default=class{constructor(l,d,t,i=(0,r.finalize)([])){this.key=void 0,this.manipulateOptions=void 0,this.post=void 0,this.pre=void 0,this.visitor=void 0,this.parserOverride=void 0,this.generatorOverride=void 0,this.options=void 0,this.externalDependencies=void 0,this.key=l.name||t,this.manipulateOptions=l.manipulateOptions,this.post=l.post,this.pre=l.pre,this.visitor=l.visitor||{},this.parserOverride=l.parserOverride,this.generatorOverride=l.generatorOverride,this.options=d,this.externalDependencies=i}}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/printer.js":(ee,e,E)=>{"use strict";function r(){let c=E("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return c},c}Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigPrinter=e.ChainFormatter=void 0;let l=e.ChainFormatter={Programmatic:0,Config:1},d={title(c,v,T){let g="";return c===l.Programmatic?(g="programmatic options",v&&(g+=" from "+v)):g="config "+T,g},loc(c,v){let T="";return c!=null&&(T+=`.overrides[${c}]`),v!=null&&(T+=`.env["${v}"]`),T},*optionsAndDescriptors(c){let v=Object.assign({},c.options);delete v.overrides,delete v.env;let T=[...yield*c.plugins()];T.length&&(v.plugins=T.map(p=>t(p)));let g=[...yield*c.presets()];return g.length&&(v.presets=[...g].map(p=>t(p))),JSON.stringify(v,void 0,2)}};function t(c){var v;let T=(v=c.file)==null?void 0:v.request;return T==null&&(typeof c.value=="object"?T=c.value:typeof c.value=="function"&&(T=`[Function: ${c.value.toString().slice(0,50)} ... ]`)),T==null&&(T="[Unknown]"),c.options===void 0?T:c.name==null?[T,c.options]:[T,c.options,c.name]}class i{constructor(){this._stack=[]}configure(v,T,{callerName:g,filepath:p}){return v?(h,u,f)=>{this._stack.push({type:T,callerName:g,filepath:p,content:h,index:u,envName:f})}:()=>{}}static*format(v){let T=d.title(v.type,v.callerName,v.filepath),g=d.loc(v.index,v.envName);return g&&(T+=` ${g}`),`${T}
|
|
94
|
-
${yield*d.optionsAndDescriptors(v.content)}`}*output(){return this._stack.length===0?"":(yield*r().all(this._stack.map(v=>i.format(v)))).join(`
|
|
95
|
-
|
|
96
|
-
`)}}e.ConfigPrinter=i},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/resolve-targets.js":(ee,e,E)=>{"use strict";function r(){let d=E("path");return r=function(){return d},d}function l(){let d=E("./stubs/helper-compilation-targets.mjs");return l=function(){return d},d}Object.defineProperty(e,"__esModule",{value:!0}),e.resolveBrowserslistConfigFile=function(d,t){return r().resolve(t,d)},e.resolveTargets=function(d,t){let i=d.targets,c;typeof i=="string"||Array.isArray(i)?c={browsers:i}:i&&(c="esmodules"in i?Object.assign({},i,{esmodules:"intersect"}):i);let{browserslistConfigFile:v}=d,T,g=!1;return typeof v=="string"?T=v:g=v===!1,(0,l().default)(c,{ignoreBrowserslistConfig:g,configFile:T,configPath:t,browserslistEnv:d.browserslistEnv})}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/util.js":(ee,e)=>{"use strict";function E(r,l){for(let d of Object.keys(l)){let t=l[d];t!==void 0&&(r[d]=t)}}Object.defineProperty(e,"__esModule",{value:!0}),e.isIterableIterator=function(r){return!!r&&typeof r.next=="function"&&typeof r[Symbol.iterator]=="function"},e.mergeOptions=function(r,l){for(let d of Object.keys(l))if(d!=="parserOpts"&&d!=="generatorOpts"&&d!=="assumptions"||!l[d]){let t=l[d];t!==void 0&&(r[d]=t)}else{let t=l[d];E(r[d]||(r[d]={}),t)}}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/validation/option-assertions.js":(ee,e,E)=>{"use strict";function r(){let u=E("./stubs/helper-compilation-targets.mjs");return r=function(){return u},u}Object.defineProperty(e,"__esModule",{value:!0}),e.access=t,e.assertArray=v,e.assertAssumptions=function(u,f){if(f===void 0)return;if(typeof f!="object"||f===null)throw new Error(`${d(u)} must be an object or undefined.`);let y=u;do y=y.parent;while(y.type!=="root");let P=y.source==="preset";for(let S of Object.keys(f)){let b=t(u,S);if(!l.assumptionsNames.has(S))throw new Error(`${d(b)} is not a supported assumption.`);if(typeof f[S]!="boolean")throw new Error(`${d(b)} must be a boolean.`);if(P&&f[S]===!1)throw new Error(`${d(b)} cannot be set to 'false' inside presets.`)}return f},e.assertBabelrcSearch=function(u,f){if(f===void 0||typeof f=="boolean")return f;if(Array.isArray(f))f.forEach((y,P)=>{if(!T(y))throw new Error(`${d(t(u,P))} must be a string/Function/RegExp.`)});else if(!T(f))throw new Error(`${d(u)} must be a undefined, a boolean, a string/Function/RegExp or an array of those, got ${JSON.stringify(f)}`);return f},e.assertBoolean=i,e.assertCallerMetadata=function(u,f){let y=c(u,f);if(y){if(typeof y.name!="string")throw new Error(`${d(u)} set but does not contain "name" property string`);for(let P of Object.keys(y)){let S=t(u,P),b=y[P];if(b!=null&&typeof b!="boolean"&&typeof b!="string"&&typeof b!="number")throw new Error(`${d(S)} must be null, undefined, a boolean, a string, or a number.`)}}return f},e.assertCompact=function(u,f){if(f!==void 0&&typeof f!="boolean"&&f!=="auto")throw new Error(`${d(u)} must be a boolean, "auto", or undefined`);return f},e.assertConfigApplicableTest=function(u,f){if(f===void 0)return f;if(Array.isArray(f))f.forEach((y,P)=>{if(!T(y))throw new Error(`${d(t(u,P))} must be a string/Function/RegExp.`)});else if(!T(f))throw new Error(`${d(u)} must be a string/Function/RegExp, or an array of those`);return f},e.assertConfigFileSearch=function(u,f){if(f!==void 0&&typeof f!="boolean"&&typeof f!="string")throw new Error(`${d(u)} must be a undefined, a boolean, a string, got ${JSON.stringify(f)}`);return f},e.assertFunction=function(u,f){if(f!==void 0&&typeof f!="function")throw new Error(`${d(u)} must be a function, or undefined`);return f},e.assertIgnoreList=function(u,f){let y=v(u,f);return y?.forEach((P,S)=>(function(b,C){if(typeof C!="string"&&typeof C!="function"&&!(C instanceof RegExp))throw new Error(`${d(b)} must be an array of string/Function/RegExp values, or undefined`);return C})(t(u,S),P)),y},e.assertInputSourceMap=function(u,f){if(f!==void 0&&typeof f!="boolean"&&(typeof f!="object"||!f))throw new Error(`${d(u)} must be a boolean, object, or undefined`);return f},e.assertObject=c,e.assertPluginList=function(u,f){let y=v(u,f);return y&&y.forEach((P,S)=>(function(b,C){if(Array.isArray(C)){if(C.length===0)throw new Error(`${d(b)} must include an object`);if(C.length>3)throw new Error(`${d(b)} may only be a two-tuple or three-tuple`);if(g(t(b,0),C[0]),C.length>1){let N=C[1];if(N!==void 0&&N!==!1&&(typeof N!="object"||Array.isArray(N)||N===null))throw new Error(`${d(t(b,1))} must be an object, false, or undefined`)}if(C.length===3){let N=C[2];if(N!==void 0&&typeof N!="string")throw new Error(`${d(t(b,2))} must be a string, or undefined`)}}else g(b,C);return C})(t(u,S),P)),y},e.assertRootMode=function(u,f){if(f!==void 0&&f!=="root"&&f!=="upward"&&f!=="upward-optional")throw new Error(`${d(u)} must be a "root", "upward", "upward-optional" or undefined`);return f},e.assertSourceMaps=function(u,f){if(f!==void 0&&typeof f!="boolean"&&f!=="inline"&&f!=="both")throw new Error(`${d(u)} must be a boolean, "inline", "both", or undefined`);return f},e.assertSourceType=function(u,f){if(f!==void 0&&f!=="module"&&f!=="commonjs"&&f!=="script"&&f!=="unambiguous")throw new Error(`${d(u)} must be "module", "commonjs", "script", "unambiguous", or undefined`);return f},e.assertString=function(u,f){if(f!==void 0&&typeof f!="string")throw new Error(`${d(u)} must be a string, or undefined`);return f},e.assertTargets=function(u,f){if((0,r().isBrowsersQueryValid)(f))return f;if(typeof f!="object"||!f||Array.isArray(f))throw new Error(`${d(u)} must be a string, an array of strings or an object`);let y=t(u,"browsers"),P=t(u,"esmodules");p(y,f.browsers),i(P,f.esmodules);for(let S of Object.keys(f)){let b=f[S],C=t(u,S);if(S==="esmodules")i(C,b);else if(S==="browsers")p(C,b);else{if(!hasOwnProperty.call(r().TargetNames,S)){let N=Object.keys(r().TargetNames).join(", ");throw new Error(`${d(C)} is not a valid target. Supported targets are ${N}`)}h(C,b)}}return f},e.msg=d;var l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/validation/options.js");function d(u){switch(u.type){case"root":return"";case"env":return`${d(u.parent)}.env["${u.name}"]`;case"overrides":return`${d(u.parent)}.overrides[${u.index}]`;case"option":return`${d(u.parent)}.${u.name}`;case"access":return`${d(u.parent)}[${JSON.stringify(u.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${u.type}`)}}function t(u,f){return{type:"access",name:f,parent:u}}function i(u,f){if(f!==void 0&&typeof f!="boolean")throw new Error(`${d(u)} must be a boolean, or undefined`);return f}function c(u,f){if(f!==void 0&&(typeof f!="object"||Array.isArray(f)||!f))throw new Error(`${d(u)} must be an object, or undefined`);return f}function v(u,f){if(f!=null&&!Array.isArray(f))throw new Error(`${d(u)} must be an array, or undefined`);return f}function T(u){return typeof u=="string"||typeof u=="function"||u instanceof RegExp}function g(u,f){if((typeof f!="object"||!f)&&typeof f!="string"&&typeof f!="function")throw new Error(`${d(u)} must be a string, object, function`);return f}function p(u,f){if(f!==void 0&&!(0,r().isBrowsersQueryValid)(f))throw new Error(`${d(u)} must be undefined, a string or an array of strings`)}function h(u,f){if((typeof f!="number"||Math.round(f)!==f)&&typeof f!="string")throw new Error(`${d(u)} must be a string or an integer number`)}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/validation/options.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assumptionsNames=void 0,e.checkNoUnwrappedItemOptionPairs=function(h,u,f,y){if(u===0)return;let P=h[u-1],S=h[u];P.file&&P.options===void 0&&typeof S.value=="object"&&(y.message+=`
|
|
97
|
-
- Maybe you meant to use
|
|
98
|
-
"${f}s": [
|
|
99
|
-
["${P.file.request}", ${JSON.stringify(S.value,void 0,2)}]
|
|
100
|
-
]
|
|
101
|
-
To be a valid ${f}, its name and options should be wrapped in a pair of brackets`)},e.validate=function(h,u,f){try{return g({type:"root",source:h},u)}catch(y){let P=new d.default(y.message,f);throw y.code&&(P.code=y.code),P}};var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/validation/removed.js"),l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/validation/option-assertions.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/config-error.js");let t={cwd:l.assertString,root:l.assertString,rootMode:l.assertRootMode,configFile:l.assertConfigFileSearch,caller:l.assertCallerMetadata,filename:l.assertString,filenameRelative:l.assertString,code:l.assertBoolean,ast:l.assertBoolean,cloneInputAst:l.assertBoolean,envName:l.assertString},i={babelrc:l.assertBoolean,babelrcRoots:l.assertBabelrcSearch},c={extends:l.assertString,ignore:l.assertIgnoreList,only:l.assertIgnoreList,targets:l.assertTargets,browserslistConfigFile:l.assertConfigFileSearch,browserslistEnv:l.assertString},v={inputSourceMap:l.assertInputSourceMap,presets:l.assertPluginList,plugins:l.assertPluginList,passPerPreset:l.assertBoolean,assumptions:l.assertAssumptions,env:function(h,u){if(h.parent.type==="env")throw new Error(`${(0,l.msg)(h)} is not allowed inside of another .env block`);let f=h.parent,y=(0,l.assertObject)(h,u);if(y)for(let P of Object.keys(y)){let S=(0,l.assertObject)((0,l.access)(h,P),y[P]);S&&g({type:"env",name:P,parent:f},S)}return y},overrides:function(h,u){if(h.parent.type==="env")throw new Error(`${(0,l.msg)(h)} is not allowed inside an .env block`);if(h.parent.type==="overrides")throw new Error(`${(0,l.msg)(h)} is not allowed inside an .overrides block`);let f=h.parent,y=(0,l.assertArray)(h,u);if(y)for(let[P,S]of y.entries()){let b=(0,l.access)(h,P),C=(0,l.assertObject)(b,S);if(!C)throw new Error(`${(0,l.msg)(b)} must be an object`);g({type:"overrides",index:P,parent:f},C)}return y},test:l.assertConfigApplicableTest,include:l.assertConfigApplicableTest,exclude:l.assertConfigApplicableTest,retainLines:l.assertBoolean,comments:l.assertBoolean,shouldPrintComment:l.assertFunction,compact:l.assertCompact,minified:l.assertBoolean,auxiliaryCommentBefore:l.assertString,auxiliaryCommentAfter:l.assertString,sourceType:l.assertSourceType,wrapPluginVisitorMethod:l.assertFunction,highlightCode:l.assertBoolean,sourceMaps:l.assertSourceMaps,sourceMap:l.assertSourceMaps,sourceFileName:l.assertString,sourceRoot:l.assertString,parserOpts:l.assertObject,generatorOpts:l.assertObject};Object.assign(v,{getModuleId:l.assertFunction,moduleRoot:l.assertString,moduleIds:l.assertBoolean,moduleId:l.assertString}),e.assumptionsNames=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","noUninitializedPrivateFieldAccess","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);function T(h){return h.type==="root"?h.source:T(h.parent)}function g(h,u){let f=T(h);return(function(y){if(hasOwnProperty.call(y,"sourceMap")&&hasOwnProperty.call(y,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")})(u),Object.keys(u).forEach(y=>{let P={type:"option",name:y,parent:h};if(f==="preset"&&c[y])throw new Error(`${(0,l.msg)(P)} is not allowed in preset options`);if(f!=="arguments"&&t[y])throw new Error(`${(0,l.msg)(P)} is only allowed in root programmatic options`);if(f!=="arguments"&&f!=="configfile"&&i[y])throw f==="babelrcfile"||f==="extendsfile"?new Error(`${(0,l.msg)(P)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, or babel.config.js/config file options`):new Error(`${(0,l.msg)(P)} is only allowed in root programmatic options, or babel.config.js/config file options`);(v[y]||c[y]||i[y]||t[y]||p)(P,u[y])}),u}function p(h){let u=h.name;if(r.default[u]){let{message:f,version:y=5}=r.default[u];throw new Error(`Using removed Babel ${y} option: ${(0,l.msg)(h)} - ${f}`)}{let f=new Error(`Unknown option: ${(0,l.msg)(h)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);throw f.code="BABEL_UNKNOWN_OPTION",f}}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/validation/plugins.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validatePluginObject=function(d){let t={type:"root",source:"plugin"};return Object.keys(d).forEach(i=>{let c=l[i];if(!c){let v=new Error(`.${i} is not a valid Plugin property`);throw v.code="BABEL_UNKNOWN_PLUGIN_PROPERTY",v}c({type:"option",name:i,parent:t},d[i])}),d};var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/validation/option-assertions.js");let l={name:r.assertString,manipulateOptions:r.assertFunction,pre:r.assertFunction,post:r.assertFunction,inherits:r.assertFunction,visitor:function(d,t){let i=(0,r.assertObject)(d,t);if(i&&(Object.keys(i).forEach(c=>{c!=="_exploded"&&c!=="_verified"&&(function(v,T){if(T&&typeof T=="object")Object.keys(T).forEach(g=>{if(g!=="enter"&&g!=="exit")throw new Error(`.visitor["${v}"] may only have .enter and/or .exit handlers.`)});else if(typeof T!="function")throw new Error(`.visitor["${v}"] must be a function`)})(c,i[c])}),i.enter||i.exit))throw new Error(`${(0,r.msg)(d)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`);return i},parserOverride:r.assertFunction,generatorOverride:r.assertFunction}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/validation/removed.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."}}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/config-error.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");class l extends Error{constructor(t,i){super(t),(0,r.expectedError)(this),i&&(0,r.injectVirtualStackFrame)(this,i)}}e.default=l},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js":(ee,e)=>{"use strict";var E;Object.defineProperty(e,"__esModule",{value:!0}),e.beginHiddenCallStack=function(g){return l?Object.defineProperty(function(...p){return v(),g(...p)},"name",{value:t}):g},e.endHiddenCallStack=function(g){return l?Object.defineProperty(function(...p){return g(...p)},"name",{value:d}):g},e.expectedError=function(g){if(l)return i.add(g),g},e.injectVirtualStackFrame=function(g,p){if(!l)return;let h=c.get(g);return h||c.set(g,h=[]),h.push((function(u){return Object.create({isNative:()=>!1,isConstructor:()=>!1,isToplevel:()=>!0,getFileName:()=>u,getLineNumber:()=>{},getColumnNumber:()=>{},getFunctionName:()=>{},getMethodName:()=>{},getTypeName:()=>{},toString:()=>u})})(p)),g};let r=Function.call.bind(Error.prototype.toString),l=!!Error.captureStackTrace&&((E=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))==null?void 0:E.writable)===!0,d="startHiding - secret - don't use this - v1",t="stopHiding - secret - don't use this - v1",i=new WeakSet,c=new WeakMap;function v(){v=()=>{};let{prepareStackTrace:g=T}=Error;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,50)),Error.prepareStackTrace=function(p,h){let u=[],f=i.has(p)?"hiding":"unknown";for(let y=0;y<h.length;y++){let P=h[y].getFunctionName();if(P===d)f="hiding";else if(P===t){if(f==="hiding")f="showing",c.has(p)&&u.unshift(...c.get(p));else if(f==="unknown"){u=h;break}}else f!=="hiding"&&u.push(h[y])}return g(p,u)}}function T(g,p){return p.length===0?r(g):`${r(g)}
|
|
102
|
-
at ${p.join(`
|
|
103
|
-
at `)}`}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/gensync-utils/async.js":(ee,e,E)=>{"use strict";function r(){let g=E("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return g},g}function l(g,p,h,u,f,y,P){try{var S=g[y](P),b=S.value}catch(C){return void h(C)}S.done?p(b):Promise.resolve(b).then(u,f)}function d(g){return function(){var p=this,h=arguments;return new Promise(function(u,f){var y=g.apply(p,h);function P(b){l(y,u,f,P,S,"next",b)}function S(b){l(y,u,f,P,S,"throw",b)}P(void 0)})}}Object.defineProperty(e,"__esModule",{value:!0}),e.forwardAsync=function(g,p){let h=r()(g);return i(u=>{let f=h[u];return p(f)})},e.isAsync=void 0,e.isThenable=T,e.maybeAsync=function(g,p){return r()({sync(...h){let u=g.apply(this,h);if(T(u))throw new Error(p);return u},async(...h){return Promise.resolve(g.apply(this,h))}})},e.waitFor=e.onFirstPause=void 0;let t=r()(function*(g){return yield*g});e.isAsync=r()({sync:()=>!1,errback:g=>g(null,!0)});let i=r()({sync:g=>g("sync"),async:(c=d(function*(g){return g("async")}),function(g){return c.apply(this,arguments)})});var c;e.onFirstPause=r()({name:"onFirstPause",arity:2,sync:function(g){return t.sync(g)},errback:function(g,p,h){let u=!1;t.errback(g,(f,y)=>{u=!0,h(f,y)}),u||p()}}),e.waitFor=r()({sync:g=>g,async:(v=d(function*(g){return g}),function(g){return v.apply(this,arguments)})});var v;function T(g){return!(!g||typeof g!="object"&&typeof g!="function"||!g.then||typeof g.then!="function")}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/gensync-utils/fs.js":(ee,e,E)=>{"use strict";function r(){let d=E("fs");return r=function(){return d},d}function l(){let d=E("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return l=function(){return d},d}Object.defineProperty(e,"__esModule",{value:!0}),e.stat=e.readFile=void 0,e.readFile=l()({sync:r().readFileSync,errback:r().readFile}),e.stat=l()({sync:r().statSync,errback:r().stat})},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/gensync-utils/functional.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.once=function(l){let d,t,i=!1;return function*(){if(!d){if(t)return i=!0,yield*(0,r.waitFor)(t);if(yield*(0,r.isAsync)()){let c,v;t=new Promise((T,g)=>{c=T,v=g});try{d={ok:!0,value:yield*l()},t=null,i&&c(d.value)}catch(T){d={ok:!1,value:T},t=null,i&&v(T)}}else try{d={ok:!0,value:yield*l()}}catch(c){d={ok:!1,value:c}}}if(d.ok)return d.value;throw d.value}};var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/gensync-utils/async.js")},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_EXTENSIONS=void 0,Object.defineProperty(e,"File",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"buildExternalHelpers",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"createConfigItem",{enumerable:!0,get:function(){return g.createConfigItem}}),Object.defineProperty(e,"createConfigItemAsync",{enumerable:!0,get:function(){return g.createConfigItemAsync}}),Object.defineProperty(e,"createConfigItemSync",{enumerable:!0,get:function(){return g.createConfigItemSync}}),Object.defineProperty(e,"getEnv",{enumerable:!0,get:function(){return t.getEnv}}),Object.defineProperty(e,"loadOptions",{enumerable:!0,get:function(){return g.loadOptions}}),Object.defineProperty(e,"loadOptionsAsync",{enumerable:!0,get:function(){return g.loadOptionsAsync}}),Object.defineProperty(e,"loadOptionsSync",{enumerable:!0,get:function(){return g.loadOptionsSync}}),Object.defineProperty(e,"loadPartialConfig",{enumerable:!0,get:function(){return g.loadPartialConfig}}),Object.defineProperty(e,"loadPartialConfigAsync",{enumerable:!0,get:function(){return g.loadPartialConfigAsync}}),Object.defineProperty(e,"loadPartialConfigSync",{enumerable:!0,get:function(){return g.loadPartialConfigSync}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return f.parse}}),Object.defineProperty(e,"parseAsync",{enumerable:!0,get:function(){return f.parseAsync}}),Object.defineProperty(e,"parseSync",{enumerable:!0,get:function(){return f.parseSync}}),e.resolvePreset=e.resolvePlugin=void 0,Object.defineProperty(e,"template",{enumerable:!0,get:function(){return T().default}}),Object.defineProperty(e,"tokTypes",{enumerable:!0,get:function(){return c().tokTypes}}),Object.defineProperty(e,"transform",{enumerable:!0,get:function(){return p.transform}}),Object.defineProperty(e,"transformAsync",{enumerable:!0,get:function(){return p.transformAsync}}),Object.defineProperty(e,"transformFile",{enumerable:!0,get:function(){return h.transformFile}}),Object.defineProperty(e,"transformFileAsync",{enumerable:!0,get:function(){return h.transformFileAsync}}),Object.defineProperty(e,"transformFileSync",{enumerable:!0,get:function(){return h.transformFileSync}}),Object.defineProperty(e,"transformFromAst",{enumerable:!0,get:function(){return u.transformFromAst}}),Object.defineProperty(e,"transformFromAstAsync",{enumerable:!0,get:function(){return u.transformFromAstAsync}}),Object.defineProperty(e,"transformFromAstSync",{enumerable:!0,get:function(){return u.transformFromAstSync}}),Object.defineProperty(e,"transformSync",{enumerable:!0,get:function(){return p.transformSync}}),Object.defineProperty(e,"traverse",{enumerable:!0,get:function(){return v().default}}),e.version=e.types=void 0;var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/file/file.js"),l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/tools/build-external-helpers.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/files/index.js"),t=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/helpers/environment.js");function i(){let y=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");return i=function(){return y},y}function c(){let y=E("./node_modules/.pnpm/@babel+parser@7.28.0/node_modules/@babel/parser/lib/index.js");return c=function(){return y},y}function v(){let y=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js");return v=function(){return y},y}function T(){let y=E("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/index.js");return T=function(){return y},y}Object.defineProperty(e,"types",{enumerable:!0,get:function(){return i()}});var g=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/index.js"),p=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transform.js"),h=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transform-file.js"),u=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transform-ast.js"),f=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/parse.js");e.version="7.28.0",e.resolvePlugin=(y,P)=>d.resolvePlugin(y,P,!1).filepath,e.resolvePreset=(y,P)=>d.resolvePreset(y,P,!1).filepath,e.DEFAULT_EXTENSIONS=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]),e.OptionManager=class{init(y){return(0,g.loadOptionsSync)(y)}},e.Plugin=function(y){throw new Error(`The (${y}) Babel 5 plugin is being run with an unsupported Babel version.`)}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/parse.js":(ee,e,E)=>{"use strict";function r(){let v=E("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return v},v}Object.defineProperty(e,"__esModule",{value:!0}),e.parse=void 0,e.parseAsync=function(...v){return(0,i.beginHiddenCallStack)(c.async)(...v)},e.parseSync=function(...v){return(0,i.beginHiddenCallStack)(c.sync)(...v)};var l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/index.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/parser/index.js"),t=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/normalize-opts.js"),i=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let c=r()(function*(v,T){let g=yield*(0,l.default)(T);return g===null?null:yield*(0,d.default)(g.passes,(0,t.default)(g),v)});e.parse=function(v,T,g){if(typeof T=="function"&&(g=T,T=void 0),g===void 0)return(0,i.beginHiddenCallStack)(c.sync)(v,T);(0,i.beginHiddenCallStack)(c.errback)(v,T,g)}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/parser/index.js":(ee,e,E)=>{"use strict";function r(){let t=E("./node_modules/.pnpm/@babel+parser@7.28.0/node_modules/@babel/parser/lib/index.js");return r=function(){return t},t}function l(){let t=E("./stubs/babel-codeframe.mjs");return l=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function*(t,{parserOpts:i,highlightCode:c=!0,filename:v="unknown"},T){try{let g=[];for(let p of t)for(let h of p){let{parserOverride:u}=h;if(u){let f=u(T,i,r().parse);f!==void 0&&g.push(f)}}if(g.length===0)return(0,r().parse)(T,i);if(g.length===1){if(yield*[],typeof g[0].then=="function")throw new Error("You appear to be using an async parser plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");return g[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(g){g.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"&&(g.message+=`
|
|
104
|
-
Consider renaming the file to '.mjs', or setting sourceType:module or sourceType:unambiguous in your Babel config for this file.`);let{loc:p,missingPlugin:h}=g;if(p){let u=(0,l().codeFrameColumns)(T,{start:{line:p.line,column:p.column+1}},{highlightCode:c});g.message=h?`${v}: `+(0,d.default)(h[0],p,u,v):`${v}: ${g.message}
|
|
105
|
-
|
|
106
|
-
`+u,g.code="BABEL_PARSE_ERROR"}throw g}};var d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js")},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,d,t,i){let c=`Support for the experimental syntax '${l}' isn't currently enabled (${d.line}:${d.column+1}):
|
|
107
|
-
|
|
108
|
-
`+t,v=E[l];if(v){let{syntax:T,transform:g}=v;if(T){let p=r(T);g?c+=`
|
|
109
|
-
|
|
110
|
-
Add ${r(g)} to the '${g.name.startsWith("@babel/plugin")?"plugins":"presets"}' section of your Babel config to enable transformation.
|
|
111
|
-
If you want to leave it as-is, add ${p} to the 'plugins' section to enable parsing.`:c+=`
|
|
112
|
-
|
|
113
|
-
Add ${p} to the 'plugins' section of your Babel config to enable parsing.`}}return c+=`
|
|
114
|
-
|
|
115
|
-
If you already added the plugin for this syntax to your config, it's possible that your config isn't being loaded.
|
|
116
|
-
You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
|
|
117
|
-
npx cross-env BABEL_SHOW_CONFIG_FOR=${i==="unknown"?"<name of the input file>":i} <your build command>
|
|
118
|
-
See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
119
|
-
`,c};let E={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-do-expressions"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-default-from"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-default-from"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow"},transform:{name:"@babel/preset-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-flow"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx"},transform:{name:"@babel/preset-react",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-react"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-pipeline-operator"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-record-and-tuple"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript"},transform:{name:"@babel/preset-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-typescript"}}};Object.assign(E,{asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators"},transform:{name:"@babel/plugin-transform-async-generator-functions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-async-generator-functions"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-private-methods",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-methods"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block"},transform:{name:"@babel/plugin-transform-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-static-block"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-dynamic-import"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from"},transform:{name:"@babel/plugin-transform-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-export-namespace-from"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-assertions"}},importAttributes:{syntax:{name:"@babel/plugin-syntax-import-attributes",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators"},transform:{name:"@babel/plugin-transform-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-logical-assignment-operators"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-module-string-names"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator"},transform:{name:"@babel/plugin-transform-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-numeric-separator"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator"},transform:{name:"@babel/plugin-transform-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-nullish-coalescing-opearator"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread"},transform:{name:"@babel/plugin-transform-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-object-rest-spread"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding"},transform:{name:"@babel/plugin-transform-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-catch-binding"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining"},transform:{name:"@babel/plugin-transform-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-chaining"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-private-property-in-object"},transform:{name:"@babel/plugin-transform-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-property-in-object"}},regexpUnicodeSets:{syntax:{name:"@babel/plugin-syntax-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-syntax-unicode-sets-regex/README.md"},transform:{name:"@babel/plugin-transform-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-proposalunicode-sets-regex/README.md"}}});let r=({name:l,url:d})=>`${l} (${d})`},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/tools/build-external-helpers.js":(ee,e,E)=>{"use strict";function r(){let q=E("./node_modules/.pnpm/@babel+helpers@7.27.6/node_modules/@babel/helpers/lib/index.js");return r=function(){return q},q}function l(){let q=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/index.js");return l=function(){return q},q}function d(){let q=E("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/index.js");return d=function(){return q},q}function t(){let q=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");return t=function(){return q},q}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(q,re="global"){let le,ie={global:z,module:te,umd:$,var:D}[re];if(!ie)throw new Error(`Unsupported output type ${re}`);return le=ie(q),(0,l().default)(le).code};let{arrayExpression:i,assignmentExpression:c,binaryExpression:v,blockStatement:T,callExpression:g,cloneNode:p,conditionalExpression:h,exportNamedDeclaration:u,exportSpecifier:f,expressionStatement:y,functionExpression:P,identifier:S,memberExpression:b,objectExpression:C,program:N,stringLiteral:F,unaryExpression:K,variableDeclaration:L,variableDeclarator:w}=t(),O=q=>d().default.statement`
|
|
120
|
-
(function (root, factory) {
|
|
121
|
-
if (typeof define === "function" && define.amd) {
|
|
122
|
-
define(AMD_ARGUMENTS, factory);
|
|
123
|
-
} else if (typeof exports === "object") {
|
|
124
|
-
factory(COMMON_ARGUMENTS);
|
|
125
|
-
} else {
|
|
126
|
-
factory(BROWSER_ARGUMENTS);
|
|
127
|
-
}
|
|
128
|
-
})(UMD_ROOT, function (FACTORY_PARAMETERS) {
|
|
129
|
-
FACTORY_BODY
|
|
130
|
-
});
|
|
131
|
-
`(q);function z(q){let re=S("babelHelpers"),le=[],ie=P(null,[S("global")],T(le)),M=N([y(g(ie,[h(v("===",K("typeof",S("global")),F("undefined")),S("self"),S("global"))]))]);return le.push(L("var",[w(re,c("=",b(S("global"),re),C([])))])),W(le,re,q),M}function te(q){let re=[],le=W(re,null,q);return re.unshift(u(null,Object.keys(le).map(ie=>f(p(le[ie]),S(ie))))),N(re,[],"module")}function $(q){let re=S("babelHelpers"),le=[];return le.push(L("var",[w(re,S("global"))])),W(le,re,q),N([O({FACTORY_PARAMETERS:S("global"),BROWSER_ARGUMENTS:c("=",b(S("root"),re),C([])),COMMON_ARGUMENTS:S("exports"),AMD_ARGUMENTS:i([F("exports")]),FACTORY_BODY:le,UMD_ROOT:S("this")})])}function D(q){let re=S("babelHelpers"),le=[];le.push(L("var",[w(re,C([]))]));let ie=N(le);return W(le,re,q),le.push(y(re)),ie}function W(q,re,le){let ie=B=>re?b(re,S(B)):S(`_${B}`),M={};return r().list.forEach(function(B){if(le&&!le.includes(B))return;let G=M[B]=ie(B),{nodes:U}=r().get(B,ie,re?null:`_${B}`,[],re?(Q,de,se)=>{se(ye=>c("=",G,ye)),Q.body.push(y(c("=",G,S(de))))}:null);q.push(...U)}),M}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transform-ast.js":(ee,e,E)=>{"use strict";function r(){let c=E("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return c},c}Object.defineProperty(e,"__esModule",{value:!0}),e.transformFromAst=void 0,e.transformFromAstAsync=function(...c){return(0,t.beginHiddenCallStack)(i.async)(...c)},e.transformFromAstSync=function(...c){return(0,t.beginHiddenCallStack)(i.sync)(...c)};var l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/index.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/index.js"),t=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let i=r()(function*(c,v,T){let g=yield*(0,l.default)(T);if(g===null)return null;if(!c)throw new Error("No AST given");return yield*(0,d.run)(g,v,c)});e.transformFromAst=function(c,v,T,g){let p,h;if(typeof T=="function"?(h=T,p=void 0):(p=T,h=g),h===void 0)return(0,t.beginHiddenCallStack)(i.sync)(c,v,p);(0,t.beginHiddenCallStack)(i.errback)(c,v,p,h)}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transform-file.js":(ee,e,E)=>{"use strict";function r(){let c=E("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return c},c}Object.defineProperty(e,"__esModule",{value:!0}),e.transformFile=function(...c){i.errback(...c)},e.transformFileAsync=function(...c){return i.async(...c)},e.transformFileSync=function(...c){return i.sync(...c)};var l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/index.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/index.js"),t=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/gensync-utils/fs.js");let i=r()(function*(c,v){let T=Object.assign({},v,{filename:c}),g=yield*(0,l.default)(T);if(g===null)return null;let p=yield*t.readFile(c,"utf8");return yield*(0,d.run)(g,p)})},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transform.js":(ee,e,E)=>{"use strict";function r(){let c=E("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return r=function(){return c},c}Object.defineProperty(e,"__esModule",{value:!0}),e.transform=void 0,e.transformAsync=function(...c){return(0,t.beginHiddenCallStack)(i.async)(...c)},e.transformSync=function(...c){return(0,t.beginHiddenCallStack)(i.sync)(...c)};var l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/index.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/index.js"),t=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let i=r()(function*(c,v){let T=yield*(0,l.default)(v);return T===null?null:yield*(0,d.run)(T,c)});e.transform=function(c,v,T){let g,p;if(typeof v=="function"?(p=v,g=void 0):(g=v,p=T),p===void 0)return(0,t.beginHiddenCallStack)(i.sync)(c,g);(0,t.beginHiddenCallStack)(i.errback)(c,g,p)}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js":(ee,e,E)=>{"use strict";function r(){let v=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js");return r=function(){return v},v}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return d||(d=new l.default(Object.assign({},t,{visitor:r().default.explode(t.visitor)}),{})),d};var l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/plugin.js");let d,t={name:"internal.blockHoist",visitor:{Block:{exit({node:v}){v.body=i(v.body)}},SwitchCase:{exit({node:v}){v.consequent=i(v.consequent)}}}};function i(v){let T=Math.pow(2,30)-1,g=!1;for(let p=0;p<v.length;p++){let h=c(v[p]);if(h>T){g=!0;break}T=h}return g?(function(p){let h=Object.create(null);for(let y=0;y<p.length;y++){let P=p[y],S=c(P);(h[S]||(h[S]=[])).push(P)}let u=Object.keys(h).map(y=>+y).sort((y,P)=>P-y),f=0;for(let y of u){let P=h[y];for(let S of P)p[f++]=S}return p})(v.slice()):v}function c(v){let T=v?._blockHoist;return T==null?1:T===!0?2:T}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs":(ee,e,E)=>{e.getModuleName=()=>E("./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/index.js").getModuleName},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/file/file.js":(ee,e,E)=>{"use strict";function r(){let h=E("./node_modules/.pnpm/@babel+helpers@7.27.6/node_modules/@babel/helpers/lib/index.js");return r=function(){return h},h}function l(){let h=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js");return l=function(){return h},h}function d(){let h=E("./stubs/babel-codeframe.mjs");return d=function(){return h},h}function t(){let h=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");return t=function(){return h},h}function i(){let h=E("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return i=function(){return h},h}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs");let{cloneNode:v,interpreterDirective:T}=t(),g={enter(h,u){let f=h.node.loc;f&&(u.loc=f,h.stop())}};class p{constructor(u,{code:f,ast:y,inputMap:P}){this._map=new Map,this.opts=void 0,this.declarations={},this.path=void 0,this.ast=void 0,this.scope=void 0,this.metadata={},this.code="",this.inputMap=void 0,this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)},this.opts=u,this.code=f,this.ast=y,this.inputMap=P,this.path=l().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext(),this.scope=this.path.scope}get shebang(){let{interpreter:u}=this.path.node;return u?u.value:""}set shebang(u){u?this.path.get("interpreter").replaceWith(T(u)):this.path.get("interpreter").remove()}set(u,f){if(u==="helpersNamespace")throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility.If you are using @babel/plugin-external-helpers you will need to use a newer version than the one you currently have installed. If you have your own implementation, you'll want to explore using 'helperGenerator' alongside 'file.availableHelper()'.");this._map.set(u,f)}get(u){return this._map.get(u)}has(u){return this._map.has(u)}availableHelper(u,f){if(r().isInternal(u))return!1;let y;try{y=r().minVersion(u)}catch(P){if(P.code!=="BABEL_HELPER_UNKNOWN")throw P;return!1}return typeof f!="string"||(i().valid(f)&&(f=`^${f}`),!i().intersects(`<${y}`,f)&&!i().intersects(">=8.0.0",f))}addHelper(u){if(r().isInternal(u))throw new Error("Cannot use internal helper "+u);return this._addHelper(u)}_addHelper(u){let f=this.declarations[u];if(f)return v(f);let y=this.get("helperGenerator");if(y){let F=y(u);if(F)return F}r().minVersion(u);let P=this.declarations[u]=this.scope.generateUidIdentifier(u),S={};for(let F of r().getDependencies(u))S[F]=this._addHelper(F);let{nodes:b,globals:C}=r().get(u,F=>S[F],P.name,Object.keys(this.scope.getAllBindings()));C.forEach(F=>{this.path.scope.hasBinding(F,!0)&&this.path.scope.rename(F)}),b.forEach(F=>{F._compact=!0});let N=this.path.unshiftContainer("body",b);for(let F of N)F.isVariableDeclaration()&&this.scope.registerDeclaration(F);return P}buildCodeFrameError(u,f,y=SyntaxError){let P=u?.loc;if(!P&&u){let S={loc:null};(0,l().default)(u,g,this.scope,S),P=S.loc;let b="This is an error on an internal node. Probably an internal error.";P&&(b+=" Location has been estimated."),f+=` (${b})`}if(P){let{highlightCode:S=!0}=this.opts;f+=`
|
|
132
|
-
`+(0,d().codeFrameColumns)(this.code,{start:{line:P.start.line,column:P.start.column+1},end:P.end&&P.start.line===P.end.line?{line:P.end.line,column:P.end.column+1}:void 0},{highlightCode:S})}return new y(f)}}e.default=p,p.prototype.addImport=function(){throw new Error("This API has been removed. If you're looking for this functionality in Babel 7, you should import the '@babel/helper-module-imports' module and use the functions exposed from that module, such as 'addNamed' or 'addDefault'.")},p.prototype.addTemplateObject=function(){throw new Error("This function has been moved into the template literal transform itself.")},p.prototype.getModuleName=function(){return c.getModuleName()(this.opts,this.opts)}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/file/generate.js":(ee,e,E)=>{"use strict";function r(){let t=E("./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js");return r=function(){return t},t}function l(){let t=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/index.js");return l=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,i){let{opts:c,ast:v,code:T,inputMap:g}=i,{generatorOpts:p}=c;p.inputSourceMap=g?.toObject();let h=[];for(let P of t)for(let S of P){let{generatorOverride:b}=S;if(b){let C=b(v,p,T,l().default);C!==void 0&&h.push(C)}}let u;if(h.length===0)u=(0,l().default)(v,p,T);else{if(h.length!==1)throw new Error("More than one plugin attempted to override codegen.");if(u=h[0],typeof u.then=="function")throw new Error("You appear to be using an async codegen plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}let{code:f,decodedMap:y=u.map}=u;return u.__mergedMap?y=Object.assign({},u.map):y&&(y=g?(0,d.default)(g.toObject(),y,p.sourceFileName):u.map),c.sourceMaps!=="inline"&&c.sourceMaps!=="both"||(f+=`
|
|
133
|
-
`+r().fromObject(y).toComment()),c.sourceMaps==="inline"&&(y=null),{outputCode:f,outputMap:y}};var d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/file/merge-map.js")},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/file/merge-map.js":(ee,e,E)=>{"use strict";function r(){let d=E("./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js");return r=function(){return d},d}function l(d){return Object.assign({},d,{sourceRoot:null})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d,t,i){let c=i.replace(/\\/g,"/"),v=!1,T=r()(l(t),(g,p)=>g!==c||v?null:(v=!0,p.source="",l(d)));return typeof d.sourceRoot=="string"&&(T.sourceRoot=d.sourceRoot),Object.assign({},T)}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/index.js":(ee,e,E)=>{"use strict";function r(){let g=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js");return r=function(){return g},g}Object.defineProperty(e,"__esModule",{value:!0}),e.run=function*(g,p,h){let u=yield*(0,i.default)(g.passes,(0,t.default)(g),p,h),f=u.opts;try{yield*(function*(C,N){let F=yield*(0,T.isAsync)();for(let K of N){let L=[],w=[],O=[];for(let te of K.concat([(0,d.default)()])){let $=new l.default(C,te.key,te.options,F);L.push([te,$]),w.push($),O.push(te.visitor)}for(let[te,$]of L)te.pre&&(yield*(0,T.maybeAsync)(te.pre,"You appear to be using an async plugin/preset, but Babel has been called synchronously").call($,C));let z=r().default.visitors.merge(O,w,C.opts.wrapPluginVisitorMethod);(0,r().default)(C.ast,z,C.scope);for(let[te,$]of L)te.post&&(yield*(0,T.maybeAsync)(te.post,"You appear to be using an async plugin/preset, but Babel has been called synchronously").call($,C))}})(u,g.passes)}catch(C){var y;throw C.message=`${(y=f.filename)!=null?y:"unknown file"}: ${C.message}`,C.code||(C.code="BABEL_TRANSFORM_ERROR"),C}let P,S;try{f.code!==!1&&({outputCode:P,outputMap:S}=(0,c.default)(g.passes,u))}catch(C){var b;throw C.message=`${(b=f.filename)!=null?b:"unknown file"}: ${C.message}`,C.code||(C.code="BABEL_GENERATE_ERROR"),C}return{metadata:u.metadata,options:f,ast:f.ast===!0?u.ast:null,code:P===void 0?null:P,map:S===void 0?null:S,sourceType:u.ast.program.sourceType,externalDependencies:(0,v.flattenToSet)(g.externalDependencies)}};var l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/plugin-pass.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js"),t=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/normalize-opts.js"),i=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/normalize-file.js"),c=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/file/generate.js"),v=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/config/helpers/deep-array.js"),T=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/gensync-utils/async.js")},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/normalize-file.js":(ee,e,E)=>{"use strict";function r(){let S=E("fs");return r=function(){return S},S}function l(){let S=E("path");return l=function(){return S},S}function d(){let S=E("./node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js");return d=function(){return S},S}function t(){let S=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");return t=function(){return S},S}function i(){let S=E("./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js");return i=function(){return S},S}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function*(S,b,C,N){if(C=`${C||""}`,N){if(N.type==="Program")N=g(N,[],[]);else if(N.type!=="File")throw new Error("AST root must be a Program or File node");b.cloneInputAst&&(N=(0,T.default)(N))}else N=yield*(0,v.default)(S,b,C);let F=null;if(b.inputSourceMap!==!1){if(typeof b.inputSourceMap=="object"&&(F=i().fromObject(b.inputSourceMap)),!F){let K=P(u,N);if(K)try{F=i().fromComment("//"+K)}catch{h("discarding unknown inline input sourcemap")}}if(!F){let K=P(f,N);if(typeof b.filename=="string"&&K)try{let L=f.exec(K),w=r().readFileSync(l().resolve(l().dirname(b.filename),L[1]),"utf8");F=i().fromJSON(w)}catch(L){h("discarding unknown file input sourcemap",L)}else K&&h("discarding un-loadable file input sourcemap")}}return new c.default(b,{code:C,ast:N,inputMap:F})};var c=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/file/file.js"),v=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/parser/index.js"),T=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/util/clone-deep.js");let{file:g,traverseFast:p}=t(),h=d()("babel:transform:file"),u=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,.*$/,f=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function y(S,b,C){return b&&(b=b.filter(({value:N})=>!S.test(N)||(C=N,!1))),[b,C]}function P(S,b){let C=null;return p(b,N=>{[N.leadingComments,C]=y(S,N.leadingComments,C),[N.innerComments,C]=y(S,N.innerComments,C),[N.trailingComments,C]=y(S,N.trailingComments,C)}),C}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/normalize-opts.js":(ee,e,E)=>{"use strict";function r(){let l=E("path");return r=function(){return l},l}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){let{filename:d,cwd:t,filenameRelative:i=typeof d=="string"?r().relative(t,d):"unknown",sourceType:c="module",inputSourceMap:v,sourceMaps:T=!!v,sourceRoot:g=l.options.moduleRoot,sourceFileName:p=r().basename(i),comments:h=!0,compact:u="auto"}=l.options,f=l.options,y=Object.assign({},f,{parserOpts:Object.assign({sourceType:r().extname(i)===".mjs"?"module":c,sourceFileName:d,plugins:[]},f.parserOpts),generatorOpts:Object.assign({filename:d,auxiliaryCommentBefore:f.auxiliaryCommentBefore,auxiliaryCommentAfter:f.auxiliaryCommentAfter,retainLines:f.retainLines,comments:h,shouldPrintComment:f.shouldPrintComment,compact:u,minified:f.minified,sourceMaps:T,sourceRoot:g,sourceFileName:p},f.generatorOpts)});for(let P of l.passes)for(let S of P)S.manipulateOptions&&S.manipulateOptions(y,y.parserOpts);return y}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/plugin-pass.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class E{constructor(l,d,t,i){this._map=new Map,this.key=void 0,this.file=void 0,this.opts=void 0,this.cwd=void 0,this.filename=void 0,this.isAsync=void 0,this.key=d,this.file=l,this.opts=t||{},this.cwd=l.opts.cwd,this.filename=l.opts.filename,this.isAsync=i}set(l,d){this._map.set(l,d)}get(l){return this._map.get(l)}availableHelper(l,d){return this.file.availableHelper(l,d)}addHelper(l){return this.file.addHelper(l)}buildCodeFrameError(l,d,t){return this.file.buildCodeFrameError(l,d,t)}}e.default=E,E.prototype.getModuleName=function(){return this.file.getModuleName()},E.prototype.addImport=function(){this.file.addImport()}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/transformation/util/clone-deep.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d){if(typeof d!="object")return d;try{return l(d,new Map,!0)}catch{return structuredClone(d)}};let E=new Set,r=0;function l(d,t,i){if(d!==null){if(i){if(t.has(d))return t.get(d)}else if(++r>250){if(E.has(d))throw r=0,E.clear(),new Error("Babel-deepClone: Cycles are not allowed in AST");E.add(d)}let c;if(Array.isArray(d)){c=new Array(d.length),i&&t.set(d,c);for(let v=0;v<d.length;v++)c[v]=typeof d[v]!="object"?d[v]:l(d[v],t,i)}else{c={},i&&t.set(d,c);let v=Object.keys(d);for(let T=0;T<v.length;T++){let g=v[T];c[g]=typeof d[g]!="object"?d[g]:l(d[g],t,i||g==="leadingComments"||g==="innerComments"||g==="trailingComments"||g==="extra")}}return i||r-- >250&&E.delete(d),c}return d}},"./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/vendor/import-meta-resolve.js":(ee,e,E)=>{"use strict";function r(){let oe=E("assert");return r=function(){return oe},oe}function l(){let oe=g(E("fs"),!0);return l=function(){return oe},oe}function d(){let oe=E("process");return d=function(){return oe},oe}function t(){let oe=E("url");return t=function(){return oe},oe}function i(){let oe=E("path");return i=function(){return oe},oe}function c(){let oe=E("module");return c=function(){return oe},oe}function v(){let oe=E("v8");return v=function(){return oe},oe}function T(){let oe=E("util");return T=function(){return oe},oe}function g(oe,Ae){if(typeof WeakMap=="function")var Ge=new WeakMap,He=new WeakMap;return(g=function(Ee,Le){if(!Le&&Ee&&Ee.__esModule)return Ee;var Ie,xe,ze={__proto__:null,default:Ee};if(Ee===null||typeof Ee!="object"&&typeof Ee!="function")return ze;if(Ie=Le?He:Ge){if(Ie.has(Ee))return Ie.get(Ee);Ie.set(Ee,ze)}for(let it in Ee)it!=="default"&&{}.hasOwnProperty.call(Ee,it)&&((xe=(Ie=Object.defineProperty)&&Object.getOwnPropertyDescriptor(Ee,it))&&(xe.get||xe.set)?Ie(ze,it,xe):ze[it]=Ee[it]);return ze})(oe,Ae)}Object.defineProperty(e,"__esModule",{value:!0}),e.moduleResolve=et,e.resolve=function(oe,Ae){if(!Ae)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return(function(Ge,He={}){let{parentURL:Ee}=He,Le,Ie,xe;if(r()(Ee!==void 0,"expected `parentURL` to be defined"),(function(lt){if(lt!==void 0){if(typeof lt!="string"&&(ct=lt,!(ct&&typeof ct=="object"&&"href"in ct&&typeof ct.href=="string"&&"protocol"in ct&&typeof ct.protocol=="string"&&ct.href&&ct.protocol)))throw new f.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],lt);var ct}})(Ee),Ee)try{Le=new(t()).URL(Ee)}catch{}try{if(Ie=st(Ge)?new(t()).URL(Ge,Le):new(t()).URL(Ge),xe=Ie.protocol,xe==="data:")return{url:Ie.href,format:null}}catch{}let ze=(function(lt,ct,Ye){if(Ye){let xt=Ye.protocol;if(xt==="http:"||xt==="https:"){if(st(lt)){let St=ct?.protocol;if(St&&St!=="https:"&&St!=="http:")throw new G(lt,Ye,"remote imports cannot import from a local location.");return{url:ct?.href||""}}throw c().builtinModules.includes(lt)?new G(lt,Ye,"remote imports cannot import from a local location."):new G(lt,Ye,"only relative and absolute specifiers are supported.")}}})(Ge,Ie,Le);if(ze)return ze;if(xe===void 0&&Ie&&(xe=Ie.protocol),xe==="node:")return{url:Ge};if(Ie&&Ie.protocol==="node:")return{url:Ge};let it=(function(lt){if(lt!==void 0&<!==ie){if(!Array.isArray(lt))throw new le("conditions",lt,"expected an array");return new Set(lt)}return M})(He.conditions),Qe=et(Ge,new(t()).URL(Ee),it,!1);return{url:Qe.href,format:re(Qe,{parentURL:Ee})}})(oe,{parentURL:Ae}).url}catch(Ge){let He=Ge;if((He.code==="ERR_UNSUPPORTED_DIR_IMPORT"||He.code==="ERR_MODULE_NOT_FOUND")&&typeof He.url=="string")return He.url;throw Ge}};let p={}.hasOwnProperty,h=/^([A-Z][a-z\d]*)+$/,u=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),f={};function y(oe,Ae="and"){return oe.length<3?oe.join(` ${Ae} `):`${oe.slice(0,-1).join(", ")}, ${Ae} ${oe[oe.length-1]}`}let P=new Map,S;function b(oe,Ae,Ge){return P.set(oe,Ae),(function(He,Ee){return Le;function Le(...Ie){let xe=Error.stackTraceLimit;C()&&(Error.stackTraceLimit=0);let ze=new He;C()&&(Error.stackTraceLimit=xe);let it=(function(Qe,lt,ct){let Ye=P.get(Qe);if(r()(Ye!==void 0,"expected `message` to be found"),typeof Ye=="function")return r()(Ye.length<=lt.length,`Code: ${Qe}; The provided arguments length (${lt.length}) does not match the required ones (${Ye.length}).`),Reflect.apply(Ye,ct,lt);let xt=/%[dfijoOs]/g,St=0;for(;xt.exec(Ye)!==null;)St++;return r()(St===lt.length,`Code: ${Qe}; The provided arguments length (${lt.length}) does not match the required ones (${St}).`),lt.length===0?Ye:(lt.unshift(Ye),Reflect.apply(T().format,null,lt))})(Ee,Ie,ze);return Object.defineProperties(ze,{message:{value:it,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${Ee}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),N(ze),ze.code=Ee,ze}})(Ge,oe)}function C(){try{if(v().startupSnapshot.isBuildingSnapshot())return!1}catch{}let oe=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return oe===void 0?Object.isExtensible(Error):p.call(oe,"writable")&&oe.writable!==void 0?oe.writable:oe.set!==void 0}f.ERR_INVALID_ARG_TYPE=b("ERR_INVALID_ARG_TYPE",(oe,Ae,Ge)=>{r()(typeof oe=="string","'name' must be a string"),Array.isArray(Ae)||(Ae=[Ae]);let He="The ";if(oe.endsWith(" argument"))He+=`${oe} `;else{let xe=oe.includes(".")?"property":"argument";He+=`"${oe}" ${xe} `}He+="must be ";let Ee=[],Le=[],Ie=[];for(let xe of Ae)r()(typeof xe=="string","All expected entries have to be of type string"),u.has(xe)?Ee.push(xe.toLowerCase()):h.exec(xe)===null?(r()(xe!=="object",'The value "object" should be written as "Object"'),Ie.push(xe)):Le.push(xe);if(Le.length>0){let xe=Ee.indexOf("object");xe!==-1&&(Ee.slice(xe,1),Le.push("Object"))}return Ee.length>0&&(He+=`${Ee.length>1?"one of type":"of type"} ${y(Ee,"or")}`,(Le.length>0||Ie.length>0)&&(He+=" or ")),Le.length>0&&(He+=`an instance of ${y(Le,"or")}`,Ie.length>0&&(He+=" or ")),Ie.length>0&&(Ie.length>1?He+=`one of ${y(Ie,"or")}`:(Ie[0].toLowerCase()!==Ie[0]&&(He+="an "),He+=`${Ie[0]}`)),He+=`. Received ${(function(xe){if(xe==null)return String(xe);if(typeof xe=="function"&&xe.name)return`function ${xe.name}`;if(typeof xe=="object")return xe.constructor&&xe.constructor.name?`an instance of ${xe.constructor.name}`:`${(0,T().inspect)(xe,{depth:-1})}`;let ze=(0,T().inspect)(xe,{colors:!1});return ze.length>28&&(ze=`${ze.slice(0,25)}...`),`type ${typeof xe} (${ze})`})(Ge)}`,He},TypeError),f.ERR_INVALID_MODULE_SPECIFIER=b("ERR_INVALID_MODULE_SPECIFIER",(oe,Ae,Ge=void 0)=>`Invalid module "${oe}" ${Ae}${Ge?` imported from ${Ge}`:""}`,TypeError),f.ERR_INVALID_PACKAGE_CONFIG=b("ERR_INVALID_PACKAGE_CONFIG",(oe,Ae,Ge)=>`Invalid package config ${oe}${Ae?` while importing ${Ae}`:""}${Ge?`. ${Ge}`:""}`,Error),f.ERR_INVALID_PACKAGE_TARGET=b("ERR_INVALID_PACKAGE_TARGET",(oe,Ae,Ge,He=!1,Ee=void 0)=>{let Le=typeof Ge=="string"&&!He&&Ge.length>0&&!Ge.startsWith("./");return Ae==="."?(r()(He===!1),`Invalid "exports" main target ${JSON.stringify(Ge)} defined in the package config ${oe}package.json${Ee?` imported from ${Ee}`:""}${Le?'; targets must start with "./"':""}`):`Invalid "${He?"imports":"exports"}" target ${JSON.stringify(Ge)} defined for '${Ae}' in the package config ${oe}package.json${Ee?` imported from ${Ee}`:""}${Le?'; targets must start with "./"':""}`},Error),f.ERR_MODULE_NOT_FOUND=b("ERR_MODULE_NOT_FOUND",(oe,Ae,Ge=!1)=>`Cannot find ${Ge?"module":"package"} '${oe}' imported from ${Ae}`,Error),f.ERR_NETWORK_IMPORT_DISALLOWED=b("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),f.ERR_PACKAGE_IMPORT_NOT_DEFINED=b("ERR_PACKAGE_IMPORT_NOT_DEFINED",(oe,Ae,Ge)=>`Package import specifier "${oe}" is not defined${Ae?` in package ${Ae}package.json`:""} imported from ${Ge}`,TypeError),f.ERR_PACKAGE_PATH_NOT_EXPORTED=b("ERR_PACKAGE_PATH_NOT_EXPORTED",(oe,Ae,Ge=void 0)=>Ae==="."?`No "exports" main defined in ${oe}package.json${Ge?` imported from ${Ge}`:""}`:`Package subpath '${Ae}' is not defined by "exports" in ${oe}package.json${Ge?` imported from ${Ge}`:""}`,Error),f.ERR_UNSUPPORTED_DIR_IMPORT=b("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),f.ERR_UNSUPPORTED_RESOLVE_REQUEST=b("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),f.ERR_UNKNOWN_FILE_EXTENSION=b("ERR_UNKNOWN_FILE_EXTENSION",(oe,Ae)=>`Unknown file extension "${oe}" for ${Ae}`,TypeError),f.ERR_INVALID_ARG_VALUE=b("ERR_INVALID_ARG_VALUE",(oe,Ae,Ge="is invalid")=>{let He=(0,T().inspect)(Ae);return He.length>128&&(He=`${He.slice(0,128)}...`),`The ${oe.includes(".")?"property":"argument"} '${oe}' ${Ge}. Received ${He}`},TypeError);let N=(function(oe){let Ae="__node_internal_"+oe.name;return Object.defineProperty(oe,"name",{value:Ae}),oe})(function(oe){let Ae=C();return Ae&&(S=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(oe),Ae&&(Error.stackTraceLimit=S),oe}),F={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:K}=f,L=new Map;function w(oe,{base:Ae,specifier:Ge}){let He=L.get(oe);if(He)return He;let Ee;try{Ee=l().default.readFileSync(i().toNamespacedPath(oe),"utf8")}catch(Ie){let xe=Ie;if(xe.code!=="ENOENT")throw xe}let Le={exists:!1,pjsonPath:oe,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(Ee!==void 0){let Ie;try{Ie=JSON.parse(Ee)}catch(xe){let ze=xe,it=new K(oe,(Ae?`"${Ge}" from `:"")+(0,t().fileURLToPath)(Ae||Ge),ze.message);throw it.cause=ze,it}Le.exists=!0,F.call(Ie,"name")&&typeof Ie.name=="string"&&(Le.name=Ie.name),F.call(Ie,"main")&&typeof Ie.main=="string"&&(Le.main=Ie.main),F.call(Ie,"exports")&&(Le.exports=Ie.exports),F.call(Ie,"imports")&&(Le.imports=Ie.imports),!F.call(Ie,"type")||Ie.type!=="commonjs"&&Ie.type!=="module"||(Le.type=Ie.type)}return L.set(oe,Le),Le}function O(oe){let Ae=new URL("package.json",oe);for(;!Ae.pathname.endsWith("node_modules/package.json");){let Ge=w((0,t().fileURLToPath)(Ae),{specifier:oe});if(Ge.exists)return Ge;let He=Ae;if(Ae=new URL("../package.json",Ae),Ae.pathname===He.pathname)break}return{pjsonPath:(0,t().fileURLToPath)(Ae),exists:!1,type:"none"}}function z(oe){return O(oe).type}let{ERR_UNKNOWN_FILE_EXTENSION:te}=f,$={}.hasOwnProperty,D={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},W={__proto__:null,"data:":function(oe){let{1:Ae}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(oe.pathname)||[null,null,null];return(function(Ge){return Ge&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(Ge)?"module":Ge==="application/json"?"json":null})(Ae)},"file:":function(oe,Ae,Ge){let He=(function(Ie){let xe=Ie.pathname,ze=xe.length;for(;ze--;){let it=xe.codePointAt(ze);if(it===47)return"";if(it===46)return xe.codePointAt(ze-1)===47?"":xe.slice(ze)}return""})(oe);if(He===".js"){let Ie=z(oe);return Ie!=="none"?Ie:"commonjs"}if(He===""){let Ie=z(oe);return Ie==="none"||Ie==="commonjs"?"commonjs":"module"}let Ee=D[He];if(Ee)return Ee;if(Ge)return;let Le=(0,t().fileURLToPath)(oe);throw new te(He,Le)},"http:":q,"https:":q,"node:":()=>"builtin"};function q(){}function re(oe,Ae){let Ge=oe.protocol;return $.call(W,Ge)&&W[Ge](oe,Ae,!0)||null}let{ERR_INVALID_ARG_VALUE:le}=f,ie=Object.freeze(["node","import"]),M=new Set(ie),B=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:G,ERR_INVALID_MODULE_SPECIFIER:U,ERR_INVALID_PACKAGE_CONFIG:Q,ERR_INVALID_PACKAGE_TARGET:de,ERR_MODULE_NOT_FOUND:se,ERR_PACKAGE_IMPORT_NOT_DEFINED:ye,ERR_PACKAGE_PATH_NOT_EXPORTED:we,ERR_UNSUPPORTED_DIR_IMPORT:ve,ERR_UNSUPPORTED_RESOLVE_REQUEST:ce}=f,H={}.hasOwnProperty,me=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,Se=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,pe=/^\.|%|\\/,j=/\*/g,Te=/%2f|%5c/i,De=new Set,Fe=/[/\\]{2}/;function Pe(oe,Ae,Ge,He,Ee,Le,Ie){if(d().noDeprecation)return;let xe=(0,t().fileURLToPath)(He),ze=Fe.exec(Ie?oe:Ae)!==null;d().emitWarning(`Use of deprecated ${ze?"double slash":"leading or trailing slash matching"} resolving "${oe}" for module request "${Ae}" ${Ae===Ge?"":`matched to "${Ge}" `}in the "${Ee?"imports":"exports"}" field module resolution of the package at ${xe}${Le?` imported from ${(0,t().fileURLToPath)(Le)}`:""}.`,"DeprecationWarning","DEP0166")}function ke(oe,Ae,Ge,He){if(d().noDeprecation||re(oe,{parentURL:Ge.href})!=="module")return;let Ee=(0,t().fileURLToPath)(oe.href),Le=(0,t().fileURLToPath)(new(t()).URL(".",Ae)),Ie=(0,t().fileURLToPath)(Ge);He?i().resolve(Le,He)!==Ee&&d().emitWarning(`Package ${Le} has a "main" field set to "${He}", excluding the full filename and extension to the resolved file at "${Ee.slice(Le.length)}", imported from ${Ie}.
|
|
134
|
-
Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):d().emitWarning(`No "main" or "exports" field defined in the package.json for ${Le} resolving the main entry point "${Ee.slice(Le.length)}", imported from ${Ie}.
|
|
135
|
-
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function Oe(oe){try{return(0,l().statSync)(oe)}catch{}}function We(oe){let Ae=(0,l().statSync)(oe,{throwIfNoEntry:!1}),Ge=Ae?Ae.isFile():void 0;return Ge!=null&&Ge}function Re(oe,Ae,Ge){let He;if(Ae.main!==void 0){if(He=new(t()).URL(Ae.main,oe),We(He))return He;let Ie=[`./${Ae.main}.js`,`./${Ae.main}.json`,`./${Ae.main}.node`,`./${Ae.main}/index.js`,`./${Ae.main}/index.json`,`./${Ae.main}/index.node`],xe=-1;for(;++xe<Ie.length&&(He=new(t()).URL(Ie[xe],oe),!We(He));)He=void 0;if(He)return ke(He,oe,Ge,Ae.main),He}let Ee=["./index.js","./index.json","./index.node"],Le=-1;for(;++Le<Ee.length&&(He=new(t()).URL(Ee[Le],oe),!We(He));)He=void 0;if(He)return ke(He,oe,Ge,Ae.main),He;throw new se((0,t().fileURLToPath)(new(t()).URL(".",oe)),(0,t().fileURLToPath)(Ge))}function at(oe,Ae,Ge){return new we((0,t().fileURLToPath)(new(t()).URL(".",Ae)),oe,Ge&&(0,t().fileURLToPath)(Ge))}function ut(oe,Ae,Ge,He,Ee){return Ae=typeof Ae=="object"&&Ae!==null?JSON.stringify(Ae,null,""):`${Ae}`,new de((0,t().fileURLToPath)(new(t()).URL(".",Ge)),oe,Ae,He,Ee&&(0,t().fileURLToPath)(Ee))}function pt(oe,Ae,Ge,He,Ee,Le,Ie,xe,ze){if(Ae!==""&&!Le&&oe[oe.length-1]!=="/")throw ut(Ge,oe,He,Ie,Ee);if(!oe.startsWith("./")){if(Ie&&!oe.startsWith("../")&&!oe.startsWith("/")){let ct=!1;try{new(t()).URL(oe),ct=!0}catch{}if(!ct)return $e(Le?B.call(j,oe,()=>Ae):oe+Ae,He,ze)}throw ut(Ge,oe,He,Ie,Ee)}if(me.exec(oe.slice(2))!==null){if(Se.exec(oe.slice(2))!==null)throw ut(Ge,oe,He,Ie,Ee);if(!xe){let ct=Le?Ge.replace("*",()=>Ae):Ge+Ae;Pe(Le?B.call(j,oe,()=>Ae):oe,ct,Ge,He,Ie,Ee,!0)}}let it=new(t()).URL(oe,He),Qe=it.pathname,lt=new(t()).URL(".",He).pathname;if(!Qe.startsWith(lt))throw ut(Ge,oe,He,Ie,Ee);if(Ae==="")return it;if(me.exec(Ae)!==null){let ct=Le?Ge.replace("*",()=>Ae):Ge+Ae;Se.exec(Ae)===null?xe||Pe(Le?B.call(j,oe,()=>Ae):oe,ct,Ge,He,Ie,Ee,!1):(function(Ye,xt,St,Ft,Dt){let Jt=`request is not a valid match in pattern "${xt}" for the "${Ft?"imports":"exports"}" resolution of ${(0,t().fileURLToPath)(St)}`;throw new U(Ye,Jt,Dt&&(0,t().fileURLToPath)(Dt))})(ct,Ge,He,Ie,Ee)}return Le?new(t()).URL(B.call(j,it.href,()=>Ae)):new(t()).URL(Ae,it)}function qe(oe){let Ae=Number(oe);return`${Ae}`===oe&&Ae>=0&&Ae<4294967295}function rt(oe,Ae,Ge,He,Ee,Le,Ie,xe,ze){if(typeof Ae=="string")return pt(Ae,Ge,He,oe,Ee,Le,Ie,xe,ze);if(Array.isArray(Ae)){let it=Ae;if(it.length===0)return null;let Qe,lt=-1;for(;++lt<it.length;){let ct=it[lt],Ye;try{Ye=rt(oe,ct,Ge,He,Ee,Le,Ie,xe,ze)}catch(xt){if(Qe=xt,xt.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw xt}if(Ye!==void 0){if(Ye!==null)return Ye;Qe=null}}if(Qe==null)return null;throw Qe}if(typeof Ae=="object"&&Ae!==null){let it=Object.getOwnPropertyNames(Ae),Qe=-1;for(;++Qe<it.length;)if(qe(it[Qe]))throw new Q((0,t().fileURLToPath)(oe),Ee,'"exports" cannot contain numeric property keys.');for(Qe=-1;++Qe<it.length;){let lt=it[Qe];if(lt==="default"||ze&&ze.has(lt)){let ct=rt(oe,Ae[lt],Ge,He,Ee,Le,Ie,xe,ze);if(ct===void 0)continue;return ct}}return null}if(Ae===null)return null;throw ut(He,Ae,oe,Ie,Ee)}function Ve(oe,Ae,Ge){if(d().noDeprecation)return;let He=(0,t().fileURLToPath)(Ae);De.has(He+"|"+oe)||(De.add(He+"|"+oe),d().emitWarning(`Use of deprecated trailing slash pattern mapping "${oe}" in the "exports" field module resolution of the package at ${He}${Ge?` imported from ${(0,t().fileURLToPath)(Ge)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function Ne(oe,Ae,Ge,He,Ee){let Le=Ge.exports;if((function(Qe,lt,ct){if(typeof Qe=="string"||Array.isArray(Qe))return!0;if(typeof Qe!="object"||Qe===null)return!1;let Ye=Object.getOwnPropertyNames(Qe),xt=!1,St=0,Ft=-1;for(;++Ft<Ye.length;){let Dt=Ye[Ft],Jt=Dt===""||Dt[0]!==".";if(St++===0)xt=Jt;else if(xt!==Jt)throw new Q((0,t().fileURLToPath)(lt),ct,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return xt})(Le,oe,He)&&(Le={".":Le}),H.call(Le,Ae)&&!Ae.includes("*")&&!Ae.endsWith("/")){let Qe=rt(oe,Le[Ae],"",Ae,He,!1,!1,!1,Ee);if(Qe==null)throw at(Ae,oe,He);return Qe}let Ie="",xe="",ze=Object.getOwnPropertyNames(Le),it=-1;for(;++it<ze.length;){let Qe=ze[it],lt=Qe.indexOf("*");if(lt!==-1&&Ae.startsWith(Qe.slice(0,lt))){Ae.endsWith("/")&&Ve(Ae,oe,He);let ct=Qe.slice(lt+1);Ae.length>=Qe.length&&Ae.endsWith(ct)&&ae(Ie,Qe)===1&&Qe.lastIndexOf("*")===lt&&(Ie=Qe,xe=Ae.slice(lt,Ae.length-ct.length))}}if(Ie){let Qe=rt(oe,Le[Ie],xe,Ie,He,!0,!1,Ae.endsWith("/"),Ee);if(Qe==null)throw at(Ae,oe,He);return Qe}throw at(Ae,oe,He)}function ae(oe,Ae){let Ge=oe.indexOf("*"),He=Ae.indexOf("*"),Ee=Ge===-1?oe.length:Ge+1,Le=He===-1?Ae.length:He+1;return Ee>Le?-1:Le>Ee||Ge===-1?1:He===-1||oe.length>Ae.length?-1:Ae.length>oe.length?1:0}function _e(oe,Ae,Ge){if(oe==="#"||oe.startsWith("#/")||oe.endsWith("/"))throw new U(oe,"is not a valid internal imports specifier name",(0,t().fileURLToPath)(Ae));let He,Ee=O(Ae);if(Ee.exists){He=(0,t().pathToFileURL)(Ee.pjsonPath);let Le=Ee.imports;if(Le)if(H.call(Le,oe)&&!oe.includes("*")){let Ie=rt(He,Le[oe],"",oe,Ae,!1,!0,!1,Ge);if(Ie!=null)return Ie}else{let Ie="",xe="",ze=Object.getOwnPropertyNames(Le),it=-1;for(;++it<ze.length;){let Qe=ze[it],lt=Qe.indexOf("*");if(lt!==-1&&oe.startsWith(Qe.slice(0,-1))){let ct=Qe.slice(lt+1);oe.length>=Qe.length&&oe.endsWith(ct)&&ae(Ie,Qe)===1&&Qe.lastIndexOf("*")===lt&&(Ie=Qe,xe=oe.slice(lt,oe.length-ct.length))}}if(Ie){let Qe=rt(He,Le[Ie],xe,Ie,Ae,!0,!0,!1,Ge);if(Qe!=null)return Qe}}}throw(function(Le,Ie,xe){return new ye(Le,Ie&&(0,t().fileURLToPath)(new(t()).URL(".",Ie)),(0,t().fileURLToPath)(xe))})(oe,He,Ae)}function $e(oe,Ae,Ge){if(c().builtinModules.includes(oe))return new(t()).URL("node:"+oe);let{packageName:He,packageSubpath:Ee,isScoped:Le}=(function(Qe,lt){let ct=Qe.indexOf("/"),Ye=!0,xt=!1;Qe[0]==="@"&&(xt=!0,ct===-1||Qe.length===0?Ye=!1:ct=Qe.indexOf("/",ct+1));let St=ct===-1?Qe:Qe.slice(0,ct);if(pe.exec(St)!==null&&(Ye=!1),!Ye)throw new U(Qe,"is not a valid package name",(0,t().fileURLToPath)(lt));return{packageName:St,packageSubpath:"."+(ct===-1?"":Qe.slice(ct)),isScoped:xt}})(oe,Ae),Ie=O(Ae);if(Ie.exists){let Qe=(0,t().pathToFileURL)(Ie.pjsonPath);if(Ie.name===He&&Ie.exports!==void 0&&Ie.exports!==null)return Ne(Qe,Ee,Ie,Ae,Ge)}let xe,ze=new(t()).URL("./node_modules/"+He+"/package.json",Ae),it=(0,t().fileURLToPath)(ze);do{let Qe=Oe(it.slice(0,-13));if(!Qe||!Qe.isDirectory()){xe=it,ze=new(t()).URL((Le?"../../../../node_modules/":"../../../node_modules/")+He+"/package.json",ze),it=(0,t().fileURLToPath)(ze);continue}let lt=w(it,{base:Ae,specifier:oe});return lt.exports!==void 0&<.exports!==null?Ne(ze,Ee,lt,Ae,Ge):Ee==="."?Re(ze,lt,Ae):new(t()).URL(Ee,ze)}while(it.length!==xe.length);throw new se(He,(0,t().fileURLToPath)(Ae),!1)}function st(oe){return oe!==""&&(oe[0]==="/"||(function(Ae){return Ae[0]==="."&&(Ae.length===1||Ae[1]==="/"||Ae[1]==="."&&(Ae.length===2||Ae[2]==="/"))})(oe))}function et(oe,Ae,Ge,He){let Ee=Ae.protocol,Le=Ee==="data:"||Ee==="http:"||Ee==="https:",Ie;if(st(oe))try{Ie=new(t()).URL(oe,Ae)}catch(xe){let ze=new ce(oe,Ae);throw ze.cause=xe,ze}else if(Ee==="file:"&&oe[0]==="#")Ie=_e(oe,Ae,Ge);else try{Ie=new(t()).URL(oe)}catch(xe){if(Le&&!c().builtinModules.includes(oe)){let ze=new ce(oe,Ae);throw ze.cause=xe,ze}Ie=$e(oe,Ae,Ge)}return r()(Ie!==void 0,"expected to be defined"),Ie.protocol!=="file:"?Ie:(function(xe,ze,it){if(Te.exec(xe.pathname)!==null)throw new U(xe.pathname,'must not include encoded "/" or "\\" characters',(0,t().fileURLToPath)(ze));let Qe;try{Qe=(0,t().fileURLToPath)(xe)}catch(ct){let Ye=ct;throw Object.defineProperty(Ye,"input",{value:String(xe)}),Object.defineProperty(Ye,"module",{value:String(ze)}),Ye}let lt=Oe(Qe.endsWith("/")?Qe.slice(-1):Qe);if(lt&<.isDirectory()){let ct=new ve(Qe,(0,t().fileURLToPath)(ze));throw ct.url=String(xe),ct}if(!lt||!lt.isFile()){let ct=new se(Qe||xe.pathname,ze&&(0,t().fileURLToPath)(ze),!0);throw ct.url=String(xe),ct}if(!it){let ct=(0,l().realpathSync)(Qe),{search:Ye,hash:xt}=xe;(xe=(0,t().pathToFileURL)(ct+(Qe.endsWith(i().sep)?"/":""))).search=Ye,xe.hash=xt}return xe})(Ie,Ae,He)}},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/buffer.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=class{constructor(E,r){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=E,this._indentChar=r;for(let l=0;l<64;l++)this._fastIndentations.push(r.repeat(l));this._allocQueue()}_allocQueue(){let E=this._queue;for(let r=0;r<16;r++)E.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(E,r,l,d,t){let i=this._queueCursor;i===this._queue.length&&this._allocQueue();let c=this._queue[i];c.char=E,c.repeat=r,c.line=l,c.column=d,c.filename=t,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let E=this._map,r={code:(this._buf+this._str).trimRight(),decodedMap:E?.getDecoded(),get __mergedMap(){return this.map},get map(){let l=E?E.get():null;return r.map=l,l},set map(l){Object.defineProperty(r,"map",{value:l,writable:!0})},get rawMappings(){let l=E?.getRawMappings();return r.rawMappings=l,l},set rawMappings(l){Object.defineProperty(r,"rawMappings",{value:l,writable:!0})}};return r}append(E,r){this._flush(),this._append(E,this._sourcePosition,r)}appendChar(E){this._flush(),this._appendChar(E,1,this._sourcePosition)}queue(E){if(E===10)for(;this._queueCursor!==0;){let l=this._queue[this._queueCursor-1].char;if(l!==32&&l!==9)break;this._queueCursor--}let r=this._sourcePosition;this._pushQueue(E,1,r.line,r.column,r.filename)}queueIndentation(E){E!==0&&this._pushQueue(-1,E,void 0,void 0,void 0)}_flush(){let E=this._queueCursor,r=this._queue;for(let l=0;l<E;l++){let d=r[l];this._appendChar(d.char,d.repeat,d)}this._queueCursor=0}_appendChar(E,r,l){if(this._last=E,E===-1){let d=this._fastIndentations[r];this._str+=d!==void 0?d:r>1?this._indentChar.repeat(r):this._indentChar}else this._str+=r>1?String.fromCharCode(E).repeat(r):String.fromCharCode(E);E!==10?(this._mark(l.line,l.column,l.identifierName,l.identifierNamePos,l.filename),this._position.column+=r):(this._position.line++,this._position.column=0),this._canMarkIdName&&(l.identifierName=void 0,l.identifierNamePos=void 0)}_append(E,r,l){let d=E.length,t=this._position;if(this._last=E.charCodeAt(d-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=E,this._appendCount=0):this._str+=E,!l&&!this._map)return void(t.column+=d);let{column:i,identifierName:c,identifierNamePos:v,filename:T}=r,g=r.line;c==null&&v==null||!this._canMarkIdName||(r.identifierName=void 0,r.identifierNamePos=void 0);let p=E.indexOf(`
|
|
136
|
-
`),h=0;for(p!==0&&this._mark(g,i,c,v,T);p!==-1;)t.line++,t.column=0,h=p+1,h<d&&g!==void 0&&this._mark(++g,0,null,null,T),p=E.indexOf(`
|
|
137
|
-
`,h);t.column+=d-h}_mark(E,r,l,d,t){var i;(i=this._map)==null||i.mark(this._position,E,r,l,d,t)}removeTrailingNewline(){let E=this._queueCursor;E!==0&&this._queue[E-1].char===10&&this._queueCursor--}removeLastSemicolon(){let E=this._queueCursor;E!==0&&this._queue[E-1].char===59&&this._queueCursor--}getLastChar(){let E=this._queueCursor;return E!==0?this._queue[E-1].char:this._last}getNewlineCount(){let E=this._queueCursor,r=0;if(E===0)return this._last===10?1:0;for(let l=E-1;l>=0&&this._queue[l].char===10;l--)r++;return r===E&&this._last===10?r+1:r}endsWithCharAndNewline(){let E=this._queue,r=this._queueCursor;if(r!==0)return E[r-1].char!==10?void 0:r>1?E[r-2].char:this._last}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(E,r){if(!this._map)return void r();this.source("start",E);let l=E.identifierName,d=this._sourcePosition;l&&(this._canMarkIdName=!1,d.identifierName=l),r(),l&&(this._canMarkIdName=!0,d.identifierName=void 0,d.identifierNamePos=void 0),this.source("end",E)}source(E,r){this._map&&this._normalizePosition(E,r,0)}sourceWithOffset(E,r,l){this._map&&this._normalizePosition(E,r,l)}_normalizePosition(E,r,l){let d=r[E],t=this._sourcePosition;d&&(t.line=d.line,t.column=Math.max(d.column+l,0),t.filename=r.filename)}getCurrentColumn(){let E=this._queue,r=this._queueCursor,l=-1,d=0;for(let t=0;t<r;t++){let i=E[t];i.char===10&&(l=d),d+=i.repeat}return l===-1?this._position.column+d:d-1-l}getCurrentLine(){let E=0,r=this._queue;for(let l=0;l<this._queueCursor;l++)r[l].char===10&&E++;return this._position.line+E}}},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/base.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BlockStatement=function(l){var d;this.tokenChar(123);let t=this.enterDelimited(),i=(d=l.directives)==null?void 0:d.length;if(i){var c;let v=l.body.length?2:1;this.printSequence(l.directives,!0,v),(c=l.directives[i-1].trailingComments)!=null&&c.length||this.newline(v)}this.printSequence(l.body,!0),t(),this.rightBrace(l)},e.Directive=function(l){this.print(l.value),this.semicolon()},e.DirectiveLiteral=function(l){let d=this.getPossibleRaw(l);if(!this.format.minified&&d!==void 0)return void this.token(d);let{value:t}=l;if(r.test(t)){if(E.test(t))throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");this.token(`'${t}'`)}else this.token(`"${t}"`)},e.File=function(l){l.program&&this.print(l.program.interpreter),this.print(l.program)},e.InterpreterDirective=function(l){this.token(`#!${l.value}`),this.newline(1,!0)},e.Placeholder=function(l){this.token("%%"),this.print(l.name),this.token("%%"),l.expectedNode==="Statement"&&this.semicolon()},e.Program=function(l){var d;this.noIndentInnerCommentsHere(),this.printInnerComments();let t=(d=l.directives)==null?void 0:d.length;if(t){var i;let c=l.body.length?2:1;this.printSequence(l.directives,void 0,c),(i=l.directives[t-1].trailingComments)!=null&&i.length||this.newline(c)}this.printSequence(l.body)};let E=/(?:^|[^\\])(?:\\\\)*'/,r=/(?:^|[^\\])(?:\\\\)*"/},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/classes.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ClassAccessorProperty=function(t){var i;this.printJoin(t.decorators);let c=(i=t.key.loc)==null||(i=i.end)==null?void 0:i.line;c&&this.catchUp(c),this.tsPrintClassMemberModifiers(t),this.word("accessor",!0),this.space(),t.computed?(this.tokenChar(91),this.print(t.key),this.tokenChar(93)):(this._variance(t),this.print(t.key)),t.optional&&this.tokenChar(63),t.definite&&this.tokenChar(33),this.print(t.typeAnnotation),t.value&&(this.space(),this.tokenChar(61),this.space(),this.print(t.value)),this.semicolon()},e.ClassBody=function(t){if(this.tokenChar(123),t.body.length===0)this.tokenChar(125);else{this.newline();let i=(function(v,T){if(!v.tokenMap||T.start==null||T.end==null)return null;let g=v.tokenMap.getIndexes(T);if(!g)return null;let p=1,h=0,u=0,f=()=>{for(;u<T.body.length&&T.body[u].start==null;)u++};return f(),y=>{u<=y&&(u=y+1,f());let P=u===T.body.length?T.end:T.body[u].start,S;for(;p<g.length&&v.tokenMap.matchesOriginal(S=v._tokens[g[p]],";")&&S.start<P;)v.token(";",void 0,h++),p++}})(this,t);i?.(-1);let c=this.enterDelimited();this.printJoin(t.body,!0,!0,i,!0),c(),this.endsWith(10)||this.newline(),this.rightBrace(t)}},e.ClassExpression=e.ClassDeclaration=function(t,i){(l(i)||d(i))&&this._shouldPrintDecoratorsBeforeExport(i)||this.printJoin(t.decorators),t.declare&&(this.word("declare"),this.space()),t.abstract&&(this.word("abstract"),this.space()),this.word("class"),t.id&&(this.space(),this.print(t.id)),this.print(t.typeParameters),t.superClass&&(this.space(),this.word("extends"),this.space(),this.print(t.superClass),this.print(t.superTypeParameters)),t.implements&&(this.space(),this.word("implements"),this.space(),this.printList(t.implements)),this.space(),this.print(t.body)},e.ClassMethod=function(t){this._classMethodHead(t),this.space(),this.print(t.body)},e.ClassPrivateMethod=function(t){this._classMethodHead(t),this.space(),this.print(t.body)},e.ClassPrivateProperty=function(t){this.printJoin(t.decorators),this.tsPrintClassMemberModifiers(t),this.print(t.key),t.optional&&this.tokenChar(63),t.definite&&this.tokenChar(33),this.print(t.typeAnnotation),t.value&&(this.space(),this.tokenChar(61),this.space(),this.print(t.value)),this.semicolon()},e.ClassProperty=function(t){if(this.printJoin(t.decorators),!t.static&&!this.format.preserveFormat){var i;let c=(i=t.key.loc)==null||(i=i.end)==null?void 0:i.line;c&&this.catchUp(c)}this.tsPrintClassMemberModifiers(t),t.computed?(this.tokenChar(91),this.print(t.key),this.tokenChar(93)):(this._variance(t),this.print(t.key)),t.optional&&this.tokenChar(63),t.definite&&this.tokenChar(33),this.print(t.typeAnnotation),t.value&&(this.space(),this.tokenChar(61),this.space(),this.print(t.value)),this.semicolon()},e.StaticBlock=function(t){this.word("static"),this.space(),this.tokenChar(123),t.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(t.body,!0),this.rightBrace(t))},e._classMethodHead=function(t){if(this.printJoin(t.decorators),!this.format.preserveFormat){var i;let c=(i=t.key.loc)==null||(i=i.end)==null?void 0:i.line;c&&this.catchUp(c)}this.tsPrintClassMemberModifiers(t),this._methodHead(t)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{isExportDefaultDeclaration:l,isExportNamedDeclaration:d}=r},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/deprecated.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addDeprecatedGenerators=function(E){{let r={Noop(){},TSExpressionWithTypeArguments(l){this.print(l.expression),this.print(l.typeParameters)},DecimalLiteral(l){let d=this.getPossibleRaw(l);this.format.minified||d===void 0?this.word(l.value+"m"):this.word(d)}};Object.assign(E.prototype,r)}}},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/expressions.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LogicalExpression=e.BinaryExpression=e.AssignmentExpression=function(T){this.print(T.left),this.space(),T.operator==="in"||T.operator==="instanceof"?this.word(T.operator):(this.token(T.operator),this._endsWithDiv=T.operator==="/"),this.space(),this.print(T.right)},e.AssignmentPattern=function(T){this.print(T.left),(T.left.type==="Identifier"||v(T.left))&&(T.left.optional&&this.tokenChar(63),this.print(T.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(T.right)},e.AwaitExpression=function(T){this.word("await"),this.space(),this.print(T.argument)},e.BindExpression=function(T){this.print(T.object),this.token("::"),this.print(T.callee)},e.CallExpression=function(T){this.print(T.callee),this.print(T.typeArguments),this.print(T.typeParameters),this.tokenChar(40);let g=this.enterDelimited();this.printList(T.arguments,this.shouldPrintTrailingComma(")")),g(),this.rightParens(T)},e.ConditionalExpression=function(T){this.print(T.test),this.space(),this.tokenChar(63),this.space(),this.print(T.consequent),this.space(),this.tokenChar(58),this.space(),this.print(T.alternate)},e.Decorator=function(T){this.tokenChar(64),this.print(T.expression),this.newline()},e.DoExpression=function(T){T.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(T.body)},e.EmptyStatement=function(){this.semicolon(!0)},e.ExpressionStatement=function(T){this.tokenContext|=l.TokenContext.expressionStatement,this.print(T.expression),this.semicolon()},e.Import=function(){this.word("import")},e.MemberExpression=function(T){if(this.print(T.object),!T.computed&&i(T.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let g=T.computed;if(t(T.property)&&typeof T.property.value=="number"&&(g=!0),g){let p=this.enterDelimited();this.tokenChar(91),this.print(T.property),this.tokenChar(93),p()}else this.tokenChar(46),this.print(T.property)},e.MetaProperty=function(T){this.print(T.meta),this.tokenChar(46),this.print(T.property)},e.ModuleExpression=function(T){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:g}=T;(g.body.length||g.directives.length)&&this.newline(),this.print(g),this.dedent(),this.rightBrace(T)},e.NewExpression=function(T,g){if(this.word("new"),this.space(),this.print(T.callee),this.format.minified&&T.arguments.length===0&&!T.optional&&!d(g,{callee:T})&&!i(g)&&!c(g)||(this.print(T.typeArguments),this.print(T.typeParameters),T.optional&&this.token("?."),T.arguments.length===0&&this.tokenMap&&!this.tokenMap.endMatches(T,")")))return;this.tokenChar(40);let p=this.enterDelimited();this.printList(T.arguments,this.shouldPrintTrailingComma(")")),p(),this.rightParens(T)},e.OptionalCallExpression=function(T){this.print(T.callee),this.print(T.typeParameters),T.optional&&this.token("?."),this.print(T.typeArguments),this.tokenChar(40);let g=this.enterDelimited();this.printList(T.arguments),g(),this.rightParens(T)},e.OptionalMemberExpression=function(T){let{computed:g}=T,{optional:p,property:h}=T;if(this.print(T.object),!g&&i(h))throw new TypeError("Got a MemberExpression for MemberExpression property");t(h)&&typeof h.value=="number"&&(g=!0),p&&this.token("?."),g?(this.tokenChar(91),this.print(h),this.tokenChar(93)):(p||this.tokenChar(46),this.print(h))},e.ParenthesizedExpression=function(T){this.tokenChar(40);let g=this.enterDelimited();this.print(T.expression),g(),this.rightParens(T)},e.PrivateName=function(T){this.tokenChar(35),this.print(T.id)},e.SequenceExpression=function(T){this.printList(T.expressions)},e.Super=function(){this.word("super")},e.ThisExpression=function(){this.word("this")},e.UnaryExpression=function(T){let{operator:g}=T;g==="void"||g==="delete"||g==="typeof"||g==="throw"?(this.word(g),this.space()):this.token(g),this.print(T.argument)},e.UpdateExpression=function(T){T.prefix?(this.token(T.operator),this.print(T.argument)):(this.print(T.argument,!0),this.token(T.operator))},e.V8IntrinsicIdentifier=function(T){this.tokenChar(37),this.word(T.name)},e.YieldExpression=function(T){T.delegate?(this.word("yield",!0),this.tokenChar(42),T.argument&&(this.space(),this.print(T.argument))):T.argument?(this.word("yield",!0),this.space(),this.print(T.argument)):this.word("yield")},e._shouldPrintDecoratorsBeforeExport=function(T){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof T.start=="number"&&T.start===T.declaration.start};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),l=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/node/index.js");let{isCallExpression:d,isLiteral:t,isMemberExpression:i,isNewExpression:c,isPattern:v}=r},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/flow.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AnyTypeAnnotation=function(){this.word("any")},e.ArrayTypeAnnotation=function(f){this.print(f.elementType,!0),this.tokenChar(91),this.tokenChar(93)},e.BooleanLiteralTypeAnnotation=function(f){this.word(f.value?"true":"false")},e.BooleanTypeAnnotation=function(){this.word("boolean")},e.DeclareClass=function(f,y){i(y)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(f)},e.DeclareExportAllDeclaration=function(f){this.word("declare"),this.space(),l.ExportAllDeclaration.call(this,f)},e.DeclareExportDeclaration=function(f){this.word("declare"),this.space(),this.word("export"),this.space(),f.default&&(this.word("default"),this.space()),p.call(this,f)},e.DeclareFunction=function(f,y){i(y)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(f.id),this.print(f.id.typeAnnotation.typeAnnotation),f.predicate&&(this.space(),this.print(f.predicate)),this.semicolon()},e.DeclareInterface=function(f){this.word("declare"),this.space(),this.InterfaceDeclaration(f)},e.DeclareModule=function(f){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(f.id),this.space(),this.print(f.body)},e.DeclareModuleExports=function(f){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(f.typeAnnotation)},e.DeclareOpaqueType=function(f,y){i(y)||(this.word("declare"),this.space()),this.OpaqueType(f)},e.DeclareTypeAlias=function(f){this.word("declare"),this.space(),this.TypeAlias(f)},e.DeclareVariable=function(f,y){i(y)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(f.id),this.print(f.id.typeAnnotation),this.semicolon()},e.DeclaredPredicate=function(f){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(f.value),this.tokenChar(41)},e.EmptyTypeAnnotation=function(){this.word("empty")},e.EnumBooleanBody=function(f){let{explicitType:y}=f;v(this,"boolean",y),T(this,f)},e.EnumBooleanMember=function(f){g(this,f)},e.EnumDeclaration=function(f){let{id:y,body:P}=f;this.word("enum"),this.space(),this.print(y),this.print(P)},e.EnumDefaultedMember=function(f){let{id:y}=f;this.print(y),this.tokenChar(44)},e.EnumNumberBody=function(f){let{explicitType:y}=f;v(this,"number",y),T(this,f)},e.EnumNumberMember=function(f){g(this,f)},e.EnumStringBody=function(f){let{explicitType:y}=f;v(this,"string",y),T(this,f)},e.EnumStringMember=function(f){g(this,f)},e.EnumSymbolBody=function(f){v(this,"symbol",!0),T(this,f)},e.ExistsTypeAnnotation=function(){this.tokenChar(42)},e.FunctionTypeAnnotation=function(f,y){this.print(f.typeParameters),this.tokenChar(40),f.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(f.this.typeAnnotation),(f.params.length||f.rest)&&(this.tokenChar(44),this.space())),this.printList(f.params),f.rest&&(f.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(f.rest)),this.tokenChar(41);let P=y?.type;P!=null&&(P==="ObjectTypeCallProperty"||P==="ObjectTypeInternalSlot"||P==="DeclareFunction"||P==="ObjectTypeProperty"&&y.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(f.returnType)},e.FunctionTypeParam=function(f){this.print(f.name),f.optional&&this.tokenChar(63),f.name&&(this.tokenChar(58),this.space()),this.print(f.typeAnnotation)},e.IndexedAccessType=function(f){this.print(f.objectType,!0),this.tokenChar(91),this.print(f.indexType),this.tokenChar(93)},e.InferredPredicate=function(){this.tokenChar(37),this.word("checks")},e.InterfaceDeclaration=function(f){this.word("interface"),this.space(),this._interfaceish(f)},e.GenericTypeAnnotation=e.ClassImplements=e.InterfaceExtends=function(f){this.print(f.id),this.print(f.typeParameters,!0)},e.InterfaceTypeAnnotation=function(f){var y;this.word("interface"),(y=f.extends)!=null&&y.length&&(this.space(),this.word("extends"),this.space(),this.printList(f.extends)),this.space(),this.print(f.body)},e.IntersectionTypeAnnotation=function(f){this.printJoin(f.types,void 0,void 0,h)},e.MixedTypeAnnotation=function(){this.word("mixed")},e.NullLiteralTypeAnnotation=function(){this.word("null")},e.NullableTypeAnnotation=function(f){this.tokenChar(63),this.print(f.typeAnnotation)},Object.defineProperty(e,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return t.NumericLiteral}}),e.NumberTypeAnnotation=function(){this.word("number")},e.ObjectTypeAnnotation=function(f){f.exact?this.token("{|"):this.tokenChar(123);let y=[...f.properties,...f.callProperties||[],...f.indexers||[],...f.internalSlots||[]];y.length&&(this.newline(),this.space(),this.printJoin(y,!0,!0,void 0,void 0,function(P){if(P&&!y[0])return 1},()=>{(y.length!==1||f.inexact)&&(this.tokenChar(44),this.space())}),this.space()),f.inexact&&(this.indent(),this.token("..."),y.length&&this.newline(),this.dedent()),f.exact?this.token("|}"):this.tokenChar(125)},e.ObjectTypeCallProperty=function(f){f.static&&(this.word("static"),this.space()),this.print(f.value)},e.ObjectTypeIndexer=function(f){f.static&&(this.word("static"),this.space()),this._variance(f),this.tokenChar(91),f.id&&(this.print(f.id),this.tokenChar(58),this.space()),this.print(f.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(f.value)},e.ObjectTypeInternalSlot=function(f){f.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(f.id),this.tokenChar(93),this.tokenChar(93),f.optional&&this.tokenChar(63),f.method||(this.tokenChar(58),this.space()),this.print(f.value)},e.ObjectTypeProperty=function(f){f.proto&&(this.word("proto"),this.space()),f.static&&(this.word("static"),this.space()),f.kind!=="get"&&f.kind!=="set"||(this.word(f.kind),this.space()),this._variance(f),this.print(f.key),f.optional&&this.tokenChar(63),f.method||(this.tokenChar(58),this.space()),this.print(f.value)},e.ObjectTypeSpreadProperty=function(f){this.token("..."),this.print(f.argument)},e.OpaqueType=function(f){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(f.id),this.print(f.typeParameters),f.supertype&&(this.tokenChar(58),this.space(),this.print(f.supertype)),f.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(f.impltype)),this.semicolon()},e.OptionalIndexedAccessType=function(f){this.print(f.objectType),f.optional&&this.token("?."),this.tokenChar(91),this.print(f.indexType),this.tokenChar(93)},e.QualifiedTypeIdentifier=function(f){this.print(f.qualification),this.tokenChar(46),this.print(f.id)},Object.defineProperty(e,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return t.StringLiteral}}),e.StringTypeAnnotation=function(){this.word("string")},e.SymbolTypeAnnotation=function(){this.word("symbol")},e.ThisTypeAnnotation=function(){this.word("this")},e.TupleTypeAnnotation=function(f){this.tokenChar(91),this.printList(f.types),this.tokenChar(93)},e.TypeAlias=function(f){this.word("type"),this.space(),this.print(f.id),this.print(f.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(f.right),this.semicolon()},e.TypeAnnotation=function(f,y){this.tokenChar(58),this.space(),y.type==="ArrowFunctionExpression"?this.tokenContext|=d.TokenContext.arrowFlowReturnType:f.optional&&this.tokenChar(63),this.print(f.typeAnnotation)},e.TypeCastExpression=function(f){this.tokenChar(40),this.print(f.expression),this.print(f.typeAnnotation),this.tokenChar(41)},e.TypeParameter=function(f){this._variance(f),this.word(f.name),f.bound&&this.print(f.bound),f.default&&(this.space(),this.tokenChar(61),this.space(),this.print(f.default))},e.TypeParameterDeclaration=e.TypeParameterInstantiation=function(f){this.tokenChar(60),this.printList(f.params),this.tokenChar(62)},e.TypeofTypeAnnotation=function(f){this.word("typeof"),this.space(),this.print(f.argument)},e.UnionTypeAnnotation=function(f){this.printJoin(f.types,void 0,void 0,u)},e.Variance=function(f){f.kind==="plus"?this.tokenChar(43):this.tokenChar(45)},e.VoidTypeAnnotation=function(){this.word("void")},e._interfaceish=function(f){var y;if(this.print(f.id),this.print(f.typeParameters),(y=f.extends)!=null&&y.length&&(this.space(),this.word("extends"),this.space(),this.printList(f.extends)),f.type==="DeclareClass"){var P,S;(P=f.mixins)!=null&&P.length&&(this.space(),this.word("mixins"),this.space(),this.printList(f.mixins)),(S=f.implements)!=null&&S.length&&(this.space(),this.word("implements"),this.space(),this.printList(f.implements))}this.space(),this.print(f.body)},e._variance=function(f){var y;let P=(y=f.variance)==null?void 0:y.kind;P!=null&&(P==="plus"?this.tokenChar(43):P==="minus"&&this.tokenChar(45))};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),l=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/modules.js"),d=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/node/index.js"),t=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/types.js");let{isDeclareExportDeclaration:i,isStatement:c}=r;function v(f,y,P){P&&(f.space(),f.word("of"),f.space(),f.word(y)),f.space()}function T(f,y){let{members:P}=y;f.token("{"),f.indent(),f.newline();for(let S of P)f.print(S),f.newline();y.hasUnknownMembers&&(f.token("..."),f.newline()),f.dedent(),f.token("}")}function g(f,y){f.print(y.id),f.space(),f.token("="),f.space(),f.print(y.init),f.token(",")}function p(f){if(f.declaration){let y=f.declaration;this.print(y),c(y)||this.semicolon()}else this.tokenChar(123),f.specifiers.length&&(this.space(),this.printList(f.specifiers),this.space()),this.tokenChar(125),f.source&&(this.space(),this.word("from"),this.space(),this.print(f.source)),this.semicolon()}function h(f){this.space(),this.token("&",!1,f),this.space()}function u(f){this.space(),this.token("|",!1,f),this.space()}},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/template-literals.js");Object.keys(r).forEach(function(u){u!=="default"&&u!=="__esModule"&&(u in e&&e[u]===r[u]||Object.defineProperty(e,u,{enumerable:!0,get:function(){return r[u]}}))});var l=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/expressions.js");Object.keys(l).forEach(function(u){u!=="default"&&u!=="__esModule"&&(u in e&&e[u]===l[u]||Object.defineProperty(e,u,{enumerable:!0,get:function(){return l[u]}}))});var d=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/statements.js");Object.keys(d).forEach(function(u){u!=="default"&&u!=="__esModule"&&(u in e&&e[u]===d[u]||Object.defineProperty(e,u,{enumerable:!0,get:function(){return d[u]}}))});var t=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/classes.js");Object.keys(t).forEach(function(u){u!=="default"&&u!=="__esModule"&&(u in e&&e[u]===t[u]||Object.defineProperty(e,u,{enumerable:!0,get:function(){return t[u]}}))});var i=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/methods.js");Object.keys(i).forEach(function(u){u!=="default"&&u!=="__esModule"&&(u in e&&e[u]===i[u]||Object.defineProperty(e,u,{enumerable:!0,get:function(){return i[u]}}))});var c=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/modules.js");Object.keys(c).forEach(function(u){u!=="default"&&u!=="__esModule"&&(u in e&&e[u]===c[u]||Object.defineProperty(e,u,{enumerable:!0,get:function(){return c[u]}}))});var v=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/types.js");Object.keys(v).forEach(function(u){u!=="default"&&u!=="__esModule"&&(u in e&&e[u]===v[u]||Object.defineProperty(e,u,{enumerable:!0,get:function(){return v[u]}}))});var T=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/flow.js");Object.keys(T).forEach(function(u){u!=="default"&&u!=="__esModule"&&(u in e&&e[u]===T[u]||Object.defineProperty(e,u,{enumerable:!0,get:function(){return T[u]}}))});var g=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/base.js");Object.keys(g).forEach(function(u){u!=="default"&&u!=="__esModule"&&(u in e&&e[u]===g[u]||Object.defineProperty(e,u,{enumerable:!0,get:function(){return g[u]}}))});var p=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/jsx.js");Object.keys(p).forEach(function(u){u!=="default"&&u!=="__esModule"&&(u in e&&e[u]===p[u]||Object.defineProperty(e,u,{enumerable:!0,get:function(){return p[u]}}))});var h=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/typescript.js");Object.keys(h).forEach(function(u){u!=="default"&&u!=="__esModule"&&(u in e&&e[u]===h[u]||Object.defineProperty(e,u,{enumerable:!0,get:function(){return h[u]}}))})},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/jsx.js":(ee,e)=>{"use strict";function E(){this.space()}Object.defineProperty(e,"__esModule",{value:!0}),e.JSXAttribute=function(r){this.print(r.name),r.value&&(this.tokenChar(61),this.print(r.value))},e.JSXClosingElement=function(r){this.tokenChar(60),this.tokenChar(47),this.print(r.name),this.tokenChar(62)},e.JSXClosingFragment=function(){this.token("</"),this.tokenChar(62)},e.JSXElement=function(r){let l=r.openingElement;if(this.print(l),!l.selfClosing){this.indent();for(let d of r.children)this.print(d);this.dedent(),this.print(r.closingElement)}},e.JSXEmptyExpression=function(){this.printInnerComments()},e.JSXExpressionContainer=function(r){this.tokenChar(123),this.print(r.expression),this.rightBrace(r)},e.JSXFragment=function(r){this.print(r.openingFragment),this.indent();for(let l of r.children)this.print(l);this.dedent(),this.print(r.closingFragment)},e.JSXIdentifier=function(r){this.word(r.name)},e.JSXMemberExpression=function(r){this.print(r.object),this.tokenChar(46),this.print(r.property)},e.JSXNamespacedName=function(r){this.print(r.namespace),this.tokenChar(58),this.print(r.name)},e.JSXOpeningElement=function(r){this.tokenChar(60),this.print(r.name),r.typeArguments&&this.print(r.typeArguments),this.print(r.typeParameters),r.attributes.length>0&&(this.space(),this.printJoin(r.attributes,void 0,void 0,E)),r.selfClosing&&(this.space(),this.tokenChar(47)),this.tokenChar(62)},e.JSXOpeningFragment=function(){this.tokenChar(60),this.tokenChar(62)},e.JSXSpreadAttribute=function(r){this.tokenChar(123),this.token("..."),this.print(r.argument),this.rightBrace(r)},e.JSXSpreadChild=function(r){this.tokenChar(123),this.token("..."),this.print(r.expression),this.rightBrace(r)},e.JSXText=function(r){let l=this.getPossibleRaw(r);l!==void 0?this.token(l,!0):this.token(r.value,!0)}},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/methods.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArrowFunctionExpression=function(i,c){i.async&&(this.word("async",!0),this.space()),this._shouldPrintArrowParamsParens(i)?this._params(i,void 0,c):this.print(i.params[0],!0),this._predicate(i,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=l.TokenContext.arrowBody,this.print(i.body)},e.FunctionDeclaration=e.FunctionExpression=function(i,c){this._functionHead(i,c),this.space(),this.print(i.body)},e._functionHead=function(i,c){i.async&&(this.word("async"),this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.space()),this.word("function"),i.generator&&(this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.tokenChar(42)),this.space(),i.id&&this.print(i.id),this._params(i,i.id,c),i.type!=="TSDeclareFunction"&&this._predicate(i)},e._methodHead=function(i){let c=i.kind,v=i.key;c!=="get"&&c!=="set"||(this.word(c),this.space()),i.async&&(this.word("async",!0),this.space()),c!=="method"&&c!=="init"||i.generator&&this.tokenChar(42),i.computed?(this.tokenChar(91),this.print(v),this.tokenChar(93)):this.print(v),i.optional&&this.tokenChar(63),this._params(i,i.computed&&i.key.type!=="StringLiteral"?void 0:i.key,void 0)},e._param=function(i){this.printJoin(i.decorators),this.print(i),i.optional&&this.tokenChar(63),this.print(i.typeAnnotation)},e._parameters=function(i,c){let v=this.enterDelimited(),T=this.shouldPrintTrailingComma(c),g=i.length;for(let p=0;p<g;p++)this._param(i[p]),(T||p<g-1)&&(this.token(",",null,p),this.space());this.token(c),v()},e._params=function(i,c,v){this.print(i.typeParameters);let T=t.call(this,c,v);T&&this.sourceIdentifierName(T.name,T.pos),this.tokenChar(40),this._parameters(i.params,")");let g=i.type==="ArrowFunctionExpression";this.print(i.returnType,g),this._noLineTerminator=g},e._predicate=function(i,c){i.predicate&&(i.returnType||this.tokenChar(58),this.space(),this.print(i.predicate,c))},e._shouldPrintArrowParamsParens=function(i){var c,v;if(i.params.length!==1||i.typeParameters||i.returnType||i.predicate)return!0;let T=i.params[0];if(!d(T)||T.typeAnnotation||T.optional||(c=T.leadingComments)!=null&&c.length||(v=T.trailingComments)!=null&&v.length)return!0;if(this.tokenMap){if(i.loc==null||this.tokenMap.findMatching(i,"(")!==null)return!0;let g=this.tokenMap.findMatching(i,"=>");return g?.loc==null||g.loc.start.line!==i.loc.start.line}return!!this.format.retainLines};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),l=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/node/index.js");let{isIdentifier:d}=r;function t(i,c){let v,T=i;if(!T&&c){let f=c.type;f==="VariableDeclarator"?T=c.id:f==="AssignmentExpression"||f==="AssignmentPattern"?T=c.left:f==="ObjectProperty"||f==="ClassProperty"?c.computed&&c.key.type!=="StringLiteral"||(T=c.key):f!=="ClassPrivateProperty"&&f!=="ClassAccessorProperty"||(T=c.key)}if(T){var g,p;if(T.type==="Identifier")v={pos:(g=T.loc)==null?void 0:g.start,name:((p=T.loc)==null?void 0:p.identifierName)||T.name};else if(T.type==="PrivateName"){var h;v={pos:(h=T.loc)==null?void 0:h.start,name:"#"+T.id.name}}else if(T.type==="StringLiteral"){var u;v={pos:(u=T.loc)==null?void 0:u.start,name:T.value}}return v}}},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/modules.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ExportAllDeclaration=function(h){var u,f;this.word("export"),this.space(),h.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(u=h.attributes)!=null&&u.length||(f=h.assertions)!=null&&f.length?(this.print(h.source,!0),this.space(),this._printAttributes(h,!1)):this.print(h.source),this.semicolon()},e.ExportDefaultDeclaration=function(h){p(this,h),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=l.TokenContext.exportDefault;let u=h.declaration;this.print(u),T(u)||this.semicolon()},e.ExportDefaultSpecifier=function(h){this.print(h.exported)},e.ExportNamedDeclaration=function(h){if(p(this,h),this.word("export"),this.space(),h.declaration){let y=h.declaration;this.print(y),T(y)||this.semicolon()}else{h.exportKind==="type"&&(this.word("type"),this.space());let y=h.specifiers.slice(0),P=!1;for(;;){let b=y[0];if(!t(b)&&!i(b))break;P=!0,this.print(y.shift()),y.length&&(this.tokenChar(44),this.space())}let S=!1;var u,f;(y.length||!y.length&&!P)&&(S=!0,this.tokenChar(123),y.length&&(this.space(),this.printList(y,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),h.source&&(this.space(),this.word("from"),this.space(),(u=h.attributes)!=null&&u.length||(f=h.assertions)!=null&&f.length?(this.print(h.source,!0),this.space(),this._printAttributes(h,S)):this.print(h.source)),this.semicolon()}},e.ExportNamespaceSpecifier=function(h){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(h.exported)},e.ExportSpecifier=function(h){h.exportKind==="type"&&(this.word("type"),this.space()),this.print(h.local),h.exported&&h.local.name!==h.exported.name&&(this.space(),this.word("as"),this.space(),this.print(h.exported))},e.ImportAttribute=function(h){this.print(h.key),this.tokenChar(58),this.space(),this.print(h.value)},e.ImportDeclaration=function(h){var u,f;this.word("import"),this.space();let y=h.importKind==="type"||h.importKind==="typeof";y?(this.noIndentInnerCommentsHere(),this.word(h.importKind),this.space()):h.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):h.phase&&(this.noIndentInnerCommentsHere(),this.word(h.phase),this.space());let P=h.specifiers.slice(0),S=!!P.length;for(;S;){let C=P[0];if(!c(C)&&!v(C))break;this.print(P.shift()),P.length&&(this.tokenChar(44),this.space())}let b=!1;P.length?(b=!0,this.tokenChar(123),this.space(),this.printList(P,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):y&&!S&&(b=!0,this.tokenChar(123),this.tokenChar(125)),(S||y)&&(this.space(),this.word("from"),this.space()),(u=h.attributes)!=null&&u.length||(f=h.assertions)!=null&&f.length?(this.print(h.source,!0),this.space(),this._printAttributes(h,b)):this.print(h.source),this.semicolon()},e.ImportDefaultSpecifier=function(h){this.print(h.local)},e.ImportExpression=function(h){this.word("import"),h.phase&&(this.tokenChar(46),this.word(h.phase)),this.tokenChar(40);let u=this.shouldPrintTrailingComma(")");this.print(h.source),h.options!=null&&(this.tokenChar(44),this.space(),this.print(h.options)),u&&this.tokenChar(44),this.rightParens(h)},e.ImportNamespaceSpecifier=function(h){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(h.local)},e.ImportSpecifier=function(h){h.importKind!=="type"&&h.importKind!=="typeof"||(this.word(h.importKind),this.space()),this.print(h.imported),h.local&&h.local.name!==h.imported.name&&(this.space(),this.word("as"),this.space(),this.print(h.local))},e._printAttributes=function(h,u){var f;let{importAttributesKeyword:y}=this.format,{attributes:P,assertions:S}=h;P&&!y&&h.extra&&(h.extra.deprecatedAssertSyntax||h.extra.deprecatedWithLegacySyntax)&&!g&&(g=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));let b=y==="assert"||!y&&S;if(this.word(b?"assert":"with"),this.space(),!b&&(y==="with-legacy"||!y&&(f=h.extra)!=null&&f.deprecatedWithLegacySyntax))return void this.printList(P||S);let C=u?1:0;this.token("{",null,C),this.space(),this.printList(P||S,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,C)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),l=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/node/index.js");let{isClassDeclaration:d,isExportDefaultSpecifier:t,isExportNamespaceSpecifier:i,isImportDefaultSpecifier:c,isImportNamespaceSpecifier:v,isStatement:T}=r,g=!1;function p(h,u){d(u.declaration)&&h._shouldPrintDecoratorsBeforeExport(u)&&h.printJoin(u.declaration.decorators)}},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/statements.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BreakStatement=function(g){this.word("break"),T(this,g.label)},e.CatchClause=function(g){this.word("catch"),this.space(),g.param&&(this.tokenChar(40),this.print(g.param),this.print(g.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(g.body)},e.ContinueStatement=function(g){this.word("continue"),T(this,g.label)},e.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},e.DoWhileStatement=function(g){this.word("do"),this.space(),this.print(g.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(g.test),this.tokenChar(41),this.semicolon()},e.ForOfStatement=e.ForInStatement=void 0,e.ForStatement=function(g){this.word("for"),this.space(),this.tokenChar(40);{let p=this.enterForStatementInit();this.print(g.init),p()}this.tokenChar(59),g.test&&(this.space(),this.print(g.test)),this.token(";",!1,1),g.update&&(this.space(),this.print(g.update)),this.tokenChar(41),this.printBlock(g)},e.IfStatement=function(g){this.word("if"),this.space(),this.tokenChar(40),this.print(g.test),this.tokenChar(41),this.space();let p=g.alternate&&t(c(g.consequent));p&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(g.consequent),p&&(this.dedent(),this.newline(),this.tokenChar(125)),g.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(g.alternate))},e.LabeledStatement=function(g){this.print(g.label),this.tokenChar(58),this.space(),this.print(g.body)},e.ReturnStatement=function(g){this.word("return"),T(this,g.argument)},e.SwitchCase=function(g){g.test?(this.word("case"),this.space(),this.print(g.test),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),g.consequent.length&&(this.newline(),this.printSequence(g.consequent,!0))},e.SwitchStatement=function(g){this.word("switch"),this.space(),this.tokenChar(40),this.print(g.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(g.cases,!0,void 0,function(p,h){if(!p&&g.cases[g.cases.length-1]===h)return-1}),this.rightBrace(g)},e.ThrowStatement=function(g){this.word("throw"),T(this,g.argument)},e.TryStatement=function(g){this.word("try"),this.space(),this.print(g.block),this.space(),g.handlers?this.print(g.handlers[0]):this.print(g.handler),g.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(g.finalizer))},e.VariableDeclaration=function(g,p){g.declare&&(this.word("declare"),this.space());let{kind:h}=g;h==="await using"?(this.word("await"),this.space(),this.word("using",!0)):this.word(h,h==="using"),this.space();let u=!1;if(!l(p))for(let f of g.declarations)f.init&&(u=!0);if(this.printList(g.declarations,void 0,void 0,g.declarations.length>1,u?function(f){this.token(",",!1,f),this.newline()}:void 0),l(p)){if(d(p)){if(p.init===g)return}else if(p.left===g)return}this.semicolon()},e.VariableDeclarator=function(g){this.print(g.id),g.definite&&this.tokenChar(33),this.print(g.id.typeAnnotation),g.init&&(this.space(),this.tokenChar(61),this.space(),this.print(g.init))},e.WhileStatement=function(g){this.word("while"),this.space(),this.tokenChar(40),this.print(g.test),this.tokenChar(41),this.printBlock(g)},e.WithStatement=function(g){this.word("with"),this.space(),this.tokenChar(40),this.print(g.object),this.tokenChar(41),this.printBlock(g)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{isFor:l,isForStatement:d,isIfStatement:t,isStatement:i}=r;function c(g){let{body:p}=g;return i(p)===!1?g:c(p)}function v(g){this.word("for"),this.space();let p=g.type==="ForOfStatement";p&&g.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{let h=this.enterForXStatementInit(p);this.print(g.left),h?.()}this.space(),this.word(p?"of":"in"),this.space(),this.print(g.right),this.tokenChar(41),this.printBlock(g)}e.ForInStatement=v,e.ForOfStatement=v;function T(g,p){p&&(g.space(),g.printTerminatorless(p)),g.semicolon()}},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/template-literals.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TaggedTemplateExpression=function(E){this.print(E.tag),this.print(E.typeParameters),this.print(E.quasi)},e.TemplateElement=function(){throw new Error("TemplateElement printing is handled in TemplateLiteral")},e.TemplateLiteral=function(E){this._printTemplate(E,E.expressions)},e._printTemplate=function(E,r){let l=E.quasis,d="`";for(let t=0;t<l.length-1;t++)if(d+=l[t].value.raw,this.token(d+"${",!0),this.print(r[t]),d="}",this.tokenMap){let i=this.tokenMap.findMatching(E,"}",t);i&&this._catchUpTo(i.loc.start)}d+=l[l.length-1].value.raw,this.token(d+"`",!0)}},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/types.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArgumentPlaceholder=function(){this.tokenChar(63)},e.ArrayPattern=e.ArrayExpression=function(T){let g=T.elements,p=g.length;this.tokenChar(91);let h=this.enterDelimited();for(let u=0;u<g.length;u++){let f=g[u];f?(u>0&&this.space(),this.print(f),(u<p-1||this.shouldPrintTrailingComma("]"))&&this.token(",",!1,u)):this.token(",",!1,u)}h(),this.tokenChar(93)},e.BigIntLiteral=function(T){let g=this.getPossibleRaw(T);if(!this.format.minified&&g!==void 0)return void this.word(g);this.word(T.value+"n")},e.BooleanLiteral=function(T){this.word(T.value?"true":"false")},e.Identifier=function(T){var g;this.sourceIdentifierName(((g=T.loc)==null?void 0:g.identifierName)||T.name),this.word(this.tokenMap?this._getRawIdentifier(T):T.name)},e.NullLiteral=function(){this.word("null")},e.NumericLiteral=function(T){let g=this.getPossibleRaw(T),p=this.format.jsescOption,h=T.value,u=h+"";p.numbers?this.number(l(h,p),h):g==null?this.number(u,h):this.format.minified?this.number(g.length<u.length?g:u,h):this.number(g,h)},e.ObjectPattern=e.ObjectExpression=function(T){let g=T.properties;if(this.tokenChar(123),g.length){let p=this.enterDelimited();this.space(),this.printList(g,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),p()}this.sourceWithOffset("end",T.loc,-1),this.tokenChar(125)},e.ObjectMethod=function(T){this.printJoin(T.decorators),this._methodHead(T),this.space(),this.print(T.body)},e.ObjectProperty=function(T){if(this.printJoin(T.decorators),T.computed)this.tokenChar(91),this.print(T.key),this.tokenChar(93);else{if(d(T.value)&&t(T.key)&&T.key.name===T.value.left.name)return void this.print(T.value);if(this.print(T.key),T.shorthand&&t(T.key)&&t(T.value)&&T.key.name===T.value.name)return}this.tokenChar(58),this.space(),this.print(T.value)},e.PipelineBareFunction=function(T){this.print(T.callee)},e.PipelinePrimaryTopicReference=function(){this.tokenChar(35)},e.PipelineTopicExpression=function(T){this.print(T.expression)},e.RecordExpression=function(T){let g=T.properties,p,h;if(this.format.recordAndTupleSyntaxType==="bar")p="{|",h="|}";else{if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);p="#{",h="}"}this.token(p),g.length&&(this.space(),this.printList(g,this.shouldPrintTrailingComma(h),!0,!0),this.space()),this.token(h)},e.RegExpLiteral=function(T){this.word(`/${T.pattern}/${T.flags}`)},e.SpreadElement=e.RestElement=function(T){this.token("..."),this.print(T.argument)},e.StringLiteral=function(T){let g=this.getPossibleRaw(T);if(!this.format.minified&&g!==void 0)return void this.token(g);let p=l(T.value,this.format.jsescOption);this.token(p)},e.TopicReference=function(){let{topicToken:T}=this.format;if(!v.has(T)){let g=JSON.stringify(T),p=Array.from(v,h=>JSON.stringify(h));throw new Error(`The "topicToken" generator option must be one of ${p.join(", ")} (${g} received instead).`)}this.token(T)},e.TupleExpression=function(T){let g=T.elements,p=g.length,h,u;if(this.format.recordAndTupleSyntaxType==="bar")h="[|",u="|]";else{if(this.format.recordAndTupleSyntaxType!=="hash")throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);h="#[",u="]"}this.token(h);for(let f=0;f<g.length;f++){let y=g[f];y&&(f>0&&this.space(),this.print(y),(f<p-1||this.shouldPrintTrailingComma(u))&&this.token(",",!1,f))}this.token(u)},e.VoidPattern=function(){this.word("void")},e._getRawIdentifier=function(T){if(T===i)return c;i=T;let{name:g}=T,p=this.tokenMap.find(T,h=>h.value===g);return p?(c=this._originalCode.slice(p.start,p.end),c):c=T.name};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),l=E("./node_modules/.pnpm/jsesc@3.1.0/node_modules/jsesc/jsesc.js");let{isAssignmentPattern:d,isIdentifier:t}=r,i=null,c="",v=new Set(["^^","@@","^","%","#"])},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/typescript.js":(ee,e)=>{"use strict";function E(c,v){c.tokenMap&&v.start&&v.end?c.tokenMap.endMatches(v,",")?c.token(","):c.tokenMap.endMatches(v,";")&&c.semicolon():c.semicolon()}function r(c,v,T){var g;let p=0;(g=c.tokenMap)!=null&&g.startMatches(v,T)&&(p=1,c.token(T)),c.printJoin(v.types,void 0,void 0,function(h){this.space(),this.token(T,null,h+p),this.space()})}function l(c,v){v!==!0&&c.token(v)}function d(c){t(this,c,()=>{var v;return this.printList(c.members,(v=this.shouldPrintTrailingComma("}"))==null||v,!0,!0)})}function t(c,v,T){c.token("{");let g=c.enterDelimited();T(),g(),c.rightBrace(v)}function i(c,v,T){var g;let p=new Set;for(let h of T)h&&p.add(h);(g=c.tokenMap)==null||g.find(v,h=>{if(p.has(h.value))return c.token(h.value),c.space(),p.delete(h.value),p.size===0});for(let h of p)c.word(h),c.space()}Object.defineProperty(e,"__esModule",{value:!0}),e.TSAnyKeyword=function(){this.word("any")},e.TSArrayType=function(c){this.print(c.elementType,!0),this.tokenChar(91),this.tokenChar(93)},e.TSSatisfiesExpression=e.TSAsExpression=function(c){let{type:v,expression:T,typeAnnotation:g}=c;this.print(T,!0),this.space(),this.word(v==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(g)},e.TSBigIntKeyword=function(){this.word("bigint")},e.TSBooleanKeyword=function(){this.word("boolean")},e.TSCallSignatureDeclaration=function(c){this.tsPrintSignatureDeclarationBase(c),E(this,c)},e.TSInterfaceHeritage=e.TSClassImplements=function(c){this.print(c.expression),this.print(c.typeArguments)},e.TSConditionalType=function(c){this.print(c.checkType),this.space(),this.word("extends"),this.space(),this.print(c.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(c.trueType),this.space(),this.tokenChar(58),this.space(),this.print(c.falseType)},e.TSConstructSignatureDeclaration=function(c){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(c),E(this,c)},e.TSConstructorType=function(c){c.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(c)},e.TSDeclareFunction=function(c,v){c.declare&&(this.word("declare"),this.space()),this._functionHead(c,v),this.semicolon()},e.TSDeclareMethod=function(c){this._classMethodHead(c),this.semicolon()},e.TSEnumBody=d,e.TSEnumDeclaration=function(c){let{declare:v,const:T,id:g}=c;v&&(this.word("declare"),this.space()),T&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(g),this.space(),d.call(this,c)},e.TSEnumMember=function(c){let{id:v,initializer:T}=c;this.print(v),T&&(this.space(),this.tokenChar(61),this.space(),this.print(T))},e.TSExportAssignment=function(c){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(c.expression),this.semicolon()},e.TSExternalModuleReference=function(c){this.token("require("),this.print(c.expression),this.tokenChar(41)},e.TSFunctionType=function(c){this.tsPrintFunctionOrConstructorType(c)},e.TSImportEqualsDeclaration=function(c){let{id:v,moduleReference:T}=c;c.isExport&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(v),this.space(),this.tokenChar(61),this.space(),this.print(T),this.semicolon()},e.TSImportType=function(c){let{argument:v,qualifier:T,options:g}=c;this.word("import"),this.tokenChar(40),this.print(v),g&&(this.tokenChar(44),this.print(g)),this.tokenChar(41),T&&(this.tokenChar(46),this.print(T));let p=c.typeParameters;p&&this.print(p)},e.TSIndexSignature=function(c){let{readonly:v,static:T}=c;T&&(this.word("static"),this.space()),v&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(c.parameters,"]"),this.print(c.typeAnnotation),E(this,c)},e.TSIndexedAccessType=function(c){this.print(c.objectType,!0),this.tokenChar(91),this.print(c.indexType),this.tokenChar(93)},e.TSInferType=function(c){this.word("infer"),this.print(c.typeParameter)},e.TSInstantiationExpression=function(c){this.print(c.expression),this.print(c.typeParameters)},e.TSInterfaceBody=function(c){t(this,c,()=>this.printJoin(c.body,!0,!0))},e.TSInterfaceDeclaration=function(c){let{declare:v,id:T,typeParameters:g,extends:p,body:h}=c;v&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(T),this.print(g),p!=null&&p.length&&(this.space(),this.word("extends"),this.space(),this.printList(p)),this.space(),this.print(h)},e.TSIntersectionType=function(c){r(this,c,"&")},e.TSIntrinsicKeyword=function(){this.word("intrinsic")},e.TSLiteralType=function(c){this.print(c.literal)},e.TSMappedType=function(c){let{nameType:v,optional:T,readonly:g,typeAnnotation:p}=c;this.tokenChar(123);let h=this.enterDelimited();this.space(),g&&(l(this,g),this.word("readonly"),this.space()),this.tokenChar(91),this.word(c.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(c.typeParameter.constraint),v&&(this.space(),this.word("as"),this.space(),this.print(v)),this.tokenChar(93),T&&(l(this,T),this.tokenChar(63)),p&&(this.tokenChar(58),this.space(),this.print(p)),this.space(),h(),this.tokenChar(125)},e.TSMethodSignature=function(c){let{kind:v}=c;v!=="set"&&v!=="get"||(this.word(v),this.space()),this.tsPrintPropertyOrMethodName(c),this.tsPrintSignatureDeclarationBase(c),E(this,c)},e.TSModuleBlock=function(c){t(this,c,()=>this.printSequence(c.body,!0))},e.TSModuleDeclaration=function(c){let{declare:v,id:T,kind:g}=c;v&&(this.word("declare"),this.space());{if(c.global||(this.word(g??(T.type==="Identifier"?"namespace":"module")),this.space()),this.print(T),!c.body)return void this.semicolon();let p=c.body;for(;p.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(p.id),p=p.body;this.space(),this.print(p)}},e.TSNamedTupleMember=function(c){this.print(c.label),c.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(c.elementType)},e.TSNamespaceExportDeclaration=function(c){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(c.id),this.semicolon()},e.TSNeverKeyword=function(){this.word("never")},e.TSNonNullExpression=function(c){this.print(c.expression),this.tokenChar(33)},e.TSNullKeyword=function(){this.word("null")},e.TSNumberKeyword=function(){this.word("number")},e.TSObjectKeyword=function(){this.word("object")},e.TSOptionalType=function(c){this.print(c.typeAnnotation),this.tokenChar(63)},e.TSParameterProperty=function(c){c.accessibility&&(this.word(c.accessibility),this.space()),c.readonly&&(this.word("readonly"),this.space()),this._param(c.parameter)},e.TSParenthesizedType=function(c){this.tokenChar(40),this.print(c.typeAnnotation),this.tokenChar(41)},e.TSPropertySignature=function(c){let{readonly:v}=c;v&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(c),this.print(c.typeAnnotation),E(this,c)},e.TSQualifiedName=function(c){this.print(c.left),this.tokenChar(46),this.print(c.right)},e.TSRestType=function(c){this.token("..."),this.print(c.typeAnnotation)},e.TSStringKeyword=function(){this.word("string")},e.TSSymbolKeyword=function(){this.word("symbol")},e.TSTemplateLiteralType=function(c){this._printTemplate(c,c.types)},e.TSThisType=function(){this.word("this")},e.TSTupleType=function(c){this.tokenChar(91),this.printList(c.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)},e.TSTypeAliasDeclaration=function(c){let{declare:v,id:T,typeParameters:g,typeAnnotation:p}=c;v&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(T),this.print(g),this.space(),this.tokenChar(61),this.space(),this.print(p),this.semicolon()},e.TSTypeAnnotation=function(c,v){this.token(v.type!=="TSFunctionType"&&v.type!=="TSConstructorType"||v.typeAnnotation!==c?":":"=>"),this.space(),c.optional&&this.tokenChar(63),this.print(c.typeAnnotation)},e.TSTypeAssertion=function(c){let{typeAnnotation:v,expression:T}=c;this.tokenChar(60),this.print(v),this.tokenChar(62),this.space(),this.print(T)},e.TSTypeLiteral=function(c){t(this,c,()=>this.printJoin(c.members,!0,!0))},e.TSTypeOperator=function(c){this.word(c.operator),this.space(),this.print(c.typeAnnotation)},e.TSTypeParameter=function(c){c.const&&(this.word("const"),this.space()),c.in&&(this.word("in"),this.space()),c.out&&(this.word("out"),this.space()),this.word(c.name),c.constraint&&(this.space(),this.word("extends"),this.space(),this.print(c.constraint)),c.default&&(this.space(),this.tokenChar(61),this.space(),this.print(c.default))},e.TSTypeParameterDeclaration=e.TSTypeParameterInstantiation=function(c,v){this.tokenChar(60);let T=v.type==="ArrowFunctionExpression"&&c.params.length===1;this.tokenMap&&c.start!=null&&c.end!=null&&(T&&(T=!!this.tokenMap.find(c,g=>this.tokenMap.matchesOriginal(g,","))),T||(T=this.shouldPrintTrailingComma(">"))),this.printList(c.params,T),this.tokenChar(62)},e.TSTypePredicate=function(c){c.asserts&&(this.word("asserts"),this.space()),this.print(c.parameterName),c.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(c.typeAnnotation.typeAnnotation))},e.TSTypeQuery=function(c){this.word("typeof"),this.space(),this.print(c.exprName);let v=c.typeParameters;v&&this.print(v)},e.TSTypeReference=function(c){let v=c.typeParameters;this.print(c.typeName,!!v),this.print(v)},e.TSUndefinedKeyword=function(){this.word("undefined")},e.TSUnionType=function(c){r(this,c,"|")},e.TSUnknownKeyword=function(){this.word("unknown")},e.TSVoidKeyword=function(){this.word("void")},e.tsPrintClassMemberModifiers=function(c){let v=c.type==="ClassPrivateProperty",T=c.type==="ClassAccessorProperty"||c.type==="ClassProperty";i(this,c,[T&&c.declare&&"declare",!v&&c.accessibility]),c.static&&(this.word("static"),this.space()),i(this,c,[!v&&c.abstract&&"abstract",!v&&c.override&&"override",(T||v)&&c.readonly&&"readonly"])},e.tsPrintFunctionOrConstructorType=function(c){let{typeParameters:v}=c,T=c.parameters;this.print(v),this.tokenChar(40),this._parameters(T,")"),this.space();let g=c.typeAnnotation;this.print(g)},e.tsPrintPropertyOrMethodName=function(c){c.computed&&this.tokenChar(91),this.print(c.key),c.computed&&this.tokenChar(93),c.optional&&this.tokenChar(63)},e.tsPrintSignatureDeclarationBase=function(c){let{typeParameters:v}=c,T=c.parameters;this.print(v),this.tokenChar(40),this._parameters(T,")");let g=c.typeAnnotation;this.print(g)}},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.generate=t;var r=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/source-map.js"),l=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/printer.js");function d(i,c,v){if(c.experimental_preserveFormat){if(typeof i!="string")throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!c.retainLines)throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(c.compact&&c.compact!=="auto")throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(c.minified)throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(c.jsescOption)throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(v.tokens))throw new Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}let T={auxiliaryCommentBefore:c.auxiliaryCommentBefore,auxiliaryCommentAfter:c.auxiliaryCommentAfter,shouldPrintComment:c.shouldPrintComment,preserveFormat:c.experimental_preserveFormat,retainLines:c.retainLines,retainFunctionParens:c.retainFunctionParens,comments:c.comments==null||c.comments,compact:c.compact,minified:c.minified,concise:c.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},c.jsescOption),topicToken:c.topicToken,importAttributesKeyword:c.importAttributesKeyword};var g;T.decoratorsBeforeExport=c.decoratorsBeforeExport,T.jsescOption.json=c.jsonCompatibleStrings,T.recordAndTupleSyntaxType=(g=c.recordAndTupleSyntaxType)!=null?g:"hash",T.minified?(T.compact=!0,T.shouldPrintComment=T.shouldPrintComment||(()=>T.comments)):T.shouldPrintComment=T.shouldPrintComment||(f=>T.comments||f.includes("@license")||f.includes("@preserve")),T.compact==="auto"&&(T.compact=typeof i=="string"&&i.length>5e5,T.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${c.filename} as it exceeds the max of 500KB.`)),(T.compact||T.preserveFormat)&&(T.indent.adjustMultilineComment=!1);let{auxiliaryCommentBefore:p,auxiliaryCommentAfter:h,shouldPrintComment:u}=T;return p&&!u(p)&&(T.auxiliaryCommentBefore=void 0),h&&!u(h)&&(T.auxiliaryCommentAfter=void 0),T}function t(i,c={},v){let T=d(v,c,i),g=c.sourceMaps?new r.default(c,v):null;return new l.default(T,g,i.tokens,typeof v=="string"?v:null).generate(i)}e.CodeGenerator=class{constructor(i,c={},v){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=i,this._format=d(v,c,i),this._map=c.sourceMaps?new r.default(c,v):null}generate(){return new l.default(this._format,this._map).generate(this._ast)}},e.default=t},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/node/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenContext=void 0,e.isLastChild=function(C,N){let F=i[C.type];for(let K=F.length-1;K>=0;K--){let L=C[F[K]];if(L===N)return!0;if(Array.isArray(L)){let w=L.length-1;for(;w>=0&&L[w]===null;)w--;return w>=0&&L[w]===N}if(L)return!1}return!1},e.needsParens=function(C,N,F,K){var L;return N?p(N)&&N.callee===C&&P(C)?!0:v(N)?!(b(C)||c(C)&&b(C.callee)||h(C)):(L=f.get(C.type))==null?void 0:L(C,N,F,K):!1},e.needsWhitespace=S,e.needsWhitespaceAfter=function(C,N){return S(C,N,2)},e.needsWhitespaceBefore=function(C,N){return S(C,N,1)};var r=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/node/whitespace.js"),l=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/node/parentheses.js"),d=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{FLIPPED_ALIAS_KEYS:t,VISITOR_KEYS:i,isCallExpression:c,isDecorator:v,isExpressionStatement:T,isMemberExpression:g,isNewExpression:p,isParenthesizedExpression:h}=d;e.TokenContext={normal:0,expressionStatement:1,arrowBody:2,exportDefault:4,arrowFlowReturnType:8,forInitHead:16,forInHead:32,forOfHead:64,forInOrInitHeadAccumulate:128,forInOrInitHeadAccumulatePassThroughMask:128};function u(C){let N=new Map;function F(K,L){let w=N.get(K);N.set(K,w?function(O,z,te,$){var D;return(D=w(O,z,te,$))!=null?D:L(O,z,te,$)}:L)}for(let K of Object.keys(C)){let L=t[K];if(L)for(let w of L)F(w,C[K]);else F(K,C[K])}return N}let f=u(l),y=u(r.nodes);function P(C){return!!c(C)||g(C)&&P(C.object)}function S(C,N,F){var K;if(!C)return!1;T(C)&&(C=C.expression);let L=(K=y.get(C.type))==null?void 0:K(C,N);return typeof L=="number"&&(L&F)!==0}function b(C){switch(C.type){case"Identifier":return!0;case"MemberExpression":return!C.computed&&C.property.type==="Identifier"&&b(C.object);default:return!1}}},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/node/parentheses.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AssignmentExpression=function(L,w,O){return!(!C(O)||!g(L.left))||K(L,w)},e.Binary=N,e.BinaryExpression=function(L,w,O){return L.operator==="in"&&!!(O&l.TokenContext.forInOrInitHeadAccumulate)},e.ClassExpression=function(L,w,O){return!!(O&(l.TokenContext.expressionStatement|l.TokenContext.exportDefault))},e.ArrowFunctionExpression=e.ConditionalExpression=K,e.DoExpression=function(L,w,O){return!L.async&&!!(O&l.TokenContext.expressionStatement)},e.FunctionExpression=function(L,w,O){return!!(O&(l.TokenContext.expressionStatement|l.TokenContext.exportDefault))},e.FunctionTypeAnnotation=function(L,w,O){let z=w.type;return z==="UnionTypeAnnotation"||z==="IntersectionTypeAnnotation"||z==="ArrayTypeAnnotation"||!!(O&l.TokenContext.arrowFlowReturnType)},e.Identifier=function(L,w,O,z){var te;let $=w.type;if((te=L.extra)!=null&&te.parenthesized&&$==="AssignmentExpression"&&w.left===L){let D=w.right.type;if((D==="FunctionExpression"||D==="ClassExpression")&&w.right.id==null)return!0}return z&&z(L)!==L.name?!1:L.name==="let"?!!((T(w,{object:L,computed:!0})||p(w,{object:L,computed:!0,optional:!1}))&&O&(l.TokenContext.expressionStatement|l.TokenContext.forInitHead|l.TokenContext.forInHead))||!!(O&l.TokenContext.forOfHead):L.name==="async"&&c(w,{left:L,await:!1})},e.LogicalExpression=function(L,w){let O=w.type;if(P(O))return!0;if(O!=="LogicalExpression")return!1;switch(L.operator){case"||":return w.operator==="??"||w.operator==="&&";case"&&":return w.operator==="??";case"??":return w.operator!=="??"}},e.NullableTypeAnnotation=function(L,w){return d(w)},e.ObjectExpression=function(L,w,O){return C(O)},e.OptionalIndexedAccessType=function(L,w){return v(w)&&w.objectType===L},e.OptionalCallExpression=e.OptionalMemberExpression=function(L,w){return i(w)&&w.callee===L||T(w)&&w.object===L},e.SequenceExpression=function(L,w){let O=w.type;return O==="SequenceExpression"||O==="ParenthesizedExpression"||O==="MemberExpression"&&w.property===L||O==="OptionalMemberExpression"&&w.property===L||O==="TemplateLiteral"?!1:O==="ClassDeclaration"?!0:O==="ForOfStatement"?w.right===L:O==="ExportDefaultDeclaration"?!0:!u(w)},e.TSSatisfiesExpression=e.TSAsExpression=function(L,w){return(w.type==="AssignmentExpression"||w.type==="AssignmentPattern")&&w.left===L||w.type==="BinaryExpression"&&(w.operator==="|"||w.operator==="&")&&L===w.left?!0:N(L,w)},e.TSConditionalType=function(L,w){let O=w.type;return O==="TSArrayType"||O==="TSIndexedAccessType"&&w.objectType===L||O==="TSOptionalType"||O==="TSTypeOperator"||O==="TSTypeParameter"||(O==="TSIntersectionType"||O==="TSUnionType")&&w.types[0]===L||O==="TSConditionalType"&&(w.checkType===L||w.extendsType===L)},e.TSConstructorType=e.TSFunctionType=function(L,w){let O=w.type;return O==="TSIntersectionType"||O==="TSUnionType"||O==="TSTypeOperator"||O==="TSOptionalType"||O==="TSArrayType"||O==="TSIndexedAccessType"&&w.objectType===L||O==="TSConditionalType"&&(w.checkType===L||w.extendsType===L)},e.TSInferType=function(L,w){let O=w.type;return!!(O==="TSArrayType"||O==="TSIndexedAccessType"&&w.objectType===L||O==="TSOptionalType"||L.typeParameter.constraint&&(O==="TSIntersectionType"||O==="TSUnionType")&&w.types[0]===L)},e.TSInstantiationExpression=function(L,w){let O=w.type;return(O==="CallExpression"||O==="OptionalCallExpression"||O==="NewExpression"||O==="TSInstantiationExpression")&&!!w.typeParameters},e.TSIntersectionType=function(L,w){let O=w.type;return O==="TSTypeOperator"||O==="TSArrayType"||O==="TSIndexedAccessType"&&w.objectType===L||O==="TSOptionalType"},e.UnaryLike=e.TSTypeAssertion=F,e.TSTypeOperator=function(L,w){let O=w.type;return O==="TSArrayType"||O==="TSIndexedAccessType"&&w.objectType===L||O==="TSOptionalType"},e.TSUnionType=function(L,w){let O=w.type;return O==="TSIntersectionType"||O==="TSTypeOperator"||O==="TSArrayType"||O==="TSIndexedAccessType"&&w.objectType===L||O==="TSOptionalType"},e.IntersectionTypeAnnotation=e.UnionTypeAnnotation=function(L,w){let O=w.type;return O==="ArrayTypeAnnotation"||O==="NullableTypeAnnotation"||O==="IntersectionTypeAnnotation"||O==="UnionTypeAnnotation"},e.UpdateExpression=function(L,w){return b(L,w)||S(L,w)},e.AwaitExpression=e.YieldExpression=function(L,w){let O=w.type;return O==="BinaryExpression"||O==="LogicalExpression"||O==="UnaryExpression"||O==="SpreadElement"||b(L,w)||O==="AwaitExpression"&&h(L)||O==="ConditionalExpression"&&L===w.test||S(L,w)||P(O)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),l=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/node/index.js");let{isArrayTypeAnnotation:d,isBinaryExpression:t,isCallExpression:i,isForOfStatement:c,isIndexedAccessType:v,isMemberExpression:T,isObjectPattern:g,isOptionalMemberExpression:p,isYieldExpression:h,isStatement:u}=r,f=new Map([["||",0],["??",0],["|>",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function y(L,w){return w==="BinaryExpression"||w==="LogicalExpression"?f.get(L.operator):w==="TSAsExpression"||w==="TSSatisfiesExpression"?f.get("in"):void 0}function P(L){return L==="TSAsExpression"||L==="TSSatisfiesExpression"||L==="TSTypeAssertion"}let S=(L,w)=>{let O=w.type;return(O==="ClassDeclaration"||O==="ClassExpression")&&w.superClass===L},b=(L,w)=>{let O=w.type;return(O==="MemberExpression"||O==="OptionalMemberExpression")&&w.object===L||(O==="CallExpression"||O==="OptionalCallExpression"||O==="NewExpression")&&w.callee===L||O==="TaggedTemplateExpression"&&w.tag===L||O==="TSNonNullExpression"};function C(L){return!!(L&(l.TokenContext.expressionStatement|l.TokenContext.arrowBody))}function N(L,w){let O=w.type;if(L.type==="BinaryExpression"&&L.operator==="**"&&O==="BinaryExpression"&&w.operator==="**")return w.left===L;if(S(L,w)||b(L,w)||O==="UnaryExpression"||O==="SpreadElement"||O==="AwaitExpression")return!0;let z=y(w,O);if(z!=null){let te=y(L,L.type);if(z===te&&O==="BinaryExpression"&&w.right===L||z>te)return!0}}function F(L,w){return b(L,w)||t(w)&&w.operator==="**"&&w.left===L||S(L,w)}function K(L,w){let O=w.type;return!!(O==="UnaryExpression"||O==="SpreadElement"||O==="BinaryExpression"||O==="LogicalExpression"||O==="ConditionalExpression"&&w.test===L||O==="AwaitExpression"||P(O))||F(L,w)}},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/node/whitespace.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.nodes=void 0;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{FLIPPED_ALIAS_KEYS:l,isArrayExpression:d,isAssignmentExpression:t,isBinary:i,isBlockStatement:c,isCallExpression:v,isFunction:T,isIdentifier:g,isLiteral:p,isMemberExpression:h,isObjectExpression:u,isOptionalCallExpression:f,isOptionalMemberExpression:y,isStringLiteral:P}=r;function S(K,L){return K&&(h(K)||y(K)?(S(K.object,L),K.computed&&S(K.property,L)):i(K)||t(K)?(S(K.left,L),S(K.right,L)):v(K)||f(K)?(L.hasCall=!0,S(K.callee,L)):T(K)?L.hasFunction=!0:g(K)&&(L.hasHelper=L.hasHelper||K.callee&&C(K.callee))),L}function b(K){return S(K,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function C(K){return!!K&&(h(K)?C(K.object)||C(K.property):g(K)?K.name==="require"||K.name.charCodeAt(0)===95:v(K)?C(K.callee):!(!i(K)&&!t(K))&&(g(K.left)&&C(K.left)||C(K.right)))}function N(K){return p(K)||u(K)||d(K)||g(K)||h(K)}let F=e.nodes={AssignmentExpression(K){let L=b(K.right);if(L.hasCall&&L.hasHelper||L.hasFunction)return L.hasFunction?3:2},SwitchCase:(K,L)=>(K.consequent.length||L.cases[0]===K?1:0)|(K.consequent.length||L.cases[L.cases.length-1]!==K?0:2),LogicalExpression(K){if(T(K.left)||T(K.right))return 2},Literal(K){if(P(K)&&K.value==="use strict")return 2},CallExpression(K){if(T(K.callee)||C(K))return 3},OptionalCallExpression(K){if(T(K.callee))return 3},VariableDeclaration(K){for(let L=0;L<K.declarations.length;L++){let w=K.declarations[L],O=C(w.id)&&!N(w.init);if(!O&&w.init){let z=b(w.init);O=C(w.init)&&z.hasCall||z.hasFunction}if(O)return 3}},IfStatement(K){if(c(K.consequent))return 3}};F.ObjectProperty=F.ObjectTypeProperty=F.ObjectMethod=function(K,L){if(L.properties[0]===K)return 1},F.ObjectTypeCallProperty=function(K,L){var w;if(L.callProperties[0]===K&&((w=L.properties)==null||!w.length))return 1},F.ObjectTypeIndexer=function(K,L){var w,O;if(!(L.indexers[0]!==K||(w=L.properties)!=null&&w.length||(O=L.callProperties)!=null&&O.length))return 1},F.ObjectTypeInternalSlot=function(K,L){var w,O,z;if(!(L.internalSlots[0]!==K||(w=L.properties)!=null&&w.length||(O=L.callProperties)!=null&&O.length||(z=L.indexers)!=null&&z.length))return 1},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([K,L]){[K].concat(l[K]||[]).forEach(function(w){let O=L?3:0;F[w]=()=>O})})},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/printer.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/buffer.js"),l=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/node/index.js"),d=l,t=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),i=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/token-map.js"),c=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/index.js"),v=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/generators/deprecated.js");let{isExpression:T,isFunction:g,isStatement:p,isClassBody:h,isTSInterfaceBody:u,isTSEnumMember:f}=t,y=/e/i,P=/\.0+$/,S=/[\n\r\u2028\u2029]/,b=/[\n\r\u2028\u2029]|\*\//;function C(L){return L.type==="CommentLine"||S.test(L.value)}let{needsParens:N}=d;class F{constructor(w,O,z,te){this.tokenContext=l.TokenContext.normal,this._tokens=null,this._originalCode=null,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.tokenMap=null,this._boundGetRawIdentifier=this._getRawIdentifier.bind(this),this._printSemicolonBeforeNextNode=-1,this._printSemicolonBeforeNextToken=-1,this.format=w,this._tokens=z,this._originalCode=te,this._indentRepeat=w.indent.style.length,this._inputMap=O?._inputMap,this._buf=new r.default(O,w.indent.style[0])}enterForStatementInit(){return this.tokenContext|=l.TokenContext.forInitHead|l.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=l.TokenContext.normal}enterForXStatementInit(w){return w?(this.tokenContext|=l.TokenContext.forOfHead,null):(this.tokenContext|=l.TokenContext.forInHead|l.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=l.TokenContext.normal)}enterDelimited(){let w=this.tokenContext,O=this._noLineTerminatorAfterNode;return w&l.TokenContext.forInOrInitHeadAccumulate||O!==null?(this._noLineTerminatorAfterNode=null,this.tokenContext=l.TokenContext.normal,()=>{this._noLineTerminatorAfterNode=O,this.tokenContext=w}):()=>{}}generate(w){return this.format.preserveFormat&&(this.tokenMap=new i.TokenMap(w,this._tokens,this._originalCode)),this.print(w),this._maybeAddAuxComment(),this._buf.get()}indent(){let{format:w}=this;w.preserveFormat||w.compact||w.concise||this._indent++}dedent(){let{format:w}=this;w.preserveFormat||w.compact||w.concise||this._indent--}semicolon(w=!1){if(this._maybeAddAuxComment(),w)return this._appendChar(59),void(this._noLineTerminator=!1);if(this.tokenMap){let O=this._currentNode;if(O.start!=null&&O.end!=null){if(!this.tokenMap.endMatches(O,";"))return void(this._printSemicolonBeforeNextNode=this._buf.getCurrentLine());let z=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[z[z.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}rightBrace(w){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",w.loc,-1),this.tokenChar(125)}rightParens(w){this.sourceWithOffset("end",w.loc,-1),this.tokenChar(41)}space(w=!1){let{format:O}=this;if(!O.compact&&!O.preserveFormat){if(w)this._space();else if(this._buf.hasContent()){let z=this.getLastChar();z!==32&&z!==10&&this._space()}}}word(w,O=!1){this.tokenContext&=l.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(w),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(w),(this._endsWithWord||this._endsWithDiv&&w.charCodeAt(0)===47)&&this._space(),this._append(w,!1),this._endsWithWord=!0,this._noLineTerminator=O}number(w,O){this.word(w),this._endsWithInteger=Number.isInteger(O)&&!(function(z){if(z.length>2&&z.charCodeAt(0)===48){let te=z.charCodeAt(1);return te===98||te===111||te===120}return!1})(w)&&!y.test(w)&&!P.test(w)&&w.charCodeAt(w.length-1)!==46}token(w,O=!1,z=0){this.tokenContext&=l.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(w,z),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(w,z);let te=this.getLastChar(),$=w.charCodeAt(0);(te===33&&(w==="--"||$===61)||$===43&&te===43||$===45&&te===45||$===46&&this._endsWithInteger)&&this._space(),this._append(w,O),this._noLineTerminator=!1}tokenChar(w){this.tokenContext&=l.TokenContext.forInOrInitHeadAccumulatePassThroughMask;let O=String.fromCharCode(w);this._maybePrintInnerComments(O),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(O);let z=this.getLastChar();(w===43&&z===43||w===45&&z===45||w===46&&this._endsWithInteger)&&this._space(),this._appendChar(w),this._noLineTerminator=!1}newline(w=1,O){if(!(w<=0)){if(!O){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}w>2&&(w=2),w-=this._buf.getNewlineCount();for(let z=0;z<w;z++)this._newline()}}endsWith(w){return this.getLastChar()===w}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(w,O){w?(this._catchUp("start",w),this._buf.exactSource(w,O)):O()}source(w,O){O&&(this._catchUp(w,O),this._buf.source(w,O))}sourceWithOffset(w,O,z){O&&!this.format.preserveFormat&&(this._catchUp(w,O),this._buf.sourceWithOffset(w,O,z))}sourceIdentifierName(w,O){if(!this._buf._canMarkIdName)return;let z=this._buf._sourcePosition;z.identifierNamePos=O,z.identifierName=w}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(w,O=0){let z=this.tokenMap.findMatching(this._currentNode,w,O);z&&this._catchUpTo(z.loc.start),this._printSemicolonBeforeNextToken!==-1&&this._printSemicolonBeforeNextToken===this._buf.getCurrentLine()&&(this._buf.appendChar(59),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1),this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1}_append(w,O){this._maybeIndent(w.charCodeAt(0)),this._buf.append(w,O),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(w){this._maybeIndent(w),this._buf.appendChar(w),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(w){this._maybeIndent(w),this._buf.queue(w),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(w){this._indent&&w!==10&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(w){if(this._indent&&w!==10&&this.endsWith(10))return!0}catchUp(w){if(!this.format.retainLines)return;let O=w-this._buf.getCurrentLine();for(let z=0;z<O;z++)this._newline()}_catchUp(w,O){let{format:z}=this;if(!z.preserveFormat)return void(z.retainLines&&O!=null&&O[w]&&this.catchUp(O[w].line));let te=O?.[w];te!=null&&this._catchUpTo(te)}_catchUpTo({line:w,column:O,index:z}){let te=w-this._buf.getCurrentLine();if(te>0&&this._noLineTerminator)return;for(let D=0;D<te;D++)this._newline();let $=te>0?O:O-this._buf.getCurrentColumn();if($>0){let D=this._originalCode?this._originalCode.slice(z-$,z).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat($);this._append(D,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(w){this._noLineTerminator=!0,this.print(w)}print(w,O,z){var te,$,D;if(!w)return;this._endsWithInnerRaw=!1;let W=w.type,q=this.format,re=q.concise;w._compact&&(q.concise=!0);let le=this[W];if(le===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(W)} with constructor ${JSON.stringify(w.constructor.name)}`);let ie=this._currentNode;this._currentNode=w,this.tokenMap&&(this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode);let M=this._insideAux;this._insideAux=w.loc==null,this._maybeAddAuxComment(this._insideAux&&!M);let B=(te=w.extra)==null?void 0:te.parenthesized,G=B&&q.preserveFormat||B&&q.retainFunctionParens&&W==="FunctionExpression"||N(w,ie,this.tokenContext,q.preserveFormat?this._boundGetRawIdentifier:void 0);if(!G&&B&&($=w.leadingComments)!=null&&$.length&&w.leadingComments[0].type==="CommentBlock")switch(ie?.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(ie.callee!==w)break;default:G=!0}let U,Q,de=!1;var se;!G&&this._noLineTerminator&&((D=w.leadingComments)!=null&&D.some(C)||this.format.retainLines&&w.loc&&w.loc.start.line>this._buf.getCurrentLine())&&(G=!0,de=!0),G||(O||(O=ie&&this._noLineTerminatorAfterNode===ie&&d.isLastChild(ie,w)),O&&((se=w.trailingComments)!=null&&se.some(C)?T(w)&&(G=!0):(U=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=w))),G&&(this.tokenChar(40),de&&this.indent(),this._endsWithInnerRaw=!1,this.tokenContext&l.TokenContext.forInOrInitHeadAccumulate&&(Q=this.tokenContext,this.tokenContext=l.TokenContext.normal),U=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null),this._lastCommentLine=0,this._printLeadingComments(w,ie);let ye=W==="Program"||W==="File"?null:w.loc;this.exactSource(ye,le.bind(this,w,ie)),G?(this._printTrailingComments(w,ie),de&&(this.dedent(),this.newline()),this.tokenChar(41),this._noLineTerminator=O,Q&&(this.tokenContext=Q)):O&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(w,ie)):this._printTrailingComments(w,ie,z),this._currentNode=ie,q.concise=re,this._insideAux=M,U!==void 0&&(this._noLineTerminatorAfterNode=U),this._endsWithInnerRaw=!1}_maybeAddAuxComment(w){w&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let w=this.format.auxiliaryCommentBefore;w&&this._printComment({type:"CommentBlock",value:w},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let w=this.format.auxiliaryCommentAfter;w&&this._printComment({type:"CommentBlock",value:w},0)}getPossibleRaw(w){let O=w.extra;if(O?.raw!=null&&O.rawValue!=null&&w.value===O.rawValue)return O.raw}printJoin(w,O,z,te,$,D,W,q){if(w==null||!w.length)return;if(z==null&&this.format.retainLines){var re;let U=(re=w[0].loc)==null?void 0:re.start.line;U!=null&&U!==this._buf.getCurrentLine()&&(z=!0)}z&&this.indent();let le={addNewlines:D,nextNodeStartLine:0},ie=te?.bind(this),M=w.length;for(let U=0;U<M;U++){let Q=w[U];var B;if(Q&&(O&&this._printNewline(U===0,le),this.print(Q,void 0,q||0),W?.(Q,U),ie!=null&&(U<M-1?ie(U,!1):$&&ie(U,!0)),O))if((B=Q.trailingComments)!=null&&B.length||(this._lastCommentLine=0),U+1===M)this.newline(1);else{var G;let de=w[U+1];le.nextNodeStartLine=((G=de.loc)==null?void 0:G.start.line)||0,this._printNewline(!0,le)}}z&&this.dedent()}printAndIndentOnComments(w){let O=w.leadingComments&&w.leadingComments.length>0;O&&this.indent(),this.print(w),O&&this.dedent()}printBlock(w){let O=w.body;O.type!=="EmptyStatement"&&this.space(),this.print(O)}_printTrailingComments(w,O,z){let{innerComments:te,trailingComments:$}=w;te!=null&&te.length&&this._printComments(2,te,w,O,z),$!=null&&$.length&&this._printComments(2,$,w,O,z)}_printLeadingComments(w,O){let z=w.leadingComments;z!=null&&z.length&&this._printComments(0,z,w,O)}_maybePrintInnerComments(w,O){var z;this._endsWithInnerRaw&&this.printInnerComments((z=this.tokenMap)==null?void 0:z.findMatching(this._currentNode,w,O)),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(w){let O=this._currentNode,z=O.innerComments;if(z==null||!z.length)return;let te=this.endsWith(32),$=this._indentInnerComments,D=this._printedComments.size;$&&this.indent(),this._printComments(1,z,O,void 0,void 0,w),te&&D!==this._printedComments.size&&this.space(),$&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(w,O,z,te){this.printJoin(w,!0,O!=null&&O,void 0,void 0,te,void 0,z)}printList(w,O,z,te,$,D){this.printJoin(w,z,te,$??K,O,void 0,D)}shouldPrintTrailingComma(w){if(!this.tokenMap)return null;let O=this.tokenMap.findLastIndex(this._currentNode,z=>this.tokenMap.matchesOriginal(z,w));return O<=0?null:this.tokenMap.matchesOriginal(this._tokens[O-1],",")}_printNewline(w,O){let z=this.format;if(z.retainLines||z.compact)return;if(z.concise)return void this.space();if(!w)return;let te=O.nextNodeStartLine,$=this._lastCommentLine;if(te>0&&$>0){let D=te-$;if(D>=0)return void this.newline(D||1)}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(w,O){if(w.ignore||this._printedComments.has(w))return 0;if(this._noLineTerminator&&b.test(w.value))return 2;if(O&&this.tokenMap){let z=this.tokenMap.find(this._currentNode,te=>te.value===w.value);if(z&&z.start>O.start)return 2}return this._printedComments.add(w),this.format.shouldPrintComment(w.value)?1:0}_printComment(w,O){let z=this._noLineTerminator,te=w.type==="CommentBlock",$=te&&O!==1&&!this._noLineTerminator;$&&this._buf.hasContent()&&O!==2&&this.newline(1);let D=this.getLastChar(),W;if(D!==91&&D!==123&&D!==40&&this.space(),te){if(W=`/*${w.value}*/`,this.format.indent.adjustMultilineComment){var q;let re=(q=w.loc)==null?void 0:q.start.column;if(re){let le=new RegExp("\\n\\s{1,"+re+"}","g");W=W.replace(le,`
|
|
138
|
-
`)}if(this.format.concise)W=W.replace(/\n(?!$)/g,`
|
|
139
|
-
`);else{let le=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(le+=this._getIndent()),W=W.replace(/\n(?!$)/g,`
|
|
140
|
-
${" ".repeat(le)}`)}}}else W=z?`/*${w.value}*/`:`//${w.value}`;if(this._endsWithDiv&&this._space(),this.tokenMap){let{_printSemicolonBeforeNextToken:re,_printSemicolonBeforeNextNode:le}=this;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",w.loc),this._append(W,te),this._printSemicolonBeforeNextNode=le,this._printSemicolonBeforeNextToken=re}else this.source("start",w.loc),this._append(W,te);te||z||this.newline(1,!0),$&&O!==3&&this.newline(1)}_printComments(w,O,z,te,$=0,D){let W=z.loc,q=O.length,re=!!W,le=re?W.start.line:0,ie=re?W.end.line:0,M=0,B=0,G=this._noLineTerminator?function(){}:this.newline.bind(this);for(let U=0;U<q;U++){let Q=O[U],de=this._shouldPrintComment(Q,D);if(de===2){re=!1;break}if(re&&Q.loc&&de===1){let se=Q.loc.start.line,ye=Q.loc.end.line;if(w===0){let we=0;U===0?!this._buf.hasContent()||Q.type!=="CommentLine"&&se===ye||(we=B=1):we=se-M,M=ye,G(we),this._printComment(Q,1),U+1===q&&(G(Math.max(le-M,B)),M=le)}else if(w===1){let we=se-(U===0?le:M);M=ye,G(we),this._printComment(Q,1),U+1===q&&(G(Math.min(1,ie-M)),M=ie)}else{let we=se-(U===0?ie-$:M);M=ye,G(we),this._printComment(Q,1)}}else{if(re=!1,de!==1)continue;if(q===1){let se=Q.loc?Q.loc.start.line===Q.loc.end.line:!S.test(Q.value),ye=se&&!p(z)&&!h(te)&&!u(te)&&!f(z);w===0?this._printComment(Q,ye&&z.type!=="ObjectExpression"||se&&g(te,{body:z})?1:0):ye&&w===2?this._printComment(Q,1):this._printComment(Q,0)}else w!==1||z.type==="ObjectExpression"&&z.properties.length>1||z.type==="ClassBody"||z.type==="TSInterfaceBody"?this._printComment(Q,0):this._printComment(Q,U===0?2:U===q-1?3:0)}}w===2&&re&&M&&(this._lastCommentLine=M)}}Object.assign(F.prototype,c),(0,v.addDeprecatedGenerators)(F),e.default=F;function K(L,w){this.token(",",!1,L),w||this.space()}},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/source-map.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.12/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"),l=E("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.29/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js");e.default=class{constructor(d,t){var i;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;let c=this._map=new r.GenMapping({sourceRoot:d.sourceRoot});if(this._sourceFileName=(i=d.sourceFileName)==null?void 0:i.replace(/\\/g,"/"),this._rawMappings=void 0,d.inputSourceMap){this._inputMap=new l.TraceMap(d.inputSourceMap);let T=this._inputMap.resolvedSources;if(T.length)for(let g=0;g<T.length;g++){var v;(0,r.setSourceContent)(c,T[g],(v=this._inputMap.sourcesContent)==null?void 0:v[g])}}if(typeof t!="string"||d.inputSourceMap){if(typeof t=="object")for(let T of Object.keys(t))(0,r.setSourceContent)(c,T.replace(/\\/g,"/"),t[T])}else(0,r.setSourceContent)(c,this._sourceFileName,t)}get(){return(0,r.toEncodedMap)(this._map)}getDecoded(){return(0,r.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,r.allMappings)(this._map))}mark(d,t,i,c,v,T){var g;let p;if(this._rawMappings=void 0,t!=null)if(this._inputMap){if(p=(0,l.originalPositionFor)(this._inputMap,{line:t,column:i}),!p.name&&v){let h=(0,l.originalPositionFor)(this._inputMap,v);h.name&&(c=h.name)}}else p={source:T?.replace(/\\/g,"/")||this._sourceFileName,line:t,column:i};(0,r.maybeAddMapping)(this._map,{name:c,generated:d,source:(g=p)==null?void 0:g.source,original:p})}}},"./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/token-map.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenMap=void 0;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{traverseFast:l,VISITOR_KEYS:d}=r;e.TokenMap=class{constructor(t,i,c){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=i,this._source=c,l(t,v=>{let T=this._getTokensIndexesOfNode(v);T.length>0&&this._nodesToTokenIndexes.set(v,T)}),this._tokensCache=null}has(t){return this._nodesToTokenIndexes.has(t)}getIndexes(t){return this._nodesToTokenIndexes.get(t)}find(t,i){let c=this._nodesToTokenIndexes.get(t);if(c)for(let v=0;v<c.length;v++){let T=c[v],g=this._tokens[T];if(i(g,T))return g}return null}findLastIndex(t,i){let c=this._nodesToTokenIndexes.get(t);if(c)for(let v=c.length-1;v>=0;v--){let T=c[v];if(i(this._tokens[T],T))return T}return-1}findMatching(t,i,c=0){let v=this._nodesToTokenIndexes.get(t);if(v){let T=0,g=c;if(g>1){let p=this._nodesOccurrencesCountCache.get(t);p&&p.test===i&&p.count<g&&(T=p.i+1,c-=p.count+1)}for(;T<v.length;T++){let p=this._tokens[v[T]];if(this.matchesOriginal(p,i)){if(c===0)return g>0&&this._nodesOccurrencesCountCache.set(t,{test:i,count:g,i:T}),p;c--}}}return null}matchesOriginal(t,i){return t.end-t.start===i.length&&(t.value!=null?t.value===i:this._source.startsWith(i,t.start))}startMatches(t,i){let c=this._nodesToTokenIndexes.get(t);if(!c)return!1;let v=this._tokens[c[0]];return v.start===t.start&&this.matchesOriginal(v,i)}endMatches(t,i){let c=this._nodesToTokenIndexes.get(t);if(!c)return!1;let v=this._tokens[c[c.length-1]];return v.end===t.end&&this.matchesOriginal(v,i)}_getTokensIndexesOfNode(t){if(t.start==null||t.end==null)return[];let{first:i,last:c}=this._findTokensOfNode(t,0,this._tokens.length-1),v=i,T=(function*(p){if(p.type==="TemplateLiteral"){yield p.quasis[0];for(let u=1;u<p.quasis.length;u++)yield p.expressions[u-1],yield p.quasis[u];return}let h=d[p.type];for(let u of h){let f=p[u];f&&(Array.isArray(f)?yield*f:yield f)}})(t);t.type!=="ExportNamedDeclaration"&&t.type!=="ExportDefaultDeclaration"||!t.declaration||t.declaration.type!=="ClassDeclaration"||T.next();let g=[];for(let p of T){if(p==null||p.start==null||p.end==null)continue;let h=this._findTokensOfNode(p,v,c),u=h.first;for(let f=v;f<u;f++)g.push(f);v=h.last+1}for(let p=v;p<=c;p++)g.push(p);return g}_findTokensOfNode(t,i,c){let v=this._tokensCache.get(t);if(v)return v;let T=this._findFirstTokenOfNode(t.start,i,c),g=this._findLastTokenOfNode(t.end,T,c);return this._tokensCache.set(t,{first:T,last:g}),{first:T,last:g}}_findFirstTokenOfNode(t,i,c){for(;i<=c;){let v=c+i>>1;if(t<this._tokens[v].start)c=v-1;else{if(!(t>this._tokens[v].start))return v;i=v+1}}return i}_findLastTokenOfNode(t,i,c){for(;i<=c;){let v=c+i>>1;if(t<this._tokens[v].end)c=v-1;else{if(!(t>this._tokens[v].end))return v;i=v+1}}return c}}},"./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.27.3/node_modules/@babel/helper-annotate-as-pure/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i){let c=i.node||i;t(c)||l(c,"leading",d)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{addComment:l}=r,d="#__PURE__",t=({leadingComments:i})=>!!i&&i.some(c=>/[@#]__PURE__/.test(c.value))},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildDecoratedClass=function(c,v,T,g){let{node:p,scope:h}=v,u=h.generateUidIdentifier("initialize"),f=p.id&&v.isDeclaration(),y=v.isInStrictMode(),{superClass:P}=p;p.type="ClassDeclaration",p.id||(p.id=r.types.cloneNode(c));let S;P&&(S=h.generateUidIdentifierBasedOnNode(p.superClass,"super"),p.superClass=S);let b=t(p),C=r.types.arrayExpression(T.filter(L=>!L.node.abstract&&L.node.type!=="TSIndexSignature").map(L=>(function(w,O,z,te){let $=te.isClassMethod();if(te.isPrivate())throw te.buildCodeFrameError(`Private ${$?"methods":"fields"} in decorated classes are not supported yet.`);if(te.node.type==="ClassAccessorProperty")throw te.buildCodeFrameError('Accessor properties are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');if(te.node.type==="StaticBlock")throw te.buildCodeFrameError('Static blocks are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');let{node:D,scope:W}=te;te.isTSDeclareMethod()||new l.default({methodPath:te,objectRef:O,superRef:z,file:w,refToPreserve:O}).replace();let q=[d("kind",r.types.stringLiteral(r.types.isClassMethod(D)?D.kind:"field")),d("decorators",t(D)),d("static",D.static&&r.types.booleanLiteral(!0)),d("key",i(D))].filter(Boolean);$?(te.ensureFunctionName!=null||(te.ensureFunctionName=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.ensureFunctionName),te.ensureFunctionName(!1),q.push(d("value",r.types.toExpression(te.node)))):r.types.isClassProperty(D)&&D.value?q.push((re="value",le=r.template.statements.ast`return ${D.value}`,r.types.objectMethod("method",r.types.identifier(re),[],r.types.blockStatement(le)))):q.push(d("value",W.buildUndefinedNode()));var re,le;return te.remove(),r.types.objectExpression(q)})(g,p.id,S,L))),N=r.template.expression.ast`
|
|
141
|
-
${(function(L){return L.addHelper("decorate")})(g)}(
|
|
142
|
-
${b||r.types.nullLiteral()},
|
|
143
|
-
function (${u}, ${P?r.types.cloneNode(S):null}) {
|
|
144
|
-
${p}
|
|
145
|
-
return { F: ${r.types.cloneNode(p.id)}, d: ${C} };
|
|
146
|
-
},
|
|
147
|
-
${P}
|
|
148
|
-
)
|
|
149
|
-
`;y||N.arguments[1].body.directives.push(r.types.directive(r.types.directiveLiteral("use strict")));let F=N,K="arguments.1.body.body.0";return f&&(F=r.template.statement.ast`let ${c} = ${N}`,K="declarations.0.init."+K),{instanceNodes:[r.template.statement.ast`
|
|
150
|
-
${r.types.cloneNode(u)}(this)
|
|
151
|
-
`],wrapClass:L=>(L.replaceWith(F),L.get(K))}};var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),l=E("./node_modules/.pnpm/@babel+helper-replace-supers@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-replace-supers/lib/index.js");function d(c,v){return v?r.types.objectProperty(r.types.identifier(c),v):null}function t(c){let v;return c.decorators&&c.decorators.length>0&&(v=r.types.arrayExpression(c.decorators.map(T=>T.expression))),c.decorators=void 0,v}function i(c){return c.computed?c.key:r.types.isIdentifier(c.key)?r.types.stringLiteral(c.key.name):r.types.stringLiteral(String(c.key.value))}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function({assertVersion:H,assumption:me},{loose:Se},pe,j){var Te,De;H(pe==="2023-11"||pe==="2023-05"||pe==="2023-01"?"^7.21.0":pe==="2021-12"?"^7.16.0":"^7.19.0");let Fe=new WeakSet,Pe=(Te=me("constantSuper"))!=null?Te:Se,ke=(De=me("ignoreFunctionLength"))!=null?De:Se,Oe=(function(Re,at){function ut(pt,qe,rt){switch(qe.type){case"StringLiteral":return r.types.stringLiteral(qe.value);case"NumericLiteral":case"BigIntLiteral":{let Ve=qe.value+"";return pt.get("key").replaceWith(r.types.stringLiteral(Ve)),r.types.stringLiteral(Ve)}default:{let Ve=pt.scope.maybeGenerateMemoised(qe);return pt.get("key").replaceWith(r.types.assignmentExpression("=",Ve,G(rt,qe))),r.types.cloneNode(Ve)}}}return{VariableDeclarator(pt,qe){let rt=pt.node.id;if(rt.type==="Identifier"){let Ve=(0,d.skipTransparentExprWrappers)(pt.get("init"));if(Re(Ve)){let Ne=rt.name;at(Ve,qe,Ne)}}},AssignmentExpression(pt,qe){let rt=pt.node.left;if(rt.type==="Identifier"){let Ve=(0,d.skipTransparentExprWrappers)(pt.get("right"));if(Re(Ve))switch(pt.node.operator){case"=":case"&&=":case"||=":case"??=":at(Ve,qe,rt.name)}}},AssignmentPattern(pt,qe){let rt=pt.node.left;if(rt.type==="Identifier"){let Ve=(0,d.skipTransparentExprWrappers)(pt.get("right"));if(Re(Ve)){let Ne=rt.name;at(Ve,qe,Ne)}}},ObjectExpression(pt,qe){for(let rt of pt.get("properties")){if(!rt.isObjectProperty())continue;let{node:Ve}=rt,Ne=Ve.key,ae=(0,d.skipTransparentExprWrappers)(rt.get("value"));if(Re(ae)){if(Ve.computed){let _e=ut(rt,Ne,qe);at(ae,qe,_e)}else if(!se(Ne))if(Ne.type==="Identifier")at(ae,qe,Ne.name);else{let _e=r.types.stringLiteral(Ne.value+"");at(ae,qe,_e)}}}},ClassPrivateProperty(pt,qe){let{node:rt}=pt,Ve=(0,d.skipTransparentExprWrappers)(pt.get("value"));if(Re(Ve)){let Ne=r.types.stringLiteral("#"+rt.key.id.name);at(Ve,qe,Ne)}},ClassAccessorProperty(pt,qe){let{node:rt}=pt,Ve=rt.key,Ne=(0,d.skipTransparentExprWrappers)(pt.get("value"));if(Re(Ne))if(rt.computed){let ae=ut(pt,Ve,qe);at(Ne,qe,ae)}else if(Ve.type==="Identifier")at(Ne,qe,Ve.name);else if(Ve.type==="PrivateName"){let ae=r.types.stringLiteral("#"+Ve.id.name);at(Ne,qe,ae)}else{let ae=r.types.stringLiteral(Ve.value+"");at(Ne,qe,ae)}},ClassProperty(pt,qe){let{node:rt}=pt,Ve=rt.key,Ne=(0,d.skipTransparentExprWrappers)(pt.get("value"));if(Re(Ne))if(rt.computed){let ae=ut(pt,Ve,qe);at(Ne,qe,ae)}else if(Ve.type==="Identifier")at(Ne,qe,Ve.name);else{let ae=r.types.stringLiteral(Ve.value+"");at(Ne,qe,ae)}}}})(ve,We);function We(Re,at,ut){var pt;if(Fe.has(Re))return;let{node:qe}=Re;ut!=null||(ut=(pt=qe.id)==null?void 0:pt.name);let rt=(function(Ve,Ne,ae,_e,$e,st,et){var oe;let Ae=Ve.get("body.body"),Ge=Ve.node.decorators,He=!1,Ee=!1,Le=!1,Ie=(function(ot){let Ze;return()=>(Ze||(Ze=(function(bt){let gt=[],_t=new Set;return bt.traverse({PrivateName(It){_t.add(It.node.id.name)}}),()=>{let It;do v(gt),It=String.fromCharCode(...gt);while(_t.has(It));return r.types.privateName(r.types.identifier(It))}})(ot)),Ze())})(Ve),xe=[],ze=Ve.scope.parent,it=(ot,Ze,bt)=>{let gt=ce(ze,Ze);return bt.push(r.types.assignmentExpression("=",gt,ot)),r.types.cloneNode(gt)},Qe,lt,ct=(oe=Ve.node.id)==null?void 0:oe.name,Ye=typeof $e=="object"?$e:void 0,xt=ot=>{try{return r.types.traverseFast(ot,Ze=>{if(r.types.isThisExpression(Ze)||r.types.isSuper(Ze)||r.types.isYieldExpression(Ze)||r.types.isAwaitExpression(Ze)||r.types.isIdentifier(Ze,{name:"arguments"})||ct&&r.types.isIdentifier(Ze,{name:ct})||r.types.isMetaProperty(Ze)&&Ze.meta.name!=="import")throw null}),!1}catch{return!0}},St=[];for(let ot of Ae){if(!le(ot))continue;let Ze=ot.node;if(!Ze.static&&r.types.isPrivateName(Ze.key)&&St.push(Ze.key.id.name),ye(Ze)){switch(Ze.type){case"ClassProperty":st.ClassProperty(ot,Ne);break;case"ClassPrivateProperty":st.ClassPrivateProperty(ot,Ne);break;case"ClassAccessorProperty":if(st.ClassAccessorProperty(ot,Ne),et==="2023-11")break;default:Ze.static?lt!=null||(lt=ce(ze,"initStatic")):Qe!=null||(Qe=ce(ze,"initProto"))}He=!0,Le||(Le=Ze.decorators.some(xt))}else if(Ze.type==="ClassAccessorProperty"){st.ClassAccessorProperty(ot,Ne);let{key:bt,value:gt,static:_t,computed:It}=Ze,Be=Ie(),Et=T(Be,gt,_t),Nt=ot.get("key"),[jt]=ot.replaceWith(Et),Yt,Lt;It&&!Nt.isConstantExpression()?(Yt=(0,i.memoiseComputedKey)(G(Ne,bt),ze,ze.generateUid("computedKey")),Lt=r.types.cloneNode(Yt.left)):(Yt=r.types.cloneNode(bt),Lt=r.types.cloneNode(bt)),g(Ve,$e),p(Ve.node.id,jt,Yt,Lt,Be,It,_t,et)}"computed"in ot.node&&ot.node.computed&&(Ee||(Ee=!ze.isStatic(ot.node.key)))}if(!Ge&&!He)return Ve.node.id||typeof $e!="string"||(Ve.node.id=r.types.identifier($e)),void(Ye&&Ve.node.body.body.unshift(N([B(Ne,Ye)])));let Ft=[],Dt,Jt=new Set,At,Qt,sn=null;function bn(ot){let Ze=!1,bt=!1,gt=[];for(let _t of ot){let{expression:It}=_t,Be;et!=="2023-11"&&et!=="2023-05"||!r.types.isMemberExpression(It)||(r.types.isSuper(It.object)?Be=r.types.thisExpression():ze.isStatic(It.object)?Be=r.types.cloneNode(It.object):(sn!=null||(sn=ce(ze,"obj")),Be=r.types.assignmentExpression("=",r.types.cloneNode(sn),It.object),It.object=r.types.cloneNode(sn))),gt.push(Be),Ze||(Ze=!ze.isStatic(It)),bt||(bt=xt(_t))}return{hasSideEffects:Ze,usesFnContext:bt,decoratorsThis:gt}}let on=Ee||Le||et!=="2023-11",pn,Dn,kt=!1,gn=0,_n=[],Wt=[];if(Ge){At=ce(ze,"initClass"),kt=Ve.isClassDeclaration(),{id:Qt,path:Ve}=(function(Be,Et){let Nt=Be.node.id,jt=Be.scope;if(Be.type==="ClassDeclaration"){let Yt=Nt.name,Lt=jt.generateUidIdentifierBasedOnNode(Nt),vt=r.types.identifier(Yt);return jt.rename(Yt,Lt.name),Be.get("id").replaceWith(vt),{id:r.types.cloneNode(Lt),path:Be}}{let Yt;Nt?(Et=Nt.name,Yt=ce(jt.parent,Et),jt.rename(Et,Yt.name)):Yt=ce(jt.parent,typeof Et=="string"?Et:"decorated_class");let Lt=r.types.classExpression(typeof Et=="string"?r.types.identifier(Et):null,Be.node.superClass,Be.node.body),[vt]=Be.replaceWith(r.types.sequenceExpression([Lt,Yt]));return{id:r.types.cloneNode(Yt),path:vt.get("expressions.0")}}})(Ve,$e),Ve.node.decorators=null;let ot=Ge.some(Q),{hasSideEffects:Ze,usesFnContext:bt,decoratorsThis:gt}=bn(Ge),{haveThis:_t,decs:It}=W(Ge,gt,et);if(gn=_t?1:0,_n=It,(bt||Ze&&on||ot)&&(pn=it(r.types.arrayExpression(_n),"classDecs",xe)),!He)for(let Be of Ve.get("body.body")){let{node:Et}=Be;if("computed"in Et&&Et.computed)if(Be.isClassProperty({static:!0})){if(!Be.get("key").isConstantExpression()){let Nt=Et.key,jt=(0,i.memoiseComputedKey)(Nt,ze,ze.generateUid("computedKey"));jt!=null&&(Et.key=r.types.cloneNode(jt.left),Wt.push(jt))}}else Wt.length>0&&(y(Wt,Be),Wt=[])}}else g(Ve,$e),Qt=r.types.cloneNode(Ve.node.id);let Zt=!1,dn=[],tn=[];if(He){if(Qe){let ot=r.types.callExpression(r.types.cloneNode(Qe),[r.types.thisExpression()]);dn.push(ot)}for(let ot of Ae){if(!le(ot)){tn.length>0&&ot.isStaticBlock()&&(S(tn,ot),tn=[]);continue}let{node:Ze}=ot,bt=Ze.decorators,gt=!(bt==null||!bt.length),_t="computed"in Ze&&Ze.computed,It,Be,Et="computedKey";if(Ze.key.type==="PrivateName"?Et=Ze.key.id.name:_t||Ze.key.type!=="Identifier"||(Et=Ze.key.name),gt){let{hasSideEffects:hn,usesFnContext:mn,decoratorsThis:Sn}=bn(bt),{decs:yn,haveThis:Kt}=W(bt,Sn,et);Be=Kt,It=yn.length===1?yn[0]:r.types.arrayExpression(yn),(mn||hn&&on)&&(It=it(It,Et+"Decs",Wt))}if(_t&&!ot.get("key").isConstantExpression()){let hn=Ze.key,mn=(0,i.memoiseComputedKey)(gt?G(Ne,hn):hn,ze,ze.generateUid("computedKey"));mn!=null&&(Ge&&ot.isClassProperty({static:!0})?(Ze.key=r.types.cloneNode(mn.left),Wt.push(mn)):Ze.key=mn)}let{key:Nt,static:jt}=Ze,Yt=Nt.type==="PrivateName",Lt=D(ot),vt;if(Yt&&!jt&&(gt&&(Zt=!0),!r.types.isClassPrivateProperty(Ze)&&Dn||(Dn=Nt)),ot.isClassMethod({kind:"constructor"})&&(Dt=ot),gt){let hn,mn;if(mn=_t?f(ot.get("key")):Nt.type==="PrivateName"?r.types.stringLiteral(Nt.id.name):Nt.type==="Identifier"?r.types.stringLiteral(Nt.name):r.types.cloneNode(Nt),Lt===K){let{value:Sn}=ot.node,yn=et==="2023-11"&&jt?[]:[r.types.thisExpression()];Sn&&yn.push(r.types.cloneNode(Sn));let Kt=Ie(),Kn=ce(ze,`init_${Et}`),jn=T(Kt,r.types.callExpression(r.types.cloneNode(Kn),yn),jt),[qn]=ot.replaceWith(jn);if(Yt){hn=h(Kt,et);let En=ce(ze,`get_${Et}`),Mn=ce(ze,`set_${Et}`);q(et,qn,Nt,En,Mn,jt),vt=[Kn,En,Mn]}else g(Ve,$e),p(Ve.node.id,qn,r.types.cloneNode(Nt),r.types.isAssignmentExpression(Nt)?r.types.cloneNode(Nt.left):r.types.cloneNode(Nt),Kt,_t,jt,et),vt=[Kn]}else if(Lt===F){let Sn=ce(ze,`init_${Et}`),yn=ot.get("value"),Kt=et==="2023-11"&&jt?[]:[r.types.thisExpression()];yn.node&&Kt.push(yn.node),yn.replaceWith(r.types.callExpression(r.types.cloneNode(Sn),Kt)),vt=[Sn],Yt&&(hn=h(Nt,et))}else if(Yt){let Sn=ce(ze,`call_${Et}`);if(vt=[Sn],new l.default({constantSuper:ae,methodPath:ot,objectRef:Qt,superRef:Ve.node.superClass,file:Ne.file,refToPreserve:Qt}).replace(),hn=[M(ot.node)],Lt===w||Lt===O)re(ot,r.types.cloneNode(Nt),r.types.cloneNode(Sn),jt);else{let yn=ot.node;Ve.node.body.body.unshift(r.types.classPrivateProperty(Nt,r.types.cloneNode(Sn),[],yn.static)),Jt.add(Nt.id.name),ot.remove()}}Ft.push({kind:Lt,decoratorsArray:It,decoratorsHaveThis:Be,name:mn,isStatic:jt,privateMethods:hn,locals:vt}),ot.node&&(ot.node.decorators=null)}if(_t&&Wt.length>0&&(Ge&&ot.isClassProperty({static:!0})||(y(Wt,Lt===K?ot.getNextSibling():ot),Wt=[])),dn.length>0&&!jt&&(Lt===F||Lt===K)&&(P(dn,ot),dn=[]),tn.length>0&&jt&&(Lt===F||Lt===K)&&(P(tn,ot),tn=[]),gt&&et==="2023-11"&&(Lt===F||Lt===K)){let hn=ce(ze,`init_extra_${Et}`);vt.push(hn);let mn=r.types.callExpression(r.types.cloneNode(hn),jt?[]:[r.types.thisExpression()]);jt?tn.push(mn):dn.push(mn)}}}if(Wt.length>0){let ot=Ve.get("body.body"),Ze;for(let bt=ot.length-1;bt>=0;bt--){let gt=ot[bt],_t=gt.node;if(_t.computed){if(Ge&&r.types.isClassProperty(_t,{static:!0}))continue;Ze=gt;break}}Ze!=null&&((function(bt,gt){let _t=gt.get("key"),It=u(_t);if(It.isConstantExpression())y(bt,gt);else{let Be=_t.scope.parent,Et=(0,i.memoiseComputedKey)(It.node,Be,Be.generateUid("computedKey"));if(Et){let Nt=[...bt,r.types.cloneNode(Et.left)],jt=It.parentPath;jt.isSequenceExpression()?jt.pushContainer("expressions",Nt):It.replaceWith(ie([r.types.cloneNode(Et),...Nt]))}else y(bt,gt)}})(Wt,Ze),Wt=[])}if(dn.length>0){let ot=!!Ve.node.superClass;Dt?ot?(function(Ze,bt,gt){bt.traverse({CallExpression:{exit(_t){if(!_t.get("callee").isSuper())return;let It=[_t.node,...Ze.map(Be=>r.types.cloneNode(Be))];_t.isCompletionRecord()&&It.push(r.types.thisExpression()),_t.replaceWith((function(Be,Et){if(Et){if(Be.length>=2&&b(Be[1],Et)){let Nt=r.types.callExpression(r.types.cloneNode(Et),[Be[0]]);Be.splice(0,2,Nt)}Be.length>=2&&r.types.isThisExpression(Be[Be.length-1])&&b(Be[Be.length-2],Et)&&Be.splice(Be.length-1,1)}return ie(Be)})(It,gt)),_t.skip()}},ClassMethod(_t){_t.node.kind==="constructor"&&_t.skip()}})})(dn,Dt,Qe):(function(Ze,bt){bt.node.body.body.unshift(r.types.expressionStatement(ie(Ze)))})(dn,Dt):Ve.node.body.body.unshift(C(dn,ot)),dn=[]}tn.length>0&&(Ve.node.body.body.push(N(tn)),tn=[]);let Fn=(fn=Ft,[...fn.filter(ot=>ot.isStatic&&ot.kind>=K&&ot.kind<=O),...fn.filter(ot=>!ot.isStatic&&ot.kind>=K&&ot.kind<=O),...fn.filter(ot=>ot.isStatic&&ot.kind===F),...fn.filter(ot=>!ot.isStatic&&ot.kind===F)]),Rn=(function(ot,Ze){return r.types.arrayExpression(ot.map(bt=>{let gt=bt.kind;return bt.isStatic&&(gt+=Ze==="2023-11"||Ze==="2023-05"?te:z),bt.decoratorsHaveThis&&(gt+=$),r.types.arrayExpression([bt.decoratorsArray,r.types.numericLiteral(gt),bt.name,...bt.privateMethods||[]])}))})(et==="2023-11"?Ft:Fn,et),Jn=(function(ot){let Ze=[];for(let bt of ot){let{locals:gt}=bt;Array.isArray(gt)?Ze.push(...gt):gt!==void 0&&Ze.push(gt)}return Ze})(Fn);var fn;Qe&&Jn.push(Qe),lt&&Jn.push(lt);let Zn=[],Nn=!1,Vn=At&&r.types.callExpression(r.types.cloneNode(At),[]),$n=Ve,On=Ve.node,Wn=[];if(Ge){Zn.push(Qt,At);let ot=[];if(Ve.get("body.body").forEach(Ze=>{if(Ze.isStaticBlock()){if(de(Ze,St)){let gt=it((bt=Ze.node,r.types.functionExpression(null,[],r.types.blockStatement(bt.body))),"staticBlock",Wn);tn.push(r.types.callExpression(r.types.memberExpression(gt,r.types.identifier("call")),[r.types.thisExpression()]))}else tn.push((function(gt){return r.types.callExpression(r.types.arrowFunctionExpression([],r.types.blockStatement(gt.body)),[])})(Ze.node));Ze.remove()}else{var bt;if((Ze.isClassProperty()||Ze.isClassPrivateProperty())&&Ze.node.static){let gt=Ze.get("value");if(de(gt,St)){let _t=it((function(It){return r.types.functionExpression(null,[],r.types.blockStatement([r.types.returnStatement(It)]))})(gt.node),"fieldValue",Wn);gt.replaceWith(r.types.callExpression(r.types.memberExpression(_t,r.types.identifier("call")),[r.types.thisExpression()]))}tn.length>0&&(P(tn,Ze),tn=[]),Ze.node.static=!1,ot.push(Ze.node),Ze.remove()}else if(Ze.isClassPrivateMethod({static:!0})){if(de(Ze,St)){new l.default({constantSuper:ae,methodPath:Ze,objectRef:Qt,superRef:Ve.node.superClass,file:Ne.file,refToPreserve:Qt}).replace();let gt=it(M(Ze.node),Ze.get("key.id").node.name,Wn);_e?(Ze.node.params=[r.types.restElement(r.types.identifier("arg"))],Ze.node.body=r.types.blockStatement([r.types.returnStatement(r.types.callExpression(r.types.memberExpression(gt,r.types.identifier("apply")),[r.types.thisExpression(),r.types.identifier("arg")]))])):(Ze.node.params=Ze.node.params.map((_t,It)=>r.types.isRestElement(_t)?r.types.restElement(r.types.identifier("arg")):r.types.identifier("_"+It)),Ze.node.body=r.types.blockStatement([r.types.returnStatement(r.types.callExpression(r.types.memberExpression(gt,r.types.identifier("apply")),[r.types.thisExpression(),r.types.identifier("arguments")]))]))}Ze.node.static=!1,ot.push(Ze.node),Ze.remove()}}}),ot.length>0||tn.length>0){let Ze=r.template.expression.ast`
|
|
152
|
-
class extends ${Ne.addHelper("identity")} {}
|
|
153
|
-
`;Ze.body.body=[r.types.classProperty(r.types.toExpression(On),void 0,void 0,void 0,!0,!0),...ot];let bt=[],gt=r.types.newExpression(Ze,[]);tn.length>0&&bt.push(...tn),Vn&&(Nn=!0,bt.push(Vn)),bt.length>0?(bt.unshift(r.types.callExpression(r.types.super(),[r.types.cloneNode(Qt)])),Ze.body.body.push(C(bt,!1))):gt.arguments.push(r.types.cloneNode(Qt));let[_t]=Ve.replaceWith(gt);$n=_t.get("callee").get("body").get("body.0.key")}}!Nn&&Vn&&Ve.node.body.body.push(r.types.staticBlock([r.types.expressionStatement(Vn)]));let{superClass:kn}=On;if(kn&&(et==="2023-11"||et==="2023-05")){let ot=Ve.scope.maybeGenerateMemoised(kn);ot&&(On.superClass=r.types.assignmentExpression("=",ot,kn),kn=ot)}let xn=r.types.staticBlock([]);On.body.body.unshift(xn);let yt=xn.body;if(Wt.length>0){let ot=$n.get("body.body"),Ze;for(let bt of ot)if((bt.isClassProperty()||bt.isClassMethod())&&bt.node.kind!=="constructor"){Ze=bt;break}Ze!=null?((function(bt){let{node:gt}=bt;gt.computed=!0,r.types.isIdentifier(gt.key)&&(gt.key=r.types.stringLiteral(gt.key.name))})(Ze),y(Wt,Ze)):(On.body.body.unshift(r.types.classProperty(r.types.sequenceExpression([...Wt,r.types.stringLiteral("_")]),void 0,void 0,void 0,!0,!0)),yt.push(r.types.expressionStatement(r.types.unaryExpression("delete",r.types.memberExpression(r.types.thisExpression(),r.types.identifier("_")))))),Wt=[]}if(yt.push(r.types.expressionStatement((function(ot,Ze,bt,gt,_t,It,Be,Et,Nt,jt){let Yt,Lt,vt=[Be?B(Nt,Be):r.types.thisExpression(),gt,bt];return jt!=="2023-11"&&vt.splice(1,2,bt,gt),jt==="2021-12"||jt==="2022-03"&&!Nt.availableHelper("applyDecs2203R")?(Yt=r.types.arrayPattern([...ot,...Ze]),Lt=r.types.callExpression(Nt.addHelper(jt==="2021-12"?"applyDecs":"applyDecs2203"),vt),r.types.assignmentExpression("=",Yt,Lt)):(jt==="2022-03"?Lt=r.types.callExpression(Nt.addHelper("applyDecs2203R"),vt):jt==="2023-01"?(It&&vt.push(U(It)),Lt=r.types.callExpression(Nt.addHelper("applyDecs2301"),vt)):jt==="2023-05"&&((It||Et||_t.value!==0)&&vt.push(_t),It?vt.push(U(It)):Et&&vt.push(r.types.unaryExpression("void",r.types.numericLiteral(0))),Et&&vt.push(Et),Lt=r.types.callExpression(Nt.addHelper("applyDecs2305"),vt)),jt==="2023-11"&&((It||Et||_t.value!==0)&&vt.push(_t),It?vt.push(U(It)):Et&&vt.push(r.types.unaryExpression("void",r.types.numericLiteral(0))),Et&&vt.push(Et),Lt=r.types.callExpression(Nt.addHelper("applyDecs2311"),vt)),ot.length>0?Ze.length>0?Yt=r.types.objectPattern([r.types.objectProperty(r.types.identifier("e"),r.types.arrayPattern(ot)),r.types.objectProperty(r.types.identifier("c"),r.types.arrayPattern(Ze))]):(Yt=r.types.arrayPattern(ot),Lt=r.types.memberExpression(Lt,r.types.identifier("e"),!1,!1)):(Yt=r.types.arrayPattern(Ze),Lt=r.types.memberExpression(Lt,r.types.identifier("c"),!1,!1)),r.types.assignmentExpression("=",Yt,Lt))})(Jn,Zn,Rn,pn??r.types.arrayExpression(_n),r.types.numericLiteral(gn),Zt?Dn:null,Ye,r.types.cloneNode(kn),Ne,et))),lt&&yt.push(r.types.expressionStatement(r.types.callExpression(r.types.cloneNode(lt),[r.types.thisExpression()]))),Wn.length>0&&yt.push(...Wn.map(ot=>r.types.expressionStatement(ot))),Ve.insertBefore(xe.map(ot=>r.types.expressionStatement(ot))),kt)if(ze.getBinding(Qt.name).constantViolations.length){let ot=ze.generateUidIdentifier("t"+Qt.name),Ze=Qt;Ve.replaceWithMultiple([r.types.variableDeclaration("let",[r.types.variableDeclarator(r.types.cloneNode(Ze)),r.types.variableDeclarator(ot)]),r.types.blockStatement([r.types.variableDeclaration("let",[r.types.variableDeclarator(r.types.cloneNode(Qt))]),Ve.node,r.types.expressionStatement(r.types.assignmentExpression("=",r.types.cloneNode(ot),r.types.cloneNode(Qt)))]),r.types.expressionStatement(r.types.assignmentExpression("=",r.types.cloneNode(Ze),r.types.cloneNode(ot)))])}else Ve.insertBefore(r.types.variableDeclaration("let",[r.types.variableDeclarator(r.types.cloneNode(Qt))]));return Jt.size>0&&(function(ot,Ze){let bt=(0,t.privateNameVisitorFactory)({PrivateName(_t,It){if(!It.privateNamesMap.has(_t.node.id.name))return;let Be=_t.parentPath,Et=Be.parentPath;if(Et.node.type==="AssignmentExpression"&&Et.node.left===Be.node||Et.node.type==="UpdateExpression"||Et.node.type==="RestElement"||Et.node.type==="ArrayPattern"||Et.node.type==="ObjectProperty"&&Et.node.value===Be.node&&Et.parentPath.type==="ObjectPattern"||Et.node.type==="ForOfStatement"&&Et.node.left===Be.node)throw _t.buildCodeFrameError(`Decorated private methods are read-only, but "#${_t.node.id.name}" is updated via this expression.`)}}),gt=new Map;for(let _t of Ze)gt.set(_t,null);ot.traverse(bt,{privateNamesMap:gt})})(Ve,Jt),Ve.scope.crawl(),Ve})(Re,at,Pe,ke,ut,Oe,pe);rt?Fe.add(rt):Fe.add(Re)}return{name:"proposal-decorators",inherits:j,visitor:Object.assign({ExportDefaultDeclaration(Re,at){let{declaration:ut}=Re.node;if(ut?.type==="ClassDeclaration"&&ye(ut)){let pt=!ut.id;Re.splitExportDeclaration!=null||(Re.splitExportDeclaration=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration);let qe=Re.splitExportDeclaration();pt&&We(qe,at,r.types.stringLiteral("default"))}},ExportNamedDeclaration(Re){let{declaration:at}=Re.node;at?.type==="ClassDeclaration"&&ye(at)&&(Re.splitExportDeclaration!=null||(Re.splitExportDeclaration=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration),Re.splitExportDeclaration())},Class(Re,at){We(Re,at,void 0)}},Oe)}},e.hasDecorators=function(H){return c(H)||H.body.body.some(c)},e.hasOwnDecorators=c;var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),l=E("./node_modules/.pnpm/@babel+helper-replace-supers@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-replace-supers/lib/index.js"),d=E("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.27.1/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js"),t=E("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js"),i=E("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js");function c(H){var me;return!((me=H.decorators)==null||!me.length)}function v(H,me=H.length-1){if(me===-1)return void H.unshift(65);let Se=H[me];Se===90?H[me]=97:Se===122?(H[me]=65,v(H,me-1)):H[me]=Se+1}function T(H,me,Se){return H.type==="PrivateName"?r.types.classPrivateProperty(H,me,void 0,Se):r.types.classProperty(H,me,void 0,void 0,Se)}function g(H,me){H.node.id||(H.node.id=typeof me=="string"?r.types.identifier(me):H.scope.generateUidIdentifier("Class"))}function p(H,me,Se,pe,j,Te,De,Fe){let Pe=Fe!=="2023-11"&&Fe!=="2023-05"||!De?r.types.thisExpression():H,ke=r.types.blockStatement([r.types.returnStatement(r.types.memberExpression(r.types.cloneNode(Pe),r.types.cloneNode(j)))]),Oe=r.types.blockStatement([r.types.expressionStatement(r.types.assignmentExpression("=",r.types.memberExpression(r.types.cloneNode(Pe),r.types.cloneNode(j)),r.types.identifier("v")))]),We,Re;Se.type==="PrivateName"?(We=r.types.classPrivateMethod("get",Se,[],ke,De),Re=r.types.classPrivateMethod("set",pe,[r.types.identifier("v")],Oe,De)):(We=r.types.classMethod("get",Se,[],ke,Te,De),Re=r.types.classMethod("set",pe,[r.types.identifier("v")],Oe,Te,De)),me.insertAfter(Re),me.insertAfter(We)}function h(H,me){return me!=="2023-11"&&me!=="2023-05"&&me!=="2023-01"?[r.template.expression.ast`
|
|
154
|
-
function () {
|
|
155
|
-
return this.${r.types.cloneNode(H)};
|
|
156
|
-
}
|
|
157
|
-
`,r.template.expression.ast`
|
|
158
|
-
function (value) {
|
|
159
|
-
this.${r.types.cloneNode(H)} = value;
|
|
160
|
-
}
|
|
161
|
-
`]:[r.template.expression.ast`
|
|
162
|
-
o => o.${r.types.cloneNode(H)}
|
|
163
|
-
`,r.template.expression.ast`
|
|
164
|
-
(o, v) => o.${r.types.cloneNode(H)} = v
|
|
165
|
-
`]}function u(H){if((H=(0,d.skipTransparentExprWrappers)(H)).isSequenceExpression()){let me=H.get("expressions");return u(me[me.length-1])}return H}function f(H){let me=u(H);if(me.isConstantExpression()||me.isIdentifier()&&H.scope.hasUid(me.node.name))return r.types.cloneNode(H.node);if(me.isAssignmentExpression()&&me.get("left").isIdentifier())return r.types.cloneNode(me.node.left);throw new Error(`Internal Error: the computed key ${H.toString()} has not yet been memoised.`)}function y(H,me){let Se=me.get("key");Se.isSequenceExpression()?H.push(...Se.node.expressions):H.push(Se.node),Se.replaceWith(ie(H))}function P(H,me){let Se=me.get("value");Se.node?H.push(Se.node):H.length>0&&(H[H.length-1]=r.types.unaryExpression("void",H[H.length-1])),Se.replaceWith(ie(H))}function S(H,me){me.unshiftContainer("body",r.types.expressionStatement(ie(H)))}function b(H,me){return r.types.isCallExpression(H)&&r.types.isIdentifier(H.callee,{name:me.name})}function C(H,me){let Se=[r.types.expressionStatement(ie(H))];return me&&Se.unshift(r.types.expressionStatement(r.types.callExpression(r.types.super(),[r.types.spreadElement(r.types.identifier("args"))]))),r.types.classMethod("constructor",r.types.identifier("constructor"),me?[r.types.restElement(r.types.identifier("args"))]:[],r.types.blockStatement(Se))}function N(H){return r.types.staticBlock([r.types.expressionStatement(ie(H))])}let F=0,K=1,L=2,w=3,O=4,z=5,te=8,$=16;function D(H){switch(H.node.type){case"ClassProperty":case"ClassPrivateProperty":return F;case"ClassAccessorProperty":return K;case"ClassMethod":case"ClassPrivateMethod":return H.node.kind==="get"?w:H.node.kind==="set"?O:L}}function W(H,me,Se){let pe=H.length,j=me.some(Boolean),Te=[];for(let De=0;De<pe;De++)Se!=="2023-11"&&Se!=="2023-05"||!j||Te.push(me[De]||r.types.unaryExpression("void",r.types.numericLiteral(0))),Te.push(H[De].expression);return{haveThis:j,decs:Te}}function q(H,me,Se,pe,j,Te){me.insertAfter(r.types.classPrivateMethod("get",r.types.cloneNode(Se),[],r.types.blockStatement([r.types.returnStatement(r.types.callExpression(r.types.cloneNode(pe),H==="2023-11"&&Te?[]:[r.types.thisExpression()]))]),Te)),me.insertAfter(r.types.classPrivateMethod("set",r.types.cloneNode(Se),[r.types.identifier("v")],r.types.blockStatement([r.types.expressionStatement(r.types.callExpression(r.types.cloneNode(j),H==="2023-11"&&Te?[r.types.identifier("v")]:[r.types.thisExpression(),r.types.identifier("v")]))]),Te))}function re(H,me,Se,pe){let j,Te;H.node.kind==="set"?(j=[r.types.identifier("v")],Te=[r.types.expressionStatement(r.types.callExpression(Se,[r.types.thisExpression(),r.types.identifier("v")]))]):(j=[],Te=[r.types.returnStatement(r.types.callExpression(Se,[r.types.thisExpression()]))]),H.replaceWith(r.types.classPrivateMethod(H.node.kind,r.types.cloneNode(me),j,r.types.blockStatement(Te),pe))}function le(H){let{type:me}=H;return me!=="TSDeclareMethod"&&me!=="TSIndexSignature"&&me!=="StaticBlock"}function ie(H){return H.length===0?r.types.unaryExpression("void",r.types.numericLiteral(0)):H.length===1?H[0]:r.types.sequenceExpression(H)}function M(H){let{params:me,body:Se,generator:pe,async:j}=H;return r.types.functionExpression(void 0,me,Se,pe,j)}function B(H,me){return r.types.callExpression(H.addHelper("setFunctionName"),[r.types.thisExpression(),me])}function G(H,me){return r.types.callExpression(H.addHelper("toPropertyKey"),[me])}function U(H){return r.types.arrowFunctionExpression([r.types.identifier("_")],r.types.binaryExpression("in",r.types.cloneNode(H),r.types.identifier("_")))}function Q(H){try{return r.types.traverseFast(H,me=>{if(r.types.isPrivateName(me))throw null}),!1}catch{return!0}}function de(H,me){let Se=!1;if(me.length>0){let pe=(0,t.privateNameVisitorFactory)({PrivateName(Te,De){De.privateNamesMap.has(Te.node.id.name)&&(Se=!0,Te.stop())}}),j=new Map;for(let Te of me)j.set(Te,null);H.traverse(pe,{privateNamesMap:j})}return Se}function se(H){return H.type==="Identifier"?H.name==="__proto__":H.value==="__proto__"}function ye(H){return H.decorators&&H.decorators.length>0}function we(H){switch(H.type){case"ClassAccessorProperty":return!0;case"ClassMethod":case"ClassProperty":case"ClassPrivateMethod":case"ClassPrivateProperty":return ye(H);default:return!1}}function ve(H){return H.isClassExpression({id:null})&&(ye(me=H.node)||me.body.body.some(we));var me}function ce(H,me){let Se=H.generateUidIdentifier(me);return H.push({id:Se,kind:"let"}),r.types.cloneNode(Se)}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/features.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FEATURES=void 0,e.enableFeature=function(u,f,y){g(u,f)&&!v(u,f)||(u.set(t,u.get(t)|f),y==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"?(h(u,f,!0),u.set(c,u.get(c)|f)):y==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"?(h(u,f,!1),u.set(c,u.get(c)|f)):h(u,f,y));let P;for(let[b,C]of d){if(!g(u,b)||v(u,b))continue;let N=p(u,b);if(P===!N)throw new Error(`'loose' mode configuration must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled).
|
|
166
|
-
|
|
167
|
-
`+T(u));P=N;var S=C}if(P!==void 0)for(let[b,C]of d)g(u,b)&&p(u,b)!==P&&(h(u,b,P),console.warn(`Though the "loose" option was set to "${!P}" in your @babel/preset-env config, it will not be used for ${C} since the "loose" mode option was set to "${P}" for ${S}.
|
|
168
|
-
The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
|
|
169
|
-
["${C}", { "loose": ${P} }]
|
|
170
|
-
to the "plugins" section of your Babel config.
|
|
171
|
-
|
|
172
|
-
`+T(u)))},e.isLoose=p,e.shouldTransform=function(u,f){let y=null,P=null,S=null,b=null,C=null;(0,r.hasOwnDecorators)(u.node)&&(y=u.get("decorators.0"));for(let N of u.get("body.body"))!y&&(0,r.hasOwnDecorators)(N.node)&&(y=N.get("decorators.0")),!P&&N.isClassProperty()&&(P=N),!S&&N.isClassPrivateProperty()&&(S=N),!b&&N.isClassPrivateMethod!=null&&N.isClassPrivateMethod()&&(b=N),!C&&N.isStaticBlock!=null&&N.isStaticBlock()&&(C=N);if(y&&S)throw S.buildCodeFrameError("Private fields in decorated classes are not supported yet.");if(y&&b)throw b.buildCodeFrameError("Private methods in decorated classes are not supported yet.");if(y&&!g(f,l.decorators))throw u.buildCodeFrameError(`Decorators are not enabled.
|
|
173
|
-
If you are using ["@babel/plugin-proposal-decorators", { "version": "legacy" }], make sure it comes *before* "@babel/plugin-transform-class-properties" and enable loose mode, like so:
|
|
174
|
-
["@babel/plugin-proposal-decorators", { "version": "legacy" }]
|
|
175
|
-
["@babel/plugin-transform-class-properties", { "loose": true }]`);if(b&&!g(f,l.privateMethods))throw b.buildCodeFrameError("Class private methods are not enabled. Please add `@babel/plugin-transform-private-methods` to your configuration.");if((P||S)&&!g(f,l.fields)&&!g(f,l.privateMethods))throw u.buildCodeFrameError("Class fields are not enabled. Please add `@babel/plugin-transform-class-properties` to your configuration.");if(C&&!g(f,l.staticBlocks))throw u.buildCodeFrameError("Static class blocks are not enabled. Please add `@babel/plugin-transform-class-static-block` to your configuration.");return!!(y||b||C||(P||S)&&g(f,l.fields))};var r=E("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js");let l=e.FEATURES=Object.freeze({fields:2,privateMethods:4,decorators:8,privateIn:16,staticBlocks:32}),d=new Map([[l.fields,"@babel/plugin-transform-class-properties"],[l.privateMethods,"@babel/plugin-transform-private-methods"],[l.privateIn,"@babel/plugin-transform-private-property-in-object"]]),t="@babel/plugin-class-features/featuresKey",i="@babel/plugin-class-features/looseKey";var c="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing",v=function(u,f){return!!(u.get(c)&f)};function T(u){let{filename:f}=u.opts;return f&&f!=="unknown"||(f="[name of the input file]"),`If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options.
|
|
176
|
-
You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
|
|
177
|
-
npx cross-env BABEL_SHOW_CONFIG_FOR=${f} <your build command>
|
|
178
|
-
See https://babeljs.io/docs/configuration#print-effective-configs for more info.`}function g(u,f){return!!(u.get(t)&f)}function p(u,f){return!!(u.get(i)&f)}function h(u,f,y){y?u.set(i,u.get(i)|f):u.set(i,u.get(i)&~f),u.set(c,u.get(c)&~f)}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildCheckInRHS=f,e.buildFieldsInitNodes=function(U,Q,de,se,ye,we,ve,ce,H,me){let Se,pe=0,j=[],Te=[],De=!1,Fe=[],Pe=null,ke=r.types.isIdentifier(Q)?()=>Q:()=>(Se!=null||(Se=de[0].scope.generateUidIdentifierBasedOnNode(Q)),Se),Oe=U??de[0].scope.generateUidIdentifier(me?.name||"Class");U!=null||(U=r.types.cloneNode(me));for(let We of de){We.isClassProperty()&&T.assertFieldTransformed(We);let Re=!(r.types.isStaticBlock!=null&&r.types.isStaticBlock(We.node))&&We.node.static,at=!Re,ut=We.isPrivate(),pt=!ut,qe=We.isProperty(),rt=!qe,Ve=We.isStaticBlock==null?void 0:We.isStaticBlock();switch(Re&&(pe|=1),(Re||rt&&ut||Ve)&&(new d.default({methodPath:We,constantSuper:H,file:ye,refToPreserve:me,getSuperRef:ke,getObjectRef:()=>(pe|=2,Re||Ve?Oe:r.types.memberExpression(Oe,r.types.identifier("prototype")))}).replace(),ie(We,Oe,me)&&(pe|=2)),De=!1,!0){case Ve:{let Ne=We.node.body;Ne.length===1&&r.types.isExpressionStatement(Ne[0])?j.push(B(Ne[0],We)):j.push(r.types.inheritsComments(r.template.statement.ast`(() => { ${Ne} })()`,We.node));break}case(Re&&ut&&qe&&ve):j.push(K(r.types.cloneNode(U),We,se));break;case(Re&&ut&&qe&&!ve):g(ye)?j.push(w(We,se,ce)):j.push(O(We,se));break;case(Re&&pt&&qe&&we):if(!M(We.node)){j.push($(r.types.cloneNode(U),We));break}case(Re&&pt&&qe&&!we):j.push(D(r.types.cloneNode(U),We,ye));break;case(at&&ut&&qe&&ve):Te.push(K(r.types.thisExpression(),We,se));break;case(at&&ut&&qe&&!ve):Te.push(L(r.types.thisExpression(),We,se,ye));break;case(at&&ut&&rt&&ve):Te.unshift(z(r.types.thisExpression(),We,se)),Fe.push(q(ye,We,se,ve));break;case(at&&ut&&rt&&!ve):Te.unshift(te(r.types.thisExpression(),We,se,ye)),Fe.push(q(ye,We,se,ve));break;case(Re&&ut&&rt&&!ve):g(ye)||j.unshift(O(We,se)),Fe.push(q(ye,We,se,ve));break;case(Re&&ut&&rt&&ve):j.unshift(W(r.types.cloneNode(U),We,ye,se)),Fe.push(q(ye,We,se,ve));break;case(at&&pt&&qe&&we):Te.push($(r.types.thisExpression(),We));break;case(at&&pt&&qe&&!we):De=!0,Te.push(D(r.types.thisExpression(),We,ye));break;default:throw new Error("Unreachable.")}}return 2&pe&&me!=null&&(Pe=r.types.expressionStatement(r.types.assignmentExpression("=",r.types.cloneNode(Oe),r.types.cloneNode(me)))),{staticNodes:j.filter(Boolean),instanceNodes:Te.filter(Boolean),lastInstanceNodeReturnsThis:De,pureStaticNodes:Fe.filter(Boolean),classBindingNode:Pe,wrapClass(We){for(let Re of de)Re.node.leadingComments=null,Re.remove();return Se&&(We.scope.push({id:r.types.cloneNode(Se)}),We.set("superClass",r.types.assignmentExpression("=",Se,We.node.superClass))),pe!==0&&(We.isClassExpression()?(We.scope.push({id:U}),We.replaceWith(r.types.assignmentExpression("=",r.types.cloneNode(U),We.node))):(me==null&&(We.node.id=U),Pe!=null&&We.scope.push({id:Oe}))),We}}},e.buildPrivateNamesMap=function(U,Q,de,se){let ye=new Map,we;for(let ve of de)if(ve.isPrivate()){let{name:ce}=ve.node.key.id,H=ye.get(ce);if(!H){let me=!ve.isProperty(),Se=ve.node.static,pe,j=!1;!Q&&g(se)&&me&&!Se?(j=!!we,we!=null||(we=ve.scope.generateUidIdentifier(`${U}_brand`)),pe=we):pe=ve.scope.generateUidIdentifier(ce),H={id:pe,static:Se,method:me,initAdded:j},ye.set(ce,H)}if(ve.isClassPrivateMethod())if(ve.node.kind==="get"){let{body:me}=ve.node.body,Se;me.length===1&&r.types.isReturnStatement(Se=me[0])&&r.types.isCallExpression(Se=Se.argument)&&Se.arguments.length===1&&r.types.isThisExpression(Se.arguments[0])&&r.types.isIdentifier(Se=Se.callee)?(H.getId=r.types.cloneNode(Se),H.getterDeclared=!0):H.getId=ve.scope.generateUidIdentifier(`get_${ce}`)}else if(ve.node.kind==="set"){let{params:me}=ve.node,{body:Se}=ve.node.body,pe;Se.length===1&&r.types.isExpressionStatement(pe=Se[0])&&r.types.isCallExpression(pe=pe.expression)&&pe.arguments.length===2&&r.types.isThisExpression(pe.arguments[0])&&r.types.isIdentifier(pe.arguments[1],{name:me[0].name})&&r.types.isIdentifier(pe=pe.callee)?(H.setId=r.types.cloneNode(pe),H.setterDeclared=!0):H.setId=ve.scope.generateUidIdentifier(`set_${ce}`)}else ve.node.kind==="method"&&(H.methodId=ve.scope.generateUidIdentifier(ce));ye.set(ce,H)}return ye},e.buildPrivateNamesNodes=function(U,Q,de,se){let ye=[],we=new Set;for(let[ve,ce]of U){let{static:H,method:me,getId:Se,setId:pe}=ce,j=Se||pe,Te=r.types.cloneNode(ce.id),De;if(Q)De=r.types.callExpression(se.addHelper("classPrivateFieldLooseKey"),[r.types.stringLiteral(ve)]);else if(de)De=r.types.callExpression(r.types.identifier("Symbol"),[r.types.stringLiteral(ve)]);else if(!H){if(we.has(Te.name))continue;we.add(Te.name),De=r.types.newExpression(r.types.identifier(!me||j&&!g(se)?"WeakMap":"WeakSet"),[])}De&&(de||(0,c.default)(De),ye.push(r.template.statement.ast`var ${Te} = ${De}`))}return ye},e.privateNameVisitorFactory=p,e.transformPrivateNamesUsage=function(U,Q,de,{privateFieldsAsProperties:se,noUninitializedPrivateFieldAccess:ye,noDocumentAll:we,innerBinding:ve},ce){if(!de.size)return;let H=Q.get("body"),me=se?F:N;(0,t.default)(H,h,Object.assign({privateNamesMap:de,classRef:U,file:ce},me,{noDocumentAll:we,noUninitializedPrivateFieldAccess:ye,innerBinding:ve})),H.traverse(y,{privateNamesMap:de,classRef:U,file:ce,privateFieldsAsProperties:se,innerBinding:ve})};var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),l=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js"),d=E("./node_modules/.pnpm/@babel+helper-replace-supers@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-replace-supers/lib/index.js"),t=E("./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.27.1/node_modules/@babel/helper-member-expression-to-functions/lib/index.js"),i=E("./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.27.1/node_modules/@babel/helper-optimise-call-expression/lib/index.js"),c=E("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.27.3/node_modules/@babel/helper-annotate-as-pure/lib/index.js"),v=E("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.27.1/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js"),T=E("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js"),g=U=>U.availableHelper("classPrivateFieldGet2");function p(U){let Q=l.visitors.environmentVisitor(Object.assign({},U)),de=Object.assign({},U,{Class(se){let{privateNamesMap:ye}=this,we=se.get("body.body"),ve=new Map(ye),ce=[];for(let H of we){if(!H.isPrivate())continue;let{name:me}=H.node.key.id;ve.delete(me),ce.push(me)}ce.length&&(se.get("body").traverse(Q,Object.assign({},this,{redeclared:ce})),se.traverse(de,Object.assign({},this,{privateNamesMap:ve})),se.skipKey("body"))}});return de}let h=p({PrivateName(U,{noDocumentAll:Q}){let{privateNamesMap:de,redeclared:se}=this,{node:ye,parentPath:we}=U;if(!we.isMemberExpression({property:ye})&&!we.isOptionalMemberExpression({property:ye}))return;let{name:ve}=ye.id;de.has(ve)&&(se!=null&&se.includes(ve)||this.handle(we,Q))}});function u(U,Q,de){for(;(se=Q)!=null&&se.hasBinding(U)&&!Q.bindingIdentifierEquals(U,de);){var se;Q.rename(U),Q=Q.parent}}function f(U,Q,de){return de||Q.availableHelper==null||!Q.availableHelper("checkInRHS")?U:r.types.callExpression(Q.addHelper("checkInRHS"),[U])}let y=p({BinaryExpression(U,{file:Q}){let{operator:de,left:se,right:ye}=U.node;if(de!=="in"||!r.types.isPrivateName(se))return;let{privateFieldsAsProperties:we,privateNamesMap:ve,redeclared:ce}=this,{name:H}=se.id;if(!ve.has(H)||ce!=null&&ce.includes(H))return;if(u(this.classRef.name,U.scope,this.innerBinding),we){let{id:pe}=ve.get(H);return void U.replaceWith(r.template.expression.ast`
|
|
179
|
-
Object.prototype.hasOwnProperty.call(${f(ye,Q)}, ${r.types.cloneNode(pe)})
|
|
180
|
-
`)}let{id:me,static:Se}=ve.get(H);Se?U.replaceWith(r.template.expression.ast`${f(ye,Q)} === ${r.types.cloneNode(this.classRef)}`):U.replaceWith(r.template.expression.ast`${r.types.cloneNode(me)}.has(${f(ye,Q)})`)}});function P(U,Q){return r.types.callExpression(U.addHelper("readOnlyError"),[r.types.stringLiteral(`#${Q}`)])}function S(U,Q){return U.availableHelper("writeOnlyError")?r.types.callExpression(U.addHelper("writeOnlyError"),[r.types.stringLiteral(`#${Q}`)]):(console.warn("@babel/helpers is outdated, update it to silence this warning."),r.types.buildUndefinedNode())}function b(U,Q){return Q?U:r.types.memberExpression(U,r.types.identifier("_"))}function C(U){return function(Q){return r.types.inherits(U.apply(this,arguments),Q.node)}}let N={memoise(U,Q){let{scope:de}=U,{object:se}=U.node,ye=de.maybeGenerateMemoised(se);ye&&this.memoiser.set(se,ye,Q)},receiver(U){let{object:Q}=U.node;return this.memoiser.has(Q)?r.types.cloneNode(this.memoiser.get(Q)):r.types.cloneNode(Q)},get:C(function(U){let{classRef:Q,privateNamesMap:de,file:se,innerBinding:ye,noUninitializedPrivateFieldAccess:we}=this,ve=U.node.property,{name:ce}=ve.id,{id:H,static:me,method:Se,methodId:pe,getId:j,setId:Te}=de.get(ce),De=j||Te,Fe=Pe=>r.types.inherits(r.types.cloneNode(Pe),ve);if(me){if(u(Q.name,U.scope,ye),!g(se)){let Oe=Se&&!De?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return r.types.callExpression(se.addHelper(Oe),[this.receiver(U),r.types.cloneNode(Q),Fe(H)])}let Pe=this.receiver(U),ke=r.types.isIdentifier(Pe)&&Pe.name===Q.name;if(!Se)return b(ke?Fe(H):r.types.callExpression(se.addHelper("assertClassBrand"),[r.types.cloneNode(Q),Pe,Fe(H)]),we);if(j)return ke?r.types.callExpression(Fe(j),[Pe]):r.types.callExpression(se.addHelper("classPrivateGetter"),[r.types.cloneNode(Q),Pe,Fe(j)]);if(Te){let Oe=r.types.buildUndefinedNode();return ke?Oe:r.types.sequenceExpression([r.types.callExpression(se.addHelper("assertClassBrand"),[r.types.cloneNode(Q),Pe]),Oe])}return ke?Fe(H):r.types.callExpression(se.addHelper("assertClassBrand"),[r.types.cloneNode(Q),Pe,Fe(H)])}return Se?De?j?g(se)?r.types.callExpression(se.addHelper("classPrivateGetter"),[r.types.cloneNode(H),this.receiver(U),Fe(j)]):r.types.callExpression(se.addHelper("classPrivateFieldGet"),[this.receiver(U),Fe(H)]):r.types.sequenceExpression([this.receiver(U),S(se,ce)]):g(se)?r.types.callExpression(se.addHelper("assertClassBrand"),[r.types.cloneNode(H),this.receiver(U),Fe(pe)]):r.types.callExpression(se.addHelper("classPrivateMethodGet"),[this.receiver(U),r.types.cloneNode(H),Fe(pe)]):g(se)?r.types.callExpression(se.addHelper("classPrivateFieldGet2"),[Fe(H),this.receiver(U)]):r.types.callExpression(se.addHelper("classPrivateFieldGet"),[this.receiver(U),Fe(H)])}),boundGet(U){return this.memoise(U,1),r.types.callExpression(r.types.memberExpression(this.get(U),r.types.identifier("bind")),[this.receiver(U)])},set:C(function(U,Q){let{classRef:de,privateNamesMap:se,file:ye,noUninitializedPrivateFieldAccess:we}=this,ve=U.node.property,{name:ce}=ve.id,{id:H,static:me,method:Se,setId:pe,getId:j}=se.get(ce),Te=j||pe,De=Fe=>r.types.inherits(r.types.cloneNode(Fe),ve);if(me){if(!g(ye)){let ke=Se&&!Te?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return r.types.callExpression(ye.addHelper(ke),[this.receiver(U),r.types.cloneNode(de),De(H),Q])}let Fe=this.receiver(U),Pe=r.types.isIdentifier(Fe)&&Fe.name===de.name;if(Se&&!pe){let ke=P(ye,ce);return Pe?r.types.sequenceExpression([Q,ke]):r.types.sequenceExpression([Q,r.types.callExpression(ye.addHelper("assertClassBrand"),[r.types.cloneNode(de),Fe]),P(ye,ce)])}return pe?Pe?r.types.callExpression(r.types.cloneNode(pe),[Fe,Q]):r.types.callExpression(ye.addHelper("classPrivateSetter"),[r.types.cloneNode(de),De(pe),Fe,Q]):r.types.assignmentExpression("=",b(De(H),we),Pe?Q:r.types.callExpression(ye.addHelper("assertClassBrand"),[r.types.cloneNode(de),Fe,Q]))}return Se?pe?g(ye)?r.types.callExpression(ye.addHelper("classPrivateSetter"),[r.types.cloneNode(H),De(pe),this.receiver(U),Q]):r.types.callExpression(ye.addHelper("classPrivateFieldSet"),[this.receiver(U),De(H),Q]):r.types.sequenceExpression([this.receiver(U),Q,P(ye,ce)]):g(ye)?r.types.callExpression(ye.addHelper("classPrivateFieldSet2"),[De(H),this.receiver(U),Q]):r.types.callExpression(ye.addHelper("classPrivateFieldSet"),[this.receiver(U),De(H),Q])}),destructureSet(U){let{classRef:Q,privateNamesMap:de,file:se,noUninitializedPrivateFieldAccess:ye}=this,we=U.node.property,{name:ve}=we.id,{id:ce,static:H,method:me,setId:Se}=de.get(ve),pe=Fe=>r.types.inherits(r.types.cloneNode(Fe),we);if(!g(se)){if(H){try{var j=se.addHelper("classStaticPrivateFieldDestructureSet")}catch{throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \nplease update @babel/helpers to the latest version.")}return r.types.memberExpression(r.types.callExpression(j,[this.receiver(U),r.types.cloneNode(Q),pe(ce)]),r.types.identifier("value"))}return r.types.memberExpression(r.types.callExpression(se.addHelper("classPrivateFieldDestructureSet"),[this.receiver(U),pe(ce)]),r.types.identifier("value"))}if(me&&!Se)return r.types.memberExpression(r.types.sequenceExpression([U.node.object,P(se,ve)]),r.types.identifier("_"));if(H&&!me){let Fe=this.get(U);if(!ye||!r.types.isCallExpression(Fe))return Fe;let Pe=Fe.arguments.pop();return Fe.arguments.push(r.template.expression.ast`(_) => ${Pe} = _`),r.types.memberExpression(r.types.callExpression(se.addHelper("toSetter"),[Fe]),r.types.identifier("_"))}let Te=this.set(U,r.types.identifier("_"));if(!r.types.isCallExpression(Te)||!r.types.isIdentifier(Te.arguments[Te.arguments.length-1],{name:"_"}))throw U.buildCodeFrameError("Internal Babel error while compiling this code. This is a Babel bug. Please report it at https://github.com/babel/babel/issues.");let De;return De=r.types.isMemberExpression(Te.callee,{computed:!1})&&r.types.isIdentifier(Te.callee.property)&&Te.callee.property.name==="call"?[Te.callee.object,r.types.arrayExpression(Te.arguments.slice(1,-1)),Te.arguments[0]]:[Te.callee,r.types.arrayExpression(Te.arguments.slice(0,-1))],r.types.memberExpression(r.types.callExpression(se.addHelper("toSetter"),De),r.types.identifier("_"))},call(U,Q){return this.memoise(U,1),(0,i.default)(this.get(U),this.receiver(U),Q,!1)},optionalCall(U,Q){return this.memoise(U,1),(0,i.default)(this.get(U),this.receiver(U),Q,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}},F={get(U){let{privateNamesMap:Q,file:de}=this,{object:se}=U.node,{name:ye}=U.node.property.id;return r.template.expression`BASE(REF, PROP)[PROP]`({BASE:de.addHelper("classPrivateFieldLooseBase"),REF:r.types.cloneNode(se),PROP:r.types.cloneNode(Q.get(ye).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(U){return r.types.callExpression(r.types.memberExpression(this.get(U),r.types.identifier("bind")),[r.types.cloneNode(U.node.object)])},simpleSet(U){return this.get(U)},destructureSet(U){return this.get(U)},call(U,Q){return r.types.callExpression(this.get(U),Q)},optionalCall(U,Q){return r.types.optionalCallExpression(this.get(U),Q,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};function K(U,Q,de){let{id:se}=de.get(Q.node.key.id.name),ye=Q.node.value||Q.scope.buildUndefinedNode();return B(r.template.statement.ast`
|
|
181
|
-
Object.defineProperty(${U}, ${r.types.cloneNode(se)}, {
|
|
182
|
-
// configurable is false by default
|
|
183
|
-
// enumerable is false by default
|
|
184
|
-
writable: true,
|
|
185
|
-
value: ${ye}
|
|
186
|
-
});
|
|
187
|
-
`,Q)}function L(U,Q,de,se){let{id:ye}=de.get(Q.node.key.id.name),we=Q.node.value||Q.scope.buildUndefinedNode();if(!se.availableHelper("classPrivateFieldInitSpec"))return B(r.template.statement.ast`${r.types.cloneNode(ye)}.set(${U}, {
|
|
188
|
-
// configurable is always false for private elements
|
|
189
|
-
// enumerable is always false for private elements
|
|
190
|
-
writable: true,
|
|
191
|
-
value: ${we},
|
|
192
|
-
})`,Q);let ve=se.addHelper("classPrivateFieldInitSpec");return G(B(r.types.expressionStatement(r.types.callExpression(ve,[r.types.thisExpression(),G(r.types.cloneNode(ye),Q.node.key),g(se)?we:r.template.expression.ast`{ writable: true, value: ${we} }`])),Q),Q.node)}function w(U,Q,de){let se=Q.get(U.node.key.id.name),ye=de?U.node.value:r.template.expression.ast`{
|
|
193
|
-
_: ${U.node.value||r.types.buildUndefinedNode()}
|
|
194
|
-
}`;return B(r.types.variableDeclaration("var",[r.types.variableDeclarator(r.types.cloneNode(se.id),ye)]),U)}var O=function(U,Q){let de=Q.get(U.node.key.id.name),{id:se,getId:ye,setId:we,initAdded:ve}=de,ce=ye||we;if(!U.isProperty()&&(ve||!ce))return;if(ce)return Q.set(U.node.key.id.name,Object.assign({},de,{initAdded:!0})),B(r.template.statement.ast`
|
|
195
|
-
var ${r.types.cloneNode(se)} = {
|
|
196
|
-
// configurable is false by default
|
|
197
|
-
// enumerable is false by default
|
|
198
|
-
// writable is false by default
|
|
199
|
-
get: ${ye?ye.name:U.scope.buildUndefinedNode()},
|
|
200
|
-
set: ${we?we.name:U.scope.buildUndefinedNode()}
|
|
201
|
-
}
|
|
202
|
-
`,U);let H=U.node.value||U.scope.buildUndefinedNode();return B(r.template.statement.ast`
|
|
203
|
-
var ${r.types.cloneNode(se)} = {
|
|
204
|
-
// configurable is false by default
|
|
205
|
-
// enumerable is false by default
|
|
206
|
-
writable: true,
|
|
207
|
-
value: ${H}
|
|
208
|
-
};
|
|
209
|
-
`,U)};function z(U,Q,de){let se=de.get(Q.node.key.id.name),{methodId:ye,id:we,getId:ve,setId:ce,initAdded:H}=se;if(!H)return ye?B(r.template.statement.ast`
|
|
210
|
-
Object.defineProperty(${U}, ${we}, {
|
|
211
|
-
// configurable is false by default
|
|
212
|
-
// enumerable is false by default
|
|
213
|
-
// writable is false by default
|
|
214
|
-
value: ${ye.name}
|
|
215
|
-
});
|
|
216
|
-
`,Q):ve||ce?(de.set(Q.node.key.id.name,Object.assign({},se,{initAdded:!0})),B(r.template.statement.ast`
|
|
217
|
-
Object.defineProperty(${U}, ${we}, {
|
|
218
|
-
// configurable is false by default
|
|
219
|
-
// enumerable is false by default
|
|
220
|
-
// writable is false by default
|
|
221
|
-
get: ${ve?ve.name:Q.scope.buildUndefinedNode()},
|
|
222
|
-
set: ${ce?ce.name:Q.scope.buildUndefinedNode()}
|
|
223
|
-
});
|
|
224
|
-
`,Q)):void 0}function te(U,Q,de,se){let ye=de.get(Q.node.key.id.name);if(!ye.initAdded)return!g(se)&&(ye.getId||ye.setId)?(function(we,ve,ce,H){let me=ce.get(ve.node.key.id.name),{id:Se,getId:pe,setId:j}=me;if(ce.set(ve.node.key.id.name,Object.assign({},me,{initAdded:!0})),!H.availableHelper("classPrivateFieldInitSpec"))return B(r.template.statement.ast`
|
|
225
|
-
${Se}.set(${we}, {
|
|
226
|
-
get: ${pe?pe.name:ve.scope.buildUndefinedNode()},
|
|
227
|
-
set: ${j?j.name:ve.scope.buildUndefinedNode()}
|
|
228
|
-
});
|
|
229
|
-
`,ve);let Te=H.addHelper("classPrivateFieldInitSpec");return G(B(r.template.statement.ast`${Te}(
|
|
230
|
-
${r.types.thisExpression()},
|
|
231
|
-
${r.types.cloneNode(Se)},
|
|
232
|
-
{
|
|
233
|
-
get: ${pe?pe.name:ve.scope.buildUndefinedNode()},
|
|
234
|
-
set: ${j?j.name:ve.scope.buildUndefinedNode()}
|
|
235
|
-
},
|
|
236
|
-
)`,ve),ve.node)})(U,Q,de,se):(function(we,ve,ce,H){let me=ce.get(ve.node.key.id.name),{id:Se}=me;if(!H.availableHelper("classPrivateMethodInitSpec"))return B(r.template.statement.ast`${Se}.add(${we})`,ve);let pe=H.addHelper("classPrivateMethodInitSpec");return B(r.template.statement.ast`${pe}(
|
|
237
|
-
${r.types.thisExpression()},
|
|
238
|
-
${r.types.cloneNode(Se)}
|
|
239
|
-
)`,ve)})(U,Q,de,se)}function $(U,Q){let{key:de,computed:se}=Q.node,ye=Q.node.value||Q.scope.buildUndefinedNode();return B(r.types.expressionStatement(r.types.assignmentExpression("=",r.types.memberExpression(U,de,se||r.types.isLiteral(de)),ye)),Q)}function D(U,Q,de){let{key:se,computed:ye}=Q.node,we=Q.node.value||Q.scope.buildUndefinedNode();return B(r.types.expressionStatement(r.types.callExpression(de.addHelper("defineProperty"),[U,ye||r.types.isLiteral(se)?se:r.types.stringLiteral(se.name),we])),Q)}function W(U,Q,de,se){let ye=se.get(Q.node.key.id.name),{id:we,methodId:ve,getId:ce,setId:H,initAdded:me}=ye;if(!me)return ce||H?(se.set(Q.node.key.id.name,Object.assign({},ye,{initAdded:!0})),B(r.template.statement.ast`
|
|
240
|
-
Object.defineProperty(${U}, ${we}, {
|
|
241
|
-
// configurable is false by default
|
|
242
|
-
// enumerable is false by default
|
|
243
|
-
// writable is false by default
|
|
244
|
-
get: ${ce?ce.name:Q.scope.buildUndefinedNode()},
|
|
245
|
-
set: ${H?H.name:Q.scope.buildUndefinedNode()}
|
|
246
|
-
})
|
|
247
|
-
`,Q)):B(r.template.statement.ast`
|
|
248
|
-
Object.defineProperty(${U}, ${we}, {
|
|
249
|
-
// configurable is false by default
|
|
250
|
-
// enumerable is false by default
|
|
251
|
-
// writable is false by default
|
|
252
|
-
value: ${ve.name}
|
|
253
|
-
});
|
|
254
|
-
`,Q)}function q(U,Q,de,se=!1){let ye=de.get(Q.node.key.id.name),{id:we,methodId:ve,getId:ce,setId:H,getterDeclared:me,setterDeclared:Se,static:pe}=ye,{params:j,body:Te,generator:De,async:Fe}=Q.node,Pe=ce&&j.length===0,ke=H&&j.length>0;if(Pe&&me||ke&&Se)return de.set(Q.node.key.id.name,Object.assign({},ye,{initAdded:!0})),null;if(g(U)&&(Pe||ke)&&!se){let We=Q.get("body").scope,Re=We.generateUidIdentifier("this"),at={thisRef:Re,argumentsPath:[]};if(Q.traverse(re,at),at.argumentsPath.length){let ut=We.generateUidIdentifier("arguments");We.push({id:ut,init:r.template.expression.ast`[].slice.call(arguments, 1)`});for(let pt of at.argumentsPath)pt.replaceWith(r.types.cloneNode(ut))}j.unshift(r.types.cloneNode(Re))}let Oe=ve;return Pe?(de.set(Q.node.key.id.name,Object.assign({},ye,{getterDeclared:!0,initAdded:!0})),Oe=ce):ke?(de.set(Q.node.key.id.name,Object.assign({},ye,{setterDeclared:!0,initAdded:!0})),Oe=H):pe&&!se&&(Oe=we),B(r.types.functionDeclaration(r.types.cloneNode(Oe),j,Te,De,Fe),Q)}let re=l.visitors.environmentVisitor({Identifier(U,Q){Q.argumentsPath&&U.node.name==="arguments"&&Q.argumentsPath.push(U)},UnaryExpression(U){let{node:Q}=U;if(Q.operator==="delete"){let de=(0,v.skipTransparentExprWrapperNodes)(Q.argument);r.types.isThisExpression(de)&&U.replaceWith(r.types.booleanLiteral(!0))}},ThisExpression(U,Q){Q.needsClassRef=!0,U.replaceWith(r.types.cloneNode(Q.thisRef))},MetaProperty(U){let{node:Q,scope:de}=U;Q.meta.name==="new"&&Q.property.name==="target"&&U.replaceWith(de.buildUndefinedNode())}}),le={ReferencedIdentifier(U,Q){U.scope.bindingIdentifierEquals(U.node.name,Q.innerBinding)&&(Q.needsClassRef=!0,U.node.name=Q.thisRef.name)}};function ie(U,Q,de){var se;let ye={thisRef:Q,needsClassRef:!1,innerBinding:de};return U.isMethod()||U.traverse(re,ye),de!=null&&(se=ye.thisRef)!=null&&se.name&&ye.thisRef.name!==de.name&&U.traverse(le,ye),ye.needsClassRef}function M({key:U,computed:Q}){return U.type==="Identifier"?!Q&&(U.name==="name"||U.name==="length"):U.type==="StringLiteral"&&(U.value==="name"||U.value==="length")}function B(U,Q){return r.types.inheritLeadingComments(U,Q.node),r.types.inheritInnerComments(U,Q.node),U}function G(U,Q){return U.start=Q.start,U.end=Q.end,U.loc=Q.loc,U}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FEATURES",{enumerable:!0,get:function(){return v.FEATURES}}),Object.defineProperty(e,"buildCheckInRHS",{enumerable:!0,get:function(){return d.buildCheckInRHS}}),e.createClassFeaturePlugin=function({name:p,feature:h,loose:u,manipulateOptions:f,api:y,inherits:P,decoratorVersion:S}){var b;if(h&v.FEATURES.decorators&&(S==="2023-11"||S==="2023-05"||S==="2023-01"||S==="2022-03"||S==="2021-12"))return(0,t.default)(y,{loose:u},S,P);y!=null||(y={assumption:()=>{}});let C=y.assumption("setPublicClassFields"),N=y.assumption("privateFieldsAsSymbols"),F=y.assumption("privateFieldsAsProperties"),K=(b=y.assumption("noUninitializedPrivateFieldAccess"))!=null&&b,L=y.assumption("constantSuper"),w=y.assumption("noDocumentAll");if(F&&N)throw new Error('Cannot enable both the "privateFieldsAsProperties" and "privateFieldsAsSymbols" assumptions as the same time.');let O=F||N;if(u===!0){let z=[];C!==void 0&&z.push('"setPublicClassFields"'),F!==void 0&&z.push('"privateFieldsAsProperties"'),N!==void 0&&z.push('"privateFieldsAsSymbols"'),z.length!==0&&console.warn(`[${p}]: You are using the "loose: true" option and you are explicitly setting a value for the ${z.join(" and ")} assumption${z.length>1?"s":""}. The "loose" option can cause incompatibilities with the other class features plugins, so it's recommended that you replace it with the following top-level option:
|
|
255
|
-
"assumptions": {
|
|
256
|
-
"setPublicClassFields": true,
|
|
257
|
-
"privateFieldsAsSymbols": true
|
|
258
|
-
}`)}return{name:p,manipulateOptions:f,inherits:P,pre(z){(0,v.enableFeature)(z,h,u),typeof z.get(g)!="number"&&z.get(g)&&!l.lt(z.get(g),"7.27.1")||z.set(g,"7.27.1")},visitor:{Class(z,{file:te}){if(te.get(g)!=="7.27.1"||!(0,v.shouldTransform)(z,te))return;let $=z.isClassDeclaration();$&&(0,T.assertFieldTransformed)(z);let D=(0,v.isLoose)(te,h),W,q=(0,t.hasDecorators)(z.node),re=[],le=[],ie=[],M=new Set,B=z.get("body");for(let j of B.get("body")){if((j.isClassProperty()||j.isClassMethod())&&j.node.computed&&ie.push(j),j.isPrivate()){let{name:Te}=j.node.key.id,De=`get ${Te}`,Fe=`set ${Te}`;if(j.isClassPrivateMethod()){if(j.node.kind==="get"){if(M.has(De)||M.has(Te)&&!M.has(Fe))throw j.buildCodeFrameError("Duplicate private field");M.add(De).add(Te)}else if(j.node.kind==="set"){if(M.has(Fe)||M.has(Te)&&!M.has(De))throw j.buildCodeFrameError("Duplicate private field");M.add(Fe).add(Te)}}else{if(M.has(Te)&&!M.has(De)&&!M.has(Fe)||M.has(Te)&&(M.has(De)||M.has(Fe)))throw j.buildCodeFrameError("Duplicate private field");M.add(Te)}}j.isClassMethod({kind:"constructor"})?W=j:(le.push(j),(j.isProperty()||j.isPrivate()||j.isStaticBlock!=null&&j.isStaticBlock())&&re.push(j))}if(!re.length&&!q)return;let G=z.node.id,U;G&&$||(z.ensureFunctionName!=null||(z.ensureFunctionName=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.ensureFunctionName),z.ensureFunctionName(!1),U=z.scope.generateUidIdentifier(G?.name||"Class"));let Q=U??r.types.cloneNode(G),de=(0,d.buildPrivateNamesMap)(Q.name,O??D,re,te),se=(0,d.buildPrivateNamesNodes)(de,F??D,N!=null&&N,te),ye,we,ve,ce,H,me,Se;(0,d.transformPrivateNamesUsage)(Q,z,de,{privateFieldsAsProperties:O??D,noUninitializedPrivateFieldAccess:K,noDocumentAll:w,innerBinding:G},te),q?(we=H=ye=[],{instanceNodes:ve,wrapClass:Se}=(0,i.buildDecoratedClass)(Q,z,le,te)):(ye=(0,c.extractComputedKeys)(z,ie,te),{staticNodes:we,pureStaticNodes:H,instanceNodes:ve,lastInstanceNodeReturnsThis:ce,classBindingNode:me,wrapClass:Se}=(0,d.buildFieldsInitNodes)(U,z.node.superClass,re,de,te,C??D,O??D,K,L??D,G)),ve.length>0&&(0,c.injectInitialization)(z,W,ve,(j,Te)=>{if(!q)for(let De of re)r.types.isStaticBlock!=null&&r.types.isStaticBlock(De.node)||De.node.static||De.traverse(j,Te)},ce);let pe=Se(z);pe.insertBefore([...se,...ye]),we.length>0&&pe.insertAfter(we),H.length>0&&pe.find(j=>j.isStatement()||j.isDeclaration()).insertAfter(H),me!=null&&$&&pe.insertAfter(me)},ExportDefaultDeclaration(z,{file:te}){{if(te.get(g)!=="7.27.1")return;let $=z.get("declaration");$.isClassDeclaration()&&(0,t.hasDecorators)($.node)&&($.node.id?(z.splitExportDeclaration!=null||(z.splitExportDeclaration=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration),z.splitExportDeclaration()):$.node.type="ClassExpression")}}}}},Object.defineProperty(e,"enableFeature",{enumerable:!0,get:function(){return v.enableFeature}}),Object.defineProperty(e,"injectInitialization",{enumerable:!0,get:function(){return c.injectInitialization}});var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),l=E("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js"),d=E("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js"),t=E("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js"),i=E("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js"),c=E("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js"),v=E("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/features.js"),T=E("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js");let g="@babel/plugin-class-features/version"},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.extractComputedKeys=function(v,T,g){let{scope:p}=v,h=[],u={classBinding:v.node.id&&p.getBinding(v.node.id.name),file:g};for(let f of T){let y=f.get("key");y.isReferencedIdentifier()?t(y,u):y.traverse(i,u);let P=f.node;if(!y.isConstantExpression()){let S=c(y.node,p,p.generateUidBasedOnNode(y.node));S&&(h.push(r.types.expressionStatement(S)),P.key=r.types.cloneNode(S.left))}}return h},e.injectInitialization=function(v,T,g,p,h){if(!g.length)return;let u=!!v.node.superClass;if(!T){let f=r.types.classMethod("constructor",r.types.identifier("constructor"),[],r.types.blockStatement([]));u&&(f.params=[r.types.restElement(r.types.identifier("args"))],f.body.body.push(r.template.statement.ast`super(...args)`)),[T]=v.get("body").unshiftContainer("body",f)}if(p&&p(d,{scope:T.scope}),u){let f=[];T.traverse(l,f);let y=!0;for(let P of f)if(y?y=!1:g=g.map(S=>r.types.cloneNode(S)),P.parentPath.isExpressionStatement())P.insertAfter(g);else{let S=[P.node,...g.map(b=>r.types.toExpression(b))];h||S.push(r.types.thisExpression()),P.replaceWith(r.types.sequenceExpression(S))}}else T.get("body").unshiftContainer("body",g)},e.memoiseComputedKey=c;var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js");let l=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js").visitors.environmentVisitor({Super(v){let{node:T,parentPath:g}=v;g.isCallExpression({callee:T})&&this.push(g)}}),d={"TSTypeAnnotation|TypeAnnotation"(v){v.skip()},ReferencedIdentifier(v,{scope:T}){T.hasOwnBinding(v.node.name)&&(T.rename(v.node.name),v.skip())}};function t(v,T){if(T.classBinding&&T.classBinding===v.scope.getBinding(v.node.name)){let g=T.file.addHelper("classNameTDZError"),p=r.types.callExpression(g,[r.types.stringLiteral(v.node.name)]);v.replaceWith(r.types.sequenceExpression([p,v.node])),v.skip()}}let i={ReferencedIdentifier:t,"TSTypeAnnotation|TypeAnnotation"(v){v.skip()}};function c(v,T,g){if(!(r.types.isIdentifier(v)&&T.hasUid(v.name))){if(r.types.isAssignmentExpression(v,{operator:"="})&&r.types.isIdentifier(v.left)&&T.hasUid(v.left.name))return r.types.cloneNode(v);{let p=r.types.identifier(g);return T.push({id:p,kind:"let"}),r.types.assignmentExpression("=",r.types.cloneNode(p),v)}}}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assertFieldTransformed=function(E){if(E.node.declare)throw E.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by @babel/plugin-transform-typescript.
|
|
259
|
-
If you have already enabled that plugin (or '@babel/preset-typescript'), make sure that it runs before any plugin related to additional class features:
|
|
260
|
-
- @babel/plugin-transform-class-properties
|
|
261
|
-
- @babel/plugin-transform-private-methods
|
|
262
|
-
- @babel/plugin-proposal-decorators`)}},"./node_modules/.pnpm/@babel+helper-globals@7.28.0/node_modules/@babel/helper-globals/data/builtin-lower.json":ee=>{"use strict";ee.exports=JSON.parse('["decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","globalThis","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"]')},"./node_modules/.pnpm/@babel+helper-globals@7.28.0/node_modules/@babel/helper-globals/data/builtin-upper.json":ee=>{"use strict";ee.exports=JSON.parse('["AggregateError","Array","ArrayBuffer","Atomics","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","Error","EvalError","FinalizationRegistry","Float16Array","Float32Array","Float64Array","Function","Infinity","Int16Array","Int32Array","Int8Array","Intl","Iterator","JSON","Map","Math","NaN","Number","Object","Promise","Proxy","RangeError","ReferenceError","Reflect","RegExp","Set","SharedArrayBuffer","String","Symbol","SyntaxError","TypeError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","URIError","WeakMap","WeakRef","WeakSet"]')},"./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.27.1/node_modules/@babel/helper-member-expression-to-functions/lib/index.js":(ee,e,E)=>{"use strict";function r(D){if(D&&D.__esModule)return D;var W=Object.create(null);return D&&Object.keys(D).forEach(function(q){if(q!=="default"){var re=Object.getOwnPropertyDescriptor(D,q);Object.defineProperty(W,q,re.get?re:{enumerable:!0,get:function(){return D[q]}})}}),W.default=D,Object.freeze(W)}Object.defineProperty(e,"__esModule",{value:!0});var l=r(E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"));function d(D){let W=D,{node:q,parentPath:re}=W;if(re.isLogicalExpression()){let{operator:le,right:ie}=re.node;if(le==="&&"||le==="||"||le==="??"&&q===ie)return d(re)}if(re.isSequenceExpression()){let{expressions:le}=re.node;return le[le.length-1]!==q||d(re)}return re.isConditional({test:q})||re.isUnaryExpression({operator:"!"})||re.isLoop({test:q})}let{LOGICAL_OPERATORS:t,arrowFunctionExpression:i,assignmentExpression:c,binaryExpression:v,booleanLiteral:T,callExpression:g,cloneNode:p,conditionalExpression:h,identifier:u,isMemberExpression:f,isOptionalCallExpression:y,isOptionalMemberExpression:P,isUpdateExpression:S,logicalExpression:b,memberExpression:C,nullLiteral:N,optionalCallExpression:F,optionalMemberExpression:K,sequenceExpression:L,updateExpression:w}=l;class O{constructor(){this._map=void 0,this._map=new WeakMap}has(W){return this._map.has(W)}get(W){if(!this.has(W))return;let q=this._map.get(W),{value:re}=q;return q.count--,q.count===0?c("=",re,W):re}set(W,q,re){return this._map.set(W,{count:re,value:q})}}function z(D,W){let{node:q}=D;if(P(q))return C(W,q.property,q.computed);if(D.isOptionalCallExpression()){let re=D.get("callee");if(D.node.optional&&re.isOptionalMemberExpression()){let le=re.node.object,ie=D.scope.maybeGenerateMemoised(le);return re.get("object").replaceWith(c("=",ie,le)),g(C(W,u("call")),[ie,...D.node.arguments])}return g(W,D.node.arguments)}return D.node}let te={memoise(){},handle(D,W){let{node:q,parent:re,parentPath:le,scope:ie}=D;if(D.isOptionalMemberExpression()){if((function(De){for(;De&&!De.isProgram();){let{parentPath:Fe,container:Pe,listKey:ke}=De,Oe=Fe.node;if(ke){if(Pe!==Oe[ke])return!0}else if(Pe!==Oe)return!0;De=Fe}return!1})(D))return;let M=D.find(({node:De,parent:Fe})=>P(Fe)?Fe.optional||Fe.object!==De:!y(Fe)||De!==D.node&&Fe.optional||Fe.callee!==De);if(ie.path.isPattern())return void M.replaceWith(g(i([],M.node),[]));let B=d(M),G=M.parentPath;if(G.isUpdateExpression({argument:q}))throw D.buildCodeFrameError("can't handle update expression");let U=G.isAssignmentExpression({left:M.node}),Q=G.isUnaryExpression({operator:"delete"});if(Q&&M.isOptionalMemberExpression()&&M.get("property").isPrivateName())throw D.buildCodeFrameError("can't delete a private class element");let de=D;for(;;)if(de.isOptionalMemberExpression()){if(de.node.optional)break;de=de.get("object")}else{if(!de.isOptionalCallExpression())throw new Error(`Internal error: unexpected ${de.node.type}`);if(de.node.optional)break;de=de.get("callee")}let se=de.isOptionalMemberExpression()?de.node.object:de.node.callee,ye=ie.maybeGenerateMemoised(se),we=ye??se,ve=le.isOptionalCallExpression({callee:q}),ce=De=>ve,H=le.isCallExpression({callee:q});de.replaceWith(z(de,we)),ce()?re.optional?le.replaceWith(this.optionalCall(D,re.arguments)):le.replaceWith(this.call(D,re.arguments)):H?D.replaceWith(this.boundGet(D)):this.delete&&le.isUnaryExpression({operator:"delete"})?le.replaceWith(this.delete(D)):le.isAssignmentExpression()?$(this,D,le):D.replaceWith(this.get(D));let me,Se=D.node;for(let De=D;De!==M;){let Fe=De.parentPath;if(Fe===M&&ce()&&re.optional){Se=Fe.node;break}Se=z(Fe,Se),De=Fe}let pe=M.parentPath;if(f(Se)&&pe.isOptionalCallExpression({callee:M.node,optional:!0})){let{object:De}=Se;me=D.scope.maybeGenerateMemoised(De),me&&(Se.object=c("=",me,De))}let j=M;(Q||U)&&(j=pe,Se=pe.node);let Te=ye?c("=",p(we),p(se)):p(we);if(B){let De;De=W?v("!=",Te,N()):b("&&",v("!==",Te,N()),v("!==",p(we),ie.buildUndefinedNode())),j.replaceWith(b("&&",De,Se))}else{let De;De=W?v("==",Te,N()):b("||",v("===",Te,N()),v("===",p(we),ie.buildUndefinedNode())),j.replaceWith(h(De,Q?T(!0):ie.buildUndefinedNode(),Se))}if(me){let De=pe.node;pe.replaceWith(F(K(De.callee,u("call"),!1,!0),[p(me),...De.arguments],!1))}return}if(S(re,{argument:q})){if(this.simpleSet)return void D.replaceWith(this.simpleSet(D));let{operator:M,prefix:B}=re;this.memoise(D,2);let G=ie.generateUidIdentifierBasedOnNode(q);ie.push({id:G});let U=[c("=",p(G),this.get(D))];if(B){U.push(w(M,p(G),B));let Q=L(U);return void le.replaceWith(this.set(D,Q))}{let Q=ie.generateUidIdentifierBasedOnNode(q);ie.push({id:Q}),U.push(c("=",p(Q),w(M,p(G),B)),p(G));let de=L(U);return void le.replaceWith(L([this.set(D,de),p(Q)]))}}if(le.isAssignmentExpression({left:q}))$(this,D,le);else{if(!le.isCallExpression({callee:q}))return le.isOptionalCallExpression({callee:q})?ie.path.isPattern()?void le.replaceWith(g(i([],le.node),[])):void le.replaceWith(this.optionalCall(D,le.node.arguments)):void(this.delete&&le.isUnaryExpression({operator:"delete"})?le.replaceWith(this.delete(D)):le.isForXStatement({left:q})||le.isObjectProperty({value:q})&&le.parentPath.isObjectPattern()||le.isAssignmentPattern({left:q})&&le.parentPath.isObjectProperty({value:re})&&le.parentPath.parentPath.isObjectPattern()||le.isArrayPattern()||le.isAssignmentPattern({left:q})&&le.parentPath.isArrayPattern()||le.isRestElement()?D.replaceWith(this.destructureSet(D)):le.isTaggedTemplateExpression()?D.replaceWith(this.boundGet(D)):D.replaceWith(this.get(D)));le.replaceWith(this.call(D,le.node.arguments))}}};function $(D,W,q){if(D.simpleSet)return void W.replaceWith(D.simpleSet(W));let{operator:re,right:le}=q.node;if(re==="=")q.replaceWith(D.set(W,le));else{let ie=re.slice(0,-1);t.includes(ie)?(D.memoise(W,1),q.replaceWith(b(ie,D.get(W),D.set(W,le)))):(D.memoise(W,2),q.replaceWith(D.set(W,v(ie,D.get(W),le))))}}e.default=function(D,W,q){D.traverse(W,Object.assign({},te,q,{memoiser:new O}))}},"./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/import-builder.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("assert"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{callExpression:d,cloneNode:t,expressionStatement:i,identifier:c,importDeclaration:v,importDefaultSpecifier:T,importNamespaceSpecifier:g,importSpecifier:p,memberExpression:h,stringLiteral:u,variableDeclaration:f,variableDeclarator:y}=l;e.default=class{constructor(P,S,b){this._statements=[],this._resultName=null,this._importedSource=void 0,this._scope=S,this._hub=b,this._importedSource=P}done(){return{statements:this._statements,resultName:this._resultName}}import(){return this._statements.push(v([],u(this._importedSource))),this}require(){return this._statements.push(i(d(c("require"),[u(this._importedSource)]))),this}namespace(P="namespace"){let S=this._scope.generateUidIdentifier(P),b=this._statements[this._statements.length-1];return r(b.type==="ImportDeclaration"),r(b.specifiers.length===0),b.specifiers=[g(S)],this._resultName=t(S),this}default(P){let S=this._scope.generateUidIdentifier(P),b=this._statements[this._statements.length-1];return r(b.type==="ImportDeclaration"),r(b.specifiers.length===0),b.specifiers=[T(S)],this._resultName=t(S),this}named(P,S){if(S==="default")return this.default(P);let b=this._scope.generateUidIdentifier(P),C=this._statements[this._statements.length-1];return r(C.type==="ImportDeclaration"),r(C.specifiers.length===0),C.specifiers=[p(b,c(S))],this._resultName=t(b),this}var(P){let S=this._scope.generateUidIdentifier(P),b=this._statements[this._statements.length-1];return b.type!=="ExpressionStatement"&&(r(this._resultName),b=i(this._resultName),this._statements.push(b)),this._statements[this._statements.length-1]=f("var",[y(S,b.expression)]),this._resultName=t(S),this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(P){let S=this._statements[this._statements.length-1];return S.type==="ExpressionStatement"?S.expression=d(P,[S.expression]):S.type==="VariableDeclaration"?(r(S.declarations.length===1),S.declarations[0].init=d(P,[S.declarations[0].init])):r.fail("Unexpected type."),this}prop(P){let S=this._statements[this._statements.length-1];return S.type==="ExpressionStatement"?S.expression=h(S.expression,c(P)):S.type==="VariableDeclaration"?(r(S.declarations.length===1),S.declarations[0].init=h(S.declarations[0].init,c(P))):r.fail("Unexpected type:"+S.type),this}read(P){this._resultName=h(this._resultName,c(P))}}},"./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/import-injector.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("assert"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),d=E("./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/import-builder.js"),t=E("./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/is-module.js");let{identifier:i,importSpecifier:c,numericLiteral:v,sequenceExpression:T,isImportDeclaration:g}=l;function p(y){return y.importKind!=="type"&&y.importKind!=="typeof"}function h(y){return y.specifiers.length===1&&y.specifiers[0].type==="ImportNamespaceSpecifier"||y.specifiers.length===2&&y.specifiers[1].type==="ImportNamespaceSpecifier"}function u(y){return y.specifiers.length>0&&y.specifiers[0].type==="ImportDefaultSpecifier"}function f(y,P){return y.specifiers.length?!P.specifiers.length||!h(y)&&!h(P)&&(u(P)&&(u(y)?P.specifiers[0]=c(P.specifiers[0].local,i("default")):y.specifiers.unshift(P.specifiers.shift())),y.specifiers.push(...P.specifiers),!0):(y.specifiers=P.specifiers,!0)}e.default=class{constructor(y,P,S){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:!1,ensureNoContext:!1,importPosition:"before"};let b=y.find(C=>C.isProgram());this._programPath=b,this._programScope=b.scope,this._hub=b.hub,this._defaultOpts=this._applyDefaults(P,S,!0)}addDefault(y,P){return this.addNamed("default",y,P)}addNamed(y,P,S){return r(typeof y=="string"),this._generateImport(this._applyDefaults(P,S),y)}addNamespace(y,P){return this._generateImport(this._applyDefaults(y,P),null)}addSideEffect(y,P){return this._generateImport(this._applyDefaults(y,P),void 0)}_applyDefaults(y,P,S=!1){let b;return typeof y=="string"?b=Object.assign({},this._defaultOpts,{importedSource:y},P):(r(!P,"Unexpected secondary arguments."),b=Object.assign({},this._defaultOpts,y)),!S&&P&&(P.nameHint!==void 0&&(b.nameHint=P.nameHint),P.blockHoist!==void 0&&(b.blockHoist=P.blockHoist)),b}_generateImport(y,P){let S=P==="default",b=!!P&&!S,C=P===null,{importedSource:N,importedType:F,importedInterop:K,importingInterop:L,ensureLiveReference:w,ensureNoContext:O,nameHint:z,importPosition:te,blockHoist:$}=y,D=z||P,W=(0,t.default)(this._programPath),q=W&&L==="node",re=W&&L==="babel";if(te==="after"&&!W)throw new Error('"importPosition": "after" is only supported in modules');let le=new d.default(N,this._programScope,this._hub);if(F==="es6"){if(!q&&!re)throw new Error("Cannot import an ES6 module from CommonJS");le.import(),C?le.namespace(z||N):(S||b)&&le.named(D,P)}else{if(F!=="commonjs")throw new Error(`Unexpected interopType "${F}"`);if(K==="babel")if(q){D=D!=="default"?D:N;let B=`${N}$es6Default`;le.import(),C?le.default(B).var(D||N).wildcardInterop():S?w?le.default(B).var(D||N).defaultInterop().read("default"):le.default(B).var(D).defaultInterop().prop(P):b&&le.default(B).read(P)}else re?(le.import(),C?le.namespace(D||N):(S||b)&&le.named(D,P)):(le.require(),C?le.var(D||N).wildcardInterop():(S||b)&&w?S?(D=D!=="default"?D:N,le.var(D).read(P),le.defaultInterop()):le.var(N).read(P):S?le.var(D).defaultInterop().prop(P):b&&le.var(D).prop(P));else if(K==="compiled")q?(le.import(),C?le.default(D||N):(S||b)&&le.default(N).read(D)):re?(le.import(),C?le.namespace(D||N):(S||b)&&le.named(D,P)):(le.require(),C?le.var(D||N):(S||b)&&(w?le.var(N).read(D):le.prop(P).var(D)));else{if(K!=="uncompiled")throw new Error(`Unknown importedInterop "${K}".`);if(S&&w)throw new Error("No live reference for commonjs default");q?(le.import(),C?le.default(D||N):S?le.default(D):b&&le.default(N).read(D)):re?(le.import(),C?le.default(D||N):S?le.default(D):b&&le.named(D,P)):(le.require(),C?le.var(D||N):S?le.var(D):b&&(w?le.var(N).read(D):le.var(D).prop(P)))}}let{statements:ie,resultName:M}=le.done();return this._insertStatements(ie,te,$),(S||b)&&O&&M.type!=="Identifier"?T([v(0),M]):M}_insertStatements(y,P="before",S=3){if(P==="after"){if(this._insertStatementsAfter(y))return}else if(this._insertStatementsBefore(y,S))return;this._programPath.unshiftContainer("body",y)}_insertStatementsBefore(y,P){if(y.length===1&&g(y[0])&&p(y[0])){let b=this._programPath.get("body").find(C=>C.isImportDeclaration()&&p(C.node));if(b?.node.source.value===y[0].source.value&&f(b.node,y[0]))return!0}y.forEach(b=>{b._blockHoist=P});let S=this._programPath.get("body").find(b=>{let C=b.node._blockHoist;return Number.isFinite(C)&&C<4});return!!S&&(S.insertBefore(y),!0)}_insertStatementsAfter(y){let P=new Set(y),S=new Map;for(let C of y)if(g(C)&&p(C)){let N=C.source.value;S.has(N)||S.set(N,[]),S.get(N).push(C)}let b=null;for(let C of this._programPath.get("body"))if(C.isImportDeclaration()&&p(C.node)){b=C;let N=C.node.source.value,F=S.get(N);if(!F)continue;for(let K of F)P.has(K)&&f(C.node,K)&&P.delete(K)}return P.size===0||(b&&b.insertAfter(Array.from(P)),!!b)}}},"./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImportInjector",{enumerable:!0,get:function(){return r.default}}),e.addDefault=function(d,t,i){return new r.default(d).addDefault(t,i)},e.addNamed=function(d,t,i,c){return new r.default(d).addNamed(t,i,c)},e.addNamespace=function(d,t,i){return new r.default(d).addNamespace(t,i)},e.addSideEffect=function(d,t,i){return new r.default(d).addSideEffect(t,i)},Object.defineProperty(e,"isModule",{enumerable:!0,get:function(){return l.default}});var r=E("./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/import-injector.js"),l=E("./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/is-module.js")},"./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/is-module.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(E){return E.node.sourceType==="module"}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildDynamicImport=function(l,d,t,i){let c=r.types.isCallExpression(l)?l.arguments[0]:l.source;if(r.types.isStringLiteral(c)||r.types.isTemplateLiteral(c)&&c.quasis.length===0)return d?r.template.expression.ast`
|
|
263
|
-
Promise.resolve().then(() => ${i(c)})
|
|
264
|
-
`:i(c);let v=r.types.isTemplateLiteral(c)?r.types.identifier("specifier"):r.types.templateLiteral([r.types.templateElement({raw:""}),r.types.templateElement({raw:""})],[r.types.identifier("specifier")]);return d?r.template.expression.ast`
|
|
265
|
-
(specifier =>
|
|
266
|
-
new Promise(r => r(${v}))
|
|
267
|
-
.then(s => ${i(r.types.identifier("s"))})
|
|
268
|
-
)(${c})
|
|
269
|
-
`:t?r.template.expression.ast`
|
|
270
|
-
(specifier =>
|
|
271
|
-
new Promise(r => r(${i(v)}))
|
|
272
|
-
)(${c})
|
|
273
|
-
`:r.template.expression.ast`
|
|
274
|
-
(specifier => ${i(v)})(${c})
|
|
275
|
-
`};var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js");e.getDynamicImportSource=function(l){let[d]=l.arguments;return r.types.isStringLiteral(d)||r.types.isTemplateLiteral(d)?d:r.template.expression.ast`\`\${${d}}\``}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/get-module-name.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=E;{let r=E;e.default=E=function(l,d){var t,i,c,v;return r(l,{moduleId:(t=d.moduleId)!=null?t:l.moduleId,moduleIds:(i=d.moduleIds)!=null?i:l.moduleIds,getModuleId:(c=d.getModuleId)!=null?c:l.getModuleId,moduleRoot:(v=d.moduleRoot)!=null?v:l.moduleRoot})}}function E(r,l){let{filename:d,filenameRelative:t=d,sourceRoot:i=l.moduleRoot}=r,{moduleId:c,moduleIds:v=!!c,getModuleId:T,moduleRoot:g=i}=l;if(!v)return null;if(c!=null&&!T)return c;let p=g!=null?g+"/":"";if(t){let h=i!=null?new RegExp("^"+i+"/?"):"";p+=t.replace(h,"").replace(/\.\w*$/,"")}return p=p.replace(/\\/g,"/"),T&&T(p)||p}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"buildDynamicImport",{enumerable:!0,get:function(){return T.buildDynamicImport}}),e.buildNamespaceInitStatements=function(y,P,S=!1,b=v.wrapReference){var C;let N=[],F=l.types.identifier(P.name);for(let L of P.importsNamespace)L!==P.name&&N.push(l.template.statement`var NAME = SOURCE;`({NAME:L,SOURCE:l.types.cloneNode(F)}));let K=(C=b(F,P.wrap))!=null?C:F;S&&N.push(...h(y,P,!0,b));for(let L of P.reexportNamespace)N.push((l.types.isIdentifier(K)?l.template.statement`EXPORTS.NAME = NAMESPACE;`:l.template.statement`
|
|
276
|
-
Object.defineProperty(EXPORTS, "NAME", {
|
|
277
|
-
enumerable: true,
|
|
278
|
-
get: function() {
|
|
279
|
-
return NAMESPACE;
|
|
280
|
-
}
|
|
281
|
-
});
|
|
282
|
-
`)({EXPORTS:y.exportName,NAME:L,NAMESPACE:l.types.cloneNode(K)}));if(P.reexportAll){let L=(function(w,O,z){return(z?l.template.statement`
|
|
283
|
-
Object.keys(NAMESPACE).forEach(function(key) {
|
|
284
|
-
if (key === "default" || key === "__esModule") return;
|
|
285
|
-
VERIFY_NAME_LIST;
|
|
286
|
-
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
|
|
287
|
-
|
|
288
|
-
EXPORTS[key] = NAMESPACE[key];
|
|
289
|
-
});
|
|
290
|
-
`:l.template.statement`
|
|
291
|
-
Object.keys(NAMESPACE).forEach(function(key) {
|
|
292
|
-
if (key === "default" || key === "__esModule") return;
|
|
293
|
-
VERIFY_NAME_LIST;
|
|
294
|
-
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
|
|
295
|
-
|
|
296
|
-
Object.defineProperty(EXPORTS, key, {
|
|
297
|
-
enumerable: true,
|
|
298
|
-
get: function() {
|
|
299
|
-
return NAMESPACE[key];
|
|
300
|
-
},
|
|
301
|
-
});
|
|
302
|
-
});
|
|
303
|
-
`)({NAMESPACE:O,EXPORTS:w.exportName,VERIFY_NAME_LIST:w.exportNameListName?l.template`
|
|
304
|
-
if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;
|
|
305
|
-
`({EXPORTS_LIST:w.exportNameListName}):null})})(y,l.types.cloneNode(K),S);L.loc=P.reexportAll.loc,N.push(L)}return N},e.ensureStatementsHoisted=function(y){y.forEach(P=>{P._blockHoist=3})},Object.defineProperty(e,"getModuleName",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"hasExports",{enumerable:!0,get:function(){return c.hasExports}}),Object.defineProperty(e,"isModule",{enumerable:!0,get:function(){return d.isModule}}),Object.defineProperty(e,"isSideEffectImport",{enumerable:!0,get:function(){return c.isSideEffectImport}}),e.rewriteModuleStatementsAndPrepareHeader=function(y,{exportName:P,strict:S,allowTopLevelThis:b,strictMode:C,noInterop:N,importInterop:F=N?"none":"babel",lazy:K,getWrapperPayload:L=v.toGetWrapperPayload(K!=null&&K),wrapReference:w=v.wrapReference,esNamespaceOnly:O,filename:z,constantReexports:te=arguments[1].loose,enumerableModuleMeta:$=arguments[1].loose,noIncompleteNsImportDetection:D}){(0,c.validateImportInteropOption)(F),r((0,d.isModule)(y),"Cannot process module statements in a script"),y.node.sourceType="script";let W=(0,c.default)(y,P,{importInterop:F,initializeReexports:te,getWrapperPayload:L,esNamespaceOnly:O,filename:z});b||(0,t.default)(y),(0,i.default)(y,W,w),C!==!1&&(y.node.directives.some(le=>le.value.value==="use strict")||y.unshiftContainer("directives",l.types.directive(l.types.directiveLiteral("use strict"))));let q=[];(0,c.hasExports)(W)&&!S&&q.push((function(le,ie=!1){return(ie?l.template.statement`
|
|
306
|
-
EXPORTS.__esModule = true;
|
|
307
|
-
`:l.template.statement`
|
|
308
|
-
Object.defineProperty(EXPORTS, "__esModule", {
|
|
309
|
-
value: true,
|
|
310
|
-
});
|
|
311
|
-
`)({EXPORTS:le.exportName})})(W,$));let re=(function(le,ie){let M=Object.create(null);for(let U of ie.local.values())for(let Q of U.names)M[Q]=!0;let B=!1;for(let U of ie.source.values()){for(let Q of U.reexports.keys())M[Q]=!0;for(let Q of U.reexportNamespace)M[Q]=!0;B=B||!!U.reexportAll}if(!B||Object.keys(M).length===0)return null;let G=le.scope.generateUidIdentifier("exportNames");return delete M.default,{name:G.name,statement:l.types.variableDeclaration("var",[l.types.variableDeclarator(G,l.types.valueToNode(M))])}})(y,W);return re&&(W.exportNameListName=re.name,q.push(re.statement)),q.push(...(function(le,ie,M,B=!1,G=!1){let U=[];for(let[de,se]of ie.local)if(se.kind!=="import"){if(se.kind==="hoisted")U.push([se.names[0],f(ie,se.names,l.types.identifier(de))]);else if(!G)for(let ye of se.names)U.push([ye,null])}for(let de of ie.source.values()){if(!B){let se=h(ie,de,!1,M),ye=[...de.reexports.keys()];for(let we=0;we<se.length;we++)U.push([ye[we],se[we]])}if(!G)for(let se of de.reexportNamespace)U.push([se,null])}U.sort(([de],[se])=>de<se?-1:se<de?1:0);let Q=[];if(G)for(let[,de]of U)Q.push(de);else for(let se=0;se<U.length;se+=100){let ye=[];for(let we=0;we<100&&se+we<U.length;we++){let[ve,ce]=U[se+we];ce!==null?(ye.length>0&&(Q.push(f(ie,ye,le.scope.buildUndefinedNode())),ye=[]),Q.push(ce)):ye.push(ve)}ye.length>0&&Q.push(f(ie,ye,le.scope.buildUndefinedNode()))}return Q})(y,W,w,te,D)),{meta:W,headers:q}},Object.defineProperty(e,"rewriteThis",{enumerable:!0,get:function(){return t.default}}),e.wrapInterop=function(y,P,S){if(S==="none")return null;if(S==="node-namespace")return l.types.callExpression(y.hub.addHelper("interopRequireWildcard"),[P,l.types.booleanLiteral(!0)]);if(S==="node-default")return null;let b;if(S==="default")b="interopRequireDefault";else{if(S!=="namespace")throw new Error(`Unknown interop: ${S}`);b="interopRequireWildcard"}return l.types.callExpression(y.hub.addHelper(b),[P])};var r=E("assert"),l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),d=E("./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/index.js"),t=E("./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js"),i=E("./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js"),c=E("./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js"),v=E("./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js"),T=E("./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js"),g=E("./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/get-module-name.js");e.getDynamicImportSource=E("./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js").getDynamicImportSource;let p={constant:({exports:y,exportName:P,namespaceImport:S})=>l.template.statement.ast`
|
|
312
|
-
${y}.${P} = ${S};
|
|
313
|
-
`,constantComputed:({exports:y,exportName:P,namespaceImport:S})=>l.template.statement.ast`
|
|
314
|
-
${y}["${P}"] = ${S};
|
|
315
|
-
`,spec:({exports:y,exportName:P,namespaceImport:S})=>l.template.statement.ast`
|
|
316
|
-
Object.defineProperty(${y}, "${P}", {
|
|
317
|
-
enumerable: true,
|
|
318
|
-
get: function() {
|
|
319
|
-
return ${S};
|
|
320
|
-
},
|
|
321
|
-
});
|
|
322
|
-
`};function h(y,P,S,b){var C;let N=l.types.identifier(P.name);N=(C=b(N,P.wrap))!=null?C:N;let{stringSpecifiers:F}=y;return Array.from(P.reexports,([K,L])=>{let w=l.types.cloneNode(N);L==="default"&&P.interop==="node-default"||(w=F.has(L)?l.types.memberExpression(w,l.types.stringLiteral(L),!0):l.types.memberExpression(w,l.types.identifier(L)));let O={exports:y.exportName,exportName:K,namespaceImport:w};return S||l.types.isIdentifier(w)?F.has(K)?p.constantComputed(O):p.constant(O):p.spec(O)})}let u={computed:({exports:y,name:P,value:S})=>l.template.expression.ast`${y}["${P}"] = ${S}`,default:({exports:y,name:P,value:S})=>l.template.expression.ast`${y}.${P} = ${S}`,define:({exports:y,name:P,value:S})=>l.template.expression.ast`
|
|
323
|
-
Object.defineProperty(${y}, "${P}", {
|
|
324
|
-
enumerable: true,
|
|
325
|
-
value: void 0,
|
|
326
|
-
writable: true
|
|
327
|
-
})["${P}"] = ${S}`};function f(y,P,S){let{stringSpecifiers:b,exportName:C}=y;return l.types.expressionStatement(P.reduce((N,F)=>{let K={exports:C,name:F,value:N};return F==="__proto__"?u.define(K):b.has(F)?u.computed(K):u.default(K)},S))}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toGetWrapperPayload=function(d){return(t,i)=>{if(d===!1||(0,l.isSideEffectImport)(i)||i.reexportAll)return null;if(d===!0)return t.includes(".")?null:"lazy";if(Array.isArray(d))return d.includes(t)?"lazy":null;if(typeof d=="function")return d(t)?"lazy":null;throw new Error(".lazy must be a boolean, string array, or function")}},e.wrapReference=function(d,t){return t==="lazy"?r.types.callExpression(d,[]):null};var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),l=E("./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js")},"./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(v,T,{importInterop:g,initializeReexports:p=!1,getWrapperPayload:h,esNamespaceOnly:u=!1,filename:f}){T||(T=v.scope.generateUidIdentifier("exports").name);let y=new Set;(function(C){C.get("body").forEach(N=>{N.isExportDefaultDeclaration()&&(N.splitExportDeclaration!=null||(N.splitExportDeclaration=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration),N.splitExportDeclaration())})})(v);let{local:P,sources:S,hasExports:b}=(function(C,{getWrapperPayload:N,initializeReexports:F},K){let L=(function($,D,W){let q=new Map,re=$.scope,le=$.get("body");le.forEach(B=>{let G;if(B.isImportDeclaration())G="import";else{if(B.isExportDefaultDeclaration()&&(B=B.get("declaration")),B.isExportNamedDeclaration()){if(B.node.declaration)B=B.get("declaration");else if(D&&B.node.source&&B.get("source").isStringLiteral())return void B.get("specifiers").forEach(U=>{c(U),q.set(U.get("local").node.name,"block")})}if(B.isFunctionDeclaration())G="hoisted";else if(B.isClassDeclaration())G="block";else if(B.isVariableDeclaration({kind:"var"}))G="var";else{if(!B.isVariableDeclaration())return;G="block"}}Object.keys(B.getOuterBindingIdentifiers()).forEach(U=>{q.set(U,G)})});let ie=new Map,M=B=>{let G=B.node.name,U=ie.get(G);if(!U){var Q,de;let se=(Q=q.get(G))!=null?Q:(de=re.getBinding(G))==null?void 0:de.kind;if(se===void 0)throw B.buildCodeFrameError(`Exporting local "${G}", which is not declared.`);U={names:[],kind:se},ie.set(G,U)}return U};return le.forEach(B=>{if(!B.isExportNamedDeclaration()||!D&&B.node.source){if(B.isExportDefaultDeclaration()){let G=B.get("declaration");if(!G.isFunctionDeclaration()&&!G.isClassDeclaration())throw G.buildCodeFrameError("Unexpected default expression export.");M(G.get("id")).names.push("default")}}else if(B.node.declaration){let G=B.get("declaration"),U=G.getOuterBindingIdentifierPaths();Object.keys(U).forEach(Q=>{if(Q==="__esModule")throw G.buildCodeFrameError('Illegal export "__esModule".');M(U[Q]).names.push(Q)})}else B.get("specifiers").forEach(G=>{let U=G.get("local"),Q=G.get("exported"),de=M(U),se=i(Q,W);if(se==="__esModule")throw Q.buildCodeFrameError('Illegal export "__esModule".');de.names.push(se)})}),ie})(C,F,K),w=new Map,O=new Map,z=($,D)=>{let W=$.value,q=O.get(W);return q?w.get(W).push(D):(q={name:C.scope.generateUidIdentifier((0,r.basename)(W,(0,r.extname)(W))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,wrap:null,get lazy(){return this.wrap==="lazy"},referenced:!1},O.set(W,q),w.set(W,[D])),q},te=!1;C.get("body").forEach($=>{if($.isImportDeclaration()){let D=z($.node.source,$.node);D.loc||(D.loc=$.node.loc),$.get("specifiers").forEach(W=>{if(W.isImportDefaultSpecifier()){let q=W.get("local").node.name;D.imports.set(q,"default");let re=L.get(q);re&&(L.delete(q),re.names.forEach(le=>{D.reexports.set(le,"default")}),D.referenced=!0)}else if(W.isImportNamespaceSpecifier()){let q=W.get("local").node.name;D.importsNamespace.add(q);let re=L.get(q);re&&(L.delete(q),re.names.forEach(le=>{D.reexportNamespace.add(le)}),D.referenced=!0)}else if(W.isImportSpecifier()){let q=i(W.get("imported"),K),re=W.get("local").node.name;D.imports.set(re,q);let le=L.get(re);le&&(L.delete(re),le.names.forEach(ie=>{D.reexports.set(ie,q)}),D.referenced=!0)}})}else if($.isExportAllDeclaration()){te=!0;let D=z($.node.source,$.node);D.loc||(D.loc=$.node.loc),D.reexportAll={loc:$.node.loc},D.referenced=!0}else if($.isExportNamedDeclaration()&&$.node.source){te=!0;let D=z($.node.source,$.node);D.loc||(D.loc=$.node.loc),$.get("specifiers").forEach(W=>{c(W);let q=i(W.get("local"),K),re=i(W.get("exported"),K);if(D.reexports.set(re,q),D.referenced=!0,re==="__esModule")throw W.get("exported").buildCodeFrameError('Illegal export "__esModule".')})}else($.isExportNamedDeclaration()||$.isExportDefaultDeclaration())&&(te=!0)});for(let $ of O.values()){let D=!1,W=!1;$.importsNamespace.size>0&&(D=!0,W=!0),$.reexportAll&&(W=!0);for(let q of $.imports.values())q==="default"?D=!0:W=!0;for(let q of $.reexports.values())q==="default"?D=!0:W=!0;D&&W?$.interop="namespace":D&&($.interop="default")}if(N)for(let[$,D]of O)D.wrap=N($,D,w.get($));return{hasExports:te,local:L,sources:O}})(v,{initializeReexports:p,getWrapperPayload:h},y);(function(C){C.get("body").forEach(N=>{if(N.isImportDeclaration())N.remove();else if(N.isExportNamedDeclaration())N.node.declaration?(N.node.declaration._blockHoist=N.node._blockHoist,N.replaceWith(N.node.declaration)):N.remove();else if(N.isExportDefaultDeclaration()){let F=N.get("declaration");if(!F.isFunctionDeclaration()&&!F.isClassDeclaration())throw F.buildCodeFrameError("Unexpected default expression export.");F._blockHoist=N.node._blockHoist,N.replaceWith(F)}else N.isExportAllDeclaration()&&N.remove()})})(v);for(let[C,N]of S){let{importsNamespace:F,imports:K}=N;if(F.size>0&&K.size===0){let[w]=F;N.name=w}let L=t(g,C,f);L==="none"?N.interop="none":L==="node"&&N.interop==="namespace"?N.interop="node-namespace":L==="node"&&N.interop==="default"?N.interop="node-default":u&&N.interop==="namespace"&&(N.interop="default")}return{exportName:T,exportNameListName:null,hasExports:b,local:P,source:S,stringSpecifiers:y}},e.hasExports=function(v){return v.hasExports},e.isSideEffectImport=function(v){return v.imports.size===0&&v.importsNamespace.size===0&&v.reexports.size===0&&v.reexportNamespace.size===0&&!v.reexportAll},e.validateImportInteropOption=d;var r=E("path"),l=E("./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js");function d(v){if(typeof v!="function"&&v!=="none"&&v!=="babel"&&v!=="node")throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${v}).`);return v}function t(v,T,g){return typeof v=="function"?d(v(T,g)):v}function i(v,T){if(v.isIdentifier())return v.node.name;if(v.isStringLiteral()){let g=v.node.value;return(0,l.isIdentifierName)(g)||T.add(g),g}throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${v.node.type}`)}function c(v){if(!v.isExportSpecifier())throw v.isExportNamespaceSpecifier()?v.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-transform-export-namespace-from`."):v.buildCodeFrameError("Unexpected export specifier type")}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,v,T){let g=new Map,p=new Map,h=y=>{c.requeue(y)};for(let[y,P]of v.source){for(let[S,b]of P.imports)g.set(S,[y,b,null]);for(let S of P.importsNamespace)g.set(S,[y,null,S])}for(let[y,P]of v.local){let S=p.get(y);S||(S=[],p.set(y,S)),S.push(...P.names)}let u={metadata:v,requeueInParent:h,scope:c.scope,exported:p};c.traverse(l,u);let f={seen:new WeakSet,metadata:v,requeueInParent:h,scope:c.scope,imported:g,exported:p,buildImportReference([y,P,S],b){let C=v.source.get(y);if(C.referenced=!0,S){var N;return C.wrap&&(b=(N=T(b,C.wrap))!=null?N:b),b}let F=r.types.identifier(C.name);var K;if(C.wrap&&(F=(K=T(F,C.wrap))!=null?K:F),P==="default"&&C.interop==="node-default")return F;let L=v.stringSpecifiers.has(P);return r.types.memberExpression(F,L?r.types.stringLiteral(P):r.types.identifier(P),L)}};c.traverse(i,f)};var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js");let l={Scope(c){c.skip()},ClassDeclaration(c){let{requeueInParent:v,exported:T,metadata:g}=this,{id:p}=c.node;if(!p)throw new Error("Expected class to have a name");let h=p.name,u=T.get(h)||[];if(u.length>0){let f=r.types.expressionStatement(d(g,u,r.types.identifier(h),c.scope));f._blockHoist=c.node._blockHoist,v(c.insertAfter(f)[0])}},VariableDeclaration(c){let{requeueInParent:v,exported:T,metadata:g}=this,p=c.node.kind==="var";for(let h of c.get("declarations")){let{id:u}=h.node,{init:f}=h.node;if(!r.types.isIdentifier(u)||!T.has(u.name)||r.types.isArrowFunctionExpression(f)||r.types.isFunctionExpression(f)&&!f.id||r.types.isClassExpression(f)&&!f.id){for(let y of Object.keys(h.getOuterBindingIdentifiers()))if(T.has(y)){let P=r.types.expressionStatement(d(g,T.get(y),r.types.identifier(y),c.scope));P._blockHoist=c.node._blockHoist,v(c.insertAfter(P)[0])}}else{if(!f){if(p)continue;f=c.scope.buildUndefinedNode()}h.node.init=d(g,T.get(u.name),f,c.scope),v(h.get("init"))}}}},d=(c,v,T,g)=>{let p=c.exportName;for(let h=g;h!=null;h=h.parent)h.hasOwnBinding(p)&&h.rename(p);return(v||[]).reduce((h,u)=>{let{stringSpecifiers:f}=c,y=f.has(u);return r.types.assignmentExpression("=",r.types.memberExpression(r.types.identifier(p),y?r.types.stringLiteral(u):r.types.identifier(u),y),h)},T)},t=c=>r.template.expression.ast`
|
|
328
|
-
(function() {
|
|
329
|
-
throw new Error('"' + '${c}' + '" is read-only.');
|
|
330
|
-
})()
|
|
331
|
-
`,i={ReferencedIdentifier(c){let{seen:v,buildImportReference:T,scope:g,imported:p,requeueInParent:h}=this;if(v.has(c.node))return;v.add(c.node);let u=c.node.name,f=p.get(u);if(f){if((function(S){do switch(S.parent.type){case"TSTypeAnnotation":case"TSTypeAliasDeclaration":case"TSTypeReference":case"TypeAnnotation":case"TypeAlias":return!0;case"ExportSpecifier":return S.parentPath.parent.exportKind==="type";default:if(S.parentPath.isStatement()||S.parentPath.isExpression())return!1}while(S=S.parentPath)})(c))throw c.buildCodeFrameError(`Cannot transform the imported binding "${u}" since it's also used in a type annotation. Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`);let y=c.scope.getBinding(u);if(g.getBinding(u)!==y)return;let P=T(f,c.node);if(P.loc=c.node.loc,(c.parentPath.isCallExpression({callee:c.node})||c.parentPath.isOptionalCallExpression({callee:c.node})||c.parentPath.isTaggedTemplateExpression({tag:c.node}))&&r.types.isMemberExpression(P))c.replaceWith(r.types.sequenceExpression([r.types.numericLiteral(0),P]));else if(c.isJSXIdentifier()&&r.types.isMemberExpression(P)){let{object:S,property:b}=P;c.replaceWith(r.types.jsxMemberExpression(r.types.jsxIdentifier(S.name),r.types.jsxIdentifier(b.name)))}else c.replaceWith(P);h(c),c.skip()}},UpdateExpression(c){let{scope:v,seen:T,imported:g,exported:p,requeueInParent:h,buildImportReference:u}=this;if(T.has(c.node))return;T.add(c.node);let f=c.get("argument");if(f.isMemberExpression())return;let y=c.node;if(f.isIdentifier()){let P=f.node.name;if(v.getBinding(P)!==c.scope.getBinding(P))return;let S=p.get(P),b=g.get(P);if(S?.length>0||b)if(b)c.replaceWith(r.types.assignmentExpression(y.operator[0]+"=",u(b,f.node),t(P)));else if(y.prefix)c.replaceWith(d(this.metadata,S,r.types.cloneNode(y),c.scope));else{let C=v.generateDeclaredUidIdentifier(P);c.replaceWith(r.types.sequenceExpression([r.types.assignmentExpression("=",r.types.cloneNode(C),r.types.cloneNode(y)),d(this.metadata,S,r.types.identifier(P),c.scope),r.types.cloneNode(C)]))}}h(c),c.skip()},AssignmentExpression:{exit(c){let{scope:v,seen:T,imported:g,exported:p,requeueInParent:h,buildImportReference:u}=this;if(T.has(c.node))return;T.add(c.node);let f=c.get("left");if(!f.isMemberExpression())if(f.isIdentifier()){let y=f.node.name;if(v.getBinding(y)!==c.scope.getBinding(y))return;let P=p.get(y),S=g.get(y);if(P?.length>0||S){let b=c.node;S&&(b.left=u(S,f.node),b.right=r.types.sequenceExpression([b.right,t(y)]));let{operator:C}=b,N;N=C==="="?b:C==="&&="||C==="||="||C==="??="?r.types.assignmentExpression("=",b.left,r.types.logicalExpression(C.slice(0,-1),r.types.cloneNode(b.left),b.right)):r.types.assignmentExpression("=",b.left,r.types.binaryExpression(C.slice(0,-1),r.types.cloneNode(b.left),b.right)),c.replaceWith(d(this.metadata,P,N,c.scope)),h(c),c.skip()}}else{let y=f.getOuterBindingIdentifiers(),P=Object.keys(y).filter(C=>v.getBinding(C)===c.scope.getBinding(C)),S=P.find(C=>g.has(C));S&&(c.node.right=r.types.sequenceExpression([c.node.right,t(S)]));let b=[];if(P.forEach(C=>{let N=p.get(C)||[];N.length>0&&b.push(d(this.metadata,N,r.types.identifier(C),c.scope))}),b.length>0){let C=r.types.sequenceExpression(b);c.parentPath.isExpressionStatement()&&(C=r.types.expressionStatement(C),C._blockHoist=c.parentPath.node._blockHoist),h(c.insertAfter(C)[0])}}}},ForXStatement(c){let{scope:v,node:T}=c,{left:g}=T,{exported:p,imported:h,scope:u}=this;if(!r.types.isVariableDeclaration(g)){let f,y=!1,P=c.get("body").scope;for(let C of Object.keys(r.types.getOuterBindingIdentifiers(g)))u.getBinding(C)===v.getBinding(C)&&(p.has(C)&&(y=!0,P.hasOwnBinding(C)&&P.rename(C)),h.has(C)&&!f&&(f=C));if(!y&&!f)return;c.ensureBlock();let S=c.get("body"),b=v.generateUidIdentifierBasedOnNode(g);c.get("left").replaceWith(r.types.variableDeclaration("let",[r.types.variableDeclarator(r.types.cloneNode(b))])),v.registerDeclaration(c.get("left")),y&&S.unshiftContainer("body",r.types.expressionStatement(r.types.assignmentExpression("=",g,b))),f&&S.unshiftContainer("body",r.types.expressionStatement(t(f)))}}}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){d||(d=l.visitors.environmentVisitor({ThisExpression(i){i.replaceWith(r.types.unaryExpression("void",r.types.numericLiteral(0),!0))}}),d.noScope=!0),(0,l.default)(t.node,d)};var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),l=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js");let d},"./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.27.1/node_modules/@babel/helper-optimise-call-expression/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(g,p,h,u){return h.length===1&&i(h[0])&&t(h[0].argument,{name:"arguments"})?u?v(T(g,d("apply"),!1,!0),[p,h[0].argument],!1):l(c(g,d("apply")),[p,h[0].argument]):u?v(T(g,d("call"),!1,!0),[p,...h],!1):l(c(g,d("call")),[p,...h])};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{callExpression:l,identifier:d,isIdentifier:t,isSpreadElement:i,memberExpression:c,optionalCallExpression:v,optionalMemberExpression:T}=r},"./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.declare=r,e.declarePreset=void 0;let E={assertVersion:d=>t=>{(function(i,c){if(typeof i=="number"){if(!Number.isInteger(i))throw new Error("Expected string or integer value.");i=`^${i}.0.0-0`}if(typeof i!="string")throw new Error("Expected string or integer value.");let v=Error.stackTraceLimit;typeof v=="number"&&v<25&&(Error.stackTraceLimit=25);let T;throw T=c.slice(0,2)==="7."?new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${c}". You'll need to update your @babel/core version.`):new Error(`Requires Babel "${i}", but was loaded with "${c}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`),typeof v=="number"&&(Error.stackTraceLimit=v),Object.assign(T,{code:"BABEL_VERSION_UNSUPPORTED",version:c,range:i})})(t,d.version)}};function r(d){return(t,i,c)=>{let v;for(let T of Object.keys(E))t[T]||(v!=null||(v=l(t)),v[T]=E[T](v));return d(v??t,i||{},c)}}Object.assign(E,{targets:()=>()=>({}),assumption:()=>()=>{},addExternalDependency:()=>()=>{}}),e.declarePreset=r;function l(d){let t=null;return typeof d.version=="string"&&/^7\./.test(d.version)&&(t=Object.getPrototypeOf(d),!t||hasOwnProperty.call(t,"version")&&hasOwnProperty.call(t,"transform")&&hasOwnProperty.call(t,"template")&&hasOwnProperty.call(t,"types")||(t=null)),Object.assign({},t,d)}},"./node_modules/.pnpm/@babel+helper-replace-supers@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-replace-supers/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.27.1/node_modules/@babel/helper-member-expression-to-functions/lib/index.js"),l=E("./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.27.1/node_modules/@babel/helper-optimise-call-expression/lib/index.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),t=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js");let{assignmentExpression:i,callExpression:c,cloneNode:v,identifier:T,memberExpression:g,sequenceExpression:p,stringLiteral:h,thisExpression:u}=d.types;e.environmentVisitor=t.visitors.environmentVisitor({}),e.skipAllButComputedKey=function(C){C.skip(),C.node.computed&&C.context.maybeQueue(C.get("key"))};let f=t.visitors.environmentVisitor({Super(C,N){let{node:F,parentPath:K}=C;K.isMemberExpression({object:F})&&N.handle(K)}}),y=t.visitors.environmentVisitor({Scopable(C,{refName:N}){let F=C.scope.getOwnBinding(N);F&&F.identifier.name===N&&C.scope.rename(N)}}),P={memoise(C,N){let{scope:F,node:K}=C,{computed:L,property:w}=K;if(!L)return;let O=F.maybeGenerateMemoised(w);O&&this.memoiser.set(w,O,N)},prop(C){let{computed:N,property:F}=C.node;return this.memoiser.has(F)?v(this.memoiser.get(F)):N?v(F):h(F.name)},_getPrototypeOfExpression(){let C=v(this.getObjectRef()),N=this.isStatic||this.isPrivateMethod?C:g(C,T("prototype"));return c(this.file.addHelper("getPrototypeOf"),[N])},get(C){let N=v(this.getObjectRef());return c(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?p([u(),N]):N,this.prop(C),u(),...this.isStatic||this.isPrivateMethod?[]:[d.types.numericLiteral(1)]])},_call(C,N,F){let K=v(this.getObjectRef()),L;L=N.length===1&&d.types.isSpreadElement(N[0])&&(d.types.isIdentifier(N[0].argument)||d.types.isArrayExpression(N[0].argument))?N[0].argument:d.types.arrayExpression(N);let w=d.types.callExpression(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?p([u(),K]):K,this.prop(C),u(),d.types.numericLiteral(2|(this.isStatic||this.isPrivateMethod?0:1))]);return F?d.types.optionalCallExpression(w,[L],!0):c(w,[L])},set(C,N){let F=v(this.getObjectRef());return c(this.file.addHelper("superPropSet"),[this.isDerivedConstructor?p([u(),F]):F,this.prop(C),N,u(),d.types.numericLiteral(C.isInStrictMode()?1:0),...this.isStatic||this.isPrivateMethod?[]:[d.types.numericLiteral(1)]])},destructureSet(C){throw C.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(C,N){return this._call(C,N,!1)},optionalCall(C,N){return this._call(C,N,!0)},delete(C){return C.node.computed?p([c(this.file.addHelper("toPropertyKey"),[v(C.node.property)]),d.template.expression.ast`
|
|
332
|
-
function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
|
|
333
|
-
`]):d.template.expression.ast`
|
|
334
|
-
function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
|
|
335
|
-
`}},S={memoise(C,N){let{scope:F,node:K}=C,{computed:L,property:w}=K;if(!L)return;let O=F.maybeGenerateMemoised(w);O&&this.memoiser.set(w,O,N)},prop(C){let{computed:N,property:F}=C.node;return this.memoiser.has(F)?v(this.memoiser.get(F)):N?v(F):h(F.name)},_getPrototypeOfExpression(){let C=v(this.getObjectRef()),N=this.isStatic||this.isPrivateMethod?C:g(C,T("prototype"));return c(this.file.addHelper("getPrototypeOf"),[N])},get(C){return this._get(C)},_get(C){let N=this._getPrototypeOfExpression();return c(this.file.addHelper("get"),[this.isDerivedConstructor?p([u(),N]):N,this.prop(C),u()])},set(C,N){let F=this._getPrototypeOfExpression();return c(this.file.addHelper("set"),[this.isDerivedConstructor?p([u(),F]):F,this.prop(C),N,u(),d.types.booleanLiteral(C.isInStrictMode())])},destructureSet(C){throw C.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(C,N){return(0,l.default)(this._get(C),u(),N,!1)},optionalCall(C,N){return(0,l.default)(this._get(C),v(u()),N,!0)},delete(C){return C.node.computed?p([c(this.file.addHelper("toPropertyKey"),[v(C.node.property)]),d.template.expression.ast`
|
|
336
|
-
function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
|
|
337
|
-
`]):d.template.expression.ast`
|
|
338
|
-
function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
|
|
339
|
-
`}},b=Object.assign({},P,{prop(C){let{property:N}=C.node;return this.memoiser.has(N)?v(this.memoiser.get(N)):v(N)},get(C){let{isStatic:N,getSuperRef:F}=this,{computed:K}=C.node,L=this.prop(C),w;var O,z;return N?w=(O=F())!=null?O:g(T("Function"),T("prototype")):w=g((z=F())!=null?z:T("Object"),T("prototype")),g(w,L,K)},set(C,N){let{computed:F}=C.node,K=this.prop(C);return i("=",g(u(),K,F),N)},destructureSet(C){let{computed:N}=C.node,F=this.prop(C);return g(u(),F,N)},call(C,N){return(0,l.default)(this.get(C),u(),N,!1)},optionalCall(C,N){return(0,l.default)(this.get(C),u(),N,!0)}});e.default=class{constructor(C){var N;let F=C.methodPath;this.methodPath=F,this.isDerivedConstructor=F.isClassMethod({kind:"constructor"})&&!!C.superRef,this.isStatic=F.isObjectMethod()||F.node.static||(F.isStaticBlock==null?void 0:F.isStaticBlock()),this.isPrivateMethod=F.isPrivate()&&F.isMethod(),this.file=C.file,this.constantSuper=(N=C.constantSuper)!=null?N:C.isLoose,this.opts=C}getObjectRef(){return v(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){return this.opts.superRef?v(this.opts.superRef):this.opts.getSuperRef?v(this.opts.getSuperRef()):void 0}replace(){let{methodPath:C}=this;this.opts.refToPreserve&&C.traverse(y,{refName:this.opts.refToPreserve.name});let N=this.constantSuper?b:this.file.availableHelper("superPropSet")?P:S;f.shouldSkip=F=>{if(F.parentPath===C&&(F.parentKey==="decorators"||F.parentKey==="key"))return!0},(0,r.default)(C,f,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:N.get},N))}}},"./node_modules/.pnpm/@babel+helper-simple-access@7.27.1/node_modules/@babel/helper-simple-access/lib/index.js":(ee,e,E)=>{"use strict";e.A=function(u,f){var y;u.traverse(h,{scope:u.scope,bindingNames:f,seen:new WeakSet,includeUpdateExpression:(y=arguments[2])==null||y})};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{LOGICAL_OPERATORS:l,assignmentExpression:d,binaryExpression:t,cloneNode:i,identifier:c,logicalExpression:v,numericLiteral:T,sequenceExpression:g,unaryExpression:p}=r,h={AssignmentExpression:{exit(u){let{scope:f,seen:y,bindingNames:P}=this;if(u.node.operator==="="||y.has(u.node))return;y.add(u.node);let S=u.get("left");if(!S.isIdentifier())return;let b=S.node.name;if(!P.has(b)||f.getBinding(b)!==u.scope.getBinding(b))return;let C=u.node.operator.slice(0,-1);l.includes(C)?u.replaceWith(v(C,u.node.left,d("=",i(u.node.left),u.node.right))):(u.node.right=t(C,i(u.node.left),u.node.right),u.node.operator="=")}}};h.UpdateExpression={exit(u){if(!this.includeUpdateExpression)return;let{scope:f,bindingNames:y}=this,P=u.get("argument");if(!P.isIdentifier())return;let S=P.node.name;if(y.has(S)&&f.getBinding(S)===u.scope.getBinding(S))if(u.parentPath.isExpressionStatement()&&!u.isCompletionRecord()){let b=u.node.operator==="++"?"+=":"-=";u.replaceWith(d(b,P.node,T(1)))}else if(u.node.prefix)u.replaceWith(d("=",c(S),t(u.node.operator[0],p("+",P.node),T(1))));else{let b=u.scope.generateUidIdentifierBasedOnNode(P.node,"old"),C=b.name;u.scope.push({id:b});let N=t(u.node.operator[0],c(C),T(1));u.replaceWith(g([d("=",c(C),p("+",P.node)),d("=",i(P.node),N),c(C)]))}}}},"./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.27.1/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isTransparentExprWrapper=T,e.skipTransparentExprWrapperNodes=function(g){for(;T(g);)g=g.expression;return g},e.skipTransparentExprWrappers=function(g){for(;T(g.node);)g=g.get("expression");return g};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{isParenthesizedExpression:l,isTSAsExpression:d,isTSNonNullExpression:t,isTSSatisfiesExpression:i,isTSTypeAssertion:c,isTypeCastExpression:v}=r;function T(g){return d(g)||i(g)||c(g)||t(g)||v(g)||l(g)}},"./node_modules/.pnpm/@babel+helper-string-parser@7.27.1/node_modules/@babel/helper-string-parser/lib/index.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readCodePoint=v,e.readInt=c,e.readStringContents=function(T,g,p,h,u,f){let y=p,P=h,S=u,b="",C=null,N=p,{length:F}=g;for(;;){if(p>=F){f.unterminated(y,P,S),b+=g.slice(N,p);break}let K=g.charCodeAt(p);if(d(T,K,g,p)){b+=g.slice(N,p);break}if(K===92){b+=g.slice(N,p);let L=t(g,p,h,u,T==="template",f);L.ch!==null||C?b+=L.ch:C={pos:p,lineStart:h,curLine:u},{pos:p,lineStart:h,curLine:u}=L,N=p}else K===8232||K===8233?(++u,h=++p):K===10||K===13?T==="template"?(b+=g.slice(N,p)+`
|
|
340
|
-
`,++p,K===13&&g.charCodeAt(p)===10&&++p,++u,N=h=p):f.unterminated(y,P,S):++p}return{pos:p,str:b,firstInvalidLoc:C,lineStart:h,curLine:u,containsInvalid:!!C}};var E=function(T){return T>=48&&T<=57};let r={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},l={bin:T=>T===48||T===49,oct:T=>T>=48&&T<=55,dec:T=>T>=48&&T<=57,hex:T=>T>=48&&T<=57||T>=65&&T<=70||T>=97&&T<=102};function d(T,g,p,h){return T==="template"?g===96||g===36&&p.charCodeAt(h+1)===123:g===(T==="double"?34:39)}function t(T,g,p,h,u,f){let y=!u;g++;let P=b=>({pos:g,ch:b,lineStart:p,curLine:h}),S=T.charCodeAt(g++);switch(S){case 110:return P(`
|
|
341
|
-
`);case 114:return P("\r");case 120:{let b;return{code:b,pos:g}=i(T,g,p,h,2,!1,y,f),P(b===null?null:String.fromCharCode(b))}case 117:{let b;return{code:b,pos:g}=v(T,g,p,h,y,f),P(b===null?null:String.fromCodePoint(b))}case 116:return P(" ");case 98:return P("\b");case 118:return P("\v");case 102:return P("\f");case 13:T.charCodeAt(g)===10&&++g;case 10:p=g,++h;case 8232:case 8233:return P("");case 56:case 57:if(u)return P(null);f.strictNumericEscape(g-1,p,h);default:if(S>=48&&S<=55){let b=g-1,C=/^[0-7]+/.exec(T.slice(b,g+2))[0],N=parseInt(C,8);N>255&&(C=C.slice(0,-1),N=parseInt(C,8)),g+=C.length-1;let F=T.charCodeAt(g);if(C!=="0"||F===56||F===57){if(u)return P(null);f.strictNumericEscape(b,p,h)}return P(String.fromCharCode(N))}return P(String.fromCharCode(S))}}function i(T,g,p,h,u,f,y,P){let S=g,b;return{n:b,pos:g}=c(T,g,p,h,16,u,f,!1,P,!y),b===null&&(y?P.invalidEscapeSequence(S,p,h):g=S-1),{code:b,pos:g}}function c(T,g,p,h,u,f,y,P,S,b){let C=g,N=u===16?r.hex:r.decBinOct,F=u===16?l.hex:u===10?l.dec:u===8?l.oct:l.bin,K=!1,L=0;for(let w=0,O=f??1/0;w<O;++w){let z=T.charCodeAt(g),te;if(z===95&&P!=="bail"){let $=T.charCodeAt(g-1),D=T.charCodeAt(g+1);if(P){if(Number.isNaN(D)||!F(D)||N.has($)||N.has(D)){if(b)return{n:null,pos:g};S.unexpectedNumericSeparator(g,p,h)}}else{if(b)return{n:null,pos:g};S.numericSeparatorInEscapeSequence(g,p,h)}++g;continue}if(te=z>=97?z-97+10:z>=65?z-65+10:E(z)?z-48:1/0,te>=u){if(te<=9&&b)return{n:null,pos:g};if(te<=9&&S.invalidDigit(g,p,h,u))te=0;else{if(!y)break;te=0,K=!0}}++g,L=L*u+te}return g===C||f!=null&&g-C!==f||K?{n:null,pos:g}:{n:L,pos:g}}function v(T,g,p,h,u,f){let y;if(T.charCodeAt(g)===123){if(++g,{code:y,pos:g}=i(T,g,p,h,T.indexOf("}",g)-g,!0,u,f),++g,y!==null&&y>1114111){if(!u)return{code:null,pos:g};f.invalidCodePoint(g,p,h)}}else({code:y,pos:g}=i(T,g,p,h,4,!1,u,f));return{code:y,pos:g}}},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentifierChar=T,e.isIdentifierName=function(g){let p=!0;for(let h=0;h<g.length;h++){let u=g.charCodeAt(h);if((64512&u)==55296&&h+1<g.length){let f=g.charCodeAt(++h);(64512&f)==56320&&(u=65536+((1023&u)<<10)+(1023&f))}if(p){if(p=!1,!v(u))return!1}else if(!T(u))return!1}return!p},e.isIdentifierStart=v;let E="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",r="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",l=new RegExp("["+E+"]"),d=new RegExp("["+E+r+"]");E=r=null;let t=[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],i=[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];function c(g,p){let h=65536;for(let u=0,f=p.length;u<f;u+=2){if(h+=p[u],h>g)return!1;if(h+=p[u+1],h>=g)return!0}return!1}function v(g){return g<65?g===36:g<=90||(g<97?g===95:g<=122||(g<=65535?g>=170&&l.test(String.fromCharCode(g)):c(g,t)))}function T(g){return g<48?g===36:g<58||!(g<65)&&(g<=90||(g<97?g===95:g<=122||(g<=65535?g>=170&&d.test(String.fromCharCode(g)):c(g,t)||c(g,i))))}},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isIdentifierChar",{enumerable:!0,get:function(){return r.isIdentifierChar}}),Object.defineProperty(e,"isIdentifierName",{enumerable:!0,get:function(){return r.isIdentifierName}}),Object.defineProperty(e,"isIdentifierStart",{enumerable:!0,get:function(){return r.isIdentifierStart}}),Object.defineProperty(e,"isKeyword",{enumerable:!0,get:function(){return l.isKeyword}}),Object.defineProperty(e,"isReservedWord",{enumerable:!0,get:function(){return l.isReservedWord}}),Object.defineProperty(e,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return l.isStrictBindOnlyReservedWord}}),Object.defineProperty(e,"isStrictBindReservedWord",{enumerable:!0,get:function(){return l.isStrictBindReservedWord}}),Object.defineProperty(e,"isStrictReservedWord",{enumerable:!0,get:function(){return l.isStrictReservedWord}});var r=E("./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js"),l=E("./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js")},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isKeyword=function(T){return l.has(T)},e.isReservedWord=i,e.isStrictBindOnlyReservedWord=v,e.isStrictBindReservedWord=function(T,g){return c(T,g)||v(T)},e.isStrictReservedWord=c;let E=["implements","interface","let","package","private","protected","public","static","yield"],r=["eval","arguments"],l=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),d=new Set(E),t=new Set(r);function i(T,g){return g&&T==="await"||T==="enum"}function c(T,g){return i(T,g)||d.has(T)}function v(T){return t.has(T)}},"./node_modules/.pnpm/@babel+helper-validator-option@7.27.1/node_modules/@babel/helper-validator-option/lib/find-suggestion.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findSuggestion=function(r,l){let d=l.map(t=>(function(i,c){let v,T,g=[],p=[],h=i.length,u=c.length;if(!h)return u;if(!u)return h;for(T=0;T<=u;T++)g[T]=T;for(v=1;v<=h;v++){for(p=[v],T=1;T<=u;T++)p[T]=i[v-1]===c[T-1]?g[T-1]:E(g[T-1],g[T],p[T-1])+1;g=p}return p[u]})(t,r));return l[d.indexOf(E(...d))]};let{min:E}=Math},"./node_modules/.pnpm/@babel+helper-validator-option@7.27.1/node_modules/@babel/helper-validator-option/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"OptionValidator",{enumerable:!0,get:function(){return r.OptionValidator}}),Object.defineProperty(e,"findSuggestion",{enumerable:!0,get:function(){return l.findSuggestion}});var r=E("./node_modules/.pnpm/@babel+helper-validator-option@7.27.1/node_modules/@babel/helper-validator-option/lib/validator.js"),l=E("./node_modules/.pnpm/@babel+helper-validator-option@7.27.1/node_modules/@babel/helper-validator-option/lib/find-suggestion.js")},"./node_modules/.pnpm/@babel+helper-validator-option@7.27.1/node_modules/@babel/helper-validator-option/lib/validator.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OptionValidator=void 0;var r=E("./node_modules/.pnpm/@babel+helper-validator-option@7.27.1/node_modules/@babel/helper-validator-option/lib/find-suggestion.js");e.OptionValidator=class{constructor(l){this.descriptor=l}validateTopLevelOptions(l,d){let t=Object.keys(d);for(let i of Object.keys(l))if(!t.includes(i))throw new Error(this.formatMessage(`'${i}' is not a valid top-level option.
|
|
342
|
-
- Did you mean '${(0,r.findSuggestion)(i,t)}'?`))}validateBooleanOption(l,d,t){return d===void 0?t:(this.invariant(typeof d=="boolean",`'${l}' option must be a boolean.`),d)}validateStringOption(l,d,t){return d===void 0?t:(this.invariant(typeof d=="string",`'${l}' option must be a string.`),d)}invariant(l,d){if(!l)throw new Error(this.formatMessage(d))}formatMessage(l){return`${this.descriptor}: ${l}`}}},"./node_modules/.pnpm/@babel+helpers@7.27.6/node_modules/@babel/helpers/lib/helpers-generated.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/index.js");function l(t,i,c){return Object.freeze({minVersion:t,ast:()=>r.default.program.ast(i,{preserveComments:!0}),metadata:c})}let d=e.default={__proto__:null,OverloadYield:l("7.18.14","function _OverloadYield(e,d){this.v=e,this.k=d}",{globals:[],locals:{_OverloadYield:["body.0.id"]},exportBindingAssignments:[],exportName:"_OverloadYield",dependencies:{},internal:!1}),applyDecoratedDescriptor:l("7.0.0-beta.0",'function _applyDecoratedDescriptor(i,e,r,n,l){var a={};return Object.keys(n).forEach((function(i){a[i]=n[i]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce((function(r,n){return n(i,e,r)||r}),a),l&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(l):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(i,e,a),null):a}',{globals:["Object"],locals:{_applyDecoratedDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_applyDecoratedDescriptor",dependencies:{},internal:!1}),applyDecs2311:l("7.24.0",'function applyDecs2311(e,t,n,r,o,i){var a,c,u,s,f,l,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,h=Object.create,y=[h(null),h(null)],v=t.length;function g(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function b(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function applyDec(e,t,n,r,o,i,u,s,f,l,p){function d(e){if(!p(e))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(t[0]),v=t[3],w=!u,D=1===o,S=3===o,j=4===o,E=2===o;function I(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),P[t].call(o,i)}}if(!w){var P={},k=[],F=S?"get":j||D?"set":"value";if(f?(l||D?P={get:setFunctionName((function(){return v(this)}),r,"get"),set:function(e){t[4](this,e)}}:P[F]=v,l||setFunctionName(P[F],r,E?"":F)):l||(P=Object.getOwnPropertyDescriptor(e,r)),!l&&!f){if((c=y[+s][r])&&7!=(c^o))throw Error("Decorating two elements with the same name ("+P[F].name+") is not supported yet");y[+s][r]=o<3?1:o}}for(var N=e,O=h.length-1;O>=0;O-=n?2:1){var T=b(h[O],"A decorator","be",!0),z=n?h[O-1]:void 0,A={},H={kind:["field","accessor","method","getter","setter","class"][o],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");b(t,"An initializer","be",!0),i.push(t)}.bind(null,A)};if(w)c=T.call(z,N,H),A.v=1,b(c,"class decorators","return")&&(N=c);else if(H.static=s,H.private=f,c=H.access={has:f?p.bind():function(e){return r in e}},j||(c.get=f?E?function(e){return d(e),P.value}:I("get",0,d):function(e){return e[r]}),E||S||(c.set=f?I("set",0,d):function(e,t){e[r]=t}),N=T.call(z,D?{get:P.get,set:P.set}:P[F],H),A.v=1,D){if("object"==typeof N&&N)(c=b(N.get,"accessor.get"))&&(P.get=c),(c=b(N.set,"accessor.set"))&&(P.set=c),(c=b(N.init,"accessor.init"))&&k.unshift(c);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else b(N,(l?"field":"method")+" decorators","return")&&(l?k.unshift(N):P[F]=N)}return o<2&&u.push(g(k,s,1),g(i,s,0)),l||w||(f?D?u.splice(-1,0,I("get",s),I("set",s)):u.push(E?P[F]:b.call.bind(P[F])):m(e,r,P)),N}function w(e){return m(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),f=[],l=function(e){e&&f.push(g(e))},p=function(t,r){for(var i=0;i<n.length;i++){var a=n[i],c=a[1],l=7&c;if((8&c)==t&&!l==r){var p=a[2],d=!!a[3],m=16&c;applyDec(t?e:e.prototype,a,m,d?"#"+p:toPropertyKey(p),l,l<2?[]:t?s=s||[]:u=u||[],f,!!t,d,r,t&&d?function(t){return checkInRHS(t)===e}:o)}}},p(8,0),p(0,0),p(8,1),p(0,1),l(u),l(s),c=f,v||w(e),{e:c,get c(){var n=[];return v&&[w(e=applyDec(e,[t],r,e.name,5,n)),g(n,1)]}}}',{globals:["Symbol","Object","TypeError","Error"],locals:{applyDecs2311:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2311",dependencies:{checkInRHS:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.10.consequent.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.3.alternate.callee"]},internal:!1}),arrayLikeToArray:l("7.9.0","function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}",{globals:["Array"],locals:{_arrayLikeToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayLikeToArray",dependencies:{},internal:!1}),arrayWithHoles:l("7.0.0-beta.0","function _arrayWithHoles(r){if(Array.isArray(r))return r}",{globals:["Array"],locals:{_arrayWithHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithHoles",dependencies:{},internal:!1}),arrayWithoutHoles:l("7.0.0-beta.0","function _arrayWithoutHoles(r){if(Array.isArray(r))return arrayLikeToArray(r)}",{globals:["Array"],locals:{_arrayWithoutHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithoutHoles",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.argument.callee"]},internal:!1}),assertClassBrand:l("7.24.0",'function _assertClassBrand(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}',{globals:["TypeError"],locals:{_assertClassBrand:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertClassBrand",dependencies:{},internal:!1}),assertThisInitialized:l("7.0.0-beta.0",`function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}`,{globals:["ReferenceError"],locals:{_assertThisInitialized:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertThisInitialized",dependencies:{},internal:!1}),asyncGeneratorDelegate:l("7.0.0-beta.0",'function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise((function(n){n(t[e](r))})),{done:!1,value:new OverloadYield(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):pump("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(n)throw n=!1,t;return pump("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return n?(n=!1,t):pump("return",t)}),e}',{globals:["Promise","Symbol"],locals:{_asyncGeneratorDelegate:["body.0.id"]},exportBindingAssignments:[],exportName:"_asyncGeneratorDelegate",dependencies:{OverloadYield:["body.0.body.body.1.body.body.0.argument.expressions.2.properties.1.value.callee"]},internal:!1}),asyncIterator:l("7.15.9",'function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then((function(r){return{value:r,done:n}}))}return AsyncFromSyncIterator=function(r){this.s=r,this.n=r.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(r){var n=this.s.return;return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))},throw:function(r){var n=this.s.return;return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))}},new AsyncFromSyncIterator(r)}',{globals:["Symbol","TypeError","Object","Promise"],locals:{_asyncIterator:["body.0.id"],AsyncFromSyncIterator:["body.1.id","body.0.body.body.1.body.body.1.consequent.argument.callee","body.1.body.body.1.argument.expressions.1.left.object","body.1.body.body.1.argument.expressions.2.callee","body.1.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:[],exportName:"_asyncIterator",dependencies:{},internal:!1}),asyncToGenerator:l("7.0.0-beta.0",'function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise((function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)}))}}',{globals:["Promise"],locals:{asyncGeneratorStep:["body.0.id","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.1.body.body.0.expression.callee","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.2.body.body.0.expression.callee"],_asyncToGenerator:["body.1.id"]},exportBindingAssignments:[],exportName:"_asyncToGenerator",dependencies:{},internal:!1}),awaitAsyncGenerator:l("7.0.0-beta.0","function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}",{globals:[],locals:{_awaitAsyncGenerator:["body.0.id"]},exportBindingAssignments:[],exportName:"_awaitAsyncGenerator",dependencies:{OverloadYield:["body.0.body.body.0.argument.callee"]},internal:!1}),callSuper:l("7.23.8","function _callSuper(t,o,e){return o=getPrototypeOf(o),possibleConstructorReturn(t,isNativeReflectConstruct()?Reflect.construct(o,e||[],getPrototypeOf(t).constructor):o.apply(t,e))}",{globals:["Reflect"],locals:{_callSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_callSuper",dependencies:{getPrototypeOf:["body.0.body.body.0.argument.expressions.0.right.callee","body.0.body.body.0.argument.expressions.1.arguments.1.consequent.arguments.2.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.argument.expressions.1.arguments.1.test.callee"],possibleConstructorReturn:["body.0.body.body.0.argument.expressions.1.callee"]},internal:!1}),checkInRHS:l("7.20.5",`function _checkInRHS(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?typeof e:"null"));return e}`,{globals:["Object","TypeError"],locals:{_checkInRHS:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkInRHS",dependencies:{},internal:!1}),checkPrivateRedeclaration:l("7.14.1",'function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}',{globals:["TypeError"],locals:{_checkPrivateRedeclaration:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkPrivateRedeclaration",dependencies:{},internal:!1}),classCallCheck:l("7.0.0-beta.0",'function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}',{globals:["TypeError"],locals:{_classCallCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCallCheck",dependencies:{},internal:!1}),classNameTDZError:l("7.0.0-beta.0",`function _classNameTDZError(e){throw new ReferenceError('Class "'+e+'" cannot be referenced in computed property keys.')}`,{globals:["ReferenceError"],locals:{_classNameTDZError:["body.0.id"]},exportBindingAssignments:[],exportName:"_classNameTDZError",dependencies:{},internal:!1}),classPrivateFieldGet2:l("7.24.0","function _classPrivateFieldGet2(s,a){return s.get(assertClassBrand(s,a))}",{globals:[],locals:{_classPrivateFieldGet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]},internal:!1}),classPrivateFieldInitSpec:l("7.14.1","function _classPrivateFieldInitSpec(e,t,a){checkPrivateRedeclaration(e,t),t.set(e,a)}",{globals:[],locals:{_classPrivateFieldInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]},internal:!1}),classPrivateFieldLooseBase:l("7.0.0-beta.0",'function _classPrivateFieldBase(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}',{globals:["TypeError"],locals:{_classPrivateFieldBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldBase",dependencies:{},internal:!1}),classPrivateFieldLooseKey:l("7.0.0-beta.0",'var id=0;function _classPrivateFieldKey(e){return"__private_"+id+++"_"+e}',{globals:[],locals:{id:["body.0.declarations.0.id","body.1.body.body.0.argument.left.left.right.argument","body.1.body.body.0.argument.left.left.right.argument"],_classPrivateFieldKey:["body.1.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldKey",dependencies:{},internal:!1}),classPrivateFieldSet2:l("7.24.0","function _classPrivateFieldSet2(s,a,r){return s.set(assertClassBrand(s,a),r),r}",{globals:[],locals:{_classPrivateFieldSet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]},internal:!1}),classPrivateGetter:l("7.24.0","function _classPrivateGetter(s,r,a){return a(assertClassBrand(s,r))}",{globals:[],locals:{_classPrivateGetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateGetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]},internal:!1}),classPrivateMethodInitSpec:l("7.14.1","function _classPrivateMethodInitSpec(e,a){checkPrivateRedeclaration(e,a),a.add(e)}",{globals:[],locals:{_classPrivateMethodInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]},internal:!1}),classPrivateSetter:l("7.24.0","function _classPrivateSetter(s,r,a,t){return r(assertClassBrand(s,a),t),t}",{globals:[],locals:{_classPrivateSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateSetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]},internal:!1}),classStaticPrivateMethodGet:l("7.3.2","function _classStaticPrivateMethodGet(s,a,t){return assertClassBrand(a,s),t}",{globals:[],locals:{_classStaticPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]},internal:!1}),construct:l("7.0.0-beta.0","function _construct(t,e,r){if(isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o));return r&&setPrototypeOf(p,r.prototype),p}",{globals:["Reflect"],locals:{_construct:["body.0.id"]},exportBindingAssignments:[],exportName:"_construct",dependencies:{isNativeReflectConstruct:["body.0.body.body.0.test.callee"],setPrototypeOf:["body.0.body.body.4.argument.expressions.0.right.callee"]},internal:!1}),createClass:l("7.0.0-beta.0",'function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,toPropertyKey(o.key),o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}',{globals:["Object"],locals:{_defineProperties:["body.0.id","body.1.body.body.0.argument.expressions.0.right.callee","body.1.body.body.0.argument.expressions.1.right.callee"],_createClass:["body.1.id"]},exportBindingAssignments:[],exportName:"_createClass",dependencies:{toPropertyKey:["body.0.body.body.0.body.body.1.expression.expressions.3.arguments.1.callee"]},internal:!1}),createForOfIteratorHelper:l("7.9.0",'function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var n=0,F=function(){};return{s:F,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(r)},n:function(){var r=t.next();return a=r.done,r},e:function(r){u=!0,o=r},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelper",dependencies:{unsupportedIterableToArray:["body.0.body.body.1.consequent.body.0.test.left.right.right.callee"]},internal:!1}),createForOfIteratorHelperLoose:l("7.9.0",'function _createForOfIteratorHelperLoose(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelperLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelperLoose",dependencies:{unsupportedIterableToArray:["body.0.body.body.2.test.left.right.right.callee"]},internal:!1}),createSuper:l("7.9.0","function _createSuper(t){var r=isNativeReflectConstruct();return function(){var e,o=getPrototypeOf(t);if(r){var s=getPrototypeOf(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return possibleConstructorReturn(this,e)}}",{globals:["Reflect"],locals:{_createSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.body.body.0.declarations.1.init.callee","body.0.body.body.1.argument.body.body.1.consequent.body.0.declarations.0.init.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.declarations.0.init.callee"],possibleConstructorReturn:["body.0.body.body.1.argument.body.body.2.argument.callee"]},internal:!1}),decorate:l("7.1.5",`function _decorate(e,r,t,i){var o=_getDecoratorsApi();if(i)for(var n=0;n<i.length;n++)o=i[n](o);var s=r((function(e){o.initializeInstanceElements(e,a.elements)}),t),a=o.decorateClass(_coalesceClassElements(s.d.map(_createElementDescriptor)),e);return o.initializeClassElements(s.F,a.elements),o.runClassFinishers(s.F,a.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var o=r.placement;if(r.kind===i&&("static"===o||"prototype"===o)){var n="static"===o?e:t;this.defineClassElement(n,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],o={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,o)}),this),e.forEach((function(e){if(!_hasDecorators(e))return t.push(e);var r=this.decorateElement(e,o);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var n=this.decorateConstructor(t,r);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],o=e.decorators,n=o.length-1;n>=0;n--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,o[n])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var p=0;p<c.length;p++)this.addElementPlacement(c[p],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var o=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,r[i])(o)||o);if(void 0!==n.finisher&&t.push(n.finisher),void 0!==n.elements){e=n.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){if(void 0!==e)return toArray(e).map((function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this)},toElementDescriptor:function(e){var r=e.kind+"";if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=toPropertyKey(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var o=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:r,key:t,placement:i,descriptor:Object.assign({},o)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(o,"get","The property descriptor of a field descriptor"),this.disallowProperty(o,"set","The property descriptor of a field descriptor"),this.disallowProperty(o,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:_optionalCallableProperty(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=e.kind+"";if("class"!==r)throw new TypeError('A class descriptor\\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=_optionalCallableProperty(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function _createElementDescriptor(e){var r,t=toPropertyKey(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function _coalesceGetterSetter(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function _coalesceClassElements(e){for(var r=[],isSameElement=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},t=0;t<e.length;t++){var i,o=e[t];if("method"===o.kind&&(i=r.find(isSameElement)))if(_isDataDescriptor(o.descriptor)||_isDataDescriptor(i.descriptor)){if(_hasDecorators(o)||_hasDecorators(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(_hasDecorators(o)){if(_hasDecorators(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}_coalesceGetterSetter(o,i)}else r.push(o)}return r}function _hasDecorators(e){return e.decorators&&e.decorators.length}function _isDataDescriptor(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function _optionalCallableProperty(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}`,{globals:["Object","TypeError","Symbol","ReferenceError"],locals:{_decorate:["body.0.id"],_getDecoratorsApi:["body.1.id","body.0.body.body.0.declarations.0.init.callee","body.1.body.body.0.expression.left"],_createElementDescriptor:["body.2.id","body.0.body.body.2.declarations.1.init.arguments.0.arguments.0.arguments.0"],_coalesceGetterSetter:["body.3.id","body.4.body.body.0.body.body.1.consequent.alternate.body.1.expression.callee"],_coalesceClassElements:["body.4.id","body.0.body.body.2.declarations.1.init.arguments.0.callee"],_hasDecorators:["body.5.id","body.1.body.body.1.declarations.0.init.properties.4.value.body.body.1.test.expressions.1.arguments.0.body.body.0.test.argument.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.left.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.right.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.test.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.consequent.body.0.test.callee"],_isDataDescriptor:["body.6.id","body.4.body.body.0.body.body.1.consequent.test.left.callee","body.4.body.body.0.body.body.1.consequent.test.right.callee"],_optionalCallableProperty:["body.7.id","body.1.body.body.1.declarations.0.init.properties.11.value.body.body.0.argument.properties.1.value.callee","body.1.body.body.1.declarations.0.init.properties.13.value.body.body.3.declarations.0.init.callee"]},exportBindingAssignments:[],exportName:"_decorate",dependencies:{toArray:["body.1.body.body.1.declarations.0.init.properties.9.value.body.body.0.consequent.argument.callee.object.callee"],toPropertyKey:["body.1.body.body.1.declarations.0.init.properties.10.value.body.body.2.declarations.0.init.callee","body.2.body.body.0.declarations.1.init.callee"]},internal:!1}),defaults:l("7.0.0-beta.0","function _defaults(e,r){for(var t=Object.getOwnPropertyNames(r),o=0;o<t.length;o++){var n=t[o],a=Object.getOwnPropertyDescriptor(r,n);a&&a.configurable&&void 0===e[n]&&Object.defineProperty(e,n,a)}return e}",{globals:["Object"],locals:{_defaults:["body.0.id"]},exportBindingAssignments:[],exportName:"_defaults",dependencies:{},internal:!1}),defineAccessor:l("7.20.7","function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}",{globals:["Object"],locals:{_defineAccessor:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineAccessor",dependencies:{},internal:!1}),defineProperty:l("7.0.0-beta.0","function _defineProperty(e,r,t){return(r=toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}",{globals:["Object"],locals:{_defineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineProperty",dependencies:{toPropertyKey:["body.0.body.body.0.argument.expressions.0.test.left.right.callee"]},internal:!1}),extends:l("7.0.0-beta.0","function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}",{globals:["Object"],locals:{_extends:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_extends",dependencies:{},internal:!1}),get:l("7.0.0-beta.0",'function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},_get.apply(null,arguments)}',{globals:["Reflect","Object"],locals:{_get:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_get",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.0.init.callee"]},internal:!1}),getPrototypeOf:l("7.0.0-beta.0","function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}",{globals:["Object"],locals:{_getPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_getPrototypeOf",dependencies:{},internal:!1}),identity:l("7.17.0","function _identity(t){return t}",{globals:[],locals:{_identity:["body.0.id"]},exportBindingAssignments:[],exportName:"_identity",dependencies:{},internal:!1}),importDeferProxy:l("7.23.0","function _importDeferProxy(e){var t=null,constValue=function(e){return function(){return e}},proxy=function(r){return function(n,o,f){return null===t&&(t=e()),r(t,o,f)}};return new Proxy({},{defineProperty:constValue(!1),deleteProperty:constValue(!1),get:proxy(Reflect.get),getOwnPropertyDescriptor:proxy(Reflect.getOwnPropertyDescriptor),getPrototypeOf:constValue(null),isExtensible:constValue(!1),has:proxy(Reflect.has),ownKeys:proxy(Reflect.ownKeys),preventExtensions:constValue(!0),set:constValue(!1),setPrototypeOf:constValue(!1)})}",{globals:["Proxy","Reflect"],locals:{_importDeferProxy:["body.0.id"]},exportBindingAssignments:[],exportName:"_importDeferProxy",dependencies:{},internal:!1}),inherits:l("7.0.0-beta.0",'function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&setPrototypeOf(t,e)}',{globals:["TypeError","Object"],locals:{_inherits:["body.0.id"]},exportBindingAssignments:[],exportName:"_inherits",dependencies:{setPrototypeOf:["body.0.body.body.1.expression.expressions.2.right.callee"]},internal:!1}),inheritsLoose:l("7.0.0-beta.0","function _inheritsLoose(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,setPrototypeOf(t,o)}",{globals:["Object"],locals:{_inheritsLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_inheritsLoose",dependencies:{setPrototypeOf:["body.0.body.body.0.expression.expressions.2.callee"]},internal:!1}),initializerDefineProperty:l("7.0.0-beta.0","function _initializerDefineProperty(e,i,r,l){r&&Object.defineProperty(e,i,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(l):void 0})}",{globals:["Object"],locals:{_initializerDefineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerDefineProperty",dependencies:{},internal:!1}),initializerWarningHelper:l("7.0.0-beta.0",'function _initializerWarningHelper(r,e){throw Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")}',{globals:["Error"],locals:{_initializerWarningHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerWarningHelper",dependencies:{},internal:!1}),instanceof:l("7.0.0-beta.0",'function _instanceof(n,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](n):n instanceof e}',{globals:["Symbol"],locals:{_instanceof:["body.0.id"]},exportBindingAssignments:[],exportName:"_instanceof",dependencies:{},internal:!1}),interopRequireDefault:l("7.0.0-beta.0","function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}",{globals:[],locals:{_interopRequireDefault:["body.0.id"]},exportBindingAssignments:[],exportName:"_interopRequireDefault",dependencies:{},internal:!1}),interopRequireWildcard:l("7.14.0",'function _interopRequireWildcard(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(_interopRequireWildcard=function(e,t){if(!t&&e&&e.__esModule)return e;var o,i,f={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return f;if(o=t?n:r){if(o.has(e))return o.get(e);o.set(e,f)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?o(f,t,i):f[t]=e[t]);return f})(e,t)}',{globals:["WeakMap","Object"],locals:{_interopRequireWildcard:["body.0.id","body.0.body.body.1.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.1.argument.callee"],exportName:"_interopRequireWildcard",dependencies:{},internal:!1}),isNativeFunction:l("7.0.0-beta.0",'function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(n){return"function"==typeof t}}',{globals:["Function"],locals:{_isNativeFunction:["body.0.id"]},exportBindingAssignments:[],exportName:"_isNativeFunction",dependencies:{},internal:!1}),isNativeReflectConstruct:l("7.9.0","function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}",{globals:["Boolean","Reflect"],locals:{_isNativeReflectConstruct:["body.0.id","body.0.body.body.1.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.1.argument.callee"],exportName:"_isNativeReflectConstruct",dependencies:{},internal:!1}),iterableToArray:l("7.0.0-beta.0",'function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}',{globals:["Symbol","Array"],locals:{_iterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArray",dependencies:{},internal:!1}),iterableToArrayLimit:l("7.0.0-beta.0",'function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}',{globals:["Symbol","Object"],locals:{_iterableToArrayLimit:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArrayLimit",dependencies:{},internal:!1}),jsx:l("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;function _createRawReactElement(e,r,E,l){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,n=arguments.length-3;if(r||0===n||(r={children:void 0}),1===n)r.children=l;else if(n>1){for(var t=Array(n),f=0;f<n;f++)t[f]=arguments[f+3];r.children=t}if(r&&o)for(var i in o)void 0===r[i]&&(r[i]=o[i]);else r||(r=o||{});return{$$typeof:REACT_ELEMENT_TYPE,type:e,key:void 0===E?null:""+E,ref:null,props:r,_owner:null}}',{globals:["Symbol","Array"],locals:{REACT_ELEMENT_TYPE:["body.0.declarations.0.id","body.1.body.body.0.expression.left","body.1.body.body.4.argument.properties.0.value","body.1.body.body.0.expression.right.left"],_createRawReactElement:["body.1.id"]},exportBindingAssignments:[],exportName:"_createRawReactElement",dependencies:{},internal:!1}),maybeArrayLike:l("7.9.0",'function _maybeArrayLike(r,a,e){if(a&&!Array.isArray(a)&&"number"==typeof a.length){var y=a.length;return arrayLikeToArray(a,void 0!==e&&e<y?e:y)}return r(a,e)}',{globals:["Array"],locals:{_maybeArrayLike:["body.0.id"]},exportBindingAssignments:[],exportName:"_maybeArrayLike",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.1.argument.callee"]},internal:!1}),newArrowCheck:l("7.0.0-beta.0",'function _newArrowCheck(n,r){if(n!==r)throw new TypeError("Cannot instantiate an arrow function")}',{globals:["TypeError"],locals:{_newArrowCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_newArrowCheck",dependencies:{},internal:!1}),nonIterableRest:l("7.0.0-beta.0",'function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableRest:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableRest",dependencies:{},internal:!1}),nonIterableSpread:l("7.0.0-beta.0",'function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableSpread",dependencies:{},internal:!1}),nullishReceiverError:l("7.22.6",'function _nullishReceiverError(r){throw new TypeError("Cannot set property of null or undefined.")}',{globals:["TypeError"],locals:{_nullishReceiverError:["body.0.id"]},exportBindingAssignments:[],exportName:"_nullishReceiverError",dependencies:{},internal:!1}),objectDestructuringEmpty:l("7.0.0-beta.0",'function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure "+t)}',{globals:["TypeError"],locals:{_objectDestructuringEmpty:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectDestructuringEmpty",dependencies:{},internal:!1}),objectSpread2:l("7.5.0","function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}",{globals:["Object"],locals:{ownKeys:["body.0.id","body.1.body.body.0.body.body.1.expression.consequent.callee.object.callee","body.1.body.body.0.body.body.1.expression.alternate.alternate.callee.object.callee"],_objectSpread2:["body.1.id"]},exportBindingAssignments:[],exportName:"_objectSpread2",dependencies:{defineProperty:["body.1.body.body.0.body.body.1.expression.consequent.arguments.0.body.body.0.expression.callee"]},internal:!1}),objectWithoutProperties:l("7.0.0-beta.0","function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],-1===t.indexOf(o)&&{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}",{globals:["Object"],locals:{_objectWithoutProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutProperties",dependencies:{objectWithoutPropertiesLoose:["body.0.body.body.1.declarations.2.init.callee"]},internal:!1}),objectWithoutPropertiesLoose:l("7.0.0-beta.0","function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(-1!==e.indexOf(n))continue;t[n]=r[n]}return t}",{globals:[],locals:{_objectWithoutPropertiesLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutPropertiesLoose",dependencies:{},internal:!1}),possibleConstructorReturn:l("7.0.0-beta.0",'function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return assertThisInitialized(t)}',{globals:["TypeError"],locals:{_possibleConstructorReturn:["body.0.id"]},exportBindingAssignments:[],exportName:"_possibleConstructorReturn",dependencies:{assertThisInitialized:["body.0.body.body.2.argument.callee"]},internal:!1}),readOnlyError:l("7.0.0-beta.0",`function _readOnlyError(r){throw new TypeError('"'+r+'" is read-only')}`,{globals:["TypeError"],locals:{_readOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_readOnlyError",dependencies:{},internal:!1}),regenerator:l("7.27.0",`function _regenerator(){
|
|
343
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
344
|
-
var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return define(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(define(t={},n,(function(){return this})),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,define(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,define(u,"constructor",GeneratorFunctionPrototype),define(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",define(GeneratorFunctionPrototype,o,"GeneratorFunction"),define(u),define(u,o,"Generator"),define(u,n,(function(){return this})),define(u,"toString",(function(){return"[object Generator]"})),(_regenerator=function(){return{w:i,m:f}})()}`,{globals:["Symbol","Object","TypeError"],locals:{_regenerator:["body.0.id","body.0.body.body.9.argument.expressions.9.callee.left"]},exportBindingAssignments:["body.0.body.body.9.argument.expressions.9.callee"],exportName:"_regenerator",dependencies:{regeneratorDefine:["body.0.body.body.1.body.body.1.argument.expressions.0.callee","body.0.body.body.7.declarations.0.init.alternate.expressions.0.callee","body.0.body.body.8.body.body.0.argument.expressions.0.alternate.expressions.1.callee","body.0.body.body.9.argument.expressions.1.callee","body.0.body.body.9.argument.expressions.2.callee","body.0.body.body.9.argument.expressions.4.callee","body.0.body.body.9.argument.expressions.5.callee","body.0.body.body.9.argument.expressions.6.callee","body.0.body.body.9.argument.expressions.7.callee","body.0.body.body.9.argument.expressions.8.callee"]},internal:!1}),regeneratorAsync:l("7.27.0","function _regeneratorAsync(n,e,r,t,o){var a=asyncGen(n,e,r,t,o);return a.next().then((function(n){return n.done?n.value:a.next()}))}",{globals:[],locals:{_regeneratorAsync:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorAsync",dependencies:{regeneratorAsyncGen:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),regeneratorAsyncGen:l("7.27.0","function _regeneratorAsyncGen(r,e,t,o,n){return new regeneratorAsyncIterator(regenerator().w(r,e,t,o),n||Promise)}",{globals:["Promise"],locals:{_regeneratorAsyncGen:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorAsyncGen",dependencies:{regenerator:["body.0.body.body.0.argument.arguments.0.callee.object.callee"],regeneratorAsyncIterator:["body.0.body.body.0.argument.callee"]},internal:!1}),regeneratorAsyncIterator:l("7.27.0",'function AsyncIterator(t,e){function n(r,o,i,f){try{var c=t[r](o),u=c.value;return u instanceof OverloadYield?e.resolve(u.v).then((function(t){n("next",t,i,f)}),(function(t){n("throw",t,i,f)})):e.resolve(u).then((function(t){c.value=t,i(c)}),(function(t){return n("throw",t,i,f)}))}catch(t){f(t)}}var r;this.next||(define(AsyncIterator.prototype),define(AsyncIterator.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),define(this,"_invoke",(function(t,o,i){function f(){return new e((function(e,r){n(t,i,e,r)}))}return r=r?r.then(f,f):f()}),!0)}',{globals:["Symbol"],locals:{AsyncIterator:["body.0.id","body.0.body.body.2.expression.expressions.0.right.expressions.0.arguments.0.object","body.0.body.body.2.expression.expressions.0.right.expressions.1.arguments.0.object"]},exportBindingAssignments:[],exportName:"AsyncIterator",dependencies:{OverloadYield:["body.0.body.body.0.body.body.0.block.body.1.argument.test.right"],regeneratorDefine:["body.0.body.body.2.expression.expressions.0.right.expressions.0.callee","body.0.body.body.2.expression.expressions.0.right.expressions.1.callee","body.0.body.body.2.expression.expressions.1.callee"]},internal:!0}),regeneratorDefine:l("7.27.0",'function regeneratorDefine(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}regeneratorDefine=function(e,r,n,t){if(r)i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n;else{function o(r,n){regeneratorDefine(e,r,(function(e){return this._invoke(r,n,e)}))}o("next",0),o("throw",1),o("return",2)}},regeneratorDefine(e,r,n,t)}',{globals:["Object"],locals:{regeneratorDefine:["body.0.id","body.0.body.body.2.expression.expressions.0.right.body.body.0.alternate.body.0.body.body.0.expression.callee","body.0.body.body.2.expression.expressions.1.callee","body.0.body.body.2.expression.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.2.expression.expressions.0"],exportName:"regeneratorDefine",dependencies:{},internal:!0}),regeneratorKeys:l("7.27.0","function _regeneratorKeys(e){var n=Object(e),r=[];for(var t in n)r.unshift(t);return function e(){for(;r.length;)if((t=r.pop())in n)return e.value=t,e.done=!1,e;return e.done=!0,e}}",{globals:["Object"],locals:{_regeneratorKeys:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorKeys",dependencies:{},internal:!1}),regeneratorValues:l("7.18.0",'function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}throw new TypeError(typeof e+" is not iterable")}',{globals:["Symbol","isNaN","TypeError"],locals:{_regeneratorValues:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorValues",dependencies:{},internal:!1}),set:l("7.0.0-beta.0",'function set(e,r,t,o){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,o){var f,i=superPropBase(e,r);if(i){if((f=Object.getOwnPropertyDescriptor(i,r)).set)return f.set.call(o,t),!0;if(!f.writable)return!1}if(f=Object.getOwnPropertyDescriptor(o,r)){if(!f.writable)return!1;f.value=t,Object.defineProperty(o,r,f)}else defineProperty(o,r,t);return!0},set(e,r,t,o)}function _set(e,r,t,o,f){if(!set(e,r,t,o||e)&&f)throw new TypeError("failed to set property");return t}',{globals:["Reflect","Object","TypeError"],locals:{set:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.0.test.left.argument.callee","body.0.body.body.0.argument.expressions.0.left"],_set:["body.1.id"]},exportBindingAssignments:[],exportName:"_set",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.1.init.callee"],defineProperty:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.2.alternate.expression.callee"]},internal:!1}),setFunctionName:l("7.23.6",'function setFunctionName(e,t,n){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}',{globals:["Object"],locals:{setFunctionName:["body.0.id"]},exportBindingAssignments:[],exportName:"setFunctionName",dependencies:{},internal:!1}),setPrototypeOf:l("7.0.0-beta.0","function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}",{globals:["Object"],locals:{_setPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_setPrototypeOf",dependencies:{},internal:!1}),skipFirstGeneratorNext:l("7.0.0-beta.0","function _skipFirstGeneratorNext(t){return function(){var r=t.apply(this,arguments);return r.next(),r}}",{globals:[],locals:{_skipFirstGeneratorNext:["body.0.id"]},exportBindingAssignments:[],exportName:"_skipFirstGeneratorNext",dependencies:{},internal:!1}),slicedToArray:l("7.0.0-beta.0","function _slicedToArray(r,e){return arrayWithHoles(r)||iterableToArrayLimit(r,e)||unsupportedIterableToArray(r,e)||nonIterableRest()}",{globals:[],locals:{_slicedToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_slicedToArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArrayLimit:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]},internal:!1}),superPropBase:l("7.0.0-beta.0","function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=getPrototypeOf(t)););return t}",{globals:[],locals:{_superPropBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropBase",dependencies:{getPrototypeOf:["body.0.body.body.0.test.right.right.right.callee"]},internal:!1}),superPropGet:l("7.25.0",'function _superPropGet(t,o,e,r){var p=get(getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t)}:p}',{globals:[],locals:{_superPropGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropGet",dependencies:{get:["body.0.body.body.0.declarations.0.init.callee"],getPrototypeOf:["body.0.body.body.0.declarations.0.init.arguments.0.callee"]},internal:!1}),superPropSet:l("7.25.0","function _superPropSet(t,e,o,r,p,f){return set(getPrototypeOf(f?t.prototype:t),e,o,r,p)}",{globals:[],locals:{_superPropSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropSet",dependencies:{set:["body.0.body.body.0.argument.callee"],getPrototypeOf:["body.0.body.body.0.argument.arguments.0.callee"]},internal:!1}),taggedTemplateLiteral:l("7.0.0-beta.0","function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}",{globals:["Object"],locals:{_taggedTemplateLiteral:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteral",dependencies:{},internal:!1}),taggedTemplateLiteralLoose:l("7.0.0-beta.0","function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}",{globals:[],locals:{_taggedTemplateLiteralLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteralLoose",dependencies:{},internal:!1}),tdz:l("7.5.5",'function _tdzError(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}',{globals:["ReferenceError"],locals:{_tdzError:["body.0.id"]},exportBindingAssignments:[],exportName:"_tdzError",dependencies:{},internal:!1}),temporalRef:l("7.0.0-beta.0","function _temporalRef(r,e){return r===undef?err(e):r}",{globals:[],locals:{_temporalRef:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalRef",dependencies:{temporalUndefined:["body.0.body.body.0.argument.test.right"],tdz:["body.0.body.body.0.argument.consequent.callee"]},internal:!1}),temporalUndefined:l("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{},internal:!1}),toArray:l("7.0.0-beta.0","function _toArray(r){return arrayWithHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableRest()}",{globals:[],locals:{_toArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]},internal:!1}),toConsumableArray:l("7.0.0-beta.0","function _toConsumableArray(r){return arrayWithoutHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableSpread()}",{globals:[],locals:{_toConsumableArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toConsumableArray",dependencies:{arrayWithoutHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableSpread:["body.0.body.body.0.argument.right.callee"]},internal:!1}),toPrimitive:l("7.1.5",'function toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}',{globals:["Symbol","TypeError","String","Number"],locals:{toPrimitive:["body.0.id"]},exportBindingAssignments:[],exportName:"toPrimitive",dependencies:{},internal:!1}),toPropertyKey:l("7.1.5",'function toPropertyKey(t){var i=toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}',{globals:[],locals:{toPropertyKey:["body.0.id"]},exportBindingAssignments:[],exportName:"toPropertyKey",dependencies:{toPrimitive:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),toSetter:l("7.24.0",'function _toSetter(t,e,n){e||(e=[]);var r=e.length++;return Object.defineProperty({},"_",{set:function(o){e[r]=o,t.apply(n,e)}})}',{globals:["Object"],locals:{_toSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_toSetter",dependencies:{},internal:!1}),tsRewriteRelativeImportExtensions:l("7.27.0",'function tsRewriteRelativeImportExtensions(t,e){return"string"==typeof t&&/^\\.\\.?\\//.test(t)?t.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+)?)\\.([cm]?)ts$/i,(function(t,s,r,n,o){return s?e?".jsx":".js":!r||n&&o?r+n+"."+o.toLowerCase()+"js":t})):t}',{globals:[],locals:{tsRewriteRelativeImportExtensions:["body.0.id"]},exportBindingAssignments:[],exportName:"tsRewriteRelativeImportExtensions",dependencies:{},internal:!1}),typeof:l("7.0.0-beta.0",'function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}',{globals:["Symbol"],locals:{_typeof:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_typeof",dependencies:{},internal:!1}),unsupportedIterableToArray:l("7.9.0",'function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?arrayLikeToArray(r,a):void 0}}',{globals:["Array"],locals:{_unsupportedIterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_unsupportedIterableToArray",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.0.consequent.argument.callee","body.0.body.body.0.consequent.body.2.argument.expressions.1.alternate.consequent.callee"]},internal:!1}),usingCtx:l("7.23.9",'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,e){var n=Error();return n.name="SuppressedError",n.error=r,n.suppressed=e,n},e={},n=[];function using(r,e){if(null!=e){if(Object(e)!==e)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(r)var o=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(void 0===o&&(o=e[Symbol.dispose||Symbol.for("Symbol.dispose")],r))var t=o;if("function"!=typeof o)throw new TypeError("Object is not disposable.");t&&(o=function(){try{t.call(e)}catch(r){return Promise.reject(r)}}),n.push({v:e,d:o,a:r})}else r&&n.push({d:e,a:r});return e}return{e:e,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o,t=this.e,s=0;function next(){for(;o=n.pop();)try{if(!o.a&&1===s)return s=0,n.push(o),Promise.resolve().then(next);if(o.d){var r=o.d.call(o.v);if(o.a)return s|=2,Promise.resolve(r).then(next,err)}else s|=1}catch(r){return err(r)}if(1===s)return t!==e?Promise.reject(t):Promise.resolve();if(t!==e)throw t}function err(n){return t=t!==e?new r(n,t):n,next()}return next()}}}',{globals:["SuppressedError","Error","Object","TypeError","Symbol","Promise"],locals:{_usingCtx:["body.0.id"]},exportBindingAssignments:[],exportName:"_usingCtx",dependencies:{},internal:!1}),wrapAsyncGenerator:l("7.0.0-beta.0",'function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then((function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value}settle(n.done?"return":"normal",t)}),(function(e){resume("throw",e)}))}catch(e){settle("throw",e)}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?resume(r.key,r.arg):t=null}this._invoke=function(e,n){return new Promise((function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};',{globals:["Promise","Symbol"],locals:{_wrapAsyncGenerator:["body.0.id"],AsyncGenerator:["body.1.id","body.0.body.body.0.argument.body.body.0.argument.callee","body.2.expression.expressions.0.left.object.object","body.2.expression.expressions.1.left.object.object","body.2.expression.expressions.2.left.object.object","body.2.expression.expressions.3.left.object.object"]},exportBindingAssignments:[],exportName:"_wrapAsyncGenerator",dependencies:{OverloadYield:["body.1.body.body.1.body.body.0.block.body.0.declarations.2.init.right"]},internal:!1}),wrapNativeSuper:l("7.0.0-beta.0",'function _wrapNativeSuper(t){var r="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper)}function Wrapper(){return construct(t,arguments,getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),setPrototypeOf(Wrapper,t)},_wrapNativeSuper(t)}',{globals:["Map","TypeError","Object"],locals:{_wrapNativeSuper:["body.0.id","body.0.body.body.1.argument.expressions.1.callee","body.0.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.1.argument.expressions.0"],exportName:"_wrapNativeSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.arguments.2.object.callee"],setPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.4.argument.expressions.1.callee"],isNativeFunction:["body.0.body.body.1.argument.expressions.0.right.body.body.0.test.right.argument.callee"],construct:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.callee"]},internal:!1}),wrapRegExp:l("7.19.0",'function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce((function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;r[t]=e[o[i]]}return r}),Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(r){var t=e.exec.call(this,r);if(t){t.groups=buildGroups(t,this);var p=t.indices;p&&(p.groups=buildGroups(p,this))}return t},BabelRegExp.prototype[Symbol.replace]=function(t,p){if("string"==typeof p){var o=r.get(this);return e[Symbol.replace].call(this,t,p.replace(/\\$<([^>]+)(>|$)/g,(function(e,r,t){if(""===t)return e;var p=o[r];return Array.isArray(p)?"$"+p.join("$"):"number"==typeof p?"$"+p:""})))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)}))}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}',{globals:["RegExp","WeakMap","Object","Symbol","Array"],locals:{_wrapRegExp:["body.0.id","body.0.body.body.4.argument.expressions.3.callee.object","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_wrapRegExp",dependencies:{setPrototypeOf:["body.0.body.body.2.body.body.1.argument.expressions.1.callee"],inherits:["body.0.body.body.4.argument.expressions.0.callee"]},internal:!1}),writeOnlyError:l("7.12.13",`function _writeOnlyError(r){throw new TypeError('"'+r+'" is write-only')}`,{globals:["TypeError"],locals:{_writeOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_writeOnlyError",dependencies:{},internal:!1})};Object.assign(d,{AwaitValue:l("7.0.0-beta.0","function _AwaitValue(t){this.wrapped=t}",{globals:[],locals:{_AwaitValue:["body.0.id"]},exportBindingAssignments:[],exportName:"_AwaitValue",dependencies:{},internal:!1}),applyDecs:l("7.17.8",'function old_createMetadataMethodsForProperty(e,t,a,r){return{getMetadata:function(o){old_assertNotFinished(r,"getMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var n=i.public;if(void 0!==n)return n[a]}else if(2===t){var l=i.private;if(void 0!==l)return l.get(a)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_assertNotFinished(r,"setMetadata"),old_assertMetadataKey(o);var n=e[o];if(void 0===n&&(n=e[o]={}),1===t){var l=n.public;void 0===l&&(l=n.public={}),l[a]=i}else if(2===t){var s=n.priv;void 0===s&&(s=n.private=new Map),s.set(a,i)}else n.constructor=i}}}function old_convertMetadataMapToFinal(e,t){var a=e[Symbol.metadata||Symbol.for("Symbol.metadata")],r=Object.getOwnPropertySymbols(t);if(0!==r.length){for(var o=0;o<r.length;o++){var i=r[o],n=t[i],l=a?a[i]:null,s=n.public,c=l?l.public:null;s&&c&&Object.setPrototypeOf(s,c);var d=n.private;if(d){var u=Array.from(d.values()),f=l?l.private:null;f&&(u=u.concat(f)),n.private=u}l&&Object.setPrototypeOf(n,l)}a&&Object.setPrototypeOf(t,a),e[Symbol.metadata||Symbol.for("Symbol.metadata")]=t}}function old_createAddInitializerMethod(e,t){return function(a){old_assertNotFinished(t,"addInitializer"),old_assertCallable(a,"An initializer"),e.push(a)}}function old_memberDec(e,t,a,r,o,i,n,l,s){var c;switch(i){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var d,u,f={kind:c,name:l?"#"+t:toPropertyKey(t),isStatic:n,isPrivate:l},p={v:!1};if(0!==i&&(f.addInitializer=old_createAddInitializerMethod(o,p)),l){d=2,u=Symbol(t);var v={};0===i?(v.get=a.get,v.set=a.set):2===i?v.get=function(){return a.value}:(1!==i&&3!==i||(v.get=function(){return a.get.call(this)}),1!==i&&4!==i||(v.set=function(e){a.set.call(this,e)})),f.access=v}else d=1,u=t;try{return e(s,Object.assign(f,old_createMetadataMethodsForProperty(r,d,u,p)))}finally{p.v=!0}}function old_assertNotFinished(e,t){if(e.v)throw Error("attempted to call "+t+" after decoration was finished")}function old_assertMetadataKey(e){if("symbol"!=typeof e)throw new TypeError("Metadata keys must be symbols, received: "+e)}function old_assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function old_assertValidReturnValue(e,t){var a=typeof t;if(1===e){if("object"!==a||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&old_assertCallable(t.get,"accessor.get"),void 0!==t.set&&old_assertCallable(t.set,"accessor.set"),void 0!==t.init&&old_assertCallable(t.init,"accessor.init"),void 0!==t.initializer&&old_assertCallable(t.initializer,"accessor.initializer")}else if("function"!==a)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function old_getInit(e){var t;return null==(t=e.init)&&(t=e.initializer)&&void 0!==console&&console.warn(".initializer has been renamed to .init as of March 2022"),t}function old_applyMemberDec(e,t,a,r,o,i,n,l,s){var c,d,u,f,p,v,y,h=a[0];if(n?(0===o||1===o?(c={get:a[3],set:a[4]},u="get"):3===o?(c={get:a[3]},u="get"):4===o?(c={set:a[3]},u="set"):c={value:a[3]},0!==o&&(1===o&&setFunctionName(a[4],"#"+r,"set"),setFunctionName(a[3],"#"+r,u))):0!==o&&(c=Object.getOwnPropertyDescriptor(t,r)),1===o?f={get:c.get,set:c.set}:2===o?f=c.value:3===o?f=c.get:4===o&&(f=c.set),"function"==typeof h)void 0!==(p=old_memberDec(h,r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?d=p:1===o?(d=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p);else for(var m=h.length-1;m>=0;m--){var b;void 0!==(p=old_memberDec(h[m],r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?b=p:1===o?(b=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===o||1===o){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var g=d;d=function(e,t){for(var a=t,r=0;r<g.length;r++)a=g[r].call(e,a);return a}}else{var _=d;d=function(e,t){return _.call(e,t)}}e.push(d)}0!==o&&(1===o?(c.get=f.get,c.set=f.set):2===o?c.value=f:3===o?c.get=f:4===o&&(c.set=f),n?1===o?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===o?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,r,c))}function old_applyMemberDecs(e,t,a,r,o){for(var i,n,l=new Map,s=new Map,c=0;c<o.length;c++){var d=o[c];if(Array.isArray(d)){var u,f,p,v=d[1],y=d[2],h=d.length>3,m=v>=5;if(m?(u=t,f=r,0!=(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!h){var b=m?s:l,g=b.get(y)||0;if(!0===g||3===g&&4!==v||4===g&&3!==v)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+y);!g&&v>2?b.set(y,v):b.set(y,!0)}old_applyMemberDec(e,u,d,y,v,m,h,f,p)}}old_pushInitializers(e,i),old_pushInitializers(e,n)}function old_pushInitializers(e,t){t&&e.push((function(e){for(var a=0;a<t.length;a++)t[a].call(e);return e}))}function old_applyClassDecs(e,t,a,r){if(r.length>0){for(var o=[],i=t,n=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=Object.assign({kind:"class",name:n,addInitializer:old_createAddInitializerMethod(o,s)},old_createMetadataMethodsForProperty(a,0,n,s)),d=r[l](i,c)}finally{s.v=!0}void 0!==d&&(old_assertValidReturnValue(10,d),i=d)}e.push(i,(function(){for(var e=0;e<o.length;e++)o[e].call(i)}))}}function applyDecs(e,t,a){var r=[],o={},i={};return old_applyMemberDecs(r,e,i,o,t),old_convertMetadataMapToFinal(e.prototype,i),old_applyClassDecs(r,e,o,a),old_convertMetadataMapToFinal(e,o),r}',{globals:["Object","Map","Symbol","Array","Error","TypeError","console"],locals:{old_createMetadataMethodsForProperty:["body.0.id","body.3.body.body.4.block.body.0.argument.arguments.1.arguments.1.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.1.callee"],old_convertMetadataMapToFinal:["body.1.id","body.13.body.body.1.argument.expressions.1.callee","body.13.body.body.1.argument.expressions.3.callee"],old_createAddInitializerMethod:["body.2.id","body.3.body.body.3.test.expressions.0.right.right.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.0.properties.2.value.callee"],old_memberDec:["body.3.id","body.9.body.body.1.consequent.expression.left.right.right.callee","body.9.body.body.1.alternate.body.body.1.expression.left.right.right.callee"],old_assertNotFinished:["body.4.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.0.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.0.callee","body.2.body.body.0.argument.body.body.0.expression.expressions.0.callee"],old_assertMetadataKey:["body.5.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.1.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.1.callee"],old_assertCallable:["body.6.id","body.2.body.body.0.argument.body.body.0.expression.expressions.1.callee","body.7.body.body.1.consequent.body.1.expression.expressions.0.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.1.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.2.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.3.right.callee"],old_assertValidReturnValue:["body.7.id","body.9.body.body.1.consequent.expression.right.expressions.0.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.0.callee","body.12.body.body.0.consequent.body.0.body.body.2.expression.right.expressions.0.callee"],old_getInit:["body.8.id","body.9.body.body.1.consequent.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee"],old_applyMemberDec:["body.9.id","body.10.body.body.0.body.body.1.consequent.body.2.expression.callee"],old_applyMemberDecs:["body.10.id","body.13.body.body.1.argument.expressions.0.callee"],old_pushInitializers:["body.11.id","body.10.body.body.1.expression.expressions.0.callee","body.10.body.body.1.expression.expressions.1.callee"],old_applyClassDecs:["body.12.id","body.13.body.body.1.argument.expressions.2.callee"],applyDecs:["body.13.id"]},exportBindingAssignments:[],exportName:"applyDecs",dependencies:{setFunctionName:["body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.3.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]},internal:!1}),applyDecs2203:l("7.19.0",'function applyDecs2203Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,a,n,i,s,o){var c;switch(n){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==n&&(f.addInitializer=createAddInitializerMethod(a,p)),0===n?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===n?l=function(){return r.value}:(1!==n&&3!==n||(l=function(){return r.get.call(this)}),1!==n&&4!==n||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,a,n,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===n||1===n?{get:r[3],set:r[4]}:3===n?{get:r[3]}:4===n?{set:r[3]}:{value:r[3]}:0!==n&&(c=Object.getOwnPropertyDescriptor(t,a)),1===n?u={get:c.get,set:c.set}:2===n?u=c.value:3===n?u=c.get:4===n&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?l=f:1===n?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;void 0!==(f=memberDec(h[v],a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g)))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,a=0;a<y.length;a++)r=y[a].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==n&&(1===n?(c.get=u.get,c.set=u.set):2===n?c.value=u:3===n?c.get=u:4===n&&(c.set=u),s?1===n?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===n?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,a,c))}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){var a=[];return function(e,t,r){for(var a,n,i=new Map,s=new Map,o=0;o<r.length;o++){var c=r[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(assertValidReturnValue(10,c),n=c)}e.push(n,(function(){for(var e=0;e<a.length;e++)a[e].call(n)}))}}(a,e,r),a}}var applyDecs2203Impl;function applyDecs2203(e,t,r){return(applyDecs2203Impl=applyDecs2203Impl||applyDecs2203Factory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203Factory:["body.0.id","body.2.body.body.0.argument.callee.right.right.callee"],applyDecs2203Impl:["body.1.declarations.0.id","body.2.body.body.0.argument.callee.right.left","body.2.body.body.0.argument.callee.left"],applyDecs2203:["body.2.id"]},exportBindingAssignments:[],exportName:"applyDecs2203",dependencies:{},internal:!1}),applyDecs2203R:l("7.20.0",'function applyDecs2203RFactory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,n,a,i,o,s){var c;switch(a){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:o?"#"+t:toPropertyKey(t),static:i,private:o},p={v:!1};0!==a&&(f.addInitializer=createAddInitializerMethod(n,p)),0===a?o?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===a?l=function(){return r.value}:(1!==a&&3!==a||(l=function(){return r.get.call(this)}),1!==a&&4!==a||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(s,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,n,a,i,o,s){var c,l,u,f,p,d,h,v=r[0];if(o?(0===a||1===a?(c={get:r[3],set:r[4]},u="get"):3===a?(c={get:r[3]},u="get"):4===a?(c={set:r[3]},u="set"):c={value:r[3]},0!==a&&(1===a&&setFunctionName(r[4],"#"+n,"set"),setFunctionName(r[3],"#"+n,u))):0!==a&&(c=Object.getOwnPropertyDescriptor(t,n)),1===a?f={get:c.get,set:c.set}:2===a?f=c.value:3===a?f=c.get:4===a&&(f=c.set),"function"==typeof v)void 0!==(p=memberDec(v,n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?l=p:1===a?(l=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p);else for(var g=v.length-1;g>=0;g--){var y;void 0!==(p=memberDec(v[g],n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?y=p:1===a?(y=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p,void 0!==y&&(void 0===l?l=y:"function"==typeof l?l=[l,y]:l.push(y)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var m=l;l=function(e,t){for(var r=t,n=0;n<m.length;n++)r=m[n].call(e,r);return r}}else{var b=l;l=function(e,t){return b.call(e,t)}}e.push(l)}0!==a&&(1===a?(c.get=f.get,c.set=f.set):2===a?c.value=f:3===a?c.get=f:4===a&&(c.set=f),o?1===a?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===a?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,n,c))}function applyMemberDecs(e,t){for(var r,n,a=[],i=new Map,o=new Map,s=0;s<t.length;s++){var c=t[s];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=e,0!=(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?o:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){return{e:applyMemberDecs(e,t),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var o={v:!1};try{var s=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,o)})}finally{o.v=!0}void 0!==s&&(assertValidReturnValue(10,s),n=s)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2203R(e,t,r){return(applyDecs2203R=applyDecs2203RFactory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203RFactory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2203R:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2203R",dependencies:{setFunctionName:["body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.1.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]},internal:!1}),applyDecs2301:l("7.21.0",'function applyDecs2301Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,n,a,i,s,o,c){var u;switch(a){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var l,f,p={kind:u,name:s?"#"+t:toPropertyKey(t),static:i,private:s},d={v:!1};if(0!==a&&(p.addInitializer=createAddInitializerMethod(n,d)),s||0!==a&&2!==a)if(2===a)l=function(e){return assertInstanceIfPrivate(c,e),r.value};else{var h=0===a||1===a;(h||3===a)&&(l=s?function(e){return assertInstanceIfPrivate(c,e),r.get.call(e)}:function(e){return r.get.call(e)}),(h||4===a)&&(f=s?function(e,t){assertInstanceIfPrivate(c,e),r.set.call(e,t)}:function(e,t){r.set.call(e,t)})}else l=function(e){return e[t]},0===a&&(f=function(e,r){e[t]=r});var v=s?c.bind():function(e){return t in e};p.access=l&&f?{get:l,set:f,has:v}:l?{get:l,has:v}:{set:f,has:v};try{return e(o,p)}finally{d.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,n,a,i,s,o,c){var u,l,f,p,d,h,v,y,g=r[0];if(s?(0===a||1===a?(u={get:(d=r[3],function(){return d(this)}),set:curryThis2(r[4])},f="get"):3===a?(u={get:r[3]},f="get"):4===a?(u={set:r[3]},f="set"):u={value:r[3]},0!==a&&(1===a&&setFunctionName(u.set,"#"+n,"set"),setFunctionName(u[f||"value"],"#"+n,f))):0!==a&&(u=Object.getOwnPropertyDescriptor(t,n)),1===a?p={get:u.get,set:u.set}:2===a?p=u.value:3===a?p=u.get:4===a&&(p=u.set),"function"==typeof g)void 0!==(h=memberDec(g,n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?l=h:1===a?(l=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h);else for(var m=g.length-1;m>=0;m--){var b;void 0!==(h=memberDec(g[m],n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?b=h:1===a?(b=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==b&&(void 0===l?l=b:"function"==typeof l?l=[l,b]:l.push(b)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var I=l;l=function(e,t){for(var r=t,n=0;n<I.length;n++)r=I[n].call(e,r);return r}}else{var w=l;l=function(e,t){return w.call(e,t)}}e.push(l)}0!==a&&(1===a?(u.get=p.get,u.set=p.set):2===a?u.value=p:3===a?u.get=p:4===a&&(u.set=p),s?1===a?(e.push((function(e,t){return p.get.call(e,t)})),e.push((function(e,t){return p.set.call(e,t)}))):2===a?e.push(p):e.push((function(e,t){return p.call(e,t)})):Object.defineProperty(t,n,u))}function applyMemberDecs(e,t,r){for(var n,a,i,s=[],o=new Map,c=new Map,u=0;u<t.length;u++){var l=t[u];if(Array.isArray(l)){var f,p,d=l[1],h=l[2],v=l.length>3,y=d>=5,g=r;if(y?(f=e,0!=(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),g=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=y?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,y,v,p,g)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r,n){return{e:applyMemberDecs(e,t,n),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2301(e,t,r,n){return(applyDecs2301=applyDecs2301Factory())(e,t,r,n)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2301Factory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2301:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2301",dependencies:{checkInRHS:["body.0.body.body.7.body.body.0.body.body.1.consequent.body.1.test.expressions.0.consequent.expressions.2.right.right.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.2.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]},internal:!1}),applyDecs2305:l("7.21.0",'function applyDecs2305(e,t,r,n,o,a){function i(e,t,r){return function(n,o){return r&&r(n),e[t].call(n,o)}}function c(e,t){for(var r=0;r<e.length;r++)e[r].call(t);return t}function s(e,t,r,n){if("function"!=typeof e&&(n||void 0!==e))throw new TypeError(t+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return e}function applyDec(e,t,r,n,o,a,c,u,l,f,p,d,h){function m(e){if(!h(e))throw new TypeError("Attempted to access private element on non-instance")}var y,v=t[0],g=t[3],b=!u;if(!b){r||Array.isArray(v)||(v=[v]);var w={},S=[],A=3===o?"get":4===o||d?"set":"value";f?(p||d?w={get:setFunctionName((function(){return g(this)}),n,"get"),set:function(e){t[4](this,e)}}:w[A]=g,p||setFunctionName(w[A],n,2===o?"":A)):p||(w=Object.getOwnPropertyDescriptor(e,n))}for(var P=e,j=v.length-1;j>=0;j-=r?2:1){var D=v[j],E=r?v[j-1]:void 0,I={},O={kind:["field","accessor","method","getter","setter","class"][o],name:n,metadata:a,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");s(t,"An initializer","be",!0),c.push(t)}.bind(null,I)};try{if(b)(y=s(D.call(E,P,O),"class decorators","return"))&&(P=y);else{var k,F;O.static=l,O.private=f,f?2===o?k=function(e){return m(e),w.value}:(o<4&&(k=i(w,"get",m)),3!==o&&(F=i(w,"set",m))):(k=function(e){return e[n]},(o<2||4===o)&&(F=function(e,t){e[n]=t}));var N=O.access={has:f?h.bind():function(e){return n in e}};if(k&&(N.get=k),F&&(N.set=F),P=D.call(E,d?{get:w.get,set:w.set}:w[A],O),d){if("object"==typeof P&&P)(y=s(P.get,"accessor.get"))&&(w.get=y),(y=s(P.set,"accessor.set"))&&(w.set=y),(y=s(P.init,"accessor.init"))&&S.push(y);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else s(P,(p?"field":"method")+" decorators","return")&&(p?S.push(P):w[A]=P)}}finally{I.v=!0}}return(p||d)&&u.push((function(e,t){for(var r=S.length-1;r>=0;r--)t=S[r].call(e,t);return t})),p||b||(f?d?u.push(i(w,"get"),i(w,"set")):u.push(2===o?w[A]:i.call.bind(w[A])):Object.defineProperty(e,n,w)),P}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var l=a[Symbol.metadata||Symbol.for("Symbol.metadata")];var f=Object.create(null==l?null:l),p=function(e,t,r,n){var o,a,i=[],s=function(t){return checkInRHS(t)===e},u=new Map;function l(e){e&&i.push(c.bind(null,e))}for(var f=0;f<t.length;f++){var p=t[f];if(Array.isArray(p)){var d=p[1],h=p[2],m=p.length>3,y=16&d,v=!!(8&d),g=0==(d&=7),b=h+"/"+v;if(!g&&!m){var w=u.get(b);if(!0===w||3===w&&4!==d||4===w&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);u.set(b,!(d>2)||d)}applyDec(v?e:e.prototype,p,y,m?"#"+h:toPropertyKey(h),d,n,v?a=a||[]:o=o||[],i,v,m,g,1===d,v&&m?s:r)}}return l(o),l(a),i}(e,t,o,f);return r.length||u(e,f),{e:p,get c(){var t=[];return r.length&&[u(applyDec(e,[r],n,e.name,5,f,t),f),c.bind(null,t,e)]}}}',{globals:["TypeError","Array","Object","Error","Symbol","Map"],locals:{applyDecs2305:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2305",dependencies:{checkInRHS:["body.0.body.body.6.declarations.1.init.callee.body.body.0.declarations.3.init.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.6.declarations.1.init.callee.body.body.2.body.body.1.consequent.body.2.expression.arguments.3.alternate.callee"]},internal:!1}),classApplyDescriptorDestructureSet:l("7.13.10",'function _classApplyDescriptorDestructureSet(e,t){if(t.set)return"__destrObj"in t||(t.__destrObj={set value(r){t.set.call(e,r)}}),t.__destrObj;if(!t.writable)throw new TypeError("attempted to set read only private field");return t}',{globals:["TypeError"],locals:{_classApplyDescriptorDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorDestructureSet",dependencies:{},internal:!1}),classApplyDescriptorGet:l("7.13.10","function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}",{globals:[],locals:{_classApplyDescriptorGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorGet",dependencies:{},internal:!1}),classApplyDescriptorSet:l("7.13.10",'function _classApplyDescriptorSet(e,t,l){if(t.set)t.set.call(e,l);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=l}}',{globals:["TypeError"],locals:{_classApplyDescriptorSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorSet",dependencies:{},internal:!1}),classCheckPrivateStaticAccess:l("7.13.10","function _classCheckPrivateStaticAccess(s,a,r){return assertClassBrand(a,s,r)}",{globals:[],locals:{_classCheckPrivateStaticAccess:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticAccess",dependencies:{assertClassBrand:["body.0.body.body.0.argument.callee"]},internal:!1}),classCheckPrivateStaticFieldDescriptor:l("7.13.10",'function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}',{globals:["TypeError"],locals:{_classCheckPrivateStaticFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticFieldDescriptor",dependencies:{},internal:!1}),classExtractFieldDescriptor:l("7.13.10","function _classExtractFieldDescriptor(e,t){return classPrivateFieldGet2(t,e)}",{globals:[],locals:{_classExtractFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classExtractFieldDescriptor",dependencies:{classPrivateFieldGet2:["body.0.body.body.0.argument.callee"]},internal:!1}),classPrivateFieldDestructureSet:l("7.4.4","function _classPrivateFieldDestructureSet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorDestructureSet(e,r)}",{globals:[],locals:{_classPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),classPrivateFieldGet:l("7.0.0-beta.0","function _classPrivateFieldGet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorGet(e,r)}",{globals:[],locals:{_classPrivateFieldGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),classPrivateFieldSet:l("7.0.0-beta.0","function _classPrivateFieldSet(e,t,r){var s=classPrivateFieldGet2(t,e);return classApplyDescriptorSet(e,s,r),r}",{globals:[],locals:{_classPrivateFieldSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.1.argument.expressions.0.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),classPrivateMethodGet:l("7.1.6","function _classPrivateMethodGet(s,a,r){return assertClassBrand(a,s),r}",{globals:[],locals:{_classPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]},internal:!1}),classPrivateMethodSet:l("7.1.6",'function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}',{globals:["TypeError"],locals:{_classPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodSet",dependencies:{},internal:!1}),classStaticPrivateFieldDestructureSet:l("7.13.10",'function _classStaticPrivateFieldDestructureSet(t,r,s){return assertClassBrand(r,t),classCheckPrivateStaticFieldDescriptor(s,"set"),classApplyDescriptorDestructureSet(t,s)}',{globals:[],locals:{_classStaticPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]},internal:!1}),classStaticPrivateFieldSpecGet:l("7.0.2",'function _classStaticPrivateFieldSpecGet(t,s,r){return assertClassBrand(s,t),classCheckPrivateStaticFieldDescriptor(r,"get"),classApplyDescriptorGet(t,r)}',{globals:[],locals:{_classStaticPrivateFieldSpecGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]},internal:!1}),classStaticPrivateFieldSpecSet:l("7.0.2",'function _classStaticPrivateFieldSpecSet(s,t,r,e){return assertClassBrand(t,s),classCheckPrivateStaticFieldDescriptor(r,"set"),classApplyDescriptorSet(s,r,e),e}',{globals:[],locals:{_classStaticPrivateFieldSpecSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]},internal:!1}),classStaticPrivateMethodSet:l("7.3.2",'function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}',{globals:["TypeError"],locals:{_classStaticPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodSet",dependencies:{},internal:!1}),defineEnumerableProperties:l("7.0.0-beta.0",'function _defineEnumerableProperties(e,r){for(var t in r){var n=r[t];n.configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t,n)}if(Object.getOwnPropertySymbols)for(var a=Object.getOwnPropertySymbols(r),b=0;b<a.length;b++){var i=a[b];(n=r[i]).configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i,n)}return e}',{globals:["Object"],locals:{_defineEnumerableProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineEnumerableProperties",dependencies:{},internal:!1}),dispose:l("7.22.0",'function dispose_SuppressedError(r,e){return"undefined"!=typeof SuppressedError?dispose_SuppressedError=SuppressedError:(dispose_SuppressedError=function(r,e){this.suppressed=e,this.error=r,this.stack=Error().stack},dispose_SuppressedError.prototype=Object.create(Error.prototype,{constructor:{value:dispose_SuppressedError,writable:!0,configurable:!0}})),new dispose_SuppressedError(r,e)}function _dispose(r,e,s){function next(){for(;r.length>0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch(r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(e,r):r,s=!0,next()}return next()}',{globals:["SuppressedError","Error","Object","Promise"],locals:{dispose_SuppressedError:["body.0.id","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.left.object","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.right.arguments.1.properties.0.value.properties.0.value","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.1.body.body.0.argument.expressions.0.right.consequent.callee","body.0.body.body.0.argument.expressions.0.consequent.left","body.0.body.body.0.argument.expressions.0.alternate.expressions.0.left"],_dispose:["body.1.id"]},exportBindingAssignments:[],exportName:"_dispose",dependencies:{},internal:!1}),objectSpread:l("7.0.0-beta.0",'function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?Object(arguments[r]):{},o=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&o.push.apply(o,Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.forEach((function(r){defineProperty(e,r,t[r])}))}return e}',{globals:["Object"],locals:{_objectSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectSpread",dependencies:{defineProperty:["body.0.body.body.0.body.body.1.expression.expressions.1.arguments.0.body.body.0.expression.callee"]},internal:!1}),regeneratorRuntime:l("7.18.0",'function _regeneratorRuntime(){"use strict";var r=regenerator(),e=r.m(_regeneratorRuntime),t=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function n(r){var e="function"==typeof r&&r.constructor;return!!e&&(e===t||"GeneratorFunction"===(e.displayName||e.name))}var o={throw:1,return:2,break:3,continue:3};function a(r){var e,t;return function(n){e||(e={stop:function(){return t(n.a,2)},catch:function(){return n.v},abrupt:function(r,e){return t(n.a,o[r],e)},delegateYield:function(r,o,a){return e.resultName=o,t(n.d,values(r),a)},finish:function(r){return t(n.f,r)}},t=function(r,t,o){n.p=e.prev,n.n=e.next;try{return r(t,o)}finally{e.next=n.n}}),e.resultName&&(e[e.resultName]=n.v,e.resultName=void 0),e.sent=n.v,e.next=n.n;try{return r.call(this,e)}finally{n.p=e.prev,n.n=e.next}}}return(_regeneratorRuntime=function(){return{wrap:function(e,t,n,o){return r.w(a(e),t,n,o&&o.reverse())},isGeneratorFunction:n,mark:r.m,awrap:function(r,e){return new OverloadYield(r,e)},AsyncIterator:AsyncIterator,async:function(r,e,t,o,u){return(n(e)?asyncGen:async)(a(r),e,t,o,u)},keys:keys,values:values}})()}',{globals:["Object"],locals:{_regeneratorRuntime:["body.0.id","body.0.body.body.0.declarations.1.init.arguments.0","body.0.body.body.4.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.4.argument.callee"],exportName:"_regeneratorRuntime",dependencies:{OverloadYield:["body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.3.value.body.body.0.argument.callee"],regenerator:["body.0.body.body.0.declarations.0.init.callee"],regeneratorAsync:["body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.5.value.body.body.0.argument.callee.alternate"],regeneratorAsyncGen:["body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.5.value.body.body.0.argument.callee.consequent"],regeneratorAsyncIterator:["body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.4.value"],regeneratorKeys:["body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.6.value"],regeneratorValues:["body.0.body.body.3.body.body.1.argument.body.body.0.expression.expressions.0.right.expressions.0.right.properties.3.value.body.body.0.argument.expressions.1.arguments.1.callee","body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.7.value"]},internal:!1}),using:l("7.22.0",'function _using(o,n,e){if(null==n)return n;if(Object(n)!==n)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(e)var r=n[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==r&&(r=n[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof r)throw new TypeError("Property [Symbol.dispose] is not a function.");return o.push({v:n,d:r,a:e}),n}',{globals:["Object","TypeError","Symbol"],locals:{_using:["body.0.id"]},exportBindingAssignments:[],exportName:"_using",dependencies:{},internal:!1})})},"./node_modules/.pnpm/@babel+helpers@7.27.6/node_modules/@babel/helpers/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.get=T,e.getDependencies=function(g){return v(g).getDependencies()},e.isInternal=function(g){var p;return(p=l.default[g])==null?void 0:p.metadata.internal},e.list=void 0,e.minVersion=function(g){return v(g).minVersion};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),l=E("./node_modules/.pnpm/@babel+helpers@7.27.6/node_modules/@babel/helpers/lib/helpers-generated.js");let{cloneNode:d,identifier:t}=r;function i(g,p,h){try{let u=p.split("."),f=u.shift();for(;u.length>0;)g=g[f],f=u.shift();if(!(arguments.length>2))return g[f];g[f]=h}catch(u){throw u.message+=` (when accessing ${p})`,u}}let c=Object.create(null);function v(g){if(!c[g]){let p=l.default[g];if(!p)throw Object.assign(new ReferenceError(`Unknown helper ${g}`),{code:"BABEL_HELPER_UNKNOWN",helper:g});c[g]={minVersion:p.minVersion,build(h,u,f,y){let P=p.ast();return(function(S,b,C,N,F,K){let{locals:L,dependencies:w,exportBindingAssignments:O,exportName:z}=b,te=new Set(N||[]);C&&te.add(C);for(let[$,D]of(Object.entries||(W=>Object.keys(W).map(q=>[q,W[q]])))(L)){let W=$;if(C&&$===z)W=C;else for(;te.has(W);)W="_"+W;if(W!==$)for(let q of D)i(S,q,t(W))}for(let[$,D]of(Object.entries||(W=>Object.keys(W).map(q=>[q,W[q]])))(w)){let W=typeof F=="function"&&F($)||t($);for(let q of D)i(S,q,d(W))}K?.(S,z,$=>{O.forEach(D=>i(S,D,$(i(S,D))))})})(P,p.metadata,u,f,h,y),{nodes:P.body,globals:p.metadata.globals}},getDependencies:()=>Object.keys(p.metadata.dependencies)}}return c[g]}function T(g,p,h,u,f){if(typeof h=="object"){let y=h;h=y?.type==="Identifier"?y.name:void 0}return v(g).build(p,h,u,f)}e.ensure=g=>{v(g)},e.list=Object.keys(l.default).map(g=>g.replace(/^_/,"")),e.default=T},"./node_modules/.pnpm/@babel+parser@7.28.0/node_modules/@babel/parser/lib/index.js":(ee,e)=>{"use strict";function E(X,n){if(X==null)return{};var a={};for(var m in X)if({}.hasOwnProperty.call(X,m)){if(n.indexOf(m)!==-1)continue;a[m]=X[m]}return a}Object.defineProperty(e,"__esModule",{value:!0});class r{constructor(n,a,m){this.line=void 0,this.column=void 0,this.index=void 0,this.line=n,this.column=a,this.index=m}}class l{constructor(n,a){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=n,this.end=a}}function d(X,n){let{line:a,column:m,index:_}=X;return new r(a,m+n,_+n)}let t="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var i={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:t},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:t}};let c={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},v=X=>X.type==="UpdateExpression"?c.UpdateExpression[`${X.prefix}`]:c[X.type];var T={AccessorIsGenerator:({kind:X})=>`A ${X}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:X})=>`Missing initializer in ${X} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:X})=>`\`${X}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:X,exportName:n})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
345
|
-
- Did you mean \`export { '${X}' as '${n}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:X})=>`'${X==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:X})=>`Unsyntactic ${X==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:X})=>`A string literal cannot be used as an imported binding.
|
|
346
|
-
- Did you mean \`import { "${X}" as foo }\`?`,ImportCallArity:"`import()` requires exactly one or two arguments.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverDiscardElement:"'void' must be followed by an expression when not used in a binding position.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:X})=>`Expected number in radix ${X}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:X})=>`Escape sequence in keyword ${X}.`,InvalidIdentifier:({identifierName:X})=>`Invalid identifier ${X}.`,InvalidLhs:({ancestor:X})=>`Invalid left-hand side in ${v(X)}.`,InvalidLhsBinding:({ancestor:X})=>`Binding invalid left-hand side in ${v(X)}.`,InvalidLhsOptionalChaining:({ancestor:X})=>`Invalid optional chaining in the left-hand side of ${v(X)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:X})=>`Unexpected character '${X}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:X})=>`Private name #${X} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:X})=>`Label '${X}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:X})=>`This experimental syntax requires enabling the parser plugin: ${X.map(n=>JSON.stringify(n)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:X})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${X.map(n=>JSON.stringify(n)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:X})=>`Duplicate key "${X}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:X})=>`An export name cannot include a lone surrogate, found '\\u${X.toString(16)}'.`,ModuleExportUndefined:({localName:X})=>`Export '${X}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:X})=>`Private names are only allowed in property accesses (\`obj.#${X}\`) or in \`in\` expressions (\`#${X} in obj\`).`,PrivateNameRedeclaration:({identifierName:X})=>`Duplicate private name #${X}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:X})=>`Unexpected keyword '${X}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:X})=>`Unexpected reserved word '${X}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:X,unexpected:n})=>`Unexpected token${n?` '${n}'.`:""}${X?`, expected "${X}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement.",UnexpectedVoidPattern:"Unexpected void binding.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:X,onlyValidPropertyName:n})=>`The only valid meta property for ${X} is ${X}.${n}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:X})=>`Identifier '${X}' has already been declared.`,VoidPatternCatchClauseParam:"A void binding can not be the catch clause parameter. Use `try { ... } catch { ... }` if you want to discard the caught error.",VoidPatternInitializer:"A void binding may not have an initializer.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",YieldNotInGeneratorFunction:"'yield' is only allowed within generator functions.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},g={ParseExpressionEmptyInput:"Unexpected parseExpression() input: The input is empty or contains only comments.",ParseExpressionExpectsEOF:({unexpected:X})=>`Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(X)}\`.`};let p=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var h=Object.assign({PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:X})=>`Invalid topic token ${X}. In order to use ${X} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${X}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:X})=>`Hack-style pipe body cannot be an unparenthesized ${v({type:X})}; please wrap it in parentheses.`},{PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'});let u=["message"];function f(X,n,a){Object.defineProperty(X,n,{enumerable:!1,configurable:!0,value:a})}function y({toMessage:X,code:n,reasonCode:a,syntaxPlugin:m}){let _=a==="MissingPlugin"||a==="MissingOneOfPlugins";{let k={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};k[a]&&(a=k[a])}return function k(J,ne){let he=new SyntaxError;return he.code=n,he.reasonCode=a,he.loc=J,he.pos=J.index,he.syntaxPlugin=m,_&&(he.missingPlugin=ne.missingPlugin),f(he,"clone",function(be={}){var Ue;let{line:nt,column:Pt,index:ht}=(Ue=be.loc)!=null?Ue:J;return k(new r(nt,Pt,ht),Object.assign({},ne,be.details))}),f(he,"details",ne),Object.defineProperty(he,"message",{configurable:!0,get(){let be=`${X(ne)} (${J.line}:${J.column})`;return this.message=be,be},set(be){Object.defineProperty(this,"message",{value:be,writable:!0})}}),he}}function P(X,n){if(Array.isArray(X))return m=>P(m,X[0]);let a={};for(let m of Object.keys(X)){let _=X[m],k=typeof _=="string"?{message:()=>_}:typeof _=="function"?{message:_}:_,{message:J}=k,ne=E(k,u),he=typeof J=="string"?()=>J:J;a[m]=y(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:m,toMessage:he},n?{syntaxPlugin:n}:{},ne))}return a}let S=Object.assign({},P(i),P(T),P({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:X})=>`Assigning to '${X}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:X})=>`Binding '${X}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."}),P(g),P`pipelineOperator`(h)),{defineProperty:b}=Object,C=(X,n)=>{X&&b(X,n,{enumerable:!1,value:X[n]})};function N(X){return C(X.loc.start,"index"),C(X.loc.end,"index"),X}class F{constructor(n,a){this.token=void 0,this.preserveSpace=void 0,this.token=n,this.preserveSpace=!!a}}let K={brace:new F("{"),j_oTag:new F("<tag"),j_cTag:new F("</tag"),j_expr:new F("<tag>...</tag>",!0)};K.template=new F("`",!0);class L{constructor(n,a={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=n,this.keyword=a.keyword,this.beforeExpr=!!a.beforeExpr,this.startsExpr=!!a.startsExpr,this.rightAssociative=!!a.rightAssociative,this.isLoop=!!a.isLoop,this.isAssign=!!a.isAssign,this.prefix=!!a.prefix,this.postfix=!!a.postfix,this.binop=a.binop!=null?a.binop:null,this.updateContext=null}}let w=new Map;function O(X,n={}){n.keyword=X;let a=ie(X,n);return w.set(X,a),a}function z(X,n){return ie(X,{beforeExpr:!0,binop:n})}let te=-1,$=[],D=[],W=[],q=[],re=[],le=[];function ie(X,n={}){var a,m,_,k;return++te,D.push(X),W.push((a=n.binop)!=null?a:-1),q.push((m=n.beforeExpr)!=null&&m),re.push((_=n.startsExpr)!=null&&_),le.push((k=n.prefix)!=null&&k),$.push(new L(X,n)),te}function M(X,n={}){var a,m,_,k;return++te,w.set(X,te),D.push(X),W.push((a=n.binop)!=null?a:-1),q.push((m=n.beforeExpr)!=null&&m),re.push((_=n.startsExpr)!=null&&_),le.push((k=n.prefix)!=null&&k),$.push(new L("name",n)),te}let B={bracketL:ie("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:ie("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:ie("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:ie("]"),bracketBarR:ie("|]"),braceL:ie("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:ie("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:ie("#{",{beforeExpr:!0,startsExpr:!0}),braceR:ie("}"),braceBarR:ie("|}"),parenL:ie("(",{beforeExpr:!0,startsExpr:!0}),parenR:ie(")"),comma:ie(",",{beforeExpr:!0}),semi:ie(";",{beforeExpr:!0}),colon:ie(":",{beforeExpr:!0}),doubleColon:ie("::",{beforeExpr:!0}),dot:ie("."),question:ie("?",{beforeExpr:!0}),questionDot:ie("?."),arrow:ie("=>",{beforeExpr:!0}),template:ie("template"),ellipsis:ie("...",{beforeExpr:!0}),backQuote:ie("`",{startsExpr:!0}),dollarBraceL:ie("${",{beforeExpr:!0,startsExpr:!0}),templateTail:ie("...`",{startsExpr:!0}),templateNonTail:ie("...${",{beforeExpr:!0,startsExpr:!0}),at:ie("@"),hash:ie("#",{startsExpr:!0}),interpreterDirective:ie("#!..."),eq:ie("=",{beforeExpr:!0,isAssign:!0}),assign:ie("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:ie("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:ie("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:ie("_=",{beforeExpr:!0,isAssign:!0}),incDec:ie("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:ie("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:ie("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:ie("^^",{startsExpr:!0}),doubleAt:ie("@@",{startsExpr:!0}),pipeline:z("|>",0),nullishCoalescing:z("??",1),logicalOR:z("||",1),logicalAND:z("&&",2),bitwiseOR:z("|",3),bitwiseXOR:z("^",4),bitwiseAND:z("&",5),equality:z("==/!=/===/!==",6),lt:z("</>/<=/>=",7),gt:z("</>/<=/>=",7),relational:z("</>/<=/>=",7),bitShift:z("<</>>/>>>",8),bitShiftL:z("<</>>/>>>",8),bitShiftR:z("<</>>/>>>",8),plusMin:ie("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:ie("%",{binop:10,startsExpr:!0}),star:ie("*",{binop:10}),slash:z("/",10),exponent:ie("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:O("in",{beforeExpr:!0,binop:7}),_instanceof:O("instanceof",{beforeExpr:!0,binop:7}),_break:O("break"),_case:O("case",{beforeExpr:!0}),_catch:O("catch"),_continue:O("continue"),_debugger:O("debugger"),_default:O("default",{beforeExpr:!0}),_else:O("else",{beforeExpr:!0}),_finally:O("finally"),_function:O("function",{startsExpr:!0}),_if:O("if"),_return:O("return",{beforeExpr:!0}),_switch:O("switch"),_throw:O("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:O("try"),_var:O("var"),_const:O("const"),_with:O("with"),_new:O("new",{beforeExpr:!0,startsExpr:!0}),_this:O("this",{startsExpr:!0}),_super:O("super",{startsExpr:!0}),_class:O("class",{startsExpr:!0}),_extends:O("extends",{beforeExpr:!0}),_export:O("export"),_import:O("import",{startsExpr:!0}),_null:O("null",{startsExpr:!0}),_true:O("true",{startsExpr:!0}),_false:O("false",{startsExpr:!0}),_typeof:O("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:O("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:O("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:O("do",{isLoop:!0,beforeExpr:!0}),_for:O("for",{isLoop:!0}),_while:O("while",{isLoop:!0}),_as:M("as",{startsExpr:!0}),_assert:M("assert",{startsExpr:!0}),_async:M("async",{startsExpr:!0}),_await:M("await",{startsExpr:!0}),_defer:M("defer",{startsExpr:!0}),_from:M("from",{startsExpr:!0}),_get:M("get",{startsExpr:!0}),_let:M("let",{startsExpr:!0}),_meta:M("meta",{startsExpr:!0}),_of:M("of",{startsExpr:!0}),_sent:M("sent",{startsExpr:!0}),_set:M("set",{startsExpr:!0}),_source:M("source",{startsExpr:!0}),_static:M("static",{startsExpr:!0}),_using:M("using",{startsExpr:!0}),_yield:M("yield",{startsExpr:!0}),_asserts:M("asserts",{startsExpr:!0}),_checks:M("checks",{startsExpr:!0}),_exports:M("exports",{startsExpr:!0}),_global:M("global",{startsExpr:!0}),_implements:M("implements",{startsExpr:!0}),_intrinsic:M("intrinsic",{startsExpr:!0}),_infer:M("infer",{startsExpr:!0}),_is:M("is",{startsExpr:!0}),_mixins:M("mixins",{startsExpr:!0}),_proto:M("proto",{startsExpr:!0}),_require:M("require",{startsExpr:!0}),_satisfies:M("satisfies",{startsExpr:!0}),_keyof:M("keyof",{startsExpr:!0}),_readonly:M("readonly",{startsExpr:!0}),_unique:M("unique",{startsExpr:!0}),_abstract:M("abstract",{startsExpr:!0}),_declare:M("declare",{startsExpr:!0}),_enum:M("enum",{startsExpr:!0}),_module:M("module",{startsExpr:!0}),_namespace:M("namespace",{startsExpr:!0}),_interface:M("interface",{startsExpr:!0}),_type:M("type",{startsExpr:!0}),_opaque:M("opaque",{startsExpr:!0}),name:ie("name",{startsExpr:!0}),placeholder:ie("%%",{startsExpr:!0}),string:ie("string",{startsExpr:!0}),num:ie("num",{startsExpr:!0}),bigint:ie("bigint",{startsExpr:!0}),decimal:ie("decimal",{startsExpr:!0}),regexp:ie("regexp",{startsExpr:!0}),privateName:ie("#name",{startsExpr:!0}),eof:ie("eof"),jsxName:ie("jsxName"),jsxText:ie("jsxText",{beforeExpr:!0}),jsxTagStart:ie("jsxTagStart",{startsExpr:!0}),jsxTagEnd:ie("jsxTagEnd")};function G(X){return X>=93&&X<=133}function U(X){return X>=58&&X<=133}function Q(X){return X>=58&&X<=137}function de(X){return re[X]}function se(X){return X>=129&&X<=131}function ye(X){return X>=58&&X<=92}function we(X){return X===34}function ve(X){return D[X]}function ce(X){return W[X]}function H(X){return X>=24&&X<=25}function me(X){return $[X]}$[8].updateContext=X=>{X.pop()},$[5].updateContext=$[7].updateContext=$[23].updateContext=X=>{X.push(K.brace)},$[22].updateContext=X=>{X[X.length-1]===K.template?X.pop():X.push(K.template)},$[143].updateContext=X=>{X.push(K.j_expr,K.j_oTag)};let Se="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",pe="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",j=new RegExp("["+Se+"]"),Te=new RegExp("["+Se+pe+"]");Se=pe=null;let De=[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],Fe=[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];function Pe(X,n){let a=65536;for(let m=0,_=n.length;m<_;m+=2){if(a+=n[m],a>X)return!1;if(a+=n[m+1],a>=X)return!0}return!1}function ke(X){return X<65?X===36:X<=90||(X<97?X===95:X<=122||(X<=65535?X>=170&&j.test(String.fromCharCode(X)):Pe(X,De)))}function Oe(X){return X<48?X===36:X<58||!(X<65)&&(X<=90||(X<97?X===95:X<=122||(X<=65535?X>=170&&Te.test(String.fromCharCode(X)):Pe(X,De)||Pe(X,Fe))))}let We=["implements","interface","let","package","private","protected","public","static","yield"],Re=["eval","arguments"],at=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),ut=new Set(We),pt=new Set(Re);function qe(X,n){return n&&X==="await"||X==="enum"}function rt(X,n){return qe(X,n)||ut.has(X)}function Ve(X){return pt.has(X)}function Ne(X,n){return rt(X,n)||Ve(X)}let ae=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);class _e{constructor(n){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=n}}class $e{constructor(n,a){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=n,this.inModule=a}get inTopLevel(){return(1&this.currentScope().flags)>0}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get allowNewTarget(){return(512&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){let n=this.currentThisScopeFlags();return(64&n)>0&&!(2&n)}get inStaticBlock(){for(let n=this.scopeStack.length-1;;n--){let{flags:a}=this.scopeStack[n];if(128&a)return!0;if(1731&a)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get inBareCaseStatement(){return(256&this.currentScope().flags)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(n){return new _e(n)}enter(n){this.scopeStack.push(this.createScope(n))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(n){return!!(130&n.flags||!this.parser.inModule&&1&n.flags)}declareName(n,a,m){let _=this.currentScope();if(8&a||16&a){this.checkRedeclarationInScope(_,n,a,m);let k=_.names.get(n)||0;16&a?k|=4:(_.firstLexicalName||(_.firstLexicalName=n),k|=2),_.names.set(n,k),8&a&&this.maybeExportDefined(_,n)}else if(4&a)for(let k=this.scopeStack.length-1;k>=0&&(_=this.scopeStack[k],this.checkRedeclarationInScope(_,n,a,m),_.names.set(n,1|(_.names.get(n)||0)),this.maybeExportDefined(_,n),!(1667&_.flags));--k);this.parser.inModule&&1&_.flags&&this.undefinedExports.delete(n)}maybeExportDefined(n,a){this.parser.inModule&&1&n.flags&&this.undefinedExports.delete(a)}checkRedeclarationInScope(n,a,m,_){this.isRedeclaredInScope(n,a,m)&&this.parser.raise(S.VarRedeclaration,_,{identifierName:a})}isRedeclaredInScope(n,a,m){if(!(1&m))return!1;if(8&m)return n.names.has(a);let _=n.names.get(a);return 16&m?(2&_)>0||!this.treatFunctionsAsVarInScope(n)&&(1&_)>0:(2&_)>0&&!(8&n.flags&&n.firstLexicalName===a)||!this.treatFunctionsAsVarInScope(n)&&(4&_)>0}checkLocalExport(n){let{name:a}=n;this.scopeStack[0].names.has(a)||this.undefinedExports.set(a,n.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let n=this.scopeStack.length-1;;n--){let{flags:a}=this.scopeStack[n];if(1667&a)return a}}currentThisScopeFlags(){for(let n=this.scopeStack.length-1;;n--){let{flags:a}=this.scopeStack[n];if(1731&a&&!(4&a))return a}}}class st extends _e{constructor(...n){super(...n),this.declareFunctions=new Set}}class et extends $e{createScope(n){return new st(n)}declareName(n,a,m){let _=this.currentScope();if(2048&a)return this.checkRedeclarationInScope(_,n,a,m),this.maybeExportDefined(_,n),void _.declareFunctions.add(n);super.declareName(n,a,m)}isRedeclaredInScope(n,a,m){if(super.isRedeclaredInScope(n,a,m))return!0;if(2048&m&&!n.declareFunctions.has(a)){let _=n.names.get(a);return(4&_)>0||(2&_)>0}return!1}checkLocalExport(n){this.scopeStack[0].declareFunctions.has(n.name)||super.checkLocalExport(n)}}let oe=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Ae=P`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:X})=>`Cannot overwrite reserved type ${X}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:X,enumName:n})=>`Boolean enum members need to be initialized. Use either \`${X} = true,\` or \`${X} = false,\` in enum \`${n}\`.`,EnumDuplicateMemberName:({memberName:X,enumName:n})=>`Enum member names need to be unique, but the name \`${X}\` has already been used before in enum \`${n}\`.`,EnumInconsistentMemberValues:({enumName:X})=>`Enum \`${X}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:X,enumName:n})=>`Enum type \`${X}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${n}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:X})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${X}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:X,memberName:n,explicitType:a})=>`Enum \`${X}\` has type \`${a}\`, so the initializer of \`${n}\` needs to be a ${a} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:X,memberName:n})=>`Symbol enum members cannot be initialized. Use \`${n},\` in enum \`${X}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:X,memberName:n})=>`The enum member initializer for \`${n}\` needs to be a literal (either a boolean, number, or string) in enum \`${X}\`.`,EnumInvalidMemberName:({enumName:X,memberName:n,suggestion:a})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${n}\`, consider using \`${a}\`, in enum \`${X}\`.`,EnumNumberMemberNotInitialized:({enumName:X,memberName:n})=>`Number enum members need to be initialized, e.g. \`${n} = 1\` in enum \`${X}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:X})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${X}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:X})=>`Unexpected reserved type ${X}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:X,suggestion:n})=>`\`declare export ${X}\` is not supported. Use \`${n}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Ge(X){return X.importKind==="type"||X.importKind==="typeof"}let He={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},Ee=/\*?\s*@((?:no)?flow)\b/,Le={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},Ie=new RegExp(/\r\n|[\r\n\u2028\u2029]/.source,"g");function xe(X){switch(X){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function ze(X,n,a){for(let m=n;m<a;m++)if(xe(X.charCodeAt(m)))return!0;return!1}let it=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Qe=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function lt(X){switch(X){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}let ct=P`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:X})=>`Expected corresponding JSX closing tag for <${X}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:X,HTMLEntity:n})=>`Unexpected token \`${X}\`. Did you mean \`${n}\` or \`{'${X}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function Ye(X){return!!X&&(X.type==="JSXOpeningFragment"||X.type==="JSXClosingFragment")}function xt(X){if(X.type==="JSXIdentifier")return X.name;if(X.type==="JSXNamespacedName")return X.namespace.name+":"+X.name.name;if(X.type==="JSXMemberExpression")return xt(X.object)+"."+xt(X.property);throw new Error("Node had unexpected type: "+X.type)}class St extends _e{constructor(...n){super(...n),this.tsNames=new Map}}class Ft extends $e{constructor(...n){super(...n),this.importsStack=[]}createScope(n){return this.importsStack.push(new Set),new St(n)}enter(n){n===1024&&this.importsStack.push(new Set),super.enter(n)}exit(){let n=super.exit();return n===1024&&this.importsStack.pop(),n}hasImport(n,a){let m=this.importsStack.length;if(this.importsStack[m-1].has(n))return!0;if(!a&&m>1){for(let _=0;_<m-1;_++)if(this.importsStack[_].has(n))return!0}return!1}declareName(n,a,m){if(4096&a)return this.hasImport(n,!0)&&this.parser.raise(S.VarRedeclaration,m,{identifierName:n}),void this.importsStack[this.importsStack.length-1].add(n);let _=this.currentScope(),k=_.tsNames.get(n)||0;if(1024&a)return this.maybeExportDefined(_,n),void _.tsNames.set(n,16|k);super.declareName(n,a,m),2&a&&(1&a||(this.checkRedeclarationInScope(_,n,a,m),this.maybeExportDefined(_,n)),k|=1),256&a&&(k|=2),512&a&&(k|=4),128&a&&(k|=8),k&&_.tsNames.set(n,k)}isRedeclaredInScope(n,a,m){let _=n.tsNames.get(a);return(2&_)>0?256&m?!!(512&m)!=(4&_)>0:!0:128&m&&(8&_)>0?!!(2&n.names.get(a))&&!!(1&m):!!(2&m&&(1&_)>0)||super.isRedeclaredInScope(n,a,m)}checkLocalExport(n){let{name:a}=n;if(!this.hasImport(a)){for(let m=this.scopeStack.length-1;m>=0;m--){let _=this.scopeStack[m].tsNames.get(a);if((1&_)>0||(16&_)>0)return}super.checkLocalExport(n)}}}class Dt{constructor(){this.stacks=[]}enter(n){this.stacks.push(n)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function Jt(X,n){return(X?2:0)|(n?1:0)}class At{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(n){return n+this.startIndex}offsetToSourcePos(n){return n-this.startIndex}hasPlugin(n){if(typeof n=="string")return this.plugins.has(n);{let[a,m]=n;if(!this.hasPlugin(a))return!1;let _=this.plugins.get(a);for(let k of Object.keys(m))if(_?.[k]!==m[k])return!1;return!0}}getPluginOption(n,a){var m;return(m=this.plugins.get(n))==null?void 0:m[a]}}function Qt(X,n){X.trailingComments===void 0?X.trailingComments=n:X.trailingComments.unshift(...n)}function sn(X,n){X.innerComments===void 0?X.innerComments=n:X.innerComments.unshift(...n)}function bn(X,n,a){let m=null,_=n.length;for(;m===null&&_>0;)m=n[--_];m===null||m.start>a.start?sn(X,a.comments):Qt(m,a.comments)}class on extends At{addComment(n){this.filename&&(n.loc.filename=this.filename);let{commentsLen:a}=this.state;this.comments.length!==a&&(this.comments.length=a),this.comments.push(n),this.state.commentsLen++}processComment(n){let{commentStack:a}=this.state,m=a.length;if(m===0)return;let _=m-1,k=a[_];k.start===n.end&&(k.leadingNode=n,_--);let{start:J}=n;for(;_>=0;_--){let ne=a[_],he=ne.end;if(!(he>J)){he===J&&(ne.trailingNode=n);break}ne.containingNode=n,this.finalizeComment(ne),a.splice(_,1)}}finalizeComment(n){var a;let{comments:m}=n;if(n.leadingNode!==null||n.trailingNode!==null)n.leadingNode!==null&&Qt(n.leadingNode,m),n.trailingNode!==null&&(function(_,k){_.leadingComments===void 0?_.leadingComments=k:_.leadingComments.unshift(...k)})(n.trailingNode,m);else{let{containingNode:_,start:k}=n;if(this.input.charCodeAt(this.offsetToSourcePos(k)-1)===44)switch(_.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":bn(_,_.properties,n);break;case"CallExpression":case"OptionalCallExpression":bn(_,_.arguments,n);break;case"ImportExpression":bn(_,[_.source,(a=_.options)!=null?a:null],n);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":bn(_,_.params,n);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":bn(_,_.elements,n);break;case"ExportNamedDeclaration":case"ImportDeclaration":bn(_,_.specifiers,n);break;case"TSEnumDeclaration":case"TSEnumBody":bn(_,_.members,n);break;default:sn(_,m)}else sn(_,m)}}finalizeRemainingComments(){let{commentStack:n}=this.state;for(let a=n.length-1;a>=0;a--)this.finalizeComment(n[a]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(n){let{commentStack:a}=this.state,{length:m}=a;if(m===0)return;let _=a[m-1];_.leadingNode===n&&(_.leadingNode=null)}takeSurroundingComments(n,a,m){let{commentStack:_}=this.state,k=_.length;if(k===0)return;let J=k-1;for(;J>=0;J--){let ne=_[J],he=ne.end;if(ne.start===m)ne.leadingNode=n;else if(he===a)ne.trailingNode=n;else if(he<a)break}}}class pn{constructor(){this.flags=1024,this.startIndex=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[K.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(1&this.flags)>0}set strict(n){n?this.flags|=1:this.flags&=-2}init({strictMode:n,sourceType:a,startIndex:m,startLine:_,startColumn:k}){this.strict=n!==!1&&(n===!0||a==="module"),this.startIndex=m,this.curLine=_,this.lineStart=-k,this.startLoc=this.endLoc=new r(_,k,m)}get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(n){n?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(n){n?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(n){n?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(n){n?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(n){n?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(n){n?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(n){n?this.flags|=128:this.flags&=-129}get soloAwait(){return(256&this.flags)>0}set soloAwait(n){n?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(n){n?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(n){n?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(n){n?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(4096&this.flags)>0}set hasTopLevelAwait(n){n?this.flags|=4096:this.flags&=-4097}curPosition(){return new r(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let n=new pn;return n.flags=this.flags,n.startIndex=this.startIndex,n.curLine=this.curLine,n.lineStart=this.lineStart,n.startLoc=this.startLoc,n.endLoc=this.endLoc,n.errors=this.errors.slice(),n.potentialArrowAt=this.potentialArrowAt,n.noArrowAt=this.noArrowAt.slice(),n.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),n.topicContext=this.topicContext,n.labels=this.labels.slice(),n.commentsLen=this.commentsLen,n.commentStack=this.commentStack.slice(),n.pos=this.pos,n.type=this.type,n.value=this.value,n.start=this.start,n.end=this.end,n.lastTokEndLoc=this.lastTokEndLoc,n.lastTokStartLoc=this.lastTokStartLoc,n.context=this.context.slice(),n.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,n.strictErrors=this.strictErrors,n.tokensLength=this.tokensLength,n}}var Dn=function(X){return X>=48&&X<=57};let kt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},gn={bin:X=>X===48||X===49,oct:X=>X>=48&&X<=55,dec:X=>X>=48&&X<=57,hex:X=>X>=48&&X<=57||X>=65&&X<=70||X>=97&&X<=102};function _n(X,n,a,m,_,k){let J=a,ne=m,he=_,be="",Ue=null,nt=a,{length:Pt}=n;for(;;){if(a>=Pt){k.unterminated(J,ne,he),be+=n.slice(nt,a);break}let ht=n.charCodeAt(a);if(Wt(X,ht,n,a)){be+=n.slice(nt,a);break}if(ht===92){be+=n.slice(nt,a);let Ct=Zt(n,a,m,_,X==="template",k);Ct.ch!==null||Ue?be+=Ct.ch:Ue={pos:a,lineStart:m,curLine:_},{pos:a,lineStart:m,curLine:_}=Ct,nt=a}else ht===8232||ht===8233?(++_,m=++a):ht===10||ht===13?X==="template"?(be+=n.slice(nt,a)+`
|
|
347
|
-
`,++a,ht===13&&n.charCodeAt(a)===10&&++a,++_,nt=m=a):k.unterminated(J,ne,he):++a}return{pos:a,str:be,firstInvalidLoc:Ue,lineStart:m,curLine:_,containsInvalid:!!Ue}}function Wt(X,n,a,m){return X==="template"?n===96||n===36&&a.charCodeAt(m+1)===123:n===(X==="double"?34:39)}function Zt(X,n,a,m,_,k){let J=!_;n++;let ne=be=>({pos:n,ch:be,lineStart:a,curLine:m}),he=X.charCodeAt(n++);switch(he){case 110:return ne(`
|
|
348
|
-
`);case 114:return ne("\r");case 120:{let be;return{code:be,pos:n}=dn(X,n,a,m,2,!1,J,k),ne(be===null?null:String.fromCharCode(be))}case 117:{let be;return{code:be,pos:n}=Fn(X,n,a,m,J,k),ne(be===null?null:String.fromCodePoint(be))}case 116:return ne(" ");case 98:return ne("\b");case 118:return ne("\v");case 102:return ne("\f");case 13:X.charCodeAt(n)===10&&++n;case 10:a=n,++m;case 8232:case 8233:return ne("");case 56:case 57:if(_)return ne(null);k.strictNumericEscape(n-1,a,m);default:if(he>=48&&he<=55){let be=n-1,Ue=/^[0-7]+/.exec(X.slice(be,n+2))[0],nt=parseInt(Ue,8);nt>255&&(Ue=Ue.slice(0,-1),nt=parseInt(Ue,8)),n+=Ue.length-1;let Pt=X.charCodeAt(n);if(Ue!=="0"||Pt===56||Pt===57){if(_)return ne(null);k.strictNumericEscape(be,a,m)}return ne(String.fromCharCode(nt))}return ne(String.fromCharCode(he))}}function dn(X,n,a,m,_,k,J,ne){let he=n,be;return{n:be,pos:n}=tn(X,n,a,m,16,_,k,!1,ne,!J),be===null&&(J?ne.invalidEscapeSequence(he,a,m):n=he-1),{code:be,pos:n}}function tn(X,n,a,m,_,k,J,ne,he,be){let Ue=n,nt=_===16?kt.hex:kt.decBinOct,Pt=_===16?gn.hex:_===10?gn.dec:_===8?gn.oct:gn.bin,ht=!1,Ct=0;for(let Gt=0,ln=k??1/0;Gt<ln;++Gt){let Ut=X.charCodeAt(n),zt;if(Ut===95&&ne!=="bail"){let Hn=X.charCodeAt(n-1),si=X.charCodeAt(n+1);if(ne){if(Number.isNaN(si)||!Pt(si)||nt.has(Hn)||nt.has(si)){if(be)return{n:null,pos:n};he.unexpectedNumericSeparator(n,a,m)}}else{if(be)return{n:null,pos:n};he.numericSeparatorInEscapeSequence(n,a,m)}++n;continue}if(zt=Ut>=97?Ut-97+10:Ut>=65?Ut-65+10:Dn(Ut)?Ut-48:1/0,zt>=_){if(zt<=9&&be)return{n:null,pos:n};if(zt<=9&&he.invalidDigit(n,a,m,_))zt=0;else{if(!J)break;zt=0,ht=!0}}++n,Ct=Ct*_+zt}return n===Ue||k!=null&&n-Ue!==k||ht?{n:null,pos:n}:{n:Ct,pos:n}}function Fn(X,n,a,m,_,k){let J;if(X.charCodeAt(n)===123){if(++n,{code:J,pos:n}=dn(X,n,a,m,X.indexOf("}",n)-n,!0,_,k),++n,J!==null&&J>1114111){if(!_)return{code:null,pos:n};k.invalidCodePoint(n,a,m)}}else({code:J,pos:n}=dn(X,n,a,m,4,!1,_,k));return{code:J,pos:n}}function Rn(X,n,a){return new r(a,X-n,X)}let Jn=new Set([103,109,115,105,121,117,100,118]);class fn{constructor(n){let a=n.startIndex||0;this.type=n.type,this.value=n.value,this.start=a+n.start,this.end=a+n.end,this.loc=new l(n.startLoc,n.endLoc)}}class Zn extends on{constructor(n,a){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(m,_,k,J)=>!!(2048&this.optionFlags)&&(this.raise(S.InvalidDigit,Rn(m,_,k),{radix:J}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(S.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(S.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(S.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(S.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(m,_,k)=>{this.recordStrictModeErrors(S.StrictNumericEscape,Rn(m,_,k))},unterminated:(m,_,k)=>{throw this.raise(S.UnterminatedString,Rn(m-1,_,k))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(S.StrictNumericEscape),unterminated:(m,_,k)=>{throw this.raise(S.UnterminatedTemplate,Rn(m,_,k))}}),this.state=new pn,this.state.init(n),this.input=a,this.length=a.length,this.comments=[],this.isLookahead=!1}pushToken(n){this.tokens.length=this.state.tokensLength,this.tokens.push(n),++this.state.tokensLength}next(){this.checkKeywordEscapes(),256&this.optionFlags&&this.pushToken(new fn(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(n){return!!this.match(n)&&(this.next(),!0)}match(n){return this.state.type===n}createLookaheadState(n){return{pos:n.pos,value:null,type:n.type,start:n.start,end:n.end,context:[this.curContext()],inType:n.inType,startLoc:n.startLoc,lastTokEndLoc:n.lastTokEndLoc,curLine:n.curLine,lineStart:n.lineStart,curPosition:n.curPosition}}lookahead(){let n=this.state;this.state=this.createLookaheadState(n),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let a=this.state;return this.state=n,a}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(n){return it.lastIndex=n,it.test(this.input)?it.lastIndex:n}lookaheadCharCode(){return this.lookaheadCharCodeSince(this.state.pos)}lookaheadCharCodeSince(n){return this.input.charCodeAt(this.nextTokenStartSince(n))}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(n){return Qe.lastIndex=n,Qe.test(this.input)?Qe.lastIndex:n}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(n){let a=this.input.charCodeAt(n);if((64512&a)==55296&&++n<this.input.length){let m=this.input.charCodeAt(n);(64512&m)==56320&&(a=65536+((1023&a)<<10)+(1023&m))}return a}setStrict(n){this.state.strict=n,n&&(this.state.strictErrors.forEach(([a,m])=>this.raise(a,m)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(140):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(n){let a;this.isLookahead||(a=this.state.curPosition());let m=this.state.pos,_=this.input.indexOf(n,m+2);if(_===-1)throw this.raise(S.UnterminatedComment,this.state.curPosition());for(this.state.pos=_+n.length,Ie.lastIndex=m+2;Ie.test(this.input)&&Ie.lastIndex<=_;)++this.state.curLine,this.state.lineStart=Ie.lastIndex;if(this.isLookahead)return;let k={type:"CommentBlock",value:this.input.slice(m+2,_),start:this.sourceToOffsetPos(m),end:this.sourceToOffsetPos(_+n.length),loc:new l(a,this.state.curPosition())};return 256&this.optionFlags&&this.pushToken(k),k}skipLineComment(n){let a=this.state.pos,m;this.isLookahead||(m=this.state.curPosition());let _=this.input.charCodeAt(this.state.pos+=n);if(this.state.pos<this.length)for(;!xe(_)&&++this.state.pos<this.length;)_=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let k=this.state.pos,J={type:"CommentLine",value:this.input.slice(a+n,k),start:this.sourceToOffsetPos(a),end:this.sourceToOffsetPos(k),loc:new l(m,this.state.curPosition())};return 256&this.optionFlags&&this.pushToken(J),J}skipSpace(){let n=this.state.pos,a=4096&this.optionFlags?[]:null;e:for(;this.state.pos<this.length;){let m=this.input.charCodeAt(this.state.pos);switch(m){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let _=this.skipBlockComment("*/");_!==void 0&&(this.addComment(_),a?.push(_));break}case 47:{let _=this.skipLineComment(2);_!==void 0&&(this.addComment(_),a?.push(_));break}default:break e}break;default:if(lt(m))++this.state.pos;else if(m===45&&!this.inModule&&8192&this.optionFlags){let _=this.state.pos;if(this.input.charCodeAt(_+1)!==45||this.input.charCodeAt(_+2)!==62||!(n===0||this.state.lineStart>n))break e;{let k=this.skipLineComment(3);k!==void 0&&(this.addComment(k),a?.push(k))}}else{if(m!==60||this.inModule||!(8192&this.optionFlags))break e;{let _=this.state.pos;if(this.input.charCodeAt(_+1)!==33||this.input.charCodeAt(_+2)!==45||this.input.charCodeAt(_+3)!==45)break e;{let k=this.skipLineComment(4);k!==void 0&&(this.addComment(k),a?.push(k))}}}}}if(a?.length>0){let m=this.state.pos,_={start:this.sourceToOffsetPos(n),end:this.sourceToOffsetPos(m),comments:a,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(_)}}finishToken(n,a){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let m=this.state.type;this.state.type=n,this.state.value=a,this.isLookahead||this.updateContext(m)}replaceToken(n){this.state.type=n,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let n=this.state.pos+1,a=this.codePointAtPos(n);if(a>=48&&a<=57)throw this.raise(S.UnexpectedDigitAfterHash,this.state.curPosition());if(a===123||a===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(a===123?S.RecordExpressionHashIncorrectStartSyntaxType:S.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,a===123?this.finishToken(7):this.finishToken(1)}else ke(a)?(++this.state.pos,this.finishToken(139,this.readWord1(a))):a===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let n=this.input.charCodeAt(this.state.pos+1);n>=48&&n<=57?this.readNumber(!0):n===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let n=this.input.charCodeAt(this.state.pos+1);if(n!==33)return!1;let a=this.state.pos;for(this.state.pos+=1;!xe(n)&&++this.state.pos<this.length;)n=this.input.charCodeAt(this.state.pos);let m=this.input.slice(a+2,this.state.pos);return this.finishToken(28,m),!0}readToken_mult_modulo(n){let a=n===42?55:54,m=1,_=this.input.charCodeAt(this.state.pos+1);n===42&&_===42&&(m++,_=this.input.charCodeAt(this.state.pos+2),a=57),_!==61||this.state.inType||(m++,a=n===37?33:30),this.finishOp(a,m)}readToken_pipe_amp(n){let a=this.input.charCodeAt(this.state.pos+1);if(a!==n){if(n===124){if(a===62)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&a===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&a===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(4)}}a!==61?this.finishOp(n===124?43:45,1):this.finishOp(30,2)}else this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(n===124?41:42,2)}readToken_caret(){let n=this.input.charCodeAt(this.state.pos+1);n!==61||this.state.inType?n===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1):this.finishOp(32,2)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(n){let a=this.input.charCodeAt(this.state.pos+1);a!==n?a===61?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){let{pos:n}=this.state,a=this.input.charCodeAt(n+1);if(a===60)return this.input.charCodeAt(n+2)===61?void this.finishOp(30,3):void this.finishOp(51,2);a!==61?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){let{pos:n}=this.state,a=this.input.charCodeAt(n+1);if(a===62){let m=this.input.charCodeAt(n+2)===62?3:2;return this.input.charCodeAt(n+m)===61?void this.finishOp(30,m+1):void this.finishOp(52,m)}a!==61?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(n){let a=this.input.charCodeAt(this.state.pos+1);if(a!==61)return n===61&&a===62?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(n===61?29:35,1);this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2)}readToken_question(){let n=this.input.charCodeAt(this.state.pos+1),a=this.input.charCodeAt(this.state.pos+2);n===63?a===61?this.finishOp(30,3):this.finishOp(40,2):n!==46||a>=48&&a<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(n){switch(n){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{let a=this.input.charCodeAt(this.state.pos+1);if(a===120||a===88)return void this.readRadixNumber(16);if(a===111||a===79)return void this.readRadixNumber(8);if(a===98||a===66)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(n);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(n);case 124:case 38:return void this.readToken_pipe_amp(n);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(n);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(n);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(ke(n))return void this.readWord(n)}throw this.raise(S.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(n)})}finishOp(n,a){let m=this.input.slice(this.state.pos,this.state.pos+a);this.state.pos+=a,this.finishToken(n,m)}readRegexp(){let n=this.state.startLoc,a=this.state.start+1,m,_,{pos:k}=this.state;for(;;++k){if(k>=this.length)throw this.raise(S.UnterminatedRegExp,d(n,1));let be=this.input.charCodeAt(k);if(xe(be))throw this.raise(S.UnterminatedRegExp,d(n,1));if(m)m=!1;else{if(be===91)_=!0;else if(be===93&&_)_=!1;else if(be===47&&!_)break;m=be===92}}let J=this.input.slice(a,k);++k;let ne="",he=()=>d(n,k+2-a);for(;k<this.length;){let be=this.codePointAtPos(k),Ue=String.fromCharCode(be);if(Jn.has(be))be===118?ne.includes("u")&&this.raise(S.IncompatibleRegExpUVFlags,he()):be===117&&ne.includes("v")&&this.raise(S.IncompatibleRegExpUVFlags,he()),ne.includes(Ue)&&this.raise(S.DuplicateRegExpFlags,he());else{if(!Oe(be)&&be!==92)break;this.raise(S.MalformedRegExpFlags,he())}++k,ne+=Ue}this.state.pos=k,this.finishToken(138,{pattern:J,flags:ne})}readInt(n,a,m=!1,_=!0){let{n:k,pos:J}=tn(this.input,this.state.pos,this.state.lineStart,this.state.curLine,n,a,m,_,this.errorHandlers_readInt,!1);return this.state.pos=J,k}readRadixNumber(n){let a=this.state.pos,m=this.state.curPosition(),_=!1;this.state.pos+=2;let k=this.readInt(n);k==null&&this.raise(S.InvalidDigit,d(m,2),{radix:n});let J=this.input.charCodeAt(this.state.pos);if(J===110)++this.state.pos,_=!0;else if(J===109)throw this.raise(S.InvalidDecimal,m);if(ke(this.codePointAtPos(this.state.pos)))throw this.raise(S.NumberIdentifier,this.state.curPosition());if(_){let ne=this.input.slice(a,this.state.pos).replace(/[_n]/g,"");return void this.finishToken(136,ne)}this.finishToken(135,k)}readNumber(n){let a=this.state.pos,m=this.state.curPosition(),_=!1,k=!1,J=!1,ne=!1;n||this.readInt(10)!==null||this.raise(S.InvalidNumber,this.state.curPosition());let he=this.state.pos-a>=2&&this.input.charCodeAt(a)===48;if(he){let ht=this.input.slice(a,this.state.pos);if(this.recordStrictModeErrors(S.StrictOctalLiteral,m),!this.state.strict){let Ct=ht.indexOf("_");Ct>0&&this.raise(S.ZeroDigitNumericSeparator,d(m,Ct))}ne=he&&!/[89]/.test(ht)}let be=this.input.charCodeAt(this.state.pos);if(be!==46||ne||(++this.state.pos,this.readInt(10),_=!0,be=this.input.charCodeAt(this.state.pos)),be!==69&&be!==101||ne||(be=this.input.charCodeAt(++this.state.pos),be!==43&&be!==45||++this.state.pos,this.readInt(10)===null&&this.raise(S.InvalidOrMissingExponent,m),_=!0,J=!0,be=this.input.charCodeAt(this.state.pos)),be===110&&((_||he)&&this.raise(S.InvalidBigIntLiteral,m),++this.state.pos,k=!0),be===109){this.expectPlugin("decimal",this.state.curPosition()),(J||he)&&this.raise(S.InvalidDecimal,m),++this.state.pos;var Ue=!0}if(ke(this.codePointAtPos(this.state.pos)))throw this.raise(S.NumberIdentifier,this.state.curPosition());let nt=this.input.slice(a,this.state.pos).replace(/[_mn]/g,"");if(k)return void this.finishToken(136,nt);if(Ue)return void this.finishToken(137,nt);let Pt=ne?parseInt(nt,8):parseFloat(nt);this.finishToken(135,Pt)}readCodePoint(n){let{code:a,pos:m}=Fn(this.input,this.state.pos,this.state.lineStart,this.state.curLine,n,this.errorHandlers_readCodePoint);return this.state.pos=m,a}readString(n){let{str:a,pos:m,curLine:_,lineStart:k}=_n(n===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=m+1,this.state.lineStart=k,this.state.curLine=_,this.finishToken(134,a)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let n=this.input[this.state.pos],{str:a,firstInvalidLoc:m,pos:_,curLine:k,lineStart:J}=_n("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=_+1,this.state.lineStart=J,this.state.curLine=k,m&&(this.state.firstInvalidTemplateEscapePos=new r(m.curLine,m.pos-m.lineStart,this.sourceToOffsetPos(m.pos))),this.input.codePointAt(_)===96?this.finishToken(24,m?null:n+a+"`"):(this.state.pos++,this.finishToken(25,m?null:n+a+"${"))}recordStrictModeErrors(n,a){let m=a.index;this.state.strict&&!this.state.strictErrors.has(m)?this.raise(n,a):this.state.strictErrors.set(m,[n,a])}readWord1(n){this.state.containsEsc=!1;let a="",m=this.state.pos,_=this.state.pos;for(n!==void 0&&(this.state.pos+=n<=65535?1:2);this.state.pos<this.length;){let k=this.codePointAtPos(this.state.pos);if(Oe(k))this.state.pos+=k<=65535?1:2;else{if(k!==92)break;{this.state.containsEsc=!0,a+=this.input.slice(_,this.state.pos);let J=this.state.curPosition(),ne=this.state.pos===m?ke:Oe;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(S.MissingUnicodeEscape,this.state.curPosition()),_=this.state.pos-1;continue}++this.state.pos;let he=this.readCodePoint(!0);he!==null&&(ne(he)||this.raise(S.EscapedCharNotAnIdentifier,J),a+=String.fromCodePoint(he)),_=this.state.pos}}}return a+this.input.slice(_,this.state.pos)}readWord(n){let a=this.readWord1(n),m=w.get(a);m!==void 0?this.finishToken(m,ve(m)):this.finishToken(132,a)}checkKeywordEscapes(){let{type:n}=this.state;ye(n)&&this.state.containsEsc&&this.raise(S.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:ve(n)})}raise(n,a,m={}){let _=n(a instanceof r?a:a.loc.start,m);if(!(2048&this.optionFlags))throw _;return this.isLookahead||this.state.errors.push(_),_}raiseOverwrite(n,a,m={}){let _=a instanceof r?a:a.loc.start,k=_.index,J=this.state.errors;for(let ne=J.length-1;ne>=0;ne--){let he=J[ne];if(he.loc.index===k)return J[ne]=n(_,m);if(he.loc.index<k)break}return this.raise(n,a,m)}updateContext(n){}unexpected(n,a){throw this.raise(S.UnexpectedToken,n??this.state.startLoc,{expected:a?ve(a):null})}expectPlugin(n,a){if(this.hasPlugin(n))return!0;throw this.raise(S.MissingPlugin,a??this.state.startLoc,{missingPlugin:[n]})}expectOnePlugin(n){if(!n.some(a=>this.hasPlugin(a)))throw this.raise(S.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:n})}errorBuilder(n){return(a,m,_)=>{this.raise(n,Rn(a,m,_))}}}class Nn{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Vn{constructor(n){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=n}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Nn)}exit(){let n=this.stack.pop(),a=this.current();for(let[m,_]of Array.from(n.undefinedPrivateNames))a?a.undefinedPrivateNames.has(m)||a.undefinedPrivateNames.set(m,_):this.parser.raise(S.InvalidPrivateFieldResolution,_,{identifierName:m})}declarePrivateName(n,a,m){let{privateNames:_,loneAccessors:k,undefinedPrivateNames:J}=this.current(),ne=_.has(n);if(3&a){let he=ne&&k.get(n);he?(ne=(3&he)===(3&a)||(4&he)!==(4&a),ne||k.delete(n)):ne||k.set(n,a)}ne&&this.parser.raise(S.PrivateNameRedeclaration,m,{identifierName:n}),_.add(n),J.delete(n)}usePrivateName(n,a){let m;for(m of this.stack)if(m.privateNames.has(n))return;m?m.undefinedPrivateNames.set(n,a):this.parser.raise(S.InvalidPrivateFieldResolution,a,{identifierName:n})}}class $n{constructor(n=0){this.type=n}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class On extends $n{constructor(n){super(n),this.declarationErrors=new Map}recordDeclarationError(n,a){let m=a.index;this.declarationErrors.set(m,[n,a])}clearDeclarationError(n){this.declarationErrors.delete(n)}iterateErrors(n){this.declarationErrors.forEach(n)}}class Wn{constructor(n){this.parser=void 0,this.stack=[new $n],this.parser=n}enter(n){this.stack.push(n)}exit(){this.stack.pop()}recordParameterInitializerError(n,a){let m=a.loc.start,{stack:_}=this,k=_.length-1,J=_[k];for(;!J.isCertainlyParameterDeclaration();){if(!J.canBeArrowParameterDeclaration())return;J.recordDeclarationError(n,m),J=_[--k]}this.parser.raise(n,m)}recordArrowParameterBindingError(n,a){let{stack:m}=this,_=m[m.length-1],k=a.loc.start;if(_.isCertainlyParameterDeclaration())this.parser.raise(n,k);else{if(!_.canBeArrowParameterDeclaration())return;_.recordDeclarationError(n,k)}}recordAsyncArrowParametersError(n){let{stack:a}=this,m=a.length-1,_=a[m];for(;_.canBeArrowParameterDeclaration();)_.type===2&&_.recordDeclarationError(S.AwaitBindingIdentifier,n),_=a[--m]}validateAsPattern(){let{stack:n}=this,a=n[n.length-1];a.canBeArrowParameterDeclaration()&&a.iterateErrors(([m,_])=>{this.parser.raise(m,_);let k=n.length-2,J=n[k];for(;J.canBeArrowParameterDeclaration();)J.clearDeclarationError(_.index),J=n[--k]})}}function kn(){return new $n}class xn extends Zn{addExtra(n,a,m,_=!0){if(!n)return;let{extra:k}=n;k==null&&(k={},n.extra=k),_?k[a]=m:Object.defineProperty(k,a,{enumerable:_,value:m})}isContextual(n){return this.state.type===n&&!this.state.containsEsc}isUnparsedContextual(n,a){if(this.input.startsWith(a,n)){let m=this.input.charCodeAt(n+a.length);return!(Oe(m)||(64512&m)==55296)}return!1}isLookaheadContextual(n){let a=this.nextTokenStart();return this.isUnparsedContextual(a,n)}eatContextual(n){return!!this.isContextual(n)&&(this.next(),!0)}expectContextual(n,a){if(!this.eatContextual(n)){if(a!=null)throw this.raise(a,this.state.startLoc);this.unexpected(null,n)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return ze(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return ze(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(n=!0){(n?this.isLineTerminator():this.eat(13))||this.raise(S.MissingSemicolon,this.state.lastTokEndLoc)}expect(n,a){this.eat(n)||this.unexpected(a,n)}tryParse(n,a=this.state.clone()){let m={node:null};try{let _=n((k=null)=>{throw m.node=k,m});if(this.state.errors.length>a.errors.length){let k=this.state;return this.state=a,this.state.tokensLength=k.tokensLength,{node:_,error:k.errors[a.errors.length],thrown:!1,aborted:!1,failState:k}}return{node:_,error:null,thrown:!1,aborted:!1,failState:null}}catch(_){let k=this.state;if(this.state=a,_ instanceof SyntaxError)return{node:null,error:_,thrown:!0,aborted:!1,failState:k};if(_===m)return{node:m.node,error:null,thrown:!1,aborted:!0,failState:k};throw _}}checkExpressionErrors(n,a){if(!n)return!1;let{shorthandAssignLoc:m,doubleProtoLoc:_,privateKeyLoc:k,optionalParametersLoc:J,voidPatternLoc:ne}=n;if(!a)return!!(m||_||J||k||ne);m!=null&&this.raise(S.InvalidCoverInitializedName,m),_!=null&&this.raise(S.DuplicateProto,_),k!=null&&this.raise(S.UnexpectedPrivateField,k),J!=null&&this.unexpected(J),ne!=null&&this.raise(S.InvalidCoverDiscardElement,ne)}isLiteralPropertyName(){return Q(this.state.type)}isPrivateName(n){return n.type==="PrivateName"}getPrivateNameSV(n){return n.id.name}hasPropertyAsPrivateName(n){return(n.type==="MemberExpression"||n.type==="OptionalMemberExpression")&&this.isPrivateName(n.property)}isObjectProperty(n){return n.type==="ObjectProperty"}isObjectMethod(n){return n.type==="ObjectMethod"}initializeScopes(n=this.options.sourceType==="module"){let a=this.state.labels;this.state.labels=[];let m=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let _=this.inModule;this.inModule=n;let k=this.scope,J=this.getScopeHandler();this.scope=new J(this,n);let ne=this.prodParam;this.prodParam=new Dt;let he=this.classScope;this.classScope=new Vn(this);let be=this.expressionScope;return this.expressionScope=new Wn(this),()=>{this.state.labels=a,this.exportedIdentifiers=m,this.inModule=_,this.scope=k,this.prodParam=ne,this.classScope=he,this.expressionScope=be}}enterInitialScopes(){let n=0;(this.inModule||1&this.optionFlags)&&(n|=2),32&this.optionFlags&&(n|=1);let a=!this.inModule&&this.options.sourceType==="commonjs";(a||2&this.optionFlags)&&(n|=4),this.prodParam.enter(n);let m=a?514:1;4&this.optionFlags&&(m|=512),this.scope.enter(m)}checkDestructuringPrivate(n){let{privateKeyLoc:a}=n;a!==null&&this.expectPlugin("destructuringPrivate",a)}}class yt{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null}}class ot{constructor(n,a,m){this.type="",this.start=a,this.end=0,this.loc=new l(m),128&n?.optionFlags&&(this.range=[a,0]),n!=null&&n.filename&&(this.loc.filename=n.filename)}}let Ze=ot.prototype;Ze.__clone=function(){let X=new ot(void 0,this.start,this.loc.start),n=Object.keys(this);for(let a=0,m=n.length;a<m;a++){let _=n[a];_!=="leadingComments"&&_!=="trailingComments"&&_!=="innerComments"&&(X[_]=this[_])}return X};class bt extends xn{startNode(){let n=this.state.startLoc;return new ot(this,n.index,n)}startNodeAt(n){return new ot(this,n.index,n)}startNodeAtNode(n){return this.startNodeAt(n.loc.start)}finishNode(n,a){return this.finishNodeAt(n,a,this.state.lastTokEndLoc)}finishNodeAt(n,a,m){return n.type=a,n.end=m.index,n.loc.end=m,128&this.optionFlags&&(n.range[1]=m.index),4096&this.optionFlags&&this.processComment(n),n}resetStartLocation(n,a){n.start=a.index,n.loc.start=a,128&this.optionFlags&&(n.range[0]=a.index)}resetEndLocation(n,a=this.state.lastTokEndLoc){n.end=a.index,n.loc.end=a,128&this.optionFlags&&(n.range[1]=a.index)}resetStartLocationFromNode(n,a){this.resetStartLocation(n,a.loc.start)}castNodeTo(n,a){return n.type=a,n}cloneIdentifier(n){let{type:a,start:m,end:_,loc:k,range:J,name:ne}=n,he=Object.create(Ze);return he.type=a,he.start=m,he.end=_,he.loc=k,he.range=J,he.name=ne,n.extra&&(he.extra=n.extra),he}cloneStringLiteral(n){let{type:a,start:m,end:_,loc:k,range:J,extra:ne}=n,he=Object.create(Ze);return he.type=a,he.start=m,he.end=_,he.loc=k,he.range=J,he.extra=ne,he.value=n.value,he}}let gt=X=>X.type==="ParenthesizedExpression"?gt(X.expression):X;class _t extends bt{toAssignable(n,a=!1){var m,_;let k;switch((n.type==="ParenthesizedExpression"||(m=n.extra)!=null&&m.parenthesized)&&(k=gt(n),a?k.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(S.InvalidParenthesizedAssignment,n):k.type==="MemberExpression"||this.isOptionalMemberExpression(k)||this.raise(S.InvalidParenthesizedAssignment,n):this.raise(S.InvalidParenthesizedAssignment,n)),n.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":break;case"ObjectExpression":this.castNodeTo(n,"ObjectPattern");for(let ne=0,he=n.properties.length,be=he-1;ne<he;ne++){var J;let Ue=n.properties[ne],nt=ne===be;this.toAssignableObjectExpressionProp(Ue,nt,a),nt&&Ue.type==="RestElement"&&(J=n.extra)!=null&&J.trailingCommaLoc&&this.raise(S.RestTrailingComma,n.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:ne,value:he}=n;this.isPrivateName(ne)&&this.classScope.usePrivateName(this.getPrivateNameSV(ne),ne.loc.start),this.toAssignable(he,a);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":this.castNodeTo(n,"ArrayPattern"),this.toAssignableList(n.elements,(_=n.extra)==null?void 0:_.trailingCommaLoc,a);break;case"AssignmentExpression":n.operator!=="="&&this.raise(S.MissingEqInAssignment,n.left.loc.end),this.castNodeTo(n,"AssignmentPattern"),delete n.operator,n.left.type==="VoidPattern"&&this.raise(S.VoidPatternInitializer,n.left),this.toAssignable(n.left,a);break;case"ParenthesizedExpression":this.toAssignable(k,a)}}toAssignableObjectExpressionProp(n,a,m){if(n.type==="ObjectMethod")this.raise(n.kind==="get"||n.kind==="set"?S.PatternHasAccessor:S.PatternHasMethod,n.key);else if(n.type==="SpreadElement"){this.castNodeTo(n,"RestElement");let _=n.argument;this.checkToRestConversion(_,!1),this.toAssignable(_,m),a||this.raise(S.RestTrailingComma,n)}else this.toAssignable(n,m)}toAssignableList(n,a,m){let _=n.length-1;for(let k=0;k<=_;k++){let J=n[k];J&&(this.toAssignableListItem(n,k,m),J.type==="RestElement"&&(k<_?this.raise(S.RestTrailingComma,J):a&&this.raise(S.RestTrailingComma,a)))}}toAssignableListItem(n,a,m){let _=n[a];if(_.type==="SpreadElement"){this.castNodeTo(_,"RestElement");let k=_.argument;this.checkToRestConversion(k,!0),this.toAssignable(k,m)}else this.toAssignable(_,m)}isAssignable(n,a){switch(n.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":return!0;case"ObjectExpression":{let m=n.properties.length-1;return n.properties.every((_,k)=>_.type!=="ObjectMethod"&&(k===m||_.type!=="SpreadElement")&&this.isAssignable(_))}case"ObjectProperty":return this.isAssignable(n.value);case"SpreadElement":return this.isAssignable(n.argument);case"ArrayExpression":return n.elements.every(m=>m===null||this.isAssignable(m));case"AssignmentExpression":return n.operator==="=";case"ParenthesizedExpression":return this.isAssignable(n.expression);case"MemberExpression":case"OptionalMemberExpression":return!a;default:return!1}}toReferencedList(n,a){return n}toReferencedListDeep(n,a){this.toReferencedList(n,a);for(let m of n)m?.type==="ArrayExpression"&&this.toReferencedListDeep(m.elements)}parseSpread(n){let a=this.startNode();return this.next(),a.argument=this.parseMaybeAssignAllowIn(n,void 0),this.finishNode(a,"SpreadElement")}parseRestBinding(){let n=this.startNode();this.next();let a=this.parseBindingAtom();return a.type==="VoidPattern"&&this.raise(S.UnexpectedVoidPattern,a),n.argument=a,this.finishNode(n,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let n=this.startNode();return this.next(),n.elements=this.parseBindingList(3,93,1),this.finishNode(n,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0);case 88:return this.parseVoidPattern(null)}return this.parseIdentifier()}parseBindingList(n,a,m){let _=1&m,k=[],J=!0;for(;!this.eat(n);)if(J?J=!1:this.expect(12),_&&this.match(12))k.push(null);else{if(this.eat(n))break;if(this.match(21)){let ne=this.parseRestBinding();if((this.hasPlugin("flow")||2&m)&&(ne=this.parseFunctionParamType(ne)),k.push(ne),!this.checkCommaAfterRest(a)){this.expect(n);break}}else{let ne=[];if(2&m)for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(S.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)ne.push(this.parseDecorator());k.push(this.parseBindingElement(m,ne))}}return k}parseBindingRestProperty(n){return this.next(),this.hasPlugin("discardBinding")&&this.match(88)?(n.argument=this.parseVoidPattern(null),this.raise(S.UnexpectedVoidPattern,n.argument)):n.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(n,"RestElement")}parseBindingProperty(){let{type:n,startLoc:a}=this.state;if(n===21)return this.parseBindingRestProperty(this.startNode());let m=this.startNode();return n===139?(this.expectPlugin("destructuringPrivate",a),this.classScope.usePrivateName(this.state.value,a),m.key=this.parsePrivateName()):this.parsePropertyName(m),m.method=!1,this.parseObjPropValue(m,a,!1,!1,!0,!1)}parseBindingElement(n,a){let m=this.parseMaybeDefault();return(this.hasPlugin("flow")||2&n)&&this.parseFunctionParamType(m),a.length&&(m.decorators=a,this.resetStartLocationFromNode(m,a[0])),this.parseMaybeDefault(m.loc.start,m)}parseFunctionParamType(n){return n}parseMaybeDefault(n,a){if(n!=null||(n=this.state.startLoc),a=a??this.parseBindingAtom(),!this.eat(29))return a;let m=this.startNodeAt(n);return a.type==="VoidPattern"&&this.raise(S.VoidPatternInitializer,a),m.left=a,m.right=this.parseMaybeAssignAllowIn(),this.finishNode(m,"AssignmentPattern")}isValidLVal(n,a,m){switch(n){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties";case"VoidPattern":return!0}return!1}isOptionalMemberExpression(n){return n.type==="OptionalMemberExpression"}checkLVal(n,a,m=64,_=!1,k=!1,J=!1){var ne;let he=n.type;if(this.isObjectMethod(n))return;let be=this.isOptionalMemberExpression(n);if(be||he==="MemberExpression")return be&&(this.expectPlugin("optionalChainingAssign",n.loc.start),a.type!=="AssignmentExpression"&&this.raise(S.InvalidLhsOptionalChaining,n,{ancestor:a})),void(m!==64&&this.raise(S.InvalidPropertyBindingPattern,n));if(he==="Identifier"){this.checkIdentifier(n,m,k);let{name:Gt}=n;return void(_&&(_.has(Gt)?this.raise(S.ParamDupe,n):_.add(Gt)))}he==="VoidPattern"&&a.type==="CatchClause"&&this.raise(S.VoidPatternCatchClauseParam,n);let Ue=this.isValidLVal(he,!(J||(ne=n.extra)!=null&&ne.parenthesized)&&a.type==="AssignmentExpression",m);if(Ue===!0)return;if(Ue===!1){let Gt=m===64?S.InvalidLhs:S.InvalidLhsBinding;return void this.raise(Gt,n,{ancestor:a})}let nt,Pt;typeof Ue=="string"?(nt=Ue,Pt=he==="ParenthesizedExpression"):[nt,Pt]=Ue;let ht=he==="ArrayPattern"||he==="ObjectPattern"?{type:he}:a,Ct=n[nt];if(Array.isArray(Ct))for(let Gt of Ct)Gt&&this.checkLVal(Gt,ht,m,_,k,Pt);else Ct&&this.checkLVal(Ct,ht,m,_,k,Pt)}checkIdentifier(n,a,m=!1){this.state.strict&&(m?Ne(n.name,this.inModule):Ve(n.name))&&(a===64?this.raise(S.StrictEvalArguments,n,{referenceName:n.name}):this.raise(S.StrictEvalArgumentsBinding,n,{bindingName:n.name})),8192&a&&n.name==="let"&&this.raise(S.LetInLexicalBinding,n),64&a||this.declareNameFromIdentifier(n,a)}declareNameFromIdentifier(n,a){this.scope.declareName(n.name,a,n.loc.start)}checkToRestConversion(n,a){switch(n.type){case"ParenthesizedExpression":this.checkToRestConversion(n.expression,a);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(a)break;default:this.raise(S.InvalidRestAssignmentPattern,n)}}checkCommaAfterRest(n){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===n?S.RestTrailingComma:S.ElementAfterRest,this.state.startLoc),!0)}}function It(X){if(!X)throw new Error("Assert fail")}let Be=P`typescript`({AbstractMethodHasImplementation:({methodName:X})=>`Method '${X}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:X})=>`Property '${X}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:X})=>`'declare' is not allowed in ${X}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:X})=>`Accessibility modifier already seen: '${X}'.`,DuplicateModifier:({modifier:X})=>`Duplicate modifier: '${X}'.`,EmptyHeritageClauseType:({token:X})=>`'${X}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:X})=>`'${X[0]}' modifier cannot be used with '${X[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:X})=>`Index signatures cannot have an accessibility modifier ('${X}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidHeritageClauseType:({token:X})=>`'${X}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnAwaitUsingDeclaration:X=>`'${X}' modifier cannot appear on an await using declaration.`,InvalidModifierOnTypeMember:({modifier:X})=>`'${X}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:X})=>`'${X}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:X})=>`'${X}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifierOnUsingDeclaration:X=>`'${X}' modifier cannot appear on a using declaration.`,InvalidModifiersOrder:({orderedModifiers:X})=>`'${X[0]}' modifier must precede '${X[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifier:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:X})=>`Private elements cannot have an accessibility modifier ('${X}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:X})=>`Single type parameter ${X} should have a trailing comma. Example usage: <${X},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:X})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${X}.`,UsingDeclarationInAmbientContext:X=>`'${X}' declarations are not allowed in ambient contexts.`});function Et(X){return X==="private"||X==="public"||X==="protected"}function Nt(X){return X==="in"||X==="out"}function jt(X){if(X.type!=="MemberExpression")return!1;let{computed:n,property:a}=X;return(!n||a.type==="StringLiteral"||!(a.type!=="TemplateLiteral"||a.expressions.length>0))&&vt(X.object)}function Yt(X,n){var a;let{type:m}=X;if((a=X.extra)!=null&&a.parenthesized)return!1;if(n){if(m==="Literal"){let{value:_}=X;if(typeof _=="string"||typeof _=="boolean")return!0}}else if(m==="StringLiteral"||m==="BooleanLiteral")return!0;return!(!Lt(X,n)&&!(function(_,k){if(_.type==="UnaryExpression"){let{operator:J,argument:ne}=_;if(J==="-"&&Lt(ne,k))return!0}return!1})(X,n))||m==="TemplateLiteral"&&X.expressions.length===0||!!jt(X)}function Lt(X,n){return n?X.type==="Literal"&&(typeof X.value=="number"||"bigint"in X):X.type==="NumericLiteral"||X.type==="BigIntLiteral"}function vt(X){return X.type==="Identifier"||X.type==="MemberExpression"&&!X.computed&&vt(X.object)}let hn=P`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),mn=["minimal","fsharp","hack","smart"],Sn=["^^","@@","^","%","#"],yn={estree:X=>class extends X{parse(){let n=N(super.parse());return 256&this.optionFlags&&(n.tokens=n.tokens.map(N)),n}parseRegExpLiteral({pattern:n,flags:a}){let m=null;try{m=new RegExp(n,a)}catch{}let _=this.estreeParseLiteral(m);return _.regex={pattern:n,flags:a},_}parseBigIntLiteral(n){let a;try{a=BigInt(n)}catch{a=null}let m=this.estreeParseLiteral(a);return m.bigint=String(m.value||n),m}parseDecimalLiteral(n){let a=this.estreeParseLiteral(null);return a.decimal=String(a.value||n),a}estreeParseLiteral(n){return this.parseLiteral(n,"Literal")}parseStringLiteral(n){return this.estreeParseLiteral(n)}parseNumericLiteral(n){return this.estreeParseLiteral(n)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(n){return this.estreeParseLiteral(n)}estreeParseChainExpression(n,a){let m=this.startNodeAtNode(n);return m.expression=n,this.finishNodeAt(m,"ChainExpression",a)}directiveToStmt(n){let a=n.value;delete n.value,this.castNodeTo(a,"Literal"),a.raw=a.extra.raw,a.value=a.extra.expressionValue;let m=this.castNodeTo(n,"ExpressionStatement");return m.expression=a,m.directive=a.extra.rawValue,delete a.extra,m}fillOptionalPropertiesForTSESLint(n){}cloneEstreeStringLiteral(n){let{start:a,end:m,loc:_,range:k,raw:J,value:ne}=n,he=Object.create(n.constructor.prototype);return he.type="Literal",he.start=a,he.end=m,he.loc=_,he.range=k,he.raw=J,he.value=ne,he}initFunction(n,a){super.initFunction(n,a),n.expression=!1}checkDeclaration(n){n!=null&&this.isObjectProperty(n)?this.checkDeclaration(n.value):super.checkDeclaration(n)}getObjectOrClassMethodParams(n){return n.value.params}isValidDirective(n){var a;return n.type==="ExpressionStatement"&&n.expression.type==="Literal"&&typeof n.expression.value=="string"&&!((a=n.expression.extra)!=null&&a.parenthesized)}parseBlockBody(n,a,m,_,k){super.parseBlockBody(n,a,m,_,k);let J=n.directives.map(ne=>this.directiveToStmt(ne));n.body=J.concat(n.body),delete n.directives}parsePrivateName(){let n=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(n):n}convertPrivateNameToPrivateIdentifier(n){let a=super.getPrivateNameSV(n);return delete n.id,n.name=a,this.castNodeTo(n,"PrivateIdentifier")}isPrivateName(n){return this.getPluginOption("estree","classFeatures")?n.type==="PrivateIdentifier":super.isPrivateName(n)}getPrivateNameSV(n){return this.getPluginOption("estree","classFeatures")?n.name:super.getPrivateNameSV(n)}parseLiteral(n,a){let m=super.parseLiteral(n,a);return m.raw=m.extra.raw,delete m.extra,m}parseFunctionBody(n,a,m=!1){super.parseFunctionBody(n,a,m),n.expression=n.body.type!=="BlockStatement"}parseMethod(n,a,m,_,k,J,ne=!1){let he=this.startNode();he.kind=n.kind,he=super.parseMethod(he,a,m,_,k,J,ne),delete he.kind;let{typeParameters:be}=n;be&&(delete n.typeParameters,he.typeParameters=be,this.resetStartLocationFromNode(he,be));let Ue=this.castNodeTo(he,"FunctionExpression");return n.value=Ue,J==="ClassPrivateMethod"&&(n.computed=!1),J==="ObjectMethod"?(n.kind==="method"&&(n.kind="init"),n.shorthand=!1,this.finishNode(n,"Property")):this.finishNode(n,"MethodDefinition")}nameIsConstructor(n){return n.type==="Literal"?n.value==="constructor":super.nameIsConstructor(n)}parseClassProperty(...n){let a=super.parseClassProperty(...n);return this.getPluginOption("estree","classFeatures")&&this.castNodeTo(a,"PropertyDefinition"),a}parseClassPrivateProperty(...n){let a=super.parseClassPrivateProperty(...n);return this.getPluginOption("estree","classFeatures")&&(this.castNodeTo(a,"PropertyDefinition"),a.computed=!1),a}parseClassAccessorProperty(n){let a=super.parseClassAccessorProperty(n);return this.getPluginOption("estree","classFeatures")&&(a.abstract&&this.hasPlugin("typescript")?(delete a.abstract,this.castNodeTo(a,"TSAbstractAccessorProperty")):this.castNodeTo(a,"AccessorProperty")),a}parseObjectProperty(n,a,m,_){let k=super.parseObjectProperty(n,a,m,_);return k&&(k.kind="init",this.castNodeTo(k,"Property")),k}finishObjectProperty(n){return n.kind="init",this.finishNode(n,"Property")}isValidLVal(n,a,m){return n==="Property"?"value":super.isValidLVal(n,a,m)}isAssignable(n,a){return n!=null&&this.isObjectProperty(n)?this.isAssignable(n.value,a):super.isAssignable(n,a)}toAssignable(n,a=!1){if(n!=null&&this.isObjectProperty(n)){let{key:m,value:_}=n;this.isPrivateName(m)&&this.classScope.usePrivateName(this.getPrivateNameSV(m),m.loc.start),this.toAssignable(_,a)}else super.toAssignable(n,a)}toAssignableObjectExpressionProp(n,a,m){n.type!=="Property"||n.kind!=="get"&&n.kind!=="set"?n.type==="Property"&&n.method?this.raise(S.PatternHasMethod,n.key):super.toAssignableObjectExpressionProp(n,a,m):this.raise(S.PatternHasAccessor,n.key)}finishCallExpression(n,a){let m=super.finishCallExpression(n,a);var _,k;return m.callee.type==="Import"?(this.castNodeTo(m,"ImportExpression"),m.source=m.arguments[0],m.options=(_=m.arguments[1])!=null?_:null,m.attributes=(k=m.arguments[1])!=null?k:null,delete m.arguments,delete m.callee):m.type==="OptionalCallExpression"?this.castNodeTo(m,"CallExpression"):m.optional=!1,m}toReferencedArguments(n){n.type!=="ImportExpression"&&super.toReferencedArguments(n)}parseExport(n,a){let m=this.state.lastTokStartLoc,_=super.parseExport(n,a);switch(_.type){case"ExportAllDeclaration":_.exported=null;break;case"ExportNamedDeclaration":_.specifiers.length===1&&_.specifiers[0].type==="ExportNamespaceSpecifier"&&(this.castNodeTo(_,"ExportAllDeclaration"),_.exported=_.specifiers[0].exported,delete _.specifiers);case"ExportDefaultDeclaration":{var k;let{declaration:J}=_;J?.type==="ClassDeclaration"&&((k=J.decorators)==null?void 0:k.length)>0&&J.start===_.start&&this.resetStartLocation(_,m)}}return _}stopParseSubscript(n,a){let m=super.stopParseSubscript(n,a);return a.optionalChainMember?this.estreeParseChainExpression(m,n.loc.end):m}parseMember(n,a,m,_,k){let J=super.parseMember(n,a,m,_,k);return J.type==="OptionalMemberExpression"?this.castNodeTo(J,"MemberExpression"):J.optional=!1,J}isOptionalMemberExpression(n){return n.type==="ChainExpression"?n.expression.type==="MemberExpression":super.isOptionalMemberExpression(n)}hasPropertyAsPrivateName(n){return n.type==="ChainExpression"&&(n=n.expression),super.hasPropertyAsPrivateName(n)}isObjectProperty(n){return n.type==="Property"&&n.kind==="init"&&!n.method}isObjectMethod(n){return n.type==="Property"&&(n.method||n.kind==="get"||n.kind==="set")}castNodeTo(n,a){let m=super.castNodeTo(n,a);return this.fillOptionalPropertiesForTSESLint(m),m}cloneIdentifier(n){let a=super.cloneIdentifier(n);return this.fillOptionalPropertiesForTSESLint(a),a}cloneStringLiteral(n){return n.type==="Literal"?this.cloneEstreeStringLiteral(n):super.cloneStringLiteral(n)}finishNodeAt(n,a,m){return N(super.finishNodeAt(n,a,m))}finishNode(n,a){let m=super.finishNode(n,a);return this.fillOptionalPropertiesForTSESLint(m),m}resetStartLocation(n,a){super.resetStartLocation(n,a),N(n)}resetEndLocation(n,a=this.state.lastTokEndLoc){super.resetEndLocation(n,a),N(n)}},jsx:X=>class extends X{jsxReadToken(){let n="",a=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(ct.UnterminatedJsxContent,this.state.startLoc);let m=this.input.charCodeAt(this.state.pos);switch(m){case 60:case 123:return this.state.pos===this.state.start?void(m===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(m)):(n+=this.input.slice(a,this.state.pos),void this.finishToken(142,n));case 38:n+=this.input.slice(a,this.state.pos),n+=this.jsxReadEntity(),a=this.state.pos;break;default:xe(m)?(n+=this.input.slice(a,this.state.pos),n+=this.jsxReadNewLine(!0),a=this.state.pos):++this.state.pos}}}jsxReadNewLine(n){let a=this.input.charCodeAt(this.state.pos),m;return++this.state.pos,a===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,m=n?`
|
|
349
|
-
`:`\r
|
|
350
|
-
`):m=String.fromCharCode(a),++this.state.curLine,this.state.lineStart=this.state.pos,m}jsxReadString(n){let a="",m=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(S.UnterminatedString,this.state.startLoc);let _=this.input.charCodeAt(this.state.pos);if(_===n)break;_===38?(a+=this.input.slice(m,this.state.pos),a+=this.jsxReadEntity(),m=this.state.pos):xe(_)?(a+=this.input.slice(m,this.state.pos),a+=this.jsxReadNewLine(!1),m=this.state.pos):++this.state.pos}a+=this.input.slice(m,this.state.pos++),this.finishToken(134,a)}jsxReadEntity(){let n=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let a=10;this.codePointAtPos(this.state.pos)===120&&(a=16,++this.state.pos);let m=this.readInt(a,void 0,!1,"bail");if(m!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(m)}else{let a=0,m=!1;for(;a++<10&&this.state.pos<this.length&&!(m=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(m){let _=this.input.slice(n,this.state.pos),k=Le[_];if(++this.state.pos,k)return k}}return this.state.pos=n,"&"}jsxReadWord(){let n,a=this.state.pos;do n=this.input.charCodeAt(++this.state.pos);while(Oe(n)||n===45);this.finishToken(141,this.input.slice(a,this.state.pos))}jsxParseIdentifier(){let n=this.startNode();return this.match(141)?n.name=this.state.value:ye(this.state.type)?n.name=ve(this.state.type):this.unexpected(),this.next(),this.finishNode(n,"JSXIdentifier")}jsxParseNamespacedName(){let n=this.state.startLoc,a=this.jsxParseIdentifier();if(!this.eat(14))return a;let m=this.startNodeAt(n);return m.namespace=a,m.name=this.jsxParseIdentifier(),this.finishNode(m,"JSXNamespacedName")}jsxParseElementName(){let n=this.state.startLoc,a=this.jsxParseNamespacedName();if(a.type==="JSXNamespacedName")return a;for(;this.eat(16);){let m=this.startNodeAt(n);m.object=a,m.property=this.jsxParseIdentifier(),a=this.finishNode(m,"JSXMemberExpression")}return a}jsxParseAttributeValue(){let n;switch(this.state.type){case 5:return n=this.startNode(),this.setContext(K.brace),this.next(),n=this.jsxParseExpressionContainer(n,K.j_oTag),n.expression.type==="JSXEmptyExpression"&&this.raise(ct.AttributeIsEmpty,n),n;case 143:case 134:return this.parseExprAtom();default:throw this.raise(ct.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let n=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(n,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(n){return this.next(),n.expression=this.parseExpression(),this.setContext(K.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(n,"JSXSpreadChild")}jsxParseExpressionContainer(n,a){if(this.match(8))n.expression=this.jsxParseEmptyExpression();else{let m=this.parseExpression();n.expression=m}return this.setContext(a),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(n,"JSXExpressionContainer")}jsxParseAttribute(){let n=this.startNode();return this.match(5)?(this.setContext(K.brace),this.next(),this.expect(21),n.argument=this.parseMaybeAssignAllowIn(),this.setContext(K.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(n,"JSXSpreadAttribute")):(n.name=this.jsxParseNamespacedName(),n.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(n,"JSXAttribute"))}jsxParseOpeningElementAt(n){let a=this.startNodeAt(n);return this.eat(144)?this.finishNode(a,"JSXOpeningFragment"):(a.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(a))}jsxParseOpeningElementAfterName(n){let a=[];for(;!this.match(56)&&!this.match(144);)a.push(this.jsxParseAttribute());return n.attributes=a,n.selfClosing=this.eat(56),this.expect(144),this.finishNode(n,"JSXOpeningElement")}jsxParseClosingElementAt(n){let a=this.startNodeAt(n);return this.eat(144)?this.finishNode(a,"JSXClosingFragment"):(a.name=this.jsxParseElementName(),this.expect(144),this.finishNode(a,"JSXClosingElement"))}jsxParseElementAt(n){let a=this.startNodeAt(n),m=[],_=this.jsxParseOpeningElementAt(n),k=null;if(!_.selfClosing){e:for(;;)switch(this.state.type){case 143:if(n=this.state.startLoc,this.next(),this.eat(56)){k=this.jsxParseClosingElementAt(n);break e}m.push(this.jsxParseElementAt(n));break;case 142:m.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let J=this.startNode();this.setContext(K.brace),this.next(),this.match(21)?m.push(this.jsxParseSpreadChild(J)):m.push(this.jsxParseExpressionContainer(J,K.j_expr));break}default:this.unexpected()}Ye(_)&&!Ye(k)&&k!==null?this.raise(ct.MissingClosingTagFragment,k):!Ye(_)&&Ye(k)?this.raise(ct.MissingClosingTagElement,k,{openingTagName:xt(_.name)}):Ye(_)||Ye(k)||xt(k.name)!==xt(_.name)&&this.raise(ct.MissingClosingTagElement,k,{openingTagName:xt(_.name)})}if(Ye(_)?(a.openingFragment=_,a.closingFragment=k):(a.openingElement=_,a.closingElement=k),a.children=m,this.match(47))throw this.raise(ct.UnwrappedAdjacentJSXElements,this.state.startLoc);return Ye(_)?this.finishNode(a,"JSXFragment"):this.finishNode(a,"JSXElement")}jsxParseElement(){let n=this.state.startLoc;return this.next(),this.jsxParseElementAt(n)}setContext(n){let{context:a}=this.state;a[a.length-1]=n}parseExprAtom(n){return this.match(143)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(n)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(n){let a=this.curContext();if(a!==K.j_expr){if(a===K.j_oTag||a===K.j_cTag){if(ke(n))return void this.jsxReadWord();if(n===62)return++this.state.pos,void this.finishToken(144);if((n===34||n===39)&&a===K.j_oTag)return void this.jsxReadString(n)}if(n===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33)return++this.state.pos,void this.finishToken(143);super.getTokenFromCode(n)}else this.jsxReadToken()}updateContext(n){let{context:a,type:m}=this.state;if(m===56&&n===143)a.splice(-2,2,K.j_cTag),this.state.canStartJSXElement=!1;else if(m===143)a.push(K.j_oTag);else if(m===144){let _=a[a.length-1];_===K.j_oTag&&n===56||_===K.j_cTag?(a.pop(),this.state.canStartJSXElement=a[a.length-1]===K.j_expr):(this.setContext(K.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=q[m]}},flow:X=>class extends X{constructor(...n){super(...n),this.flowPragma=void 0}getScopeHandler(){return et}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(n,a){n!==134&&n!==13&&n!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(n,a)}addComment(n){if(this.flowPragma===void 0){let a=Ee.exec(n.value);if(a)if(a[1]==="flow")this.flowPragma="flow";else{if(a[1]!=="noflow")throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}super.addComment(n)}flowParseTypeInitialiser(n){let a=this.state.inType;this.state.inType=!0,this.expect(n||14);let m=this.flowParseType();return this.state.inType=a,m}flowParsePredicate(){let n=this.startNode(),a=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>a.index+1&&this.raise(Ae.UnexpectedSpaceBetweenModuloChecks,a),this.eat(10)?(n.value=super.parseExpression(),this.expect(11),this.finishNode(n,"DeclaredPredicate")):this.finishNode(n,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let n=this.state.inType;this.state.inType=!0,this.expect(14);let a=null,m=null;return this.match(54)?(this.state.inType=n,m=this.flowParsePredicate()):(a=this.flowParseType(),this.state.inType=n,this.match(54)&&(m=this.flowParsePredicate())),[a,m]}flowParseDeclareClass(n){return this.next(),this.flowParseInterfaceish(n,!0),this.finishNode(n,"DeclareClass")}flowParseDeclareFunction(n){this.next();let a=n.id=this.parseIdentifier(),m=this.startNode(),_=this.startNode();this.match(47)?m.typeParameters=this.flowParseTypeParameterDeclaration():m.typeParameters=null,this.expect(10);let k=this.flowParseFunctionTypeParams();return m.params=k.params,m.rest=k.rest,m.this=k._this,this.expect(11),[m.returnType,n.predicate]=this.flowParseTypeAndPredicateInitialiser(),_.typeAnnotation=this.finishNode(m,"FunctionTypeAnnotation"),a.typeAnnotation=this.finishNode(_,"TypeAnnotation"),this.resetEndLocation(a),this.semicolon(),this.scope.declareName(n.id.name,2048,n.id.loc.start),this.finishNode(n,"DeclareFunction")}flowParseDeclare(n,a){return this.match(80)?this.flowParseDeclareClass(n):this.match(68)?this.flowParseDeclareFunction(n):this.match(74)?this.flowParseDeclareVariable(n):this.eatContextual(127)?this.match(16)?this.flowParseDeclareModuleExports(n):(a&&this.raise(Ae.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(n)):this.isContextual(130)?this.flowParseDeclareTypeAlias(n):this.isContextual(131)?this.flowParseDeclareOpaqueType(n):this.isContextual(129)?this.flowParseDeclareInterface(n):this.match(82)?this.flowParseDeclareExportDeclaration(n,a):void this.unexpected()}flowParseDeclareVariable(n){return this.next(),n.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(n.id.name,5,n.id.loc.start),this.semicolon(),this.finishNode(n,"DeclareVariable")}flowParseDeclareModule(n){this.scope.enter(0),this.match(134)?n.id=super.parseExprAtom():n.id=this.parseIdentifier();let a=n.body=this.startNode(),m=a.body=[];for(this.expect(5);!this.match(8);){let J=this.startNode();this.match(83)?(this.next(),this.isContextual(130)||this.match(87)||this.raise(Ae.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(J)):(this.expectContextual(125,Ae.UnsupportedStatementInDeclareModule),J=this.flowParseDeclare(J,!0)),m.push(J)}this.scope.exit(),this.expect(8),this.finishNode(a,"BlockStatement");let _=null,k=!1;return m.forEach(J=>{(function(ne){return ne.type==="DeclareExportAllDeclaration"||ne.type==="DeclareExportDeclaration"&&(!ne.declaration||ne.declaration.type!=="TypeAlias"&&ne.declaration.type!=="InterfaceDeclaration")})(J)?(_==="CommonJS"&&this.raise(Ae.AmbiguousDeclareModuleKind,J),_="ES"):J.type==="DeclareModuleExports"&&(k&&this.raise(Ae.DuplicateDeclareModuleExports,J),_==="ES"&&this.raise(Ae.AmbiguousDeclareModuleKind,J),_="CommonJS",k=!0)}),n.kind=_||"CommonJS",this.finishNode(n,"DeclareModule")}flowParseDeclareExportDeclaration(n,a){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?n.declaration=this.flowParseDeclare(this.startNode()):(n.declaration=this.flowParseType(),this.semicolon()),n.default=!0,this.finishNode(n,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!a){let m=this.state.value;throw this.raise(Ae.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:m,suggestion:He[m]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(n.declaration=this.flowParseDeclare(this.startNode()),n.default=!1,this.finishNode(n,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?(n=this.parseExport(n,null)).type==="ExportNamedDeclaration"?(n.default=!1,delete n.exportKind,this.castNodeTo(n,"DeclareExportDeclaration")):this.castNodeTo(n,"DeclareExportAllDeclaration"):void this.unexpected()}flowParseDeclareModuleExports(n){return this.next(),this.expectContextual(111),n.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(n,"DeclareModuleExports")}flowParseDeclareTypeAlias(n){this.next();let a=this.flowParseTypeAlias(n);return this.castNodeTo(a,"DeclareTypeAlias"),a}flowParseDeclareOpaqueType(n){this.next();let a=this.flowParseOpaqueType(n,!0);return this.castNodeTo(a,"DeclareOpaqueType"),a}flowParseDeclareInterface(n){return this.next(),this.flowParseInterfaceish(n,!1),this.finishNode(n,"DeclareInterface")}flowParseInterfaceish(n,a){if(n.id=this.flowParseRestrictedIdentifier(!a,!0),this.scope.declareName(n.id.name,a?17:8201,n.id.loc.start),this.match(47)?n.typeParameters=this.flowParseTypeParameterDeclaration():n.typeParameters=null,n.extends=[],this.eat(81))do n.extends.push(this.flowParseInterfaceExtends());while(!a&&this.eat(12));if(a){if(n.implements=[],n.mixins=[],this.eatContextual(117))do n.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do n.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}n.body=this.flowParseObjectType({allowStatic:a,allowExact:!1,allowSpread:!1,allowProto:a,allowInexact:!1})}flowParseInterfaceExtends(){let n=this.startNode();return n.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?n.typeParameters=this.flowParseTypeParameterInstantiation():n.typeParameters=null,this.finishNode(n,"InterfaceExtends")}flowParseInterface(n){return this.flowParseInterfaceish(n,!1),this.finishNode(n,"InterfaceDeclaration")}checkNotUnderscore(n){n==="_"&&this.raise(Ae.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(n,a,m){oe.has(n)&&this.raise(m?Ae.AssignReservedType:Ae.UnexpectedReservedType,a,{reservedType:n})}flowParseRestrictedIdentifier(n,a){return this.checkReservedType(this.state.value,this.state.startLoc,a),this.parseIdentifier(n)}flowParseTypeAlias(n){return n.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(n.id.name,8201,n.id.loc.start),this.match(47)?n.typeParameters=this.flowParseTypeParameterDeclaration():n.typeParameters=null,n.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(n,"TypeAlias")}flowParseOpaqueType(n,a){return this.expectContextual(130),n.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(n.id.name,8201,n.id.loc.start),this.match(47)?n.typeParameters=this.flowParseTypeParameterDeclaration():n.typeParameters=null,n.supertype=null,this.match(14)&&(n.supertype=this.flowParseTypeInitialiser(14)),n.impltype=null,a||(n.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(n,"OpaqueType")}flowParseTypeParameter(n=!1){let a=this.state.startLoc,m=this.startNode(),_=this.flowParseVariance(),k=this.flowParseTypeAnnotatableIdentifier();return m.name=k.name,m.variance=_,m.bound=k.typeAnnotation,this.match(29)?(this.eat(29),m.default=this.flowParseType()):n&&this.raise(Ae.MissingTypeParamDefault,a),this.finishNode(m,"TypeParameter")}flowParseTypeParameterDeclaration(){let n=this.state.inType,a=this.startNode();a.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let m=!1;do{let _=this.flowParseTypeParameter(m);a.params.push(_),_.default&&(m=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=n,this.finishNode(a,"TypeParameterDeclaration")}flowInTopLevelContext(n){if(this.curContext()===K.brace)return n();{let a=this.state.context;this.state.context=[a[0]];try{return n()}finally{this.state.context=a}}}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()===47)return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let n=this.startNode(),a=this.state.inType;return this.state.inType=!0,n.params=[],this.flowInTopLevelContext(()=>{this.expect(47);let m=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)n.params.push(this.flowParseType()),this.match(48)||this.expect(12);this.state.noAnonFunctionType=m}),this.state.inType=a,this.state.inType||this.curContext()!==K.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(n,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return;let n=this.startNode(),a=this.state.inType;for(n.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)n.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=a,this.finishNode(n,"TypeParameterInstantiation")}flowParseInterfaceType(){let n=this.startNode();if(this.expectContextual(129),n.extends=[],this.eat(81))do n.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return n.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(n,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(n,a,m){return n.static=a,this.lookahead().type===14?(n.id=this.flowParseObjectPropertyKey(),n.key=this.flowParseTypeInitialiser()):(n.id=null,n.key=this.flowParseType()),this.expect(3),n.value=this.flowParseTypeInitialiser(),n.variance=m,this.finishNode(n,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(n,a){return n.static=a,n.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(n.method=!0,n.optional=!1,n.value=this.flowParseObjectTypeMethodish(this.startNodeAt(n.loc.start))):(n.method=!1,this.eat(17)&&(n.optional=!0),n.value=this.flowParseTypeInitialiser()),this.finishNode(n,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(n){for(n.params=[],n.rest=null,n.typeParameters=null,n.this=null,this.match(47)&&(n.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(n.this=this.flowParseFunctionTypeParam(!0),n.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)n.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(n.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),n.returnType=this.flowParseTypeInitialiser(),this.finishNode(n,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(n,a){let m=this.startNode();return n.static=a,n.value=this.flowParseObjectTypeMethodish(m),this.finishNode(n,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:n,allowExact:a,allowSpread:m,allowProto:_,allowInexact:k}){let J=this.state.inType;this.state.inType=!0;let ne=this.startNode(),he,be;ne.callProperties=[],ne.properties=[],ne.indexers=[],ne.internalSlots=[];let Ue=!1;for(a&&this.match(6)?(this.expect(6),he=9,be=!0):(this.expect(5),he=8,be=!1),ne.exact=be;!this.match(he);){let Pt=!1,ht=null,Ct=null,Gt=this.startNode();if(_&&this.isContextual(118)){let Ut=this.lookahead();Ut.type!==14&&Ut.type!==17&&(this.next(),ht=this.state.startLoc,n=!1)}if(n&&this.isContextual(106)){let Ut=this.lookahead();Ut.type!==14&&Ut.type!==17&&(this.next(),Pt=!0)}let ln=this.flowParseVariance();if(this.eat(0))ht!=null&&this.unexpected(ht),this.eat(0)?(ln&&this.unexpected(ln.loc.start),ne.internalSlots.push(this.flowParseObjectTypeInternalSlot(Gt,Pt))):ne.indexers.push(this.flowParseObjectTypeIndexer(Gt,Pt,ln));else if(this.match(10)||this.match(47))ht!=null&&this.unexpected(ht),ln&&this.unexpected(ln.loc.start),ne.callProperties.push(this.flowParseObjectTypeCallProperty(Gt,Pt));else{let Ut="init";(this.isContextual(99)||this.isContextual(104))&&Q(this.lookahead().type)&&(Ut=this.state.value,this.next());let zt=this.flowParseObjectTypeProperty(Gt,Pt,ht,ln,Ut,m,k??!be);zt===null?(Ue=!0,Ct=this.state.lastTokStartLoc):ne.properties.push(zt)}this.flowObjectTypeSemicolon(),!Ct||this.match(8)||this.match(9)||this.raise(Ae.UnexpectedExplicitInexactInObject,Ct)}this.expect(he),m&&(ne.inexact=Ue);let nt=this.finishNode(ne,"ObjectTypeAnnotation");return this.state.inType=J,nt}flowParseObjectTypeProperty(n,a,m,_,k,J,ne){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(J?ne||this.raise(Ae.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Ae.InexactInsideNonObject,this.state.lastTokStartLoc),_&&this.raise(Ae.InexactVariance,_),null):(J||this.raise(Ae.UnexpectedSpreadType,this.state.lastTokStartLoc),m!=null&&this.unexpected(m),_&&this.raise(Ae.SpreadVariance,_),n.argument=this.flowParseType(),this.finishNode(n,"ObjectTypeSpreadProperty"));{n.key=this.flowParseObjectPropertyKey(),n.static=a,n.proto=m!=null,n.kind=k;let he=!1;return this.match(47)||this.match(10)?(n.method=!0,m!=null&&this.unexpected(m),_&&this.unexpected(_.loc.start),n.value=this.flowParseObjectTypeMethodish(this.startNodeAt(n.loc.start)),k!=="get"&&k!=="set"||this.flowCheckGetterSetterParams(n),!J&&n.key.name==="constructor"&&n.value.this&&this.raise(Ae.ThisParamBannedInConstructor,n.value.this)):(k!=="init"&&this.unexpected(),n.method=!1,this.eat(17)&&(he=!0),n.value=this.flowParseTypeInitialiser(),n.variance=_),n.optional=he,this.finishNode(n,"ObjectTypeProperty")}}flowCheckGetterSetterParams(n){let a=n.kind==="get"?0:1,m=n.value.params.length+(n.value.rest?1:0);n.value.this&&this.raise(n.kind==="get"?Ae.GetterMayNotHaveThisParam:Ae.SetterMayNotHaveThisParam,n.value.this),m!==a&&this.raise(n.kind==="get"?S.BadGetterArity:S.BadSetterArity,n),n.kind==="set"&&n.value.rest&&this.raise(S.BadSetterRestParameter,n)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(n,a){n!=null||(n=this.state.startLoc);let m=a||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let _=this.startNodeAt(n);_.qualification=m,_.id=this.flowParseRestrictedIdentifier(!0),m=this.finishNode(_,"QualifiedTypeIdentifier")}return m}flowParseGenericType(n,a){let m=this.startNodeAt(n);return m.typeParameters=null,m.id=this.flowParseQualifiedTypeIdentifier(n,a),this.match(47)&&(m.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(m,"GenericTypeAnnotation")}flowParseTypeofType(){let n=this.startNode();return this.expect(87),n.argument=this.flowParsePrimaryType(),this.finishNode(n,"TypeofTypeAnnotation")}flowParseTupleType(){let n=this.startNode();for(n.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(n.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(n,"TupleTypeAnnotation")}flowParseFunctionTypeParam(n){let a=null,m=!1,_=null,k=this.startNode(),J=this.lookahead(),ne=this.state.type===78;return J.type===14||J.type===17?(ne&&!n&&this.raise(Ae.ThisParamMustBeFirst,k),a=this.parseIdentifier(ne),this.eat(17)&&(m=!0,ne&&this.raise(Ae.ThisParamMayNotBeOptional,k)),_=this.flowParseTypeInitialiser()):_=this.flowParseType(),k.name=a,k.optional=m,k.typeAnnotation=_,this.finishNode(k,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(n){let a=this.startNodeAt(n.loc.start);return a.name=null,a.optional=!1,a.typeAnnotation=n,this.finishNode(a,"FunctionTypeParam")}flowParseFunctionTypeParams(n=[]){let a=null,m=null;for(this.match(78)&&(m=this.flowParseFunctionTypeParam(!0),m.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)n.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(a=this.flowParseFunctionTypeParam(!1)),{params:n,rest:a,_this:m}}flowIdentToTypeAnnotation(n,a,m){switch(m.name){case"any":return this.finishNode(a,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(a,"BooleanTypeAnnotation");case"mixed":return this.finishNode(a,"MixedTypeAnnotation");case"empty":return this.finishNode(a,"EmptyTypeAnnotation");case"number":return this.finishNode(a,"NumberTypeAnnotation");case"string":return this.finishNode(a,"StringTypeAnnotation");case"symbol":return this.finishNode(a,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(m.name),this.flowParseGenericType(n,m)}}flowParsePrimaryType(){let n=this.state.startLoc,a=this.startNode(),m,_,k=!1,J=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,_=this.flowParseTupleType(),this.state.noAnonFunctionType=J,_;case 47:{let ne=this.startNode();return ne.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),m=this.flowParseFunctionTypeParams(),ne.params=m.params,ne.rest=m.rest,ne.this=m._this,this.expect(11),this.expect(19),ne.returnType=this.flowParseType(),this.finishNode(ne,"FunctionTypeAnnotation")}case 10:{let ne=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(G(this.state.type)||this.match(78)){let he=this.lookahead().type;k=he!==17&&he!==14}else k=!0;if(k){if(this.state.noAnonFunctionType=!1,_=this.flowParseType(),this.state.noAnonFunctionType=J,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),_;this.eat(12)}return m=_?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(_)]):this.flowParseFunctionTypeParams(),ne.params=m.params,ne.rest=m.rest,ne.this=m._this,this.expect(11),this.expect(19),ne.returnType=this.flowParseType(),ne.typeParameters=null,this.finishNode(ne,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return a.value=this.match(85),this.next(),this.finishNode(a,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",a);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",a);throw this.raise(Ae.UnexpectedSubtractionOperand,this.state.startLoc)}return void this.unexpected();case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(a,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(a,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(a,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(a,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(ye(this.state.type)){let ne=ve(this.state.type);return this.next(),super.createIdentifier(a,ne)}if(G(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(n,a,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let n=this.state.startLoc,a=this.flowParsePrimaryType(),m=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let _=this.startNodeAt(n),k=this.eat(18);m=m||k,this.expect(0),!k&&this.match(3)?(_.elementType=a,this.next(),a=this.finishNode(_,"ArrayTypeAnnotation")):(_.objectType=a,_.indexType=this.flowParseType(),this.expect(3),m?(_.optional=k,a=this.finishNode(_,"OptionalIndexedAccessType")):a=this.finishNode(_,"IndexedAccessType"))}return a}flowParsePrefixType(){let n=this.startNode();return this.eat(17)?(n.typeAnnotation=this.flowParsePrefixType(),this.finishNode(n,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let n=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let a=this.startNodeAt(n.loc.start);return a.params=[this.reinterpretTypeAsFunctionTypeParam(n)],a.rest=null,a.this=null,a.returnType=this.flowParseType(),a.typeParameters=null,this.finishNode(a,"FunctionTypeAnnotation")}return n}flowParseIntersectionType(){let n=this.startNode();this.eat(45);let a=this.flowParseAnonFunctionWithoutParens();for(n.types=[a];this.eat(45);)n.types.push(this.flowParseAnonFunctionWithoutParens());return n.types.length===1?a:this.finishNode(n,"IntersectionTypeAnnotation")}flowParseUnionType(){let n=this.startNode();this.eat(43);let a=this.flowParseIntersectionType();for(n.types=[a];this.eat(43);)n.types.push(this.flowParseIntersectionType());return n.types.length===1?a:this.finishNode(n,"UnionTypeAnnotation")}flowParseType(){let n=this.state.inType;this.state.inType=!0;let a=this.flowParseUnionType();return this.state.inType=n,a}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let n=this.state.startLoc,a=this.parseIdentifier();return this.flowParseGenericType(n,a)}return this.flowParseType()}flowParseTypeAnnotation(){let n=this.startNode();return n.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(n,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(n){let a=n?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(a.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(a)),a}typeCastToParameter(n){return n.expression.typeAnnotation=n.typeAnnotation,this.resetEndLocation(n.expression,n.typeAnnotation.loc.end),n.expression}flowParseVariance(){let n=null;return this.match(53)?(n=this.startNode(),this.state.value==="+"?n.kind="plus":n.kind="minus",this.next(),this.finishNode(n,"Variance")):n}parseFunctionBody(n,a,m=!1){a?this.forwardNoArrowParamsConversionAt(n,()=>super.parseFunctionBody(n,!0,m)):super.parseFunctionBody(n,!1,m)}parseFunctionBodyAndFinish(n,a,m=!1){if(this.match(14)){let _=this.startNode();[_.typeAnnotation,n.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.returnType=_.typeAnnotation?this.finishNode(_,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(n,a,m)}parseStatementLike(n){if(this.state.strict&&this.isContextual(129)){if(U(this.lookahead().type)){let m=this.startNode();return this.next(),this.flowParseInterface(m)}}else if(this.isContextual(126)){let m=this.startNode();return this.next(),this.flowParseEnumDeclaration(m)}let a=super.parseStatementLike(n);return this.flowPragma!==void 0||this.isValidDirective(a)||(this.flowPragma=null),a}parseExpressionStatement(n,a,m){if(a.type==="Identifier"){if(a.name==="declare"){if(this.match(80)||G(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(n)}else if(G(this.state.type)){if(a.name==="interface")return this.flowParseInterface(n);if(a.name==="type")return this.flowParseTypeAlias(n);if(a.name==="opaque")return this.flowParseOpaqueType(n,!1)}}return super.parseExpressionStatement(n,a,m)}shouldParseExportDeclaration(){let{type:n}=this.state;return n===126||se(n)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:n}=this.state;return n===126||se(n)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let n=this.startNode();return this.next(),this.flowParseEnumDeclaration(n)}return super.parseExportDefaultExpression()}parseConditional(n,a,m){if(!this.match(17))return n;if(this.state.maybeInArrowParameters){let nt=this.lookaheadCharCode();if(nt===44||nt===61||nt===58||nt===41)return this.setOptionalParametersError(m),n}this.expect(17);let _=this.state.clone(),k=this.state.noArrowAt,J=this.startNodeAt(a),{consequent:ne,failed:he}=this.tryParseConditionalConsequent(),[be,Ue]=this.getArrowLikeExpressions(ne);if(he||Ue.length>0){let nt=[...k];if(Ue.length>0){this.state=_,this.state.noArrowAt=nt;for(let Pt=0;Pt<Ue.length;Pt++)nt.push(Ue[Pt].start);({consequent:ne,failed:he}=this.tryParseConditionalConsequent()),[be,Ue]=this.getArrowLikeExpressions(ne)}he&&be.length>1&&this.raise(Ae.AmbiguousConditionalArrow,_.startLoc),he&&be.length===1&&(this.state=_,nt.push(be[0].start),this.state.noArrowAt=nt,{consequent:ne,failed:he}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(ne,!0),this.state.noArrowAt=k,this.expect(14),J.test=n,J.consequent=ne,J.alternate=this.forwardNoArrowParamsConversionAt(J,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(J,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let n=this.parseMaybeAssignAllowIn(),a=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:n,failed:a}}getArrowLikeExpressions(n,a){let m=[n],_=[];for(;m.length!==0;){let k=m.pop();k.type==="ArrowFunctionExpression"&&k.body.type!=="BlockStatement"?(k.typeParameters||!k.returnType?this.finishArrowValidation(k):_.push(k),m.push(k.body)):k.type==="ConditionalExpression"&&(m.push(k.consequent),m.push(k.alternate))}return a?(_.forEach(k=>this.finishArrowValidation(k)),[_,[]]):(function(k,J){let ne=[],he=[];for(let be=0;be<k.length;be++)(J(k[be],be,k)?ne:he).push(k[be]);return[ne,he]})(_,k=>k.params.every(J=>this.isAssignable(J,!0)))}finishArrowValidation(n){var a;this.toAssignableList(n.params,(a=n.extra)==null?void 0:a.trailingCommaLoc,!1),this.scope.enter(518),super.checkParams(n,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(n,a){let m;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(n.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),m=a(),this.state.noArrowParamsConversionAt.pop()):m=a(),m}parseParenItem(n,a){let m=super.parseParenItem(n,a);if(this.eat(17)&&(m.optional=!0,this.resetEndLocation(n)),this.match(14)){let _=this.startNodeAt(a);return _.expression=m,_.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(_,"TypeCastExpression")}return m}assertModuleNodeAllowed(n){n.type==="ImportDeclaration"&&(n.importKind==="type"||n.importKind==="typeof")||n.type==="ExportNamedDeclaration"&&n.exportKind==="type"||n.type==="ExportAllDeclaration"&&n.exportKind==="type"||super.assertModuleNodeAllowed(n)}parseExportDeclaration(n){if(this.isContextual(130)){n.exportKind="type";let a=this.startNode();return this.next(),this.match(5)?(n.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(n),null):this.flowParseTypeAlias(a)}if(this.isContextual(131)){n.exportKind="type";let a=this.startNode();return this.next(),this.flowParseOpaqueType(a,!1)}if(this.isContextual(129)){n.exportKind="type";let a=this.startNode();return this.next(),this.flowParseInterface(a)}if(this.isContextual(126)){n.exportKind="value";let a=this.startNode();return this.next(),this.flowParseEnumDeclaration(a)}return super.parseExportDeclaration(n)}eatExportStar(n){return!!super.eatExportStar(n)||!(!this.isContextual(130)||this.lookahead().type!==55)&&(n.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(n){let{startLoc:a}=this.state,m=super.maybeParseExportNamespaceSpecifier(n);return m&&n.exportKind==="type"&&this.unexpected(a),m}parseClassId(n,a,m){super.parseClassId(n,a,m),this.match(47)&&(n.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(n,a,m){let{startLoc:_}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(n,a))return;a.declare=!0}super.parseClassMember(n,a,m),a.declare&&(a.type!=="ClassProperty"&&a.type!=="ClassPrivateProperty"&&a.type!=="PropertyDefinition"?this.raise(Ae.DeclareClassElement,_):a.value&&this.raise(Ae.DeclareClassFieldInitializer,a.value))}isIterator(n){return n==="iterator"||n==="asyncIterator"}readIterator(){let n=super.readWord1(),a="@@"+n;this.isIterator(n)&&this.state.inType||this.raise(S.InvalidIdentifier,this.state.curPosition(),{identifierName:a}),this.finishToken(132,a)}getTokenFromCode(n){let a=this.input.charCodeAt(this.state.pos+1);n===123&&a===124?this.finishOp(6,2):!this.state.inType||n!==62&&n!==60?this.state.inType&&n===63?a===46?this.finishOp(18,2):this.finishOp(17,1):(function(m,_,k){return m===64&&_===64&&ke(k)})(n,a,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(n):this.finishOp(n===62?48:47,1)}isAssignable(n,a){return n.type==="TypeCastExpression"?this.isAssignable(n.expression,a):super.isAssignable(n,a)}toAssignable(n,a=!1){a||n.type!=="AssignmentExpression"||n.left.type!=="TypeCastExpression"||(n.left=this.typeCastToParameter(n.left)),super.toAssignable(n,a)}toAssignableList(n,a,m){for(let _=0;_<n.length;_++){let k=n[_];k?.type==="TypeCastExpression"&&(n[_]=this.typeCastToParameter(k))}super.toAssignableList(n,a,m)}toReferencedList(n,a){for(let _=0;_<n.length;_++){var m;let k=n[_];!k||k.type!=="TypeCastExpression"||(m=k.extra)!=null&&m.parenthesized||!(n.length>1)&&a||this.raise(Ae.TypeCastInPattern,k.typeAnnotation)}return n}parseArrayLike(n,a,m,_){let k=super.parseArrayLike(n,a,m,_);return a&&!this.state.maybeInArrowParameters&&this.toReferencedList(k.elements),k}isValidLVal(n,a,m){return n==="TypeCastExpression"||super.isValidLVal(n,a,m)}parseClassProperty(n){return this.match(14)&&(n.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(n)}parseClassPrivateProperty(n){return this.match(14)&&(n.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(n)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(n){return!this.match(14)&&super.isNonstaticConstructor(n)}pushClassMethod(n,a,m,_,k,J){if(a.variance&&this.unexpected(a.variance.loc.start),delete a.variance,this.match(47)&&(a.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(n,a,m,_,k,J),a.params&&k){let ne=a.params;ne.length>0&&this.isThisParam(ne[0])&&this.raise(Ae.ThisParamBannedInConstructor,a)}else if(a.type==="MethodDefinition"&&k&&a.value.params){let ne=a.value.params;ne.length>0&&this.isThisParam(ne[0])&&this.raise(Ae.ThisParamBannedInConstructor,a)}}pushClassPrivateMethod(n,a,m,_){a.variance&&this.unexpected(a.variance.loc.start),delete a.variance,this.match(47)&&(a.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(n,a,m,_)}parseClassSuper(n){if(super.parseClassSuper(n),n.superClass&&(this.match(47)||this.match(51))&&(n.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();let a=n.implements=[];do{let m=this.startNode();m.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?m.typeParameters=this.flowParseTypeParameterInstantiation():m.typeParameters=null,a.push(this.finishNode(m,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(n){super.checkGetterSetterParams(n);let a=this.getObjectOrClassMethodParams(n);if(a.length>0){let m=a[0];this.isThisParam(m)&&n.kind==="get"?this.raise(Ae.GetterMayNotHaveThisParam,m):this.isThisParam(m)&&this.raise(Ae.SetterMayNotHaveThisParam,m)}}parsePropertyNamePrefixOperator(n){n.variance=this.flowParseVariance()}parseObjPropValue(n,a,m,_,k,J,ne){let he;n.variance&&this.unexpected(n.variance.loc.start),delete n.variance,this.match(47)&&!J&&(he=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let be=super.parseObjPropValue(n,a,m,_,k,J,ne);return he&&((be.value||be).typeParameters=he),be}parseFunctionParamType(n){return this.eat(17)&&(n.type!=="Identifier"&&this.raise(Ae.PatternIsOptional,n),this.isThisParam(n)&&this.raise(Ae.ThisParamMayNotBeOptional,n),n.optional=!0),this.match(14)?n.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(n)&&this.raise(Ae.ThisParamAnnotationRequired,n),this.match(29)&&this.isThisParam(n)&&this.raise(Ae.ThisParamNoDefault,n),this.resetEndLocation(n),n}parseMaybeDefault(n,a){let m=super.parseMaybeDefault(n,a);return m.type==="AssignmentPattern"&&m.typeAnnotation&&m.right.start<m.typeAnnotation.start&&this.raise(Ae.TypeBeforeInitializer,m.typeAnnotation),m}checkImportReflection(n){super.checkImportReflection(n),n.module&&n.importKind!=="value"&&this.raise(Ae.ImportReflectionHasImportType,n.specifiers[0].loc.start)}parseImportSpecifierLocal(n,a,m){a.local=Ge(n)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),n.specifiers.push(this.finishImportSpecifier(a,m))}isPotentialImportPhase(n){if(super.isPotentialImportPhase(n))return!0;if(this.isContextual(130)){if(!n)return!0;let a=this.lookaheadCharCode();return a===123||a===42}return!n&&this.isContextual(87)}applyImportPhase(n,a,m,_){if(super.applyImportPhase(n,a,m,_),a){if(!m&&this.match(65))return;n.exportKind=m==="type"?m:"value"}else m==="type"&&this.match(55)&&this.unexpected(),n.importKind=m==="type"||m==="typeof"?m:"value"}parseImportSpecifier(n,a,m,_,k){let J=n.imported,ne=null;J.type==="Identifier"&&(J.name==="type"?ne="type":J.name==="typeof"&&(ne="typeof"));let he=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let Ue=this.parseIdentifier(!0);ne===null||U(this.state.type)?(n.imported=J,n.importKind=null,n.local=this.parseIdentifier()):(n.imported=Ue,n.importKind=ne,n.local=this.cloneIdentifier(Ue))}else{if(ne!==null&&U(this.state.type))n.imported=this.parseIdentifier(!0),n.importKind=ne;else{if(a)throw this.raise(S.ImportBindingIsString,n,{importName:J.value});n.imported=J,n.importKind=null}this.eatContextual(93)?n.local=this.parseIdentifier():(he=!0,n.local=this.cloneIdentifier(n.imported))}let be=Ge(n);return m&&be&&this.raise(Ae.ImportTypeShorthandOnlyInPureImport,n),(m||be)&&this.checkReservedType(n.local.name,n.local.loc.start,!0),!he||m||be||this.checkReservedWord(n.local.name,n.loc.start,!0,!0),this.finishImportSpecifier(n,"ImportSpecifier")}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(n,a){let m=n.kind;m!=="get"&&m!=="set"&&this.match(47)&&(n.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(n,a)}parseVarId(n,a){super.parseVarId(n,a),this.match(14)&&(n.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(n.id))}parseAsyncArrowFromCallExpression(n,a){if(this.match(14)){let m=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,n.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=m}return super.parseAsyncArrowFromCallExpression(n,a)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(n,a){var m;let _,k=null;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(k=this.state.clone(),_=this.tryParse(()=>super.parseMaybeAssign(n,a),k),!_.error)return _.node;let{context:he}=this.state,be=he[he.length-1];be!==K.j_oTag&&be!==K.j_expr||he.pop()}if((m=_)!=null&&m.error||this.match(47)){var J,ne;let he;k=k||this.state.clone();let be=this.tryParse(nt=>{var Pt;he=this.flowParseTypeParameterDeclaration();let ht=this.forwardNoArrowParamsConversionAt(he,()=>{let Gt=super.parseMaybeAssign(n,a);return this.resetStartLocationFromNode(Gt,he),Gt});(Pt=ht.extra)!=null&&Pt.parenthesized&&nt();let Ct=this.maybeUnwrapTypeCastExpression(ht);return Ct.type!=="ArrowFunctionExpression"&&nt(),Ct.typeParameters=he,this.resetStartLocationFromNode(Ct,he),ht},k),Ue=null;if(be.node&&this.maybeUnwrapTypeCastExpression(be.node).type==="ArrowFunctionExpression"){if(!be.error&&!be.aborted)return be.node.async&&this.raise(Ae.UnexpectedTypeParameterBeforeAsyncArrowFunction,he),be.node;Ue=be.node}if((J=_)!=null&&J.node)return this.state=_.failState,_.node;if(Ue)return this.state=be.failState,Ue;throw(ne=_)!=null&&ne.thrown?_.error:be.thrown?be.error:this.raise(Ae.UnexpectedTokenAfterTypeParameter,he)}return super.parseMaybeAssign(n,a)}parseArrow(n){if(this.match(14)){let a=this.tryParse(()=>{let m=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let _=this.startNode();return[_.typeAnnotation,n.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=m,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),_});if(a.thrown)return null;a.error&&(this.state=a.failState),n.returnType=a.node.typeAnnotation?this.finishNode(a.node,"TypeAnnotation"):null}return super.parseArrow(n)}shouldParseArrow(n){return this.match(14)||super.shouldParseArrow(n)}setArrowFunctionParameters(n,a){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(n.start))?n.params=a:super.setArrowFunctionParameters(n,a)}checkParams(n,a,m,_=!0){if(!m||!this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(n.start))){for(let k=0;k<n.params.length;k++)this.isThisParam(n.params[k])&&k>0&&this.raise(Ae.ThisParamMustBeFirst,n.params[k]);super.checkParams(n,a,m,_)}}parseParenAndDistinguishExpression(n){return super.parseParenAndDistinguishExpression(n&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(n,a,m){if(n.type==="Identifier"&&n.name==="async"&&this.state.noArrowAt.includes(a.index)){this.next();let _=this.startNodeAt(a);_.callee=n,_.arguments=super.parseCallExpressionArguments(),n=this.finishNode(_,"CallExpression")}else if(n.type==="Identifier"&&n.name==="async"&&this.match(47)){let _=this.state.clone(),k=this.tryParse(ne=>this.parseAsyncArrowWithTypeParameters(a)||ne(),_);if(!k.error&&!k.aborted)return k.node;let J=this.tryParse(()=>super.parseSubscripts(n,a,m),_);if(J.node&&!J.error)return J.node;if(k.node)return this.state=k.failState,k.node;if(J.node)return this.state=J.failState,J.node;throw k.error||J.error}return super.parseSubscripts(n,a,m)}parseSubscript(n,a,m,_){if(this.match(18)&&this.isLookaheadToken_lt()){if(_.optionalChainMember=!0,m)return _.stop=!0,n;this.next();let k=this.startNodeAt(a);return k.callee=n,k.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),k.arguments=this.parseCallExpressionArguments(),k.optional=!0,this.finishCallExpression(k,!0)}if(!m&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){let k=this.startNodeAt(a);k.callee=n;let J=this.tryParse(()=>(k.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),k.arguments=super.parseCallExpressionArguments(),_.optionalChainMember&&(k.optional=!1),this.finishCallExpression(k,_.optionalChainMember)));if(J.node)return J.error&&(this.state=J.failState),J.node}return super.parseSubscript(n,a,m,_)}parseNewCallee(n){super.parseNewCallee(n);let a=null;this.shouldParseTypes()&&this.match(47)&&(a=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),n.typeArguments=a}parseAsyncArrowWithTypeParameters(n){let a=this.startNodeAt(n);if(this.parseFunctionParams(a,!1),this.parseArrow(a))return super.parseArrowExpression(a,void 0,!0)}readToken_mult_modulo(n){let a=this.input.charCodeAt(this.state.pos+1);if(n===42&&a===47&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(n)}readToken_pipe_amp(n){let a=this.input.charCodeAt(this.state.pos+1);n!==124||a!==125?super.readToken_pipe_amp(n):this.finishOp(9,2)}parseTopLevel(n,a){let m=super.parseTopLevel(n,a);return this.state.hasFlowComment&&this.raise(Ae.UnterminatedFlowComment,this.state.curPosition()),m}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Ae.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let n=this.skipFlowComment();return void(n&&(this.state.pos+=n,this.state.hasFlowComment=!0))}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:n}=this.state,a=2;for(;[32,9].includes(this.input.charCodeAt(n+a));)a++;let m=this.input.charCodeAt(a+n),_=this.input.charCodeAt(a+n+1);return m===58&&_===58?a+2:this.input.slice(a+n,a+n+12)==="flow-include"?a+12:m===58&&_!==58&&a}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(S.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(n,{enumName:a,memberName:m}){this.raise(Ae.EnumBooleanMemberNotInitialized,n,{memberName:m,enumName:a})}flowEnumErrorInvalidMemberInitializer(n,a){return this.raise(a.explicitType?a.explicitType==="symbol"?Ae.EnumInvalidMemberInitializerSymbolType:Ae.EnumInvalidMemberInitializerPrimaryType:Ae.EnumInvalidMemberInitializerUnknownType,n,a)}flowEnumErrorNumberMemberNotInitialized(n,a){this.raise(Ae.EnumNumberMemberNotInitialized,n,a)}flowEnumErrorStringMemberInconsistentlyInitialized(n,a){this.raise(Ae.EnumStringMemberInconsistentlyInitialized,n,a)}flowEnumMemberInit(){let n=this.state.startLoc,a=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let m=this.parseNumericLiteral(this.state.value);return a()?{type:"number",loc:m.loc.start,value:m}:{type:"invalid",loc:n}}case 134:{let m=this.parseStringLiteral(this.state.value);return a()?{type:"string",loc:m.loc.start,value:m}:{type:"invalid",loc:n}}case 85:case 86:{let m=this.parseBooleanLiteral(this.match(85));return a()?{type:"boolean",loc:m.loc.start,value:m}:{type:"invalid",loc:n}}default:return{type:"invalid",loc:n}}}flowEnumMemberRaw(){let n=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:n}}}flowEnumCheckExplicitTypeMismatch(n,a,m){let{explicitType:_}=a;_!==null&&_!==m&&this.flowEnumErrorInvalidMemberInitializer(n,a)}flowEnumMembers({enumName:n,explicitType:a}){let m=new Set,_={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},k=!1;for(;!this.match(8);){if(this.eat(21)){k=!0;break}let J=this.startNode(),{id:ne,init:he}=this.flowEnumMemberRaw(),be=ne.name;if(be==="")continue;/^[a-z]/.test(be)&&this.raise(Ae.EnumInvalidMemberName,ne,{memberName:be,suggestion:be[0].toUpperCase()+be.slice(1),enumName:n}),m.has(be)&&this.raise(Ae.EnumDuplicateMemberName,ne,{memberName:be,enumName:n}),m.add(be);let Ue={enumName:n,explicitType:a,memberName:be};switch(J.id=ne,he.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(he.loc,Ue,"boolean"),J.init=he.value,_.booleanMembers.push(this.finishNode(J,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(he.loc,Ue,"number"),J.init=he.value,_.numberMembers.push(this.finishNode(J,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(he.loc,Ue,"string"),J.init=he.value,_.stringMembers.push(this.finishNode(J,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(he.loc,Ue);case"none":switch(a){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(he.loc,Ue);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(he.loc,Ue);break;default:_.defaultedMembers.push(this.finishNode(J,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:_,hasUnknownMembers:k}}flowEnumStringMembers(n,a,{enumName:m}){if(n.length===0)return a;if(a.length===0)return n;if(a.length>n.length){for(let _ of n)this.flowEnumErrorStringMemberInconsistentlyInitialized(_,{enumName:m});return a}for(let _ of a)this.flowEnumErrorStringMemberInconsistentlyInitialized(_,{enumName:m});return n}flowEnumParseExplicitType({enumName:n}){if(!this.eatContextual(102))return null;if(!G(this.state.type))throw this.raise(Ae.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:n});let{value:a}=this.state;return this.next(),a!=="boolean"&&a!=="number"&&a!=="string"&&a!=="symbol"&&this.raise(Ae.EnumInvalidExplicitType,this.state.startLoc,{enumName:n,invalidEnumType:a}),a}flowEnumBody(n,a){let m=a.name,_=a.loc.start,k=this.flowEnumParseExplicitType({enumName:m});this.expect(5);let{members:J,hasUnknownMembers:ne}=this.flowEnumMembers({enumName:m,explicitType:k});switch(n.hasUnknownMembers=ne,k){case"boolean":return n.explicitType=!0,n.members=J.booleanMembers,this.expect(8),this.finishNode(n,"EnumBooleanBody");case"number":return n.explicitType=!0,n.members=J.numberMembers,this.expect(8),this.finishNode(n,"EnumNumberBody");case"string":return n.explicitType=!0,n.members=this.flowEnumStringMembers(J.stringMembers,J.defaultedMembers,{enumName:m}),this.expect(8),this.finishNode(n,"EnumStringBody");case"symbol":return n.members=J.defaultedMembers,this.expect(8),this.finishNode(n,"EnumSymbolBody");default:{let he=()=>(n.members=[],this.expect(8),this.finishNode(n,"EnumStringBody"));n.explicitType=!1;let be=J.booleanMembers.length,Ue=J.numberMembers.length,nt=J.stringMembers.length,Pt=J.defaultedMembers.length;if(be||Ue||nt||Pt){if(be||Ue){if(!Ue&&!nt&&be>=Pt){for(let ht of J.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(ht.loc.start,{enumName:m,memberName:ht.id.name});return n.members=J.booleanMembers,this.expect(8),this.finishNode(n,"EnumBooleanBody")}if(!be&&!nt&&Ue>=Pt){for(let ht of J.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(ht.loc.start,{enumName:m,memberName:ht.id.name});return n.members=J.numberMembers,this.expect(8),this.finishNode(n,"EnumNumberBody")}return this.raise(Ae.EnumInconsistentMemberValues,_,{enumName:m}),he()}return n.members=this.flowEnumStringMembers(J.stringMembers,J.defaultedMembers,{enumName:m}),this.expect(8),this.finishNode(n,"EnumStringBody")}return he()}}}flowParseEnumDeclaration(n){let a=this.parseIdentifier();return n.id=a,n.body=this.flowEnumBody(this.startNode(),a),this.finishNode(n,"EnumDeclaration")}jsxParseOpeningElementAfterName(n){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(n.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(n)}isLookaheadToken_lt(){let n=this.nextTokenStart();if(this.input.charCodeAt(n)===60){let a=this.input.charCodeAt(n+1);return a!==60&&a!==61}return!1}reScan_lt_gt(){let{type:n}=this.state;n===47?(this.state.pos-=1,this.readToken_lt()):n===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:n}=this.state;return n===51?(this.state.pos-=2,this.finishOp(47,1),47):n}maybeUnwrapTypeCastExpression(n){return n.type==="TypeCastExpression"?n.expression:n}},typescript:X=>class extends X{constructor(...n){super(...n),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Be.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Be.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Be.InvalidModifierOnTypeParameter})}getScopeHandler(){return Ft}tsIsIdentifier(){return G(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),!this.hasPrecedingLineBreak()&&this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(n,a,m){if(!G(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let _=this.state.value;if(n.includes(_)){if(m&&this.match(106)||a&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return _}}tsParseModifiers({allowedModifiers:n,disallowedModifiers:a,stopOnStartOfClassStaticBlock:m,errorTemplate:_=Be.InvalidModifierOnTypeMember},k){let J=(he,be,Ue,nt)=>{be===Ue&&k[nt]&&this.raise(Be.InvalidModifiersOrder,he,{orderedModifiers:[Ue,nt]})},ne=(he,be,Ue,nt)=>{(k[Ue]&&be===nt||k[nt]&&be===Ue)&&this.raise(Be.IncompatibleModifiers,he,{modifiers:[Ue,nt]})};for(;;){let{startLoc:he}=this.state,be=this.tsParseModifier(n.concat(a??[]),m,k.static);if(!be)break;Et(be)?k.accessibility?this.raise(Be.DuplicateAccessibilityModifier,he,{modifier:be}):(J(he,be,be,"override"),J(he,be,be,"static"),J(he,be,be,"readonly"),k.accessibility=be):Nt(be)?(k[be]&&this.raise(Be.DuplicateModifier,he,{modifier:be}),k[be]=!0,J(he,be,"in","out")):(hasOwnProperty.call(k,be)?this.raise(Be.DuplicateModifier,he,{modifier:be}):(J(he,be,"static","readonly"),J(he,be,"static","override"),J(he,be,"override","readonly"),J(he,be,"abstract","override"),ne(he,be,"declare","override"),ne(he,be,"static","abstract")),k[be]=!0),a!=null&&a.includes(be)&&this.raise(_,he,{modifier:be})}}tsIsListTerminator(n){switch(n){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(n,a){let m=[];for(;!this.tsIsListTerminator(n);)m.push(a());return m}tsParseDelimitedList(n,a,m){return(function(_){if(_==null)throw new Error(`Unexpected ${_} value.`);return _})(this.tsParseDelimitedListWorker(n,a,!0,m))}tsParseDelimitedListWorker(n,a,m,_){let k=[],J=-1;for(;!this.tsIsListTerminator(n);){J=-1;let ne=a();if(ne==null)return;if(k.push(ne),!this.eat(12)){if(this.tsIsListTerminator(n))break;return void(m&&this.expect(12))}J=this.state.lastTokStartLoc.index}return _&&(_.value=J),k}tsParseBracketedList(n,a,m,_,k){_||(m?this.expect(0):this.expect(47));let J=this.tsParseDelimitedList(n,a,k);return m?this.expect(3):this.expect(48),J}tsParseImportType(){let n=this.startNode();return this.expect(83),this.expect(10),this.match(134)?n.argument=this.parseStringLiteral(this.state.value):(this.raise(Be.UnsupportedImportTypeArgument,this.state.startLoc),n.argument=super.parseExprAtom()),this.eat(12)?n.options=this.tsParseImportTypeOptions():n.options=null,this.expect(11),this.eat(16)&&(n.qualifier=this.tsParseEntityName(3)),this.match(47)&&(n.typeParameters=this.tsParseTypeArguments()),this.finishNode(n,"TSImportType")}tsParseImportTypeOptions(){let n=this.startNode();this.expect(5);let a=this.startNode();return this.isContextual(76)?(a.method=!1,a.key=this.parseIdentifier(!0),a.computed=!1,a.shorthand=!1):this.unexpected(null,76),this.expect(14),a.value=this.tsParseImportTypeWithPropertyValue(),n.properties=[this.finishObjectProperty(a)],this.expect(8),this.finishNode(n,"ObjectExpression")}tsParseImportTypeWithPropertyValue(){let n=this.startNode(),a=[];for(this.expect(5);!this.match(8);){let m=this.state.type;G(m)||m===134?a.push(super.parsePropertyDefinition(null)):this.unexpected(),this.eat(12)}return n.properties=a,this.next(),this.finishNode(n,"ObjectExpression")}tsParseEntityName(n){let a;if(1&n&&this.match(78))if(2&n)a=this.parseIdentifier(!0);else{let m=this.startNode();this.next(),a=this.finishNode(m,"ThisExpression")}else a=this.parseIdentifier(!!(1&n));for(;this.eat(16);){let m=this.startNodeAtNode(a);m.left=a,m.right=this.parseIdentifier(!!(1&n)),a=this.finishNode(m,"TSQualifiedName")}return a}tsParseTypeReference(){let n=this.startNode();return n.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(n.typeParameters=this.tsParseTypeArguments()),this.finishNode(n,"TSTypeReference")}tsParseThisTypePredicate(n){this.next();let a=this.startNodeAtNode(n);return a.parameterName=n,a.typeAnnotation=this.tsParseTypeAnnotation(!1),a.asserts=!1,this.finishNode(a,"TSTypePredicate")}tsParseThisTypeNode(){let n=this.startNode();return this.next(),this.finishNode(n,"TSThisType")}tsParseTypeQuery(){let n=this.startNode();return this.expect(87),this.match(83)?n.exprName=this.tsParseImportType():n.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(n.typeParameters=this.tsParseTypeArguments()),this.finishNode(n,"TSTypeQuery")}tsParseTypeParameter(n){let a=this.startNode();return n(a),a.name=this.tsParseTypeParameterName(),a.constraint=this.tsEatThenParseType(81),a.default=this.tsEatThenParseType(29),this.finishNode(a,"TSTypeParameter")}tsTryParseTypeParameters(n){if(this.match(47))return this.tsParseTypeParameters(n)}tsParseTypeParameters(n){let a=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();let m={value:-1};return a.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,n),!1,!0,m),a.params.length===0&&this.raise(Be.EmptyTypeParameters,a),m.value!==-1&&this.addExtra(a,"trailingComma",m.value),this.finishNode(a,"TSTypeParameterDeclaration")}tsFillSignature(n,a){let m=n===19;a.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),a.parameters=this.tsParseBindingListForSignature(),(m||this.match(n))&&(a.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(n))}tsParseBindingListForSignature(){let n=super.parseBindingList(11,41,2);for(let a of n){let{type:m}=a;m!=="AssignmentPattern"&&m!=="TSParameterProperty"||this.raise(Be.UnsupportedSignatureParameterKind,a,{type:m})}return n}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(n,a){return this.tsFillSignature(14,a),this.tsParseTypeMemberSemicolon(),this.finishNode(a,n)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!G(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(n){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);let a=this.parseIdentifier();a.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(a),this.expect(3),n.parameters=[a];let m=this.tsTryParseTypeAnnotation();return m&&(n.typeAnnotation=m),this.tsParseTypeMemberSemicolon(),this.finishNode(n,"TSIndexSignature")}tsParsePropertyOrMethodSignature(n,a){if(this.eat(17)&&(n.optional=!0),this.match(10)||this.match(47)){a&&this.raise(Be.ReadonlyForMethodSignature,n);let m=n;m.kind&&this.match(47)&&this.raise(Be.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,m),this.tsParseTypeMemberSemicolon();let _="parameters",k="typeAnnotation";if(m.kind==="get")m[_].length>0&&(this.raise(S.BadGetterArity,this.state.curPosition()),this.isThisParam(m[_][0])&&this.raise(Be.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(m.kind==="set"){if(m[_].length!==1)this.raise(S.BadSetterArity,this.state.curPosition());else{let J=m[_][0];this.isThisParam(J)&&this.raise(Be.AccessorCannotDeclareThisParameter,this.state.curPosition()),J.type==="Identifier"&&J.optional&&this.raise(Be.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),J.type==="RestElement"&&this.raise(Be.SetAccessorCannotHaveRestParameter,this.state.curPosition())}m[k]&&this.raise(Be.SetAccessorCannotHaveReturnType,m[k])}else m.kind="method";return this.finishNode(m,"TSMethodSignature")}{let m=n;a&&(m.readonly=!0);let _=this.tsTryParseTypeAnnotation();return _&&(m.typeAnnotation=_),this.tsParseTypeMemberSemicolon(),this.finishNode(m,"TSPropertySignature")}}tsParseTypeMember(){let n=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",n);if(this.match(77)){let m=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",n):(n.key=this.createIdentifier(m,"new"),this.tsParsePropertyOrMethodSignature(n,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},n),this.tsTryParseIndexSignature(n)||(super.parsePropertyName(n),n.computed||n.key.type!=="Identifier"||n.key.name!=="get"&&n.key.name!=="set"||!this.tsTokenCanFollowModifier()||(n.kind=n.key.name,super.parsePropertyName(n),this.match(10)||this.match(47)||this.unexpected(null,10)),this.tsParsePropertyOrMethodSignature(n,!!n.readonly))}tsParseTypeLiteral(){let n=this.startNode();return n.members=this.tsParseObjectTypeMembers(),this.finishNode(n,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let n=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),n}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))}tsParseMappedType(){let n=this.startNode();this.expect(5),this.match(53)?(n.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(n.readonly=!0),this.expect(0);{let a=this.startNode();a.name=this.tsParseTypeParameterName(),a.constraint=this.tsExpectThenParseType(58),n.typeParameter=this.finishNode(a,"TSTypeParameter")}return n.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(n.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(n.optional=!0),n.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(n,"TSMappedType")}tsParseTupleType(){let n=this.startNode();n.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let a=!1;return n.elementTypes.forEach(m=>{let{type:_}=m;!a||_==="TSRestType"||_==="TSOptionalType"||_==="TSNamedTupleMember"&&m.optional||this.raise(Be.OptionalTypeBeforeRequired,m),a||(a=_==="TSNamedTupleMember"&&m.optional||_==="TSOptionalType")}),this.finishNode(n,"TSTupleType")}tsParseTupleElementType(){let n=this.state.startLoc,a=this.eat(21),{startLoc:m}=this.state,_,k,J,ne,he=U(this.state.type)?this.lookaheadCharCode():null;if(he===58)_=!0,J=!1,k=this.parseIdentifier(!0),this.expect(14),ne=this.tsParseType();else if(he===63){J=!0;let be=this.state.value,Ue=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(_=!0,k=this.createIdentifier(this.startNodeAt(m),be),this.expect(17),this.expect(14),ne=this.tsParseType()):(_=!1,ne=Ue,this.expect(17))}else ne=this.tsParseType(),J=this.eat(17),_=this.eat(14);if(_){let be;k?(be=this.startNodeAt(m),be.optional=J,be.label=k,be.elementType=ne,this.eat(17)&&(be.optional=!0,this.raise(Be.TupleOptionalAfterType,this.state.lastTokStartLoc))):(be=this.startNodeAt(m),be.optional=J,this.raise(Be.InvalidTupleMemberLabel,ne),be.label=ne,be.elementType=this.tsParseType()),ne=this.finishNode(be,"TSNamedTupleMember")}else if(J){let be=this.startNodeAt(m);be.typeAnnotation=ne,ne=this.finishNode(be,"TSOptionalType")}if(a){let be=this.startNodeAt(n);be.typeAnnotation=ne,ne=this.finishNode(be,"TSRestType")}return ne}tsParseParenthesizedType(){let n=this.startNode();return this.expect(10),n.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(n,"TSParenthesizedType")}tsParseFunctionOrConstructorType(n,a){let m=this.startNode();return n==="TSConstructorType"&&(m.abstract=!!a,a&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,m)),this.finishNode(m,n)}tsParseLiteralTypeNode(){let n=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:n.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(n,"TSLiteralType")}tsParseTemplateLiteralType(){{let n=this.startNode();return n.literal=super.parseTemplate(!1),this.finishNode(n,"TSLiteralType")}}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let n=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(n):n}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let n=this.startNode(),a=this.lookahead();return a.type!==135&&a.type!==136&&this.unexpected(),n.literal=this.parseMaybeUnary(),this.finishNode(n,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:n}=this.state;if(G(n)||n===88||n===84){let a=n===88?"TSVoidKeyword":n===84?"TSNullKeyword":(function(m){switch(m){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}})(this.state.value);if(a!==void 0&&this.lookaheadCharCode()!==46){let m=this.startNode();return this.next(),this.finishNode(m,a)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let{startLoc:n}=this.state,a=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let m=this.startNodeAt(n);m.elementType=a,this.expect(3),a=this.finishNode(m,"TSArrayType")}else{let m=this.startNodeAt(n);m.objectType=a,m.indexType=this.tsParseType(),this.expect(3),a=this.finishNode(m,"TSIndexedAccessType")}return a}tsParseTypeOperator(){let n=this.startNode(),a=this.state.value;return this.next(),n.operator=a,n.typeAnnotation=this.tsParseTypeOperatorOrHigher(),a==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(n),this.finishNode(n,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(n){switch(n.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Be.UnexpectedReadonly,n)}}tsParseInferType(){let n=this.startNode();this.expectContextual(115);let a=this.startNode();return a.name=this.tsParseTypeParameterName(),a.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),n.typeParameter=this.finishNode(a,"TSTypeParameter"),this.finishNode(n,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let n=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return n}}tsParseTypeOperatorOrHigher(){var n;return(n=this.state.type)>=121&&n<=123&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(n,a,m){let _=this.startNode(),k=this.eat(m),J=[];do J.push(a());while(this.eat(m));return J.length!==1||k?(_.types=J,this.finishNode(_,n)):J[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(G(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:n}=this.state,a=n.length;try{return this.parseObjectLike(8,!0),n.length===a}catch{return!1}}if(this.match(0)){this.next();let{errors:n}=this.state,a=n.length;try{return super.parseBindingList(3,93,1),n.length===a}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(n){return this.tsInType(()=>{let a=this.startNode();this.expect(n);let m=this.startNode(),_=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(_&&this.match(78)){let ne=this.tsParseThisTypeOrThisTypePredicate();return ne.type==="TSThisType"?(m.parameterName=ne,m.asserts=!0,m.typeAnnotation=null,ne=this.finishNode(m,"TSTypePredicate")):(this.resetStartLocationFromNode(ne,m),ne.asserts=!0),a.typeAnnotation=ne,this.finishNode(a,"TSTypeAnnotation")}let k=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!k)return _?(m.parameterName=this.parseIdentifier(),m.asserts=_,m.typeAnnotation=null,a.typeAnnotation=this.finishNode(m,"TSTypePredicate"),this.finishNode(a,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,a);let J=this.tsParseTypeAnnotation(!1);return m.parameterName=k,m.typeAnnotation=J,m.asserts=_,a.typeAnnotation=this.finishNode(m,"TSTypePredicate"),this.finishNode(a,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let n=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),n}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let n=this.state.containsEsc;return this.next(),!(!G(this.state.type)&&!this.match(78))&&(n&&this.raise(S.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(n=!0,a=this.startNode()){return this.tsInType(()=>{n&&this.expect(14),a.typeAnnotation=this.tsParseType()}),this.finishNode(a,"TSTypeAnnotation")}tsParseType(){It(this.state.inType);let n=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return n;let a=this.startNodeAtNode(n);return a.checkType=n,a.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),a.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),a.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(a,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.isLookaheadContextual("new")}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Be.ReservedTypeAssertion,this.state.startLoc);let n=this.startNode();return n.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),n.expression=this.parseMaybeUnary(),this.finishNode(n,"TSTypeAssertion")}tsParseHeritageClause(n){let a=this.state.startLoc,m=this.tsParseDelimitedList("HeritageClauseElement",()=>{{let _=this.startNode();return _.expression=this.tsParseEntityName(3),this.match(47)&&(_.typeParameters=this.tsParseTypeArguments()),this.finishNode(_,"TSExpressionWithTypeArguments")}});return m.length||this.raise(Be.EmptyHeritageClauseType,a,{token:n}),m}tsParseInterfaceDeclaration(n,a={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),a.declare&&(n.declare=!0),G(this.state.type)?(n.id=this.parseIdentifier(),this.checkIdentifier(n.id,130)):(n.id=null,this.raise(Be.MissingInterfaceName,this.state.startLoc)),n.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(n.extends=this.tsParseHeritageClause("extends"));let m=this.startNode();return m.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),n.body=this.finishNode(m,"TSInterfaceBody"),this.finishNode(n,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(n){return n.id=this.parseIdentifier(),this.checkIdentifier(n.id,2),n.typeAnnotation=this.tsInType(()=>{if(n.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookaheadCharCode()!==46){let a=this.startNode();return this.next(),this.finishNode(a,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(n,"TSTypeAliasDeclaration")}tsInTopLevelContext(n){if(this.curContext()===K.brace)return n();{let a=this.state.context;this.state.context=[a[0]];try{return n()}finally{this.state.context=a}}}tsInType(n){let a=this.state.inType;this.state.inType=!0;try{return n()}finally{this.state.inType=a}}tsInDisallowConditionalTypesContext(n){let a=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return n()}finally{this.state.inDisallowConditionalTypesContext=a}}tsInAllowConditionalTypesContext(n){let a=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return n()}finally{this.state.inDisallowConditionalTypesContext=a}}tsEatThenParseType(n){if(this.match(n))return this.tsNextThenParseType()}tsExpectThenParseType(n){return this.tsInType(()=>(this.expect(n),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let n=this.startNode();return n.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(n.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(n,"TSEnumMember")}tsParseEnumDeclaration(n,a={}){return a.const&&(n.const=!0),a.declare&&(n.declare=!0),this.expectContextual(126),n.id=this.parseIdentifier(),this.checkIdentifier(n.id,n.const?8971:8459),this.expect(5),n.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(n,"TSEnumDeclaration")}tsParseEnumBody(){let n=this.startNode();return this.expect(5),n.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(n,"TSEnumBody")}tsParseModuleBlock(){let n=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(n.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(n,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(n,a=!1){if(n.id=this.parseIdentifier(),a||this.checkIdentifier(n.id,1024),this.eat(16)){let m=this.startNode();this.tsParseModuleOrNamespaceDeclaration(m,!0),n.body=m}else this.scope.enter(1024),this.prodParam.enter(0),n.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(n,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(n){return this.isContextual(112)?(n.kind="global",n.global=!0,n.id=this.parseIdentifier()):this.match(134)?(n.kind="module",n.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(1024),this.prodParam.enter(0),n.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(n,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(n,a,m){n.isExport=m||!1,n.id=a||this.parseIdentifier(),this.checkIdentifier(n.id,4096),this.expect(29);let _=this.tsParseModuleReference();return n.importKind==="type"&&_.type!=="TSExternalModuleReference"&&this.raise(Be.ImportAliasHasImportType,_),n.moduleReference=_,this.semicolon(),this.finishNode(n,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){let n=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),n.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(n,"TSExternalModuleReference")}tsLookAhead(n){let a=this.state.clone(),m=n();return this.state=a,m}tsTryParseAndCatch(n){let a=this.tryParse(m=>n()||m());if(!a.aborted&&a.node)return a.error&&(this.state=a.failState),a.node}tsTryParse(n){let a=this.state.clone(),m=n();if(m!==void 0&&m!==!1)return m;this.state=a}tsTryParseDeclare(n){if(this.isLineTerminator())return;let a=this.state.type;return this.tsInAmbientContext(()=>{switch(a){case 68:return n.declare=!0,super.parseFunctionStatement(n,!1,!1);case 80:return n.declare=!0,this.parseClass(n,!0,!1);case 126:return this.tsParseEnumDeclaration(n,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(n);case 100:if(this.state.containsEsc)return;case 75:case 74:return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(n,{const:!0,declare:!0})):(n.declare=!0,this.parseVarStatement(n,this.state.value,!0));case 107:if(this.isUsing())return this.raise(Be.InvalidModifierOnUsingDeclaration,this.state.startLoc,"declare"),n.declare=!0,this.parseVarStatement(n,"using",!0);break;case 96:if(this.isAwaitUsing())return this.raise(Be.InvalidModifierOnAwaitUsingDeclaration,this.state.startLoc,"declare"),n.declare=!0,this.next(),this.parseVarStatement(n,"await using",!0);break;case 129:{let m=this.tsParseInterfaceDeclaration(n,{declare:!0});if(m)return m}default:if(G(a))return this.tsParseDeclaration(n,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(n,a,m){switch(a.name){case"declare":{let _=this.tsTryParseDeclare(n);return _&&(_.declare=!0),_}case"global":if(this.match(5)){this.scope.enter(1024),this.prodParam.enter(0);let _=n;return _.kind="global",n.global=!0,_.id=a,_.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(_,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(n,a.name,!1,m)}}tsParseDeclaration(n,a,m,_){switch(a){case"abstract":if(this.tsCheckLineTerminator(m)&&(this.match(80)||G(this.state.type)))return this.tsParseAbstractDeclaration(n,_);break;case"module":if(this.tsCheckLineTerminator(m)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(n);if(G(this.state.type))return n.kind="module",this.tsParseModuleOrNamespaceDeclaration(n)}break;case"namespace":if(this.tsCheckLineTerminator(m)&&G(this.state.type))return n.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(n);break;case"type":if(this.tsCheckLineTerminator(m)&&G(this.state.type))return this.tsParseTypeAliasDeclaration(n)}}tsCheckLineTerminator(n){return n?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(n){if(!this.match(47))return;let a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let m=this.tsTryParseAndCatch(()=>{let _=this.startNodeAt(n);return _.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(_),_.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),_});return this.state.maybeInArrowParameters=a,m?super.parseArrowExpression(m,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let n=this.startNode();return n.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),n.params.length===0?this.raise(Be.EmptyTypeArguments,n):this.state.inType||this.curContext()!==K.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(n,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(n=this.state.type)>=124&&n<=130;var n}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseBindingElement(n,a){let m=a.length?a[0].loc.start:this.state.startLoc,_={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},_);let k=_.accessibility,J=_.override,ne=_.readonly;4&n||!(k||ne||J)||this.raise(Be.UnexpectedParameterModifier,m);let he=this.parseMaybeDefault();2&n&&this.parseFunctionParamType(he);let be=this.parseMaybeDefault(he.loc.start,he);if(k||ne||J){let Ue=this.startNodeAt(m);return a.length&&(Ue.decorators=a),k&&(Ue.accessibility=k),ne&&(Ue.readonly=ne),J&&(Ue.override=J),be.type!=="Identifier"&&be.type!=="AssignmentPattern"&&this.raise(Be.UnsupportedParameterPropertyKind,Ue),Ue.parameter=be,this.finishNode(Ue,"TSParameterProperty")}return a.length&&(he.decorators=a),be}isSimpleParameter(n){return n.type==="TSParameterProperty"&&super.isSimpleParameter(n.parameter)||super.isSimpleParameter(n)}tsDisallowOptionalPattern(n){for(let a of n.params)a.type!=="Identifier"&&a.optional&&!this.state.isAmbientContext&&this.raise(Be.PatternIsOptional,a)}setArrowFunctionParameters(n,a,m){super.setArrowFunctionParameters(n,a,m),this.tsDisallowOptionalPattern(n)}parseFunctionBodyAndFinish(n,a,m=!1){this.match(14)&&(n.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let _=a==="FunctionDeclaration"?"TSDeclareFunction":a==="ClassMethod"||a==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return _&&!this.match(5)&&this.isLineTerminator()?this.finishNode(n,_):_==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Be.DeclareFunctionHasImplementation,n),n.declare)?super.parseFunctionBodyAndFinish(n,_,m):(this.tsDisallowOptionalPattern(n),super.parseFunctionBodyAndFinish(n,a,m))}registerFunctionStatementId(n){!n.body&&n.id?this.checkIdentifier(n.id,1024):super.registerFunctionStatementId(n)}tsCheckForInvalidTypeCasts(n){n.forEach(a=>{a?.type==="TSTypeCastExpression"&&this.raise(Be.UnexpectedTypeAnnotation,a.typeAnnotation)})}toReferencedList(n,a){return this.tsCheckForInvalidTypeCasts(n),n}parseArrayLike(n,a,m,_){let k=super.parseArrayLike(n,a,m,_);return k.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(k.elements),k}parseSubscript(n,a,m,_){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let J=this.startNodeAt(a);return J.expression=n,this.finishNode(J,"TSNonNullExpression")}let k=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(m)return _.stop=!0,n;_.optionalChainMember=k=!0,this.next()}if(this.match(47)||this.match(51)){let J,ne=this.tsTryParseAndCatch(()=>{if(!m&&this.atPossibleAsyncArrow(n)){let nt=this.tsTryParseGenericAsyncArrowFunction(a);if(nt)return nt}let he=this.tsParseTypeArgumentsInExpression();if(!he)return;if(k&&!this.match(10))return void(J=this.state.curPosition());if(H(this.state.type)){let nt=super.parseTaggedTemplateExpression(n,a,_);return nt.typeParameters=he,nt}if(!m&&this.eat(10)){let nt=this.startNodeAt(a);return nt.callee=n,nt.arguments=this.parseCallExpressionArguments(),this.tsCheckForInvalidTypeCasts(nt.arguments),nt.typeParameters=he,_.optionalChainMember&&(nt.optional=k),this.finishCallExpression(nt,_.optionalChainMember)}let be=this.state.type;if(be===48||be===52||be!==10&&de(be)&&!this.hasPrecedingLineBreak())return;let Ue=this.startNodeAt(a);return Ue.expression=n,Ue.typeParameters=he,this.finishNode(Ue,"TSInstantiationExpression")});if(J&&this.unexpected(J,10),ne)return ne.type==="TSInstantiationExpression"&&((this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(Be.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),this.match(16)||this.match(18)||(ne.expression=super.stopParseSubscript(n,_))),ne}return super.parseSubscript(n,a,m,_)}parseNewCallee(n){var a;super.parseNewCallee(n);let{callee:m}=n;m.type!=="TSInstantiationExpression"||(a=m.extra)!=null&&a.parenthesized||(n.typeParameters=m.typeParameters,n.callee=m.expression)}parseExprOp(n,a,m){let _;if(ce(58)>m&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(_=this.isContextual(120)))){let k=this.startNodeAt(a);return k.expression=n,k.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(_&&this.raise(S.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(k,_?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(k,a,m)}return super.parseExprOp(n,a,m)}checkReservedWord(n,a,m,_){this.state.isAmbientContext||super.checkReservedWord(n,a,m,_)}checkImportReflection(n){super.checkImportReflection(n),n.module&&n.importKind!=="value"&&this.raise(Be.ImportReflectionHasImportType,n.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(n){if(super.isPotentialImportPhase(n))return!0;if(this.isContextual(130)){let a=this.lookaheadCharCode();return n?a===123||a===42:a!==61}return!n&&this.isContextual(87)}applyImportPhase(n,a,m,_){super.applyImportPhase(n,a,m,_),a?n.exportKind=m==="type"?"type":"value":n.importKind=m==="type"||m==="typeof"?m:"value"}parseImport(n){if(this.match(134))return n.importKind="value",super.parseImport(n);let a;if(G(this.state.type)&&this.lookaheadCharCode()===61)return n.importKind="value",this.tsParseImportEqualsDeclaration(n);if(this.isContextual(130)){let m=this.parseMaybeImportPhase(n,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(n,m);a=super.parseImportSpecifiersAndAfter(n,m)}else a=super.parseImport(n);return a.importKind==="type"&&a.specifiers.length>1&&a.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Be.TypeImportCannotSpecifyDefaultAndNamed,a),a}parseExport(n,a){if(this.match(83)){let m=n;this.next();let _=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?_=this.parseMaybeImportPhase(m,!1):m.importKind="value",this.tsParseImportEqualsDeclaration(m,_,!0)}if(this.eat(29)){let m=n;return m.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(m,"TSExportAssignment")}if(this.eatContextual(93)){let m=n;return this.expectContextual(128),m.id=this.parseIdentifier(),this.semicolon(),this.finishNode(m,"TSNamespaceExportDeclaration")}return super.parseExport(n,a)}isAbstractClass(){return this.isContextual(124)&&this.isLookaheadContextual("class")}parseExportDefaultExpression(){if(this.isAbstractClass()){let n=this.startNode();return this.next(),n.abstract=!0,this.parseClass(n,!0,!0)}if(this.match(129)){let n=this.tsParseInterfaceDeclaration(this.startNode());if(n)return n}return super.parseExportDefaultExpression()}parseVarStatement(n,a,m=!1){let{isAmbientContext:_}=this.state,k=super.parseVarStatement(n,a,m||_);if(!_)return k;if(!n.declare&&(a==="using"||a==="await using"))return this.raiseOverwrite(Be.UsingDeclarationInAmbientContext,n,a),k;for(let{id:J,init:ne}of k.declarations)ne&&(a==="var"||a==="let"||J.typeAnnotation?this.raise(Be.InitializerNotAllowedInAmbientContext,ne):Yt(ne,this.hasPlugin("estree"))||this.raise(Be.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,ne));return k}parseStatementContent(n,a){if(this.match(75)&&this.isLookaheadContextual("enum")){let m=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(m,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let m=this.tsParseInterfaceDeclaration(this.startNode());if(m)return m}return super.parseStatementContent(n,a)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(n,a){return a.some(m=>Et(m)?n.accessibility===m:!!n[m])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(n,a,m){let _=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:_,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Be.InvalidModifierOnTypeParameterPositions},a);let k=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(a,_)&&this.raise(Be.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(n,a)):this.parseClassMemberWithIsStatic(n,a,m,!!a.static)};a.declare?this.tsInAmbientContext(k):k()}parseClassMemberWithIsStatic(n,a,m,_){let k=this.tsTryParseIndexSignature(a);if(k)return n.body.push(k),a.abstract&&this.raise(Be.IndexSignatureHasAbstract,a),a.accessibility&&this.raise(Be.IndexSignatureHasAccessibility,a,{modifier:a.accessibility}),a.declare&&this.raise(Be.IndexSignatureHasDeclare,a),void(a.override&&this.raise(Be.IndexSignatureHasOverride,a));!this.state.inAbstractClass&&a.abstract&&this.raise(Be.NonAbstractClassHasAbstractMethod,a),a.override&&(m.hadSuperClass||this.raise(Be.OverrideNotInSubClass,a)),super.parseClassMemberWithIsStatic(n,a,m,_)}parsePostMemberNameModifiers(n){this.eat(17)&&(n.optional=!0),n.readonly&&this.match(10)&&this.raise(Be.ClassMethodHasReadonly,n),n.declare&&this.match(10)&&this.raise(Be.ClassMethodHasDeclare,n)}parseExpressionStatement(n,a,m){return(a.type==="Identifier"?this.tsParseExpressionStatement(n,a,m):void 0)||super.parseExpressionStatement(n,a,m)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(n,a,m){if(!this.match(17))return n;if(this.state.maybeInArrowParameters){let _=this.lookaheadCharCode();if(_===44||_===61||_===58||_===41)return this.setOptionalParametersError(m),n}return super.parseConditional(n,a,m)}parseParenItem(n,a){let m=super.parseParenItem(n,a);if(this.eat(17)&&(m.optional=!0,this.resetEndLocation(n)),this.match(14)){let _=this.startNodeAt(a);return _.expression=n,_.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(_,"TSTypeCastExpression")}return n}parseExportDeclaration(n){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(n));let a=this.state.startLoc,m=this.eatContextual(125);if(m&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(Be.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let _=G(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(n);return _?((_.type==="TSInterfaceDeclaration"||_.type==="TSTypeAliasDeclaration"||m)&&(n.exportKind="type"),m&&_.type!=="TSImportEqualsDeclaration"&&(this.resetStartLocation(_,a),_.declare=!0),_):null}parseClassId(n,a,m,_){if((!a||m)&&this.isContextual(113))return;super.parseClassId(n,a,m,n.declare?1024:8331);let k=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);k&&(n.typeParameters=k)}parseClassPropertyAnnotation(n){n.optional||(this.eat(35)?n.definite=!0:this.eat(17)&&(n.optional=!0));let a=this.tsTryParseTypeAnnotation();a&&(n.typeAnnotation=a)}parseClassProperty(n){if(this.parseClassPropertyAnnotation(n),this.state.isAmbientContext&&(!n.readonly||n.typeAnnotation)&&this.match(29)&&this.raise(Be.DeclareClassFieldHasInitializer,this.state.startLoc),n.abstract&&this.match(29)){let{key:a}=n;this.raise(Be.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:a.type!=="Identifier"||n.computed?`[${this.input.slice(this.offsetToSourcePos(a.start),this.offsetToSourcePos(a.end))}]`:a.name})}return super.parseClassProperty(n)}parseClassPrivateProperty(n){return n.abstract&&this.raise(Be.PrivateElementHasAbstract,n),n.accessibility&&this.raise(Be.PrivateElementHasAccessibility,n,{modifier:n.accessibility}),this.parseClassPropertyAnnotation(n),super.parseClassPrivateProperty(n)}parseClassAccessorProperty(n){return this.parseClassPropertyAnnotation(n),n.optional&&this.raise(Be.AccessorCannotBeOptional,n),super.parseClassAccessorProperty(n)}pushClassMethod(n,a,m,_,k,J){let ne=this.tsTryParseTypeParameters(this.tsParseConstModifier);ne&&k&&this.raise(Be.ConstructorHasTypeParameters,ne);let{declare:he=!1,kind:be}=a;!he||be!=="get"&&be!=="set"||this.raise(Be.DeclareAccessor,a,{kind:be}),ne&&(a.typeParameters=ne),super.pushClassMethod(n,a,m,_,k,J)}pushClassPrivateMethod(n,a,m,_){let k=this.tsTryParseTypeParameters(this.tsParseConstModifier);k&&(a.typeParameters=k),super.pushClassPrivateMethod(n,a,m,_)}declareClassPrivateMethodInScope(n,a){n.type!=="TSDeclareMethod"&&(n.type==="MethodDefinition"&&n.value.body==null||super.declareClassPrivateMethodInScope(n,a))}parseClassSuper(n){super.parseClassSuper(n),n.superClass&&(this.match(47)||this.match(51))&&(n.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(n.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(n,a,m,_,k,J,ne){let he=this.tsTryParseTypeParameters(this.tsParseConstModifier);return he&&(n.typeParameters=he),super.parseObjPropValue(n,a,m,_,k,J,ne)}parseFunctionParams(n,a){let m=this.tsTryParseTypeParameters(this.tsParseConstModifier);m&&(n.typeParameters=m),super.parseFunctionParams(n,a)}parseVarId(n,a){super.parseVarId(n,a),n.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(n.definite=!0);let m=this.tsTryParseTypeAnnotation();m&&(n.id.typeAnnotation=m,this.resetEndLocation(n.id))}parseAsyncArrowFromCallExpression(n,a){return this.match(14)&&(n.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(n,a)}parseMaybeAssign(n,a){var m,_,k,J,ne;let he,be,Ue,nt;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(he=this.state.clone(),be=this.tryParse(()=>super.parseMaybeAssign(n,a),he),!be.error)return be.node;let{context:ht}=this.state,Ct=ht[ht.length-1];Ct!==K.j_oTag&&Ct!==K.j_expr||ht.pop()}if(!((m=be)!=null&&m.error||this.match(47)))return super.parseMaybeAssign(n,a);he&&he!==this.state||(he=this.state.clone());let Pt=this.tryParse(ht=>{var Ct,Gt;nt=this.tsParseTypeParameters(this.tsParseConstModifier);let ln=super.parseMaybeAssign(n,a);return(ln.type!=="ArrowFunctionExpression"||(Ct=ln.extra)!=null&&Ct.parenthesized)&&ht(),((Gt=nt)==null?void 0:Gt.params.length)!==0&&this.resetStartLocationFromNode(ln,nt),ln.typeParameters=nt,ln},he);if(!Pt.error&&!Pt.aborted)return nt&&this.reportReservedArrowTypeParam(nt),Pt.node;if(!be&&(It(!this.hasPlugin("jsx")),Ue=this.tryParse(()=>super.parseMaybeAssign(n,a),he),!Ue.error))return Ue.node;if((_=be)!=null&&_.node)return this.state=be.failState,be.node;if(Pt.node)return this.state=Pt.failState,nt&&this.reportReservedArrowTypeParam(nt),Pt.node;if((k=Ue)!=null&&k.node)return this.state=Ue.failState,Ue.node;throw((J=be)==null?void 0:J.error)||Pt.error||((ne=Ue)==null?void 0:ne.error)}reportReservedArrowTypeParam(n){var a;n.params.length!==1||n.params[0].constraint||(a=n.extra)!=null&&a.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(Be.ReservedArrowTypeParam,n)}parseMaybeUnary(n,a){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(n,a)}parseArrow(n){if(this.match(14)){let a=this.tryParse(m=>{let _=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||m(),_});if(a.aborted)return;a.thrown||(a.error&&(this.state=a.failState),n.returnType=a.node)}return super.parseArrow(n)}parseFunctionParamType(n){this.eat(17)&&(n.optional=!0);let a=this.tsTryParseTypeAnnotation();return a&&(n.typeAnnotation=a),this.resetEndLocation(n),n}isAssignable(n,a){switch(n.type){case"TSTypeCastExpression":return this.isAssignable(n.expression,a);case"TSParameterProperty":return!0;default:return super.isAssignable(n,a)}}toAssignable(n,a=!1){switch(n.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(n,a);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":a?this.expressionScope.recordArrowParameterBindingError(Be.UnexpectedTypeCastInParameter,n):this.raise(Be.UnexpectedTypeCastInParameter,n),this.toAssignable(n.expression,a);break;case"AssignmentExpression":a||n.left.type!=="TSTypeCastExpression"||(n.left=this.typeCastToParameter(n.left));default:super.toAssignable(n,a)}}toAssignableParenthesizedExpression(n,a){switch(n.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(n.expression,a);break;default:super.toAssignable(n,a)}}checkToRestConversion(n,a){switch(n.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(n.expression,!1);break;default:super.checkToRestConversion(n,a)}}isValidLVal(n,a,m){switch(n){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(m!==64||!a)&&["expression",!0];default:return super.isValidLVal(n,a,m)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(n,a){if(this.match(47)||this.match(51)){let m=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let _=super.parseMaybeDecoratorArguments(n,a);return _.typeParameters=m,_}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(n,a)}checkCommaAfterRest(n){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===n?(this.next(),!1):super.checkCommaAfterRest(n)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(n,a){let m=super.parseMaybeDefault(n,a);return m.type==="AssignmentPattern"&&m.typeAnnotation&&m.right.start<m.typeAnnotation.start&&this.raise(Be.TypeAnnotationAfterAssign,m.typeAnnotation),m}getTokenFromCode(n){if(this.state.inType){if(n===62)return void this.finishOp(48,1);if(n===60)return void this.finishOp(47,1)}super.getTokenFromCode(n)}reScan_lt_gt(){let{type:n}=this.state;n===47?(this.state.pos-=1,this.readToken_lt()):n===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:n}=this.state;return n===51?(this.state.pos-=2,this.finishOp(47,1),47):n}toAssignableListItem(n,a,m){let _=n[a];_.type==="TSTypeCastExpression"&&(n[a]=this.typeCastToParameter(_)),super.toAssignableListItem(n,a,m)}typeCastToParameter(n){return n.expression.typeAnnotation=n.typeAnnotation,this.resetEndLocation(n.expression,n.typeAnnotation.loc.end),n.expression}shouldParseArrow(n){return this.match(14)?n.every(a=>this.isAssignable(a,!0)):super.shouldParseArrow(n)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(n){if(this.match(47)||this.match(51)){let a=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());a&&(n.typeParameters=a)}return super.jsxParseOpeningElementAfterName(n)}getGetterSetterExpectedParamCount(n){let a=super.getGetterSetterExpectedParamCount(n),m=this.getObjectOrClassMethodParams(n)[0];return m&&this.isThisParam(m)?a+1:a}parseCatchClauseParam(){let n=super.parseCatchClauseParam(),a=this.tsTryParseTypeAnnotation();return a&&(n.typeAnnotation=a,this.resetEndLocation(n)),n}tsInAmbientContext(n){let{isAmbientContext:a,strict:m}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return n()}finally{this.state.isAmbientContext=a,this.state.strict=m}}parseClass(n,a,m){let _=this.state.inAbstractClass;this.state.inAbstractClass=!!n.abstract;try{return super.parseClass(n,a,m)}finally{this.state.inAbstractClass=_}}tsParseAbstractDeclaration(n,a){if(this.match(80))return n.abstract=!0,this.maybeTakeDecorators(a,this.parseClass(n,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return n.abstract=!0,this.raise(Be.NonClassMethodPropertyHasAbstractModifier,n),this.tsParseInterfaceDeclaration(n)}else this.unexpected(null,80)}parseMethod(n,a,m,_,k,J,ne){let he=super.parseMethod(n,a,m,_,k,J,ne);if((he.abstract||he.type==="TSAbstractMethodDefinition")&&(this.hasPlugin("estree")?he.value:he).body){let{key:be}=he;this.raise(Be.AbstractMethodHasImplementation,he,{methodName:be.type!=="Identifier"||he.computed?`[${this.input.slice(this.offsetToSourcePos(be.start),this.offsetToSourcePos(be.end))}]`:be.name})}return he}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(n,a,m,_){return!a&&_?(this.parseTypeOnlyImportExportSpecifier(n,!1,m),this.finishNode(n,"ExportSpecifier")):(n.exportKind="value",super.parseExportSpecifier(n,a,m,_))}parseImportSpecifier(n,a,m,_,k){return!a&&_?(this.parseTypeOnlyImportExportSpecifier(n,!0,m),this.finishNode(n,"ImportSpecifier")):(n.importKind="value",super.parseImportSpecifier(n,a,m,_,m?4098:4096))}parseTypeOnlyImportExportSpecifier(n,a,m){let _=a?"imported":"local",k=a?"local":"exported",J,ne=n[_],he=!1,be=!0,Ue=ne.loc.start;if(this.isContextual(93)){let nt=this.parseIdentifier();if(this.isContextual(93)){let Pt=this.parseIdentifier();U(this.state.type)?(he=!0,ne=nt,J=a?this.parseIdentifier():this.parseModuleExportName(),be=!1):(J=Pt,be=!1)}else U(this.state.type)?(be=!1,J=a?this.parseIdentifier():this.parseModuleExportName()):(he=!0,ne=nt)}else U(this.state.type)&&(he=!0,a?(ne=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(ne.name,ne.loc.start,!0,!0)):ne=this.parseModuleExportName());he&&m&&this.raise(a?Be.TypeModifierIsUsedInTypeImports:Be.TypeModifierIsUsedInTypeExports,Ue),n[_]=ne,n[k]=J,n[a?"importKind":"exportKind"]=he?"type":"value",be&&this.eatContextual(93)&&(n[k]=a?this.parseIdentifier():this.parseModuleExportName()),n[k]||(n[k]=this.cloneIdentifier(n[_])),a&&this.checkIdentifier(n[k],he?4098:4096)}fillOptionalPropertiesForTSESLint(n){switch(n.type){case"ExpressionStatement":return void(n.directive!=null||(n.directive=void 0));case"RestElement":n.value=void 0;case"Identifier":case"ArrayPattern":case"AssignmentPattern":case"ObjectPattern":return n.decorators!=null||(n.decorators=[]),n.optional!=null||(n.optional=!1),void(n.typeAnnotation!=null||(n.typeAnnotation=void 0));case"TSParameterProperty":return n.accessibility!=null||(n.accessibility=void 0),n.decorators!=null||(n.decorators=[]),n.override!=null||(n.override=!1),n.readonly!=null||(n.readonly=!1),void(n.static!=null||(n.static=!1));case"TSEmptyBodyFunctionExpression":n.body=null;case"TSDeclareFunction":case"FunctionDeclaration":case"FunctionExpression":case"ClassMethod":case"ClassPrivateMethod":return n.declare!=null||(n.declare=!1),n.returnType!=null||(n.returnType=void 0),void(n.typeParameters!=null||(n.typeParameters=void 0));case"Property":return void(n.optional!=null||(n.optional=!1));case"TSMethodSignature":case"TSPropertySignature":n.optional!=null||(n.optional=!1);case"TSIndexSignature":return n.accessibility!=null||(n.accessibility=void 0),n.readonly!=null||(n.readonly=!1),void(n.static!=null||(n.static=!1));case"TSAbstractPropertyDefinition":case"PropertyDefinition":case"TSAbstractAccessorProperty":case"AccessorProperty":n.declare!=null||(n.declare=!1),n.definite!=null||(n.definite=!1),n.readonly!=null||(n.readonly=!1),n.typeAnnotation!=null||(n.typeAnnotation=void 0);case"TSAbstractMethodDefinition":case"MethodDefinition":return n.accessibility!=null||(n.accessibility=void 0),n.decorators!=null||(n.decorators=[]),n.override!=null||(n.override=!1),void(n.optional!=null||(n.optional=!1));case"ClassExpression":n.id!=null||(n.id=null);case"ClassDeclaration":return n.abstract!=null||(n.abstract=!1),n.declare!=null||(n.declare=!1),n.decorators!=null||(n.decorators=[]),n.implements!=null||(n.implements=[]),n.superTypeArguments!=null||(n.superTypeArguments=void 0),void(n.typeParameters!=null||(n.typeParameters=void 0));case"TSTypeAliasDeclaration":case"VariableDeclaration":return void(n.declare!=null||(n.declare=!1));case"VariableDeclarator":return void(n.definite!=null||(n.definite=!1));case"TSEnumDeclaration":return n.const!=null||(n.const=!1),void(n.declare!=null||(n.declare=!1));case"TSEnumMember":return void(n.computed!=null||(n.computed=!1));case"TSImportType":return n.qualifier!=null||(n.qualifier=null),void(n.options!=null||(n.options=null));case"TSInterfaceDeclaration":return n.declare!=null||(n.declare=!1),void(n.extends!=null||(n.extends=[]));case"TSModuleDeclaration":return n.declare!=null||(n.declare=!1),void(n.global!=null||(n.global=n.kind==="global"));case"TSTypeParameter":return n.const!=null||(n.const=!1),n.in!=null||(n.in=!1),void(n.out!=null||(n.out=!1))}}},v8intrinsic:X=>class extends X{parseV8Intrinsic(){if(this.match(54)){let n=this.state.startLoc,a=this.startNode();if(this.next(),G(this.state.type)){let m=this.parseIdentifierName(),_=this.createIdentifier(a,m);if(this.castNodeTo(_,"V8IntrinsicIdentifier"),this.match(10))return _}this.unexpected(n)}}parseExprAtom(n){return this.parseV8Intrinsic()||super.parseExprAtom(n)}},placeholders:X=>class extends X{parsePlaceholder(n){if(this.match(133)){let a=this.startNode();return this.next(),this.assertNoSpace(),a.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(a,n)}}finishPlaceholder(n,a){let m=n;return m.expectedNode&&m.type||(m=this.finishNode(m,"Placeholder")),m.expectedNode=a,m}getTokenFromCode(n){n===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(n)}parseExprAtom(n){return this.parsePlaceholder("Expression")||super.parseExprAtom(n)}parseIdentifier(n){return this.parsePlaceholder("Identifier")||super.parseIdentifier(n)}checkReservedWord(n,a,m,_){n!==void 0&&super.checkReservedWord(n,a,m,_)}cloneIdentifier(n){let a=super.cloneIdentifier(n);return a.type==="Placeholder"&&(a.expectedNode=n.expectedNode),a}cloneStringLiteral(n){return n.type==="Placeholder"?this.cloneIdentifier(n):super.cloneStringLiteral(n)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(n,a,m){return n==="Placeholder"||super.isValidLVal(n,a,m)}toAssignable(n,a){n&&n.type==="Placeholder"&&n.expectedNode==="Expression"?n.expectedNode="Pattern":super.toAssignable(n,a)}chStartsBindingIdentifier(n,a){if(super.chStartsBindingIdentifier(n,a))return!0;let m=this.nextTokenStart();return this.input.charCodeAt(m)===37&&this.input.charCodeAt(m+1)===37}verifyBreakContinue(n,a){n.label&&n.label.type==="Placeholder"||super.verifyBreakContinue(n,a)}parseExpressionStatement(n,a){var m;if(a.type!=="Placeholder"||(m=a.extra)!=null&&m.parenthesized)return super.parseExpressionStatement(n,a);if(this.match(14)){let k=n;return k.label=this.finishPlaceholder(a,"Identifier"),this.next(),k.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(k,"LabeledStatement")}this.semicolon();let _=n;return _.name=a.name,this.finishPlaceholder(_,"Statement")}parseBlock(n,a,m){return this.parsePlaceholder("BlockStatement")||super.parseBlock(n,a,m)}parseFunctionId(n){return this.parsePlaceholder("Identifier")||super.parseFunctionId(n)}parseClass(n,a,m){let _=a?"ClassDeclaration":"ClassExpression";this.next();let k=this.state.strict,J=this.parsePlaceholder("Identifier");if(J){if(!(this.match(81)||this.match(133)||this.match(5))){if(m||!a)return n.id=null,n.body=this.finishPlaceholder(J,"ClassBody"),this.finishNode(n,_);throw this.raise(hn.ClassNameIsRequired,this.state.startLoc)}n.id=J}else this.parseClassId(n,a,m);return super.parseClassSuper(n),n.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!n.superClass,k),this.finishNode(n,_)}parseExport(n,a){let m=this.parsePlaceholder("Identifier");if(!m)return super.parseExport(n,a);let _=n;if(!this.isContextual(98)&&!this.match(12))return _.specifiers=[],_.source=null,_.declaration=this.finishPlaceholder(m,"Declaration"),this.finishNode(_,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let k=this.startNode();return k.exported=m,_.specifiers=[this.finishNode(k,"ExportDefaultSpecifier")],super.parseExport(_,a)}isExportDefaultSpecifier(){if(this.match(65)){let n=this.nextTokenStart();if(this.isUnparsedContextual(n,"from")&&this.input.startsWith(ve(133),this.nextTokenStartSince(n+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(n,a){var m;return!((m=n.specifiers)==null||!m.length)||super.maybeParseExportDefaultSpecifier(n,a)}checkExport(n){let{specifiers:a}=n;a!=null&&a.length&&(n.specifiers=a.filter(m=>m.exported.type==="Placeholder")),super.checkExport(n),n.specifiers=a}parseImport(n){let a=this.parsePlaceholder("Identifier");if(!a)return super.parseImport(n);if(n.specifiers=[],!this.isContextual(98)&&!this.match(12))return n.source=this.finishPlaceholder(a,"StringLiteral"),this.semicolon(),this.finishNode(n,"ImportDeclaration");let m=this.startNodeAtNode(a);return m.local=a,n.specifiers.push(this.finishNode(m,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(n)||this.parseNamedImportSpecifiers(n)),this.expectContextual(98),n.source=this.parseImportSource(),this.semicolon(),this.finishNode(n,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(hn.UnexpectedSpace,this.state.lastTokEndLoc)}}},Kt=Object.keys(yn);class Kn extends _t{checkProto(n,a,m,_){if(n.type==="SpreadElement"||this.isObjectMethod(n)||n.computed||n.shorthand)return m;let k=n.key;return(k.type==="Identifier"?k.name:k.value)==="__proto__"?a?(this.raise(S.RecordNoProto,k),!0):(m&&(_?_.doubleProtoLoc===null&&(_.doubleProtoLoc=k.loc.start):this.raise(S.DuplicateProto,k)),!0):m}shouldExitDescending(n,a){return n.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(n.start)===a}getExpression(){if(this.enterInitialScopes(),this.nextToken(),this.match(140))throw this.raise(S.ParseExpressionEmptyInput,this.state.startLoc);let n=this.parseExpression();if(!this.match(140))throw this.raise(S.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),n.comments=this.comments,n.errors=this.state.errors,256&this.optionFlags&&(n.tokens=this.tokens),n}parseExpression(n,a){return n?this.disallowInAnd(()=>this.parseExpressionBase(a)):this.allowInAnd(()=>this.parseExpressionBase(a))}parseExpressionBase(n){let a=this.state.startLoc,m=this.parseMaybeAssign(n);if(this.match(12)){let _=this.startNodeAt(a);for(_.expressions=[m];this.eat(12);)_.expressions.push(this.parseMaybeAssign(n));return this.toReferencedList(_.expressions),this.finishNode(_,"SequenceExpression")}return m}parseMaybeAssignDisallowIn(n,a){return this.disallowInAnd(()=>this.parseMaybeAssign(n,a))}parseMaybeAssignAllowIn(n,a){return this.allowInAnd(()=>this.parseMaybeAssign(n,a))}setOptionalParametersError(n){n.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(n,a){let m=this.state.startLoc,_=this.isContextual(108);if(_&&this.prodParam.hasYield){this.next();let be=this.parseYield(m);return a&&(be=a.call(this,be,m)),be}let k;n?k=!1:(n=new yt,k=!0);let{type:J}=this.state;(J===10||G(J))&&(this.state.potentialArrowAt=this.state.start);let ne=this.parseMaybeConditional(n);if(a&&(ne=a.call(this,ne,m)),(he=this.state.type)>=29&&he<=33){let be=this.startNodeAt(m),Ue=this.state.value;if(be.operator=Ue,this.match(29)){this.toAssignable(ne,!0),be.left=ne;let nt=m.index;n.doubleProtoLoc!=null&&n.doubleProtoLoc.index>=nt&&(n.doubleProtoLoc=null),n.shorthandAssignLoc!=null&&n.shorthandAssignLoc.index>=nt&&(n.shorthandAssignLoc=null),n.privateKeyLoc!=null&&n.privateKeyLoc.index>=nt&&(this.checkDestructuringPrivate(n),n.privateKeyLoc=null),n.voidPatternLoc!=null&&n.voidPatternLoc.index>=nt&&(n.voidPatternLoc=null)}else be.left=ne;return this.next(),be.right=this.parseMaybeAssign(),this.checkLVal(ne,this.finishNode(be,"AssignmentExpression")),be}var he;if(k&&this.checkExpressionErrors(n,!0),_){let{type:be}=this.state;if((this.hasPlugin("v8intrinsic")?de(be):de(be)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(S.YieldNotInGeneratorFunction,m),this.parseYield(m)}return ne}parseMaybeConditional(n){let a=this.state.startLoc,m=this.state.potentialArrowAt,_=this.parseExprOps(n);return this.shouldExitDescending(_,m)?_:this.parseConditional(_,a,n)}parseConditional(n,a,m){if(this.eat(17)){let _=this.startNodeAt(a);return _.test=n,_.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),_.alternate=this.parseMaybeAssign(),this.finishNode(_,"ConditionalExpression")}return n}parseMaybeUnaryOrPrivate(n){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(n)}parseExprOps(n){let a=this.state.startLoc,m=this.state.potentialArrowAt,_=this.parseMaybeUnaryOrPrivate(n);return this.shouldExitDescending(_,m)?_:this.parseExprOp(_,a,-1)}parseExprOp(n,a,m){if(this.isPrivateName(n)){let J=this.getPrivateNameSV(n);(m>=ce(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(S.PrivateInExpectedIn,n,{identifierName:J}),this.classScope.usePrivateName(J,n.loc.start)}let _=this.state.type;if((k=_)>=39&&k<=59&&(this.prodParam.hasIn||!this.match(58))){let J=ce(_);if(J>m){if(_===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return n;this.checkPipelineAtInfixOperator(n,a)}let ne=this.startNodeAt(a);ne.left=n,ne.operator=this.state.value;let he=_===41||_===42,be=_===40;if(be&&(J=ce(42)),this.next(),_===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(S.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);ne.right=this.parseExprOpRightExpr(_,J);let Ue=this.finishNode(ne,he||be?"LogicalExpression":"BinaryExpression"),nt=this.state.type;if(be&&(nt===41||nt===42)||he&&nt===40)throw this.raise(S.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(Ue,a,m)}}var k;return n}parseExprOpRightExpr(n,a){let m=this.state.startLoc;if(n===39){switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(a))}if(this.getPluginOption("pipelineOperator","proposal")==="smart")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(S.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(n,a),m)})}return this.parseExprOpBaseRightExpr(n,a)}parseExprOpBaseRightExpr(n,a){let m=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),m,n===57?a-1:a)}parseHackPipeBody(){var n;let{startLoc:a}=this.state,m=this.parseMaybeAssign();return!p.has(m.type)||(n=m.extra)!=null&&n.parenthesized||this.raise(S.PipeUnparenthesizedBody,a,{type:m.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(S.PipeTopicUnused,a),m}checkExponentialAfterUnary(n){this.match(57)&&this.raise(S.UnexpectedTokenUnaryExponentiation,n.argument)}parseMaybeUnary(n,a){let m=this.state.startLoc,_=this.isContextual(96);if(_&&this.recordAwaitIfAllowed()){this.next();let be=this.parseAwait(m);return a||this.checkExponentialAfterUnary(be),be}let k=this.match(34),J=this.startNode();if(ne=this.state.type,le[ne]){J.operator=this.state.value,J.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let be=this.match(89);if(this.next(),J.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(n,!0),this.state.strict&&be){let Ue=J.argument;Ue.type==="Identifier"?this.raise(S.StrictDelete,J):this.hasPropertyAsPrivateName(Ue)&&this.raise(S.DeletePrivateField,J)}if(!k)return a||this.checkExponentialAfterUnary(J),this.finishNode(J,"UnaryExpression")}var ne;let he=this.parseUpdate(J,k,n);if(_){let{type:be}=this.state;if((this.hasPlugin("v8intrinsic")?de(be):de(be)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(S.AwaitNotInAsyncContext,m),this.parseAwait(m)}return he}parseUpdate(n,a,m){if(a){let J=n;return this.checkLVal(J.argument,this.finishNode(J,"UpdateExpression")),n}let _=this.state.startLoc,k=this.parseExprSubscripts(m);if(this.checkExpressionErrors(m,!1))return k;for(;we(this.state.type)&&!this.canInsertSemicolon();){let J=this.startNodeAt(_);J.operator=this.state.value,J.prefix=!1,J.argument=k,this.next(),this.checkLVal(k,k=this.finishNode(J,"UpdateExpression"))}return k}parseExprSubscripts(n){let a=this.state.startLoc,m=this.state.potentialArrowAt,_=this.parseExprAtom(n);return this.shouldExitDescending(_,m)?_:this.parseSubscripts(_,a)}parseSubscripts(n,a,m){let _={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(n),stop:!1};do n=this.parseSubscript(n,a,m,_),_.maybeAsyncArrow=!1;while(!_.stop);return n}parseSubscript(n,a,m,_){let{type:k}=this.state;if(!m&&k===15)return this.parseBind(n,a,m,_);if(H(k))return this.parseTaggedTemplateExpression(n,a,_);let J=!1;if(k===18){if(m&&(this.raise(S.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return this.stopParseSubscript(n,_);_.optionalChainMember=J=!0,this.next()}if(!m&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(n,a,_,J);{let ne=this.eat(0);return ne||J||this.eat(16)?this.parseMember(n,a,_,ne,J):this.stopParseSubscript(n,_)}}stopParseSubscript(n,a){return a.stop=!0,n}parseMember(n,a,m,_,k){let J=this.startNodeAt(a);return J.object=n,J.computed=_,_?(J.property=this.parseExpression(),this.expect(3)):this.match(139)?(n.type==="Super"&&this.raise(S.SuperPrivateField,a),this.classScope.usePrivateName(this.state.value,this.state.startLoc),J.property=this.parsePrivateName()):J.property=this.parseIdentifier(!0),m.optionalChainMember?(J.optional=k,this.finishNode(J,"OptionalMemberExpression")):this.finishNode(J,"MemberExpression")}parseBind(n,a,m,_){let k=this.startNodeAt(a);return k.object=n,this.next(),k.callee=this.parseNoCallExpr(),_.stop=!0,this.parseSubscripts(this.finishNode(k,"BindExpression"),a,m)}parseCoverCallAndAsyncArrowHead(n,a,m,_){let k=this.state.maybeInArrowParameters,J=null;this.state.maybeInArrowParameters=!0,this.next();let ne=this.startNodeAt(a);ne.callee=n;let{maybeAsyncArrow:he,optionalChainMember:be}=m;he&&(this.expressionScope.enter(new On(2)),J=new yt),be&&(ne.optional=_),ne.arguments=_?this.parseCallExpressionArguments():this.parseCallExpressionArguments(n.type!=="Super",ne,J);let Ue=this.finishCallExpression(ne,be);return he&&this.shouldParseAsyncArrow()&&!_?(m.stop=!0,this.checkDestructuringPrivate(J),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),Ue=this.parseAsyncArrowFromCallExpression(this.startNodeAt(a),Ue)):(he&&(this.checkExpressionErrors(J,!0),this.expressionScope.exit()),this.toReferencedArguments(Ue)),this.state.maybeInArrowParameters=k,Ue}toReferencedArguments(n,a){this.toReferencedListDeep(n.arguments,a)}parseTaggedTemplateExpression(n,a,m){let _=this.startNodeAt(a);return _.tag=n,_.quasi=this.parseTemplate(!0),m.optionalChainMember&&this.raise(S.OptionalChainingNoTemplate,a),this.finishNode(_,"TaggedTemplateExpression")}atPossibleAsyncArrow(n){return n.type==="Identifier"&&n.name==="async"&&this.state.lastTokEndLoc.index===n.end&&!this.canInsertSemicolon()&&n.end-n.start===5&&this.offsetToSourcePos(n.start)===this.state.potentialArrowAt}finishCallExpression(n,a){if(n.callee.type==="Import")if(n.arguments.length===0||n.arguments.length>2)this.raise(S.ImportCallArity,n);else for(let m of n.arguments)m.type==="SpreadElement"&&this.raise(S.ImportCallSpreadArgument,m);return this.finishNode(n,a?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(n,a,m){let _=[],k=!0,J=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(11);){if(k)k=!1;else if(this.expect(12),this.match(11)){a&&this.addTrailingCommaExtraToNode(a),this.next();break}_.push(this.parseExprListItem(11,!1,m,n))}return this.state.inFSharpPipelineDirectBody=J,_}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(n,a){var m;return this.resetPreviousNodeTrailingComments(a),this.expect(19),this.parseArrowExpression(n,a.arguments,!0,(m=a.extra)==null?void 0:m.trailingCommaLoc),a.innerComments&&sn(n,a.innerComments),a.callee.trailingComments&&sn(n,a.callee.trailingComments),n}parseNoCallExpr(){let n=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),n,!0)}parseExprAtom(n){let a,m=null,{type:_}=this.state;switch(_){case 79:return this.parseSuper();case 83:return a=this.startNode(),this.next(),this.match(16)?this.parseImportMetaPropertyOrPhaseCall(a):this.match(10)?512&this.optionFlags?this.parseImportCall(a):this.finishNode(a,"Import"):(this.raise(S.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(a,"Import"));case 78:return a=this.startNode(),this.next(),this.finishNode(a,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let k=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(k)}case 0:return this.parseArrayLike(3,!0,!1,n);case 5:return this.parseObjectLike(8,!1,!1,n);case 68:return this.parseFunctionOrFunctionSent();case 26:m=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(m,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{a=this.startNode(),this.next(),a.object=null;let k=a.callee=this.parseNoCallExpr();if(k.type==="MemberExpression")return this.finishNode(a,"BindExpression");throw this.raise(S.UnsupportedBind,k)}case 139:return this.raise(S.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let k=this.getPluginOption("pipelineOperator","proposal");if(k)return this.parseTopicReference(k);this.unexpected();break}case 47:{let k=this.input.codePointAt(this.nextTokenStart());ke(k)||k===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(_===137)return this.parseDecimalLiteral(this.state.value);if(_===2||_===1)return this.parseArrayLike(this.state.type===2?4:3,!1,!0);if(_===6||_===7)return this.parseObjectLike(this.state.type===6?9:8,!1,!0);if(G(_)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let k=this.state.potentialArrowAt===this.state.start,J=this.state.containsEsc,ne=this.parseIdentifier();if(!J&&ne.name==="async"&&!this.canInsertSemicolon()){let{type:he}=this.state;if(he===68)return this.resetPreviousNodeTrailingComments(ne),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(ne));if(G(he))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(ne)):ne;if(he===90)return this.resetPreviousNodeTrailingComments(ne),this.parseDo(this.startNodeAtNode(ne),!0)}return k&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(ne),[ne],!1)):ne}this.unexpected()}}parseTopicReferenceThenEqualsSign(n,a){let m=this.getPluginOption("pipelineOperator","proposal");if(m)return this.state.type=n,this.state.value=a,this.state.pos--,this.state.end--,this.state.endLoc=d(this.state.endLoc,-1),this.parseTopicReference(m);this.unexpected()}parseTopicReference(n){let a=this.startNode(),m=this.state.startLoc,_=this.state.type;return this.next(),this.finishTopicReference(a,m,n,_)}finishTopicReference(n,a,m,_){if(this.testTopicReferenceConfiguration(m,a,_))return m==="hack"?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(S.PipeTopicUnbound,a),this.registerTopicReference(),this.finishNode(n,"TopicReference")):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(S.PrimaryTopicNotAllowed,a),this.registerTopicReference(),this.finishNode(n,"PipelinePrimaryTopicReference"));throw this.raise(S.PipeTopicUnconfiguredToken,a,{token:ve(_)})}testTopicReferenceConfiguration(n,a,m){switch(n){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:ve(m)}]);case"smart":return m===27;default:throw this.raise(S.PipeTopicRequiresHackPipes,a)}}parseAsyncArrowUnaryFunction(n){this.prodParam.enter(Jt(!0,this.prodParam.hasYield));let a=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(S.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(n,a,!0)}parseDo(n,a){this.expectPlugin("doExpressions"),a&&this.expectPlugin("asyncDoExpressions"),n.async=a,this.next();let m=this.state.labels;return this.state.labels=[],a?(this.prodParam.enter(2),n.body=this.parseBlock(),this.prodParam.exit()):n.body=this.parseBlock(),this.state.labels=m,this.finishNode(n,"DoExpression")}parseSuper(){let n=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||16&this.optionFlags?this.scope.allowSuper||16&this.optionFlags||this.raise(S.UnexpectedSuper,n):this.raise(S.SuperNotAllowed,n),this.match(10)||this.match(0)||this.match(16)||this.raise(S.UnsupportedSuper,n),this.finishNode(n,"Super")}parsePrivateName(){let n=this.startNode(),a=this.startNodeAt(d(this.state.startLoc,1)),m=this.state.value;return this.next(),n.id=this.createIdentifier(a,m),this.finishNode(n,"PrivateName")}parseFunctionOrFunctionSent(){let n=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let a=this.createIdentifier(this.startNodeAtNode(n),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(n,a,"sent")}return this.parseFunction(n)}parseMetaProperty(n,a,m){n.meta=a;let _=this.state.containsEsc;return n.property=this.parseIdentifier(!0),(n.property.name!==m||_)&&this.raise(S.UnsupportedMetaProperty,n.property,{target:a.name,onlyValidPropertyName:m}),this.finishNode(n,"MetaProperty")}parseImportMetaPropertyOrPhaseCall(n){if(this.next(),this.isContextual(105)||this.isContextual(97)){let a=this.isContextual(105);return this.expectPlugin(a?"sourcePhaseImports":"deferredImportEvaluation"),this.next(),n.phase=a?"source":"defer",this.parseImportCall(n)}{let a=this.createIdentifierAt(this.startNodeAtNode(n),"import",this.state.lastTokStartLoc);return this.isContextual(101)&&(this.inModule||this.raise(S.ImportMetaOutsideModule,a),this.sawUnambiguousESM=!0),this.parseMetaProperty(n,a,"meta")}}parseLiteralAtNode(n,a,m){return this.addExtra(m,"rawValue",n),this.addExtra(m,"raw",this.input.slice(this.offsetToSourcePos(m.start),this.state.end)),m.value=n,this.next(),this.finishNode(m,a)}parseLiteral(n,a){let m=this.startNode();return this.parseLiteralAtNode(n,a,m)}parseStringLiteral(n){return this.parseLiteral(n,"StringLiteral")}parseNumericLiteral(n){return this.parseLiteral(n,"NumericLiteral")}parseBigIntLiteral(n){return this.parseLiteral(n,"BigIntLiteral")}parseDecimalLiteral(n){return this.parseLiteral(n,"DecimalLiteral")}parseRegExpLiteral(n){let a=this.startNode();return this.addExtra(a,"raw",this.input.slice(this.offsetToSourcePos(a.start),this.state.end)),a.pattern=n.pattern,a.flags=n.flags,this.next(),this.finishNode(a,"RegExpLiteral")}parseBooleanLiteral(n){let a=this.startNode();return a.value=n,this.next(),this.finishNode(a,"BooleanLiteral")}parseNullLiteral(){let n=this.startNode();return this.next(),this.finishNode(n,"NullLiteral")}parseParenAndDistinguishExpression(n){let a=this.state.startLoc,m;this.next(),this.expressionScope.enter(new On(1));let _=this.state.maybeInArrowParameters,k=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let J=this.state.startLoc,ne=[],he=new yt,be,Ue,nt=!0;for(;!this.match(11);){if(nt)nt=!1;else if(this.expect(12,he.optionalParametersLoc===null?null:he.optionalParametersLoc),this.match(11)){Ue=this.state.startLoc;break}if(this.match(21)){let Ct=this.state.startLoc;if(be=this.state.startLoc,ne.push(this.parseParenItem(this.parseRestBinding(),Ct)),!this.checkCommaAfterRest(41))break}else ne.push(this.parseMaybeAssignAllowInOrVoidPattern(11,he,this.parseParenItem))}let Pt=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=_,this.state.inFSharpPipelineDirectBody=k;let ht=this.startNodeAt(a);return n&&this.shouldParseArrow(ne)&&(ht=this.parseArrow(ht))?(this.checkDestructuringPrivate(he),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(ht,ne,!1),ht):(this.expressionScope.exit(),ne.length||this.unexpected(this.state.lastTokStartLoc),Ue&&this.unexpected(Ue),be&&this.unexpected(be),this.checkExpressionErrors(he,!0),this.toReferencedListDeep(ne,!0),ne.length>1?(m=this.startNodeAt(J),m.expressions=ne,this.finishNode(m,"SequenceExpression"),this.resetEndLocation(m,Pt)):m=ne[0],this.wrapParenthesis(a,m))}wrapParenthesis(n,a){if(!(1024&this.optionFlags))return this.addExtra(a,"parenthesized",!0),this.addExtra(a,"parenStart",n.index),this.takeSurroundingComments(a,n.index,this.state.lastTokEndLoc.index),a;let m=this.startNodeAt(n);return m.expression=a,this.finishNode(m,"ParenthesizedExpression")}shouldParseArrow(n){return!this.canInsertSemicolon()}parseArrow(n){if(this.eat(19))return n}parseParenItem(n,a){return n}parseNewOrNewTarget(){let n=this.startNode();if(this.next(),this.match(16)){let a=this.createIdentifier(this.startNodeAtNode(n),"new");this.next();let m=this.parseMetaProperty(n,a,"target");return this.scope.allowNewTarget||this.raise(S.UnexpectedNewTarget,m),m}return this.parseNew(n)}parseNew(n){if(this.parseNewCallee(n),this.eat(10)){let a=this.parseExprList(11);this.toReferencedList(a),n.arguments=a}else n.arguments=[];return this.finishNode(n,"NewExpression")}parseNewCallee(n){let a=this.match(83),m=this.parseNoCallExpr();n.callee=m,!a||m.type!=="Import"&&m.type!=="ImportExpression"||this.raise(S.ImportCallNotNewExpression,m)}parseTemplateElement(n){let{start:a,startLoc:m,end:_,value:k}=this.state,J=a+1,ne=this.startNodeAt(d(m,1));k===null&&(n||this.raise(S.InvalidEscapeSequenceTemplate,d(this.state.firstInvalidTemplateEscapePos,1)));let he=this.match(24),be=he?-1:-2,Ue=_+be;ne.value={raw:this.input.slice(J,Ue).replace(/\r\n?/g,`
|
|
351
|
-
`),cooked:k===null?null:k.slice(1,be)},ne.tail=he,this.next();let nt=this.finishNode(ne,"TemplateElement");return this.resetEndLocation(nt,d(this.state.lastTokEndLoc,be)),nt}parseTemplate(n){let a=this.startNode(),m=this.parseTemplateElement(n),_=[m],k=[];for(;!m.tail;)k.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),_.push(m=this.parseTemplateElement(n));return a.expressions=k,a.quasis=_,this.finishNode(a,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(n,a,m,_){m&&this.expectPlugin("recordAndTuple");let k=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let J=!1,ne=!0,he=this.startNode();for(he.properties=[],this.next();!this.match(n);){if(ne)ne=!1;else if(this.expect(12),this.match(n)){this.addTrailingCommaExtraToNode(he);break}let Ue;a?Ue=this.parseBindingProperty():(Ue=this.parsePropertyDefinition(_),J=this.checkProto(Ue,m,J,_)),m&&!this.isObjectProperty(Ue)&&Ue.type!=="SpreadElement"&&this.raise(S.InvalidRecordProperty,Ue),Ue.shorthand&&this.addExtra(Ue,"shorthand",!0),he.properties.push(Ue)}this.next(),this.state.inFSharpPipelineDirectBody=k;let be="ObjectExpression";return a?be="ObjectPattern":m&&(be="RecordExpression"),this.finishNode(he,be)}addTrailingCommaExtraToNode(n){this.addExtra(n,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(n,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(n){return!n.computed&&n.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(n){let a=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(S.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)a.push(this.parseDecorator());let m=this.startNode(),_,k=!1,J=!1;if(this.match(21))return a.length&&this.unexpected(),this.parseSpread();a.length&&(m.decorators=a,a=[]),m.method=!1,n&&(_=this.state.startLoc);let ne=this.eat(55);this.parsePropertyNamePrefixOperator(m);let he=this.state.containsEsc;if(this.parsePropertyName(m,n),!ne&&!he&&this.maybeAsyncOrAccessorProp(m)){let{key:be}=m,Ue=be.name;Ue!=="async"||this.hasPrecedingLineBreak()||(k=!0,this.resetPreviousNodeTrailingComments(be),ne=this.eat(55),this.parsePropertyName(m)),Ue!=="get"&&Ue!=="set"||(J=!0,this.resetPreviousNodeTrailingComments(be),m.kind=Ue,this.match(55)&&(ne=!0,this.raise(S.AccessorIsGenerator,this.state.curPosition(),{kind:Ue}),this.next()),this.parsePropertyName(m))}return this.parseObjPropValue(m,_,ne,k,!1,J,n)}getGetterSetterExpectedParamCount(n){return n.kind==="get"?0:1}getObjectOrClassMethodParams(n){return n.params}checkGetterSetterParams(n){var a;let m=this.getGetterSetterExpectedParamCount(n),_=this.getObjectOrClassMethodParams(n);_.length!==m&&this.raise(n.kind==="get"?S.BadGetterArity:S.BadSetterArity,n),n.kind==="set"&&((a=_[_.length-1])==null?void 0:a.type)==="RestElement"&&this.raise(S.BadSetterRestParameter,n)}parseObjectMethod(n,a,m,_,k){if(k){let J=this.parseMethod(n,a,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(J),J}if(m||a||this.match(10))return _&&this.unexpected(),n.kind="method",n.method=!0,this.parseMethod(n,a,m,!1,!1,"ObjectMethod")}parseObjectProperty(n,a,m,_){if(n.shorthand=!1,this.eat(14))return n.value=m?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowInOrVoidPattern(8,_),this.finishObjectProperty(n);if(!n.computed&&n.key.type==="Identifier"){if(this.checkReservedWord(n.key.name,n.key.loc.start,!0,!1),m)n.value=this.parseMaybeDefault(a,this.cloneIdentifier(n.key));else if(this.match(29)){let k=this.state.startLoc;_!=null?_.shorthandAssignLoc===null&&(_.shorthandAssignLoc=k):this.raise(S.InvalidCoverInitializedName,k),n.value=this.parseMaybeDefault(a,this.cloneIdentifier(n.key))}else n.value=this.cloneIdentifier(n.key);return n.shorthand=!0,this.finishObjectProperty(n)}}finishObjectProperty(n){return this.finishNode(n,"ObjectProperty")}parseObjPropValue(n,a,m,_,k,J,ne){let he=this.parseObjectMethod(n,m,_,k,J)||this.parseObjectProperty(n,a,k,ne);return he||this.unexpected(),he}parsePropertyName(n,a){if(this.eat(0))n.computed=!0,n.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:m,value:_}=this.state,k;if(U(m))k=this.parseIdentifier(!0);else switch(m){case 135:k=this.parseNumericLiteral(_);break;case 134:k=this.parseStringLiteral(_);break;case 136:k=this.parseBigIntLiteral(_);break;case 139:{let J=this.state.startLoc;a!=null?a.privateKeyLoc===null&&(a.privateKeyLoc=J):this.raise(S.UnexpectedPrivateField,J),k=this.parsePrivateName();break}default:if(m===137){k=this.parseDecimalLiteral(_);break}this.unexpected()}n.key=k,m!==139&&(n.computed=!1)}}initFunction(n,a){n.id=null,n.generator=!1,n.async=a}parseMethod(n,a,m,_,k,J,ne=!1){this.initFunction(n,m),n.generator=a,this.scope.enter(530|(ne?576:0)|(k?32:0)),this.prodParam.enter(Jt(m,n.generator)),this.parseFunctionParams(n,_);let he=this.parseFunctionBodyAndFinish(n,J,!0);return this.prodParam.exit(),this.scope.exit(),he}parseArrayLike(n,a,m,_){m&&this.expectPlugin("recordAndTuple");let k=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let J=this.startNode();return this.next(),J.elements=this.parseExprList(n,!m,_,J),this.state.inFSharpPipelineDirectBody=k,this.finishNode(J,m?"TupleExpression":"ArrayExpression")}parseArrowExpression(n,a,m,_){this.scope.enter(518);let k=Jt(m,!1);!this.match(5)&&this.prodParam.hasIn&&(k|=8),this.prodParam.enter(k),this.initFunction(n,m);let J=this.state.maybeInArrowParameters;return a&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(n,a,_)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(n,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=J,this.finishNode(n,"ArrowFunctionExpression")}setArrowFunctionParameters(n,a,m){this.toAssignableList(a,m,!1),n.params=a}parseFunctionBodyAndFinish(n,a,m=!1){return this.parseFunctionBody(n,!1,m),this.finishNode(n,a)}parseFunctionBody(n,a,m=!1){let _=a&&!this.match(5);if(this.expressionScope.enter(kn()),_)n.body=this.parseMaybeAssign(),this.checkParams(n,!1,a,!1);else{let k=this.state.strict,J=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),n.body=this.parseBlock(!0,!1,ne=>{let he=!this.isSimpleParamList(n.params);ne&&he&&this.raise(S.IllegalLanguageModeDirective,n.kind!=="method"&&n.kind!=="constructor"||!n.key?n:n.key.loc.end);let be=!k&&this.state.strict;this.checkParams(n,!(this.state.strict||a||m||he),a,be),this.state.strict&&n.id&&this.checkIdentifier(n.id,65,be)}),this.prodParam.exit(),this.state.labels=J}this.expressionScope.exit()}isSimpleParameter(n){return n.type==="Identifier"}isSimpleParamList(n){for(let a=0,m=n.length;a<m;a++)if(!this.isSimpleParameter(n[a]))return!1;return!0}checkParams(n,a,m,_=!0){let k=!a&&new Set,J={type:"FormalParameters"};for(let ne of n.params)this.checkLVal(ne,J,5,k,_)}parseExprList(n,a,m,_){let k=[],J=!0;for(;!this.eat(n);){if(J)J=!1;else if(this.expect(12),this.match(n)){_&&this.addTrailingCommaExtraToNode(_),this.next();break}k.push(this.parseExprListItem(n,a,m))}return k}parseExprListItem(n,a,m,_){let k;if(this.match(12))a||this.raise(S.UnexpectedToken,this.state.curPosition(),{unexpected:","}),k=null;else if(this.match(21)){let J=this.state.startLoc;k=this.parseParenItem(this.parseSpread(m),J)}else if(this.match(17)){this.expectPlugin("partialApplication"),_||this.raise(S.UnexpectedArgumentPlaceholder,this.state.startLoc);let J=this.startNode();this.next(),k=this.finishNode(J,"ArgumentPlaceholder")}else k=this.parseMaybeAssignAllowInOrVoidPattern(n,m,this.parseParenItem);return k}parseIdentifier(n){let a=this.startNode(),m=this.parseIdentifierName(n);return this.createIdentifier(a,m)}createIdentifier(n,a){return n.name=a,n.loc.identifierName=a,this.finishNode(n,"Identifier")}createIdentifierAt(n,a,m){return n.name=a,n.loc.identifierName=a,this.finishNodeAt(n,"Identifier",m)}parseIdentifierName(n){let a,{startLoc:m,type:_}=this.state;U(_)?a=this.state.value:this.unexpected();let k=_<=92;return n?k&&this.replaceToken(132):this.checkReservedWord(a,m,k,!1),this.next(),a}checkReservedWord(n,a,m,_){if(!(n.length>10)&&(function(k){return ae.has(k)})(n)){if(m&&(function(k){return at.has(k)})(n))return void this.raise(S.UnexpectedKeyword,a,{keyword:n});if((this.state.strict?_?Ne:rt:qe)(n,this.inModule))this.raise(S.UnexpectedReservedWord,a,{reservedWord:n});else if(n==="yield"){if(this.prodParam.hasYield)return void this.raise(S.YieldBindingIdentifier,a)}else if(n==="await"){if(this.prodParam.hasAwait)return void this.raise(S.AwaitBindingIdentifier,a);if(this.scope.inStaticBlock)return void this.raise(S.AwaitBindingIdentifierInStaticBlock,a);this.expressionScope.recordAsyncArrowParametersError(a)}else if(n==="arguments"&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(S.ArgumentsInClass,a)}}recordAwaitIfAllowed(){let n=this.prodParam.hasAwait;return n&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),n}parseAwait(n){let a=this.startNodeAt(n);return this.expressionScope.recordParameterInitializerError(S.AwaitExpressionFormalParameter,a),this.eat(55)&&this.raise(S.ObsoleteAwaitStar,a),this.scope.inFunction||1&this.optionFlags||(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(a.argument=this.parseMaybeUnary(null,!0)),this.finishNode(a,"AwaitExpression")}isAmbiguousPrefixOrIdentifier(){if(this.hasPrecedingLineBreak())return!0;let{type:n}=this.state;return n===53||n===10||n===0||H(n)||n===102&&!this.state.containsEsc||n===138||n===56||this.hasPlugin("v8intrinsic")&&n===54}parseYield(n){let a=this.startNodeAt(n);this.expressionScope.recordParameterInitializerError(S.YieldInParameter,a);let m=!1,_=null;if(!this.hasPrecedingLineBreak())switch(m=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!m)break;default:_=this.parseMaybeAssign()}return a.delegate=m,a.argument=_,this.finishNode(a,"YieldExpression")}parseImportCall(n){if(this.next(),n.source=this.parseMaybeAssignAllowIn(),n.options=null,this.eat(12)){if(this.match(11))this.addTrailingCommaExtraToNode(n.source);else if(n.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&(this.addTrailingCommaExtraToNode(n.options),!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(S.ImportCallArity,n)}}return this.expect(11),this.finishNode(n,"ImportExpression")}checkPipelineAtInfixOperator(n,a){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&n.type==="SequenceExpression"&&this.raise(S.PipelineHeadSequenceExpression,a)}parseSmartPipelineBodyInStyle(n,a){if(this.isSimpleReference(n)){let m=this.startNodeAt(a);return m.callee=n,this.finishNode(m,"PipelineBareFunction")}{let m=this.startNodeAt(a);return this.checkSmartPipeTopicBodyEarlyErrors(a),m.expression=n,this.finishNode(m,"PipelineTopicExpression")}}isSimpleReference(n){switch(n.type){case"MemberExpression":return!n.computed&&this.isSimpleReference(n.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(n){if(this.match(19))throw this.raise(S.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(S.PipelineTopicUnused,n)}withTopicBindingContext(n){let a=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return n()}finally{this.state.topicContext=a}}withSmartMixTopicForbiddingContext(n){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return n();{let a=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return n()}finally{this.state.topicContext=a}}}withSoloAwaitPermittingContext(n){let a=this.state.soloAwait;this.state.soloAwait=!0;try{return n()}finally{this.state.soloAwait=a}}allowInAnd(n){let a=this.prodParam.currentFlags();if(8&~a){this.prodParam.enter(8|a);try{return n()}finally{this.prodParam.exit()}}return n()}disallowInAnd(n){let a=this.prodParam.currentFlags();if(8&a){this.prodParam.enter(-9&a);try{return n()}finally{this.prodParam.exit()}}return n()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(n){let a=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let m=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let _=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),a,n);return this.state.inFSharpPipelineDirectBody=m,_}parseModuleExpression(){this.expectPlugin("moduleBlocks");let n=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let a=this.startNodeAt(this.state.endLoc);this.next();let m=this.initializeScopes(!0);this.enterInitialScopes();try{n.body=this.parseProgram(a,8,"module")}finally{m()}return this.finishNode(n,"ModuleExpression")}parseVoidPattern(n){this.expectPlugin("discardBinding");let a=this.startNode();return n!=null&&(n.voidPatternLoc=this.state.startLoc),this.next(),this.finishNode(a,"VoidPattern")}parseMaybeAssignAllowInOrVoidPattern(n,a,m){if(a!=null&&this.match(88)){let _=this.lookaheadCharCode();if(_===44||_===(n===3?93:n===8?125:41)||_===61)return this.parseMaybeDefault(this.state.startLoc,this.parseVoidPattern(a))}return this.parseMaybeAssignAllowIn(a,m)}parsePropertyNamePrefixOperator(n){}}let jn={kind:1},qn={kind:2},En=/[\uD800-\uDFFF]/u,Mn=/in(?:stanceof)?/y;class mi extends Kn{parseTopLevel(n,a){return n.program=this.parseProgram(a,140,this.options.sourceType==="module"?"module":"script"),n.comments=this.comments,256&this.optionFlags&&(n.tokens=(function(m,_,k){for(let J=0;J<m.length;J++){let ne=m[J],{type:he}=ne;if(typeof he=="number"){if(he===139){let{loc:be,start:Ue,value:nt,end:Pt}=ne,ht=Ue+1,Ct=d(be.start,1);m.splice(J,1,new fn({type:me(27),value:"#",start:Ue,end:ht,startLoc:be.start,endLoc:Ct}),new fn({type:me(132),value:nt,start:ht,end:Pt,startLoc:Ct,endLoc:be.end})),J++;continue}if(H(he)){let{loc:be,start:Ue,value:nt,end:Pt}=ne,ht=Ue+1,Ct=d(be.start,1),Gt,ln,Ut,zt,Hn;Gt=_.charCodeAt(Ue-k)===96?new fn({type:me(22),value:"`",start:Ue,end:ht,startLoc:be.start,endLoc:Ct}):new fn({type:me(8),value:"}",start:Ue,end:ht,startLoc:be.start,endLoc:Ct}),he===24?(Ut=Pt-1,zt=d(be.end,-1),ln=nt===null?null:nt.slice(1,-1),Hn=new fn({type:me(22),value:"`",start:Ut,end:Pt,startLoc:zt,endLoc:be.end})):(Ut=Pt-2,zt=d(be.end,-2),ln=nt===null?null:nt.slice(1,-2),Hn=new fn({type:me(23),value:"${",start:Ut,end:Pt,startLoc:zt,endLoc:be.end})),m.splice(J,1,Gt,new fn({type:me(20),value:ln,start:ht,end:Ut,startLoc:Ct,endLoc:zt}),Hn),J+=2;continue}ne.type=me(he)}}return m})(this.tokens,this.input,this.startIndex)),this.finishNode(n,"File")}parseProgram(n,a,m){if(n.sourceType=m,n.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(n,!0,!0,a),this.inModule){if(!(64&this.optionFlags)&&this.scope.undefinedExports.size>0)for(let[k,J]of Array.from(this.scope.undefinedExports))this.raise(S.ModuleExportUndefined,J,{localName:k});this.addExtra(n,"topLevelAwait",this.state.hasTopLevelAwait)}let _;return _=a===140?this.finishNode(n,"Program"):this.finishNodeAt(n,"Program",d(this.state.startLoc,-1)),_}stmtToDirective(n){let a=this.castNodeTo(n,"Directive"),m=this.castNodeTo(n.expression,"DirectiveLiteral"),_=m.value,k=this.input.slice(this.offsetToSourcePos(m.start),this.offsetToSourcePos(m.end)),J=m.value=k.slice(1,-1);return this.addExtra(m,"raw",k),this.addExtra(m,"rawValue",J),this.addExtra(m,"expressionValue",_),a.value=m,delete n.expression,a}parseInterpreterDirective(){if(!this.match(28))return null;let n=this.startNode();return n.value=this.state.value,this.next(),this.finishNode(n,"InterpreterDirective")}isLet(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}isUsing(){if(!this.isContextual(107))return!1;let n=this.nextTokenInLineStart(),a=this.codePointAtPos(n);return this.chStartsBindingIdentifier(a,n)}isForUsing(){if(!this.isContextual(107))return!1;let n=this.nextTokenInLineStart(),a=this.codePointAtPos(n);if(this.isUnparsedContextual(n,"of")){let m=this.lookaheadCharCodeSince(n+2);if(m!==61&&m!==58&&m!==59)return!1}return!(!this.chStartsBindingIdentifier(a,n)&&!this.isUnparsedContextual(n,"void"))}isAwaitUsing(){if(!this.isContextual(96))return!1;let n=this.nextTokenInLineStart();if(this.isUnparsedContextual(n,"using")){n=this.nextTokenInLineStartSince(n+5);let a=this.codePointAtPos(n);if(this.chStartsBindingIdentifier(a,n))return!0}return!1}chStartsBindingIdentifier(n,a){if(ke(n)){if(Mn.lastIndex=a,Mn.test(this.input)){let m=this.codePointAtPos(Mn.lastIndex);if(!Oe(m)&&m!==92)return!1}return!0}return n===92}chStartsBindingPattern(n){return n===91||n===123}hasFollowingBindingAtom(){let n=this.nextTokenStart(),a=this.codePointAtPos(n);return this.chStartsBindingPattern(a)||this.chStartsBindingIdentifier(a,n)}hasInLineFollowingBindingIdentifierOrBrace(){let n=this.nextTokenInLineStart(),a=this.codePointAtPos(n);return a===123||this.chStartsBindingIdentifier(a,n)}allowsUsing(){return(this.scope.inModule||!this.scope.inTopLevel)&&!this.scope.inBareCaseStatement}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(n=!1){let a=0;return this.options.annexB&&!this.state.strict&&(a|=4,n&&(a|=8)),this.parseStatementLike(a)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(n){let a=null;return this.match(26)&&(a=this.parseDecorators(!0)),this.parseStatementContent(n,a)}parseStatementContent(n,a){let m=this.state.type,_=this.startNode(),k=!!(2&n),J=!!(4&n),ne=1&n;switch(m){case 60:return this.parseBreakContinueStatement(_,!0);case 63:return this.parseBreakContinueStatement(_,!1);case 64:return this.parseDebuggerStatement(_);case 90:return this.parseDoWhileStatement(_);case 91:return this.parseForStatement(_);case 68:if(this.lookaheadCharCode()===46)break;return J||this.raise(this.state.strict?S.StrictFunction:this.options.annexB?S.SloppyFunctionAnnexB:S.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(_,!1,!k&&J);case 80:return k||this.unexpected(),this.parseClass(this.maybeTakeDecorators(a,_),!0);case 69:return this.parseIfStatement(_);case 70:return this.parseReturnStatement(_);case 71:return this.parseSwitchStatement(_);case 72:return this.parseThrowStatement(_);case 73:return this.parseTryStatement(_);case 96:if(this.isAwaitUsing())return this.allowsUsing()?k?this.recordAwaitIfAllowed()||this.raise(S.AwaitUsingNotInAsyncContext,_):this.raise(S.UnexpectedLexicalDeclaration,_):this.raise(S.UnexpectedUsingDeclaration,_),this.next(),this.parseVarStatement(_,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.allowsUsing()?k||this.raise(S.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(S.UnexpectedUsingDeclaration,this.state.startLoc),this.parseVarStatement(_,"using");case 100:{if(this.state.containsEsc)break;let Ue=this.nextTokenStart(),nt=this.codePointAtPos(Ue);if(nt!==91&&(!k&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(nt,Ue)&&nt!==123))break}case 75:k||this.raise(S.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let Ue=this.state.value;return this.parseVarStatement(_,Ue)}case 92:return this.parseWhileStatement(_);case 76:return this.parseWithStatement(_);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(_);case 83:{let Ue=this.lookaheadCharCode();if(Ue===40||Ue===46)break}case 82:{let Ue;return 8&this.optionFlags||ne||this.raise(S.UnexpectedImportExport,this.state.startLoc),this.next(),Ue=m===83?this.parseImport(_):this.parseExport(_,a),this.assertModuleNodeAllowed(Ue),Ue}default:if(this.isAsyncFunction())return k||this.raise(S.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(_,!0,!k&&J)}let he=this.state.value,be=this.parseExpression();return G(m)&&be.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(_,he,be,n):this.parseExpressionStatement(_,be,a)}assertModuleNodeAllowed(n){8&this.optionFlags||this.inModule||this.raise(S.ImportOutsideModule,n)}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(n,a,m){var _;return n&&((_=a.decorators)!=null&&_.length?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(S.DecoratorsBeforeAfterExport,a.decorators[0]),a.decorators.unshift(...n)):a.decorators=n,this.resetStartLocationFromNode(a,n[0]),m&&this.resetStartLocationFromNode(m,a)),a}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(n){let a=[];do a.push(this.parseDecorator());while(this.match(26));if(this.match(82))n||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(S.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(S.UnexpectedLeadingDecorator,this.state.startLoc);return a}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let n=this.startNode();if(this.next(),this.hasPlugin("decorators")){let a=this.state.startLoc,m;if(this.match(10)){let _=this.state.startLoc;this.next(),m=this.parseExpression(),this.expect(11),m=this.wrapParenthesis(_,m);let k=this.state.startLoc;n.expression=this.parseMaybeDecoratorArguments(m,_),this.getPluginOption("decorators","allowCallParenthesized")===!1&&n.expression!==m&&this.raise(S.DecoratorArgumentsOutsideParentheses,k)}else{for(m=this.parseIdentifier(!1);this.eat(16);){let _=this.startNodeAt(a);_.object=m,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),_.property=this.parsePrivateName()):_.property=this.parseIdentifier(!0),_.computed=!1,m=this.finishNode(_,"MemberExpression")}n.expression=this.parseMaybeDecoratorArguments(m,a)}}else n.expression=this.parseExprSubscripts();return this.finishNode(n,"Decorator")}parseMaybeDecoratorArguments(n,a){if(this.eat(10)){let m=this.startNodeAt(a);return m.callee=n,m.arguments=this.parseCallExpressionArguments(),this.toReferencedList(m.arguments),this.finishNode(m,"CallExpression")}return n}parseBreakContinueStatement(n,a){return this.next(),this.isLineTerminator()?n.label=null:(n.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(n,a),this.finishNode(n,a?"BreakStatement":"ContinueStatement")}verifyBreakContinue(n,a){let m;for(m=0;m<this.state.labels.length;++m){let _=this.state.labels[m];if((n.label==null||_.name===n.label.name)&&(_.kind!=null&&(a||_.kind===1)||n.label&&a))break}if(m===this.state.labels.length){let _=a?"BreakStatement":"ContinueStatement";this.raise(S.IllegalBreakContinue,n,{type:_})}}parseDebuggerStatement(n){return this.next(),this.semicolon(),this.finishNode(n,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let n=this.parseExpression();return this.expect(11),n}parseDoWhileStatement(n){return this.next(),this.state.labels.push(jn),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),n.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(n,"DoWhileStatement")}parseForStatement(n){this.next(),this.state.labels.push(jn);let a=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(a=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return a!==null&&this.unexpected(a),this.parseFor(n,null);let m=this.isContextual(100);{let he=this.isAwaitUsing(),be=he||this.isForUsing(),Ue=m&&this.hasFollowingBindingAtom()||be;if(this.match(74)||this.match(75)||Ue){let nt=this.startNode(),Pt;he?(Pt="await using",this.recordAwaitIfAllowed()||this.raise(S.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):Pt=this.state.value,this.next(),this.parseVar(nt,!0,Pt);let ht=this.finishNode(nt,"VariableDeclaration"),Ct=this.match(58);return Ct&&be&&this.raise(S.ForInUsing,ht),(Ct||this.isContextual(102))&&ht.declarations.length===1?this.parseForIn(n,ht,a):(a!==null&&this.unexpected(a),this.parseFor(n,ht))}}let _=this.isContextual(95),k=new yt,J=this.parseExpression(!0,k),ne=this.isContextual(102);if(ne&&(m&&this.raise(S.ForOfLet,J),a===null&&_&&J.type==="Identifier"&&this.raise(S.ForOfAsync,J)),ne||this.match(58)){this.checkDestructuringPrivate(k),this.toAssignable(J,!0);let he=ne?"ForOfStatement":"ForInStatement";return this.checkLVal(J,{type:he}),this.parseForIn(n,J,a)}return this.checkExpressionErrors(k,!0),a!==null&&this.unexpected(a),this.parseFor(n,J)}parseFunctionStatement(n,a,m){return this.next(),this.parseFunction(n,1|(m?2:0)|(a?8:0))}parseIfStatement(n){return this.next(),n.test=this.parseHeaderExpression(),n.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),n.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(n,"IfStatement")}parseReturnStatement(n){return this.prodParam.hasReturn||this.raise(S.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?n.argument=null:(n.argument=this.parseExpression(),this.semicolon()),this.finishNode(n,"ReturnStatement")}parseSwitchStatement(n){this.next(),n.discriminant=this.parseHeaderExpression();let a=n.cases=[],m;this.expect(5),this.state.labels.push(qn),this.scope.enter(256);for(let _;!this.match(8);)if(this.match(61)||this.match(65)){let k=this.match(61);m&&this.finishNode(m,"SwitchCase"),a.push(m=this.startNode()),m.consequent=[],this.next(),k?m.test=this.parseExpression():(_&&this.raise(S.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),_=!0,m.test=null),this.expect(14)}else m?m.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),m&&this.finishNode(m,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(n,"SwitchStatement")}parseThrowStatement(n){return this.next(),this.hasPrecedingLineBreak()&&this.raise(S.NewlineAfterThrow,this.state.lastTokEndLoc),n.argument=this.parseExpression(),this.semicolon(),this.finishNode(n,"ThrowStatement")}parseCatchClauseParam(){let n=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&n.type==="Identifier"?8:0),this.checkLVal(n,{type:"CatchClause"},9),n}parseTryStatement(n){if(this.next(),n.block=this.parseBlock(),n.handler=null,this.match(62)){let a=this.startNode();this.next(),this.match(10)?(this.expect(10),a.param=this.parseCatchClauseParam(),this.expect(11)):(a.param=null,this.scope.enter(0)),a.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),n.handler=this.finishNode(a,"CatchClause")}return n.finalizer=this.eat(67)?this.parseBlock():null,n.handler||n.finalizer||this.raise(S.NoCatchOrFinally,n),this.finishNode(n,"TryStatement")}parseVarStatement(n,a,m=!1){return this.next(),this.parseVar(n,!1,a,m),this.semicolon(),this.finishNode(n,"VariableDeclaration")}parseWhileStatement(n){return this.next(),n.test=this.parseHeaderExpression(),this.state.labels.push(jn),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(n,"WhileStatement")}parseWithStatement(n){return this.state.strict&&this.raise(S.StrictWith,this.state.startLoc),this.next(),n.object=this.parseHeaderExpression(),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(n,"WithStatement")}parseEmptyStatement(n){return this.next(),this.finishNode(n,"EmptyStatement")}parseLabeledStatement(n,a,m,_){for(let ne of this.state.labels)ne.name===a&&this.raise(S.LabelRedeclaration,m,{labelName:a});let k=(J=this.state.type)>=90&&J<=92?1:this.match(71)?2:null;var J;for(let ne=this.state.labels.length-1;ne>=0;ne--){let he=this.state.labels[ne];if(he.statementStart!==n.start)break;he.statementStart=this.sourceToOffsetPos(this.state.start),he.kind=k}return this.state.labels.push({name:a,kind:k,statementStart:this.sourceToOffsetPos(this.state.start)}),n.body=8&_?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),n.label=m,this.finishNode(n,"LabeledStatement")}parseExpressionStatement(n,a,m){return n.expression=a,this.semicolon(),this.finishNode(n,"ExpressionStatement")}parseBlock(n=!1,a=!0,m){let _=this.startNode();return n&&this.state.strictErrors.clear(),this.expect(5),a&&this.scope.enter(0),this.parseBlockBody(_,n,!1,8,m),a&&this.scope.exit(),this.finishNode(_,"BlockStatement")}isValidDirective(n){return n.type==="ExpressionStatement"&&n.expression.type==="StringLiteral"&&!n.expression.extra.parenthesized}parseBlockBody(n,a,m,_,k){let J=n.body=[],ne=n.directives=[];this.parseBlockOrModuleBlockBody(J,a?ne:void 0,m,_,k)}parseBlockOrModuleBlockBody(n,a,m,_,k){let J=this.state.strict,ne=!1,he=!1;for(;!this.match(_);){let be=m?this.parseModuleItem():this.parseStatementListItem();if(a&&!he){if(this.isValidDirective(be)){let Ue=this.stmtToDirective(be);a.push(Ue),ne||Ue.value.value!=="use strict"||(ne=!0,this.setStrict(!0));continue}he=!0,this.state.strictErrors.clear()}n.push(be)}k?.call(this,ne),J||this.setStrict(!1),this.next()}parseFor(n,a){return n.init=a,this.semicolon(!1),n.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),n.update=this.match(11)?null:this.parseExpression(),this.expect(11),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(n,"ForStatement")}parseForIn(n,a,m){let _=this.match(58);return this.next(),_?m!==null&&this.unexpected(m):n.await=m!==null,a.type!=="VariableDeclaration"||a.declarations[0].init==null||_&&this.options.annexB&&!this.state.strict&&a.kind==="var"&&a.declarations[0].id.type==="Identifier"||this.raise(S.ForInOfLoopInitializer,a,{type:_?"ForInStatement":"ForOfStatement"}),a.type==="AssignmentPattern"&&this.raise(S.InvalidLhs,a,{ancestor:{type:"ForStatement"}}),n.left=a,n.right=_?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(n,_?"ForInStatement":"ForOfStatement")}parseVar(n,a,m,_=!1){let k=n.declarations=[];for(n.kind=m;;){let J=this.startNode();if(this.parseVarId(J,m),J.init=this.eat(29)?a?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,J.init!==null||_||(J.id.type==="Identifier"||a&&(this.match(58)||this.isContextual(102))?m!=="const"&&m!=="using"&&m!=="await using"||this.match(58)||this.isContextual(102)||this.raise(S.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:m}):this.raise(S.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),k.push(this.finishNode(J,"VariableDeclarator")),!this.eat(12))break}return n}parseVarId(n,a){let m=this.parseBindingAtom();a==="using"||a==="await using"?m.type!=="ArrayPattern"&&m.type!=="ObjectPattern"||this.raise(S.UsingDeclarationHasBindingPattern,m.loc.start):m.type==="VoidPattern"&&this.raise(S.UnexpectedVoidPattern,m.loc.start),this.checkLVal(m,{type:"VariableDeclarator"},a==="var"?5:8201),n.id=m}parseAsyncFunctionExpression(n){return this.parseFunction(n,8)}parseFunction(n,a=0){let m=2&a,_=!!(1&a),k=_&&!(4&a),J=!!(8&a);this.initFunction(n,J),this.match(55)&&(m&&this.raise(S.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),n.generator=!0),_&&(n.id=this.parseFunctionId(k));let ne=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(514),this.prodParam.enter(Jt(J,n.generator)),_||(n.id=this.parseFunctionId()),this.parseFunctionParams(n,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(n,_?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),_&&!m&&this.registerFunctionStatementId(n),this.state.maybeInArrowParameters=ne,n}parseFunctionId(n){return n||G(this.state.type)?this.parseIdentifier():null}parseFunctionParams(n,a){this.expect(10),this.expressionScope.enter(new $n(3)),n.params=this.parseBindingList(11,41,2|(a?4:0)),this.expressionScope.exit()}registerFunctionStatementId(n){n.id&&this.scope.declareName(n.id.name,!this.options.annexB||this.state.strict||n.generator||n.async?this.scope.treatFunctionsAsVar?5:8201:17,n.id.loc.start)}parseClass(n,a,m){this.next();let _=this.state.strict;return this.state.strict=!0,this.parseClassId(n,a,m),this.parseClassSuper(n),n.body=this.parseClassBody(!!n.superClass,_),this.finishNode(n,a?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(n){return n.type==="Identifier"&&n.name==="constructor"||n.type==="StringLiteral"&&n.value==="constructor"}isNonstaticConstructor(n){return!n.computed&&!n.static&&this.nameIsConstructor(n.key)}parseClassBody(n,a){this.classScope.enter();let m={hadConstructor:!1,hadSuperClass:n},_=[],k=this.startNode();if(k.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(_.length>0)throw this.raise(S.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){_.push(this.parseDecorator());continue}let J=this.startNode();_.length&&(J.decorators=_,this.resetStartLocationFromNode(J,_[0]),_=[]),this.parseClassMember(k,J,m),J.kind==="constructor"&&J.decorators&&J.decorators.length>0&&this.raise(S.DecoratorConstructor,J)}}),this.state.strict=a,this.next(),_.length)throw this.raise(S.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(k,"ClassBody")}parseClassMemberFromModifier(n,a){let m=this.parseIdentifier(!0);if(this.isClassMethod()){let _=a;return _.kind="method",_.computed=!1,_.key=m,_.static=!1,this.pushClassMethod(n,_,!1,!1,!1,!1),!0}if(this.isClassProperty()){let _=a;return _.computed=!1,_.key=m,_.static=!1,n.body.push(this.parseClassProperty(_)),!0}return this.resetPreviousNodeTrailingComments(m),!1}parseClassMember(n,a,m){let _=this.isContextual(106);if(_){if(this.parseClassMemberFromModifier(n,a))return;if(this.eat(5))return void this.parseClassStaticBlock(n,a)}this.parseClassMemberWithIsStatic(n,a,m,_)}parseClassMemberWithIsStatic(n,a,m,_){let k=a,J=a,ne=a,he=a,be=a,Ue=k,nt=k;if(a.static=_,this.parsePropertyNamePrefixOperator(a),this.eat(55)){Ue.kind="method";let Ut=this.match(139);return this.parseClassElementName(Ue),this.parsePostMemberNameModifiers(Ue),Ut?void this.pushClassPrivateMethod(n,J,!0,!1):(this.isNonstaticConstructor(k)&&this.raise(S.ConstructorIsGenerator,k.key),void this.pushClassMethod(n,k,!0,!1,!1,!1))}let Pt=!this.state.containsEsc&&G(this.state.type),ht=this.parseClassElementName(a),Ct=Pt?ht.name:null,Gt=this.isPrivateName(ht),ln=this.state.startLoc;if(this.parsePostMemberNameModifiers(nt),this.isClassMethod()){if(Ue.kind="method",Gt)return void this.pushClassPrivateMethod(n,J,!1,!1);let Ut=this.isNonstaticConstructor(k),zt=!1;Ut&&(k.kind="constructor",m.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(S.DuplicateConstructor,ht),Ut&&this.hasPlugin("typescript")&&a.override&&this.raise(S.OverrideOnConstructor,ht),m.hadConstructor=!0,zt=m.hadSuperClass),this.pushClassMethod(n,k,!1,!1,Ut,zt)}else if(this.isClassProperty())Gt?this.pushClassPrivateProperty(n,he):this.pushClassProperty(n,ne);else if(Ct!=="async"||this.isLineTerminator())if(Ct!=="get"&&Ct!=="set"||this.match(55)&&this.isLineTerminator())if(Ct!=="accessor"||this.isLineTerminator())this.isLineTerminator()?Gt?this.pushClassPrivateProperty(n,he):this.pushClassProperty(n,ne):this.unexpected();else{this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(ht);let Ut=this.match(139);this.parseClassElementName(ne),this.pushClassAccessorProperty(n,be,Ut)}else{this.resetPreviousNodeTrailingComments(ht),Ue.kind=Ct;let Ut=this.match(139);this.parseClassElementName(k),Ut?this.pushClassPrivateMethod(n,J,!1,!1):(this.isNonstaticConstructor(k)&&this.raise(S.ConstructorIsAccessor,k.key),this.pushClassMethod(n,k,!1,!1,!1,!1)),this.checkGetterSetterParams(k)}else{this.resetPreviousNodeTrailingComments(ht);let Ut=this.eat(55);nt.optional&&this.unexpected(ln),Ue.kind="method";let zt=this.match(139);this.parseClassElementName(Ue),this.parsePostMemberNameModifiers(nt),zt?this.pushClassPrivateMethod(n,J,Ut,!0):(this.isNonstaticConstructor(k)&&this.raise(S.ConstructorIsAsync,k.key),this.pushClassMethod(n,k,Ut,!0,!1,!1))}}parseClassElementName(n){let{type:a,value:m}=this.state;if(a!==132&&a!==134||!n.static||m!=="prototype"||this.raise(S.StaticPrototype,this.state.startLoc),a===139){m==="constructor"&&this.raise(S.ConstructorClassPrivateField,this.state.startLoc);let _=this.parsePrivateName();return n.key=_,_}return this.parsePropertyName(n),n.key}parseClassStaticBlock(n,a){var m;this.scope.enter(720);let _=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let k=a.body=[];this.parseBlockOrModuleBlockBody(k,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=_,n.body.push(this.finishNode(a,"StaticBlock")),(m=a.decorators)!=null&&m.length&&this.raise(S.DecoratorStaticBlock,a)}pushClassProperty(n,a){!a.computed&&this.nameIsConstructor(a.key)&&this.raise(S.ConstructorClassField,a.key),n.body.push(this.parseClassProperty(a))}pushClassPrivateProperty(n,a){let m=this.parseClassPrivateProperty(a);n.body.push(m),this.classScope.declarePrivateName(this.getPrivateNameSV(m.key),0,m.key.loc.start)}pushClassAccessorProperty(n,a,m){m||a.computed||!this.nameIsConstructor(a.key)||this.raise(S.ConstructorClassField,a.key);let _=this.parseClassAccessorProperty(a);n.body.push(_),m&&this.classScope.declarePrivateName(this.getPrivateNameSV(_.key),0,_.key.loc.start)}pushClassMethod(n,a,m,_,k,J){n.body.push(this.parseMethod(a,m,_,k,J,"ClassMethod",!0))}pushClassPrivateMethod(n,a,m,_){let k=this.parseMethod(a,m,_,!1,!1,"ClassPrivateMethod",!0);n.body.push(k);let J=k.kind==="get"?k.static?6:2:k.kind==="set"?k.static?5:1:0;this.declareClassPrivateMethodInScope(k,J)}declareClassPrivateMethodInScope(n,a){this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),a,n.key.loc.start)}parsePostMemberNameModifiers(n){}parseClassPrivateProperty(n){return this.parseInitializer(n),this.semicolon(),this.finishNode(n,"ClassPrivateProperty")}parseClassProperty(n){return this.parseInitializer(n),this.semicolon(),this.finishNode(n,"ClassProperty")}parseClassAccessorProperty(n){return this.parseInitializer(n),this.semicolon(),this.finishNode(n,"ClassAccessorProperty")}parseInitializer(n){this.scope.enter(592),this.expressionScope.enter(kn()),this.prodParam.enter(0),n.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(n,a,m,_=8331){if(G(this.state.type))n.id=this.parseIdentifier(),a&&this.declareNameFromIdentifier(n.id,_);else{if(!m&&a)throw this.raise(S.MissingClassName,this.state.startLoc);n.id=null}}parseClassSuper(n){n.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(n,a){let m=this.parseMaybeImportPhase(n,!0),_=this.maybeParseExportDefaultSpecifier(n,m),k=!_||this.eat(12),J=k&&this.eatExportStar(n),ne=J&&this.maybeParseExportNamespaceSpecifier(n),he=k&&(!ne||this.eat(12)),be=_||J;if(J&&!ne){if(_&&this.unexpected(),a)throw this.raise(S.UnsupportedDecoratorExport,n);return this.parseExportFrom(n,!0),this.sawUnambiguousESM=!0,this.finishNode(n,"ExportAllDeclaration")}let Ue=this.maybeParseExportNamedSpecifiers(n),nt;if(_&&k&&!J&&!Ue&&this.unexpected(null,5),ne&&he&&this.unexpected(null,98),be||Ue){if(nt=!1,a)throw this.raise(S.UnsupportedDecoratorExport,n);this.parseExportFrom(n,be)}else nt=this.maybeParseExportDeclaration(n);if(be||Ue||nt){var Pt;let ht=n;if(this.checkExport(ht,!0,!1,!!ht.source),((Pt=ht.declaration)==null?void 0:Pt.type)==="ClassDeclaration")this.maybeTakeDecorators(a,ht.declaration,ht);else if(a)throw this.raise(S.UnsupportedDecoratorExport,n);return this.sawUnambiguousESM=!0,this.finishNode(ht,"ExportNamedDeclaration")}if(this.eat(65)){let ht=n,Ct=this.parseExportDefaultExpression();if(ht.declaration=Ct,Ct.type==="ClassDeclaration")this.maybeTakeDecorators(a,Ct,ht);else if(a)throw this.raise(S.UnsupportedDecoratorExport,n);return this.checkExport(ht,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(ht,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(n){return this.eat(55)}maybeParseExportDefaultSpecifier(n,a){if(a||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",a?.loc.start);let m=a||this.parseIdentifier(!0),_=this.startNodeAtNode(m);return _.exported=m,n.specifiers=[this.finishNode(_,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(n){if(this.isContextual(93)){var a;(a=n).specifiers!=null||(a.specifiers=[]);let m=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),m.exported=this.parseModuleExportName(),n.specifiers.push(this.finishNode(m,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(n){if(this.match(5)){let a=n;a.specifiers||(a.specifiers=[]);let m=a.exportKind==="type";return a.specifiers.push(...this.parseExportSpecifiers(m)),a.source=null,this.hasPlugin("importAssertions")?a.assertions=[]:a.attributes=[],a.declaration=null,!0}return!1}maybeParseExportDeclaration(n){return!!this.shouldParseExportDeclaration()&&(n.specifiers=[],n.source=null,this.hasPlugin("importAssertions")?n.assertions=[]:n.attributes=[],n.declaration=this.parseExportDeclaration(n),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;let n=this.nextTokenInLineStart();return this.isUnparsedContextual(n,"function")}parseExportDefaultExpression(){let n=this.startNode();if(this.match(68))return this.next(),this.parseFunction(n,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(n,13);if(this.match(80))return this.parseClass(n,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(S.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet()||this.isUsing()||this.isAwaitUsing())throw this.raise(S.UnsupportedDefaultExport,this.state.startLoc);let a=this.parseMaybeAssignAllowIn();return this.semicolon(),a}parseExportDeclaration(n){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:n}=this.state;if(G(n)){if(n===95&&!this.state.containsEsc||n===100)return!1;if((n===130||n===129)&&!this.state.containsEsc){let _=this.nextTokenStart(),k=this.input.charCodeAt(_);if(k===123||this.chStartsBindingIdentifier(k,_)&&!this.input.startsWith("from",_))return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let a=this.nextTokenStart(),m=this.isUnparsedContextual(a,"from");if(this.input.charCodeAt(a)===44||G(this.state.type)&&m)return!0;if(this.match(65)&&m){let _=this.input.charCodeAt(this.nextTokenStartSince(a+4));return _===34||_===39}return!1}parseExportFrom(n,a){this.eatContextual(98)?(n.source=this.parseImportSource(),this.checkExport(n),this.maybeParseImportAttributes(n),this.checkJSONModuleImport(n)):a&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:n}=this.state;return n===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(S.DecoratorBeforeExport,this.state.startLoc),!0):this.isUsing()||this.isAwaitUsing()?(this.raise(S.UsingDeclarationExport,this.state.startLoc),!0):n===74||n===75||n===68||n===80||this.isLet()||this.isAsyncFunction()}checkExport(n,a,m,_){var k;if(a){if(m){if(this.checkDuplicateExports(n,"default"),this.hasPlugin("exportDefaultFrom")){var J;let ne=n.declaration;ne.type!=="Identifier"||ne.name!=="from"||ne.end-ne.start!==4||(J=ne.extra)!=null&&J.parenthesized||this.raise(S.ExportDefaultFromAsIdentifier,ne)}}else if((k=n.specifiers)!=null&&k.length)for(let ne of n.specifiers){let{exported:he}=ne,be=he.type==="Identifier"?he.name:he.value;if(this.checkDuplicateExports(ne,be),!_&&ne.local){let{local:Ue}=ne;Ue.type!=="Identifier"?this.raise(S.ExportBindingIsString,ne,{localName:Ue.value,exportName:be}):(this.checkReservedWord(Ue.name,Ue.loc.start,!0,!1),this.scope.checkLocalExport(Ue))}}else if(n.declaration){let ne=n.declaration;if(ne.type==="FunctionDeclaration"||ne.type==="ClassDeclaration"){let{id:he}=ne;if(!he)throw new Error("Assertion failure");this.checkDuplicateExports(n,he.name)}else if(ne.type==="VariableDeclaration")for(let he of ne.declarations)this.checkDeclaration(he.id)}}}checkDeclaration(n){if(n.type==="Identifier")this.checkDuplicateExports(n,n.name);else if(n.type==="ObjectPattern")for(let a of n.properties)this.checkDeclaration(a);else if(n.type==="ArrayPattern")for(let a of n.elements)a&&this.checkDeclaration(a);else n.type==="ObjectProperty"?this.checkDeclaration(n.value):n.type==="RestElement"?this.checkDeclaration(n.argument):n.type==="AssignmentPattern"&&this.checkDeclaration(n.left)}checkDuplicateExports(n,a){this.exportedIdentifiers.has(a)&&(a==="default"?this.raise(S.DuplicateDefaultExport,n):this.raise(S.DuplicateExport,n,{exportName:a})),this.exportedIdentifiers.add(a)}parseExportSpecifiers(n){let a=[],m=!0;for(this.expect(5);!this.eat(8);){if(m)m=!1;else if(this.expect(12),this.eat(8))break;let _=this.isContextual(130),k=this.match(134),J=this.startNode();J.local=this.parseModuleExportName(),a.push(this.parseExportSpecifier(J,k,n,_))}return a}parseExportSpecifier(n,a,m,_){return this.eatContextual(93)?n.exported=this.parseModuleExportName():a?n.exported=this.cloneStringLiteral(n.local):n.exported||(n.exported=this.cloneIdentifier(n.local)),this.finishNode(n,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){let n=this.parseStringLiteral(this.state.value),a=En.exec(n.value);return a&&this.raise(S.ModuleExportNameHasLoneSurrogate,n,{surrogateCharCode:a[0].charCodeAt(0)}),n}return this.parseIdentifier(!0)}isJSONModuleImport(n){return n.assertions!=null&&n.assertions.some(({key:a,value:m})=>m.value==="json"&&(a.type==="Identifier"?a.name==="type":a.value==="type"))}checkImportReflection(n){let{specifiers:a}=n,m=a.length===1?a[0].type:null;if(n.phase==="source")m!=="ImportDefaultSpecifier"&&this.raise(S.SourcePhaseImportRequiresDefault,a[0].loc.start);else if(n.phase==="defer")m!=="ImportNamespaceSpecifier"&&this.raise(S.DeferImportRequiresNamespace,a[0].loc.start);else if(n.module){var _;m!=="ImportDefaultSpecifier"&&this.raise(S.ImportReflectionNotBinding,a[0].loc.start),((_=n.assertions)==null?void 0:_.length)>0&&this.raise(S.ImportReflectionHasAssertion,a[0].loc.start)}}checkJSONModuleImport(n){if(this.isJSONModuleImport(n)&&n.type!=="ExportAllDeclaration"){let{specifiers:a}=n;if(a!=null){let m=a.find(_=>{let k;if(_.type==="ExportSpecifier"?k=_.local:_.type==="ImportSpecifier"&&(k=_.imported),k!==void 0)return k.type==="Identifier"?k.name!=="default":k.value!=="default"});m!==void 0&&this.raise(S.ImportJSONBindingNotDefault,m.loc.start)}}}isPotentialImportPhase(n){return!n&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(n,a,m,_){a||(m==="module"?(this.expectPlugin("importReflection",_),n.module=!0):this.hasPlugin("importReflection")&&(n.module=!1),m==="source"?(this.expectPlugin("sourcePhaseImports",_),n.phase="source"):m==="defer"?(this.expectPlugin("deferredImportEvaluation",_),n.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(n.phase=null))}parseMaybeImportPhase(n,a){if(!this.isPotentialImportPhase(a))return this.applyImportPhase(n,a,null),null;let m=this.startNode(),_=this.parseIdentifierName(!0),{type:k}=this.state;return(U(k)?k!==98||this.lookaheadCharCode()===102:k!==12)?(this.applyImportPhase(n,a,_,m.loc.start),null):(this.applyImportPhase(n,a,null),this.createIdentifier(m,_))}isPrecedingIdImportPhase(n){let{type:a}=this.state;return G(a)?a!==98||this.lookaheadCharCode()===102:a!==12}parseImport(n){return this.match(134)?this.parseImportSourceAndAttributes(n):this.parseImportSpecifiersAndAfter(n,this.parseMaybeImportPhase(n,!1))}parseImportSpecifiersAndAfter(n,a){n.specifiers=[];let m=!this.maybeParseDefaultImportSpecifier(n,a)||this.eat(12),_=m&&this.maybeParseStarImportSpecifier(n);return m&&!_&&this.parseNamedImportSpecifiers(n),this.expectContextual(98),this.parseImportSourceAndAttributes(n)}parseImportSourceAndAttributes(n){return n.specifiers!=null||(n.specifiers=[]),n.source=this.parseImportSource(),this.maybeParseImportAttributes(n),this.checkImportReflection(n),this.checkJSONModuleImport(n),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(n,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(n,a,m){a.local=this.parseIdentifier(),n.specifiers.push(this.finishImportSpecifier(a,m))}finishImportSpecifier(n,a,m=8201){return this.checkLVal(n.local,{type:a},m),this.finishNode(n,a)}parseImportAttributes(){this.expect(5);let n=[],a=new Set;do{if(this.match(8))break;let m=this.startNode(),_=this.state.value;if(a.has(_)&&this.raise(S.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:_}),a.add(_),this.match(134)?m.key=this.parseStringLiteral(_):m.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(S.ModuleAttributeInvalidValue,this.state.startLoc);m.value=this.parseStringLiteral(this.state.value),n.push(this.finishNode(m,"ImportAttribute"))}while(this.eat(12));return this.expect(8),n}parseModuleAttributes(){let n=[],a=new Set;do{let m=this.startNode();if(m.key=this.parseIdentifier(!0),m.key.name!=="type"&&this.raise(S.ModuleAttributeDifferentFromType,m.key),a.has(m.key.name)&&this.raise(S.ModuleAttributesWithDuplicateKeys,m.key,{key:m.key.name}),a.add(m.key.name),this.expect(14),!this.match(134))throw this.raise(S.ModuleAttributeInvalidValue,this.state.startLoc);m.value=this.parseStringLiteral(this.state.value),n.push(this.finishNode(m,"ImportAttribute"))}while(this.eat(12));return n}maybeParseImportAttributes(n){let a;var m=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?(a=this.parseModuleAttributes(),this.addExtra(n,"deprecatedWithLegacySyntax",!0)):a=this.parseImportAttributes(),m=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(this.hasPlugin("deprecatedImportAssert")||this.hasPlugin("importAssertions")||this.raise(S.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(n,"deprecatedAssertSyntax",!0),this.next(),a=this.parseImportAttributes()):a=[];!m&&this.hasPlugin("importAssertions")?n.assertions=a:n.attributes=a}maybeParseDefaultImportSpecifier(n,a){if(a){let m=this.startNodeAtNode(a);return m.local=a,n.specifiers.push(this.finishImportSpecifier(m,"ImportDefaultSpecifier")),!0}return!!U(this.state.type)&&(this.parseImportSpecifierLocal(n,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(n){if(this.match(55)){let a=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(n,a,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(n){let a=!0;for(this.expect(5);!this.eat(8);){if(a)a=!1;else{if(this.eat(14))throw this.raise(S.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let m=this.startNode(),_=this.match(134),k=this.isContextual(130);m.imported=this.parseModuleExportName();let J=this.parseImportSpecifier(m,_,n.importKind==="type"||n.importKind==="typeof",k,void 0);n.specifiers.push(J)}}parseImportSpecifier(n,a,m,_,k){if(this.eatContextual(93))n.local=this.parseIdentifier();else{let{imported:J}=n;if(a)throw this.raise(S.ImportBindingIsString,n,{importName:J.value});this.checkReservedWord(J.name,n.loc.start,!0,!0),n.local||(n.local=this.cloneIdentifier(J))}return this.finishImportSpecifier(n,"ImportSpecifier",k)}isThisParam(n){return n.type==="Identifier"&&n.name==="this"}}class un extends mi{constructor(n,a,m){super(n=(function(k){let J={sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,allowYieldOutsideFunction:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};if(k==null)return J;if(k.annexB!=null&&k.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(let ne of Object.keys(J))k[ne]!=null&&(J[ne]=k[ne]);if(J.startLine===1)k.startIndex==null&&J.startColumn>0?J.startIndex=J.startColumn:k.startColumn==null&&J.startIndex>0&&(J.startColumn=J.startIndex);else if((k.startColumn==null||k.startIndex==null)&&k.startIndex!=null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");if(J.sourceType==="commonjs"){if(k.allowAwaitOutsideFunction!=null)throw new Error("The `allowAwaitOutsideFunction` option cannot be used with `sourceType: 'commonjs'`.");if(k.allowReturnOutsideFunction!=null)throw new Error("`sourceType: 'commonjs'` implies `allowReturnOutsideFunction: true`, please remove the `allowReturnOutsideFunction` option or use `sourceType: 'script'`.");if(k.allowNewTargetOutsideFunction!=null)throw new Error("`sourceType: 'commonjs'` implies `allowNewTargetOutsideFunction: true`, please remove the `allowNewTargetOutsideFunction` option or use `sourceType: 'script'`.")}return J})(n),a),this.options=n,this.initializeScopes(),this.plugins=m,this.filename=n.sourceFilename,this.startIndex=n.startIndex;let _=0;n.allowAwaitOutsideFunction&&(_|=1),n.allowReturnOutsideFunction&&(_|=2),n.allowImportExportEverywhere&&(_|=8),n.allowSuperOutsideMethod&&(_|=16),n.allowUndeclaredExports&&(_|=64),n.allowNewTargetOutsideFunction&&(_|=4),n.allowYieldOutsideFunction&&(_|=32),n.ranges&&(_|=128),n.tokens&&(_|=256),n.createImportExpressions&&(_|=512),n.createParenthesizedExpressions&&(_|=1024),n.errorRecovery&&(_|=2048),n.attachComment&&(_|=4096),n.annexB&&(_|=8192),this.optionFlags=_}getScopeHandler(){return $e}parse(){this.enterInitialScopes();let n=this.startNode(),a=this.startNode();return this.nextToken(),n.errors=null,this.parseTopLevel(n,a),n.errors=this.state.errors,n.comments.length=this.state.commentsLen,n}}let ri=(function(X){let n={};for(let a of Object.keys(X))n[a]=me(X[a]);return n})(B);function Gn(X,n){let a=un,m=new Map;if(X!=null&&X.plugins){for(let _ of X.plugins){let k,J;typeof _=="string"?k=_:[k,J]=_,m.has(k)||m.set(k,J||{})}(function(_){if(_.has("decorators")){if(_.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let ne=_.get("decorators").decoratorsBeforeExport;if(ne!=null&&typeof ne!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let he=_.get("decorators").allowCallParenthesized;if(he!=null&&typeof he!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(_.has("flow")&&_.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(_.has("placeholders")&&_.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(_.has("pipelineOperator")){var k;let ne=_.get("pipelineOperator").proposal;if(!mn.includes(ne)){let he=mn.map(be=>`"${be}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${he}.`)}if(ne==="hack"){if(_.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(_.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let he=_.get("pipelineOperator").topicToken;if(!Sn.includes(he)){let be=Sn.map(Ue=>`"${Ue}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${be}.`)}var J;if(he==="#"&&((J=_.get("recordAndTuple"))==null?void 0:J.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",_.get("recordAndTuple")])}\`.`)}else if(ne==="smart"&&((k=_.get("recordAndTuple"))==null?void 0:k.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",_.get("recordAndTuple")])}\`.`)}if(_.has("moduleAttributes")){if(_.has("deprecatedImportAssert")||_.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(_.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(_.has("importAssertions")&&_.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(!_.has("deprecatedImportAssert")&&_.has("importAttributes")&&_.get("importAttributes").deprecatedAssertSyntax&&_.set("deprecatedImportAssert",{}),_.has("recordAndTuple")){let ne=_.get("recordAndTuple").syntaxType;if(ne!=null){let he=["hash","bar"];if(!he.includes(ne))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+he.map(be=>`'${be}'`).join(", "))}}if(_.has("asyncDoExpressions")&&!_.has("doExpressions")){let ne=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw ne.missingPlugins="doExpressions",ne}if(_.has("optionalChainingAssign")&&_.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.");if(_.has("discardBinding")&&_.get("discardBinding").syntaxType!=="void")throw new Error("The 'discardBinding' plugin requires a 'syntaxType' option. Currently the only supported value is 'void'.")})(m),a=(function(_){let k=[];for(let he of Kt)_.has(he)&&k.push(he);let J=k.join("|"),ne=ti.get(J);if(!ne){ne=un;for(let he of k)ne=yn[he](ne);ti.set(J,ne)}return ne})(m)}return new a(X,n,m)}let ti=new Map;e.parse=function(X,n){var a;if(((a=n)==null?void 0:a.sourceType)!=="unambiguous")return Gn(n,X).parse();n=Object.assign({},n);try{n.sourceType="module";let m=Gn(n,X),_=m.parse();if(m.sawUnambiguousESM)return _;if(m.ambiguousScriptDifferentAst)try{return n.sourceType="script",Gn(n,X).parse()}catch{}else _.program.sourceType="script";return _}catch(m){try{return n.sourceType="script",Gn(n,X).parse()}catch{}throw m}},e.parseExpression=function(X,n){let a=Gn(n,X);return a.options.strictMode&&(a.state.strict=!0),a.getExpression()},e.tokTypes=ri},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-proposal-decorators/lib/index.js":(ee,e,E)=>{"use strict";e.A=void 0;var r=E("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js"),l=E("./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-syntax-decorators/lib/index.js"),d=E("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),t=E("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js");e.A=(0,r.declare)((i,c)=>{i.assertVersion(7);var{legacy:v}=c;let{version:T}=c;if(v||T==="legacy")return{name:"proposal-decorators",inherits:l.default,visitor:t.default};if(T&&T!=="2018-09"&&T!=="2021-12"&&T!=="2022-03"&&T!=="2023-01"&&T!=="2023-05"&&T!=="2023-11")throw new Error("The '.version' option must be one of 'legacy', '2023-11', '2023-05', '2023-01', '2022-03', or '2021-12'.");return i.assertVersion("^7.0.2"),(0,d.createClassFeaturePlugin)({name:"proposal-decorators",api:i,feature:d.FEATURES.decorators,inherits:l.default,decoratorVersion:T})})},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js");let l=r.template.statement(`
|
|
352
|
-
DECORATOR(CLASS_REF = INNER) || CLASS_REF;
|
|
353
|
-
`),d=(0,r.template)(`
|
|
354
|
-
CLASS_REF.prototype;
|
|
355
|
-
`),t=(0,r.template)(`
|
|
356
|
-
Object.getOwnPropertyDescriptor(TARGET, PROPERTY);
|
|
357
|
-
`),i=(0,r.template)(`
|
|
358
|
-
(TEMP = Object.getOwnPropertyDescriptor(TARGET, PROPERTY), (TEMP = TEMP ? TEMP.value : undefined), {
|
|
359
|
-
enumerable: true,
|
|
360
|
-
configurable: true,
|
|
361
|
-
writable: true,
|
|
362
|
-
initializer: function(){
|
|
363
|
-
return TEMP;
|
|
364
|
-
}
|
|
365
|
-
})
|
|
366
|
-
`),c=new WeakSet;function v(f){let y=(f.isClass()?[f,...f.get("body.body")]:f.get("properties")).reduce((P,S)=>P.concat(S.node.decorators||[]),[]).filter(P=>!r.types.isIdentifier(P.expression));if(y.length!==0)return r.types.sequenceExpression(y.map(P=>{let S=P.expression,b=P.expression=f.scope.generateDeclaredUidIdentifier("dec");return r.types.assignmentExpression("=",b,S)}).concat([f.node]))}function T(f){var y;return!((y=f.decorators)==null||!y.length)}function g(f){return f.some(y=>{var P;return(P=y.decorators)==null?void 0:P.length})}function p(f,y,P){let S=f.scope.generateDeclaredUidIdentifier(f.isClass()?"class":"obj"),b=P.reduce(function(C,N){let F=[];if(N.decorators!=null&&(F=N.decorators,N.decorators=null),F.length===0)return C;if(N.computed)throw f.buildCodeFrameError("Computed method/property decorators are not yet supported.");let K=r.types.isLiteral(N.key)?N.key:r.types.stringLiteral(N.key.name),L=f.isClass()&&!N.static?d({CLASS_REF:S}).expression:S;if(r.types.isClassProperty(N,{static:!1})){let w=f.scope.generateDeclaredUidIdentifier("descriptor"),O=N.value?r.types.functionExpression(null,[],r.types.blockStatement([r.types.returnStatement(N.value)])):r.types.nullLiteral();N.value=r.types.callExpression(y.addHelper("initializerWarningHelper"),[w,r.types.thisExpression()]),c.add(N.value),C.push(r.types.assignmentExpression("=",r.types.cloneNode(w),r.types.callExpression(y.addHelper("applyDecoratedDescriptor"),[r.types.cloneNode(L),r.types.cloneNode(K),r.types.arrayExpression(F.map(z=>r.types.cloneNode(z.expression))),r.types.objectExpression([r.types.objectProperty(r.types.identifier("configurable"),r.types.booleanLiteral(!0)),r.types.objectProperty(r.types.identifier("enumerable"),r.types.booleanLiteral(!0)),r.types.objectProperty(r.types.identifier("writable"),r.types.booleanLiteral(!0)),r.types.objectProperty(r.types.identifier("initializer"),O)])])))}else C.push(r.types.callExpression(y.addHelper("applyDecoratedDescriptor"),[r.types.cloneNode(L),r.types.cloneNode(K),r.types.arrayExpression(F.map(w=>r.types.cloneNode(w.expression))),r.types.isObjectProperty(N)||r.types.isClassProperty(N,{static:!0})?i({TEMP:f.scope.generateDeclaredUidIdentifier("init"),TARGET:r.types.cloneNode(L),PROPERTY:r.types.cloneNode(K)}).expression:t({TARGET:r.types.cloneNode(L),PROPERTY:r.types.cloneNode(K)}).expression,r.types.cloneNode(L)]));return C},[]);return r.types.sequenceExpression([r.types.assignmentExpression("=",r.types.cloneNode(S),f.node),r.types.sequenceExpression(b),r.types.cloneNode(S)])}function h({node:f,scope:y}){if(!T(f)&&!g(f.body.body))return;let P=f.id?r.types.cloneNode(f.id):y.generateUidIdentifier("class");return r.types.variableDeclaration("let",[r.types.variableDeclarator(P,r.types.toExpression(f))])}let u={ExportDefaultDeclaration(f){let y=f.get("declaration");if(!y.isClassDeclaration())return;let P=h(y);if(P){let[S]=f.replaceWithMultiple([P,r.types.exportNamedDeclaration(null,[r.types.exportSpecifier(r.types.cloneNode(P.declarations[0].id),r.types.identifier("default"))])]);y.node.id||f.scope.registerDeclaration(S)}},ClassDeclaration(f){let y=h(f);if(y){let[P]=f.replaceWith(y),S=P.get("declarations.0"),b=S.node.id,C=f.scope.getOwnBinding(b.name);C.identifier=b,C.path=S}},ClassExpression(f,y){let P=v(f)||(function(S){if(!T(S.node))return;let b=S.node.decorators||[];S.node.decorators=null;let C=S.scope.generateDeclaredUidIdentifier("class");return b.map(N=>N.expression).reverse().reduce(function(N,F){return l({CLASS_REF:r.types.cloneNode(C),DECORATOR:r.types.cloneNode(F),INNER:N}).expression},S.node)})(f)||(function(S,b){if(g(S.node.body.body))return p(S,b,S.node.body.body)})(f,y);P&&f.replaceWith(P)},ObjectExpression(f,y){let P=v(f)||(function(S,b){if(g(S.node.properties))return p(S,b,S.node.properties.filter(C=>C.type!=="SpreadElement"))})(f,y);P&&f.replaceWith(P)},AssignmentExpression(f,y){c.has(f.node.right)&&f.replaceWith(r.types.callExpression(y.addHelper("initializerDefineProperty"),[r.types.cloneNode(f.get("left.object").node),r.types.stringLiteral(f.get("left.property").node.name||f.get("left.property").node.value),r.types.cloneNode(f.get("right.arguments")[0].node),r.types.cloneNode(f.get("right.arguments")[1].node)]))},CallExpression(f,y){f.node.arguments.length===3&&c.has(f.node.arguments[2])&&f.node.callee.name===y.addHelper("defineProperty").name&&f.replaceWith(r.types.callExpression(y.addHelper("initializerDefineProperty"),[r.types.cloneNode(f.get("arguments")[0].node),r.types.cloneNode(f.get("arguments")[1].node),r.types.cloneNode(f.get("arguments.2.arguments")[0].node),r.types.cloneNode(f.get("arguments.2.arguments")[1].node)]))}};e.default=u},"./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.28.0/node_modules/@babel/plugin-syntax-class-properties/lib/index.js":(ee,e,E)=>{"use strict";e.A=void 0;var r=(0,E("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(l=>(l.assertVersion(7),{name:"syntax-class-properties",manipulateOptions(d,t){t.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}));e.A=r},"./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-syntax-decorators/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js");e.default=(0,r.declare)((l,d)=>{l.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");let{version:t}=d;{let{legacy:c}=d;if(c!==void 0){if(typeof c!="boolean")throw new Error(".legacy must be a boolean.");if(t!==void 0)throw new Error("You can either use the .legacy or the .version option, not both.")}if(t===void 0)t=c?"legacy":"2018-09";else if(t!=="2023-11"&&t!=="2023-05"&&t!=="2023-01"&&t!=="2022-03"&&t!=="2021-12"&&t!=="2018-09"&&t!=="legacy")throw new Error("Unsupported decorators version: "+t);var{decoratorsBeforeExport:i}=d;if(i===void 0){if(t==="2021-12"||t==="2022-03")i=!1;else if(t==="2018-09")throw new Error("The decorators plugin, when .version is '2018-09' or not specified, requires a 'decoratorsBeforeExport' option, whose value must be a boolean.")}else{if(t==="legacy"||t==="2022-03"||t==="2023-01")throw new Error(`'decoratorsBeforeExport' can't be used with ${t} decorators.`);if(typeof i!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean.")}}return{name:"syntax-decorators",manipulateOptions({generatorOpts:c},v){t==="legacy"?v.plugins.push("decorators-legacy"):t==="2023-01"||t==="2023-05"||t==="2023-11"?v.plugins.push(["decorators",{allowCallParenthesized:!1}],"decoratorAutoAccessors"):t==="2022-03"?v.plugins.push(["decorators",{decoratorsBeforeExport:!1,allowCallParenthesized:!1}],"decoratorAutoAccessors"):t==="2021-12"?(v.plugins.push(["decorators",{decoratorsBeforeExport:i}],"decoratorAutoAccessors"),c.decoratorsBeforeExport=i):t==="2018-09"&&(v.plugins.push(["decorators",{decoratorsBeforeExport:i}]),c.decoratorsBeforeExport=i)}}})},"./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js":(ee,e,E)=>{"use strict";e.A=void 0;var r=E("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js");e.A=(0,r.declare)(l=>{l.assertVersion(7);let d=(i,c)=>c==="plugin"||Array.isArray(i)&&i[0]==="plugin",t=i=>Array.isArray(i)&&i.length>1?i[1]:{};return{name:"syntax-import-assertions",manipulateOptions(i,{plugins:c}){for(let v=0;v<c.length;v++){let T=c[v];if(d(T,"deprecatedImportAssert"))return;if(d(T,"importAttributes"))return void c.splice(v,1,"deprecatedImportAssert",["importAttributes",Object.assign({},t(T),{deprecatedAssertSyntax:!0})])}c.push("importAssertions")}}})},"./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-syntax-jsx/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js");e.default=(0,r.declare)(l=>(l.assertVersion(7),{name:"syntax-jsx",manipulateOptions(d,t){t.plugins.some(i=>(Array.isArray(i)?i[0]:i)==="typescript")||t.plugins.push("jsx")}}))},"./node_modules/.pnpm/@babel+plugin-syntax-typescript@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-syntax-typescript/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js"),l=function(d,t){let i=[];d.forEach((c,v)=>{(Array.isArray(c)?c[0]:c)===t&&i.unshift(v)});for(let c of i)d.splice(c,1)};e.default=(0,r.declare)((d,t)=>{d.assertVersion(7);let{disallowAmbiguousJSXLike:i,dts:c}=t;var{isTSX:v}=t;return{name:"syntax-typescript",manipulateOptions(T,g){{let{plugins:p}=g;l(p,"flow"),l(p,"jsx"),p.push("objectRestSpread","classProperties"),v&&p.push("jsx")}g.plugins.push(["typescript",{disallowAmbiguousJSXLike:i,dts:c}])}}})},"./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js":(ee,e,E)=>{"use strict";e.A=void 0;var r=E("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js"),l=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js");e.A=(0,r.declare)(d=>(d.assertVersion(7),{name:"transform-export-namespace-from",manipulateOptions:(t,i)=>i.plugins.push("exportNamespaceFrom"),visitor:{ExportNamedDeclaration(t){var i;let{node:c,scope:v}=t,{specifiers:T}=c,g=l.types.isExportDefaultSpecifier(T[0])?1:0;if(!l.types.isExportNamespaceSpecifier(T[g]))return;let p=[];g===1&&p.push(l.types.exportNamedDeclaration(null,[T.shift()],c.source));let h=T.shift(),{exported:u}=h,f=v.generateUidIdentifier((i=u.name)!=null?i:u.value);p.push(l.types.importDeclaration([l.types.importNamespaceSpecifier(f)],l.types.cloneNode(c.source)),l.types.exportNamedDeclaration(null,[l.types.exportSpecifier(l.types.cloneNode(f),u)])),c.specifiers.length>=1&&p.push(c);let[y]=t.replaceWithMultiple(p);t.scope.registerDeclaration(y)}}}))},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformDynamicImport=function(i,c,v){let T=c?d:t;i.replaceWith((0,l.buildDynamicImport)(i.node,!0,!1,g=>T(g,v)))};var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),l=E("./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/index.js");let d=i=>r.template.expression.ast`require(${i})`,t=(i,c)=>r.types.callExpression(c.addHelper("interopRequireWildcard"),[d(i)])},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defineCommonJSHook=function(l,d){let t=l.get(E);t||l.set(E,t=[]),t.push(d)},e.makeInvokers=function(l){let d=l.get(E);return{getWrapperPayload:(...t)=>r(d,i=>i.getWrapperPayload==null?void 0:i.getWrapperPayload(...t)),wrapReference:(...t)=>r(d,i=>i.wrapReference==null?void 0:i.wrapReference(...t)),buildRequireWrapper:(...t)=>r(d,i=>i.buildRequireWrapper==null?void 0:i.buildRequireWrapper(...t))}};let E="@babel/plugin-transform-modules-commonjs/customWrapperPlugin";function r(l,d){if(l)for(let t of l){let i=d(t);if(i!=null)return i}}},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,Object.defineProperty(e,"defineCommonJSHook",{enumerable:!0,get:function(){return c.defineCommonJSHook}});var r=E("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js"),l=E("./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/index.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),t=E("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js"),i=E("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js"),c=E("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js");e.default=(0,r.declare)((v,T)=>{var g,p,h;v.assertVersion(7);let{strictNamespace:u=!1,mjsStrictNamespace:f=u,allowTopLevelThis:y,strict:P,strictMode:S,noInterop:b,importInterop:C,lazy:N=!1,allowCommonJSExports:F=!0,loose:K=!1}=T,L=(g=v.assumption("constantReexports"))!=null?g:K,w=(p=v.assumption("enumerableModuleMeta"))!=null?p:K,O=(h=v.assumption("noIncompleteNsImportDetection"))!=null&&h;if(!(typeof N=="boolean"||typeof N=="function"||Array.isArray(N)&&N.every($=>typeof $=="string")))throw new Error(".lazy must be a boolean, array of strings, or a function");if(typeof u!="boolean")throw new Error(".strictNamespace must be a boolean, or undefined");if(typeof f!="boolean")throw new Error(".mjsStrictNamespace must be a boolean, or undefined");let z=$=>d.template.expression.ast`
|
|
367
|
-
(function(){
|
|
368
|
-
throw new Error(
|
|
369
|
-
"The CommonJS '" + "${$}" + "' variable is not available in ES6 modules." +
|
|
370
|
-
"Consider setting setting sourceType:script or sourceType:unambiguous in your " +
|
|
371
|
-
"Babel config for this file.");
|
|
372
|
-
})()
|
|
373
|
-
`,te={ReferencedIdentifier($){let D=$.node.name;if(D!=="module"&&D!=="exports")return;let W=$.scope.getBinding(D);this.scope.getBinding(D)!==W||$.parentPath.isObjectProperty({value:$.node})&&$.parentPath.parentPath.isObjectPattern()||$.parentPath.isAssignmentExpression({left:$.node})||$.isAssignmentExpression({left:$.node})||$.replaceWith(z(D))},UpdateExpression($){let D=$.get("argument");if(!D.isIdentifier())return;let W=D.node.name;if(W!=="module"&&W!=="exports")return;let q=$.scope.getBinding(W);this.scope.getBinding(W)===q&&$.replaceWith(d.types.assignmentExpression($.node.operator[0]+"=",D.node,z(W)))},AssignmentExpression($){let D=$.get("left");if(D.isIdentifier()){let W=D.node.name;if(W!=="module"&&W!=="exports")return;let q=$.scope.getBinding(W);if(this.scope.getBinding(W)!==q)return;let re=$.get("right");re.replaceWith(d.types.sequenceExpression([re.node,z(W)]))}else if(D.isPattern()){let W=D.getOuterBindingIdentifiers(),q=Object.keys(W).find(re=>(re==="module"||re==="exports")&&this.scope.getBinding(re)===$.scope.getBinding(re));if(q){let re=$.get("right");re.replaceWith(d.types.sequenceExpression([re.node,z(q)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs"),N&&(0,c.defineCommonJSHook)(this.file,(0,i.lazyImportsHook)(N))},visitor:{["CallExpression"+(v.types.importExpression?"|ImportExpression":"")]($){if(!this.file.has("@babel/plugin-proposal-dynamic-import")||$.isCallExpression()&&!d.types.isImport($.node.callee))return;let{scope:D}=$;do D.rename("require");while(D=D.parent);(0,t.transformDynamicImport)($,b,this.file)},Program:{exit($,D){if(!(0,l.isModule)($))return;$.scope.rename("exports"),$.scope.rename("module"),$.scope.rename("require"),$.scope.rename("__filename"),$.scope.rename("__dirname"),F||$.traverse(te,{scope:$.scope});let W=(0,l.getModuleName)(this.file.opts,T);W&&(W=d.types.stringLiteral(W));let q=(0,c.makeInvokers)(this.file),{meta:re,headers:le}=(0,l.rewriteModuleStatementsAndPrepareHeader)($,{exportName:"exports",constantReexports:L,enumerableModuleMeta:w,strict:P,strictMode:S,allowTopLevelThis:y,noInterop:b,importInterop:C,wrapReference:q.wrapReference,getWrapperPayload:q.getWrapperPayload,esNamespaceOnly:typeof D.filename=="string"&&/\.mjs$/.test(D.filename)?f:u,noIncompleteNsImportDetection:O,filename:this.file.opts.filename});for(let[ie,M]of re.source){let B=d.types.callExpression(d.types.identifier("require"),[d.types.stringLiteral(ie)]),G;if((0,l.isSideEffectImport)(M)){if(N&&M.wrap==="function")throw new Error("Assertion failure");G=d.types.expressionStatement(B)}else{let U=(0,l.wrapInterop)($,B,M.interop)||B;if(M.wrap){let Q=q.buildRequireWrapper(M.name,U,M.wrap,M.referenced);if(Q===!1)continue;G=Q}G!=null||(G=d.template.statement.ast`
|
|
374
|
-
var ${M.name} = ${U};
|
|
375
|
-
`)}G.loc=M.loc,le.push(G),le.push(...(0,l.buildNamespaceInitStatements)(re,M,L,q.wrapReference))}(0,l.ensureStatementsHoisted)(le),$.unshiftContainer("body",le),$.get("body").forEach(ie=>{le.includes(ie.node)&&ie.isVariableDeclaration()&&ie.scope.registerDeclaration(ie)})}}}}})},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.lazyImportsHook=void 0;var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),l=E("./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/index.js");e.lazyImportsHook=d=>({name:"@babel/plugin-transform-modules-commonjs/lazy",version:"7.27.1",getWrapperPayload:(t,i)=>(0,l.isSideEffectImport)(i)||i.reexportAll?null:d===!0?t.includes(".")?null:"lazy/function":Array.isArray(d)?d.includes(t)?"lazy/function":null:typeof d=="function"?d(t)?"lazy/function":null:void 0,buildRequireWrapper(t,i,c,v){if(c==="lazy/function")return!!v&&r.template.statement.ast`
|
|
376
|
-
function ${t}() {
|
|
377
|
-
const data = ${i};
|
|
378
|
-
${t} = function(){ return data; };
|
|
379
|
-
return data;
|
|
380
|
-
}
|
|
381
|
-
`},wrapReference(t,i){if(i==="lazy/function")return r.types.callExpression(t,[])}})},"./node_modules/.pnpm/@babel+plugin-transform-react-jsx@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-transform-react-jsx/lib/create-plugin.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function({name:P,development:S}){return(0,l.declare)((b,C)=>{let{pure:N,throwIfNamespace:F=!0,filter:K,runtime:L=S?"automatic":"classic",importSource:w=c.importSource,pragma:O=c.pragma,pragmaFrag:z=c.pragmaFrag}=C;var{useSpread:te=!1,useBuiltIns:$=!1}=C;if(L==="classic"){if(typeof te!="boolean")throw new Error("transform-react-jsx currently only accepts a boolean option for useSpread (defaults to false)");if(typeof $!="boolean")throw new Error("transform-react-jsx currently only accepts a boolean option for useBuiltIns (defaults to false)");if(te&&$)throw new Error("transform-react-jsx currently only accepts useBuiltIns or useSpread but not both")}let D={JSXOpeningElement(U,Q){let de=[];(function(se){do{let{path:ye}=se;if(ye.isFunctionParent()&&!ye.isArrowFunctionExpression())return!ye.isMethod()||ye.node.kind!=="constructor"||!W(ye.parentPath.parentPath);if(ye.isTSModuleBlock())return!1}while(se=se.parent);return!0})(U.scope)&&de.push(d.types.jsxAttribute(d.types.jsxIdentifier("__self"),d.types.jsxExpressionContainer(d.types.thisExpression()))),de.push(d.types.jsxAttribute(d.types.jsxIdentifier("__source"),d.types.jsxExpressionContainer((function(se,ye){let we=se.node.loc;if(!we)return se.scope.buildUndefinedNode();if(!ye.fileNameIdentifier){let{filename:ve=""}=ye,ce=se.scope.generateUidIdentifier("_jsxFileName");se.scope.getProgramParent().push({id:ce,init:d.types.stringLiteral(ve)}),ye.fileNameIdentifier=ce}return(function(ve,ce,H){let me=ce!=null?d.types.numericLiteral(ce):d.types.nullLiteral(),Se=H!=null?d.types.numericLiteral(H+1):d.types.nullLiteral();return d.template.expression.ast`{
|
|
382
|
-
fileName: ${ve},
|
|
383
|
-
lineNumber: ${me},
|
|
384
|
-
columnNumber: ${Se},
|
|
385
|
-
}`})(d.types.cloneNode(ye.fileNameIdentifier),we.start.line,we.start.column)})(U,Q)))),U.pushContainer("attributes",de)}};return{name:P,inherits:r.default,visitor:{JSXNamespacedName(U){if(F)throw U.buildCodeFrameError("Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set `throwIfNamespace: false` to bypass this warning.")},JSXSpreadChild(U){throw U.buildCodeFrameError("Spread children are not supported in React.")},Program:{enter(U,Q){let{file:de}=Q,se=L,ye=w,we=O,ve=z,ce=!!C.importSource,H=!!C.pragma,me=!!C.pragmaFrag;if(de.ast.comments)for(let Se of de.ast.comments){let pe=v.exec(Se.value);pe&&(ye=pe[1],ce=!0);let j=T.exec(Se.value);j&&(se=j[1]);let Te=g.exec(Se.value);Te&&(we=Te[1],H=!0);let De=p.exec(Se.value);De&&(ve=De[1],me=!0)}if(u(Q,"runtime",se),se==="classic"){if(ce)throw U.buildCodeFrameError("importSource cannot be set when runtime is classic.");let Se=f(we),pe=f(ve);u(Q,"id/createElement",()=>d.types.cloneNode(Se)),u(Q,"id/fragment",()=>d.types.cloneNode(pe)),u(Q,"defaultPure",we===c.pragma)}else{if(se!=="automatic")throw U.buildCodeFrameError('Runtime must be either "classic" or "automatic".');{if(H||me)throw U.buildCodeFrameError("pragma and pragmaFrag cannot be set when runtime is automatic.");let Se=(pe,j)=>u(Q,pe,(function(Te,De,Fe,Pe){return()=>{let ke=(function(Oe,We){switch(We){case"Fragment":return`${Oe}/${S?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${Oe}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${Oe}/jsx-runtime`;case"createElement":return Oe}})(Pe,Fe);if((0,t.isModule)(De)){let Oe=h(Te,`imports/${Fe}`);return Oe?d.types.cloneNode(Oe):(Oe=(0,t.addNamed)(De,Fe,ke,{importedInterop:"uncompiled",importPosition:"after"}),u(Te,`imports/${Fe}`,Oe),Oe)}{let Oe=h(Te,`requires/${ke}`);return Oe?Oe=d.types.cloneNode(Oe):(Oe=(0,t.addNamespace)(De,ke,{importedInterop:"uncompiled"}),u(Te,`requires/${ke}`,Oe)),d.types.memberExpression(Oe,d.types.identifier(Fe))}}})(Q,U,j,ye));Se("id/jsx",S?"jsxDEV":"jsx"),Se("id/jsxs",S?"jsxDEV":"jsxs"),Se("id/createElement","createElement"),Se("id/fragment","Fragment"),u(Q,"defaultPure",ye===c.importSource)}}S&&U.traverse(D,Q)}},JSXFragment:{exit(U,Q){let de;de=h(Q,"runtime")==="classic"?(function(se,ye){if(!(K&&!K(se.node,ye)))return q(ye,"createElement",[h(ye,"id/fragment")(),d.types.nullLiteral(),...d.types.react.buildChildren(se.node)])})(U,Q):(function(se,ye){let we=[h(ye,"id/fragment")()],ve=d.types.react.buildChildren(se.node);return we.push(d.types.objectExpression(ve.length>0?[M(ve)]:[])),S&&we.push(se.scope.buildUndefinedNode(),d.types.booleanLiteral(ve.length>1)),q(ye,ve.length>1?"jsxs":"jsx",we)})(U,Q),U.replaceWith(d.types.inherits(de,U.node))}},JSXElement:{exit(U,Q){let de;de=h(Q,"runtime")==="classic"||(function(se){let ye=se.get("openingElement"),we=ye.node.attributes,ve=!1;for(let ce=0;ce<we.length;ce++){let H=we[ce];if(ve&&d.types.isJSXAttribute(H)&&H.name.name==="key")return!0;d.types.isJSXSpreadAttribute(H)&&(ve=!0)}return!1})(U)?(function(se,ye){let we=se.get("openingElement");return q(ye,"createElement",[B(we),G(ye,se,we.get("attributes")),...d.types.react.buildChildren(se.node)])})(U,Q):(function(se,ye){let we=se.get("openingElement"),ve=[B(we)],ce=[],H=Object.create(null);for(let j of we.get("attributes"))if(j.isJSXAttribute()&&d.types.isJSXIdentifier(j.node.name)){let{name:Te}=j.node.name;switch(Te){case"__source":case"__self":if(H[Te])throw y(se,Te);case"key":{let De=le(j.node.value);if(De===null)throw j.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.');H[Te]=De;break}default:ce.push(j)}}else ce.push(j);let me=d.types.react.buildChildren(se.node),Se;if(Se=ce.length||me.length?(function(j,Te){let De=j.reduce(ie,[]);return Te?.length>0&&De.push(M(Te)),d.types.objectExpression(De)})(ce,me):d.types.objectExpression([]),ve.push(Se),S){var pe;ve.push((pe=H.key)!=null?pe:se.scope.buildUndefinedNode(),d.types.booleanLiteral(me.length>1)),H.__source?(ve.push(H.__source),H.__self&&ve.push(H.__self)):H.__self&&ve.push(se.scope.buildUndefinedNode(),H.__self)}else H.key!==void 0&&ve.push(H.key);return q(ye,me.length>1?"jsxs":"jsx",ve)})(U,Q),U.replaceWith(d.types.inherits(de,U.node))}},JSXAttribute(U){d.types.isJSXElement(U.node.value)&&(U.node.value=d.types.jsxExpressionContainer(U.node.value))}}};function W(U){return U.node.superClass!==null}function q(U,Q,de){let se=d.types.callExpression(h(U,`id/${Q}`)(),de);return(N??h(U,"defaultPure"))&&(0,i.default)(se),se}function re(U,Q){return d.types.isJSXIdentifier(U)?U.name==="this"&&d.types.isReferenced(U,Q)?d.types.thisExpression():d.types.isValidIdentifier(U.name,!1)?(U.type="Identifier",U):d.types.stringLiteral(U.name):d.types.isJSXMemberExpression(U)?d.types.memberExpression(re(U.object,U),re(U.property,U)):d.types.isJSXNamespacedName(U)?d.types.stringLiteral(`${U.namespace.name}:${U.name.name}`):U}function le(U){return d.types.isJSXExpressionContainer(U)?U.expression:U}function ie(U,Q){if(d.types.isJSXSpreadAttribute(Q.node)){let ye=Q.node.argument;return d.types.isObjectExpression(ye)&&!ye.properties.some(we=>d.types.isObjectProperty(we,{computed:!1,shorthand:!1})&&(d.types.isIdentifier(we.key,{name:"__proto__"})||d.types.isStringLiteral(we.key,{value:"__proto__"})))?U.push(...ye.properties):U.push(d.types.spreadElement(ye)),U}let de=le(Q.node.name.name!=="key"?Q.node.value||d.types.booleanLiteral(!0):Q.node.value);if(Q.node.name.name==="key"&&de===null)throw Q.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.');var se;return d.types.isStringLiteral(de)&&!d.types.isJSXExpressionContainer(Q.node.value)&&(de.value=de.value.replace(/\n\s+/g," "),(se=de.extra)==null||delete se.raw),d.types.isJSXNamespacedName(Q.node.name)?Q.node.name=d.types.stringLiteral(Q.node.name.namespace.name+":"+Q.node.name.name.name):d.types.isValidIdentifier(Q.node.name.name,!1)?Q.node.name.type="Identifier":Q.node.name=d.types.stringLiteral(Q.node.name.name),U.push(d.types.inherits(d.types.objectProperty(Q.node.name,de),Q.node)),U}function M(U){let Q;if(U.length===1)Q=U[0];else{if(!(U.length>1))return;Q=d.types.arrayExpression(U)}return d.types.objectProperty(d.types.identifier("children"),Q)}function B(U){let Q=re(U.node.name,U.node),de;return d.types.isIdentifier(Q)?de=Q.name:d.types.isStringLiteral(Q)&&(de=Q.value),d.types.react.isCompatTag(de)?d.types.stringLiteral(de):Q}function G(U,Q,de){let se=h(U,"runtime");if(se!=="automatic"){let ve=[],ce=de.reduce(ie,[]);if(te)ce.length&&ve.push(d.types.objectExpression(ce));else{let me=0;ce.forEach((Se,pe)=>{d.types.isSpreadElement(Se)&&(pe>me&&ve.push(d.types.objectExpression(ce.slice(me,pe))),ve.push(Se.argument),me=pe+1)}),ce.length>me&&ve.push(d.types.objectExpression(ce.slice(me)))}if(!ve.length)return d.types.nullLiteral();if(!(ve.length!==1||d.types.isSpreadElement(ce[0])&&d.types.isObjectExpression(ce[0].argument)))return ve[0];d.types.isObjectExpression(ve[0])||ve.unshift(d.types.objectExpression([]));let H=$?d.types.memberExpression(d.types.identifier("Object"),d.types.identifier("assign")):U.addHelper("extends");return d.types.callExpression(H,ve)}let ye=[],we=Object.create(null);for(let ve of de){let{node:ce}=ve,H=d.types.isJSXAttribute(ce)&&d.types.isJSXIdentifier(ce.name)&&ce.name.name;if(se==="automatic"&&(H==="__source"||H==="__self")){if(we[H])throw y(Q,H);we[H]=!0}ie(ye,ve)}return ye.length===1&&d.types.isSpreadElement(ye[0])&&!d.types.isObjectExpression(ye[0].argument)?ye[0].argument:ye.length>0?d.types.objectExpression(ye):d.types.nullLiteral()}})};var r=E("./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-syntax-jsx/lib/index.js"),l=E("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js"),d=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),t=E("./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/index.js"),i=E("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.27.3/node_modules/@babel/helper-annotate-as-pure/lib/index.js");let c={importSource:"react",runtime:"automatic",pragma:"React.createElement",pragmaFrag:"React.Fragment"},v=/^\s*(?:\*\s*)?@jsxImportSource\s+(\S+)\s*$/m,T=/^\s*(?:\*\s*)?@jsxRuntime\s+(\S+)\s*$/m,g=/^\s*(?:\*\s*)?@jsx\s+(\S+)\s*$/m,p=/^\s*(?:\*\s*)?@jsxFrag\s+(\S+)\s*$/m,h=(P,S)=>P.get(`@babel/plugin-react-jsx/${S}`),u=(P,S,b)=>P.set(`@babel/plugin-react-jsx/${S}`,b);function f(P){return P.split(".").map(S=>d.types.identifier(S)).reduce((S,b)=>d.types.memberExpression(S,b))}function y(P,S){let b=`transform-react-jsx-${S.slice(2)}`;return P.buildCodeFrameError(`Duplicate ${S} prop found. You are most likely using the deprecated ${b} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`)}},"./node_modules/.pnpm/@babel+plugin-transform-react-jsx@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-transform-react-jsx/lib/index.js":(ee,e,E)=>{"use strict";e.A=void 0;var r=E("./node_modules/.pnpm/@babel+plugin-transform-react-jsx@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-transform-react-jsx/lib/create-plugin.js");e.A=(0,r.default)({name:"transform-react-jsx",development:!1})},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EXPORTED_CONST_ENUMS_IN_NAMESPACE=void 0,e.default=function(d,t){let{name:i}=d.node.id,c=d.parentPath.isExportNamedDeclaration(),v=c;!v&&t.isProgram(d.parent)&&(v=d.parent.body.some(p=>t.isExportNamedDeclaration(p)&&p.exportKind!=="type"&&!p.source&&p.specifiers.some(h=>t.isExportSpecifier(h)&&h.exportKind!=="type"&&h.local.name===i)));let{enumValues:T}=(0,r.translateEnumValues)(d,t);if(v||l.has(d.node)){let p=t.objectExpression(T.map(([h,u])=>t.objectProperty(t.isValidIdentifier(h)?t.identifier(h):t.stringLiteral(h),u)));return void(d.scope.hasOwnBinding(i)?(c?d.parentPath:d).replaceWith(t.expressionStatement(t.callExpression(t.memberExpression(t.identifier("Object"),t.identifier("assign")),[d.node.id,p]))):(d.replaceWith(t.variableDeclaration("var",[t.variableDeclarator(d.node.id,p)])),d.scope.registerDeclaration(d)))}let g=new Map(T);d.scope.path.traverse({Scope(p){p.scope.hasOwnBinding(i)&&p.skip()},MemberExpression(p){if(!t.isIdentifier(p.node.object,{name:i}))return;let h;if(p.node.computed){if(!t.isStringLiteral(p.node.property))return;h=p.node.property.value}else{if(!t.isIdentifier(p.node.property))return;h=p.node.property.name}g.has(h)&&p.replaceWith(t.cloneNode(g.get(h)))}}),d.remove()};var r=E("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-transform-typescript/lib/enum.js");let l=e.EXPORTED_CONST_ENUMS_IN_NAMESPACE=new WeakSet},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-transform-typescript/lib/enum.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(P,S){let{node:b,parentPath:C}=P;if(b.declare)return void P.remove();let N=b.id.name,{fill:F,data:K,isPure:L}=(function(w,O,z){let{enumValues:te,data:$,isPure:D}=f(w,O),W=w.get("members"),q=[];for(let re=0;re<W.length;re++){let[le,ie]=te[re];q.push(O.inheritsComments(g(p(ie),{ENUM:O.cloneNode(z),NAME:le,VALUE:ie}),W[re].node))}return{fill:{ID:O.cloneNode(z),ASSIGNMENTS:q},data:$,isPure:D}})(P,S,b.id);switch(C.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{let w=S.isProgram(P.parent),O=(function $(D){return D.isExportDeclaration()?$(D.parentPath):!!D.getData(N)||(D.setData(N,!0),!1)})(C),z=S.objectExpression([]);(O||w)&&(z=S.logicalExpression("||",S.cloneNode(F.ID),z));let te=c(Object.assign({},F,{INIT:z}));L&&(0,d.default)(te),O?(C.isExportDeclaration()?C:P).replaceWith(S.expressionStatement(S.assignmentExpression("=",S.cloneNode(b.id),te))):P.scope.registerDeclaration(P.replaceWith(S.variableDeclaration(w?"var":"let",[S.variableDeclarator(b.id,te)]))[0]),i.set(P.scope.getBindingIdentifier(N),K);break}default:throw new Error(`Unexpected enum parent '${P.parent.type}`)}},e.isSyntacticallyString=p,e.translateEnumValues=f;var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),l=E("assert"),d=E("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.27.3/node_modules/@babel/helper-annotate-as-pure/lib/index.js"),t=E("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.27.1/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js");let i=new WeakMap,c=r.template.expression(`
|
|
386
|
-
(function (ID) {
|
|
387
|
-
ASSIGNMENTS;
|
|
388
|
-
return ID;
|
|
389
|
-
})(INIT)
|
|
390
|
-
`),v=r.template.statement(`
|
|
391
|
-
ENUM["NAME"] = VALUE;
|
|
392
|
-
`),T=r.template.statement(`
|
|
393
|
-
ENUM[ENUM["NAME"] = VALUE] = "NAME";
|
|
394
|
-
`),g=(P,S)=>(P?v:T)(S);function p(P){switch((P=(0,t.skipTransparentExprWrapperNodes)(P)).type){case"BinaryExpression":{let S=P.left,b=P.right;return P.operator==="+"&&(p(S)||p(b))}case"TemplateLiteral":case"StringLiteral":return!0}return!1}function h(P,S){let{seen:b,path:C,t:N}=S,F=P.node.name;if(b.has(F)){for(let K=P.scope;K!==C.scope;K=K.parent)if(K.hasOwnBinding(F))return;P.replaceWith(N.memberExpression(N.cloneNode(C.node.id),N.cloneNode(P.node))),P.skip()}}let u={ReferencedIdentifier:h};function f(P,S){var b;let C=P.scope.getBindingIdentifier(P.node.id.name),N=(b=i.get(C))!=null?b:new Map,F,K=-1,L=!0,w=P.get("members").map(O=>{let z=O.node,te=S.isIdentifier(z.id)?z.id.name:z.id.value,$=O.get("initializer"),D;if(z.initializer)K=y($,N),K!==void 0?(N.set(te,K),l(typeof K=="number"||typeof K=="string"),D=K===1/0||Number.isNaN(K)?S.identifier(String(K)):K===-1/0?S.unaryExpression("-",S.identifier("Infinity")):S.valueToNode(K)):(L&&(L=$.isPure()),$.isReferencedIdentifier()?h($,{t:S,seen:N,path:P}):$.traverse(u,{t:S,seen:N,path:P}),D=$.node,N.set(te,void 0));else if(typeof K=="number")K+=1,D=S.numericLiteral(K),N.set(te,K);else{if(typeof K=="string")throw P.buildCodeFrameError("Enum member must have initializer.");{let W=S.memberExpression(S.cloneNode(P.node.id),S.stringLiteral(F),!0);D=S.binaryExpression("+",S.numericLiteral(1),W),N.set(te,void 0)}}return F=te,[te,D]});return{isPure:L,data:N,enumValues:w}}function y(P,S,b=new Set){return C(P);function C(F){let K=F.node;switch(K.type){case"MemberExpression":case"Identifier":return N(F,S,b);case"StringLiteral":case"NumericLiteral":return K.value;case"UnaryExpression":return(function(L){let w=C(L.get("argument"));if(w!==void 0)switch(L.node.operator){case"+":return w;case"-":return-w;case"~":return~w;default:return}})(F);case"BinaryExpression":return(function(L){let w=C(L.get("left"));if(w===void 0)return;let O=C(L.get("right"));if(O!==void 0)switch(L.node.operator){case"|":return w|O;case"&":return w&O;case">>":return w>>O;case">>>":return w>>>O;case"<<":return w<<O;case"^":return w^O;case"*":return w*O;case"/":return w/O;case"+":return w+O;case"-":return w-O;case"%":return w%O;case"**":return Math.pow(w,O);default:return}})(F);case"ParenthesizedExpression":return C(F.get("expression"));case"TemplateLiteral":{if(K.quasis.length===1)return K.quasis[0].value.cooked;let L=F.get("expressions"),w=K.quasis,O="";for(let z=0;z<w.length;z++)if(O+=w[z].value.cooked,z+1<w.length){let te=N(L[z],S,b);if(te===void 0)return;O+=te}return O}default:return}}function N(F,K,L){if(F.isMemberExpression()){let w=F.node,O=w.object,z=w.property;if(!r.types.isIdentifier(O)||(w.computed?!r.types.isStringLiteral(z):!r.types.isIdentifier(z)))return;let te=F.scope.getBindingIdentifier(O.name),$=i.get(te);return $?$.get(z.computed?z.value:z.name):void 0}if(F.isIdentifier()){let w=F.node.name;if(["Infinity","NaN"].includes(w))return Number(w);let O=K?.get(w);return O!==void 0?O:K!=null&&K.has(w)||L.has(F.node)?void 0:(L.add(F.node),O=y(F.resolve(),K,L),O)}}}},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-transform-typescript/lib/global-types.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GLOBAL_TYPES=void 0,e.isGlobalType=function({scope:r},l){return!r.hasBinding(l)&&(!!E.get(r).has(l)||(console.warn(`The exported identifier "${l}" is not declared in Babel's scope tracker
|
|
395
|
-
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
|
|
396
|
-
never encountered it as a TypeScript type declaration.
|
|
397
|
-
It will be treated as a JavaScript value.
|
|
398
|
-
|
|
399
|
-
This problem is likely caused by another plugin injecting
|
|
400
|
-
"${l}" without registering it in the scope tracker. If you are the author
|
|
401
|
-
of that plugin, please use "scope.registerDeclaration(declarationPath)".`),!1))},e.registerGlobalType=function(r,l){E.get(r).add(l)};let E=e.GLOBAL_TYPES=new WeakMap},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-transform-typescript/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js"),l=E("./node_modules/.pnpm/@babel+plugin-syntax-typescript@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-syntax-typescript/lib/index.js"),d=E("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.27.1_@babel+core@7.28.0/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),t=E("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js"),i=E("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-transform-typescript/lib/enum.js"),c=E("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-transform-typescript/lib/global-types.js"),v=E("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-transform-typescript/lib/namespace.js");function T(f){switch(f.parent.type){case"TSTypeReference":case"TSExpressionWithTypeArguments":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;case"TSQualifiedName":return f.parentPath.findParent(y=>y.type!=="TSQualifiedName").type!=="TSImportEqualsDeclaration";case"ExportSpecifier":return f.parent.exportKind==="type"||f.parentPath.parent.exportKind==="type";default:return!1}}let g=new WeakMap,p=new WeakSet;function h(f){let y=f.getBindingIdentifiers();for(let P of Object.keys(y)){let S=f.scope.getBinding(P);S&&S.identifier===y[P]&&S.scope.removeBinding(P)}f.opts.noScope=!0,f.remove(),f.opts.noScope=!1}function u(f,y,P,S,b=""){if(y.file.get("@babel/plugin-transform-modules-*")!=="commonjs")throw f.buildCodeFrameError(`\`${P}\` is only supported when compiling modules to CommonJS.
|
|
402
|
-
Please consider using \`${S}\`${b}, or add @babel/plugin-transform-modules-commonjs to your Babel config.`)}e.default=(0,r.declare)((f,y)=>{let{types:P,template:S}=f;f.assertVersion(7);let b=/\*?\s*@jsx((?:Frag)?)\s+(\S+)/,{allowNamespaces:C=!0,jsxPragma:N="React.createElement",jsxPragmaFrag:F="React.Fragment",onlyRemoveTypeImports:K=!1,optimizeConstEnums:L=!1}=y;var{allowDeclareFields:w=!1}=y;let O={field(D){let{node:W}=D;if(!w&&W.declare)throw D.buildCodeFrameError("The 'declare' modifier is only allowed when the 'allowDeclareFields' option of @babel/plugin-transform-typescript or @babel/preset-typescript is enabled.");if(W.declare){if(W.value)throw D.buildCodeFrameError("Fields with the 'declare' modifier cannot be initialized here, but only in the constructor");W.decorators||D.remove()}else if(W.definite){if(W.value)throw D.buildCodeFrameError("Definitely assigned fields cannot be initialized here, but only in the constructor");w||W.decorators||P.isClassPrivateProperty(W)||D.remove()}else W.abstract?D.remove():w||W.value||W.decorators||P.isClassPrivateProperty(W)||D.remove();W.accessibility&&(W.accessibility=null),W.abstract&&(W.abstract=null),W.readonly&&(W.readonly=null),W.optional&&(W.optional=null),W.typeAnnotation&&(W.typeAnnotation=null),W.definite&&(W.definite=null),W.declare&&(W.declare=null),W.override&&(W.override=null)},method({node:D}){D.accessibility&&(D.accessibility=null),D.abstract&&(D.abstract=null),D.optional&&(D.optional=null),D.override&&(D.override=null)},constructor(D,W){D.node.accessibility&&(D.node.accessibility=null);let q=[],{scope:re}=D;for(let le of D.get("params")){let ie=le.node;if(ie.type==="TSParameterProperty"){let M=ie.parameter;if(p.has(M))continue;let B;if(p.add(M),P.isIdentifier(M))B=M;else{if(!P.isAssignmentPattern(M)||!P.isIdentifier(M.left))throw le.buildCodeFrameError("Parameter properties can not be destructuring patterns.");B=M.left}q.push(S.statement.ast`
|
|
403
|
-
this.${P.cloneNode(B)} = ${P.cloneNode(B)}
|
|
404
|
-
`),le.replaceWith(le.get("parameter")),re.registerBinding("param",le)}}(0,d.injectInitialization)(W,D,q)}};return{name:"transform-typescript",inherits:l.default,visitor:{Pattern:te,Identifier:te,RestElement:te,Program:{enter(D,W){let{file:q}=W,re=null,le=null,ie=D.scope;if(c.GLOBAL_TYPES.has(ie)||c.GLOBAL_TYPES.set(ie,new Set),q.ast.comments)for(let G of q.ast.comments){let U=b.exec(G.value);U&&(U[1]?le=U[2]:re=U[2])}let M=re||N;M&&([M]=M.split("."));let B=le||F;B&&([B]=B.split("."));for(let G of D.get("body")){if(G.isImportDeclaration()){if(g.has(W.file.ast.program)||g.set(W.file.ast.program,!0),G.node.importKind==="type"){for(let se of G.node.specifiers)(0,c.registerGlobalType)(ie,se.local.name);G.remove();continue}let U=new Set,Q=G.node.specifiers.length,de=()=>Q>0&&Q===U.size;for(let se of G.node.specifiers)if(se.type==="ImportSpecifier"&&se.importKind==="type"){(0,c.registerGlobalType)(ie,se.local.name);let ye=G.scope.getBinding(se.local.name);ye&&U.add(ye.path)}if(K)g.set(D.node,!1);else{if(G.node.specifiers.length===0){g.set(D.node,!1);continue}for(let se of G.node.specifiers){let ye=G.scope.getBinding(se.local.name);ye&&!U.has(ye.path)&&($({binding:ye,programPath:D,pragmaImportName:M,pragmaFragImportName:B})?U.add(ye.path):g.set(D.node,!1))}}if(de()&&!K)G.remove();else for(let se of U)se.remove();continue}if(!K&&G.isTSImportEqualsDeclaration()){let{id:U}=G.node,Q=G.scope.getBinding(U.name);if(Q&&!G.node.isExport&&$({binding:Q,programPath:D,pragmaImportName:M,pragmaFragImportName:B})){G.remove();continue}}if(G.isExportDeclaration()&&(G=G.get("declaration")),G.isVariableDeclaration({declare:!0}))for(let U of Object.keys(G.getBindingIdentifiers()))(0,c.registerGlobalType)(ie,U);else(G.isTSTypeAliasDeclaration()||G.isTSDeclareFunction()&&G.get("id").isIdentifier()||G.isTSInterfaceDeclaration()||G.isClassDeclaration({declare:!0})||G.isTSEnumDeclaration({declare:!0})||G.isTSModuleDeclaration({declare:!0})&&G.get("id").isIdentifier())&&(0,c.registerGlobalType)(ie,G.node.id.name)}},exit(D){D.node.sourceType==="module"&&g.get(D.node)&&D.pushContainer("body",P.exportNamedDeclaration())}},ExportNamedDeclaration(D,W){if(g.has(W.file.ast.program)||g.set(W.file.ast.program,!0),D.node.exportKind!=="type")if(D.node.source&&D.node.specifiers.length>0&&D.node.specifiers.every(q=>q.type==="ExportSpecifier"&&q.exportKind==="type"))D.remove();else if(!D.node.source&&D.node.specifiers.length>0&&D.node.specifiers.every(q=>P.isExportSpecifier(q)&&(0,c.isGlobalType)(D,q.local.name)))D.remove();else{if(P.isTSModuleDeclaration(D.node.declaration)){let q=D.node.declaration;if(!P.isStringLiteral(q.id)){let re=(0,v.getFirstIdentifier)(q.id);if(D.scope.hasOwnBinding(re.name))D.replaceWith(q);else{let[le]=D.replaceWithMultiple([P.exportNamedDeclaration(P.variableDeclaration("let",[P.variableDeclarator(P.cloneNode(re))])),q]);D.scope.registerDeclaration(le)}}}g.set(W.file.ast.program,!1)}else D.remove()},ExportAllDeclaration(D){D.node.exportKind==="type"&&D.remove()},ExportSpecifier(D){(!D.parent.source&&(0,c.isGlobalType)(D,D.node.local.name)||D.node.exportKind==="type")&&D.remove()},ExportDefaultDeclaration(D,W){g.has(W.file.ast.program)||g.set(W.file.ast.program,!0),P.isIdentifier(D.node.declaration)&&(0,c.isGlobalType)(D,D.node.declaration.name)?D.remove():g.set(W.file.ast.program,!1)},TSDeclareFunction(D){h(D)},TSDeclareMethod(D){h(D)},VariableDeclaration(D){D.node.declare&&h(D)},VariableDeclarator({node:D}){D.definite&&(D.definite=null)},TSIndexSignature(D){D.remove()},ClassDeclaration(D){let{node:W}=D;W.declare&&h(D)},Class(D){let{node:W}=D;W.typeParameters&&(W.typeParameters=null),W.superTypeParameters&&(W.superTypeParameters=null),W.implements&&(W.implements=null),W.abstract&&(W.abstract=null),D.get("body.body").forEach(q=>{q.isClassMethod()||q.isClassPrivateMethod()?q.node.kind==="constructor"?O.constructor(q,D):O.method(q):(q.isClassProperty()||q.isClassPrivateProperty()||q.isClassAccessorProperty())&&O.field(q)})},Function(D){let{node:W}=D;W.typeParameters&&(W.typeParameters=null),W.returnType&&(W.returnType=null);let q=W.params;q.length>0&&P.isIdentifier(q[0],{name:"this"})&&q.shift()},TSModuleDeclaration(D){(0,v.default)(D,C)},TSInterfaceDeclaration(D){D.remove()},TSTypeAliasDeclaration(D){D.remove()},TSEnumDeclaration(D){L&&D.node.const?(0,t.default)(D,P):(0,i.default)(D,P)},TSImportEqualsDeclaration(D,W){let{id:q,moduleReference:re}=D.node,le,ie;P.isTSExternalModuleReference(re)?(u(D,W,`import ${q.name} = require(...);`,`import ${q.name} from '...';`," alongside Typescript's --allowSyntheticDefaultImports option"),le=P.callExpression(P.identifier("require"),[re.expression]),ie="const"):(le=z(re),ie="var");let M=P.variableDeclaration(ie,[P.variableDeclarator(q,le)]);D.replaceWith(D.node.isExport?P.exportNamedDeclaration(M):M),D.scope.registerDeclaration(D)},TSExportAssignment(D,W){u(D,W,"export = <value>;","export default <value>;"),D.replaceWith(S.statement.ast`module.exports = ${D.node.expression}`)},TSTypeAssertion(D){D.replaceWith(D.node.expression)},["TSAsExpression"+(P.tsSatisfiesExpression?"|TSSatisfiesExpression":"")](D){let{node:W}=D;do W=W.expression;while(P.isTSAsExpression(W)||P.isTSSatisfiesExpression!=null&&P.isTSSatisfiesExpression(W));D.replaceWith(W)},[f.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](D){D.replaceWith(D.node.expression)},CallExpression(D){D.node.typeParameters=null},OptionalCallExpression(D){D.node.typeParameters=null},NewExpression(D){D.node.typeParameters=null},JSXOpeningElement(D){D.node.typeParameters=null},TaggedTemplateExpression(D){D.node.typeParameters=null}}};function z(D){return P.isTSQualifiedName(D)?P.memberExpression(z(D.left),D.right):D}function te({node:D}){D.typeAnnotation&&(D.typeAnnotation=null),P.isIdentifier(D)&&D.optional&&(D.optional=null)}function $({binding:D,programPath:W,pragmaImportName:q,pragmaFragImportName:re}){for(let ie of D.referencePaths)if(!T(ie))return!1;if(D.identifier.name!==q&&D.identifier.name!==re)return!0;let le=!1;return W.traverse({"JSXElement|JSXFragment"(ie){le=!0,ie.stop()}}),!le}})},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-transform-typescript/lib/namespace.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p,h){if(p.node.declare||p.node.id.type==="StringLiteral")return void p.remove();if(!h)throw p.get("id").buildCodeFrameError("Namespace not marked type-only declare. Non-declarative namespaces are only supported experimentally in Babel. To enable and review caveats see: https://babeljs.io/docs/en/babel-plugin-transform-typescript");let u=t(p.node.id).name,f=g(p,p.node);if(f===null){let y=p.findParent(P=>P.isProgram());(0,l.registerGlobalType)(y.scope,u),p.remove()}else p.scope.hasOwnBinding(u)?p.replaceWith(f):p.scope.registerDeclaration(p.replaceWithMultiple([i(u),f])[0])},e.getFirstIdentifier=t;var r=E("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),l=E("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-transform-typescript/lib/global-types.js"),d=E("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js");function t(p){return r.types.isIdentifier(p)?p:t(p.left)}function i(p){return r.types.variableDeclaration("let",[r.types.variableDeclarator(r.types.identifier(p))])}function c(p,h){return r.types.memberExpression(r.types.identifier(p),r.types.identifier(h))}function v(p,h,u){if(p.kind!=="const")throw u.file.buildCodeFrameError(p,"Namespaces exporting non-const are not supported by Babel. Change to const or see: https://babeljs.io/docs/en/babel-plugin-transform-typescript");let{declarations:f}=p;if(f.every(S=>r.types.isIdentifier(S.id))){for(let S of f)S.init=r.types.assignmentExpression("=",c(h,S.id.name),S.init);return[p]}let y=r.types.getBindingIdentifiers(p),P=[];for(let S in y)P.push(r.types.assignmentExpression("=",c(h,S),r.types.cloneNode(y[S])));return[p,r.types.expressionStatement(r.types.sequenceExpression(P))]}function T(p,h){return p.hub.buildError(h,"Ambient modules cannot be nested in other modules or namespaces.",Error)}function g(p,h,u){let f=new Set,y=h.id,P=p.scope.generateUid(y.name),S=h.body,b;h.id,b=r.types.isTSModuleBlock(S)?S.body:[r.types.exportNamedDeclaration(S)];let C=!0;for(let F=0;F<b.length;F++){let K=b[F];switch(K.type){case"TSModuleDeclaration":{if(!r.types.isIdentifier(K.id))throw T(p,K);let L=g(p,K);if(L!==null){C=!1;let w=K.id.name;f.has(w)?b[F]=L:(f.add(w),b.splice(F++,1,i(w),L))}continue}case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":C=!1,f.add(K.id.name);continue;case"VariableDeclaration":C=!1;for(let L in r.types.getBindingIdentifiers(K))f.add(L);continue;default:C&&(C=r.types.isTypeScript(K));continue;case"ExportNamedDeclaration":}if(!("declare"in K.declaration)||!K.declaration.declare)switch(K.declaration.type){case"TSEnumDeclaration":d.EXPORTED_CONST_ENUMS_IN_NAMESPACE.add(K.declaration);case"FunctionDeclaration":case"ClassDeclaration":{C=!1;let L=K.declaration.id.name;f.add(L),b.splice(F++,1,K.declaration,r.types.expressionStatement(r.types.assignmentExpression("=",c(P,L),r.types.identifier(L))));break}case"VariableDeclaration":{C=!1;let L=v(K.declaration,P,p.hub);b.splice(F,L.length,...L),F+=L.length-1;break}case"TSModuleDeclaration":{if(!r.types.isIdentifier(K.declaration.id))throw T(p,K.declaration);let L=g(p,K.declaration,r.types.identifier(P));if(L!==null){C=!1;let w=K.declaration.id.name;f.has(w)?b[F]=L:(f.add(w),b.splice(F++,1,i(w),L))}else b.splice(F,1),F--}}}if(C)return null;let N=r.types.objectExpression([]);if(u){let F=r.types.memberExpression(u,y);N=r.template.expression.ast`
|
|
405
|
-
${r.types.cloneNode(F)} ||
|
|
406
|
-
(${r.types.cloneNode(F)} = ${N})
|
|
407
|
-
`}return r.template.statement.ast`
|
|
408
|
-
(function (${r.types.identifier(P)}) {
|
|
409
|
-
${b}
|
|
410
|
-
})(${y} || (${r.types.cloneNode(y)} = ${N}));
|
|
411
|
-
`}},"./node_modules/.pnpm/@babel+preset-typescript@7.27.1_@babel+core@7.28.0/node_modules/@babel/preset-typescript/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=E("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js"),l=E("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-transform-typescript/lib/index.js");E("./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-syntax-jsx/lib/index.js");var d=E("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"),t=E("./node_modules/.pnpm/@babel+helper-validator-option@7.27.1/node_modules/@babel/helper-validator-option/lib/index.js");function i(h){return h&&h.__esModule?h:{default:h}}var c=i(l),v=i(d);let T=new t.OptionValidator("@babel/preset-typescript");var g=r.declare(function({types:h,template:u}){function f(y,P,S){y&&(h.isStringLiteral(y)?/^\.\.?\//.test(y.value)&&(y.value=y.value.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+)?)\.([cm]?)ts$/i,function(b,C,N,F,K){return C?".js":!N||F&&K?N+F+"."+K.toLowerCase()+"js":b})):S.availableHelper("tsRewriteRelativeImportExtensions")?P.replaceWith(h.callExpression(S.addHelper("tsRewriteRelativeImportExtensions"),[y])):P.replaceWith(u.expression.ast`(${y} + "").replace(/([\\/].*\.[mc]?)tsx?$/, "$1js")`))}return{name:"preset-typescript/plugin-rewrite-ts-imports",visitor:{"ImportDeclaration|ExportAllDeclaration|ExportNamedDeclaration"(y,P){let S=y.node;(h.isImportDeclaration(S)?S.importKind:S.exportKind)==="value"&&f(S.source,y.get("source"),P)},CallExpression(y,P){h.isImport(y.node.callee)&&f(y.node.arguments[0],y.get("arguments.0"),P)},ImportExpression(y,P){f(y.node.source,y.get("source"),P)}}}}),p=r.declarePreset((h,u)=>{h.assertVersion(7);let{allExtensions:f,ignoreExtensions:y,allowNamespaces:P,disallowAmbiguousJSXLike:S,isTSX:b,jsxPragma:C,jsxPragmaFrag:N,onlyRemoveTypeImports:F,optimizeConstEnums:K,rewriteImportExtensions:L}=(function(z={}){let{allowNamespaces:te=!0,jsxPragma:$,onlyRemoveTypeImports:D}=z,W="ignoreExtensions",q="disallowAmbiguousJSXLike",re="jsxPragmaFrag",le="optimizeConstEnums",ie="rewriteImportExtensions",M="allExtensions",B="isTSX",G=T.validateStringOption(re,z.jsxPragmaFrag,"React.Fragment");var U=T.validateBooleanOption(M,z.allExtensions,!1),Q=T.validateBooleanOption(B,z.isTSX,!1);Q&&T.invariant(U,"isTSX:true requires allExtensions:true");let de=T.validateBooleanOption(W,z.ignoreExtensions,!1),se=T.validateBooleanOption(q,z.disallowAmbiguousJSXLike,!1);se&&T.invariant(U,"disallowAmbiguousJSXLike:true requires allExtensions:true");let ye={ignoreExtensions:de,allowNamespaces:te,disallowAmbiguousJSXLike:se,jsxPragma:$,jsxPragmaFrag:G,onlyRemoveTypeImports:D,optimizeConstEnums:T.validateBooleanOption(le,z.optimizeConstEnums,!1),rewriteImportExtensions:T.validateBooleanOption(ie,z.rewriteImportExtensions,!1)};return ye.allExtensions=U,ye.isTSX=Q,ye})(u),w=z=>({allowDeclareFields:u.allowDeclareFields,allowNamespaces:P,disallowAmbiguousJSXLike:z,jsxPragma:C,jsxPragmaFrag:N,onlyRemoveTypeImports:F,optimizeConstEnums:K}),O=(z,te)=>[[c.default,Object.assign({isTSX:z},w(te))]];return{plugins:L?[g]:[],overrides:f||y?[{plugins:O(b,S)}]:[{test:/\.ts$/,plugins:O(!1,!1)},{test:/\.mts$/,sourceType:"module",plugins:O(!1,!0)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[v.default,{allowTopLevelThis:!0}],[c.default,w(!0)]]},{test:/\.tsx$/,plugins:O(!0,!1)}]}});e.default=p},"./node_modules/.pnpm/@babel+preset-typescript@7.27.1_@babel+core@7.28.0/node_modules/@babel/preset-typescript/package.json":ee=>{"use strict";ee.exports=JSON.parse('{"name":"@babel/preset-typescript","version":"7.27.1","description":"Babel preset for TypeScript.","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-typescript"},"license":"MIT","publishConfig":{"access":"public"},"main":"./lib/index.js","keywords":["babel-preset","typescript"],"dependencies":{"@babel/helper-plugin-utils":"^7.27.1","@babel/helper-validator-option":"^7.27.1","@babel/plugin-syntax-jsx":"^7.27.1","@babel/plugin-transform-modules-commonjs":"^7.27.1","@babel/plugin-transform-typescript":"^7.27.1"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.27.1","@babel/helper-plugin-test-runner":"^7.27.1"},"homepage":"https://babel.dev/docs/en/next/babel-preset-typescript","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen","engines":{"node":">=6.9.0"},"author":"The Babel Team (https://babel.dev/team)","type":"commonjs"}')},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/builder.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function c(v,T){let g=new WeakMap,p=new WeakMap,h=T||(0,r.validate)(null);return Object.assign((u,...f)=>{if(typeof u=="string"){if(f.length>1)throw new Error("Unexpected extra params.");return i((0,l.default)(v,u,(0,r.merge)(h,(0,r.validate)(f[0]))))}if(Array.isArray(u)){let y=g.get(u);return y||(y=(0,d.default)(v,u,h),g.set(u,y)),i(y(f))}if(typeof u=="object"&&u){if(f.length>0)throw new Error("Unexpected extra params.");return c(v,(0,r.merge)(h,(0,r.validate)(u)))}throw new Error("Unexpected template param "+typeof u)},{ast:(u,...f)=>{if(typeof u=="string"){if(f.length>1)throw new Error("Unexpected extra params.");return(0,l.default)(v,u,(0,r.merge)((0,r.merge)(h,(0,r.validate)(f[0])),t))()}if(Array.isArray(u)){let y=p.get(u);return y||(y=(0,d.default)(v,u,(0,r.merge)(h,t)),p.set(u,y)),y(f)()}throw new Error("Unexpected template param "+typeof u)}})};var r=E("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/options.js"),l=E("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/string.js"),d=E("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/literal.js");let t=(0,r.validate)({placeholderPattern:!1});function i(c){let v="";try{throw new Error}catch(T){T.stack&&(v=T.stack.split(`
|
|
412
|
-
`).slice(3).join(`
|
|
413
|
-
`))}return T=>{try{return c(T)}catch(g){throw g.stack+=`
|
|
414
|
-
=============
|
|
415
|
-
${v}`,g}}}},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/formatters.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.statements=e.statement=e.smart=e.program=e.expression=void 0;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{assertExpressionStatement:l}=r;function d(i){return{code:c=>`/* @babel/template */;
|
|
416
|
-
${c}`,validate:()=>{},unwrap:c=>i(c.program.body.slice(1))}}e.smart=d(i=>i.length>1?i:i[0]),e.statements=d(i=>i),e.statement=d(i=>{if(i.length===0)throw new Error("Found nothing to return.");if(i.length>1)throw new Error("Found multiple statements but wanted one");return i[0]});let t=e.expression={code:i=>`(
|
|
417
|
-
${i}
|
|
418
|
-
)`,validate:i=>{if(i.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(t.unwrap(i).start===0)throw new Error("Parse result included parens.")},unwrap:({program:i})=>{let[c]=i.body;return l(c),c.expression}};e.program={code:i=>i,validate:()=>{},unwrap:i=>i.program}},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.statements=e.statement=e.smart=e.program=e.expression=e.default=void 0;var r=E("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/formatters.js"),l=E("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/builder.js");let d=e.smart=(0,l.default)(r.smart),t=e.statement=(0,l.default)(r.statement),i=e.statements=(0,l.default)(r.statements),c=e.expression=(0,l.default)(r.expression),v=e.program=(0,l.default)(r.program);e.default=Object.assign(d.bind(void 0),{smart:d,statement:t,statements:i,expression:c,program:v,ast:d.ast})},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/literal.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,i,c){let{metadata:v,names:T}=(function(g,p,h){let u="BABEL_TPL$",f=p.join("");do u="$$"+u;while(f.includes(u));let{names:y,code:P}=(function(b,C){let N=[],F=b[0];for(let K=1;K<b.length;K++){let L=`${C}${K-1}`;N.push(L),F+=L+b[K]}return{names:N,code:F}})(p,u);return{metadata:(0,l.default)(g,g.code(P),{parser:h.parser,placeholderWhitelist:new Set(y.concat(h.placeholderWhitelist?Array.from(h.placeholderWhitelist):[])),placeholderPattern:h.placeholderPattern,preserveComments:h.preserveComments,syntacticPlaceholders:h.syntacticPlaceholders}),names:y}})(t,i,c);return g=>{let p={};return g.forEach((h,u)=>{p[T[u]]=h}),h=>{let u=(0,r.normalizeReplacements)(h);return u&&Object.keys(u).forEach(f=>{if(hasOwnProperty.call(p,f))throw new Error("Unexpected replacement overlap.")}),t.unwrap((0,d.default)(v,u?Object.assign(u,p):p))}}};var r=E("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/options.js"),l=E("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/parse.js"),d=E("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/populate.js")},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/options.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.merge=function(r,l){let{placeholderWhitelist:d=r.placeholderWhitelist,placeholderPattern:t=r.placeholderPattern,preserveComments:i=r.preserveComments,syntacticPlaceholders:c=r.syntacticPlaceholders}=l;return{parser:Object.assign({},r.parser,l.parser),placeholderWhitelist:d,placeholderPattern:t,preserveComments:i,syntacticPlaceholders:c}},e.normalizeReplacements=function(r){if(Array.isArray(r))return r.reduce((l,d,t)=>(l["$"+t]=d,l),{});if(typeof r=="object"||r==null)return r||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")},e.validate=function(r){if(r!=null&&typeof r!="object")throw new Error("Unknown template options.");let l=r||{},{placeholderWhitelist:d,placeholderPattern:t,preserveComments:i,syntacticPlaceholders:c}=l,v=(function(T,g){if(T==null)return{};var p={};for(var h in T)if({}.hasOwnProperty.call(T,h)){if(g.indexOf(h)!==-1)continue;p[h]=T[h]}return p})(l,E);if(d!=null&&!(d instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(t!=null&&!(t instanceof RegExp)&&t!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(i!=null&&typeof i!="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(c!=null&&typeof c!="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(c===!0&&(d!=null||t!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:v,placeholderWhitelist:d||void 0,placeholderPattern:t??void 0,preserveComments:i??void 0,syntacticPlaceholders:c??void 0}};let E=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/parse.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(b,C,N){let{placeholderWhitelist:F,placeholderPattern:K,preserveComments:L,syntacticPlaceholders:w}=N,O=(function(te,$,D){let W=($.plugins||[]).slice();D!==!1&&W.push("placeholders"),$=Object.assign({allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowYieldOutsideFunction:!0,sourceType:"module"},$,{plugins:W});try{return(0,l.parse)(te,$)}catch(q){let re=q.loc;throw re&&(q.message+=`
|
|
419
|
-
`+(0,d.codeFrameColumns)(te,{start:re}),q.code="BABEL_TEMPLATE_PARSE_ERROR"),q}})(C,N.parser,w);f(O,{preserveComments:L}),b.validate(O);let z={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:F,placeholderPattern:K,syntacticPlaceholders:w};return y(O,S,z),Object.assign({ast:O},z.syntactic.placeholders.length?z.syntactic:z.legacy)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),l=E("./node_modules/.pnpm/@babel+parser@7.28.0/node_modules/@babel/parser/lib/index.js"),d=E("./stubs/babel-codeframe.mjs");let{isCallExpression:t,isExpressionStatement:i,isFunction:c,isIdentifier:v,isJSXIdentifier:T,isNewExpression:g,isPlaceholder:p,isStatement:h,isStringLiteral:u,removePropertiesDeep:f,traverse:y}=r,P=/^[_$A-Z0-9]+$/;function S(b,C,N){var F;let K,L=N.syntactic.placeholders.length>0;if(p(b)){if(N.syntacticPlaceholders===!1)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");K=b.name.name,L=!0}else{if(L||N.syntacticPlaceholders)return;if(v(b)||T(b))K=b.name;else{if(!u(b))return;K=b.value}}if(L&&(N.placeholderPattern!=null||N.placeholderWhitelist!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!(L||N.placeholderPattern!==!1&&(N.placeholderPattern||P).test(K)||(F=N.placeholderWhitelist)!=null&&F.has(K)))return;C=C.slice();let{node:w,key:O}=C[C.length-1],z;u(b)||p(b,{expectedNode:"StringLiteral"})?z="string":g(w)&&O==="arguments"||t(w)&&O==="arguments"||c(w)&&O==="params"?z="param":i(w)&&!p(b)?(z="statement",C=C.slice(0,-1)):z=h(b)&&p(b)?"statement":"other";let{placeholders:te,placeholderNames:$}=L?N.syntactic:N.legacy;te.push({name:K,type:z,resolve:D=>(function(W,q){let re=W;for(let M=0;M<q.length-1;M++){let{key:B,index:G}=q[M];re=G===void 0?re[B]:re[B][G]}let{key:le,index:ie}=q[q.length-1];return{parent:re,key:le,index:ie}})(D,C),isDuplicate:$.has(K)}),$.add(K)}},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/populate.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(h,u){let f=d(h.ast);return u&&(h.placeholders.forEach(y=>{if(!hasOwnProperty.call(u,y.name)){let P=y.name;throw new Error(`Error: No substitution given for "${P}". If this is not meant to be a
|
|
420
|
-
placeholder you may want to consider passing one of the following options to @babel/template:
|
|
421
|
-
- { placeholderPattern: false, placeholderWhitelist: new Set(['${P}'])}
|
|
422
|
-
- { placeholderPattern: /^${P}$/ }`)}}),Object.keys(u).forEach(y=>{if(!h.placeholderNames.has(y))throw new Error(`Unknown substitution "${y}" given`)})),h.placeholders.slice().reverse().forEach(y=>{try{var P;(function(S,b,C){S.isDuplicate&&(Array.isArray(C)?C=C.map(w=>d(w)):typeof C=="object"&&(C=d(C)));let{parent:N,key:F,index:K}=S.resolve(b);if(S.type==="string"){if(typeof C=="string"&&(C=g(C)),!C||!T(C))throw new Error("Expected string substitution")}else if(S.type==="statement")K===void 0?C?Array.isArray(C)?C=l(C):typeof C=="string"?C=i(c(C)):v(C)||(C=i(C)):C=t():C&&!Array.isArray(C)&&(typeof C=="string"&&(C=c(C)),v(C)||(C=i(C)));else if(S.type==="param"){if(typeof C=="string"&&(C=c(C)),K===void 0)throw new Error("Assertion failure.")}else if(typeof C=="string"&&(C=c(C)),Array.isArray(C))throw new Error("Cannot replace single expression with an array.");function L(w,O,z){let te=w[O];w[O]=z,te.type!=="Identifier"&&te.type!=="Placeholder"||(te.typeAnnotation&&(z.typeAnnotation=te.typeAnnotation),te.optional&&(z.optional=te.optional),te.decorators&&(z.decorators=te.decorators))}if(K===void 0)p(N,F,C),L(N,F,C);else{let w=N[F].slice();S.type==="statement"||S.type==="param"?C==null?w.splice(K,1):Array.isArray(C)?w.splice(K,1,...C):L(w,K,C):L(w,K,C),p(N,F,w),N[F]=w}})(y,f,(P=u&&u[y.name])!=null?P:null)}catch(S){throw S.message=`@babel/template placeholder "${y.name}": ${S.message}`,S}}),f};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{blockStatement:l,cloneNode:d,emptyStatement:t,expressionStatement:i,identifier:c,isStatement:v,isStringLiteral:T,stringLiteral:g,validate:p}=r},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/string.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,i,c){let v;return i=t.code(i),T=>{let g=(0,r.normalizeReplacements)(T);return v||(v=(0,l.default)(t,i,c)),t.unwrap((0,d.default)(v,g))}};var r=E("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/options.js"),l=E("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/parse.js"),d=E("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/populate.js")},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/cache.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clear=function(){l(),d()},e.clearPath=l,e.clearScope=d,e.getCachedPaths=function(t){let{parent:i,parentPath:c}=t;return E.get(i)},e.getOrCreateCachedPaths=function(t,i){let c=E.get(t);return c||E.set(t,c=new Map),c},e.scope=e.path=void 0;let E=e.path=new WeakMap,r=e.scope=new WeakMap;function l(){e.path=E=new WeakMap}function d(){e.scope=r=new WeakMap}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/context.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/index.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),d=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/context.js");let{VISITOR_KEYS:t}=l;e.default=class{constructor(i,c,v,T){this.queue=null,this.priorityQueue=null,this.parentPath=T,this.scope=i,this.state=v,this.opts=c}shouldVisit(i){let c=this.opts;if(c.enter||c.exit||c[i.type])return!0;let v=t[i.type];if(v==null||!v.length)return!1;for(let T of v)if(i[T])return!0;return!1}create(i,c,v,T){return r.default.get({parentPath:this.parentPath,parent:i,container:c,key:v,listKey:T})}maybeQueue(i,c){this.queue&&(c?this.queue.push(i):this.priorityQueue.push(i))}visitMultiple(i,c,v){if(i.length===0)return!1;let T=[];for(let g=0;g<i.length;g++){let p=i[g];p&&this.shouldVisit(p)&&T.push(this.create(c,i,g,v))}return this.visitQueue(T)}visitSingle(i,c){return!!this.shouldVisit(i[c])&&this.visitQueue([this.create(i,i,c)])}visitQueue(i){this.queue=i,this.priorityQueue=[];let c=new WeakSet,v=!1,T=0;for(;T<i.length;){let g=i[T];if(T++,d.resync.call(g),g.contexts.length!==0&&g.contexts[g.contexts.length-1]===this||d.pushContext.call(g,this),g.key===null)continue;let{node:p}=g;if(!c.has(p)){if(p&&c.add(p),g.visit()){v=!0;break}if(this.priorityQueue.length&&(v=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=i,v))break}}for(let g=0;g<T;g++)d.popContext.call(i[g]);return this.queue=null,v}visit(i,c){let v=i[c];return!!v&&(Array.isArray(v)?this.visitMultiple(v,i,c):this.visitSingle(i,c))}}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/hub.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(E,r,l=TypeError){return new l(r)}}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Hub",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"NodePath",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return c.default}}),e.visitors=e.default=void 0,E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/context.js");var r=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/visitors.js");e.visitors=r;var l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),d=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/cache.js"),t=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/traverse-node.js"),i=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/index.js"),c=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/scope/index.js"),v=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/hub.js");let{VISITOR_KEYS:T,removeProperties:g,traverseFast:p}=l;function h(u,f={},y,P,S,b){if(u){if(!f.noScope&&!y&&u.type!=="Program"&&u.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${u.type} node without passing scope and parentPath.`);if(!S&&b)throw new Error("visitSelf can only be used when providing a NodePath.");T[u.type]&&(r.explode(f),(0,t.traverseNode)(u,f,y,P,S,null,b))}}e.default=h,h.visitors=r,h.verify=r.verify,h.explode=r.explode,h.cheap=function(u,f){p(u,f)},h.node=function(u,f,y,P,S,b){(0,t.traverseNode)(u,f,y,P,S,b)},h.clearNode=function(u,f){g(u,f)},h.removeProperties=function(u,f){return p(u,h.clearNode,f),u},h.hasType=function(u,f,y){return(y==null||!y.includes(u.type))&&(u.type===f||p(u,function(P){return y!=null&&y.includes(P.type)?p.skip:P.type===f?p.stop:void 0}))},h.cache=d},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/ancestry.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.find=function(d){let t=this;do if(d(t))return t;while(t=t.parentPath);return null},e.findParent=function(d){let t=this;for(;t=t.parentPath;)if(d(t))return t;return null},e.getAncestry=function(){let d=this,t=[];do t.push(d);while(d=d.parentPath);return t},e.getDeepestCommonAncestorFrom=function(d,t){if(!d.length)return this;if(d.length===1)return d[0];let i,c,v=1/0,T=d.map(p=>{let h=[];do h.unshift(p);while((p=p.parentPath)&&p!==this);return h.length<v&&(v=h.length),h}),g=T[0];e:for(let p=0;p<v;p++){let h=g[p];for(let u of T)if(u[p]!==h)break e;i=p,c=h}if(c)return t?t(c,i,T):c;throw new Error("Couldn't find intersection")},e.getEarliestCommonAncestorFrom=function(d){return this.getDeepestCommonAncestorFrom(d,function(t,i,c){let v,T=l[t.type];for(let g of c){let p=g[i+1];if(!v){v=p;continue}if(p.listKey&&v.listKey===p.listKey&&p.key<v.key){v=p;continue}T.indexOf(v.parentKey)>T.indexOf(p.parentKey)&&(v=p)}return v})},e.getFunctionParent=function(){return this.findParent(d=>d.isFunction())},e.getStatementParent=function(){let d=this;do{if(!d.parentPath||Array.isArray(d.container)&&d.isStatement())break;d=d.parentPath}while(d);if(d&&(d.isProgram()||d.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return d},e.inType=function(...d){let t=this;for(;t;){if(d.includes(t.node.type))return!0;t=t.parentPath}return!1},e.isAncestor=function(d){return d.isDescendant(this)},e.isDescendant=function(d){return!!this.findParent(t=>t===d)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{VISITOR_KEYS:l}=r},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/comments.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addComment=function(i,c,v){l(this.node,i,c,v)},e.addComments=function(i,c){d(this.node,i,c)},e.shareCommentsWithSiblings=function(){if(typeof this.key=="string")return;let i=this.node;if(!i)return;let c=i.trailingComments,v=i.leadingComments;if(!c&&!v)return;let T=this.getSibling(this.key-1),g=this.getSibling(this.key+1),p=!!T.node,h=!!g.node;p&&(v&&T.addComments("trailing",t(v,T.node.trailingComments)),c&&!h&&T.addComments("trailing",c)),h&&(c&&g.addComments("leading",t(c,g.node.leadingComments)),v&&!p&&g.addComments("leading",v))};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{addComment:l,addComments:d}=r;function t(i,c){if(c==null||!c.length)return i;let v=new Set(c);return i.filter(T=>!v.has(T))}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/context.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._call=c,e._getQueueContexts=function(){let y=this,P=this.contexts;for(;!P.length&&(y=y.parentPath,y);)P=y.contexts;return P},e._resyncKey=h,e._resyncList=u,e._resyncParent=p,e._resyncRemoved=function(){this.key!=null&&this.container&&this.container[this.key]===this.node||d._markRemoved.call(this)},e.call=i,e.isDenylisted=v,e.popContext=function(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)},e.pushContext=function(y){this.contexts.push(y),this.setContext(y)},e.requeue=function(y=this){if(y.removed)return;let P=this.contexts;for(let S of P)S.maybeQueue(y)},e.requeueComputedKeyAndDecorators=function(){let{context:y,node:P}=this;if(!t.isPrivate(P)&&P.computed&&y.maybeQueue(this.get("key")),P.decorators)for(let S of this.get("decorators"))y.maybeQueue(S)},e.resync=function(){this.removed||(p.call(this),u.call(this),h.call(this))},e.setContext=function(y){return this.skipKeys!=null&&(this.skipKeys={}),this._traverseFlags=0,y&&(this.context=y,this.state=y.state,this.opts=y.opts),g.call(this),this},e.setKey=f,e.setScope=g,e.setup=function(y,P,S,b){this.listKey=S,this.container=P,this.parentPath=y||this.parentPath,f.call(this,b)},e.skip=function(){this.shouldSkip=!0},e.skipKey=function(y){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[y]=!0},e.stop=function(){this._traverseFlags|=l.SHOULD_SKIP|l.SHOULD_STOP},e.visit=function(){var y,P;if(!this.node||this.isDenylisted()||(y=(P=this.opts).shouldSkip)!=null&&y.call(P,this))return!1;let S=this.context;return this.shouldSkip||i.call(this,"enter")?(this.debug("Skip..."),this.shouldStop):(T(this,S),this.debug("Recursing into..."),this.shouldStop=(0,r.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),T(this,S),i.call(this,"exit"),this.shouldStop)};var r=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/traverse-node.js"),l=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/index.js"),d=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/removal.js"),t=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");function i(y){let P=this.opts;return this.debug(y),!(!this.node||!c.call(this,P[y]))||!!this.node&&c.call(this,(S=P[this.node.type])==null?void 0:S[y]);var S}function c(y){if(!y)return!1;for(let P of y){if(!P)continue;let S=this.node;if(!S)return!0;let b=P.call(this.state,this,this.state);if(b&&typeof b=="object"&&typeof b.then=="function")throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(b)throw new Error(`Unexpected return value from visitor method ${P}`);if(this.node!==S||this._traverseFlags>0)return!0}return!1}function v(){var y;let P=(y=this.opts.denylist)!=null?y:this.opts.blacklist;return P?.includes(this.node.type)}function T(y,P){y.context!==P&&(y.context=P,y.state=P.state,y.opts=P.opts)}function g(){var y,P;if((y=this.opts)!=null&&y.noScope)return;let S,b=this.parentPath;for(((this.key==="key"||this.listKey==="decorators")&&b.isMethod()||this.key==="discriminant"&&b.isSwitchStatement())&&(b=b.parentPath);b&&!S;){var C;if((C=b.opts)!=null&&C.noScope)return;S=b.scope,b=b.parentPath}this.scope=this.getScope(S),(P=this.scope)==null||P.init()}function p(){this.parentPath&&(this.parent=this.parentPath.node)}function h(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let y=0;y<this.container.length;y++)if(this.container[y]===this.node)return void f.call(this,y)}else for(let y of Object.keys(this.container))if(this.container[y]===this.node)return void f.call(this,y);this.key=null}}function u(){if(!this.parent||!this.inList)return;let y=this.parent[this.listKey];this.container!==y&&(this.container=y||null)}function f(y){var P;this.key=y,this.node=this.container[this.key],this.type=(P=this.node)==null?void 0:P.type}e.isBlacklisted=v},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/conversion.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arrowFunctionToExpression=function({allowInsertArrow:pe=!0,allowInsertArrowWithRest:j=pe,noNewArrows:Te=!(De=>(De=arguments[0])==null?void 0:De.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let De=this;var Fe;Te||(De=(Fe=De.ensureFunctionName(!1))!=null?Fe:De);let{thisBinding:Pe,fnPath:ke}=we(De,Te,pe,j);if(ke.ensureBlock(),(function(Oe,We){Oe.node.type=We})(ke,"FunctionExpression"),!Te){let Oe=Pe?null:ke.scope.generateUidIdentifier("arrowCheckId");return Oe&&ke.parentPath.scope.push({id:Oe,init:F([])}),ke.get("body").unshiftContainer("body",h(g(this.hub.addHelper("newArrowCheck"),[$(),u(Oe?Oe.name:Pe)]))),ke.replaceWith(g(b(ke.node,u("bind")),[Oe?u(Oe.name):$()])),ke.get("callee.object")}return ke},e.ensureBlock=function(){let pe=this.get("body"),j=pe.node;if(Array.isArray(pe))throw new Error("Can't convert array path to a block statement");if(!j)throw new Error("Can't convert node without a body");if(pe.isBlockStatement())return j;let Te=[],De,Fe,Pe="body";pe.isStatement()?(Fe="body",De=0,Te.push(pe.node)):(Pe+=".body.0",this.isFunction()?(De="argument",Te.push(L(pe.node))):(De="expression",Te.push(h(pe.node)))),this.node.body=T(Te);let ke=this.get(Pe);return t.setup.call(pe,ke,Fe?ke.node[Fe]:ke.node,Fe,De),this.node},e.ensureFunctionName=function(pe){if(this.node.id)return this;let j=M(this.node,this.parent);if(j==null)return this;let{name:Te}=j;if(!pe&&/[\uD800-\uDFFF]/.test(Te)||Te.startsWith("get ")||Te.startsWith("set "))return null;Te=q(Te.replace(/[/ ]/g,"_"));let De=u(Te);se(De,j.originalNode);let Fe={needsRename:!1,name:Te},{scope:Pe}=this,ke=Pe.getOwnBinding(Te);if(ke?ke.kind==="param"&&(Fe.needsRename=!0):(Pe.parent.hasBinding(Te)||Pe.hasGlobal(Te))&&this.traverse(Se,Fe),!Fe.needsRename)return this.node.id=De,Pe.getProgramParent().references[De.name]=!0,this;if(Pe.hasBinding(De.name)&&!Pe.hasGlobal(De.name))return Pe.rename(De.name),this.node.id=De,Pe.getProgramParent().references[De.name]=!0,this;if(!re(this.node))return null;let Oe=Pe.generateUidIdentifier(De.name),We=[];for(let at=0,ut=(function(pt){let qe=pt.params.findIndex(rt=>le(rt)||ie(rt));return qe===-1?pt.params.length:qe})(this.node);at<ut;at++)We.push(Pe.generateUidIdentifier("x"));let Re=l.default.expression.ast`
|
|
423
|
-
(function (${Oe}) {
|
|
424
|
-
function ${De}(${We}) {
|
|
425
|
-
return ${B(Oe)}.apply(this, arguments);
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
${B(De)}.toString = function () {
|
|
429
|
-
return ${B(Oe)}.toString();
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
return ${B(De)};
|
|
433
|
-
})(${D(this.node)})
|
|
434
|
-
`;return this.replaceWith(Re)[0].get("arguments.0")},e.splitExportDeclaration=function(){if(!this.isExportDeclaration()||this.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(this.isExportNamedDeclaration()&&this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let pe=this.get("declaration");if(this.isExportDefaultDeclaration()){let Fe=pe.isFunctionDeclaration()||pe.isClassDeclaration(),Pe=pe.isFunctionExpression()||pe.isClassExpression(),ke=pe.isScope()?pe.scope.parent:pe.scope,Oe=pe.node.id,We=!1;Oe?Pe&&ke.hasBinding(Oe.name)&&(We=!0,Oe=ke.generateUidIdentifier(Oe.name)):(We=!0,Oe=ke.generateUidIdentifier("default"),(Fe||Pe)&&(pe.node.id=B(Oe)));let Re=Fe?pe.node:G("var",[U(B(Oe),pe.node)]),at=Q(null,[de(B(Oe),u("default"))]);return this.insertAfter(at),this.replaceWith(Re),We&&ke.registerDeclaration(this),this}if(this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let j=pe.getOuterBindingIdentifiers(),Te=Object.keys(j).map(Fe=>de(u(Fe),u(Fe))),De=Q(null,Te);return this.insertAfter(De),this.replaceWith(pe.node),this},e.toComputedKey=function(){let pe;if(this.isMemberExpression())pe=this.node.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");pe=this.node.key}return this.node.computed||f(pe)&&(pe=z(pe.name)),pe},e.unwrapFunctionEnvironment=function(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");we(this)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),l=E("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/index.js"),d=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/visitors.js"),t=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/context.js");let{arrowFunctionExpression:i,assignmentExpression:c,binaryExpression:v,blockStatement:T,callExpression:g,conditionalExpression:p,expressionStatement:h,identifier:u,isIdentifier:f,jsxIdentifier:y,logicalExpression:P,LOGICAL_OPERATORS:S,memberExpression:b,metaProperty:C,numericLiteral:N,objectExpression:F,restElement:K,returnStatement:L,sequenceExpression:w,spreadElement:O,stringLiteral:z,super:te,thisExpression:$,toExpression:D,unaryExpression:W,toBindingIdentifierName:q,isFunction:re,isAssignmentPattern:le,isRestElement:ie,getFunctionName:M,cloneNode:B,variableDeclaration:G,variableDeclarator:U,exportNamedDeclaration:Q,exportSpecifier:de,inherits:se}=r;e.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};let ye=(0,d.environmentVisitor)({CallExpression(pe,{allSuperCalls:j}){pe.get("callee").isSuper()&&j.push(pe)}});function we(pe,j=!0,Te=!0,De=!0){let Fe,Pe=pe.findParent(qe=>qe.isArrowFunctionExpression()?(Fe!=null||(Fe=qe),!1):qe.isFunction()||qe.isProgram()||qe.isClassProperty({static:!1})||qe.isClassPrivateProperty({static:!1})),ke=Pe.isClassMethod({kind:"constructor"});if(Pe.isClassProperty()||Pe.isClassPrivateProperty())if(Fe)Pe=Fe;else{if(!Te)throw pe.buildCodeFrameError("Unable to transform arrow inside class property");pe.replaceWith(g(i([],D(pe.node)),[])),Pe=pe.get("callee"),pe=Pe.get("body")}let{thisPaths:Oe,argumentsPaths:We,newTargetPaths:Re,superProps:at,superCalls:ut}=(function(qe){let rt=[],Ve=[],Ne=[],ae=[],_e=[];return qe.traverse(me,{thisPaths:rt,argumentsPaths:Ve,newTargetPaths:Ne,superProps:ae,superCalls:_e}),{thisPaths:rt,argumentsPaths:Ve,newTargetPaths:Ne,superProps:ae,superCalls:_e}})(pe);if(ke&&ut.length>0){if(!Te)throw ut[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!De)throw ut[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");let qe=[];Pe.traverse(ye,{allSuperCalls:qe});let rt=(function(Ve){return H(Ve,"supercall",()=>{let Ne=Ve.scope.generateUidIdentifier("args");return i([K(Ne)],g(te(),[O(u(Ne.name))]))})})(Pe);qe.forEach(Ve=>{let Ne=u(rt);Ne.loc=Ve.node.callee.loc,Ve.get("callee").replaceWith(Ne)})}if(We.length>0){let qe=H(Pe,"arguments",()=>{let rt=()=>u("arguments");return Pe.scope.path.isProgram()?p(v("===",W("typeof",rt()),z("undefined")),Pe.scope.buildUndefinedNode(),rt()):rt()});We.forEach(rt=>{let Ve=u(qe);Ve.loc=rt.node.loc,rt.replaceWith(Ve)})}if(Re.length>0){let qe=H(Pe,"newtarget",()=>C(u("new"),u("target")));Re.forEach(rt=>{let Ve=u(qe);Ve.loc=rt.node.loc,rt.replaceWith(Ve)})}if(at.length>0){if(!Te)throw at[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");at.reduce((qe,rt)=>qe.concat((function(Ve){if(Ve.parentPath.isAssignmentExpression()&&Ve.parentPath.node.operator!=="="){let ae=Ve.parentPath,_e=ae.node.operator.slice(0,-1),$e=ae.node.right,st=(function(et){return S.includes(et)})(_e);if(Ve.node.computed){let et=Ve.scope.generateDeclaredUidIdentifier("tmp"),oe=Ve.node.object,Ae=Ve.node.property;ae.get("left").replaceWith(b(oe,c("=",et,Ae),!0)),ae.get("right").replaceWith(Ne(st?"=":_e,b(oe,u(et.name),!0),$e))}else{let et=Ve.node.object,oe=Ve.node.property;ae.get("left").replaceWith(b(et,oe)),ae.get("right").replaceWith(Ne(st?"=":_e,b(et,u(oe.name)),$e))}return st?ae.replaceWith(P(_e,ae.node.left,ae.node.right)):ae.node.operator="=",[ae.get("left"),ae.get("right").get("left")]}if(Ve.parentPath.isUpdateExpression()){let ae=Ve.parentPath,_e=Ve.scope.generateDeclaredUidIdentifier("tmp"),$e=Ve.node.computed?Ve.scope.generateDeclaredUidIdentifier("prop"):null,st=[c("=",_e,b(Ve.node.object,$e?c("=",$e,Ve.node.property):Ve.node.property,Ve.node.computed)),c("=",b(Ve.node.object,$e?u($e.name):Ve.node.property,Ve.node.computed),v(Ve.parentPath.node.operator[0],u(_e.name),N(1)))];return Ve.parentPath.node.prefix||st.push(u(_e.name)),ae.replaceWith(w(st)),[ae.get("expressions.0.right"),ae.get("expressions.1.left")]}return[Ve];function Ne(ae,_e,$e){return ae==="="?c("=",_e,$e):v(ae,_e,$e)}})(rt)),[]).forEach(qe=>{let rt=qe.node.computed?"":qe.get("property").node.name,Ve=qe.parentPath,Ne=Ve.isAssignmentExpression({left:qe.node}),ae=Ve.isCallExpression({callee:qe.node}),_e=Ve.isTaggedTemplateExpression({tag:qe.node}),$e=(function(oe,Ae,Ge){return H(oe,`superprop_${Ae?"set":"get"}:${Ge||""}`,()=>{let Ee=[],Le;if(Ge)Le=b(te(),u(Ge));else{let Ie=oe.scope.generateUidIdentifier("prop");Ee.unshift(Ie),Le=b(te(),u(Ie.name),!0)}if(Ae){let Ie=oe.scope.generateUidIdentifier("value");Ee.push(Ie),Le=c("=",Le,u(Ie.name))}return i(Ee,Le)})})(Pe,Ne,rt),st=[];if(qe.node.computed&&st.push(qe.get("property").node),Ne){let oe=Ve.node.right;st.push(oe)}let et=g(u($e),st);ae?(Ve.unshiftContainer("arguments",$()),qe.replaceWith(b(et,u("call"))),Oe.push(Ve.get("arguments.0"))):Ne?Ve.replaceWith(et):_e?(qe.replaceWith(g(b(et,u("bind"),!1),[$()])),Oe.push(qe.get("arguments.0"))):qe.replaceWith(et)})}let pt;return(Oe.length>0||!j)&&(pt=(function(qe,rt){return H(qe,"this",Ve=>{if(!rt||!ve(qe))return $();qe.traverse(ce,{supers:new WeakSet,thisBinding:Ve})})})(Pe,ke),(j||ke&&ve(Pe))&&(Oe.forEach(qe=>{let rt=qe.isJSX()?y(pt):u(pt);rt.loc=qe.node.loc,qe.replaceWith(rt)}),j||(pt=null))),{thisBinding:pt,fnPath:pe}}function ve(pe){return pe.isClassMethod()&&!!pe.parentPath.parentPath.node.superClass}let ce=(0,d.environmentVisitor)({CallExpression(pe,{supers:j,thisBinding:Te}){pe.get("callee").isSuper()&&(j.has(pe.node)||(j.add(pe.node),pe.replaceWithMultiple([pe.node,c("=",u(Te),u("this"))])))}});function H(pe,j,Te){let De="binding:"+j,Fe=pe.getData(De);if(!Fe){let Pe=pe.scope.generateUidIdentifier(j);Fe=Pe.name,pe.setData(De,Fe),pe.scope.push({id:Pe,init:Te(Fe)})}return Fe}let me=(0,d.environmentVisitor)({ThisExpression(pe,{thisPaths:j}){j.push(pe)},JSXIdentifier(pe,{thisPaths:j}){pe.node.name==="this"&&(pe.parentPath.isJSXMemberExpression({object:pe.node})||pe.parentPath.isJSXOpeningElement({name:pe.node}))&&j.push(pe)},CallExpression(pe,{superCalls:j}){pe.get("callee").isSuper()&&j.push(pe)},MemberExpression(pe,{superProps:j}){pe.get("object").isSuper()&&j.push(pe)},Identifier(pe,{argumentsPaths:j}){if(!pe.isReferencedIdentifier({name:"arguments"}))return;let Te=pe.scope;do{if(Te.hasOwnBinding("arguments"))return void Te.rename("arguments");if(Te.path.isFunction()&&!Te.path.isArrowFunctionExpression())break}while(Te=Te.parent);j.push(pe)},MetaProperty(pe,{newTargetPaths:j}){pe.get("meta").isIdentifier({name:"new"})&&pe.get("property").isIdentifier({name:"target"})&&j.push(pe)}}),Se={"ReferencedIdentifier|BindingIdentifier"(pe,j){pe.node.name===j.name&&(j.needsRename=!0,pe.stop())},Scope(pe,j){pe.scope.hasOwnBinding(j.name)&&pe.skip()}}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/evaluation.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.evaluate=function(){let T={confident:!0,deoptPath:null,seen:new Map},g=c(this,T);return T.confident||(g=void 0),{confident:T.confident,deopt:T.deoptPath,value:g}},e.evaluateTruthy=function(){let T=this.evaluate();if(T.confident)return!!T.value};let E=["Number","String","Math"],r=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],l=["random"];function d(T){return E.includes(T)}function t(T,g){g.confident&&(g.deoptPath=T,g.confident=!1)}let i=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function c(T,g){let{node:p}=T,{seen:h}=g;if(h.has(p)){let u=h.get(p);return u.resolved?u.value:void t(T,g)}{let u={resolved:!1};h.set(p,u);let f=(function(y,P){if(P.confident){if(y.isSequenceExpression()){let b=y.get("expressions");return c(b[b.length-1],P)}if(y.isStringLiteral()||y.isNumericLiteral()||y.isBooleanLiteral())return y.node.value;if(y.isNullLiteral())return null;if(y.isTemplateLiteral())return v(y,y.node.quasis,P);if(y.isTaggedTemplateExpression()&&y.get("tag").isMemberExpression()){let b=y.get("tag.object"),{node:{name:C}}=b,N=y.get("tag.property");if(b.isIdentifier()&&C==="String"&&!y.scope.getBinding(C)&&N.isIdentifier()&&N.node.name==="raw")return v(y,y.node.quasi.quasis,P,!0)}if(y.isConditionalExpression()){let b=c(y.get("test"),P);return P.confident?c(b?y.get("consequent"):y.get("alternate"),P):void 0}if(y.isExpressionWrapper())return c(y.get("expression"),P);if(y.isMemberExpression()&&!y.parentPath.isCallExpression({callee:y.node})){let b=y.get("property"),C=y.get("object");if(C.isLiteral()){let N=C.node.value,F=typeof N,K=null;if(y.node.computed){if(K=c(b,P),!P.confident)return}else b.isIdentifier()&&(K=b.node.name);if(!(F!=="number"&&F!=="string"||K==null||typeof K!="number"&&typeof K!="string"))return N[K]}}if(y.isReferencedIdentifier()){let b=y.scope.getBinding(y.node.name);if(b){if(b.constantViolations.length>0||y.node.start<b.path.node.end)return void t(b.path,P);let K=b.path.scope;if(b.kind==="var"&&K!==b.scope){let L=!K.path.parentPath.isBlockStatement();for(let w=K.parent;w;w=w.parent){var S;if(w===y.scope){if(L)return void t(b.path,P);break}(S=w.path.parentPath)!=null&&S.isBlockStatement()&&(L=!0)}}if(b.hasValue)return b.value}let C=y.node.name;if(i.has(C))return b?void t(b.path,P):i.get(C);let N=y.resolve();if(N===y)return void t(y,P);let F=c(N,P);return typeof F=="object"&&F!==null&&b.references>1?void t(N,P):F}if(y.isUnaryExpression({prefix:!0})){if(y.node.operator==="void")return;let b=y.get("argument");if(y.node.operator==="typeof"&&(b.isFunction()||b.isClass()))return"function";let C=c(b,P);if(!P.confident)return;switch(y.node.operator){case"!":return!C;case"+":return+C;case"-":return-C;case"~":return~C;case"typeof":return typeof C}}if(y.isArrayExpression()){let b=[],C=y.get("elements");for(let N of C){let F=N.evaluate();if(!F.confident)return void t(F.deopt,P);b.push(F.value)}return b}if(y.isObjectExpression()){let b={},C=y.get("properties");for(let N of C){if(N.isObjectMethod()||N.isSpreadElement())return void t(N,P);let F=N.get("key"),K;if(N.node.computed){if(K=F.evaluate(),!K.confident)return void t(K.deopt,P);K=K.value}else K=F.isIdentifier()?F.node.name:F.node.value;let L=N.get("value").evaluate();if(!L.confident)return void t(L.deopt,P);L=L.value,b[K]=L}return b}if(y.isLogicalExpression()){let b=P.confident,C=c(y.get("left"),P),N=P.confident;P.confident=b;let F=c(y.get("right"),P),K=P.confident;switch(y.node.operator){case"||":return P.confident=N&&(!!C||K),P.confident?C||F:void 0;case"&&":return P.confident=N&&(!C||K),P.confident?C&&F:void 0;case"??":return P.confident=N&&(C!=null||K),P.confident?C??F:void 0}}if(y.isBinaryExpression()){let b=c(y.get("left"),P);if(!P.confident)return;let C=c(y.get("right"),P);if(!P.confident)return;switch(y.node.operator){case"-":return b-C;case"+":return b+C;case"/":return b/C;case"*":return b*C;case"%":return b%C;case"**":return Math.pow(b,C);case"<":return b<C;case">":return b>C;case"<=":return b<=C;case">=":return b>=C;case"==":return b==C;case"!=":return b!=C;case"===":return b===C;case"!==":return b!==C;case"|":return b|C;case"&":return b&C;case"^":return b^C;case"<<":return b<<C;case">>":return b>>C;case">>>":return b>>>C}}if(y.isCallExpression()){let b=y.get("callee"),C,N;if(b.isIdentifier()&&!y.scope.getBinding(b.node.name)&&(d(b.node.name)||(function(F){return r.includes(F)})(b.node.name))&&(N=global[b.node.name]),b.isMemberExpression()){let F=b.get("object"),K=b.get("property");if(F.isIdentifier()&&K.isIdentifier()&&d(F.node.name)&&!(function(L){return l.includes(L)})(K.node.name)){C=global[F.node.name];let L=K.node.name;hasOwnProperty.call(C,L)&&(N=C[L])}if(F.isLiteral()&&K.isIdentifier()){let L=typeof F.node.value;L!=="string"&&L!=="number"||(C=F.node.value,N=C[K.node.name])}}if(N){let F=y.get("arguments").map(K=>c(K,P));return P.confident?N.apply(C,F):void 0}}t(y,P)}})(T,g);return g.confident&&(u.resolved=!0,u.value=f),f}}function v(T,g,p,h=!1){let u="",f=0,y=T.isTemplateLiteral()?T.get("expressions"):T.get("quasi.expressions");for(let P of g){if(!p.confident)break;u+=h?P.value.raw:P.value.cooked;let S=y[f++];S&&(u+=String(c(S,p)))}if(p.confident)return u}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/family.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._getKey=P,e._getPattern=S,e.get=function(b,C=!0){C===!0&&(C=this.context);let N=b.split(".");return N.length===1?P.call(this,b,C):S.call(this,N,C)},e.getAllNextSiblings=function(){let b=this.key,C=this.getSibling(++b),N=[];for(;C.node;)N.push(C),C=this.getSibling(++b);return N},e.getAllPrevSiblings=function(){let b=this.key,C=this.getSibling(--b),N=[];for(;C.node;)N.push(C),C=this.getSibling(--b);return N},e.getAssignmentIdentifiers=function(){return d(this.node)},e.getBindingIdentifierPaths=function(b=!1,C=!1){let N=[this],F=Object.create(null);for(;N.length;){let K=N.shift();if(!K||!K.node)continue;let L=t.keys[K.node.type];if(K.isIdentifier())b?(F[K.node.name]=F[K.node.name]||[]).push(K):F[K.node.name]=K;else{if(K.isExportDeclaration()){let w=K.get("declaration");w.isDeclaration()&&N.push(w);continue}if(C){if(K.isFunctionDeclaration()){N.push(K.get("id"));continue}if(K.isFunctionExpression())continue}if(L)for(let w=0;w<L.length;w++){let O=L[w],z=K.get(O);Array.isArray(z)?N.push(...z):z.node&&N.push(z)}}}return F},e.getBindingIdentifiers=function(b){return t(this.node,b)},e.getCompletionRecords=function(b=!1){return y(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1,shouldPreserveBreak:b}).map(C=>C.path)},e.getNextSibling=function(){return this.getSibling(this.key+1)},e.getOpposite=function(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null},e.getOuterBindingIdentifierPaths=function(b=!1){return this.getBindingIdentifierPaths(b,!0)},e.getOuterBindingIdentifiers=function(b){return i(this.node,b)},e.getPrevSibling=function(){return this.getSibling(this.key-1)},e.getSibling=function(b){return r.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:b}).setContext(this.context)};var r=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/index.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{getAssignmentIdentifiers:d,getBindingIdentifiers:t,getOuterBindingIdentifiers:i,numericLiteral:c,unaryExpression:v}=l,T=0,g=1;function p(b,C,N){return b&&C.push(...y(b,N)),C}function h(b){b.forEach(C=>{C.type=g})}function u(b,C){b.forEach(N=>{N.path.isBreakStatement({label:null})&&(C?N.path.replaceWith(v("void",c(0))):N.path.remove())})}function f(b,C){let N=[];if(C.canHaveBreak){let F=[];for(let K=0;K<b.length;K++){let L=b[K],w=Object.assign({},C,{inCaseClause:!1});L.isBlockStatement()&&(C.inCaseClause||C.shouldPopulateBreak)?w.shouldPopulateBreak=!0:w.shouldPopulateBreak=!1;let O=y(L,w);if(O.length>0&&O.every(z=>z.type===g)){F.length>0&&O.every(z=>z.path.isBreakStatement({label:null}))?(h(F),N.push(...F),F.some(z=>z.path.isDeclaration())&&(N.push(...O),C.shouldPreserveBreak||u(O,!0)),C.shouldPreserveBreak||u(O,!1)):(N.push(...O),C.shouldPopulateBreak||C.shouldPreserveBreak||u(O,!0));break}if(K===b.length-1)N.push(...O);else{F=[];for(let z=0;z<O.length;z++){let te=O[z];te.type===g&&N.push(te),te.type===T&&F.push(te)}}}}else if(b.length)for(let F=b.length-1;F>=0;F--){let K=y(b[F],C);if(K.length>1||K.length===1&&!K[0].path.isVariableDeclaration()&&!K[0].path.isEmptyStatement()){N.push(...K);break}}return N}function y(b,C){let N=[];if(b.isIfStatement())N=p(b.get("consequent"),N,C),N=p(b.get("alternate"),N,C);else{if(b.isDoExpression()||b.isFor()||b.isWhile()||b.isLabeledStatement())return p(b.get("body"),N,C);if(b.isProgram()||b.isBlockStatement())return f(b.get("body"),C);if(b.isFunction())return y(b.get("body"),C);if(b.isTryStatement())N=p(b.get("block"),N,C),N=p(b.get("handler"),N,C);else{if(b.isCatchClause())return p(b.get("body"),N,C);if(b.isSwitchStatement())return(function(F,K,L){let w=[];for(let O=0;O<F.length;O++){let z=y(F[O],L),te=[],$=[];for(let D of z)D.type===T&&te.push(D),D.type===g&&$.push(D);te.length&&(w=te),K.push(...$)}return K.push(...w),K})(b.get("cases"),N,C);if(b.isSwitchCase())return f(b.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0,shouldPreserveBreak:C.shouldPreserveBreak});b.isBreakStatement()?N.push((function(F){return{type:g,path:F}})(b)):N.push((function(F){return{type:T,path:F}})(b))}}return N}function P(b,C){let N=this.node,F=N[b];return Array.isArray(F)?F.map((K,L)=>r.default.get({listKey:b,parentPath:this,parent:N,container:F,key:L}).setContext(C)):r.default.get({parentPath:this,parent:N,container:N,key:b}).setContext(C)}function S(b,C){let N=this;for(let F of b)N=F==="."?N.parentPath:Array.isArray(N)?N[F]:N.get(F,C);return N}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.SHOULD_STOP=e.SHOULD_SKIP=e.REMOVED=void 0;var r=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/lib/virtual-types.js"),l=E("./node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js"),d=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js"),t=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/scope/index.js"),i=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),c=i,v=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/cache.js"),T=E("./node_modules/.pnpm/@babel+generator@7.28.0/node_modules/@babel/generator/lib/index.js"),g=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/ancestry.js"),p=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/inference/index.js"),h=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/replacement.js"),u=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/evaluation.js"),f=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/conversion.js"),y=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/introspection.js"),P=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/context.js"),S=P,b=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/removal.js"),C=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/modification.js"),N=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/family.js"),F=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/comments.js"),K=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js");let{validate:L}=i,w=l("babel"),O=(e.REMOVED=1,e.SHOULD_STOP=2,e.SHOULD_SKIP=4,e.default=class er{constructor($,D){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this._store=null,this.parent=D,this.hub=$,this.data=null,this.context=null,this.scope=null}get removed(){return(1&this._traverseFlags)>0}set removed($){$?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(2&this._traverseFlags)>0}set shouldStop($){$?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(4&this._traverseFlags)>0}set shouldSkip($){$?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:$,parentPath:D,parent:W,container:q,listKey:re,key:le}){if(!$&&D&&($=D.hub),!W)throw new Error("To get a node path the parent needs to exist");let ie=q[le],M=v.getOrCreateCachedPaths(W,D),B=M.get(ie);return B||(B=new er($,W),ie&&M.set(ie,B)),P.setup.call(B,D,q,re,le),B}getScope($){return this.isScope()?new t.default(this):$}setData($,D){return this.data==null&&(this.data=Object.create(null)),this.data[$]=D}getData($,D){this.data==null&&(this.data=Object.create(null));let W=this.data[$];return W===void 0&&D!==void 0&&(W=this.data[$]=D),W}hasNode(){return this.node!=null}buildCodeFrameError($,D=SyntaxError){return this.hub.buildError(this.node,$,D)}traverse($,D){(0,d.default)(this.node,$,this.scope,D,this)}set($,D){L(this.node,$,D),this.node[$]=D}getPathLocation(){let $=[],D=this;do{let W=D.key;D.inList&&(W=`${D.listKey}[${W}]`),$.unshift(W)}while(D=D.parentPath);return $.join(".")}debug($){w.enabled&&w(`${this.getPathLocation()} ${this.type}: ${$}`)}toString(){return(0,T.default)(this.node).code}get inList(){return!!this.listKey}set inList($){$||(this.listKey=null)}get parentKey(){return this.listKey||this.key}}),z={findParent:g.findParent,find:g.find,getFunctionParent:g.getFunctionParent,getStatementParent:g.getStatementParent,getEarliestCommonAncestorFrom:g.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:g.getDeepestCommonAncestorFrom,getAncestry:g.getAncestry,isAncestor:g.isAncestor,isDescendant:g.isDescendant,inType:g.inType,getTypeAnnotation:p.getTypeAnnotation,isBaseType:p.isBaseType,couldBeBaseType:p.couldBeBaseType,baseTypeStrictlyMatches:p.baseTypeStrictlyMatches,isGenericType:p.isGenericType,replaceWithMultiple:h.replaceWithMultiple,replaceWithSourceString:h.replaceWithSourceString,replaceWith:h.replaceWith,replaceExpressionWithStatements:h.replaceExpressionWithStatements,replaceInline:h.replaceInline,evaluateTruthy:u.evaluateTruthy,evaluate:u.evaluate,toComputedKey:f.toComputedKey,ensureBlock:f.ensureBlock,unwrapFunctionEnvironment:f.unwrapFunctionEnvironment,arrowFunctionToExpression:f.arrowFunctionToExpression,splitExportDeclaration:f.splitExportDeclaration,ensureFunctionName:f.ensureFunctionName,matchesPattern:y.matchesPattern,isStatic:y.isStatic,isNodeType:y.isNodeType,canHaveVariableDeclarationOrExpression:y.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:y.canSwapBetweenExpressionAndStatement,isCompletionRecord:y.isCompletionRecord,isStatementOrBlock:y.isStatementOrBlock,referencesImport:y.referencesImport,getSource:y.getSource,willIMaybeExecuteBefore:y.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:y._guessExecutionStatusRelativeTo,resolve:y.resolve,isConstantExpression:y.isConstantExpression,isInStrictMode:y.isInStrictMode,isDenylisted:S.isDenylisted,visit:S.visit,skip:S.skip,skipKey:S.skipKey,stop:S.stop,setContext:S.setContext,requeue:S.requeue,requeueComputedKeyAndDecorators:S.requeueComputedKeyAndDecorators,remove:b.remove,insertBefore:C.insertBefore,insertAfter:C.insertAfter,unshiftContainer:C.unshiftContainer,pushContainer:C.pushContainer,getOpposite:N.getOpposite,getCompletionRecords:N.getCompletionRecords,getSibling:N.getSibling,getPrevSibling:N.getPrevSibling,getNextSibling:N.getNextSibling,getAllNextSiblings:N.getAllNextSiblings,getAllPrevSiblings:N.getAllPrevSiblings,get:N.get,getAssignmentIdentifiers:N.getAssignmentIdentifiers,getBindingIdentifiers:N.getBindingIdentifiers,getOuterBindingIdentifiers:N.getOuterBindingIdentifiers,getBindingIdentifierPaths:N.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:N.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:F.shareCommentsWithSiblings,addComment:F.addComment,addComments:F.addComments};Object.assign(O.prototype,z),O.prototype.arrowFunctionToShadowed=f.arrowFunctionToShadowed,Object.assign(O.prototype,{has:y.has,is:y.is,isnt:y.isnt,equals:y.equals,hoist:C.hoist,updateSiblingKeys:C.updateSiblingKeys,call:S.call,isBlacklisted:S.isBlacklisted,setScope:S.setScope,resync:S.resync,popContext:S.popContext,pushContext:S.pushContext,setup:S.setup,setKey:S.setKey}),O.prototype._guessExecutionStatusRelativeToDifferentFunctions=y._guessExecutionStatusRelativeTo,O.prototype._guessExecutionStatusRelativeToDifferentFunctions=y._guessExecutionStatusRelativeTo,Object.assign(O.prototype,{_getTypeAnnotation:p._getTypeAnnotation,_replaceWith:h._replaceWith,_resolve:y._resolve,_call:S._call,_resyncParent:S._resyncParent,_resyncKey:S._resyncKey,_resyncList:S._resyncList,_resyncRemoved:S._resyncRemoved,_getQueueContexts:S._getQueueContexts,_removeFromScope:b._removeFromScope,_callRemovalHooks:b._callRemovalHooks,_remove:b._remove,_markRemoved:b._markRemoved,_assertUnremoved:b._assertUnremoved,_containerInsert:C._containerInsert,_containerInsertBefore:C._containerInsertBefore,_containerInsertAfter:C._containerInsertAfter,_verifyNodeList:C._verifyNodeList,_getKey:N._getKey,_getPattern:N._getPattern});for(let te of c.TYPES){let $=`is${te}`,D=c[$];O.prototype[$]=function(W){return D(this.node,W)},O.prototype[`assert${te}`]=function(W){if(!D(this.node,W))throw new TypeError(`Expected node path of type ${te}`)}}Object.assign(O.prototype,K);for(let te of Object.keys(r))te[0]!=="_"&&(c.TYPES.includes(te)||c.TYPES.push(te))},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/inference/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._getTypeAnnotation=O,e.baseTypeStrictlyMatches=function(te){let $=this.getTypeAnnotation(),D=te.getTypeAnnotation();return!t($)&&T($)?D.type===$.type:!1},e.couldBeBaseType=function(te){let $=this.getTypeAnnotation();if(t($))return!0;if(N($)){for(let D of $.types)if(t(D)||z(te,D,!0))return!0;return!1}return z(te,$,!0)},e.getTypeAnnotation=function(){let te=this.getData("typeAnnotation");return te??(te=O.call(this)||d(),(C(te)||P(te))&&(te=te.typeAnnotation),this.setData("typeAnnotation",te),te)},e.isBaseType=function(te,$){return z(te,this.getTypeAnnotation(),$)},e.isGenericType=function(te){let $=this.getTypeAnnotation();return te==="Array"&&(y($)||i($)||b($))?!0:g($)&&p($.id,{name:te})||S($)&&p($.typeName,{name:te})};var r=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/inference/inferers.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{anyTypeAnnotation:d,isAnyTypeAnnotation:t,isArrayTypeAnnotation:i,isBooleanTypeAnnotation:c,isEmptyTypeAnnotation:v,isFlowBaseAnnotation:T,isGenericTypeAnnotation:g,isIdentifier:p,isMixedTypeAnnotation:h,isNumberTypeAnnotation:u,isStringTypeAnnotation:f,isTSArrayType:y,isTSTypeAnnotation:P,isTSTypeReference:S,isTupleTypeAnnotation:b,isTypeAnnotation:C,isUnionTypeAnnotation:N,isVoidTypeAnnotation:F,stringTypeAnnotation:K,voidTypeAnnotation:L}=l,w=new WeakSet;function O(){let te=this.node;if(te){if(te.typeAnnotation)return te.typeAnnotation;if(!w.has(te)){w.add(te);try{var $;let D=r[te.type];if(D)return D.call(this,te);if(D=r[this.parentPath.type],($=D)!=null&&$.validParent)return this.parentPath.getTypeAnnotation()}finally{w.delete(te)}}}else if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let D=this.parentPath.parentPath,W=D.parentPath;return D.key==="left"&&W.isForInStatement()?K():D.key==="left"&&W.isForOfStatement()?d():L()}}function z(te,$,D){if(te==="string")return f($);if(te==="number")return u($);if(te==="boolean")return c($);if(te==="any")return t($);if(te==="mixed")return h($);if(te==="empty")return v($);if(te==="void")return F($);if(D)return!1;throw new Error(`Unknown base type ${te}`)}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p){if(!this.isReferenced())return;let h=this.scope.getBinding(p.name);if(h)return h.identifier.typeAnnotation?h.identifier.typeAnnotation:(function(u,f,y){let P=[],S=[],b=v(u,f,S),C=g(u,f,y);if(C){let N=v(u,C.ifStatement);b=b.filter(F=>!N.includes(F)),P.push(C.typeAnnotation)}if(b.length){b.push(...S);for(let N of b)P.push(N.getTypeAnnotation())}if(P.length)return(0,l.createUnionType)(P)})(h,this,p.name);if(p.name==="undefined")return c();if(p.name==="NaN"||p.name==="Infinity")return i();p.name};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),l=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/inference/util.js");let{BOOLEAN_NUMBER_BINARY_OPERATORS:d,createTypeAnnotationBasedOnTypeof:t,numberTypeAnnotation:i,voidTypeAnnotation:c}=r;function v(p,h,u){let f=p.constantViolations.slice();return f.unshift(p.path),f.filter(y=>{let P=(y=y.resolve())._guessExecutionStatusRelativeTo(h);return u&&P==="unknown"&&u.push(y),P==="before"})}function T(p,h){let u=h.node.operator,f=h.get("right").resolve(),y=h.get("left").resolve(),P,S,b;if(y.isIdentifier({name:p})?P=f:f.isIdentifier({name:p})&&(P=y),P)return u==="==="?P.getTypeAnnotation():d.includes(u)?i():void 0;if(u!=="==="&&u!=="=="||(y.isUnaryExpression({operator:"typeof"})?(S=y,b=f):f.isUnaryExpression({operator:"typeof"})&&(S=f,b=y),!S)||!S.get("argument").isIdentifier({name:p})||(b=b.resolve(),!b.isLiteral()))return;let C=b.node.value;return typeof C=="string"?t(C):void 0}function g(p,h,u){let f=(function(S,b,C){let N;for(;N=b.parentPath;){if(N.isIfStatement()||N.isConditionalExpression())return b.key==="test"?void 0:N;if(N.isFunction()&&N.parentPath.scope.getBinding(C)!==S)return;b=N}})(p,h,u);if(!f)return;let y=[f.get("test")],P=[];for(let S=0;S<y.length;S++){let b=y[S];if(b.isLogicalExpression())b.node.operator==="&&"&&(y.push(b.get("left")),y.push(b.get("right")));else if(b.isBinaryExpression()){let C=T(u,b);C&&P.push(C)}}return P.length?{typeAnnotation:(0,l.createUnionType)(P),ifStatement:f}:g(p,f,u)}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/inference/inferers.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArrayExpression=O,e.AssignmentExpression=function(){return this.get("right").getTypeAnnotation()},e.BinaryExpression=function(re){let le=re.operator;if(c.includes(le))return S();if(t.includes(le))return h();if(le==="+"){let ie=this.get("right"),M=this.get("left");return M.isBaseType("number")&&ie.isBaseType("number")?S():M.isBaseType("string")||ie.isBaseType("string")?b():N([b(),S()])}},e.BooleanLiteral=function(){return h()},e.CallExpression=function(){let{callee:re}=this.node;return $(re)?p(b()):te(re)||D(re)||K(re,{name:"Array"})?p(g()):W(re)?p(C([b(),g()])):q(this.get("callee"))},e.ConditionalExpression=function(){let re=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,d.createUnionType)(re)},e.ClassDeclaration=e.ClassExpression=e.FunctionDeclaration=e.ArrowFunctionExpression=e.FunctionExpression=function(){return f(y("Function"))},Object.defineProperty(e,"Identifier",{enumerable:!0,get:function(){return l.default}}),e.LogicalExpression=function(){let re=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,d.createUnionType)(re)},e.NewExpression=function(re){if(re.callee.type==="Identifier")return f(re.callee)},e.NullLiteral=function(){return P()},e.NumericLiteral=function(){return S()},e.ObjectExpression=function(){return f(y("Object"))},e.ParenthesizedExpression=function(){return this.get("expression").getTypeAnnotation()},e.RegExpLiteral=function(){return f(y("RegExp"))},e.RestElement=z,e.SequenceExpression=function(){return this.get("expressions").pop().getTypeAnnotation()},e.StringLiteral=function(){return b()},e.TSAsExpression=w,e.TSNonNullExpression=function(){return this.get("expression").getTypeAnnotation()},e.TaggedTemplateExpression=function(){return q(this.get("tag"))},e.TemplateLiteral=function(){return b()},e.TypeCastExpression=L,e.UnaryExpression=function(re){let le=re.operator;if(le==="void")return F();if(v.includes(le))return S();if(T.includes(le))return b();if(i.includes(le))return h()},e.UpdateExpression=function(re){let le=re.operator;if(le==="++"||le==="--")return S()},e.VariableDeclarator=function(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),l=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js"),d=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/inference/util.js");let{BOOLEAN_BINARY_OPERATORS:t,BOOLEAN_UNARY_OPERATORS:i,NUMBER_BINARY_OPERATORS:c,NUMBER_UNARY_OPERATORS:v,STRING_UNARY_OPERATORS:T,anyTypeAnnotation:g,arrayTypeAnnotation:p,booleanTypeAnnotation:h,buildMatchMemberExpression:u,genericTypeAnnotation:f,identifier:y,nullLiteralTypeAnnotation:P,numberTypeAnnotation:S,stringTypeAnnotation:b,tupleTypeAnnotation:C,unionTypeAnnotation:N,voidTypeAnnotation:F,isIdentifier:K}=r;function L(re){return re.typeAnnotation}function w(re){return re.typeAnnotation}function O(){return f(y("Array"))}function z(){return O()}L.validParent=!0,w.validParent=!0,z.validParent=!0;let te=u("Array.from"),$=u("Object.keys"),D=u("Object.values"),W=u("Object.entries");function q(re){if((re=re.resolve()).isFunction()){let{node:le}=re;if(le.async)return le.generator?f(y("AsyncIterator")):f(y("Promise"));if(le.generator)return f(y("Iterator"));if(re.node.returnType)return re.node.returnType}}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/inference/util.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createUnionType=function(v){if(v.every(T=>i(T)))return l?l(v):t(v);if(v.every(T=>c(T))&&d)return d(v)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{createFlowUnionType:l,createTSUnionType:d,createUnionTypeAnnotation:t,isFlowType:i,isTSType:c}=r},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/introspection.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._guessExecutionStatusRelativeTo=function(b){return P(this,b,new Map)},e._resolve=S,e.canHaveVariableDeclarationOrExpression=function(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()},e.canSwapBetweenExpressionAndStatement=function(b){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?t(b):this.isBlockStatement()?i(b):!1},e.getSource=function(){let b=this.node;if(b.end){let C=this.hub.getCode();if(C)return C.slice(b.start,b.end)}return""},e.isCompletionRecord=function(b){let C=this,N=!0;do{let{type:F,container:K}=C;if(!N&&(C.isFunction()||F==="StaticBlock"))return!!b;if(N=!1,Array.isArray(K)&&C.key!==K.length-1)return!1}while((C=C.parentPath)&&!C.isProgram()&&!C.isDoExpression());return!0},e.isConstantExpression=function(){if(this.isIdentifier()){let b=this.scope.getBinding(this.node.name);return!!b&&b.constant}if(this.isLiteral())return!this.isRegExpLiteral()&&(!this.isTemplateLiteral()||this.get("expressions").every(b=>b.isConstantExpression()));if(this.isUnaryExpression())return this.node.operator==="void"&&this.get("argument").isConstantExpression();if(this.isBinaryExpression()){let{operator:b}=this.node;return b!=="in"&&b!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):this.isCallExpression()?this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral():!1},e.isInStrictMode=function(){return!!(this.isProgram()?this:this.parentPath).find(C=>{if(C.isProgram({sourceType:"module"})||C.isClass())return!0;if(C.isArrowFunctionExpression()&&!C.get("body").isBlockStatement())return!1;let N;if(C.isFunction())N=C.node.body;else{if(!C.isProgram())return!1;N=C.node}for(let F of N.directives)if(F.value.value==="use strict")return!0})},e.isNodeType=function(b){return g(this.type,b)},e.isStatementOrBlock=function(){return!this.parentPath.isLabeledStatement()&&!t(this.container)&&l.includes(this.key)},e.isStatic=function(){return this.scope.isStatic(this.node)},e.matchesPattern=function(b,C){return p(this.node,b,C)},e.referencesImport=function(b,C){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===C||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?T(this.node.property,{value:C}):this.node.property.name===C)){let L=this.get("object");return L.isReferencedIdentifier()&&L.referencesImport(b,"*")}return!1}let N=this.scope.getBinding(this.node.name);if(!N||N.kind!=="module")return!1;let F=N.path,K=F.parentPath;return!K.isImportDeclaration()||K.node.source.value!==b?!1:!!(!C||F.isImportDefaultSpecifier()&&C==="default"||F.isImportNamespaceSpecifier()&&C==="*"||F.isImportSpecifier()&&c(F.node.imported,{name:C}))},e.resolve=function(b,C){return S.call(this,b,C)||this},e.willIMaybeExecuteBefore=function(b){return this._guessExecutionStatusRelativeTo(b)!=="after"};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{STATEMENT_OR_BLOCK_KEYS:l,VISITOR_KEYS:d,isBlockStatement:t,isExpression:i,isIdentifier:c,isLiteral:v,isStringLiteral:T,isType:g,matchesPattern:p}=r;function h(b){return b.isProgram()?b:(b.parentPath.scope.getFunctionParent()||b.parentPath.scope.getProgramParent()).path}function u(b,C){switch(b){case"LogicalExpression":case"AssignmentPattern":return C==="right";case"ConditionalExpression":case"IfStatement":return C==="consequent"||C==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return C==="body";case"ForStatement":return C==="body"||C==="update";case"SwitchStatement":return C==="cases";case"TryStatement":return C==="handler";case"OptionalMemberExpression":return C==="property";case"OptionalCallExpression":return C==="arguments";default:return!1}}function f(b,C){for(let N=0;N<C;N++){let F=b[N];if(u(F.parent.type,F.parentKey))return!0}return!1}e.has=function(b){var C;let N=(C=this.node)==null?void 0:C[b];return N&&Array.isArray(N)?!!N.length:!!N},e.is=e.has,e.isnt=function(b){return!this.has(b)},e.equals=function(b,C){return this.node[b]===C};let y=Symbol();function P(b,C,N){let F={this:h(b),target:h(C)};if(F.target.node!==F.this.node)return(function($,D,W){let q,re=W.get($.node);if(re){if(q=re.get(D.node))return q===y?"unknown":q}else W.set($.node,re=new Map);re.set(D.node,y);let le=(function(ie,M,B){if(!M.isFunctionDeclaration())return P(ie,M,B)==="before"?"before":"unknown";if(M.parentPath.isExportDeclaration())return"unknown";let G=M.scope.getBinding(M.node.id.name);if(!G.references)return"before";let U=G.referencePaths,Q;for(let de of U){if(de.find(ye=>ye.node===M.node))continue;if(de.key!=="callee"||!de.parentPath.isCallExpression())return"unknown";let se=P(ie,de,B);if(Q&&Q!==se)return"unknown";Q=se}return Q})($,D,W);return re.set(D.node,le),le})(b,F.target,N);let K={target:C.getAncestry(),this:b.getAncestry()};if(K.target.includes(b))return"after";if(K.this.includes(C))return"before";let L,w={target:0,this:0};for(;!L&&w.this<K.this.length;){let $=K.this[w.this];w.target=K.target.indexOf($),w.target>=0?L=$:w.this++}if(!L)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(f(K.this,w.this-1)||f(K.target,w.target-1))return"unknown";let O={this:K.this[w.this-1],target:K.target[w.target-1]};if(O.target.listKey&&O.this.listKey&&O.target.container===O.this.container)return O.target.key>O.this.key?"before":"after";let z=d[L.type],te=z.indexOf(O.this.parentKey);return z.indexOf(O.target.parentKey)>te?"before":"after"}function S(b,C){var N;if((N=C)==null||!N.includes(this))if((C=C||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(b,C)}else if(this.isReferencedIdentifier()){let F=this.scope.getBinding(this.node.name);if(!F||!F.constant||F.kind==="module")return;if(F.path!==this){let K=F.path.resolve(b,C);return this.find(L=>L.node===K.node)?void 0:K}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(b,C);if(b&&this.isMemberExpression()){let F=this.toComputedKey();if(!v(F))return;let K=F.value,L=this.get("object").resolve(b,C);if(L.isObjectExpression()){let w=L.get("properties");for(let O of w){if(!O.isProperty())continue;let z=O.get("key"),te=O.isnt("computed")&&z.isIdentifier({name:K});if(te=te||z.isLiteral({value:K}),te)return O.get("value").resolve(b,C)}}else if(L.isArrayExpression()&&!isNaN(+K)){let w=L.get("elements")[K];if(w)return w.resolve(b,C)}}}}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/lib/hoister.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),l=r;let{react:d}=r,{cloneNode:t,jsxExpressionContainer:i,variableDeclaration:c,variableDeclarator:v}=l,T={ReferencedIdentifier(g,p){if(g.isJSXIdentifier()&&d.isCompatTag(g.node.name)&&!g.parentPath.isJSXMemberExpression())return;if(g.node.name==="this"){let u=g.scope;do if(u.path.isFunction()&&!u.path.isArrowFunctionExpression())break;while(u=u.parent);u&&p.breakOnScopePaths.push(u.path)}let h=g.scope.getBinding(g.node.name);if(h){for(let u of h.constantViolations)if(u.scope!==h.path.scope)return p.mutableBinding=!0,void g.stop();h===p.scope.getBinding(g.node.name)&&(p.bindings[g.node.name]=h)}}};e.default=class{constructor(g,p){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=p,this.path=g,this.attachAfter=!1}isCompatibleScope(g){for(let p of Object.keys(this.bindings)){let h=this.bindings[p];if(!g.bindingIdentifierEquals(p,h.identifier))return!1}return!0}getCompatibleScopes(){let g=this.path.scope;do if(!this.isCompatibleScope(g)||(this.scopes.push(g),this.breakOnScopePaths.includes(g.path)))break;while(g=g.parent)}getAttachmentPath(){let g=this._getAttachmentPath();if(!g)return;let p=g.scope;if(p.path===g&&(p=g.scope.parent),p.path.isProgram()||p.path.isFunction())for(let h of Object.keys(this.bindings)){if(!p.hasOwnBinding(h))continue;let u=this.bindings[h];if(!(u.kind==="param"||u.path.parentKey==="params")&&this.getAttachmentParentForPath(u.path).key>=g.key){this.attachAfter=!0,g=u.path;for(let f of u.constantViolations)this.getAttachmentParentForPath(f).key>g.key&&(g=f)}}return g}_getAttachmentPath(){let g=this.scopes.pop();if(g){if(g.path.isFunction()){if(!this.hasOwnParamBindings(g))return this.getNextScopeAttachmentParent();{if(this.scope===g)return;let p=g.path.get("body").get("body");for(let h=0;h<p.length;h++)if(!p[h].node._blockHoist)return p[h]}}else if(g.path.isProgram())return this.getNextScopeAttachmentParent()}}getNextScopeAttachmentParent(){let g=this.scopes.pop();if(g)return this.getAttachmentParentForPath(g.path)}getAttachmentParentForPath(g){do if(!g.parentPath||Array.isArray(g.container)&&g.isStatement())return g;while(g=g.parentPath)}hasOwnParamBindings(g){for(let p of Object.keys(this.bindings)){if(!g.hasOwnBinding(p))continue;let h=this.bindings[p];if(h.kind==="param"&&h.constant)return!0}return!1}run(){if(this.path.traverse(T,this),this.mutableBinding)return;this.getCompatibleScopes();let g=this.getAttachmentPath();if(!g||g.getFunctionParent()===this.path.getFunctionParent())return;let p=g.scope.generateUidIdentifier("ref"),h=v(p,this.path.node),u=this.attachAfter?"insertAfter":"insertBefore",[f]=g[u]([g.isVariableDeclarator()?h:c("var",[h])]),y=this.path.parentPath;return y.isJSXElement()&&this.path.container===y.node.children&&(p=i(p)),this.path.replaceWith(t(p)),g.isVariableDeclarator()?f.get("init"):f.get("declarations.0.init")}}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hooks=void 0,e.hooks=[function(E,r){if(E.key==="test"&&(r.isWhile()||r.isSwitchCase())||E.key==="declaration"&&r.isExportDeclaration()||E.key==="body"&&r.isLabeledStatement()||E.listKey==="declarations"&&r.isVariableDeclaration()&&r.node.declarations.length===1||E.key==="expression"&&r.isExpressionStatement())return r.remove(),!0},function(E,r){if(r.isSequenceExpression()&&r.node.expressions.length===1)return r.replaceWith(r.node.expressions[0]),!0},function(E,r){if(r.isBinary())return E.key==="left"?r.replaceWith(r.node.right):r.replaceWith(r.node.left),!0},function(E,r){if(r.isIfStatement()&&E.key==="consequent"||E.key==="body"&&(r.isLoop()||r.isArrowFunctionExpression()))return E.replaceWith({type:"BlockStatement",body:[]}),!0}]},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isBindingIdentifier=function(){let{node:O,parent:z}=this,te=this.parentPath.parent;return g(O)&&l(O,z,te)},e.isBlockScoped=function(){return d(this.node)},e.isExpression=function(){return this.isIdentifier()?this.isReferencedIdentifier():i(this.node)},e.isFlow=function(){let{node:O}=this;return!!c(O)||(p(O)?O.importKind==="type"||O.importKind==="typeof":t(O)?O.exportKind==="type":!!h(O)&&(O.importKind==="type"||O.importKind==="typeof"))},e.isForAwaitStatement=function(){return L(this.node,{await:!0})},e.isGenerated=function(){return!this.isUser()},e.isPure=function(O){return this.scope.isPure(this.node,O)},e.isReferenced=function(){return S(this.node,this.parent)},e.isReferencedIdentifier=function(O){let{node:z,parent:te}=this;return!g(z,O)&&!f(te,O)&&(!u(z,O)||w(z.name))?!1:S(z,te,this.parentPath.parent)},e.isReferencedMemberExpression=function(){let{node:O,parent:z}=this;return y(O)&&S(O,z)},e.isRestProperty=function(){var O;return P(this.node)&&((O=this.parentPath)==null?void 0:O.isObjectPattern())},e.isScope=function(){return b(this.node,this.parent)},e.isSpreadProperty=function(){var O;return P(this.node)&&((O=this.parentPath)==null?void 0:O.isObjectExpression())},e.isStatement=function(){let{node:O,parent:z}=this;return C(O)?!(F(O)&&(T(z,{left:O})||v(z,{init:O}))):!1},e.isUser=function(){return this.node&&!!this.node.loc},e.isVar=function(){return N(this.node)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js");let{isBinding:l,isBlockScoped:d,isExportDeclaration:t,isExpression:i,isFlow:c,isForStatement:v,isForXStatement:T,isIdentifier:g,isImportDeclaration:p,isImportSpecifier:h,isJSXIdentifier:u,isJSXMemberExpression:f,isMemberExpression:y,isRestElement:P,isReferenced:S,isScope:b,isStatement:C,isVar:N,isVariableDeclaration:F,react:K,isForOfStatement:L}=r,{isCompatTag:w}=K;e.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},e.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/lib/virtual-types.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Var=e.User=e.Statement=e.SpreadProperty=e.Scope=e.RestProperty=e.ReferencedMemberExpression=e.ReferencedIdentifier=e.Referenced=e.Pure=e.NumericLiteralTypeAnnotation=e.Generated=e.ForAwaitStatement=e.Flow=e.Expression=e.ExistentialTypeParam=e.BlockScoped=e.BindingIdentifier=void 0,e.ReferencedIdentifier=["Identifier","JSXIdentifier"],e.ReferencedMemberExpression=["MemberExpression"],e.BindingIdentifier=["Identifier"],e.Statement=["Statement"],e.Expression=["Expression"],e.Scope=["Scopable","Pattern"],e.Referenced=null,e.BlockScoped=null,e.Var=["VariableDeclaration"],e.User=null,e.Generated=null,e.Pure=null,e.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],e.RestProperty=["RestElement"],e.SpreadProperty=["RestElement"],e.ExistentialTypeParam=["ExistsTypeAnnotation"],e.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],e.ForAwaitStatement=["ForOfStatement"]},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/modification.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._containerInsert=L,e._containerInsertAfter=O,e._containerInsertBefore=w,e._verifyNodeList=D,e.insertAfter=function(W){if(t._assertUnremoved.call(this),this.isSequenceExpression())return z(this.get("expressions")).insertAfter(W);let q=D.call(this,W),{parentPath:re,parent:le}=this;if(re.isExpressionStatement()||re.isLabeledStatement()||S(le)||re.isExportDefaultDeclaration()&&this.isDeclaration())return re.insertAfter(q.map(ie=>b(ie)?f(ie):ie));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!re.isJSXElement()||re.isForStatement()&&this.key==="init"){let ie=this;if(ie.node){let M=ie.node,{scope:B}=this;if(B.path.isPattern())return T(M),ie.replaceWith(h(v([],M),[])),ie.get("callee.body").insertAfter(q),[ie];if(te(ie))q.unshift(M);else if(P(M)&&F(M.callee))q.unshift(M),q.push(K());else if((function(G,U){if(!y(G)||!C(G.left))return!1;let Q=U.getBlockParent();return Q.hasOwnBinding(G.left.name)&&Q.getOwnBinding(G.left.name).constantViolations.length<=1})(M,B))q.unshift(M),q.push(u(M.left));else if(B.isPure(M,!0))q.push(M);else{re.isMethod({computed:!0,key:M})&&(B=B.parent);let G=B.generateDeclaredUidIdentifier();q.unshift(f(g("=",u(G),M))),q.push(f(u(G)))}}return this.replaceExpressionWithStatements(q)}if(Array.isArray(this.container))return O.call(this,q);if(this.isStatementOrBlock()){let ie=this.node,M=ie&&(!this.isExpressionStatement()||ie.expression!=null);return this.replaceWith(p(M?[ie]:[])),this.pushContainer("body",q)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},e.insertBefore=function(W){t._assertUnremoved.call(this);let q=D.call(this,W),{parentPath:re,parent:le}=this;if(re.isExpressionStatement()||re.isLabeledStatement()||S(le)||re.isExportDefaultDeclaration()&&this.isDeclaration())return re.insertBefore(q);if(this.isNodeType("Expression")&&!this.isJSXElement()||re.isForStatement()&&this.key==="init")return this.node&&q.push(this.node),this.replaceExpressionWithStatements(q);if(Array.isArray(this.container))return w.call(this,q);if(this.isStatementOrBlock()){let ie=this.node,M=ie&&(!this.isExpressionStatement()||ie.expression!=null);return this.replaceWith(p(M?[ie]:[])),this.unshiftContainer("body",q)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},e.pushContainer=function(W,q){t._assertUnremoved.call(this);let re=D.call(this,q),le=this.node[W];return l.default.get({parentPath:this,parent:this.node,container:le,listKey:W,key:le.length}).setContext(this.context).replaceWithMultiple(re)},e.unshiftContainer=function(W,q){t._assertUnremoved.call(this),q=D.call(this,q);let re=l.default.get({parentPath:this,parent:this.node,container:this.node[W],listKey:W,key:0}).setContext(this.context);return w.call(re,q)},e.updateSiblingKeys=$;var r=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/cache.js"),l=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/index.js"),d=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/context.js"),t=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/removal.js"),i=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),c=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/lib/hoister.js");let{arrowFunctionExpression:v,assertExpression:T,assignmentExpression:g,blockStatement:p,callExpression:h,cloneNode:u,expressionStatement:f,isAssignmentExpression:y,isCallExpression:P,isExportNamedDeclaration:S,isExpression:b,isIdentifier:C,isSequenceExpression:N,isSuper:F,thisExpression:K}=i;function L(W,q){$.call(this,W,q.length);let re=[];this.container.splice(W,0,...q);for(let M=0;M<q.length;M++){var le;let B=W+M,G=this.getSibling(B);re.push(G),(le=this.context)!=null&&le.queue&&d.pushContext.call(G,this.context)}let ie=d._getQueueContexts.call(this);for(let M of re){d.setScope.call(M),M.debug("Inserted.");for(let B of ie)B.maybeQueue(M,!0)}return re}function w(W){return L.call(this,this.key,W)}function O(W){return L.call(this,this.key+1,W)}let z=W=>W[W.length-1];function te(W){return N(W.parent)&&(z(W.parent.expressions)!==W.node||te(W.parentPath))}function $(W,q){if(!this.parent)return;let re=(0,r.getCachedPaths)(this);if(re)for(let[,le]of re)typeof le.key=="number"&&le.container===this.container&&le.key>=W&&(le.key+=q)}function D(W){if(!W)return[];Array.isArray(W)||(W=[W]);for(let q=0;q<W.length;q++){let re=W[q],le;if(re?typeof re!="object"?le="contains a non-object node":re.type?re instanceof l.default&&(le="has a NodePath when it expected a raw object"):le="without a type":le="has falsy node",le){let ie=Array.isArray(re)?"array":typeof re;throw new Error(`Node list ${le} with the index of ${q} and type of ${ie}`)}}return W}e.hoist=function(W=this.scope){return new c.default(this,W).run()}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/removal.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._assertUnremoved=f,e._callRemovalHooks=p,e._markRemoved=u,e._remove=h,e._removeFromScope=g,e.remove=function(){var y;if(f.call(this),v.resync.call(this),p.call(this))return void u.call(this);(y=this.opts)!=null&&y.noScope||g.call(this),this.shareCommentsWithSiblings(),h.call(this),u.call(this)};var r=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js"),l=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/cache.js"),d=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/replacement.js"),t=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/index.js"),i=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),c=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/modification.js"),v=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/context.js");let{getBindingIdentifiers:T}=i;function g(){let y=T(this.node,!1,!1,!0);Object.keys(y).forEach(P=>this.scope.removeBinding(P))}function p(){if(this.parentPath){for(let y of r.hooks)if(y(this,this.parentPath))return!0}}function h(){Array.isArray(this.container)?(this.container.splice(this.key,1),c.updateSiblingKeys.call(this,this.key,-1)):d._replaceWith.call(this,null)}function u(){var y;this._traverseFlags|=t.SHOULD_SKIP|t.REMOVED,this.parent&&((y=(0,l.getCachedPaths)(this))==null||y.delete(this.node)),this.node=null}function f(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/replacement.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._replaceWith=U,e.replaceExpressionWithStatements=function(de){T.resync.call(this);let se=[],ye=Q(de,se);if(ye){for(let De of se)this.scope.push({id:De});return this.replaceWith(ye)[0].get("expressions")}let we=this.getFunctionParent(),ve=we?.node.async,ce=we?.node.generator,H=p([],f(de));this.replaceWith(P(H,[]));let me=this.get("callee");me.get("body").scope.hoistVariables(De=>this.scope.push({id:De}));let Se=me.getCompletionRecords();for(let De of Se){if(!De.isExpressionStatement())continue;let Fe=De.findParent(Pe=>Pe.isLoop());if(Fe){let Pe=Fe.getData("expressionReplacementReturnUid");Pe?Pe=F(Pe.name):(Pe=me.scope.generateDeclaredUidIdentifier("ret"),me.get("body").pushContainer("body",ie(S(Pe))),Fe.setData("expressionReplacementReturnUid",Pe)),De.get("expression").replaceWith(h("=",S(Pe),De.node.expression))}else De.replaceWith(ie(De.node.expression))}me.arrowFunctionToExpression();let pe=me,j=ve&&l.default.hasType(this.get("callee.body").node,"AwaitExpression",g),Te=ce&&l.default.hasType(this.get("callee.body").node,"YieldExpression",g);return j&&(pe.set("async",!0),Te||this.replaceWith(u(this.node))),Te&&(pe.set("generator",!0),this.replaceWith(G(this.node,!0))),pe.get("body.body")},e.replaceInline=function(de){if(T.resync.call(this),Array.isArray(de)){if(Array.isArray(this.container)){de=i._verifyNodeList.call(this,de);let se=i._containerInsertAfter.call(this,de);return this.remove(),se}return this.replaceWithMultiple(de)}return this.replaceWith(de)},e.replaceWith=function(de){if(T.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let se=de instanceof d.default?de.node:de;if(!se)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===se)return[this];if(this.isProgram()&&!W(se))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(se))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if(typeof se=="string")throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let ye="";if(this.isNodeType("Statement")&&te(se)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(se)||this.parentPath.isExportDefaultDeclaration()||(se=C(se),ye="expression")),this.isNodeType("Expression")&&q(se)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(se))return this.replaceExpressionWithStatements([se]);let we=this.node;return we&&(w(se,we),le(we)),U.call(this,se),this.type=se.type,T.setScope.call(this),this.requeue(),[ye?this.get(ye):this]},e.replaceWithMultiple=function(de){var se;T.resync.call(this),de=i._verifyNodeList.call(this,de),K(de[0],this.node),L(de[de.length-1],this.node),(se=(0,t.getCachedPaths)(this))==null||se.delete(this.node),this.node=this.container[this.key]=null;let ye=this.insertAfter(de);return this.node?this.requeue():this.remove(),ye},e.replaceWithSourceString=function(de){let se;T.resync.call(this);try{de=`(${de})`,se=(0,c.parse)(de)}catch(we){let ve=we.loc;throw ve&&(we.message+=` - make sure this is an expression.
|
|
435
|
-
`+(0,r.codeFrameColumns)(de,{start:{line:ve.line,column:ve.column+1}}),we.code="BABEL_REPLACE_SOURCE_ERROR"),we}let ye=se.program.body[0].expression;return l.default.removeProperties(ye),this.replaceWith(ye)};var r=E("./stubs/babel-codeframe.mjs"),l=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js"),d=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/index.js"),t=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/cache.js"),i=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/modification.js"),c=E("./node_modules/.pnpm/@babel+parser@7.28.0/node_modules/@babel/parser/lib/index.js"),v=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),T=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/context.js");let{FUNCTION_TYPES:g,arrowFunctionExpression:p,assignmentExpression:h,awaitExpression:u,blockStatement:f,buildUndefinedNode:y,callExpression:P,cloneNode:S,conditionalExpression:b,expressionStatement:C,getBindingIdentifiers:N,identifier:F,inheritLeadingComments:K,inheritTrailingComments:L,inheritsComments:w,isBlockStatement:O,isEmptyStatement:z,isExpression:te,isExpressionStatement:$,isIfStatement:D,isProgram:W,isStatement:q,isVariableDeclaration:re,removeComments:le,returnStatement:ie,sequenceExpression:M,validate:B,yieldExpression:G}=v;function U(de){var se;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?B(this.parent,this.key,[de]):B(this.parent,this.key,de),this.debug(`Replace with ${de?.type}`),(se=(0,t.getCachedPaths)(this))==null||se.set(de,this).delete(this.node),this.node=this.container[this.key]=de}function Q(de,se){let ye=[],we=!0;for(let ve of de)if(z(ve)||(we=!1),te(ve))ye.push(ve);else if($(ve))ye.push(ve.expression);else if(re(ve)){if(ve.kind!=="var")return;for(let ce of ve.declarations){let H=N(ce);for(let me of Object.keys(H))se.push(S(H[me]));ce.init&&ye.push(h("=",ce.id,ce.init))}we=!0}else if(D(ve)){let ce=ve.consequent?Q([ve.consequent],se):y(),H=ve.alternate?Q([ve.alternate],se):y();if(!ce||!H)return;ye.push(b(ve.test,ce,H))}else if(O(ve)){let ce=Q(ve.body,se);if(!ce)return;ye.push(ce)}else{if(!z(ve))return;de.indexOf(ve)===0&&(we=!0)}return we&&ye.push(y()),ye.length===1?ye[0]:M(ye)}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/scope/binding.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=class{constructor({identifier:E,scope:r,path:l,kind:d}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=E,this.scope=r,this.path=l,this.kind=d,d!=="var"&&d!=="hoisted"||!(function(t){let i=!t.isVariableDeclarator()||t.node.init;for(let{parentPath:c,key:v}=t;c;{parentPath:c,key:v}=c){if(c.isFunctionParent())return!1;if(v==="left"&&c.isForXStatement()||i&&v==="body"&&c.isLoop())return!0}return!1})(l)||this.reassign(l),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(E){this.hasDeoptedValue||(this.hasValue=!0,this.value=E)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(E){this.constant=!1,this.constantViolations.includes(E)||this.constantViolations.push(E)}reference(E){this.referencePaths.includes(E)||(this.referenced=!0,this.references++,this.referencePaths.push(E))}dereference(){this.references--,this.referenced=!!this.references}}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/scope/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/scope/lib/renamer.js"),l=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/index.js"),d=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/scope/binding.js"),t=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),i=t,c=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/cache.js");let v=E("./node_modules/.pnpm/@babel+helper-globals@7.28.0/node_modules/@babel/helper-globals/data/builtin-lower.json"),T=E("./node_modules/.pnpm/@babel+helper-globals@7.28.0/node_modules/@babel/helper-globals/data/builtin-upper.json"),{assignmentExpression:g,callExpression:p,cloneNode:h,getBindingIdentifiers:u,identifier:f,isArrayExpression:y,isBinary:P,isCallExpression:S,isClass:b,isClassBody:C,isClassDeclaration:N,isExportAllDeclaration:F,isExportDefaultDeclaration:K,isExportNamedDeclaration:L,isFunctionDeclaration:w,isIdentifier:O,isImportDeclaration:z,isLiteral:te,isMemberExpression:$,isMethod:D,isModuleSpecifier:W,isNullLiteral:q,isObjectExpression:re,isProperty:le,isPureish:ie,isRegExpLiteral:M,isSuper:B,isTaggedTemplateExpression:G,isTemplateLiteral:U,isThisExpression:Q,isUnaryExpression:de,isVariableDeclaration:se,expressionStatement:ye,matchesPattern:we,memberExpression:ve,numericLiteral:ce,toIdentifier:H,variableDeclaration:me,variableDeclarator:Se,isRecordExpression:pe,isTupleExpression:j,isObjectProperty:Te,isTopicReference:De,isMetaProperty:Fe,isPrivateName:Pe,isExportDeclaration:ke,buildUndefinedNode:Oe,sequenceExpression:We}=t;function Re(Ne,ae){switch(Ne?.type){default:var _e;if(z(Ne)||ke(Ne))if((F(Ne)||L(Ne)||z(Ne))&&Ne.source)Re(Ne.source,ae);else if((L(Ne)||z(Ne))&&(_e=Ne.specifiers)!=null&&_e.length)for(let $e of Ne.specifiers)Re($e,ae);else(K(Ne)||L(Ne))&&Ne.declaration&&Re(Ne.declaration,ae);else W(Ne)?Re(Ne.local,ae):!te(Ne)||q(Ne)||M(Ne)||U(Ne)||ae.push(Ne.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":Re(Ne.object,ae),Re(Ne.property,ae);break;case"Identifier":case"JSXIdentifier":ae.push(Ne.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":Re(Ne.callee,ae);break;case"ObjectExpression":case"ObjectPattern":for(let $e of Ne.properties)Re($e,ae);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":Re(Ne.argument,ae);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":Re(Ne.key,ae);break;case"ThisExpression":ae.push("this");break;case"Super":ae.push("super");break;case"Import":case"ImportExpression":ae.push("import");break;case"DoExpression":ae.push("do");break;case"YieldExpression":ae.push("yield"),Re(Ne.argument,ae);break;case"AwaitExpression":ae.push("await"),Re(Ne.argument,ae);break;case"AssignmentExpression":Re(Ne.left,ae);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":Re(Ne.id,ae);break;case"ParenthesizedExpression":Re(Ne.expression,ae);break;case"MetaProperty":Re(Ne.meta,ae),Re(Ne.property,ae);break;case"JSXElement":Re(Ne.openingElement,ae);break;case"JSXOpeningElement":Re(Ne.name,ae);break;case"JSXFragment":Re(Ne.openingFragment,ae);break;case"JSXOpeningFragment":ae.push("Fragment");break;case"JSXNamespacedName":Re(Ne.namespace,ae),Re(Ne.name,ae)}}function at(Ne){Ne.references=Object.create(null),Ne.uids=Object.create(null),Ne.bindings=Object.create(null),Ne.globals=Object.create(null)}var ut=Symbol.for("should not be considered a local binding");let pt={ForStatement(Ne){let ae=Ne.get("init");if(ae.isVar()){let{scope:_e}=Ne;(_e.getFunctionParent()||_e.getProgramParent()).registerBinding("var",ae)}},Declaration(Ne){Ne.isBlockScoped()||Ne.isImportDeclaration()||Ne.isExportDeclaration()||(Ne.scope.getFunctionParent()||Ne.scope.getProgramParent()).registerDeclaration(Ne)},ImportDeclaration(Ne){Ne.scope.getBlockParent().registerDeclaration(Ne)},TSImportEqualsDeclaration(Ne){Ne.scope.getBlockParent().registerDeclaration(Ne)},ReferencedIdentifier(Ne,ae){i.isTSQualifiedName(Ne.parent)&&Ne.parent.right===Ne.node||Ne.parentPath.isTSImportEqualsDeclaration()||ae.references.push(Ne)},ForXStatement(Ne,ae){let _e=Ne.get("left");if(_e.isPattern()||_e.isIdentifier())ae.constantViolations.push(Ne);else if(_e.isVar()){let{scope:$e}=Ne;($e.getFunctionParent()||$e.getProgramParent()).registerBinding("var",_e)}},ExportDeclaration:{exit(Ne){let{node:ae,scope:_e}=Ne;if(F(ae))return;let $e=ae.declaration;if(N($e)||w($e)){let st=$e.id;if(!st)return;let et=_e.getBinding(st.name);et?.reference(Ne)}else if(se($e))for(let st of $e.declarations)for(let et of Object.keys(u(st))){let oe=_e.getBinding(et);oe?.reference(Ne)}}},LabeledStatement(Ne){Ne.scope.getBlockParent().registerDeclaration(Ne)},AssignmentExpression(Ne,ae){ae.assignments.push(Ne)},UpdateExpression(Ne,ae){ae.constantViolations.push(Ne)},UnaryExpression(Ne,ae){Ne.node.operator==="delete"&&ae.constantViolations.push(Ne)},BlockScoped(Ne){let ae=Ne.scope;if(ae.path===Ne&&(ae=ae.parent),ae.getBlockParent().registerDeclaration(Ne),Ne.isClassDeclaration()&&Ne.node.id){let _e=Ne.node.id.name;Ne.scope.bindings[_e]=Ne.scope.parent.getBinding(_e)}},CatchClause(Ne){Ne.scope.registerBinding("let",Ne)},Function(Ne){let ae=Ne.get("params");for(let _e of ae)Ne.scope.registerBinding("param",_e);Ne.isFunctionExpression()&&Ne.node.id&&!Ne.node.id[ut]&&Ne.scope.registerBinding("local",Ne.get("id"),Ne)},ClassExpression(Ne){Ne.node.id&&!Ne.node.id[ut]&&Ne.scope.registerBinding("local",Ne.get("id"),Ne)},TSTypeAnnotation(Ne){Ne.skip()}},qe,rt=0;class Ve{constructor(ae){this.uid=void 0,this.path=void 0,this.block=void 0,this.inited=void 0,this.labels=void 0,this.bindings=void 0,this.referencesSet=void 0,this.globals=void 0,this.uidsSet=void 0,this.data=void 0,this.crawling=void 0;let{node:_e}=ae,$e=c.scope.get(_e);if($e?.path===ae)return $e;c.scope.set(_e,this),this.uid=rt++,this.block=_e,this.path=ae,this.labels=new Map,this.inited=!1,Object.defineProperties(this,{references:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)},uids:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)}})}get parent(){var ae;let _e,$e=this.path;do{var st;let et=$e.key==="key"||$e.listKey==="decorators";$e=$e.parentPath,et&&$e.isMethod()&&($e=$e.parentPath),(st=$e)!=null&&st.isScope()&&(_e=$e)}while($e&&!_e);return(ae=_e)==null?void 0:ae.scope}get references(){throw new Error("Scope#references is not available in Babel 8. Use Scope#referencesSet instead.")}get uids(){throw new Error("Scope#uids is not available in Babel 8. Use Scope#uidsSet instead.")}generateDeclaredUidIdentifier(ae){let _e=this.generateUidIdentifier(ae);return this.push({id:_e}),h(_e)}generateUidIdentifier(ae){return f(this.generateUid(ae))}generateUid(ae="temp"){let _e;ae=H(ae).replace(/^_+/,"").replace(/\d+$/g,"");let $e=0;do _e=`_${ae}`,$e>=11?_e+=$e-1:$e>=9?_e+=$e-9:$e>=1&&(_e+=$e+1),$e++;while(this.hasLabel(_e)||this.hasBinding(_e)||this.hasGlobal(_e)||this.hasReference(_e));let st=this.getProgramParent();return st.references[_e]=!0,st.uids[_e]=!0,_e}generateUidBasedOnNode(ae,_e){let $e=[];Re(ae,$e);let st=$e.join("$");return st=st.replace(/^_/,"")||_e||"ref",this.generateUid(st.slice(0,20))}generateUidIdentifierBasedOnNode(ae,_e){return f(this.generateUidBasedOnNode(ae,_e))}isStatic(ae){if(Q(ae)||B(ae)||De(ae))return!0;if(O(ae)){let _e=this.getBinding(ae.name);return _e?_e.constant:this.hasBinding(ae.name)}return!1}maybeGenerateMemoised(ae,_e){if(this.isStatic(ae))return null;{let $e=this.generateUidIdentifierBasedOnNode(ae);return _e?$e:(this.push({id:$e}),h($e))}}checkBlockScopedCollisions(ae,_e,$e,st){if(_e!=="param"&&ae.kind!=="local"&&(_e==="let"||ae.kind==="let"||ae.kind==="const"||ae.kind==="module"||ae.kind==="param"&&_e==="const"))throw this.path.hub.buildError(st,`Duplicate declaration "${$e}"`,TypeError)}rename(ae,_e){let $e=this.getBinding(ae);$e&&(_e||(_e=this.generateUidIdentifier(ae).name),new r.default($e,ae,_e).rename(arguments[2]))}dump(){let ae="-".repeat(60);console.log(ae);let _e=this;do{console.log("#",_e.block.type);for(let $e of Object.keys(_e.bindings)){let st=_e.bindings[$e];console.log(" -",$e,{constant:st.constant,references:st.references,violations:st.constantViolations.length,kind:st.kind})}}while(_e=_e.parent);console.log(ae)}hasLabel(ae){return!!this.getLabel(ae)}getLabel(ae){return this.labels.get(ae)}registerLabel(ae){this.labels.set(ae.node.label.name,ae)}registerDeclaration(ae){if(ae.isLabeledStatement())this.registerLabel(ae);else if(ae.isFunctionDeclaration())this.registerBinding("hoisted",ae.get("id"),ae);else if(ae.isVariableDeclaration()){let _e=ae.get("declarations"),{kind:$e}=ae.node;for(let st of _e)this.registerBinding($e==="using"||$e==="await using"?"const":$e,st)}else if(ae.isClassDeclaration()){if(ae.node.declare)return;this.registerBinding("let",ae)}else if(ae.isImportDeclaration()){let _e=ae.node.importKind==="type"||ae.node.importKind==="typeof",$e=ae.get("specifiers");for(let st of $e){let et=_e||st.isImportSpecifier()&&(st.node.importKind==="type"||st.node.importKind==="typeof");this.registerBinding(et?"unknown":"module",st)}}else if(ae.isExportDeclaration()){let _e=ae.get("declaration");(_e.isClassDeclaration()||_e.isFunctionDeclaration()||_e.isVariableDeclaration())&&this.registerDeclaration(_e)}else this.registerBinding("unknown",ae)}buildUndefinedNode(){return Oe()}registerConstantViolation(ae){let _e=ae.getAssignmentIdentifiers();for(let st of Object.keys(_e)){var $e;($e=this.getBinding(st))==null||$e.reassign(ae)}}registerBinding(ae,_e,$e=_e){if(!ae)throw new ReferenceError("no `kind`");if(_e.isVariableDeclaration()){let oe=_e.get("declarations");for(let Ae of oe)this.registerBinding(ae,Ae);return}let st=this.getProgramParent(),et=_e.getOuterBindingIdentifiers(!0);for(let oe of Object.keys(et)){st.references[oe]=!0;for(let Ae of et[oe]){let Ge=this.getOwnBinding(oe);if(Ge){if(Ge.identifier===Ae)continue;this.checkBlockScopedCollisions(Ge,ae,oe,Ae)}Ge?Ge.reassign($e):this.bindings[oe]=new d.default({identifier:Ae,scope:this,path:$e,kind:ae})}}}addGlobal(ae){this.globals[ae.name]=ae}hasUid(ae){{let _e=this;do if(_e.uids[ae])return!0;while(_e=_e.parent);return!1}}hasGlobal(ae){let _e=this;do if(_e.globals[ae])return!0;while(_e=_e.parent);return!1}hasReference(ae){return!!this.getProgramParent().references[ae]}isPure(ae,_e){if(O(ae)){let oe=this.getBinding(ae.name);return!!oe&&(!_e||oe.constant)}if(Q(ae)||Fe(ae)||De(ae)||Pe(ae))return!0;var $e,st,et;if(b(ae))return!(ae.superClass&&!this.isPure(ae.superClass,_e))&&!((($e=ae.decorators)==null?void 0:$e.length)>0)&&this.isPure(ae.body,_e);if(C(ae)){for(let oe of ae.body)if(!this.isPure(oe,_e))return!1;return!0}if(P(ae))return this.isPure(ae.left,_e)&&this.isPure(ae.right,_e);if(y(ae)||j(ae)){for(let oe of ae.elements)if(oe!==null&&!this.isPure(oe,_e))return!1;return!0}if(re(ae)||pe(ae)){for(let oe of ae.properties)if(!this.isPure(oe,_e))return!1;return!0}if(D(ae))return!(ae.computed&&!this.isPure(ae.key,_e))&&!(((st=ae.decorators)==null?void 0:st.length)>0);if(le(ae))return!(ae.computed&&!this.isPure(ae.key,_e))&&!(((et=ae.decorators)==null?void 0:et.length)>0)&&!((Te(ae)||ae.static)&&ae.value!==null&&!this.isPure(ae.value,_e));if(de(ae))return this.isPure(ae.argument,_e);if(U(ae)){for(let oe of ae.expressions)if(!this.isPure(oe,_e))return!1;return!0}return G(ae)?we(ae.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(ae.quasi,_e):$(ae)?!ae.computed&&O(ae.object)&&ae.object.name==="Symbol"&&O(ae.property)&&ae.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0}):S(ae)?we(ae.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&ae.arguments.length===1&&i.isStringLiteral(ae.arguments[0]):ie(ae)}setData(ae,_e){return this.data[ae]=_e}getData(ae){let _e=this;do{let $e=_e.data[ae];if($e!=null)return $e}while(_e=_e.parent)}removeData(ae){let _e=this;do _e.data[ae]!=null&&(_e.data[ae]=null);while(_e=_e.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){let ae=this.path;at(this),this.data=Object.create(null);let _e=this;do{if(_e.crawling)return;if(_e.path.isProgram())break}while(_e=_e.parent);let $e=_e,st={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,qe||(qe=l.default.visitors.merge([{Scope(et){at(et.scope)}},pt])),ae.type!=="Program"){for(let oe of qe.enter)oe.call(st,ae,st);let et=qe[ae.type];if(et)for(let oe of et.enter)oe.call(st,ae,st)}ae.traverse(qe,st),this.crawling=!1;for(let et of st.assignments){let oe=et.getAssignmentIdentifiers();for(let Ae of Object.keys(oe))et.scope.getBinding(Ae)||$e.addGlobal(oe[Ae]);et.scope.registerConstantViolation(et)}for(let et of st.references){let oe=et.scope.getBinding(et.node.name);oe?oe.reference(et):$e.addGlobal(et.node)}for(let et of st.constantViolations)et.scope.registerConstantViolation(et)}push(ae){let _e=this.path;_e.isPattern()?_e=this.getPatternParent().path:_e.isBlockStatement()||_e.isProgram()||(_e=this.getBlockParent().path),_e.isSwitchStatement()&&(_e=(this.getFunctionParent()||this.getProgramParent()).path);let{init:$e,unique:st,kind:et="var",id:oe}=ae;if(!$e&&!st&&(et==="var"||et==="let")&&_e.isFunction()&&!_e.node.name&&S(_e.parent,{callee:_e.node})&&_e.parent.arguments.length<=_e.node.params.length&&O(oe))return _e.pushContainer("params",oe),void _e.scope.registerBinding("param",_e.get("params")[_e.node.params.length-1]);(_e.isLoop()||_e.isCatchClause()||_e.isFunction())&&(_e.ensureBlock(),_e=_e.get("body"));let Ae=ae._blockHoist==null?2:ae._blockHoist,Ge=`declaration:${et}:${Ae}`,He=!st&&_e.getData(Ge);if(!He){let Ie=me(et,[]);Ie._blockHoist=Ae,[He]=_e.unshiftContainer("body",[Ie]),st||_e.setData(Ge,He)}let Ee=Se(oe,$e),Le=He.node.declarations.push(Ee);_e.scope.registerBinding(et,He.get("declarations")[Le-1])}getProgramParent(){let ae=this;do if(ae.path.isProgram())return ae;while(ae=ae.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let ae=this;do if(ae.path.isFunctionParent())return ae;while(ae=ae.parent);return null}getBlockParent(){let ae=this;do if(ae.path.isBlockParent())return ae;while(ae=ae.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let ae=this;do if(!ae.path.isPattern())return ae.getBlockParent();while(ae=ae.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let ae=Object.create(null),_e=this;do{for(let $e of Object.keys(_e.bindings))!($e in ae)&&(ae[$e]=_e.bindings[$e]);_e=_e.parent}while(_e);return ae}bindingIdentifierEquals(ae,_e){return this.getBindingIdentifier(ae)===_e}getBinding(ae){let _e,$e=this;do{let et=$e.getOwnBinding(ae);var st;if(et){if((st=_e)==null||!st.isPattern()||et.kind==="param"||et.kind==="local")return et}else if(!et&&ae==="arguments"&&$e.path.isFunction()&&!$e.path.isArrowFunctionExpression())break;_e=$e.path}while($e=$e.parent)}getOwnBinding(ae){return this.bindings[ae]}getBindingIdentifier(ae){var _e;return(_e=this.getBinding(ae))==null?void 0:_e.identifier}getOwnBindingIdentifier(ae){let _e=this.bindings[ae];return _e?.identifier}hasOwnBinding(ae){return!!this.getOwnBinding(ae)}hasBinding(ae,_e){if(!ae)return!1;let $e,st,et;typeof _e=="object"?($e=_e.noGlobals,st=_e.noUids,et=_e.upToScope):typeof _e=="boolean"&&($e=_e);let oe=this;do{if(et===oe)break;if(oe.hasOwnBinding(ae))return!0}while(oe=oe.parent);return!(st||!this.hasUid(ae))||!($e||!Ve.globals.includes(ae))||!($e||!Ve.contextVariables.includes(ae))}parentHasBinding(ae,_e){var $e;return($e=this.parent)==null?void 0:$e.hasBinding(ae,_e)}moveBindingTo(ae,_e){let $e=this.getBinding(ae);$e&&($e.scope.removeOwnBinding(ae),$e.scope=_e,_e.bindings[ae]=$e)}removeOwnBinding(ae){delete this.bindings[ae]}removeBinding(ae){var _e;(_e=this.getBinding(ae))==null||_e.scope.removeOwnBinding(ae);{let $e=this;do $e.uids[ae]&&($e.uids[ae]=!1);while($e=$e.parent)}}hoistVariables(ae=_e=>this.push({id:_e})){this.crawl();let _e=new Set;for(let $e of Object.keys(this.bindings)){let st=this.bindings[$e];if(!st)continue;let{path:et}=st;if(!et.isVariableDeclarator())continue;let{parent:oe,parentPath:Ae}=et;if(oe.kind!=="var"||_e.has(oe))continue;let Ge;_e.add(et.parent);let He=[];for(let Ee of oe.declarations){Ge!=null||(Ge=Ee.id),Ee.init&&He.push(g("=",Ee.id,Ee.init));let Le=Object.keys(u(Ee,!1,!0,!0));for(let Ie of Le)ae(f(Ie),Ee.init!=null)}if(Ae.parentPath.isFor({left:oe}))Ae.replaceWith(Ge);else if(He.length===0)Ae.remove();else{let Ee=He.length===1?He[0]:We(He);Ae.parentPath.isForStatement({init:oe})?Ae.replaceWith(Ee):Ae.replaceWith(ye(Ee))}}}}e.default=Ve,Ve.globals=[...v,...T],Ve.contextVariables=["arguments","undefined","Infinity","NaN"],Ve.prototype._renameFromMap=function(Ne,ae,_e,$e){Ne[ae]&&(Ne[_e]=$e,Ne[ae]=null)},Ve.prototype.traverse=function(Ne,ae,_e){(0,l.default)(Ne,ae,this,_e,this.path)},Ve.prototype._generateUid=function(Ne,ae){let _e=Ne;return ae>1&&(_e+=ae),`_${_e}`},Ve.prototype.toArray=function(Ne,ae,_e){if(O(Ne)){let et=this.getBinding(Ne.name);if(et!=null&&et.constant&&et.path.isGenericType("Array"))return Ne}if(y(Ne))return Ne;if(O(Ne,{name:"arguments"}))return p(ve(ve(ve(f("Array"),f("prototype")),f("slice")),f("call")),[Ne]);let $e,st=[Ne];return ae===!0?$e="toConsumableArray":typeof ae=="number"?(st.push(ce(ae)),$e="slicedToArray"):$e="toArray",_e&&(st.unshift(this.path.hub.addHelper($e)),$e="maybeArrayLike"),p(this.path.hub.addHelper($e),st)},Ve.prototype.getAllBindingsOfKind=function(...Ne){let ae=Object.create(null);for(let _e of Ne){let $e=this;do{for(let st of Object.keys($e.bindings)){let et=$e.bindings[st];et.kind===_e&&(ae[st]=et)}$e=$e.parent}while($e)}return ae},Object.defineProperties(Ve.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/scope/lib/renamer.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),l=r,d=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/traverse-node.js"),t=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/visitors.js"),i=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/context.js");let{getAssignmentIdentifiers:c}=l,v={ReferencedIdentifier({node:T},g){T.name===g.oldName&&(T.name=g.newName)},Scope(T,g){T.scope.bindingIdentifierEquals(g.oldName,g.binding.identifier)||(T.skip(),T.isMethod()&&(T.requeueComputedKeyAndDecorators?T.requeueComputedKeyAndDecorators():i.requeueComputedKeyAndDecorators.call(T)))},ObjectProperty({node:T,scope:g},p){let{name:h}=T.key;var u;!T.shorthand||h!==p.oldName&&h!==p.newName||g.getBindingIdentifier(h)!==p.binding.identifier||(T.shorthand=!1,(u=T.extra)!=null&&u.shorthand&&(T.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator"(T,g){if(T.isVariableDeclaration())return;let p=T.isAssignmentExpression()?c(T.node):T.getOuterBindingIdentifiers();for(let h in p)h===g.oldName&&(p[h].name=g.newName)}};e.default=class{constructor(T,g,p){this.newName=p,this.oldName=g,this.binding=T}maybeConvertFromExportDeclaration(T){let g=T.parentPath;if(g.isExportDeclaration()){if(g.isExportDefaultDeclaration()){let{declaration:p}=g.node;if(r.isDeclaration(p)&&!p.id)return}g.isExportAllDeclaration()||g.splitExportDeclaration()}}maybeConvertFromClassFunctionDeclaration(T){return T}maybeConvertFromClassFunctionExpression(T){return T}rename(){let{binding:T,oldName:g,newName:p}=this,{scope:h,path:u}=T,f=u.find(S=>S.isDeclaration()||S.isFunctionExpression()||S.isClassExpression());f&&f.getOuterBindingIdentifiers()[g]===T.identifier&&this.maybeConvertFromExportDeclaration(f);let y=arguments[0]||h.block,P={discriminant:!0};r.isMethod(y)&&(y.computed&&(P.key=!0),r.isObjectMethod(y)||(P.decorators=!0)),(0,d.traverseNode)(y,(0,t.explode)(v),h,this,h.path,P),arguments[0]||(h.removeOwnBinding(g),h.bindings[p]=T,this.binding.identifier.name=p),f&&(this.maybeConvertFromClassFunctionDeclaration(u),this.maybeConvertFromClassFunctionExpression(u))}}},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/traverse-node.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.traverseNode=function(t,i,c,v,T,g,p){let h=d[t.type];if(!h)return!1;let u=new r.default(c,i,v,T);if(p)return(g==null||!g[T.parentKey])&&u.visitQueue([T]);for(let f of h)if((g==null||!g[f])&&u.visit(t,f))return!0;return!1};var r=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/context.js"),l=(E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/index.js"),E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"));E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/context.js");let{VISITOR_KEYS:d}=l},"./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/visitors.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.environmentVisitor=function(L){return P([K,L])},e.explode=u,e.isExplodedVisitor=h,e.merge=P,e.verify=f;var r=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/lib/virtual-types.js"),l=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js"),d=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js"),t=E("./node_modules/.pnpm/@babel+traverse@7.28.0/node_modules/@babel/traverse/lib/path/context.js");let{DEPRECATED_KEYS:i,DEPRECATED_ALIASES:c,FLIPPED_ALIAS_KEYS:v,TYPES:T,__internal__deprecationWarning:g}=d;function p(L){return L in r}function h(L){return L?._exploded}function u(L){if(h(L))return L;L._exploded=!0;for(let w of Object.keys(L)){if(N(w))continue;let O=w.split("|");if(O.length===1)continue;let z=L[w];delete L[w];for(let te of O)L[te]=z}f(L),delete L.__esModule,(function(w){for(let O of Object.keys(w)){if(N(O))continue;let z=w[O];typeof z=="function"&&(w[O]={enter:z})}})(L),b(L);for(let w of Object.keys(L)){if(N(w)||!p(w))continue;let O=L[w];for(let te of Object.keys(O))O[te]=C(w,O[te]);delete L[w];let z=r[w];if(z!==null)for(let te of z)L[te]?F(L[te],O):L[te]=O;else F(L,O)}for(let w of Object.keys(L)){if(N(w))continue;let O=v[w];if(w in i){let te=i[w];g(w,te,"Visitor "),O=[te]}else if(w in c){let te=c[w];g(w,te,"Visitor "),O=v[te]}if(!O)continue;let z=L[w];delete L[w];for(let te of O){let $=L[te];$?F($,z):L[te]=Object.assign({},z)}}for(let w of Object.keys(L))N(w)||b(L[w]);return L}function f(L){if(!L._verified){if(typeof L=="function")throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let w of Object.keys(L)){if(w!=="enter"&&w!=="exit"||y(w,L[w]),N(w))continue;if(!T.includes(w))throw new Error(`You gave us a visitor for the node type ${w} but it's not a valid type in @babel/traverse 7.28.0`);let O=L[w];if(typeof O=="object")for(let z of Object.keys(O)){if(z!=="enter"&&z!=="exit")throw new Error(`You passed \`traverse()\` a visitor object with the property ${w} that has the invalid property ${z}`);y(`${w}.${z}`,O[z])}}L._verified=!0}}function y(L,w){let O=[].concat(w);for(let z of O)if(typeof z!="function")throw new TypeError(`Non-function found defined in ${L} with type ${typeof z}`)}function P(L,w=[],O){let z={_verified:!0,_exploded:!0};Object.defineProperty(z,"_exploded",{enumerable:!1}),Object.defineProperty(z,"_verified",{enumerable:!1});for(let te=0;te<L.length;te++){let $=u(L[te]),D=w[te],W=$;(D||O)&&(W=S(W,D,O)),F(z,W);for(let q of Object.keys($)){if(N(q))continue;let re=$[q];(D||O)&&(re=S(re,D,O)),F(z[q]||(z[q]={}),re)}}return z}function S(L,w,O){let z={};for(let te of["enter","exit"]){let $=L[te];Array.isArray($)&&($=$.map(function(D){let W=D;return w&&(W=function(q){D.call(w,q,w)}),O&&(W=O(w?.key,te,W)),W!==D&&(W.toString=()=>D.toString()),W}),z[te]=$)}return z}function b(L){L.enter&&!Array.isArray(L.enter)&&(L.enter=[L.enter]),L.exit&&!Array.isArray(L.exit)&&(L.exit=[L.exit])}function C(L,w){let O=l[`is${L}`],z=function(te){if(O.call(te))return w.apply(this,arguments)};return z.toString=()=>w.toString(),z}function N(L){return L[0]==="_"||L==="enter"||L==="exit"||L==="shouldSkip"||L==="denylist"||L==="noScope"||L==="skipKeys"||L==="blacklist"}function F(L,w){for(let O of["enter","exit"])w[O]&&(L[O]=[].concat(L[O]||[],w[O]))}let K={FunctionParent(L){L.isArrowFunctionExpression()||(L.skip(),L.isMethod()&&(L.requeueComputedKeyAndDecorators?L.requeueComputedKeyAndDecorators():t.requeueComputedKeyAndDecorators.call(L)))},Property(L){L.isObjectProperty()||(L.skip(),L.requeueComputedKeyAndDecorators?L.requeueComputedKeyAndDecorators():t.requeueComputedKeyAndDecorators.call(L))}}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/asserts/assertNode.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){if(!(0,r.default)(l)){var d;let t=(d=l?.type)!=null?d:JSON.stringify(l);throw new TypeError(`Not a valid node of type "${t}"`)}};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isNode.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/asserts/generated/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assertAccessor=function(t,i){d("Accessor",t,i)},e.assertAnyTypeAnnotation=function(t,i){d("AnyTypeAnnotation",t,i)},e.assertArgumentPlaceholder=function(t,i){d("ArgumentPlaceholder",t,i)},e.assertArrayExpression=function(t,i){d("ArrayExpression",t,i)},e.assertArrayPattern=function(t,i){d("ArrayPattern",t,i)},e.assertArrayTypeAnnotation=function(t,i){d("ArrayTypeAnnotation",t,i)},e.assertArrowFunctionExpression=function(t,i){d("ArrowFunctionExpression",t,i)},e.assertAssignmentExpression=function(t,i){d("AssignmentExpression",t,i)},e.assertAssignmentPattern=function(t,i){d("AssignmentPattern",t,i)},e.assertAwaitExpression=function(t,i){d("AwaitExpression",t,i)},e.assertBigIntLiteral=function(t,i){d("BigIntLiteral",t,i)},e.assertBinary=function(t,i){d("Binary",t,i)},e.assertBinaryExpression=function(t,i){d("BinaryExpression",t,i)},e.assertBindExpression=function(t,i){d("BindExpression",t,i)},e.assertBlock=function(t,i){d("Block",t,i)},e.assertBlockParent=function(t,i){d("BlockParent",t,i)},e.assertBlockStatement=function(t,i){d("BlockStatement",t,i)},e.assertBooleanLiteral=function(t,i){d("BooleanLiteral",t,i)},e.assertBooleanLiteralTypeAnnotation=function(t,i){d("BooleanLiteralTypeAnnotation",t,i)},e.assertBooleanTypeAnnotation=function(t,i){d("BooleanTypeAnnotation",t,i)},e.assertBreakStatement=function(t,i){d("BreakStatement",t,i)},e.assertCallExpression=function(t,i){d("CallExpression",t,i)},e.assertCatchClause=function(t,i){d("CatchClause",t,i)},e.assertClass=function(t,i){d("Class",t,i)},e.assertClassAccessorProperty=function(t,i){d("ClassAccessorProperty",t,i)},e.assertClassBody=function(t,i){d("ClassBody",t,i)},e.assertClassDeclaration=function(t,i){d("ClassDeclaration",t,i)},e.assertClassExpression=function(t,i){d("ClassExpression",t,i)},e.assertClassImplements=function(t,i){d("ClassImplements",t,i)},e.assertClassMethod=function(t,i){d("ClassMethod",t,i)},e.assertClassPrivateMethod=function(t,i){d("ClassPrivateMethod",t,i)},e.assertClassPrivateProperty=function(t,i){d("ClassPrivateProperty",t,i)},e.assertClassProperty=function(t,i){d("ClassProperty",t,i)},e.assertCompletionStatement=function(t,i){d("CompletionStatement",t,i)},e.assertConditional=function(t,i){d("Conditional",t,i)},e.assertConditionalExpression=function(t,i){d("ConditionalExpression",t,i)},e.assertContinueStatement=function(t,i){d("ContinueStatement",t,i)},e.assertDebuggerStatement=function(t,i){d("DebuggerStatement",t,i)},e.assertDecimalLiteral=function(t,i){d("DecimalLiteral",t,i)},e.assertDeclaration=function(t,i){d("Declaration",t,i)},e.assertDeclareClass=function(t,i){d("DeclareClass",t,i)},e.assertDeclareExportAllDeclaration=function(t,i){d("DeclareExportAllDeclaration",t,i)},e.assertDeclareExportDeclaration=function(t,i){d("DeclareExportDeclaration",t,i)},e.assertDeclareFunction=function(t,i){d("DeclareFunction",t,i)},e.assertDeclareInterface=function(t,i){d("DeclareInterface",t,i)},e.assertDeclareModule=function(t,i){d("DeclareModule",t,i)},e.assertDeclareModuleExports=function(t,i){d("DeclareModuleExports",t,i)},e.assertDeclareOpaqueType=function(t,i){d("DeclareOpaqueType",t,i)},e.assertDeclareTypeAlias=function(t,i){d("DeclareTypeAlias",t,i)},e.assertDeclareVariable=function(t,i){d("DeclareVariable",t,i)},e.assertDeclaredPredicate=function(t,i){d("DeclaredPredicate",t,i)},e.assertDecorator=function(t,i){d("Decorator",t,i)},e.assertDirective=function(t,i){d("Directive",t,i)},e.assertDirectiveLiteral=function(t,i){d("DirectiveLiteral",t,i)},e.assertDoExpression=function(t,i){d("DoExpression",t,i)},e.assertDoWhileStatement=function(t,i){d("DoWhileStatement",t,i)},e.assertEmptyStatement=function(t,i){d("EmptyStatement",t,i)},e.assertEmptyTypeAnnotation=function(t,i){d("EmptyTypeAnnotation",t,i)},e.assertEnumBody=function(t,i){d("EnumBody",t,i)},e.assertEnumBooleanBody=function(t,i){d("EnumBooleanBody",t,i)},e.assertEnumBooleanMember=function(t,i){d("EnumBooleanMember",t,i)},e.assertEnumDeclaration=function(t,i){d("EnumDeclaration",t,i)},e.assertEnumDefaultedMember=function(t,i){d("EnumDefaultedMember",t,i)},e.assertEnumMember=function(t,i){d("EnumMember",t,i)},e.assertEnumNumberBody=function(t,i){d("EnumNumberBody",t,i)},e.assertEnumNumberMember=function(t,i){d("EnumNumberMember",t,i)},e.assertEnumStringBody=function(t,i){d("EnumStringBody",t,i)},e.assertEnumStringMember=function(t,i){d("EnumStringMember",t,i)},e.assertEnumSymbolBody=function(t,i){d("EnumSymbolBody",t,i)},e.assertExistsTypeAnnotation=function(t,i){d("ExistsTypeAnnotation",t,i)},e.assertExportAllDeclaration=function(t,i){d("ExportAllDeclaration",t,i)},e.assertExportDeclaration=function(t,i){d("ExportDeclaration",t,i)},e.assertExportDefaultDeclaration=function(t,i){d("ExportDefaultDeclaration",t,i)},e.assertExportDefaultSpecifier=function(t,i){d("ExportDefaultSpecifier",t,i)},e.assertExportNamedDeclaration=function(t,i){d("ExportNamedDeclaration",t,i)},e.assertExportNamespaceSpecifier=function(t,i){d("ExportNamespaceSpecifier",t,i)},e.assertExportSpecifier=function(t,i){d("ExportSpecifier",t,i)},e.assertExpression=function(t,i){d("Expression",t,i)},e.assertExpressionStatement=function(t,i){d("ExpressionStatement",t,i)},e.assertExpressionWrapper=function(t,i){d("ExpressionWrapper",t,i)},e.assertFile=function(t,i){d("File",t,i)},e.assertFlow=function(t,i){d("Flow",t,i)},e.assertFlowBaseAnnotation=function(t,i){d("FlowBaseAnnotation",t,i)},e.assertFlowDeclaration=function(t,i){d("FlowDeclaration",t,i)},e.assertFlowPredicate=function(t,i){d("FlowPredicate",t,i)},e.assertFlowType=function(t,i){d("FlowType",t,i)},e.assertFor=function(t,i){d("For",t,i)},e.assertForInStatement=function(t,i){d("ForInStatement",t,i)},e.assertForOfStatement=function(t,i){d("ForOfStatement",t,i)},e.assertForStatement=function(t,i){d("ForStatement",t,i)},e.assertForXStatement=function(t,i){d("ForXStatement",t,i)},e.assertFunction=function(t,i){d("Function",t,i)},e.assertFunctionDeclaration=function(t,i){d("FunctionDeclaration",t,i)},e.assertFunctionExpression=function(t,i){d("FunctionExpression",t,i)},e.assertFunctionParameter=function(t,i){d("FunctionParameter",t,i)},e.assertFunctionParent=function(t,i){d("FunctionParent",t,i)},e.assertFunctionTypeAnnotation=function(t,i){d("FunctionTypeAnnotation",t,i)},e.assertFunctionTypeParam=function(t,i){d("FunctionTypeParam",t,i)},e.assertGenericTypeAnnotation=function(t,i){d("GenericTypeAnnotation",t,i)},e.assertIdentifier=function(t,i){d("Identifier",t,i)},e.assertIfStatement=function(t,i){d("IfStatement",t,i)},e.assertImmutable=function(t,i){d("Immutable",t,i)},e.assertImport=function(t,i){d("Import",t,i)},e.assertImportAttribute=function(t,i){d("ImportAttribute",t,i)},e.assertImportDeclaration=function(t,i){d("ImportDeclaration",t,i)},e.assertImportDefaultSpecifier=function(t,i){d("ImportDefaultSpecifier",t,i)},e.assertImportExpression=function(t,i){d("ImportExpression",t,i)},e.assertImportNamespaceSpecifier=function(t,i){d("ImportNamespaceSpecifier",t,i)},e.assertImportOrExportDeclaration=function(t,i){d("ImportOrExportDeclaration",t,i)},e.assertImportSpecifier=function(t,i){d("ImportSpecifier",t,i)},e.assertIndexedAccessType=function(t,i){d("IndexedAccessType",t,i)},e.assertInferredPredicate=function(t,i){d("InferredPredicate",t,i)},e.assertInterfaceDeclaration=function(t,i){d("InterfaceDeclaration",t,i)},e.assertInterfaceExtends=function(t,i){d("InterfaceExtends",t,i)},e.assertInterfaceTypeAnnotation=function(t,i){d("InterfaceTypeAnnotation",t,i)},e.assertInterpreterDirective=function(t,i){d("InterpreterDirective",t,i)},e.assertIntersectionTypeAnnotation=function(t,i){d("IntersectionTypeAnnotation",t,i)},e.assertJSX=function(t,i){d("JSX",t,i)},e.assertJSXAttribute=function(t,i){d("JSXAttribute",t,i)},e.assertJSXClosingElement=function(t,i){d("JSXClosingElement",t,i)},e.assertJSXClosingFragment=function(t,i){d("JSXClosingFragment",t,i)},e.assertJSXElement=function(t,i){d("JSXElement",t,i)},e.assertJSXEmptyExpression=function(t,i){d("JSXEmptyExpression",t,i)},e.assertJSXExpressionContainer=function(t,i){d("JSXExpressionContainer",t,i)},e.assertJSXFragment=function(t,i){d("JSXFragment",t,i)},e.assertJSXIdentifier=function(t,i){d("JSXIdentifier",t,i)},e.assertJSXMemberExpression=function(t,i){d("JSXMemberExpression",t,i)},e.assertJSXNamespacedName=function(t,i){d("JSXNamespacedName",t,i)},e.assertJSXOpeningElement=function(t,i){d("JSXOpeningElement",t,i)},e.assertJSXOpeningFragment=function(t,i){d("JSXOpeningFragment",t,i)},e.assertJSXSpreadAttribute=function(t,i){d("JSXSpreadAttribute",t,i)},e.assertJSXSpreadChild=function(t,i){d("JSXSpreadChild",t,i)},e.assertJSXText=function(t,i){d("JSXText",t,i)},e.assertLVal=function(t,i){d("LVal",t,i)},e.assertLabeledStatement=function(t,i){d("LabeledStatement",t,i)},e.assertLiteral=function(t,i){d("Literal",t,i)},e.assertLogicalExpression=function(t,i){d("LogicalExpression",t,i)},e.assertLoop=function(t,i){d("Loop",t,i)},e.assertMemberExpression=function(t,i){d("MemberExpression",t,i)},e.assertMetaProperty=function(t,i){d("MetaProperty",t,i)},e.assertMethod=function(t,i){d("Method",t,i)},e.assertMiscellaneous=function(t,i){d("Miscellaneous",t,i)},e.assertMixedTypeAnnotation=function(t,i){d("MixedTypeAnnotation",t,i)},e.assertModuleDeclaration=function(t,i){(0,l.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),d("ModuleDeclaration",t,i)},e.assertModuleExpression=function(t,i){d("ModuleExpression",t,i)},e.assertModuleSpecifier=function(t,i){d("ModuleSpecifier",t,i)},e.assertNewExpression=function(t,i){d("NewExpression",t,i)},e.assertNoop=function(t,i){d("Noop",t,i)},e.assertNullLiteral=function(t,i){d("NullLiteral",t,i)},e.assertNullLiteralTypeAnnotation=function(t,i){d("NullLiteralTypeAnnotation",t,i)},e.assertNullableTypeAnnotation=function(t,i){d("NullableTypeAnnotation",t,i)},e.assertNumberLiteral=function(t,i){(0,l.default)("assertNumberLiteral","assertNumericLiteral"),d("NumberLiteral",t,i)},e.assertNumberLiteralTypeAnnotation=function(t,i){d("NumberLiteralTypeAnnotation",t,i)},e.assertNumberTypeAnnotation=function(t,i){d("NumberTypeAnnotation",t,i)},e.assertNumericLiteral=function(t,i){d("NumericLiteral",t,i)},e.assertObjectExpression=function(t,i){d("ObjectExpression",t,i)},e.assertObjectMember=function(t,i){d("ObjectMember",t,i)},e.assertObjectMethod=function(t,i){d("ObjectMethod",t,i)},e.assertObjectPattern=function(t,i){d("ObjectPattern",t,i)},e.assertObjectProperty=function(t,i){d("ObjectProperty",t,i)},e.assertObjectTypeAnnotation=function(t,i){d("ObjectTypeAnnotation",t,i)},e.assertObjectTypeCallProperty=function(t,i){d("ObjectTypeCallProperty",t,i)},e.assertObjectTypeIndexer=function(t,i){d("ObjectTypeIndexer",t,i)},e.assertObjectTypeInternalSlot=function(t,i){d("ObjectTypeInternalSlot",t,i)},e.assertObjectTypeProperty=function(t,i){d("ObjectTypeProperty",t,i)},e.assertObjectTypeSpreadProperty=function(t,i){d("ObjectTypeSpreadProperty",t,i)},e.assertOpaqueType=function(t,i){d("OpaqueType",t,i)},e.assertOptionalCallExpression=function(t,i){d("OptionalCallExpression",t,i)},e.assertOptionalIndexedAccessType=function(t,i){d("OptionalIndexedAccessType",t,i)},e.assertOptionalMemberExpression=function(t,i){d("OptionalMemberExpression",t,i)},e.assertParenthesizedExpression=function(t,i){d("ParenthesizedExpression",t,i)},e.assertPattern=function(t,i){d("Pattern",t,i)},e.assertPatternLike=function(t,i){d("PatternLike",t,i)},e.assertPipelineBareFunction=function(t,i){d("PipelineBareFunction",t,i)},e.assertPipelinePrimaryTopicReference=function(t,i){d("PipelinePrimaryTopicReference",t,i)},e.assertPipelineTopicExpression=function(t,i){d("PipelineTopicExpression",t,i)},e.assertPlaceholder=function(t,i){d("Placeholder",t,i)},e.assertPrivate=function(t,i){d("Private",t,i)},e.assertPrivateName=function(t,i){d("PrivateName",t,i)},e.assertProgram=function(t,i){d("Program",t,i)},e.assertProperty=function(t,i){d("Property",t,i)},e.assertPureish=function(t,i){d("Pureish",t,i)},e.assertQualifiedTypeIdentifier=function(t,i){d("QualifiedTypeIdentifier",t,i)},e.assertRecordExpression=function(t,i){d("RecordExpression",t,i)},e.assertRegExpLiteral=function(t,i){d("RegExpLiteral",t,i)},e.assertRegexLiteral=function(t,i){(0,l.default)("assertRegexLiteral","assertRegExpLiteral"),d("RegexLiteral",t,i)},e.assertRestElement=function(t,i){d("RestElement",t,i)},e.assertRestProperty=function(t,i){(0,l.default)("assertRestProperty","assertRestElement"),d("RestProperty",t,i)},e.assertReturnStatement=function(t,i){d("ReturnStatement",t,i)},e.assertScopable=function(t,i){d("Scopable",t,i)},e.assertSequenceExpression=function(t,i){d("SequenceExpression",t,i)},e.assertSpreadElement=function(t,i){d("SpreadElement",t,i)},e.assertSpreadProperty=function(t,i){(0,l.default)("assertSpreadProperty","assertSpreadElement"),d("SpreadProperty",t,i)},e.assertStandardized=function(t,i){d("Standardized",t,i)},e.assertStatement=function(t,i){d("Statement",t,i)},e.assertStaticBlock=function(t,i){d("StaticBlock",t,i)},e.assertStringLiteral=function(t,i){d("StringLiteral",t,i)},e.assertStringLiteralTypeAnnotation=function(t,i){d("StringLiteralTypeAnnotation",t,i)},e.assertStringTypeAnnotation=function(t,i){d("StringTypeAnnotation",t,i)},e.assertSuper=function(t,i){d("Super",t,i)},e.assertSwitchCase=function(t,i){d("SwitchCase",t,i)},e.assertSwitchStatement=function(t,i){d("SwitchStatement",t,i)},e.assertSymbolTypeAnnotation=function(t,i){d("SymbolTypeAnnotation",t,i)},e.assertTSAnyKeyword=function(t,i){d("TSAnyKeyword",t,i)},e.assertTSArrayType=function(t,i){d("TSArrayType",t,i)},e.assertTSAsExpression=function(t,i){d("TSAsExpression",t,i)},e.assertTSBaseType=function(t,i){d("TSBaseType",t,i)},e.assertTSBigIntKeyword=function(t,i){d("TSBigIntKeyword",t,i)},e.assertTSBooleanKeyword=function(t,i){d("TSBooleanKeyword",t,i)},e.assertTSCallSignatureDeclaration=function(t,i){d("TSCallSignatureDeclaration",t,i)},e.assertTSConditionalType=function(t,i){d("TSConditionalType",t,i)},e.assertTSConstructSignatureDeclaration=function(t,i){d("TSConstructSignatureDeclaration",t,i)},e.assertTSConstructorType=function(t,i){d("TSConstructorType",t,i)},e.assertTSDeclareFunction=function(t,i){d("TSDeclareFunction",t,i)},e.assertTSDeclareMethod=function(t,i){d("TSDeclareMethod",t,i)},e.assertTSEntityName=function(t,i){d("TSEntityName",t,i)},e.assertTSEnumBody=function(t,i){d("TSEnumBody",t,i)},e.assertTSEnumDeclaration=function(t,i){d("TSEnumDeclaration",t,i)},e.assertTSEnumMember=function(t,i){d("TSEnumMember",t,i)},e.assertTSExportAssignment=function(t,i){d("TSExportAssignment",t,i)},e.assertTSExpressionWithTypeArguments=function(t,i){d("TSExpressionWithTypeArguments",t,i)},e.assertTSExternalModuleReference=function(t,i){d("TSExternalModuleReference",t,i)},e.assertTSFunctionType=function(t,i){d("TSFunctionType",t,i)},e.assertTSImportEqualsDeclaration=function(t,i){d("TSImportEqualsDeclaration",t,i)},e.assertTSImportType=function(t,i){d("TSImportType",t,i)},e.assertTSIndexSignature=function(t,i){d("TSIndexSignature",t,i)},e.assertTSIndexedAccessType=function(t,i){d("TSIndexedAccessType",t,i)},e.assertTSInferType=function(t,i){d("TSInferType",t,i)},e.assertTSInstantiationExpression=function(t,i){d("TSInstantiationExpression",t,i)},e.assertTSInterfaceBody=function(t,i){d("TSInterfaceBody",t,i)},e.assertTSInterfaceDeclaration=function(t,i){d("TSInterfaceDeclaration",t,i)},e.assertTSIntersectionType=function(t,i){d("TSIntersectionType",t,i)},e.assertTSIntrinsicKeyword=function(t,i){d("TSIntrinsicKeyword",t,i)},e.assertTSLiteralType=function(t,i){d("TSLiteralType",t,i)},e.assertTSMappedType=function(t,i){d("TSMappedType",t,i)},e.assertTSMethodSignature=function(t,i){d("TSMethodSignature",t,i)},e.assertTSModuleBlock=function(t,i){d("TSModuleBlock",t,i)},e.assertTSModuleDeclaration=function(t,i){d("TSModuleDeclaration",t,i)},e.assertTSNamedTupleMember=function(t,i){d("TSNamedTupleMember",t,i)},e.assertTSNamespaceExportDeclaration=function(t,i){d("TSNamespaceExportDeclaration",t,i)},e.assertTSNeverKeyword=function(t,i){d("TSNeverKeyword",t,i)},e.assertTSNonNullExpression=function(t,i){d("TSNonNullExpression",t,i)},e.assertTSNullKeyword=function(t,i){d("TSNullKeyword",t,i)},e.assertTSNumberKeyword=function(t,i){d("TSNumberKeyword",t,i)},e.assertTSObjectKeyword=function(t,i){d("TSObjectKeyword",t,i)},e.assertTSOptionalType=function(t,i){d("TSOptionalType",t,i)},e.assertTSParameterProperty=function(t,i){d("TSParameterProperty",t,i)},e.assertTSParenthesizedType=function(t,i){d("TSParenthesizedType",t,i)},e.assertTSPropertySignature=function(t,i){d("TSPropertySignature",t,i)},e.assertTSQualifiedName=function(t,i){d("TSQualifiedName",t,i)},e.assertTSRestType=function(t,i){d("TSRestType",t,i)},e.assertTSSatisfiesExpression=function(t,i){d("TSSatisfiesExpression",t,i)},e.assertTSStringKeyword=function(t,i){d("TSStringKeyword",t,i)},e.assertTSSymbolKeyword=function(t,i){d("TSSymbolKeyword",t,i)},e.assertTSTemplateLiteralType=function(t,i){d("TSTemplateLiteralType",t,i)},e.assertTSThisType=function(t,i){d("TSThisType",t,i)},e.assertTSTupleType=function(t,i){d("TSTupleType",t,i)},e.assertTSType=function(t,i){d("TSType",t,i)},e.assertTSTypeAliasDeclaration=function(t,i){d("TSTypeAliasDeclaration",t,i)},e.assertTSTypeAnnotation=function(t,i){d("TSTypeAnnotation",t,i)},e.assertTSTypeAssertion=function(t,i){d("TSTypeAssertion",t,i)},e.assertTSTypeElement=function(t,i){d("TSTypeElement",t,i)},e.assertTSTypeLiteral=function(t,i){d("TSTypeLiteral",t,i)},e.assertTSTypeOperator=function(t,i){d("TSTypeOperator",t,i)},e.assertTSTypeParameter=function(t,i){d("TSTypeParameter",t,i)},e.assertTSTypeParameterDeclaration=function(t,i){d("TSTypeParameterDeclaration",t,i)},e.assertTSTypeParameterInstantiation=function(t,i){d("TSTypeParameterInstantiation",t,i)},e.assertTSTypePredicate=function(t,i){d("TSTypePredicate",t,i)},e.assertTSTypeQuery=function(t,i){d("TSTypeQuery",t,i)},e.assertTSTypeReference=function(t,i){d("TSTypeReference",t,i)},e.assertTSUndefinedKeyword=function(t,i){d("TSUndefinedKeyword",t,i)},e.assertTSUnionType=function(t,i){d("TSUnionType",t,i)},e.assertTSUnknownKeyword=function(t,i){d("TSUnknownKeyword",t,i)},e.assertTSVoidKeyword=function(t,i){d("TSVoidKeyword",t,i)},e.assertTaggedTemplateExpression=function(t,i){d("TaggedTemplateExpression",t,i)},e.assertTemplateElement=function(t,i){d("TemplateElement",t,i)},e.assertTemplateLiteral=function(t,i){d("TemplateLiteral",t,i)},e.assertTerminatorless=function(t,i){d("Terminatorless",t,i)},e.assertThisExpression=function(t,i){d("ThisExpression",t,i)},e.assertThisTypeAnnotation=function(t,i){d("ThisTypeAnnotation",t,i)},e.assertThrowStatement=function(t,i){d("ThrowStatement",t,i)},e.assertTopicReference=function(t,i){d("TopicReference",t,i)},e.assertTryStatement=function(t,i){d("TryStatement",t,i)},e.assertTupleExpression=function(t,i){d("TupleExpression",t,i)},e.assertTupleTypeAnnotation=function(t,i){d("TupleTypeAnnotation",t,i)},e.assertTypeAlias=function(t,i){d("TypeAlias",t,i)},e.assertTypeAnnotation=function(t,i){d("TypeAnnotation",t,i)},e.assertTypeCastExpression=function(t,i){d("TypeCastExpression",t,i)},e.assertTypeParameter=function(t,i){d("TypeParameter",t,i)},e.assertTypeParameterDeclaration=function(t,i){d("TypeParameterDeclaration",t,i)},e.assertTypeParameterInstantiation=function(t,i){d("TypeParameterInstantiation",t,i)},e.assertTypeScript=function(t,i){d("TypeScript",t,i)},e.assertTypeofTypeAnnotation=function(t,i){d("TypeofTypeAnnotation",t,i)},e.assertUnaryExpression=function(t,i){d("UnaryExpression",t,i)},e.assertUnaryLike=function(t,i){d("UnaryLike",t,i)},e.assertUnionTypeAnnotation=function(t,i){d("UnionTypeAnnotation",t,i)},e.assertUpdateExpression=function(t,i){d("UpdateExpression",t,i)},e.assertUserWhitespacable=function(t,i){d("UserWhitespacable",t,i)},e.assertV8IntrinsicIdentifier=function(t,i){d("V8IntrinsicIdentifier",t,i)},e.assertVariableDeclaration=function(t,i){d("VariableDeclaration",t,i)},e.assertVariableDeclarator=function(t,i){d("VariableDeclarator",t,i)},e.assertVariance=function(t,i){d("Variance",t,i)},e.assertVoidPattern=function(t,i){d("VoidPattern",t,i)},e.assertVoidTypeAnnotation=function(t,i){d("VoidTypeAnnotation",t,i)},e.assertWhile=function(t,i){d("While",t,i)},e.assertWhileStatement=function(t,i){d("WhileStatement",t,i)},e.assertWithStatement=function(t,i){d("WithStatement",t,i)},e.assertYieldExpression=function(t,i){d("YieldExpression",t,i)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/is.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/deprecationWarning.js");function d(t,i,c){if(!(0,r.default)(t,i,c))throw new Error(`Expected type "${t}" with option ${JSON.stringify(c)}, but instead got "${i.type}".`)}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d){let t=(0,l.default)(d);return t.length===1?t[0]:(0,r.unionTypeAnnotation)(t)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/index.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/index.js");e.default=function(l){switch(l){case"string":return(0,r.stringTypeAnnotation)();case"number":return(0,r.numberTypeAnnotation)();case"undefined":return(0,r.voidTypeAnnotation)();case"boolean":return(0,r.booleanTypeAnnotation)();case"function":return(0,r.genericTypeAnnotation)((0,r.identifier)("Function"));case"object":return(0,r.genericTypeAnnotation)((0,r.identifier)("Object"));case"symbol":return(0,r.genericTypeAnnotation)((0,r.identifier)("Symbol"));case"bigint":return(0,r.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+l)}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/lowercase.js");Object.keys(r).forEach(function(d){d!=="default"&&d!=="__esModule"&&(d in e&&e[d]===r[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return r[d]}}))});var l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/uppercase.js");Object.keys(l).forEach(function(d){d!=="default"&&d!=="__esModule"&&(d in e&&e[d]===l[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return l[d]}}))})},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/lowercase.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.anyTypeAnnotation=function(){return{type:"AnyTypeAnnotation"}},e.argumentPlaceholder=function(){return{type:"ArgumentPlaceholder"}},e.arrayExpression=function(p=[]){let h={type:"ArrayExpression",elements:p},u=i.ArrayExpression;return t(u.elements,h,"elements",p,1),h},e.arrayPattern=function(p){let h={type:"ArrayPattern",elements:p},u=i.ArrayPattern;return t(u.elements,h,"elements",p,1),h},e.arrayTypeAnnotation=function(p){let h={type:"ArrayTypeAnnotation",elementType:p},u=i.ArrayTypeAnnotation;return t(u.elementType,h,"elementType",p,1),h},e.arrowFunctionExpression=function(p,h,u=!1){let f={type:"ArrowFunctionExpression",params:p,body:h,async:u,expression:null},y=i.ArrowFunctionExpression;return t(y.params,f,"params",p,1),t(y.body,f,"body",h,1),t(y.async,f,"async",u),f},e.assignmentExpression=function(p,h,u){let f={type:"AssignmentExpression",operator:p,left:h,right:u},y=i.AssignmentExpression;return t(y.operator,f,"operator",p),t(y.left,f,"left",h,1),t(y.right,f,"right",u,1),f},e.assignmentPattern=function(p,h){let u={type:"AssignmentPattern",left:p,right:h},f=i.AssignmentPattern;return t(f.left,u,"left",p,1),t(f.right,u,"right",h,1),u},e.awaitExpression=function(p){let h={type:"AwaitExpression",argument:p},u=i.AwaitExpression;return t(u.argument,h,"argument",p,1),h},e.bigIntLiteral=function(p){typeof p=="bigint"&&(p=p.toString());let h={type:"BigIntLiteral",value:p},u=i.BigIntLiteral;return t(u.value,h,"value",p),h},e.binaryExpression=function(p,h,u){let f={type:"BinaryExpression",operator:p,left:h,right:u},y=i.BinaryExpression;return t(y.operator,f,"operator",p),t(y.left,f,"left",h,1),t(y.right,f,"right",u,1),f},e.bindExpression=function(p,h){let u={type:"BindExpression",object:p,callee:h},f=i.BindExpression;return t(f.object,u,"object",p,1),t(f.callee,u,"callee",h,1),u},e.blockStatement=function(p,h=[]){let u={type:"BlockStatement",body:p,directives:h},f=i.BlockStatement;return t(f.body,u,"body",p,1),t(f.directives,u,"directives",h,1),u},e.booleanLiteral=function(p){let h={type:"BooleanLiteral",value:p},u=i.BooleanLiteral;return t(u.value,h,"value",p),h},e.booleanLiteralTypeAnnotation=function(p){let h={type:"BooleanLiteralTypeAnnotation",value:p},u=i.BooleanLiteralTypeAnnotation;return t(u.value,h,"value",p),h},e.booleanTypeAnnotation=function(){return{type:"BooleanTypeAnnotation"}},e.breakStatement=function(p=null){let h={type:"BreakStatement",label:p},u=i.BreakStatement;return t(u.label,h,"label",p,1),h},e.callExpression=function(p,h){let u={type:"CallExpression",callee:p,arguments:h},f=i.CallExpression;return t(f.callee,u,"callee",p,1),t(f.arguments,u,"arguments",h,1),u},e.catchClause=function(p=null,h){let u={type:"CatchClause",param:p,body:h},f=i.CatchClause;return t(f.param,u,"param",p,1),t(f.body,u,"body",h,1),u},e.classAccessorProperty=function(p,h=null,u=null,f=null,y=!1,P=!1){let S={type:"ClassAccessorProperty",key:p,value:h,typeAnnotation:u,decorators:f,computed:y,static:P},b=i.ClassAccessorProperty;return t(b.key,S,"key",p,1),t(b.value,S,"value",h,1),t(b.typeAnnotation,S,"typeAnnotation",u,1),t(b.decorators,S,"decorators",f,1),t(b.computed,S,"computed",y),t(b.static,S,"static",P),S},e.classBody=function(p){let h={type:"ClassBody",body:p},u=i.ClassBody;return t(u.body,h,"body",p,1),h},e.classDeclaration=function(p=null,h=null,u,f=null){let y={type:"ClassDeclaration",id:p,superClass:h,body:u,decorators:f},P=i.ClassDeclaration;return t(P.id,y,"id",p,1),t(P.superClass,y,"superClass",h,1),t(P.body,y,"body",u,1),t(P.decorators,y,"decorators",f,1),y},e.classExpression=function(p=null,h=null,u,f=null){let y={type:"ClassExpression",id:p,superClass:h,body:u,decorators:f},P=i.ClassExpression;return t(P.id,y,"id",p,1),t(P.superClass,y,"superClass",h,1),t(P.body,y,"body",u,1),t(P.decorators,y,"decorators",f,1),y},e.classImplements=function(p,h=null){let u={type:"ClassImplements",id:p,typeParameters:h},f=i.ClassImplements;return t(f.id,u,"id",p,1),t(f.typeParameters,u,"typeParameters",h,1),u},e.classMethod=function(p="method",h,u,f,y=!1,P=!1,S=!1,b=!1){let C={type:"ClassMethod",kind:p,key:h,params:u,body:f,computed:y,static:P,generator:S,async:b},N=i.ClassMethod;return t(N.kind,C,"kind",p),t(N.key,C,"key",h,1),t(N.params,C,"params",u,1),t(N.body,C,"body",f,1),t(N.computed,C,"computed",y),t(N.static,C,"static",P),t(N.generator,C,"generator",S),t(N.async,C,"async",b),C},e.classPrivateMethod=function(p="method",h,u,f,y=!1){let P={type:"ClassPrivateMethod",kind:p,key:h,params:u,body:f,static:y},S=i.ClassPrivateMethod;return t(S.kind,P,"kind",p),t(S.key,P,"key",h,1),t(S.params,P,"params",u,1),t(S.body,P,"body",f,1),t(S.static,P,"static",y),P},e.classPrivateProperty=function(p,h=null,u=null,f=!1){let y={type:"ClassPrivateProperty",key:p,value:h,decorators:u,static:f},P=i.ClassPrivateProperty;return t(P.key,y,"key",p,1),t(P.value,y,"value",h,1),t(P.decorators,y,"decorators",u,1),t(P.static,y,"static",f),y},e.classProperty=function(p,h=null,u=null,f=null,y=!1,P=!1){let S={type:"ClassProperty",key:p,value:h,typeAnnotation:u,decorators:f,computed:y,static:P},b=i.ClassProperty;return t(b.key,S,"key",p,1),t(b.value,S,"value",h,1),t(b.typeAnnotation,S,"typeAnnotation",u,1),t(b.decorators,S,"decorators",f,1),t(b.computed,S,"computed",y),t(b.static,S,"static",P),S},e.conditionalExpression=function(p,h,u){let f={type:"ConditionalExpression",test:p,consequent:h,alternate:u},y=i.ConditionalExpression;return t(y.test,f,"test",p,1),t(y.consequent,f,"consequent",h,1),t(y.alternate,f,"alternate",u,1),f},e.continueStatement=function(p=null){let h={type:"ContinueStatement",label:p},u=i.ContinueStatement;return t(u.label,h,"label",p,1),h},e.debuggerStatement=function(){return{type:"DebuggerStatement"}},e.decimalLiteral=function(p){let h={type:"DecimalLiteral",value:p},u=i.DecimalLiteral;return t(u.value,h,"value",p),h},e.declareClass=function(p,h=null,u=null,f){let y={type:"DeclareClass",id:p,typeParameters:h,extends:u,body:f},P=i.DeclareClass;return t(P.id,y,"id",p,1),t(P.typeParameters,y,"typeParameters",h,1),t(P.extends,y,"extends",u,1),t(P.body,y,"body",f,1),y},e.declareExportAllDeclaration=function(p,h=null){let u={type:"DeclareExportAllDeclaration",source:p,attributes:h},f=i.DeclareExportAllDeclaration;return t(f.source,u,"source",p,1),t(f.attributes,u,"attributes",h,1),u},e.declareExportDeclaration=function(p=null,h=null,u=null,f=null){let y={type:"DeclareExportDeclaration",declaration:p,specifiers:h,source:u,attributes:f},P=i.DeclareExportDeclaration;return t(P.declaration,y,"declaration",p,1),t(P.specifiers,y,"specifiers",h,1),t(P.source,y,"source",u,1),t(P.attributes,y,"attributes",f,1),y},e.declareFunction=function(p){let h={type:"DeclareFunction",id:p},u=i.DeclareFunction;return t(u.id,h,"id",p,1),h},e.declareInterface=function(p,h=null,u=null,f){let y={type:"DeclareInterface",id:p,typeParameters:h,extends:u,body:f},P=i.DeclareInterface;return t(P.id,y,"id",p,1),t(P.typeParameters,y,"typeParameters",h,1),t(P.extends,y,"extends",u,1),t(P.body,y,"body",f,1),y},e.declareModule=function(p,h,u=null){let f={type:"DeclareModule",id:p,body:h,kind:u},y=i.DeclareModule;return t(y.id,f,"id",p,1),t(y.body,f,"body",h,1),t(y.kind,f,"kind",u),f},e.declareModuleExports=function(p){let h={type:"DeclareModuleExports",typeAnnotation:p},u=i.DeclareModuleExports;return t(u.typeAnnotation,h,"typeAnnotation",p,1),h},e.declareOpaqueType=function(p,h=null,u=null){let f={type:"DeclareOpaqueType",id:p,typeParameters:h,supertype:u},y=i.DeclareOpaqueType;return t(y.id,f,"id",p,1),t(y.typeParameters,f,"typeParameters",h,1),t(y.supertype,f,"supertype",u,1),f},e.declareTypeAlias=function(p,h=null,u){let f={type:"DeclareTypeAlias",id:p,typeParameters:h,right:u},y=i.DeclareTypeAlias;return t(y.id,f,"id",p,1),t(y.typeParameters,f,"typeParameters",h,1),t(y.right,f,"right",u,1),f},e.declareVariable=function(p){let h={type:"DeclareVariable",id:p},u=i.DeclareVariable;return t(u.id,h,"id",p,1),h},e.declaredPredicate=function(p){let h={type:"DeclaredPredicate",value:p},u=i.DeclaredPredicate;return t(u.value,h,"value",p,1),h},e.decorator=function(p){let h={type:"Decorator",expression:p},u=i.Decorator;return t(u.expression,h,"expression",p,1),h},e.directive=function(p){let h={type:"Directive",value:p},u=i.Directive;return t(u.value,h,"value",p,1),h},e.directiveLiteral=function(p){let h={type:"DirectiveLiteral",value:p},u=i.DirectiveLiteral;return t(u.value,h,"value",p),h},e.doExpression=function(p,h=!1){let u={type:"DoExpression",body:p,async:h},f=i.DoExpression;return t(f.body,u,"body",p,1),t(f.async,u,"async",h),u},e.doWhileStatement=function(p,h){let u={type:"DoWhileStatement",test:p,body:h},f=i.DoWhileStatement;return t(f.test,u,"test",p,1),t(f.body,u,"body",h,1),u},e.emptyStatement=function(){return{type:"EmptyStatement"}},e.emptyTypeAnnotation=function(){return{type:"EmptyTypeAnnotation"}},e.enumBooleanBody=function(p){let h={type:"EnumBooleanBody",members:p,explicitType:null,hasUnknownMembers:null},u=i.EnumBooleanBody;return t(u.members,h,"members",p,1),h},e.enumBooleanMember=function(p){let h={type:"EnumBooleanMember",id:p,init:null},u=i.EnumBooleanMember;return t(u.id,h,"id",p,1),h},e.enumDeclaration=function(p,h){let u={type:"EnumDeclaration",id:p,body:h},f=i.EnumDeclaration;return t(f.id,u,"id",p,1),t(f.body,u,"body",h,1),u},e.enumDefaultedMember=function(p){let h={type:"EnumDefaultedMember",id:p},u=i.EnumDefaultedMember;return t(u.id,h,"id",p,1),h},e.enumNumberBody=function(p){let h={type:"EnumNumberBody",members:p,explicitType:null,hasUnknownMembers:null},u=i.EnumNumberBody;return t(u.members,h,"members",p,1),h},e.enumNumberMember=function(p,h){let u={type:"EnumNumberMember",id:p,init:h},f=i.EnumNumberMember;return t(f.id,u,"id",p,1),t(f.init,u,"init",h,1),u},e.enumStringBody=function(p){let h={type:"EnumStringBody",members:p,explicitType:null,hasUnknownMembers:null},u=i.EnumStringBody;return t(u.members,h,"members",p,1),h},e.enumStringMember=function(p,h){let u={type:"EnumStringMember",id:p,init:h},f=i.EnumStringMember;return t(f.id,u,"id",p,1),t(f.init,u,"init",h,1),u},e.enumSymbolBody=function(p){let h={type:"EnumSymbolBody",members:p,hasUnknownMembers:null},u=i.EnumSymbolBody;return t(u.members,h,"members",p,1),h},e.existsTypeAnnotation=function(){return{type:"ExistsTypeAnnotation"}},e.exportAllDeclaration=function(p){let h={type:"ExportAllDeclaration",source:p},u=i.ExportAllDeclaration;return t(u.source,h,"source",p,1),h},e.exportDefaultDeclaration=function(p){let h={type:"ExportDefaultDeclaration",declaration:p},u=i.ExportDefaultDeclaration;return t(u.declaration,h,"declaration",p,1),h},e.exportDefaultSpecifier=function(p){let h={type:"ExportDefaultSpecifier",exported:p},u=i.ExportDefaultSpecifier;return t(u.exported,h,"exported",p,1),h},e.exportNamedDeclaration=function(p=null,h=[],u=null){let f={type:"ExportNamedDeclaration",declaration:p,specifiers:h,source:u},y=i.ExportNamedDeclaration;return t(y.declaration,f,"declaration",p,1),t(y.specifiers,f,"specifiers",h,1),t(y.source,f,"source",u,1),f},e.exportNamespaceSpecifier=function(p){let h={type:"ExportNamespaceSpecifier",exported:p},u=i.ExportNamespaceSpecifier;return t(u.exported,h,"exported",p,1),h},e.exportSpecifier=function(p,h){let u={type:"ExportSpecifier",local:p,exported:h},f=i.ExportSpecifier;return t(f.local,u,"local",p,1),t(f.exported,u,"exported",h,1),u},e.expressionStatement=function(p){let h={type:"ExpressionStatement",expression:p},u=i.ExpressionStatement;return t(u.expression,h,"expression",p,1),h},e.file=function(p,h=null,u=null){let f={type:"File",program:p,comments:h,tokens:u},y=i.File;return t(y.program,f,"program",p,1),t(y.comments,f,"comments",h,1),t(y.tokens,f,"tokens",u),f},e.forInStatement=function(p,h,u){let f={type:"ForInStatement",left:p,right:h,body:u},y=i.ForInStatement;return t(y.left,f,"left",p,1),t(y.right,f,"right",h,1),t(y.body,f,"body",u,1),f},e.forOfStatement=function(p,h,u,f=!1){let y={type:"ForOfStatement",left:p,right:h,body:u,await:f},P=i.ForOfStatement;return t(P.left,y,"left",p,1),t(P.right,y,"right",h,1),t(P.body,y,"body",u,1),t(P.await,y,"await",f),y},e.forStatement=function(p=null,h=null,u=null,f){let y={type:"ForStatement",init:p,test:h,update:u,body:f},P=i.ForStatement;return t(P.init,y,"init",p,1),t(P.test,y,"test",h,1),t(P.update,y,"update",u,1),t(P.body,y,"body",f,1),y},e.functionDeclaration=function(p=null,h,u,f=!1,y=!1){let P={type:"FunctionDeclaration",id:p,params:h,body:u,generator:f,async:y},S=i.FunctionDeclaration;return t(S.id,P,"id",p,1),t(S.params,P,"params",h,1),t(S.body,P,"body",u,1),t(S.generator,P,"generator",f),t(S.async,P,"async",y),P},e.functionExpression=function(p=null,h,u,f=!1,y=!1){let P={type:"FunctionExpression",id:p,params:h,body:u,generator:f,async:y},S=i.FunctionExpression;return t(S.id,P,"id",p,1),t(S.params,P,"params",h,1),t(S.body,P,"body",u,1),t(S.generator,P,"generator",f),t(S.async,P,"async",y),P},e.functionTypeAnnotation=function(p=null,h,u=null,f){let y={type:"FunctionTypeAnnotation",typeParameters:p,params:h,rest:u,returnType:f},P=i.FunctionTypeAnnotation;return t(P.typeParameters,y,"typeParameters",p,1),t(P.params,y,"params",h,1),t(P.rest,y,"rest",u,1),t(P.returnType,y,"returnType",f,1),y},e.functionTypeParam=function(p=null,h){let u={type:"FunctionTypeParam",name:p,typeAnnotation:h},f=i.FunctionTypeParam;return t(f.name,u,"name",p,1),t(f.typeAnnotation,u,"typeAnnotation",h,1),u},e.genericTypeAnnotation=function(p,h=null){let u={type:"GenericTypeAnnotation",id:p,typeParameters:h},f=i.GenericTypeAnnotation;return t(f.id,u,"id",p,1),t(f.typeParameters,u,"typeParameters",h,1),u},e.identifier=function(p){let h={type:"Identifier",name:p},u=i.Identifier;return t(u.name,h,"name",p),h},e.ifStatement=function(p,h,u=null){let f={type:"IfStatement",test:p,consequent:h,alternate:u},y=i.IfStatement;return t(y.test,f,"test",p,1),t(y.consequent,f,"consequent",h,1),t(y.alternate,f,"alternate",u,1),f},e.import=function(){return{type:"Import"}},e.importAttribute=function(p,h){let u={type:"ImportAttribute",key:p,value:h},f=i.ImportAttribute;return t(f.key,u,"key",p,1),t(f.value,u,"value",h,1),u},e.importDeclaration=function(p,h){let u={type:"ImportDeclaration",specifiers:p,source:h},f=i.ImportDeclaration;return t(f.specifiers,u,"specifiers",p,1),t(f.source,u,"source",h,1),u},e.importDefaultSpecifier=function(p){let h={type:"ImportDefaultSpecifier",local:p},u=i.ImportDefaultSpecifier;return t(u.local,h,"local",p,1),h},e.importExpression=function(p,h=null){let u={type:"ImportExpression",source:p,options:h},f=i.ImportExpression;return t(f.source,u,"source",p,1),t(f.options,u,"options",h,1),u},e.importNamespaceSpecifier=function(p){let h={type:"ImportNamespaceSpecifier",local:p},u=i.ImportNamespaceSpecifier;return t(u.local,h,"local",p,1),h},e.importSpecifier=function(p,h){let u={type:"ImportSpecifier",local:p,imported:h},f=i.ImportSpecifier;return t(f.local,u,"local",p,1),t(f.imported,u,"imported",h,1),u},e.indexedAccessType=function(p,h){let u={type:"IndexedAccessType",objectType:p,indexType:h},f=i.IndexedAccessType;return t(f.objectType,u,"objectType",p,1),t(f.indexType,u,"indexType",h,1),u},e.inferredPredicate=function(){return{type:"InferredPredicate"}},e.interfaceDeclaration=function(p,h=null,u=null,f){let y={type:"InterfaceDeclaration",id:p,typeParameters:h,extends:u,body:f},P=i.InterfaceDeclaration;return t(P.id,y,"id",p,1),t(P.typeParameters,y,"typeParameters",h,1),t(P.extends,y,"extends",u,1),t(P.body,y,"body",f,1),y},e.interfaceExtends=function(p,h=null){let u={type:"InterfaceExtends",id:p,typeParameters:h},f=i.InterfaceExtends;return t(f.id,u,"id",p,1),t(f.typeParameters,u,"typeParameters",h,1),u},e.interfaceTypeAnnotation=function(p=null,h){let u={type:"InterfaceTypeAnnotation",extends:p,body:h},f=i.InterfaceTypeAnnotation;return t(f.extends,u,"extends",p,1),t(f.body,u,"body",h,1),u},e.interpreterDirective=function(p){let h={type:"InterpreterDirective",value:p},u=i.InterpreterDirective;return t(u.value,h,"value",p),h},e.intersectionTypeAnnotation=function(p){let h={type:"IntersectionTypeAnnotation",types:p},u=i.IntersectionTypeAnnotation;return t(u.types,h,"types",p,1),h},e.jSXAttribute=e.jsxAttribute=function(p,h=null){let u={type:"JSXAttribute",name:p,value:h},f=i.JSXAttribute;return t(f.name,u,"name",p,1),t(f.value,u,"value",h,1),u},e.jSXClosingElement=e.jsxClosingElement=function(p){let h={type:"JSXClosingElement",name:p},u=i.JSXClosingElement;return t(u.name,h,"name",p,1),h},e.jSXClosingFragment=e.jsxClosingFragment=function(){return{type:"JSXClosingFragment"}},e.jSXElement=e.jsxElement=function(p,h=null,u,f=null){let y={type:"JSXElement",openingElement:p,closingElement:h,children:u,selfClosing:f},P=i.JSXElement;return t(P.openingElement,y,"openingElement",p,1),t(P.closingElement,y,"closingElement",h,1),t(P.children,y,"children",u,1),t(P.selfClosing,y,"selfClosing",f),y},e.jSXEmptyExpression=e.jsxEmptyExpression=function(){return{type:"JSXEmptyExpression"}},e.jSXExpressionContainer=e.jsxExpressionContainer=function(p){let h={type:"JSXExpressionContainer",expression:p},u=i.JSXExpressionContainer;return t(u.expression,h,"expression",p,1),h},e.jSXFragment=e.jsxFragment=function(p,h,u){let f={type:"JSXFragment",openingFragment:p,closingFragment:h,children:u},y=i.JSXFragment;return t(y.openingFragment,f,"openingFragment",p,1),t(y.closingFragment,f,"closingFragment",h,1),t(y.children,f,"children",u,1),f},e.jSXIdentifier=e.jsxIdentifier=function(p){let h={type:"JSXIdentifier",name:p},u=i.JSXIdentifier;return t(u.name,h,"name",p),h},e.jSXMemberExpression=e.jsxMemberExpression=function(p,h){let u={type:"JSXMemberExpression",object:p,property:h},f=i.JSXMemberExpression;return t(f.object,u,"object",p,1),t(f.property,u,"property",h,1),u},e.jSXNamespacedName=e.jsxNamespacedName=function(p,h){let u={type:"JSXNamespacedName",namespace:p,name:h},f=i.JSXNamespacedName;return t(f.namespace,u,"namespace",p,1),t(f.name,u,"name",h,1),u},e.jSXOpeningElement=e.jsxOpeningElement=function(p,h,u=!1){let f={type:"JSXOpeningElement",name:p,attributes:h,selfClosing:u},y=i.JSXOpeningElement;return t(y.name,f,"name",p,1),t(y.attributes,f,"attributes",h,1),t(y.selfClosing,f,"selfClosing",u),f},e.jSXOpeningFragment=e.jsxOpeningFragment=function(){return{type:"JSXOpeningFragment"}},e.jSXSpreadAttribute=e.jsxSpreadAttribute=function(p){let h={type:"JSXSpreadAttribute",argument:p},u=i.JSXSpreadAttribute;return t(u.argument,h,"argument",p,1),h},e.jSXSpreadChild=e.jsxSpreadChild=function(p){let h={type:"JSXSpreadChild",expression:p},u=i.JSXSpreadChild;return t(u.expression,h,"expression",p,1),h},e.jSXText=e.jsxText=function(p){let h={type:"JSXText",value:p},u=i.JSXText;return t(u.value,h,"value",p),h},e.labeledStatement=function(p,h){let u={type:"LabeledStatement",label:p,body:h},f=i.LabeledStatement;return t(f.label,u,"label",p,1),t(f.body,u,"body",h,1),u},e.logicalExpression=function(p,h,u){let f={type:"LogicalExpression",operator:p,left:h,right:u},y=i.LogicalExpression;return t(y.operator,f,"operator",p),t(y.left,f,"left",h,1),t(y.right,f,"right",u,1),f},e.memberExpression=function(p,h,u=!1,f=null){let y={type:"MemberExpression",object:p,property:h,computed:u,optional:f},P=i.MemberExpression;return t(P.object,y,"object",p,1),t(P.property,y,"property",h,1),t(P.computed,y,"computed",u),t(P.optional,y,"optional",f),y},e.metaProperty=function(p,h){let u={type:"MetaProperty",meta:p,property:h},f=i.MetaProperty;return t(f.meta,u,"meta",p,1),t(f.property,u,"property",h,1),u},e.mixedTypeAnnotation=function(){return{type:"MixedTypeAnnotation"}},e.moduleExpression=function(p){let h={type:"ModuleExpression",body:p},u=i.ModuleExpression;return t(u.body,h,"body",p,1),h},e.newExpression=function(p,h){let u={type:"NewExpression",callee:p,arguments:h},f=i.NewExpression;return t(f.callee,u,"callee",p,1),t(f.arguments,u,"arguments",h,1),u},e.noop=function(){return{type:"Noop"}},e.nullLiteral=function(){return{type:"NullLiteral"}},e.nullLiteralTypeAnnotation=function(){return{type:"NullLiteralTypeAnnotation"}},e.nullableTypeAnnotation=function(p){let h={type:"NullableTypeAnnotation",typeAnnotation:p},u=i.NullableTypeAnnotation;return t(u.typeAnnotation,h,"typeAnnotation",p,1),h},e.numberLiteral=function(p){return(0,l.default)("NumberLiteral","NumericLiteral","The node type "),c(p)},e.numberLiteralTypeAnnotation=function(p){let h={type:"NumberLiteralTypeAnnotation",value:p},u=i.NumberLiteralTypeAnnotation;return t(u.value,h,"value",p),h},e.numberTypeAnnotation=function(){return{type:"NumberTypeAnnotation"}},e.numericLiteral=c,e.objectExpression=function(p){let h={type:"ObjectExpression",properties:p},u=i.ObjectExpression;return t(u.properties,h,"properties",p,1),h},e.objectMethod=function(p="method",h,u,f,y=!1,P=!1,S=!1){let b={type:"ObjectMethod",kind:p,key:h,params:u,body:f,computed:y,generator:P,async:S},C=i.ObjectMethod;return t(C.kind,b,"kind",p),t(C.key,b,"key",h,1),t(C.params,b,"params",u,1),t(C.body,b,"body",f,1),t(C.computed,b,"computed",y),t(C.generator,b,"generator",P),t(C.async,b,"async",S),b},e.objectPattern=function(p){let h={type:"ObjectPattern",properties:p},u=i.ObjectPattern;return t(u.properties,h,"properties",p,1),h},e.objectProperty=function(p,h,u=!1,f=!1,y=null){let P={type:"ObjectProperty",key:p,value:h,computed:u,shorthand:f,decorators:y},S=i.ObjectProperty;return t(S.key,P,"key",p,1),t(S.value,P,"value",h,1),t(S.computed,P,"computed",u),t(S.shorthand,P,"shorthand",f),t(S.decorators,P,"decorators",y,1),P},e.objectTypeAnnotation=function(p,h=[],u=[],f=[],y=!1){let P={type:"ObjectTypeAnnotation",properties:p,indexers:h,callProperties:u,internalSlots:f,exact:y},S=i.ObjectTypeAnnotation;return t(S.properties,P,"properties",p,1),t(S.indexers,P,"indexers",h,1),t(S.callProperties,P,"callProperties",u,1),t(S.internalSlots,P,"internalSlots",f,1),t(S.exact,P,"exact",y),P},e.objectTypeCallProperty=function(p){let h={type:"ObjectTypeCallProperty",value:p,static:null},u=i.ObjectTypeCallProperty;return t(u.value,h,"value",p,1),h},e.objectTypeIndexer=function(p=null,h,u,f=null){let y={type:"ObjectTypeIndexer",id:p,key:h,value:u,variance:f,static:null},P=i.ObjectTypeIndexer;return t(P.id,y,"id",p,1),t(P.key,y,"key",h,1),t(P.value,y,"value",u,1),t(P.variance,y,"variance",f,1),y},e.objectTypeInternalSlot=function(p,h,u,f,y){let P={type:"ObjectTypeInternalSlot",id:p,value:h,optional:u,static:f,method:y},S=i.ObjectTypeInternalSlot;return t(S.id,P,"id",p,1),t(S.value,P,"value",h,1),t(S.optional,P,"optional",u),t(S.static,P,"static",f),t(S.method,P,"method",y),P},e.objectTypeProperty=function(p,h,u=null){let f={type:"ObjectTypeProperty",key:p,value:h,variance:u,kind:null,method:null,optional:null,proto:null,static:null},y=i.ObjectTypeProperty;return t(y.key,f,"key",p,1),t(y.value,f,"value",h,1),t(y.variance,f,"variance",u,1),f},e.objectTypeSpreadProperty=function(p){let h={type:"ObjectTypeSpreadProperty",argument:p},u=i.ObjectTypeSpreadProperty;return t(u.argument,h,"argument",p,1),h},e.opaqueType=function(p,h=null,u=null,f){let y={type:"OpaqueType",id:p,typeParameters:h,supertype:u,impltype:f},P=i.OpaqueType;return t(P.id,y,"id",p,1),t(P.typeParameters,y,"typeParameters",h,1),t(P.supertype,y,"supertype",u,1),t(P.impltype,y,"impltype",f,1),y},e.optionalCallExpression=function(p,h,u){let f={type:"OptionalCallExpression",callee:p,arguments:h,optional:u},y=i.OptionalCallExpression;return t(y.callee,f,"callee",p,1),t(y.arguments,f,"arguments",h,1),t(y.optional,f,"optional",u),f},e.optionalIndexedAccessType=function(p,h){let u={type:"OptionalIndexedAccessType",objectType:p,indexType:h,optional:null},f=i.OptionalIndexedAccessType;return t(f.objectType,u,"objectType",p,1),t(f.indexType,u,"indexType",h,1),u},e.optionalMemberExpression=function(p,h,u=!1,f){let y={type:"OptionalMemberExpression",object:p,property:h,computed:u,optional:f},P=i.OptionalMemberExpression;return t(P.object,y,"object",p,1),t(P.property,y,"property",h,1),t(P.computed,y,"computed",u),t(P.optional,y,"optional",f),y},e.parenthesizedExpression=function(p){let h={type:"ParenthesizedExpression",expression:p},u=i.ParenthesizedExpression;return t(u.expression,h,"expression",p,1),h},e.pipelineBareFunction=function(p){let h={type:"PipelineBareFunction",callee:p},u=i.PipelineBareFunction;return t(u.callee,h,"callee",p,1),h},e.pipelinePrimaryTopicReference=function(){return{type:"PipelinePrimaryTopicReference"}},e.pipelineTopicExpression=function(p){let h={type:"PipelineTopicExpression",expression:p},u=i.PipelineTopicExpression;return t(u.expression,h,"expression",p,1),h},e.placeholder=function(p,h){let u={type:"Placeholder",expectedNode:p,name:h},f=i.Placeholder;return t(f.expectedNode,u,"expectedNode",p),t(f.name,u,"name",h,1),u},e.privateName=function(p){let h={type:"PrivateName",id:p},u=i.PrivateName;return t(u.id,h,"id",p,1),h},e.program=function(p,h=[],u="script",f=null){let y={type:"Program",body:p,directives:h,sourceType:u,interpreter:f},P=i.Program;return t(P.body,y,"body",p,1),t(P.directives,y,"directives",h,1),t(P.sourceType,y,"sourceType",u),t(P.interpreter,y,"interpreter",f,1),y},e.qualifiedTypeIdentifier=function(p,h){let u={type:"QualifiedTypeIdentifier",id:p,qualification:h},f=i.QualifiedTypeIdentifier;return t(f.id,u,"id",p,1),t(f.qualification,u,"qualification",h,1),u},e.recordExpression=function(p){let h={type:"RecordExpression",properties:p},u=i.RecordExpression;return t(u.properties,h,"properties",p,1),h},e.regExpLiteral=v,e.regexLiteral=function(p,h=""){return(0,l.default)("RegexLiteral","RegExpLiteral","The node type "),v(p,h)},e.restElement=T,e.restProperty=function(p){return(0,l.default)("RestProperty","RestElement","The node type "),T(p)},e.returnStatement=function(p=null){let h={type:"ReturnStatement",argument:p},u=i.ReturnStatement;return t(u.argument,h,"argument",p,1),h},e.sequenceExpression=function(p){let h={type:"SequenceExpression",expressions:p},u=i.SequenceExpression;return t(u.expressions,h,"expressions",p,1),h},e.spreadElement=g,e.spreadProperty=function(p){return(0,l.default)("SpreadProperty","SpreadElement","The node type "),g(p)},e.staticBlock=function(p){let h={type:"StaticBlock",body:p},u=i.StaticBlock;return t(u.body,h,"body",p,1),h},e.stringLiteral=function(p){let h={type:"StringLiteral",value:p},u=i.StringLiteral;return t(u.value,h,"value",p),h},e.stringLiteralTypeAnnotation=function(p){let h={type:"StringLiteralTypeAnnotation",value:p},u=i.StringLiteralTypeAnnotation;return t(u.value,h,"value",p),h},e.stringTypeAnnotation=function(){return{type:"StringTypeAnnotation"}},e.super=function(){return{type:"Super"}},e.switchCase=function(p=null,h){let u={type:"SwitchCase",test:p,consequent:h},f=i.SwitchCase;return t(f.test,u,"test",p,1),t(f.consequent,u,"consequent",h,1),u},e.switchStatement=function(p,h){let u={type:"SwitchStatement",discriminant:p,cases:h},f=i.SwitchStatement;return t(f.discriminant,u,"discriminant",p,1),t(f.cases,u,"cases",h,1),u},e.symbolTypeAnnotation=function(){return{type:"SymbolTypeAnnotation"}},e.taggedTemplateExpression=function(p,h){let u={type:"TaggedTemplateExpression",tag:p,quasi:h},f=i.TaggedTemplateExpression;return t(f.tag,u,"tag",p,1),t(f.quasi,u,"quasi",h,1),u},e.templateElement=function(p,h=!1){let u={type:"TemplateElement",value:p,tail:h},f=i.TemplateElement;return t(f.value,u,"value",p),t(f.tail,u,"tail",h),u},e.templateLiteral=function(p,h){let u={type:"TemplateLiteral",quasis:p,expressions:h},f=i.TemplateLiteral;return t(f.quasis,u,"quasis",p,1),t(f.expressions,u,"expressions",h,1),u},e.thisExpression=function(){return{type:"ThisExpression"}},e.thisTypeAnnotation=function(){return{type:"ThisTypeAnnotation"}},e.throwStatement=function(p){let h={type:"ThrowStatement",argument:p},u=i.ThrowStatement;return t(u.argument,h,"argument",p,1),h},e.topicReference=function(){return{type:"TopicReference"}},e.tryStatement=function(p,h=null,u=null){let f={type:"TryStatement",block:p,handler:h,finalizer:u},y=i.TryStatement;return t(y.block,f,"block",p,1),t(y.handler,f,"handler",h,1),t(y.finalizer,f,"finalizer",u,1),f},e.tSAnyKeyword=e.tsAnyKeyword=function(){return{type:"TSAnyKeyword"}},e.tSArrayType=e.tsArrayType=function(p){let h={type:"TSArrayType",elementType:p},u=i.TSArrayType;return t(u.elementType,h,"elementType",p,1),h},e.tSAsExpression=e.tsAsExpression=function(p,h){let u={type:"TSAsExpression",expression:p,typeAnnotation:h},f=i.TSAsExpression;return t(f.expression,u,"expression",p,1),t(f.typeAnnotation,u,"typeAnnotation",h,1),u},e.tSBigIntKeyword=e.tsBigIntKeyword=function(){return{type:"TSBigIntKeyword"}},e.tSBooleanKeyword=e.tsBooleanKeyword=function(){return{type:"TSBooleanKeyword"}},e.tSCallSignatureDeclaration=e.tsCallSignatureDeclaration=function(p=null,h,u=null){let f={type:"TSCallSignatureDeclaration",typeParameters:p,parameters:h,typeAnnotation:u},y=i.TSCallSignatureDeclaration;return t(y.typeParameters,f,"typeParameters",p,1),t(y.parameters,f,"parameters",h,1),t(y.typeAnnotation,f,"typeAnnotation",u,1),f},e.tSConditionalType=e.tsConditionalType=function(p,h,u,f){let y={type:"TSConditionalType",checkType:p,extendsType:h,trueType:u,falseType:f},P=i.TSConditionalType;return t(P.checkType,y,"checkType",p,1),t(P.extendsType,y,"extendsType",h,1),t(P.trueType,y,"trueType",u,1),t(P.falseType,y,"falseType",f,1),y},e.tSConstructSignatureDeclaration=e.tsConstructSignatureDeclaration=function(p=null,h,u=null){let f={type:"TSConstructSignatureDeclaration",typeParameters:p,parameters:h,typeAnnotation:u},y=i.TSConstructSignatureDeclaration;return t(y.typeParameters,f,"typeParameters",p,1),t(y.parameters,f,"parameters",h,1),t(y.typeAnnotation,f,"typeAnnotation",u,1),f},e.tSConstructorType=e.tsConstructorType=function(p=null,h,u=null){let f={type:"TSConstructorType",typeParameters:p,parameters:h,typeAnnotation:u},y=i.TSConstructorType;return t(y.typeParameters,f,"typeParameters",p,1),t(y.parameters,f,"parameters",h,1),t(y.typeAnnotation,f,"typeAnnotation",u,1),f},e.tSDeclareFunction=e.tsDeclareFunction=function(p=null,h=null,u,f=null){let y={type:"TSDeclareFunction",id:p,typeParameters:h,params:u,returnType:f},P=i.TSDeclareFunction;return t(P.id,y,"id",p,1),t(P.typeParameters,y,"typeParameters",h,1),t(P.params,y,"params",u,1),t(P.returnType,y,"returnType",f,1),y},e.tSDeclareMethod=e.tsDeclareMethod=function(p=null,h,u=null,f,y=null){let P={type:"TSDeclareMethod",decorators:p,key:h,typeParameters:u,params:f,returnType:y},S=i.TSDeclareMethod;return t(S.decorators,P,"decorators",p,1),t(S.key,P,"key",h,1),t(S.typeParameters,P,"typeParameters",u,1),t(S.params,P,"params",f,1),t(S.returnType,P,"returnType",y,1),P},e.tSEnumBody=e.tsEnumBody=function(p){let h={type:"TSEnumBody",members:p},u=i.TSEnumBody;return t(u.members,h,"members",p,1),h},e.tSEnumDeclaration=e.tsEnumDeclaration=function(p,h){let u={type:"TSEnumDeclaration",id:p,members:h},f=i.TSEnumDeclaration;return t(f.id,u,"id",p,1),t(f.members,u,"members",h,1),u},e.tSEnumMember=e.tsEnumMember=function(p,h=null){let u={type:"TSEnumMember",id:p,initializer:h},f=i.TSEnumMember;return t(f.id,u,"id",p,1),t(f.initializer,u,"initializer",h,1),u},e.tSExportAssignment=e.tsExportAssignment=function(p){let h={type:"TSExportAssignment",expression:p},u=i.TSExportAssignment;return t(u.expression,h,"expression",p,1),h},e.tSExpressionWithTypeArguments=e.tsExpressionWithTypeArguments=function(p,h=null){let u={type:"TSExpressionWithTypeArguments",expression:p,typeParameters:h},f=i.TSExpressionWithTypeArguments;return t(f.expression,u,"expression",p,1),t(f.typeParameters,u,"typeParameters",h,1),u},e.tSExternalModuleReference=e.tsExternalModuleReference=function(p){let h={type:"TSExternalModuleReference",expression:p},u=i.TSExternalModuleReference;return t(u.expression,h,"expression",p,1),h},e.tSFunctionType=e.tsFunctionType=function(p=null,h,u=null){let f={type:"TSFunctionType",typeParameters:p,parameters:h,typeAnnotation:u},y=i.TSFunctionType;return t(y.typeParameters,f,"typeParameters",p,1),t(y.parameters,f,"parameters",h,1),t(y.typeAnnotation,f,"typeAnnotation",u,1),f},e.tSImportEqualsDeclaration=e.tsImportEqualsDeclaration=function(p,h){let u={type:"TSImportEqualsDeclaration",id:p,moduleReference:h,isExport:null},f=i.TSImportEqualsDeclaration;return t(f.id,u,"id",p,1),t(f.moduleReference,u,"moduleReference",h,1),u},e.tSImportType=e.tsImportType=function(p,h=null,u=null){let f={type:"TSImportType",argument:p,qualifier:h,typeParameters:u},y=i.TSImportType;return t(y.argument,f,"argument",p,1),t(y.qualifier,f,"qualifier",h,1),t(y.typeParameters,f,"typeParameters",u,1),f},e.tSIndexSignature=e.tsIndexSignature=function(p,h=null){let u={type:"TSIndexSignature",parameters:p,typeAnnotation:h},f=i.TSIndexSignature;return t(f.parameters,u,"parameters",p,1),t(f.typeAnnotation,u,"typeAnnotation",h,1),u},e.tSIndexedAccessType=e.tsIndexedAccessType=function(p,h){let u={type:"TSIndexedAccessType",objectType:p,indexType:h},f=i.TSIndexedAccessType;return t(f.objectType,u,"objectType",p,1),t(f.indexType,u,"indexType",h,1),u},e.tSInferType=e.tsInferType=function(p){let h={type:"TSInferType",typeParameter:p},u=i.TSInferType;return t(u.typeParameter,h,"typeParameter",p,1),h},e.tSInstantiationExpression=e.tsInstantiationExpression=function(p,h=null){let u={type:"TSInstantiationExpression",expression:p,typeParameters:h},f=i.TSInstantiationExpression;return t(f.expression,u,"expression",p,1),t(f.typeParameters,u,"typeParameters",h,1),u},e.tSInterfaceBody=e.tsInterfaceBody=function(p){let h={type:"TSInterfaceBody",body:p},u=i.TSInterfaceBody;return t(u.body,h,"body",p,1),h},e.tSInterfaceDeclaration=e.tsInterfaceDeclaration=function(p,h=null,u=null,f){let y={type:"TSInterfaceDeclaration",id:p,typeParameters:h,extends:u,body:f},P=i.TSInterfaceDeclaration;return t(P.id,y,"id",p,1),t(P.typeParameters,y,"typeParameters",h,1),t(P.extends,y,"extends",u,1),t(P.body,y,"body",f,1),y},e.tSIntersectionType=e.tsIntersectionType=function(p){let h={type:"TSIntersectionType",types:p},u=i.TSIntersectionType;return t(u.types,h,"types",p,1),h},e.tSIntrinsicKeyword=e.tsIntrinsicKeyword=function(){return{type:"TSIntrinsicKeyword"}},e.tSLiteralType=e.tsLiteralType=function(p){let h={type:"TSLiteralType",literal:p},u=i.TSLiteralType;return t(u.literal,h,"literal",p,1),h},e.tSMappedType=e.tsMappedType=function(p,h=null,u=null){let f={type:"TSMappedType",typeParameter:p,typeAnnotation:h,nameType:u},y=i.TSMappedType;return t(y.typeParameter,f,"typeParameter",p,1),t(y.typeAnnotation,f,"typeAnnotation",h,1),t(y.nameType,f,"nameType",u,1),f},e.tSMethodSignature=e.tsMethodSignature=function(p,h=null,u,f=null){let y={type:"TSMethodSignature",key:p,typeParameters:h,parameters:u,typeAnnotation:f,kind:null},P=i.TSMethodSignature;return t(P.key,y,"key",p,1),t(P.typeParameters,y,"typeParameters",h,1),t(P.parameters,y,"parameters",u,1),t(P.typeAnnotation,y,"typeAnnotation",f,1),y},e.tSModuleBlock=e.tsModuleBlock=function(p){let h={type:"TSModuleBlock",body:p},u=i.TSModuleBlock;return t(u.body,h,"body",p,1),h},e.tSModuleDeclaration=e.tsModuleDeclaration=function(p,h){let u={type:"TSModuleDeclaration",id:p,body:h,kind:null},f=i.TSModuleDeclaration;return t(f.id,u,"id",p,1),t(f.body,u,"body",h,1),u},e.tSNamedTupleMember=e.tsNamedTupleMember=function(p,h,u=!1){let f={type:"TSNamedTupleMember",label:p,elementType:h,optional:u},y=i.TSNamedTupleMember;return t(y.label,f,"label",p,1),t(y.elementType,f,"elementType",h,1),t(y.optional,f,"optional",u),f},e.tSNamespaceExportDeclaration=e.tsNamespaceExportDeclaration=function(p){let h={type:"TSNamespaceExportDeclaration",id:p},u=i.TSNamespaceExportDeclaration;return t(u.id,h,"id",p,1),h},e.tSNeverKeyword=e.tsNeverKeyword=function(){return{type:"TSNeverKeyword"}},e.tSNonNullExpression=e.tsNonNullExpression=function(p){let h={type:"TSNonNullExpression",expression:p},u=i.TSNonNullExpression;return t(u.expression,h,"expression",p,1),h},e.tSNullKeyword=e.tsNullKeyword=function(){return{type:"TSNullKeyword"}},e.tSNumberKeyword=e.tsNumberKeyword=function(){return{type:"TSNumberKeyword"}},e.tSObjectKeyword=e.tsObjectKeyword=function(){return{type:"TSObjectKeyword"}},e.tSOptionalType=e.tsOptionalType=function(p){let h={type:"TSOptionalType",typeAnnotation:p},u=i.TSOptionalType;return t(u.typeAnnotation,h,"typeAnnotation",p,1),h},e.tSParameterProperty=e.tsParameterProperty=function(p){let h={type:"TSParameterProperty",parameter:p},u=i.TSParameterProperty;return t(u.parameter,h,"parameter",p,1),h},e.tSParenthesizedType=e.tsParenthesizedType=function(p){let h={type:"TSParenthesizedType",typeAnnotation:p},u=i.TSParenthesizedType;return t(u.typeAnnotation,h,"typeAnnotation",p,1),h},e.tSPropertySignature=e.tsPropertySignature=function(p,h=null){let u={type:"TSPropertySignature",key:p,typeAnnotation:h},f=i.TSPropertySignature;return t(f.key,u,"key",p,1),t(f.typeAnnotation,u,"typeAnnotation",h,1),u},e.tSQualifiedName=e.tsQualifiedName=function(p,h){let u={type:"TSQualifiedName",left:p,right:h},f=i.TSQualifiedName;return t(f.left,u,"left",p,1),t(f.right,u,"right",h,1),u},e.tSRestType=e.tsRestType=function(p){let h={type:"TSRestType",typeAnnotation:p},u=i.TSRestType;return t(u.typeAnnotation,h,"typeAnnotation",p,1),h},e.tSSatisfiesExpression=e.tsSatisfiesExpression=function(p,h){let u={type:"TSSatisfiesExpression",expression:p,typeAnnotation:h},f=i.TSSatisfiesExpression;return t(f.expression,u,"expression",p,1),t(f.typeAnnotation,u,"typeAnnotation",h,1),u},e.tSStringKeyword=e.tsStringKeyword=function(){return{type:"TSStringKeyword"}},e.tSSymbolKeyword=e.tsSymbolKeyword=function(){return{type:"TSSymbolKeyword"}},e.tSTemplateLiteralType=e.tsTemplateLiteralType=function(p,h){let u={type:"TSTemplateLiteralType",quasis:p,types:h},f=i.TSTemplateLiteralType;return t(f.quasis,u,"quasis",p,1),t(f.types,u,"types",h,1),u},e.tSThisType=e.tsThisType=function(){return{type:"TSThisType"}},e.tSTupleType=e.tsTupleType=function(p){let h={type:"TSTupleType",elementTypes:p},u=i.TSTupleType;return t(u.elementTypes,h,"elementTypes",p,1),h},e.tSTypeAliasDeclaration=e.tsTypeAliasDeclaration=function(p,h=null,u){let f={type:"TSTypeAliasDeclaration",id:p,typeParameters:h,typeAnnotation:u},y=i.TSTypeAliasDeclaration;return t(y.id,f,"id",p,1),t(y.typeParameters,f,"typeParameters",h,1),t(y.typeAnnotation,f,"typeAnnotation",u,1),f},e.tSTypeAnnotation=e.tsTypeAnnotation=function(p){let h={type:"TSTypeAnnotation",typeAnnotation:p},u=i.TSTypeAnnotation;return t(u.typeAnnotation,h,"typeAnnotation",p,1),h},e.tSTypeAssertion=e.tsTypeAssertion=function(p,h){let u={type:"TSTypeAssertion",typeAnnotation:p,expression:h},f=i.TSTypeAssertion;return t(f.typeAnnotation,u,"typeAnnotation",p,1),t(f.expression,u,"expression",h,1),u},e.tSTypeLiteral=e.tsTypeLiteral=function(p){let h={type:"TSTypeLiteral",members:p},u=i.TSTypeLiteral;return t(u.members,h,"members",p,1),h},e.tSTypeOperator=e.tsTypeOperator=function(p,h){let u={type:"TSTypeOperator",typeAnnotation:p,operator:h},f=i.TSTypeOperator;return t(f.typeAnnotation,u,"typeAnnotation",p,1),t(f.operator,u,"operator",h),u},e.tSTypeParameter=e.tsTypeParameter=function(p=null,h=null,u){let f={type:"TSTypeParameter",constraint:p,default:h,name:u},y=i.TSTypeParameter;return t(y.constraint,f,"constraint",p,1),t(y.default,f,"default",h,1),t(y.name,f,"name",u),f},e.tSTypeParameterDeclaration=e.tsTypeParameterDeclaration=function(p){let h={type:"TSTypeParameterDeclaration",params:p},u=i.TSTypeParameterDeclaration;return t(u.params,h,"params",p,1),h},e.tSTypeParameterInstantiation=e.tsTypeParameterInstantiation=function(p){let h={type:"TSTypeParameterInstantiation",params:p},u=i.TSTypeParameterInstantiation;return t(u.params,h,"params",p,1),h},e.tSTypePredicate=e.tsTypePredicate=function(p,h=null,u=null){let f={type:"TSTypePredicate",parameterName:p,typeAnnotation:h,asserts:u},y=i.TSTypePredicate;return t(y.parameterName,f,"parameterName",p,1),t(y.typeAnnotation,f,"typeAnnotation",h,1),t(y.asserts,f,"asserts",u),f},e.tSTypeQuery=e.tsTypeQuery=function(p,h=null){let u={type:"TSTypeQuery",exprName:p,typeParameters:h},f=i.TSTypeQuery;return t(f.exprName,u,"exprName",p,1),t(f.typeParameters,u,"typeParameters",h,1),u},e.tSTypeReference=e.tsTypeReference=function(p,h=null){let u={type:"TSTypeReference",typeName:p,typeParameters:h},f=i.TSTypeReference;return t(f.typeName,u,"typeName",p,1),t(f.typeParameters,u,"typeParameters",h,1),u},e.tSUndefinedKeyword=e.tsUndefinedKeyword=function(){return{type:"TSUndefinedKeyword"}},e.tSUnionType=e.tsUnionType=function(p){let h={type:"TSUnionType",types:p},u=i.TSUnionType;return t(u.types,h,"types",p,1),h},e.tSUnknownKeyword=e.tsUnknownKeyword=function(){return{type:"TSUnknownKeyword"}},e.tSVoidKeyword=e.tsVoidKeyword=function(){return{type:"TSVoidKeyword"}},e.tupleExpression=function(p=[]){let h={type:"TupleExpression",elements:p},u=i.TupleExpression;return t(u.elements,h,"elements",p,1),h},e.tupleTypeAnnotation=function(p){let h={type:"TupleTypeAnnotation",types:p},u=i.TupleTypeAnnotation;return t(u.types,h,"types",p,1),h},e.typeAlias=function(p,h=null,u){let f={type:"TypeAlias",id:p,typeParameters:h,right:u},y=i.TypeAlias;return t(y.id,f,"id",p,1),t(y.typeParameters,f,"typeParameters",h,1),t(y.right,f,"right",u,1),f},e.typeAnnotation=function(p){let h={type:"TypeAnnotation",typeAnnotation:p},u=i.TypeAnnotation;return t(u.typeAnnotation,h,"typeAnnotation",p,1),h},e.typeCastExpression=function(p,h){let u={type:"TypeCastExpression",expression:p,typeAnnotation:h},f=i.TypeCastExpression;return t(f.expression,u,"expression",p,1),t(f.typeAnnotation,u,"typeAnnotation",h,1),u},e.typeParameter=function(p=null,h=null,u=null){let f={type:"TypeParameter",bound:p,default:h,variance:u,name:null},y=i.TypeParameter;return t(y.bound,f,"bound",p,1),t(y.default,f,"default",h,1),t(y.variance,f,"variance",u,1),f},e.typeParameterDeclaration=function(p){let h={type:"TypeParameterDeclaration",params:p},u=i.TypeParameterDeclaration;return t(u.params,h,"params",p,1),h},e.typeParameterInstantiation=function(p){let h={type:"TypeParameterInstantiation",params:p},u=i.TypeParameterInstantiation;return t(u.params,h,"params",p,1),h},e.typeofTypeAnnotation=function(p){let h={type:"TypeofTypeAnnotation",argument:p},u=i.TypeofTypeAnnotation;return t(u.argument,h,"argument",p,1),h},e.unaryExpression=function(p,h,u=!0){let f={type:"UnaryExpression",operator:p,argument:h,prefix:u},y=i.UnaryExpression;return t(y.operator,f,"operator",p),t(y.argument,f,"argument",h,1),t(y.prefix,f,"prefix",u),f},e.unionTypeAnnotation=function(p){let h={type:"UnionTypeAnnotation",types:p},u=i.UnionTypeAnnotation;return t(u.types,h,"types",p,1),h},e.updateExpression=function(p,h,u=!1){let f={type:"UpdateExpression",operator:p,argument:h,prefix:u},y=i.UpdateExpression;return t(y.operator,f,"operator",p),t(y.argument,f,"argument",h,1),t(y.prefix,f,"prefix",u),f},e.v8IntrinsicIdentifier=function(p){let h={type:"V8IntrinsicIdentifier",name:p},u=i.V8IntrinsicIdentifier;return t(u.name,h,"name",p),h},e.variableDeclaration=function(p,h){let u={type:"VariableDeclaration",kind:p,declarations:h},f=i.VariableDeclaration;return t(f.kind,u,"kind",p),t(f.declarations,u,"declarations",h,1),u},e.variableDeclarator=function(p,h=null){let u={type:"VariableDeclarator",id:p,init:h},f=i.VariableDeclarator;return t(f.id,u,"id",p,1),t(f.init,u,"init",h,1),u},e.variance=function(p){let h={type:"Variance",kind:p},u=i.Variance;return t(u.kind,h,"kind",p),h},e.voidPattern=function(){return{type:"VoidPattern"}},e.voidTypeAnnotation=function(){return{type:"VoidTypeAnnotation"}},e.whileStatement=function(p,h){let u={type:"WhileStatement",test:p,body:h},f=i.WhileStatement;return t(f.test,u,"test",p,1),t(f.body,u,"body",h,1),u},e.withStatement=function(p,h){let u={type:"WithStatement",object:p,body:h},f=i.WithStatement;return t(f.object,u,"object",p,1),t(f.body,u,"body",h,1),u},e.yieldExpression=function(p=null,h=!1){let u={type:"YieldExpression",argument:p,delegate:h},f=i.YieldExpression;return t(f.argument,u,"argument",p,1),t(f.delegate,u,"delegate",h),u};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/validate.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/deprecationWarning.js"),d=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/utils.js");let{validateInternal:t}=r,{NODE_FIELDS:i}=d;function c(p){let h={type:"NumericLiteral",value:p},u=i.NumericLiteral;return t(u.value,h,"value",p),h}function v(p,h=""){let u={type:"RegExpLiteral",pattern:p,flags:h},f=i.RegExpLiteral;return t(f.pattern,u,"pattern",p),t(f.flags,u,"flags",h),u}function T(p){let h={type:"RestElement",argument:p},u=i.RestElement;return t(u.argument,h,"argument",p,1),h}function g(p){let h={type:"SpreadElement",argument:p},u=i.SpreadElement;return t(u.argument,h,"argument",p,1),h}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/uppercase.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JSXIdentifier=e.JSXFragment=e.JSXExpressionContainer=e.JSXEmptyExpression=e.JSXElement=e.JSXClosingFragment=e.JSXClosingElement=e.JSXAttribute=e.IntersectionTypeAnnotation=e.InterpreterDirective=e.InterfaceTypeAnnotation=e.InterfaceExtends=e.InterfaceDeclaration=e.InferredPredicate=e.IndexedAccessType=e.ImportSpecifier=e.ImportNamespaceSpecifier=e.ImportExpression=e.ImportDefaultSpecifier=e.ImportDeclaration=e.ImportAttribute=e.Import=e.IfStatement=e.Identifier=e.GenericTypeAnnotation=e.FunctionTypeParam=e.FunctionTypeAnnotation=e.FunctionExpression=e.FunctionDeclaration=e.ForStatement=e.ForOfStatement=e.ForInStatement=e.File=e.ExpressionStatement=e.ExportSpecifier=e.ExportNamespaceSpecifier=e.ExportNamedDeclaration=e.ExportDefaultSpecifier=e.ExportDefaultDeclaration=e.ExportAllDeclaration=e.ExistsTypeAnnotation=e.EnumSymbolBody=e.EnumStringMember=e.EnumStringBody=e.EnumNumberMember=e.EnumNumberBody=e.EnumDefaultedMember=e.EnumDeclaration=e.EnumBooleanMember=e.EnumBooleanBody=e.EmptyTypeAnnotation=e.EmptyStatement=e.DoWhileStatement=e.DoExpression=e.DirectiveLiteral=e.Directive=e.Decorator=e.DeclaredPredicate=e.DeclareVariable=e.DeclareTypeAlias=e.DeclareOpaqueType=e.DeclareModuleExports=e.DeclareModule=e.DeclareInterface=e.DeclareFunction=e.DeclareExportDeclaration=e.DeclareExportAllDeclaration=e.DeclareClass=e.DecimalLiteral=e.DebuggerStatement=e.ContinueStatement=e.ConditionalExpression=e.ClassProperty=e.ClassPrivateProperty=e.ClassPrivateMethod=e.ClassMethod=e.ClassImplements=e.ClassExpression=e.ClassDeclaration=e.ClassBody=e.ClassAccessorProperty=e.CatchClause=e.CallExpression=e.BreakStatement=e.BooleanTypeAnnotation=e.BooleanLiteralTypeAnnotation=e.BooleanLiteral=e.BlockStatement=e.BindExpression=e.BinaryExpression=e.BigIntLiteral=e.AwaitExpression=e.AssignmentPattern=e.AssignmentExpression=e.ArrowFunctionExpression=e.ArrayTypeAnnotation=e.ArrayPattern=e.ArrayExpression=e.ArgumentPlaceholder=e.AnyTypeAnnotation=void 0,e.TSNumberKeyword=e.TSNullKeyword=e.TSNonNullExpression=e.TSNeverKeyword=e.TSNamespaceExportDeclaration=e.TSNamedTupleMember=e.TSModuleDeclaration=e.TSModuleBlock=e.TSMethodSignature=e.TSMappedType=e.TSLiteralType=e.TSIntrinsicKeyword=e.TSIntersectionType=e.TSInterfaceDeclaration=e.TSInterfaceBody=e.TSInstantiationExpression=e.TSInferType=e.TSIndexedAccessType=e.TSIndexSignature=e.TSImportType=e.TSImportEqualsDeclaration=e.TSFunctionType=e.TSExternalModuleReference=e.TSExpressionWithTypeArguments=e.TSExportAssignment=e.TSEnumMember=e.TSEnumDeclaration=e.TSEnumBody=e.TSDeclareMethod=e.TSDeclareFunction=e.TSConstructorType=e.TSConstructSignatureDeclaration=e.TSConditionalType=e.TSCallSignatureDeclaration=e.TSBooleanKeyword=e.TSBigIntKeyword=e.TSAsExpression=e.TSArrayType=e.TSAnyKeyword=e.SymbolTypeAnnotation=e.SwitchStatement=e.SwitchCase=e.Super=e.StringTypeAnnotation=e.StringLiteralTypeAnnotation=e.StringLiteral=e.StaticBlock=e.SpreadProperty=e.SpreadElement=e.SequenceExpression=e.ReturnStatement=e.RestProperty=e.RestElement=e.RegexLiteral=e.RegExpLiteral=e.RecordExpression=e.QualifiedTypeIdentifier=e.Program=e.PrivateName=e.Placeholder=e.PipelineTopicExpression=e.PipelinePrimaryTopicReference=e.PipelineBareFunction=e.ParenthesizedExpression=e.OptionalMemberExpression=e.OptionalIndexedAccessType=e.OptionalCallExpression=e.OpaqueType=e.ObjectTypeSpreadProperty=e.ObjectTypeProperty=e.ObjectTypeInternalSlot=e.ObjectTypeIndexer=e.ObjectTypeCallProperty=e.ObjectTypeAnnotation=e.ObjectProperty=e.ObjectPattern=e.ObjectMethod=e.ObjectExpression=e.NumericLiteral=e.NumberTypeAnnotation=e.NumberLiteralTypeAnnotation=e.NumberLiteral=e.NullableTypeAnnotation=e.NullLiteralTypeAnnotation=e.NullLiteral=e.Noop=e.NewExpression=e.ModuleExpression=e.MixedTypeAnnotation=e.MetaProperty=e.MemberExpression=e.LogicalExpression=e.LabeledStatement=e.JSXText=e.JSXSpreadChild=e.JSXSpreadAttribute=e.JSXOpeningFragment=e.JSXOpeningElement=e.JSXNamespacedName=e.JSXMemberExpression=void 0,e.YieldExpression=e.WithStatement=e.WhileStatement=e.VoidTypeAnnotation=e.VoidPattern=e.Variance=e.VariableDeclarator=e.VariableDeclaration=e.V8IntrinsicIdentifier=e.UpdateExpression=e.UnionTypeAnnotation=e.UnaryExpression=e.TypeofTypeAnnotation=e.TypeParameterInstantiation=e.TypeParameterDeclaration=e.TypeParameter=e.TypeCastExpression=e.TypeAnnotation=e.TypeAlias=e.TupleTypeAnnotation=e.TupleExpression=e.TryStatement=e.TopicReference=e.ThrowStatement=e.ThisTypeAnnotation=e.ThisExpression=e.TemplateLiteral=e.TemplateElement=e.TaggedTemplateExpression=e.TSVoidKeyword=e.TSUnknownKeyword=e.TSUnionType=e.TSUndefinedKeyword=e.TSTypeReference=e.TSTypeQuery=e.TSTypePredicate=e.TSTypeParameterInstantiation=e.TSTypeParameterDeclaration=e.TSTypeParameter=e.TSTypeOperator=e.TSTypeLiteral=e.TSTypeAssertion=e.TSTypeAnnotation=e.TSTypeAliasDeclaration=e.TSTupleType=e.TSThisType=e.TSTemplateLiteralType=e.TSSymbolKeyword=e.TSStringKeyword=e.TSSatisfiesExpression=e.TSRestType=e.TSQualifiedName=e.TSPropertySignature=e.TSParenthesizedType=e.TSParameterProperty=e.TSOptionalType=e.TSObjectKeyword=void 0;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/lowercase.js");E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/deprecationWarning.js");function l(d){return r[d]}e.ArrayExpression=l("arrayExpression"),e.AssignmentExpression=l("assignmentExpression"),e.BinaryExpression=l("binaryExpression"),e.InterpreterDirective=l("interpreterDirective"),e.Directive=l("directive"),e.DirectiveLiteral=l("directiveLiteral"),e.BlockStatement=l("blockStatement"),e.BreakStatement=l("breakStatement"),e.CallExpression=l("callExpression"),e.CatchClause=l("catchClause"),e.ConditionalExpression=l("conditionalExpression"),e.ContinueStatement=l("continueStatement"),e.DebuggerStatement=l("debuggerStatement"),e.DoWhileStatement=l("doWhileStatement"),e.EmptyStatement=l("emptyStatement"),e.ExpressionStatement=l("expressionStatement"),e.File=l("file"),e.ForInStatement=l("forInStatement"),e.ForStatement=l("forStatement"),e.FunctionDeclaration=l("functionDeclaration"),e.FunctionExpression=l("functionExpression"),e.Identifier=l("identifier"),e.IfStatement=l("ifStatement"),e.LabeledStatement=l("labeledStatement"),e.StringLiteral=l("stringLiteral"),e.NumericLiteral=l("numericLiteral"),e.NullLiteral=l("nullLiteral"),e.BooleanLiteral=l("booleanLiteral"),e.RegExpLiteral=l("regExpLiteral"),e.LogicalExpression=l("logicalExpression"),e.MemberExpression=l("memberExpression"),e.NewExpression=l("newExpression"),e.Program=l("program"),e.ObjectExpression=l("objectExpression"),e.ObjectMethod=l("objectMethod"),e.ObjectProperty=l("objectProperty"),e.RestElement=l("restElement"),e.ReturnStatement=l("returnStatement"),e.SequenceExpression=l("sequenceExpression"),e.ParenthesizedExpression=l("parenthesizedExpression"),e.SwitchCase=l("switchCase"),e.SwitchStatement=l("switchStatement"),e.ThisExpression=l("thisExpression"),e.ThrowStatement=l("throwStatement"),e.TryStatement=l("tryStatement"),e.UnaryExpression=l("unaryExpression"),e.UpdateExpression=l("updateExpression"),e.VariableDeclaration=l("variableDeclaration"),e.VariableDeclarator=l("variableDeclarator"),e.WhileStatement=l("whileStatement"),e.WithStatement=l("withStatement"),e.AssignmentPattern=l("assignmentPattern"),e.ArrayPattern=l("arrayPattern"),e.ArrowFunctionExpression=l("arrowFunctionExpression"),e.ClassBody=l("classBody"),e.ClassExpression=l("classExpression"),e.ClassDeclaration=l("classDeclaration"),e.ExportAllDeclaration=l("exportAllDeclaration"),e.ExportDefaultDeclaration=l("exportDefaultDeclaration"),e.ExportNamedDeclaration=l("exportNamedDeclaration"),e.ExportSpecifier=l("exportSpecifier"),e.ForOfStatement=l("forOfStatement"),e.ImportDeclaration=l("importDeclaration"),e.ImportDefaultSpecifier=l("importDefaultSpecifier"),e.ImportNamespaceSpecifier=l("importNamespaceSpecifier"),e.ImportSpecifier=l("importSpecifier"),e.ImportExpression=l("importExpression"),e.MetaProperty=l("metaProperty"),e.ClassMethod=l("classMethod"),e.ObjectPattern=l("objectPattern"),e.SpreadElement=l("spreadElement"),e.Super=l("super"),e.TaggedTemplateExpression=l("taggedTemplateExpression"),e.TemplateElement=l("templateElement"),e.TemplateLiteral=l("templateLiteral"),e.YieldExpression=l("yieldExpression"),e.AwaitExpression=l("awaitExpression"),e.Import=l("import"),e.BigIntLiteral=l("bigIntLiteral"),e.ExportNamespaceSpecifier=l("exportNamespaceSpecifier"),e.OptionalMemberExpression=l("optionalMemberExpression"),e.OptionalCallExpression=l("optionalCallExpression"),e.ClassProperty=l("classProperty"),e.ClassAccessorProperty=l("classAccessorProperty"),e.ClassPrivateProperty=l("classPrivateProperty"),e.ClassPrivateMethod=l("classPrivateMethod"),e.PrivateName=l("privateName"),e.StaticBlock=l("staticBlock"),e.ImportAttribute=l("importAttribute"),e.AnyTypeAnnotation=l("anyTypeAnnotation"),e.ArrayTypeAnnotation=l("arrayTypeAnnotation"),e.BooleanTypeAnnotation=l("booleanTypeAnnotation"),e.BooleanLiteralTypeAnnotation=l("booleanLiteralTypeAnnotation"),e.NullLiteralTypeAnnotation=l("nullLiteralTypeAnnotation"),e.ClassImplements=l("classImplements"),e.DeclareClass=l("declareClass"),e.DeclareFunction=l("declareFunction"),e.DeclareInterface=l("declareInterface"),e.DeclareModule=l("declareModule"),e.DeclareModuleExports=l("declareModuleExports"),e.DeclareTypeAlias=l("declareTypeAlias"),e.DeclareOpaqueType=l("declareOpaqueType"),e.DeclareVariable=l("declareVariable"),e.DeclareExportDeclaration=l("declareExportDeclaration"),e.DeclareExportAllDeclaration=l("declareExportAllDeclaration"),e.DeclaredPredicate=l("declaredPredicate"),e.ExistsTypeAnnotation=l("existsTypeAnnotation"),e.FunctionTypeAnnotation=l("functionTypeAnnotation"),e.FunctionTypeParam=l("functionTypeParam"),e.GenericTypeAnnotation=l("genericTypeAnnotation"),e.InferredPredicate=l("inferredPredicate"),e.InterfaceExtends=l("interfaceExtends"),e.InterfaceDeclaration=l("interfaceDeclaration"),e.InterfaceTypeAnnotation=l("interfaceTypeAnnotation"),e.IntersectionTypeAnnotation=l("intersectionTypeAnnotation"),e.MixedTypeAnnotation=l("mixedTypeAnnotation"),e.EmptyTypeAnnotation=l("emptyTypeAnnotation"),e.NullableTypeAnnotation=l("nullableTypeAnnotation"),e.NumberLiteralTypeAnnotation=l("numberLiteralTypeAnnotation"),e.NumberTypeAnnotation=l("numberTypeAnnotation"),e.ObjectTypeAnnotation=l("objectTypeAnnotation"),e.ObjectTypeInternalSlot=l("objectTypeInternalSlot"),e.ObjectTypeCallProperty=l("objectTypeCallProperty"),e.ObjectTypeIndexer=l("objectTypeIndexer"),e.ObjectTypeProperty=l("objectTypeProperty"),e.ObjectTypeSpreadProperty=l("objectTypeSpreadProperty"),e.OpaqueType=l("opaqueType"),e.QualifiedTypeIdentifier=l("qualifiedTypeIdentifier"),e.StringLiteralTypeAnnotation=l("stringLiteralTypeAnnotation"),e.StringTypeAnnotation=l("stringTypeAnnotation"),e.SymbolTypeAnnotation=l("symbolTypeAnnotation"),e.ThisTypeAnnotation=l("thisTypeAnnotation"),e.TupleTypeAnnotation=l("tupleTypeAnnotation"),e.TypeofTypeAnnotation=l("typeofTypeAnnotation"),e.TypeAlias=l("typeAlias"),e.TypeAnnotation=l("typeAnnotation"),e.TypeCastExpression=l("typeCastExpression"),e.TypeParameter=l("typeParameter"),e.TypeParameterDeclaration=l("typeParameterDeclaration"),e.TypeParameterInstantiation=l("typeParameterInstantiation"),e.UnionTypeAnnotation=l("unionTypeAnnotation"),e.Variance=l("variance"),e.VoidTypeAnnotation=l("voidTypeAnnotation"),e.EnumDeclaration=l("enumDeclaration"),e.EnumBooleanBody=l("enumBooleanBody"),e.EnumNumberBody=l("enumNumberBody"),e.EnumStringBody=l("enumStringBody"),e.EnumSymbolBody=l("enumSymbolBody"),e.EnumBooleanMember=l("enumBooleanMember"),e.EnumNumberMember=l("enumNumberMember"),e.EnumStringMember=l("enumStringMember"),e.EnumDefaultedMember=l("enumDefaultedMember"),e.IndexedAccessType=l("indexedAccessType"),e.OptionalIndexedAccessType=l("optionalIndexedAccessType"),e.JSXAttribute=l("jsxAttribute"),e.JSXClosingElement=l("jsxClosingElement"),e.JSXElement=l("jsxElement"),e.JSXEmptyExpression=l("jsxEmptyExpression"),e.JSXExpressionContainer=l("jsxExpressionContainer"),e.JSXSpreadChild=l("jsxSpreadChild"),e.JSXIdentifier=l("jsxIdentifier"),e.JSXMemberExpression=l("jsxMemberExpression"),e.JSXNamespacedName=l("jsxNamespacedName"),e.JSXOpeningElement=l("jsxOpeningElement"),e.JSXSpreadAttribute=l("jsxSpreadAttribute"),e.JSXText=l("jsxText"),e.JSXFragment=l("jsxFragment"),e.JSXOpeningFragment=l("jsxOpeningFragment"),e.JSXClosingFragment=l("jsxClosingFragment"),e.Noop=l("noop"),e.Placeholder=l("placeholder"),e.V8IntrinsicIdentifier=l("v8IntrinsicIdentifier"),e.ArgumentPlaceholder=l("argumentPlaceholder"),e.BindExpression=l("bindExpression"),e.Decorator=l("decorator"),e.DoExpression=l("doExpression"),e.ExportDefaultSpecifier=l("exportDefaultSpecifier"),e.RecordExpression=l("recordExpression"),e.TupleExpression=l("tupleExpression"),e.DecimalLiteral=l("decimalLiteral"),e.ModuleExpression=l("moduleExpression"),e.TopicReference=l("topicReference"),e.PipelineTopicExpression=l("pipelineTopicExpression"),e.PipelineBareFunction=l("pipelineBareFunction"),e.PipelinePrimaryTopicReference=l("pipelinePrimaryTopicReference"),e.VoidPattern=l("voidPattern"),e.TSParameterProperty=l("tsParameterProperty"),e.TSDeclareFunction=l("tsDeclareFunction"),e.TSDeclareMethod=l("tsDeclareMethod"),e.TSQualifiedName=l("tsQualifiedName"),e.TSCallSignatureDeclaration=l("tsCallSignatureDeclaration"),e.TSConstructSignatureDeclaration=l("tsConstructSignatureDeclaration"),e.TSPropertySignature=l("tsPropertySignature"),e.TSMethodSignature=l("tsMethodSignature"),e.TSIndexSignature=l("tsIndexSignature"),e.TSAnyKeyword=l("tsAnyKeyword"),e.TSBooleanKeyword=l("tsBooleanKeyword"),e.TSBigIntKeyword=l("tsBigIntKeyword"),e.TSIntrinsicKeyword=l("tsIntrinsicKeyword"),e.TSNeverKeyword=l("tsNeverKeyword"),e.TSNullKeyword=l("tsNullKeyword"),e.TSNumberKeyword=l("tsNumberKeyword"),e.TSObjectKeyword=l("tsObjectKeyword"),e.TSStringKeyword=l("tsStringKeyword"),e.TSSymbolKeyword=l("tsSymbolKeyword"),e.TSUndefinedKeyword=l("tsUndefinedKeyword"),e.TSUnknownKeyword=l("tsUnknownKeyword"),e.TSVoidKeyword=l("tsVoidKeyword"),e.TSThisType=l("tsThisType"),e.TSFunctionType=l("tsFunctionType"),e.TSConstructorType=l("tsConstructorType"),e.TSTypeReference=l("tsTypeReference"),e.TSTypePredicate=l("tsTypePredicate"),e.TSTypeQuery=l("tsTypeQuery"),e.TSTypeLiteral=l("tsTypeLiteral"),e.TSArrayType=l("tsArrayType"),e.TSTupleType=l("tsTupleType"),e.TSOptionalType=l("tsOptionalType"),e.TSRestType=l("tsRestType"),e.TSNamedTupleMember=l("tsNamedTupleMember"),e.TSUnionType=l("tsUnionType"),e.TSIntersectionType=l("tsIntersectionType"),e.TSConditionalType=l("tsConditionalType"),e.TSInferType=l("tsInferType"),e.TSParenthesizedType=l("tsParenthesizedType"),e.TSTypeOperator=l("tsTypeOperator"),e.TSIndexedAccessType=l("tsIndexedAccessType"),e.TSMappedType=l("tsMappedType"),e.TSTemplateLiteralType=l("tsTemplateLiteralType"),e.TSLiteralType=l("tsLiteralType"),e.TSExpressionWithTypeArguments=l("tsExpressionWithTypeArguments"),e.TSInterfaceDeclaration=l("tsInterfaceDeclaration"),e.TSInterfaceBody=l("tsInterfaceBody"),e.TSTypeAliasDeclaration=l("tsTypeAliasDeclaration"),e.TSInstantiationExpression=l("tsInstantiationExpression"),e.TSAsExpression=l("tsAsExpression"),e.TSSatisfiesExpression=l("tsSatisfiesExpression"),e.TSTypeAssertion=l("tsTypeAssertion"),e.TSEnumBody=l("tsEnumBody"),e.TSEnumDeclaration=l("tsEnumDeclaration"),e.TSEnumMember=l("tsEnumMember"),e.TSModuleDeclaration=l("tsModuleDeclaration"),e.TSModuleBlock=l("tsModuleBlock"),e.TSImportType=l("tsImportType"),e.TSImportEqualsDeclaration=l("tsImportEqualsDeclaration"),e.TSExternalModuleReference=l("tsExternalModuleReference"),e.TSNonNullExpression=l("tsNonNullExpression"),e.TSExportAssignment=l("tsExportAssignment"),e.TSNamespaceExportDeclaration=l("tsNamespaceExportDeclaration"),e.TSTypeAnnotation=l("tsTypeAnnotation"),e.TSTypeParameterInstantiation=l("tsTypeParameterInstantiation"),e.TSTypeParameterDeclaration=l("tsTypeParameterDeclaration"),e.TSTypeParameter=l("tsTypeParameter"),e.NumberLiteral=r.numberLiteral,e.RegexLiteral=r.regexLiteral,e.RestProperty=r.restProperty,e.SpreadProperty=r.spreadProperty},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/productions.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildUndefinedNode=function(){return(0,r.unaryExpression)("void",(0,r.numericLiteral)(0),!0)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/react/buildChildren.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d){let t=[];for(let i=0;i<d.children.length;i++){let c=d.children[i];(0,r.isJSXText)(c)?(0,l.default)(c,t):((0,r.isJSXExpressionContainer)(c)&&(c=c.expression),(0,r.isJSXEmptyExpression)(c)||t.push(c))}return t};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){let i=t.map(v=>(0,d.isTSTypeAnnotation)(v)?v.typeAnnotation:v),c=(0,l.default)(i);return c.length===1?c[0]:(0,r.tsUnionType)(c)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/index.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js"),d=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/clone.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){return(0,r.default)(l,!1)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/cloneDeep.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){return(0,r.default)(l)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){return(0,r.default)(l,!0,!0)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/cloneNode.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(T,g=!0,p=!1){return c(T,g,p,new Map)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/index.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js");let{hasOwn:d}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function t(T,g,p,h){return T&&typeof T.type=="string"?c(T,g,p,h):T}function i(T,g,p,h){return Array.isArray(T)?T.map(u=>t(u,g,p,h)):t(T,g,p,h)}function c(T,g=!0,p=!1,h){if(!T)return T;let{type:u}=T,f={type:T.type};if((0,l.isIdentifier)(T))f.name=T.name,d(T,"optional")&&typeof T.optional=="boolean"&&(f.optional=T.optional),d(T,"typeAnnotation")&&(f.typeAnnotation=g?i(T.typeAnnotation,!0,p,h):T.typeAnnotation),d(T,"decorators")&&(f.decorators=g?i(T.decorators,!0,p,h):T.decorators);else{if(!d(r.NODE_FIELDS,u))throw new Error(`Unknown node type: "${u}"`);for(let y of Object.keys(r.NODE_FIELDS[u]))d(T,y)&&(f[y]=g?(0,l.isFile)(T)&&y==="comments"?v(T.comments,g,p,h):i(T[y],!0,p,h):T[y])}return d(T,"loc")&&(f.loc=p?null:T.loc),d(T,"leadingComments")&&(f.leadingComments=v(T.leadingComments,g,p,h)),d(T,"innerComments")&&(f.innerComments=v(T.innerComments,g,p,h)),d(T,"trailingComments")&&(f.trailingComments=v(T.trailingComments,g,p,h)),d(T,"extra")&&(f.extra=Object.assign({},T.extra)),f}function v(T,g,p,h){return T&&g?T.map(u=>{let f=h.get(u);if(f)return f;let{type:y,value:P,loc:S}=u,b={type:y,value:P,loc:S};return p&&(b.loc=null),h.set(u,b),b}):T}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){return(0,r.default)(l,!1,!0)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/addComment.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,d,t,i){return(0,r.default)(l,d,[{type:i?"CommentLine":"CommentBlock",value:t}])};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/addComments.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/addComments.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(E,r,l){if(!l||!E)return E;let d=`${r}Comments`;return E[d]?r==="leading"?E[d]=l.concat(E[d]):E[d].push(...l):E[d]=l,E}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/inheritInnerComments.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,d){(0,r.default)("innerComments",l,d)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/inheritLeadingComments.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,d){(0,r.default)("leadingComments",l,d)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/inheritTrailingComments.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,d){(0,r.default)("trailingComments",l,d)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/inheritsComments.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,i){return(0,r.default)(t,i),(0,l.default)(t,i),(0,d.default)(t,i),t};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),d=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/inheritInnerComments.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/removeComments.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){return r.COMMENT_KEYS.forEach(d=>{l[d]=null}),l};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/constants/generated/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WHILE_TYPES=e.USERWHITESPACABLE_TYPES=e.UNARYLIKE_TYPES=e.TYPESCRIPT_TYPES=e.TSTYPE_TYPES=e.TSTYPEELEMENT_TYPES=e.TSENTITYNAME_TYPES=e.TSBASETYPE_TYPES=e.TERMINATORLESS_TYPES=e.STATEMENT_TYPES=e.STANDARDIZED_TYPES=e.SCOPABLE_TYPES=e.PUREISH_TYPES=e.PROPERTY_TYPES=e.PRIVATE_TYPES=e.PATTERN_TYPES=e.PATTERNLIKE_TYPES=e.OBJECTMEMBER_TYPES=e.MODULESPECIFIER_TYPES=e.MODULEDECLARATION_TYPES=e.MISCELLANEOUS_TYPES=e.METHOD_TYPES=e.LVAL_TYPES=e.LOOP_TYPES=e.LITERAL_TYPES=e.JSX_TYPES=e.IMPORTOREXPORTDECLARATION_TYPES=e.IMMUTABLE_TYPES=e.FUNCTION_TYPES=e.FUNCTIONPARENT_TYPES=e.FUNCTIONPARAMETER_TYPES=e.FOR_TYPES=e.FORXSTATEMENT_TYPES=e.FLOW_TYPES=e.FLOWTYPE_TYPES=e.FLOWPREDICATE_TYPES=e.FLOWDECLARATION_TYPES=e.FLOWBASEANNOTATION_TYPES=e.EXPRESSION_TYPES=e.EXPRESSIONWRAPPER_TYPES=e.EXPORTDECLARATION_TYPES=e.ENUMMEMBER_TYPES=e.ENUMBODY_TYPES=e.DECLARATION_TYPES=e.CONDITIONAL_TYPES=e.COMPLETIONSTATEMENT_TYPES=e.CLASS_TYPES=e.BLOCK_TYPES=e.BLOCKPARENT_TYPES=e.BINARY_TYPES=e.ACCESSOR_TYPES=void 0;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/index.js");e.STANDARDIZED_TYPES=r.FLIPPED_ALIAS_KEYS.Standardized,e.EXPRESSION_TYPES=r.FLIPPED_ALIAS_KEYS.Expression,e.BINARY_TYPES=r.FLIPPED_ALIAS_KEYS.Binary,e.SCOPABLE_TYPES=r.FLIPPED_ALIAS_KEYS.Scopable,e.BLOCKPARENT_TYPES=r.FLIPPED_ALIAS_KEYS.BlockParent,e.BLOCK_TYPES=r.FLIPPED_ALIAS_KEYS.Block,e.STATEMENT_TYPES=r.FLIPPED_ALIAS_KEYS.Statement,e.TERMINATORLESS_TYPES=r.FLIPPED_ALIAS_KEYS.Terminatorless,e.COMPLETIONSTATEMENT_TYPES=r.FLIPPED_ALIAS_KEYS.CompletionStatement,e.CONDITIONAL_TYPES=r.FLIPPED_ALIAS_KEYS.Conditional,e.LOOP_TYPES=r.FLIPPED_ALIAS_KEYS.Loop,e.WHILE_TYPES=r.FLIPPED_ALIAS_KEYS.While,e.EXPRESSIONWRAPPER_TYPES=r.FLIPPED_ALIAS_KEYS.ExpressionWrapper,e.FOR_TYPES=r.FLIPPED_ALIAS_KEYS.For,e.FORXSTATEMENT_TYPES=r.FLIPPED_ALIAS_KEYS.ForXStatement,e.FUNCTION_TYPES=r.FLIPPED_ALIAS_KEYS.Function,e.FUNCTIONPARENT_TYPES=r.FLIPPED_ALIAS_KEYS.FunctionParent,e.PUREISH_TYPES=r.FLIPPED_ALIAS_KEYS.Pureish,e.DECLARATION_TYPES=r.FLIPPED_ALIAS_KEYS.Declaration,e.FUNCTIONPARAMETER_TYPES=r.FLIPPED_ALIAS_KEYS.FunctionParameter,e.PATTERNLIKE_TYPES=r.FLIPPED_ALIAS_KEYS.PatternLike,e.LVAL_TYPES=r.FLIPPED_ALIAS_KEYS.LVal,e.TSENTITYNAME_TYPES=r.FLIPPED_ALIAS_KEYS.TSEntityName,e.LITERAL_TYPES=r.FLIPPED_ALIAS_KEYS.Literal,e.IMMUTABLE_TYPES=r.FLIPPED_ALIAS_KEYS.Immutable,e.USERWHITESPACABLE_TYPES=r.FLIPPED_ALIAS_KEYS.UserWhitespacable,e.METHOD_TYPES=r.FLIPPED_ALIAS_KEYS.Method,e.OBJECTMEMBER_TYPES=r.FLIPPED_ALIAS_KEYS.ObjectMember,e.PROPERTY_TYPES=r.FLIPPED_ALIAS_KEYS.Property,e.UNARYLIKE_TYPES=r.FLIPPED_ALIAS_KEYS.UnaryLike,e.PATTERN_TYPES=r.FLIPPED_ALIAS_KEYS.Pattern,e.CLASS_TYPES=r.FLIPPED_ALIAS_KEYS.Class;let l=e.IMPORTOREXPORTDECLARATION_TYPES=r.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;e.EXPORTDECLARATION_TYPES=r.FLIPPED_ALIAS_KEYS.ExportDeclaration,e.MODULESPECIFIER_TYPES=r.FLIPPED_ALIAS_KEYS.ModuleSpecifier,e.ACCESSOR_TYPES=r.FLIPPED_ALIAS_KEYS.Accessor,e.PRIVATE_TYPES=r.FLIPPED_ALIAS_KEYS.Private,e.FLOW_TYPES=r.FLIPPED_ALIAS_KEYS.Flow,e.FLOWTYPE_TYPES=r.FLIPPED_ALIAS_KEYS.FlowType,e.FLOWBASEANNOTATION_TYPES=r.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,e.FLOWDECLARATION_TYPES=r.FLIPPED_ALIAS_KEYS.FlowDeclaration,e.FLOWPREDICATE_TYPES=r.FLIPPED_ALIAS_KEYS.FlowPredicate,e.ENUMBODY_TYPES=r.FLIPPED_ALIAS_KEYS.EnumBody,e.ENUMMEMBER_TYPES=r.FLIPPED_ALIAS_KEYS.EnumMember,e.JSX_TYPES=r.FLIPPED_ALIAS_KEYS.JSX,e.MISCELLANEOUS_TYPES=r.FLIPPED_ALIAS_KEYS.Miscellaneous,e.TYPESCRIPT_TYPES=r.FLIPPED_ALIAS_KEYS.TypeScript,e.TSTYPEELEMENT_TYPES=r.FLIPPED_ALIAS_KEYS.TSTypeElement,e.TSTYPE_TYPES=r.FLIPPED_ALIAS_KEYS.TSType,e.TSBASETYPE_TYPES=r.FLIPPED_ALIAS_KEYS.TSBaseType,e.MODULEDECLARATION_TYPES=l},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/constants/index.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UPDATE_OPERATORS=e.UNARY_OPERATORS=e.STRING_UNARY_OPERATORS=e.STATEMENT_OR_BLOCK_KEYS=e.NUMBER_UNARY_OPERATORS=e.NUMBER_BINARY_OPERATORS=e.LOGICAL_OPERATORS=e.INHERIT_KEYS=e.FOR_INIT_KEYS=e.FLATTENABLE_KEYS=e.EQUALITY_BINARY_OPERATORS=e.COMPARISON_BINARY_OPERATORS=e.COMMENT_KEYS=e.BOOLEAN_UNARY_OPERATORS=e.BOOLEAN_NUMBER_BINARY_OPERATORS=e.BOOLEAN_BINARY_OPERATORS=e.BINARY_OPERATORS=e.ASSIGNMENT_OPERATORS=void 0,e.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],e.FLATTENABLE_KEYS=["body","expressions"],e.FOR_INIT_KEYS=["left","init"],e.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];let E=e.LOGICAL_OPERATORS=["||","&&","??"],r=(e.UPDATE_OPERATORS=["++","--"],e.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="]),l=e.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],d=e.COMPARISON_BINARY_OPERATORS=[...l,"in","instanceof"],t=e.BOOLEAN_BINARY_OPERATORS=[...d,...r],i=e.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],c=(e.BINARY_OPERATORS=["+",...i,...t,"|>"],e.ASSIGNMENT_OPERATORS=["=","+=",...i.map(g=>g+"="),...E.map(g=>g+"=")],e.BOOLEAN_UNARY_OPERATORS=["delete","!"]),v=e.NUMBER_UNARY_OPERATORS=["+","-","~"],T=e.STRING_UNARY_OPERATORS=["typeof"];e.UNARY_OPERATORS=["void","throw",...c,...v,...T],e.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},e.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),e.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/ensureBlock.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,d="body"){let t=(0,r.default)(l[d],l);return l[d]=t,t};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toBlock.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function c(v,T){let g=[],p=!0;for(let h of v)if((0,l.isEmptyStatement)(h)||(p=!1),(0,l.isExpression)(h))g.push(h);else if((0,l.isExpressionStatement)(h))g.push(h.expression);else if((0,l.isVariableDeclaration)(h)){if(h.kind!=="var")return;for(let u of h.declarations){let f=(0,r.default)(u);for(let y of Object.keys(f))T.push({kind:h.kind,id:(0,i.default)(f[y])});u.init&&g.push((0,d.assignmentExpression)("=",u.id,u.init))}p=!0}else if((0,l.isIfStatement)(h)){let u=h.consequent?c([h.consequent],T):(0,t.buildUndefinedNode)(),f=h.alternate?c([h.alternate],T):(0,t.buildUndefinedNode)();if(!u||!f)return;g.push((0,d.conditionalExpression)(h.test,u,f))}else if((0,l.isBlockStatement)(h)){let u=c(h.body,T);if(!u)return;g.push(u)}else{if(!(0,l.isEmptyStatement)(h))return;v.indexOf(h)===0&&(p=!0)}return p&&g.push((0,t.buildUndefinedNode)()),g.length===1?g[0]:(0,d.sequenceExpression)(g)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js"),d=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/index.js"),t=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/productions.js"),i=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){return(l=(0,r.default)(l))!=="eval"&&l!=="arguments"||(l="_"+l),l};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toIdentifier.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toBlock.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d,t){if((0,r.isBlockStatement)(d))return d;let i=[];return(0,r.isEmptyStatement)(d)?i=[]:((0,r.isStatement)(d)||(d=(0,r.isFunction)(t)?(0,l.returnStatement)(d):(0,l.expressionStatement)(d)),i=[d]),(0,l.blockStatement)(i)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toComputedKey.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d,t=d.key||d.property){return!d.computed&&(0,r.isIdentifier)(t)&&(t=(0,l.stringLiteral)(t.name)),t};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toExpression.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js");e.default=function(l){if((0,r.isExpressionStatement)(l)&&(l=l.expression),(0,r.isExpression)(l))return l;if((0,r.isClass)(l)?(l.type="ClassExpression",l.abstract=!1):(0,r.isFunction)(l)&&(l.type="FunctionExpression"),!(0,r.isExpression)(l))throw new Error(`cannot turn ${l.type} to an expression`);return l}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toIdentifier.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d){d+="";let t="";for(let i of d)t+=(0,l.isIdentifierChar)(i.codePointAt(0))?i:"-";return t=t.replace(/^[-0-9]+/,""),t=t.replace(/[-\s]+(.)?/g,function(i,c){return c?c.toUpperCase():""}),(0,r.default)(t)||(t=`_${t}`),t||"_"};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),l=E("./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toKeyAlias.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/cloneNode.js"),d=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js");function t(i,c=i.key){let v;return i.kind==="method"?t.increment()+"":(v=(0,r.isIdentifier)(c)?c.name:(0,r.isStringLiteral)(c)?JSON.stringify(c.value):JSON.stringify((0,d.default)((0,l.default)(c))),i.computed&&(v=`[${v}]`),i.static&&(v=`static:${v}`),v)}t.uid=0,t.increment=function(){return t.uid>=Number.MAX_SAFE_INTEGER?t.uid=0:t.uid++}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toSequenceExpression.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,d){if(l==null||!l.length)return;let t=[],i=(0,r.default)(l,t);if(i){for(let c of t)d.push(c);return i}};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toStatement.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/index.js");e.default=function(d,t){if((0,r.isStatement)(d))return d;let i,c=!1;if((0,r.isClass)(d))c=!0,i="ClassDeclaration";else if((0,r.isFunction)(d))c=!0,i="FunctionDeclaration";else if((0,r.isAssignmentExpression)(d))return(0,l.expressionStatement)(d);if(c&&!d.id&&(i=!1),!i){if(t)return!1;throw new Error(`cannot turn ${d.type} to a statement`)}return d.type=i,d}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/valueToNode.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/index.js");e.default=function t(i){if(i===void 0)return(0,l.identifier)("undefined");if(i===!0||i===!1)return(0,l.booleanLiteral)(i);if(i===null)return(0,l.nullLiteral)();if(typeof i=="string")return(0,l.stringLiteral)(i);if(typeof i=="number"){let c;if(Number.isFinite(i))c=(0,l.numericLiteral)(Math.abs(i));else{let v;v=Number.isNaN(i)?(0,l.numericLiteral)(0):(0,l.numericLiteral)(1),c=(0,l.binaryExpression)("/",v,(0,l.numericLiteral)(0))}return(i<0||Object.is(i,-0))&&(c=(0,l.unaryExpression)("-",c)),c}if(typeof i=="bigint")return i<0?(0,l.unaryExpression)("-",(0,l.bigIntLiteral)(-i)):(0,l.bigIntLiteral)(i);if((function(c){return d(c)==="[object RegExp]"})(i)){let c=i.source,v=/\/([a-z]*)$/.exec(i.toString())[1];return(0,l.regExpLiteral)(c,v)}if(Array.isArray(i))return(0,l.arrayExpression)(i.map(t));if((function(c){if(typeof c!="object"||c===null||Object.prototype.toString.call(c)!=="[object Object]")return!1;let v=Object.getPrototypeOf(c);return v===null||Object.getPrototypeOf(v)===null})(i)){let c=[];for(let v of Object.keys(i)){let T,g=!1;(0,r.default)(v)?v==="__proto__"?(g=!0,T=(0,l.stringLiteral)(v)):T=(0,l.identifier)(v):T=(0,l.stringLiteral)(v),c.push((0,l.objectProperty)(T,t(i[v]),g))}return(0,l.objectExpression)(c)}throw new Error("don't know how to turn this value into a node")};let d=Function.call.bind(Object.prototype.toString)},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/core.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.patternLikeCommon=e.importAttributes=e.functionTypeAnnotationCommon=e.functionDeclarationCommon=e.functionCommon=e.classMethodOrPropertyCommon=e.classMethodOrDeclareMethodCommon=void 0;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/is.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),d=E("./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js"),t=E("./node_modules/.pnpm/@babel+helper-string-parser@7.27.1/node_modules/@babel/helper-string-parser/lib/index.js"),i=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/constants/index.js"),c=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/utils.js");let v=(0,c.defineAliasedType)("Standardized");v("ArrayExpression",{fields:{elements:{validate:(0,c.arrayOf)((0,c.assertNodeOrValueType)("null","Expression","SpreadElement")),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),v("AssignmentExpression",{fields:{operator:{validate:process.env.BABEL_TYPES_8_BREAKING?Object.assign((function(){let P=(0,c.assertOneOf)(...i.ASSIGNMENT_OPERATORS),S=(0,c.assertOneOf)("=");return function(b,C,N){((0,r.default)("Pattern",b.left)?S:P)(b,C,N)}})(),{oneOf:i.ASSIGNMENT_OPERATORS}):(0,c.assertValueType)("string")},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,c.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,c.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),v("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,c.assertOneOf)(...i.BINARY_OPERATORS)},left:{validate:(function(){let P=(0,c.assertNodeType)("Expression"),S=(0,c.assertNodeType)("Expression","PrivateName");return Object.assign(function(b,C,N){(b.operator==="in"?S:P)(b,C,N)},{oneOfNodeTypes:["Expression","PrivateName"]})})()},right:{validate:(0,c.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),v("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,c.assertValueType)("string")}}}),v("Directive",{visitor:["value"],fields:{value:{validate:(0,c.assertNodeType)("DirectiveLiteral")}}}),v("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,c.assertValueType)("string")}}}),v("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,c.arrayOfType)("Directive"),default:[]},body:(0,c.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]}),v("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,c.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),v("CallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,c.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,c.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:(0,c.assertNodeType)("TypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,c.assertValueType)("boolean"),optional:!0},typeParameters:{validate:(0,c.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),v("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,c.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,c.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),v("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,c.assertNodeType)("Expression")},consequent:{validate:(0,c.assertNodeType)("Expression")},alternate:{validate:(0,c.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),v("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,c.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),v("DebuggerStatement",{aliases:["Statement"]}),v("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,c.assertNodeType)("Expression")},body:{validate:(0,c.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),v("EmptyStatement",{aliases:["Statement"]}),v("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,c.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),v("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,c.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.assertEach)((0,c.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,c.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}}),v("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,c.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,c.assertNodeType)("Expression")},body:{validate:(0,c.assertNodeType)("Statement")}}}),v("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,c.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,c.assertNodeType)("Expression"),optional:!0},update:{validate:(0,c.assertNodeType)("Expression"),optional:!0},body:{validate:(0,c.assertNodeType)("Statement")}}});let T=()=>({params:(0,c.validateArrayOfType)("FunctionParameter"),generator:{default:!1},async:{default:!1}});e.functionCommon=T;let g=()=>({returnType:{validate:(0,c.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,c.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});e.functionTypeAnnotationCommon=g;let p=()=>Object.assign({},T(),{declare:{validate:(0,c.assertValueType)("boolean"),optional:!0},id:{validate:(0,c.assertNodeType)("Identifier"),optional:!0}});e.functionDeclarationCommon=p,v("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},p(),g(),{body:{validate:(0,c.assertNodeType)("BlockStatement")},predicate:{validate:(0,c.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:process.env.BABEL_TYPES_8_BREAKING?(function(){let P=(0,c.assertNodeType)("Identifier");return function(S,b,C){(0,r.default)("ExportDefaultDeclaration",S)||P(C,"id",C.id)}})():void 0}),v("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},T(),g(),{id:{validate:(0,c.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,c.assertNodeType)("BlockStatement")},predicate:{validate:(0,c.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});let h=()=>({typeAnnotation:{validate:(0,c.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,c.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0}});e.patternLikeCommon=h,v("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","FunctionParameter","PatternLike","LVal","TSEntityName"],fields:Object.assign({},h(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertValueType)("string"),Object.assign(function(P,S,b){if(!(0,l.default)(b,!1))throw new TypeError(`"${b}" is not a valid identifier name`)},{type:"string"})):(0,c.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(P,S,b){let C=/\.(\w+)$/.exec(S.toString());if(!C)return;let[,N]=C,F={computed:!1};if(N==="property"){if((0,r.default)("MemberExpression",P,F)||(0,r.default)("OptionalMemberExpression",P,F))return}else if(N==="key"){if((0,r.default)("Property",P,F)||(0,r.default)("Method",P,F))return}else if(N==="exported"){if((0,r.default)("ExportSpecifier",P))return}else if(N==="imported"){if((0,r.default)("ImportSpecifier",P,{imported:b}))return}else if(N==="meta"&&(0,r.default)("MetaProperty",P,{meta:b}))return;if(((0,d.isKeyword)(b.name)||(0,d.isReservedWord)(b.name,!1))&&b.name!=="this")throw new TypeError(`"${b.name}" is not a valid identifier`)}:void 0}),v("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,c.assertNodeType)("Expression")},consequent:{validate:(0,c.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,c.assertNodeType)("Statement")}}}),v("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,c.assertNodeType)("Identifier")},body:{validate:(0,c.assertNodeType)("Statement")}}}),v("StringLiteral",{builder:["value"],fields:{value:{validate:(0,c.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),v("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,c.chain)((0,c.assertValueType)("number"),Object.assign(function(P,S,b){(1/b<0||!Number.isFinite(b))&&new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${b}) instead.`)},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]}),v("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),v("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,c.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),v("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,c.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertValueType)("string"),Object.assign(function(P,S,b){let C=/[^gimsuy]/.exec(b);if(C)throw new TypeError(`"${C[0]}" is not a valid RegExp flag`)},{type:"string"})):(0,c.assertValueType)("string"),default:""}}}),v("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,c.assertOneOf)(...i.LOGICAL_OPERATORS)},left:{validate:(0,c.assertNodeType)("Expression")},right:{validate:(0,c.assertNodeType)("Expression")}}}),v("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal","PatternLike"],fields:Object.assign({object:{validate:(0,c.assertNodeType)("Expression","Super")},property:{validate:(function(){let P=(0,c.assertNodeType)("Identifier","PrivateName"),S=(0,c.assertNodeType)("Expression"),b=function(C,N,F){(C.computed?S:P)(C,N,F)};return b.oneOfNodeTypes=["Expression","Identifier","PrivateName"],b})()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,c.assertValueType)("boolean"),optional:!0}})}),v("NewExpression",{inherits:"CallExpression"}),v("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,c.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,c.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,c.arrayOfType)("Directive"),default:[]},body:(0,c.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]}),v("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,c.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}}),v("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},T(),g(),{kind:Object.assign({validate:(0,c.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:(function(){let P=(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),S=(0,c.assertNodeType)("Expression"),b=function(C,N,F){(C.computed?S:P)(C,N,F)};return b.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],b})()},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,c.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),v("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:(function(){let P=(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),S=(0,c.assertNodeType)("Expression");return Object.assign(function(b,C,N){(b.computed?S:P)(b,C,N)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})})()},value:{validate:(0,c.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertValueType)("boolean"),Object.assign(function(P,S,b){if(b){if(P.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,r.default)("Identifier",P.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}},{type:"boolean"})):(0,c.assertValueType)("boolean"),default:!1},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0}},visitor:["decorators","key","value"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:process.env.BABEL_TYPES_8_BREAKING?(function(){let P=(0,c.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),S=(0,c.assertNodeType)("Expression");return function(b,C,N){((0,r.default)("ObjectPattern",b)?P:S)(N,"value",N.value)}})():void 0}),v("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["FunctionParameter","PatternLike","LVal"],deprecatedAlias:"RestProperty",fields:Object.assign({},h(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,c.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression","RestElement","AssignmentPattern")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(P,S){let b=/(\w+)\[(\d+)\]/.exec(S.toString());if(!b)throw new Error("Internal Babel error: malformed key.");let[,C,N]=b;if(P[C].length>+N+1)throw new TypeError(`RestElement must be last element of ${C}`)}:void 0}),v("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,c.assertNodeType)("Expression"),optional:!0}}}),v("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,c.validateArrayOfType)("Expression")},aliases:["Expression"]}),v("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,c.assertNodeType)("Expression")}}}),v("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,c.assertNodeType)("Expression"),optional:!0},consequent:(0,c.validateArrayOfType)("Statement")}}),v("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,c.assertNodeType)("Expression")},cases:(0,c.validateArrayOfType)("SwitchCase")}}),v("ThisExpression",{aliases:["Expression"]}),v("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,c.assertNodeType)("Expression")}}}),v("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertNodeType)("BlockStatement"),Object.assign(function(P){if(!P.handler&&!P.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):(0,c.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,c.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,c.assertNodeType)("BlockStatement")}}}),v("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,c.assertNodeType)("Expression")},operator:{validate:(0,c.assertOneOf)(...i.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),v("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.assertNodeType)("Identifier","MemberExpression"):(0,c.assertNodeType)("Expression")},operator:{validate:(0,c.assertOneOf)(...i.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),v("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,c.assertValueType)("boolean"),optional:!0},kind:{validate:(0,c.assertOneOf)("var","let","const","using","await using")},declarations:(0,c.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{let P=(0,c.assertNodeType)("Identifier","Placeholder"),S=(0,c.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","Placeholder"),b=(0,c.assertNodeType)("Identifier","VoidPattern","Placeholder");return function(C,N,F){let{kind:K,declarations:L}=F,w=(0,r.default)("ForXStatement",C,{left:F});if(w&&L.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${C.type}`);for(let O of L)K==="const"||K==="let"||K==="var"?w||O.init?S(O,"id",O.id):P(O,"id",O.id):b(O,"id",O.id)}})():void 0}),v("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","VoidPattern"):(0,c.assertNodeType)("LVal","VoidPattern")},definite:{optional:!0,validate:(0,c.assertValueType)("boolean")},init:{optional:!0,validate:(0,c.assertNodeType)("Expression")}}}),v("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,c.assertNodeType)("Expression")},body:{validate:(0,c.assertNodeType)("Statement")}}}),v("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,c.assertNodeType)("Expression")},body:{validate:(0,c.assertNodeType)("Statement")}}}),v("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},h(),{left:{validate:(0,c.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,c.assertNodeType)("Expression")},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0}})}),v("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},h(),{elements:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeOrValueType)("null","PatternLike")))}})}),v("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},T(),g(),{expression:{validate:(0,c.assertValueType)("boolean")},body:{validate:(0,c.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,c.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),v("ClassBody",{visitor:["body"],fields:{body:(0,c.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}}),v("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,c.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,c.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,c.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,c.assertNodeType)("Expression")},superTypeParameters:{validate:(0,c.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,c.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,c.assertNodeType)("InterfaceExtends"),optional:!0}}}),v("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,c.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,c.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,c.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,c.assertNodeType)("Expression")},superTypeParameters:{validate:(0,c.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,c.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,c.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,c.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,c.assertValueType)("boolean"),optional:!0}},validate:process.env.BABEL_TYPES_8_BREAKING?(function(){let P=(0,c.assertNodeType)("Identifier");return function(S,b,C){(0,r.default)("ExportDefaultDeclaration",S)||P(C,"id",C.id)}})():void 0});let u=e.importAttributes={attributes:{optional:!0,validate:(0,c.arrayOfType)("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:(0,c.arrayOfType)("ImportAttribute")}};v("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,c.assertNodeType)("StringLiteral")},exportKind:(0,c.validateOptional)((0,c.assertOneOf)("type","value"))},u)}),v("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,c.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,c.validateOptional)((0,c.assertOneOf)("value"))}}),v("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertNodeType)("Declaration"),Object.assign(function(P,S,b){if(b&&P.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(b&&P.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):(0,c.assertNodeType)("Declaration")}},u,{specifiers:{default:[],validate:(0,c.arrayOf)((function(){let P=(0,c.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),S=(0,c.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(b,C,N){(b.source?P:S)(b,C,N)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):P})())},source:{validate:(0,c.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,c.validateOptional)((0,c.assertOneOf)("type","value"))})}),v("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,c.assertNodeType)("Identifier")},exported:{validate:(0,c.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,c.assertOneOf)("type","value"),optional:!0}}}),v("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,c.assertNodeType)("VariableDeclaration","LVal");let P=(0,c.assertNodeType)("VariableDeclaration"),S=(0,c.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(b,C,N){(0,r.default)("VariableDeclaration",N)?P(b,C,N):S(b,C,N)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})})()},right:{validate:(0,c.assertNodeType)("Expression")},body:{validate:(0,c.assertNodeType)("Statement")},await:{default:!1}}}),v("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},u,{module:{optional:!0,validate:(0,c.assertValueType)("boolean")},phase:{default:null,validate:(0,c.assertOneOf)("source","defer")},specifiers:(0,c.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,c.assertNodeType)("StringLiteral")},importKind:{validate:(0,c.assertOneOf)("type","typeof","value"),optional:!0}})}),v("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,c.assertNodeType)("Identifier")}}}),v("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,c.assertNodeType)("Identifier")}}}),v("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,c.assertNodeType)("Identifier")},imported:{validate:(0,c.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,c.assertOneOf)("type","typeof","value"),optional:!0}}}),v("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,c.assertOneOf)("source","defer")},source:{validate:(0,c.assertNodeType)("Expression")},options:{validate:(0,c.assertNodeType)("Expression"),optional:!0}}}),v("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertNodeType)("Identifier"),Object.assign(function(P,S,b){let C;switch(b.name){case"function":C="sent";break;case"new":C="target";break;case"import":C="meta"}if(!(0,r.default)("Identifier",P.property,{name:C}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):(0,c.assertNodeType)("Identifier")},property:{validate:(0,c.assertNodeType)("Identifier")}}});let f=()=>({abstract:{validate:(0,c.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,c.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,c.assertValueType)("boolean"),optional:!0},key:{validate:(0,c.chain)((function(){let P=(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),S=(0,c.assertNodeType)("Expression");return function(b,C,N){(b.computed?S:P)(b,C,N)}})(),(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});e.classMethodOrPropertyCommon=f;let y=()=>Object.assign({},T(),f(),{params:(0,c.validateArrayOfType)("FunctionParameter","TSParameterProperty"),kind:{validate:(0,c.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,c.chain)((0,c.assertValueType)("string"),(0,c.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0}});e.classMethodOrDeclareMethodCommon=y,v("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},y(),g(),{body:{validate:(0,c.assertNodeType)("BlockStatement")}})}),v("ObjectPattern",{visitor:["decorators","properties","typeAnnotation"],builder:["properties"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},h(),{properties:(0,c.validateArrayOfType)("RestElement","ObjectProperty")})}),v("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,c.assertNodeType)("Expression")}}}),v("Super",{aliases:["Expression"]}),v("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,c.assertNodeType)("Expression")},quasi:{validate:(0,c.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,c.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),v("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,c.chain)((0,c.assertShape)({raw:{validate:(0,c.assertValueType)("string")},cooked:{validate:(0,c.assertValueType)("string"),optional:!0}}),function(P){let S=P.value.raw,b=!1,C=()=>{throw new Error("Internal @babel/types error.")},{str:N,firstInvalidLoc:F}=(0,t.readStringContents)("template",S,0,0,0,{unterminated(){b=!0},strictNumericEscape:C,invalidEscapeSequence:C,numericSeparatorInEscapeSequence:C,unexpectedNumericSeparator:C,invalidDigit:C,invalidCodePoint:C});if(!b)throw new Error("Invalid raw");P.value.cooked=F?null:N})},tail:{default:!1}}}),v("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,c.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,c.chain)((0,c.assertValueType)("array"),(0,c.assertEach)((0,c.assertNodeType)("Expression","TSType")),function(P,S,b){if(P.quasis.length!==b.length+1)throw new TypeError(`Number of ${P.type} quasis should be exactly one more than the number of expressions.
|
|
436
|
-
Expected ${b.length+1} quasis but got ${P.quasis.length}`)})}}}),v("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertValueType)("boolean"),Object.assign(function(P,S,b){if(b&&!P.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):(0,c.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,c.assertNodeType)("Expression")}}}),v("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,c.assertNodeType)("Expression")}}}),v("Import",{aliases:["Expression"]}),v("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,c.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),v("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,c.assertNodeType)("Identifier")}}}),v("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,c.assertNodeType)("Expression")},property:{validate:(function(){let P=(0,c.assertNodeType)("Identifier"),S=(0,c.assertNodeType)("Expression");return Object.assign(function(b,C,N){(b.computed?S:P)(b,C,N)},{oneOfNodeTypes:["Expression","Identifier"]})})()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertValueType)("boolean"),(0,c.assertOptionalChainStart)()):(0,c.assertValueType)("boolean")}}}),v("OptionalCallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,c.assertNodeType)("Expression")},arguments:(0,c.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,c.chain)((0,c.assertValueType)("boolean"),(0,c.assertOptionalChainStart)()):(0,c.assertValueType)("boolean")},typeArguments:{validate:(0,c.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,c.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),v("ClassProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},f(),{value:{validate:(0,c.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,c.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,c.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,c.assertValueType)("boolean"),optional:!0},declare:{validate:(0,c.assertValueType)("boolean"),optional:!0},variance:{validate:(0,c.assertNodeType)("Variance"),optional:!0}})}),v("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},f(),{key:{validate:(0,c.chain)((function(){let P=(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),S=(0,c.assertNodeType)("Expression");return function(b,C,N){(b.computed?S:P)(b,C,N)}})(),(0,c.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,c.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,c.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,c.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,c.assertValueType)("boolean"),optional:!0},declare:{validate:(0,c.assertValueType)("boolean"),optional:!0},variance:{validate:(0,c.assertNodeType)("Variance"),optional:!0}})}),v("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,c.assertNodeType)("PrivateName")},value:{validate:(0,c.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,c.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,c.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,c.assertValueType)("boolean"),default:!1},readonly:{validate:(0,c.assertValueType)("boolean"),optional:!0},optional:{validate:(0,c.assertValueType)("boolean"),optional:!0},definite:{validate:(0,c.assertValueType)("boolean"),optional:!0},variance:{validate:(0,c.assertNodeType)("Variance"),optional:!0}}}),v("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},y(),g(),{kind:{validate:(0,c.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,c.assertNodeType)("PrivateName")},body:{validate:(0,c.assertNodeType)("BlockStatement")}})}),v("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,c.assertNodeType)("Identifier")}}}),v("StaticBlock",{visitor:["body"],fields:{body:(0,c.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]}),v("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,c.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,c.assertNodeType)("StringLiteral")}}})},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/deprecated-aliases.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEPRECATED_ALIASES=void 0,e.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/experimental.js":(ee,e,E)=>{"use strict";var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/utils.js");(0,r.default)("ArgumentPlaceholder",{}),(0,r.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,r.assertNodeType)("Expression")},callee:{validate:(0,r.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,r.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,r.assertNodeType)("Expression")}}}),(0,r.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,r.assertNodeType)("BlockStatement")},async:{validate:(0,r.assertValueType)("boolean"),default:!1}}}),(0,r.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,r.assertNodeType)("Identifier")}}}),(0,r.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,r.validateArrayOfType)("ObjectProperty","SpreadElement")}}),(0,r.default)("TupleExpression",{fields:{elements:{validate:(0,r.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,r.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,r.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,r.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,r.assertNodeType)("Program")}},aliases:["Expression"]}),(0,r.default)("TopicReference",{aliases:["Expression"]}),(0,r.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,r.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,r.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,r.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,r.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]}),(0,r.default)("VoidPattern",{aliases:["Pattern","PatternLike","FunctionParameter"]})},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/flow.js":(ee,e,E)=>{"use strict";var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/core.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/utils.js");let d=(0,l.defineAliasedType)("Flow"),t=i=>{let c=i==="DeclareClass";d(i,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...c?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,l.validateType)("Identifier"),typeParameters:(0,l.validateOptionalType)("TypeParameterDeclaration"),extends:(0,l.validateOptional)((0,l.arrayOfType)("InterfaceExtends"))},c?{mixins:(0,l.validateOptional)((0,l.arrayOfType)("InterfaceExtends")),implements:(0,l.validateOptional)((0,l.arrayOfType)("ClassImplements"))}:{},{body:(0,l.validateType)("ObjectTypeAnnotation")})})};d("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),d("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,l.validateType)("FlowType")}}),d("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),d("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,l.validate)((0,l.assertValueType)("boolean"))}}),d("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),d("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,l.validateType)("Identifier"),typeParameters:(0,l.validateOptionalType)("TypeParameterInstantiation")}}),t("DeclareClass"),d("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,l.validateType)("Identifier"),predicate:(0,l.validateOptionalType)("DeclaredPredicate")}}),t("DeclareInterface"),d("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,l.validateType)("Identifier","StringLiteral"),body:(0,l.validateType)("BlockStatement"),kind:(0,l.validateOptional)((0,l.assertOneOf)("CommonJS","ES"))}}),d("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,l.validateType)("TypeAnnotation")}}),d("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,l.validateType)("Identifier"),typeParameters:(0,l.validateOptionalType)("TypeParameterDeclaration"),right:(0,l.validateType)("FlowType")}}),d("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,l.validateType)("Identifier"),typeParameters:(0,l.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,l.validateOptionalType)("FlowType"),impltype:(0,l.validateOptionalType)("FlowType")}}),d("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,l.validateType)("Identifier")}}),d("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,l.validateOptionalType)("Flow"),specifiers:(0,l.validateOptional)((0,l.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,l.validateOptionalType)("StringLiteral"),default:(0,l.validateOptional)((0,l.assertValueType)("boolean"))},r.importAttributes)}),d("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,l.validateType)("StringLiteral"),exportKind:(0,l.validateOptional)((0,l.assertOneOf)("type","value"))},r.importAttributes)}),d("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,l.validateType)("Flow")}}),d("ExistsTypeAnnotation",{aliases:["FlowType"]}),d("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,l.validateOptionalType)("TypeParameterDeclaration"),params:(0,l.validateArrayOfType)("FunctionTypeParam"),rest:(0,l.validateOptionalType)("FunctionTypeParam"),this:(0,l.validateOptionalType)("FunctionTypeParam"),returnType:(0,l.validateType)("FlowType")}}),d("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,l.validateOptionalType)("Identifier"),typeAnnotation:(0,l.validateType)("FlowType"),optional:(0,l.validateOptional)((0,l.assertValueType)("boolean"))}}),d("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,l.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,l.validateOptionalType)("TypeParameterInstantiation")}}),d("InferredPredicate",{aliases:["FlowPredicate"]}),d("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,l.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,l.validateOptionalType)("TypeParameterInstantiation")}}),t("InterfaceDeclaration"),d("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,l.validateOptional)((0,l.arrayOfType)("InterfaceExtends")),body:(0,l.validateType)("ObjectTypeAnnotation")}}),d("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,l.validate)((0,l.arrayOfType)("FlowType"))}}),d("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),d("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),d("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,l.validateType)("FlowType")}}),d("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,l.validate)((0,l.assertValueType)("number"))}}),d("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),d("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,l.validate)((0,l.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,l.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,l.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,l.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,l.assertValueType)("boolean"),default:!1},inexact:(0,l.validateOptional)((0,l.assertValueType)("boolean"))}}),d("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,l.validateType)("Identifier"),value:(0,l.validateType)("FlowType"),optional:(0,l.validate)((0,l.assertValueType)("boolean")),static:(0,l.validate)((0,l.assertValueType)("boolean")),method:(0,l.validate)((0,l.assertValueType)("boolean"))}}),d("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,l.validateType)("FlowType"),static:(0,l.validate)((0,l.assertValueType)("boolean"))}}),d("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,l.validateOptionalType)("Identifier"),key:(0,l.validateType)("FlowType"),value:(0,l.validateType)("FlowType"),static:(0,l.validate)((0,l.assertValueType)("boolean")),variance:(0,l.validateOptionalType)("Variance")}}),d("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,l.validateType)("Identifier","StringLiteral"),value:(0,l.validateType)("FlowType"),kind:(0,l.validate)((0,l.assertOneOf)("init","get","set")),static:(0,l.validate)((0,l.assertValueType)("boolean")),proto:(0,l.validate)((0,l.assertValueType)("boolean")),optional:(0,l.validate)((0,l.assertValueType)("boolean")),variance:(0,l.validateOptionalType)("Variance"),method:(0,l.validate)((0,l.assertValueType)("boolean"))}}),d("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,l.validateType)("FlowType")}}),d("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,l.validateType)("Identifier"),typeParameters:(0,l.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,l.validateOptionalType)("FlowType"),impltype:(0,l.validateType)("FlowType")}}),d("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,l.validateType)("Identifier"),qualification:(0,l.validateType)("Identifier","QualifiedTypeIdentifier")}}),d("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,l.validate)((0,l.assertValueType)("string"))}}),d("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),d("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),d("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),d("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,l.validate)((0,l.arrayOfType)("FlowType"))}}),d("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,l.validateType)("FlowType")}}),d("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,l.validateType)("Identifier"),typeParameters:(0,l.validateOptionalType)("TypeParameterDeclaration"),right:(0,l.validateType)("FlowType")}}),d("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,l.validateType)("FlowType")}}),d("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,l.validateType)("Expression"),typeAnnotation:(0,l.validateType)("TypeAnnotation")}}),d("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,l.validate)((0,l.assertValueType)("string")),bound:(0,l.validateOptionalType)("TypeAnnotation"),default:(0,l.validateOptionalType)("FlowType"),variance:(0,l.validateOptionalType)("Variance")}}),d("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,l.validate)((0,l.arrayOfType)("TypeParameter"))}}),d("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,l.validate)((0,l.arrayOfType)("FlowType"))}}),d("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,l.validate)((0,l.arrayOfType)("FlowType"))}}),d("Variance",{builder:["kind"],fields:{kind:(0,l.validate)((0,l.assertOneOf)("minus","plus"))}}),d("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),d("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,l.validateType)("Identifier"),body:(0,l.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}}),d("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,l.validate)((0,l.assertValueType)("boolean")),members:(0,l.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,l.validate)((0,l.assertValueType)("boolean"))}}),d("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,l.validate)((0,l.assertValueType)("boolean")),members:(0,l.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,l.validate)((0,l.assertValueType)("boolean"))}}),d("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,l.validate)((0,l.assertValueType)("boolean")),members:(0,l.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,l.validate)((0,l.assertValueType)("boolean"))}}),d("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,l.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,l.validate)((0,l.assertValueType)("boolean"))}}),d("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,l.validateType)("Identifier"),init:(0,l.validateType)("BooleanLiteral")}}),d("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,l.validateType)("Identifier"),init:(0,l.validateType)("NumericLiteral")}}),d("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,l.validateType)("Identifier"),init:(0,l.validateType)("StringLiteral")}}),d("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,l.validateType)("Identifier")}}),d("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,l.validateType)("FlowType"),indexType:(0,l.validateType)("FlowType")}}),d("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,l.validateType)("FlowType"),indexType:(0,l.validateType)("FlowType"),optional:(0,l.validate)((0,l.assertValueType)("boolean"))}})},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ALIAS_KEYS",{enumerable:!0,get:function(){return r.ALIAS_KEYS}}),Object.defineProperty(e,"BUILDER_KEYS",{enumerable:!0,get:function(){return r.BUILDER_KEYS}}),Object.defineProperty(e,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return d.DEPRECATED_ALIASES}}),Object.defineProperty(e,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return r.DEPRECATED_KEYS}}),Object.defineProperty(e,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return r.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(e,"NODE_FIELDS",{enumerable:!0,get:function(){return r.NODE_FIELDS}}),Object.defineProperty(e,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return r.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(e,"PLACEHOLDERS",{enumerable:!0,get:function(){return l.PLACEHOLDERS}}),Object.defineProperty(e,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return l.PLACEHOLDERS_ALIAS}}),Object.defineProperty(e,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return l.PLACEHOLDERS_FLIPPED_ALIAS}}),e.TYPES=void 0,Object.defineProperty(e,"VISITOR_KEYS",{enumerable:!0,get:function(){return r.VISITOR_KEYS}}),E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/core.js"),E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/flow.js"),E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/jsx.js"),E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/misc.js"),E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/experimental.js"),E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/typescript.js");var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/utils.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/placeholders.js"),d=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/deprecated-aliases.js");Object.keys(d.DEPRECATED_ALIASES).forEach(t=>{r.FLIPPED_ALIAS_KEYS[t]=r.FLIPPED_ALIAS_KEYS[d.DEPRECATED_ALIASES[t]]});for(let{types:t,set:i}of r.allExpandedTypes)for(let c of t){let v=r.FLIPPED_ALIAS_KEYS[c];v?v.forEach(i.add,i):i.add(c)}e.TYPES=[].concat(Object.keys(r.VISITOR_KEYS),Object.keys(r.FLIPPED_ALIAS_KEYS),Object.keys(r.DEPRECATED_KEYS))},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/jsx.js":(ee,e,E)=>{"use strict";var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/utils.js");let l=(0,r.defineAliasedType)("JSX");l("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,r.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,r.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),l("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,r.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),l("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,r.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,r.assertNodeType)("JSXClosingElement")},children:(0,r.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,r.assertValueType)("boolean"),optional:!0}})}),l("JSXEmptyExpression",{}),l("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,r.assertNodeType)("Expression","JSXEmptyExpression")}}}),l("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,r.assertNodeType)("Expression")}}}),l("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,r.assertValueType)("string")}}}),l("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,r.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,r.assertNodeType)("JSXIdentifier")}}}),l("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,r.assertNodeType)("JSXIdentifier")},name:{validate:(0,r.assertNodeType)("JSXIdentifier")}}}),l("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:(0,r.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:(0,r.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:(0,r.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,r.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),l("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,r.assertNodeType)("Expression")}}}),l("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,r.assertValueType)("string")}}}),l("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,r.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,r.assertNodeType)("JSXClosingFragment")},children:(0,r.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}}),l("JSXOpeningFragment",{aliases:["Immutable"]}),l("JSXClosingFragment",{aliases:["Immutable"]})},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/misc.js":(ee,e,E)=>{"use strict";var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/utils.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/placeholders.js"),d=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/core.js");let t=(0,r.defineAliasedType)("Miscellaneous");t("Noop",{visitor:[]}),t("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:(0,r.assertNodeType)("Identifier")},expectedNode:{validate:(0,r.assertOneOf)(...l.PLACEHOLDERS)}},(0,d.patternLikeCommon)())}),t("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,r.assertValueType)("string")}}})},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/placeholders.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PLACEHOLDERS_FLIPPED_ALIAS=e.PLACEHOLDERS_ALIAS=e.PLACEHOLDERS=void 0;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/utils.js");let l=e.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],d=e.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let i of l){let c=r.ALIAS_KEYS[i];c!=null&&c.length&&(d[i]=c)}let t=e.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(d).forEach(i=>{d[i].forEach(c=>{hasOwnProperty.call(t,c)||(t[c]=[]),t[c].push(i)})})},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/typescript.js":(ee,e,E)=>{"use strict";var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/utils.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/core.js"),d=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/is.js");let t=(0,r.defineAliasedType)("TypeScript"),i=(0,r.assertValueType)("boolean"),c=()=>({returnType:{validate:(0,r.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,r.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});t("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,r.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,r.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,r.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,r.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,r.arrayOfType)("Decorator"),optional:!0}}}),t("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,l.functionDeclarationCommon)(),c())}),t("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,l.classMethodOrDeclareMethodCommon)(),c())}),t("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,r.validateType)("TSEntityName"),right:(0,r.validateType)("Identifier")}});let v=()=>({typeParameters:(0,r.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,r.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement"),typeAnnotation:(0,r.validateOptionalType)("TSTypeAnnotation")}),T={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:v()};t("TSCallSignatureDeclaration",T),t("TSConstructSignatureDeclaration",T);let g=()=>({key:(0,r.validateType)("Expression"),computed:{default:!1},optional:(0,r.validateOptional)(i)});t("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},g(),{readonly:(0,r.validateOptional)(i),typeAnnotation:(0,r.validateOptionalType)("TSTypeAnnotation"),kind:{optional:!0,validate:(0,r.assertOneOf)("get","set")}})}),t("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},v(),g(),{kind:{validate:(0,r.assertOneOf)("method","get","set")}})}),t("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,r.validateOptional)(i),static:(0,r.validateOptional)(i),parameters:(0,r.validateArrayOfType)("Identifier"),typeAnnotation:(0,r.validateOptionalType)("TSTypeAnnotation")}});let p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let y of p)t(y,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});t("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});let h={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};t("TSFunctionType",Object.assign({},h,{fields:v()})),t("TSConstructorType",Object.assign({},h,{fields:Object.assign({},v(),{abstract:(0,r.validateOptional)(i)})})),t("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,r.validateType)("TSEntityName"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterInstantiation")}}),t("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,r.validateType)("Identifier","TSThisType"),typeAnnotation:(0,r.validateOptionalType)("TSTypeAnnotation"),asserts:(0,r.validateOptional)(i)}}),t("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,r.validateType)("TSEntityName","TSImportType"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterInstantiation")}}),t("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,r.validateArrayOfType)("TSTypeElement")}}),t("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,r.validateType)("TSType")}}),t("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,r.validateArrayOfType)("TSType","TSNamedTupleMember")}}),t("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,r.validateType)("TSType")}}),t("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,r.validateType)("TSType")}}),t("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,r.validateType)("Identifier"),optional:{validate:i,default:!1},elementType:(0,r.validateType)("TSType")}});let u={aliases:["TSType"],visitor:["types"],fields:{types:(0,r.validateArrayOfType)("TSType")}};t("TSUnionType",u),t("TSIntersectionType",u),t("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,r.validateType)("TSType"),extendsType:(0,r.validateType)("TSType"),trueType:(0,r.validateType)("TSType"),falseType:(0,r.validateType)("TSType")}}),t("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,r.validateType)("TSTypeParameter")}}),t("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,r.validateType)("TSType")}}),t("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],builder:["typeAnnotation","operator"],fields:{operator:{validate:(0,r.assertValueType)("string")},typeAnnotation:(0,r.validateType)("TSType")}}),t("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,r.validateType)("TSType"),indexType:(0,r.validateType)("TSType")}}),t("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,r.validateType)("TSTypeParameter")},{readonly:(0,r.validateOptional)((0,r.assertOneOf)(!0,!1,"+","-")),optional:(0,r.validateOptional)((0,r.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,r.validateOptionalType)("TSType"),nameType:(0,r.validateOptionalType)("TSType")})}),t("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:(0,r.validateArrayOfType)("TemplateElement"),types:{validate:(0,r.chain)((0,r.assertValueType)("array"),(0,r.assertEach)((0,r.assertNodeType)("TSType")),function(y,P,S){if(y.quasis.length!==S.length+1)throw new TypeError(`Number of ${y.type} quasis should be exactly one more than the number of types.
|
|
437
|
-
Expected ${S.length+1} quasis but got ${y.quasis.length}`)})}}}),t("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:(function(){let y=(0,r.assertNodeType)("NumericLiteral","BigIntLiteral"),P=(0,r.assertOneOf)("-"),S=(0,r.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function b(C,N,F){(0,d.default)("UnaryExpression",F)?(P(F,"operator",F.operator),y(F,"argument",F.argument)):S(C,N,F)}return b.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],b})()}}}),t("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,r.validateType)("TSEntityName"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterInstantiation")}}),t("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,r.validateOptional)(i),id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,r.validateOptional)((0,r.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,r.validateType)("TSInterfaceBody")}}),t("TSInterfaceBody",{visitor:["body"],fields:{body:(0,r.validateArrayOfType)("TSTypeElement")}}),t("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,r.validateOptional)(i),id:(0,r.validateType)("Identifier"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,r.validateType)("TSType")}}),t("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,r.validateType)("Expression"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterInstantiation")}});let f={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,r.validateType)("Expression"),typeAnnotation:(0,r.validateType)("TSType")}};t("TSAsExpression",f),t("TSSatisfiesExpression",f),t("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,r.validateType)("TSType"),expression:(0,r.validateType)("Expression")}}),t("TSEnumBody",{visitor:["members"],fields:{members:(0,r.validateArrayOfType)("TSEnumMember")}}),t("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,r.validateOptional)(i),const:(0,r.validateOptional)(i),id:(0,r.validateType)("Identifier"),members:(0,r.validateArrayOfType)("TSEnumMember"),initializer:(0,r.validateOptionalType)("Expression"),body:(0,r.validateOptionalType)("TSEnumBody")}}),t("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,r.validateType)("Identifier","StringLiteral"),initializer:(0,r.validateOptionalType)("Expression")}}),t("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,r.assertOneOf)("global","module","namespace")},declare:(0,r.validateOptional)(i)},{global:(0,r.validateOptional)(i)},{id:(0,r.validateType)("Identifier","StringLiteral"),body:(0,r.validateType)("TSModuleBlock","TSModuleDeclaration")})}),t("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,r.validateArrayOfType)("Statement")}}),t("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:{argument:(0,r.validateType)("StringLiteral"),qualifier:(0,r.validateOptionalType)("TSEntityName"),typeParameters:(0,r.validateOptionalType)("TSTypeParameterInstantiation"),options:{validate:(0,r.assertNodeType)("ObjectExpression"),optional:!0}}}),t("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:(0,r.validate)(i)},{id:(0,r.validateType)("Identifier"),moduleReference:(0,r.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,r.assertOneOf)("type","value"),optional:!0}})}),t("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,r.validateType)("StringLiteral")}}),t("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,r.validateType)("Expression")}}),t("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,r.validateType)("Expression")}}),t("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,r.validateType)("Identifier")}}),t("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,r.assertNodeType)("TSType")}}}),t("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,r.validateArrayOfType)("TSType")}}),t("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,r.validateArrayOfType)("TSTypeParameter")}}),t("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,r.assertValueType)("string")},in:{validate:(0,r.assertValueType)("boolean"),optional:!0},out:{validate:(0,r.assertValueType)("boolean"),optional:!0},const:{validate:(0,r.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,r.assertNodeType)("TSType"),optional:!0},default:{validate:(0,r.assertNodeType)("TSType"),optional:!0}}})},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/utils.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.allExpandedTypes=e.VISITOR_KEYS=e.NODE_PARENT_VALIDATIONS=e.NODE_FIELDS=e.FLIPPED_ALIAS_KEYS=e.DEPRECATED_KEYS=e.BUILDER_KEYS=e.ALIAS_KEYS=void 0,e.arrayOf=u,e.arrayOfType=f,e.assertEach=y,e.assertNodeOrValueType=function(...w){function O(z,te,$){let D=p($);for(let W of w)if(D===W||(0,r.default)(W,$))return void(0,l.validateChild)(z,te,$);throw new TypeError(`Property ${te} of ${z.type} expected node to be of a type ${JSON.stringify(w)} but instead got ${JSON.stringify($?.type)}`)}return O.oneOfNodeOrValueTypes=w,O},e.assertNodeType=S,e.assertOneOf=function(...w){function O(z,te,$){if(!w.includes($))throw new TypeError(`Property ${te} expected value to be one of ${JSON.stringify(w)} but got ${JSON.stringify($)}`)}return O.oneOf=w,O},e.assertOptionalChainStart=function(){return function(w){var O;let z=w;for(;w;){let{type:te}=z;if(te!=="OptionalCallExpression"){if(te!=="OptionalMemberExpression")break;if(z.optional)return;z=z.object}else{if(z.optional)return;z=z.callee}}throw new TypeError(`Non-optional ${w.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(O=z)==null?void 0:O.type}`)}},e.assertShape=function(w){let O=Object.keys(w);function z(te,$,D){let W=[];for(let q of O)try{(0,l.validateField)(te,q,D[q],w[q])}catch(re){if(re instanceof TypeError){W.push(re.message);continue}throw re}if(W.length)throw new TypeError(`Property ${$} of ${te.type} expected to have the following:
|
|
438
|
-
${W.join(`
|
|
439
|
-
`)}`)}return z.shapeOf=w,z},e.assertValueType=b,e.chain=C,e.default=L,e.defineAliasedType=function(...w){return(O,z={})=>{let te=z.aliases;var $;te||(z.inherits&&(te=($=K[z.inherits].aliases)==null?void 0:$.slice()),te!=null||(te=[]),z.aliases=te);let D=w.filter(W=>!te.includes(W));te.unshift(...D),L(O,z)}},e.validate=h,e.validateArrayOfType=function(...w){return h(f(...w))},e.validateOptional=function(w){return{validate:w,optional:!0}},e.validateOptionalType=function(...w){return{validate:S(...w),optional:!0}},e.validateType=function(...w){return h(S(...w))};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/is.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/validate.js");let d=e.VISITOR_KEYS={},t=e.ALIAS_KEYS={},i=e.FLIPPED_ALIAS_KEYS={},c=e.NODE_FIELDS={},v=e.BUILDER_KEYS={},T=e.DEPRECATED_KEYS={},g=e.NODE_PARENT_VALIDATIONS={};function p(w){return Array.isArray(w)?"array":w===null?"null":typeof w}function h(w){return{validate:w}}function u(w){return C(b("array"),y(w))}function f(...w){return u(S(...w))}function y(w){let O=process.env.BABEL_TYPES_8_BREAKING?l.validateChild:()=>{};function z(te,$,D){if(!Array.isArray(D))return;let W=0,q={toString:()=>`${$}[${W}]`};for(;W<D.length;W++){let re=D[W];w(te,q,re),O(te,q,re)}}return z.each=w,z}let P=e.allExpandedTypes=[];function S(...w){let O=new Set;function z(te,$,D){let W=D?.type;if(W!=null){if(O.has(W))return void(0,l.validateChild)(te,$,D);if(W==="Placeholder"){for(let q of w)if((0,r.default)(q,D))return void(0,l.validateChild)(te,$,D)}}throw new TypeError(`Property ${$} of ${te.type} expected node to be of a type ${JSON.stringify(w)} but instead got ${JSON.stringify(W)}`)}return P.push({types:w,set:O}),z.oneOfNodeTypes=w,z}function b(w){function O(z,te,$){if(p($)!==w)throw new TypeError(`Property ${te} expected type of ${w} but got ${p($)}`)}return O.type=w,O}function C(...w){function O(...z){for(let te of w)te(...z)}if(O.chainOf=w,w.length>=2&&"type"in w[0]&&w[0].type==="array"&&!("each"in w[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return O}let N=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),F=new Set(["default","optional","deprecated","validate"]),K={};function L(w,O={}){let z=O.inherits&&K[O.inherits]||{},te=O.fields;if(!te&&(te={},z.fields)){let q=Object.getOwnPropertyNames(z.fields);for(let re of q){let le=z.fields[re],ie=le.default;if(Array.isArray(ie)?ie.length>0:ie&&typeof ie=="object")throw new Error("field defaults can only be primitives or empty arrays currently");te[re]={default:Array.isArray(ie)?[]:ie,optional:le.optional,deprecated:le.deprecated,validate:le.validate}}}let $=O.visitor||z.visitor||[],D=O.aliases||z.aliases||[],W=O.builder||z.builder||O.visitor||[];for(let q of Object.keys(O))if(!N.has(q))throw new Error(`Unknown type option "${q}" on ${w}`);O.deprecatedAlias&&(T[O.deprecatedAlias]=w);for(let q of $.concat(W))te[q]=te[q]||{};for(let q of Object.keys(te)){let re=te[q];re.default===void 0||W.includes(q)||(re.optional=!0),re.default===void 0?re.default=null:re.validate||re.default==null||(re.validate=b(p(re.default)));for(let le of Object.keys(re))if(!F.has(le))throw new Error(`Unknown field key "${le}" on ${w}.${q}`)}d[w]=O.visitor=$,v[w]=O.builder=W,c[w]=O.fields=te,t[w]=O.aliases=D,D.forEach(q=>{i[q]=i[q]||[],i[q].push(w)}),O.validate&&(g[w]=O.validate),K[w]=O}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(e,"__internal__deprecationWarning",{enumerable:!0,get:function(){return st.default}}),Object.defineProperty(e,"addComment",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"addComments",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"appendToMemberExpression",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"assertNode",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"buildMatchMemberExpression",{enumerable:!0,get:function(){return _e.default}}),Object.defineProperty(e,"clone",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"cloneDeep",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"cloneNode",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"cloneWithoutLoc",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"createFlowUnionType",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"createTSUnionType",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"ensureBlock",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(e,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return we.default}}),Object.defineProperty(e,"getBindingIdentifiers",{enumerable:!0,get:function(){return ve.default}}),Object.defineProperty(e,"getFunctionName",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(e,"inheritInnerComments",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"inheritLeadingComments",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"inheritTrailingComments",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"inherits",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"inheritsComments",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"is",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"isBinding",{enumerable:!0,get:function(){return Te.default}}),Object.defineProperty(e,"isBlockScoped",{enumerable:!0,get:function(){return De.default}}),Object.defineProperty(e,"isImmutable",{enumerable:!0,get:function(){return Fe.default}}),Object.defineProperty(e,"isLet",{enumerable:!0,get:function(){return Pe.default}}),Object.defineProperty(e,"isNode",{enumerable:!0,get:function(){return ke.default}}),Object.defineProperty(e,"isNodesEquivalent",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(e,"isPlaceholderType",{enumerable:!0,get:function(){return We.default}}),Object.defineProperty(e,"isReferenced",{enumerable:!0,get:function(){return Re.default}}),Object.defineProperty(e,"isScope",{enumerable:!0,get:function(){return at.default}}),Object.defineProperty(e,"isSpecifierDefault",{enumerable:!0,get:function(){return ut.default}}),Object.defineProperty(e,"isType",{enumerable:!0,get:function(){return pt.default}}),Object.defineProperty(e,"isValidES3Identifier",{enumerable:!0,get:function(){return qe.default}}),Object.defineProperty(e,"isValidIdentifier",{enumerable:!0,get:function(){return rt.default}}),Object.defineProperty(e,"isVar",{enumerable:!0,get:function(){return Ve.default}}),Object.defineProperty(e,"matchesPattern",{enumerable:!0,get:function(){return Ne.default}}),Object.defineProperty(e,"prependToMemberExpression",{enumerable:!0,get:function(){return Q.default}}),e.react=void 0,Object.defineProperty(e,"removeComments",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"removeProperties",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(e,"removePropertiesDeep",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(e,"removeTypeDuplicates",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(e,"shallowEqual",{enumerable:!0,get:function(){return pe.default}}),Object.defineProperty(e,"toBindingIdentifierName",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"toBlock",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"toComputedKey",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"toExpression",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"toIdentifier",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(e,"toKeyAlias",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(e,"toStatement",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(e,"traverse",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(e,"traverseFast",{enumerable:!0,get:function(){return Se.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(e,"valueToNode",{enumerable:!0,get:function(){return M.default}});var l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/react/isReactComponent.js"),d=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/react/isCompatTag.js"),t=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/react/buildChildren.js"),i=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/asserts/assertNode.js"),c=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/asserts/generated/index.js");Object.keys(c).forEach(function(oe){oe!=="default"&&oe!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,oe)||oe in e&&e[oe]===c[oe]||Object.defineProperty(e,oe,{enumerable:!0,get:function(){return c[oe]}}))});var v=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js"),T=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js"),g=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js"),p=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/productions.js");Object.keys(p).forEach(function(oe){oe!=="default"&&oe!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,oe)||oe in e&&e[oe]===p[oe]||Object.defineProperty(e,oe,{enumerable:!0,get:function(){return p[oe]}}))});var h=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/index.js");Object.keys(h).forEach(function(oe){oe!=="default"&&oe!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,oe)||oe in e&&e[oe]===h[oe]||Object.defineProperty(e,oe,{enumerable:!0,get:function(){return h[oe]}}))});var u=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/cloneNode.js"),f=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/clone.js"),y=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/cloneDeep.js"),P=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js"),S=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js"),b=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/addComment.js"),C=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/addComments.js"),N=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/inheritInnerComments.js"),F=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),K=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/inheritsComments.js"),L=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),w=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/removeComments.js"),O=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/constants/generated/index.js");Object.keys(O).forEach(function(oe){oe!=="default"&&oe!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,oe)||oe in e&&e[oe]===O[oe]||Object.defineProperty(e,oe,{enumerable:!0,get:function(){return O[oe]}}))});var z=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/constants/index.js");Object.keys(z).forEach(function(oe){oe!=="default"&&oe!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,oe)||oe in e&&e[oe]===z[oe]||Object.defineProperty(e,oe,{enumerable:!0,get:function(){return z[oe]}}))});var te=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/ensureBlock.js"),$=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js"),D=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toBlock.js"),W=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toComputedKey.js"),q=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toExpression.js"),re=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toIdentifier.js"),le=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toKeyAlias.js"),ie=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toStatement.js"),M=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/valueToNode.js"),B=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/index.js");Object.keys(B).forEach(function(oe){oe!=="default"&&oe!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,oe)||oe in e&&e[oe]===B[oe]||Object.defineProperty(e,oe,{enumerable:!0,get:function(){return B[oe]}}))});var G=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js"),U=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/inherits.js"),Q=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js"),de=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/removeProperties.js"),se=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js"),ye=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js"),we=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js"),ve=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),ce=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js"),H=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/retrievers/getFunctionName.js"),me=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/traverse/traverse.js");Object.keys(me).forEach(function(oe){oe!=="default"&&oe!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,oe)||oe in e&&e[oe]===me[oe]||Object.defineProperty(e,oe,{enumerable:!0,get:function(){return me[oe]}}))});var Se=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/traverse/traverseFast.js"),pe=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/shallowEqual.js"),j=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/is.js"),Te=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isBinding.js"),De=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isBlockScoped.js"),Fe=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isImmutable.js"),Pe=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isLet.js"),ke=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isNode.js"),Oe=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isNodesEquivalent.js"),We=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isPlaceholderType.js"),Re=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isReferenced.js"),at=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isScope.js"),ut=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isSpecifierDefault.js"),pt=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isType.js"),qe=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isValidES3Identifier.js"),rt=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),Ve=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isVar.js"),Ne=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/matchesPattern.js"),ae=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/validate.js"),_e=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js"),$e=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js");Object.keys($e).forEach(function(oe){oe!=="default"&&oe!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,oe)||oe in e&&e[oe]===$e[oe]||Object.defineProperty(e,oe,{enumerable:!0,get:function(){return $e[oe]}}))});var st=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/deprecationWarning.js"),et=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/converters/toSequenceExpression.js");e.react={isReactComponent:l.default,isCompatTag:d.default,buildChildren:t.default},e.toSequenceExpression=et.default,process.env.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,d,t=!1){return l.object=(0,r.memberExpression)(l.object,l.property,l.computed),l.property=d,l.computed=!!t,l};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function d(t){let i=Array.from(t),c=new Map,v=new Map,T=new Set,g=[];for(let p=0;p<i.length;p++){let h=i[p];if(h&&!g.includes(h)){if((0,r.isAnyTypeAnnotation)(h))return[h];if((0,r.isFlowBaseAnnotation)(h))v.set(h.type,h);else if((0,r.isUnionTypeAnnotation)(h))T.has(h.types)||(i.push(...h.types),T.add(h.types));else{if((0,r.isGenericTypeAnnotation)(h)){let u=l(h.id);if(c.has(u)){let f=c.get(u);f.typeParameters?h.typeParameters&&(f.typeParameters.params.push(...h.typeParameters.params),f.typeParameters.params=d(f.typeParameters.params)):f=h.typeParameters}else c.set(u,h);continue}g.push(h)}}}for(let[,p]of v)g.push(p);for(let[,p]of c)g.push(p);return g};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js");function l(d){return(0,r.isIdentifier)(d)?d.name:`${d.id.name}.${l(d.qualification)}`}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/inherits.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d,t){if(!d||!t)return d;for(let i of r.INHERIT_KEYS.optional)d[i]==null&&(d[i]=t[i]);for(let i of Object.keys(t))i[0]==="_"&&i!=="__clone"&&(d[i]=t[i]);for(let i of r.INHERIT_KEYS.force)d[i]=t[i];return(0,l.default)(d,t),d};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/constants/index.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/comments/inheritsComments.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d,t){if((0,l.isSuper)(d.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return d.object=(0,r.memberExpression)(t,d.object),d};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/index.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/removeProperties.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,i={}){let c=i.preserveComments?l:d;for(let T of c)t[T]!=null&&(t[T]=void 0);for(let T of Object.keys(t))T[0]==="_"&&t[T]!=null&&(t[T]=void 0);let v=Object.getOwnPropertySymbols(t);for(let T of v)t[T]=null};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/constants/index.js");let l=["tokens","start","end","loc","raw","rawValue"],d=[...r.COMMENT_KEYS,"comments",...l]},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d,t){return(0,r.default)(d,l.default,t),d};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/traverse/traverseFast.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/removeProperties.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function d(t){let i=Array.from(t),c=new Map,v=new Map,T=new Set,g=[];for(let p=0;p<i.length;p++){let h=i[p];if(!h||g.includes(h))continue;if((0,r.isTSAnyKeyword)(h))return[h];if((0,r.isTSBaseType)(h)){v.set(h.type,h);continue}if((0,r.isTSUnionType)(h)){T.has(h.types)||(i.push(...h.types),T.add(h.types));continue}let u="typeParameters";if((0,r.isTSTypeReference)(h)&&h[u]){let f=h[u],y=l(h.typeName);if(c.has(y)){let P=c.get(y),S=P[u];S?(S.params.push(...f.params),S.params=d(S.params)):P=f}else c.set(y,h);continue}g.push(h)}for(let[,p]of v)g.push(p);for(let[,p]of c)g.push(p);return g};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js");function l(d){return(0,r.isIdentifier)(d)?d.name:(0,r.isThisExpression)(d)?"this":`${d.right.name}.${l(d.left)}`}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(E){let r=[].concat(E),l=Object.create(null);for(;r.length;){let d=r.pop();if(d)switch(d.type){case"ArrayPattern":r.push(...d.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":r.push(d.left);break;case"ObjectPattern":r.push(...d.properties);break;case"ObjectProperty":r.push(d.value);break;case"RestElement":case"UpdateExpression":r.push(d.argument);break;case"UnaryExpression":d.operator==="delete"&&r.push(d.argument);break;case"Identifier":l[d.name]=d}}return l}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=l;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js");function l(d,t,i,c){let v=[].concat(d),T=Object.create(null);for(;v.length;){let g=v.shift();if(!g||c&&((0,r.isAssignmentExpression)(g)||(0,r.isUnaryExpression)(g)||(0,r.isUpdateExpression)(g)))continue;if((0,r.isIdentifier)(g)){t?(T[g.name]=T[g.name]||[]).push(g):T[g.name]=g;continue}if((0,r.isExportDeclaration)(g)&&!(0,r.isExportAllDeclaration)(g)){(0,r.isDeclaration)(g.declaration)&&v.push(g.declaration);continue}if(i){if((0,r.isFunctionDeclaration)(g)){v.push(g.id);continue}if((0,r.isFunctionExpression)(g))continue}let p=l.keys[g.type];if(p)for(let h=0;h<p.length;h++){let u=g[p[h]];u&&(Array.isArray(u)?v.push(...u):v.push(u))}}return T}l.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],TSImportEqualsDeclaration:["id"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/retrievers/getFunctionName.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d,t){if("id"in d&&d.id)return{name:d.id.name,originalNode:d.id};let i,c="";if((0,r.isObjectProperty)(t,{value:d})?i=l(t):(0,r.isObjectMethod)(d)||(0,r.isClassMethod)(d)?(i=l(d),d.kind==="get"?c="get ":d.kind==="set"&&(c="set ")):(0,r.isVariableDeclarator)(t,{init:d})?i=t.id:(0,r.isAssignmentExpression)(t,{operator:"=",right:d})&&(i=t.left),!i)return null;let v=(0,r.isLiteral)(i)?(function(T){return(0,r.isNullLiteral)(T)?"null":(0,r.isRegExpLiteral)(T)?`/${T.pattern}/${T.flags}`:(0,r.isTemplateLiteral)(T)?T.quasis.map(g=>g.value.raw).join(""):T.value!==void 0?String(T.value):null})(i):(0,r.isIdentifier)(i)?i.name:(0,r.isPrivateName)(i)?i.id.name:null;return v==null?null:{name:c+v,originalNode:i}};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js");function l(d){if(!d.computed||(0,r.isLiteral)(d.key))return d.key}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js");e.default=function(l,d){return(0,r.default)(l,d,!0)}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/traverse/traverse.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d,t,i){typeof t=="function"&&(t={enter:t});let{enter:c,exit:v}=t;l(d,c,v,i,[])};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/index.js");function l(d,t,i,c,v){let T=r.VISITOR_KEYS[d.type];if(T){t&&t(d,v,c);for(let g of T){let p=d[g];if(Array.isArray(p))for(let h=0;h<p.length;h++){let u=p[h];u&&(v.push({node:d,key:g,index:h}),l(u,t,i,c,v),v.pop())}else p&&(v.push({node:d,key:g}),l(p,t,i,c,v),v.pop())}i&&i(d,v,c)}}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/traverse/traverseFast.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/index.js");let l=Symbol(),d=Symbol();function t(i,c,v){if(!i)return!1;let T=r.VISITOR_KEYS[i.type];if(!T)return!1;let g=c(i,v=v||{});if(g!==void 0)switch(g){case l:return!1;case d:return!0}for(let p of T){let h=i[p];if(h){if(Array.isArray(h)){for(let u of h)if(t(u,c,v))return!0}else if(t(h,c,v))return!0}}return!1}t.skip=l,t.stop=d},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/deprecationWarning.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(r,l,d="",t=r){if(E.has(t))return;E.add(t);let{internal:i,trace:c}=(function(v,T){let{stackTraceLimit:g,prepareStackTrace:p}=Error,h;if(Error.stackTraceLimit=1+v+T,Error.prepareStackTrace=function(f,y){h=y},new Error().stack,Error.stackTraceLimit=g,Error.prepareStackTrace=p,!h)return{internal:!1,trace:""};let u=h.slice(1+v,1+v+T);return{internal:/[\\/]@babel[\\/]/.test(u[1].getFileName()),trace:u.map(f=>` at ${f}`).join(`
|
|
440
|
-
`)}})(1,2);i||console.warn(`${d}\`${r}\` has been deprecated, please migrate to \`${l}\`
|
|
441
|
-
${c}`)};let E=new Set},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/inherit.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(E,r,l){r&&l&&(r[E]=Array.from(new Set([].concat(r[E],l[E]).filter(Boolean))))}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d,t){let i=d.value.split(/\r\n|\n|\r/),c=0;for(let T=0;T<i.length;T++)/[^ \t]/.exec(i[T])&&(c=T);let v="";for(let T=0;T<i.length;T++){let g=i[T],p=T===0,h=T===i.length-1,u=T===c,f=g.replace(/\t/g," ");p||(f=f.replace(/^ +/,"")),h||(f=f.replace(/ +$/,"")),f&&(u||(f+=" "),v+=f)}v&&t.push((0,l.inherits)((0,r.stringLiteral)(v),d))};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/builders/generated/index.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/shallowEqual.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(E,r){let l=Object.keys(r);for(let d of l)if(E[d]!==r[d])return!1;return!0}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,d){let t=l.split(".");return i=>(0,r.default)(i,t,d)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/matchesPattern.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isAccessor=function(t,i){return!t||t.type!=="ClassAccessorProperty"?!1:i==null||(0,r.default)(t,i)},e.isAnyTypeAnnotation=function(t,i){return!!t&&t.type==="AnyTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isArgumentPlaceholder=function(t,i){return!!t&&t.type==="ArgumentPlaceholder"&&(i==null||(0,r.default)(t,i))},e.isArrayExpression=function(t,i){return!!t&&t.type==="ArrayExpression"&&(i==null||(0,r.default)(t,i))},e.isArrayPattern=function(t,i){return!!t&&t.type==="ArrayPattern"&&(i==null||(0,r.default)(t,i))},e.isArrayTypeAnnotation=function(t,i){return!!t&&t.type==="ArrayTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isArrowFunctionExpression=function(t,i){return!!t&&t.type==="ArrowFunctionExpression"&&(i==null||(0,r.default)(t,i))},e.isAssignmentExpression=function(t,i){return!!t&&t.type==="AssignmentExpression"&&(i==null||(0,r.default)(t,i))},e.isAssignmentPattern=function(t,i){return!!t&&t.type==="AssignmentPattern"&&(i==null||(0,r.default)(t,i))},e.isAwaitExpression=function(t,i){return!!t&&t.type==="AwaitExpression"&&(i==null||(0,r.default)(t,i))},e.isBigIntLiteral=function(t,i){return!!t&&t.type==="BigIntLiteral"&&(i==null||(0,r.default)(t,i))},e.isBinary=function(t,i){if(!t)return!1;switch(t.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isBinaryExpression=function(t,i){return!!t&&t.type==="BinaryExpression"&&(i==null||(0,r.default)(t,i))},e.isBindExpression=function(t,i){return!!t&&t.type==="BindExpression"&&(i==null||(0,r.default)(t,i))},e.isBlock=function(t,i){if(!t)return!1;switch(t.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(t.expectedNode==="BlockStatement")break;default:return!1}return i==null||(0,r.default)(t,i)},e.isBlockParent=function(t,i){if(!t)return!1;switch(t.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(t.expectedNode==="BlockStatement")break;default:return!1}return i==null||(0,r.default)(t,i)},e.isBlockStatement=function(t,i){return!!t&&t.type==="BlockStatement"&&(i==null||(0,r.default)(t,i))},e.isBooleanLiteral=function(t,i){return!!t&&t.type==="BooleanLiteral"&&(i==null||(0,r.default)(t,i))},e.isBooleanLiteralTypeAnnotation=function(t,i){return!!t&&t.type==="BooleanLiteralTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isBooleanTypeAnnotation=function(t,i){return!!t&&t.type==="BooleanTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isBreakStatement=function(t,i){return!!t&&t.type==="BreakStatement"&&(i==null||(0,r.default)(t,i))},e.isCallExpression=function(t,i){return!!t&&t.type==="CallExpression"&&(i==null||(0,r.default)(t,i))},e.isCatchClause=function(t,i){return!!t&&t.type==="CatchClause"&&(i==null||(0,r.default)(t,i))},e.isClass=function(t,i){if(!t)return!1;switch(t.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isClassAccessorProperty=function(t,i){return!!t&&t.type==="ClassAccessorProperty"&&(i==null||(0,r.default)(t,i))},e.isClassBody=function(t,i){return!!t&&t.type==="ClassBody"&&(i==null||(0,r.default)(t,i))},e.isClassDeclaration=function(t,i){return!!t&&t.type==="ClassDeclaration"&&(i==null||(0,r.default)(t,i))},e.isClassExpression=function(t,i){return!!t&&t.type==="ClassExpression"&&(i==null||(0,r.default)(t,i))},e.isClassImplements=function(t,i){return!!t&&t.type==="ClassImplements"&&(i==null||(0,r.default)(t,i))},e.isClassMethod=function(t,i){return!!t&&t.type==="ClassMethod"&&(i==null||(0,r.default)(t,i))},e.isClassPrivateMethod=function(t,i){return!!t&&t.type==="ClassPrivateMethod"&&(i==null||(0,r.default)(t,i))},e.isClassPrivateProperty=function(t,i){return!!t&&t.type==="ClassPrivateProperty"&&(i==null||(0,r.default)(t,i))},e.isClassProperty=function(t,i){return!!t&&t.type==="ClassProperty"&&(i==null||(0,r.default)(t,i))},e.isCompletionStatement=function(t,i){if(!t)return!1;switch(t.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isConditional=function(t,i){if(!t)return!1;switch(t.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isConditionalExpression=function(t,i){return!!t&&t.type==="ConditionalExpression"&&(i==null||(0,r.default)(t,i))},e.isContinueStatement=function(t,i){return!!t&&t.type==="ContinueStatement"&&(i==null||(0,r.default)(t,i))},e.isDebuggerStatement=function(t,i){return!!t&&t.type==="DebuggerStatement"&&(i==null||(0,r.default)(t,i))},e.isDecimalLiteral=function(t,i){return!!t&&t.type==="DecimalLiteral"&&(i==null||(0,r.default)(t,i))},e.isDeclaration=function(t,i){if(!t)return!1;switch(t.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":break;case"Placeholder":if(t.expectedNode==="Declaration")break;default:return!1}return i==null||(0,r.default)(t,i)},e.isDeclareClass=function(t,i){return!!t&&t.type==="DeclareClass"&&(i==null||(0,r.default)(t,i))},e.isDeclareExportAllDeclaration=function(t,i){return!!t&&t.type==="DeclareExportAllDeclaration"&&(i==null||(0,r.default)(t,i))},e.isDeclareExportDeclaration=function(t,i){return!!t&&t.type==="DeclareExportDeclaration"&&(i==null||(0,r.default)(t,i))},e.isDeclareFunction=function(t,i){return!!t&&t.type==="DeclareFunction"&&(i==null||(0,r.default)(t,i))},e.isDeclareInterface=function(t,i){return!!t&&t.type==="DeclareInterface"&&(i==null||(0,r.default)(t,i))},e.isDeclareModule=function(t,i){return!!t&&t.type==="DeclareModule"&&(i==null||(0,r.default)(t,i))},e.isDeclareModuleExports=function(t,i){return!!t&&t.type==="DeclareModuleExports"&&(i==null||(0,r.default)(t,i))},e.isDeclareOpaqueType=function(t,i){return!!t&&t.type==="DeclareOpaqueType"&&(i==null||(0,r.default)(t,i))},e.isDeclareTypeAlias=function(t,i){return!!t&&t.type==="DeclareTypeAlias"&&(i==null||(0,r.default)(t,i))},e.isDeclareVariable=function(t,i){return!!t&&t.type==="DeclareVariable"&&(i==null||(0,r.default)(t,i))},e.isDeclaredPredicate=function(t,i){return!!t&&t.type==="DeclaredPredicate"&&(i==null||(0,r.default)(t,i))},e.isDecorator=function(t,i){return!!t&&t.type==="Decorator"&&(i==null||(0,r.default)(t,i))},e.isDirective=function(t,i){return!!t&&t.type==="Directive"&&(i==null||(0,r.default)(t,i))},e.isDirectiveLiteral=function(t,i){return!!t&&t.type==="DirectiveLiteral"&&(i==null||(0,r.default)(t,i))},e.isDoExpression=function(t,i){return!!t&&t.type==="DoExpression"&&(i==null||(0,r.default)(t,i))},e.isDoWhileStatement=function(t,i){return!!t&&t.type==="DoWhileStatement"&&(i==null||(0,r.default)(t,i))},e.isEmptyStatement=function(t,i){return!!t&&t.type==="EmptyStatement"&&(i==null||(0,r.default)(t,i))},e.isEmptyTypeAnnotation=function(t,i){return!!t&&t.type==="EmptyTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isEnumBody=function(t,i){if(!t)return!1;switch(t.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isEnumBooleanBody=function(t,i){return!!t&&t.type==="EnumBooleanBody"&&(i==null||(0,r.default)(t,i))},e.isEnumBooleanMember=function(t,i){return!!t&&t.type==="EnumBooleanMember"&&(i==null||(0,r.default)(t,i))},e.isEnumDeclaration=function(t,i){return!!t&&t.type==="EnumDeclaration"&&(i==null||(0,r.default)(t,i))},e.isEnumDefaultedMember=function(t,i){return!!t&&t.type==="EnumDefaultedMember"&&(i==null||(0,r.default)(t,i))},e.isEnumMember=function(t,i){if(!t)return!1;switch(t.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isEnumNumberBody=function(t,i){return!!t&&t.type==="EnumNumberBody"&&(i==null||(0,r.default)(t,i))},e.isEnumNumberMember=function(t,i){return!!t&&t.type==="EnumNumberMember"&&(i==null||(0,r.default)(t,i))},e.isEnumStringBody=function(t,i){return!!t&&t.type==="EnumStringBody"&&(i==null||(0,r.default)(t,i))},e.isEnumStringMember=function(t,i){return!!t&&t.type==="EnumStringMember"&&(i==null||(0,r.default)(t,i))},e.isEnumSymbolBody=function(t,i){return!!t&&t.type==="EnumSymbolBody"&&(i==null||(0,r.default)(t,i))},e.isExistsTypeAnnotation=function(t,i){return!!t&&t.type==="ExistsTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isExportAllDeclaration=function(t,i){return!!t&&t.type==="ExportAllDeclaration"&&(i==null||(0,r.default)(t,i))},e.isExportDeclaration=function(t,i){if(!t)return!1;switch(t.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isExportDefaultDeclaration=function(t,i){return!!t&&t.type==="ExportDefaultDeclaration"&&(i==null||(0,r.default)(t,i))},e.isExportDefaultSpecifier=function(t,i){return!!t&&t.type==="ExportDefaultSpecifier"&&(i==null||(0,r.default)(t,i))},e.isExportNamedDeclaration=function(t,i){return!!t&&t.type==="ExportNamedDeclaration"&&(i==null||(0,r.default)(t,i))},e.isExportNamespaceSpecifier=function(t,i){return!!t&&t.type==="ExportNamespaceSpecifier"&&(i==null||(0,r.default)(t,i))},e.isExportSpecifier=function(t,i){return!!t&&t.type==="ExportSpecifier"&&(i==null||(0,r.default)(t,i))},e.isExpression=function(t,i){if(!t)return!1;switch(t.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"ImportExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(t.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return i==null||(0,r.default)(t,i)},e.isExpressionStatement=function(t,i){return!!t&&t.type==="ExpressionStatement"&&(i==null||(0,r.default)(t,i))},e.isExpressionWrapper=function(t,i){if(!t)return!1;switch(t.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isFile=function(t,i){return!!t&&t.type==="File"&&(i==null||(0,r.default)(t,i))},e.isFlow=function(t,i){if(!t)return!1;switch(t.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isFlowBaseAnnotation=function(t,i){if(!t)return!1;switch(t.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isFlowDeclaration=function(t,i){if(!t)return!1;switch(t.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isFlowPredicate=function(t,i){if(!t)return!1;switch(t.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isFlowType=function(t,i){if(!t)return!1;switch(t.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isFor=function(t,i){if(!t)return!1;switch(t.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isForInStatement=function(t,i){return!!t&&t.type==="ForInStatement"&&(i==null||(0,r.default)(t,i))},e.isForOfStatement=function(t,i){return!!t&&t.type==="ForOfStatement"&&(i==null||(0,r.default)(t,i))},e.isForStatement=function(t,i){return!!t&&t.type==="ForStatement"&&(i==null||(0,r.default)(t,i))},e.isForXStatement=function(t,i){if(!t)return!1;switch(t.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isFunction=function(t,i){if(!t)return!1;switch(t.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isFunctionDeclaration=function(t,i){return!!t&&t.type==="FunctionDeclaration"&&(i==null||(0,r.default)(t,i))},e.isFunctionExpression=function(t,i){return!!t&&t.type==="FunctionExpression"&&(i==null||(0,r.default)(t,i))},e.isFunctionParameter=function(t,i){if(!t)return!1;switch(t.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if(t.expectedNode==="Identifier")break;default:return!1}return i==null||(0,r.default)(t,i)},e.isFunctionParent=function(t,i){if(!t)return!1;switch(t.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isFunctionTypeAnnotation=function(t,i){return!!t&&t.type==="FunctionTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isFunctionTypeParam=function(t,i){return!!t&&t.type==="FunctionTypeParam"&&(i==null||(0,r.default)(t,i))},e.isGenericTypeAnnotation=function(t,i){return!!t&&t.type==="GenericTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isIdentifier=function(t,i){return!!t&&t.type==="Identifier"&&(i==null||(0,r.default)(t,i))},e.isIfStatement=function(t,i){return!!t&&t.type==="IfStatement"&&(i==null||(0,r.default)(t,i))},e.isImmutable=function(t,i){if(!t)return!1;switch(t.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(t.expectedNode==="StringLiteral")break;default:return!1}return i==null||(0,r.default)(t,i)},e.isImport=function(t,i){return!!t&&t.type==="Import"&&(i==null||(0,r.default)(t,i))},e.isImportAttribute=function(t,i){return!!t&&t.type==="ImportAttribute"&&(i==null||(0,r.default)(t,i))},e.isImportDeclaration=function(t,i){return!!t&&t.type==="ImportDeclaration"&&(i==null||(0,r.default)(t,i))},e.isImportDefaultSpecifier=function(t,i){return!!t&&t.type==="ImportDefaultSpecifier"&&(i==null||(0,r.default)(t,i))},e.isImportExpression=function(t,i){return!!t&&t.type==="ImportExpression"&&(i==null||(0,r.default)(t,i))},e.isImportNamespaceSpecifier=function(t,i){return!!t&&t.type==="ImportNamespaceSpecifier"&&(i==null||(0,r.default)(t,i))},e.isImportOrExportDeclaration=d,e.isImportSpecifier=function(t,i){return!!t&&t.type==="ImportSpecifier"&&(i==null||(0,r.default)(t,i))},e.isIndexedAccessType=function(t,i){return!!t&&t.type==="IndexedAccessType"&&(i==null||(0,r.default)(t,i))},e.isInferredPredicate=function(t,i){return!!t&&t.type==="InferredPredicate"&&(i==null||(0,r.default)(t,i))},e.isInterfaceDeclaration=function(t,i){return!!t&&t.type==="InterfaceDeclaration"&&(i==null||(0,r.default)(t,i))},e.isInterfaceExtends=function(t,i){return!!t&&t.type==="InterfaceExtends"&&(i==null||(0,r.default)(t,i))},e.isInterfaceTypeAnnotation=function(t,i){return!!t&&t.type==="InterfaceTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isInterpreterDirective=function(t,i){return!!t&&t.type==="InterpreterDirective"&&(i==null||(0,r.default)(t,i))},e.isIntersectionTypeAnnotation=function(t,i){return!!t&&t.type==="IntersectionTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isJSX=function(t,i){if(!t)return!1;switch(t.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isJSXAttribute=function(t,i){return!!t&&t.type==="JSXAttribute"&&(i==null||(0,r.default)(t,i))},e.isJSXClosingElement=function(t,i){return!!t&&t.type==="JSXClosingElement"&&(i==null||(0,r.default)(t,i))},e.isJSXClosingFragment=function(t,i){return!!t&&t.type==="JSXClosingFragment"&&(i==null||(0,r.default)(t,i))},e.isJSXElement=function(t,i){return!!t&&t.type==="JSXElement"&&(i==null||(0,r.default)(t,i))},e.isJSXEmptyExpression=function(t,i){return!!t&&t.type==="JSXEmptyExpression"&&(i==null||(0,r.default)(t,i))},e.isJSXExpressionContainer=function(t,i){return!!t&&t.type==="JSXExpressionContainer"&&(i==null||(0,r.default)(t,i))},e.isJSXFragment=function(t,i){return!!t&&t.type==="JSXFragment"&&(i==null||(0,r.default)(t,i))},e.isJSXIdentifier=function(t,i){return!!t&&t.type==="JSXIdentifier"&&(i==null||(0,r.default)(t,i))},e.isJSXMemberExpression=function(t,i){return!!t&&t.type==="JSXMemberExpression"&&(i==null||(0,r.default)(t,i))},e.isJSXNamespacedName=function(t,i){return!!t&&t.type==="JSXNamespacedName"&&(i==null||(0,r.default)(t,i))},e.isJSXOpeningElement=function(t,i){return!!t&&t.type==="JSXOpeningElement"&&(i==null||(0,r.default)(t,i))},e.isJSXOpeningFragment=function(t,i){return!!t&&t.type==="JSXOpeningFragment"&&(i==null||(0,r.default)(t,i))},e.isJSXSpreadAttribute=function(t,i){return!!t&&t.type==="JSXSpreadAttribute"&&(i==null||(0,r.default)(t,i))},e.isJSXSpreadChild=function(t,i){return!!t&&t.type==="JSXSpreadChild"&&(i==null||(0,r.default)(t,i))},e.isJSXText=function(t,i){return!!t&&t.type==="JSXText"&&(i==null||(0,r.default)(t,i))},e.isLVal=function(t,i){if(!t)return!1;switch(t.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(t.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return i==null||(0,r.default)(t,i)},e.isLabeledStatement=function(t,i){return!!t&&t.type==="LabeledStatement"&&(i==null||(0,r.default)(t,i))},e.isLiteral=function(t,i){if(!t)return!1;switch(t.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(t.expectedNode==="StringLiteral")break;default:return!1}return i==null||(0,r.default)(t,i)},e.isLogicalExpression=function(t,i){return!!t&&t.type==="LogicalExpression"&&(i==null||(0,r.default)(t,i))},e.isLoop=function(t,i){if(!t)return!1;switch(t.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isMemberExpression=function(t,i){return!!t&&t.type==="MemberExpression"&&(i==null||(0,r.default)(t,i))},e.isMetaProperty=function(t,i){return!!t&&t.type==="MetaProperty"&&(i==null||(0,r.default)(t,i))},e.isMethod=function(t,i){if(!t)return!1;switch(t.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isMiscellaneous=function(t,i){if(!t)return!1;switch(t.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isMixedTypeAnnotation=function(t,i){return!!t&&t.type==="MixedTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isModuleDeclaration=function(t,i){return(0,l.default)("isModuleDeclaration","isImportOrExportDeclaration"),d(t,i)},e.isModuleExpression=function(t,i){return!!t&&t.type==="ModuleExpression"&&(i==null||(0,r.default)(t,i))},e.isModuleSpecifier=function(t,i){if(!t)return!1;switch(t.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isNewExpression=function(t,i){return!!t&&t.type==="NewExpression"&&(i==null||(0,r.default)(t,i))},e.isNoop=function(t,i){return!!t&&t.type==="Noop"&&(i==null||(0,r.default)(t,i))},e.isNullLiteral=function(t,i){return!!t&&t.type==="NullLiteral"&&(i==null||(0,r.default)(t,i))},e.isNullLiteralTypeAnnotation=function(t,i){return!!t&&t.type==="NullLiteralTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isNullableTypeAnnotation=function(t,i){return!!t&&t.type==="NullableTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isNumberLiteral=function(t,i){return(0,l.default)("isNumberLiteral","isNumericLiteral"),!!t&&t.type==="NumberLiteral"&&(i==null||(0,r.default)(t,i))},e.isNumberLiteralTypeAnnotation=function(t,i){return!!t&&t.type==="NumberLiteralTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isNumberTypeAnnotation=function(t,i){return!!t&&t.type==="NumberTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isNumericLiteral=function(t,i){return!!t&&t.type==="NumericLiteral"&&(i==null||(0,r.default)(t,i))},e.isObjectExpression=function(t,i){return!!t&&t.type==="ObjectExpression"&&(i==null||(0,r.default)(t,i))},e.isObjectMember=function(t,i){if(!t)return!1;switch(t.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isObjectMethod=function(t,i){return!!t&&t.type==="ObjectMethod"&&(i==null||(0,r.default)(t,i))},e.isObjectPattern=function(t,i){return!!t&&t.type==="ObjectPattern"&&(i==null||(0,r.default)(t,i))},e.isObjectProperty=function(t,i){return!!t&&t.type==="ObjectProperty"&&(i==null||(0,r.default)(t,i))},e.isObjectTypeAnnotation=function(t,i){return!!t&&t.type==="ObjectTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isObjectTypeCallProperty=function(t,i){return!!t&&t.type==="ObjectTypeCallProperty"&&(i==null||(0,r.default)(t,i))},e.isObjectTypeIndexer=function(t,i){return!!t&&t.type==="ObjectTypeIndexer"&&(i==null||(0,r.default)(t,i))},e.isObjectTypeInternalSlot=function(t,i){return!!t&&t.type==="ObjectTypeInternalSlot"&&(i==null||(0,r.default)(t,i))},e.isObjectTypeProperty=function(t,i){return!!t&&t.type==="ObjectTypeProperty"&&(i==null||(0,r.default)(t,i))},e.isObjectTypeSpreadProperty=function(t,i){return!!t&&t.type==="ObjectTypeSpreadProperty"&&(i==null||(0,r.default)(t,i))},e.isOpaqueType=function(t,i){return!!t&&t.type==="OpaqueType"&&(i==null||(0,r.default)(t,i))},e.isOptionalCallExpression=function(t,i){return!!t&&t.type==="OptionalCallExpression"&&(i==null||(0,r.default)(t,i))},e.isOptionalIndexedAccessType=function(t,i){return!!t&&t.type==="OptionalIndexedAccessType"&&(i==null||(0,r.default)(t,i))},e.isOptionalMemberExpression=function(t,i){return!!t&&t.type==="OptionalMemberExpression"&&(i==null||(0,r.default)(t,i))},e.isParenthesizedExpression=function(t,i){return!!t&&t.type==="ParenthesizedExpression"&&(i==null||(0,r.default)(t,i))},e.isPattern=function(t,i){if(!t)return!1;switch(t.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if(t.expectedNode==="Pattern")break;default:return!1}return i==null||(0,r.default)(t,i)},e.isPatternLike=function(t,i){if(!t)return!1;switch(t.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(t.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return i==null||(0,r.default)(t,i)},e.isPipelineBareFunction=function(t,i){return!!t&&t.type==="PipelineBareFunction"&&(i==null||(0,r.default)(t,i))},e.isPipelinePrimaryTopicReference=function(t,i){return!!t&&t.type==="PipelinePrimaryTopicReference"&&(i==null||(0,r.default)(t,i))},e.isPipelineTopicExpression=function(t,i){return!!t&&t.type==="PipelineTopicExpression"&&(i==null||(0,r.default)(t,i))},e.isPlaceholder=function(t,i){return!!t&&t.type==="Placeholder"&&(i==null||(0,r.default)(t,i))},e.isPrivate=function(t,i){if(!t)return!1;switch(t.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isPrivateName=function(t,i){return!!t&&t.type==="PrivateName"&&(i==null||(0,r.default)(t,i))},e.isProgram=function(t,i){return!!t&&t.type==="Program"&&(i==null||(0,r.default)(t,i))},e.isProperty=function(t,i){if(!t)return!1;switch(t.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isPureish=function(t,i){if(!t)return!1;switch(t.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(t.expectedNode==="StringLiteral")break;default:return!1}return i==null||(0,r.default)(t,i)},e.isQualifiedTypeIdentifier=function(t,i){return!!t&&t.type==="QualifiedTypeIdentifier"&&(i==null||(0,r.default)(t,i))},e.isRecordExpression=function(t,i){return!!t&&t.type==="RecordExpression"&&(i==null||(0,r.default)(t,i))},e.isRegExpLiteral=function(t,i){return!!t&&t.type==="RegExpLiteral"&&(i==null||(0,r.default)(t,i))},e.isRegexLiteral=function(t,i){return(0,l.default)("isRegexLiteral","isRegExpLiteral"),!!t&&t.type==="RegexLiteral"&&(i==null||(0,r.default)(t,i))},e.isRestElement=function(t,i){return!!t&&t.type==="RestElement"&&(i==null||(0,r.default)(t,i))},e.isRestProperty=function(t,i){return(0,l.default)("isRestProperty","isRestElement"),!!t&&t.type==="RestProperty"&&(i==null||(0,r.default)(t,i))},e.isReturnStatement=function(t,i){return!!t&&t.type==="ReturnStatement"&&(i==null||(0,r.default)(t,i))},e.isScopable=function(t,i){if(!t)return!1;switch(t.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(t.expectedNode==="BlockStatement")break;default:return!1}return i==null||(0,r.default)(t,i)},e.isSequenceExpression=function(t,i){return!!t&&t.type==="SequenceExpression"&&(i==null||(0,r.default)(t,i))},e.isSpreadElement=function(t,i){return!!t&&t.type==="SpreadElement"&&(i==null||(0,r.default)(t,i))},e.isSpreadProperty=function(t,i){return(0,l.default)("isSpreadProperty","isSpreadElement"),!!t&&t.type==="SpreadProperty"&&(i==null||(0,r.default)(t,i))},e.isStandardized=function(t,i){if(!t)return!1;switch(t.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":case"ImportAttribute":break;case"Placeholder":switch(t.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return i==null||(0,r.default)(t,i)},e.isStatement=function(t,i){if(!t)return!1;switch(t.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(t.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return i==null||(0,r.default)(t,i)},e.isStaticBlock=function(t,i){return!!t&&t.type==="StaticBlock"&&(i==null||(0,r.default)(t,i))},e.isStringLiteral=function(t,i){return!!t&&t.type==="StringLiteral"&&(i==null||(0,r.default)(t,i))},e.isStringLiteralTypeAnnotation=function(t,i){return!!t&&t.type==="StringLiteralTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isStringTypeAnnotation=function(t,i){return!!t&&t.type==="StringTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isSuper=function(t,i){return!!t&&t.type==="Super"&&(i==null||(0,r.default)(t,i))},e.isSwitchCase=function(t,i){return!!t&&t.type==="SwitchCase"&&(i==null||(0,r.default)(t,i))},e.isSwitchStatement=function(t,i){return!!t&&t.type==="SwitchStatement"&&(i==null||(0,r.default)(t,i))},e.isSymbolTypeAnnotation=function(t,i){return!!t&&t.type==="SymbolTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isTSAnyKeyword=function(t,i){return!!t&&t.type==="TSAnyKeyword"&&(i==null||(0,r.default)(t,i))},e.isTSArrayType=function(t,i){return!!t&&t.type==="TSArrayType"&&(i==null||(0,r.default)(t,i))},e.isTSAsExpression=function(t,i){return!!t&&t.type==="TSAsExpression"&&(i==null||(0,r.default)(t,i))},e.isTSBaseType=function(t,i){if(!t)return!1;switch(t.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSTemplateLiteralType":case"TSLiteralType":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isTSBigIntKeyword=function(t,i){return!!t&&t.type==="TSBigIntKeyword"&&(i==null||(0,r.default)(t,i))},e.isTSBooleanKeyword=function(t,i){return!!t&&t.type==="TSBooleanKeyword"&&(i==null||(0,r.default)(t,i))},e.isTSCallSignatureDeclaration=function(t,i){return!!t&&t.type==="TSCallSignatureDeclaration"&&(i==null||(0,r.default)(t,i))},e.isTSConditionalType=function(t,i){return!!t&&t.type==="TSConditionalType"&&(i==null||(0,r.default)(t,i))},e.isTSConstructSignatureDeclaration=function(t,i){return!!t&&t.type==="TSConstructSignatureDeclaration"&&(i==null||(0,r.default)(t,i))},e.isTSConstructorType=function(t,i){return!!t&&t.type==="TSConstructorType"&&(i==null||(0,r.default)(t,i))},e.isTSDeclareFunction=function(t,i){return!!t&&t.type==="TSDeclareFunction"&&(i==null||(0,r.default)(t,i))},e.isTSDeclareMethod=function(t,i){return!!t&&t.type==="TSDeclareMethod"&&(i==null||(0,r.default)(t,i))},e.isTSEntityName=function(t,i){if(!t)return!1;switch(t.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(t.expectedNode==="Identifier")break;default:return!1}return i==null||(0,r.default)(t,i)},e.isTSEnumBody=function(t,i){return!!t&&t.type==="TSEnumBody"&&(i==null||(0,r.default)(t,i))},e.isTSEnumDeclaration=function(t,i){return!!t&&t.type==="TSEnumDeclaration"&&(i==null||(0,r.default)(t,i))},e.isTSEnumMember=function(t,i){return!!t&&t.type==="TSEnumMember"&&(i==null||(0,r.default)(t,i))},e.isTSExportAssignment=function(t,i){return!!t&&t.type==="TSExportAssignment"&&(i==null||(0,r.default)(t,i))},e.isTSExpressionWithTypeArguments=function(t,i){return!!t&&t.type==="TSExpressionWithTypeArguments"&&(i==null||(0,r.default)(t,i))},e.isTSExternalModuleReference=function(t,i){return!!t&&t.type==="TSExternalModuleReference"&&(i==null||(0,r.default)(t,i))},e.isTSFunctionType=function(t,i){return!!t&&t.type==="TSFunctionType"&&(i==null||(0,r.default)(t,i))},e.isTSImportEqualsDeclaration=function(t,i){return!!t&&t.type==="TSImportEqualsDeclaration"&&(i==null||(0,r.default)(t,i))},e.isTSImportType=function(t,i){return!!t&&t.type==="TSImportType"&&(i==null||(0,r.default)(t,i))},e.isTSIndexSignature=function(t,i){return!!t&&t.type==="TSIndexSignature"&&(i==null||(0,r.default)(t,i))},e.isTSIndexedAccessType=function(t,i){return!!t&&t.type==="TSIndexedAccessType"&&(i==null||(0,r.default)(t,i))},e.isTSInferType=function(t,i){return!!t&&t.type==="TSInferType"&&(i==null||(0,r.default)(t,i))},e.isTSInstantiationExpression=function(t,i){return!!t&&t.type==="TSInstantiationExpression"&&(i==null||(0,r.default)(t,i))},e.isTSInterfaceBody=function(t,i){return!!t&&t.type==="TSInterfaceBody"&&(i==null||(0,r.default)(t,i))},e.isTSInterfaceDeclaration=function(t,i){return!!t&&t.type==="TSInterfaceDeclaration"&&(i==null||(0,r.default)(t,i))},e.isTSIntersectionType=function(t,i){return!!t&&t.type==="TSIntersectionType"&&(i==null||(0,r.default)(t,i))},e.isTSIntrinsicKeyword=function(t,i){return!!t&&t.type==="TSIntrinsicKeyword"&&(i==null||(0,r.default)(t,i))},e.isTSLiteralType=function(t,i){return!!t&&t.type==="TSLiteralType"&&(i==null||(0,r.default)(t,i))},e.isTSMappedType=function(t,i){return!!t&&t.type==="TSMappedType"&&(i==null||(0,r.default)(t,i))},e.isTSMethodSignature=function(t,i){return!!t&&t.type==="TSMethodSignature"&&(i==null||(0,r.default)(t,i))},e.isTSModuleBlock=function(t,i){return!!t&&t.type==="TSModuleBlock"&&(i==null||(0,r.default)(t,i))},e.isTSModuleDeclaration=function(t,i){return!!t&&t.type==="TSModuleDeclaration"&&(i==null||(0,r.default)(t,i))},e.isTSNamedTupleMember=function(t,i){return!!t&&t.type==="TSNamedTupleMember"&&(i==null||(0,r.default)(t,i))},e.isTSNamespaceExportDeclaration=function(t,i){return!!t&&t.type==="TSNamespaceExportDeclaration"&&(i==null||(0,r.default)(t,i))},e.isTSNeverKeyword=function(t,i){return!!t&&t.type==="TSNeverKeyword"&&(i==null||(0,r.default)(t,i))},e.isTSNonNullExpression=function(t,i){return!!t&&t.type==="TSNonNullExpression"&&(i==null||(0,r.default)(t,i))},e.isTSNullKeyword=function(t,i){return!!t&&t.type==="TSNullKeyword"&&(i==null||(0,r.default)(t,i))},e.isTSNumberKeyword=function(t,i){return!!t&&t.type==="TSNumberKeyword"&&(i==null||(0,r.default)(t,i))},e.isTSObjectKeyword=function(t,i){return!!t&&t.type==="TSObjectKeyword"&&(i==null||(0,r.default)(t,i))},e.isTSOptionalType=function(t,i){return!!t&&t.type==="TSOptionalType"&&(i==null||(0,r.default)(t,i))},e.isTSParameterProperty=function(t,i){return!!t&&t.type==="TSParameterProperty"&&(i==null||(0,r.default)(t,i))},e.isTSParenthesizedType=function(t,i){return!!t&&t.type==="TSParenthesizedType"&&(i==null||(0,r.default)(t,i))},e.isTSPropertySignature=function(t,i){return!!t&&t.type==="TSPropertySignature"&&(i==null||(0,r.default)(t,i))},e.isTSQualifiedName=function(t,i){return!!t&&t.type==="TSQualifiedName"&&(i==null||(0,r.default)(t,i))},e.isTSRestType=function(t,i){return!!t&&t.type==="TSRestType"&&(i==null||(0,r.default)(t,i))},e.isTSSatisfiesExpression=function(t,i){return!!t&&t.type==="TSSatisfiesExpression"&&(i==null||(0,r.default)(t,i))},e.isTSStringKeyword=function(t,i){return!!t&&t.type==="TSStringKeyword"&&(i==null||(0,r.default)(t,i))},e.isTSSymbolKeyword=function(t,i){return!!t&&t.type==="TSSymbolKeyword"&&(i==null||(0,r.default)(t,i))},e.isTSTemplateLiteralType=function(t,i){return!!t&&t.type==="TSTemplateLiteralType"&&(i==null||(0,r.default)(t,i))},e.isTSThisType=function(t,i){return!!t&&t.type==="TSThisType"&&(i==null||(0,r.default)(t,i))},e.isTSTupleType=function(t,i){return!!t&&t.type==="TSTupleType"&&(i==null||(0,r.default)(t,i))},e.isTSType=function(t,i){if(!t)return!1;switch(t.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isTSTypeAliasDeclaration=function(t,i){return!!t&&t.type==="TSTypeAliasDeclaration"&&(i==null||(0,r.default)(t,i))},e.isTSTypeAnnotation=function(t,i){return!!t&&t.type==="TSTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isTSTypeAssertion=function(t,i){return!!t&&t.type==="TSTypeAssertion"&&(i==null||(0,r.default)(t,i))},e.isTSTypeElement=function(t,i){if(!t)return!1;switch(t.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isTSTypeLiteral=function(t,i){return!!t&&t.type==="TSTypeLiteral"&&(i==null||(0,r.default)(t,i))},e.isTSTypeOperator=function(t,i){return!!t&&t.type==="TSTypeOperator"&&(i==null||(0,r.default)(t,i))},e.isTSTypeParameter=function(t,i){return!!t&&t.type==="TSTypeParameter"&&(i==null||(0,r.default)(t,i))},e.isTSTypeParameterDeclaration=function(t,i){return!!t&&t.type==="TSTypeParameterDeclaration"&&(i==null||(0,r.default)(t,i))},e.isTSTypeParameterInstantiation=function(t,i){return!!t&&t.type==="TSTypeParameterInstantiation"&&(i==null||(0,r.default)(t,i))},e.isTSTypePredicate=function(t,i){return!!t&&t.type==="TSTypePredicate"&&(i==null||(0,r.default)(t,i))},e.isTSTypeQuery=function(t,i){return!!t&&t.type==="TSTypeQuery"&&(i==null||(0,r.default)(t,i))},e.isTSTypeReference=function(t,i){return!!t&&t.type==="TSTypeReference"&&(i==null||(0,r.default)(t,i))},e.isTSUndefinedKeyword=function(t,i){return!!t&&t.type==="TSUndefinedKeyword"&&(i==null||(0,r.default)(t,i))},e.isTSUnionType=function(t,i){return!!t&&t.type==="TSUnionType"&&(i==null||(0,r.default)(t,i))},e.isTSUnknownKeyword=function(t,i){return!!t&&t.type==="TSUnknownKeyword"&&(i==null||(0,r.default)(t,i))},e.isTSVoidKeyword=function(t,i){return!!t&&t.type==="TSVoidKeyword"&&(i==null||(0,r.default)(t,i))},e.isTaggedTemplateExpression=function(t,i){return!!t&&t.type==="TaggedTemplateExpression"&&(i==null||(0,r.default)(t,i))},e.isTemplateElement=function(t,i){return!!t&&t.type==="TemplateElement"&&(i==null||(0,r.default)(t,i))},e.isTemplateLiteral=function(t,i){return!!t&&t.type==="TemplateLiteral"&&(i==null||(0,r.default)(t,i))},e.isTerminatorless=function(t,i){if(!t)return!1;switch(t.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isThisExpression=function(t,i){return!!t&&t.type==="ThisExpression"&&(i==null||(0,r.default)(t,i))},e.isThisTypeAnnotation=function(t,i){return!!t&&t.type==="ThisTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isThrowStatement=function(t,i){return!!t&&t.type==="ThrowStatement"&&(i==null||(0,r.default)(t,i))},e.isTopicReference=function(t,i){return!!t&&t.type==="TopicReference"&&(i==null||(0,r.default)(t,i))},e.isTryStatement=function(t,i){return!!t&&t.type==="TryStatement"&&(i==null||(0,r.default)(t,i))},e.isTupleExpression=function(t,i){return!!t&&t.type==="TupleExpression"&&(i==null||(0,r.default)(t,i))},e.isTupleTypeAnnotation=function(t,i){return!!t&&t.type==="TupleTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isTypeAlias=function(t,i){return!!t&&t.type==="TypeAlias"&&(i==null||(0,r.default)(t,i))},e.isTypeAnnotation=function(t,i){return!!t&&t.type==="TypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isTypeCastExpression=function(t,i){return!!t&&t.type==="TypeCastExpression"&&(i==null||(0,r.default)(t,i))},e.isTypeParameter=function(t,i){return!!t&&t.type==="TypeParameter"&&(i==null||(0,r.default)(t,i))},e.isTypeParameterDeclaration=function(t,i){return!!t&&t.type==="TypeParameterDeclaration"&&(i==null||(0,r.default)(t,i))},e.isTypeParameterInstantiation=function(t,i){return!!t&&t.type==="TypeParameterInstantiation"&&(i==null||(0,r.default)(t,i))},e.isTypeScript=function(t,i){if(!t)return!1;switch(t.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumBody":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isTypeofTypeAnnotation=function(t,i){return!!t&&t.type==="TypeofTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isUnaryExpression=function(t,i){return!!t&&t.type==="UnaryExpression"&&(i==null||(0,r.default)(t,i))},e.isUnaryLike=function(t,i){if(!t)return!1;switch(t.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isUnionTypeAnnotation=function(t,i){return!!t&&t.type==="UnionTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isUpdateExpression=function(t,i){return!!t&&t.type==="UpdateExpression"&&(i==null||(0,r.default)(t,i))},e.isUserWhitespacable=function(t,i){if(!t)return!1;switch(t.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isV8IntrinsicIdentifier=function(t,i){return!!t&&t.type==="V8IntrinsicIdentifier"&&(i==null||(0,r.default)(t,i))},e.isVariableDeclaration=function(t,i){return!!t&&t.type==="VariableDeclaration"&&(i==null||(0,r.default)(t,i))},e.isVariableDeclarator=function(t,i){return!!t&&t.type==="VariableDeclarator"&&(i==null||(0,r.default)(t,i))},e.isVariance=function(t,i){return!!t&&t.type==="Variance"&&(i==null||(0,r.default)(t,i))},e.isVoidPattern=function(t,i){return!!t&&t.type==="VoidPattern"&&(i==null||(0,r.default)(t,i))},e.isVoidTypeAnnotation=function(t,i){return!!t&&t.type==="VoidTypeAnnotation"&&(i==null||(0,r.default)(t,i))},e.isWhile=function(t,i){if(!t)return!1;switch(t.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return i==null||(0,r.default)(t,i)},e.isWhileStatement=function(t,i){return!!t&&t.type==="WhileStatement"&&(i==null||(0,r.default)(t,i))},e.isWithStatement=function(t,i){return!!t&&t.type==="WithStatement"&&(i==null||(0,r.default)(t,i))},e.isYieldExpression=function(t,i){return!!t&&t.type==="YieldExpression"&&(i==null||(0,r.default)(t,i))};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/shallowEqual.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/deprecationWarning.js");function d(t,i){if(!t)return!1;switch(t.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return i==null||(0,r.default)(t,i)}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/is.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i,c,v){return c?(0,l.default)(c.type,i)?v===void 0||(0,r.default)(c,v):!v&&c.type==="Placeholder"&&i in t.FLIPPED_ALIAS_KEYS&&(0,d.default)(c.expectedNode,i):!1};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/utils/shallowEqual.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isType.js"),d=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isPlaceholderType.js"),t=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isBinding.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,d,t){if(t&&l.type==="Identifier"&&d.type==="ObjectProperty"&&t.type==="ObjectExpression")return!1;let i=r.default.keys[d.type];if(i)for(let c=0;c<i.length;c++){let v=d[i[c]];if(Array.isArray(v)){if(v.includes(l))return!0}else if(v===l)return!0}return!1};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isBlockScoped.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d){return(0,r.isFunctionDeclaration)(d)||(0,r.isClassDeclaration)(d)||(0,l.default)(d)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isLet.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isImmutable.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d){return(0,r.default)(d.type,"Immutable")?!0:(0,l.isIdentifier)(d)?d.name==="undefined":!1};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isType.js"),l=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isLet.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d){return(0,r.isVariableDeclaration)(d)&&(d.kind!=="var"||d[l])};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js"),l=Symbol.for("var used to be block scoped")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isNode.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){return!(!l||!r.VISITOR_KEYS[l.type])};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isNodesEquivalent.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function l(d,t){if(typeof d!="object"||typeof t!="object"||d==null||t==null)return d===t;if(d.type!==t.type)return!1;let i=Object.keys(r.NODE_FIELDS[d.type]||d.type),c=r.VISITOR_KEYS[d.type];for(let v of i){let T=d[v],g=t[v];if(typeof T!=typeof g)return!1;if(T!=null||g!=null){if(T==null||g==null)return!1;if(Array.isArray(T)){if(!Array.isArray(g)||T.length!==g.length)return!1;for(let p=0;p<T.length;p++)if(!l(T[p],g[p]))return!1}else if(typeof T!="object"||c!=null&&c.includes(v)){if(!l(T,g))return!1}else for(let p of Object.keys(T))if(T[p]!==g[p])return!1}}return!0};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isPlaceholderType.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,d){if(l===d)return!0;let t=r.PLACEHOLDERS_ALIAS[l];return!(t==null||!t.includes(d))};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isReferenced.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(E,r,l){switch(r.type){case"MemberExpression":case"OptionalMemberExpression":return r.property===E?!!r.computed:r.object===E;case"JSXMemberExpression":return r.object===E;case"VariableDeclarator":return r.init===E;case"ArrowFunctionExpression":return r.body===E;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return r.key===E&&!!r.computed;case"ObjectProperty":return r.key===E?!!r.computed:!l||l.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":case"TSPropertySignature":return r.key!==E||!!r.computed;case"ClassPrivateProperty":case"ObjectTypeProperty":return r.key!==E;case"ClassDeclaration":case"ClassExpression":return r.superClass===E;case"AssignmentExpression":case"AssignmentPattern":return r.right===E;case"ExportSpecifier":return(l==null||!l.source)&&r.local===E;case"TSEnumMember":return r.id!==E}return!0}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isScope.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,d){return(0,r.isBlockStatement)(l)&&((0,r.isFunction)(d)||(0,r.isCatchClause)(d))?!1:(0,r.isPattern)(l)&&((0,r.isFunction)(d)||(0,r.isCatchClause)(d))?!0:(0,r.isScopable)(l)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isSpecifierDefault.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){return(0,r.isImportDefaultSpecifier)(l)||(0,r.isIdentifier)(l.imported||l.exported,{name:"default"})};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isType.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,d){if(l===d)return!0;if(l==null||r.ALIAS_KEYS[d])return!1;let t=r.FLIPPED_ALIAS_KEYS[d];return!(t==null||!t.includes(l))};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isValidES3Identifier.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d){return(0,r.default)(d)&&!l.has(d)};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isValidIdentifier.js");let l=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"])},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isValidIdentifier.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,d=!0){return typeof l!="string"||d&&((0,r.isKeyword)(l)||(0,r.isStrictReservedWord)(l,!0))?!1:(0,r.isIdentifierName)(l)};var r=E("./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/isVar.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d){return(0,r.isVariableDeclaration)(d,{kind:"var"})&&!d[l]};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js"),l=Symbol.for("var used to be block scoped")},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/matchesPattern.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d,t,i){if(!l(d))return!1;let c=Array.isArray(t)?t:t.split("."),v=[],T;for(T=d;l(T);T=(g=T.object)!=null?g:T.meta){var g;v.push(T.property)}if(v.push(T),v.length<c.length||!i&&v.length>c.length)return!1;for(let p=0,h=v.length-1;p<c.length;p++,h--){let u=v[h],f;if((0,r.isIdentifier)(u))f=u.name;else if((0,r.isStringLiteral)(u))f=u.value;else if((0,r.isThisExpression)(u))f="this";else if((0,r.isSuper)(u))f="super";else{if(!(0,r.isPrivateName)(u))return!1;f="#"+u.id.name}if(c[p]!==f)return!1}return!0};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/generated/index.js");function l(d){return(0,r.isMemberExpression)(d)||(0,r.isMetaProperty)(d)}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/react/isCompatTag.js":(ee,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(E){return!!E&&/^[a-z]/.test(E)}},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/react/isReactComponent.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;let r=(0,E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js").default)("React.Component");e.default=r},"./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/validators/validate.js":(ee,e,E)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,i,c){if(!t)return;let v=r.NODE_FIELDS[t.type];if(!v)return;let T=v[i];l(t,i,c,T),d(t,i,c)},e.validateChild=d,e.validateField=l,e.validateInternal=function(t,i,c,v,T){if(!(t==null||!t.validate)&&!(t.optional&&v==null)&&(t.validate(i,c,v),T)){var g;let p=v.type;if(p==null)return;(g=r.NODE_PARENT_VALIDATIONS[p])==null||g.call(r.NODE_PARENT_VALIDATIONS,i,c,v)}};var r=E("./node_modules/.pnpm/@babel+types@7.28.1/node_modules/@babel/types/lib/definitions/index.js");function l(t,i,c,v){v!=null&&v.validate&&(v.optional&&c==null||v.validate(t,i,c))}function d(t,i,c){var v;let T=c?.type;T!=null&&((v=r.NODE_PARENT_VALIDATIONS[T])==null||v.call(r.NODE_PARENT_VALIDATIONS,t,i,c))}},"./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.12/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js":function(ee,e,E){(function(r,l,d){"use strict";var t=Object.create,i=Object.defineProperty,c=Object.getOwnPropertyDescriptor,v=Object.getOwnPropertyNames,T=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty,p=(Pe,ke)=>function(){return ke||(0,Pe[v(Pe)[0]])((ke={exports:{}}).exports,ke),ke.exports},h=(Pe,ke)=>{for(var Oe in ke)i(Pe,Oe,{get:ke[Oe],enumerable:!0})},u=(Pe,ke,Oe,We)=>{if(ke&&typeof ke=="object"||typeof ke=="function")for(let Re of v(ke))g.call(Pe,Re)||Re===Oe||i(Pe,Re,{get:()=>ke[Re],enumerable:!(We=c(ke,Re))||We.enumerable});return Pe},f=(Pe,ke,Oe)=>(Oe=Pe!=null?t(T(Pe)):{},u(!ke&&Pe&&Pe.__esModule?Oe:i(Oe,"default",{value:Pe,enumerable:!0}),Pe)),y=Pe=>u(i({},"__esModule",{value:!0}),Pe),P=p({"umd:@jridgewell/sourcemap-codec"(Pe,ke){ke.exports=l}}),S=p({"umd:@jridgewell/trace-mapping"(Pe,ke){ke.exports=d}}),b={};h(b,{GenMapping:()=>re,addMapping:()=>M,addSegment:()=>ie,allMappings:()=>we,fromMap:()=>ye,maybeAddMapping:()=>G,maybeAddSegment:()=>B,setIgnore:()=>Q,setSourceContent:()=>U,toDecodedMap:()=>de,toEncodedMap:()=>se}),r.exports=y(b);var C=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function N(Pe){return Pe}function F(Pe,ke){return Pe._indexes[ke]}function K(Pe,ke){let Oe=F(Pe,ke);if(Oe!==void 0)return Oe;let{array:We,_indexes:Re}=Pe,at=We.push(ke);return Re[ke]=at-1}function L(Pe,ke){let Oe=F(Pe,ke);if(Oe===void 0)return;let{array:We,_indexes:Re}=Pe;for(let at=Oe+1;at<We.length;at++){let ut=We[at];We[at-1]=ut,Re[ut]--}Re[ke]=void 0,We.pop()}var w=f(P()),O=f(S()),z=0,te=1,$=2,D=3,W=4,q=-1,re=class{constructor({file:Pe,sourceRoot:ke}={}){this._names=new C,this._sources=new C,this._sourcesContent=[],this._mappings=[],this.file=Pe,this.sourceRoot=ke,this._ignoreList=new C}};function le(Pe){return Pe}function ie(Pe,ke,Oe,We,Re,at,ut,pt){return ve(!1,Pe,ke,Oe,We,Re,at,ut,pt)}function M(Pe,ke){return Fe(!1,Pe,ke)}var B=(Pe,ke,Oe,We,Re,at,ut,pt)=>ve(!0,Pe,ke,Oe,We,Re,at,ut,pt),G=(Pe,ke)=>Fe(!0,Pe,ke);function U(Pe,ke,Oe){let{_sources:We,_sourcesContent:Re}=Pe;Re[K(We,ke)]=Oe}function Q(Pe,ke,Oe=!0){let{_sources:We,_sourcesContent:Re,_ignoreList:at}=Pe,ut=K(We,ke);ut===Re.length&&(Re[ut]=null),Oe?K(at,ut):L(at,ut)}function de(Pe){let{_mappings:ke,_sources:Oe,_sourcesContent:We,_names:Re,_ignoreList:at}=Pe;return pe(ke),{version:3,file:Pe.file||void 0,names:Re.array,sourceRoot:Pe.sourceRoot||void 0,sources:Oe.array,sourcesContent:We,mappings:ke,ignoreList:at.array}}function se(Pe){let ke=de(Pe);return Object.assign({},ke,{mappings:(0,w.encode)(ke.mappings)})}function ye(Pe){let ke=new O.TraceMap(Pe),Oe=new re({file:ke.file,sourceRoot:ke.sourceRoot});return j(Oe._names,ke.names),j(Oe._sources,ke.sources),Oe._sourcesContent=ke.sourcesContent||ke.sources.map(()=>null),Oe._mappings=(0,O.decodedMappings)(ke),ke.ignoreList&&j(Oe._ignoreList,ke.ignoreList),Oe}function we(Pe){let ke=[],{_mappings:Oe,_sources:We,_names:Re}=Pe;for(let at=0;at<Oe.length;at++){let ut=Oe[at];for(let pt=0;pt<ut.length;pt++){let qe=ut[pt],rt={line:at+1,column:qe[z]},Ve,Ne,ae;qe.length!==1&&(Ve=We.array[qe[te]],Ne={line:qe[$]+1,column:qe[D]},qe.length===5&&(ae=Re.array[qe[W]])),ke.push({generated:rt,source:Ve,original:Ne,name:ae})}}return ke}function ve(Pe,ke,Oe,We,Re,at,ut,pt,qe){let{_mappings:rt,_sources:Ve,_sourcesContent:Ne,_names:ae}=ke,_e=H(rt,Oe),$e=me(_e,We);if(!Re)return Pe&&Te(_e,$e)?void 0:Se(_e,$e,[We]);let st=K(Ve,Re),et=pt?K(ae,pt):q;if(st===Ne.length&&(Ne[st]=qe??null),!Pe||!De(_e,$e,st,at,ut,et))return Se(_e,$e,pt?[We,st,at,ut,et]:[We,st,at,ut])}function ce(Pe){}function H(Pe,ke){for(let Oe=Pe.length;Oe<=ke;Oe++)Pe[Oe]=[];return Pe[ke]}function me(Pe,ke){let Oe=Pe.length;for(let We=Oe-1;We>=0&&!(ke>=Pe[We][z]);Oe=We--);return Oe}function Se(Pe,ke,Oe){for(let We=Pe.length;We>ke;We--)Pe[We]=Pe[We-1];Pe[ke]=Oe}function pe(Pe){let{length:ke}=Pe,Oe=ke;for(let We=Oe-1;We>=0&&!(Pe[We].length>0);Oe=We,We--);Oe<ke&&(Pe.length=Oe)}function j(Pe,ke){for(let Oe=0;Oe<ke.length;Oe++)K(Pe,ke[Oe])}function Te(Pe,ke){return ke===0||Pe[ke-1].length===1}function De(Pe,ke,Oe,We,Re,at){if(ke===0)return!1;let ut=Pe[ke-1];return ut.length!==1&&Oe===ut[te]&&We===ut[$]&&Re===ut[D]&&at===(ut.length===5?ut[W]:q)}function Fe(Pe,ke,Oe){let{generated:We,source:Re,original:at,name:ut,content:pt}=Oe;return Re?ve(Pe,ke,We.line-1,We.column,Re,at.line-1,at.column,ut,pt):ve(Pe,ke,We.line-1,We.column,null,null,null,null,null)}})(ee=E.nmd(ee),E("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.4/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),E("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.29/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"))},"./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js":function(ee){ee.exports=(function(){"use strict";let e=/^[\w+.-]+:\/\//,E=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function l(P){return e.test(P)}function d(P){return P.startsWith("//")}function t(P){return P.startsWith("/")}function i(P){return P.startsWith("file:")}function c(P){return/^[.?#]/.test(P)}function v(P){let S=E.exec(P);return g(S[1],S[2]||"",S[3],S[4]||"",S[5]||"/",S[6]||"",S[7]||"")}function T(P){let S=r.exec(P),b=S[2];return g("file:","",S[1]||"","",t(b)?b:"/"+b,S[3]||"",S[4]||"")}function g(P,S,b,C,N,F,K){return{scheme:P,user:S,host:b,port:C,path:N,query:F,hash:K,type:7}}function p(P){if(d(P)){let b=v("http:"+P);return b.scheme="",b.type=6,b}if(t(P)){let b=v("http://foo.com"+P);return b.scheme="",b.host="",b.type=5,b}if(i(P))return T(P);if(l(P))return v(P);let S=v("http://foo.com/"+P);return S.scheme="",S.host="",S.type=P?P.startsWith("?")?3:P.startsWith("#")?2:4:1,S}function h(P){if(P.endsWith("/.."))return P;let S=P.lastIndexOf("/");return P.slice(0,S+1)}function u(P,S){f(S,S.type),P.path==="/"?P.path=S.path:P.path=h(S.path)+P.path}function f(P,S){let b=S<=4,C=P.path.split("/"),N=1,F=0,K=!1;for(let w=1;w<C.length;w++){let O=C[w];O?(K=!1,O!=="."&&(O!==".."?(C[N++]=O,F++):F?(K=!0,F--,N--):b&&(C[N++]=O))):K=!0}let L="";for(let w=1;w<N;w++)L+="/"+C[w];(!L||K&&!L.endsWith("/.."))&&(L+="/"),P.path=L}function y(P,S){if(!P&&!S)return"";let b=p(P),C=b.type;if(S&&C!==7){let F=p(S),K=F.type;switch(C){case 1:b.hash=F.hash;case 2:b.query=F.query;case 3:case 4:u(b,F);case 5:b.user=F.user,b.host=F.host,b.port=F.port;case 6:b.scheme=F.scheme}K>C&&(C=K)}f(b,C);let N=b.query+b.hash;switch(C){case 2:case 3:return N;case 4:{let F=b.path.slice(1);return F?c(S||P)&&!c(F)?"./"+F+N:F+N:N||"."}case 5:return b.path+N;default:return b.scheme+"//"+b.user+b.host+b.port+b.path+N}}return y})()},"./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.4/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js":function(ee,e,E){(function(r){"use strict";var l=Object.defineProperty,d=Object.getOwnPropertyDescriptor,t=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,c=(ie,M,B,G)=>{if(M&&typeof M=="object"||typeof M=="function")for(let U of t(M))i.call(ie,U)||U===B||l(ie,U,{get:()=>M[U],enumerable:!(G=d(M,U))||G.enumerable});return ie},v=ie=>c(l({},"__esModule",{value:!0}),ie),T={};((ie,M)=>{for(var B in M)l(ie,B,{get:M[B],enumerable:!0})})(T,{decode:()=>W,decodeGeneratedRanges:()=>z,decodeOriginalScopes:()=>L,encode:()=>le,encodeGeneratedRanges:()=>te,encodeOriginalScopes:()=>w}),r.exports=v(T);var g=44,p=59,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=new Uint8Array(64),f=new Uint8Array(128);for(let ie=0;ie<h.length;ie++){let M=h.charCodeAt(ie);u[ie]=M,f[M]=ie}function y(ie,M){let B=0,G=0,U=0;do{let de=ie.next();U=f[de],B|=(31&U)<<G,G+=5}while(32&U);let Q=1&B;return B>>>=1,Q&&(B=-2147483648|-B),M+B}function P(ie,M,B){let G=M-B;G=G<0?-G<<1|1:G<<1;do{let U=31&G;G>>>=5,G>0&&(U|=32),ie.write(u[U])}while(G>0);return M}function S(ie,M){return!(ie.pos>=M)&&ie.peek()!==g}var b=16384,C=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode:ie=>Buffer.from(ie.buffer,ie.byteOffset,ie.byteLength).toString()}:{decode(ie){let M="";for(let B=0;B<ie.length;B++)M+=String.fromCharCode(ie[B]);return M}},N=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(b)}write(ie){let{buffer:M}=this;M[this.pos++]=ie,this.pos===b&&(this.out+=C.decode(M),this.pos=0)}flush(){let{buffer:ie,out:M,pos:B}=this;return B>0?M+C.decode(ie.subarray(0,B)):M}},F=class{constructor(ie){this.pos=0,this.buffer=ie}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(ie){let{buffer:M,pos:B}=this,G=M.indexOf(ie,B);return G===-1?M.length:G}},K=[];function L(ie){let{length:M}=ie,B=new F(ie),G=[],U=[],Q=0;for(;B.pos<M;B.pos++){Q=y(B,Q);let de=y(B,0);if(!S(B,M)){let ve=U.pop();ve[2]=Q,ve[3]=de;continue}let se=y(B,0),ye=1&y(B,0)?[Q,de,0,0,se,y(B,0)]:[Q,de,0,0,se],we=K;if(S(B,M)){we=[];do{let ve=y(B,0);we.push(ve)}while(S(B,M))}ye.vars=we,G.push(ye),U.push(ye)}return G}function w(ie){let M=new N;for(let B=0;B<ie.length;)B=O(ie,B,M,[0]);return M.flush()}function O(ie,M,B,G){let U=ie[M],{0:Q,1:de,2:se,3:ye,4:we,vars:ve}=U;M>0&&B.write(g),G[0]=P(B,Q,G[0]),P(B,de,0),P(B,we,0),P(B,U.length===6?1:0,0),U.length===6&&P(B,U[5],0);for(let ce of ve)P(B,ce,0);for(M++;M<ie.length;){let ce=ie[M],{0:H,1:me}=ce;if(H>se||H===se&&me>=ye)break;M=O(ie,M,B,G)}return B.write(g),G[0]=P(B,se,G[0]),P(B,ye,0),M}function z(ie){let{length:M}=ie,B=new F(ie),G=[],U=[],Q=0,de=0,se=0,ye=0,we=0,ve=0,ce=0,H=0;do{let me=B.indexOf(";"),Se=0;for(;B.pos<me;B.pos++){if(Se=y(B,Se),!S(B,me)){let ke=U.pop();ke[2]=Q,ke[3]=Se;continue}let pe=y(B,0),j=2&pe,Te=4&pe,De,Fe=null,Pe=K;if(1&pe){let ke=y(B,de);se=y(B,de===ke?se:0),de=ke,De=[Q,Se,0,0,ke,se]}else De=[Q,Se,0,0];if(De.isScope=!!Te,j){let ke=ye,Oe=we;ye=y(B,ye);let We=ke===ye;we=y(B,We?we:0),ve=y(B,We&&Oe===we?ve:0),Fe=[ye,we,ve]}if(De.callsite=Fe,S(B,me)){Pe=[];do{ce=Q,H=Se;let ke=y(B,0),Oe;if(ke<-1){Oe=[[y(B,0)]];for(let We=-1;We>ke;We--){let Re=ce;ce=y(B,ce),H=y(B,ce===Re?H:0);let at=y(B,0);Oe.push([at,ce,H])}}else Oe=[[ke]];Pe.push(Oe)}while(S(B,me))}De.bindings=Pe,G.push(De),U.push(De)}Q++,B.pos=me+1}while(B.pos<M);return G}function te(ie){if(ie.length===0)return"";let M=new N;for(let B=0;B<ie.length;)B=$(ie,B,M,[0,0,0,0,0,0,0]);return M.flush()}function $(ie,M,B,G){let U=ie[M],{0:Q,1:de,2:se,3:ye,isScope:we,callsite:ve,bindings:ce}=U;if(G[0]<Q?(D(B,G[0],Q),G[0]=Q,G[1]=0):M>0&&B.write(g),G[1]=P(B,U[1],G[1]),P(B,(U.length===6?1:0)|(ve?2:0)|(we?4:0),0),U.length===6){let{4:H,5:me}=U;H!==G[2]&&(G[3]=0),G[2]=P(B,H,G[2]),G[3]=P(B,me,G[3])}if(ve){let{0:H,1:me,2:Se}=U.callsite;H!==G[4]?(G[5]=0,G[6]=0):me!==G[5]&&(G[6]=0),G[4]=P(B,H,G[4]),G[5]=P(B,me,G[5]),G[6]=P(B,Se,G[6])}if(ce)for(let H of ce){H.length>1&&P(B,-H.length,0),P(B,H[0][0],0);let me=Q,Se=de;for(let pe=1;pe<H.length;pe++){let j=H[pe];me=P(B,j[1],me),Se=P(B,j[2],Se),P(B,j[0],0)}}for(M++;M<ie.length;){let H=ie[M],{0:me,1:Se}=H;if(me>se||me===se&&Se>=ye)break;M=$(ie,M,B,G)}return G[0]<se?(D(B,G[0],se),G[0]=se,G[1]=0):B.write(g),G[1]=P(B,ye,G[1]),M}function D(ie,M,B){do ie.write(p);while(++M<B)}function W(ie){let{length:M}=ie,B=new F(ie),G=[],U=0,Q=0,de=0,se=0,ye=0;do{let we=B.indexOf(";"),ve=[],ce=!0,H=0;for(U=0;B.pos<we;){let me;U=y(B,U),U<H&&(ce=!1),H=U,S(B,we)?(Q=y(B,Q),de=y(B,de),se=y(B,se),S(B,we)?(ye=y(B,ye),me=[U,Q,de,se,ye]):me=[U,Q,de,se]):me=[U],ve.push(me),B.pos++}ce||q(ve),G.push(ve),B.pos=we+1}while(B.pos<=M);return G}function q(ie){ie.sort(re)}function re(ie,M){return ie[0]-M[0]}function le(ie){let M=new N,B=0,G=0,U=0,Q=0;for(let de=0;de<ie.length;de++){let se=ie[de];if(de>0&&M.write(p),se.length===0)continue;let ye=0;for(let we=0;we<se.length;we++){let ve=se[we];we>0&&M.write(g),ye=P(M,ve[0],ye),ve.length!==1&&(B=P(M,ve[1],B),G=P(M,ve[2],G),U=P(M,ve[3],U),ve.length!==4&&(Q=P(M,ve[4],Q)))}}return M.flush()}})(ee=E.nmd(ee))},"./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.29/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js":function(ee,e,E){(function(r,l,d){"use strict";var t=Object.create,i=Object.defineProperty,c=Object.getOwnPropertyDescriptor,v=Object.getOwnPropertyNames,T=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty,p=(Ee,Le)=>function(){return Le||(0,Ee[v(Ee)[0]])((Le={exports:{}}).exports,Le),Le.exports},h=(Ee,Le)=>{for(var Ie in Le)i(Ee,Ie,{get:Le[Ie],enumerable:!0})},u=(Ee,Le,Ie,xe)=>{if(Le&&typeof Le=="object"||typeof Le=="function")for(let ze of v(Le))g.call(Ee,ze)||ze===Ie||i(Ee,ze,{get:()=>Le[ze],enumerable:!(xe=c(Le,ze))||xe.enumerable});return Ee},f=(Ee,Le,Ie)=>(Ie=Ee!=null?t(T(Ee)):{},u(!Le&&Ee&&Ee.__esModule?Ie:i(Ie,"default",{value:Ee,enumerable:!0}),Ee)),y=Ee=>u(i({},"__esModule",{value:!0}),Ee),P=p({"umd:@jridgewell/sourcemap-codec"(Ee,Le){Le.exports=d}}),S=p({"umd:@jridgewell/resolve-uri"(Ee,Le){Le.exports=l}}),b={};h(b,{AnyMap:()=>ce,FlattenMap:()=>ce,GREATEST_LOWER_BOUND:()=>Fe,LEAST_UPPER_BOUND:()=>De,TraceMap:()=>Pe,allGeneratedPositionsFor:()=>pt,decodedMap:()=>_e,decodedMappings:()=>We,eachMapping:()=>qe,encodedMap:()=>$e,encodedMappings:()=>Oe,generatedPositionFor:()=>ut,isIgnored:()=>Ne,originalPositionFor:()=>at,presortedDecodedMap:()=>ae,sourceContentFor:()=>Ve,traceSegment:()=>Re}),r.exports=y(b);var C=f(P()),N=f(S());function F(Ee){if(!Ee)return"";let Le=Ee.lastIndexOf("/");return Ee.slice(0,Le+1)}function K(Ee,Le){let Ie=F(Ee),xe=Le?Le+"/":"";return ze=>(0,N.default)(xe+(ze||""),Ie)}var L=0,w=1,O=2,z=3,te=4,$=1,D=2;function W(Ee,Le){let Ie=q(Ee,0);if(Ie===Ee.length)return Ee;Le||(Ee=Ee.slice());for(let xe=Ie;xe<Ee.length;xe=q(Ee,xe+1))Ee[xe]=le(Ee[xe],Le);return Ee}function q(Ee,Le){for(let Ie=Le;Ie<Ee.length;Ie++)if(!re(Ee[Ie]))return Ie;return Ee.length}function re(Ee){for(let Le=1;Le<Ee.length;Le++)if(Ee[Le][L]<Ee[Le-1][L])return!1;return!0}function le(Ee,Le){return Le||(Ee=Ee.slice()),Ee.sort(ie)}function ie(Ee,Le){return Ee[L]-Le[L]}var M=!1;function B(Ee,Le,Ie,xe){for(;Ie<=xe;){let ze=Ie+(xe-Ie>>1),it=Ee[ze][L]-Le;if(it===0)return M=!0,ze;it<0?Ie=ze+1:xe=ze-1}return M=!1,Ie-1}function G(Ee,Le,Ie){for(let xe=Ie+1;xe<Ee.length&&Ee[xe][L]===Le;Ie=xe++);return Ie}function U(Ee,Le,Ie){for(let xe=Ie-1;xe>=0&&Ee[xe][L]===Le;Ie=xe--);return Ie}function Q(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function de(Ee,Le,Ie,xe){let{lastKey:ze,lastNeedle:it,lastIndex:Qe}=Ie,lt=0,ct=Ee.length-1;if(xe===ze){if(Le===it)return M=Qe!==-1&&Ee[Qe][L]===Le,Qe;Le>=it?lt=Qe===-1?0:Qe:ct=Qe}return Ie.lastKey=xe,Ie.lastNeedle=Le,Ie.lastIndex=B(Ee,Le,lt,ct)}function se(Ee,Le){let Ie=Le.map(we);for(let xe=0;xe<Ee.length;xe++){let ze=Ee[xe];for(let it=0;it<ze.length;it++){let Qe=ze[it];if(Qe.length===1)continue;let lt=Qe[w],ct=Qe[O],Ye=Qe[z],xt=Ie[lt],St=xt[ct]||(xt[ct]=[]),Ft=Le[lt],Dt=G(St,Ye,de(St,Ye,Ft,ct));Ft.lastIndex=++Dt,ye(St,Dt,[Ye,xe,Qe[L]])}}return Ie}function ye(Ee,Le,Ie){for(let xe=Ee.length;xe>Le;xe--)Ee[xe]=Ee[xe-1];Ee[Le]=Ie}function we(){return{__proto__:null}}function ve(Ee){return typeof Ee=="string"?JSON.parse(Ee):Ee}var ce=function(Ee,Le){let Ie=ve(Ee);if(!("sections"in Ie))return new Pe(Ie,Le);let xe=[],ze=[],it=[],Qe=[],lt=[];return H(Ie,Le,xe,ze,it,Qe,lt,0,0,1/0,1/0),ae({version:3,file:Ie.file,names:Qe,sources:ze,sourcesContent:it,mappings:xe,ignoreList:lt})};function H(Ee,Le,Ie,xe,ze,it,Qe,lt,ct,Ye,xt){let{sections:St}=Ee;for(let Ft=0;Ft<St.length;Ft++){let{map:Dt,offset:Jt}=St[Ft],At=Ye,Qt=xt;if(Ft+1<St.length){let sn=St[Ft+1].offset;At=Math.min(Ye,lt+sn.line),At===Ye?Qt=Math.min(xt,ct+sn.column):At<Ye&&(Qt=ct+sn.column)}me(Dt,Le,Ie,xe,ze,it,Qe,lt+Jt.line,ct+Jt.column,At,Qt)}}function me(Ee,Le,Ie,xe,ze,it,Qe,lt,ct,Ye,xt){let St=ve(Ee);if("sections"in St)return H(...arguments);let Ft=new Pe(St,Le),Dt=xe.length,Jt=it.length,At=We(Ft),{resolvedSources:Qt,sourcesContent:sn,ignoreList:bn}=Ft;if(Se(xe,Qt),Se(it,Ft.names),sn)Se(ze,sn);else for(let on=0;on<Qt.length;on++)ze.push(null);if(bn)for(let on=0;on<bn.length;on++)Qe.push(bn[on]+Dt);for(let on=0;on<At.length;on++){let pn=lt+on;if(pn>Ye)return;let Dn=pe(Ie,pn),kt=on===0?ct:0,gn=At[on];for(let _n=0;_n<gn.length;_n++){let Wt=gn[_n],Zt=kt+Wt[L];if(pn===Ye&&Zt>=xt)return;if(Wt.length===1){Dn.push([Zt]);continue}let dn=Dt+Wt[w],tn=Wt[O],Fn=Wt[z];Dn.push(Wt.length===4?[Zt,dn,tn,Fn]:[Zt,dn,tn,Fn,Jt+Wt[te]])}}}function Se(Ee,Le){for(let Ie=0;Ie<Le.length;Ie++)Ee.push(Le[Ie])}function pe(Ee,Le){for(let Ie=Ee.length;Ie<=Le;Ie++)Ee[Ie]=[];return Ee[Le]}var j="`line` must be greater than 0 (lines start at line 1)",Te="`column` must be greater than or equal to 0 (columns start at column 0)",De=-1,Fe=1,Pe=class{constructor(Ee,Le){let Ie=typeof Ee=="string";if(!Ie&&Ee._decodedMemo)return Ee;let xe=ve(Ee),{version:ze,file:it,names:Qe,sourceRoot:lt,sources:ct,sourcesContent:Ye}=xe;this.version=ze,this.file=it,this.names=Qe||[],this.sourceRoot=lt,this.sources=ct,this.sourcesContent=Ye,this.ignoreList=xe.ignoreList||xe.x_google_ignoreList||void 0;let xt=K(Le,lt);this.resolvedSources=ct.map(xt);let{mappings:St}=xe;if(typeof St=="string")this._encoded=St,this._decoded=void 0;else{if(!Array.isArray(St))throw xe.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error(`invalid source map: ${JSON.stringify(xe)}`);this._encoded=void 0,this._decoded=W(St,Ie)}this._decodedMemo=Q(),this._bySources=void 0,this._bySourceMemos=void 0}};function ke(Ee){return Ee}function Oe(Ee){var Le,Ie;return(Ie=(Le=Ee)._encoded)!=null?Ie:Le._encoded=(0,C.encode)(Ee._decoded)}function We(Ee){var Le;return(Le=Ee)._decoded||(Le._decoded=(0,C.decode)(Ee._encoded))}function Re(Ee,Le,Ie){let xe=We(Ee);if(Le>=xe.length)return null;let ze=xe[Le],it=Ae(ze,Ee._decodedMemo,Le,Ie,Fe);return it===-1?null:ze[it]}function at(Ee,Le){let{line:Ie,column:xe,bias:ze}=Le;if(Ie--,Ie<0)throw new Error(j);if(xe<0)throw new Error(Te);let it=We(Ee);if(Ie>=it.length)return et(null,null,null,null);let Qe=it[Ie],lt=Ae(Qe,Ee._decodedMemo,Ie,xe,ze||Fe);if(lt===-1)return et(null,null,null,null);let ct=Qe[lt];if(ct.length===1)return et(null,null,null,null);let{names:Ye,resolvedSources:xt}=Ee;return et(xt[ct[w]],ct[O]+1,ct[z],ct.length===5?Ye[ct[te]]:null)}function ut(Ee,Le){let{source:Ie,line:xe,column:ze,bias:it}=Le;return He(Ee,Ie,xe,ze,it||Fe,!1)}function pt(Ee,Le){let{source:Ie,line:xe,column:ze,bias:it}=Le;return He(Ee,Ie,xe,ze,it||De,!0)}function qe(Ee,Le){let Ie=We(Ee),{names:xe,resolvedSources:ze}=Ee;for(let it=0;it<Ie.length;it++){let Qe=Ie[it];for(let lt=0;lt<Qe.length;lt++){let ct=Qe[lt],Ye=it+1,xt=ct[0],St=null,Ft=null,Dt=null,Jt=null;ct.length!==1&&(St=ze[ct[1]],Ft=ct[2]+1,Dt=ct[3]),ct.length===5&&(Jt=xe[ct[4]]),Le({generatedLine:Ye,generatedColumn:xt,source:St,originalLine:Ft,originalColumn:Dt,name:Jt})}}}function rt(Ee,Le){let{sources:Ie,resolvedSources:xe}=Ee,ze=Ie.indexOf(Le);return ze===-1&&(ze=xe.indexOf(Le)),ze}function Ve(Ee,Le){let{sourcesContent:Ie}=Ee;if(Ie==null)return null;let xe=rt(Ee,Le);return xe===-1?null:Ie[xe]}function Ne(Ee,Le){let{ignoreList:Ie}=Ee;if(Ie==null)return!1;let xe=rt(Ee,Le);return xe!==-1&&Ie.includes(xe)}function ae(Ee,Le){let Ie=new Pe(st(Ee,[]),Le);return Ie._decoded=Ee.mappings,Ie}function _e(Ee){return st(Ee,We(Ee))}function $e(Ee){return st(Ee,Oe(Ee))}function st(Ee,Le){return{version:Ee.version,file:Ee.file,names:Ee.names,sourceRoot:Ee.sourceRoot,sources:Ee.sources,sourcesContent:Ee.sourcesContent,mappings:Le,ignoreList:Ee.ignoreList||Ee.x_google_ignoreList}}function et(Ee,Le,Ie,xe){return{source:Ee,line:Le,column:Ie,name:xe}}function oe(Ee,Le){return{line:Ee,column:Le}}function Ae(Ee,Le,Ie,xe,ze){let it=de(Ee,xe,Le,Ie);return M?it=(ze===De?G:U)(Ee,xe,it):ze===De&&it++,it===-1||it===Ee.length?-1:it}function Ge(Ee,Le,Ie,xe,ze){let it=Ae(Ee,Le,Ie,xe,Fe);if(M||ze!==De||it++,it===-1||it===Ee.length)return[];let Qe=M?xe:Ee[it][L];M||(it=U(Ee,Qe,it));let lt=G(Ee,Qe,it),ct=[];for(;it<=lt;it++){let Ye=Ee[it];ct.push(oe(Ye[$]+1,Ye[D]))}return ct}function He(Ee,Le,Ie,xe,ze,it){var Qe;if(--Ie<0)throw new Error(j);if(xe<0)throw new Error(Te);let{sources:lt,resolvedSources:ct}=Ee,Ye=lt.indexOf(Le);if(Ye===-1&&(Ye=ct.indexOf(Le)),Ye===-1)return it?[]:oe(null,null);let xt=((Qe=Ee)._bySources||(Qe._bySources=se(We(Ee),Ee._bySourceMemos=lt.map(Q))))[Ye][Ie];if(xt==null)return it?[]:oe(null,null);let St=Ee._bySourceMemos[Ye];if(it)return Ge(xt,St,Ie,xe,ze);let Ft=Ae(xt,St,Ie,xe,ze);if(Ft===-1)return oe(null,null);let Dt=xt[Ft];return oe(Dt[$]+1,Dt[D])}})(ee=E.nmd(ee),E("./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js"),E("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.4/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"))},"./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js":(ee,e,E)=>{"use strict";var r=E("path");function l(d){switch(d.parent.type){case"TSTypeReference":case"TSQualifiedName":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;default:return!1}}ee.exports=function(d){var t=d.types,i=function(v,T){return function(g){var p=t.callExpression(v.expression,[t.Identifier(g),t.Identifier("undefined"),t.NumericLiteral(T.key)]),h=t.logicalExpression("||",p,t.Identifier(g)),u=t.assignmentExpression("=",t.Identifier(g),h);return t.expressionStatement(u)}},c=function(v,T){return function(g,p){var h=t.callExpression(v.expression,[t.Identifier("".concat(g,".prototype")),t.StringLiteral(p),t.NumericLiteral(T.key)]);return t.expressionStatement(h)}};return{visitor:{Program:function(v,T){var g=(0,r.extname)(T.file.opts.filename);g!==".ts"&&g!==".tsx"||(function(){var p=Object.create(null);v.node.body.filter(function(w){var O=w.type,z=w.declaration;switch(O){case"ClassDeclaration":return!0;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":return z&&z.type==="ClassDeclaration";default:return!1}}).map(function(w){return w.type==="ClassDeclaration"?w:w.declaration}).forEach(function(w){w.body.body.forEach(function(O){(O.params||[]).forEach(function(z){(z.decorators||[]).forEach(function(te){te.expression.callee?p[te.expression.callee.name]=te:p[te.expression.name]=te})})})});var h=!0,u=!1,f=void 0;try{for(var y,P=v.get("body")[Symbol.iterator]();!(h=(y=P.next()).done);h=!0){var S=y.value;if(S.node.type==="ImportDeclaration"){if(S.node.specifiers.length===0)continue;var b=!0,C=!1,N=void 0;try{for(var F,K=function(){var w=F.value,O=S.scope.getBinding(w.local.name);O.referencePaths.length?O.referencePaths.reduce(function(z,te){return z||l(te)},!1)&&Object.keys(p).forEach(function(z){var te=p[z];(te.expression.arguments||[]).forEach(function($){$.name===w.local.name&&O.referencePaths.push({parent:te.expression})})}):p[w.local.name]&&O.referencePaths.push({parent:p[w.local.name]})},L=S.node.specifiers[Symbol.iterator]();!(b=(F=L.next()).done);b=!0)K()}catch(w){C=!0,N=w}finally{try{b||L.return==null||L.return()}finally{if(C)throw N}}}}}catch(w){u=!0,f=w}finally{try{h||P.return==null||P.return()}finally{if(u)throw f}}})()},Function:function(v){var T="";v.node.id?T=v.node.id.name:v.node.key&&(T=v.node.key.name),(v.get("params")||[]).slice().forEach(function(g){var p=g.node.decorators||[],h=p.length;if(p.slice().forEach(function(f){if(v.type==="ClassMethod"){var y,P=v.parentPath.parentPath,S=v.findParent(function(w){return w.type==="ClassDeclaration"});if(S?y=S.node.id.name:(P.insertAfter(null),y=(function(w){var O=w.findParent(function(z){return z.node.type==="AssignmentExpression"});return O.node.right.type==="SequenceExpression"?O.node.right.expressions[1].name:O.node.right.type==="ClassExpression"?O.node.left.name:null})(v)),T==="constructor"){var b=i(f,g)(y);P.insertAfter(b)}else{var C=c(f,g)(y,T);P.insertAfter(C)}}else{var N=v.findParent(function(w){return w.node.type==="VariableDeclarator"}).node.id.name;if(T===N){var F=i(f,g)(N);v.parentKey==="body"?v.insertAfter(F):v.findParent(function(w){return w.parentKey==="body"}).insertAfter(F)}else{var K=v.findParent(function(w){return w.node.type==="CallExpression"}),L=c(f,g)(N,T);K.insertAfter(L)}}}),h){var u=(function(f){switch(f.node.type){case"ObjectPattern":return t.ObjectPattern(f.node.properties);case"AssignmentPattern":return t.AssignmentPattern(f.node.left,f.node.right);case"TSParameterProperty":return t.Identifier(f.node.parameter.name);default:return t.Identifier(f.node.name)}})(g);g.replaceWith(u)}})}}}}},"./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js":(ee,e)=>{"use strict";var E;function r(d,t){(t=t||{}).hasComment&&(d=(function(i){return i.split(",").pop()})(d)),t.encoding==="base64"?d=E(d):t.encoding==="uri"&&(d=decodeURIComponent(d)),(t.isJSON||t.encoding)&&(d=JSON.parse(d)),this.sourcemap=d}function l(d){return new r(d,{isJSON:!0})}Object.defineProperty(e,"commentRegex",{get:function(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/gm}}),Object.defineProperty(e,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/gm}}),E=typeof Buffer<"u"?typeof Buffer.from=="function"?function(d){return Buffer.from(d,"base64").toString()}:function(d){if(typeof value=="number")throw new TypeError("The value to decode must not be of type number.");return new Buffer(d,"base64").toString()}:function(d){return decodeURIComponent(escape(atob(d)))},r.prototype.toJSON=function(d){return JSON.stringify(this.sourcemap,null,d)},typeof Buffer<"u"?typeof Buffer.from=="function"?r.prototype.toBase64=function(){var d=this.toJSON();return Buffer.from(d,"utf8").toString("base64")}:r.prototype.toBase64=function(){var d=this.toJSON();if(typeof d=="number")throw new TypeError("The json to encode must not be of type number.");return new Buffer(d,"utf8").toString("base64")}:r.prototype.toBase64=function(){var d=this.toJSON();return btoa(unescape(encodeURIComponent(d)))},r.prototype.toURI=function(){var d=this.toJSON();return encodeURIComponent(d)},r.prototype.toComment=function(d){var t,i,c;return d!=null&&d.encoding==="uri"?(t="",i=this.toURI()):(t=";base64",i=this.toBase64()),c="sourceMappingURL=data:application/json;charset=utf-8"+t+","+i,d!=null&&d.multiline?"/*# "+c+" */":"//# "+c},r.prototype.toObject=function(){return JSON.parse(this.toJSON())},r.prototype.addProperty=function(d,t){if(this.sourcemap.hasOwnProperty(d))throw new Error('property "'+d+'" already exists on the sourcemap, use set property instead');return this.setProperty(d,t)},r.prototype.setProperty=function(d,t){return this.sourcemap[d]=t,this},r.prototype.getProperty=function(d){return this.sourcemap[d]},e.fromObject=function(d){return new r(d)},e.fromJSON=function(d){return new r(d,{isJSON:!0})},e.fromURI=function(d){return new r(d,{encoding:"uri"})},e.fromBase64=function(d){return new r(d,{encoding:"base64"})},e.fromComment=function(d){var t;return new r(d=d.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),{encoding:(t=e.commentRegex.exec(d))&&t[4]||"uri",hasComment:!0})},e.fromMapFileComment=function(d,t){if(typeof t=="string")throw new Error("String directory paths are no longer supported with `fromMapFileComment`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var i=(function(c,v){var T=e.mapFileCommentRegex.exec(c),g=T[1]||T[2];try{return(c=v(g))!=null&&typeof c.catch=="function"?c.catch(p):c}catch(h){p(h)}function p(h){throw new Error("An error occurred while trying to read the map file at "+g+`
|
|
442
|
-
`+h.stack)}})(d,t);return i!=null&&typeof i.then=="function"?i.then(l):l(i)},e.fromSource=function(d){var t=d.match(e.commentRegex);return t?e.fromComment(t.pop()):null},e.fromMapFileSource=function(d,t){if(typeof t=="string")throw new Error("String directory paths are no longer supported with `fromMapFileSource`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var i=d.match(e.mapFileCommentRegex);return i?e.fromMapFileComment(i.pop(),t):null},e.removeComments=function(d){return d.replace(e.commentRegex,"")},e.removeMapFileComments=function(d){return d.replace(e.mapFileCommentRegex,"")},e.generateMapFileComment=function(d,t){var i="sourceMappingURL="+d;return t&&t.multiline?"/*# "+i+" */":"//# "+i}},"./node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js":(ee,e,E)=>{e.formatArgs=function(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+ee.exports.humanize(this.diff),!this.useColors)return;let d="color: "+this.color;l.splice(1,0,d,"color: inherit");let t=0,i=0;l[0].replace(/%[a-zA-Z%]/g,c=>{c!=="%%"&&(t++,c==="%c"&&(i=t))}),l.splice(i,0,d)},e.save=function(l){try{l?e.storage.setItem("debug",l):e.storage.removeItem("debug")}catch{}},e.load=function(){let l;try{l=e.storage.getItem("debug")||e.storage.getItem("DEBUG")}catch{}return!l&&typeof process<"u"&&"env"in process&&(l=process.env.DEBUG),l},e.useColors=function(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let l;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(l=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(l[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage=(function(){try{return localStorage}catch{}})(),e.destroy=(()=>{let l=!1;return()=>{l||(l=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),ee.exports=E("./node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js")(e);let{formatters:r}=ee.exports;r.j=function(l){try{return JSON.stringify(l)}catch(d){return"[UnexpectedJSONParseError]: "+d.message}}},"./node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js":(ee,e,E)=>{ee.exports=function(r){function l(i){let c,v,T,g=null;function p(...h){if(!p.enabled)return;let u=p,f=Number(new Date),y=f-(c||f);u.diff=y,u.prev=c,u.curr=f,c=f,h[0]=l.coerce(h[0]),typeof h[0]!="string"&&h.unshift("%O");let P=0;h[0]=h[0].replace(/%([a-zA-Z%])/g,(S,b)=>{if(S==="%%")return"%";P++;let C=l.formatters[b];if(typeof C=="function"){let N=h[P];S=C.call(u,N),h.splice(P,1),P--}return S}),l.formatArgs.call(u,h),(u.log||l.log).apply(u,h)}return p.namespace=i,p.useColors=l.useColors(),p.color=l.selectColor(i),p.extend=d,p.destroy=l.destroy,Object.defineProperty(p,"enabled",{enumerable:!0,configurable:!1,get:()=>g!==null?g:(v!==l.namespaces&&(v=l.namespaces,T=l.enabled(i)),T),set:h=>{g=h}}),typeof l.init=="function"&&l.init(p),p}function d(i,c){let v=l(this.namespace+(c===void 0?":":c)+i);return v.log=this.log,v}function t(i,c){let v=0,T=0,g=-1,p=0;for(;v<i.length;)if(T<c.length&&(c[T]===i[v]||c[T]==="*"))c[T]==="*"?(g=T,p=v,T++):(v++,T++);else{if(g===-1)return!1;T=g+1,p++,v=p}for(;T<c.length&&c[T]==="*";)T++;return T===c.length}return l.debug=l,l.default=l,l.coerce=function(i){return i instanceof Error?i.stack||i.message:i},l.disable=function(){let i=[...l.names,...l.skips.map(c=>"-"+c)].join(",");return l.enable(""),i},l.enable=function(i){l.save(i),l.namespaces=i,l.names=[],l.skips=[];let c=(typeof i=="string"?i:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let v of c)v[0]==="-"?l.skips.push(v.slice(1)):l.names.push(v)},l.enabled=function(i){for(let c of l.skips)if(t(i,c))return!1;for(let c of l.names)if(t(i,c))return!0;return!1},l.humanize=E("./node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"),l.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(r).forEach(i=>{l[i]=r[i]}),l.names=[],l.skips=[],l.formatters={},l.selectColor=function(i){let c=0;for(let v=0;v<i.length;v++)c=(c<<5)-c+i.charCodeAt(v),c|=0;return l.colors[Math.abs(c)%l.colors.length]},l.enable(l.load()),l}},"./node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js":(ee,e,E)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?ee.exports=E("./node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js"):ee.exports=E("./node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js")},"./node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js":(ee,e,E)=>{let r=E("tty"),l=E("util");e.init=function(t){t.inspectOpts={};let i=Object.keys(e.inspectOpts);for(let c=0;c<i.length;c++)t.inspectOpts[i[c]]=e.inspectOpts[i[c]]},e.log=function(...t){return process.stderr.write(l.formatWithOptions(e.inspectOpts,...t)+`
|
|
443
|
-
`)},e.formatArgs=function(t){let{namespace:i,useColors:c}=this;if(c){let v=this.color,T="\x1B[3"+(v<8?v:"8;5;"+v),g=` ${T};1m${i} \x1B[0m`;t[0]=g+t[0].split(`
|
|
444
|
-
`).join(`
|
|
445
|
-
`+g),t.push(T+"m+"+ee.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=(function(){return e.inspectOpts.hideDate?"":new Date().toISOString()+" "})()+i+" "+t[0]},e.save=function(t){t?process.env.DEBUG=t:delete process.env.DEBUG},e.load=function(){return process.env.DEBUG},e.useColors=function(){return"colors"in e.inspectOpts?!!e.inspectOpts.colors:r.isatty(process.stderr.fd)},e.destroy=l.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),e.colors=[6,2,3,4,5,1];try{let t=E("./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js");t&&(t.stderr||t).level>=2&&(e.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}e.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,i)=>{let c=i.substring(6).toLowerCase().replace(/_([a-z])/g,(T,g)=>g.toUpperCase()),v=process.env[i];return v=!!/^(yes|on|true|enabled)$/i.test(v)||!/^(no|off|false|disabled)$/i.test(v)&&(v==="null"?null:Number(v)),t[c]=v,t},{}),ee.exports=E("./node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js")(e);let{formatters:d}=ee.exports;d.o=function(t){return this.inspectOpts.colors=this.useColors,l.inspect(t,this.inspectOpts).split(`
|
|
446
|
-
`).map(i=>i.trim()).join(" ")},d.O=function(t){return this.inspectOpts.colors=this.useColors,l.inspect(t,this.inspectOpts)}},"./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js":ee=>{"use strict";let e=Symbol.for("gensync:v1:start"),E=Symbol.for("gensync:v1:suspend");function r(p,h,u,f){if(typeof u===p||f&&u===void 0)return;let y;throw y=f?`Expected opts.${h} to be either a ${p}, or undefined.`:`Expected opts.${h} to be a ${p}.`,l(y,"GENSYNC_OPTIONS_ERROR")}function l(p,h){return Object.assign(new Error(p),{code:h})}function d({name:p,arity:h,sync:u,async:f}){return g(p,h,function*(...y){let P=yield e;if(!P)return u.call(this,y);let S;try{f.call(this,y,b=>{S||(S={value:b},P())},b=>{S||(S={err:b},P())})}catch(b){S={err:b},P()}if(yield E,S.hasOwnProperty("err"))throw S.err;return S.value})}function t(p){let h;for(;!({value:h}=p.next()).done;)c(h,p);return h}function i(p,h,u){(function f(){try{let y;for(;!({value:y}=p.next()).done;){c(y,p);let P=!0,S=!1,b=p.next(()=>{P?S=!0:f()});if(P=!1,v(b,p),!S)return}return h(y)}catch(y){return u(y)}})()}function c(p,h){p!==e&&T(h,l(`Got unexpected yielded value in gensync generator: ${JSON.stringify(p)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,"GENSYNC_EXPECTED_START"))}function v({value:p,done:h},u){(h||p!==E)&&T(u,l(h?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(p)}. If you get this, it is probably a gensync bug.`,"GENSYNC_EXPECTED_SUSPEND"))}function T(p,h){throw p.throw&&p.throw(h),h}function g(p,h,u){if(typeof p=="string"){let f=Object.getOwnPropertyDescriptor(u,"name");f&&!f.configurable||Object.defineProperty(u,"name",Object.assign(f||{},{configurable:!0,value:p}))}if(typeof h=="number"){let f=Object.getOwnPropertyDescriptor(u,"length");f&&!f.configurable||Object.defineProperty(u,"length",Object.assign(f||{},{configurable:!0,value:h}))}return u}ee.exports=Object.assign(function(p){let h=p;return h=typeof p!="function"?(function({name:u,arity:f,sync:y,async:P,errback:S}){if(r("string","name",u,!0),r("number","arity",f,!0),r("function","sync",y),r("function","async",P,!0),r("function","errback",S,!0),P&&S)throw l("Expected one of either opts.async or opts.errback, but got _both_.","GENSYNC_OPTIONS_ERROR");if(typeof u!="string"){let b;S&&S.name&&S.name!=="errback"&&(b=S.name),P&&P.name&&P.name!=="async"&&(b=P.name.replace(/Async$/,"")),y&&y.name&&y.name!=="sync"&&(b=y.name.replace(/Sync$/,"")),typeof b=="string"&&(u=b)}return typeof f!="number"&&(f=y.length),d({name:u,arity:f,sync:function(b){return y.apply(this,b)},async:function(b,C,N){P?P.apply(this,b).then(C,N):S?S.call(this,...b,(F,K)=>{F==null?C(K):N(F)}):C(y.apply(this,b))}})})(p):(function(u){return g(u.name,u.length,function(...f){return u.apply(this,f)})})(p),Object.assign(h,(function(u){return{sync:function(...y){return t(u.apply(this,y))},async:function(...y){return new Promise((P,S)=>{i(u.apply(this,y),P,S)})},errback:function(...y){let P=y.pop();if(typeof P!="function")throw l("Asynchronous function called without callback","GENSYNC_ERRBACK_NO_CALLBACK");let S;try{S=u.apply(this,y)}catch(b){return void P(b)}i(S,b=>P(void 0,b),b=>P(b))}}})(h))},{all:d({name:"all",arity:1,sync:function(p){return Array.from(p[0]).map(h=>t(h))},async:function(p,h,u){let f=Array.from(p[0]);if(f.length===0)return void Promise.resolve().then(()=>h([]));let y=0,P=f.map(()=>{});f.forEach((S,b)=>{i(S,C=>{P[b]=C,y+=1,y===P.length&&h(P)},u)})}}),race:d({name:"race",arity:1,sync:function(p){let h=Array.from(p[0]);if(h.length===0)throw l("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");return t(h[0])},async:function(p,h,u){let f=Array.from(p[0]);if(f.length===0)throw l("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");for(let y of f)i(y,h,u)}})})},"./node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js":ee=>{"use strict";ee.exports=(e,E=process.argv)=>{let r=e.startsWith("-")?"":e.length===1?"-":"--",l=E.indexOf(r+e),d=E.indexOf("--");return l!==-1&&(d===-1||l<d)}},"./node_modules/.pnpm/jsesc@3.1.0/node_modules/jsesc/jsesc.js":ee=>{"use strict";let e={},E=e.hasOwnProperty,r=(y,P)=>{for(let S in y)E.call(y,S)&&P(S,y[S])},l=y=>"\\u"+("0000"+y).slice(-4),d=(y,P)=>{let S=y.toString(16);return P?S:S.toUpperCase()},t=e.toString,i=Array.isArray,c=y=>typeof y=="bigint",v={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},T=/[\\\b\f\n\r\t]/,g=/[0-9]/,p=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,h=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,u=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,f=(y,P)=>{let S=()=>{z=O,++P.indentLevel,O=P.indent.repeat(P.indentLevel)},b={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},C=P&&P.json;var N,F;C&&(b.quotes="double",b.wrap=!0),N=b,(P=((F=P)&&r(F,(G,U)=>{N[G]=U}),N)).quotes!="single"&&P.quotes!="double"&&P.quotes!="backtick"&&(P.quotes="single");let K=P.quotes=="double"?'"':P.quotes=="backtick"?"`":"'",L=P.compact,w=P.lowercaseHex,O=P.indent.repeat(P.indentLevel),z="",te=P.__inline1__,$=P.__inline2__,D=L?"":`
|
|
447
|
-
`,W,q=!0,re=P.numbers=="binary",le=P.numbers=="octal",ie=P.numbers=="decimal",M=P.numbers=="hexadecimal";if(C&&y&&(G=>typeof G=="function")(y.toJSON)&&(y=y.toJSON()),!(G=>typeof G=="string"||t.call(G)=="[object String]")(y)){if((G=>t.call(G)=="[object Map]")(y))return y.size==0?"new Map()":(L||(P.__inline1__=!0,P.__inline2__=!1),"new Map("+f(Array.from(y),P)+")");if((G=>t.call(G)=="[object Set]")(y))return y.size==0?"new Set()":"new Set("+f(Array.from(y),P)+")";if((G=>typeof Buffer=="function"&&Buffer.isBuffer(G))(y))return y.length==0?"Buffer.from([])":"Buffer.from("+f(Array.from(y),P)+")";if(i(y))return W=[],P.wrap=!0,te&&(P.__inline1__=!1,P.__inline2__=!0),$||S(),((G,U)=>{let Q=G.length,de=-1;for(;++de<Q;)U(G[de])})(y,G=>{q=!1,$&&(P.__inline2__=!1),W.push((L||$?"":O)+f(G,P))}),q?"[]":$?"["+W.join(", ")+"]":"["+D+W.join(","+D)+D+(L?"":z)+"]";if((G=>typeof G=="number"||t.call(G)=="[object Number]")(y)||c(y)){if(C)return JSON.stringify(Number(y));let G;if(ie)G=String(y);else if(M){let U=y.toString(16);w||(U=U.toUpperCase()),G="0x"+U}else re?G="0b"+y.toString(2):le&&(G="0o"+y.toString(8));return c(y)?G+"n":G}return c(y)?C?JSON.stringify(Number(y)):y+"n":(G=>t.call(G)=="[object Object]")(y)?(W=[],P.wrap=!0,S(),r(y,(G,U)=>{q=!1,W.push((L?"":O)+f(G,P)+":"+(L?"":" ")+f(U,P))}),q?"{}":"{"+D+W.join(","+D)+D+(L?"":z)+"}"):C?JSON.stringify(y)||"null":String(y)}let B=P.escapeEverything?h:u;return W=y.replace(B,(G,U,Q,de,se,ye)=>{if(U){if(P.minimal)return U;let ve=U.charCodeAt(0),ce=U.charCodeAt(1);return P.es6?"\\u{"+d(1024*(ve-55296)+ce-56320+65536,w)+"}":l(d(ve,w))+l(d(ce,w))}if(Q)return l(d(Q.charCodeAt(0),w));if(G=="\0"&&!C&&!g.test(ye.charAt(se+1)))return"\\0";if(de)return de==K||P.escapeEverything?"\\"+de:de;if(T.test(G))return v[G];if(P.minimal&&!p.test(G))return G;let we=d(G.charCodeAt(0),w);return C||we.length>2?l(we):"\\x"+("00"+we).slice(-2)}),K=="`"&&(W=W.replace(/\$\{/g,"\\${")),P.isScriptContext&&(W=W.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,C?"\\u003C!--":"\\x3C!--")),P.wrap&&(W=K+W+K),W};f.version="3.0.2",ee.exports=f},"./node_modules/.pnpm/json5@2.2.3/node_modules/json5/dist/index.mjs":(ee,e,E)=>{"use strict";E.r(e),E.d(e,{default:()=>M});var r={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},l={isSpaceSeparator:B=>typeof B=="string"&&r.Space_Separator.test(B),isIdStartChar:B=>typeof B=="string"&&(B>="a"&&B<="z"||B>="A"&&B<="Z"||B==="$"||B==="_"||r.ID_Start.test(B)),isIdContinueChar:B=>typeof B=="string"&&(B>="a"&&B<="z"||B>="A"&&B<="Z"||B>="0"&&B<="9"||B==="$"||B==="_"||B==="\u200C"||B==="\u200D"||r.ID_Continue.test(B)),isDigit:B=>typeof B=="string"&&/[0-9]/.test(B),isHexDigit:B=>typeof B=="string"&&/[0-9A-Fa-f]/.test(B)};let d,t,i,c,v,T,g,p,h;function u(B,G,U){let Q=B[G];if(Q!=null&&typeof Q=="object")if(Array.isArray(Q))for(let de=0;de<Q.length;de++){let se=String(de),ye=u(Q,se,U);ye===void 0?delete Q[se]:Object.defineProperty(Q,se,{value:ye,writable:!0,enumerable:!0,configurable:!0})}else for(let de in Q){let se=u(Q,de,U);se===void 0?delete Q[de]:Object.defineProperty(Q,de,{value:se,writable:!0,enumerable:!0,configurable:!0})}return U.call(B,G,Q)}let f,y,P,S,b;function C(){for(f="default",y="",P=!1,S=1;;){b=N();let B=K[f]();if(B)return B}}function N(){if(d[c])return String.fromCodePoint(d.codePointAt(c))}function F(){let B=N();return B===`
|
|
448
|
-
`?(v++,T=0):B?T+=B.length:T++,B&&(c+=B.length),B}let K={default(){switch(b){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
|
|
449
|
-
`:case"\r":case"\u2028":case"\u2029":return void F();case"/":return F(),void(f="comment");case void 0:return F(),L("eof")}if(!l.isSpaceSeparator(b))return K[t]();F()},comment(){switch(b){case"*":return F(),void(f="multiLineComment");case"/":return F(),void(f="singleLineComment")}throw D(F())},multiLineComment(){switch(b){case"*":return F(),void(f="multiLineCommentAsterisk");case void 0:throw D(F())}F()},multiLineCommentAsterisk(){switch(b){case"*":return void F();case"/":return F(),void(f="default");case void 0:throw D(F())}F(),f="multiLineComment"},singleLineComment(){switch(b){case`
|
|
450
|
-
`:case"\r":case"\u2028":case"\u2029":return F(),void(f="default");case void 0:return F(),L("eof")}F()},value(){switch(b){case"{":case"[":return L("punctuator",F());case"n":return F(),w("ull"),L("null",null);case"t":return F(),w("rue"),L("boolean",!0);case"f":return F(),w("alse"),L("boolean",!1);case"-":case"+":return F()==="-"&&(S=-1),void(f="sign");case".":return y=F(),void(f="decimalPointLeading");case"0":return y=F(),void(f="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return y=F(),void(f="decimalInteger");case"I":return F(),w("nfinity"),L("numeric",1/0);case"N":return F(),w("aN"),L("numeric",NaN);case'"':case"'":return P=F()==='"',y="",void(f="string")}throw D(F())},identifierNameStartEscape(){if(b!=="u")throw D(F());F();let B=O();switch(B){case"$":case"_":break;default:if(!l.isIdStartChar(B))throw q()}y+=B,f="identifierName"},identifierName(){switch(b){case"$":case"_":case"\u200C":case"\u200D":return void(y+=F());case"\\":return F(),void(f="identifierNameEscape")}if(!l.isIdContinueChar(b))return L("identifier",y);y+=F()},identifierNameEscape(){if(b!=="u")throw D(F());F();let B=O();switch(B){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!l.isIdContinueChar(B))throw q()}y+=B,f="identifierName"},sign(){switch(b){case".":return y=F(),void(f="decimalPointLeading");case"0":return y=F(),void(f="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return y=F(),void(f="decimalInteger");case"I":return F(),w("nfinity"),L("numeric",S*(1/0));case"N":return F(),w("aN"),L("numeric",NaN)}throw D(F())},zero(){switch(b){case".":return y+=F(),void(f="decimalPoint");case"e":case"E":return y+=F(),void(f="decimalExponent");case"x":case"X":return y+=F(),void(f="hexadecimal")}return L("numeric",0*S)},decimalInteger(){switch(b){case".":return y+=F(),void(f="decimalPoint");case"e":case"E":return y+=F(),void(f="decimalExponent")}if(!l.isDigit(b))return L("numeric",S*Number(y));y+=F()},decimalPointLeading(){if(l.isDigit(b))return y+=F(),void(f="decimalFraction");throw D(F())},decimalPoint(){switch(b){case"e":case"E":return y+=F(),void(f="decimalExponent")}return l.isDigit(b)?(y+=F(),void(f="decimalFraction")):L("numeric",S*Number(y))},decimalFraction(){switch(b){case"e":case"E":return y+=F(),void(f="decimalExponent")}if(!l.isDigit(b))return L("numeric",S*Number(y));y+=F()},decimalExponent(){switch(b){case"+":case"-":return y+=F(),void(f="decimalExponentSign")}if(l.isDigit(b))return y+=F(),void(f="decimalExponentInteger");throw D(F())},decimalExponentSign(){if(l.isDigit(b))return y+=F(),void(f="decimalExponentInteger");throw D(F())},decimalExponentInteger(){if(!l.isDigit(b))return L("numeric",S*Number(y));y+=F()},hexadecimal(){if(l.isHexDigit(b))return y+=F(),void(f="hexadecimalInteger");throw D(F())},hexadecimalInteger(){if(!l.isHexDigit(b))return L("numeric",S*Number(y));y+=F()},string(){switch(b){case"\\":return F(),void(y+=(function(){switch(N()){case"b":return F(),"\b";case"f":return F(),"\f";case"n":return F(),`
|
|
451
|
-
`;case"r":return F(),"\r";case"t":return F()," ";case"v":return F(),"\v";case"0":if(F(),l.isDigit(N()))throw D(F());return"\0";case"x":return F(),(function(){let B="",G=N();if(!l.isHexDigit(G)||(B+=F(),G=N(),!l.isHexDigit(G)))throw D(F());return B+=F(),String.fromCodePoint(parseInt(B,16))})();case"u":return F(),O();case`
|
|
452
|
-
`:case"\u2028":case"\u2029":return F(),"";case"\r":return F(),N()===`
|
|
453
|
-
`&&F(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw D(F())}return F()})());case'"':return P?(F(),L("string",y)):void(y+=F());case"'":return P?void(y+=F()):(F(),L("string",y));case`
|
|
454
|
-
`:case"\r":throw D(F());case"\u2028":case"\u2029":(function(B){console.warn(`JSON5: '${re(B)}' in strings is not valid ECMAScript; consider escaping`)})(b);break;case void 0:throw D(F())}y+=F()},start(){switch(b){case"{":case"[":return L("punctuator",F())}f="value"},beforePropertyName(){switch(b){case"$":case"_":return y=F(),void(f="identifierName");case"\\":return F(),void(f="identifierNameStartEscape");case"}":return L("punctuator",F());case'"':case"'":return P=F()==='"',void(f="string")}if(l.isIdStartChar(b))return y+=F(),void(f="identifierName");throw D(F())},afterPropertyName(){if(b===":")return L("punctuator",F());throw D(F())},beforePropertyValue(){f="value"},afterPropertyValue(){switch(b){case",":case"}":return L("punctuator",F())}throw D(F())},beforeArrayValue(){if(b==="]")return L("punctuator",F());f="value"},afterArrayValue(){switch(b){case",":case"]":return L("punctuator",F())}throw D(F())},end(){throw D(F())}};function L(B,G){return{type:B,value:G,line:v,column:T}}function w(B){for(let G of B){if(N()!==G)throw D(F());F()}}function O(){let B="",G=4;for(;G-- >0;){let U=N();if(!l.isHexDigit(U))throw D(F());B+=F()}return String.fromCodePoint(parseInt(B,16))}let z={start(){if(g.type==="eof")throw W();te()},beforePropertyName(){switch(g.type){case"identifier":case"string":return p=g.value,void(t="afterPropertyName");case"punctuator":return void $();case"eof":throw W()}},afterPropertyName(){if(g.type==="eof")throw W();t="beforePropertyValue"},beforePropertyValue(){if(g.type==="eof")throw W();te()},beforeArrayValue(){if(g.type==="eof")throw W();g.type!=="punctuator"||g.value!=="]"?te():$()},afterPropertyValue(){if(g.type==="eof")throw W();switch(g.value){case",":return void(t="beforePropertyName");case"}":$()}},afterArrayValue(){if(g.type==="eof")throw W();switch(g.value){case",":return void(t="beforeArrayValue");case"]":$()}},end(){}};function te(){let B;switch(g.type){case"punctuator":switch(g.value){case"{":B={};break;case"[":B=[]}break;case"null":case"boolean":case"numeric":case"string":B=g.value}if(h===void 0)h=B;else{let G=i[i.length-1];Array.isArray(G)?G.push(B):Object.defineProperty(G,p,{value:B,writable:!0,enumerable:!0,configurable:!0})}if(B!==null&&typeof B=="object")i.push(B),t=Array.isArray(B)?"beforeArrayValue":"beforePropertyName";else{let G=i[i.length-1];t=G==null?"end":Array.isArray(G)?"afterArrayValue":"afterPropertyValue"}}function $(){i.pop();let B=i[i.length-1];t=B==null?"end":Array.isArray(B)?"afterArrayValue":"afterPropertyValue"}function D(B){return le(B===void 0?`JSON5: invalid end of input at ${v}:${T}`:`JSON5: invalid character '${re(B)}' at ${v}:${T}`)}function W(){return le(`JSON5: invalid end of input at ${v}:${T}`)}function q(){return T-=5,le(`JSON5: invalid identifier character at ${v}:${T}`)}function re(B){let G={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(G[B])return G[B];if(B<" "){let U=B.charCodeAt(0).toString(16);return"\\x"+("00"+U).substring(U.length)}return B}function le(B){let G=new SyntaxError(B);return G.lineNumber=v,G.columnNumber=T,G}let M={parse:function(B,G){d=String(B),t="start",i=[],c=0,v=1,T=0,g=void 0,p=void 0,h=void 0;do g=C(),z[t]();while(g.type!=="eof");return typeof G=="function"?u({"":h},"",G):h},stringify:function(B,G,U){let Q=[],de,se,ye,we="",ve="";if(G==null||typeof G!="object"||Array.isArray(G)||(U=G.space,ye=G.quote,G=G.replacer),typeof G=="function")se=G;else if(Array.isArray(G)){de=[];for(let Se of G){let pe;typeof Se=="string"?pe=Se:(typeof Se=="number"||Se instanceof String||Se instanceof Number)&&(pe=String(Se)),pe!==void 0&&de.indexOf(pe)<0&&de.push(pe)}}return U instanceof Number?U=Number(U):U instanceof String&&(U=String(U)),typeof U=="number"?U>0&&(U=Math.min(10,Math.floor(U)),ve=" ".substr(0,U)):typeof U=="string"&&(ve=U.substr(0,10)),ce("",{"":B});function ce(Se,pe){let j=pe[Se];switch(j!=null&&(typeof j.toJSON5=="function"?j=j.toJSON5(Se):typeof j.toJSON=="function"&&(j=j.toJSON(Se))),se&&(j=se.call(pe,Se,j)),j instanceof Number?j=Number(j):j instanceof String?j=String(j):j instanceof Boolean&&(j=j.valueOf()),j){case null:return"null";case!0:return"true";case!1:return"false"}return typeof j=="string"?H(j):typeof j=="number"?String(j):typeof j=="object"?Array.isArray(j)?(function(Te){if(Q.indexOf(Te)>=0)throw TypeError("Converting circular structure to JSON5");Q.push(Te);let De=we;we+=ve;let Fe,Pe=[];for(let ke=0;ke<Te.length;ke++){let Oe=ce(String(ke),Te);Pe.push(Oe!==void 0?Oe:"null")}if(Pe.length===0)Fe="[]";else if(ve==="")Fe="["+Pe.join(",")+"]";else{let ke=`,
|
|
455
|
-
`+we,Oe=Pe.join(ke);Fe=`[
|
|
456
|
-
`+we+Oe+`,
|
|
457
|
-
`+De+"]"}return Q.pop(),we=De,Fe})(j):(function(Te){if(Q.indexOf(Te)>=0)throw TypeError("Converting circular structure to JSON5");Q.push(Te);let De=we;we+=ve;let Fe,Pe=de||Object.keys(Te),ke=[];for(let Oe of Pe){let We=ce(Oe,Te);if(We!==void 0){let Re=me(Oe)+":";ve!==""&&(Re+=" "),Re+=We,ke.push(Re)}}if(ke.length===0)Fe="{}";else{let Oe;if(ve==="")Oe=ke.join(","),Fe="{"+Oe+"}";else{let We=`,
|
|
458
|
-
`+we;Oe=ke.join(We),Fe=`{
|
|
459
|
-
`+we+Oe+`,
|
|
460
|
-
`+De+"}"}}return Q.pop(),we=De,Fe})(j):void 0}function H(Se){let pe={"'":.1,'"':.2},j={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},Te="";for(let Fe=0;Fe<Se.length;Fe++){let Pe=Se[Fe];switch(Pe){case"'":case'"':pe[Pe]++,Te+=Pe;continue;case"\0":if(l.isDigit(Se[Fe+1])){Te+="\\x00";continue}}if(j[Pe])Te+=j[Pe];else{if(Pe<" "){let ke=Pe.charCodeAt(0).toString(16);Te+="\\x"+("00"+ke).substring(ke.length);continue}Te+=Pe}}let De=ye||Object.keys(pe).reduce((Fe,Pe)=>pe[Fe]<pe[Pe]?Fe:Pe);return Te=Te.replace(new RegExp(De,"g"),j[De]),De+Te+De}function me(Se){if(Se.length===0)return H(Se);let pe=String.fromCodePoint(Se.codePointAt(0));if(!l.isIdStartChar(pe))return H(Se);for(let j=pe.length;j<Se.length;j++)if(!l.isIdContinueChar(String.fromCodePoint(Se.codePointAt(j))))return H(Se);return Se}}}},"./node_modules/.pnpm/mlly@1.7.4/node_modules/mlly/dist lazy recursive":ee=>{function e(E){return Promise.resolve().then(()=>{var r=new Error("Cannot find module '"+E+"'");throw r.code="MODULE_NOT_FOUND",r})}e.keys=()=>[],e.resolve=e,e.id="./node_modules/.pnpm/mlly@1.7.4/node_modules/mlly/dist lazy recursive",ee.exports=e},"./node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js":ee=>{var e=1e3,E=60*e,r=60*E,l=24*r,d=7*l,t=365.25*l;function i(c,v,T,g){var p=v>=1.5*T;return Math.round(c/T)+" "+g+(p?"s":"")}ee.exports=function(c,v){v=v||{};var T=typeof c;if(T==="string"&&c.length>0)return(function(g){if(!((g=String(g)).length>100)){var p=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(g);if(p){var h=parseFloat(p[1]);switch((p[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return h*t;case"weeks":case"week":case"w":return h*d;case"days":case"day":case"d":return h*l;case"hours":case"hour":case"hrs":case"hr":case"h":return h*r;case"minutes":case"minute":case"mins":case"min":case"m":return h*E;case"seconds":case"second":case"secs":case"sec":case"s":return h*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return h;default:return}}}})(c);if(T==="number"&&isFinite(c))return v.long?(function(g){var p=Math.abs(g);return p>=l?i(g,p,l,"day"):p>=r?i(g,p,r,"hour"):p>=E?i(g,p,E,"minute"):p>=e?i(g,p,e,"second"):g+" ms"})(c):(function(g){var p=Math.abs(g);return p>=l?Math.round(g/l)+"d":p>=r?Math.round(g/r)+"h":p>=E?Math.round(g/E)+"m":p>=e?Math.round(g/e)+"s":g+"ms"})(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))}},"./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js":(ee,e)=>{var E;e=ee.exports=y,E=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var M=Array.prototype.slice.call(arguments,0);M.unshift("SEMVER"),console.log.apply(console,M)}:function(){},e.SEMVER_SPEC_VERSION="2.0.0";var r=256,l=Number.MAX_SAFE_INTEGER||9007199254740991,d=r-6,t=e.re=[],i=e.safeRe=[],c=e.src=[],v=e.tokens={},T=0;function g(M){v[M]=T++}var p=[["\\s",1],["\\d",r],["[a-zA-Z0-9-]",d]];function h(M){for(var B=0;B<p.length;B++){var G=p[B][0],U=p[B][1];M=M.split(G+"*").join(G+"{0,"+U+"}").split(G+"+").join(G+"{1,"+U+"}")}return M}g("NUMERICIDENTIFIER"),c[v.NUMERICIDENTIFIER]="0|[1-9]\\d*",g("NUMERICIDENTIFIERLOOSE"),c[v.NUMERICIDENTIFIERLOOSE]="\\d+",g("NONNUMERICIDENTIFIER"),c[v.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",g("MAINVERSION"),c[v.MAINVERSION]="("+c[v.NUMERICIDENTIFIER]+")\\.("+c[v.NUMERICIDENTIFIER]+")\\.("+c[v.NUMERICIDENTIFIER]+")",g("MAINVERSIONLOOSE"),c[v.MAINVERSIONLOOSE]="("+c[v.NUMERICIDENTIFIERLOOSE]+")\\.("+c[v.NUMERICIDENTIFIERLOOSE]+")\\.("+c[v.NUMERICIDENTIFIERLOOSE]+")",g("PRERELEASEIDENTIFIER"),c[v.PRERELEASEIDENTIFIER]="(?:"+c[v.NUMERICIDENTIFIER]+"|"+c[v.NONNUMERICIDENTIFIER]+")",g("PRERELEASEIDENTIFIERLOOSE"),c[v.PRERELEASEIDENTIFIERLOOSE]="(?:"+c[v.NUMERICIDENTIFIERLOOSE]+"|"+c[v.NONNUMERICIDENTIFIER]+")",g("PRERELEASE"),c[v.PRERELEASE]="(?:-("+c[v.PRERELEASEIDENTIFIER]+"(?:\\."+c[v.PRERELEASEIDENTIFIER]+")*))",g("PRERELEASELOOSE"),c[v.PRERELEASELOOSE]="(?:-?("+c[v.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+c[v.PRERELEASEIDENTIFIERLOOSE]+")*))",g("BUILDIDENTIFIER"),c[v.BUILDIDENTIFIER]="[a-zA-Z0-9-]+",g("BUILD"),c[v.BUILD]="(?:\\+("+c[v.BUILDIDENTIFIER]+"(?:\\."+c[v.BUILDIDENTIFIER]+")*))",g("FULL"),g("FULLPLAIN"),c[v.FULLPLAIN]="v?"+c[v.MAINVERSION]+c[v.PRERELEASE]+"?"+c[v.BUILD]+"?",c[v.FULL]="^"+c[v.FULLPLAIN]+"$",g("LOOSEPLAIN"),c[v.LOOSEPLAIN]="[v=\\s]*"+c[v.MAINVERSIONLOOSE]+c[v.PRERELEASELOOSE]+"?"+c[v.BUILD]+"?",g("LOOSE"),c[v.LOOSE]="^"+c[v.LOOSEPLAIN]+"$",g("GTLT"),c[v.GTLT]="((?:<|>)?=?)",g("XRANGEIDENTIFIERLOOSE"),c[v.XRANGEIDENTIFIERLOOSE]=c[v.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",g("XRANGEIDENTIFIER"),c[v.XRANGEIDENTIFIER]=c[v.NUMERICIDENTIFIER]+"|x|X|\\*",g("XRANGEPLAIN"),c[v.XRANGEPLAIN]="[v=\\s]*("+c[v.XRANGEIDENTIFIER]+")(?:\\.("+c[v.XRANGEIDENTIFIER]+")(?:\\.("+c[v.XRANGEIDENTIFIER]+")(?:"+c[v.PRERELEASE]+")?"+c[v.BUILD]+"?)?)?",g("XRANGEPLAINLOOSE"),c[v.XRANGEPLAINLOOSE]="[v=\\s]*("+c[v.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+c[v.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+c[v.XRANGEIDENTIFIERLOOSE]+")(?:"+c[v.PRERELEASELOOSE]+")?"+c[v.BUILD]+"?)?)?",g("XRANGE"),c[v.XRANGE]="^"+c[v.GTLT]+"\\s*"+c[v.XRANGEPLAIN]+"$",g("XRANGELOOSE"),c[v.XRANGELOOSE]="^"+c[v.GTLT]+"\\s*"+c[v.XRANGEPLAINLOOSE]+"$",g("COERCE"),c[v.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",g("COERCERTL"),t[v.COERCERTL]=new RegExp(c[v.COERCE],"g"),i[v.COERCERTL]=new RegExp(h(c[v.COERCE]),"g"),g("LONETILDE"),c[v.LONETILDE]="(?:~>?)",g("TILDETRIM"),c[v.TILDETRIM]="(\\s*)"+c[v.LONETILDE]+"\\s+",t[v.TILDETRIM]=new RegExp(c[v.TILDETRIM],"g"),i[v.TILDETRIM]=new RegExp(h(c[v.TILDETRIM]),"g"),g("TILDE"),c[v.TILDE]="^"+c[v.LONETILDE]+c[v.XRANGEPLAIN]+"$",g("TILDELOOSE"),c[v.TILDELOOSE]="^"+c[v.LONETILDE]+c[v.XRANGEPLAINLOOSE]+"$",g("LONECARET"),c[v.LONECARET]="(?:\\^)",g("CARETTRIM"),c[v.CARETTRIM]="(\\s*)"+c[v.LONECARET]+"\\s+",t[v.CARETTRIM]=new RegExp(c[v.CARETTRIM],"g"),i[v.CARETTRIM]=new RegExp(h(c[v.CARETTRIM]),"g"),g("CARET"),c[v.CARET]="^"+c[v.LONECARET]+c[v.XRANGEPLAIN]+"$",g("CARETLOOSE"),c[v.CARETLOOSE]="^"+c[v.LONECARET]+c[v.XRANGEPLAINLOOSE]+"$",g("COMPARATORLOOSE"),c[v.COMPARATORLOOSE]="^"+c[v.GTLT]+"\\s*("+c[v.LOOSEPLAIN]+")$|^$",g("COMPARATOR"),c[v.COMPARATOR]="^"+c[v.GTLT]+"\\s*("+c[v.FULLPLAIN]+")$|^$",g("COMPARATORTRIM"),c[v.COMPARATORTRIM]="(\\s*)"+c[v.GTLT]+"\\s*("+c[v.LOOSEPLAIN]+"|"+c[v.XRANGEPLAIN]+")",t[v.COMPARATORTRIM]=new RegExp(c[v.COMPARATORTRIM],"g"),i[v.COMPARATORTRIM]=new RegExp(h(c[v.COMPARATORTRIM]),"g"),g("HYPHENRANGE"),c[v.HYPHENRANGE]="^\\s*("+c[v.XRANGEPLAIN]+")\\s+-\\s+("+c[v.XRANGEPLAIN]+")\\s*$",g("HYPHENRANGELOOSE"),c[v.HYPHENRANGELOOSE]="^\\s*("+c[v.XRANGEPLAINLOOSE]+")\\s+-\\s+("+c[v.XRANGEPLAINLOOSE]+")\\s*$",g("STAR"),c[v.STAR]="(<|>)?=?\\s*\\*";for(var u=0;u<T;u++)E(u,c[u]),t[u]||(t[u]=new RegExp(c[u]),i[u]=new RegExp(h(c[u])));function f(M,B){if(B&&typeof B=="object"||(B={loose:!!B,includePrerelease:!1}),M instanceof y)return M;if(typeof M!="string"||M.length>r||!(B.loose?i[v.LOOSE]:i[v.FULL]).test(M))return null;try{return new y(M,B)}catch{return null}}function y(M,B){if(B&&typeof B=="object"||(B={loose:!!B,includePrerelease:!1}),M instanceof y){if(M.loose===B.loose)return M;M=M.version}else if(typeof M!="string")throw new TypeError("Invalid Version: "+M);if(M.length>r)throw new TypeError("version is longer than "+r+" characters");if(!(this instanceof y))return new y(M,B);E("SemVer",M,B),this.options=B,this.loose=!!B.loose;var G=M.trim().match(B.loose?i[v.LOOSE]:i[v.FULL]);if(!G)throw new TypeError("Invalid Version: "+M);if(this.raw=M,this.major=+G[1],this.minor=+G[2],this.patch=+G[3],this.major>l||this.major<0)throw new TypeError("Invalid major version");if(this.minor>l||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>l||this.patch<0)throw new TypeError("Invalid patch version");G[4]?this.prerelease=G[4].split(".").map(function(U){if(/^[0-9]+$/.test(U)){var Q=+U;if(Q>=0&&Q<l)return Q}return U}):this.prerelease=[],this.build=G[5]?G[5].split("."):[],this.format()}e.parse=f,e.valid=function(M,B){var G=f(M,B);return G?G.version:null},e.clean=function(M,B){var G=f(M.trim().replace(/^[=v]+/,""),B);return G?G.version:null},e.SemVer=y,y.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},y.prototype.toString=function(){return this.version},y.prototype.compare=function(M){return E("SemVer.compare",this.version,this.options,M),M instanceof y||(M=new y(M,this.options)),this.compareMain(M)||this.comparePre(M)},y.prototype.compareMain=function(M){return M instanceof y||(M=new y(M,this.options)),S(this.major,M.major)||S(this.minor,M.minor)||S(this.patch,M.patch)},y.prototype.comparePre=function(M){if(M instanceof y||(M=new y(M,this.options)),this.prerelease.length&&!M.prerelease.length)return-1;if(!this.prerelease.length&&M.prerelease.length)return 1;if(!this.prerelease.length&&!M.prerelease.length)return 0;var B=0;do{var G=this.prerelease[B],U=M.prerelease[B];if(E("prerelease compare",B,G,U),G===void 0&&U===void 0)return 0;if(U===void 0)return 1;if(G===void 0)return-1;if(G!==U)return S(G,U)}while(++B)},y.prototype.compareBuild=function(M){M instanceof y||(M=new y(M,this.options));var B=0;do{var G=this.build[B],U=M.build[B];if(E("prerelease compare",B,G,U),G===void 0&&U===void 0)return 0;if(U===void 0)return 1;if(G===void 0)return-1;if(G!==U)return S(G,U)}while(++B)},y.prototype.inc=function(M,B){switch(M){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",B);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",B);break;case"prepatch":this.prerelease.length=0,this.inc("patch",B),this.inc("pre",B);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",B),this.inc("pre",B);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var G=this.prerelease.length;--G>=0;)typeof this.prerelease[G]=="number"&&(this.prerelease[G]++,G=-2);G===-1&&this.prerelease.push(0)}B&&(this.prerelease[0]===B?isNaN(this.prerelease[1])&&(this.prerelease=[B,0]):this.prerelease=[B,0]);break;default:throw new Error("invalid increment argument: "+M)}return this.format(),this.raw=this.version,this},e.inc=function(M,B,G,U){typeof G=="string"&&(U=G,G=void 0);try{return new y(M,G).inc(B,U).version}catch{return null}},e.diff=function(M,B){if(F(M,B))return null;var G=f(M),U=f(B),Q="";if(G.prerelease.length||U.prerelease.length){Q="pre";var de="prerelease"}for(var se in G)if((se==="major"||se==="minor"||se==="patch")&&G[se]!==U[se])return Q+se;return de},e.compareIdentifiers=S;var P=/^[0-9]+$/;function S(M,B){var G=P.test(M),U=P.test(B);return G&&U&&(M=+M,B=+B),M===B?0:G&&!U?-1:U&&!G?1:M<B?-1:1}function b(M,B,G){return new y(M,G).compare(new y(B,G))}function C(M,B,G){return b(M,B,G)>0}function N(M,B,G){return b(M,B,G)<0}function F(M,B,G){return b(M,B,G)===0}function K(M,B,G){return b(M,B,G)!==0}function L(M,B,G){return b(M,B,G)>=0}function w(M,B,G){return b(M,B,G)<=0}function O(M,B,G,U){switch(B){case"===":return typeof M=="object"&&(M=M.version),typeof G=="object"&&(G=G.version),M===G;case"!==":return typeof M=="object"&&(M=M.version),typeof G=="object"&&(G=G.version),M!==G;case"":case"=":case"==":return F(M,G,U);case"!=":return K(M,G,U);case">":return C(M,G,U);case">=":return L(M,G,U);case"<":return N(M,G,U);case"<=":return w(M,G,U);default:throw new TypeError("Invalid operator: "+B)}}function z(M,B){if(B&&typeof B=="object"||(B={loose:!!B,includePrerelease:!1}),M instanceof z){if(M.loose===!!B.loose)return M;M=M.value}if(!(this instanceof z))return new z(M,B);M=M.trim().split(/\s+/).join(" "),E("comparator",M,B),this.options=B,this.loose=!!B.loose,this.parse(M),this.semver===te?this.value="":this.value=this.operator+this.semver.version,E("comp",this)}e.rcompareIdentifiers=function(M,B){return S(B,M)},e.major=function(M,B){return new y(M,B).major},e.minor=function(M,B){return new y(M,B).minor},e.patch=function(M,B){return new y(M,B).patch},e.compare=b,e.compareLoose=function(M,B){return b(M,B,!0)},e.compareBuild=function(M,B,G){var U=new y(M,G),Q=new y(B,G);return U.compare(Q)||U.compareBuild(Q)},e.rcompare=function(M,B,G){return b(B,M,G)},e.sort=function(M,B){return M.sort(function(G,U){return e.compareBuild(G,U,B)})},e.rsort=function(M,B){return M.sort(function(G,U){return e.compareBuild(U,G,B)})},e.gt=C,e.lt=N,e.eq=F,e.neq=K,e.gte=L,e.lte=w,e.cmp=O,e.Comparator=z;var te={};function $(M,B){if(B&&typeof B=="object"||(B={loose:!!B,includePrerelease:!1}),M instanceof $)return M.loose===!!B.loose&&M.includePrerelease===!!B.includePrerelease?M:new $(M.raw,B);if(M instanceof z)return new $(M.value,B);if(!(this instanceof $))return new $(M,B);if(this.options=B,this.loose=!!B.loose,this.includePrerelease=!!B.includePrerelease,this.raw=M.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(G){return this.parseRange(G.trim())},this).filter(function(G){return G.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}function D(M,B){for(var G=!0,U=M.slice(),Q=U.pop();G&&U.length;)G=U.every(function(de){return Q.intersects(de,B)}),Q=U.pop();return G}function W(M){return!M||M.toLowerCase()==="x"||M==="*"}function q(M,B,G,U,Q,de,se,ye,we,ve,ce,H,me){return((B=W(G)?"":W(U)?">="+G+".0.0":W(Q)?">="+G+"."+U+".0":">="+B)+" "+(ye=W(we)?"":W(ve)?"<"+(+we+1)+".0.0":W(ce)?"<"+we+"."+(+ve+1)+".0":H?"<="+we+"."+ve+"."+ce+"-"+H:"<="+ye)).trim()}function re(M,B,G){for(var U=0;U<M.length;U++)if(!M[U].test(B))return!1;if(B.prerelease.length&&!G.includePrerelease){for(U=0;U<M.length;U++)if(E(M[U].semver),M[U].semver!==te&&M[U].semver.prerelease.length>0){var Q=M[U].semver;if(Q.major===B.major&&Q.minor===B.minor&&Q.patch===B.patch)return!0}return!1}return!0}function le(M,B,G){try{B=new $(B,G)}catch{return!1}return B.test(M)}function ie(M,B,G,U){var Q,de,se,ye,we;switch(M=new y(M,U),B=new $(B,U),G){case">":Q=C,de=w,se=N,ye=">",we=">=";break;case"<":Q=N,de=L,se=C,ye="<",we="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(le(M,B,U))return!1;for(var ve=0;ve<B.set.length;++ve){var ce=B.set[ve],H=null,me=null;if(ce.forEach(function(Se){Se.semver===te&&(Se=new z(">=0.0.0")),H=H||Se,me=me||Se,Q(Se.semver,H.semver,U)?H=Se:se(Se.semver,me.semver,U)&&(me=Se)}),H.operator===ye||H.operator===we||(!me.operator||me.operator===ye)&&de(M,me.semver)||me.operator===we&&se(M,me.semver))return!1}return!0}z.prototype.parse=function(M){var B=this.options.loose?i[v.COMPARATORLOOSE]:i[v.COMPARATOR],G=M.match(B);if(!G)throw new TypeError("Invalid comparator: "+M);this.operator=G[1]!==void 0?G[1]:"",this.operator==="="&&(this.operator=""),G[2]?this.semver=new y(G[2],this.options.loose):this.semver=te},z.prototype.toString=function(){return this.value},z.prototype.test=function(M){if(E("Comparator.test",M,this.options.loose),this.semver===te||M===te)return!0;if(typeof M=="string")try{M=new y(M,this.options)}catch{return!1}return O(M,this.operator,this.semver,this.options)},z.prototype.intersects=function(M,B){if(!(M instanceof z))throw new TypeError("a Comparator is required");var G;if(B&&typeof B=="object"||(B={loose:!!B,includePrerelease:!1}),this.operator==="")return this.value===""||(G=new $(M.value,B),le(this.value,G,B));if(M.operator==="")return M.value===""||(G=new $(this.value,B),le(M.semver,G,B));var U=!(this.operator!==">="&&this.operator!==">"||M.operator!==">="&&M.operator!==">"),Q=!(this.operator!=="<="&&this.operator!=="<"||M.operator!=="<="&&M.operator!=="<"),de=this.semver.version===M.semver.version,se=!(this.operator!==">="&&this.operator!=="<="||M.operator!==">="&&M.operator!=="<="),ye=O(this.semver,"<",M.semver,B)&&(this.operator===">="||this.operator===">")&&(M.operator==="<="||M.operator==="<"),we=O(this.semver,">",M.semver,B)&&(this.operator==="<="||this.operator==="<")&&(M.operator===">="||M.operator===">");return U||Q||de&&se||ye||we},e.Range=$,$.prototype.format=function(){return this.range=this.set.map(function(M){return M.join(" ").trim()}).join("||").trim(),this.range},$.prototype.toString=function(){return this.range},$.prototype.parseRange=function(M){var B=this.options.loose,G=B?i[v.HYPHENRANGELOOSE]:i[v.HYPHENRANGE];M=M.replace(G,q),E("hyphen replace",M),M=M.replace(i[v.COMPARATORTRIM],"$1$2$3"),E("comparator trim",M,i[v.COMPARATORTRIM]),M=(M=(M=M.replace(i[v.TILDETRIM],"$1~")).replace(i[v.CARETTRIM],"$1^")).split(/\s+/).join(" ");var U=B?i[v.COMPARATORLOOSE]:i[v.COMPARATOR],Q=M.split(" ").map(function(de){return(function(se,ye){return E("comp",se,ye),se=(function(we,ve){return we.trim().split(/\s+/).map(function(ce){return(function(H,me){E("caret",H,me);var Se=me.loose?i[v.CARETLOOSE]:i[v.CARET];return H.replace(Se,function(pe,j,Te,De,Fe){var Pe;return E("caret",H,pe,j,Te,De,Fe),W(j)?Pe="":W(Te)?Pe=">="+j+".0.0 <"+(+j+1)+".0.0":W(De)?Pe=j==="0"?">="+j+"."+Te+".0 <"+j+"."+(+Te+1)+".0":">="+j+"."+Te+".0 <"+(+j+1)+".0.0":Fe?(E("replaceCaret pr",Fe),Pe=j==="0"?Te==="0"?">="+j+"."+Te+"."+De+"-"+Fe+" <"+j+"."+Te+"."+(+De+1):">="+j+"."+Te+"."+De+"-"+Fe+" <"+j+"."+(+Te+1)+".0":">="+j+"."+Te+"."+De+"-"+Fe+" <"+(+j+1)+".0.0"):(E("no pr"),Pe=j==="0"?Te==="0"?">="+j+"."+Te+"."+De+" <"+j+"."+Te+"."+(+De+1):">="+j+"."+Te+"."+De+" <"+j+"."+(+Te+1)+".0":">="+j+"."+Te+"."+De+" <"+(+j+1)+".0.0"),E("caret return",Pe),Pe})})(ce,ve)}).join(" ")})(se,ye),E("caret",se),se=(function(we,ve){return we.trim().split(/\s+/).map(function(ce){return(function(H,me){var Se=me.loose?i[v.TILDELOOSE]:i[v.TILDE];return H.replace(Se,function(pe,j,Te,De,Fe){var Pe;return E("tilde",H,pe,j,Te,De,Fe),W(j)?Pe="":W(Te)?Pe=">="+j+".0.0 <"+(+j+1)+".0.0":W(De)?Pe=">="+j+"."+Te+".0 <"+j+"."+(+Te+1)+".0":Fe?(E("replaceTilde pr",Fe),Pe=">="+j+"."+Te+"."+De+"-"+Fe+" <"+j+"."+(+Te+1)+".0"):Pe=">="+j+"."+Te+"."+De+" <"+j+"."+(+Te+1)+".0",E("tilde return",Pe),Pe})})(ce,ve)}).join(" ")})(se,ye),E("tildes",se),se=(function(we,ve){return E("replaceXRanges",we,ve),we.split(/\s+/).map(function(ce){return(function(H,me){H=H.trim();var Se=me.loose?i[v.XRANGELOOSE]:i[v.XRANGE];return H.replace(Se,function(pe,j,Te,De,Fe,Pe){E("xRange",H,pe,j,Te,De,Fe,Pe);var ke=W(Te),Oe=ke||W(De),We=Oe||W(Fe),Re=We;return j==="="&&Re&&(j=""),Pe=me.includePrerelease?"-0":"",ke?pe=j===">"||j==="<"?"<0.0.0-0":"*":j&&Re?(Oe&&(De=0),Fe=0,j===">"?(j=">=",Oe?(Te=+Te+1,De=0,Fe=0):(De=+De+1,Fe=0)):j==="<="&&(j="<",Oe?Te=+Te+1:De=+De+1),pe=j+Te+"."+De+"."+Fe+Pe):Oe?pe=">="+Te+".0.0"+Pe+" <"+(+Te+1)+".0.0"+Pe:We&&(pe=">="+Te+"."+De+".0"+Pe+" <"+Te+"."+(+De+1)+".0"+Pe),E("xRange return",pe),pe})})(ce,ve)}).join(" ")})(se,ye),E("xrange",se),se=(function(we,ve){return E("replaceStars",we,ve),we.trim().replace(i[v.STAR],"")})(se,ye),E("stars",se),se})(de,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(Q=Q.filter(function(de){return!!de.match(U)})),Q=Q.map(function(de){return new z(de,this.options)},this)},$.prototype.intersects=function(M,B){if(!(M instanceof $))throw new TypeError("a Range is required");return this.set.some(function(G){return D(G,B)&&M.set.some(function(U){return D(U,B)&&G.every(function(Q){return U.every(function(de){return Q.intersects(de,B)})})})})},e.toComparators=function(M,B){return new $(M,B).set.map(function(G){return G.map(function(U){return U.value}).join(" ").trim().split(" ")})},$.prototype.test=function(M){if(!M)return!1;if(typeof M=="string")try{M=new y(M,this.options)}catch{return!1}for(var B=0;B<this.set.length;B++)if(re(this.set[B],M,this.options))return!0;return!1},e.satisfies=le,e.maxSatisfying=function(M,B,G){var U=null,Q=null;try{var de=new $(B,G)}catch{return null}return M.forEach(function(se){de.test(se)&&(U&&Q.compare(se)!==-1||(Q=new y(U=se,G)))}),U},e.minSatisfying=function(M,B,G){var U=null,Q=null;try{var de=new $(B,G)}catch{return null}return M.forEach(function(se){de.test(se)&&(U&&Q.compare(se)!==1||(Q=new y(U=se,G)))}),U},e.minVersion=function(M,B){M=new $(M,B);var G=new y("0.0.0");if(M.test(G)||(G=new y("0.0.0-0"),M.test(G)))return G;G=null;for(var U=0;U<M.set.length;++U)M.set[U].forEach(function(Q){var de=new y(Q.semver.version);switch(Q.operator){case">":de.prerelease.length===0?de.patch++:de.prerelease.push(0),de.raw=de.format();case"":case">=":G&&!C(G,de)||(G=de);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+Q.operator)}});return G&&M.test(G)?G:null},e.validRange=function(M,B){try{return new $(M,B).range||"*"}catch{return null}},e.ltr=function(M,B,G){return ie(M,B,"<",G)},e.gtr=function(M,B,G){return ie(M,B,">",G)},e.outside=ie,e.prerelease=function(M,B){var G=f(M,B);return G&&G.prerelease.length?G.prerelease:null},e.intersects=function(M,B,G){return M=new $(M,G),B=new $(B,G),M.intersects(B)},e.coerce=function(M,B){if(M instanceof y)return M;if(typeof M=="number"&&(M=String(M)),typeof M!="string")return null;var G=null;if((B=B||{}).rtl){for(var U;(U=i[v.COERCERTL].exec(M))&&(!G||G.index+G[0].length!==M.length);)G&&U.index+U[0].length===G.index+G[0].length||(G=U),i[v.COERCERTL].lastIndex=U.index+U[1].length+U[2].length;i[v.COERCERTL].lastIndex=-1}else G=M.match(i[v.COERCE]);return G===null?null:f(G[2]+"."+(G[3]||"0")+"."+(G[4]||"0"),B)}},"./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js":(ee,e,E)=>{"use strict";let r=E("os"),l=E("tty"),d=E("./node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"),{env:t}=process,i;function c(T){return T!==0&&{level:T,hasBasic:!0,has256:T>=2,has16m:T>=3}}function v(T,g){if(i===0)return 0;if(d("color=16m")||d("color=full")||d("color=truecolor"))return 3;if(d("color=256"))return 2;if(T&&!g&&i===void 0)return 0;let p=i||0;if(t.TERM==="dumb")return p;if(process.platform==="win32"){let h=r.release().split(".");return Number(h[0])>=10&&Number(h[2])>=10586?Number(h[2])>=14931?3:2:1}if("CI"in t)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(h=>h in t)||t.CI_NAME==="codeship"?1:p;if("TEAMCITY_VERSION"in t)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(t.TEAMCITY_VERSION)?1:0;if(t.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in t){let h=parseInt((t.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(t.TERM_PROGRAM){case"iTerm.app":return h>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(t.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(t.TERM)||"COLORTERM"in t?1:p}d("no-color")||d("no-colors")||d("color=false")||d("color=never")?i=0:(d("color")||d("colors")||d("color=true")||d("color=always"))&&(i=1),"FORCE_COLOR"in t&&(i=t.FORCE_COLOR==="true"?1:t.FORCE_COLOR==="false"?0:t.FORCE_COLOR.length===0?1:Math.min(parseInt(t.FORCE_COLOR,10),3)),ee.exports={supportsColor:function(T){return c(v(T,T&&T.isTTY))},stdout:c(v(!0,l.isatty(1))),stderr:c(v(!0,l.isatty(2)))}},"./stubs/babel-codeframe.mjs":(ee,e,E)=>{"use strict";function r(){return""}E.r(e),E.d(e,{codeFrameColumns:()=>r})},"./stubs/helper-compilation-targets.mjs":(ee,e,E)=>{"use strict";function r(){return{}}E.r(e),E.d(e,{default:()=>r})},assert:ee=>{"use strict";ee.exports=qt("assert")},fs:ee=>{"use strict";ee.exports=qt("fs")},module:ee=>{"use strict";ee.exports=qt("module")},os:ee=>{"use strict";ee.exports=qt("os")},path:ee=>{"use strict";ee.exports=qt("path")},process:ee=>{"use strict";ee.exports=qt("process")},tty:ee=>{"use strict";ee.exports=qt("tty")},url:ee=>{"use strict";ee.exports=qt("url")},util:ee=>{"use strict";ee.exports=qt("util")},v8:ee=>{"use strict";ee.exports=qt("v8")}},Xn={};function $t(ee){var e=Xn[ee];if(e!==void 0)return e.exports;var E=Xn[ee]={id:ee,loaded:!1,exports:{}};return Qn[ee].call(E.exports,E,E.exports,$t),E.loaded=!0,E.exports}$t.n=ee=>{var e=ee&&ee.__esModule?()=>ee.default:()=>ee;return $t.d(e,{a:e}),e},$t.d=(ee,e)=>{for(var E in e)$t.o(e,E)&&!$t.o(ee,E)&&Object.defineProperty(ee,E,{enumerable:!0,get:e[E]})},$t.o=(ee,e)=>Object.prototype.hasOwnProperty.call(ee,e),$t.r=ee=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(ee,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(ee,"__esModule",{value:!0})},$t.nmd=ee=>(ee.paths=[],ee.children||(ee.children=[]),ee);var fi={};(()=>{"use strict";$t.d(fi,{default:()=>_i});var ee=$t("./node_modules/.pnpm/@babel+core@7.28.0/node_modules/@babel/core/lib/index.js"),e=$t("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-proposal-decorators/lib/index.js"),E=$t("./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.28.0/node_modules/@babel/plugin-syntax-class-properties/lib/index.js"),r=$t("./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js"),l=$t("./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-syntax-jsx/lib/index.js"),d=$t("./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js"),t=$t("./node_modules/.pnpm/@babel+plugin-transform-react-jsx@7.27.1_@babel+core@7.28.0/node_modules/@babel/plugin-transform-react-jsx/lib/index.js"),i=$t("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.0/node_modules/@babel/plugin-transform-typescript/lib/index.js"),c=$t("./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js"),v=$t.n(c),T=$t("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js");function g(o,x,V=!1){return ee.types.decorator(ee.types.functionExpression(null,[ee.types.identifier("target"),ee.types.identifier("key")],ee.types.blockStatement([ee.types.returnStatement(ee.types.callExpression(x,[ee.types.identifier("target"),ee.types.identifier(V?"undefined":"key"),ee.types.numericLiteral(o)]))])))}function p(o,x){if(x.type!=="ClassMethod"||x.node.type!=="ClassMethod"||x.node.key.type!=="Identifier")return;let V=x,Y=V.get("params")||[];for(let ue of Y){if((ue.node.type==="Identifier"||ue.node.type==="ObjectPattern"?ue.node:ue.node.type==="TSParameterProperty"&&ue.node.parameter.type==="Identifier"?ue.node.parameter:null)==null)continue;let je;for(let Me of ue.node.decorators||[])V.node.kind==="constructor"?(je=g(ue.key,Me.expression,!0),o.node.decorators||(o.node.decorators=[]),o.node.decorators.push(je)):(je=g(ue.key,Me.expression,!1),V.node.decorators||(V.node.decorators=[]),V.node.decorators.push(je));je&&(ue.node.decorators=null)}}function h(){return ee.types.unaryExpression("void",ee.types.numericLiteral(0))}function u(o){return o==null?null:o.type==="ClassProperty"||o.type==="Identifier"||o.type==="ObjectPattern"?o:o.type==="AssignmentPattern"&&o.left.type==="Identifier"?o.left:o.type==="TSParameterProperty"?u(o.parameter):null}function f(o,x){let V=u(x);if(V==null||!V.typeAnnotation||V.typeAnnotation.type!=="TSTypeAnnotation")return h();let Y=V.typeAnnotation.typeAnnotation;return b(o.node.id?o.node.id.name:"",Y)}function y(o,x){let V=S(x.typeName);return P(o,V)?ee.types.identifier("Object"):ee.types.conditionalExpression(ee.types.binaryExpression("===",ee.types.unaryExpression("typeof",V),ee.types.stringLiteral("undefined")),ee.types.identifier("Object"),ee.types.cloneDeep(V))}function P(o,x){switch(x.type){case"Identifier":return x.name===o;case"MemberExpression":return P(o,x.object);default:throw new Error(`The property expression at ${x.start} is not valid as a Type to be used in Reflect.metadata`)}}function S(o){return o.type==="Identifier"?ee.types.identifier(o.name):ee.types.memberExpression(S(o.left),o.right)}function b(o,x){if(x===void 0)return ee.types.identifier("Object");switch(x.type){case"TSVoidKeyword":case"TSUndefinedKeyword":case"TSNullKeyword":case"TSNeverKeyword":return h();case"TSParenthesizedType":return b(o,x.typeAnnotation);case"TSFunctionType":case"TSConstructorType":return ee.types.identifier("Function");case"TSArrayType":case"TSTupleType":return ee.types.identifier("Array");case"TSTypePredicate":case"TSBooleanKeyword":return ee.types.identifier("Boolean");case"TSStringKeyword":return ee.types.identifier("String");case"TSObjectKeyword":return ee.types.identifier("Object");case"TSLiteralType":switch(x.literal.type){case"StringLiteral":return ee.types.identifier("String");case"NumericLiteral":return ee.types.identifier("Number");case"BooleanLiteral":return ee.types.identifier("Boolean");default:throw new Error("Bad type for decorator"+x.literal)}case"TSNumberKeyword":case"TSBigIntKeyword":return ee.types.identifier("Number");case"TSSymbolKeyword":return ee.types.identifier("Symbol");case"TSTypeReference":return y(o,x);case"TSIntersectionType":case"TSUnionType":return C(o,x.types);case"TSConditionalType":return C(o,[x.trueType,x.falseType]);case"TSTypeQuery":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTypeLiteral":case"TSAnyKeyword":case"TSUnknownKeyword":case"TSThisType":break;default:throw new Error("Bad type for decorator")}return ee.types.identifier("Object")}function C(o,x){let V;for(let Y of x){for(;Y.type==="TSParenthesizedType";)Y=Y.typeAnnotation;if(Y.type==="TSNeverKeyword"||Y.type==="TSNullKeyword"||Y.type==="TSUndefinedKeyword")continue;let ue=b(o,Y);if(ee.types.isIdentifier(ue)&&ue.name==="Object")return ue;if(V){if(!ee.types.isIdentifier(V)||!ee.types.isIdentifier(ue)||V.name!==ue.name)return ee.types.identifier("Object")}else V=ue}return V||h()}function N(o,x){return ee.types.decorator(ee.types.logicalExpression("||",ee.types.optionalCallExpression(ee.types.memberExpression(ee.types.identifier("Reflect"),ee.types.identifier("metadata")),[ee.types.stringLiteral(o),x],!0),ee.types.arrowFunctionExpression([ee.types.identifier("t")],ee.types.identifier("t"))))}function F(o,x){let V=x.node,Y=o.node;switch(V.type){case"ClassMethod":{let ue=V.kind==="constructor"?Y.decorators:V.decorators;if(!ue||ue.length===0)return;ue.push(N("design:type",ee.types.identifier("Function"))),ue.push(N("design:paramtypes",ee.types.arrayExpression(V.params.map(je=>f(o,je)))));break}case"ClassProperty":if(!V.decorators||V.decorators.length===0||!V.typeAnnotation||V.typeAnnotation.type!=="TSTypeAnnotation")return;V.decorators.push(N("design:type",f(o,V)))}}let K=(0,T.declare)(o=>(o.assertVersion(7),{visitor:{Program(x){x.traverse({ClassDeclaration(V){for(let Y of V.get("body").get("body"))Y.type!=="ClassMethod"&&Y.type!=="ClassProperty"||(p(V,Y),F(V,Y));V.parentPath.scope.crawl()}})}}}));function L({template:o,types:x}){return{name:"@import-meta-env/babel",visitor:{Identifier(V){if(!x.isIdentifier(V)||!x.isMemberExpression(V.parentPath)&&!x.isOptionalMemberExpression(V.parentPath)||!x.isMemberExpression(V.parentPath.node))return;let Y=V.parentPath.node;if(!x.isMetaProperty(Y.object))return;let ue=Y.object;ue.meta.name==="import"&&ue.property.name==="meta"&&Y.property.name==="env"&&V.parentPath.replaceWith(o.expression.ast("process.env"))}}}}function w(o){return{name:"import-meta-resolve",visitor:{Program(x){let V=[];if(x.traverse({MemberExpression(Y){let{node:ue}=Y;ue.object.type==="MetaProperty"&&ue.object.meta.name==="import"&&ue.object.property.name==="meta"&&ue.property.type==="Identifier"&&ue.property.name==="resolve"&&V.push(Y)}}),V.length!==0)for(let Y of V)Y.replaceWith({type:"ExpressionStatement",expression:{type:"Identifier",name:"jitiESMResolve"}})}}}}var O=$t("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/index.js");let z=/^[A-Za-z]:\//;function te(o=""){return o&&o.replace(/\\/g,"/").replace(z,x=>x.toUpperCase())}let $=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,D=/^[A-Za-z]:$/,W=function(o){return $.test(o)},q=function(o){let x=te(o).replace(/\/$/,"").split("/").slice(0,-1);return x.length===1&&D.test(x[0])&&(x[0]+="/"),x.join("/")||(W(o)?"/":".")};var re=[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],le=[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],ie="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",M={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",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},B="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",G={5:B,"5module":B+" export import",6:B+" const class extends export import super"},U=/^in(stanceof)?$/,Q=new RegExp("["+ie+"]"),de=new RegExp("["+ie+"\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65]");function se(o,x){for(var V=65536,Y=0;Y<x.length;Y+=2){if((V+=x[Y])>o)return!1;if((V+=x[Y+1])>=o)return!0}return!1}function ye(o,x){return o<65?o===36:o<91||(o<97?o===95:o<123||(o<=65535?o>=170&&Q.test(String.fromCharCode(o)):x!==!1&&se(o,le)))}function we(o,x){return o<48?o===36:o<58||!(o<65)&&(o<91||(o<97?o===95:o<123||(o<=65535?o>=170&&de.test(String.fromCharCode(o)):x!==!1&&(se(o,le)||se(o,re)))))}var ve=function(o,x){x===void 0&&(x={}),this.label=o,this.keyword=x.keyword,this.beforeExpr=!!x.beforeExpr,this.startsExpr=!!x.startsExpr,this.isLoop=!!x.isLoop,this.isAssign=!!x.isAssign,this.prefix=!!x.prefix,this.postfix=!!x.postfix,this.binop=x.binop||null,this.updateContext=null};function ce(o,x){return new ve(o,{beforeExpr:!0,binop:x})}var H={beforeExpr:!0},me={startsExpr:!0},Se={};function pe(o,x){return x===void 0&&(x={}),x.keyword=o,Se[o]=new ve(o,x)}var j={num:new ve("num",me),regexp:new ve("regexp",me),string:new ve("string",me),name:new ve("name",me),privateId:new ve("privateId",me),eof:new ve("eof"),bracketL:new ve("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new ve("]"),braceL:new ve("{",{beforeExpr:!0,startsExpr:!0}),braceR:new ve("}"),parenL:new ve("(",{beforeExpr:!0,startsExpr:!0}),parenR:new ve(")"),comma:new ve(",",H),semi:new ve(";",H),colon:new ve(":",H),dot:new ve("."),question:new ve("?",H),questionDot:new ve("?."),arrow:new ve("=>",H),template:new ve("template"),invalidTemplate:new ve("invalidTemplate"),ellipsis:new ve("...",H),backQuote:new ve("`",me),dollarBraceL:new ve("${",{beforeExpr:!0,startsExpr:!0}),eq:new ve("=",{beforeExpr:!0,isAssign:!0}),assign:new ve("_=",{beforeExpr:!0,isAssign:!0}),incDec:new ve("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new ve("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:ce("||",1),logicalAND:ce("&&",2),bitwiseOR:ce("|",3),bitwiseXOR:ce("^",4),bitwiseAND:ce("&",5),equality:ce("==/!=/===/!==",6),relational:ce("</>/<=/>=",7),bitShift:ce("<</>>/>>>",8),plusMin:new ve("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:ce("%",10),star:ce("*",10),slash:ce("/",10),starstar:new ve("**",{beforeExpr:!0}),coalesce:ce("??",1),_break:pe("break"),_case:pe("case",H),_catch:pe("catch"),_continue:pe("continue"),_debugger:pe("debugger"),_default:pe("default",H),_do:pe("do",{isLoop:!0,beforeExpr:!0}),_else:pe("else",H),_finally:pe("finally"),_for:pe("for",{isLoop:!0}),_function:pe("function",me),_if:pe("if"),_return:pe("return",H),_switch:pe("switch"),_throw:pe("throw",H),_try:pe("try"),_var:pe("var"),_const:pe("const"),_while:pe("while",{isLoop:!0}),_with:pe("with"),_new:pe("new",{beforeExpr:!0,startsExpr:!0}),_this:pe("this",me),_super:pe("super",me),_class:pe("class",me),_extends:pe("extends",H),_export:pe("export"),_import:pe("import",me),_null:pe("null",me),_true:pe("true",me),_false:pe("false",me),_in:pe("in",{beforeExpr:!0,binop:7}),_instanceof:pe("instanceof",{beforeExpr:!0,binop:7}),_typeof:pe("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:pe("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:pe("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Te=/\r\n?|\n|\u2028|\u2029/,De=new RegExp(Te.source,"g");function Fe(o){return o===10||o===13||o===8232||o===8233}function Pe(o,x,V){V===void 0&&(V=o.length);for(var Y=x;Y<V;Y++){var ue=o.charCodeAt(Y);if(Fe(ue))return Y<V-1&&ue===13&&o.charCodeAt(Y+1)===10?Y+2:Y+1}return-1}var ke=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Oe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,We=Object.prototype,Re=We.hasOwnProperty,at=We.toString,ut=Object.hasOwn||function(o,x){return Re.call(o,x)},pt=Array.isArray||function(o){return at.call(o)==="[object Array]"},qe=Object.create(null);function rt(o){return qe[o]||(qe[o]=new RegExp("^(?:"+o.replace(/ /g,"|")+")$"))}function Ve(o){return o<=65535?String.fromCharCode(o):(o-=65536,String.fromCharCode(55296+(o>>10),56320+(1023&o)))}var Ne=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ae=function(o,x){this.line=o,this.column=x};ae.prototype.offset=function(o){return new ae(this.line,this.column+o)};var _e=function(o,x,V){this.start=x,this.end=V,o.sourceFile!==null&&(this.source=o.sourceFile)};function $e(o,x){for(var V=1,Y=0;;){var ue=Pe(o,Y,x);if(ue<0)return new ae(V,x-Y);++V,Y=ue}}var st={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},et=!1;function oe(o){var x={};for(var V in st)x[V]=o&&ut(o,V)?o[V]:st[V];if(x.ecmaVersion==="latest"?x.ecmaVersion=1e8:x.ecmaVersion==null?(!et&&typeof console=="object"&&console.warn&&(et=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
461
|
-
Defaulting to 2020, but this will stop working in the future.`)),x.ecmaVersion=11):x.ecmaVersion>=2015&&(x.ecmaVersion-=2009),x.allowReserved==null&&(x.allowReserved=x.ecmaVersion<5),o&&o.allowHashBang!=null||(x.allowHashBang=x.ecmaVersion>=14),pt(x.onToken)){var Y=x.onToken;x.onToken=function(ue){return Y.push(ue)}}return pt(x.onComment)&&(x.onComment=(function(ue,je){return function(Me,Xe,ft,Tt,Ot,Vt){var nn={type:Me?"Block":"Line",value:Xe,start:ft,end:Tt};ue.locations&&(nn.loc=new _e(this,Ot,Vt)),ue.ranges&&(nn.range=[ft,Tt]),je.push(nn)}})(x,x.onComment)),x}function Ae(o,x){return 2|(o?4:0)|(x?8:0)}var Ge=function(o,x,V){this.options=o=oe(o),this.sourceFile=o.sourceFile,this.keywords=rt(G[o.ecmaVersion>=6?6:o.sourceType==="module"?"5module":5]);var Y="";o.allowReserved!==!0&&(Y=M[o.ecmaVersion>=6?6:o.ecmaVersion===5?5:3],o.sourceType==="module"&&(Y+=" await")),this.reservedWords=rt(Y);var ue=(Y?Y+" ":"")+M.strict;this.reservedWordsStrict=rt(ue),this.reservedWordsStrictBind=rt(ue+" "+M.strictBind),this.input=String(x),this.containsEsc=!1,V?(this.pos=V,this.lineStart=this.input.lastIndexOf(`
|
|
462
|
-
`,V-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Te).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=j.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=o.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=Object.create(null),this.pos===0&&o.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},He={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}};Ge.prototype.parse=function(){var o=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(o)},He.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},He.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},He.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},He.canAwait.get=function(){for(var o=this.scopeStack.length-1;o>=0;o--){var x=this.scopeStack[o].flags;if(768&x)return!1;if(2&x)return(4&x)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},He.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0||this.options.allowSuperOutsideMethod},He.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},He.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},He.allowNewDotTarget.get=function(){for(var o=this.scopeStack.length-1;o>=0;o--){var x=this.scopeStack[o].flags;if(768&x||2&x&&!(16&x))return!0}return!1},He.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},Ge.extend=function(){for(var o=[],x=arguments.length;x--;)o[x]=arguments[x];for(var V=this,Y=0;Y<o.length;Y++)V=o[Y](V);return V},Ge.parse=function(o,x){return new this(x,o).parse()},Ge.parseExpressionAt=function(o,x,V){var Y=new this(V,o,x);return Y.nextToken(),Y.parseExpression()},Ge.tokenizer=function(o,x){return new this(x,o)},Object.defineProperties(Ge.prototype,He);var Ee=Ge.prototype,Le=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Ee.strictDirective=function(o){if(this.options.ecmaVersion<5)return!1;for(;;){Oe.lastIndex=o,o+=Oe.exec(this.input)[0].length;var x=Le.exec(this.input.slice(o));if(!x)return!1;if((x[1]||x[2])==="use strict"){Oe.lastIndex=o+x[0].length;var V=Oe.exec(this.input),Y=V.index+V[0].length,ue=this.input.charAt(Y);return ue===";"||ue==="}"||Te.test(V[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(ue)||ue==="!"&&this.input.charAt(Y+1)==="=")}o+=x[0].length,Oe.lastIndex=o,o+=Oe.exec(this.input)[0].length,this.input[o]===";"&&o++}},Ee.eat=function(o){return this.type===o&&(this.next(),!0)},Ee.isContextual=function(o){return this.type===j.name&&this.value===o&&!this.containsEsc},Ee.eatContextual=function(o){return!!this.isContextual(o)&&(this.next(),!0)},Ee.expectContextual=function(o){this.eatContextual(o)||this.unexpected()},Ee.canInsertSemicolon=function(){return this.type===j.eof||this.type===j.braceR||Te.test(this.input.slice(this.lastTokEnd,this.start))},Ee.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Ee.semicolon=function(){this.eat(j.semi)||this.insertSemicolon()||this.unexpected()},Ee.afterTrailingComma=function(o,x){if(this.type===o)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),x||this.next(),!0},Ee.expect=function(o){this.eat(o)||this.unexpected()},Ee.unexpected=function(o){this.raise(o??this.start,"Unexpected token")};var Ie=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Ee.checkPatternErrors=function(o,x){if(o){o.trailingComma>-1&&this.raiseRecoverable(o.trailingComma,"Comma is not permitted after the rest element");var V=x?o.parenthesizedAssign:o.parenthesizedBind;V>-1&&this.raiseRecoverable(V,x?"Assigning to rvalue":"Parenthesized pattern")}},Ee.checkExpressionErrors=function(o,x){if(!o)return!1;var V=o.shorthandAssign,Y=o.doubleProto;if(!x)return V>=0||Y>=0;V>=0&&this.raise(V,"Shorthand property assignments are valid only in destructuring patterns"),Y>=0&&this.raiseRecoverable(Y,"Redefinition of __proto__ property")},Ee.checkYieldAwaitInDefaultParams=function(){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")},Ee.isSimpleAssignTarget=function(o){return o.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(o.expression):o.type==="Identifier"||o.type==="MemberExpression"};var xe=Ge.prototype;xe.parseTopLevel=function(o){var x=Object.create(null);for(o.body||(o.body=[]);this.type!==j.eof;){var V=this.parseStatement(null,!0,x);o.body.push(V)}if(this.inModule)for(var Y=0,ue=Object.keys(this.undefinedExports);Y<ue.length;Y+=1){var je=ue[Y];this.raiseRecoverable(this.undefinedExports[je].start,"Export '"+je+"' is not defined")}return this.adaptDirectivePrologue(o.body),this.next(),o.sourceType=this.options.sourceType,this.finishNode(o,"Program")};var ze={kind:"loop"},it={kind:"switch"};xe.isLet=function(o){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Oe.lastIndex=this.pos;var x=Oe.exec(this.input),V=this.pos+x[0].length,Y=this.input.charCodeAt(V);if(Y===91||Y===92)return!0;if(o)return!1;if(Y===123||Y>55295&&Y<56320)return!0;if(ye(Y,!0)){for(var ue=V+1;we(Y=this.input.charCodeAt(ue),!0);)++ue;if(Y===92||Y>55295&&Y<56320)return!0;var je=this.input.slice(V,ue);if(!U.test(je))return!0}return!1},xe.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Oe.lastIndex=this.pos;var o,x=Oe.exec(this.input),V=this.pos+x[0].length;return!(Te.test(this.input.slice(this.pos,V))||this.input.slice(V,V+8)!=="function"||V+8!==this.input.length&&(we(o=this.input.charCodeAt(V+8))||o>55295&&o<56320))},xe.isUsingKeyword=function(o,x){if(this.options.ecmaVersion<17||!this.isContextual(o?"await":"using"))return!1;Oe.lastIndex=this.pos;var V=Oe.exec(this.input),Y=this.pos+V[0].length;if(Te.test(this.input.slice(this.pos,Y)))return!1;if(o){var ue,je=Y+5;if(this.input.slice(Y,je)!=="using"||je===this.input.length||we(ue=this.input.charCodeAt(je))||ue>55295&&ue<56320)return!1;Oe.lastIndex=je;var Me=Oe.exec(this.input);if(Me&&Te.test(this.input.slice(je,je+Me[0].length)))return!1}if(x){var Xe,ft=Y+2;if(!(this.input.slice(Y,ft)!=="of"||ft!==this.input.length&&(we(Xe=this.input.charCodeAt(ft))||Xe>55295&&Xe<56320)))return!1}var Tt=this.input.charCodeAt(Y);return ye(Tt,!0)||Tt===92},xe.isAwaitUsing=function(o){return this.isUsingKeyword(!0,o)},xe.isUsing=function(o){return this.isUsingKeyword(!1,o)},xe.parseStatement=function(o,x,V){var Y,ue=this.type,je=this.startNode();switch(this.isLet(o)&&(ue=j._var,Y="let"),ue){case j._break:case j._continue:return this.parseBreakContinueStatement(je,ue.keyword);case j._debugger:return this.parseDebuggerStatement(je);case j._do:return this.parseDoStatement(je);case j._for:return this.parseForStatement(je);case j._function:return o&&(this.strict||o!=="if"&&o!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(je,!1,!o);case j._class:return o&&this.unexpected(),this.parseClass(je,!0);case j._if:return this.parseIfStatement(je);case j._return:return this.parseReturnStatement(je);case j._switch:return this.parseSwitchStatement(je);case j._throw:return this.parseThrowStatement(je);case j._try:return this.parseTryStatement(je);case j._const:case j._var:return Y=Y||this.value,o&&Y!=="var"&&this.unexpected(),this.parseVarStatement(je,Y);case j._while:return this.parseWhileStatement(je);case j._with:return this.parseWithStatement(je);case j.braceL:return this.parseBlock(!0,je);case j.semi:return this.parseEmptyStatement(je);case j._export:case j._import:if(this.options.ecmaVersion>10&&ue===j._import){Oe.lastIndex=this.pos;var Me=Oe.exec(this.input),Xe=this.pos+Me[0].length,ft=this.input.charCodeAt(Xe);if(ft===40||ft===46)return this.parseExpressionStatement(je,this.parseExpression())}return this.options.allowImportExportEverywhere||(x||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),ue===j._import?this.parseImport(je):this.parseExport(je,V);default:if(this.isAsyncFunction())return o&&this.unexpected(),this.next(),this.parseFunctionStatement(je,!0,!o);var Tt=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(Tt)return x&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),Tt==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(je,!1,Tt),this.semicolon(),this.finishNode(je,"VariableDeclaration");var Ot=this.value,Vt=this.parseExpression();return ue===j.name&&Vt.type==="Identifier"&&this.eat(j.colon)?this.parseLabeledStatement(je,Ot,Vt,o):this.parseExpressionStatement(je,Vt)}},xe.parseBreakContinueStatement=function(o,x){var V=x==="break";this.next(),this.eat(j.semi)||this.insertSemicolon()?o.label=null:this.type!==j.name?this.unexpected():(o.label=this.parseIdent(),this.semicolon());for(var Y=0;Y<this.labels.length;++Y){var ue=this.labels[Y];if((o.label==null||ue.name===o.label.name)&&(ue.kind!=null&&(V||ue.kind==="loop")||o.label&&V))break}return Y===this.labels.length&&this.raise(o.start,"Unsyntactic "+x),this.finishNode(o,V?"BreakStatement":"ContinueStatement")},xe.parseDebuggerStatement=function(o){return this.next(),this.semicolon(),this.finishNode(o,"DebuggerStatement")},xe.parseDoStatement=function(o){return this.next(),this.labels.push(ze),o.body=this.parseStatement("do"),this.labels.pop(),this.expect(j._while),o.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(j.semi):this.semicolon(),this.finishNode(o,"DoWhileStatement")},xe.parseForStatement=function(o){this.next();var x=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(ze),this.enterScope(0),this.expect(j.parenL),this.type===j.semi)return x>-1&&this.unexpected(x),this.parseFor(o,null);var V=this.isLet();if(this.type===j._var||this.type===j._const||V){var Y=this.startNode(),ue=V?"let":this.value;return this.next(),this.parseVar(Y,!0,ue),this.finishNode(Y,"VariableDeclaration"),this.parseForAfterInit(o,Y,x)}var je=this.isContextual("let"),Me=!1,Xe=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(Xe){var ft=this.startNode();return this.next(),Xe==="await using"&&this.next(),this.parseVar(ft,!0,Xe),this.finishNode(ft,"VariableDeclaration"),this.parseForAfterInit(o,ft,x)}var Tt=this.containsEsc,Ot=new Ie,Vt=this.start,nn=x>-1?this.parseExprSubscripts(Ot,"await"):this.parseExpression(!0,Ot);return this.type===j._in||(Me=this.options.ecmaVersion>=6&&this.isContextual("of"))?(x>-1?(this.type===j._in&&this.unexpected(x),o.await=!0):Me&&this.options.ecmaVersion>=8&&(nn.start!==Vt||Tt||nn.type!=="Identifier"||nn.name!=="async"?this.options.ecmaVersion>=9&&(o.await=!1):this.unexpected()),je&&Me&&this.raise(nn.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(nn,!1,Ot),this.checkLValPattern(nn),this.parseForIn(o,nn)):(this.checkExpressionErrors(Ot,!0),x>-1&&this.unexpected(x),this.parseFor(o,nn))},xe.parseForAfterInit=function(o,x,V){return(this.type===j._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&x.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===j._in?V>-1&&this.unexpected(V):o.await=V>-1),this.parseForIn(o,x)):(V>-1&&this.unexpected(V),this.parseFor(o,x))},xe.parseFunctionStatement=function(o,x,V){return this.next(),this.parseFunction(o,lt|(V?0:ct),!1,x)},xe.parseIfStatement=function(o){return this.next(),o.test=this.parseParenExpression(),o.consequent=this.parseStatement("if"),o.alternate=this.eat(j._else)?this.parseStatement("if"):null,this.finishNode(o,"IfStatement")},xe.parseReturnStatement=function(o){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(j.semi)||this.insertSemicolon()?o.argument=null:(o.argument=this.parseExpression(),this.semicolon()),this.finishNode(o,"ReturnStatement")},xe.parseSwitchStatement=function(o){var x;this.next(),o.discriminant=this.parseParenExpression(),o.cases=[],this.expect(j.braceL),this.labels.push(it),this.enterScope(0);for(var V=!1;this.type!==j.braceR;)if(this.type===j._case||this.type===j._default){var Y=this.type===j._case;x&&this.finishNode(x,"SwitchCase"),o.cases.push(x=this.startNode()),x.consequent=[],this.next(),Y?x.test=this.parseExpression():(V&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),V=!0,x.test=null),this.expect(j.colon)}else x||this.unexpected(),x.consequent.push(this.parseStatement(null));return this.exitScope(),x&&this.finishNode(x,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(o,"SwitchStatement")},xe.parseThrowStatement=function(o){return this.next(),Te.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),o.argument=this.parseExpression(),this.semicolon(),this.finishNode(o,"ThrowStatement")};var Qe=[];xe.parseCatchClauseParam=function(){var o=this.parseBindingAtom(),x=o.type==="Identifier";return this.enterScope(x?32:0),this.checkLValPattern(o,x?4:2),this.expect(j.parenR),o},xe.parseTryStatement=function(o){if(this.next(),o.block=this.parseBlock(),o.handler=null,this.type===j._catch){var x=this.startNode();this.next(),this.eat(j.parenL)?x.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),x.param=null,this.enterScope(0)),x.body=this.parseBlock(!1),this.exitScope(),o.handler=this.finishNode(x,"CatchClause")}return o.finalizer=this.eat(j._finally)?this.parseBlock():null,o.handler||o.finalizer||this.raise(o.start,"Missing catch or finally clause"),this.finishNode(o,"TryStatement")},xe.parseVarStatement=function(o,x,V){return this.next(),this.parseVar(o,!1,x,V),this.semicolon(),this.finishNode(o,"VariableDeclaration")},xe.parseWhileStatement=function(o){return this.next(),o.test=this.parseParenExpression(),this.labels.push(ze),o.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(o,"WhileStatement")},xe.parseWithStatement=function(o){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),o.object=this.parseParenExpression(),o.body=this.parseStatement("with"),this.finishNode(o,"WithStatement")},xe.parseEmptyStatement=function(o){return this.next(),this.finishNode(o,"EmptyStatement")},xe.parseLabeledStatement=function(o,x,V,Y){for(var ue=0,je=this.labels;ue<je.length;ue+=1)je[ue].name===x&&this.raise(V.start,"Label '"+x+"' is already declared");for(var Me=this.type.isLoop?"loop":this.type===j._switch?"switch":null,Xe=this.labels.length-1;Xe>=0;Xe--){var ft=this.labels[Xe];if(ft.statementStart!==o.start)break;ft.statementStart=this.start,ft.kind=Me}return this.labels.push({name:x,kind:Me,statementStart:this.start}),o.body=this.parseStatement(Y?Y.indexOf("label")===-1?Y+"label":Y:"label"),this.labels.pop(),o.label=V,this.finishNode(o,"LabeledStatement")},xe.parseExpressionStatement=function(o,x){return o.expression=x,this.semicolon(),this.finishNode(o,"ExpressionStatement")},xe.parseBlock=function(o,x,V){for(o===void 0&&(o=!0),x===void 0&&(x=this.startNode()),x.body=[],this.expect(j.braceL),o&&this.enterScope(0);this.type!==j.braceR;){var Y=this.parseStatement(null);x.body.push(Y)}return V&&(this.strict=!1),this.next(),o&&this.exitScope(),this.finishNode(x,"BlockStatement")},xe.parseFor=function(o,x){return o.init=x,this.expect(j.semi),o.test=this.type===j.semi?null:this.parseExpression(),this.expect(j.semi),o.update=this.type===j.parenR?null:this.parseExpression(),this.expect(j.parenR),o.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(o,"ForStatement")},xe.parseForIn=function(o,x){var V=this.type===j._in;return this.next(),x.type==="VariableDeclaration"&&x.declarations[0].init!=null&&(!V||this.options.ecmaVersion<8||this.strict||x.kind!=="var"||x.declarations[0].id.type!=="Identifier")&&this.raise(x.start,(V?"for-in":"for-of")+" loop variable declaration may not have an initializer"),o.left=x,o.right=V?this.parseExpression():this.parseMaybeAssign(),this.expect(j.parenR),o.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(o,V?"ForInStatement":"ForOfStatement")},xe.parseVar=function(o,x,V,Y){for(o.declarations=[],o.kind=V;;){var ue=this.startNode();if(this.parseVarId(ue,V),this.eat(j.eq)?ue.init=this.parseMaybeAssign(x):Y||V!=="const"||this.type===j._in||this.options.ecmaVersion>=6&&this.isContextual("of")?Y||V!=="using"&&V!=="await using"||!(this.options.ecmaVersion>=17)||this.type===j._in||this.isContextual("of")?Y||ue.id.type==="Identifier"||x&&(this.type===j._in||this.isContextual("of"))?ue.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.raise(this.lastTokEnd,"Missing initializer in "+V+" declaration"):this.unexpected(),o.declarations.push(this.finishNode(ue,"VariableDeclarator")),!this.eat(j.comma))break}return o},xe.parseVarId=function(o,x){o.id=x==="using"||x==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(o.id,x==="var"?1:2,!1)};var lt=1,ct=2;function Ye(o,x){var V=x.key.name,Y=o[V],ue="true";return x.type!=="MethodDefinition"||x.kind!=="get"&&x.kind!=="set"||(ue=(x.static?"s":"i")+x.kind),Y==="iget"&&ue==="iset"||Y==="iset"&&ue==="iget"||Y==="sget"&&ue==="sset"||Y==="sset"&&ue==="sget"?(o[V]="true",!1):!!Y||(o[V]=ue,!1)}function xt(o,x){var V=o.computed,Y=o.key;return!V&&(Y.type==="Identifier"&&Y.name===x||Y.type==="Literal"&&Y.value===x)}xe.parseFunction=function(o,x,V,Y,ue){this.initFunction(o),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!Y)&&(this.type===j.star&&x&ct&&this.unexpected(),o.generator=this.eat(j.star)),this.options.ecmaVersion>=8&&(o.async=!!Y),x<&&(o.id=4&x&&this.type!==j.name?null:this.parseIdent(),!o.id||x&ct||this.checkLValSimple(o.id,this.strict||o.generator||o.async?this.treatFunctionsAsVar?1:2:3));var je=this.yieldPos,Me=this.awaitPos,Xe=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Ae(o.async,o.generator)),x<||(o.id=this.type===j.name?this.parseIdent():null),this.parseFunctionParams(o),this.parseFunctionBody(o,V,!1,ue),this.yieldPos=je,this.awaitPos=Me,this.awaitIdentPos=Xe,this.finishNode(o,x<?"FunctionDeclaration":"FunctionExpression")},xe.parseFunctionParams=function(o){this.expect(j.parenL),o.params=this.parseBindingList(j.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},xe.parseClass=function(o,x){this.next();var V=this.strict;this.strict=!0,this.parseClassId(o,x),this.parseClassSuper(o);var Y=this.enterClassBody(),ue=this.startNode(),je=!1;for(ue.body=[],this.expect(j.braceL);this.type!==j.braceR;){var Me=this.parseClassElement(o.superClass!==null);Me&&(ue.body.push(Me),Me.type==="MethodDefinition"&&Me.kind==="constructor"?(je&&this.raiseRecoverable(Me.start,"Duplicate constructor in the same class"),je=!0):Me.key&&Me.key.type==="PrivateIdentifier"&&Ye(Y,Me)&&this.raiseRecoverable(Me.key.start,"Identifier '#"+Me.key.name+"' has already been declared"))}return this.strict=V,this.next(),o.body=this.finishNode(ue,"ClassBody"),this.exitClassBody(),this.finishNode(o,x?"ClassDeclaration":"ClassExpression")},xe.parseClassElement=function(o){if(this.eat(j.semi))return null;var x=this.options.ecmaVersion,V=this.startNode(),Y="",ue=!1,je=!1,Me="method",Xe=!1;if(this.eatContextual("static")){if(x>=13&&this.eat(j.braceL))return this.parseClassStaticBlock(V),V;this.isClassElementNameStart()||this.type===j.star?Xe=!0:Y="static"}if(V.static=Xe,!Y&&x>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==j.star||this.canInsertSemicolon()?Y="async":je=!0),!Y&&(x>=9||!je)&&this.eat(j.star)&&(ue=!0),!Y&&!je&&!ue){var ft=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?Me=ft:Y=ft)}if(Y?(V.computed=!1,V.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),V.key.name=Y,this.finishNode(V.key,"Identifier")):this.parseClassElementName(V),x<13||this.type===j.parenL||Me!=="method"||ue||je){var Tt=!V.static&&xt(V,"constructor"),Ot=Tt&&o;Tt&&Me!=="method"&&this.raise(V.key.start,"Constructor can't have get/set modifier"),V.kind=Tt?"constructor":Me,this.parseClassMethod(V,ue,je,Ot)}else this.parseClassField(V);return V},xe.isClassElementNameStart=function(){return this.type===j.name||this.type===j.privateId||this.type===j.num||this.type===j.string||this.type===j.bracketL||this.type.keyword},xe.parseClassElementName=function(o){this.type===j.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),o.computed=!1,o.key=this.parsePrivateIdent()):this.parsePropertyName(o)},xe.parseClassMethod=function(o,x,V,Y){var ue=o.key;o.kind==="constructor"?(x&&this.raise(ue.start,"Constructor can't be a generator"),V&&this.raise(ue.start,"Constructor can't be an async method")):o.static&&xt(o,"prototype")&&this.raise(ue.start,"Classes may not have a static property named prototype");var je=o.value=this.parseMethod(x,V,Y);return o.kind==="get"&&je.params.length!==0&&this.raiseRecoverable(je.start,"getter should have no params"),o.kind==="set"&&je.params.length!==1&&this.raiseRecoverable(je.start,"setter should have exactly one param"),o.kind==="set"&&je.params[0].type==="RestElement"&&this.raiseRecoverable(je.params[0].start,"Setter cannot use rest params"),this.finishNode(o,"MethodDefinition")},xe.parseClassField=function(o){return xt(o,"constructor")?this.raise(o.key.start,"Classes can't have a field named 'constructor'"):o.static&&xt(o,"prototype")&&this.raise(o.key.start,"Classes can't have a static field named 'prototype'"),this.eat(j.eq)?(this.enterScope(576),o.value=this.parseMaybeAssign(),this.exitScope()):o.value=null,this.semicolon(),this.finishNode(o,"PropertyDefinition")},xe.parseClassStaticBlock=function(o){o.body=[];var x=this.labels;for(this.labels=[],this.enterScope(320);this.type!==j.braceR;){var V=this.parseStatement(null);o.body.push(V)}return this.next(),this.exitScope(),this.labels=x,this.finishNode(o,"StaticBlock")},xe.parseClassId=function(o,x){this.type===j.name?(o.id=this.parseIdent(),x&&this.checkLValSimple(o.id,2,!1)):(x===!0&&this.unexpected(),o.id=null)},xe.parseClassSuper=function(o){o.superClass=this.eat(j._extends)?this.parseExprSubscripts(null,!1):null},xe.enterClassBody=function(){var o={declared:Object.create(null),used:[]};return this.privateNameStack.push(o),o.declared},xe.exitClassBody=function(){var o=this.privateNameStack.pop(),x=o.declared,V=o.used;if(this.options.checkPrivateFields)for(var Y=this.privateNameStack.length,ue=Y===0?null:this.privateNameStack[Y-1],je=0;je<V.length;++je){var Me=V[je];ut(x,Me.name)||(ue?ue.used.push(Me):this.raiseRecoverable(Me.start,"Private field '#"+Me.name+"' must be declared in an enclosing class"))}},xe.parseExportAllDeclaration=function(o,x){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(o.exported=this.parseModuleExportName(),this.checkExport(x,o.exported,this.lastTokStart)):o.exported=null),this.expectContextual("from"),this.type!==j.string&&this.unexpected(),o.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(o.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(o,"ExportAllDeclaration")},xe.parseExport=function(o,x){if(this.next(),this.eat(j.star))return this.parseExportAllDeclaration(o,x);if(this.eat(j._default))return this.checkExport(x,"default",this.lastTokStart),o.declaration=this.parseExportDefaultDeclaration(),this.finishNode(o,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())o.declaration=this.parseExportDeclaration(o),o.declaration.type==="VariableDeclaration"?this.checkVariableExport(x,o.declaration.declarations):this.checkExport(x,o.declaration.id,o.declaration.id.start),o.specifiers=[],o.source=null,this.options.ecmaVersion>=16&&(o.attributes=[]);else{if(o.declaration=null,o.specifiers=this.parseExportSpecifiers(x),this.eatContextual("from"))this.type!==j.string&&this.unexpected(),o.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(o.attributes=this.parseWithClause());else{for(var V=0,Y=o.specifiers;V<Y.length;V+=1){var ue=Y[V];this.checkUnreserved(ue.local),this.checkLocalExport(ue.local),ue.local.type==="Literal"&&this.raise(ue.local.start,"A string literal cannot be used as an exported binding without `from`.")}o.source=null,this.options.ecmaVersion>=16&&(o.attributes=[])}this.semicolon()}return this.finishNode(o,"ExportNamedDeclaration")},xe.parseExportDeclaration=function(o){return this.parseStatement(null)},xe.parseExportDefaultDeclaration=function(){var o;if(this.type===j._function||(o=this.isAsyncFunction())){var x=this.startNode();return this.next(),o&&this.next(),this.parseFunction(x,4|lt,!1,o)}if(this.type===j._class){var V=this.startNode();return this.parseClass(V,"nullableID")}var Y=this.parseMaybeAssign();return this.semicolon(),Y},xe.checkExport=function(o,x,V){o&&(typeof x!="string"&&(x=x.type==="Identifier"?x.name:x.value),ut(o,x)&&this.raiseRecoverable(V,"Duplicate export '"+x+"'"),o[x]=!0)},xe.checkPatternExport=function(o,x){var V=x.type;if(V==="Identifier")this.checkExport(o,x,x.start);else if(V==="ObjectPattern")for(var Y=0,ue=x.properties;Y<ue.length;Y+=1){var je=ue[Y];this.checkPatternExport(o,je)}else if(V==="ArrayPattern")for(var Me=0,Xe=x.elements;Me<Xe.length;Me+=1){var ft=Xe[Me];ft&&this.checkPatternExport(o,ft)}else V==="Property"?this.checkPatternExport(o,x.value):V==="AssignmentPattern"?this.checkPatternExport(o,x.left):V==="RestElement"&&this.checkPatternExport(o,x.argument)},xe.checkVariableExport=function(o,x){if(o)for(var V=0,Y=x;V<Y.length;V+=1){var ue=Y[V];this.checkPatternExport(o,ue.id)}},xe.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},xe.parseExportSpecifier=function(o){var x=this.startNode();return x.local=this.parseModuleExportName(),x.exported=this.eatContextual("as")?this.parseModuleExportName():x.local,this.checkExport(o,x.exported,x.exported.start),this.finishNode(x,"ExportSpecifier")},xe.parseExportSpecifiers=function(o){var x=[],V=!0;for(this.expect(j.braceL);!this.eat(j.braceR);){if(V)V=!1;else if(this.expect(j.comma),this.afterTrailingComma(j.braceR))break;x.push(this.parseExportSpecifier(o))}return x},xe.parseImport=function(o){return this.next(),this.type===j.string?(o.specifiers=Qe,o.source=this.parseExprAtom()):(o.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),o.source=this.type===j.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(o.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(o,"ImportDeclaration")},xe.parseImportSpecifier=function(){var o=this.startNode();return o.imported=this.parseModuleExportName(),this.eatContextual("as")?o.local=this.parseIdent():(this.checkUnreserved(o.imported),o.local=o.imported),this.checkLValSimple(o.local,2),this.finishNode(o,"ImportSpecifier")},xe.parseImportDefaultSpecifier=function(){var o=this.startNode();return o.local=this.parseIdent(),this.checkLValSimple(o.local,2),this.finishNode(o,"ImportDefaultSpecifier")},xe.parseImportNamespaceSpecifier=function(){var o=this.startNode();return this.next(),this.expectContextual("as"),o.local=this.parseIdent(),this.checkLValSimple(o.local,2),this.finishNode(o,"ImportNamespaceSpecifier")},xe.parseImportSpecifiers=function(){var o=[],x=!0;if(this.type===j.name&&(o.push(this.parseImportDefaultSpecifier()),!this.eat(j.comma)))return o;if(this.type===j.star)return o.push(this.parseImportNamespaceSpecifier()),o;for(this.expect(j.braceL);!this.eat(j.braceR);){if(x)x=!1;else if(this.expect(j.comma),this.afterTrailingComma(j.braceR))break;o.push(this.parseImportSpecifier())}return o},xe.parseWithClause=function(){var o=[];if(!this.eat(j._with))return o;this.expect(j.braceL);for(var x={},V=!0;!this.eat(j.braceR);){if(V)V=!1;else if(this.expect(j.comma),this.afterTrailingComma(j.braceR))break;var Y=this.parseImportAttribute(),ue=Y.key.type==="Identifier"?Y.key.name:Y.key.value;ut(x,ue)&&this.raiseRecoverable(Y.key.start,"Duplicate attribute key '"+ue+"'"),x[ue]=!0,o.push(Y)}return o},xe.parseImportAttribute=function(){var o=this.startNode();return o.key=this.type===j.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(j.colon),this.type!==j.string&&this.unexpected(),o.value=this.parseExprAtom(),this.finishNode(o,"ImportAttribute")},xe.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===j.string){var o=this.parseLiteral(this.value);return Ne.test(o.value)&&this.raise(o.start,"An export name cannot include a lone surrogate."),o}return this.parseIdent(!0)},xe.adaptDirectivePrologue=function(o){for(var x=0;x<o.length&&this.isDirectiveCandidate(o[x]);++x)o[x].directive=o[x].expression.raw.slice(1,-1)},xe.isDirectiveCandidate=function(o){return this.options.ecmaVersion>=5&&o.type==="ExpressionStatement"&&o.expression.type==="Literal"&&typeof o.expression.value=="string"&&(this.input[o.start]==='"'||this.input[o.start]==="'")};var St=Ge.prototype;St.toAssignable=function(o,x,V){if(this.options.ecmaVersion>=6&&o)switch(o.type){case"Identifier":this.inAsync&&o.name==="await"&&this.raise(o.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":o.type="ObjectPattern",V&&this.checkPatternErrors(V,!0);for(var Y=0,ue=o.properties;Y<ue.length;Y+=1){var je=ue[Y];this.toAssignable(je,x),je.type!=="RestElement"||je.argument.type!=="ArrayPattern"&&je.argument.type!=="ObjectPattern"||this.raise(je.argument.start,"Unexpected token")}break;case"Property":o.kind!=="init"&&this.raise(o.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(o.value,x);break;case"ArrayExpression":o.type="ArrayPattern",V&&this.checkPatternErrors(V,!0),this.toAssignableList(o.elements,x);break;case"SpreadElement":o.type="RestElement",this.toAssignable(o.argument,x),o.argument.type==="AssignmentPattern"&&this.raise(o.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":o.operator!=="="&&this.raise(o.left.end,"Only '=' operator can be used for specifying default value."),o.type="AssignmentPattern",delete o.operator,this.toAssignable(o.left,x);break;case"ParenthesizedExpression":this.toAssignable(o.expression,x,V);break;case"ChainExpression":this.raiseRecoverable(o.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!x)break;default:this.raise(o.start,"Assigning to rvalue")}else V&&this.checkPatternErrors(V,!0);return o},St.toAssignableList=function(o,x){for(var V=o.length,Y=0;Y<V;Y++){var ue=o[Y];ue&&this.toAssignable(ue,x)}if(V){var je=o[V-1];this.options.ecmaVersion===6&&x&&je&&je.type==="RestElement"&&je.argument.type!=="Identifier"&&this.unexpected(je.argument.start)}return o},St.parseSpread=function(o){var x=this.startNode();return this.next(),x.argument=this.parseMaybeAssign(!1,o),this.finishNode(x,"SpreadElement")},St.parseRestBinding=function(){var o=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==j.name&&this.unexpected(),o.argument=this.parseBindingAtom(),this.finishNode(o,"RestElement")},St.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case j.bracketL:var o=this.startNode();return this.next(),o.elements=this.parseBindingList(j.bracketR,!0,!0),this.finishNode(o,"ArrayPattern");case j.braceL:return this.parseObj(!0)}return this.parseIdent()},St.parseBindingList=function(o,x,V,Y){for(var ue=[],je=!0;!this.eat(o);)if(je?je=!1:this.expect(j.comma),x&&this.type===j.comma)ue.push(null);else{if(V&&this.afterTrailingComma(o))break;if(this.type===j.ellipsis){var Me=this.parseRestBinding();this.parseBindingListItem(Me),ue.push(Me),this.type===j.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(o);break}ue.push(this.parseAssignableListItem(Y))}return ue},St.parseAssignableListItem=function(o){var x=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(x),x},St.parseBindingListItem=function(o){return o},St.parseMaybeDefault=function(o,x,V){if(V=V||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(j.eq))return V;var Y=this.startNodeAt(o,x);return Y.left=V,Y.right=this.parseMaybeAssign(),this.finishNode(Y,"AssignmentPattern")},St.checkLValSimple=function(o,x,V){x===void 0&&(x=0);var Y=x!==0;switch(o.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(o.name)&&this.raiseRecoverable(o.start,(Y?"Binding ":"Assigning to ")+o.name+" in strict mode"),Y&&(x===2&&o.name==="let"&&this.raiseRecoverable(o.start,"let is disallowed as a lexically bound name"),V&&(ut(V,o.name)&&this.raiseRecoverable(o.start,"Argument name clash"),V[o.name]=!0),x!==5&&this.declareName(o.name,x,o.start));break;case"ChainExpression":this.raiseRecoverable(o.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":Y&&this.raiseRecoverable(o.start,"Binding member expression");break;case"ParenthesizedExpression":return Y&&this.raiseRecoverable(o.start,"Binding parenthesized expression"),this.checkLValSimple(o.expression,x,V);default:this.raise(o.start,(Y?"Binding":"Assigning to")+" rvalue")}},St.checkLValPattern=function(o,x,V){switch(x===void 0&&(x=0),o.type){case"ObjectPattern":for(var Y=0,ue=o.properties;Y<ue.length;Y+=1){var je=ue[Y];this.checkLValInnerPattern(je,x,V)}break;case"ArrayPattern":for(var Me=0,Xe=o.elements;Me<Xe.length;Me+=1){var ft=Xe[Me];ft&&this.checkLValInnerPattern(ft,x,V)}break;default:this.checkLValSimple(o,x,V)}},St.checkLValInnerPattern=function(o,x,V){switch(x===void 0&&(x=0),o.type){case"Property":this.checkLValInnerPattern(o.value,x,V);break;case"AssignmentPattern":this.checkLValPattern(o.left,x,V);break;case"RestElement":this.checkLValPattern(o.argument,x,V);break;default:this.checkLValPattern(o,x,V)}};var Ft=function(o,x,V,Y,ue){this.token=o,this.isExpr=!!x,this.preserveSpace=!!V,this.override=Y,this.generator=!!ue},Dt={b_stat:new Ft("{",!1),b_expr:new Ft("{",!0),b_tmpl:new Ft("${",!1),p_stat:new Ft("(",!1),p_expr:new Ft("(",!0),q_tmpl:new Ft("`",!0,!0,function(o){return o.tryReadTemplateToken()}),f_stat:new Ft("function",!1),f_expr:new Ft("function",!0),f_expr_gen:new Ft("function",!0,!1,null,!0),f_gen:new Ft("function",!1,!1,null,!0)},Jt=Ge.prototype;Jt.initialContext=function(){return[Dt.b_stat]},Jt.curContext=function(){return this.context[this.context.length-1]},Jt.braceIsBlock=function(o){var x=this.curContext();return x===Dt.f_expr||x===Dt.f_stat||(o!==j.colon||x!==Dt.b_stat&&x!==Dt.b_expr?o===j._return||o===j.name&&this.exprAllowed?Te.test(this.input.slice(this.lastTokEnd,this.start)):o===j._else||o===j.semi||o===j.eof||o===j.parenR||o===j.arrow||(o===j.braceL?x===Dt.b_stat:o!==j._var&&o!==j._const&&o!==j.name&&!this.exprAllowed):!x.isExpr)},Jt.inGeneratorContext=function(){for(var o=this.context.length-1;o>=1;o--){var x=this.context[o];if(x.token==="function")return x.generator}return!1},Jt.updateContext=function(o){var x,V=this.type;V.keyword&&o===j.dot?this.exprAllowed=!1:(x=V.updateContext)?x.call(this,o):this.exprAllowed=V.beforeExpr},Jt.overrideContext=function(o){this.curContext()!==o&&(this.context[this.context.length-1]=o)},j.parenR.updateContext=j.braceR.updateContext=function(){if(this.context.length!==1){var o=this.context.pop();o===Dt.b_stat&&this.curContext().token==="function"&&(o=this.context.pop()),this.exprAllowed=!o.isExpr}else this.exprAllowed=!0},j.braceL.updateContext=function(o){this.context.push(this.braceIsBlock(o)?Dt.b_stat:Dt.b_expr),this.exprAllowed=!0},j.dollarBraceL.updateContext=function(){this.context.push(Dt.b_tmpl),this.exprAllowed=!0},j.parenL.updateContext=function(o){var x=o===j._if||o===j._for||o===j._with||o===j._while;this.context.push(x?Dt.p_stat:Dt.p_expr),this.exprAllowed=!0},j.incDec.updateContext=function(){},j._function.updateContext=j._class.updateContext=function(o){!o.beforeExpr||o===j._else||o===j.semi&&this.curContext()!==Dt.p_stat||o===j._return&&Te.test(this.input.slice(this.lastTokEnd,this.start))||(o===j.colon||o===j.braceL)&&this.curContext()===Dt.b_stat?this.context.push(Dt.f_stat):this.context.push(Dt.f_expr),this.exprAllowed=!1},j.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},j.backQuote.updateContext=function(){this.curContext()===Dt.q_tmpl?this.context.pop():this.context.push(Dt.q_tmpl),this.exprAllowed=!1},j.star.updateContext=function(o){if(o===j._function){var x=this.context.length-1;this.context[x]===Dt.f_expr?this.context[x]=Dt.f_expr_gen:this.context[x]=Dt.f_gen}this.exprAllowed=!0},j.name.updateContext=function(o){var x=!1;this.options.ecmaVersion>=6&&o!==j.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(x=!0),this.exprAllowed=x};var At=Ge.prototype;function Qt(o){return o.type==="Identifier"||o.type==="ParenthesizedExpression"&&Qt(o.expression)}function sn(o){return o.type==="MemberExpression"&&o.property.type==="PrivateIdentifier"||o.type==="ChainExpression"&&sn(o.expression)||o.type==="ParenthesizedExpression"&&sn(o.expression)}At.checkPropClash=function(o,x,V){if(!(this.options.ecmaVersion>=9&&o.type==="SpreadElement"||this.options.ecmaVersion>=6&&(o.computed||o.method||o.shorthand))){var Y,ue=o.key;switch(ue.type){case"Identifier":Y=ue.name;break;case"Literal":Y=String(ue.value);break;default:return}var je=o.kind;if(this.options.ecmaVersion>=6)Y==="__proto__"&&je==="init"&&(x.proto&&(V?V.doubleProto<0&&(V.doubleProto=ue.start):this.raiseRecoverable(ue.start,"Redefinition of __proto__ property")),x.proto=!0);else{var Me=x[Y="$"+Y];Me?(je==="init"?this.strict&&Me.init||Me.get||Me.set:Me.init||Me[je])&&this.raiseRecoverable(ue.start,"Redefinition of property"):Me=x[Y]={init:!1,get:!1,set:!1},Me[je]=!0}}},At.parseExpression=function(o,x){var V=this.start,Y=this.startLoc,ue=this.parseMaybeAssign(o,x);if(this.type===j.comma){var je=this.startNodeAt(V,Y);for(je.expressions=[ue];this.eat(j.comma);)je.expressions.push(this.parseMaybeAssign(o,x));return this.finishNode(je,"SequenceExpression")}return ue},At.parseMaybeAssign=function(o,x,V){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(o);this.exprAllowed=!1}var Y=!1,ue=-1,je=-1,Me=-1;x?(ue=x.parenthesizedAssign,je=x.trailingComma,Me=x.doubleProto,x.parenthesizedAssign=x.trailingComma=-1):(x=new Ie,Y=!0);var Xe=this.start,ft=this.startLoc;this.type!==j.parenL&&this.type!==j.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=o==="await");var Tt=this.parseMaybeConditional(o,x);if(V&&(Tt=V.call(this,Tt,Xe,ft)),this.type.isAssign){var Ot=this.startNodeAt(Xe,ft);return Ot.operator=this.value,this.type===j.eq&&(Tt=this.toAssignable(Tt,!1,x)),Y||(x.parenthesizedAssign=x.trailingComma=x.doubleProto=-1),x.shorthandAssign>=Tt.start&&(x.shorthandAssign=-1),this.type===j.eq?this.checkLValPattern(Tt):this.checkLValSimple(Tt),Ot.left=Tt,this.next(),Ot.right=this.parseMaybeAssign(o),Me>-1&&(x.doubleProto=Me),this.finishNode(Ot,"AssignmentExpression")}return Y&&this.checkExpressionErrors(x,!0),ue>-1&&(x.parenthesizedAssign=ue),je>-1&&(x.trailingComma=je),Tt},At.parseMaybeConditional=function(o,x){var V=this.start,Y=this.startLoc,ue=this.parseExprOps(o,x);if(this.checkExpressionErrors(x))return ue;if(this.eat(j.question)){var je=this.startNodeAt(V,Y);return je.test=ue,je.consequent=this.parseMaybeAssign(),this.expect(j.colon),je.alternate=this.parseMaybeAssign(o),this.finishNode(je,"ConditionalExpression")}return ue},At.parseExprOps=function(o,x){var V=this.start,Y=this.startLoc,ue=this.parseMaybeUnary(x,!1,!1,o);return this.checkExpressionErrors(x)||ue.start===V&&ue.type==="ArrowFunctionExpression"?ue:this.parseExprOp(ue,V,Y,-1,o)},At.parseExprOp=function(o,x,V,Y,ue){var je=this.type.binop;if(je!=null&&(!ue||this.type!==j._in)&&je>Y){var Me=this.type===j.logicalOR||this.type===j.logicalAND,Xe=this.type===j.coalesce;Xe&&(je=j.logicalAND.binop);var ft=this.value;this.next();var Tt=this.start,Ot=this.startLoc,Vt=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,ue),Tt,Ot,je,ue),nn=this.buildBinary(x,V,o,Vt,ft,Me||Xe);return(Me&&this.type===j.coalesce||Xe&&(this.type===j.logicalOR||this.type===j.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(nn,x,V,Y,ue)}return o},At.buildBinary=function(o,x,V,Y,ue,je){Y.type==="PrivateIdentifier"&&this.raise(Y.start,"Private identifier can only be left side of binary expression");var Me=this.startNodeAt(o,x);return Me.left=V,Me.operator=ue,Me.right=Y,this.finishNode(Me,je?"LogicalExpression":"BinaryExpression")},At.parseMaybeUnary=function(o,x,V,Y){var ue,je=this.start,Me=this.startLoc;if(this.isContextual("await")&&this.canAwait)ue=this.parseAwait(Y),x=!0;else if(this.type.prefix){var Xe=this.startNode(),ft=this.type===j.incDec;Xe.operator=this.value,Xe.prefix=!0,this.next(),Xe.argument=this.parseMaybeUnary(null,!0,ft,Y),this.checkExpressionErrors(o,!0),ft?this.checkLValSimple(Xe.argument):this.strict&&Xe.operator==="delete"&&Qt(Xe.argument)?this.raiseRecoverable(Xe.start,"Deleting local variable in strict mode"):Xe.operator==="delete"&&sn(Xe.argument)?this.raiseRecoverable(Xe.start,"Private fields can not be deleted"):x=!0,ue=this.finishNode(Xe,ft?"UpdateExpression":"UnaryExpression")}else if(x||this.type!==j.privateId){if(ue=this.parseExprSubscripts(o,Y),this.checkExpressionErrors(o))return ue;for(;this.type.postfix&&!this.canInsertSemicolon();){var Tt=this.startNodeAt(je,Me);Tt.operator=this.value,Tt.prefix=!1,Tt.argument=ue,this.checkLValSimple(ue),this.next(),ue=this.finishNode(Tt,"UpdateExpression")}}else(Y||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),ue=this.parsePrivateIdent(),this.type!==j._in&&this.unexpected();return V||!this.eat(j.starstar)?ue:x?void this.unexpected(this.lastTokStart):this.buildBinary(je,Me,ue,this.parseMaybeUnary(null,!1,!1,Y),"**",!1)},At.parseExprSubscripts=function(o,x){var V=this.start,Y=this.startLoc,ue=this.parseExprAtom(o,x);if(ue.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return ue;var je=this.parseSubscripts(ue,V,Y,!1,x);return o&&je.type==="MemberExpression"&&(o.parenthesizedAssign>=je.start&&(o.parenthesizedAssign=-1),o.parenthesizedBind>=je.start&&(o.parenthesizedBind=-1),o.trailingComma>=je.start&&(o.trailingComma=-1)),je},At.parseSubscripts=function(o,x,V,Y,ue){for(var je=this.options.ecmaVersion>=8&&o.type==="Identifier"&&o.name==="async"&&this.lastTokEnd===o.end&&!this.canInsertSemicolon()&&o.end-o.start===5&&this.potentialArrowAt===o.start,Me=!1;;){var Xe=this.parseSubscript(o,x,V,Y,je,Me,ue);if(Xe.optional&&(Me=!0),Xe===o||Xe.type==="ArrowFunctionExpression"){if(Me){var ft=this.startNodeAt(x,V);ft.expression=Xe,Xe=this.finishNode(ft,"ChainExpression")}return Xe}o=Xe}},At.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(j.arrow)},At.parseSubscriptAsyncArrow=function(o,x,V,Y){return this.parseArrowExpression(this.startNodeAt(o,x),V,!0,Y)},At.parseSubscript=function(o,x,V,Y,ue,je,Me){var Xe=this.options.ecmaVersion>=11,ft=Xe&&this.eat(j.questionDot);Y&&ft&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Tt=this.eat(j.bracketL);if(Tt||ft&&this.type!==j.parenL&&this.type!==j.backQuote||this.eat(j.dot)){var Ot=this.startNodeAt(x,V);Ot.object=o,Tt?(Ot.property=this.parseExpression(),this.expect(j.bracketR)):this.type===j.privateId&&o.type!=="Super"?Ot.property=this.parsePrivateIdent():Ot.property=this.parseIdent(this.options.allowReserved!=="never"),Ot.computed=!!Tt,Xe&&(Ot.optional=ft),o=this.finishNode(Ot,"MemberExpression")}else if(!Y&&this.eat(j.parenL)){var Vt=new Ie,nn=this.yieldPos,vn=this.awaitPos,Bn=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Un=this.parseExprList(j.parenR,this.options.ecmaVersion>=8,!1,Vt);if(ue&&!ft&&this.shouldParseAsyncArrow())return this.checkPatternErrors(Vt,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=nn,this.awaitPos=vn,this.awaitIdentPos=Bn,this.parseSubscriptAsyncArrow(x,V,Un,Me);this.checkExpressionErrors(Vt,!0),this.yieldPos=nn||this.yieldPos,this.awaitPos=vn||this.awaitPos,this.awaitIdentPos=Bn||this.awaitIdentPos;var Pn=this.startNodeAt(x,V);Pn.callee=o,Pn.arguments=Un,Xe&&(Pn.optional=ft),o=this.finishNode(Pn,"CallExpression")}else if(this.type===j.backQuote){(ft||je)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var In=this.startNodeAt(x,V);In.tag=o,In.quasi=this.parseTemplate({isTagged:!0}),o=this.finishNode(In,"TaggedTemplateExpression")}return o},At.parseExprAtom=function(o,x,V){this.type===j.slash&&this.readRegexp();var Y,ue=this.potentialArrowAt===this.start;switch(this.type){case j._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),Y=this.startNode(),this.next(),this.type!==j.parenL||this.allowDirectSuper||this.raise(Y.start,"super() call outside constructor of a subclass"),this.type!==j.dot&&this.type!==j.bracketL&&this.type!==j.parenL&&this.unexpected(),this.finishNode(Y,"Super");case j._this:return Y=this.startNode(),this.next(),this.finishNode(Y,"ThisExpression");case j.name:var je=this.start,Me=this.startLoc,Xe=this.containsEsc,ft=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!Xe&&ft.name==="async"&&!this.canInsertSemicolon()&&this.eat(j._function))return this.overrideContext(Dt.f_expr),this.parseFunction(this.startNodeAt(je,Me),0,!1,!0,x);if(ue&&!this.canInsertSemicolon()){if(this.eat(j.arrow))return this.parseArrowExpression(this.startNodeAt(je,Me),[ft],!1,x);if(this.options.ecmaVersion>=8&&ft.name==="async"&&this.type===j.name&&!Xe&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return ft=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(j.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(je,Me),[ft],!0,x)}return ft;case j.regexp:var Tt=this.value;return(Y=this.parseLiteral(Tt.value)).regex={pattern:Tt.pattern,flags:Tt.flags},Y;case j.num:case j.string:return this.parseLiteral(this.value);case j._null:case j._true:case j._false:return(Y=this.startNode()).value=this.type===j._null?null:this.type===j._true,Y.raw=this.type.keyword,this.next(),this.finishNode(Y,"Literal");case j.parenL:var Ot=this.start,Vt=this.parseParenAndDistinguishExpression(ue,x);return o&&(o.parenthesizedAssign<0&&!this.isSimpleAssignTarget(Vt)&&(o.parenthesizedAssign=Ot),o.parenthesizedBind<0&&(o.parenthesizedBind=Ot)),Vt;case j.bracketL:return Y=this.startNode(),this.next(),Y.elements=this.parseExprList(j.bracketR,!0,!0,o),this.finishNode(Y,"ArrayExpression");case j.braceL:return this.overrideContext(Dt.b_expr),this.parseObj(!1,o);case j._function:return Y=this.startNode(),this.next(),this.parseFunction(Y,0);case j._class:return this.parseClass(this.startNode(),!1);case j._new:return this.parseNew();case j.backQuote:return this.parseTemplate();case j._import:return this.options.ecmaVersion>=11?this.parseExprImport(V):this.unexpected();default:return this.parseExprAtomDefault()}},At.parseExprAtomDefault=function(){this.unexpected()},At.parseExprImport=function(o){var x=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===j.parenL&&!o)return this.parseDynamicImport(x);if(this.type===j.dot){var V=this.startNodeAt(x.start,x.loc&&x.loc.start);return V.name="import",x.meta=this.finishNode(V,"Identifier"),this.parseImportMeta(x)}this.unexpected()},At.parseDynamicImport=function(o){if(this.next(),o.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(j.parenR)?o.options=null:(this.expect(j.comma),this.afterTrailingComma(j.parenR)?o.options=null:(o.options=this.parseMaybeAssign(),this.eat(j.parenR)||(this.expect(j.comma),this.afterTrailingComma(j.parenR)||this.unexpected())));else if(!this.eat(j.parenR)){var x=this.start;this.eat(j.comma)&&this.eat(j.parenR)?this.raiseRecoverable(x,"Trailing comma is not allowed in import()"):this.unexpected(x)}return this.finishNode(o,"ImportExpression")},At.parseImportMeta=function(o){this.next();var x=this.containsEsc;return o.property=this.parseIdent(!0),o.property.name!=="meta"&&this.raiseRecoverable(o.property.start,"The only valid meta property for import is 'import.meta'"),x&&this.raiseRecoverable(o.start,"'import.meta' must not contain escaped characters"),this.options.sourceType==="module"||this.options.allowImportExportEverywhere||this.raiseRecoverable(o.start,"Cannot use 'import.meta' outside a module"),this.finishNode(o,"MetaProperty")},At.parseLiteral=function(o){var x=this.startNode();return x.value=o,x.raw=this.input.slice(this.start,this.end),x.raw.charCodeAt(x.raw.length-1)===110&&(x.bigint=x.value!=null?x.value.toString():x.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(x,"Literal")},At.parseParenExpression=function(){this.expect(j.parenL);var o=this.parseExpression();return this.expect(j.parenR),o},At.shouldParseArrow=function(o){return!this.canInsertSemicolon()},At.parseParenAndDistinguishExpression=function(o,x){var V,Y=this.start,ue=this.startLoc,je=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Me,Xe=this.start,ft=this.startLoc,Tt=[],Ot=!0,Vt=!1,nn=new Ie,vn=this.yieldPos,Bn=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==j.parenR;){if(Ot?Ot=!1:this.expect(j.comma),je&&this.afterTrailingComma(j.parenR,!0)){Vt=!0;break}if(this.type===j.ellipsis){Me=this.start,Tt.push(this.parseParenItem(this.parseRestBinding())),this.type===j.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}Tt.push(this.parseMaybeAssign(!1,nn,this.parseParenItem))}var Un=this.lastTokEnd,Pn=this.lastTokEndLoc;if(this.expect(j.parenR),o&&this.shouldParseArrow(Tt)&&this.eat(j.arrow))return this.checkPatternErrors(nn,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=vn,this.awaitPos=Bn,this.parseParenArrowList(Y,ue,Tt,x);Tt.length&&!Vt||this.unexpected(this.lastTokStart),Me&&this.unexpected(Me),this.checkExpressionErrors(nn,!0),this.yieldPos=vn||this.yieldPos,this.awaitPos=Bn||this.awaitPos,Tt.length>1?((V=this.startNodeAt(Xe,ft)).expressions=Tt,this.finishNodeAt(V,"SequenceExpression",Un,Pn)):V=Tt[0]}else V=this.parseParenExpression();if(this.options.preserveParens){var In=this.startNodeAt(Y,ue);return In.expression=V,this.finishNode(In,"ParenthesizedExpression")}return V},At.parseParenItem=function(o){return o},At.parseParenArrowList=function(o,x,V,Y){return this.parseArrowExpression(this.startNodeAt(o,x),V,!1,Y)};var bn=[];At.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var o=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===j.dot){var x=this.startNodeAt(o.start,o.loc&&o.loc.start);x.name="new",o.meta=this.finishNode(x,"Identifier"),this.next();var V=this.containsEsc;return o.property=this.parseIdent(!0),o.property.name!=="target"&&this.raiseRecoverable(o.property.start,"The only valid meta property for new is 'new.target'"),V&&this.raiseRecoverable(o.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(o.start,"'new.target' can only be used in functions and class static block"),this.finishNode(o,"MetaProperty")}var Y=this.start,ue=this.startLoc;return o.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),Y,ue,!0,!1),this.eat(j.parenL)?o.arguments=this.parseExprList(j.parenR,this.options.ecmaVersion>=8,!1):o.arguments=bn,this.finishNode(o,"NewExpression")},At.parseTemplateElement=function(o){var x=o.isTagged,V=this.startNode();return this.type===j.invalidTemplate?(x||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),V.value={raw:this.value.replace(/\r\n?/g,`
|
|
463
|
-
`),cooked:null}):V.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
464
|
-
`),cooked:this.value},this.next(),V.tail=this.type===j.backQuote,this.finishNode(V,"TemplateElement")},At.parseTemplate=function(o){o===void 0&&(o={});var x=o.isTagged;x===void 0&&(x=!1);var V=this.startNode();this.next(),V.expressions=[];var Y=this.parseTemplateElement({isTagged:x});for(V.quasis=[Y];!Y.tail;)this.type===j.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(j.dollarBraceL),V.expressions.push(this.parseExpression()),this.expect(j.braceR),V.quasis.push(Y=this.parseTemplateElement({isTagged:x}));return this.next(),this.finishNode(V,"TemplateLiteral")},At.isAsyncProp=function(o){return!o.computed&&o.key.type==="Identifier"&&o.key.name==="async"&&(this.type===j.name||this.type===j.num||this.type===j.string||this.type===j.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===j.star)&&!Te.test(this.input.slice(this.lastTokEnd,this.start))},At.parseObj=function(o,x){var V=this.startNode(),Y=!0,ue={};for(V.properties=[],this.next();!this.eat(j.braceR);){if(Y)Y=!1;else if(this.expect(j.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(j.braceR))break;var je=this.parseProperty(o,x);o||this.checkPropClash(je,ue,x),V.properties.push(je)}return this.finishNode(V,o?"ObjectPattern":"ObjectExpression")},At.parseProperty=function(o,x){var V,Y,ue,je,Me=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(j.ellipsis))return o?(Me.argument=this.parseIdent(!1),this.type===j.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(Me,"RestElement")):(Me.argument=this.parseMaybeAssign(!1,x),this.type===j.comma&&x&&x.trailingComma<0&&(x.trailingComma=this.start),this.finishNode(Me,"SpreadElement"));this.options.ecmaVersion>=6&&(Me.method=!1,Me.shorthand=!1,(o||x)&&(ue=this.start,je=this.startLoc),o||(V=this.eat(j.star)));var Xe=this.containsEsc;return this.parsePropertyName(Me),!o&&!Xe&&this.options.ecmaVersion>=8&&!V&&this.isAsyncProp(Me)?(Y=!0,V=this.options.ecmaVersion>=9&&this.eat(j.star),this.parsePropertyName(Me)):Y=!1,this.parsePropertyValue(Me,o,V,Y,ue,je,x,Xe),this.finishNode(Me,"Property")},At.parseGetterSetter=function(o){var x=o.key.name;this.parsePropertyName(o),o.value=this.parseMethod(!1),o.kind=x;var V=o.kind==="get"?0:1;if(o.value.params.length!==V){var Y=o.value.start;o.kind==="get"?this.raiseRecoverable(Y,"getter should have no params"):this.raiseRecoverable(Y,"setter should have exactly one param")}else o.kind==="set"&&o.value.params[0].type==="RestElement"&&this.raiseRecoverable(o.value.params[0].start,"Setter cannot use rest params")},At.parsePropertyValue=function(o,x,V,Y,ue,je,Me,Xe){(V||Y)&&this.type===j.colon&&this.unexpected(),this.eat(j.colon)?(o.value=x?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,Me),o.kind="init"):this.options.ecmaVersion>=6&&this.type===j.parenL?(x&&this.unexpected(),o.method=!0,o.value=this.parseMethod(V,Y),o.kind="init"):x||Xe||!(this.options.ecmaVersion>=5)||o.computed||o.key.type!=="Identifier"||o.key.name!=="get"&&o.key.name!=="set"||this.type===j.comma||this.type===j.braceR||this.type===j.eq?this.options.ecmaVersion>=6&&!o.computed&&o.key.type==="Identifier"?((V||Y)&&this.unexpected(),this.checkUnreserved(o.key),o.key.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=ue),x?o.value=this.parseMaybeDefault(ue,je,this.copyNode(o.key)):this.type===j.eq&&Me?(Me.shorthandAssign<0&&(Me.shorthandAssign=this.start),o.value=this.parseMaybeDefault(ue,je,this.copyNode(o.key))):o.value=this.copyNode(o.key),o.kind="init",o.shorthand=!0):this.unexpected():((V||Y)&&this.unexpected(),this.parseGetterSetter(o))},At.parsePropertyName=function(o){if(this.options.ecmaVersion>=6){if(this.eat(j.bracketL))return o.computed=!0,o.key=this.parseMaybeAssign(),this.expect(j.bracketR),o.key;o.computed=!1}return o.key=this.type===j.num||this.type===j.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},At.initFunction=function(o){o.id=null,this.options.ecmaVersion>=6&&(o.generator=o.expression=!1),this.options.ecmaVersion>=8&&(o.async=!1)},At.parseMethod=function(o,x,V){var Y=this.startNode(),ue=this.yieldPos,je=this.awaitPos,Me=this.awaitIdentPos;return this.initFunction(Y),this.options.ecmaVersion>=6&&(Y.generator=o),this.options.ecmaVersion>=8&&(Y.async=!!x),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|Ae(x,Y.generator)|(V?128:0)),this.expect(j.parenL),Y.params=this.parseBindingList(j.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(Y,!1,!0,!1),this.yieldPos=ue,this.awaitPos=je,this.awaitIdentPos=Me,this.finishNode(Y,"FunctionExpression")},At.parseArrowExpression=function(o,x,V,Y){var ue=this.yieldPos,je=this.awaitPos,Me=this.awaitIdentPos;return this.enterScope(16|Ae(V,!1)),this.initFunction(o),this.options.ecmaVersion>=8&&(o.async=!!V),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,o.params=this.toAssignableList(x,!0),this.parseFunctionBody(o,!0,!1,Y),this.yieldPos=ue,this.awaitPos=je,this.awaitIdentPos=Me,this.finishNode(o,"ArrowFunctionExpression")},At.parseFunctionBody=function(o,x,V,Y){var ue=x&&this.type!==j.braceL,je=this.strict,Me=!1;if(ue)o.body=this.parseMaybeAssign(Y),o.expression=!0,this.checkParams(o,!1);else{var Xe=this.options.ecmaVersion>=7&&!this.isSimpleParamList(o.params);je&&!Xe||(Me=this.strictDirective(this.end))&&Xe&&this.raiseRecoverable(o.start,"Illegal 'use strict' directive in function with non-simple parameter list");var ft=this.labels;this.labels=[],Me&&(this.strict=!0),this.checkParams(o,!je&&!Me&&!x&&!V&&this.isSimpleParamList(o.params)),this.strict&&o.id&&this.checkLValSimple(o.id,5),o.body=this.parseBlock(!1,void 0,Me&&!je),o.expression=!1,this.adaptDirectivePrologue(o.body.body),this.labels=ft}this.exitScope()},At.isSimpleParamList=function(o){for(var x=0,V=o;x<V.length;x+=1)if(V[x].type!=="Identifier")return!1;return!0},At.checkParams=function(o,x){for(var V=Object.create(null),Y=0,ue=o.params;Y<ue.length;Y+=1){var je=ue[Y];this.checkLValInnerPattern(je,1,x?null:V)}},At.parseExprList=function(o,x,V,Y){for(var ue=[],je=!0;!this.eat(o);){if(je)je=!1;else if(this.expect(j.comma),x&&this.afterTrailingComma(o))break;var Me=void 0;V&&this.type===j.comma?Me=null:this.type===j.ellipsis?(Me=this.parseSpread(Y),Y&&this.type===j.comma&&Y.trailingComma<0&&(Y.trailingComma=this.start)):Me=this.parseMaybeAssign(!1,Y),ue.push(Me)}return ue},At.checkUnreserved=function(o){var x=o.start,V=o.end,Y=o.name;this.inGenerator&&Y==="yield"&&this.raiseRecoverable(x,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&Y==="await"&&this.raiseRecoverable(x,"Cannot use 'await' as identifier inside an async function"),259&this.currentThisScope().flags||Y!=="arguments"||this.raiseRecoverable(x,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||Y!=="arguments"&&Y!=="await"||this.raise(x,"Cannot use "+Y+" in class static initialization block"),this.keywords.test(Y)&&this.raise(x,"Unexpected keyword '"+Y+"'"),this.options.ecmaVersion<6&&this.input.slice(x,V).indexOf("\\")!==-1||(this.strict?this.reservedWordsStrict:this.reservedWords).test(Y)&&(this.inAsync||Y!=="await"||this.raiseRecoverable(x,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(x,"The keyword '"+Y+"' is reserved"))},At.parseIdent=function(o){var x=this.parseIdentNode();return this.next(!!o),this.finishNode(x,"Identifier"),o||(this.checkUnreserved(x),x.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=x.start)),x},At.parseIdentNode=function(){var o=this.startNode();return this.type===j.name?o.name=this.value:this.type.keyword?(o.name=this.type.keyword,o.name!=="class"&&o.name!=="function"||this.lastTokEnd===this.lastTokStart+1&&this.input.charCodeAt(this.lastTokStart)===46||this.context.pop(),this.type=j.name):this.unexpected(),o},At.parsePrivateIdent=function(){var o=this.startNode();return this.type===j.privateId?o.name=this.value:this.unexpected(),this.next(),this.finishNode(o,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(o.start,"Private field '#"+o.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(o)),o},At.parseYield=function(o){this.yieldPos||(this.yieldPos=this.start);var x=this.startNode();return this.next(),this.type===j.semi||this.canInsertSemicolon()||this.type!==j.star&&!this.type.startsExpr?(x.delegate=!1,x.argument=null):(x.delegate=this.eat(j.star),x.argument=this.parseMaybeAssign(o)),this.finishNode(x,"YieldExpression")},At.parseAwait=function(o){this.awaitPos||(this.awaitPos=this.start);var x=this.startNode();return this.next(),x.argument=this.parseMaybeUnary(null,!0,!1,o),this.finishNode(x,"AwaitExpression")};var on=Ge.prototype;on.raise=function(o,x){var V=$e(this.input,o);x+=" ("+V.line+":"+V.column+")",this.sourceFile&&(x+=" in "+this.sourceFile);var Y=new SyntaxError(x);throw Y.pos=o,Y.loc=V,Y.raisedAt=this.pos,Y},on.raiseRecoverable=on.raise,on.curPosition=function(){if(this.options.locations)return new ae(this.curLine,this.pos-this.lineStart)};var pn=Ge.prototype,Dn=function(o){this.flags=o,this.var=[],this.lexical=[],this.functions=[]};pn.enterScope=function(o){this.scopeStack.push(new Dn(o))},pn.exitScope=function(){this.scopeStack.pop()},pn.treatFunctionsAsVarInScope=function(o){return 2&o.flags||!this.inModule&&1&o.flags},pn.declareName=function(o,x,V){var Y=!1;if(x===2){var ue=this.currentScope();Y=ue.lexical.indexOf(o)>-1||ue.functions.indexOf(o)>-1||ue.var.indexOf(o)>-1,ue.lexical.push(o),this.inModule&&1&ue.flags&&delete this.undefinedExports[o]}else if(x===4)this.currentScope().lexical.push(o);else if(x===3){var je=this.currentScope();Y=this.treatFunctionsAsVar?je.lexical.indexOf(o)>-1:je.lexical.indexOf(o)>-1||je.var.indexOf(o)>-1,je.functions.push(o)}else for(var Me=this.scopeStack.length-1;Me>=0;--Me){var Xe=this.scopeStack[Me];if(Xe.lexical.indexOf(o)>-1&&!(32&Xe.flags&&Xe.lexical[0]===o)||!this.treatFunctionsAsVarInScope(Xe)&&Xe.functions.indexOf(o)>-1){Y=!0;break}if(Xe.var.push(o),this.inModule&&1&Xe.flags&&delete this.undefinedExports[o],259&Xe.flags)break}Y&&this.raiseRecoverable(V,"Identifier '"+o+"' has already been declared")},pn.checkLocalExport=function(o){this.scopeStack[0].lexical.indexOf(o.name)===-1&&this.scopeStack[0].var.indexOf(o.name)===-1&&(this.undefinedExports[o.name]=o)},pn.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},pn.currentVarScope=function(){for(var o=this.scopeStack.length-1;;o--){var x=this.scopeStack[o];if(771&x.flags)return x}},pn.currentThisScope=function(){for(var o=this.scopeStack.length-1;;o--){var x=this.scopeStack[o];if(771&x.flags&&!(16&x.flags))return x}};var kt=function(o,x,V){this.type="",this.start=x,this.end=0,o.options.locations&&(this.loc=new _e(o,V)),o.options.directSourceFile&&(this.sourceFile=o.options.directSourceFile),o.options.ranges&&(this.range=[x,0])},gn=Ge.prototype;function _n(o,x,V,Y){return o.type=x,o.end=V,this.options.locations&&(o.loc.end=Y),this.options.ranges&&(o.range[1]=V),o}gn.startNode=function(){return new kt(this,this.start,this.startLoc)},gn.startNodeAt=function(o,x){return new kt(this,o,x)},gn.finishNode=function(o,x){return _n.call(this,o,x,this.lastTokEnd,this.lastTokEndLoc)},gn.finishNodeAt=function(o,x,V,Y){return _n.call(this,o,x,V,Y)},gn.copyNode=function(o){var x=new kt(this,o.start,this.startLoc);for(var V in o)x[V]=o[V];return x};var Wt="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",Zt=Wt+" Extended_Pictographic",dn=Zt+" EBase EComp EMod EPres ExtPict",tn={9:Wt,10:Zt,11:Zt,12:dn,13:dn,14:dn},Fn={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},Rn="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",Jn="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",fn=Jn+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Zn=fn+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Nn=Zn+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Vn=Nn+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",$n={9:Jn,10:fn,11:Zn,12:Nn,13:Vn,14:Vn+" 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"},On={};function Wn(o){var x=On[o]={binary:rt(tn[o]+" "+Rn),binaryOfStrings:rt(Fn[o]),nonBinary:{General_Category:rt(Rn),Script:rt($n[o])}};x.nonBinary.Script_Extensions=x.nonBinary.Script,x.nonBinary.gc=x.nonBinary.General_Category,x.nonBinary.sc=x.nonBinary.Script,x.nonBinary.scx=x.nonBinary.Script_Extensions}for(var kn=0,xn=[9,10,11,12,13,14];kn<xn.length;kn+=1)Wn(xn[kn]);var yt=Ge.prototype,ot=function(o,x){this.parent=o,this.base=x||this};ot.prototype.separatedFrom=function(o){for(var x=this;x;x=x.parent)for(var V=o;V;V=V.parent)if(x.base===V.base&&x!==V)return!0;return!1},ot.prototype.sibling=function(){return new ot(this.parent,this.base)};var Ze=function(o){this.parser=o,this.validFlags="gim"+(o.options.ecmaVersion>=6?"uy":"")+(o.options.ecmaVersion>=9?"s":"")+(o.options.ecmaVersion>=13?"d":"")+(o.options.ecmaVersion>=15?"v":""),this.unicodeProperties=On[o.options.ecmaVersion>=14?14:o.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};function bt(o){return o===105||o===109||o===115}function gt(o){return o===36||o>=40&&o<=43||o===46||o===63||o>=91&&o<=94||o>=123&&o<=125}function _t(o){return o>=65&&o<=90||o>=97&&o<=122}Ze.prototype.reset=function(o,x,V){var Y=V.indexOf("v")!==-1,ue=V.indexOf("u")!==-1;this.start=0|o,this.source=x+"",this.flags=V,Y&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=ue&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=ue&&this.parser.options.ecmaVersion>=9)},Ze.prototype.raise=function(o){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+o)},Ze.prototype.at=function(o,x){x===void 0&&(x=!1);var V=this.source,Y=V.length;if(o>=Y)return-1;var ue=V.charCodeAt(o);if(!x&&!this.switchU||ue<=55295||ue>=57344||o+1>=Y)return ue;var je=V.charCodeAt(o+1);return je>=56320&&je<=57343?(ue<<10)+je-56613888:ue},Ze.prototype.nextIndex=function(o,x){x===void 0&&(x=!1);var V=this.source,Y=V.length;if(o>=Y)return Y;var ue,je=V.charCodeAt(o);return!x&&!this.switchU||je<=55295||je>=57344||o+1>=Y||(ue=V.charCodeAt(o+1))<56320||ue>57343?o+1:o+2},Ze.prototype.current=function(o){return o===void 0&&(o=!1),this.at(this.pos,o)},Ze.prototype.lookahead=function(o){return o===void 0&&(o=!1),this.at(this.nextIndex(this.pos,o),o)},Ze.prototype.advance=function(o){o===void 0&&(o=!1),this.pos=this.nextIndex(this.pos,o)},Ze.prototype.eat=function(o,x){return x===void 0&&(x=!1),this.current(x)===o&&(this.advance(x),!0)},Ze.prototype.eatChars=function(o,x){x===void 0&&(x=!1);for(var V=this.pos,Y=0,ue=o;Y<ue.length;Y+=1){var je=ue[Y],Me=this.at(V,x);if(Me===-1||Me!==je)return!1;V=this.nextIndex(V,x)}return this.pos=V,!0},yt.validateRegExpFlags=function(o){for(var x=o.validFlags,V=o.flags,Y=!1,ue=!1,je=0;je<V.length;je++){var Me=V.charAt(je);x.indexOf(Me)===-1&&this.raise(o.start,"Invalid regular expression flag"),V.indexOf(Me,je+1)>-1&&this.raise(o.start,"Duplicate regular expression flag"),Me==="u"&&(Y=!0),Me==="v"&&(ue=!0)}this.options.ecmaVersion>=15&&Y&&ue&&this.raise(o.start,"Invalid regular expression flag")},yt.validateRegExpPattern=function(o){this.regexp_pattern(o),!o.switchN&&this.options.ecmaVersion>=9&&(function(x){for(var V in x)return!0;return!1})(o.groupNames)&&(o.switchN=!0,this.regexp_pattern(o))},yt.regexp_pattern=function(o){o.pos=0,o.lastIntValue=0,o.lastStringValue="",o.lastAssertionIsQuantifiable=!1,o.numCapturingParens=0,o.maxBackReference=0,o.groupNames=Object.create(null),o.backReferenceNames.length=0,o.branchID=null,this.regexp_disjunction(o),o.pos!==o.source.length&&(o.eat(41)&&o.raise("Unmatched ')'"),(o.eat(93)||o.eat(125))&&o.raise("Lone quantifier brackets")),o.maxBackReference>o.numCapturingParens&&o.raise("Invalid escape");for(var x=0,V=o.backReferenceNames;x<V.length;x+=1){var Y=V[x];o.groupNames[Y]||o.raise("Invalid named capture referenced")}},yt.regexp_disjunction=function(o){var x=this.options.ecmaVersion>=16;for(x&&(o.branchID=new ot(o.branchID,null)),this.regexp_alternative(o);o.eat(124);)x&&(o.branchID=o.branchID.sibling()),this.regexp_alternative(o);x&&(o.branchID=o.branchID.parent),this.regexp_eatQuantifier(o,!0)&&o.raise("Nothing to repeat"),o.eat(123)&&o.raise("Lone quantifier brackets")},yt.regexp_alternative=function(o){for(;o.pos<o.source.length&&this.regexp_eatTerm(o););},yt.regexp_eatTerm=function(o){return this.regexp_eatAssertion(o)?(o.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(o)&&o.switchU&&o.raise("Invalid quantifier"),!0):!!(o.switchU?this.regexp_eatAtom(o):this.regexp_eatExtendedAtom(o))&&(this.regexp_eatQuantifier(o),!0)},yt.regexp_eatAssertion=function(o){var x=o.pos;if(o.lastAssertionIsQuantifiable=!1,o.eat(94)||o.eat(36))return!0;if(o.eat(92)){if(o.eat(66)||o.eat(98))return!0;o.pos=x}if(o.eat(40)&&o.eat(63)){var V=!1;if(this.options.ecmaVersion>=9&&(V=o.eat(60)),o.eat(61)||o.eat(33))return this.regexp_disjunction(o),o.eat(41)||o.raise("Unterminated group"),o.lastAssertionIsQuantifiable=!V,!0}return o.pos=x,!1},yt.regexp_eatQuantifier=function(o,x){return x===void 0&&(x=!1),!!this.regexp_eatQuantifierPrefix(o,x)&&(o.eat(63),!0)},yt.regexp_eatQuantifierPrefix=function(o,x){return o.eat(42)||o.eat(43)||o.eat(63)||this.regexp_eatBracedQuantifier(o,x)},yt.regexp_eatBracedQuantifier=function(o,x){var V=o.pos;if(o.eat(123)){var Y=0,ue=-1;if(this.regexp_eatDecimalDigits(o)&&(Y=o.lastIntValue,o.eat(44)&&this.regexp_eatDecimalDigits(o)&&(ue=o.lastIntValue),o.eat(125)))return ue!==-1&&ue<Y&&!x&&o.raise("numbers out of order in {} quantifier"),!0;o.switchU&&!x&&o.raise("Incomplete quantifier"),o.pos=V}return!1},yt.regexp_eatAtom=function(o){return this.regexp_eatPatternCharacters(o)||o.eat(46)||this.regexp_eatReverseSolidusAtomEscape(o)||this.regexp_eatCharacterClass(o)||this.regexp_eatUncapturingGroup(o)||this.regexp_eatCapturingGroup(o)},yt.regexp_eatReverseSolidusAtomEscape=function(o){var x=o.pos;if(o.eat(92)){if(this.regexp_eatAtomEscape(o))return!0;o.pos=x}return!1},yt.regexp_eatUncapturingGroup=function(o){var x=o.pos;if(o.eat(40)){if(o.eat(63)){if(this.options.ecmaVersion>=16){var V=this.regexp_eatModifiers(o),Y=o.eat(45);if(V||Y){for(var ue=0;ue<V.length;ue++){var je=V.charAt(ue);V.indexOf(je,ue+1)>-1&&o.raise("Duplicate regular expression modifiers")}if(Y){var Me=this.regexp_eatModifiers(o);V||Me||o.current()!==58||o.raise("Invalid regular expression modifiers");for(var Xe=0;Xe<Me.length;Xe++){var ft=Me.charAt(Xe);(Me.indexOf(ft,Xe+1)>-1||V.indexOf(ft)>-1)&&o.raise("Duplicate regular expression modifiers")}}}}if(o.eat(58)){if(this.regexp_disjunction(o),o.eat(41))return!0;o.raise("Unterminated group")}}o.pos=x}return!1},yt.regexp_eatCapturingGroup=function(o){if(o.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(o):o.current()===63&&o.raise("Invalid group"),this.regexp_disjunction(o),o.eat(41))return o.numCapturingParens+=1,!0;o.raise("Unterminated group")}return!1},yt.regexp_eatModifiers=function(o){for(var x="",V=0;(V=o.current())!==-1&&bt(V);)x+=Ve(V),o.advance();return x},yt.regexp_eatExtendedAtom=function(o){return o.eat(46)||this.regexp_eatReverseSolidusAtomEscape(o)||this.regexp_eatCharacterClass(o)||this.regexp_eatUncapturingGroup(o)||this.regexp_eatCapturingGroup(o)||this.regexp_eatInvalidBracedQuantifier(o)||this.regexp_eatExtendedPatternCharacter(o)},yt.regexp_eatInvalidBracedQuantifier=function(o){return this.regexp_eatBracedQuantifier(o,!0)&&o.raise("Nothing to repeat"),!1},yt.regexp_eatSyntaxCharacter=function(o){var x=o.current();return!!gt(x)&&(o.lastIntValue=x,o.advance(),!0)},yt.regexp_eatPatternCharacters=function(o){for(var x=o.pos,V=0;(V=o.current())!==-1&&!gt(V);)o.advance();return o.pos!==x},yt.regexp_eatExtendedPatternCharacter=function(o){var x=o.current();return!(x===-1||x===36||x>=40&&x<=43||x===46||x===63||x===91||x===94||x===124)&&(o.advance(),!0)},yt.regexp_groupSpecifier=function(o){if(o.eat(63)){this.regexp_eatGroupName(o)||o.raise("Invalid group");var x=this.options.ecmaVersion>=16,V=o.groupNames[o.lastStringValue];if(V)if(x)for(var Y=0,ue=V;Y<ue.length;Y+=1)ue[Y].separatedFrom(o.branchID)||o.raise("Duplicate capture group name");else o.raise("Duplicate capture group name");x?(V||(o.groupNames[o.lastStringValue]=[])).push(o.branchID):o.groupNames[o.lastStringValue]=!0}},yt.regexp_eatGroupName=function(o){if(o.lastStringValue="",o.eat(60)){if(this.regexp_eatRegExpIdentifierName(o)&&o.eat(62))return!0;o.raise("Invalid capture group name")}return!1},yt.regexp_eatRegExpIdentifierName=function(o){if(o.lastStringValue="",this.regexp_eatRegExpIdentifierStart(o)){for(o.lastStringValue+=Ve(o.lastIntValue);this.regexp_eatRegExpIdentifierPart(o);)o.lastStringValue+=Ve(o.lastIntValue);return!0}return!1},yt.regexp_eatRegExpIdentifierStart=function(o){var x=o.pos,V=this.options.ecmaVersion>=11,Y=o.current(V);return o.advance(V),Y===92&&this.regexp_eatRegExpUnicodeEscapeSequence(o,V)&&(Y=o.lastIntValue),(function(ue){return ye(ue,!0)||ue===36||ue===95})(Y)?(o.lastIntValue=Y,!0):(o.pos=x,!1)},yt.regexp_eatRegExpIdentifierPart=function(o){var x=o.pos,V=this.options.ecmaVersion>=11,Y=o.current(V);return o.advance(V),Y===92&&this.regexp_eatRegExpUnicodeEscapeSequence(o,V)&&(Y=o.lastIntValue),(function(ue){return we(ue,!0)||ue===36||ue===95||ue===8204||ue===8205})(Y)?(o.lastIntValue=Y,!0):(o.pos=x,!1)},yt.regexp_eatAtomEscape=function(o){return!!(this.regexp_eatBackReference(o)||this.regexp_eatCharacterClassEscape(o)||this.regexp_eatCharacterEscape(o)||o.switchN&&this.regexp_eatKGroupName(o))||(o.switchU&&(o.current()===99&&o.raise("Invalid unicode escape"),o.raise("Invalid escape")),!1)},yt.regexp_eatBackReference=function(o){var x=o.pos;if(this.regexp_eatDecimalEscape(o)){var V=o.lastIntValue;if(o.switchU)return V>o.maxBackReference&&(o.maxBackReference=V),!0;if(V<=o.numCapturingParens)return!0;o.pos=x}return!1},yt.regexp_eatKGroupName=function(o){if(o.eat(107)){if(this.regexp_eatGroupName(o))return o.backReferenceNames.push(o.lastStringValue),!0;o.raise("Invalid named reference")}return!1},yt.regexp_eatCharacterEscape=function(o){return this.regexp_eatControlEscape(o)||this.regexp_eatCControlLetter(o)||this.regexp_eatZero(o)||this.regexp_eatHexEscapeSequence(o)||this.regexp_eatRegExpUnicodeEscapeSequence(o,!1)||!o.switchU&&this.regexp_eatLegacyOctalEscapeSequence(o)||this.regexp_eatIdentityEscape(o)},yt.regexp_eatCControlLetter=function(o){var x=o.pos;if(o.eat(99)){if(this.regexp_eatControlLetter(o))return!0;o.pos=x}return!1},yt.regexp_eatZero=function(o){return o.current()===48&&!Et(o.lookahead())&&(o.lastIntValue=0,o.advance(),!0)},yt.regexp_eatControlEscape=function(o){var x=o.current();return x===116?(o.lastIntValue=9,o.advance(),!0):x===110?(o.lastIntValue=10,o.advance(),!0):x===118?(o.lastIntValue=11,o.advance(),!0):x===102?(o.lastIntValue=12,o.advance(),!0):x===114&&(o.lastIntValue=13,o.advance(),!0)},yt.regexp_eatControlLetter=function(o){var x=o.current();return!!_t(x)&&(o.lastIntValue=x%32,o.advance(),!0)},yt.regexp_eatRegExpUnicodeEscapeSequence=function(o,x){x===void 0&&(x=!1);var V,Y=o.pos,ue=x||o.switchU;if(o.eat(117)){if(this.regexp_eatFixedHexDigits(o,4)){var je=o.lastIntValue;if(ue&&je>=55296&&je<=56319){var Me=o.pos;if(o.eat(92)&&o.eat(117)&&this.regexp_eatFixedHexDigits(o,4)){var Xe=o.lastIntValue;if(Xe>=56320&&Xe<=57343)return o.lastIntValue=1024*(je-55296)+(Xe-56320)+65536,!0}o.pos=Me,o.lastIntValue=je}return!0}if(ue&&o.eat(123)&&this.regexp_eatHexDigits(o)&&o.eat(125)&&(V=o.lastIntValue)>=0&&V<=1114111)return!0;ue&&o.raise("Invalid unicode escape"),o.pos=Y}return!1},yt.regexp_eatIdentityEscape=function(o){if(o.switchU)return!!this.regexp_eatSyntaxCharacter(o)||!!o.eat(47)&&(o.lastIntValue=47,!0);var x=o.current();return!(x===99||o.switchN&&x===107)&&(o.lastIntValue=x,o.advance(),!0)},yt.regexp_eatDecimalEscape=function(o){o.lastIntValue=0;var x=o.current();if(x>=49&&x<=57){do o.lastIntValue=10*o.lastIntValue+(x-48),o.advance();while((x=o.current())>=48&&x<=57);return!0}return!1};function It(o){return _t(o)||o===95}function Be(o){return It(o)||Et(o)}function Et(o){return o>=48&&o<=57}function Nt(o){return o>=48&&o<=57||o>=65&&o<=70||o>=97&&o<=102}function jt(o){return o>=65&&o<=70?o-65+10:o>=97&&o<=102?o-97+10:o-48}function Yt(o){return o>=48&&o<=55}yt.regexp_eatCharacterClassEscape=function(o){var x=o.current();if((function(ue){return ue===100||ue===68||ue===115||ue===83||ue===119||ue===87})(x))return o.lastIntValue=-1,o.advance(),1;var V=!1;if(o.switchU&&this.options.ecmaVersion>=9&&((V=x===80)||x===112)){var Y;if(o.lastIntValue=-1,o.advance(),o.eat(123)&&(Y=this.regexp_eatUnicodePropertyValueExpression(o))&&o.eat(125))return V&&Y===2&&o.raise("Invalid property name"),Y;o.raise("Invalid property name")}return 0},yt.regexp_eatUnicodePropertyValueExpression=function(o){var x=o.pos;if(this.regexp_eatUnicodePropertyName(o)&&o.eat(61)){var V=o.lastStringValue;if(this.regexp_eatUnicodePropertyValue(o)){var Y=o.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(o,V,Y),1}}if(o.pos=x,this.regexp_eatLoneUnicodePropertyNameOrValue(o)){var ue=o.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(o,ue)}return 0},yt.regexp_validateUnicodePropertyNameAndValue=function(o,x,V){ut(o.unicodeProperties.nonBinary,x)||o.raise("Invalid property name"),o.unicodeProperties.nonBinary[x].test(V)||o.raise("Invalid property value")},yt.regexp_validateUnicodePropertyNameOrValue=function(o,x){return o.unicodeProperties.binary.test(x)?1:o.switchV&&o.unicodeProperties.binaryOfStrings.test(x)?2:void o.raise("Invalid property name")},yt.regexp_eatUnicodePropertyName=function(o){var x=0;for(o.lastStringValue="";It(x=o.current());)o.lastStringValue+=Ve(x),o.advance();return o.lastStringValue!==""},yt.regexp_eatUnicodePropertyValue=function(o){var x=0;for(o.lastStringValue="";Be(x=o.current());)o.lastStringValue+=Ve(x),o.advance();return o.lastStringValue!==""},yt.regexp_eatLoneUnicodePropertyNameOrValue=function(o){return this.regexp_eatUnicodePropertyValue(o)},yt.regexp_eatCharacterClass=function(o){if(o.eat(91)){var x=o.eat(94),V=this.regexp_classContents(o);return o.eat(93)||o.raise("Unterminated character class"),x&&V===2&&o.raise("Negated character class may contain strings"),!0}return!1},yt.regexp_classContents=function(o){return o.current()===93?1:o.switchV?this.regexp_classSetExpression(o):(this.regexp_nonEmptyClassRanges(o),1)},yt.regexp_nonEmptyClassRanges=function(o){for(;this.regexp_eatClassAtom(o);){var x=o.lastIntValue;if(o.eat(45)&&this.regexp_eatClassAtom(o)){var V=o.lastIntValue;!o.switchU||x!==-1&&V!==-1||o.raise("Invalid character class"),x!==-1&&V!==-1&&x>V&&o.raise("Range out of order in character class")}}},yt.regexp_eatClassAtom=function(o){var x=o.pos;if(o.eat(92)){if(this.regexp_eatClassEscape(o))return!0;if(o.switchU){var V=o.current();(V===99||Yt(V))&&o.raise("Invalid class escape"),o.raise("Invalid escape")}o.pos=x}var Y=o.current();return Y!==93&&(o.lastIntValue=Y,o.advance(),!0)},yt.regexp_eatClassEscape=function(o){var x=o.pos;if(o.eat(98))return o.lastIntValue=8,!0;if(o.switchU&&o.eat(45))return o.lastIntValue=45,!0;if(!o.switchU&&o.eat(99)){if(this.regexp_eatClassControlLetter(o))return!0;o.pos=x}return this.regexp_eatCharacterClassEscape(o)||this.regexp_eatCharacterEscape(o)},yt.regexp_classSetExpression=function(o){var x,V=1;if(!this.regexp_eatClassSetRange(o))if(x=this.regexp_eatClassSetOperand(o)){x===2&&(V=2);for(var Y=o.pos;o.eatChars([38,38]);)o.current()!==38&&(x=this.regexp_eatClassSetOperand(o))?x!==2&&(V=1):o.raise("Invalid character in character class");if(Y!==o.pos)return V;for(;o.eatChars([45,45]);)this.regexp_eatClassSetOperand(o)||o.raise("Invalid character in character class");if(Y!==o.pos)return V}else o.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(o)){if(!(x=this.regexp_eatClassSetOperand(o)))return V;x===2&&(V=2)}},yt.regexp_eatClassSetRange=function(o){var x=o.pos;if(this.regexp_eatClassSetCharacter(o)){var V=o.lastIntValue;if(o.eat(45)&&this.regexp_eatClassSetCharacter(o)){var Y=o.lastIntValue;return V!==-1&&Y!==-1&&V>Y&&o.raise("Range out of order in character class"),!0}o.pos=x}return!1},yt.regexp_eatClassSetOperand=function(o){return this.regexp_eatClassSetCharacter(o)?1:this.regexp_eatClassStringDisjunction(o)||this.regexp_eatNestedClass(o)},yt.regexp_eatNestedClass=function(o){var x=o.pos;if(o.eat(91)){var V=o.eat(94),Y=this.regexp_classContents(o);if(o.eat(93))return V&&Y===2&&o.raise("Negated character class may contain strings"),Y;o.pos=x}if(o.eat(92)){var ue=this.regexp_eatCharacterClassEscape(o);if(ue)return ue;o.pos=x}return null},yt.regexp_eatClassStringDisjunction=function(o){var x=o.pos;if(o.eatChars([92,113])){if(o.eat(123)){var V=this.regexp_classStringDisjunctionContents(o);if(o.eat(125))return V}else o.raise("Invalid escape");o.pos=x}return null},yt.regexp_classStringDisjunctionContents=function(o){for(var x=this.regexp_classString(o);o.eat(124);)this.regexp_classString(o)===2&&(x=2);return x},yt.regexp_classString=function(o){for(var x=0;this.regexp_eatClassSetCharacter(o);)x++;return x===1?1:2},yt.regexp_eatClassSetCharacter=function(o){var x=o.pos;if(o.eat(92))return!(!this.regexp_eatCharacterEscape(o)&&!this.regexp_eatClassSetReservedPunctuator(o))||(o.eat(98)?(o.lastIntValue=8,!0):(o.pos=x,!1));var V=o.current();return!(V<0||V===o.lookahead()&&(function(Y){return Y===33||Y>=35&&Y<=38||Y>=42&&Y<=44||Y===46||Y>=58&&Y<=64||Y===94||Y===96||Y===126})(V))&&!(function(Y){return Y===40||Y===41||Y===45||Y===47||Y>=91&&Y<=93||Y>=123&&Y<=125})(V)&&(o.advance(),o.lastIntValue=V,!0)},yt.regexp_eatClassSetReservedPunctuator=function(o){var x=o.current();return!!(function(V){return V===33||V===35||V===37||V===38||V===44||V===45||V>=58&&V<=62||V===64||V===96||V===126})(x)&&(o.lastIntValue=x,o.advance(),!0)},yt.regexp_eatClassControlLetter=function(o){var x=o.current();return!(!Et(x)&&x!==95)&&(o.lastIntValue=x%32,o.advance(),!0)},yt.regexp_eatHexEscapeSequence=function(o){var x=o.pos;if(o.eat(120)){if(this.regexp_eatFixedHexDigits(o,2))return!0;o.switchU&&o.raise("Invalid escape"),o.pos=x}return!1},yt.regexp_eatDecimalDigits=function(o){var x=o.pos,V=0;for(o.lastIntValue=0;Et(V=o.current());)o.lastIntValue=10*o.lastIntValue+(V-48),o.advance();return o.pos!==x},yt.regexp_eatHexDigits=function(o){var x=o.pos,V=0;for(o.lastIntValue=0;Nt(V=o.current());)o.lastIntValue=16*o.lastIntValue+jt(V),o.advance();return o.pos!==x},yt.regexp_eatLegacyOctalEscapeSequence=function(o){if(this.regexp_eatOctalDigit(o)){var x=o.lastIntValue;if(this.regexp_eatOctalDigit(o)){var V=o.lastIntValue;x<=3&&this.regexp_eatOctalDigit(o)?o.lastIntValue=64*x+8*V+o.lastIntValue:o.lastIntValue=8*x+V}else o.lastIntValue=x;return!0}return!1},yt.regexp_eatOctalDigit=function(o){var x=o.current();return Yt(x)?(o.lastIntValue=x-48,o.advance(),!0):(o.lastIntValue=0,!1)},yt.regexp_eatFixedHexDigits=function(o,x){var V=o.pos;o.lastIntValue=0;for(var Y=0;Y<x;++Y){var ue=o.current();if(!Nt(ue))return o.pos=V,!1;o.lastIntValue=16*o.lastIntValue+jt(ue),o.advance()}return!0};var Lt=function(o){this.type=o.type,this.value=o.value,this.start=o.start,this.end=o.end,o.options.locations&&(this.loc=new _e(o,o.startLoc,o.endLoc)),o.options.ranges&&(this.range=[o.start,o.end])},vt=Ge.prototype;function hn(o){return typeof BigInt!="function"?null:BigInt(o.replace(/_/g,""))}vt.next=function(o){!o&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Lt(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},vt.getToken=function(){return this.next(),new Lt(this)},typeof Symbol<"u"&&(vt[Symbol.iterator]=function(){var o=this;return{next:function(){var x=o.getToken();return{done:x.type===j.eof,value:x}}}}),vt.nextToken=function(){var o=this.curContext();return o&&o.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(j.eof):o.override?o.override(this):void this.readToken(this.fullCharCodeAtPos())},vt.readToken=function(o){return ye(o,this.options.ecmaVersion>=6)||o===92?this.readWord():this.getTokenFromCode(o)},vt.fullCharCodeAtPos=function(){var o=this.input.charCodeAt(this.pos);if(o<=55295||o>=56320)return o;var x=this.input.charCodeAt(this.pos+1);return x<=56319||x>=57344?o:(o<<10)+x-56613888},vt.skipBlockComment=function(){var o=this.options.onComment&&this.curPosition(),x=this.pos,V=this.input.indexOf("*/",this.pos+=2);if(V===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=V+2,this.options.locations)for(var Y=void 0,ue=x;(Y=Pe(this.input,ue,this.pos))>-1;)++this.curLine,ue=this.lineStart=Y;this.options.onComment&&this.options.onComment(!0,this.input.slice(x+2,V),x,this.pos,o,this.curPosition())},vt.skipLineComment=function(o){for(var x=this.pos,V=this.options.onComment&&this.curPosition(),Y=this.input.charCodeAt(this.pos+=o);this.pos<this.input.length&&!Fe(Y);)Y=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(x+o,this.pos),x,this.pos,V,this.curPosition())},vt.skipSpace=function(){e:for(;this.pos<this.input.length;){var o=this.input.charCodeAt(this.pos);switch(o){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!(o>8&&o<14||o>=5760&&ke.test(String.fromCharCode(o))))break e;++this.pos}}},vt.finishToken=function(o,x){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var V=this.type;this.type=o,this.value=x,this.updateContext(V)},vt.readToken_dot=function(){var o=this.input.charCodeAt(this.pos+1);if(o>=48&&o<=57)return this.readNumber(!0);var x=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&o===46&&x===46?(this.pos+=3,this.finishToken(j.ellipsis)):(++this.pos,this.finishToken(j.dot))},vt.readToken_slash=function(){var o=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):o===61?this.finishOp(j.assign,2):this.finishOp(j.slash,1)},vt.readToken_mult_modulo_exp=function(o){var x=this.input.charCodeAt(this.pos+1),V=1,Y=o===42?j.star:j.modulo;return this.options.ecmaVersion>=7&&o===42&&x===42&&(++V,Y=j.starstar,x=this.input.charCodeAt(this.pos+2)),x===61?this.finishOp(j.assign,V+1):this.finishOp(Y,V)},vt.readToken_pipe_amp=function(o){var x=this.input.charCodeAt(this.pos+1);return x===o?this.options.ecmaVersion>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(j.assign,3):this.finishOp(o===124?j.logicalOR:j.logicalAND,2):x===61?this.finishOp(j.assign,2):this.finishOp(o===124?j.bitwiseOR:j.bitwiseAND,1)},vt.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(j.assign,2):this.finishOp(j.bitwiseXOR,1)},vt.readToken_plus_min=function(o){var x=this.input.charCodeAt(this.pos+1);return x===o?x!==45||this.inModule||this.input.charCodeAt(this.pos+2)!==62||this.lastTokEnd!==0&&!Te.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(j.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):x===61?this.finishOp(j.assign,2):this.finishOp(j.plusMin,1)},vt.readToken_lt_gt=function(o){var x=this.input.charCodeAt(this.pos+1),V=1;return x===o?(V=o===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+V)===61?this.finishOp(j.assign,V+1):this.finishOp(j.bitShift,V)):x!==33||o!==60||this.inModule||this.input.charCodeAt(this.pos+2)!==45||this.input.charCodeAt(this.pos+3)!==45?(x===61&&(V=2),this.finishOp(j.relational,V)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},vt.readToken_eq_excl=function(o){var x=this.input.charCodeAt(this.pos+1);return x===61?this.finishOp(j.equality,this.input.charCodeAt(this.pos+2)===61?3:2):o===61&&x===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(j.arrow)):this.finishOp(o===61?j.eq:j.prefix,1)},vt.readToken_question=function(){var o=this.options.ecmaVersion;if(o>=11){var x=this.input.charCodeAt(this.pos+1);if(x===46){var V=this.input.charCodeAt(this.pos+2);if(V<48||V>57)return this.finishOp(j.questionDot,2)}if(x===63)return o>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(j.assign,3):this.finishOp(j.coalesce,2)}return this.finishOp(j.question,1)},vt.readToken_numberSign=function(){var o=35;if(this.options.ecmaVersion>=13&&(++this.pos,ye(o=this.fullCharCodeAtPos(),!0)||o===92))return this.finishToken(j.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Ve(o)+"'")},vt.getTokenFromCode=function(o){switch(o){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(j.parenL);case 41:return++this.pos,this.finishToken(j.parenR);case 59:return++this.pos,this.finishToken(j.semi);case 44:return++this.pos,this.finishToken(j.comma);case 91:return++this.pos,this.finishToken(j.bracketL);case 93:return++this.pos,this.finishToken(j.bracketR);case 123:return++this.pos,this.finishToken(j.braceL);case 125:return++this.pos,this.finishToken(j.braceR);case 58:return++this.pos,this.finishToken(j.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(j.backQuote);case 48:var x=this.input.charCodeAt(this.pos+1);if(x===120||x===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(x===111||x===79)return this.readRadixNumber(8);if(x===98||x===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(o);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(o);case 124:case 38:return this.readToken_pipe_amp(o);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(o);case 60:case 62:return this.readToken_lt_gt(o);case 61:case 33:return this.readToken_eq_excl(o);case 63:return this.readToken_question();case 126:return this.finishOp(j.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Ve(o)+"'")},vt.finishOp=function(o,x){var V=this.input.slice(this.pos,this.pos+x);return this.pos+=x,this.finishToken(o,V)},vt.readRegexp=function(){for(var o,x,V=this.pos;;){this.pos>=this.input.length&&this.raise(V,"Unterminated regular expression");var Y=this.input.charAt(this.pos);if(Te.test(Y)&&this.raise(V,"Unterminated regular expression"),o)o=!1;else{if(Y==="[")x=!0;else if(Y==="]"&&x)x=!1;else if(Y==="/"&&!x)break;o=Y==="\\"}++this.pos}var ue=this.input.slice(V,this.pos);++this.pos;var je=this.pos,Me=this.readWord1();this.containsEsc&&this.unexpected(je);var Xe=this.regexpState||(this.regexpState=new Ze(this));Xe.reset(V,ue,Me),this.validateRegExpFlags(Xe),this.validateRegExpPattern(Xe);var ft=null;try{ft=new RegExp(ue,Me)}catch{}return this.finishToken(j.regexp,{pattern:ue,flags:Me,value:ft})},vt.readInt=function(o,x,V){for(var Y=this.options.ecmaVersion>=12&&x===void 0,ue=V&&this.input.charCodeAt(this.pos)===48,je=this.pos,Me=0,Xe=0,ft=0,Tt=x??1/0;ft<Tt;++ft,++this.pos){var Ot=this.input.charCodeAt(this.pos),Vt=void 0;if(Y&&Ot===95)ue&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),Xe===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),ft===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Xe=Ot;else{if((Vt=Ot>=97?Ot-97+10:Ot>=65?Ot-65+10:Ot>=48&&Ot<=57?Ot-48:1/0)>=o)break;Xe=Ot,Me=Me*o+Vt}}return Y&&Xe===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===je||x!=null&&this.pos-je!==x?null:Me},vt.readRadixNumber=function(o){var x=this.pos;this.pos+=2;var V=this.readInt(o);return V==null&&this.raise(this.start+2,"Expected number in radix "+o),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(V=hn(this.input.slice(x,this.pos)),++this.pos):ye(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(j.num,V)},vt.readNumber=function(o){var x=this.pos;o||this.readInt(10,void 0,!0)!==null||this.raise(x,"Invalid number");var V=this.pos-x>=2&&this.input.charCodeAt(x)===48;V&&this.strict&&this.raise(x,"Invalid number");var Y=this.input.charCodeAt(this.pos);if(!V&&!o&&this.options.ecmaVersion>=11&&Y===110){var ue=hn(this.input.slice(x,this.pos));return++this.pos,ye(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(j.num,ue)}V&&/[89]/.test(this.input.slice(x,this.pos))&&(V=!1),Y!==46||V||(++this.pos,this.readInt(10),Y=this.input.charCodeAt(this.pos)),Y!==69&&Y!==101||V||((Y=this.input.charCodeAt(++this.pos))!==43&&Y!==45||++this.pos,this.readInt(10)===null&&this.raise(x,"Invalid number")),ye(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var je,Me=(je=this.input.slice(x,this.pos),V?parseInt(je,8):parseFloat(je.replace(/_/g,"")));return this.finishToken(j.num,Me)},vt.readCodePoint=function(){var o;if(this.input.charCodeAt(this.pos)===123){this.options.ecmaVersion<6&&this.unexpected();var x=++this.pos;o=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,o>1114111&&this.invalidStringToken(x,"Code point out of bounds")}else o=this.readHexChar(4);return o},vt.readString=function(o){for(var x="",V=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var Y=this.input.charCodeAt(this.pos);if(Y===o)break;Y===92?(x+=this.input.slice(V,this.pos),x+=this.readEscapedChar(!1),V=this.pos):Y===8232||Y===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Fe(Y)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return x+=this.input.slice(V,this.pos++),this.finishToken(j.string,x)};var mn={};vt.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(o){if(o!==mn)throw o;this.readInvalidTemplateToken()}this.inTemplateElement=!1},vt.invalidStringToken=function(o,x){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw mn;this.raise(o,x)},vt.readTmplToken=function(){for(var o="",x=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var V=this.input.charCodeAt(this.pos);if(V===96||V===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos!==this.start||this.type!==j.template&&this.type!==j.invalidTemplate?(o+=this.input.slice(x,this.pos),this.finishToken(j.template,o)):V===36?(this.pos+=2,this.finishToken(j.dollarBraceL)):(++this.pos,this.finishToken(j.backQuote));if(V===92)o+=this.input.slice(x,this.pos),o+=this.readEscapedChar(!0),x=this.pos;else if(Fe(V)){switch(o+=this.input.slice(x,this.pos),++this.pos,V){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:o+=`
|
|
465
|
-
`;break;default:o+=String.fromCharCode(V)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),x=this.pos}else++this.pos}},vt.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(j.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
466
|
-
`&&++this.pos;case`
|
|
467
|
-
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},vt.readEscapedChar=function(o){var x=this.input.charCodeAt(++this.pos);switch(++this.pos,x){case 110:return`
|
|
468
|
-
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Ve(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),o){var V=this.pos-1;this.invalidStringToken(V,"Invalid escape sequence in template string")}default:if(x>=48&&x<=55){var Y=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],ue=parseInt(Y,8);return ue>255&&(Y=Y.slice(0,-1),ue=parseInt(Y,8)),this.pos+=Y.length-1,x=this.input.charCodeAt(this.pos),Y==="0"&&x!==56&&x!==57||!this.strict&&!o||this.invalidStringToken(this.pos-1-Y.length,o?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(ue)}return Fe(x)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(x)}},vt.readHexChar=function(o){var x=this.pos,V=this.readInt(16,o);return V===null&&this.invalidStringToken(x,"Bad character escape sequence"),V},vt.readWord1=function(){this.containsEsc=!1;for(var o="",x=!0,V=this.pos,Y=this.options.ecmaVersion>=6;this.pos<this.input.length;){var ue=this.fullCharCodeAtPos();if(we(ue,Y))this.pos+=ue<=65535?1:2;else{if(ue!==92)break;this.containsEsc=!0,o+=this.input.slice(V,this.pos);var je=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var Me=this.readCodePoint();(x?ye:we)(Me,Y)||this.invalidStringToken(je,"Invalid Unicode escape"),o+=Ve(Me),V=this.pos}x=!1}return o+this.input.slice(V,this.pos)},vt.readWord=function(){var o=this.readWord1(),x=j.name;return this.keywords.test(o)&&(x=Se[o]),this.finishToken(x,o)},Ge.acorn={Parser:Ge,version:"8.15.0",defaultOptions:st,Position:ae,SourceLocation:_e,getLineInfo:$e,Node:kt,TokenType:ve,tokTypes:j,keywordTypes:Se,TokContext:Ft,tokContexts:Dt,isIdentifierChar:we,isIdentifierStart:ye,Token:Lt,isNewLine:Fe,lineBreak:Te,lineBreakG:De,nonASCIIwhitespace:ke};let Sn=qt("module"),yn=(qt("fs"),qt("url")),Kt=qt("assert"),Kn=(qt("process"),qt("path"),qt("v8")),jn=qt("util");new Set(Sn.builtinModules);function qn(o){return o.replace(/\\/g,"/")}let En={}.hasOwnProperty,Mn=/^([A-Z][a-z\d]*)+$/,mi=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),un={};function ri(o,x="and"){return o.length<3?o.join(` ${x} `):`${o.slice(0,-1).join(", ")}, ${x} ${o[o.length-1]}`}let Gn=new Map,ti;function X(o,x,V){return Gn.set(o,x),(function(Y,ue){return je;function je(...Me){let Xe=Error.stackTraceLimit;n()&&(Error.stackTraceLimit=0);let ft=new Y;n()&&(Error.stackTraceLimit=Xe);let Tt=(function(Ot,Vt,nn){let vn=Gn.get(Ot);if(Kt(vn!==void 0,"expected `message` to be found"),typeof vn=="function")return Kt(vn.length<=Vt.length,`Code: ${Ot}; The provided arguments length (${Vt.length}) does not match the required ones (${vn.length}).`),Reflect.apply(vn,nn,Vt);let Bn=/%[dfijoOs]/g,Un=0;for(;Bn.exec(vn)!==null;)Un++;return Kt(Un===Vt.length,`Code: ${Ot}; The provided arguments length (${Vt.length}) does not match the required ones (${Un}).`),Vt.length===0?vn:(Vt.unshift(vn),Reflect.apply(jn.format,null,Vt))})(ue,Me,ft);return Object.defineProperties(ft,{message:{value:Tt,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${ue}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),a(ft),ft.code=ue,ft}})(V,o)}function n(){try{if(Kn.startupSnapshot.isBuildingSnapshot())return!1}catch{}let o=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return o===void 0?Object.isExtensible(Error):En.call(o,"writable")&&o.writable!==void 0?o.writable:o.set!==void 0}un.ERR_INVALID_ARG_TYPE=X("ERR_INVALID_ARG_TYPE",(o,x,V)=>{Kt(typeof o=="string","'name' must be a string"),Array.isArray(x)||(x=[x]);let Y="The ";if(o.endsWith(" argument"))Y+=`${o} `;else{let Xe=o.includes(".")?"property":"argument";Y+=`"${o}" ${Xe} `}Y+="must be ";let ue=[],je=[],Me=[];for(let Xe of x)Kt(typeof Xe=="string","All expected entries have to be of type string"),mi.has(Xe)?ue.push(Xe.toLowerCase()):Mn.exec(Xe)===null?(Kt(Xe!=="object",'The value "object" should be written as "Object"'),Me.push(Xe)):je.push(Xe);if(je.length>0){let Xe=ue.indexOf("object");Xe!==-1&&(ue.slice(Xe,1),je.push("Object"))}return ue.length>0&&(Y+=`${ue.length>1?"one of type":"of type"} ${ri(ue,"or")}`,(je.length>0||Me.length>0)&&(Y+=" or ")),je.length>0&&(Y+=`an instance of ${ri(je,"or")}`,Me.length>0&&(Y+=" or ")),Me.length>0&&(Me.length>1?Y+=`one of ${ri(Me,"or")}`:(Me[0].toLowerCase()!==Me[0]&&(Y+="an "),Y+=`${Me[0]}`)),Y+=`. Received ${(function(Xe){if(Xe==null)return String(Xe);if(typeof Xe=="function"&&Xe.name)return`function ${Xe.name}`;if(typeof Xe=="object")return Xe.constructor&&Xe.constructor.name?`an instance of ${Xe.constructor.name}`:`${(0,jn.inspect)(Xe,{depth:-1})}`;let ft=(0,jn.inspect)(Xe,{colors:!1});return ft.length>28&&(ft=`${ft.slice(0,25)}...`),`type ${typeof Xe} (${ft})`})(V)}`,Y},TypeError),un.ERR_INVALID_MODULE_SPECIFIER=X("ERR_INVALID_MODULE_SPECIFIER",(o,x,V=void 0)=>`Invalid module "${o}" ${x}${V?` imported from ${V}`:""}`,TypeError),un.ERR_INVALID_PACKAGE_CONFIG=X("ERR_INVALID_PACKAGE_CONFIG",(o,x,V)=>`Invalid package config ${o}${x?` while importing ${x}`:""}${V?`. ${V}`:""}`,Error),un.ERR_INVALID_PACKAGE_TARGET=X("ERR_INVALID_PACKAGE_TARGET",(o,x,V,Y=!1,ue=void 0)=>{let je=typeof V=="string"&&!Y&&V.length>0&&!V.startsWith("./");return x==="."?(Kt(Y===!1),`Invalid "exports" main target ${JSON.stringify(V)} defined in the package config ${o}package.json${ue?` imported from ${ue}`:""}${je?'; targets must start with "./"':""}`):`Invalid "${Y?"imports":"exports"}" target ${JSON.stringify(V)} defined for '${x}' in the package config ${o}package.json${ue?` imported from ${ue}`:""}${je?'; targets must start with "./"':""}`},Error),un.ERR_MODULE_NOT_FOUND=X("ERR_MODULE_NOT_FOUND",(o,x,V=!1)=>`Cannot find ${V?"module":"package"} '${o}' imported from ${x}`,Error),un.ERR_NETWORK_IMPORT_DISALLOWED=X("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),un.ERR_PACKAGE_IMPORT_NOT_DEFINED=X("ERR_PACKAGE_IMPORT_NOT_DEFINED",(o,x,V)=>`Package import specifier "${o}" is not defined${x?` in package ${x}package.json`:""} imported from ${V}`,TypeError),un.ERR_PACKAGE_PATH_NOT_EXPORTED=X("ERR_PACKAGE_PATH_NOT_EXPORTED",(o,x,V=void 0)=>x==="."?`No "exports" main defined in ${o}package.json${V?` imported from ${V}`:""}`:`Package subpath '${x}' is not defined by "exports" in ${o}package.json${V?` imported from ${V}`:""}`,Error),un.ERR_UNSUPPORTED_DIR_IMPORT=X("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),un.ERR_UNSUPPORTED_RESOLVE_REQUEST=X("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),un.ERR_UNKNOWN_FILE_EXTENSION=X("ERR_UNKNOWN_FILE_EXTENSION",(o,x)=>`Unknown file extension "${o}" for ${x}`,TypeError),un.ERR_INVALID_ARG_VALUE=X("ERR_INVALID_ARG_VALUE",(o,x,V="is invalid")=>{let Y=(0,jn.inspect)(x);return Y.length>128&&(Y=`${Y.slice(0,128)}...`),`The ${o.includes(".")?"property":"argument"} '${o}' ${V}. Received ${Y}`},TypeError);let a=(function(o){let x="__node_internal_"+o.name;return Object.defineProperty(o,"name",{value:x}),o})(function(o){let x=n();return x&&(ti=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(o),x&&(Error.stackTraceLimit=ti),o}),{ERR_INVALID_PACKAGE_CONFIG:m}=un,{ERR_UNKNOWN_FILE_EXTENSION:_}=un;RegExp.prototype[Symbol.replace];let{ERR_NETWORK_IMPORT_DISALLOWED:k,ERR_INVALID_MODULE_SPECIFIER:J,ERR_INVALID_PACKAGE_CONFIG:ne,ERR_INVALID_PACKAGE_TARGET:he,ERR_MODULE_NOT_FOUND:be,ERR_PACKAGE_IMPORT_NOT_DEFINED:Ue,ERR_PACKAGE_PATH_NOT_EXPORTED:nt,ERR_UNSUPPORTED_DIR_IMPORT:Pt,ERR_UNSUPPORTED_RESOLVE_REQUEST:ht}=un;function Ct(o){return typeof o!="string"||o.startsWith("file://")?qn((0,yn.fileURLToPath)(o)):qn(o)}function Gt(o){return(0,yn.pathToFileURL)(Ct(o)).toString()}function ln(o,x){return{name:"import-meta-paths",visitor:{Program(V){let Y=[],ue=[],je=[];V.traverse({MemberExpression(Me){let{node:Xe}=Me;if(Xe.object.type==="MetaProperty"&&Xe.object.meta.name==="import"&&Xe.object.property.name==="meta"&&Xe.property.type==="Identifier")switch(Xe.property.name){case"url":Y.push(Me);break;case"dirname":ue.push(Me);break;case"filename":je.push(Me)}}});for(let Me of Y)Me.replaceWith(O.smart.ast`${x.filename?JSON.stringify(Gt(x.filename)):"require('url').pathToFileURL(__filename).toString()"}`);for(let Me of ue)Me.replaceWith(O.smart.ast`${x.filename?JSON.stringify(q(Ct(Gt(x.filename)))):"__dirname"}`);for(let Me of je)Me.replaceWith(O.smart.ast`${x.filename?JSON.stringify(Ct(Gt(x.filename))):"__filename"}`)}}}}var Ut=$t("./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/index.js"),zt=$t("./node_modules/.pnpm/@babel+helper-module-transforms@7.27.3_@babel+core@7.28.0/node_modules/@babel/helper-module-transforms/lib/index.js"),Hn=$t("./node_modules/.pnpm/@babel+helper-simple-access@7.27.1/node_modules/@babel/helper-simple-access/lib/index.js");function si(o,x,V){o.replaceWith((0,zt.buildDynamicImport)(o.node,!0,!1,Y=>((ue,je,Me)=>{let Xe=ee.template.expression.ast`jitiImport(${ue})`;return Me?Xe:ee.types.callExpression(ee.types.memberExpression(Xe,ee.types.identifier("then")),[ee.types.arrowFunctionExpression([ee.types.identifier("m")],ee.types.callExpression(je.addHelper("interopRequireWildcard"),[ee.types.identifier("m")]))])})(Y,V,x)))}let ni="@babel/plugin-transform-modules-commonjs/customWrapperPlugin";function yi(o,x){if(o)for(let V of o){let Y=x(V);if(Y!=null)return Y}}let vi=(0,T.declare)((o,x)=>{let{strictNamespace:V=!1,mjsStrictNamespace:Y=V,allowTopLevelThis:ue,strict:je,strictMode:Me,noInterop:Xe,importInterop:ft,lazy:Tt=!1,allowCommonJSExports:Ot=!0,loose:Vt=!1,async:nn=!1}=x,vn=o.assumption("constantReexports")??Vt,Bn=o.assumption("enumerableModuleMeta")??Vt,Un=o.assumption("noIncompleteNsImportDetection")??!1;if(!(typeof Tt=="boolean"||typeof Tt=="function"||Array.isArray(Tt)&&Tt.every(wt=>typeof wt=="string")))throw new Error(".lazy must be a boolean, array of strings, or a function");if(typeof V!="boolean")throw new TypeError(".strictNamespace must be a boolean, or undefined");if(typeof Y!="boolean")throw new TypeError(".mjsStrictNamespace must be a boolean, or undefined");let Pn=wt=>ee.template.expression.ast`
|
|
469
|
-
(function(){
|
|
470
|
-
throw new Error(
|
|
471
|
-
"The CommonJS '" + "${wt}" + "' variable is not available in ES6 modules." +
|
|
472
|
-
"Consider setting setting sourceType:script or sourceType:unambiguous in your " +
|
|
473
|
-
"Babel config for this file.");
|
|
474
|
-
})()
|
|
475
|
-
`,In={ReferencedIdentifier(wt){let Ht=wt.node.name;if(Ht!=="module"&&Ht!=="exports")return;let Xt=wt.scope.getBinding(Ht);this.scope.getBinding(Ht)!==Xt||wt.parentPath.isObjectProperty({value:wt.node})&&wt.parentPath.parentPath.isObjectPattern()||wt.parentPath.isAssignmentExpression({left:wt.node})||wt.isAssignmentExpression({left:wt.node})||wt.replaceWith(Pn(Ht))},UpdateExpression(wt){let Ht=wt.get("argument");if(!Ht.isIdentifier())return;let Xt=Ht.node.name;if(Xt!=="module"&&Xt!=="exports")return;let Cn=wt.scope.getBinding(Xt);this.scope.getBinding(Xt)===Cn&&wt.replaceWith(ee.types.assignmentExpression(wt.node.operator[0]+"=",Ht.node,Pn(Xt)))},AssignmentExpression(wt){let Ht=wt.get("left");if(Ht.isIdentifier()){let Xt=Ht.node.name;if(Xt!=="module"&&Xt!=="exports")return;let Cn=wt.scope.getBinding(Xt);if(this.scope.getBinding(Xt)!==Cn)return;let An=wt.get("right");An.replaceWith(ee.types.sequenceExpression([An.node,Pn(Xt)]))}else if(Ht.isPattern()){let Xt=Ht.getOuterBindingIdentifiers(),Cn=Object.keys(Xt).find(An=>(An==="module"||An==="exports")&&this.scope.getBinding(An)===wt.scope.getBinding(An));if(Cn){let An=wt.get("right");An.replaceWith(ee.types.sequenceExpression([An.node,Pn(Cn)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs"),Tt&&(function(wt,Ht){let Xt=wt.get(ni);Xt||wt.set(ni,Xt=[]),Xt.push(Ht)})(this.file,(wt=>({name:"babel-plugin-transform-modules-commonjs/lazy",version:"7.24.7",getWrapperPayload:(Ht,Xt)=>(0,zt.isSideEffectImport)(Xt)||Xt.reexportAll?null:wt===!0?Ht.includes(".")?null:"lazy/function":Array.isArray(wt)?wt.includes(Ht)?"lazy/function":null:typeof wt=="function"?wt(Ht)?"lazy/function":null:void 0,buildRequireWrapper(Ht,Xt,Cn,An){if(Cn==="lazy/function")return!!An&&ee.template.statement.ast`
|
|
476
|
-
function ${Ht}() {
|
|
477
|
-
const data = ${Xt};
|
|
478
|
-
${Ht} = function(){ return data; };
|
|
479
|
-
return data;
|
|
480
|
-
}
|
|
481
|
-
`},wrapReference(Ht,Xt){if(Xt==="lazy/function")return ee.types.callExpression(Ht,[])}}))(Tt))},visitor:{["CallExpression"+(o.types.importExpression?"|ImportExpression":"")](wt){if(wt.isCallExpression()&&!ee.types.isImport(wt.node.callee))return;let{scope:Ht}=wt;do Ht.rename("require");while(Ht=Ht.parent);si(wt,Xe,this.file)},Program:{exit(wt,Ht){if(!(0,Ut.isModule)(wt))return;wt.scope.rename("exports"),wt.scope.rename("module"),wt.scope.rename("require"),wt.scope.rename("__filename"),wt.scope.rename("__dirname"),Ot||(process.env.BABEL_8_BREAKING?(0,Hn.A)(wt,new Set(["module","exports"])):(0,Hn.A)(wt,new Set(["module","exports"]),!1),wt.traverse(In,{scope:wt.scope}));let Xt=(0,zt.getModuleName)(this.file.opts,x);Xt&&(Xt=ee.types.stringLiteral(Xt));let Cn=(function(zn){let wn=zn.get(ni);return{getWrapperPayload:(...Yn)=>yi(wn,Ln=>Ln.getWrapperPayload?.(...Yn)),wrapReference:(...Yn)=>yi(wn,Ln=>Ln.wrapReference?.(...Yn)),buildRequireWrapper:(...Yn)=>yi(wn,Ln=>Ln.buildRequireWrapper?.(...Yn))}})(this.file),{meta:An,headers:ci}=(0,zt.rewriteModuleStatementsAndPrepareHeader)(wt,{exportName:"exports",constantReexports:vn,enumerableModuleMeta:Bn,strict:je,strictMode:Me,allowTopLevelThis:ue,noInterop:Xe,importInterop:ft,wrapReference:Cn.wrapReference,getWrapperPayload:Cn.getWrapperPayload,esNamespaceOnly:typeof Ht.filename=="string"&&/\.mjs$/.test(Ht.filename)?Y:V,noIncompleteNsImportDetection:Un,filename:this.file.opts.filename});for(let[zn,wn]of An.source){let Yn=nn?ee.types.awaitExpression(ee.types.callExpression(ee.types.identifier("jitiImport"),[ee.types.stringLiteral(zn)])):ee.types.callExpression(ee.types.identifier("require"),[ee.types.stringLiteral(zn)]),Ln;if((0,zt.isSideEffectImport)(wn)){if(Tt&&wn.wrap==="function")throw new Error("Assertion failure");Ln=ee.types.expressionStatement(Yn)}else{let bi=(0,zt.wrapInterop)(wt,Yn,wn.interop)||Yn;if(wn.wrap){let Ti=Cn.buildRequireWrapper(wn.name,bi,wn.wrap,wn.referenced);if(Ti===!1)continue;Ln=Ti}Ln??=ee.template.statement.ast`
|
|
482
|
-
var ${wn.name} = ${bi};
|
|
483
|
-
`}Ln.loc=wn.loc,ci.push(Ln,...(0,zt.buildNamespaceInitStatements)(An,wn,vn,Cn.wrapReference))}(0,zt.ensureStatementsHoisted)(ci),wt.unshiftContainer("body",ci),wt.get("body").forEach(zn=>{ci.includes(zn.node)&&zn.isVariableDeclaration()&&zn.scope.registerDeclaration(zn)})}}}}});function _i(o){let x={babelrc:!1,configFile:!1,compact:!1,retainLines:typeof o.retainLines!="boolean"||o.retainLines,filename:"",cwd:"/",...o.babel,plugins:[[vi,{allowTopLevelThis:!0,noInterop:!o.interopDefault,async:o.async}],[ln,{filename:o.filename}],[L],[w],[E.A],[d.A]]};o.jsx&&x.plugins.push([l.default],[t.A,Object.assign({},o.jsx)]),o.ts&&(x.plugins.push([i.default,{allowDeclareFields:!0,isTSX:o.jsx&&/\.[cm]?tsx$/.test(o.filename||"")}]),x.plugins.unshift([K],[e.A,{legacy:!0}]),x.plugins.push(v(),r.A)),o.babel&&Array.isArray(o.babel.plugins)&&x.plugins?.push(...o.babel.plugins);try{return{code:(0,ee.transformSync)(o.source,x)?.code||""}}catch(V){return{error:V,code:"exports.__JITI_ERROR__ = "+JSON.stringify({filename:o.filename,line:V.loc?.line||0,column:V.loc?.column||0,code:V.code?.replace("BABEL_","").replace("PARSE_ERROR","ParseError"),message:V.message?.replace("/: ","").replace(/\(.+\)\s*$/,"")})}}}})(),tr.exports=fi.default})()});import{createRequire as Ir}from"module";function Dr(Qn){throw Qn}function Or(Qn,Xn={}){return Xn.transform||(Xn={...Xn,transform:rr.default}),(0,ir.default)(Qn,Xn,{onError:Dr,nativeImport:Nr,createRequire:Ir})}var ir,rr,Nr,ps,kr=wr(()=>{ir=qi(Zi(),1),rr=qi(nr(),1);Nr=Qn=>import(Qn);ps=Or});kr();export{Or as createJiti,ps as default};
|