16),2,"0")),String.fromCharCode(xe)}return h.substring(X,l);case 56:case 57:return L|=2048,z?(Y(U.Escape_sequence_0_is_not_allowed,X,l-X,h.substring(X,l)),String.fromCharCode(ee)):h.substring(X,l);case 98:return"\b";case 116:return"	";case 110:return`
`;case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:if(l<v&&h.charCodeAt(l)===123){l++;let xe=rt(1,!1),ke=xe?parseInt(xe,16):-1;return ke<0?(L|=2048,z&&Y(U.Hexadecimal_digit_expected),h.substring(X,l)):UE(ke)?l>=v?(L|=2048,z&&Y(U.Unexpected_end_of_text),h.substring(X,l)):h.charCodeAt(l)!==125?(L|=2048,z&&Y(U.Unterminated_Unicode_escape_sequence),h.substring(X,l)):(l++,L|=8,Of(ke)):(L|=2048,z&&Y(U.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),h.substring(X,l))}for(;l<X+6;l++)if(!(l<v&&Rb(h.charCodeAt(l))))return L|=2048,z&&Y(U.Hexadecimal_digit_expected),h.substring(X,l);return L|=1024,String.fromCharCode(parseInt(h.substring(X+2,l),16));case 120:for(;l<X+4;l++)if(!(l<v&&Rb(h.charCodeAt(l))))return L|=2048,z&&Y(U.Hexadecimal_digit_expected),h.substring(X,l);return L|=4096,String.fromCharCode(parseInt(h.substring(X+2,l),16));case 13:l<v&&h.charCodeAt(l)===10&&l++;case 10:case 8232:case 8233:return"";default:return String.fromCharCode(ee)}}function or(){let z=rt(1,!1),X=z?parseInt(z,16):-1,ee=!1;return X<0?(Y(U.Hexadecimal_digit_expected),ee=!0):X>1114111&&(Y(U.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),ee=!0),l>=v?(Y(U.Unexpected_end_of_text),ee=!0):h.charCodeAt(l)===125?l++:(Y(U.Unterminated_Unicode_escape_sequence),ee=!0),ee?"":Of(X)}function Nr(){if(l+5<v&&h.charCodeAt(l+1)===117){let z=l;l+=2;let X=qe(4,!1);return l=z,X}return-1}function Ge(){if(cn(h,l+1)===117&&cn(h,l+2)===123){let z=l;l+=3;let X=rt(1,!1),ee=X?parseInt(X,16):-1;return l=z,ee}return-1}function Gt(){let z="",X=l;for(;l<v;){let ee=cn(h,l);if(Qa(ee,e))l+=Yn(ee);else if(ee===92){if(ee=Ge(),ee>=0&&Qa(ee,e)){l+=3,L|=8,z+=or(),X=l;continue}if(ee=Nr(),!(ee>=0&&Qa(ee,e)))break;L|=1024,z+=h.substring(X,l),z+=Of(ee),l+=6,X=l}else break}return z+=h.substring(X,l),z}function Ur(){let z=k.length;if(z>=2&&z<=12){let X=k.charCodeAt(0);if(X>=97&&X<=122){let ee=c4.get(k);if(ee!==void 0)return S=ee}}return S=80}function Xt(z){let X="",ee=!1,xe=!1;for(;;){let ke=h.charCodeAt(l);if(ke===95){L|=512,ee?(ee=!1,xe=!0):Y(xe?U.Multiple_consecutive_numeric_separators_are_not_permitted:U.Numeric_separators_are_not_allowed_here,l,1),l++;continue}if(ee=!0,!Eo(ke)||ke-48>=z)break;X+=h[l],l++,xe=!1}return h.charCodeAt(l-1)===95&&Y(U.Numeric_separators_are_not_allowed_here,l-1,1),X}function Tn(){return h.charCodeAt(l)===110?(k+="n",L&384&&(k=xm(k)+"n"),l++,10):(k=""+(L&128?parseInt(k.slice(2),2):L&256?parseInt(k.slice(2),8):+k),9)}function Sn(){y=l,L=0;let z=!1;for(;;){if(C=l,l>=v)return S=1;let X=cn(h,l);if(l===0){if(X===65533)return Y(U.File_appears_to_be_binary),l=v,S=8;if(X===35&&xg(h,l)){if(l=wg(h,l),t)continue;return S=6}}switch(X){case 10:case 13:if(L|=1,t){l++;continue}else return X===13&&l+1<v&&h.charCodeAt(l+1)===10?l+=2:l++,S=4;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 8203:case 8239:case 8287:case 12288:case 65279:if(t){l++;continue}else{for(;l<v&&Io(h.charCodeAt(l));)l++;return S=5}case 33:return h.charCodeAt(l+1)===61?h.charCodeAt(l+2)===61?(l+=3,S=38):(l+=2,S=36):(l++,S=54);case 34:case 39:return k=Ir(),S=11;case 96:return S=ar(!1);case 37:return h.charCodeAt(l+1)===61?(l+=2,S=70):(l++,S=45);case 38:return h.charCodeAt(l+1)===38?h.charCodeAt(l+2)===61?(l+=3,S=77):(l+=2,S=56):h.charCodeAt(l+1)===61?(l+=2,S=74):(l++,S=51);case 40:return l++,S=21;case 41:return l++,S=22;case 42:if(h.charCodeAt(l+1)===61)return l+=2,S=67;if(h.charCodeAt(l+1)===42)return h.charCodeAt(l+2)===61?(l+=3,S=68):(l+=2,S=43);if(l++,K&&!z&&L&1){z=!0;continue}return S=42;case 43:return h.charCodeAt(l+1)===43?(l+=2,S=46):h.charCodeAt(l+1)===61?(l+=2,S=65):(l++,S=40);case 44:return l++,S=28;case 45:return h.charCodeAt(l+1)===45?(l+=2,S=47):h.charCodeAt(l+1)===61?(l+=2,S=66):(l++,S=41);case 46:return Eo(h.charCodeAt(l+1))?(ae(),S=9):h.charCodeAt(l+1)===46&&h.charCodeAt(l+2)===46?(l+=3,S=26):(l++,S=25);case 47:if(h.charCodeAt(l+1)===47){for(l+=2;l<v&&!mr(h.charCodeAt(l));)l++;if(G=vt(G,h.slice(C,l),h4,C),t)continue;return S=2}if(h.charCodeAt(l+1)===42){l+=2,h.charCodeAt(l)===42&&h.charCodeAt(l+1)!==47&&(L|=2);let yt=!1,jt=C;for(;l<v;){let qr=h.charCodeAt(l);if(qr===42&&h.charCodeAt(l+1)===47){l+=2,yt=!0;break}l++,mr(qr)&&(jt=l,L|=1)}if(G=vt(G,h.slice(jt,l),y4,jt),yt||Y(U.Asterisk_Slash_expected),t)continue;return yt||(L|=4),S=3}return h.charCodeAt(l+1)===61?(l+=2,S=69):(l++,S=44);case 48:if(l+2<v&&(h.charCodeAt(l+1)===88||h.charCodeAt(l+1)===120))return l+=2,k=rt(1,!0),k||(Y(U.Hexadecimal_digit_expected),k="0"),k="0x"+k,L|=64,S=Tn();if(l+2<v&&(h.charCodeAt(l+1)===66||h.charCodeAt(l+1)===98))return l+=2,k=Xt(2),k||(Y(U.Binary_digit_expected),k="0"),k="0b"+k,L|=128,S=Tn();if(l+2<v&&(h.charCodeAt(l+1)===79||h.charCodeAt(l+1)===111))return l+=2,k=Xt(8),k||(Y(U.Octal_digit_expected),k="0"),k="0o"+k,L|=256,S=Tn();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return S=ae();case 58:return l++,S=59;case 59:return l++,S=27;case 60:if(ko(h,l)){if(l=$s(h,l,Y),t)continue;return S=7}return h.charCodeAt(l+1)===60?h.charCodeAt(l+2)===61?(l+=3,S=71):(l+=2,S=48):h.charCodeAt(l+1)===61?(l+=2,S=33):r===1&&h.charCodeAt(l+1)===47&&h.charCodeAt(l+2)!==42?(l+=2,S=31):(l++,S=30);case 61:if(ko(h,l)){if(l=$s(h,l,Y),t)continue;return S=7}return h.charCodeAt(l+1)===61?h.charCodeAt(l+2)===61?(l+=3,S=37):(l+=2,S=35):h.charCodeAt(l+1)===62?(l+=2,S=39):(l++,S=64);case 62:if(ko(h,l)){if(l=$s(h,l,Y),t)continue;return S=7}return l++,S=32;case 63:return h.charCodeAt(l+1)===46&&!Eo(h.charCodeAt(l+2))?(l+=2,S=29):h.charCodeAt(l+1)===63?h.charCodeAt(l+2)===61?(l+=3,S=78):(l+=2,S=61):(l++,S=58);case 91:return l++,S=23;case 93:return l++,S=24;case 94:return h.charCodeAt(l+1)===61?(l+=2,S=79):(l++,S=53);case 123:return l++,S=19;case 124:if(ko(h,l)){if(l=$s(h,l,Y),t)continue;return S=7}return h.charCodeAt(l+1)===124?h.charCodeAt(l+2)===61?(l+=3,S=76):(l+=2,S=57):h.charCodeAt(l+1)===61?(l+=2,S=75):(l++,S=52);case 125:return l++,S=20;case 126:return l++,S=55;case 64:return l++,S=60;case 92:let ee=Ge();if(ee>=0&&un(ee,e))return l+=3,L|=8,k=or()+Gt(),S=Ur();let xe=Nr();return xe>=0&&un(xe,e)?(l+=6,L|=1024,k=String.fromCharCode(xe)+Gt(),S=Ur()):(Y(U.Invalid_character),l++,S=0);case 35:if(l!==0&&h[l+1]==="!")return Y(U.can_only_be_used_at_the_start_of_a_file),l++,S=0;let ke=cn(h,l+1);if(ke===92){l++;let yt=Ge();if(yt>=0&&un(yt,e))return l+=3,L|=8,k="#"+or()+Gt(),S=81;let jt=Nr();if(jt>=0&&un(jt,e))return l+=6,L|=1024,k="#"+String.fromCharCode(jt)+Gt(),S=81;l--}return un(ke,e)?(l++,$t(ke,e)):(k="#",Y(U.Invalid_character,l++,Yn(X))),S=81;default:let Le=$t(X,e);if(Le)return S=Le;if(Io(X)){l+=Yn(X);continue}else if(mr(X)){L|=1,l+=Yn(X);continue}let lt=Yn(X);return Y(U.Invalid_character,l,lt),l+=lt,S=0}}}function sr(){N.assert(S===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),l=C=y,L=0;let z=cn(h,l),X=$t(z,99);return X?S=X:(l+=Yn(z),S)}function $t(z,X){let ee=z;if(un(ee,X)){for(l+=Yn(ee);l<v&&Qa(ee=cn(h,l),X);)l+=Yn(ee);return k=h.substring(C,l),ee===92&&(k+=Gt()),Ur()}}function St(){if(S===32){if(h.charCodeAt(l)===62)return h.charCodeAt(l+1)===62?h.charCodeAt(l+2)===61?(l+=3,S=73):(l+=2,S=50):h.charCodeAt(l+1)===61?(l+=2,S=72):(l++,S=49);if(h.charCodeAt(l)===61)return l++,S=34}return S}function xn(){return N.assert(S===67,"'reScanAsteriskEqualsToken' should only be called on a '*='"),l=C+1,S=64}function Tr(){if(S===44||S===69){let z=C+1,X=!1,ee=!1;for(;;){if(z>=v){L|=4,Y(U.Unterminated_regular_expression_literal);break}let xe=h.charCodeAt(z);if(mr(xe)){L|=4,Y(U.Unterminated_regular_expression_literal);break}if(X)X=!1;else if(xe===47&&!ee){z++;break}else xe===91?ee=!0:xe===92?X=!0:xe===93&&(ee=!1);z++}for(;z<v&&Qa(h.charCodeAt(z),e);)z++;l=z,k=h.substring(C,l),S=14}return S}function vt(z,X,ee,xe){let ke=ct(gl(X),ee);return ke===void 0?z:xt(z,{range:{pos:xe,end:l},type:ke})}function ct(z,X){let ee=X.exec(z);if(ee)switch(ee[1]){case"ts-expect-error":return 0;case"ts-ignore":return 1}}function Ut(z){return l=C,S=ar(!z)}function fr(){return l=C,S=ar(!0)}function ht(z=!0){return l=C=y,S=pt(z)}function wn(){return S===48?(l=C+1,S=30):S}function Tt(){return S===81?(l=C+1,S=63):S}function Or(){return N.assert(S===61,"'reScanQuestionToken' should only be called on a '??'"),l=C+1,S=58}function pt(z=!0){if(y=C=l,l>=v)return S=1;let X=h.charCodeAt(l);if(X===60)return h.charCodeAt(l+1)===47?(l+=2,S=31):(l++,S=30);if(X===123)return l++,S=19;let ee=0;for(;l<v&&(X=h.charCodeAt(l),X!==123);){if(X===60){if(ko(h,l))return l=$s(h,l,Y),S=7;break}if(X===62&&Y(U.Unexpected_token_Did_you_mean_or_gt,l,1),X===125&&Y(U.Unexpected_token_Did_you_mean_or_rbrace,l,1),mr(X)&&ee===0)ee=-1;else{if(!z&&mr(X)&&ee>0)break;Vi(X)||(ee=l)}l++}return k=h.substring(y,l),ee===-1?13:12}function Mr(){if(kt(S)){for(;l<v;){if(h.charCodeAt(l)===45){k+="-",l++;continue}let X=l;if(k+=Gt(),l===X)break}return Ur()}return S}function at(){switch(y=l,h.charCodeAt(l)){case 34:case 39:return k=Ir(!0),S=11;default:return Sn()}}function er(){return l=C=y,at()}function Qt(z){if(y=C=l,L=0,l>=v)return S=1;for(let X=h.charCodeAt(l);l<v&&!mr(X)&&X!==96;X=cn(h,++l))if(!z){if(X===123)break;if(X===64&&l-1>=0&&Io(h.charCodeAt(l-1))&&!(l+1<v&&Vi(h.charCodeAt(l+1))))break}return l===C?tn():(k=h.substring(C,l),S=82)}function tn(){if(y=C=l,L=0,l>=v)return S=1;let z=cn(h,l);switch(l+=Yn(z),z){case 9:case 11:case 12:case 32:for(;l<v&&Io(h.charCodeAt(l));)l++;return S=5;case 64:return S=60;case 13:h.charCodeAt(l)===10&&l++;case 10:return L|=1,S=4;case 42:return S=42;case 123:return S=19;case 125:return S=20;case 91:return S=23;case 93:return S=24;case 60:return S=30;case 62:return S=32;case 61:return S=64;case 44:return S=28;case 46:return S=25;case 96:return S=62;case 35:return S=63;case 92:l--;let X=Ge();if(X>=0&&un(X,e))return l+=3,L|=8,k=or()+Gt(),S=Ur();let ee=Nr();return ee>=0&&un(ee,e)?(l+=6,L|=1024,k=String.fromCharCode(ee)+Gt(),S=Ur()):(l++,S=0)}if(un(z,e)){let X=z;for(;l<v&&Qa(X=cn(h,l),e)||h.charCodeAt(l)===45;)l+=Yn(X);return k=h.substring(C,l),X===92&&(k+=Gt()),S=Ur()}else return S=0}function Bn(z,X){let ee=l,xe=y,ke=C,Le=S,lt=k,yt=L,jt=z();return(!jt||X)&&(l=ee,y=xe,C=ke,S=Le,k=lt,L=yt),jt}function Un(z,X,ee){let xe=v,ke=l,Le=y,lt=C,yt=S,jt=k,qr=L,na=G;Ae(h,z,X);let Cn=ee();return v=xe,l=ke,y=Le,C=lt,S=yt,k=jt,L=qr,G=na,Cn}function rn(z){return Bn(z,!0)}function nn(z){return Bn(z,!1)}function Di(){return h}function qn(){G=void 0}function Ae(z,X,ee){h=z||"",v=ee===void 0?h.length:X+ee,Se(X||0)}function q(z){_=z}function oe(z){e=z}function ge(z){r=z}function Se(z){N.assert(z>=0),l=z,y=z,C=z,S=0,k=void 0,L=0}function nt(z){K+=z?1:-1}}function Yn(e){return e>=65536?2:1}function VE(e){if(N.assert(0<=e&&e<=1114111),e<=65535)return String.fromCharCode(e);let t=Math.floor((e-65536)/1024)+55296,r=(e-65536)%1024+56320;return String.fromCharCode(t,r)}function Of(e){return b4(e)}var cl,c4,h0,l4,u4,p4,f4,d4,m4,h4,y4,g4,ll,Xd,cn,b4,HE=Vt({"src/compiler/scanner.ts"(){"use strict";Dr(),cl={abstract:128,accessor:129,any:133,as:130,asserts:131,assert:132,bigint:163,boolean:136,break:83,case:84,catch:85,class:86,continue:88,const:87,constructor:137,debugger:89,declare:138,default:90,delete:91,do:92,else:93,enum:94,export:95,extends:96,false:97,finally:98,for:99,from:161,function:100,get:139,if:101,implements:119,import:102,in:103,infer:140,instanceof:104,interface:120,intrinsic:141,is:142,keyof:143,let:121,module:144,namespace:145,never:146,new:105,null:106,number:150,object:151,package:122,private:123,protected:124,public:125,override:164,out:147,readonly:148,require:149,global:162,return:107,satisfies:152,set:153,static:126,string:154,super:108,switch:109,symbol:155,this:110,throw:111,true:112,try:113,type:156,typeof:114,undefined:157,unique:158,unknown:159,using:160,var:115,void:116,while:117,with:118,yield:127,async:134,await:135,of:165},c4=new Map(Object.entries(cl)),h0=new Map(Object.entries({...cl,"{":19,"}":20,"(":21,")":22,"[":23,"]":24,".":25,"...":26,";":27,",":28,"<":30,">":32,"<=":33,">=":34,"==":35,"!=":36,"===":37,"!==":38,"=>":39,"+":40,"-":41,"**":43,"*":42,"/":44,"%":45,"++":46,"--":47,"<<":48,"</":31,">>":49,">>>":50,"&":51,"|":52,"^":53,"!":54,"~":55,"&&":56,"||":57,"?":58,"??":61,"?.":29,":":59,"=":64,"+=":65,"-=":66,"*=":67,"**=":68,"/=":69,"%=":70,"<<=":71,">>=":72,">>>=":73,"&=":74,"|=":75,"^=":79,"||=":76,"&&=":77,"??=":78,"@":60,"#":63,"`":62})),l4=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],u4=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500],p4=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],f4=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],d4=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101],m4=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2556,2556,2558,2558,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2809,2815,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65071,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999],h4=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,y4=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,g4=FE(h0),ll=7,Xd=/^#!.*/,cn=String.prototype.codePointAt?(e,t)=>e.codePointAt(t):function(t,r){let a=t.length;if(r<0||r>=a)return;let _=t.charCodeAt(r);if(_>=55296&&_<=56319&&a>r+1){let p=t.charCodeAt(r+1);if(p>=56320&&p<=57343)return(_-55296)*1024+p-56320+65536}return _},b4=String.fromCodePoint?e=>String.fromCodePoint(e):VE}});function GE(e){return rs(e)||v_(e)}function XE(e){return xv(e,F2)}function v4(e){switch(Ql(e)){case 99:return"lib.esnext.full.d.ts";case 9:return"lib.es2022.full.d.ts";case 8:return"lib.es2021.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}function Kt(e){return e.start+e.length}function T4(e){return e.length===0}function $E(e,t){return t>=e.start&&t<Kt(e)}function QE(e,t){return t>=e.pos&&t<=e.end}function YE(e,t){return t.start>=e.start&&Kt(t)<=Kt(e)}function KE(e,t){return S4(e,t)!==void 0}function S4(e,t){let r=x4(e,t);return r&&r.length===0?void 0:r}function ZE(e,t){return Eg(e.start,e.length,t.start,t.length)}function eA(e,t,r){return Eg(e.start,e.length,t,r)}function Eg(e,t,r,a){let _=e+t,p=r+a;return r<=_&&p>=e}function tA(e,t){return t<=Kt(e)&&t>=e.start}function x4(e,t){let r=Math.max(e.start,t.start),a=Math.min(Kt(e),Kt(t));return r<=a?Hi(r,a):void 0}function w_(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function Hi(e,t){return w_(e,t-e)}function Qs(e){return w_(e.span.start,e.newLength)}function w4(e){return T4(e.span)&&e.newLength===0}function $d(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}function rA(e){if(e.length===0)return Vg;if(e.length===1)return e[0];let t=e[0],r=t.span.start,a=Kt(t.span),_=r+t.newLength;for(let p=1;p<e.length;p++){let d=e[p],h=r,l=a,v=_,y=d.span.start,C=Kt(d.span),S=y+d.newLength;r=Math.min(h,y),a=Math.max(l,l+(C-v)),_=Math.max(S,S+(v-C))}return $d(Hi(r,a),_-r)}function nA(e){if(e&&e.kind===168){for(let t=e;t;t=t.parent)if(Gi(t)||dn(t)||t.kind===264)return t}}function C4(e,t){return Ma(e)&&gr(e,16476)&&t.kind===176}function E4(e){return am(e)?so(e.elements,A4):!1}function A4(e){return Im(e)?!0:E4(e.name)}function k4(e){let t=e.parent;for(;nu(t.parent);)t=t.parent.parent;return t.parent}function Ag(e,t){nu(e)&&(e=k4(e));let r=t(e);return e.kind===260&&(e=e.parent),e&&e.kind===261&&(r|=t(e),e=e.parent),e&&e.kind===243&&(r|=t(e)),r}function Qd(e){return Ag(e,vm)}function iA(e){return Ag(e,_S)}function C_(e){return Ag(e,aA)}function aA(e){return e.flags}function oA(e,t,r){let a=e.toLowerCase(),_=/^([a-z]+)([_-]([a-z]+))?$/.exec(a);if(!_){r&&r.push(fl(U.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,"en","ja-jp"));return}let p=_[1],d=_[3];es(Hg,a)&&!h(p,d,r)&&h(p,void 0,r),Mv(e);function h(l,v,y){let C=pn(t.getExecutingFilePath()),S=$i(C),k=hr(S,l);if(v&&(k=k+"-"+v),k=t.resolvePath(hr(k,"diagnosticMessages.generated.json")),!t.fileExists(k))return!1;let L="";try{L=t.readFile(k)}catch{return y&&y.push(fl(U.Unable_to_open_file_0,k)),!1}try{IS(JSON.parse(L))}catch{return y&&y.push(fl(U.Corrupted_locale_file_0,k)),!1}return!0}}function jl(e,t){if(e)for(;e.original!==void 0;)e=e.original;return!e||!t||t(e)?e:void 0}function Kr(e,t){for(;e;){let r=t(e);if(r==="quit")return;if(r)return e;e=e.parent}}function Tl(e){return(e.flags&16)===0}function Fl(e,t){if(e===void 0||Tl(e))return e;for(e=e.original;e;){if(Tl(e))return!t||t(e)?e:void 0;e=e.original}}function Mn(e){return e.length>=2&&e.charCodeAt(0)===95&&e.charCodeAt(1)===95?"_"+e:e}function Vo(e){let t=e;return t.length>=3&&t.charCodeAt(0)===95&&t.charCodeAt(1)===95&&t.charCodeAt(2)===95?t.substr(1):t}function Ot(e){return Vo(e.escapedText)}function D4(e){let t=Rl(e.escapedText);return t?On(t,Si):void 0}function hd(e){return e.valueDeclaration&&i3(e.valueDeclaration)?Ot(e.valueDeclaration.name):Vo(e.escapedName)}function P4(e){let t=e.parent.parent;if(t){if(Ho(t))return Af(t);switch(t.kind){case 243:if(t.declarationList&&t.declarationList.declarations[0])return Af(t.declarationList.declarations[0]);break;case 244:let r=t.expression;switch(r.kind===226&&r.operatorToken.kind===64&&(r=r.left),r.kind){case 211:return r.name;case 212:let a=r.argumentExpression;if(Ee(a))return a}break;case 217:return Af(t.expression);case 256:{if(Ho(t.statement)||om(t.statement))return Af(t.statement);break}}}}function Af(e){let t=Bl(e);return t&&Ee(t)?t:void 0}function I4(e,t){return!!(Yd(e)&&Ee(e.name)&&Ot(e.name)===Ot(t)||as(e)&&mt(e.declarationList.declarations,r=>I4(r,t)))}function N4(e){return e.name||P4(e)}function Yd(e){return!!e.name}function Kd(e){switch(e.kind){case 80:return e;case 355:case 348:{let{name:r}=e;if(r.kind===166)return r.right;break}case 213:case 226:{let r=e;switch(Ja(r)){case 1:case 4:case 5:case 3:return dm(r.left);case 7:case 8:case 9:return r.arguments[1];default:return}}case 353:return N4(e);case 347:return P4(e);case 277:{let{expression:r}=e;return Ee(r)?r:void 0}case 212:let t=e;if(f2(t))return t.argumentExpression}return e.name}function Bl(e){if(e!==void 0)return Kd(e)||(km(e)||Dm(e)||Il(e)?O4(e):void 0)}function O4(e){if(e.parent){if(_s(e.parent)||nu(e.parent))return e.parent.name;if(Ct(e.parent)&&e===e.parent.right){if(Ee(e.parent.left))return e.parent.left;if($o(e.parent.left))return dm(e.parent.left)}else if(ki(e.parent)&&Ee(e.parent.name))return e.parent.name}else return}function sA(e){if(El(e))return $r(e.modifiers,L_)}function yd(e){if(gr(e,126975))return $r(e.modifiers,Lg)}function M4(e,t){if(e.name)if(Ee(e.name)){let r=e.name.escapedText;return c_(e.parent,t).filter(a=>h_(a)&&Ee(a.name)&&a.name.escapedText===r)}else{let r=e.parent.parameters.indexOf(e);N.assert(r>-1,"Parameters should always be in their parents' parameter list");let a=c_(e.parent,t).filter(h_);if(r<a.length)return[a[r]]}return $e}function Zd(e){return M4(e,!1)}function L4(e){return M4(e,!0)}function J4(e,t){let r=e.name.escapedText;return c_(e.parent,t).filter(a=>Ko(a)&&a.typeParameters.some(_=>_.name.escapedText===r))}function R4(e){return J4(e,!1)}function j4(e){return J4(e,!0)}function _A(e){return!!Zt(e,h_)}function F4(e){return Zt(e,Lm)}function B4(e){return $4(e,w8)}function cA(e){return Zt(e,v8)}function lA(e){return Zt(e,I6)}function U4(e){return Zt(e,I6,!0)}function uA(e){return Zt(e,N6)}function q4(e){return Zt(e,N6,!0)}function pA(e){return Zt(e,O6)}function z4(e){return Zt(e,O6,!0)}function fA(e){return Zt(e,M6)}function W4(e){return Zt(e,M6,!0)}function V4(e){return Zt(e,T8,!0)}function dA(e){return Zt(e,J6)}function H4(e){return Zt(e,J6,!0)}function mA(e){return Zt(e,S8)}function hA(e){return Zt(e,x8)}function G4(e){return Zt(e,R6)}function yA(e){return Zt(e,Ko)}function kg(e){return Zt(e,j6)}function em(e){let t=Zt(e,lu);if(t&&t.typeExpression&&t.typeExpression.type)return t}function tm(e){let t=Zt(e,lu);return!t&&Ma(e)&&(t=Yr(Zd(e),r=>!!r.typeExpression)),t&&t.typeExpression&&t.typeExpression.type}function X4(e){let t=G4(e);if(t&&t.typeExpression)return t.typeExpression.type;let r=em(e);if(r&&r.typeExpression){let a=r.typeExpression.type;if(Am(a)){let _=Yr(a.members,c6);return _&&_.type}if(tu(a)||Mm(a))return a.type}}function c_(e,t){var r;if(!mm(e))return $e;let a=(r=e.jsDoc)==null?void 0:r.jsDocCache;if(a===void 0||t){let _=yT(e,t);N.assert(_.length<2||_[0]!==_[1]),a=Bo(_,p=>cs(p)?p.tags:p),t||(e.jsDoc??(e.jsDoc=[]),e.jsDoc.jsDocCache=a)}return a}function Ul(e){return c_(e,!1)}function gA(e){return c_(e,!0)}function Zt(e,t,r){return Yr(c_(e,r),t)}function $4(e,t){return Ul(e).filter(t)}function bA(e,t){return Ul(e).filter(r=>r.kind===t)}function vA(e){return typeof e=="string"?e:e==null?void 0:e.map(t=>t.kind===328?t.text:TA(t)).join("")}function TA(e){let t=e.kind===331?"link":e.kind===332?"linkcode":"linkplain",r=e.name?vi(e.name):"",a=e.name&&e.text.startsWith("://")?"":" ";return`{@${t} ${r}${a}${e.text}}`}function SA(e){if(cu(e)){if(L6(e.parent)){let t=g2(e.parent);if(t&&Ka(t.tags))return Bo(t.tags,r=>Ko(r)?r.typeParameters:void 0)}return $e}if(Hl(e))return N.assert(e.parent.kind===327),Bo(e.parent.tags,t=>Ko(t)?t.typeParameters:void 0);if(e.typeParameters||j8(e)&&e.typeParameters)return e.typeParameters;if(Wt(e)){let t=ZT(e);if(t.length)return t;let r=tm(e);if(r&&tu(r)&&r.typeParameters)return r.typeParameters}return $e}function xA(e){return e.constraint?e.constraint:Ko(e.parent)&&e===e.parent.typeParameters[0]?e.parent.constraint:void 0}function ro(e){return e.kind===80||e.kind===81}function wA(e){return e.kind===178||e.kind===177}function Q4(e){return Br(e)&&!!(e.flags&64)}function Y4(e){return Ra(e)&&!!(e.flags&64)}function y0(e){return j_(e)&&!!(e.flags&64)}function Dg(e){let t=e.kind;return!!(e.flags&64)&&(t===211||t===212||t===213||t===235)}function Pg(e){return Dg(e)&&!jo(e)&&!!e.questionDotToken}function CA(e){return Pg(e.parent)&&e.parent.expression===e}function EA(e){return!Dg(e.parent)||Pg(e.parent)||e!==e.parent.expression}function AA(e){return e.kind===226&&e.operatorToken.kind===61}function K4(e){return R_(e)&&Ee(e.typeName)&&e.typeName.escapedText==="const"&&!e.typeArguments}function rm(e){return ls(e,8)}function Z4(e){return jo(e)&&!!(e.flags&64)}function kA(e){return e.kind===252||e.kind===251}function DA(e){return e.kind===280||e.kind===279}function e3(e){switch(e.kind){case 309:case 310:return!0;default:return!1}}function PA(e){return e3(e)||e.kind===307||e.kind===311}function Ig(e){return e.kind===355||e.kind===348}function IA(e){return ql(e.kind)}function ql(e){return e>=166}function t3(e){return e>=0&&e<=165}function NA(e){return t3(e.kind)}function va(e){return Qr(e,"pos")&&Qr(e,"end")}function Ng(e){return 9<=e&&e<=15}function Og(e){return Ng(e.kind)}function OA(e){switch(e.kind){case 210:case 209:case 14:case 218:case 231:return!0}return!1}function Sl(e){return 15<=e&&e<=18}function MA(e){return Sl(e.kind)}function LA(e){let t=e.kind;return t===17||t===18}function JA(e){return p8(e)||d8(e)}function r3(e){switch(e.kind){case 276:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 274:return e.parent.isTypeOnly;case 273:case 271:return e.isTypeOnly}return!1}function n3(e){switch(e.kind){case 281:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 278:return e.isTypeOnly&&!!e.moduleSpecifier&&!e.exportClause;case 280:return e.parent.isTypeOnly}return!1}function RA(e){return r3(e)||n3(e)}function jA(e){return mn(e)||Ee(e)}function FA(e){return e.kind===11||Sl(e.kind)}function wa(e){var t;return Ee(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function Mg(e){var t;return jr(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function BA(e){let t=e.emitNode.autoGenerate.flags;return!!(t&32)&&!!(t&16)&&!!(t&8)}function i3(e){return(oo(e)||Rg(e))&&jr(e.name)}function UA(e){return Br(e)&&jr(e.name)}function bi(e){switch(e){case 128:case 129:case 134:case 87:case 138:case 90:case 95:case 103:case 125:case 123:case 124:case 148:case 126:case 147:case 164:return!0}return!1}function a3(e){return!!(J2(e)&16476)}function o3(e){return a3(e)||e===126||e===164||e===129}function Lg(e){return bi(e.kind)}function qA(e){let t=e.kind;return t===166||t===80}function zl(e){let t=e.kind;return t===80||t===81||t===11||t===9||t===167}function zA(e){let t=e.kind;return t===80||t===206||t===207}function Gi(e){return!!e&&Jg(e.kind)}function nm(e){return!!e&&(Jg(e.kind)||eu(e))}function s3(e){return e&&_3(e.kind)}function WA(e){return e.kind===112||e.kind===97}function _3(e){switch(e){case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function Jg(e){switch(e){case 173:case 179:case 330:case 180:case 181:case 184:case 324:case 185:return!0;default:return _3(e)}}function VA(e){return ii(e)||u8(e)||au(e)&&Gi(e.parent)}function no(e){let t=e.kind;return t===176||t===172||t===174||t===177||t===178||t===181||t===175||t===240}function dn(e){return e&&(e.kind===263||e.kind===231)}function im(e){return e&&(e.kind===177||e.kind===178)}function c3(e){return oo(e)&&aS(e)}function Rg(e){switch(e.kind){case 174:case 177:case 178:return!0;default:return!1}}function HA(e){switch(e.kind){case 174:case 177:case 178:case 172:return!0;default:return!1}}function Mf(e){return Lg(e)||L_(e)}function jg(e){let t=e.kind;return t===180||t===179||t===171||t===173||t===181||t===177||t===178}function GA(e){return jg(e)||no(e)}function Fg(e){let t=e.kind;return t===303||t===304||t===305||t===174||t===177||t===178}function g0(e){return DS(e.kind)}function XA(e){switch(e.kind){case 184:case 185:return!0}return!1}function am(e){if(e){let t=e.kind;return t===207||t===206}return!1}function l3(e){let t=e.kind;return t===209||t===210}function $A(e){let t=e.kind;return t===208||t===232}function Bg(e){switch(e.kind){case 260:case 169:case 208:return!0}return!1}function QA(e){return ki(e)||Ma(e)||p3(e)||d3(e)}function YA(e){return u3(e)||f3(e)}function u3(e){switch(e.kind){case 206:case 210:return!0}return!1}function p3(e){switch(e.kind){case 208:case 303:case 304:case 305:return!0}return!1}function f3(e){switch(e.kind){case 207:case 209:return!0}return!1}function d3(e){switch(e.kind){case 208:case 232:case 230:case 209:case 210:case 80:case 211:case 212:return!0}return Na(e,!0)}function KA(e){let t=e.kind;return t===211||t===166||t===205}function ZA(e){let t=e.kind;return t===211||t===166}function ek(e){switch(e.kind){case 286:case 285:case 213:case 214:case 215:case 170:return!0;default:return!1}}function tk(e){return e.kind===213||e.kind===214}function rk(e){let t=e.kind;return t===228||t===15}function Lo(e){return m3(rm(e).kind)}function m3(e){switch(e){case 211:case 212:case 214:case 213:case 284:case 285:case 288:case 215:case 209:case 217:case 210:case 231:case 218:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 228:case 97:case 106:case 110:case 112:case 108:case 235:case 233:case 236:case 102:case 282:return!0;default:return!1}}function h3(e){return y3(rm(e).kind)}function y3(e){switch(e){case 224:case 225:case 220:case 221:case 222:case 223:case 216:return!0;default:return m3(e)}}function nk(e){switch(e.kind){case 225:return!0;case 224:return e.operator===46||e.operator===47;default:return!1}}function ik(e){switch(e.kind){case 106:case 112:case 97:case 224:return!0;default:return Og(e)}}function om(e){return ak(rm(e).kind)}function ak(e){switch(e){case 227:case 229:case 219:case 226:case 230:case 234:case 232:case 361:case 360:case 238:return!0;default:return y3(e)}}function ok(e){let t=e.kind;return t===216||t===234}function sk(e){return A6(e)||_8(e)}function g3(e,t){switch(e.kind){case 248:case 249:case 250:case 246:case 247:return!0;case 256:return t&&g3(e.statement,t)}return!1}function b3(e){return ss(e)||B_(e)}function _k(e){return mt(e,b3)}function ck(e){return!um(e)&&!ss(e)&&!gr(e,1)&&!cm(e)}function lk(e){return um(e)||ss(e)||gr(e,1)}function uk(e){return e.kind===249||e.kind===250}function pk(e){return au(e)||om(e)}function fk(e){return au(e)}function dk(e){return v6(e)||om(e)}function mk(e){let t=e.kind;return t===268||t===267||t===80}function hk(e){let t=e.kind;return t===268||t===267}function yk(e){let t=e.kind;return t===80||t===267}function gk(e){let t=e.kind;return t===275||t===274}function bk(e){return e.kind===267||e.kind===266}function vk(e){switch(e.kind){case 219:case 226:case 208:case 213:case 179:case 263:case 231:case 175:case 176:case 185:case 180:case 212:case 266:case 306:case 277:case 278:case 281:case 262:case 218:case 184:case 177:case 80:case 273:case 271:case 276:case 181:case 264:case 345:case 347:case 324:case 348:case 355:case 330:case 353:case 329:case 291:case 292:case 293:case 200:case 174:case 173:case 267:case 202:case 280:case 270:case 274:case 214:case 15:case 9:case 210:case 169:case 211:case 303:case 172:case 171:case 178:case 304:case 312:case 305:case 11:case 265:case 187:case 168:case 260:return!0;default:return!1}}function Tk(e){switch(e.kind){case 219:case 241:case 179:case 269:case 299:case 175:case 194:case 176:case 185:case 180:case 248:case 249:case 250:case 262:case 218:case 184:case 177:case 181:case 345:case 347:case 324:case 330:case 353:case 200:case 174:case 173:case 267:case 178:case 312:case 265:return!0;default:return!1}}function Sk(e){return e===219||e===208||e===263||e===231||e===175||e===176||e===266||e===306||e===281||e===262||e===218||e===177||e===273||e===271||e===276||e===264||e===291||e===174||e===173||e===267||e===270||e===274||e===280||e===169||e===303||e===172||e===171||e===178||e===304||e===265||e===168||e===260||e===353||e===345||e===355}function Ug(e){return e===262||e===282||e===263||e===264||e===265||e===266||e===267||e===272||e===271||e===278||e===277||e===270}function qg(e){return e===252||e===251||e===259||e===246||e===244||e===242||e===249||e===250||e===248||e===245||e===256||e===253||e===255||e===257||e===258||e===243||e===247||e===254||e===359}function Ho(e){return e.kind===168?e.parent&&e.parent.kind!==352||Wt(e):Sk(e.kind)}function xk(e){return Ug(e.kind)}function wk(e){return qg(e.kind)}function v3(e){let t=e.kind;return qg(t)||Ug(t)||Ck(e)}function Ck(e){return e.kind!==241||e.parent!==void 0&&(e.parent.kind===258||e.parent.kind===299)?!1:!X3(e)}function T3(e){let t=e.kind;return qg(t)||Ug(t)||t===241}function Ek(e){let t=e.kind;return t===283||t===166||t===80}function Ak(e){let t=e.kind;return t===110||t===80||t===211||t===295}function S3(e){let t=e.kind;return t===284||t===294||t===285||t===12||t===288}function kk(e){let t=e.kind;return t===291||t===293}function Dk(e){let t=e.kind;return t===11||t===294}function x3(e){let t=e.kind;return t===286||t===285}function Pk(e){let t=e.kind;return t===296||t===297}function zg(e){return e.kind>=316&&e.kind<=357}function w3(e){return e.kind===327||e.kind===326||e.kind===328||ul(e)||Wg(e)||P6(e)||cu(e)}function Wg(e){return e.kind>=334&&e.kind<=357}function Zc(e){return e.kind===178}function el(e){return e.kind===177}function Wi(e){if(!mm(e))return!1;let{jsDoc:t}=e;return!!t&&t.length>0}function Ik(e){return!!e.type}function C3(e){return!!e.initializer}function Nk(e){switch(e.kind){case 260:case 169:case 208:case 172:case 303:case 306:return!0;default:return!1}}function b0(e){return e.kind===291||e.kind===293||Fg(e)}function Ok(e){return e.kind===183||e.kind===233}function Mk(e){let t=v0;for(let r of e){if(!r.length)continue;let a=0;for(;a<r.length&&a<t&&Vi(r.charCodeAt(a));a++);if(a<t&&(t=a),t===0)return 0}return t===v0?void 0:t}function Kn(e){return e.kind===11||e.kind===15}function ul(e){return e.kind===331||e.kind===332||e.kind===333}function Lk(e){let t=wi(e.parameters);return!!t&&E3(t)}function E3(e){let t=h_(e)?e.typeExpression&&e.typeExpression.type:e.type;return e.dotDotDotToken!==void 0||!!t&&t.kind===325}var Vg,Hg,v0,Jk=Vt({"src/compiler/utilitiesPublic.ts"(){"use strict";Dr(),Vg=$d(w_(0,0),0),Hg=["cs","de","es","fr","it","ja","ko","pl","pt-br","ru","tr","zh-cn","zh-tw"],v0=1073741823}});function Rk(e,t){let r=e.declarations;if(r){for(let a of r)if(a.kind===t)return a}}function jk(e,t){return $r(e.declarations||$e,r=>r.kind===t)}function Fk(e){let t=new Map;if(e)for(let r of e)t.set(r.escapedName,r);return t}function T0(e){return(e.flags&33554432)!==0}function Bk(){var e="";let t=r=>e+=r;return{getText:()=>e,write:t,rawWrite:t,writeKeyword:t,writeOperator:t,writePunctuation:t,writeSpace:t,writeStringLiteral:t,writeLiteral:t,writeParameter:t,writeProperty:t,writeSymbol:(r,a)=>t(r),writeTrailingSemicolon:t,writeComment:t,getTextPos:()=>e.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!e.length&&Vi(e.charCodeAt(e.length-1)),writeLine:()=>e+=" ",increaseIndent:Rn,decreaseIndent:Rn,clear:()=>e=""}}function Uk(e,t){return e.configFilePath!==t.configFilePath||A3(e,t)}function A3(e,t){return E_(e,t,moduleResolutionOptionDeclarations)}function qk(e,t){return E_(e,t,optionsAffectingProgramStructure)}function E_(e,t,r){return e!==t&&r.some(a=>!$2(j0(e,a),j0(t,a)))}function zk(e,t){for(;;){let r=t(e);if(r==="quit")return;if(r!==void 0)return r;if(ii(e))return;e=e.parent}}function Wk(e,t){let r=e.entries();for(let[a,_]of r){let p=t(_,a);if(p)return p}}function Vk(e,t){let r=e.keys();for(let a of r){let _=t(a);if(_)return _}}function Hk(e,t){e.forEach((r,a)=>{t.set(a,r)})}function Gk(e){let t=Zs.getText();try{return e(Zs),Zs.getText()}finally{Zs.clear(),Zs.writeKeyword(t)}}function sm(e){return e.end-e.pos}function Xk(e,t,r){var a,_;return(_=(a=e==null?void 0:e.resolvedModules)==null?void 0:a.get(t,r))==null?void 0:_.resolvedModule}function $k(e,t,r,a){e.resolvedModules||(e.resolvedModules=createModeAwareCache()),e.resolvedModules.set(t,a,r)}function Qk(e,t,r,a){e.resolvedTypeReferenceDirectiveNames||(e.resolvedTypeReferenceDirectiveNames=createModeAwareCache()),e.resolvedTypeReferenceDirectiveNames.set(t,a,r)}function Yk(e,t,r){var a,_;return(_=(a=e==null?void 0:e.resolvedTypeReferenceDirectiveNames)==null?void 0:a.get(t,r))==null?void 0:_.resolvedTypeReferenceDirective}function Kk(e,t){return e.path===t.path&&!e.prepend==!t.prepend&&!e.circular==!t.circular}function Zk(e,t){return e===t||e.resolvedModule===t.resolvedModule||!!e.resolvedModule&&!!t.resolvedModule&&e.resolvedModule.isExternalLibraryImport===t.resolvedModule.isExternalLibraryImport&&e.resolvedModule.extension===t.resolvedModule.extension&&e.resolvedModule.resolvedFileName===t.resolvedModule.resolvedFileName&&e.resolvedModule.originalPath===t.resolvedModule.originalPath&&tD(e.resolvedModule.packageId,t.resolvedModule.packageId)&&e.node10Result===t.node10Result}function eD(e,t,r,a,_){var p,d;let h=(d=(p=e.resolvedModules)==null?void 0:p.get(r,a))==null?void 0:d.node10Result,l=h?tl(void 0,U.There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings,h,h.indexOf(nodeModulesPathPart+"@types/")>-1?`@types/${mangleScopedPackageName(_)}`:_):t.typesPackageExists(_)?tl(void 0,U.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,_,mangleScopedPackageName(_)):t.packageBundlesTypes(_)?tl(void 0,U.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,_,r):tl(void 0,U.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,r,mangleScopedPackageName(_));return l&&(l.repopulateInfo=()=>({moduleReference:r,mode:a,packageName:_===r?void 0:_})),l}function tD(e,t){return e===t||!!e&&!!t&&e.name===t.name&&e.subModuleName===t.subModuleName&&e.version===t.version}function k3({name:e,subModuleName:t}){return t?`${e}/${t}`:e}function rD(e){return`${k3(e)}@${e.version}`}function nD(e,t){return e===t||e.resolvedTypeReferenceDirective===t.resolvedTypeReferenceDirective||!!e.resolvedTypeReferenceDirective&&!!t.resolvedTypeReferenceDirective&&e.resolvedTypeReferenceDirective.resolvedFileName===t.resolvedTypeReferenceDirective.resolvedFileName&&!!e.resolvedTypeReferenceDirective.primary==!!t.resolvedTypeReferenceDirective.primary&&e.resolvedTypeReferenceDirective.originalPath===t.resolvedTypeReferenceDirective.originalPath}function iD(e,t,r,a,_,p){N.assert(e.length===r.length);for(let d=0;d<e.length;d++){let h=r[d],l=e[d],v=p.getName(l),y=p.getMode(l,t),C=a&&a.get(v,y);if(C?!h||!_(C,h):h)return!0}return!1}function xl(e){return aD(e),(e.flags&1048576)!==0}function aD(e){e.flags&2097152||((e.flags&262144||Bt(e,xl))&&(e.flags|=1048576),e.flags|=2097152)}function ri(e){for(;e&&e.kind!==312;)e=e.parent;return e}function oD(e){return ri(e.valueDeclaration||F3(e))}function sD(e,t){return!!e&&(e.scriptKind===1||e.scriptKind===2)&&!e.checkJsDirective&&t===void 0}function _D(e){switch(e.kind){case 241:case 269:case 248:case 249:case 250:return!0}return!1}function cD(e,t){return N.assert(e>=0),Ia(t)[e]}function lD(e){let t=ri(e),r=to(t,e.pos);return`${t.fileName}(${r.line+1},${r.character+1})`}function D3(e,t){N.assert(e>=0);let r=Ia(t),a=e,_=t.text;if(a+1===r.length)return _.length-1;{let p=r[a],d=r[a+1]-1;for(N.assert(mr(_.charCodeAt(d)));p<=d&&mr(_.charCodeAt(d));)d--;return d}}function P3(e,t,r){return!(r&&r(t))&&!e.identifiers.has(t)}function zi(e){return e===void 0?!0:e.pos===e.end&&e.pos>=0&&e.kind!==1}function wl(e){return!zi(e)}function uD(e,t){return No(e)?t===e.expression:eu(e)?t===e.modifiers:Zl(e)?t===e.initializer:oo(e)?t===e.questionToken&&c3(e):_s(e)?t===e.modifiers||t===e.questionToken||t===e.exclamationToken||Gs(e.modifiers,t,Mf):_u(e)?t===e.equalsToken||t===e.modifiers||t===e.questionToken||t===e.exclamationToken||Gs(e.modifiers,t,Mf):d_(e)?t===e.exclamationToken:J_(e)?t===e.typeParameters||t===e.type||Gs(e.typeParameters,t,No):m_(e)?t===e.typeParameters||Gs(e.typeParameters,t,No):Qo(e)?t===e.typeParameters||t===e.type||Gs(e.typeParameters,t,No):x6(e)?t===e.modifiers||Gs(e.modifiers,t,Mf):!1}function Gs(e,t,r){return!e||zt(t)||!r(t)?!1:es(e,t)}function I3(e,t,r){if(t===void 0||t.length===0)return e;let a=0;for(;a<e.length&&r(e[a]);++a);return e.splice(a,0,...t),e}function N3(e,t,r){if(t===void 0)return e;let a=0;for(;a<e.length&&r(e[a]);++a);return e.splice(a,0,t),e}function O3(e){return Ea(e)||!!(ti(e)&2097152)}function pD(e,t){return I3(e,t,Ea)}function fD(e,t){return I3(e,t,O3)}function dD(e,t){return N3(e,t,Ea)}function mD(e,t){return N3(e,t,O3)}function hD(e,t,r){if(e.charCodeAt(t+1)===47&&t+2<r&&e.charCodeAt(t+2)===47){let a=e.substring(t,r);return!!(Y2.test(a)||K2.test(a)||hx.test(a)||dx.test(a)||mx.test(a)||yx.test(a))}return!1}function M3(e,t){return e.charCodeAt(t+1)===42&&e.charCodeAt(t+2)===33}function yD(e,t){let r=new Map(t.map(d=>[`${to(e,d.range.end).line}`,d])),a=new Map;return{getUnusedExpectations:_,markUsed:p};function _(){return jd(r.entries()).filter(([d,h])=>h.type===0&&!a.get(d)).map(([d,h])=>h)}function p(d){return r.has(`${d}`)?(a.set(`${d}`,!0),!0):!1}}function Go(e,t,r){return zi(e)?e.pos:zg(e)||e.kind===12?Nt((t||ri(e)).text,e.pos,!1,!0):r&&Wi(e)?Go(e.jsDoc[0],t):e.kind===358&&e._children.length>0?Go(e._children[0],t,r):Nt((t||ri(e)).text,e.pos,!1,!1,rT(e))}function gD(e,t){let r=!zi(e)&&q_(e)?ig(e.modifiers,L_):void 0;return r?Nt((t||ri(e)).text,r.end):Go(e,t)}function Xo(e,t,r=!1){return t_(e.text,t,r)}function bD(e){return!!Kr(e,g8)}function L3(e){return!!(B_(e)&&e.exportClause&&Nm(e.exportClause)&&e.exportClause.name.escapedText==="default")}function t_(e,t,r=!1){if(zi(t))return"";let a=e.substring(r?t.pos:Nt(e,t.pos),t.end);return bD(t)&&(a=a.split(/\r\n|\n|\r/).map(_=>gl(_.replace(/^\s*\*/,""))).join(`
`)),a}function _m(e,t=!1){return Xo(ri(e),e,t)}function vD(e){return e.pos}function TD(e,t){return Ml(e,t,vD,kr)}function ti(e){let t=e.emitNode;return t&&t.flags||0}function SD(e){let t=e.emitNode;return t&&t.internalFlags||0}function xD(e,t,r){if(t&&wD(e,r))return Xo(t,e);switch(e.kind){case 11:{let a=r&2?qT:r&1||ti(e)&16777216?Td:Sd;return e.singleQuote?"'"+a(e.text,39)+"'":'"'+a(e.text,34)+'"'}case 15:case 16:case 17:case 18:{let a=r&1||ti(e)&16777216?Td:Sd,_=e.rawText??iN(a(e.text,96));switch(e.kind){case 15:return"`"+_+"`";case 16:return"`"+_+"${";case 17:return"}"+_+"${";case 18:return"}"+_+"`"}break}case 9:case 10:return e.text;case 14:return r&4&&e.isUnterminated?e.text+(e.text.charCodeAt(e.text.length-1)===92?" /":"/"):e.text}return N.fail(`Literal kind '${e.kind}' not accounted for.`)}function wD(e,t){if(Ta(e)||!e.parent||t&4&&e.isUnterminated)return!1;if(lo(e)){if(e.numericLiteralFlags&26656)return!1;if(e.numericLiteralFlags&512)return!!(t&8)}return!o6(e)}function CD(e){return b_(e)?'"'+Sd(e)+'"':""+e}function ED(e){return T_(e).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function AD(e){return(C_(e)&7)!==0||J3(e)}function J3(e){let t=ym(e);return t.kind===260&&t.parent.kind===299}function cm(e){return Yi(e)&&(e.name.kind===11||lm(e))}function kD(e){return Yi(e)&&e.name.kind===11}function DD(e){return Yi(e)&&mn(e.name)}function R3(e){return Yi(e)||Ee(e)}function PD(e){return ID(e.valueDeclaration)}function ID(e){return!!e&&e.kind===267&&!e.body}function ND(e){return e.kind===312||e.kind===267||nm(e)}function lm(e){return!!(e.flags&2048)}function Gg(e){return cm(e)&&j3(e)}function j3(e){switch(e.parent.kind){case 312:return Zo(e.parent);case 268:return cm(e.parent.parent)&&ii(e.parent.parent.parent)&&!Zo(e.parent.parent.parent)}return!1}function F3(e){var t;return(t=e.declarations)==null?void 0:t.find(r=>!Gg(r)&&!(Yi(r)&&lm(r)))}function OD(e){return e===1||e===100||e===199}function Xg(e,t){return Zo(e)||OD(ni(t))&&!!e.commonJsModuleIndicator}function MD(e,t){switch(e.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return e.isDeclarationFile?!1:W2(t,"alwaysStrict")||P8(e.statements)?!0:Zo(e)||B2(t)?ni(t)>=5?!0:!t.noImplicitUseStrict:!1}function LD(e){return!!(e.flags&33554432)||gr(e,2)}function B3(e,t){switch(e.kind){case 312:case 269:case 299:case 267:case 248:case 249:case 250:case 176:case 174:case 177:case 178:case 262:case 218:case 219:case 172:case 175:return!0;case 241:return!nm(t)}return!1}function JD(e){switch(N.type(e),e.kind){case 345:case 353:case 330:return!0;default:return U3(e)}}function U3(e){switch(N.type(e),e.kind){case 179:case 180:case 173:case 181:case 184:case 185:case 324:case 263:case 231:case 264:case 265:case 352:case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function $g(e){switch(e.kind){case 272:case 271:return!0;default:return!1}}function RD(e){return $g(e)||fm(e)}function jD(e){switch(e.kind){case 272:case 271:case 243:case 263:case 262:case 267:case 265:case 264:case 266:return!0;default:return!1}}function FD(e){return um(e)||Yi(e)||ru(e)||t2(e)}function um(e){return $g(e)||B_(e)}function BD(e){return Kr(e.parent,t=>!!(getContainerFlags(t)&1))}function S0(e){return Kr(e.parent,t=>B3(t,t.parent))}function UD(e,t){let r=S0(e);for(;r;)t(r),r=S0(r)}function q3(e){return!e||sm(e)===0?"(Missing)":_m(e)}function qD(e){return e.declaration?q3(e.declaration.parameters[0].name):void 0}function zD(e){return e.kind===167&&!Qi(e.expression)}function Qg(e){var t;switch(e.kind){case 80:case 81:return(t=e.emitNode)!=null&&t.autoGenerate?void 0:e.escapedText;case 11:case 9:case 15:return Mn(e.text);case 167:return Qi(e.expression)?Mn(e.expression.text):void 0;case 295:return Yl(e);default:return N.assertNever(e)}}function WD(e){return N.checkDefined(Qg(e))}function vi(e){switch(e.kind){case 110:return"this";case 81:case 80:return sm(e)===0?Ot(e):_m(e);case 166:return vi(e.left)+"."+vi(e.right);case 211:return Ee(e.name)||jr(e.name)?vi(e.expression)+"."+vi(e.name):N.assertNever(e.name);case 318:return vi(e.left)+vi(e.right);case 295:return vi(e.namespace)+":"+vi(e.name);default:return N.assertNever(e)}}function VD(e,t,...r){let a=ri(e);return z3(a,e,t,...r)}function HD(e,t,r,...a){let _=Nt(e.text,t.pos);return j2(e,_,t.end-_,r,...a)}function z3(e,t,r,...a){let _=Zg(e,t);return j2(e,_.start,_.length,r,...a)}function GD(e,t,r,a){let _=Zg(e,t);return Kg(e,_.start,_.length,r,a)}function XD(e,t,r,a){let _=Nt(e.text,t.pos);return Kg(e,_,t.end-_,r,a)}function Yg(e,t,r){N.assertGreaterThanOrEqual(t,0),N.assertGreaterThanOrEqual(r,0),e&&(N.assertLessThanOrEqual(t,e.text.length),N.assertLessThanOrEqual(t+r,e.text.length))}function Kg(e,t,r,a,_){return Yg(e,t,r),{file:e,start:t,length:r,code:a.code,category:a.category,messageText:a.next?a:a.messageText,relatedInformation:_}}function $D(e,t,r){return{file:e,start:0,length:0,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:r}}function QD(e){return typeof e.messageText=="string"?{code:e.code,category:e.category,messageText:e.messageText,next:e.next}:e.messageText}function YD(e,t,r){return{file:e,start:t.pos,length:t.end-t.pos,code:r.code,category:r.category,messageText:r.message}}function Ys(e,t){let r=ns(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);r.scan();let a=r.getTokenStart();return Hi(a,r.getTokenEnd())}function KD(e,t){let r=ns(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);return r.scan(),r.getToken()}function ZD(e,t){let r=Nt(e.text,t.pos);if(t.body&&t.body.kind===241){let{line:a}=to(e,t.body.pos),{line:_}=to(e,t.body.end);if(a<_)return w_(r,D3(a,e)-r+1)}return Hi(r,t.end)}function Zg(e,t){let r=t;switch(t.kind){case 312:{let p=Nt(e.text,0,!1);return p===e.text.length?w_(0,0):Ys(e,p)}case 260:case 208:case 263:case 231:case 264:case 267:case 266:case 306:case 262:case 218:case 174:case 177:case 178:case 265:case 172:case 171:case 274:r=t.name;break;case 219:return ZD(e,t);case 296:case 297:{let p=Nt(e.text,t.pos),d=t.statements.length>0?t.statements[0].pos:t.end;return Hi(p,d)}case 253:case 229:{let p=Nt(e.text,t.pos);return Ys(e,p)}case 238:{let p=Nt(e.text,t.expression.end);return Ys(e,p)}case 357:{let p=Nt(e.text,t.tagName.pos);return Ys(e,p)}}if(r===void 0)return Ys(e,t.pos);N.assert(!cs(r));let a=zi(r),_=a||Dd(t)?r.pos:Nt(e.text,r.pos);return a?(N.assert(_===r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),N.assert(_===r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(N.assert(_>=r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),N.assert(_<=r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),Hi(_,r.end)}function eP(e){return(e.externalModuleIndicator||e.commonJsModuleIndicator)!==void 0}function e2(e){return e.scriptKind===6}function tP(e){return!!(Qd(e)&2048)}function rP(e){return!!(Qd(e)&64&&!C4(e,e.parent))}function nP(e){return(C_(e)&7)===6}function iP(e){return(C_(e)&7)===4}function W3(e){return(C_(e)&7)===2}function aP(e){return(C_(e)&7)===1}function oP(e){return e.kind===213&&e.expression.kind===108}function t2(e){return e.kind===213&&e.expression.kind===102}function x0(e){return b6(e)&&e.keywordToken===102&&e.name.escapedText==="meta"}function V3(e){return ru(e)&&m6(e.argument)&&mn(e.argument.literal)}function Ea(e){return e.kind===244&&e.expression.kind===11}function pm(e){return!!(ti(e)&2097152)}function w0(e){return pm(e)&&os(e)}function sP(e){return Ee(e.name)&&!e.initializer}function C0(e){return pm(e)&&as(e)&&so(e.declarationList.declarations,sP)}function _P(e,t){return e.kind!==12?Wo(t.text,e.pos):void 0}function H3(e,t){let r=e.kind===169||e.kind===168||e.kind===218||e.kind===219||e.kind===217||e.kind===260||e.kind===281?y_(s4(t,e.pos),Wo(t,e.pos)):Wo(t,e.pos);return $r(r,a=>t.charCodeAt(a.pos+1)===42&&t.charCodeAt(a.pos+2)===42&&t.charCodeAt(a.pos+3)!==47)}function r2(e){if(182<=e.kind&&e.kind<=205)return!0;switch(e.kind){case 133:case 159:case 150:case 163:case 154:case 136:case 155:case 151:case 157:case 106:case 146:return!0;case 116:return e.parent.kind!==222;case 233:return Nl(e.parent)&&!M0(e);case 168:return e.parent.kind===200||e.parent.kind===195;case 80:(e.parent.kind===166&&e.parent.right===e||e.parent.kind===211&&e.parent.name===e)&&(e=e.parent),N.assert(e.kind===80||e.kind===166||e.kind===211,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 166:case 211:case 110:{let{parent:t}=e;if(t.kind===186)return!1;if(t.kind===205)return!t.isTypeOf;if(182<=t.kind&&t.kind<=205)return!0;switch(t.kind){case 233:return Nl(t.parent)&&!M0(t);case 168:return e===t.constraint;case 352:return e===t.constraint;case 172:case 171:case 169:case 260:return e===t.type;case 262:case 218:case 219:case 176:case 174:case 173:case 177:case 178:return e===t.type;case 179:case 180:case 181:return e===t.type;case 216:return e===t.type;case 213:case 214:case 215:return es(t.typeArguments,e)}}}return!1}function cP(e,t){for(;e;){if(e.kind===t)return!0;e=e.parent}return!1}function lP(e,t){return r(e);function r(a){switch(a.kind){case 253:return t(a);case 269:case 241:case 245:case 246:case 247:case 248:case 249:case 250:case 254:case 255:case 296:case 297:case 256:case 258:case 299:return Bt(a,r)}}}function uP(e,t){return r(e);function r(a){switch(a.kind){case 229:t(a);let _=a.expression;_&&r(_);return;case 266:case 264:case 267:case 265:return;default:if(Gi(a)){if(a.name&&a.name.kind===167){r(a.name.expression);return}}else r2(a)||Bt(a,r)}}}function pP(e){return e&&e.kind===188?e.elementType:e&&e.kind===183?Jd(e.typeArguments):void 0}function fP(e){switch(e.kind){case 264:case 263:case 231:case 187:return e.members;case 210:return e.properties}}function n2(e){if(e)switch(e.kind){case 208:case 306:case 169:case 303:case 172:case 171:case 304:case 260:return!0}return!1}function dP(e){return n2(e)||im(e)}function G3(e){return e.parent.kind===261&&e.parent.parent.kind===243}function mP(e){return Wt(e)?uo(e.parent)&&Ct(e.parent.parent)&&Ja(e.parent.parent)===2||i2(e.parent):!1}function i2(e){return Wt(e)?Ct(e)&&Ja(e)===1:!1}function hP(e){return(ki(e)?W3(e)&&Ee(e.name)&&G3(e):oo(e)?O0(e)&&bm(e):Zl(e)&&O0(e))||i2(e)}function yP(e){switch(e.kind){case 174:case 173:case 176:case 177:case 178:case 262:case 218:return!0}return!1}function gP(e,t){for(;;){if(t&&t(e),e.statement.kind!==256)return e.statement;e=e.statement}}function X3(e){return e&&e.kind===241&&Gi(e.parent)}function bP(e){return e&&e.kind===174&&e.parent.kind===210}function vP(e){return(e.kind===174||e.kind===177||e.kind===178)&&(e.parent.kind===210||e.parent.kind===231)}function TP(e){return e&&e.kind===1}function SP(e){return e&&e.kind===0}function a2(e,t,r,a){return yr(e==null?void 0:e.properties,_=>{if(!_s(_))return;let p=Qg(_.name);return t===p||a&&a===p?r(_):void 0})}function xP(e,t,r){return a2(e,t,a=>iu(a.initializer)?Yr(a.initializer.elements,_=>mn(_)&&_.text===r):void 0)}function $3(e){if(e&&e.statements.length){let t=e.statements[0].expression;return On(t,uo)}}function wP(e,t,r){return Q3(e,t,a=>iu(a.initializer)?Yr(a.initializer.elements,_=>mn(_)&&_.text===r):void 0)}function Q3(e,t,r){return a2($3(e),t,r)}function CP(e){return Kr(e.parent,Gi)}function EP(e){return Kr(e.parent,s3)}function E0(e){return Kr(e.parent,dn)}function AP(e){return Kr(e.parent,t=>dn(t)||Gi(t)?"quit":eu(t))}function kP(e){return Kr(e.parent,nm)}function DP(e){let t=Kr(e.parent,r=>dn(r)?"quit":L_(r));return t&&dn(t.parent)?E0(t.parent):E0(t??e)}function o2(e,t,r){for(N.assert(e.kind!==312);;){if(e=e.parent,!e)return N.fail();switch(e.kind){case 167:if(r&&dn(e.parent.parent))return e;e=e.parent.parent;break;case 170:e.parent.kind===169&&no(e.parent.parent)?e=e.parent.parent:no(e.parent)&&(e=e.parent);break;case 219:if(!t)continue;case 262:case 218:case 267:case 175:case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 179:case 180:case 181:case 266:case 312:return e}}}function PP(e){switch(e.kind){case 219:case 262:case 218:case 172:return!0;case 241:switch(e.parent.kind){case 176:case 174:case 177:case 178:return!0;default:return!1}default:return!1}}function IP(e){Ee(e)&&(Yo(e.parent)||os(e.parent))&&e.parent.name===e&&(e=e.parent);let t=o2(e,!0,!1);return ii(t)}function NP(e){let t=o2(e,!1,!1);if(t)switch(t.kind){case 176:case 262:case 218:return t}}function OP(e,t){for(;;){if(e=e.parent,!e)return;switch(e.kind){case 167:e=e.parent;break;case 262:case 218:case 219:if(!t)continue;case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 175:return e;case 170:e.parent.kind===169&&no(e.parent.parent)?e=e.parent.parent:no(e.parent)&&(e=e.parent);break}}}function MP(e){if(e.kind===218||e.kind===219){let t=e,r=e.parent;for(;r.kind===217;)t=r,r=r.parent;if(r.kind===213&&r.expression===t)return r}}function LP(e){return e.kind===108||gd(e)}function gd(e){let t=e.kind;return(t===211||t===212)&&e.expression.kind===108}function JP(e){let t=e.kind;return(t===211||t===212)&&e.expression.kind===110}function RP(e){var t;return!!e&&ki(e)&&((t=e.initializer)==null?void 0:t.kind)===110}function jP(e){return!!e&&(_u(e)||_s(e))&&Ct(e.parent.parent)&&e.parent.parent.operatorToken.kind===64&&e.parent.parent.right.kind===110}function FP(e){switch(e.kind){case 183:return e.typeName;case 233:return co(e.expression)?e.expression:void 0;case 80:case 166:return e}}function BP(e){switch(e.kind){case 215:return e.tag;case 286:case 285:return e.tagName;default:return e.expression}}function Y3(e,t,r,a){if(e&&Yd(t)&&jr(t.name))return!1;switch(t.kind){case 263:return!0;case 231:return!e;case 172:return r!==void 0&&(e?Yo(r):dn(r)&&!nS(t)&&!iS(t));case 177:case 178:case 174:return t.body!==void 0&&r!==void 0&&(e?Yo(r):dn(r));case 169:return e?r!==void 0&&r.body!==void 0&&(r.kind===176||r.kind===174||r.kind===178)&&YT(r)!==t&&a!==void 0&&a.kind===263:!1}return!1}function l_(e,t,r,a){return El(t)&&Y3(e,t,r,a)}function A0(e,t,r,a){return l_(e,t,r,a)||s2(e,t,r)}function s2(e,t,r){switch(t.kind){case 263:return mt(t.members,a=>A0(e,a,t,r));case 231:return!e&&mt(t.members,a=>A0(e,a,t,r));case 174:case 178:case 176:return mt(t.parameters,a=>l_(e,a,t,r));default:return!1}}function UP(e,t){if(l_(e,t))return!0;let r=QT(t);return!!r&&s2(e,r,t)}function qP(e,t,r){let a;if(im(t)){let{firstAccessor:_,secondAccessor:p,setAccessor:d}=P2(r.members,t),h=El(_)?_:p&&El(p)?p:void 0;if(!h||t!==h)return!1;a=d==null?void 0:d.parameters}else d_(t)&&(a=t.parameters);if(l_(e,t,r))return!0;if(a){for(let _ of a)if(!Xl(_)&&l_(e,_,t,r))return!0}return!1}function K3(e){if(e.textSourceNode){switch(e.textSourceNode.kind){case 11:return K3(e.textSourceNode);case 15:return e.text===""}return!1}return e.text===""}function Lf(e){let{parent:t}=e;return t.kind===286||t.kind===285||t.kind===287?t.tagName===e:!1}function _2(e){switch(e.kind){case 108:case 106:case 112:case 97:case 14:case 209:case 210:case 211:case 212:case 213:case 214:case 215:case 234:case 216:case 238:case 235:case 217:case 218:case 231:case 219:case 222:case 220:case 221:case 224:case 225:case 226:case 227:case 230:case 228:case 232:case 284:case 285:case 288:case 229:case 223:case 236:return!0;case 233:return!Nl(e.parent)&&!Lm(e.parent);case 166:for(;e.parent.kind===166;)e=e.parent;return e.parent.kind===186||ul(e.parent)||Wf(e.parent)||r_(e.parent)||Lf(e);case 318:for(;r_(e.parent);)e=e.parent;return e.parent.kind===186||ul(e.parent)||Wf(e.parent)||r_(e.parent)||Lf(e);case 81:return Ct(e.parent)&&e.parent.left===e&&e.parent.operatorToken.kind===103;case 80:if(e.parent.kind===186||ul(e.parent)||Wf(e.parent)||r_(e.parent)||Lf(e))return!0;case 9:case 10:case 11:case 15:case 110:return Z3(e);default:return!1}}function Z3(e){let{parent:t}=e;switch(t.kind){case 260:case 169:case 172:case 171:case 306:case 303:case 208:return t.initializer===e;case 244:case 245:case 246:case 247:case 253:case 254:case 255:case 296:case 257:return t.expression===e;case 248:let r=t;return r.initializer===e&&r.initializer.kind!==261||r.condition===e||r.incrementor===e;case 249:case 250:let a=t;return a.initializer===e&&a.initializer.kind!==261||a.expression===e;case 216:case 234:return e===t.expression;case 239:return e===t.expression;case 167:return e===t.expression;case 170:case 294:case 293:case 305:return!0;case 233:return t.expression===e&&!r2(t);case 304:return t.objectAssignmentInitializer===e;case 238:return e===t.expression;default:return _2(t)}}function eT(e){for(;e.kind===166||e.kind===80;)e=e.parent;return e.kind===186}function zP(e){return Nm(e)&&!!e.parent.moduleSpecifier}function tT(e){return e.kind===271&&e.moduleReference.kind===283}function WP(e){return N.assert(tT(e)),e.moduleReference.expression}function VP(e){return fm(e)&&R2(e.initializer).arguments[0]}function HP(e){return e.kind===271&&e.moduleReference.kind!==283}function c2(e){return Wt(e)}function GP(e){return!Wt(e)}function Wt(e){return!!e&&!!(e.flags&524288)}function XP(e){return!!e&&!!(e.flags&134217728)}function $P(e){return!e2(e)}function rT(e){return!!e&&!!(e.flags&16777216)}function QP(e){return R_(e)&&Ee(e.typeName)&&e.typeName.escapedText==="Object"&&e.typeArguments&&e.typeArguments.length===2&&(e.typeArguments[0].kind===154||e.typeArguments[0].kind===150)}function Wl(e,t){if(e.kind!==213)return!1;let{expression:r,arguments:a}=e;if(r.kind!==80||r.escapedText!=="require"||a.length!==1)return!1;let _=a[0];return!t||Kn(_)}function nT(e){return iT(e,!1)}function fm(e){return iT(e,!0)}function YP(e){return nu(e)&&fm(e.parent.parent)}function iT(e,t){return ki(e)&&!!e.initializer&&Wl(t?R2(e.initializer):e.initializer,!0)}function aT(e){return as(e)&&e.declarationList.declarations.length>0&&so(e.declarationList.declarations,t=>nT(t))}function KP(e){return e===39||e===34}function ZP(e,t){return Xo(t,e).charCodeAt(0)===34}function k0(e){return Ct(e)||$o(e)||Ee(e)||j_(e)}function oT(e){return Wt(e)&&e.initializer&&Ct(e.initializer)&&(e.initializer.operatorToken.kind===57||e.initializer.operatorToken.kind===61)&&e.name&&co(e.name)&&u_(e.name,e.initializer.left)?e.initializer.right:e.initializer}function eI(e){let t=oT(e);return t&&A_(t,$l(e.name))}function tI(e,t){return yr(e.properties,r=>_s(r)&&Ee(r.name)&&r.name.escapedText==="value"&&r.initializer&&A_(r.initializer,t))}function rI(e){if(e&&e.parent&&Ct(e.parent)&&e.parent.operatorToken.kind===64){let t=$l(e.parent.left);return A_(e.parent.right,t)||nI(e.parent.left,e.parent.right,t)}if(e&&j_(e)&&p2(e)){let t=tI(e.arguments[2],e.arguments[1].text==="prototype");if(t)return t}}function A_(e,t){if(j_(e)){let r=Gl(e.expression);return r.kind===218||r.kind===219?e:void 0}if(e.kind===218||e.kind===231||e.kind===219||uo(e)&&(e.properties.length===0||t))return e}function nI(e,t,r){let a=Ct(t)&&(t.operatorToken.kind===57||t.operatorToken.kind===61)&&A_(t.right,r);if(a&&u_(e,t.left))return a}function iI(e){let t=ki(e.parent)?e.parent.name:Ct(e.parent)&&e.parent.operatorToken.kind===64?e.parent.left:void 0;return t&&A_(e.right,$l(t))&&co(t)&&u_(t,e.left)}function aI(e){if(Ct(e.parent)){let t=(e.parent.operatorToken.kind===57||e.parent.operatorToken.kind===61)&&Ct(e.parent.parent)?e.parent.parent:e.parent;if(t.operatorToken.kind===64&&Ee(t.left))return t.left}else if(ki(e.parent))return e.parent.name}function u_(e,t){return P0(e)&&P0(t)?vd(e)===vd(t):ro(e)&&Jf(t)&&(t.expression.kind===110||Ee(t.expression)&&(t.expression.escapedText==="window"||t.expression.escapedText==="self"||t.expression.escapedText==="global"))?u_(e,cT(t)):Jf(e)&&Jf(t)?io(e)===io(t)&&u_(e.expression,t.expression):!1}function l2(e){for(;Na(e,!0);)e=e.right;return e}function sT(e){return Ee(e)&&e.escapedText==="exports"}function _T(e){return Ee(e)&&e.escapedText==="module"}function u2(e){return(Br(e)||Vl(e))&&_T(e.expression)&&io(e)==="exports"}function Ja(e){let t=oI(e);return t===5||Wt(e)?t:0}function p2(e){return Ka(e.arguments)===3&&Br(e.expression)&&Ee(e.expression.expression)&&Ot(e.expression.expression)==="Object"&&Ot(e.expression.name)==="defineProperty"&&Qi(e.arguments[1])&&p_(e.arguments[0],!0)}function Jf(e){return Br(e)||Vl(e)}function Vl(e){return Ra(e)&&Qi(e.argumentExpression)}function k_(e,t){return Br(e)&&(!t&&e.expression.kind===110||Ee(e.name)&&p_(e.expression,!0))||f2(e,t)}function f2(e,t){return Vl(e)&&(!t&&e.expression.kind===110||co(e.expression)||k_(e.expression,!0))}function p_(e,t){return co(e)||k_(e,t)}function cT(e){return Br(e)?e.name:e.argumentExpression}function oI(e){if(j_(e)){if(!p2(e))return 0;let t=e.arguments[0];return sT(t)||u2(t)?8:k_(t)&&io(t)==="prototype"?9:7}return e.operatorToken.kind!==64||!$o(e.left)||sI(l2(e))?0:p_(e.left.expression,!0)&&io(e.left)==="prototype"&&uo(uT(e))?6:lT(e.left)}function sI(e){return h6(e)&&lo(e.expression)&&e.expression.text==="0"}function dm(e){if(Br(e))return e.name;let t=Gl(e.argumentExpression);return lo(t)||Kn(t)?t:e}function io(e){let t=dm(e);if(t){if(Ee(t))return t.escapedText;if(Kn(t)||lo(t))return Mn(t.text)}}function lT(e){if(e.expression.kind===110)return 4;if(u2(e))return 2;if(p_(e.expression,!0)){if($l(e.expression))return 3;let t=e;for(;!Ee(t.expression);)t=t.expression;let r=t.expression;if((r.escapedText==="exports"||r.escapedText==="module"&&io(t)==="exports")&&k_(e))return 1;if(p_(e,!0)||Ra(e)&&S2(e))return 5}return 0}function uT(e){for(;Ct(e.right);)e=e.right;return e.right}function _I(e){return Ct(e)&&Ja(e)===3}function cI(e){return Wt(e)&&e.parent&&e.parent.kind===244&&(!Ra(e)||Vl(e))&&!!em(e.parent)}function lI(e,t){let{valueDeclaration:r}=e;(!r||!(t.flags&33554432&&!Wt(t)&&!(r.flags&33554432))&&k0(r)&&!k0(t)||r.kind!==t.kind&&R3(r))&&(e.valueDeclaration=t)}function uI(e){if(!e||!e.valueDeclaration)return!1;let t=e.valueDeclaration;return t.kind===262||ki(t)&&t.initializer&&Gi(t.initializer)}function pI(e){var t,r;switch(e.kind){case 260:case 208:return(t=Kr(e.initializer,a=>Wl(a,!0)))==null?void 0:t.arguments[0];case 272:return On(e.moduleSpecifier,Kn);case 271:return On((r=On(e.moduleReference,Om))==null?void 0:r.expression,Kn);case 273:case 280:return On(e.parent.moduleSpecifier,Kn);case 274:case 281:return On(e.parent.parent.moduleSpecifier,Kn);case 276:return On(e.parent.parent.parent.moduleSpecifier,Kn);default:N.assertNever(e)}}function fI(e){return pT(e)||N.failBadSyntaxKind(e.parent)}function pT(e){switch(e.parent.kind){case 272:case 278:return e.parent;case 283:return e.parent.parent;case 213:return t2(e.parent)||Wl(e.parent,!1)?e.parent:void 0;case 201:return N.assert(mn(e)),On(e.parent.parent,ru);default:return}}function d2(e){switch(e.kind){case 272:case 278:return e.moduleSpecifier;case 271:return e.moduleReference.kind===283?e.moduleReference.expression:void 0;case 205:return V3(e)?e.argument.literal:void 0;case 213:return e.arguments[0];case 267:return e.name.kind===11?e.name:void 0;default:return N.assertNever(e)}}function fT(e){switch(e.kind){case 272:return e.importClause&&On(e.importClause.namedBindings,E6);case 271:return e;case 278:return e.exportClause&&On(e.exportClause,Nm);default:return N.assertNever(e)}}function dT(e){return e.kind===272&&!!e.importClause&&!!e.importClause.name}function dI(e,t){if(e.name){let r=t(e);if(r)return r}if(e.namedBindings){let r=E6(e.namedBindings)?t(e.namedBindings):yr(e.namedBindings.elements,t);if(r)return r}}function mI(e){if(e)switch(e.kind){case 169:case 174:case 173:case 304:case 303:case 172:case 171:return e.questionToken!==void 0}return!1}function hI(e){let t=Mm(e)?g_(e.parameters):void 0,r=On(t&&t.name,Ee);return!!r&&r.escapedText==="new"}function Hl(e){return e.kind===353||e.kind===345||e.kind===347}function yI(e){return Hl(e)||T6(e)}function gI(e){return ou(e)&&Ct(e.expression)&&e.expression.operatorToken.kind===64?l2(e.expression):void 0}function mT(e){return ou(e)&&Ct(e.expression)&&Ja(e.expression)!==0&&Ct(e.expression.right)&&(e.expression.right.operatorToken.kind===57||e.expression.right.operatorToken.kind===61)?e.expression.right.right:void 0}function m2(e){switch(e.kind){case 243:let t=Cl(e);return t&&t.initializer;case 172:return e.initializer;case 303:return e.initializer}}function Cl(e){return as(e)?g_(e.declarationList.declarations):void 0}function hT(e){return Yi(e)&&e.body&&e.body.kind===267?e.body:void 0}function bI(e){if(e.kind>=243&&e.kind<=259)return!0;switch(e.kind){case 80:case 110:case 108:case 166:case 236:case 212:case 211:case 208:case 218:case 219:case 174:case 177:case 178:return!0;default:return!1}}function mm(e){switch(e.kind){case 219:case 226:case 241:case 252:case 179:case 296:case 263:case 231:case 175:case 176:case 185:case 180:case 251:case 259:case 246:case 212:case 242:case 1:case 266:case 306:case 277:case 278:case 281:case 244:case 249:case 250:case 248:case 262:case 218:case 184:case 177:case 80:case 245:case 272:case 271:case 181:case 264:case 324:case 330:case 256:case 174:case 173:case 267:case 202:case 270:case 210:case 169:case 217:case 211:case 303:case 172:case 171:case 253:case 240:case 178:case 304:case 305:case 255:case 257:case 258:case 265:case 168:case 260:case 243:case 247:case 254:return!0;default:return!1}}function yT(e,t){let r;n2(e)&&C3(e)&&Wi(e.initializer)&&(r=Rr(r,jb(e,ka(e.initializer.jsDoc))));let a=e;for(;a&&a.parent;){if(Wi(a)&&(r=Rr(r,jb(e,ka(a.jsDoc)))),a.kind===169){r=Rr(r,(t?L4:Zd)(a));break}if(a.kind===168){r=Rr(r,(t?j4:R4)(a));break}a=gT(a)}return r||$e}function jb(e,t){if(cs(t)){let r=$r(t.tags,a=>Fb(e,a));return t.tags===r?[t]:r}return Fb(e,t)?[t]:void 0}function Fb(e,t){return!(lu(t)||j6(t))||!t.parent||!cs(t.parent)||!is(t.parent.parent)||t.parent.parent===e}function gT(e){let t=e.parent;if(t.kind===303||t.kind===277||t.kind===172||t.kind===244&&e.kind===211||t.kind===253||hT(t)||Ct(e)&&e.operatorToken.kind===64)return t;if(t.parent&&(Cl(t.parent)===e||Ct(t)&&t.operatorToken.kind===64))return t.parent;if(t.parent&&t.parent.parent&&(Cl(t.parent.parent)||m2(t.parent.parent)===e||mT(t.parent.parent)))return t.parent.parent}function vI(e){if(e.symbol)return e.symbol;if(!Ee(e.name))return;let t=e.name.escapedText,r=h2(e);if(!r)return;let a=Yr(r.parameters,_=>_.name.kind===80&&_.name.escapedText===t);return a&&a.symbol}function TI(e){if(cs(e.parent)&&e.parent.tags){let t=Yr(e.parent.tags,Hl);if(t)return t}return h2(e)}function h2(e){let t=y2(e);if(t)return Zl(t)&&t.type&&Gi(t.type)?t.type:Gi(t)?t:void 0}function y2(e){let t=bT(e);if(t)return mT(t)||gI(t)||m2(t)||Cl(t)||hT(t)||t}function bT(e){let t=g2(e);if(!t)return;let r=t.parent;if(r&&r.jsDoc&&t===wi(r.jsDoc))return r}function g2(e){return Kr(e.parent,cs)}function SI(e){let t=e.name.escapedText,{typeParameters:r}=e.parent.parent.parent;return r&&Yr(r,a=>a.name.escapedText===t)}function xI(e){return!!e.typeArguments}function vT(e){let t=e.parent;for(;;){switch(t.kind){case 226:let r=t.operatorToken.kind;return D_(r)&&t.left===e?r===64||Tm(r)?1:2:0;case 224:case 225:let a=t.operator;return a===46||a===47?2:0;case 249:case 250:return t.initializer===e?1:0;case 217:case 209:case 230:case 235:e=t;break;case 305:e=t.parent;break;case 304:if(t.name!==e)return 0;e=t.parent;break;case 303:if(t.name===e)return 0;e=t.parent;break;default:return 0}t=e.parent}}function wI(e){return vT(e)!==0}function CI(e){switch(e.kind){case 241:case 243:case 254:case 245:case 255:case 269:case 296:case 297:case 256:case 248:case 249:case 250:case 246:case 247:case 258:case 299:return!0}return!1}function EI(e){return km(e)||Dm(e)||Rg(e)||os(e)||J_(e)}function TT(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function AI(e){return TT(e,196)}function ST(e){return TT(e,217)}function kI(e){let t;for(;e&&e.kind===196;)t=e,e=e.parent;return[t,e]}function DI(e){for(;f6(e);)e=e.type;return e}function Gl(e,t){return ls(e,t?17:1)}function PI(e){return e.kind!==211&&e.kind!==212?!1:(e=ST(e.parent),e&&e.kind===220)}function II(e,t){for(;e;){if(e===t)return!0;e=e.parent}return!1}function xT(e){return!ii(e)&&!am(e)&&Ho(e.parent)&&e.parent.name===e}function NI(e){let t=e.parent;switch(e.kind){case 11:case 15:case 9:if(ao(t))return t.parent;case 80:if(Ho(t))return t.name===e?t:void 0;if(M_(t)){let r=t.parent;return h_(r)&&r.name===t?r:void 0}else{let r=t.parent;return Ct(r)&&Ja(r)!==0&&(r.left.symbol||r.symbol)&&Bl(r)===e?r:void 0}case 81:return Ho(t)&&t.name===e?t:void 0;default:return}}function wT(e){return Qi(e)&&e.parent.kind===167&&Ho(e.parent.parent)}function OI(e){let t=e.parent;switch(t.kind){case 172:case 171:case 174:case 173:case 177:case 178:case 306:case 303:case 211:return t.name===e;case 166:return t.right===e;case 208:case 276:return t.propertyName===e;case 281:case 291:case 285:case 286:case 287:return!0}return!1}function MI(e){return e.kind===271||e.kind===270||e.kind===273&&e.name||e.kind===274||e.kind===280||e.kind===276||e.kind===281||e.kind===277&&D0(e)?!0:Wt(e)&&(Ct(e)&&Ja(e)===2&&D0(e)||Br(e)&&Ct(e.parent)&&e.parent.left===e&&e.parent.operatorToken.kind===64&&b2(e.parent.right))}function CT(e){switch(e.parent.kind){case 273:case 276:case 274:case 281:case 277:case 271:case 280:return e.parent;case 166:do e=e.parent;while(e.parent.kind===166);return CT(e)}}function b2(e){return co(e)||Il(e)}function D0(e){let t=ET(e);return b2(t)}function ET(e){return ss(e)?e.expression:e.right}function LI(e){return e.kind===304?e.name:e.kind===303?e.initializer:e.parent.right}function AT(e){let t=kT(e);if(t&&Wt(e)){let r=F4(e);if(r)return r.class}return t}function kT(e){let t=hm(e.heritageClauses,96);return t&&t.types.length>0?t.types[0]:void 0}function DT(e){if(Wt(e))return B4(e).map(t=>t.class);{let t=hm(e.heritageClauses,119);return t==null?void 0:t.types}}function PT(e){return su(e)?IT(e)||$e:dn(e)&&y_(Qf(AT(e)),DT(e))||$e}function IT(e){let t=hm(e.heritageClauses,96);return t?t.types:void 0}function hm(e,t){if(e){for(let r of e)if(r.token===t)return r}}function JI(e,t){for(;e;){if(e.kind===t)return e;e=e.parent}}function Si(e){return 83<=e&&e<=165}function NT(e){return 19<=e&&e<=79}function Rf(e){return Si(e)||NT(e)}function v2(e){return 128<=e&&e<=165}function OT(e){return Si(e)&&!v2(e)}function RI(e){return 119<=e&&e<=127}function jI(e){let t=Rl(e);return t!==void 0&&OT(t)}function FI(e){let t=Rl(e);return t!==void 0&&Si(t)}function BI(e){let t=D4(e);return!!t&&!v2(t)}function UI(e){return 2<=e&&e<=7}function qI(e){if(!e)return 4;let t=0;switch(e.kind){case 262:case 218:case 174:e.asteriskToken&&(t|=1);case 219:gr(e,512)&&(t|=2);break}return e.body||(t|=4),t}function zI(e){switch(e.kind){case 262:case 218:case 219:case 174:return e.body!==void 0&&e.asteriskToken===void 0&&gr(e,512)}return!1}function Qi(e){return Kn(e)||lo(e)}function T2(e){return Pm(e)&&(e.operator===40||e.operator===41)&&lo(e.operand)}function MT(e){let t=Bl(e);return!!t&&S2(t)}function S2(e){if(!(e.kind===167||e.kind===212))return!1;let t=Ra(e)?Gl(e.argumentExpression):e.expression;return!Qi(t)&&!T2(t)}function bd(e){switch(e.kind){case 80:case 81:return e.escapedText;case 11:case 9:return Mn(e.text);case 167:let t=e.expression;return Qi(t)?Mn(t.text):T2(t)?t.operator===41?nr(t.operator)+t.operand.text:t.operand.text:void 0;case 295:return Yl(e);default:return N.assertNever(e)}}function P0(e){switch(e.kind){case 80:case 11:case 15:case 9:return!0;default:return!1}}function vd(e){return ro(e)?Ot(e):U_(e)?Kl(e):e.text}function LT(e){return ro(e)?e.escapedText:U_(e)?Yl(e):Mn(e.text)}function WI(e){return`__@${getSymbolId(e)}@${e.escapedName}`}function VI(e,t){return`__#${getSymbolId(e)}@${t}`}function HI(e){return Fr(e.escapedName,"__@")}function GI(e){return Fr(e.escapedName,"__#")}function XI(e){return e.kind===80&&e.escapedText==="Symbol"}function JT(e){return Ee(e)?Ot(e)==="__proto__":mn(e)&&e.text==="__proto__"}function Ks(e,t){switch(e=ls(e),e.kind){case 231:if(classHasDeclaredOrExplicitlyAssignedName(e))return!1;break;case 218:if(e.name)return!1;break;case 219:break;default:return!1}return typeof t=="function"?t(e):!0}function RT(e){switch(e.kind){case 303:return!JT(e.name);case 304:return!!e.objectAssignmentInitializer;case 260:return Ee(e.name)&&!!e.initializer;case 169:return Ee(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 208:return Ee(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 172:return!!e.initializer;case 226:switch(e.operatorToken.kind){case 64:case 77:case 76:case 78:return Ee(e.left)}break;case 277:return!0}return!1}function $I(e,t){if(!RT(e))return!1;switch(e.kind){case 303:return Ks(e.initializer,t);case 304:return Ks(e.objectAssignmentInitializer,t);case 260:case 169:case 208:case 172:return Ks(e.initializer,t);case 226:return Ks(e.right,t);case 277:return Ks(e.expression,t)}}function QI(e){return e.escapedText==="push"||e.escapedText==="unshift"}function YI(e){return ym(e).kind===169}function ym(e){for(;e.kind===208;)e=e.parent.parent;return e}function KI(e){let t=e.kind;return t===176||t===218||t===262||t===219||t===174||t===177||t===178||t===267||t===312}function Ta(e){return Oa(e.pos)||Oa(e.end)}function ZI(e){return Fl(e,ii)||e}function eN(e){let t=x2(e),r=e.kind===214&&e.arguments!==void 0;return jT(e.kind,t,r)}function jT(e,t,r){switch(e){case 214:return r?0:1;case 224:case 221:case 222:case 220:case 223:case 227:case 229:return 1;case 226:switch(t){case 43:case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 1}}return 0}function tN(e){let t=x2(e),r=e.kind===214&&e.arguments!==void 0;return FT(e.kind,t,r)}function x2(e){return e.kind===226?e.operatorToken.kind:e.kind===224||e.kind===225?e.operator:e.kind}function FT(e,t,r){switch(e){case 361:return 0;case 230:return 1;case 229:return 2;case 227:return 4;case 226:switch(t){case 28:return 0;case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 3;default:return pl(t)}case 216:case 235:case 224:case 221:case 222:case 220:case 223:return 16;case 225:return 17;case 213:return 18;case 214:return r?19:18;case 215:case 211:case 212:case 236:return 19;case 234:case 238:return 11;case 110:case 108:case 80:case 81:case 106:case 112:case 97:case 9:case 10:case 11:case 209:case 210:case 218:case 219:case 231:case 14:case 15:case 228:case 217:case 232:case 284:case 285:case 288:return 20;default:return-1}}function pl(e){switch(e){case 61:return 4;case 57:return 5;case 56:return 6;case 52:return 7;case 53:return 8;case 51:return 9;case 35:case 36:case 37:case 38:return 10;case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:return 11;case 48:case 49:case 50:return 12;case 40:case 41:return 13;case 42:case 44:case 45:return 14;case 43:return 15}return-1}function rN(e){return $r(e,t=>{switch(t.kind){case 294:return!!t.expression;case 12:return!t.containsOnlyTriviaWhiteSpaces;default:return!0}})}function nN(){let e=[],t=[],r=new Map,a=!1;return{add:p,lookup:_,getGlobalDiagnostics:d,getDiagnostics:h};function _(l){let v;if(l.file?v=r.get(l.file.fileName):v=e,!v)return;let y=Ml(v,l,bt,wd);if(y>=0)return v[y]}function p(l){let v;l.file?(v=r.get(l.file.fileName),v||(v=[],r.set(l.file.fileName,v),yl(t,l.file.fileName,Ci))):(a&&(a=!1,e=e.slice()),v=e),yl(v,l,wd)}function d(){return a=!0,e}function h(l){if(l)return r.get(l)||[];let v=vv(t,y=>r.get(y));return e.length&&v.unshift(...e),v}}function iN(e){return e.replace(gx,"\\${")}function BT(e){return e&&!!(Fx(e)?e.templateFlags:e.head.templateFlags||mt(e.templateSpans,t=>!!t.literal.templateFlags))}function UT(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function aN(e,t,r){if(e.charCodeAt(0)===0){let a=r.charCodeAt(t+e.length);return a>=48&&a<=57?"\\x00":"\\0"}return Sx.get(e)||UT(e.charCodeAt(0))}function Td(e,t){let r=t===96?Tx:t===39?vx:bx;return e.replace(r,aN)}function Sd(e,t){return e=Td(e,t),W0.test(e)?e.replace(W0,r=>UT(r.charCodeAt(0))):e}function oN(e){return"&#x"+e.toString(16).toUpperCase()+";"}function sN(e){return e.charCodeAt(0)===0?"&#0;":Cx.get(e)||oN(e.charCodeAt(0))}function qT(e,t){let r=t===39?wx:xx;return e.replace(r,sN)}function _N(e){let t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&cN(e.charCodeAt(0))?e.substring(1,t-1):e}function cN(e){return e===39||e===34||e===96}function zT(e){let t=e.charCodeAt(0);return t>=97&&t<=122||eo(e,"-")}function w2(e){let t=Po[1];for(let r=Po.length;r<=e;r++)Po.push(Po[r-1]+t);return Po[e]}function Jo(){return Po[1].length}function lN(){return eo(Gf,"-dev")||eo(Gf,"-insiders")}function uN(e){var t,r,a,_,p,d=!1;function h(K){let ue=Hd(K);ue.length>1?(_=_+ue.length-1,p=t.length-K.length+ka(ue),a=p-t.length===0):a=!1}function l(K){K&&K.length&&(a&&(K=w2(r)+K,a=!1),t+=K,h(K))}function v(K){K&&(d=!1),l(K)}function y(K){K&&(d=!0),l(K)}function C(){t="",r=0,a=!0,_=0,p=0,d=!1}function S(K){K!==void 0&&(t+=K,h(K),d=!1)}function k(K){K&&K.length&&v(K)}function L(K){(!a||K)&&(t+=e,_++,p=t.length,a=!0,d=!1)}function G(){return a?t.length:t.length+e.length}return C(),{write:v,rawWrite:S,writeLiteral:k,writeLine:L,increaseIndent:()=>{r++},decreaseIndent:()=>{r--},getIndent:()=>r,getTextPos:()=>t.length,getLine:()=>_,getColumn:()=>a?r*Jo():t.length-p,getText:()=>t,isAtStartOfLine:()=>a,hasTrailingComment:()=>d,hasTrailingWhitespace:()=>!!t.length&&Vi(t.charCodeAt(t.length-1)),clear:C,writeKeyword:v,writeOperator:v,writeParameter:v,writeProperty:v,writePunctuation:v,writeSpace:v,writeStringLiteral:v,writeSymbol:(K,ue)=>v(K),writeTrailingSemicolon:v,writeComment:y,getTextPosWithWriteLine:G}}function pN(e){let t=!1;function r(){t&&(e.writeTrailingSemicolon(";"),t=!1)}return{...e,writeTrailingSemicolon(){t=!0},writeLiteral(a){r(),e.writeLiteral(a)},writeStringLiteral(a){r(),e.writeStringLiteral(a)},writeSymbol(a,_){r(),e.writeSymbol(a,_)},writePunctuation(a){r(),e.writePunctuation(a)},writeKeyword(a){r(),e.writeKeyword(a)},writeOperator(a){r(),e.writeOperator(a)},writeParameter(a){r(),e.writeParameter(a)},writeSpace(a){r(),e.writeSpace(a)},writeProperty(a){r(),e.writeProperty(a)},writeComment(a){r(),e.writeComment(a)},writeLine(){r(),e.writeLine()},increaseIndent(){r(),e.increaseIndent()},decreaseIndent(){r(),e.decreaseIndent()}}}function C2(e){return e.useCaseSensitiveFileNames?e.useCaseSensitiveFileNames():!1}function WT(e){return Ud(C2(e))}function VT(e,t,r){return t.moduleName||E2(e,t.fileName,r&&r.fileName)}function Bb(e,t){return e.getCanonicalFileName(Pa(t,e.getCurrentDirectory()))}function fN(e,t,r){let a=t.getExternalModuleFileFromDeclaration(r);if(!a||a.isDeclarationFile)return;let _=d2(r);if(!(_&&Kn(_)&&!rs(_.text)&&Bb(e,a.path).indexOf(Bb(e,zo(e.getCommonSourceDirectory())))===-1))return VT(e,a)}function E2(e,t,r){let a=l=>e.getCanonicalFileName(l),_=xi(r?$i(r):e.getCommonSourceDirectory(),e.getCurrentDirectory(),a),p=Pa(t,e.getCurrentDirectory()),d=bg(_,p,_,a,!1),h=Al(d);return r?hg(h):h}function dN(e,t,r){let a=t.getCompilerOptions(),_;return a.outDir?_=Al(XT(e,t,a.outDir)):_=Al(e),_+r}function mN(e,t){return HT(e,t.getCompilerOptions(),t.getCurrentDirectory(),t.getCommonSourceDirectory(),r=>t.getCanonicalFileName(r))}function HT(e,t,r,a,_){let p=t.declarationDir||t.outDir,d=p?k2(e,p,r,a,_):e,h=GT(d);return Al(d)+h}function GT(e){return ei(e,[".mjs",".mts"])?".d.mts":ei(e,[".cjs",".cts"])?".d.cts":ei(e,[".json"])?".d.json.ts":".d.ts"}function hN(e){return ei(e,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:ei(e,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:ei(e,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function A2(e){return e.outFile||e.out}function yN(e,t){var r;if(e.paths)return e.baseUrl??N.checkDefined(e.pathsBasePath||((r=t.getCurrentDirectory)==null?void 0:r.call(t)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function gN(e,t,r){let a=e.getCompilerOptions();if(A2(a)){let _=ni(a),p=a.emitDeclarationOnly||_===2||_===4;return $r(e.getSourceFiles(),d=>(p||!Zo(d))&&I0(d,e,r))}else{let _=t===void 0?e.getSourceFiles():[t];return $r(_,p=>I0(p,e,r))}}function I0(e,t,r){return!(t.getCompilerOptions().noEmitForJsFiles&&c2(e))&&!e.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(e)&&(r||!(e2(e)&&t.getResolvedProjectReferenceToRedirect(e.fileName))&&!t.isSourceOfProjectReferenceRedirect(e.fileName))}function XT(e,t,r){return k2(e,r,t.getCurrentDirectory(),t.getCommonSourceDirectory(),a=>t.getCanonicalFileName(a))}function k2(e,t,r,a,_){let p=Pa(e,r);return p=_(p).indexOf(_(a))===0?p.substring(a.length):p,hr(t,p)}function bN(e,t,r,a,_,p,d){e.writeFile(r,a,_,h=>{t.add(fl(U.Could_not_write_file_0_Colon_1,r,h))},p,d)}function $T(e,t,r){if(e.length>Ei(e)&&!r(e)){let a=$i(e);$T(a,t,r),t(e)}}function vN(e,t,r,a,_,p){try{a(e,t,r)}catch{$T($i(pn(e)),_,p),a(e,t,r)}}function TN(e,t){let r=Ia(e);return __(r,t)}function Ca(e,t){return __(e,t)}function QT(e){return Yr(e.members,t=>J_(t)&&wl(t.body))}function D2(e){if(e&&e.parameters.length>0){let t=e.parameters.length===2&&Xl(e.parameters[0]);return e.parameters[t?1:0]}}function SN(e){let t=D2(e);return t&&t.type}function YT(e){if(e.parameters.length&&!cu(e)){let t=e.parameters[0];if(Xl(t))return t}}function Xl(e){return gm(e.name)}function gm(e){return!!e&&e.kind===80&&KT(e)}function xN(e){return!!Kr(e,t=>t.kind===186?!0:t.kind===80||t.kind===166?!1:"quit")}function wN(e){if(!gm(e))return!1;for(;M_(e.parent)&&e.parent.left===e;)e=e.parent;return e.parent.kind===186}function KT(e){return e.escapedText==="this"}function P2(e,t){let r,a,_,p;return MT(t)?(r=t,t.kind===177?_=t:t.kind===178?p=t:N.fail("Accessor has wrong kind")):yr(e,d=>{if(im(d)&&N0(d)===N0(t)){let h=bd(d.name),l=bd(t.name);h===l&&(r?a||(a=d):r=d,d.kind===177&&!_&&(_=d),d.kind===178&&!p&&(p=d))}}),{firstAccessor:r,secondAccessor:a,getAccessor:_,setAccessor:p}}function I2(e){if(!Wt(e)&&os(e))return;let t=e.type;return t||!Wt(e)?t:Ig(e)?e.typeExpression&&e.typeExpression.type:tm(e)}function CN(e){return e.type}function EN(e){return cu(e)?e.type&&e.type.typeExpression&&e.type.typeExpression.type:e.type||(Wt(e)?X4(e):void 0)}function ZT(e){return Bo(Ul(e),t=>AN(t)?t.typeParameters:void 0)}function AN(e){return Ko(e)&&!(e.parent.kind===327&&(e.parent.tags.some(Hl)||e.parent.tags.some(L6)))}function kN(e){let t=D2(e);return t&&I2(t)}function eS(e,t,r,a){tS(e,t,r.pos,a)}function tS(e,t,r,a){a&&a.length&&r!==a[0].pos&&Ca(e,r)!==Ca(e,a[0].pos)&&t.writeLine()}function DN(e,t,r,a){r!==a&&Ca(e,r)!==Ca(e,a)&&t.writeLine()}function rS(e,t,r,a,_,p,d,h){if(a&&a.length>0){_&&r.writeSpace(" ");let l=!1;for(let v of a)l&&(r.writeSpace(" "),l=!1),h(e,t,r,v.pos,v.end,d),v.hasTrailingNewLine?r.writeLine():l=!0;l&&p&&r.writeSpace(" ")}}function PN(e,t,r,a,_,p,d){let h,l;if(d?_.pos===0&&(h=$r(Wo(e,_.pos),v)):h=Wo(e,_.pos),h){let y=[],C;for(let S of h){if(C){let k=Ca(t,C.end);if(Ca(t,S.pos)>=k+2)break}y.push(S),C=S}if(y.length){let S=Ca(t,ka(y).end);Ca(t,Nt(e,_.pos))>=S+2&&(eS(t,r,_,h),rS(e,t,r,y,!1,!0,p,a),l={nodePos:_.pos,detachedCommentEndPos:ka(y).end})}}return l;function v(y){return M3(e,y.pos)}}function IN(e,t,r,a,_,p){if(e.charCodeAt(a+1)===42){let d=Sg(t,a),h=t.length,l;for(let v=a,y=d.line;v<_;y++){let C=y+1===h?e.length+1:t[y+1];if(v!==a){l===void 0&&(l=Ub(e,t[d.line],a));let k=r.getIndent()*Jo()-l+Ub(e,v,C);if(k>0){let L=k%Jo(),G=w2((k-L)/Jo());for(r.rawWrite(G);L;)r.rawWrite(" "),L--}else r.rawWrite("")}NN(e,_,r,p,v,C),v=C}}else r.writeComment(e.substring(a,_))}function NN(e,t,r,a,_,p){let d=Math.min(t,p-1),h=qd(e.substring(_,d));h?(r.writeComment(h),d!==t&&r.writeLine()):r.rawWrite(a)}function Ub(e,t,r){let a=0;for(;t<r&&Io(e.charCodeAt(t));t++)e.charCodeAt(t)===9?a+=Jo()-a%Jo():a++;return a}function ON(e){return vm(e)!==0}function MN(e){return M2(e)!==0}function N2(e,t){return!!oS(e,t)}function gr(e,t){return!!sS(e,t)}function N0(e){return no(e)&&bm(e)||eu(e)}function bm(e){return gr(e,32)}function LN(e){return N2(e,16384)}function nS(e){return gr(e,256)}function iS(e){return gr(e,2)}function aS(e){return gr(e,128)}function O0(e){return N2(e,64)}function El(e){return gr(e,131072)}function oS(e,t){return vm(e)&t}function sS(e,t){return M2(e)&t}function O2(e,t,r){return e.kind>=0&&e.kind<=165?0:(e.modifierFlagsCache&536870912||(e.modifierFlagsCache=L2(e)|536870912),t&&!(e.modifierFlagsCache&4096)&&(r||Wt(e))&&e.parent&&(e.modifierFlagsCache|=cS(e)|4096),e.modifierFlagsCache&-536875009)}function vm(e){return O2(e,!0)}function _S(e){return O2(e,!0,!0)}function M2(e){return O2(e,!1)}function cS(e){let t=0;return e.parent&&!Ma(e)&&(Wt(e)&&(U4(e)&&(t|=4),q4(e)&&(t|=8),z4(e)&&(t|=16),W4(e)&&(t|=64),V4(e)&&(t|=16384)),H4(e)&&(t|=8192)),t}function lS(e){return L2(e)|cS(e)}function L2(e){let t=q_(e)?ln(e.modifiers):0;return(e.flags&8||e.kind===80&&e.flags&4096)&&(t|=1),t}function ln(e){let t=0;if(e)for(let r of e)t|=J2(r.kind);return t}function J2(e){switch(e){case 126:return 32;case 125:return 4;case 124:return 16;case 123:return 8;case 128:return 256;case 129:return 128;case 95:return 1;case 138:return 2;case 87:return 2048;case 90:return 1024;case 134:return 512;case 148:return 64;case 164:return 16384;case 103:return 32768;case 147:return 65536;case 170:return 131072}return 0}function uS(e){return e===57||e===56}function JN(e){return uS(e)||e===54}function Tm(e){return e===76||e===77||e===78}function RN(e){return Ct(e)&&Tm(e.operatorToken.kind)}function pS(e){return uS(e)||e===61}function jN(e){return Ct(e)&&pS(e.operatorToken.kind)}function D_(e){return e>=64&&e<=79}function fS(e){let t=dS(e);return t&&!t.isImplements?t.class:void 0}function dS(e){if(g6(e)){if(Nl(e.parent)&&dn(e.parent.parent))return{class:e.parent.parent,isImplements:e.parent.token===119};if(Lm(e.parent)){let t=y2(e.parent);if(t&&dn(t))return{class:t,isImplements:!1}}}}function Na(e,t){return Ct(e)&&(t?e.operatorToken.kind===64:D_(e.operatorToken.kind))&&Lo(e.left)}function FN(e){return Na(e.parent)&&e.parent.left===e}function BN(e){if(Na(e,!0)){let t=e.left.kind;return t===210||t===209}return!1}function M0(e){return fS(e)!==void 0}function co(e){return e.kind===80||mS(e)}function UN(e){switch(e.kind){case 80:return e;case 166:do e=e.left;while(e.kind!==80);return e;case 211:do e=e.expression;while(e.kind!==80);return e}}function L0(e){return e.kind===80||e.kind===110||e.kind===108||e.kind===236||e.kind===211&&L0(e.expression)||e.kind===217&&L0(e.expression)}function mS(e){return Br(e)&&Ee(e.name)&&co(e.expression)}function J0(e){if(Br(e)){let t=J0(e.expression);if(t!==void 0)return t+"."+vi(e.name)}else if(Ra(e)){let t=J0(e.expression);if(t!==void 0&&zl(e.argumentExpression))return t+"."+bd(e.argumentExpression)}else{if(Ee(e))return Vo(e.escapedText);if(U_(e))return Kl(e)}}function $l(e){return k_(e)&&io(e)==="prototype"}function qN(e){return e.parent.kind===166&&e.parent.right===e||e.parent.kind===211&&e.parent.name===e||e.parent.kind===236&&e.parent.name===e}function hS(e){return Br(e.parent)&&e.parent.name===e||Ra(e.parent)&&e.parent.argumentExpression===e}function zN(e){return M_(e.parent)&&e.parent.right===e||Br(e.parent)&&e.parent.name===e||r_(e.parent)&&e.parent.right===e}function WN(e){return e.kind===210&&e.properties.length===0}function VN(e){return e.kind===209&&e.elements.length===0}function HN(e){if(!(!GN(e)||!e.declarations)){for(let t of e.declarations)if(t.localSymbol)return t.localSymbol}}function GN(e){return e&&Ka(e.declarations)>0&&gr(e.declarations[0],1024)}function XN(e){return Yr(Px,t=>La(e,t))}function $N(e){let t=[],r=e.length;for(let a=0;a<r;a++){let _=e.charCodeAt(a);_<128?t.push(_):_<2048?(t.push(_>>6|192),t.push(_&63|128)):_<65536?(t.push(_>>12|224),t.push(_>>6&63|128),t.push(_&63|128)):_<131072?(t.push(_>>18|240),t.push(_>>12&63|128),t.push(_>>6&63|128),t.push(_&63|128)):N.assert(!1,"Unexpected code point")}return t}function yS(e){let t="",r=$N(e),a=0,_=r.length,p,d,h,l;for(;a<_;)p=r[a]>>2,d=(r[a]&3)<<4|r[a+1]>>4,h=(r[a+1]&15)<<2|r[a+2]>>6,l=r[a+2]&63,a+1>=_?h=l=64:a+2>=_&&(l=64),t+=qi.charAt(p)+qi.charAt(d)+qi.charAt(h)+qi.charAt(l),a+=3;return t}function QN(e){let t="",r=0,a=e.length;for(;r<a;){let _=e[r];if(_<128)t+=String.fromCharCode(_),r++;else if((_&192)===192){let p=_&63;r++;let d=e[r];for(;(d&192)===128;)p=p<<6|d&63,r++,d=e[r];t+=String.fromCharCode(p)}else t+=String.fromCharCode(_),r++}return t}function YN(e,t){return e&&e.base64encode?e.base64encode(t):yS(t)}function KN(e,t){if(e&&e.base64decode)return e.base64decode(t);let r=t.length,a=[],_=0;for(;_<r&&t.charCodeAt(_)!==qi.charCodeAt(64);){let p=qi.indexOf(t[_]),d=qi.indexOf(t[_+1]),h=qi.indexOf(t[_+2]),l=qi.indexOf(t[_+3]),v=(p&63)<<2|d>>4&3,y=(d&15)<<4|h>>2&15,C=(h&3)<<6|l&63;y===0&&h!==0?a.push(v):C===0&&l!==0?a.push(v,y):a.push(v,y,C),_+=4}return QN(a)}function gS(e,t){let r=b_(t)?t:t.readFile(e);if(!r)return;let a=parseConfigFileTextToJson(e,r);return a.error?void 0:a.config}function ZN(e,t){return gS(e,t)||{}}function bS(e,t){return!t.directoryExists||t.directoryExists(e)}function vS(e){switch(e.newLine){case 0:return Ex;case 1:case void 0:return Ax}}function Sm(e,t=e){return N.assert(t>=e||t===-1),{pos:e,end:t}}function eO(e,t){return Sm(e.pos,t)}function xd(e,t){return Sm(t,e.end)}function TS(e){let t=q_(e)?ig(e.modifiers,L_):void 0;return t&&!Oa(t.end)?xd(e,t.end):e}function tO(e){if(oo(e)||d_(e))return xd(e,e.name.pos);let t=q_(e)?wi(e.modifiers):void 0;return t&&!Oa(t.end)?xd(e,t.end):TS(e)}function rO(e){return e.pos===e.end}function nO(e,t){return Sm(e,e+nr(t).length)}function iO(e,t){return SS(e,e,t)}function aO(e,t,r){return P_(f_(e,r,!1),f_(t,r,!1),r)}function oO(e,t,r){return P_(e.end,t.end,r)}function SS(e,t,r){return P_(f_(e,r,!1),t.end,r)}function sO(e,t,r){return P_(e.end,f_(t,r,!1),r)}function _O(e,t,r,a){let _=f_(t,r,a);return x_(r,e.end,_)}function cO(e,t,r){return x_(r,e.end,t.end)}function lO(e,t){return!P_(e.pos,e.end,t)}function P_(e,t,r){return x_(r,e,t)===0}function f_(e,t,r){return Oa(e.pos)?-1:Nt(t.text,e.pos,!1,r)}function uO(e,t,r,a){let _=Nt(r.text,e,!1,a),p=fO(_,t,r);return x_(r,p??t,_)}function pO(e,t,r,a){let _=Nt(r.text,e,!1,a);return x_(r,e,Math.min(t,_))}function fO(e,t=0,r){for(;e-- >t;)if(!Vi(r.text.charCodeAt(e)))return e}function dO(e){let t=Fl(e);if(t)switch(t.parent.kind){case 266:case 267:return t===t.parent.name}return!1}function mO(e){return $r(e.declarations,xS)}function xS(e){return ki(e)&&e.initializer!==void 0}function hO(e){return e.watch&&Qr(e,"watch")}function yO(e){e.close()}function wS(e){return e.flags&33554432?e.links.checkFlags:0}function gO(e,t=!1){if(e.valueDeclaration){let r=t&&e.declarations&&Yr(e.declarations,Qo)||e.flags&32768&&Yr(e.declarations,m_)||e.valueDeclaration,a=Qd(r);return e.parent&&e.parent.flags&32?a:a&-29}if(wS(e)&6){let r=e.links.checkFlags,a=r&1024?8:r&256?4:16,_=r&2048?32:0;return a|_}return e.flags&4194304?36:0}function bO(e,t){return e.flags&2097152?t.getAliasedSymbol(e):e}function vO(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags}function TO(e){return Do(e)===1}function SO(e){return Do(e)!==0}function Do(e){let{parent:t}=e;switch(t==null?void 0:t.kind){case 217:return Do(t);case 225:case 224:let{operator:r}=t;return r===46||r===47?2:0;case 226:let{left:a,operatorToken:_}=t;return a===e&&D_(_.kind)?_.kind===64?1:2:0;case 211:return t.name!==e?0:Do(t);case 303:{let p=Do(t.parent);return e===t.name?xO(p):p}case 304:return e===t.objectAssignmentInitializer?0:Do(t.parent);case 209:return Do(t);default:return 0}}function xO(e){switch(e){case 0:return 1;case 1:return 0;case 2:return 2;default:return N.assertNever(e)}}function CS(e,t){if(!e||!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(typeof e[r]=="object"){if(!CS(e[r],t[r]))return!1}else if(typeof e[r]!="function"&&e[r]!==t[r])return!1;return!0}function wO(e,t){e.forEach(t),e.clear()}function ES(e,t,r){let{onDeleteValue:a,onExistingValue:_}=r;e.forEach((p,d)=>{let h=t.get(d);h===void 0?(e.delete(d),a(p,d)):_&&_(p,h,d)})}function CO(e,t,r){ES(e,t,r);let{createNewValue:a}=r;t.forEach((_,p)=>{e.has(p)||e.set(p,a(p,_))})}function EO(e){if(e.flags&32){let t=AS(e);return!!t&&gr(t,256)}return!1}function AS(e){var t;return(t=e.declarations)==null?void 0:t.find(dn)}function jf(e){return e.flags&138117121?e.objectFlags:0}function AO(e,t){return!!Zv(e,r=>t(r)?!0:void 0)}function kO(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&x6(e.declarations[0])}function DO({moduleSpecifier:e}){return mn(e)?e.text:_m(e)}function kS(e){let t;return Bt(e,r=>{wl(r)&&(t=r)},r=>{for(let a=r.length-1;a>=0;a--)if(wl(r[a])){t=r[a];break}}),t}function PO(e,t,r=!0){return e.has(t)?!1:(e.set(t,r),!0)}function IO(e){return dn(e)||su(e)||Am(e)}function DS(e){return e>=182&&e<=205||e===133||e===159||e===150||e===163||e===151||e===136||e===154||e===155||e===116||e===157||e===146||e===141||e===233||e===319||e===320||e===321||e===322||e===323||e===324||e===325}function $o(e){return e.kind===211||e.kind===212}function NO(e){return e.kind===211?e.name:(N.assert(e.kind===212),e.argumentExpression)}function OO(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}}function MO(e){return e.kind===275||e.kind===279}function R2(e){for(;$o(e);)e=e.expression;return e}function LO(e,t){if($o(e.parent)&&hS(e))return r(e.parent);function r(a){if(a.kind===211){let _=t(a.name);if(_!==void 0)return _}else if(a.kind===212)if(Ee(a.argumentExpression)||Kn(a.argumentExpression)){let _=t(a.argumentExpression);if(_!==void 0)return _}else return;if($o(a.expression))return r(a.expression);if(Ee(a.expression))return t(a.expression)}}function JO(e,t){for(;;){switch(e.kind){case 225:e=e.operand;continue;case 226:e=e.left;continue;case 227:e=e.condition;continue;case 215:e=e.tag;continue;case 213:if(t)return e;case 234:case 212:case 211:case 235:case 360:case 238:e=e.expression;continue}return e}}function RO(e,t){this.flags=e,this.escapedName=t,this.declarations=void 0,this.valueDeclaration=void 0,this.id=0,this.mergeId=0,this.parent=void 0,this.members=void 0,this.exports=void 0,this.exportSymbol=void 0,this.constEnumOnlyModule=void 0,this.isReferenced=void 0,this.isAssigned=void 0,this.links=void 0}function jO(e,t){this.flags=t,(N.isDebugging||xa)&&(this.checker=e)}function FO(e,t){this.flags=t,N.isDebugging&&(this.checker=e)}function Gh(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function BO(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function UO(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function qO(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r||(a=>a)}function zO(e){Z2.push(e),e(wt)}function PS(e){Object.assign(wt,e),yr(Z2,t=>t(wt))}function I_(e,t,r=0){return e.replace(/{(\d+)}/g,(a,_)=>""+N.checkDefined(t[+_+r]))}function IS(e){kl=e}function NS(e){!kl&&e&&(kl=e())}function N_(e){return kl&&kl[e.key]||e.message}function Ao(e,t,r,a){Yg(void 0,t,r);let _=N_(a);return arguments.length>4&&(_=I_(_,arguments,4)),{file:void 0,start:t,length:r,messageText:_,category:a.category,code:a.code,reportsUnnecessary:a.reportsUnnecessary,fileName:e}}function WO(e){return e.file===void 0&&e.start!==void 0&&e.length!==void 0&&typeof e.fileName=="string"}function OS(e,t){let r=t.fileName||"",a=t.text.length;N.assertEqual(e.fileName,r),N.assertLessThanOrEqual(e.start,a),N.assertLessThanOrEqual(e.start+e.length,a);let _={file:t,start:e.start,length:e.length,messageText:e.messageText,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary};if(e.relatedInformation){_.relatedInformation=[];for(let p of e.relatedInformation)WO(p)&&p.fileName===r?(N.assertLessThanOrEqual(p.start,a),N.assertLessThanOrEqual(p.start+p.length,a),_.relatedInformation.push(OS(p,t))):_.relatedInformation.push(p)}return _}function $a(e,t){let r=[];for(let a of e)r.push(OS(a,t));return r}function j2(e,t,r,a){Yg(e,t,r);let _=N_(a);return arguments.length>4&&(_=I_(_,arguments,4)),{file:e,start:t,length:r,messageText:_,category:a.category,code:a.code,reportsUnnecessary:a.reportsUnnecessary,reportsDeprecated:a.reportsDeprecated}}function VO(e,t){let r=N_(t);return arguments.length>2&&(r=I_(r,arguments,2)),r}function fl(e){let t=N_(e);return arguments.length>1&&(t=I_(t,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:t,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function HO(e,t){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText,relatedInformation:t}}function tl(e,t){let r=N_(t);return arguments.length>2&&(r=I_(r,arguments,2)),{messageText:r,category:t.category,code:t.code,next:e===void 0||Array.isArray(e)?e:[e]}}function GO(e,t){let r=e;for(;r.next;)r=r.next[0];r.next=[t]}function qb(e){return e.file?e.file.path:void 0}function F2(e,t){return wd(e,t)||XO(e,t)||0}function wd(e,t){return Ci(qb(e),qb(t))||kr(e.start,t.start)||kr(e.length,t.length)||kr(e.code,t.code)||MS(e.messageText,t.messageText)||0}function XO(e,t){return!e.relatedInformation&&!t.relatedInformation?0:e.relatedInformation&&t.relatedInformation?kr(e.relatedInformation.length,t.relatedInformation.length)||yr(e.relatedInformation,(r,a)=>{let _=t.relatedInformation[a];return F2(r,_)})||0:e.relatedInformation?-1:1}function MS(e,t){if(typeof e=="string"&&typeof t=="string")return Ci(e,t);if(typeof e=="string")return-1;if(typeof t=="string")return 1;let r=Ci(e.messageText,t.messageText);if(r)return r;if(!e.next&&!t.next)return 0;if(!e.next)return-1;if(!t.next)return 1;let a=Math.min(e.next.length,t.next.length);for(let _=0;_<a;_++)if(r=MS(e.next[_],t.next[_]),r)return r;return e.next.length<t.next.length?-1:e.next.length>t.next.length?1:0}function R0(e){return e===4||e===2||e===1||e===6?1:0}function LS(e){if(e.transformFlags&2)return x3(e)||dl(e)?e:Bt(e,LS)}function $O(e){return e.isDeclarationFile?void 0:LS(e)}function QO(e){return(e.impliedNodeFormat===99||ei(e.fileName,[".cjs",".cts",".mjs",".mts"]))&&!e.isDeclarationFile?!0:void 0}function JS(e){switch(RS(e)){case 3:return _=>{_.externalModuleIndicator=ml(_)||!_.isDeclarationFile||void 0};case 1:return _=>{_.externalModuleIndicator=ml(_)};case 2:let t=[ml];(e.jsx===4||e.jsx===5)&&t.push($O),t.push(QO);let r=ug(...t);return _=>void(_.externalModuleIndicator=r(_))}}function Ql(e){return e.target??(e.module===100&&9||e.module===199&&99||1)}function ni(e){return typeof e.module=="number"?e.module:Ql(e)>=2?5:1}function YO(e){return e>=5&&e<=99}function O_(e){let t=e.moduleResolution;if(t===void 0)switch(ni(e)){case 1:t=2;break;case 100:t=3;break;case 199:t=99;break;default:t=1;break}return t}function RS(e){return e.moduleDetection||(ni(e)===100||ni(e)===199?3:2)}function KO(e){switch(ni(e)){case 1:case 2:case 5:case 6:case 7:case 99:case 100:case 199:return!0;default:return!1}}function B2(e){return!!(e.isolatedModules||e.verbatimModuleSyntax)}function ZO(e){return e.verbatimModuleSyntax||e.isolatedModules&&e.preserveValueImports}function eM(e){return e.allowUnreachableCode===!1}function tM(e){return e.allowUnusedLabels===!1}function rM(e){return!!(z2(e)&&e.declarationMap)}function U2(e){if(e.esModuleInterop!==void 0)return e.esModuleInterop;switch(ni(e)){case 100:case 199:return!0}}function nM(e){return e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:U2(e)||ni(e)===4||O_(e)===100}function q2(e){return e>=3&&e<=99||e===100}function iM(e){return!!e.noDtsResolution||O_(e)!==100}function aM(e){let t=O_(e);if(!q2(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function oM(e){let t=O_(e);if(!q2(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function jS(e){return e.resolveJsonModule!==void 0?e.resolveJsonModule:O_(e)===100}function z2(e){return!!(e.declaration||e.composite)}function sM(e){return!!(e.preserveConstEnums||B2(e))}function _M(e){return!!(e.incremental||e.composite)}function W2(e,t){return e[t]===void 0?!!e.strict:!!e[t]}function FS(e){return e.allowJs===void 0?!!e.checkJs:e.allowJs}function cM(e){return e.useDefineForClassFields===void 0?Ql(e)>=9:e.useDefineForClassFields}function lM(e){return e.useDefineForClassFields!==!1&&Ql(e)>=9}function uM(e,t){return E_(t,e,semanticDiagnosticsOptionDeclarations)}function pM(e,t){return E_(t,e,affectsEmitOptionDeclarations)}function fM(e,t){return E_(t,e,affectsDeclarationPathOptionDeclarations)}function j0(e,t){return t.strictFlag?W2(e,t.name):e[t.name]}function dM(e){let t=e.jsx;return t===2||t===4||t===5}function mM(e,t){let r=t==null?void 0:t.pragmas.get("jsximportsource"),a=zt(r)?r[r.length-1]:r;return e.jsx===4||e.jsx===5||e.jsxImportSource||a?(a==null?void 0:a.arguments.factory)||e.jsxImportSource||"react":void 0}function hM(e,t){return e?`${e}/${t.jsx===5?"jsx-dev-runtime":"jsx-runtime"}`:void 0}function yM(e){let t=!1;for(let r=0;r<e.length;r++)if(e.charCodeAt(r)===42)if(!t)t=!0;else return!1;return!0}function gM(e,t){let r,a,_,p=!1;return{getSymlinkedFiles:()=>_,getSymlinkedDirectories:()=>r,getSymlinkedDirectoriesByRealpath:()=>a,setSymlinkedFile:(h,l)=>(_||(_=new Map)).set(h,l),setSymlinkedDirectory:(h,l)=>{let v=xi(h,e,t);rx(v)||(v=zo(v),l!==!1&&!(r!=null&&r.has(v))&&(a||(a=Fd())).add(zo(l.realPath),h),(r||(r=new Map)).set(v,l))},setSymlinksFromResolutions(h,l){var v,y;N.assert(!p),p=!0;for(let C of h)(v=C.resolvedModules)==null||v.forEach(S=>d(this,S.resolvedModule)),(y=C.resolvedTypeReferenceDirectiveNames)==null||y.forEach(S=>d(this,S.resolvedTypeReferenceDirective));l.forEach(C=>d(this,C.resolvedTypeReferenceDirective))},hasProcessedResolutions:()=>p};function d(h,l){if(!l||!l.originalPath||!l.resolvedFileName)return;let{resolvedFileName:v,originalPath:y}=l;h.setSymlinkedFile(xi(y,e,t),v);let[C,S]=bM(v,y,e,t)||$e;C&&S&&h.setSymlinkedDirectory(S,{real:C,realPath:xi(C,e,t)})}}function bM(e,t,r,a){let _=Ai(Pa(e,r)),p=Ai(Pa(t,r)),d=!1;for(;_.length>=2&&p.length>=2&&!zb(_[_.length-2],a)&&!zb(p[p.length-2],a)&&a(_[_.length-1])===a(p[p.length-1]);)_.pop(),p.pop(),d=!0;return d?[Uo(_),Uo(p)]:void 0}function zb(e,t){return e!==void 0&&(t(e)==="node_modules"||Fr(e,"@"))}function vM(e){return dg(e.charCodeAt(0))?e.slice(1):void 0}function TM(e,t,r){let a=Fv(e,t,r);return a===void 0?void 0:vM(a)}function SM(e){return e.replace(Ad,xM)}function xM(e){return"\\"+e}function Ff(e,t,r){let a=V2(e,t,r);return!a||!a.length?void 0:`^(${a.map(d=>`(${d})`).join("|")})${r==="exclude"?"($|/)":"$"}`}function V2(e,t,r){if(!(e===void 0||e.length===0))return Bo(e,a=>a&&US(a,t,r,e6[r]))}function BS(e){return!/[.*?]/.test(e)}function wM(e,t,r){let a=e&&US(e,t,r,e6[r]);return a&&`^(${a})${r==="exclude"?"($|/)":"$"}`}function US(e,t,r,{singleAsteriskRegexFragment:a,doubleAsteriskRegexFragment:_,replaceWildcardCharacter:p}){let d="",h=!1,l=Vd(e,t),v=ka(l);if(r!=="exclude"&&v==="**")return;l[0]=S_(l[0]),BS(v)&&l.push("**","*");let y=0;for(let C of l){if(C==="**")d+=_;else if(r==="directories"&&(d+="(",y++),h&&(d+=fn),r!=="exclude"){let S="";C.charCodeAt(0)===42?(S+="([^./]"+a+")?",C=C.substr(1)):C.charCodeAt(0)===63&&(S+="[^./]",C=C.substr(1)),S+=C.replace(Ad,p),S!==C&&(d+=Uf),d+=S}else d+=C.replace(Ad,p);h=!0}for(;y>0;)d+=")?",y--;return d}function Xh(e,t){return e==="*"?t:e==="?"?"[^/]":"\\"+e}function qS(e,t,r,a,_){e=pn(e),_=pn(_);let p=hr(_,e);return{includeFilePatterns:Aa(V2(r,p,"files"),d=>`^${d}$`),includeFilePattern:Ff(r,p,"files"),includeDirectoryPattern:Ff(r,p,"directories"),excludePattern:Ff(t,p,"exclude"),basePaths:EM(e,r,a)}}function Bf(e,t){return new RegExp(e,t?"":"i")}function CM(e,t,r,a,_,p,d,h,l){e=pn(e),p=pn(p);let v=qS(e,r,a,_,p),y=v.includeFilePatterns&&v.includeFilePatterns.map(ue=>Bf(ue,_)),C=v.includeDirectoryPattern&&Bf(v.includeDirectoryPattern,_),S=v.excludePattern&&Bf(v.excludePattern,_),k=y?y.map(()=>[]):[[]],L=new Map,G=Ud(_);for(let ue of v.basePaths)K(ue,hr(p,ue),d);return o_(k);function K(ue,Y,B){let ae=G(l(Y));if(L.has(ae))return;L.set(ae,!0);let{files:Ce,directories:Ze}=h(ue);for(let qe of Xf(Ce,Ci)){let rt=hr(ue,qe),it=hr(Y,qe);if(!(t&&!ei(rt,t))&&!(S&&S.test(it)))if(!y)k[0].push(rt);else{let Ir=_l(y,ar=>ar.test(it));Ir!==-1&&k[Ir].push(rt)}}if(!(B!==void 0&&(B--,B===0)))for(let qe of Xf(Ze,Ci)){let rt=hr(ue,qe),it=hr(Y,qe);(!C||C.test(it))&&(!S||!S.test(it))&&K(rt,it,B)}}}function EM(e,t,r){let a=[e];if(t){let _=[];for(let p of t){let d=v_(p)?p:pn(hr(e,p));_.push(AM(d))}_.sort(_g(!r));for(let p of _)so(a,d=>!Yv(d,p,e,!r))&&a.push(p)}return a}function AM(e){let t=bv(e,kx);return t<0?$v(e)?S_($i(e)):e:e.substring(0,e.lastIndexOf(fn,t))}function zS(e,t){return t||WS(e)||3}function WS(e){switch(e.substr(e.lastIndexOf(".")).toLowerCase()){case".js":case".cjs":case".mjs":return 1;case".jsx":return 2;case".ts":case".cts":case".mts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}}function VS(e,t){let r=e&&FS(e);if(!t||t.length===0)return r?Dl:Ro;let a=r?Dl:Ro,_=o_(a);return[...a,...Za(t,d=>d.scriptKind===7||r&&kM(d.scriptKind)&&_.indexOf(d.extension)===-1?[d.extension]:void 0)]}function HS(e,t){return!e||!jS(e)?t:t===Dl?Ix:t===Ro?Dx:[...t,[".json"]]}function kM(e){return e===1||e===2}function H2(e){return mt(r6,t=>La(e,t))}function G2(e){return mt(t6,t=>La(e,t))}function GS({imports:e},t=ug(H2,G2)){return ng(e,({text:r})=>rs(r)&&!ei(r,Cm)?t(r):void 0)||!1}function DM(e,t,r,a){if(e==="js"||t===99)return shouldAllowImportingTsExtension(r)&&_()!==2?3:2;if(e==="minimal")return 0;if(e==="index")return 1;if(!shouldAllowImportingTsExtension(r))return GS(a)?2:0;return _();function _(){let p=!1,d=a.imports.length?a.imports.map(h=>h.text):c2(a)?PM(a).map(h=>h.arguments[0].text):$e;for(let h of d)if(rs(h)){if(ei(h,Cm))continue;if(G2(h))return 3;H2(h)&&(p=!0)}return p?2:0}}function PM(e){let t=0,r;for(let a of e.statements){if(t>3)break;aT(a)?r=y_(r,a.declarationList.declarations.map(_=>_.initializer)):ou(a)&&Wl(a.expression,!0)?r=xt(r,a.expression):t++}return r||$e}function IM(e,t,r){if(!e)return!1;let a=VS(t,r);for(let _ of o_(HS(t,a)))if(La(e,_))return!0;return!1}function Wb(e){let t=e.match(/\//g);return t?t.length:0}function NM(e,t){return kr(Wb(e),Wb(t))}function Al(e){for(let t of Em){let r=XS(e,t);if(r!==void 0)return r}return e}function XS(e,t){return La(e,t)?$S(e,t):void 0}function $S(e,t){return e.substring(0,e.length-t.length)}function OM(e,t){return Qv(e,t,Em,!1)}function QS(e){let t=e.indexOf("*");return t===-1?e:e.indexOf("*",t+1)!==-1?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}function MM(e){return Za(sg(e),t=>QS(t))}function Oa(e){return!(e>=0)}function YS(e){return e===".ts"||e===".tsx"||e===".d.ts"||e===".cts"||e===".mts"||e===".d.mts"||e===".d.cts"||Fr(e,".d.")&&ts(e,".ts")}function LM(e){return YS(e)||e===".json"}function rl(e){let t=X2(e);return t!==void 0?t:N.fail(`File ${e} has unknown extension.`)}function JM(e){return X2(e)!==void 0}function X2(e){return Yr(Em,t=>La(e,t))}function RM(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}function jM(e,t){let r=[];for(let a of e){if(a===t)return t;b_(a)||r.push(a)}return jv(r,a=>a,t)}function FM(e,t){let r=e.indexOf(t);return N.assert(r!==-1),e.slice(r)}function nl(e,...t){return t.length&&(e.relatedInformation||(e.relatedInformation=[]),N.assert(e.relatedInformation!==$e,"Diagnostic had empty array singleton for related info, but is still being constructed!"),e.relatedInformation.push(...t)),e}function BM(e,t){N.assert(e.length!==0);let r=t(e[0]),a=r;for(let _=1;_<e.length;_++){let p=t(e[_]);p<r?r=p:p>a&&(a=p)}return{min:r,max:a}}function UM(e){return{pos:Go(e),end:e.end}}function qM(e,t){let r=t.pos-1,a=Math.min(e.text.length,Nt(e.text,t.end)+1);return{pos:r,end:a}}function zM(e,t,r){return t.skipLibCheck&&e.isDeclarationFile||t.skipDefaultLibCheck&&e.hasNoDefaultLib||r.isSourceOfProjectReferenceRedirect(e.fileName)}function $2(e,t){return e===t||typeof e=="object"&&e!==null&&typeof t=="object"&&t!==null&&kv(e,t,$2)}function xm(e){let t;switch(e.charCodeAt(1)){case 98:case 66:t=1;break;case 111:case 79:t=3;break;case 120:case 88:t=4;break;default:let v=e.length-1,y=0;for(;e.charCodeAt(y)===48;)y++;return e.slice(y,v)||"0"}let r=2,a=e.length-1,_=(a-r)*t,p=new Uint16Array((_>>>4)+(_&15?1:0));for(let v=a-1,y=0;v>=r;v--,y+=t){let C=y>>>4,S=e.charCodeAt(v),L=(S<=57?S-48:10+S-(S<=70?65:97))<<(y&15);p[C]|=L;let G=L>>>16;G&&(p[C+1]|=G)}let d="",h=p.length-1,l=!0;for(;l;){let v=0;l=!1;for(let y=h;y>=0;y--){let C=v<<16|p[y],S=C/10|0;p[y]=S,v=C-S*10,S&&!l&&(h=y,l=!0)}d=v+d}return d}function Q2({negative:e,base10Value:t}){return(e&&t!=="0"?"-":"")+t}function WM(e){if(ZS(e,!1))return KS(e)}function KS(e){let t=e.startsWith("-"),r=xm(`${t?e.slice(1):e}n`);return{negative:t,base10Value:r}}function ZS(e,t){if(e==="")return!1;let r=ns(99,!1),a=!0;r.setOnError(()=>a=!1),r.setText(e+"n");let _=r.scan(),p=_===41;p&&(_=r.scan());let d=r.getTokenFlags();return a&&_===10&&r.getTokenEnd()===e.length+1&&!(d&512)&&(!t||e===Q2({negative:p,base10Value:xm(r.getTokenValue())}))}function VM(e){return!!(e.flags&33554432)||eT(e)||XM(e)||GM(e)||!(_2(e)||HM(e))}function HM(e){return Ee(e)&&_u(e.parent)&&e.parent.name===e}function GM(e){for(;e.kind===80||e.kind===211;)e=e.parent;if(e.kind!==167)return!1;if(gr(e.parent,256))return!0;let t=e.parent.parent.kind;return t===264||t===187}function XM(e){if(e.kind!==80)return!1;let t=Kr(e.parent,r=>{switch(r.kind){case 298:return!0;case 211:case 233:return!1;default:return"quit"}});return(t==null?void 0:t.token)===119||(t==null?void 0:t.parent.kind)===264}function $M(e){return R_(e)&&Ee(e.typeName)}function QM(e,t=_o){if(e.length<2)return!0;let r=e[0];for(let a=1,_=e.length;a<_;a++){let p=e[a];if(!t(r,p))return!1}return!0}function Cd(e,t){return e.pos=t,e}function ex(e,t){return e.end=t,e}function Ya(e,t,r){return ex(Cd(e,t),r)}function Ed(e,t,r){return Ya(e,t,t+r)}function YM(e,t){return e&&(e.flags=t),e}function Xi(e,t){return e&&t&&(e.parent=t),e}function a_(e,t){if(e)for(let r of e)Xi(r,t);return e}function tx(e,t){if(!e)return e;return eg(e,zg(e)?r:_),e;function r(p,d){if(t&&p.parent===d)return"skip";Xi(p,d)}function a(p){if(Wi(p))for(let d of p.jsDoc)r(d,p),eg(d,r)}function _(p,d){return r(p,d)||a(p)}}function KM(e){return!Im(e)}function ZM(e){return iu(e)&&so(e.elements,KM)}function eL(e){for(N.assertIsDefined(e.parent);;){let t=e.parent;if(is(t)){e=t;continue}if(ou(t)||h6(t)||c8(t)&&(t.initializer===e||t.incrementor===e))return!0;if(F_(t)){if(e!==ka(t.elements))return!0;e=t;continue}if(Ct(t)&&t.operatorToken.kind===28){if(e===t.left)return!0;e=t;continue}return!1}}function rx(e){return mt(ignoredPaths,t=>eo(e,t))}function tL(e){if(!e.parent)return;switch(e.kind){case 168:let{parent:r}=e;return r.kind===195?void 0:r.typeParameters;case 169:return e.parent.parameters;case 204:return e.parent.templateSpans;case 239:return e.parent.templateSpans;case 170:{let{parent:a}=e;return U8(a)?a.modifiers:void 0}case 298:return e.parent.heritageClauses}let{parent:t}=e;if(Wg(e))return P6(e.parent)?void 0:e.parent.tags;switch(t.kind){case 187:case 264:return jg(e)?t.members:void 0;case 192:case 193:return t.types;case 189:case 209:case 361:case 275:case 279:return t.elements;case 210:case 292:return t.properties;case 213:case 214:return g0(e)?t.typeArguments:t.expression===e?void 0:t.arguments;case 284:case 288:return S3(e)?t.children:void 0;case 286:case 285:return g0(e)?t.typeArguments:void 0;case 241:case 296:case 297:case 268:return t.statements;case 269:return t.clauses;case 263:case 231:return no(e)?t.members:void 0;case 266:return y8(e)?t.members:void 0;case 312:return t.statements}}function rL(e){if(!e.typeParameters){if(mt(e.parameters,t=>!I2(t)))return!0;if(e.kind!==219){let t=g_(e.parameters);if(!(t&&Xl(t)))return!0}}return!1}function nL(e){return e==="Infinity"||e==="-Infinity"||e==="NaN"}function nx(e){return e.kind===260&&e.parent.kind===299}function iL(e){let t=e.valueDeclaration&&ym(e.valueDeclaration);return!!t&&(Ma(t)||nx(t))}function aL(e){return e.kind===218||e.kind===219}function oL(e){return e.replace(/\$/gm,()=>"\\$")}function ix(e){return(+e).toString()===e}function sL(e,t,r,a){return Cg(e,t)?Ln.createIdentifier(e):!a&&ix(e)&&+e>=0?Ln.createNumericLiteral(+e):Ln.createStringLiteral(e,!!r)}function ax(e){return!!(e.flags&262144&&e.isThisType)}function _L(e){let t=0,r=0,a=0,_=0,p;(v=>{v[v.BeforeNodeModules=0]="BeforeNodeModules",v[v.NodeModules=1]="NodeModules",v[v.Scope=2]="Scope",v[v.PackageContent=3]="PackageContent"})(p||(p={}));let d=0,h=0,l=0;for(;h>=0;)switch(d=h,h=e.indexOf("/",d+1),l){case 0:e.indexOf(nodeModulesPathPart,d)===d&&(t=d,r=h,l=1);break;case 1:case 2:l===1&&e.charAt(d+1)==="@"?l=2:(a=h,l=3);break;case 3:e.indexOf(nodeModulesPathPart,d)===d?l=1:l=3;break}return _=d,l>1?{topLevelNodeModulesIndex:t,topLevelPackageNameIndex:r,packageRootIndex:a,fileNameIndex:_}:void 0}function cL(e){var t;return e.kind===348?(t=e.typeExpression)==null?void 0:t.type:e.type}function ox(e){switch(e.kind){case 168:case 263:case 264:case 265:case 266:case 353:case 345:case 347:return!0;case 273:return e.isTypeOnly;case 276:case 281:return e.parent.parent.isTypeOnly;default:return!1}}function lL(e){return S6(e)||as(e)||os(e)||Yo(e)||su(e)||ox(e)||Yi(e)&&!Gg(e)&&!lm(e)}function sx(e){if(!Ig(e))return!1;let{isBracketed:t,typeExpression:r}=e;return t||!!r&&r.type.kind===323}function uL(e,t){if(e.length===0)return!1;let r=e.charCodeAt(0);return r===35?e.length>1&&un(e.charCodeAt(1),t):un(r,t)}function _x(e){var t;return((t=getSnippetElement(e))==null?void 0:t.kind)===0}function cx(e){return Wt(e)&&(e.type&&e.type.kind===323||Zd(e).some(({isBracketed:t,typeExpression:r})=>t||!!r&&r.type.kind===323))}function pL(e){switch(e.kind){case 172:case 171:return!!e.questionToken;case 169:return!!e.questionToken||cx(e);case 355:case 348:return sx(e);default:return!1}}function fL(e){let t=e.kind;return(t===211||t===212)&&jo(e.expression)}function dL(e){return Wt(e)&&is(e)&&Wi(e)&&!!kg(e)}function mL(e){return N.checkDefined(lx(e))}function lx(e){let t=kg(e);return t&&t.typeExpression&&t.typeExpression.type}function hL(e){return Ee(e)?e.escapedText:Yl(e)}function yL(e){return Ee(e)?Ot(e):Kl(e)}function gL(e){let t=e.kind;return t===80||t===295}function Yl(e){return`${e.namespace.escapedText}:${Ot(e.name)}`}function Kl(e){return`${Ot(e.namespace)}:${Ot(e.name)}`}function bL(e){return Ee(e)?Ot(e):Kl(e)}function vL(e){return!!(e.flags&8576)}function TL(e){return e.flags&8192?e.escapedName:e.flags&384?Mn(""+e.value):N.fail()}var ux,wm,px,fx,Zs,F0,Y2,dx,mx,K2,hx,yx,B0,U0,q0,z0,gx,bx,vx,Tx,Sx,W0,xx,wx,Cx,Po,qi,Ex,Ax,wt,Z2,kl,Ad,kx,V0,Uf,$h,Qh,Yh,e6,Ro,t6,Dx,Px,H0,r6,Dl,Ix,n6,Nx,Cm,G0,Em,Ox,SL=Vt({"src/compiler/utilities.ts"(){"use strict";Dr(),ux=[],wm="tslib",px=160,fx=1e6,Zs=Bk(),F0=(e=>(e[e.None=0]="None",e[e.NeverAsciiEscape=1]="NeverAsciiEscape",e[e.JsxAttributeEscape=2]="JsxAttributeEscape",e[e.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",e[e.AllowNumericSeparator=8]="AllowNumericSeparator",e))(F0||{}),Y2=/^(\/\/\/\s*<reference\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,dx=/^(\/\/\/\s*<reference\s+types\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,mx=/^(\/\/\/\s*<reference\s+lib\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,K2=/^(\/\/\/\s*<amd-dependency\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,hx=/^\/\/\/\s*<amd-module\s+.*?\/>/,yx=/^(\/\/\/\s*<reference\s+no-default-lib\s*=\s*)(('[^']*')|("[^"]*"))\s*\/>/,B0=(e=>(e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound",e))(B0||{}),U0=(e=>(e[e.Normal=0]="Normal",e[e.Generator=1]="Generator",e[e.Async=2]="Async",e[e.Invalid=4]="Invalid",e[e.AsyncGenerator=3]="AsyncGenerator",e))(U0||{}),q0=(e=>(e[e.Left=0]="Left",e[e.Right=1]="Right",e))(q0||{}),z0=(e=>(e[e.Comma=0]="Comma",e[e.Spread=1]="Spread",e[e.Yield=2]="Yield",e[e.Assignment=3]="Assignment",e[e.Conditional=4]="Conditional",e[e.Coalesce=4]="Coalesce",e[e.LogicalOR=5]="LogicalOR",e[e.LogicalAND=6]="LogicalAND",e[e.BitwiseOR=7]="BitwiseOR",e[e.BitwiseXOR=8]="BitwiseXOR",e[e.BitwiseAND=9]="BitwiseAND",e[e.Equality=10]="Equality",e[e.Relational=11]="Relational",e[e.Shift=12]="Shift",e[e.Additive=13]="Additive",e[e.Multiplicative=14]="Multiplicative",e[e.Exponentiation=15]="Exponentiation",e[e.Unary=16]="Unary",e[e.Update=17]="Update",e[e.LeftHandSide=18]="LeftHandSide",e[e.Member=19]="Member",e[e.Primary=20]="Primary",e[e.Highest=20]="Highest",e[e.Lowest=0]="Lowest",e[e.Invalid=-1]="Invalid",e))(z0||{}),gx=/\$\{/g,bx=/[\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,vx=/[\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Tx=/\r\n|[\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,Sx=new Map(Object.entries({"	":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","\x85":"\\u0085","\r\n":"\\r\\n"})),W0=/[^\u0000-\u007F]/g,xx=/["\u0000-\u001f\u2028\u2029\u0085]/g,wx=/['\u0000-\u001f\u2028\u2029\u0085]/g,Cx=new Map(Object.entries({'"':"&quot;","'":"&apos;"})),Po=["","    "],qi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Ex=`\r
`,Ax=`
`,wt={getNodeConstructor:()=>Gh,getTokenConstructor:()=>BO,getIdentifierConstructor:()=>UO,getPrivateIdentifierConstructor:()=>Gh,getSourceFileConstructor:()=>Gh,getSymbolConstructor:()=>RO,getTypeConstructor:()=>jO,getSignatureConstructor:()=>FO,getSourceMapSourceConstructor:()=>qO},Z2=[],Ad=/[^\w\s/]/g,kx=[42,63],V0=["node_modules","bower_components","jspm_packages"],Uf=`(?!(${V0.join("|")})(/|$))`,$h={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(/${Uf}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>Xh(e,$h.singleAsteriskRegexFragment)},Qh={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(/${Uf}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>Xh(e,Qh.singleAsteriskRegexFragment)},Yh={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:e=>Xh(e,Yh.singleAsteriskRegexFragment)},e6={files:$h,directories:Qh,exclude:Yh},Ro=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],t6=o_(Ro),Dx=[...Ro,[".json"]],Px=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx"],H0=[[".js",".jsx"],[".mjs"],[".cjs"]],r6=o_(H0),Dl=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],Ix=[...Dl,[".json"]],n6=[".d.ts",".d.cts",".d.mts"],Nx=[".ts",".cts",".mts",".tsx"],Cm=[".mts",".d.mts",".mjs",".cts",".d.cts",".cjs"],G0=(e=>(e[e.Minimal=0]="Minimal",e[e.Index=1]="Index",e[e.JsExtension=2]="JsExtension",e[e.TsExtension=3]="TsExtension",e))(G0||{}),Em=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"],Ox={files:$e,directories:$e}}});function Mx(){let e,t,r,a,_;return{createBaseSourceFileNode:p,createBaseIdentifierNode:d,createBasePrivateIdentifierNode:h,createBaseTokenNode:l,createBaseNode:v};function p(y){return new(_||(_=wt.getSourceFileConstructor()))(y,-1,-1)}function d(y){return new(r||(r=wt.getIdentifierConstructor()))(y,-1,-1)}function h(y){return new(a||(a=wt.getPrivateIdentifierConstructor()))(y,-1,-1)}function l(y){return new(t||(t=wt.getTokenConstructor()))(y,-1,-1)}function v(y){return new(e||(e=wt.getNodeConstructor()))(y,-1,-1)}}var xL=Vt({"src/compiler/factory/baseNodeFactory.ts"(){"use strict";Dr()}}),i6,wL=Vt({"src/compiler/factory/parenthesizerRules.ts"(){"use strict";Dr(),i6={getParenthesizeLeftSideOfBinaryForOperator:e=>bt,getParenthesizeRightSideOfBinaryForOperator:e=>bt,parenthesizeLeftSideOfBinary:(e,t)=>t,parenthesizeRightSideOfBinary:(e,t,r)=>r,parenthesizeExpressionOfComputedPropertyName:bt,parenthesizeConditionOfConditionalExpression:bt,parenthesizeBranchOfConditionalExpression:bt,parenthesizeExpressionOfExportDefault:bt,parenthesizeExpressionOfNew:e=>gi(e,Lo),parenthesizeLeftSideOfAccess:e=>gi(e,Lo),parenthesizeOperandOfPostfixUnary:e=>gi(e,Lo),parenthesizeOperandOfPrefixUnary:e=>gi(e,h3),parenthesizeExpressionsOfCommaDelimitedList:e=>gi(e,va),parenthesizeExpressionForDisallowedComma:bt,parenthesizeExpressionOfExpressionStatement:bt,parenthesizeConciseBodyOfArrowFunction:bt,parenthesizeCheckTypeOfConditionalType:bt,parenthesizeExtendsTypeOfConditionalType:bt,parenthesizeConstituentTypesOfUnionType:e=>gi(e,va),parenthesizeConstituentTypeOfUnionType:bt,parenthesizeConstituentTypesOfIntersectionType:e=>gi(e,va),parenthesizeConstituentTypeOfIntersectionType:bt,parenthesizeOperandOfTypeOperator:bt,parenthesizeOperandOfReadonlyTypeOperator:bt,parenthesizeNonArrayTypeOfPostfixType:bt,parenthesizeElementTypesOfTupleType:e=>gi(e,va),parenthesizeElementTypeOfTupleType:bt,parenthesizeTypeOfOptionalType:bt,parenthesizeTypeArguments:e=>e&&gi(e,va),parenthesizeLeadingTypeArgument:bt}}}),CL=()=>{},Lx=()=>new Proxy({},{get:()=>()=>{}});function EL(e){a6.push(e)}function kd(e,t){let r=e&8?AL:kL,a=ry(()=>e&1?i6:createParenthesizerRules(ue)),_=ry(()=>e&2?nullNodeConverters:Lx(ue)),p=Nn(n=>(o,s)=>nc(o,n,s)),d=Nn(n=>o=>qa(n,o)),h=Nn(n=>o=>Ts(o,n)),l=Nn(n=>()=>U1(n)),v=Nn(n=>o=>Nc(n,o)),y=Nn(n=>(o,s)=>q1(n,o,s)),C=Nn(n=>(o,s)=>Ic(n,o,s)),S=Nn(n=>(o,s)=>Ep(n,o,s)),k=Nn(n=>(o,s)=>jp(n,o,s)),L=Nn(n=>(o,s,u)=>th(n,o,s,u)),G=Nn(n=>(o,s,u)=>Fp(n,o,s,u)),K=Nn(n=>(o,s,u,g)=>rh(n,o,s,u,g)),ue={get parenthesizer(){return a()},get converters(){return _()},baseFactory:t,flags:e,createNodeArray:Y,createNumericLiteral:Ze,createBigIntLiteral:qe,createStringLiteral:it,createStringLiteralFromNode:Ir,createRegularExpressionLiteral:ar,createLiteralLikeNode:ci,createIdentifier:Ge,createTempVariable:Gt,createLoopVariable:Ur,createUniqueName:Xt,getGeneratedNameForNode:Tn,createPrivateIdentifier:sr,createUniquePrivateName:St,getGeneratedPrivateNameForNode:xn,createToken:vt,createSuper:ct,createThis:Ut,createNull:fr,createTrue:ht,createFalse:wn,createModifier:Tt,createModifiersFromModifierFlags:Or,createQualifiedName:pt,updateQualifiedName:Mr,createComputedPropertyName:at,updateComputedPropertyName:er,createTypeParameterDeclaration:Qt,updateTypeParameterDeclaration:tn,createParameterDeclaration:Bn,updateParameterDeclaration:Un,createDecorator:rn,updateDecorator:nn,createPropertySignature:Di,updatePropertySignature:qn,createPropertyDeclaration:q,updatePropertyDeclaration:oe,createMethodSignature:ge,updateMethodSignature:Se,createMethodDeclaration:nt,updateMethodDeclaration:z,createConstructorDeclaration:Le,updateConstructorDeclaration:lt,createGetAccessorDeclaration:jt,updateGetAccessorDeclaration:qr,createSetAccessorDeclaration:Cn,updateSetAccessorDeclaration:zn,createCallSignature:ia,updateCallSignature:Wn,createConstructSignature:En,updateConstructSignature:Ii,createIndexSignature:aa,updateIndexSignature:Vn,createClassStaticBlockDeclaration:ee,updateClassStaticBlockDeclaration:xe,createTemplateLiteralTypeSpan:Sr,updateTemplateLiteralTypeSpan:Je,createKeywordTypeNode:oa,createTypePredicateNode:Mt,updateTypePredicateNode:Lr,createTypeReferenceNode:j,updateTypeReferenceNode:T,createFunctionTypeNode:x,updateFunctionTypeNode:f,createConstructorTypeNode:Q,updateConstructorTypeNode:be,createTypeQueryNode:we,updateTypeQueryNode:et,createTypeLiteralNode:Ye,updateTypeLiteralNode:Ke,createArrayTypeNode:It,updateArrayTypeNode:qt,createTupleTypeNode:_r,updateTupleTypeNode:Te,createNamedTupleMember:ft,updateNamedTupleMember:An,createOptionalTypeNode:Et,updateOptionalTypeNode:H,createRestTypeNode:Fa,updateRestTypeNode:Ie,createUnionTypeNode:an,updateUnionTypeNode:Ba,createIntersectionTypeNode:kn,updateIntersectionTypeNode:je,createConditionalTypeNode:dt,updateConditionalTypeNode:li,createInferTypeNode:Hn,updateInferTypeNode:t1,createImportTypeNode:ui,updateImportTypeNode:fs,createParenthesizedType:xr,updateParenthesizedType:Ft,createThisTypeNode:M,createTypeOperatorNode:Jr,updateTypeOperatorNode:sa,createIndexedAccessTypeNode:Ni,updateIndexedAccessTypeNode:G_,createMappedTypeNode:Lt,updateMappedTypeNode:Yt,createLiteralTypeNode:Oi,updateLiteralTypeNode:n1,createTemplateLiteralType:dr,updateTemplateLiteralType:r1,createObjectBindingPattern:Tu,updateObjectBindingPattern:Ua,createArrayBindingPattern:Su,updateArrayBindingPattern:X_,createBindingElement:_a,updateBindingElement:xu,createArrayLiteralExpression:$_,updateArrayLiteralExpression:wu,createObjectLiteralExpression:ds,updateObjectLiteralExpression:i1,createPropertyAccessExpression:e&4?(n,o)=>setEmitFlags(Mi(n,o),262144):Mi,updatePropertyAccessExpression:Q_,createPropertyAccessChain:e&4?(n,o,s)=>setEmitFlags(hs(n,o,s),262144):hs,updatePropertyAccessChain:ys,createElementAccessExpression:Y_,updateElementAccessExpression:Eu,createElementAccessChain:Au,updateElementAccessChain:ku,createCallExpression:fo,updateCallExpression:a1,createCallChain:zr,updateCallChain:gs,createNewExpression:bs,updateNewExpression:Du,createTaggedTemplateExpression:Pu,updateTaggedTemplateExpression:o1,createTypeAssertion:Iu,updateTypeAssertion:Nu,createParenthesizedExpression:K_,updateParenthesizedExpression:Ou,createFunctionExpression:Z_,updateFunctionExpression:Mu,createArrowFunction:ec,updateArrowFunction:tc,createDeleteExpression:Lu,updateDeleteExpression:Wr,createTypeOfExpression:vs,updateTypeOfExpression:pi,createVoidExpression:rc,updateVoidExpression:ca,createAwaitExpression:la,updateAwaitExpression:s1,createPrefixUnaryExpression:qa,updatePrefixUnaryExpression:_1,createPostfixUnaryExpression:Ts,updatePostfixUnaryExpression:c1,createBinaryExpression:nc,updateBinaryExpression:Ru,createConditionalExpression:ju,updateConditionalExpression:fi,createTemplateExpression:ic,updateTemplateExpression:l1,createTemplateHead:oc,createTemplateMiddle:u1,createTemplateTail:Bu,createNoSubstitutionTemplateLiteral:p1,createTemplateLiteralLikeNode:Li,createYieldExpression:Uu,updateYieldExpression:f1,createSpreadElement:qu,updateSpreadElement:d1,createClassExpression:xs,updateClassExpression:sc,createOmittedExpression:m1,createExpressionWithTypeArguments:Vr,updateExpressionWithTypeArguments:_c,createAsExpression:zu,updateAsExpression:Wu,createNonNullExpression:cc,updateNonNullExpression:Vu,createSatisfiesExpression:lc,updateSatisfiesExpression:Dn,createNonNullChain:Hu,updateNonNullChain:ws,createMetaProperty:Gn,updateMetaProperty:Cs,createTemplateSpan:uc,updateTemplateSpan:Gu,createSemicolonClassElement:h1,createBlock:ua,updateBlock:y1,createVariableStatement:Xu,updateVariableStatement:pc,createEmptyStatement:fc,createExpressionStatement:Es,updateExpressionStatement:$u,createIfStatement:Qu,updateIfStatement:Yu,createDoStatement:Ku,updateDoStatement:g1,createWhileStatement:Zu,updateWhileStatement:ep,createForStatement:dc,updateForStatement:b1,createForInStatement:tp,updateForInStatement:v1,createForOfStatement:rp,updateForOfStatement:T1,createContinueStatement:mc,updateContinueStatement:np,createBreakStatement:hc,updateBreakStatement:S1,createReturnStatement:ip,updateReturnStatement:ap,createWithStatement:yc,updateWithStatement:op,createSwitchStatement:pa,updateSwitchStatement:x1,createLabeledStatement:sp,updateLabeledStatement:_p,createThrowStatement:cp,updateThrowStatement:w1,createTryStatement:lp,updateTryStatement:up,createDebuggerStatement:pp,createVariableDeclaration:As,updateVariableDeclaration:C1,createVariableDeclarationList:gc,updateVariableDeclarationList:E1,createFunctionDeclaration:bc,updateFunctionDeclaration:fp,createClassDeclaration:vc,updateClassDeclaration:Tc,createInterfaceDeclaration:dp,updateInterfaceDeclaration:gt,createTypeAliasDeclaration:Ji,updateTypeAliasDeclaration:Sc,createEnumDeclaration:Ri,updateEnumDeclaration:mp,createModuleDeclaration:Jt,updateModuleDeclaration:ji,createModuleBlock:tr,updateModuleBlock:k1,createCaseBlock:hp,updateCaseBlock:D1,createNamespaceExportDeclaration:xc,updateNamespaceExportDeclaration:P1,createImportEqualsDeclaration:yp,updateImportEqualsDeclaration:gp,createImportDeclaration:bp,updateImportDeclaration:vp,createImportClause:wc,updateImportClause:Tp,createAssertClause:Sp,updateAssertClause:ks,createAssertEntry:Cc,updateAssertEntry:xp,createImportTypeAssertionContainer:Ec,updateImportTypeAssertionContainer:N1,createNamespaceImport:Ds,updateNamespaceImport:O1,createNamespaceExport:Ac,updateNamespaceExport:M1,createNamedImports:wp,updateNamedImports:L1,createImportSpecifier:Cp,updateImportSpecifier:J1,createExportAssignment:Ps,updateExportAssignment:Fi,createExportDeclaration:kc,updateExportDeclaration:Dc,createNamedExports:Ns,updateNamedExports:R1,createExportSpecifier:fa,updateExportSpecifier:j1,createMissingDeclaration:F1,createExternalModuleReference:Pc,updateExternalModuleReference:B1,get createJSDocAllType(){return l(319)},get createJSDocUnknownType(){return l(320)},get createJSDocNonNullableType(){return C(322)},get updateJSDocNonNullableType(){return S(322)},get createJSDocNullableType(){return C(321)},get updateJSDocNullableType(){return S(321)},get createJSDocOptionalType(){return v(323)},get updateJSDocOptionalType(){return y(323)},get createJSDocVariadicType(){return v(325)},get updateJSDocVariadicType(){return y(325)},get createJSDocNamepathType(){return v(326)},get updateJSDocNamepathType(){return y(326)},createJSDocFunctionType:Ap,updateJSDocFunctionType:z1,createJSDocTypeLiteral:kp,updateJSDocTypeLiteral:W1,createJSDocTypeExpression:Dp,updateJSDocTypeExpression:V1,createJSDocSignature:Pp,updateJSDocSignature:H1,createJSDocTemplateTag:ho,updateJSDocTemplateTag:Os,createJSDocTypedefTag:Ms,updateJSDocTypedefTag:Ip,createJSDocParameterTag:Oc,updateJSDocParameterTag:Mc,createJSDocPropertyTag:Np,updateJSDocPropertyTag:Op,createJSDocCallbackTag:Mp,updateJSDocCallbackTag:G1,createJSDocOverloadTag:Lc,updateJSDocOverloadTag:X1,createJSDocAugmentsTag:Jc,updateJSDocAugmentsTag:$1,createJSDocImplementsTag:Ls,updateJSDocImplementsTag:eh,createJSDocSeeTag:Rc,updateJSDocSeeTag:yo,createJSDocNameReference:Lp,updateJSDocNameReference:Wa,createJSDocMemberName:go,updateJSDocMemberName:Q1,createJSDocLink:Jp,updateJSDocLink:Y1,createJSDocLinkCode:Rp,updateJSDocLinkCode:K1,createJSDocLinkPlain:jc,updateJSDocLinkPlain:Z1,get createJSDocTypeTag(){return G(351)},get updateJSDocTypeTag(){return K(351)},get createJSDocReturnTag(){return G(349)},get updateJSDocReturnTag(){return K(349)},get createJSDocThisTag(){return G(350)},get updateJSDocThisTag(){return K(350)},get createJSDocAuthorTag(){return k(337)},get updateJSDocAuthorTag(){return L(337)},get createJSDocClassTag(){return k(339)},get updateJSDocClassTag(){return L(339)},get createJSDocPublicTag(){return k(340)},get updateJSDocPublicTag(){return L(340)},get createJSDocPrivateTag(){return k(341)},get updateJSDocPrivateTag(){return L(341)},get createJSDocProtectedTag(){return k(342)},get updateJSDocProtectedTag(){return L(342)},get createJSDocReadonlyTag(){return k(343)},get updateJSDocReadonlyTag(){return L(343)},get createJSDocOverrideTag(){return k(344)},get updateJSDocOverrideTag(){return L(344)},get createJSDocDeprecatedTag(){return k(338)},get updateJSDocDeprecatedTag(){return L(338)},get createJSDocThrowsTag(){return G(356)},get updateJSDocThrowsTag(){return K(356)},get createJSDocSatisfiesTag(){return G(357)},get updateJSDocSatisfiesTag(){return K(357)},createJSDocEnumTag:Up,updateJSDocEnumTag:ih,createJSDocUnknownTag:Bp,updateJSDocUnknownTag:nh,createJSDocText:qp,updateJSDocText:ah,createJSDocComment:Js,updateJSDocComment:oh,createJsxElement:Fc,updateJsxElement:zp,createJsxSelfClosingElement:Wp,updateJsxSelfClosingElement:Rs,createJsxOpeningElement:Bc,updateJsxOpeningElement:sh,createJsxClosingElement:Vp,updateJsxClosingElement:_h,createJsxFragment:js,createJsxText:Fs,updateJsxText:Gp,createJsxOpeningFragment:Uc,createJsxJsxClosingFragment:wr,updateJsxFragment:Hp,createJsxAttribute:qc,updateJsxAttribute:Xp,createJsxAttributes:$p,updateJsxAttributes:Qp,createJsxSpreadAttribute:Yp,updateJsxSpreadAttribute:ch,createJsxExpression:bo,updateJsxExpression:lh,createJsxNamespacedName:Kp,updateJsxNamespacedName:uh,createCaseClause:Zp,updateCaseClause:zc,createDefaultClause:Va,updateDefaultClause:ph,createHeritageClause:Bs,updateHeritageClause:ef,createCatchClause:tf,updateCatchClause:vo,createPropertyAssignment:Us,updatePropertyAssignment:fh,createShorthandPropertyAssignment:Wc,updateShorthandPropertyAssignment:rf,createSpreadAssignment:da,updateSpreadAssignment:mh,createEnumMember:af,updateEnumMember:hh,createSourceFile:yh,updateSourceFile:bh,createRedirectedSourceFile:Vc,createBundle:sf,updateBundle:_f,createUnparsedSource:Gc,createUnparsedPrologue:vh,createUnparsedPrepend:cf,createUnparsedTextLike:Th,createUnparsedSyntheticReference:Sh,createInputFiles:qs,createSyntheticExpression:lf,createSyntaxList:xh,createNotEmittedStatement:wh,createPartiallyEmittedExpression:uf,updatePartiallyEmittedExpression:pf,createCommaListExpression:zs,updateCommaListExpression:ff,createSyntheticReferenceExpression:$c,updateSyntheticReferenceExpression:Eh,cloneNode:Qc,get createComma(){return p(28)},get createAssignment(){return p(64)},get createLogicalOr(){return p(57)},get createLogicalAnd(){return p(56)},get createBitwiseOr(){return p(52)},get createBitwiseXor(){return p(53)},get createBitwiseAnd(){return p(51)},get createStrictEquality(){return p(37)},get createStrictInequality(){return p(38)},get createEquality(){return p(35)},get createInequality(){return p(36)},get createLessThan(){return p(30)},get createLessThanEquals(){return p(33)},get createGreaterThan(){return p(32)},get createGreaterThanEquals(){return p(34)},get createLeftShift(){return p(48)},get createRightShift(){return p(49)},get createUnsignedRightShift(){return p(50)},get createAdd(){return p(40)},get createSubtract(){return p(41)},get createMultiply(){return p(42)},get createDivide(){return p(44)},get createModulo(){return p(45)},get createExponent(){return p(43)},get createPrefixPlus(){return d(40)},get createPrefixMinus(){return d(41)},get createPrefixIncrement(){return d(46)},get createPrefixDecrement(){return d(47)},get createBitwiseNot(){return d(55)},get createLogicalNot(){return d(54)},get createPostfixIncrement(){return h(46)},get createPostfixDecrement(){return h(47)},createImmediatelyInvokedFunctionExpression:Dh,createImmediatelyInvokedArrowFunction:Ph,createVoidZero:ma,createExportDefault:Ih,createExternalModuleExport:Nh,createTypeCheck:Oh,createIsNotTypeCheck:Mh,createMethodCall:ha,createGlobalMethodCall:Ha,createFunctionBindCall:Lh,createFunctionCallCall:Ws,createFunctionApplyCall:Jh,createArraySliceCall:Rh,createArrayConcatCall:jh,createObjectDefinePropertyCall:hf,createObjectGetOwnPropertyDescriptorCall:Fh,createReflectGetCall:Bh,createReflectSetCall:Uh,createPropertyDescriptor:yf,createCallBinding:A,createAssignmentTargetWrapper:R,inlineExpressions:te,getInternalName:ne,getLocalName:ie,getExportName:ve,getDeclarationName:He,getNamespaceMemberName:Be,getExternalModuleOrNamespaceExportName:Ue,restoreOuterExpressions:m,restoreEnclosingLabel:b,createUseStrictPrologue:di,copyPrologue:Rt,copyStandardPrologue:mi,copyCustomPrologue:hi,ensureUseStrict:Ui,liftToBlock:ga,mergeLexicalEnvironment:qh,updateModifiers:bf,updateModifierLike:zh};return yr(a6,n=>n(ue)),ue;function Y(n,o){if(n===void 0||n===$e)n=[];else if(va(n)){if(o===void 0||n.hasTrailingComma===o)return n.transformFlags===void 0&&Vb(n),N.attachNodeArrayDebugInfo(n),n;let g=n.slice();return g.pos=n.pos,g.end=n.end,g.hasTrailingComma=o,g.transformFlags=n.transformFlags,N.attachNodeArrayDebugInfo(g),g}let s=n.length,u=s>=1&&s<=4?n.slice():n;return u.pos=-1,u.end=-1,u.hasTrailingComma=!!o,u.transformFlags=0,Vb(u),N.attachNodeArrayDebugInfo(u),u}function B(n){return t.createBaseNode(n)}function ae(n){let o=B(n);return o.symbol=void 0,o.localSymbol=void 0,o}function Ce(n,o){return n!==o&&(n.typeArguments=o.typeArguments),r(n,o)}function Ze(n,o=0){let s=ae(9);return s.text=typeof n=="number"?n+"":n,s.numericLiteralFlags=o,o&384&&(s.transformFlags|=1024),s}function qe(n){let o=Tr(10);return o.text=typeof n=="string"?n:Q2(n)+"n",o.transformFlags|=32,o}function rt(n,o){let s=ae(11);return s.text=n,s.singleQuote=o,s}function it(n,o,s){let u=rt(n,o);return u.hasExtendedUnicodeEscape=s,s&&(u.transformFlags|=1024),u}function Ir(n){let o=rt(vd(n),void 0);return o.textSourceNode=n,o}function ar(n){let o=Tr(14);return o.text=n,o}function ci(n,o){switch(n){case 9:return Ze(o,0);case 10:return qe(o);case 11:return it(o,void 0);case 12:return Fs(o,!1);case 13:return Fs(o,!0);case 14:return ar(o);case 15:return Li(n,o,void 0,0)}}function or(n){let o=t.createBaseIdentifierNode(80);return o.escapedText=n,o.jsDoc=void 0,o.flowNode=void 0,o.symbol=void 0,o}function Nr(n,o,s,u){let g=or(Mn(n));return setIdentifierAutoGenerate(g,{flags:o,id:il,prefix:s,suffix:u}),il++,g}function Ge(n,o,s){o===void 0&&n&&(o=Rl(n)),o===80&&(o=void 0);let u=or(Mn(n));return s&&(u.flags|=256),u.escapedText==="await"&&(u.transformFlags|=67108864),u.flags&256&&(u.transformFlags|=1024),u}function Gt(n,o,s,u){let g=1;o&&(g|=8);let I=Nr("",g,s,u);return n&&n(I),I}function Ur(n){let o=2;return n&&(o|=8),Nr("",o,void 0,void 0)}function Xt(n,o=0,s,u){return N.assert(!(o&7),"Argument out of range: flags"),N.assert((o&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),Nr(n,3|o,s,u)}function Tn(n,o=0,s,u){N.assert(!(o&7),"Argument out of range: flags");let g=n?ro(n)?Id(!1,s,n,u,Ot):`generated@${getNodeId(n)}`:"";(s||u)&&(o|=16);let I=Nr(g,4|o,s,u);return I.original=n,I}function Sn(n){let o=t.createBasePrivateIdentifierNode(81);return o.escapedText=n,o.transformFlags|=16777216,o}function sr(n){return Fr(n,"#")||N.fail("First character of private identifier must be #: "+n),Sn(Mn(n))}function $t(n,o,s,u){let g=Sn(Mn(n));return setIdentifierAutoGenerate(g,{flags:o,id:il,prefix:s,suffix:u}),il++,g}function St(n,o,s){n&&!Fr(n,"#")&&N.fail("First character of private identifier must be #: "+n);let u=8|(n?3:1);return $t(n??"",u,o,s)}function xn(n,o,s){let u=ro(n)?Id(!0,o,n,s,Ot):`#generated@${getNodeId(n)}`,I=$t(u,4|(o||s?16:0),o,s);return I.original=n,I}function Tr(n){return t.createBaseTokenNode(n)}function vt(n){N.assert(n>=0&&n<=165,"Invalid token"),N.assert(n<=15||n>=18,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),N.assert(n<=9||n>=15,"Invalid token. Use 'createLiteralLikeNode' to create literals."),N.assert(n!==80,"Invalid token. Use 'createIdentifier' to create identifiers");let o=Tr(n),s=0;switch(n){case 134:s=384;break;case 160:s=4;break;case 125:case 123:case 124:case 148:case 128:case 138:case 87:case 133:case 150:case 163:case 146:case 151:case 103:case 147:case 164:case 154:case 136:case 155:case 116:case 159:case 157:s=1;break;case 108:s=134218752,o.flowNode=void 0;break;case 126:s=1024;break;case 129:s=16777216;break;case 110:s=16384,o.flowNode=void 0;break}return s&&(o.transformFlags|=s),o}function ct(){return vt(108)}function Ut(){return vt(110)}function fr(){return vt(106)}function ht(){return vt(112)}function wn(){return vt(97)}function Tt(n){return vt(n)}function Or(n){let o=[];return n&1&&o.push(Tt(95)),n&2&&o.push(Tt(138)),n&1024&&o.push(Tt(90)),n&2048&&o.push(Tt(87)),n&4&&o.push(Tt(125)),n&8&&o.push(Tt(123)),n&16&&o.push(Tt(124)),n&256&&o.push(Tt(128)),n&32&&o.push(Tt(126)),n&16384&&o.push(Tt(164)),n&64&&o.push(Tt(148)),n&128&&o.push(Tt(129)),n&512&&o.push(Tt(134)),n&32768&&o.push(Tt(103)),n&65536&&o.push(Tt(147)),o.length?o:void 0}function pt(n,o){let s=B(166);return s.left=n,s.right=Xe(o),s.transformFlags|=V(s.left)|e_(s.right),s.flowNode=void 0,s}function Mr(n,o,s){return n.left!==o||n.right!==s?r(pt(o,s),n):n}function at(n){let o=B(167);return o.expression=a().parenthesizeExpressionOfComputedPropertyName(n),o.transformFlags|=V(o.expression)|1024|131072,o}function er(n,o){return n.expression!==o?r(at(o),n):n}function Qt(n,o,s,u){let g=ae(168);return g.modifiers=Oe(n),g.name=Xe(o),g.constraint=s,g.default=u,g.transformFlags=1,g.expression=void 0,g.jsDoc=void 0,g}function tn(n,o,s,u,g){return n.modifiers!==o||n.name!==s||n.constraint!==u||n.default!==g?r(Qt(o,s,u,g),n):n}function Bn(n,o,s,u,g,I){let W=ae(169);return W.modifiers=Oe(n),W.dotDotDotToken=o,W.name=Xe(s),W.questionToken=u,W.type=g,W.initializer=To(I),gm(W.name)?W.transformFlags=1:W.transformFlags=De(W.modifiers)|V(W.dotDotDotToken)|In(W.name)|V(W.questionToken)|V(W.initializer)|(W.questionToken??W.type?1:0)|(W.dotDotDotToken??W.initializer?1024:0)|(ln(W.modifiers)&16476?8192:0),W.jsDoc=void 0,W}function Un(n,o,s,u,g,I,W){return n.modifiers!==o||n.dotDotDotToken!==s||n.name!==u||n.questionToken!==g||n.type!==I||n.initializer!==W?r(Bn(o,s,u,g,I,W),n):n}function rn(n){let o=B(170);return o.expression=a().parenthesizeLeftSideOfAccess(n,!1),o.transformFlags|=V(o.expression)|1|8192|33554432,o}function nn(n,o){return n.expression!==o?r(rn(o),n):n}function Di(n,o,s,u){let g=ae(171);return g.modifiers=Oe(n),g.name=Xe(o),g.type=u,g.questionToken=s,g.transformFlags=1,g.initializer=void 0,g.jsDoc=void 0,g}function qn(n,o,s,u,g){return n.modifiers!==o||n.name!==s||n.questionToken!==u||n.type!==g?Ae(Di(o,s,u,g),n):n}function Ae(n,o){return n!==o&&(n.initializer=o.initializer),r(n,o)}function q(n,o,s,u,g){let I=ae(172);I.modifiers=Oe(n),I.name=Xe(o),I.questionToken=s&&Pl(s)?s:void 0,I.exclamationToken=s&&Pd(s)?s:void 0,I.type=u,I.initializer=To(g);let W=I.flags&33554432||ln(I.modifiers)&2;return I.transformFlags=De(I.modifiers)|In(I.name)|V(I.initializer)|(W||I.questionToken||I.exclamationToken||I.type?1:0)|(ao(I.name)||ln(I.modifiers)&32&&I.initializer?8192:0)|16777216,I.jsDoc=void 0,I}function oe(n,o,s,u,g,I){return n.modifiers!==o||n.name!==s||n.questionToken!==(u!==void 0&&Pl(u)?u:void 0)||n.exclamationToken!==(u!==void 0&&Pd(u)?u:void 0)||n.type!==g||n.initializer!==I?r(q(o,s,u,g,I),n):n}function ge(n,o,s,u,g,I){let W=ae(173);return W.modifiers=Oe(n),W.name=Xe(o),W.questionToken=s,W.typeParameters=Oe(u),W.parameters=Oe(g),W.type=I,W.transformFlags=1,W.jsDoc=void 0,W.locals=void 0,W.nextContainer=void 0,W.typeArguments=void 0,W}function Se(n,o,s,u,g,I,W){return n.modifiers!==o||n.name!==s||n.questionToken!==u||n.typeParameters!==g||n.parameters!==I||n.type!==W?Ce(ge(o,s,u,g,I,W),n):n}function nt(n,o,s,u,g,I,W,de){let We=ae(174);if(We.modifiers=Oe(n),We.asteriskToken=o,We.name=Xe(s),We.questionToken=u,We.exclamationToken=void 0,We.typeParameters=Oe(g),We.parameters=Y(I),We.type=W,We.body=de,!We.body)We.transformFlags=1;else{let Er=ln(We.modifiers)&512,$n=!!We.asteriskToken,yi=Er&&$n;We.transformFlags=De(We.modifiers)|V(We.asteriskToken)|In(We.name)|V(We.questionToken)|De(We.typeParameters)|De(We.parameters)|V(We.type)|V(We.body)&-67108865|(yi?128:Er?256:$n?2048:0)|(We.questionToken||We.typeParameters||We.type?1:0)|1024}return We.typeArguments=void 0,We.jsDoc=void 0,We.locals=void 0,We.nextContainer=void 0,We.flowNode=void 0,We.endFlowNode=void 0,We.returnFlowNode=void 0,We}function z(n,o,s,u,g,I,W,de,We){return n.modifiers!==o||n.asteriskToken!==s||n.name!==u||n.questionToken!==g||n.typeParameters!==I||n.parameters!==W||n.type!==de||n.body!==We?X(nt(o,s,u,g,I,W,de,We),n):n}function X(n,o){return n!==o&&(n.exclamationToken=o.exclamationToken),r(n,o)}function ee(n){let o=ae(175);return o.body=n,o.transformFlags=V(n)|16777216,o.modifiers=void 0,o.jsDoc=void 0,o.locals=void 0,o.nextContainer=void 0,o.endFlowNode=void 0,o.returnFlowNode=void 0,o}function xe(n,o){return n.body!==o?ke(ee(o),n):n}function ke(n,o){return n!==o&&(n.modifiers=o.modifiers),r(n,o)}function Le(n,o,s){let u=ae(176);return u.modifiers=Oe(n),u.parameters=Y(o),u.body=s,u.transformFlags=De(u.modifiers)|De(u.parameters)|V(u.body)&-67108865|1024,u.typeParameters=void 0,u.type=void 0,u.typeArguments=void 0,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.endFlowNode=void 0,u.returnFlowNode=void 0,u}function lt(n,o,s,u){return n.modifiers!==o||n.parameters!==s||n.body!==u?yt(Le(o,s,u),n):n}function yt(n,o){return n!==o&&(n.typeParameters=o.typeParameters,n.type=o.type),Ce(n,o)}function jt(n,o,s,u,g){let I=ae(177);return I.modifiers=Oe(n),I.name=Xe(o),I.parameters=Y(s),I.type=u,I.body=g,I.body?I.transformFlags=De(I.modifiers)|In(I.name)|De(I.parameters)|V(I.type)|V(I.body)&-67108865|(I.type?1:0):I.transformFlags=1,I.typeArguments=void 0,I.typeParameters=void 0,I.jsDoc=void 0,I.locals=void 0,I.nextContainer=void 0,I.flowNode=void 0,I.endFlowNode=void 0,I.returnFlowNode=void 0,I}function qr(n,o,s,u,g,I){return n.modifiers!==o||n.name!==s||n.parameters!==u||n.type!==g||n.body!==I?na(jt(o,s,u,g,I),n):n}function na(n,o){return n!==o&&(n.typeParameters=o.typeParameters),Ce(n,o)}function Cn(n,o,s,u){let g=ae(178);return g.modifiers=Oe(n),g.name=Xe(o),g.parameters=Y(s),g.body=u,g.body?g.transformFlags=De(g.modifiers)|In(g.name)|De(g.parameters)|V(g.body)&-67108865|(g.type?1:0):g.transformFlags=1,g.typeArguments=void 0,g.typeParameters=void 0,g.type=void 0,g.jsDoc=void 0,g.locals=void 0,g.nextContainer=void 0,g.flowNode=void 0,g.endFlowNode=void 0,g.returnFlowNode=void 0,g}function zn(n,o,s,u,g){return n.modifiers!==o||n.name!==s||n.parameters!==u||n.body!==g?Pi(Cn(o,s,u,g),n):n}function Pi(n,o){return n!==o&&(n.typeParameters=o.typeParameters,n.type=o.type),Ce(n,o)}function ia(n,o,s){let u=ae(179);return u.typeParameters=Oe(n),u.parameters=Oe(o),u.type=s,u.transformFlags=1,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.typeArguments=void 0,u}function Wn(n,o,s,u){return n.typeParameters!==o||n.parameters!==s||n.type!==u?Ce(ia(o,s,u),n):n}function En(n,o,s){let u=ae(180);return u.typeParameters=Oe(n),u.parameters=Oe(o),u.type=s,u.transformFlags=1,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.typeArguments=void 0,u}function Ii(n,o,s,u){return n.typeParameters!==o||n.parameters!==s||n.type!==u?Ce(En(o,s,u),n):n}function aa(n,o,s){let u=ae(181);return u.modifiers=Oe(n),u.parameters=Oe(o),u.type=s,u.transformFlags=1,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.typeArguments=void 0,u}function Vn(n,o,s,u){return n.parameters!==s||n.type!==u||n.modifiers!==o?Ce(aa(o,s,u),n):n}function Sr(n,o){let s=B(204);return s.type=n,s.literal=o,s.transformFlags=1,s}function Je(n,o,s){return n.type!==o||n.literal!==s?r(Sr(o,s),n):n}function oa(n){return vt(n)}function Mt(n,o,s){let u=B(182);return u.assertsModifier=n,u.parameterName=Xe(o),u.type=s,u.transformFlags=1,u}function Lr(n,o,s,u){return n.assertsModifier!==o||n.parameterName!==s||n.type!==u?r(Mt(o,s,u),n):n}function j(n,o){let s=B(183);return s.typeName=Xe(n),s.typeArguments=o&&a().parenthesizeTypeArguments(Y(o)),s.transformFlags=1,s}function T(n,o,s){return n.typeName!==o||n.typeArguments!==s?r(j(o,s),n):n}function x(n,o,s){let u=ae(184);return u.typeParameters=Oe(n),u.parameters=Oe(o),u.type=s,u.transformFlags=1,u.modifiers=void 0,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.typeArguments=void 0,u}function f(n,o,s,u){return n.typeParameters!==o||n.parameters!==s||n.type!==u?$(x(o,s,u),n):n}function $(n,o){return n!==o&&(n.modifiers=o.modifiers),Ce(n,o)}function Q(...n){return n.length===4?O(...n):n.length===3?fe(...n):N.fail("Incorrect number of arguments specified.")}function O(n,o,s,u){let g=ae(185);return g.modifiers=Oe(n),g.typeParameters=Oe(o),g.parameters=Oe(s),g.type=u,g.transformFlags=1,g.jsDoc=void 0,g.locals=void 0,g.nextContainer=void 0,g.typeArguments=void 0,g}function fe(n,o,s){return O(void 0,n,o,s)}function be(...n){return n.length===5?he(...n):n.length===4?Re(...n):N.fail("Incorrect number of arguments specified.")}function he(n,o,s,u,g){return n.modifiers!==o||n.typeParameters!==s||n.parameters!==u||n.type!==g?Ce(Q(o,s,u,g),n):n}function Re(n,o,s,u){return he(n,n.modifiers,o,s,u)}function we(n,o){let s=B(186);return s.exprName=n,s.typeArguments=o&&a().parenthesizeTypeArguments(o),s.transformFlags=1,s}function et(n,o,s){return n.exprName!==o||n.typeArguments!==s?r(we(o,s),n):n}function Ye(n){let o=ae(187);return o.members=Y(n),o.transformFlags=1,o}function Ke(n,o){return n.members!==o?r(Ye(o),n):n}function It(n){let o=B(188);return o.elementType=a().parenthesizeNonArrayTypeOfPostfixType(n),o.transformFlags=1,o}function qt(n,o){return n.elementType!==o?r(It(o),n):n}function _r(n){let o=B(189);return o.elements=Y(a().parenthesizeElementTypesOfTupleType(n)),o.transformFlags=1,o}function Te(n,o){return n.elements!==o?r(_r(o),n):n}function ft(n,o,s,u){let g=ae(202);return g.dotDotDotToken=n,g.name=o,g.questionToken=s,g.type=u,g.transformFlags=1,g.jsDoc=void 0,g}function An(n,o,s,u,g){return n.dotDotDotToken!==o||n.name!==s||n.questionToken!==u||n.type!==g?r(ft(o,s,u,g),n):n}function Et(n){let o=B(190);return o.type=a().parenthesizeTypeOfOptionalType(n),o.transformFlags=1,o}function H(n,o){return n.type!==o?r(Et(o),n):n}function Fa(n){let o=B(191);return o.type=n,o.transformFlags=1,o}function Ie(n,o){return n.type!==o?r(Fa(o),n):n}function ot(n,o,s){let u=B(n);return u.types=ue.createNodeArray(s(o)),u.transformFlags=1,u}function cr(n,o,s){return n.types!==o?r(ot(n.kind,o,s),n):n}function an(n){return ot(192,n,a().parenthesizeConstituentTypesOfUnionType)}function Ba(n,o){return cr(n,o,a().parenthesizeConstituentTypesOfUnionType)}function kn(n){return ot(193,n,a().parenthesizeConstituentTypesOfIntersectionType)}function je(n,o){return cr(n,o,a().parenthesizeConstituentTypesOfIntersectionType)}function dt(n,o,s,u){let g=B(194);return g.checkType=a().parenthesizeCheckTypeOfConditionalType(n),g.extendsType=a().parenthesizeExtendsTypeOfConditionalType(o),g.trueType=s,g.falseType=u,g.transformFlags=1,g.locals=void 0,g.nextContainer=void 0,g}function li(n,o,s,u,g){return n.checkType!==o||n.extendsType!==s||n.trueType!==u||n.falseType!==g?r(dt(o,s,u,g),n):n}function Hn(n){let o=B(195);return o.typeParameter=n,o.transformFlags=1,o}function t1(n,o){return n.typeParameter!==o?r(Hn(o),n):n}function dr(n,o){let s=B(203);return s.head=n,s.templateSpans=Y(o),s.transformFlags=1,s}function r1(n,o,s){return n.head!==o||n.templateSpans!==s?r(dr(o,s),n):n}function ui(n,o,s,u,g=!1){let I=B(205);return I.argument=n,I.assertions=o,I.qualifier=s,I.typeArguments=u&&a().parenthesizeTypeArguments(u),I.isTypeOf=g,I.transformFlags=1,I}function fs(n,o,s,u,g,I=n.isTypeOf){return n.argument!==o||n.assertions!==s||n.qualifier!==u||n.typeArguments!==g||n.isTypeOf!==I?r(ui(o,s,u,g,I),n):n}function xr(n){let o=B(196);return o.type=n,o.transformFlags=1,o}function Ft(n,o){return n.type!==o?r(xr(o),n):n}function M(){let n=B(197);return n.transformFlags=1,n}function Jr(n,o){let s=B(198);return s.operator=n,s.type=n===148?a().parenthesizeOperandOfReadonlyTypeOperator(o):a().parenthesizeOperandOfTypeOperator(o),s.transformFlags=1,s}function sa(n,o){return n.type!==o?r(Jr(n.operator,o),n):n}function Ni(n,o){let s=B(199);return s.objectType=a().parenthesizeNonArrayTypeOfPostfixType(n),s.indexType=o,s.transformFlags=1,s}function G_(n,o,s){return n.objectType!==o||n.indexType!==s?r(Ni(o,s),n):n}function Lt(n,o,s,u,g,I){let W=ae(200);return W.readonlyToken=n,W.typeParameter=o,W.nameType=s,W.questionToken=u,W.type=g,W.members=I&&Y(I),W.transformFlags=1,W.locals=void 0,W.nextContainer=void 0,W}function Yt(n,o,s,u,g,I,W){return n.readonlyToken!==o||n.typeParameter!==s||n.nameType!==u||n.questionToken!==g||n.type!==I||n.members!==W?r(Lt(o,s,u,g,I,W),n):n}function Oi(n){let o=B(201);return o.literal=n,o.transformFlags=1,o}function n1(n,o){return n.literal!==o?r(Oi(o),n):n}function Tu(n){let o=B(206);return o.elements=Y(n),o.transformFlags|=De(o.elements)|1024|524288,o.transformFlags&32768&&(o.transformFlags|=65664),o}function Ua(n,o){return n.elements!==o?r(Tu(o),n):n}function Su(n){let o=B(207);return o.elements=Y(n),o.transformFlags|=De(o.elements)|1024|524288,o}function X_(n,o){return n.elements!==o?r(Su(o),n):n}function _a(n,o,s,u){let g=ae(208);return g.dotDotDotToken=n,g.propertyName=Xe(o),g.name=Xe(s),g.initializer=To(u),g.transformFlags|=V(g.dotDotDotToken)|In(g.propertyName)|In(g.name)|V(g.initializer)|(g.dotDotDotToken?32768:0)|1024,g.flowNode=void 0,g}function xu(n,o,s,u,g){return n.propertyName!==s||n.dotDotDotToken!==o||n.name!==u||n.initializer!==g?r(_a(o,s,u,g),n):n}function $_(n,o){let s=B(209),u=n&&wi(n),g=Y(n,u&&Im(u)?!0:void 0);return s.elements=a().parenthesizeExpressionsOfCommaDelimitedList(g),s.multiLine=o,s.transformFlags|=De(s.elements),s}function wu(n,o){return n.elements!==o?r($_(o,n.multiLine),n):n}function ds(n,o){let s=ae(210);return s.properties=Y(n),s.multiLine=o,s.transformFlags|=De(s.properties),s.jsDoc=void 0,s}function i1(n,o){return n.properties!==o?r(ds(o,n.multiLine),n):n}function ms(n,o,s){let u=ae(211);return u.expression=n,u.questionDotToken=o,u.name=s,u.transformFlags=V(u.expression)|V(u.questionDotToken)|(Ee(u.name)?e_(u.name):V(u.name)|536870912),u.jsDoc=void 0,u.flowNode=void 0,u}function Mi(n,o){let s=ms(a().parenthesizeLeftSideOfAccess(n,!1),void 0,Xe(o));return qf(n)&&(s.transformFlags|=384),s}function Q_(n,o,s){return Q4(n)?ys(n,o,n.questionDotToken,gi(s,Ee)):n.expression!==o||n.name!==s?r(Mi(o,s),n):n}function hs(n,o,s){let u=ms(a().parenthesizeLeftSideOfAccess(n,!0),o,Xe(s));return u.flags|=64,u.transformFlags|=32,u}function ys(n,o,s,u){return N.assert(!!(n.flags&64),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),n.expression!==o||n.questionDotToken!==s||n.name!==u?r(hs(o,s,u),n):n}function Cu(n,o,s){let u=ae(212);return u.expression=n,u.questionDotToken=o,u.argumentExpression=s,u.transformFlags|=V(u.expression)|V(u.questionDotToken)|V(u.argumentExpression),u.jsDoc=void 0,u.flowNode=void 0,u}function Y_(n,o){let s=Cu(a().parenthesizeLeftSideOfAccess(n,!1),void 0,Cr(o));return qf(n)&&(s.transformFlags|=384),s}function Eu(n,o,s){return Y4(n)?ku(n,o,n.questionDotToken,s):n.expression!==o||n.argumentExpression!==s?r(Y_(o,s),n):n}function Au(n,o,s){let u=Cu(a().parenthesizeLeftSideOfAccess(n,!0),o,Cr(s));return u.flags|=64,u.transformFlags|=32,u}function ku(n,o,s,u){return N.assert(!!(n.flags&64),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),n.expression!==o||n.questionDotToken!==s||n.argumentExpression!==u?r(Au(o,s,u),n):n}function po(n,o,s,u){let g=ae(213);return g.expression=n,g.questionDotToken=o,g.typeArguments=s,g.arguments=u,g.transformFlags|=V(g.expression)|V(g.questionDotToken)|De(g.typeArguments)|De(g.arguments),g.typeArguments&&(g.transformFlags|=1),gd(g.expression)&&(g.transformFlags|=16384),g}function fo(n,o,s){let u=po(a().parenthesizeLeftSideOfAccess(n,!1),void 0,Oe(o),a().parenthesizeExpressionsOfCommaDelimitedList(Y(s)));return zx(u.expression)&&(u.transformFlags|=8388608),u}function a1(n,o,s,u){return y0(n)?gs(n,o,n.questionDotToken,s,u):n.expression!==o||n.typeArguments!==s||n.arguments!==u?r(fo(o,s,u),n):n}function zr(n,o,s,u){let g=po(a().parenthesizeLeftSideOfAccess(n,!0),o,Oe(s),a().parenthesizeExpressionsOfCommaDelimitedList(Y(u)));return g.flags|=64,g.transformFlags|=32,g}function gs(n,o,s,u,g){return N.assert(!!(n.flags&64),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),n.expression!==o||n.questionDotToken!==s||n.typeArguments!==u||n.arguments!==g?r(zr(o,s,u,g),n):n}function bs(n,o,s){let u=ae(214);return u.expression=a().parenthesizeExpressionOfNew(n),u.typeArguments=Oe(o),u.arguments=s?a().parenthesizeExpressionsOfCommaDelimitedList(s):void 0,u.transformFlags|=V(u.expression)|De(u.typeArguments)|De(u.arguments)|32,u.typeArguments&&(u.transformFlags|=1),u}function Du(n,o,s,u){return n.expression!==o||n.typeArguments!==s||n.arguments!==u?r(bs(o,s,u),n):n}function Pu(n,o,s){let u=B(215);return u.tag=a().parenthesizeLeftSideOfAccess(n,!1),u.typeArguments=Oe(o),u.template=s,u.transformFlags|=V(u.tag)|De(u.typeArguments)|V(u.template)|1024,u.typeArguments&&(u.transformFlags|=1),BT(u.template)&&(u.transformFlags|=128),u}function o1(n,o,s,u){return n.tag!==o||n.typeArguments!==s||n.template!==u?r(Pu(o,s,u),n):n}function Iu(n,o){let s=B(216);return s.expression=a().parenthesizeOperandOfPrefixUnary(o),s.type=n,s.transformFlags|=V(s.expression)|V(s.type)|1,s}function Nu(n,o,s){return n.type!==o||n.expression!==s?r(Iu(o,s),n):n}function K_(n){let o=B(217);return o.expression=n,o.transformFlags=V(o.expression),o.jsDoc=void 0,o}function Ou(n,o){return n.expression!==o?r(K_(o),n):n}function Z_(n,o,s,u,g,I,W){let de=ae(218);de.modifiers=Oe(n),de.asteriskToken=o,de.name=Xe(s),de.typeParameters=Oe(u),de.parameters=Y(g),de.type=I,de.body=W;let We=ln(de.modifiers)&512,Er=!!de.asteriskToken,$n=We&&Er;return de.transformFlags=De(de.modifiers)|V(de.asteriskToken)|In(de.name)|De(de.typeParameters)|De(de.parameters)|V(de.type)|V(de.body)&-67108865|($n?128:We?256:Er?2048:0)|(de.typeParameters||de.type?1:0)|4194304,de.typeArguments=void 0,de.jsDoc=void 0,de.locals=void 0,de.nextContainer=void 0,de.flowNode=void 0,de.endFlowNode=void 0,de.returnFlowNode=void 0,de}function Mu(n,o,s,u,g,I,W,de){return n.name!==u||n.modifiers!==o||n.asteriskToken!==s||n.typeParameters!==g||n.parameters!==I||n.type!==W||n.body!==de?Ce(Z_(o,s,u,g,I,W,de),n):n}function ec(n,o,s,u,g,I){let W=ae(219);W.modifiers=Oe(n),W.typeParameters=Oe(o),W.parameters=Y(s),W.type=u,W.equalsGreaterThanToken=g??vt(39),W.body=a().parenthesizeConciseBodyOfArrowFunction(I);let de=ln(W.modifiers)&512;return W.transformFlags=De(W.modifiers)|De(W.typeParameters)|De(W.parameters)|V(W.type)|V(W.equalsGreaterThanToken)|V(W.body)&-67108865|(W.typeParameters||W.type?1:0)|(de?16640:0)|1024,W.typeArguments=void 0,W.jsDoc=void 0,W.locals=void 0,W.nextContainer=void 0,W.flowNode=void 0,W.endFlowNode=void 0,W.returnFlowNode=void 0,W}function tc(n,o,s,u,g,I,W){return n.modifiers!==o||n.typeParameters!==s||n.parameters!==u||n.type!==g||n.equalsGreaterThanToken!==I||n.body!==W?Ce(ec(o,s,u,g,I,W),n):n}function Lu(n){let o=B(220);return o.expression=a().parenthesizeOperandOfPrefixUnary(n),o.transformFlags|=V(o.expression),o}function Wr(n,o){return n.expression!==o?r(Lu(o),n):n}function vs(n){let o=B(221);return o.expression=a().parenthesizeOperandOfPrefixUnary(n),o.transformFlags|=V(o.expression),o}function pi(n,o){return n.expression!==o?r(vs(o),n):n}function rc(n){let o=B(222);return o.expression=a().parenthesizeOperandOfPrefixUnary(n),o.transformFlags|=V(o.expression),o}function ca(n,o){return n.expression!==o?r(rc(o),n):n}function la(n){let o=B(223);return o.expression=a().parenthesizeOperandOfPrefixUnary(n),o.transformFlags|=V(o.expression)|256|128|2097152,o}function s1(n,o){return n.expression!==o?r(la(o),n):n}function qa(n,o){let s=B(224);return s.operator=n,s.operand=a().parenthesizeOperandOfPrefixUnary(o),s.transformFlags|=V(s.operand),(n===46||n===47)&&Ee(s.operand)&&!wa(s.operand)&&!Y0(s.operand)&&(s.transformFlags|=268435456),s}function _1(n,o){return n.operand!==o?r(qa(n.operator,o),n):n}function Ts(n,o){let s=B(225);return s.operator=o,s.operand=a().parenthesizeOperandOfPostfixUnary(n),s.transformFlags|=V(s.operand),Ee(s.operand)&&!wa(s.operand)&&!Y0(s.operand)&&(s.transformFlags|=268435456),s}function c1(n,o){return n.operand!==o?r(Ts(o,n.operator),n):n}function nc(n,o,s){let u=ae(226),g=lr(o),I=g.kind;return u.left=a().parenthesizeLeftSideOfBinary(I,n),u.operatorToken=g,u.right=a().parenthesizeRightSideOfBinary(I,u.left,s),u.transformFlags|=V(u.left)|V(u.operatorToken)|V(u.right),I===61?u.transformFlags|=32:I===64?uo(u.left)?u.transformFlags|=5248|Ju(u.left):iu(u.left)&&(u.transformFlags|=5120|Ju(u.left)):I===43||I===68?u.transformFlags|=512:Tm(I)&&(u.transformFlags|=16),I===103&&jr(u.left)&&(u.transformFlags|=536870912),u.jsDoc=void 0,u}function Ju(n){return U6(n)?65536:0}function Ru(n,o,s,u){return n.left!==o||n.operatorToken!==s||n.right!==u?r(nc(o,s,u),n):n}function ju(n,o,s,u,g){let I=B(227);return I.condition=a().parenthesizeConditionOfConditionalExpression(n),I.questionToken=o??vt(58),I.whenTrue=a().parenthesizeBranchOfConditionalExpression(s),I.colonToken=u??vt(59),I.whenFalse=a().parenthesizeBranchOfConditionalExpression(g),I.transformFlags|=V(I.condition)|V(I.questionToken)|V(I.whenTrue)|V(I.colonToken)|V(I.whenFalse),I}function fi(n,o,s,u,g,I){return n.condition!==o||n.questionToken!==s||n.whenTrue!==u||n.colonToken!==g||n.whenFalse!==I?r(ju(o,s,u,g,I),n):n}function ic(n,o){let s=B(228);return s.head=n,s.templateSpans=Y(o),s.transformFlags|=V(s.head)|De(s.templateSpans)|1024,s}function l1(n,o,s){return n.head!==o||n.templateSpans!==s?r(ic(o,s),n):n}function Ss(n,o,s,u=0){N.assert(!(u&-7177),"Unsupported template flags.");let g;if(s!==void 0&&s!==o&&(g=DL(n,s),typeof g=="object"))return N.fail("Invalid raw text");if(o===void 0){if(g===void 0)return N.fail("Arguments 'text' and 'rawText' may not both be undefined.");o=g}else g!==void 0&&N.assert(o===g,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return o}function za(n){let o=1024;return n&&(o|=128),o}function Fu(n,o,s,u){let g=Tr(n);return g.text=o,g.rawText=s,g.templateFlags=u&7176,g.transformFlags=za(g.templateFlags),g}function ac(n,o,s,u){let g=ae(n);return g.text=o,g.rawText=s,g.templateFlags=u&7176,g.transformFlags=za(g.templateFlags),g}function Li(n,o,s,u){return n===15?ac(n,o,s,u):Fu(n,o,s,u)}function oc(n,o,s){return n=Ss(16,n,o,s),Li(16,n,o,s)}function u1(n,o,s){return n=Ss(16,n,o,s),Li(17,n,o,s)}function Bu(n,o,s){return n=Ss(16,n,o,s),Li(18,n,o,s)}function p1(n,o,s){return n=Ss(16,n,o,s),ac(15,n,o,s)}function Uu(n,o){N.assert(!n||!!o,"A `YieldExpression` with an asteriskToken must have an expression.");let s=B(229);return s.expression=o&&a().parenthesizeExpressionForDisallowedComma(o),s.asteriskToken=n,s.transformFlags|=V(s.expression)|V(s.asteriskToken)|1024|128|1048576,s}function f1(n,o,s){return n.expression!==s||n.asteriskToken!==o?r(Uu(o,s),n):n}function qu(n){let o=B(230);return o.expression=a().parenthesizeExpressionForDisallowedComma(n),o.transformFlags|=V(o.expression)|1024|32768,o}function d1(n,o){return n.expression!==o?r(qu(o),n):n}function xs(n,o,s,u,g){let I=ae(231);return I.modifiers=Oe(n),I.name=Xe(o),I.typeParameters=Oe(s),I.heritageClauses=Oe(u),I.members=Y(g),I.transformFlags|=De(I.modifiers)|In(I.name)|De(I.typeParameters)|De(I.heritageClauses)|De(I.members)|(I.typeParameters?1:0)|1024,I.jsDoc=void 0,I}function sc(n,o,s,u,g,I){return n.modifiers!==o||n.name!==s||n.typeParameters!==u||n.heritageClauses!==g||n.members!==I?r(xs(o,s,u,g,I),n):n}function m1(){return B(232)}function Vr(n,o){let s=B(233);return s.expression=a().parenthesizeLeftSideOfAccess(n,!1),s.typeArguments=o&&a().parenthesizeTypeArguments(o),s.transformFlags|=V(s.expression)|De(s.typeArguments)|1024,s}function _c(n,o,s){return n.expression!==o||n.typeArguments!==s?r(Vr(o,s),n):n}function zu(n,o){let s=B(234);return s.expression=n,s.type=o,s.transformFlags|=V(s.expression)|V(s.type)|1,s}function Wu(n,o,s){return n.expression!==o||n.type!==s?r(zu(o,s),n):n}function cc(n){let o=B(235);return o.expression=a().parenthesizeLeftSideOfAccess(n,!1),o.transformFlags|=V(o.expression)|1,o}function Vu(n,o){return Z4(n)?ws(n,o):n.expression!==o?r(cc(o),n):n}function lc(n,o){let s=B(238);return s.expression=n,s.type=o,s.transformFlags|=V(s.expression)|V(s.type)|1,s}function Dn(n,o,s){return n.expression!==o||n.type!==s?r(lc(o,s),n):n}function Hu(n){let o=B(235);return o.flags|=64,o.expression=a().parenthesizeLeftSideOfAccess(n,!0),o.transformFlags|=V(o.expression)|1,o}function ws(n,o){return N.assert(!!(n.flags&64),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),n.expression!==o?r(Hu(o),n):n}function Gn(n,o){let s=B(236);switch(s.keywordToken=n,s.name=o,s.transformFlags|=V(s.name),n){case 105:s.transformFlags|=1024;break;case 102:s.transformFlags|=32;break;default:return N.assertNever(n)}return s.flowNode=void 0,s}function Cs(n,o){return n.name!==o?r(Gn(n.keywordToken,o),n):n}function uc(n,o){let s=B(239);return s.expression=n,s.literal=o,s.transformFlags|=V(s.expression)|V(s.literal)|1024,s}function Gu(n,o,s){return n.expression!==o||n.literal!==s?r(uc(o,s),n):n}function h1(){let n=B(240);return n.transformFlags|=1024,n}function ua(n,o){let s=B(241);return s.statements=Y(n),s.multiLine=o,s.transformFlags|=De(s.statements),s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s}function y1(n,o){return n.statements!==o?r(ua(o,n.multiLine),n):n}function Xu(n,o){let s=B(243);return s.modifiers=Oe(n),s.declarationList=zt(o)?gc(o):o,s.transformFlags|=De(s.modifiers)|V(s.declarationList),ln(s.modifiers)&2&&(s.transformFlags=1),s.jsDoc=void 0,s.flowNode=void 0,s}function pc(n,o,s){return n.modifiers!==o||n.declarationList!==s?r(Xu(o,s),n):n}function fc(){let n=B(242);return n.jsDoc=void 0,n}function Es(n){let o=B(244);return o.expression=a().parenthesizeExpressionOfExpressionStatement(n),o.transformFlags|=V(o.expression),o.jsDoc=void 0,o.flowNode=void 0,o}function $u(n,o){return n.expression!==o?r(Es(o),n):n}function Qu(n,o,s){let u=B(245);return u.expression=n,u.thenStatement=on(o),u.elseStatement=on(s),u.transformFlags|=V(u.expression)|V(u.thenStatement)|V(u.elseStatement),u.jsDoc=void 0,u.flowNode=void 0,u}function Yu(n,o,s,u){return n.expression!==o||n.thenStatement!==s||n.elseStatement!==u?r(Qu(o,s,u),n):n}function Ku(n,o){let s=B(246);return s.statement=on(n),s.expression=o,s.transformFlags|=V(s.statement)|V(s.expression),s.jsDoc=void 0,s.flowNode=void 0,s}function g1(n,o,s){return n.statement!==o||n.expression!==s?r(Ku(o,s),n):n}function Zu(n,o){let s=B(247);return s.expression=n,s.statement=on(o),s.transformFlags|=V(s.expression)|V(s.statement),s.jsDoc=void 0,s.flowNode=void 0,s}function ep(n,o,s){return n.expression!==o||n.statement!==s?r(Zu(o,s),n):n}function dc(n,o,s,u){let g=B(248);return g.initializer=n,g.condition=o,g.incrementor=s,g.statement=on(u),g.transformFlags|=V(g.initializer)|V(g.condition)|V(g.incrementor)|V(g.statement),g.jsDoc=void 0,g.locals=void 0,g.nextContainer=void 0,g.flowNode=void 0,g}function b1(n,o,s,u,g){return n.initializer!==o||n.condition!==s||n.incrementor!==u||n.statement!==g?r(dc(o,s,u,g),n):n}function tp(n,o,s){let u=B(249);return u.initializer=n,u.expression=o,u.statement=on(s),u.transformFlags|=V(u.initializer)|V(u.expression)|V(u.statement),u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u.flowNode=void 0,u}function v1(n,o,s,u){return n.initializer!==o||n.expression!==s||n.statement!==u?r(tp(o,s,u),n):n}function rp(n,o,s,u){let g=B(250);return g.awaitModifier=n,g.initializer=o,g.expression=a().parenthesizeExpressionForDisallowedComma(s),g.statement=on(u),g.transformFlags|=V(g.awaitModifier)|V(g.initializer)|V(g.expression)|V(g.statement)|1024,n&&(g.transformFlags|=128),g.jsDoc=void 0,g.locals=void 0,g.nextContainer=void 0,g.flowNode=void 0,g}function T1(n,o,s,u,g){return n.awaitModifier!==o||n.initializer!==s||n.expression!==u||n.statement!==g?r(rp(o,s,u,g),n):n}function mc(n){let o=B(251);return o.label=Xe(n),o.transformFlags|=V(o.label)|4194304,o.jsDoc=void 0,o.flowNode=void 0,o}function np(n,o){return n.label!==o?r(mc(o),n):n}function hc(n){let o=B(252);return o.label=Xe(n),o.transformFlags|=V(o.label)|4194304,o.jsDoc=void 0,o.flowNode=void 0,o}function S1(n,o){return n.label!==o?r(hc(o),n):n}function ip(n){let o=B(253);return o.expression=n,o.transformFlags|=V(o.expression)|128|4194304,o.jsDoc=void 0,o.flowNode=void 0,o}function ap(n,o){return n.expression!==o?r(ip(o),n):n}function yc(n,o){let s=B(254);return s.expression=n,s.statement=on(o),s.transformFlags|=V(s.expression)|V(s.statement),s.jsDoc=void 0,s.flowNode=void 0,s}function op(n,o,s){return n.expression!==o||n.statement!==s?r(yc(o,s),n):n}function pa(n,o){let s=B(255);return s.expression=a().parenthesizeExpressionForDisallowedComma(n),s.caseBlock=o,s.transformFlags|=V(s.expression)|V(s.caseBlock),s.jsDoc=void 0,s.flowNode=void 0,s.possiblyExhaustive=!1,s}function x1(n,o,s){return n.expression!==o||n.caseBlock!==s?r(pa(o,s),n):n}function sp(n,o){let s=B(256);return s.label=Xe(n),s.statement=on(o),s.transformFlags|=V(s.label)|V(s.statement),s.jsDoc=void 0,s.flowNode=void 0,s}function _p(n,o,s){return n.label!==o||n.statement!==s?r(sp(o,s),n):n}function cp(n){let o=B(257);return o.expression=n,o.transformFlags|=V(o.expression),o.jsDoc=void 0,o.flowNode=void 0,o}function w1(n,o){return n.expression!==o?r(cp(o),n):n}function lp(n,o,s){let u=B(258);return u.tryBlock=n,u.catchClause=o,u.finallyBlock=s,u.transformFlags|=V(u.tryBlock)|V(u.catchClause)|V(u.finallyBlock),u.jsDoc=void 0,u.flowNode=void 0,u}function up(n,o,s,u){return n.tryBlock!==o||n.catchClause!==s||n.finallyBlock!==u?r(lp(o,s,u),n):n}function pp(){let n=B(259);return n.jsDoc=void 0,n.flowNode=void 0,n}function As(n,o,s,u){let g=ae(260);return g.name=Xe(n),g.exclamationToken=o,g.type=s,g.initializer=To(u),g.transformFlags|=In(g.name)|V(g.initializer)|(g.exclamationToken??g.type?1:0),g.jsDoc=void 0,g}function C1(n,o,s,u,g){return n.name!==o||n.type!==u||n.exclamationToken!==s||n.initializer!==g?r(As(o,s,u,g),n):n}function gc(n,o=0){let s=B(261);return s.flags|=o&7,s.declarations=Y(n),s.transformFlags|=De(s.declarations)|4194304,o&7&&(s.transformFlags|=263168),o&4&&(s.transformFlags|=4),s}function E1(n,o){return n.declarations!==o?r(gc(o,n.flags),n):n}function bc(n,o,s,u,g,I,W){let de=ae(262);if(de.modifiers=Oe(n),de.asteriskToken=o,de.name=Xe(s),de.typeParameters=Oe(u),de.parameters=Y(g),de.type=I,de.body=W,!de.body||ln(de.modifiers)&2)de.transformFlags=1;else{let We=ln(de.modifiers)&512,Er=!!de.asteriskToken,$n=We&&Er;de.transformFlags=De(de.modifiers)|V(de.asteriskToken)|In(de.name)|De(de.typeParameters)|De(de.parameters)|V(de.type)|V(de.body)&-67108865|($n?128:We?256:Er?2048:0)|(de.typeParameters||de.type?1:0)|4194304}return de.typeArguments=void 0,de.jsDoc=void 0,de.locals=void 0,de.nextContainer=void 0,de.endFlowNode=void 0,de.returnFlowNode=void 0,de}function fp(n,o,s,u,g,I,W,de){return n.modifiers!==o||n.asteriskToken!==s||n.name!==u||n.typeParameters!==g||n.parameters!==I||n.type!==W||n.body!==de?A1(bc(o,s,u,g,I,W,de),n):n}function A1(n,o){return n!==o&&n.modifiers===o.modifiers&&(n.modifiers=o.modifiers),Ce(n,o)}function vc(n,o,s,u,g){let I=ae(263);return I.modifiers=Oe(n),I.name=Xe(o),I.typeParameters=Oe(s),I.heritageClauses=Oe(u),I.members=Y(g),ln(I.modifiers)&2?I.transformFlags=1:(I.transformFlags|=De(I.modifiers)|In(I.name)|De(I.typeParameters)|De(I.heritageClauses)|De(I.members)|(I.typeParameters?1:0)|1024,I.transformFlags&8192&&(I.transformFlags|=1)),I.jsDoc=void 0,I}function Tc(n,o,s,u,g,I){return n.modifiers!==o||n.name!==s||n.typeParameters!==u||n.heritageClauses!==g||n.members!==I?r(vc(o,s,u,g,I),n):n}function dp(n,o,s,u,g){let I=ae(264);return I.modifiers=Oe(n),I.name=Xe(o),I.typeParameters=Oe(s),I.heritageClauses=Oe(u),I.members=Y(g),I.transformFlags=1,I.jsDoc=void 0,I}function gt(n,o,s,u,g,I){return n.modifiers!==o||n.name!==s||n.typeParameters!==u||n.heritageClauses!==g||n.members!==I?r(dp(o,s,u,g,I),n):n}function Ji(n,o,s,u){let g=ae(265);return g.modifiers=Oe(n),g.name=Xe(o),g.typeParameters=Oe(s),g.type=u,g.transformFlags=1,g.jsDoc=void 0,g.locals=void 0,g.nextContainer=void 0,g}function Sc(n,o,s,u,g){return n.modifiers!==o||n.name!==s||n.typeParameters!==u||n.type!==g?r(Ji(o,s,u,g),n):n}function Ri(n,o,s){let u=ae(266);return u.modifiers=Oe(n),u.name=Xe(o),u.members=Y(s),u.transformFlags|=De(u.modifiers)|V(u.name)|De(u.members)|1,u.transformFlags&=-67108865,u.jsDoc=void 0,u}function mp(n,o,s,u){return n.modifiers!==o||n.name!==s||n.members!==u?r(Ri(o,s,u),n):n}function Jt(n,o,s,u=0){let g=ae(267);return g.modifiers=Oe(n),g.flags|=u&2088,g.name=o,g.body=s,ln(g.modifiers)&2?g.transformFlags=1:g.transformFlags|=De(g.modifiers)|V(g.name)|V(g.body)|1,g.transformFlags&=-67108865,g.jsDoc=void 0,g.locals=void 0,g.nextContainer=void 0,g}function ji(n,o,s,u){return n.modifiers!==o||n.name!==s||n.body!==u?r(Jt(o,s,u,n.flags),n):n}function tr(n){let o=B(268);return o.statements=Y(n),o.transformFlags|=De(o.statements),o.jsDoc=void 0,o}function k1(n,o){return n.statements!==o?r(tr(o),n):n}function hp(n){let o=B(269);return o.clauses=Y(n),o.transformFlags|=De(o.clauses),o.locals=void 0,o.nextContainer=void 0,o}function D1(n,o){return n.clauses!==o?r(hp(o),n):n}function xc(n){let o=ae(270);return o.name=Xe(n),o.transformFlags|=e_(o.name)|1,o.modifiers=void 0,o.jsDoc=void 0,o}function P1(n,o){return n.name!==o?I1(xc(o),n):n}function I1(n,o){return n!==o&&(n.modifiers=o.modifiers),r(n,o)}function yp(n,o,s,u){let g=ae(271);return g.modifiers=Oe(n),g.name=Xe(s),g.isTypeOnly=o,g.moduleReference=u,g.transformFlags|=De(g.modifiers)|e_(g.name)|V(g.moduleReference),Om(g.moduleReference)||(g.transformFlags|=1),g.transformFlags&=-67108865,g.jsDoc=void 0,g}function gp(n,o,s,u,g){return n.modifiers!==o||n.isTypeOnly!==s||n.name!==u||n.moduleReference!==g?r(yp(o,s,u,g),n):n}function bp(n,o,s,u){let g=B(272);return g.modifiers=Oe(n),g.importClause=o,g.moduleSpecifier=s,g.assertClause=u,g.transformFlags|=V(g.importClause)|V(g.moduleSpecifier),g.transformFlags&=-67108865,g.jsDoc=void 0,g}function vp(n,o,s,u,g){return n.modifiers!==o||n.importClause!==s||n.moduleSpecifier!==u||n.assertClause!==g?r(bp(o,s,u,g),n):n}function wc(n,o,s){let u=ae(273);return u.isTypeOnly=n,u.name=o,u.namedBindings=s,u.transformFlags|=V(u.name)|V(u.namedBindings),n&&(u.transformFlags|=1),u.transformFlags&=-67108865,u}function Tp(n,o,s,u){return n.isTypeOnly!==o||n.name!==s||n.namedBindings!==u?r(wc(o,s,u),n):n}function Sp(n,o){let s=B(300);return s.elements=Y(n),s.multiLine=o,s.transformFlags|=4,s}function ks(n,o,s){return n.elements!==o||n.multiLine!==s?r(Sp(o,s),n):n}function Cc(n,o){let s=B(301);return s.name=n,s.value=o,s.transformFlags|=4,s}function xp(n,o,s){return n.name!==o||n.value!==s?r(Cc(o,s),n):n}function Ec(n,o){let s=B(302);return s.assertClause=n,s.multiLine=o,s}function N1(n,o,s){return n.assertClause!==o||n.multiLine!==s?r(Ec(o,s),n):n}function Ds(n){let o=ae(274);return o.name=n,o.transformFlags|=V(o.name),o.transformFlags&=-67108865,o}function O1(n,o){return n.name!==o?r(Ds(o),n):n}function Ac(n){let o=ae(280);return o.name=n,o.transformFlags|=V(o.name)|32,o.transformFlags&=-67108865,o}function M1(n,o){return n.name!==o?r(Ac(o),n):n}function wp(n){let o=B(275);return o.elements=Y(n),o.transformFlags|=De(o.elements),o.transformFlags&=-67108865,o}function L1(n,o){return n.elements!==o?r(wp(o),n):n}function Cp(n,o,s){let u=ae(276);return u.isTypeOnly=n,u.propertyName=o,u.name=s,u.transformFlags|=V(u.propertyName)|V(u.name),u.transformFlags&=-67108865,u}function J1(n,o,s,u){return n.isTypeOnly!==o||n.propertyName!==s||n.name!==u?r(Cp(o,s,u),n):n}function Ps(n,o,s){let u=ae(277);return u.modifiers=Oe(n),u.isExportEquals=o,u.expression=o?a().parenthesizeRightSideOfBinary(64,void 0,s):a().parenthesizeExpressionOfExportDefault(s),u.transformFlags|=De(u.modifiers)|V(u.expression),u.transformFlags&=-67108865,u.jsDoc=void 0,u}function Fi(n,o,s){return n.modifiers!==o||n.expression!==s?r(Ps(o,n.isExportEquals,s),n):n}function kc(n,o,s,u,g){let I=ae(278);return I.modifiers=Oe(n),I.isTypeOnly=o,I.exportClause=s,I.moduleSpecifier=u,I.assertClause=g,I.transformFlags|=De(I.modifiers)|V(I.exportClause)|V(I.moduleSpecifier),I.transformFlags&=-67108865,I.jsDoc=void 0,I}function Dc(n,o,s,u,g,I){return n.modifiers!==o||n.isTypeOnly!==s||n.exportClause!==u||n.moduleSpecifier!==g||n.assertClause!==I?Is(kc(o,s,u,g,I),n):n}function Is(n,o){return n!==o&&n.modifiers===o.modifiers&&(n.modifiers=o.modifiers),r(n,o)}function Ns(n){let o=B(279);return o.elements=Y(n),o.transformFlags|=De(o.elements),o.transformFlags&=-67108865,o}function R1(n,o){return n.elements!==o?r(Ns(o),n):n}function fa(n,o,s){let u=B(281);return u.isTypeOnly=n,u.propertyName=Xe(o),u.name=Xe(s),u.transformFlags|=V(u.propertyName)|V(u.name),u.transformFlags&=-67108865,u.jsDoc=void 0,u}function j1(n,o,s,u){return n.isTypeOnly!==o||n.propertyName!==s||n.name!==u?r(fa(o,s,u),n):n}function F1(){let n=ae(282);return n.jsDoc=void 0,n}function Pc(n){let o=B(283);return o.expression=n,o.transformFlags|=V(o.expression),o.transformFlags&=-67108865,o}function B1(n,o){return n.expression!==o?r(Pc(o),n):n}function U1(n){return B(n)}function Ic(n,o,s=!1){let u=Nc(n,s?o&&a().parenthesizeNonArrayTypeOfPostfixType(o):o);return u.postfix=s,u}function Nc(n,o){let s=B(n);return s.type=o,s}function Ep(n,o,s){return o.type!==s?r(Ic(n,s,o.postfix),o):o}function q1(n,o,s){return o.type!==s?r(Nc(n,s),o):o}function Ap(n,o){let s=ae(324);return s.parameters=Oe(n),s.type=o,s.transformFlags=De(s.parameters)|(s.type?1:0),s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s.typeArguments=void 0,s}function z1(n,o,s){return n.parameters!==o||n.type!==s?r(Ap(o,s),n):n}function kp(n,o=!1){let s=ae(329);return s.jsDocPropertyTags=Oe(n),s.isArrayType=o,s}function W1(n,o,s){return n.jsDocPropertyTags!==o||n.isArrayType!==s?r(kp(o,s),n):n}function Dp(n){let o=B(316);return o.type=n,o}function V1(n,o){return n.type!==o?r(Dp(o),n):n}function Pp(n,o,s){let u=ae(330);return u.typeParameters=Oe(n),u.parameters=Y(o),u.type=s,u.jsDoc=void 0,u.locals=void 0,u.nextContainer=void 0,u}function H1(n,o,s,u){return n.typeParameters!==o||n.parameters!==s||n.type!==u?r(Pp(o,s,u),n):n}function Hr(n){let o=kf(n.kind);return n.tagName.escapedText===Mn(o)?n.tagName:Ge(o)}function Bi(n,o,s){let u=B(n);return u.tagName=o,u.comment=s,u}function mo(n,o,s){let u=ae(n);return u.tagName=o,u.comment=s,u}function ho(n,o,s,u){let g=Bi(352,n??Ge("template"),u);return g.constraint=o,g.typeParameters=Y(s),g}function Os(n,o=Hr(n),s,u,g){return n.tagName!==o||n.constraint!==s||n.typeParameters!==u||n.comment!==g?r(ho(o,s,u,g),n):n}function Ms(n,o,s,u){let g=mo(353,n??Ge("typedef"),u);return g.typeExpression=o,g.fullName=s,g.name=K0(s),g.locals=void 0,g.nextContainer=void 0,g}function Ip(n,o=Hr(n),s,u,g){return n.tagName!==o||n.typeExpression!==s||n.fullName!==u||n.comment!==g?r(Ms(o,s,u,g),n):n}function Oc(n,o,s,u,g,I){let W=mo(348,n??Ge("param"),I);return W.typeExpression=u,W.name=o,W.isNameFirst=!!g,W.isBracketed=s,W}function Mc(n,o=Hr(n),s,u,g,I,W){return n.tagName!==o||n.name!==s||n.isBracketed!==u||n.typeExpression!==g||n.isNameFirst!==I||n.comment!==W?r(Oc(o,s,u,g,I,W),n):n}function Np(n,o,s,u,g,I){let W=mo(355,n??Ge("prop"),I);return W.typeExpression=u,W.name=o,W.isNameFirst=!!g,W.isBracketed=s,W}function Op(n,o=Hr(n),s,u,g,I,W){return n.tagName!==o||n.name!==s||n.isBracketed!==u||n.typeExpression!==g||n.isNameFirst!==I||n.comment!==W?r(Np(o,s,u,g,I,W),n):n}function Mp(n,o,s,u){let g=mo(345,n??Ge("callback"),u);return g.typeExpression=o,g.fullName=s,g.name=K0(s),g.locals=void 0,g.nextContainer=void 0,g}function G1(n,o=Hr(n),s,u,g){return n.tagName!==o||n.typeExpression!==s||n.fullName!==u||n.comment!==g?r(Mp(o,s,u,g),n):n}function Lc(n,o,s){let u=Bi(346,n??Ge("overload"),s);return u.typeExpression=o,u}function X1(n,o=Hr(n),s,u){return n.tagName!==o||n.typeExpression!==s||n.comment!==u?r(Lc(o,s,u),n):n}function Jc(n,o,s){let u=Bi(335,n??Ge("augments"),s);return u.class=o,u}function $1(n,o=Hr(n),s,u){return n.tagName!==o||n.class!==s||n.comment!==u?r(Jc(o,s,u),n):n}function Ls(n,o,s){let u=Bi(336,n??Ge("implements"),s);return u.class=o,u}function Rc(n,o,s){let u=Bi(354,n??Ge("see"),s);return u.name=o,u}function yo(n,o,s,u){return n.tagName!==o||n.name!==s||n.comment!==u?r(Rc(o,s,u),n):n}function Lp(n){let o=B(317);return o.name=n,o}function Wa(n,o){return n.name!==o?r(Lp(o),n):n}function go(n,o){let s=B(318);return s.left=n,s.right=o,s.transformFlags|=V(s.left)|V(s.right),s}function Q1(n,o,s){return n.left!==o||n.right!==s?r(go(o,s),n):n}function Jp(n,o){let s=B(331);return s.name=n,s.text=o,s}function Y1(n,o,s){return n.name!==o?r(Jp(o,s),n):n}function Rp(n,o){let s=B(332);return s.name=n,s.text=o,s}function K1(n,o,s){return n.name!==o?r(Rp(o,s),n):n}function jc(n,o){let s=B(333);return s.name=n,s.text=o,s}function Z1(n,o,s){return n.name!==o?r(jc(o,s),n):n}function eh(n,o=Hr(n),s,u){return n.tagName!==o||n.class!==s||n.comment!==u?r(Ls(o,s,u),n):n}function jp(n,o,s){return Bi(n,o??Ge(kf(n)),s)}function th(n,o,s=Hr(o),u){return o.tagName!==s||o.comment!==u?r(jp(n,s,u),o):o}function Fp(n,o,s,u){let g=Bi(n,o??Ge(kf(n)),u);return g.typeExpression=s,g}function rh(n,o,s=Hr(o),u,g){return o.tagName!==s||o.typeExpression!==u||o.comment!==g?r(Fp(n,s,u,g),o):o}function Bp(n,o){return Bi(334,n,o)}function nh(n,o,s){return n.tagName!==o||n.comment!==s?r(Bp(o,s),n):n}function Up(n,o,s){let u=mo(347,n??Ge(kf(347)),s);return u.typeExpression=o,u.locals=void 0,u.nextContainer=void 0,u}function ih(n,o=Hr(n),s,u){return n.tagName!==o||n.typeExpression!==s||n.comment!==u?r(Up(o,s,u),n):n}function qp(n){let o=B(328);return o.text=n,o}function ah(n,o){return n.text!==o?r(qp(o),n):n}function Js(n,o){let s=B(327);return s.comment=n,s.tags=Oe(o),s}function oh(n,o,s){return n.comment!==o||n.tags!==s?r(Js(o,s),n):n}function Fc(n,o,s){let u=B(284);return u.openingElement=n,u.children=Y(o),u.closingElement=s,u.transformFlags|=V(u.openingElement)|De(u.children)|V(u.closingElement)|2,u}function zp(n,o,s,u){return n.openingElement!==o||n.children!==s||n.closingElement!==u?r(Fc(o,s,u),n):n}function Wp(n,o,s){let u=B(285);return u.tagName=n,u.typeArguments=Oe(o),u.attributes=s,u.transformFlags|=V(u.tagName)|De(u.typeArguments)|V(u.attributes)|2,u.typeArguments&&(u.transformFlags|=1),u}function Rs(n,o,s,u){return n.tagName!==o||n.typeArguments!==s||n.attributes!==u?r(Wp(o,s,u),n):n}function Bc(n,o,s){let u=B(286);return u.tagName=n,u.typeArguments=Oe(o),u.attributes=s,u.transformFlags|=V(u.tagName)|De(u.typeArguments)|V(u.attributes)|2,o&&(u.transformFlags|=1),u}function sh(n,o,s,u){return n.tagName!==o||n.typeArguments!==s||n.attributes!==u?r(Bc(o,s,u),n):n}function Vp(n){let o=B(287);return o.tagName=n,o.transformFlags|=V(o.tagName)|2,o}function _h(n,o){return n.tagName!==o?r(Vp(o),n):n}function js(n,o,s){let u=B(288);return u.openingFragment=n,u.children=Y(o),u.closingFragment=s,u.transformFlags|=V(u.openingFragment)|De(u.children)|V(u.closingFragment)|2,u}function Hp(n,o,s,u){return n.openingFragment!==o||n.children!==s||n.closingFragment!==u?r(js(o,s,u),n):n}function Fs(n,o){let s=B(12);return s.text=n,s.containsOnlyTriviaWhiteSpaces=!!o,s.transformFlags|=2,s}function Gp(n,o,s){return n.text!==o||n.containsOnlyTriviaWhiteSpaces!==s?r(Fs(o,s),n):n}function Uc(){let n=B(289);return n.transformFlags|=2,n}function wr(){let n=B(290);return n.transformFlags|=2,n}function qc(n,o){let s=ae(291);return s.name=n,s.initializer=o,s.transformFlags|=V(s.name)|V(s.initializer)|2,s}function Xp(n,o,s){return n.name!==o||n.initializer!==s?r(qc(o,s),n):n}function $p(n){let o=ae(292);return o.properties=Y(n),o.transformFlags|=De(o.properties)|2,o}function Qp(n,o){return n.properties!==o?r($p(o),n):n}function Yp(n){let o=B(293);return o.expression=n,o.transformFlags|=V(o.expression)|2,o}function ch(n,o){return n.expression!==o?r(Yp(o),n):n}function bo(n,o){let s=B(294);return s.dotDotDotToken=n,s.expression=o,s.transformFlags|=V(s.dotDotDotToken)|V(s.expression)|2,s}function lh(n,o){return n.expression!==o?r(bo(n.dotDotDotToken,o),n):n}function Kp(n,o){let s=B(295);return s.namespace=n,s.name=o,s.transformFlags|=V(s.namespace)|V(s.name)|2,s}function uh(n,o,s){return n.namespace!==o||n.name!==s?r(Kp(o,s),n):n}function Zp(n,o){let s=B(296);return s.expression=a().parenthesizeExpressionForDisallowedComma(n),s.statements=Y(o),s.transformFlags|=V(s.expression)|De(s.statements),s.jsDoc=void 0,s}function zc(n,o,s){return n.expression!==o||n.statements!==s?r(Zp(o,s),n):n}function Va(n){let o=B(297);return o.statements=Y(n),o.transformFlags=De(o.statements),o}function ph(n,o){return n.statements!==o?r(Va(o),n):n}function Bs(n,o){let s=B(298);switch(s.token=n,s.types=Y(o),s.transformFlags|=De(s.types),n){case 96:s.transformFlags|=1024;break;case 119:s.transformFlags|=1;break;default:return N.assertNever(n)}return s}function ef(n,o){return n.types!==o?r(Bs(n.token,o),n):n}function tf(n,o){let s=B(299);return s.variableDeclaration=vf(n),s.block=o,s.transformFlags|=V(s.variableDeclaration)|V(s.block)|(n?0:64),s.locals=void 0,s.nextContainer=void 0,s}function vo(n,o,s){return n.variableDeclaration!==o||n.block!==s?r(tf(o,s),n):n}function Us(n,o){let s=ae(303);return s.name=Xe(n),s.initializer=a().parenthesizeExpressionForDisallowedComma(o),s.transformFlags|=In(s.name)|V(s.initializer),s.modifiers=void 0,s.questionToken=void 0,s.exclamationToken=void 0,s.jsDoc=void 0,s}function fh(n,o,s){return n.name!==o||n.initializer!==s?dh(Us(o,s),n):n}function dh(n,o){return n!==o&&(n.modifiers=o.modifiers,n.questionToken=o.questionToken,n.exclamationToken=o.exclamationToken),r(n,o)}function Wc(n,o){let s=ae(304);return s.name=Xe(n),s.objectAssignmentInitializer=o&&a().parenthesizeExpressionForDisallowedComma(o),s.transformFlags|=e_(s.name)|V(s.objectAssignmentInitializer)|1024,s.equalsToken=void 0,s.modifiers=void 0,s.questionToken=void 0,s.exclamationToken=void 0,s.jsDoc=void 0,s}function rf(n,o,s){return n.name!==o||n.objectAssignmentInitializer!==s?nf(Wc(o,s),n):n}function nf(n,o){return n!==o&&(n.modifiers=o.modifiers,n.questionToken=o.questionToken,n.exclamationToken=o.exclamationToken,n.equalsToken=o.equalsToken),r(n,o)}function da(n){let o=ae(305);return o.expression=a().parenthesizeExpressionForDisallowedComma(n),o.transformFlags|=V(o.expression)|128|65536,o.jsDoc=void 0,o}function mh(n,o){return n.expression!==o?r(da(o),n):n}function af(n,o){let s=ae(306);return s.name=Xe(n),s.initializer=o&&a().parenthesizeExpressionForDisallowedComma(o),s.transformFlags|=V(s.name)|V(s.initializer)|1,s.jsDoc=void 0,s}function hh(n,o,s){return n.name!==o||n.initializer!==s?r(af(o,s),n):n}function yh(n,o,s){let u=t.createBaseSourceFileNode(312);return u.statements=Y(n),u.endOfFileToken=o,u.flags|=s,u.text="",u.fileName="",u.path="",u.resolvedPath="",u.originalFileName="",u.languageVersion=0,u.languageVariant=0,u.scriptKind=0,u.isDeclarationFile=!1,u.hasNoDefaultLib=!1,u.transformFlags|=De(u.statements)|V(u.endOfFileToken),u.locals=void 0,u.nextContainer=void 0,u.endFlowNode=void 0,u.nodeCount=0,u.identifierCount=0,u.symbolCount=0,u.parseDiagnostics=void 0,u.bindDiagnostics=void 0,u.bindSuggestionDiagnostics=void 0,u.lineMap=void 0,u.externalModuleIndicator=void 0,u.setExternalModuleIndicator=void 0,u.pragmas=void 0,u.checkJsDirective=void 0,u.referencedFiles=void 0,u.typeReferenceDirectives=void 0,u.libReferenceDirectives=void 0,u.amdDependencies=void 0,u.commentDirectives=void 0,u.identifiers=void 0,u.packageJsonLocations=void 0,u.packageJsonScope=void 0,u.imports=void 0,u.moduleAugmentations=void 0,u.ambientModuleNames=void 0,u.resolvedModules=void 0,u.classifiableNames=void 0,u.impliedNodeFormat=void 0,u}function Vc(n){let o=Object.create(n.redirectTarget);return Object.defineProperties(o,{id:{get(){return this.redirectInfo.redirectTarget.id},set(s){this.redirectInfo.redirectTarget.id=s}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(s){this.redirectInfo.redirectTarget.symbol=s}}}),o.redirectInfo=n,o}function of(n){let o=Vc(n.redirectInfo);return o.flags|=n.flags&-17,o.fileName=n.fileName,o.path=n.path,o.resolvedPath=n.resolvedPath,o.originalFileName=n.originalFileName,o.packageJsonLocations=n.packageJsonLocations,o.packageJsonScope=n.packageJsonScope,o.emitNode=void 0,o}function Xn(n){let o=t.createBaseSourceFileNode(312);o.flags|=n.flags&-17;for(let s in n)if(!(Qr(o,s)||!Qr(n,s))){if(s==="emitNode"){o.emitNode=void 0;continue}o[s]=n[s]}return o}function Hc(n){let o=n.redirectInfo?of(n):Xn(n);return Xr(o,n),o}function gh(n,o,s,u,g,I,W){let de=Hc(n);return de.statements=Y(o),de.isDeclarationFile=s,de.referencedFiles=u,de.typeReferenceDirectives=g,de.hasNoDefaultLib=I,de.libReferenceDirectives=W,de.transformFlags=De(de.statements)|V(de.endOfFileToken),de}function bh(n,o,s=n.isDeclarationFile,u=n.referencedFiles,g=n.typeReferenceDirectives,I=n.hasNoDefaultLib,W=n.libReferenceDirectives){return n.statements!==o||n.isDeclarationFile!==s||n.referencedFiles!==u||n.typeReferenceDirectives!==g||n.hasNoDefaultLib!==I||n.libReferenceDirectives!==W?r(gh(n,o,s,u,g,I,W),n):n}function sf(n,o=$e){let s=B(313);return s.prepends=o,s.sourceFiles=n,s.syntheticFileReferences=void 0,s.syntheticTypeReferences=void 0,s.syntheticLibReferences=void 0,s.hasNoDefaultLib=void 0,s}function _f(n,o,s=$e){return n.sourceFiles!==o||n.prepends!==s?r(sf(o,s),n):n}function Gc(n,o,s){let u=B(314);return u.prologues=n,u.syntheticReferences=o,u.texts=s,u.fileName="",u.text="",u.referencedFiles=$e,u.libReferenceDirectives=$e,u.getLineAndCharacterOfPosition=g=>to(u,g),u}function Xc(n,o){let s=B(n);return s.data=o,s}function vh(n){return Xc(307,n)}function cf(n,o){let s=Xc(308,n);return s.texts=o,s}function Th(n,o){return Xc(o?310:309,n)}function Sh(n){let o=B(311);return o.data=n.data,o.section=n,o}function qs(){let n=B(315);return n.javascriptText="",n.declarationText="",n}function lf(n,o=!1,s){let u=B(237);return u.type=n,u.isSpread=o,u.tupleNameSource=s,u}function xh(n){let o=B(358);return o._children=n,o}function wh(n){let o=B(359);return o.original=n,Ve(o,n),o}function uf(n,o){let s=B(360);return s.expression=n,s.original=o,s.transformFlags|=V(s.expression)|1,Ve(s,o),s}function pf(n,o){return n.expression!==o?r(uf(o,n.original),n):n}function Ch(n){if(Ta(n)&&!Tl(n)&&!n.original&&!n.emitNode&&!n.id){if(F_(n))return n.elements;if(Ct(n)&&Bx(n.operatorToken))return[n.left,n.right]}return n}function zs(n){let o=B(361);return o.elements=Y(Tv(n,Ch)),o.transformFlags|=De(o.elements),o}function ff(n,o){return n.elements!==o?r(zs(o),n):n}function $c(n,o){let s=B(362);return s.expression=n,s.thisArg=o,s.transformFlags|=V(s.expression)|V(s.thisArg),s}function Eh(n,o,s){return n.expression!==o||n.thisArg!==s?r($c(o,s),n):n}function Ah(n){let o=or(n.escapedText);return o.flags|=n.flags&-17,o.transformFlags=n.transformFlags,Xr(o,n),setIdentifierAutoGenerate(o,{...n.emitNode.autoGenerate}),o}function df(n){let o=or(n.escapedText);o.flags|=n.flags&-17,o.jsDoc=n.jsDoc,o.flowNode=n.flowNode,o.symbol=n.symbol,o.transformFlags=n.transformFlags,Xr(o,n);let s=getIdentifierTypeArguments(n);return s&&setIdentifierTypeArguments(o,s),o}function mf(n){let o=Sn(n.escapedText);return o.flags|=n.flags&-17,o.transformFlags=n.transformFlags,Xr(o,n),setIdentifierAutoGenerate(o,{...n.emitNode.autoGenerate}),o}function kh(n){let o=Sn(n.escapedText);return o.flags|=n.flags&-17,o.transformFlags=n.transformFlags,Xr(o,n),o}function Qc(n){if(n===void 0)return n;if(ii(n))return Hc(n);if(wa(n))return Ah(n);if(Ee(n))return df(n);if(Mg(n))return mf(n);if(jr(n))return kh(n);let o=ql(n.kind)?t.createBaseNode(n.kind):t.createBaseTokenNode(n.kind);o.flags|=n.flags&-17,o.transformFlags=n.transformFlags,Xr(o,n);for(let s in n)Qr(o,s)||!Qr(n,s)||(o[s]=n[s]);return o}function Dh(n,o,s){return fo(Z_(void 0,void 0,void 0,void 0,o?[o]:[],void 0,ua(n,!0)),void 0,s?[s]:[])}function Ph(n,o,s){return fo(ec(void 0,void 0,o?[o]:[],void 0,void 0,ua(n,!0)),void 0,s?[s]:[])}function ma(){return rc(Ze("0"))}function Ih(n){return Ps(void 0,!1,n)}function Nh(n){return kc(void 0,!1,Ns([fa(!1,void 0,n)]))}function Oh(n,o){return o==="null"?ue.createStrictEquality(n,fr()):o==="undefined"?ue.createStrictEquality(n,ma()):ue.createStrictEquality(vs(n),it(o))}function Mh(n,o){return o==="null"?ue.createStrictInequality(n,fr()):o==="undefined"?ue.createStrictInequality(n,ma()):ue.createStrictInequality(vs(n),it(o))}function ha(n,o,s){return y0(n)?zr(hs(n,void 0,o),void 0,void 0,s):fo(Mi(n,o),void 0,s)}function Lh(n,o,s){return ha(n,"bind",[o,...s])}function Ws(n,o,s){return ha(n,"call",[o,...s])}function Jh(n,o,s){return ha(n,"apply",[o,s])}function Ha(n,o,s){return ha(Ge(n),o,s)}function Rh(n,o){return ha(n,"slice",o===void 0?[]:[Cr(o)])}function jh(n,o){return ha(n,"concat",o)}function hf(n,o,s){return Ha("Object","defineProperty",[n,Cr(o),s])}function Fh(n,o){return Ha("Object","getOwnPropertyDescriptor",[n,Cr(o)])}function Bh(n,o,s){return Ha("Reflect","get",s?[n,o,s]:[n,o])}function Uh(n,o,s,u){return Ha("Reflect","set",u?[n,o,s,u]:[n,o,s])}function ya(n,o,s){return s?(n.push(Us(o,s)),!0):!1}function yf(n,o){let s=[];ya(s,"enumerable",Cr(n.enumerable)),ya(s,"configurable",Cr(n.configurable));let u=ya(s,"writable",Cr(n.writable));u=ya(s,"value",n.value)||u;let g=ya(s,"get",n.get);return g=ya(s,"set",n.set)||g,N.assert(!(u&&g),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),ds(s,!o)}function gf(n,o){switch(n.kind){case 217:return Ou(n,o);case 216:return Nu(n,n.type,o);case 234:return Wu(n,o,n.type);case 238:return Dn(n,o,n.type);case 235:return Vu(n,o);case 360:return pf(n,o)}}function c(n){return is(n)&&Ta(n)&&Ta(getSourceMapRange(n))&&Ta(getCommentRange(n))&&!mt(getSyntheticLeadingComments(n))&&!mt(getSyntheticTrailingComments(n))}function m(n,o,s=15){return n&&jm(n,s)&&!c(n)?gf(n,m(n.expression,o)):o}function b(n,o,s){if(!o)return n;let u=_p(o,o.label,l8(o.statement)?b(n,o.statement):n);return s&&s(o),u}function w(n,o){let s=Gl(n);switch(s.kind){case 80:return o;case 110:case 9:case 10:case 11:return!1;case 209:return s.elements.length!==0;case 210:return s.properties.length>0;default:return!0}}function A(n,o,s,u=!1){let g=ls(n,15),I,W;return gd(g)?(I=Ut(),W=g):qf(g)?(I=Ut(),W=s!==void 0&&s<2?Ve(Ge("_super"),g):g):ti(g)&8192?(I=ma(),W=a().parenthesizeLeftSideOfAccess(g,!1)):Br(g)?w(g.expression,u)?(I=Gt(o),W=Mi(Ve(ue.createAssignment(I,g.expression),g.expression),g.name),Ve(W,g)):(I=g.expression,W=g):Ra(g)?w(g.expression,u)?(I=Gt(o),W=Y_(Ve(ue.createAssignment(I,g.expression),g.expression),g.argumentExpression),Ve(W,g)):(I=g.expression,W=g):(I=ma(),W=a().parenthesizeLeftSideOfAccess(n,!1)),{target:W,thisArg:I}}function R(n,o){return Mi(K_(ds([Cn(void 0,"value",[Bn(void 0,void 0,n,void 0,void 0,void 0)],ua([Es(o)]))])),"value")}function te(n){return n.length>10?zs(n):Rd(n,ue.createComma)}function le(n,o,s,u=0,g){let I=g?n&&Kd(n):Bl(n);if(I&&Ee(I)&&!wa(I)){let W=Xi(Ve(Qc(I),I),I.parent);return u|=ti(I),s||(u|=96),o||(u|=3072),u&&setEmitFlags(W,u),W}return Tn(n)}function ne(n,o,s){return le(n,o,s,98304)}function ie(n,o,s,u){return le(n,o,s,32768,u)}function ve(n,o,s){return le(n,o,s,16384)}function He(n,o,s){return le(n,o,s)}function Be(n,o,s,u){let g=Mi(n,Ta(o)?o:Qc(o));Ve(g,o);let I=0;return u||(I|=96),s||(I|=3072),I&&setEmitFlags(g,I),g}function Ue(n,o,s,u){return n&&gr(o,1)?Be(n,le(o),s,u):ve(o,s,u)}function Rt(n,o,s,u){let g=mi(n,o,0,s);return hi(n,o,g,u)}function Gr(n){return mn(n.expression)&&n.expression.text==="use strict"}function di(){return Fm(Es(it("use strict")))}function mi(n,o,s=0,u){N.assert(o.length===0,"Prologue directives should be at the first statement in the target statements array");let g=!1,I=n.length;for(;s<I;){let W=n[s];if(Ea(W))Gr(W)&&(g=!0),o.push(W);else break;s++}return u&&!g&&o.push(di()),s}function hi(n,o,s,u,g=Pv){let I=n.length;for(;s!==void 0&&s<I;){let W=n[s];if(ti(W)&2097152&&g(W))xt(o,u?visitNode(W,u,v3):W);else break;s++}return s}function Ui(n){return D8(n)?n:Ve(Y([di(),...n]),n)}function ga(n){return N.assert(so(n,T3),"Cannot lift nodes to a Block."),Jd(n)||ua(n)}function ba(n,o,s){let u=s;for(;u<n.length&&o(n[u]);)u++;return u}function qh(n,o){if(!mt(o))return n;let s=ba(n,Ea,0),u=ba(n,w0,s),g=ba(n,C0,u),I=ba(o,Ea,0),W=ba(o,w0,I),de=ba(o,C0,W),We=ba(o,pm,de);N.assert(We===o.length,"Expected declarations to be valid standard or custom prologues");let Er=va(n)?n.slice():n;if(We>de&&Er.splice(g,0,...o.slice(de,We)),de>W&&Er.splice(u,0,...o.slice(W,de)),W>I&&Er.splice(s,0,...o.slice(I,W)),I>0)if(s===0)Er.splice(0,0,...o.slice(0,I));else{let $n=new Map;for(let yi=0;yi<s;yi++){let Vs=n[yi];$n.set(Vs.expression.text,!0)}for(let yi=I-1;yi>=0;yi--){let Vs=o[yi];$n.has(Vs.expression.text)||Er.unshift(Vs)}}return va(n)?Ve(Y(Er,n.hasTrailingComma),n):n}function bf(n,o){let s;return typeof o=="number"?s=Or(o):s=o,No(n)?tn(n,s,n.name,n.constraint,n.default):Ma(n)?Un(n,s,n.dotDotDotToken,n.name,n.questionToken,n.type,n.initializer):u6(n)?he(n,s,n.typeParameters,n.parameters,n.type):Zl(n)?qn(n,s,n.name,n.questionToken,n.type):oo(n)?oe(n,s,n.name,n.questionToken??n.exclamationToken,n.type,n.initializer):Wx(n)?Se(n,s,n.name,n.questionToken,n.typeParameters,n.parameters,n.type):d_(n)?z(n,s,n.asteriskToken,n.name,n.questionToken,n.typeParameters,n.parameters,n.type,n.body):J_(n)?lt(n,s,n.parameters,n.body):m_(n)?qr(n,s,n.name,n.parameters,n.type,n.body):Qo(n)?zn(n,s,n.name,n.parameters,n.body):l6(n)?Vn(n,s,n.parameters,n.type):km(n)?Mu(n,s,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):Dm(n)?tc(n,s,n.typeParameters,n.parameters,n.type,n.equalsGreaterThanToken,n.body):Il(n)?sc(n,s,n.name,n.typeParameters,n.heritageClauses,n.members):as(n)?pc(n,s,n.declarationList):os(n)?fp(n,s,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):Yo(n)?Tc(n,s,n.name,n.typeParameters,n.heritageClauses,n.members):su(n)?gt(n,s,n.name,n.typeParameters,n.heritageClauses,n.members):T6(n)?Sc(n,s,n.name,n.typeParameters,n.type):S6(n)?mp(n,s,n.name,n.members):Yi(n)?ji(n,s,n.name,n.body):w6(n)?gp(n,s,n.isTypeOnly,n.name,n.moduleReference):C6(n)?vp(n,s,n.importClause,n.moduleSpecifier,n.assertClause):ss(n)?Fi(n,s,n.expression):B_(n)?Dc(n,s,n.isTypeOnly,n.exportClause,n.moduleSpecifier,n.assertClause):N.assertNever(n)}function zh(n,o){return Ma(n)?Un(n,o,n.dotDotDotToken,n.name,n.questionToken,n.type,n.initializer):oo(n)?oe(n,o,n.name,n.questionToken??n.exclamationToken,n.type,n.initializer):d_(n)?z(n,o,n.asteriskToken,n.name,n.questionToken,n.typeParameters,n.parameters,n.type,n.body):m_(n)?qr(n,o,n.name,n.parameters,n.type,n.body):Qo(n)?zn(n,o,n.name,n.parameters,n.body):Il(n)?sc(n,o,n.name,n.typeParameters,n.heritageClauses,n.members):Yo(n)?Tc(n,o,n.name,n.typeParameters,n.heritageClauses,n.members):N.assertNever(n)}function Oe(n){return n?Y(n):void 0}function Xe(n){return typeof n=="string"?Ge(n):n}function Cr(n){return typeof n=="string"?it(n):typeof n=="number"?Ze(n):typeof n=="boolean"?n?ht():wn():n}function To(n){return n&&a().parenthesizeExpressionForDisallowedComma(n)}function lr(n){return typeof n=="number"?vt(n):n}function on(n){return n&&A6(n)?Ve(Xr(fc(),n),n):n}function vf(n){return typeof n=="string"||n&&!ki(n)?As(n,void 0,void 0,void 0):n}}function AL(e,t){return e!==t&&Ve(e,t),e}function kL(e,t){return e!==t&&(Xr(e,t),Ve(e,t)),e}function kf(e){switch(e){case 351:return"type";case 349:return"returns";case 350:return"this";case 347:return"enum";case 337:return"author";case 339:return"class";case 340:return"public";case 341:return"private";case 342:return"protected";case 343:return"readonly";case 344:return"override";case 352:return"template";case 353:return"typedef";case 348:return"param";case 355:return"prop";case 345:return"callback";case 346:return"overload";case 335:return"augments";case 336:return"implements";default:return N.fail(`Unsupported kind: ${N.formatSyntaxKind(e)}`)}}function DL(e,t){switch(_n||(_n=ns(99,!1,0)),e){case 15:_n.setText("`"+t+"`");break;case 16:_n.setText("`"+t+"${");break;case 17:_n.setText("}"+t+"${");break;case 18:_n.setText("}"+t+"`");break}let r=_n.scan();if(r===20&&(r=_n.reScanTemplateToken(!1)),_n.isUnterminated())return _n.setText(void 0),$0;let a;switch(r){case 15:case 16:case 17:case 18:a=_n.getTokenValue();break}return a===void 0||_n.scan()!==1?(_n.setText(void 0),$0):(_n.setText(void 0),a)}function In(e){return e&&Ee(e)?e_(e):V(e)}function e_(e){return V(e)&-67108865}function PL(e,t){return t|e.transformFlags&134234112}function V(e){if(!e)return 0;let t=e.transformFlags&~Jx(e.kind);return Yd(e)&&zl(e.name)?PL(e.name,t):t}function De(e){return e?e.transformFlags:0}function Vb(e){let t=0;for(let r of e)t|=V(r);e.transformFlags=t}function Jx(e){if(e>=182&&e<=205)return-2;switch(e){case 213:case 214:case 209:return-2147450880;case 267:return-1941676032;case 169:return-2147483648;case 219:return-2072174592;case 218:case 262:return-1937940480;case 261:return-2146893824;case 263:case 231:return-2147344384;case 176:return-1937948672;case 172:return-2013249536;case 174:case 177:case 178:return-2005057536;case 133:case 150:case 163:case 146:case 154:case 151:case 136:case 155:case 116:case 168:case 171:case 173:case 179:case 180:case 181:case 264:case 265:return-2;case 210:return-2147278848;case 299:return-2147418112;case 206:case 207:return-2147450880;case 216:case 238:case 234:case 360:case 217:case 108:return-2147483648;case 211:case 212:return-2147483648;default:return-2147483648}}function Yc(e){return e.flags|=16,e}function IL(e,t,r){let a,_,p,d,h,l,v,y,C,S;b_(e)?(p="",d=e,h=e.length,l=t,v=r):(N.assert(t==="js"||t==="dts"),p=(t==="js"?e.javascriptPath:e.declarationPath)||"",l=t==="js"?e.javascriptMapPath:e.declarationMapPath,y=()=>t==="js"?e.javascriptText:e.declarationText,C=()=>t==="js"?e.javascriptMapText:e.declarationMapText,h=()=>y().length,e.buildInfo&&e.buildInfo.bundle&&(N.assert(r===void 0||typeof r=="boolean"),a=r,_=t==="js"?e.buildInfo.bundle.js:e.buildInfo.bundle.dts,S=e.oldFileOfCurrentEmit));let k=S?OL(N.checkDefined(_)):NL(_,a,h);return k.fileName=p,k.sourceMapPath=l,k.oldFileOfCurrentEmit=S,y&&C?(Object.defineProperty(k,"text",{get:y}),Object.defineProperty(k,"sourceMapText",{get:C})):(N.assert(!S),k.text=d??"",k.sourceMapText=v),k}function NL(e,t,r){let a,_,p,d,h,l,v,y;for(let S of e?e.sections:$e)switch(S.kind){case"prologue":a=xt(a,Ve(Ln.createUnparsedPrologue(S.data),S));break;case"emitHelpers":_=xt(_,getAllUnscopedEmitHelpers().get(S.data));break;case"no-default-lib":y=!0;break;case"reference":p=xt(p,{pos:-1,end:-1,fileName:S.data});break;case"type":d=xt(d,{pos:-1,end:-1,fileName:S.data});break;case"type-import":d=xt(d,{pos:-1,end:-1,fileName:S.data,resolutionMode:99});break;case"type-require":d=xt(d,{pos:-1,end:-1,fileName:S.data,resolutionMode:1});break;case"lib":h=xt(h,{pos:-1,end:-1,fileName:S.data});break;case"prepend":let k;for(let L of S.texts)(!t||L.kind!=="internal")&&(k=xt(k,Ve(Ln.createUnparsedTextLike(L.data,L.kind==="internal"),L)));l=Rr(l,k),v=xt(v,Ln.createUnparsedPrepend(S.data,k??$e));break;case"internal":if(t){v||(v=[]);break}case"text":v=xt(v,Ve(Ln.createUnparsedTextLike(S.data,S.kind==="internal"),S));break;default:N.assertNever(S)}if(!v){let S=Ln.createUnparsedTextLike(void 0,!1);Ed(S,0,typeof r=="function"?r():r),v=[S]}let C=z_.createUnparsedSource(a??$e,void 0,v);return a_(a,C),a_(v,C),a_(l,C),C.hasNoDefaultLib=y,C.helpers=_,C.referencedFiles=p||$e,C.typeReferenceDirectives=d,C.libReferenceDirectives=h||$e,C}function OL(e){let t,r;for(let _ of e.sections)switch(_.kind){case"internal":case"text":t=xt(t,Ve(Ln.createUnparsedTextLike(_.data,_.kind==="internal"),_));break;case"no-default-lib":case"reference":case"type":case"type-import":case"type-require":case"lib":r=xt(r,Ve(Ln.createUnparsedSyntheticReference(_),_));break;case"prologue":case"emitHelpers":case"prepend":break;default:N.assertNever(_)}let a=Ln.createUnparsedSource($e,r,t??$e);return a_(r,a),a_(t,a),a.helpers=Aa(e.sources&&e.sources.helpers,_=>getAllUnscopedEmitHelpers().get(_)),a}function ML(e,t,r,a,_,p){return b_(e)?jx(void 0,e,r,a,void 0,t,_,p):Rx(e,t,r,a,_,p)}function Rx(e,t,r,a,_,p,d,h){let l=z_.createInputFiles();l.javascriptPath=t,l.javascriptMapPath=r,l.declarationPath=a,l.declarationMapPath=_,l.buildInfoPath=p;let v=new Map,y=L=>{if(L===void 0)return;let G=v.get(L);return G===void 0&&(G=e(L),v.set(L,G!==void 0?G:!1)),G!==!1?G:void 0},C=L=>{let G=y(L);return G!==void 0?G:`/* Input file ${L} was missing */\r
`},S;return Object.defineProperties(l,{javascriptText:{get:()=>C(t)},javascriptMapText:{get:()=>y(r)},declarationText:{get:()=>C(N.checkDefined(a))},declarationMapText:{get:()=>y(_)},buildInfo:{get:()=>{if(S===void 0&&p)if(d!=null&&d.getBuildInfo)S=d.getBuildInfo(p,h.configFilePath)??!1;else{let L=y(p);S=L!==void 0?getBuildInfo(p,L)??!1:!1}return S||void 0}}}),l}function jx(e,t,r,a,_,p,d,h,l,v,y){let C=z_.createInputFiles();return C.javascriptPath=e,C.javascriptText=t,C.javascriptMapPath=r,C.javascriptMapText=a,C.declarationPath=_,C.declarationText=p,C.declarationMapPath=d,C.declarationMapText=h,C.buildInfoPath=l,C.buildInfo=v,C.oldFileOfCurrentEmit=y,C}function LL(e,t,r){return new(Gb||(Gb=wt.getSourceMapSourceConstructor()))(e,t,r)}function Xr(e,t){if(e.original!==t&&(e.original=t,t)){let r=t.emitNode;r&&(e.emitNode=JL(r,e.emitNode))}return e}function JL(e,t){let{flags:r,internalFlags:a,leadingComments:_,trailingComments:p,commentRange:d,sourceMapRange:h,tokenSourceMapRanges:l,constantValue:v,helpers:y,startsOnNewLine:C,snippetElement:S,classThis:k,assignedName:L}=e;if(t||(t={}),r&&(t.flags=r),a&&(t.internalFlags=a&-9),_&&(t.leadingComments=Rr(_.slice(),t.leadingComments)),p&&(t.trailingComments=Rr(p.slice(),t.trailingComments)),d&&(t.commentRange=d),h&&(t.sourceMapRange=h),l&&(t.tokenSourceMapRanges=RL(l,t.tokenSourceMapRanges)),v!==void 0&&(t.constantValue=v),y)for(let G of y)t.helpers=wv(t.helpers,G);return C!==void 0&&(t.startsOnNewLine=C),S!==void 0&&(t.snippetElement=S),k&&(t.classThis=k),L&&(t.assignedName=L),t}function RL(e,t){t||(t=[]);for(let r in e)t[r]=e[r];return t}var il,X0,a6,_n,$0,Xs,Hb,Ln,Gb,jL=Vt({"src/compiler/factory/nodeFactory.ts"(){"use strict";Dr(),il=0,X0=(e=>(e[e.None=0]="None",e[e.NoParenthesizerRules=1]="NoParenthesizerRules",e[e.NoNodeConverters=2]="NoNodeConverters",e[e.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",e[e.NoOriginalNode=8]="NoOriginalNode",e))(X0||{}),a6=[],$0={},Xs=Mx(),Hb={createBaseSourceFileNode:e=>Yc(Xs.createBaseSourceFileNode(e)),createBaseIdentifierNode:e=>Yc(Xs.createBaseIdentifierNode(e)),createBasePrivateIdentifierNode:e=>Yc(Xs.createBasePrivateIdentifierNode(e)),createBaseTokenNode:e=>Yc(Xs.createBaseTokenNode(e)),createBaseNode:e=>Yc(Xs.createBaseNode(e))},Ln=kd(4,Hb)}}),FL=()=>{},BL=()=>{};function lo(e){return e.kind===9}function o6(e){return e.kind===10}function mn(e){return e.kind===11}function Dd(e){return e.kind===12}function UL(e){return e.kind===14}function Fx(e){return e.kind===15}function qL(e){return e.kind===16}function zL(e){return e.kind===17}function WL(e){return e.kind===18}function VL(e){return e.kind===26}function Bx(e){return e.kind===28}function s6(e){return e.kind===40}function _6(e){return e.kind===41}function HL(e){return e.kind===42}function Pd(e){return e.kind===54}function Pl(e){return e.kind===58}function GL(e){return e.kind===59}function XL(e){return e.kind===29}function $L(e){return e.kind===39}function Ee(e){return e.kind===80}function jr(e){return e.kind===81}function Ux(e){return e.kind===95}function QL(e){return e.kind===90}function al(e){return e.kind===134}function YL(e){return e.kind===131}function KL(e){return e.kind===135}function qx(e){return e.kind===148}function ZL(e){return e.kind===126}function eJ(e){return e.kind===128}function tJ(e){return e.kind===164}function rJ(e){return e.kind===129}function qf(e){return e.kind===108}function zx(e){return e.kind===102}function nJ(e){return e.kind===84}function M_(e){return e.kind===166}function ao(e){return e.kind===167}function No(e){return e.kind===168}function Ma(e){return e.kind===169}function L_(e){return e.kind===170}function Zl(e){return e.kind===171}function oo(e){return e.kind===172}function Wx(e){return e.kind===173}function d_(e){return e.kind===174}function eu(e){return e.kind===175}function J_(e){return e.kind===176}function m_(e){return e.kind===177}function Qo(e){return e.kind===178}function c6(e){return e.kind===179}function Vx(e){return e.kind===180}function l6(e){return e.kind===181}function Hx(e){return e.kind===182}function R_(e){return e.kind===183}function tu(e){return e.kind===184}function u6(e){return e.kind===185}function Gx(e){return e.kind===186}function Am(e){return e.kind===187}function Xx(e){return e.kind===188}function $x(e){return e.kind===189}function p6(e){return e.kind===202}function Qx(e){return e.kind===190}function Yx(e){return e.kind===191}function Kx(e){return e.kind===192}function Zx(e){return e.kind===193}function e8(e){return e.kind===194}function t8(e){return e.kind===195}function f6(e){return e.kind===196}function d6(e){return e.kind===197}function r8(e){return e.kind===198}function n8(e){return e.kind===199}function i8(e){return e.kind===200}function m6(e){return e.kind===201}function ru(e){return e.kind===205}function iJ(e){return e.kind===204}function aJ(e){return e.kind===203}function oJ(e){return e.kind===206}function sJ(e){return e.kind===207}function nu(e){return e.kind===208}function iu(e){return e.kind===209}function uo(e){return e.kind===210}function Br(e){return e.kind===211}function Ra(e){return e.kind===212}function j_(e){return e.kind===213}function a8(e){return e.kind===214}function o8(e){return e.kind===215}function _J(e){return e.kind===216}function is(e){return e.kind===217}function km(e){return e.kind===218}function Dm(e){return e.kind===219}function cJ(e){return e.kind===220}function lJ(e){return e.kind===221}function h6(e){return e.kind===222}function uJ(e){return e.kind===223}function Pm(e){return e.kind===224}function s8(e){return e.kind===225}function Ct(e){return e.kind===226}function pJ(e){return e.kind===227}function fJ(e){return e.kind===228}function dJ(e){return e.kind===229}function y6(e){return e.kind===230}function Il(e){return e.kind===231}function Im(e){return e.kind===232}function g6(e){return e.kind===233}function mJ(e){return e.kind===234}function hJ(e){return e.kind===238}function jo(e){return e.kind===235}function b6(e){return e.kind===236}function yJ(e){return e.kind===237}function _8(e){return e.kind===360}function F_(e){return e.kind===361}function gJ(e){return e.kind===239}function bJ(e){return e.kind===240}function au(e){return e.kind===241}function as(e){return e.kind===243}function vJ(e){return e.kind===242}function ou(e){return e.kind===244}function TJ(e){return e.kind===245}function SJ(e){return e.kind===246}function xJ(e){return e.kind===247}function c8(e){return e.kind===248}function wJ(e){return e.kind===249}function CJ(e){return e.kind===250}function EJ(e){return e.kind===251}function AJ(e){return e.kind===252}function kJ(e){return e.kind===253}function DJ(e){return e.kind===254}function PJ(e){return e.kind===255}function l8(e){return e.kind===256}function IJ(e){return e.kind===257}function NJ(e){return e.kind===258}function OJ(e){return e.kind===259}function ki(e){return e.kind===260}function v6(e){return e.kind===261}function os(e){return e.kind===262}function Yo(e){return e.kind===263}function su(e){return e.kind===264}function T6(e){return e.kind===265}function S6(e){return e.kind===266}function Yi(e){return e.kind===267}function u8(e){return e.kind===268}function MJ(e){return e.kind===269}function x6(e){return e.kind===270}function w6(e){return e.kind===271}function C6(e){return e.kind===272}function LJ(e){return e.kind===273}function JJ(e){return e.kind===302}function RJ(e){return e.kind===300}function jJ(e){return e.kind===301}function E6(e){return e.kind===274}function Nm(e){return e.kind===280}function FJ(e){return e.kind===275}function p8(e){return e.kind===276}function ss(e){return e.kind===277}function B_(e){return e.kind===278}function f8(e){return e.kind===279}function d8(e){return e.kind===281}function BJ(e){return e.kind===282}function A6(e){return e.kind===359}function UJ(e){return e.kind===362}function Om(e){return e.kind===283}function Q0(e){return e.kind===284}function qJ(e){return e.kind===285}function Oo(e){return e.kind===286}function zf(e){return e.kind===287}function dl(e){return e.kind===288}function k6(e){return e.kind===289}function zJ(e){return e.kind===290}function WJ(e){return e.kind===291}function D6(e){return e.kind===292}function VJ(e){return e.kind===293}function HJ(e){return e.kind===294}function U_(e){return e.kind===295}function GJ(e){return e.kind===296}function m8(e){return e.kind===297}function Nl(e){return e.kind===298}function XJ(e){return e.kind===299}function _s(e){return e.kind===303}function _u(e){return e.kind===304}function h8(e){return e.kind===305}function y8(e){return e.kind===306}function $J(e){return e.kind===308}function ii(e){return e.kind===312}function QJ(e){return e.kind===313}function YJ(e){return e.kind===314}function g8(e){return e.kind===316}function Wf(e){return e.kind===317}function r_(e){return e.kind===318}function KJ(e){return e.kind===331}function ZJ(e){return e.kind===332}function eR(e){return e.kind===333}function tR(e){return e.kind===319}function rR(e){return e.kind===320}function b8(e){return e.kind===321}function nR(e){return e.kind===322}function iR(e){return e.kind===323}function Mm(e){return e.kind===324}function aR(e){return e.kind===325}function oR(e){return e.kind===326}function cs(e){return e.kind===327}function P6(e){return e.kind===329}function cu(e){return e.kind===330}function Lm(e){return e.kind===335}function sR(e){return e.kind===337}function v8(e){return e.kind===339}function _R(e){return e.kind===345}function I6(e){return e.kind===340}function N6(e){return e.kind===341}function O6(e){return e.kind===342}function M6(e){return e.kind===343}function T8(e){return e.kind===344}function L6(e){return e.kind===346}function J6(e){return e.kind===338}function cR(e){return e.kind===354}function S8(e){return e.kind===347}function h_(e){return e.kind===348}function R6(e){return e.kind===349}function x8(e){return e.kind===350}function lu(e){return e.kind===351}function Ko(e){return e.kind===352}function lR(e){return e.kind===353}function uR(e){return e.kind===334}function pR(e){return e.kind===355}function w8(e){return e.kind===336}function j6(e){return e.kind===357}function fR(e){return e.kind===356}function dR(e){return e.kind===358}var mR=Vt({"src/compiler/factory/nodeTests.ts"(){"use strict";Dr()}});function hR(e){return e.createExportDeclaration(void 0,!1,e.createNamedExports([]),void 0)}function Jm(e,t,r,a){if(ao(r))return Ve(e.createElementAccessExpression(t,r.expression),a);{let _=Ve(ro(r)?e.createPropertyAccessExpression(t,r):e.createElementAccessExpression(t,r),r);return addEmitFlags(_,128),_}}function F6(e,t){let r=z_.createIdentifier(e||"React");return Xi(r,Fl(t)),r}function B6(e,t,r){if(M_(t)){let a=B6(e,t.left,r),_=e.createIdentifier(Ot(t.right));return _.escapedText=t.right.escapedText,e.createPropertyAccessExpression(a,_)}else return F6(Ot(t),r)}function C8(e,t,r,a){return t?B6(e,t,a):e.createPropertyAccessExpression(F6(r,a),"createElement")}function yR(e,t,r,a){return t?B6(e,t,a):e.createPropertyAccessExpression(F6(r,a),"Fragment")}function gR(e,t,r,a,_,p){let d=[r];if(a&&d.push(a),_&&_.length>0)if(a||d.push(e.createNull()),_.length>1)for(let h of _)Fm(h),d.push(h);else d.push(_[0]);return Ve(e.createCallExpression(t,void 0,d),p)}function bR(e,t,r,a,_,p,d){let l=[yR(e,r,a,p),e.createNull()];if(_&&_.length>0)if(_.length>1)for(let v of _)Fm(v),l.push(v);else l.push(_[0]);return Ve(e.createCallExpression(C8(e,t,a,p),void 0,l),d)}function vR(e,t,r){if(v6(t)){let a=og(t.declarations),_=e.updateVariableDeclaration(a,a.name,void 0,void 0,r);return Ve(e.createVariableStatement(void 0,e.updateVariableDeclarationList(t,[_])),t)}else{let a=Ve(e.createAssignment(t,r),t);return Ve(e.createExpressionStatement(a),t)}}function TR(e,t,r){return au(t)?e.updateBlock(t,Ve(e.createNodeArray([r,...t.statements]),t.statements)):e.createBlock(e.createNodeArray([t,r]),!0)}function E8(e,t){if(M_(t)){let r=E8(e,t.left),a=Xi(Ve(e.cloneNode(t.right),t.right),t.right.parent);return Ve(e.createPropertyAccessExpression(r,a),t)}else return Xi(Ve(e.cloneNode(t),t),t.parent)}function A8(e,t){return Ee(t)?e.createStringLiteralFromNode(t):ao(t)?Xi(Ve(e.cloneNode(t.expression),t.expression),t.expression.parent):Xi(Ve(e.cloneNode(t),t),t.parent)}function SR(e,t,r,a,_){let{firstAccessor:p,getAccessor:d,setAccessor:h}=P2(t,r);if(r===p)return Ve(e.createObjectDefinePropertyCall(a,A8(e,r.name),e.createPropertyDescriptor({enumerable:e.createFalse(),configurable:!0,get:d&&Ve(Xr(e.createFunctionExpression(yd(d),void 0,void 0,void 0,d.parameters,void 0,d.body),d),d),set:h&&Ve(Xr(e.createFunctionExpression(yd(h),void 0,void 0,void 0,h.parameters,void 0,h.body),h),h)},!_)),p)}function xR(e,t,r){return Xr(Ve(e.createAssignment(Jm(e,r,t.name,t.name),t.initializer),t),t)}function wR(e,t,r){return Xr(Ve(e.createAssignment(Jm(e,r,t.name,t.name),e.cloneNode(t.name)),t),t)}function CR(e,t,r){return Xr(Ve(e.createAssignment(Jm(e,r,t.name,t.name),Xr(Ve(e.createFunctionExpression(yd(t),t.asteriskToken,void 0,void 0,t.parameters,void 0,t.body),t),t)),t),t)}function ER(e,t,r,a){switch(r.name&&jr(r.name)&&N.failBadSyntaxKind(r.name,"Private identifiers are not allowed in object literals."),r.kind){case 177:case 178:return SR(e,t.properties,r,a,!!t.multiLine);case 303:return xR(e,r,a);case 304:return wR(e,r,a);case 174:return CR(e,r,a)}}function AR(e,t,r,a,_){let p=t.operator;N.assert(p===46||p===47,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");let d=e.createTempVariable(a);r=e.createAssignment(d,r),Ve(r,t.operand);let h=Pm(t)?e.createPrefixUnaryExpression(p,d):e.createPostfixUnaryExpression(d,p);return Ve(h,t),_&&(h=e.createAssignment(_,h),Ve(h,t)),r=e.createComma(r,h),Ve(r,t),s8(t)&&(r=e.createComma(r,d),Ve(r,t)),r}function kR(e){return(ti(e)&65536)!==0}function Y0(e){return(ti(e)&32768)!==0}function DR(e){return(ti(e)&16384)!==0}function k8(e){return mn(e.expression)&&e.expression.text==="use strict"}function D8(e){for(let t of e)if(Ea(t)){if(k8(t))return t}else break}function P8(e){let t=g_(e);return t!==void 0&&Ea(t)&&k8(t)}function Rm(e){return e.kind===226&&e.operatorToken.kind===28}function PR(e){return Rm(e)||F_(e)}function I8(e){return is(e)&&Wt(e)&&!!em(e)}function IR(e){let t=tm(e);return N.assertIsDefined(t),t}function jm(e,t=15){switch(e.kind){case 217:return t&16&&I8(e)?!1:(t&1)!==0;case 216:case 234:case 233:case 238:return(t&2)!==0;case 235:return(t&4)!==0;case 360:return(t&8)!==0}return!1}function ls(e,t=15){for(;jm(e,t);)e=e.expression;return e}function NR(e,t=15){let r=e.parent;for(;jm(r,t);)r=r.parent,N.assert(r);return r}function OR(e){return ls(e,6)}function Fm(e){return setStartsOnNewLine(e,!0)}function N8(e){let t=jl(e,ii),r=t&&t.emitNode;return r&&r.externalHelpersModuleName}function MR(e){let t=jl(e,ii),r=t&&t.emitNode;return!!r&&(!!r.externalHelpersModuleName||!!r.externalHelpers)}function LR(e,t,r,a,_,p,d){if(a.importHelpers&&Xg(r,a)){let h,l=ni(a);if(l>=5&&l<=99||r.impliedNodeFormat===99){let v=getEmitHelpers(r);if(v){let y=[];for(let C of v)if(!C.scoped){let S=C.importName;S&&Ol(y,S)}if(mt(y)){y.sort(Ci),h=e.createNamedImports(Aa(y,k=>P3(r,k)?e.createImportSpecifier(!1,void 0,e.createIdentifier(k)):e.createImportSpecifier(!1,e.createIdentifier(k),t.getUnscopedHelperName(k))));let C=jl(r,ii),S=getOrCreateEmitNode(C);S.externalHelpers=!0}}}else{let v=O8(e,r,a,_,p||d);v&&(h=e.createNamespaceImport(v))}if(h){let v=e.createImportDeclaration(void 0,e.createImportClause(!1,void 0,h),e.createStringLiteral(wm),void 0);return addInternalEmitFlags(v,2),v}}}function O8(e,t,r,a,_){if(r.importHelpers&&Xg(t,r)){let p=N8(t);if(p)return p;let d=ni(r),h=(a||U2(r)&&_)&&d!==4&&(d<5||t.impliedNodeFormat===1);if(!h){let l=getEmitHelpers(t);if(l){for(let v of l)if(!v.scoped){h=!0;break}}}if(h){let l=jl(t,ii),v=getOrCreateEmitNode(l);return v.externalHelpersModuleName||(v.externalHelpersModuleName=e.createUniqueName(wm))}}}function JR(e,t,r){let a=fT(t);if(a&&!dT(t)&&!L3(t)){let _=a.name;return wa(_)?_:e.createIdentifier(Xo(r,_)||Ot(_))}if(t.kind===272&&t.importClause||t.kind===278&&t.moduleSpecifier)return e.getGeneratedNameForNode(t)}function RR(e,t,r,a,_,p){let d=d2(t);if(d&&mn(d))return FR(t,a,e,_,p)||jR(e,d,r)||e.cloneNode(d)}function jR(e,t,r){let a=r.renamedDependencies&&r.renamedDependencies.get(t.text);return a?e.createStringLiteral(a):void 0}function M8(e,t,r,a){if(t){if(t.moduleName)return e.createStringLiteral(t.moduleName);if(!t.isDeclarationFile&&A2(a))return e.createStringLiteral(E2(r,t.fileName))}}function FR(e,t,r,a,_){return M8(r,a.getExternalModuleFileFromDeclaration(e),t,_)}function L8(e){if(Bg(e))return e.initializer;if(_s(e)){let t=e.initializer;return Na(t,!0)?t.right:void 0}if(_u(e))return e.objectAssignmentInitializer;if(Na(e,!0))return e.right;if(y6(e))return L8(e.expression)}function Mo(e){if(Bg(e))return e.name;if(Fg(e)){switch(e.kind){case 303:return Mo(e.initializer);case 304:return e.name;case 305:return Mo(e.expression)}return}return Na(e,!0)?Mo(e.left):y6(e)?Mo(e.expression):e}function BR(e){switch(e.kind){case 169:case 208:return e.dotDotDotToken;case 230:case 305:return e}}function UR(e){let t=J8(e);return N.assert(!!t||h8(e),"Invalid property name for binding element."),t}function J8(e){switch(e.kind){case 208:if(e.propertyName){let r=e.propertyName;return jr(r)?N.failBadSyntaxKind(r):ao(r)&&Xb(r.expression)?r.expression:r}break;case 303:if(e.name){let r=e.name;return jr(r)?N.failBadSyntaxKind(r):ao(r)&&Xb(r.expression)?r.expression:r}break;case 305:return e.name&&jr(e.name)?N.failBadSyntaxKind(e.name):e.name}let t=Mo(e);if(t&&zl(t))return t}function Xb(e){let t=e.kind;return t===11||t===9}function R8(e){switch(e.kind){case 206:case 207:case 209:return e.elements;case 210:return e.properties}}function K0(e){if(e){let t=e;for(;;){if(Ee(t)||!t.body)return Ee(t)?t:t.name;t=t.body}}}function qR(e){let t=e.kind;return t===176||t===178}function j8(e){let t=e.kind;return t===176||t===177||t===178}function zR(e){let t=e.kind;return t===303||t===304||t===262||t===176||t===181||t===175||t===282||t===243||t===264||t===265||t===266||t===267||t===271||t===272||t===270||t===278||t===277}function WR(e){let t=e.kind;return t===175||t===303||t===304||t===282||t===270}function VR(e){return Pl(e)||Pd(e)}function HR(e){return Ee(e)||d6(e)}function GR(e){return qx(e)||s6(e)||_6(e)}function XR(e){return Pl(e)||s6(e)||_6(e)}function $R(e){return Ee(e)||mn(e)}function QR(e){let t=e.kind;return t===106||t===112||t===97||Og(e)||Pm(e)}function YR(e){return e===43}function KR(e){return e===42||e===44||e===45}function ZR(e){return YR(e)||KR(e)}function ej(e){return e===40||e===41}function tj(e){return ej(e)||ZR(e)}function rj(e){return e===48||e===49||e===50}function nj(e){return rj(e)||tj(e)}function ij(e){return e===30||e===33||e===32||e===34||e===104||e===103}function aj(e){return ij(e)||nj(e)}function oj(e){return e===35||e===37||e===36||e===38}function sj(e){return oj(e)||aj(e)}function _j(e){return e===51||e===52||e===53}function cj(e){return _j(e)||sj(e)}function lj(e){return e===56||e===57}function uj(e){return lj(e)||cj(e)}function pj(e){return e===61||uj(e)||D_(e)}function fj(e){return pj(e)||e===28}function dj(e){return fj(e.kind)}function mj(e,t,r,a,_,p){let d=new B8(e,t,r,a,_,p);return h;function h(l,v){let y={value:void 0},C=[Nd.enter],S=[l],k=[void 0],L=0;for(;C[L]!==Nd.done;)L=C[L](d,L,C,S,k,y,v);return N.assertEqual(L,0),y.value}}function F8(e){return e===95||e===90}function hj(e){let t=e.kind;return F8(t)}function yj(e){let t=e.kind;return bi(t)&&!F8(t)}function gj(e,t){if(t!==void 0)return t.length===0?t:Ve(e.createNodeArray([],t.hasTrailingComma),t)}function bj(e){var t;let r=e.emitNode.autoGenerate;if(r.flags&4){let a=r.id,_=e,p=_.original;for(;p;){_=p;let d=(t=_.emitNode)==null?void 0:t.autoGenerate;if(ro(_)&&(d===void 0||d.flags&4&&d.id!==a))break;p=_.original}return _}return e}function Z0(e,t){return typeof e=="object"?Id(!1,e.prefix,e.node,e.suffix,t):typeof e=="string"?e.length>0&&e.charCodeAt(0)===35?e.slice(1):e:""}function vj(e,t){return typeof e=="string"?e:Tj(e,N.checkDefined(t))}function Tj(e,t){return Mg(e)?t(e).slice(1):wa(e)?t(e):jr(e)?e.escapedText.slice(1):Ot(e)}function Id(e,t,r,a,_){return t=Z0(t,_),a=Z0(a,_),r=vj(r,_),`${e?"#":""}${t}${r}${a}`}function Sj(e,t,r,a){return e.updatePropertyDeclaration(t,r,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage"),void 0,void 0,a)}function xj(e,t,r,a,_=e.createThis()){return e.createGetAccessorDeclaration(r,a,[],void 0,e.createBlock([e.createReturnStatement(e.createPropertyAccessExpression(_,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")))]))}function wj(e,t,r,a,_=e.createThis()){return e.createSetAccessorDeclaration(r,a,[e.createParameterDeclaration(void 0,void 0,"value")],e.createBlock([e.createExpressionStatement(e.createAssignment(e.createPropertyAccessExpression(_,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")),e.createIdentifier("value")))]))}function Cj(e){let t=e.expression;for(;;){if(t=ls(t),F_(t)){t=ka(t.elements);continue}if(Rm(t)){t=t.right;continue}if(Na(t,!0)&&wa(t.left))return t;break}}function Ej(e){return is(e)&&Ta(e)&&!e.emitNode}function ol(e,t){if(Ej(e))ol(e.expression,t);else if(Rm(e))ol(e.left,t),ol(e.right,t);else if(F_(e))for(let r of e.elements)ol(r,t);else t.push(e)}function Aj(e){let t=[];return ol(e,t),t}function U6(e){if(e.transformFlags&65536)return!0;if(e.transformFlags&128)for(let t of R8(e)){let r=Mo(t);if(r&&l3(r)&&(r.transformFlags&65536||r.transformFlags&128&&U6(r)))return!0}return!1}var Nd,B8,kj=Vt({"src/compiler/factory/utilities.ts"(){"use strict";Dr(),(e=>{function t(y,C,S,k,L,G,K){let ue=C>0?L[C-1]:void 0;return N.assertEqual(S[C],t),L[C]=y.onEnter(k[C],ue,K),S[C]=h(y,t),C}e.enter=t;function r(y,C,S,k,L,G,K){N.assertEqual(S[C],r),N.assertIsDefined(y.onLeft),S[C]=h(y,r);let ue=y.onLeft(k[C].left,L[C],k[C]);return ue?(v(C,k,ue),l(C,S,k,L,ue)):C}e.left=r;function a(y,C,S,k,L,G,K){return N.assertEqual(S[C],a),N.assertIsDefined(y.onOperator),S[C]=h(y,a),y.onOperator(k[C].operatorToken,L[C],k[C]),C}e.operator=a;function _(y,C,S,k,L,G,K){N.assertEqual(S[C],_),N.assertIsDefined(y.onRight),S[C]=h(y,_);let ue=y.onRight(k[C].right,L[C],k[C]);return ue?(v(C,k,ue),l(C,S,k,L,ue)):C}e.right=_;function p(y,C,S,k,L,G,K){N.assertEqual(S[C],p),S[C]=h(y,p);let ue=y.onExit(k[C],L[C]);if(C>0){if(C--,y.foldState){let Y=S[C]===p?"right":"left";L[C]=y.foldState(L[C],ue,Y)}}else G.value=ue;return C}e.exit=p;function d(y,C,S,k,L,G,K){return N.assertEqual(S[C],d),C}e.done=d;function h(y,C){switch(C){case t:if(y.onLeft)return r;case r:if(y.onOperator)return a;case a:if(y.onRight)return _;case _:return p;case p:return d;case d:return d;default:N.fail("Invalid state")}}e.nextState=h;function l(y,C,S,k,L){return y++,C[y]=t,S[y]=L,k[y]=void 0,y}function v(y,C,S){if(N.shouldAssert(2))for(;y>=0;)N.assert(C[y]!==S,"Circular traversal detected."),y--}})(Nd||(Nd={})),B8=class{constructor(e,t,r,a,_,p){this.onEnter=e,this.onLeft=t,this.onOperator=r,this.onRight=a,this.onExit=_,this.foldState=p}}}});function Ve(e,t){return t?Ya(e,t.pos,t.end):e}function q_(e){let t=e.kind;return t===168||t===169||t===171||t===172||t===173||t===174||t===176||t===177||t===178||t===181||t===185||t===218||t===219||t===231||t===243||t===262||t===263||t===264||t===265||t===266||t===267||t===271||t===272||t===277||t===278}function U8(e){let t=e.kind;return t===169||t===172||t===174||t===177||t===178||t===231||t===263}var Dj=Vt({"src/compiler/factory/utilitiesPublic.ts"(){"use strict";Dr()}});function P(e,t){return t&&e(t)}function _e(e,t,r){if(r){if(t)return t(r);for(let a of r){let _=e(a);if(_)return _}}}function q8(e,t){return e.charCodeAt(t+1)===42&&e.charCodeAt(t+2)===42&&e.charCodeAt(t+3)!==47}function ml(e){return yr(e.statements,Pj)||Ij(e)}function Pj(e){return q_(e)&&Nj(e,95)||w6(e)&&Om(e.moduleReference)||C6(e)||ss(e)||B_(e)?e:void 0}function Ij(e){return e.flags&8388608?z8(e):void 0}function z8(e){return Oj(e)?e:Bt(e,z8)}function Nj(e,t){return mt(e.modifiers,r=>r.kind===t)}function Oj(e){return b6(e)&&e.keywordToken===102&&e.name.escapedText==="meta"}function $b(e,t,r){return _e(t,r,e.typeParameters)||_e(t,r,e.parameters)||P(t,e.type)}function Qb(e,t,r){return _e(t,r,e.types)}function Yb(e,t,r){return P(t,e.type)}function Kb(e,t,r){return _e(t,r,e.elements)}function Zb(e,t,r){return P(t,e.expression)||P(t,e.questionDotToken)||_e(t,r,e.typeArguments)||_e(t,r,e.arguments)}function ev(e,t,r){return _e(t,r,e.statements)}function tv(e,t,r){return P(t,e.label)}function rv(e,t,r){return _e(t,r,e.modifiers)||P(t,e.name)||_e(t,r,e.typeParameters)||_e(t,r,e.heritageClauses)||_e(t,r,e.members)}function nv(e,t,r){return _e(t,r,e.elements)}function iv(e,t,r){return P(t,e.propertyName)||P(t,e.name)}function av(e,t,r){return P(t,e.tagName)||_e(t,r,e.typeArguments)||P(t,e.attributes)}function wo(e,t,r){return P(t,e.type)}function ov(e,t,r){return P(t,e.tagName)||(e.isNameFirst?P(t,e.name)||P(t,e.typeExpression):P(t,e.typeExpression)||P(t,e.name))||(typeof e.comment=="string"?void 0:_e(t,r,e.comment))}function Co(e,t,r){return P(t,e.tagName)||P(t,e.typeExpression)||(typeof e.comment=="string"?void 0:_e(t,r,e.comment))}function Kh(e,t,r){return P(t,e.name)}function Xa(e,t,r){return P(t,e.tagName)||(typeof e.comment=="string"?void 0:_e(t,r,e.comment))}function Mj(e,t,r){return P(t,e.expression)}function Bt(e,t,r){if(e===void 0||e.kind<=165)return;let a=$8[e.kind];return a===void 0?void 0:a(e,t,r)}function eg(e,t,r){let a=sv(e),_=[];for(;_.length<a.length;)_.push(e);for(;a.length!==0;){let p=a.pop(),d=_.pop();if(zt(p)){if(r){let h=r(p,d);if(h){if(h==="skip")continue;return h}}for(let h=p.length-1;h>=0;--h)a.push(p[h]),_.push(d)}else{let h=t(p,d);if(h){if(h==="skip")continue;return h}if(p.kind>=166)for(let l of sv(p))a.push(l),_.push(p)}}}function sv(e){let t=[];return Bt(e,r,r),t;function r(a){t.unshift(a)}}function W8(e){e.externalModuleIndicator=ml(e)}function V8(e,t,r,a=!1,_){var p,d,h,l;(p=xa)==null||p.push(xa.Phase.Parse,"createSourceFile",{path:e},!0),Mb("beforeParse");let v;(d=Kf)==null||d.logStartParseSourceFile(e);let{languageVersion:y,setExternalModuleIndicator:C,impliedNodeFormat:S}=typeof r=="object"?r:{languageVersion:r};if(y===100)v=Zn.parseSourceFile(e,t,y,void 0,a,6,Rn);else{let k=S===void 0?C:L=>(L.impliedNodeFormat=S,(C||W8)(L));v=Zn.parseSourceFile(e,t,y,void 0,a,_,k)}return(h=Kf)==null||h.logStopParseSourceFile(),Mb("afterParse"),yE("Parse","beforeParse","afterParse"),(l=xa)==null||l.pop(),v}function Lj(e,t){return Zn.parseIsolatedEntityName(e,t)}function Jj(e,t){return Zn.parseJsonText(e,t)}function Zo(e){return e.externalModuleIndicator!==void 0}function q6(e,t,r,a=!1){let _=Vf.updateSourceFile(e,t,r,a);return _.flags|=e.flags&12582912,_}function Rj(e,t,r){let a=Zn.JSDocParser.parseIsolatedJSDocComment(e,t,r);return a&&a.jsDoc&&Zn.fixupParentReferences(a.jsDoc),a}function jj(e,t,r){return Zn.JSDocParser.parseJSDocTypeExpressionForTests(e,t,r)}function H8(e){return ei(e,n6)||La(e,".ts")&&eo(T_(e),".d.")}function Fj(e,t,r,a){if(e){if(e==="import")return 99;if(e==="require")return 1;a(t,r-t,U.resolution_mode_should_be_either_require_or_import)}}function G8(e,t){let r=[];for(let a of Wo(t,0)||$e){let _=t.substring(a.pos,a.end);Uj(r,a,_)}e.pragmas=new Map;for(let a of r){if(e.pragmas.has(a.name)){let _=e.pragmas.get(a.name);_ instanceof Array?_.push(a.args):e.pragmas.set(a.name,[_,a.args]);continue}e.pragmas.set(a.name,a.args)}}function X8(e,t){e.checkJsDirective=void 0,e.referencedFiles=[],e.typeReferenceDirectives=[],e.libReferenceDirectives=[],e.amdDependencies=[],e.hasNoDefaultLib=!1,e.pragmas.forEach((r,a)=>{switch(a){case"reference":{let _=e.referencedFiles,p=e.typeReferenceDirectives,d=e.libReferenceDirectives;yr(If(r),h=>{let{types:l,lib:v,path:y,["resolution-mode"]:C}=h.arguments;if(h.arguments["no-default-lib"])e.hasNoDefaultLib=!0;else if(l){let S=Fj(C,l.pos,l.end,t);p.push({pos:l.pos,end:l.end,fileName:l.value,...S?{resolutionMode:S}:{}})}else v?d.push({pos:v.pos,end:v.end,fileName:v.value}):y?_.push({pos:y.pos,end:y.end,fileName:y.value}):t(h.range.pos,h.range.end-h.range.pos,U.Invalid_reference_directive_syntax)});break}case"amd-dependency":{e.amdDependencies=Aa(If(r),_=>({name:_.arguments.name,path:_.arguments.path}));break}case"amd-module":{if(r instanceof Array)for(let _ of r)e.moduleName&&t(_.range.pos,_.range.end-_.range.pos,U.An_AMD_module_cannot_have_multiple_name_assignments),e.moduleName=_.arguments.name;else e.moduleName=r.arguments.name;break}case"ts-nocheck":case"ts-check":{yr(If(r),_=>{(!e.checkJsDirective||_.range.pos>e.checkJsDirective.pos)&&(e.checkJsDirective={enabled:a==="ts-check",end:_.range.end,pos:_.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:N.fail("Unhandled pragma kind")}})}function Bj(e){if(Hf.has(e))return Hf.get(e);let t=new RegExp(`(\\s${e}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return Hf.set(e,t),t}function Uj(e,t,r){let a=t.kind===2&&Q8.exec(r);if(a){let p=a[1].toLowerCase(),d=zd[p];if(!d||!(d.kind&1))return;if(d.args){let h={};for(let l of d.args){let y=Bj(l.name).exec(r);if(!y&&!l.optional)return;if(y){let C=y[2]||y[3];if(l.captureSpan){let S=t.pos+y.index+y[1].length+1;h[l.name]={value:C,pos:S,end:S+C.length}}else h[l.name]=C}}e.push({name:p,args:{arguments:h,range:t}})}else e.push({name:p,args:{arguments:{},range:t}});return}let _=t.kind===2&&Y8.exec(r);if(_)return _v(e,t,2,_);if(t.kind===3){let p=/@(\S+)(\s+.*)?$/gim,d;for(;d=p.exec(r);)_v(e,t,4,d)}}function _v(e,t,r,a){if(!a)return;let _=a[1].toLowerCase(),p=zd[_];if(!p||!(p.kind&r))return;let d=a[2],h=qj(p,d);h!=="fail"&&e.push({name:_,args:{arguments:h,range:t}})}function qj(e,t){if(!t)return{};if(!e.args)return{};let r=qd(t).split(/\s+/),a={};for(let _=0;_<e.args.length;_++){let p=e.args[_];if(!r[_]&&!p.optional)return"fail";if(p.captureSpan)return N.fail("Capture spans not yet implemented for non-xml pragmas");a[p.name]=r[_]}return a}function Ti(e,t){return e.kind!==t.kind?!1:e.kind===80?e.escapedText===t.escapedText:e.kind===110?!0:e.kind===295?e.namespace.escapedText===t.namespace.escapedText&&e.name.escapedText===t.name.escapedText:e.name.escapedText===t.name.escapedText&&Ti(e.expression,t.expression)}var cv,lv,uv,pv,fv,tg,z_,$8,Zn,Vf,Hf,Q8,Y8,zj=Vt({"src/compiler/parser.ts"(){"use strict";Dr(),Gv(),tg={createBaseSourceFileNode:e=>new(fv||(fv=wt.getSourceFileConstructor()))(e,-1,-1),createBaseIdentifierNode:e=>new(uv||(uv=wt.getIdentifierConstructor()))(e,-1,-1),createBasePrivateIdentifierNode:e=>new(pv||(pv=wt.getPrivateIdentifierConstructor()))(e,-1,-1),createBaseTokenNode:e=>new(lv||(lv=wt.getTokenConstructor()))(e,-1,-1),createBaseNode:e=>new(cv||(cv=wt.getNodeConstructor()))(e,-1,-1)},z_=kd(1,tg),$8={166:function(t,r,a){return P(r,t.left)||P(r,t.right)},168:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.name)||P(r,t.constraint)||P(r,t.default)||P(r,t.expression)},304:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.name)||P(r,t.questionToken)||P(r,t.exclamationToken)||P(r,t.equalsToken)||P(r,t.objectAssignmentInitializer)},305:function(t,r,a){return P(r,t.expression)},169:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.dotDotDotToken)||P(r,t.name)||P(r,t.questionToken)||P(r,t.type)||P(r,t.initializer)},172:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.name)||P(r,t.questionToken)||P(r,t.exclamationToken)||P(r,t.type)||P(r,t.initializer)},171:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.name)||P(r,t.questionToken)||P(r,t.type)||P(r,t.initializer)},303:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.name)||P(r,t.questionToken)||P(r,t.exclamationToken)||P(r,t.initializer)},260:function(t,r,a){return P(r,t.name)||P(r,t.exclamationToken)||P(r,t.type)||P(r,t.initializer)},208:function(t,r,a){return P(r,t.dotDotDotToken)||P(r,t.propertyName)||P(r,t.name)||P(r,t.initializer)},181:function(t,r,a){return _e(r,a,t.modifiers)||_e(r,a,t.typeParameters)||_e(r,a,t.parameters)||P(r,t.type)},185:function(t,r,a){return _e(r,a,t.modifiers)||_e(r,a,t.typeParameters)||_e(r,a,t.parameters)||P(r,t.type)},184:function(t,r,a){return _e(r,a,t.modifiers)||_e(r,a,t.typeParameters)||_e(r,a,t.parameters)||P(r,t.type)},179:$b,180:$b,174:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.asteriskToken)||P(r,t.name)||P(r,t.questionToken)||P(r,t.exclamationToken)||_e(r,a,t.typeParameters)||_e(r,a,t.parameters)||P(r,t.type)||P(r,t.body)},173:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.name)||P(r,t.questionToken)||_e(r,a,t.typeParameters)||_e(r,a,t.parameters)||P(r,t.type)},176:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.name)||_e(r,a,t.typeParameters)||_e(r,a,t.parameters)||P(r,t.type)||P(r,t.body)},177:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.name)||_e(r,a,t.typeParameters)||_e(r,a,t.parameters)||P(r,t.type)||P(r,t.body)},178:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.name)||_e(r,a,t.typeParameters)||_e(r,a,t.parameters)||P(r,t.type)||P(r,t.body)},262:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.asteriskToken)||P(r,t.name)||_e(r,a,t.typeParameters)||_e(r,a,t.parameters)||P(r,t.type)||P(r,t.body)},218:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.asteriskToken)||P(r,t.name)||_e(r,a,t.typeParameters)||_e(r,a,t.parameters)||P(r,t.type)||P(r,t.body)},219:function(t,r,a){return _e(r,a,t.modifiers)||_e(r,a,t.typeParameters)||_e(r,a,t.parameters)||P(r,t.type)||P(r,t.equalsGreaterThanToken)||P(r,t.body)},175:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.body)},183:function(t,r,a){return P(r,t.typeName)||_e(r,a,t.typeArguments)},182:function(t,r,a){return P(r,t.assertsModifier)||P(r,t.parameterName)||P(r,t.type)},186:function(t,r,a){return P(r,t.exprName)||_e(r,a,t.typeArguments)},187:function(t,r,a){return _e(r,a,t.members)},188:function(t,r,a){return P(r,t.elementType)},189:function(t,r,a){return _e(r,a,t.elements)},192:Qb,193:Qb,194:function(t,r,a){return P(r,t.checkType)||P(r,t.extendsType)||P(r,t.trueType)||P(r,t.falseType)},195:function(t,r,a){return P(r,t.typeParameter)},205:function(t,r,a){return P(r,t.argument)||P(r,t.assertions)||P(r,t.qualifier)||_e(r,a,t.typeArguments)},302:function(t,r,a){return P(r,t.assertClause)},196:Yb,198:Yb,199:function(t,r,a){return P(r,t.objectType)||P(r,t.indexType)},200:function(t,r,a){return P(r,t.readonlyToken)||P(r,t.typeParameter)||P(r,t.nameType)||P(r,t.questionToken)||P(r,t.type)||_e(r,a,t.members)},201:function(t,r,a){return P(r,t.literal)},202:function(t,r,a){return P(r,t.dotDotDotToken)||P(r,t.name)||P(r,t.questionToken)||P(r,t.type)},206:Kb,207:Kb,209:function(t,r,a){return _e(r,a,t.elements)},210:function(t,r,a){return _e(r,a,t.properties)},211:function(t,r,a){return P(r,t.expression)||P(r,t.questionDotToken)||P(r,t.name)},212:function(t,r,a){return P(r,t.expression)||P(r,t.questionDotToken)||P(r,t.argumentExpression)},213:Zb,214:Zb,215:function(t,r,a){return P(r,t.tag)||P(r,t.questionDotToken)||_e(r,a,t.typeArguments)||P(r,t.template)},216:function(t,r,a){return P(r,t.type)||P(r,t.expression)},217:function(t,r,a){return P(r,t.expression)},220:function(t,r,a){return P(r,t.expression)},221:function(t,r,a){return P(r,t.expression)},222:function(t,r,a){return P(r,t.expression)},224:function(t,r,a){return P(r,t.operand)},229:function(t,r,a){return P(r,t.asteriskToken)||P(r,t.expression)},223:function(t,r,a){return P(r,t.expression)},225:function(t,r,a){return P(r,t.operand)},226:function(t,r,a){return P(r,t.left)||P(r,t.operatorToken)||P(r,t.right)},234:function(t,r,a){return P(r,t.expression)||P(r,t.type)},235:function(t,r,a){return P(r,t.expression)},238:function(t,r,a){return P(r,t.expression)||P(r,t.type)},236:function(t,r,a){return P(r,t.name)},227:function(t,r,a){return P(r,t.condition)||P(r,t.questionToken)||P(r,t.whenTrue)||P(r,t.colonToken)||P(r,t.whenFalse)},230:function(t,r,a){return P(r,t.expression)},241:ev,268:ev,312:function(t,r,a){return _e(r,a,t.statements)||P(r,t.endOfFileToken)},243:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.declarationList)},261:function(t,r,a){return _e(r,a,t.declarations)},244:function(t,r,a){return P(r,t.expression)},245:function(t,r,a){return P(r,t.expression)||P(r,t.thenStatement)||P(r,t.elseStatement)},246:function(t,r,a){return P(r,t.statement)||P(r,t.expression)},247:function(t,r,a){return P(r,t.expression)||P(r,t.statement)},248:function(t,r,a){return P(r,t.initializer)||P(r,t.condition)||P(r,t.incrementor)||P(r,t.statement)},249:function(t,r,a){return P(r,t.initializer)||P(r,t.expression)||P(r,t.statement)},250:function(t,r,a){return P(r,t.awaitModifier)||P(r,t.initializer)||P(r,t.expression)||P(r,t.statement)},251:tv,252:tv,253:function(t,r,a){return P(r,t.expression)},254:function(t,r,a){return P(r,t.expression)||P(r,t.statement)},255:function(t,r,a){return P(r,t.expression)||P(r,t.caseBlock)},269:function(t,r,a){return _e(r,a,t.clauses)},296:function(t,r,a){return P(r,t.expression)||_e(r,a,t.statements)},297:function(t,r,a){return _e(r,a,t.statements)},256:function(t,r,a){return P(r,t.label)||P(r,t.statement)},257:function(t,r,a){return P(r,t.expression)},258:function(t,r,a){return P(r,t.tryBlock)||P(r,t.catchClause)||P(r,t.finallyBlock)},299:function(t,r,a){return P(r,t.variableDeclaration)||P(r,t.block)},170:function(t,r,a){return P(r,t.expression)},263:rv,231:rv,264:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.name)||_e(r,a,t.typeParameters)||_e(r,a,t.heritageClauses)||_e(r,a,t.members)},265:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.name)||_e(r,a,t.typeParameters)||P(r,t.type)},266:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.name)||_e(r,a,t.members)},306:function(t,r,a){return P(r,t.name)||P(r,t.initializer)},267:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.name)||P(r,t.body)},271:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.name)||P(r,t.moduleReference)},272:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.importClause)||P(r,t.moduleSpecifier)||P(r,t.assertClause)},273:function(t,r,a){return P(r,t.name)||P(r,t.namedBindings)},300:function(t,r,a){return _e(r,a,t.elements)},301:function(t,r,a){return P(r,t.name)||P(r,t.value)},270:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.name)},274:function(t,r,a){return P(r,t.name)},280:function(t,r,a){return P(r,t.name)},275:nv,279:nv,278:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.exportClause)||P(r,t.moduleSpecifier)||P(r,t.assertClause)},276:iv,281:iv,277:function(t,r,a){return _e(r,a,t.modifiers)||P(r,t.expression)},228:function(t,r,a){return P(r,t.head)||_e(r,a,t.templateSpans)},239:function(t,r,a){return P(r,t.expression)||P(r,t.literal)},203:function(t,r,a){return P(r,t.head)||_e(r,a,t.templateSpans)},204:function(t,r,a){return P(r,t.type)||P(r,t.literal)},167:function(t,r,a){return P(r,t.expression)},298:function(t,r,a){return _e(r,a,t.types)},233:function(t,r,a){return P(r,t.expression)||_e(r,a,t.typeArguments)},283:function(t,r,a){return P(r,t.expression)},282:function(t,r,a){return _e(r,a,t.modifiers)},361:function(t,r,a){return _e(r,a,t.elements)},284:function(t,r,a){return P(r,t.openingElement)||_e(r,a,t.children)||P(r,t.closingElement)},288:function(t,r,a){return P(r,t.openingFragment)||_e(r,a,t.children)||P(r,t.closingFragment)},285:av,286:av,292:function(t,r,a){return _e(r,a,t.properties)},291:function(t,r,a){return P(r,t.name)||P(r,t.initializer)},293:function(t,r,a){return P(r,t.expression)},294:function(t,r,a){return P(r,t.dotDotDotToken)||P(r,t.expression)},287:function(t,r,a){return P(r,t.tagName)},295:function(t,r,a){return P(r,t.namespace)||P(r,t.name)},190:wo,191:wo,316:wo,322:wo,321:wo,323:wo,325:wo,324:function(t,r,a){return _e(r,a,t.parameters)||P(r,t.type)},327:function(t,r,a){return(typeof t.comment=="string"?void 0:_e(r,a,t.comment))||_e(r,a,t.tags)},354:function(t,r,a){return P(r,t.tagName)||P(r,t.name)||(typeof t.comment=="string"?void 0:_e(r,a,t.comment))},317:function(t,r,a){return P(r,t.name)},318:function(t,r,a){return P(r,t.left)||P(r,t.right)},348:ov,355:ov,337:function(t,r,a){return P(r,t.tagName)||(typeof t.comment=="string"?void 0:_e(r,a,t.comment))},336:function(t,r,a){return P(r,t.tagName)||P(r,t.class)||(typeof t.comment=="string"?void 0:_e(r,a,t.comment))},335:function(t,r,a){return P(r,t.tagName)||P(r,t.class)||(typeof t.comment=="string"?void 0:_e(r,a,t.comment))},352:function(t,r,a){return P(r,t.tagName)||P(r,t.constraint)||_e(r,a,t.typeParameters)||(typeof t.comment=="string"?void 0:_e(r,a,t.comment))},353:function(t,r,a){return P(r,t.tagName)||(t.typeExpression&&t.typeExpression.kind===316?P(r,t.typeExpression)||P(r,t.fullName)||(typeof t.comment=="string"?void 0:_e(r,a,t.comment)):P(r,t.fullName)||P(r,t.typeExpression)||(typeof t.comment=="string"?void 0:_e(r,a,t.comment)))},345:function(t,r,a){return P(r,t.tagName)||P(r,t.fullName)||P(r,t.typeExpression)||(typeof t.comment=="string"?void 0:_e(r,a,t.comment))},349:Co,351:Co,350:Co,347:Co,357:Co,356:Co,346:Co,330:function(t,r,a){return yr(t.typeParameters,r)||yr(t.parameters,r)||P(r,t.type)},331:Kh,332:Kh,333:Kh,329:function(t,r,a){return yr(t.jsDocPropertyTags,r)},334:Xa,339:Xa,340:Xa,341:Xa,342:Xa,343:Xa,338:Xa,344:Xa,360:Mj},(e=>{var t=ns(99,!0),r=40960,a,_,p,d,h;function l(c){return wn++,c}var v={createBaseSourceFileNode:c=>l(new h(c,0,0)),createBaseIdentifierNode:c=>l(new p(c,0,0)),createBasePrivateIdentifierNode:c=>l(new d(c,0,0)),createBaseTokenNode:c=>l(new _(c,0,0)),createBaseNode:c=>l(new a(c,0,0))},y=kd(11,v),{createNodeArray:C,createNumericLiteral:S,createStringLiteral:k,createLiteralLikeNode:L,createIdentifier:G,createPrivateIdentifier:K,createToken:ue,createArrayLiteralExpression:Y,createObjectLiteralExpression:B,createPropertyAccessExpression:ae,createPropertyAccessChain:Ce,createElementAccessExpression:Ze,createElementAccessChain:qe,createCallExpression:rt,createCallChain:it,createNewExpression:Ir,createParenthesizedExpression:ar,createBlock:ci,createVariableStatement:or,createExpressionStatement:Nr,createIfStatement:Ge,createWhileStatement:Gt,createForStatement:Ur,createForOfStatement:Xt,createVariableDeclaration:Tn,createVariableDeclarationList:Sn}=y,sr,$t,St,xn,Tr,vt,ct,Ut,fr,ht,wn,Tt,Or,pt,Mr,at,er=!0,Qt=!1;function tn(c,m,b,w,A=!1,R,te){var le;if(R=zS(c,R),R===6){let ie=Un(c,m,b,w,A);return convertToJson(ie,(le=ie.statements[0])==null?void 0:le.expression,ie.parseDiagnostics,!1,void 0),ie.referencedFiles=$e,ie.typeReferenceDirectives=$e,ie.libReferenceDirectives=$e,ie.amdDependencies=$e,ie.hasNoDefaultLib=!1,ie.pragmas=pg,ie}rn(c,m,b,w,R);let ne=Di(b,A,R,te||W8);return nn(),ne}e.parseSourceFile=tn;function Bn(c,m){rn("",c,m,void 0,1),O();let b=la(!0),w=f()===1&&!ct.length;return nn(),w?b:void 0}e.parseIsolatedEntityName=Bn;function Un(c,m,b=2,w,A=!1){rn(c,m,b,w,6),$t=at,O();let R=T(),te,le;if(f()===1)te=Ft([],R,R),le=dr();else{let ve;for(;f()!==1;){let Ue;switch(f()){case 23:Ue=Jc();break;case 112:case 97:case 106:Ue=dr();break;case 41:Te(()=>O()===9&&O()!==59)?Ue=Ac():Ue=Ls();break;case 9:case 11:if(Te(()=>O()!==59)){Ue=fi();break}default:Ue=Ls();break}ve&&zt(ve)?ve.push(Ue):ve?ve=[ve,Ue]:(ve=Ue,f()!==1&&Je(U.Unexpected_token))}let He=zt(ve)?M(Y(ve),R):N.checkDefined(ve),Be=Nr(He);M(Be,R),te=Ft([Be],R),le=Hn(1,U.Unexpected_token)}let ne=ge(c,2,6,!1,te,le,$t,Rn);A&&oe(ne),ne.nodeCount=wn,ne.identifierCount=Or,ne.identifiers=Tt,ne.parseDiagnostics=$a(ct,ne),Ut&&(ne.jsDocDiagnostics=$a(Ut,ne));let ie=ne;return nn(),ie}e.parseJsonText=Un;function rn(c,m,b,w,A){switch(a=wt.getNodeConstructor(),_=wt.getTokenConstructor(),p=wt.getIdentifierConstructor(),d=wt.getPrivateIdentifierConstructor(),h=wt.getSourceFileConstructor(),sr=pn(c),St=m,xn=b,fr=w,Tr=A,vt=R0(A),ct=[],pt=0,Tt=new Map,Or=0,wn=0,$t=0,er=!0,Tr){case 1:case 2:at=524288;break;case 6:at=134742016;break;default:at=0;break}Qt=!1,t.setText(St),t.setOnError(j),t.setScriptTarget(xn),t.setLanguageVariant(vt)}function nn(){t.clearCommentDirectives(),t.setText(""),t.setOnError(void 0),St=void 0,xn=void 0,fr=void 0,Tr=void 0,vt=void 0,$t=0,ct=void 0,Ut=void 0,pt=0,Tt=void 0,Mr=void 0,er=!0}function Di(c,m,b,w){let A=H8(sr);A&&(at|=33554432),$t=at,O();let R=zr(0,wr);N.assert(f()===1);let te=x(),le=Ae(dr(),te),ne=ge(sr,c,b,A,R,le,$t,w);return G8(ne,St),X8(ne,ie),ne.commentDirectives=t.getCommentDirectives(),ne.nodeCount=wn,ne.identifierCount=Or,ne.identifiers=Tt,ne.parseDiagnostics=$a(ct,ne),Ut&&(ne.jsDocDiagnostics=$a(Ut,ne)),m&&oe(ne),ne;function ie(ve,He,Be){ct.push(Ao(sr,ve,He,Be))}}let qn=!1;function Ae(c,m){if(!m)return c;N.assert(!c.jsDoc);let b=Za(H3(c,St),w=>gf.parseJSDocComment(c,w.pos,w.end-w.pos));return b.length&&(c.jsDoc=b),qn&&(qn=!1,c.flags|=536870912),c}function q(c){let m=fr,b=Vf.createSyntaxCursor(c);fr={currentNode:ve};let w=[],A=ct;ct=[];let R=0,te=ne(c.statements,0);for(;te!==-1;){let He=c.statements[R],Be=c.statements[te];Rr(w,c.statements,R,te),R=ie(c.statements,te);let Ue=_l(A,Gr=>Gr.start>=He.pos),Rt=Ue>=0?_l(A,Gr=>Gr.start>=Be.pos,Ue):-1;Ue>=0&&Rr(ct,A,Ue,Rt>=0?Rt:void 0),_r(()=>{let Gr=at;for(at|=65536,t.resetTokenState(Be.pos),O();f()!==1;){let di=t.getTokenFullStart(),mi=gs(0,wr);if(w.push(mi),di===t.getTokenFullStart()&&O(),R>=0){let hi=c.statements[R];if(mi.end===hi.pos)break;mi.end>hi.pos&&(R=ie(c.statements,R+1))}}at=Gr},2),te=R>=0?ne(c.statements,R):-1}if(R>=0){let He=c.statements[R];Rr(w,c.statements,R);let Be=_l(A,Ue=>Ue.start>=He.pos);Be>=0&&Rr(ct,A,Be)}return fr=m,y.updateSourceFile(c,Ve(C(w),c.statements));function le(He){return!(He.flags&65536)&&!!(He.transformFlags&67108864)}function ne(He,Be){for(let Ue=Be;Ue<He.length;Ue++)if(le(He[Ue]))return Ue;return-1}function ie(He,Be){for(let Ue=Be;Ue<He.length;Ue++)if(!le(He[Ue]))return Ue;return-1}function ve(He){let Be=b.currentNode(He);return er&&Be&&le(Be)&&(Be.intersectsChange=!0),Be}}function oe(c){tx(c,!0)}e.fixupParentReferences=oe;function ge(c,m,b,w,A,R,te,le){let ne=y.createSourceFile(A,R,te);return Ed(ne,0,St.length),ie(ne),!w&&Zo(ne)&&ne.transformFlags&67108864&&(ne=q(ne),ie(ne)),ne;function ie(ve){ve.text=St,ve.bindDiagnostics=[],ve.bindSuggestionDiagnostics=void 0,ve.languageVersion=m,ve.fileName=c,ve.languageVariant=R0(b),ve.isDeclarationFile=w,ve.scriptKind=b,le(ve),ve.setExternalModuleIndicator=le}}function Se(c,m){c?at|=m:at&=~m}function nt(c){Se(c,8192)}function z(c){Se(c,16384)}function X(c){Se(c,32768)}function ee(c){Se(c,65536)}function xe(c,m){let b=c&at;if(b){Se(!1,b);let w=m();return Se(!0,b),w}return m()}function ke(c,m){let b=c&~at;if(b){Se(!0,b);let w=m();return Se(!1,b),w}return m()}function Le(c){return xe(8192,c)}function lt(c){return ke(8192,c)}function yt(c){return xe(131072,c)}function jt(c){return ke(131072,c)}function qr(c){return ke(16384,c)}function na(c){return ke(32768,c)}function Cn(c){return ke(65536,c)}function zn(c){return xe(65536,c)}function Pi(c){return ke(81920,c)}function ia(c){return xe(81920,c)}function Wn(c){return(at&c)!==0}function En(){return Wn(16384)}function Ii(){return Wn(8192)}function aa(){return Wn(131072)}function Vn(){return Wn(32768)}function Sr(){return Wn(65536)}function Je(c,...m){return Mt(t.getTokenStart(),t.getTokenEnd(),c,...m)}function oa(c,m,b,...w){let A=wi(ct),R;return(!A||c!==A.start)&&(R=Ao(sr,c,m,b,...w),ct.push(R)),Qt=!0,R}function Mt(c,m,b,...w){return oa(c,m-c,b,...w)}function Lr(c,m,...b){Mt(c.pos,c.end,m,...b)}function j(c,m,b){oa(t.getTokenEnd(),m,c,b)}function T(){return t.getTokenFullStart()}function x(){return t.hasPrecedingJSDocComment()}function f(){return ht}function $(){return ht=t.scan()}function Q(c){return O(),c()}function O(){return Si(ht)&&(t.hasUnicodeEscape()||t.hasExtendedUnicodeEscape())&&Mt(t.getTokenStart(),t.getTokenEnd(),U.Keywords_cannot_contain_escape_characters),$()}function fe(){return ht=t.scanJsDocToken()}function be(c){return ht=t.scanJSDocCommentTextToken(c)}function he(){return ht=t.reScanGreaterToken()}function Re(){return ht=t.reScanSlashToken()}function we(c){return ht=t.reScanTemplateToken(c)}function et(){return ht=t.reScanLessThanToken()}function Ye(){return ht=t.reScanHashToken()}function Ke(){return ht=t.scanJsxIdentifier()}function It(){return ht=t.scanJsxToken()}function qt(){return ht=t.scanJsxAttributeValue()}function _r(c,m){let b=ht,w=ct.length,A=Qt,R=at,te=m!==0?t.lookAhead(c):t.tryScan(c);return N.assert(R===at),(!te||m!==0)&&(ht=b,m!==2&&(ct.length=w),Qt=A),te}function Te(c){return _r(c,1)}function ft(c){return _r(c,0)}function An(){return f()===80?!0:f()>118}function Et(){return f()===80?!0:f()===127&&En()||f()===135&&Sr()?!1:f()>118}function H(c,m,b=!0){return f()===c?(b&&O(),!0):(m?Je(m):Je(U._0_expected,nr(c)),!1)}let Fa=Object.keys(cl).filter(c=>c.length>2);function Ie(c){if(o8(c)){Mt(Nt(St,c.template.pos),c.template.end,U.Module_declaration_names_may_only_use_or_quoted_strings);return}let m=Ee(c)?Ot(c):void 0;if(!m||!Cg(m,xn)){Je(U._0_expected,nr(27));return}let b=Nt(St,c.pos);switch(m){case"const":case"let":case"var":Mt(b,c.end,U.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":ot(U.Interface_name_cannot_be_0,U.Interface_must_be_given_a_name,19);return;case"is":Mt(b,t.getTokenStart(),U.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":ot(U.Namespace_name_cannot_be_0,U.Namespace_must_be_given_a_name,19);return;case"type":ot(U.Type_alias_name_cannot_be_0,U.Type_alias_must_be_given_a_name,64);return}let w=Lv(m,Fa,A=>A)??cr(m);if(w){Mt(b,c.end,U.Unknown_keyword_or_identifier_Did_you_mean_0,w);return}f()!==0&&Mt(b,c.end,U.Unexpected_keyword_or_identifier)}function ot(c,m,b){f()===b?Je(m):Je(c,t.getTokenValue())}function cr(c){for(let m of Fa)if(c.length>m.length+2&&Fr(c,m))return`${m} ${c.slice(m.length)}`}function an(c,m,b){if(f()===60&&!t.hasPrecedingLineBreak()){Je(U.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(f()===21){Je(U.Cannot_start_a_function_call_in_a_type_annotation),O();return}if(m&&!ui()){b?Je(U._0_expected,nr(27)):Je(U.Expected_for_property_initializer);return}if(!fs()){if(b){Je(U._0_expected,nr(27));return}Ie(c)}}function Ba(c){return f()===c?(fe(),!0):(N.assert(Rf(c)),Je(U._0_expected,nr(c)),!1)}function kn(c,m,b,w){if(f()===m){O();return}let A=Je(U._0_expected,nr(m));b&&A&&nl(A,Ao(sr,w,1,U.The_parser_expected_to_find_a_1_to_match_the_0_token_here,nr(c),nr(m)))}function je(c){return f()===c?(O(),!0):!1}function dt(c){if(f()===c)return dr()}function li(c){if(f()===c)return r1()}function Hn(c,m,b){return dt(c)||Jr(c,!1,m||U._0_expected,b||nr(c))}function t1(c){let m=li(c);return m||(N.assert(Rf(c)),Jr(c,!1,U._0_expected,nr(c)))}function dr(){let c=T(),m=f();return O(),M(ue(m),c)}function r1(){let c=T(),m=f();return fe(),M(ue(m),c)}function ui(){return f()===27?!0:f()===20||f()===1||t.hasPrecedingLineBreak()}function fs(){return ui()?(f()===27&&O(),!0):!1}function xr(){return fs()||H(27)}function Ft(c,m,b,w){let A=C(c,w);return Ya(A,m,b??t.getTokenFullStart()),A}function M(c,m,b){return Ya(c,m,b??t.getTokenFullStart()),at&&(c.flags|=at),Qt&&(Qt=!1,c.flags|=262144),c}function Jr(c,m,b,...w){m?oa(t.getTokenFullStart(),0,b,...w):b&&Je(b,...w);let A=T(),R=c===80?G("",void 0):Sl(c)?y.createTemplateLiteralLikeNode(c,"","",void 0):c===9?S("",void 0):c===11?k("",void 0):c===282?y.createMissingDeclaration():ue(c);return M(R,A)}function sa(c){let m=Tt.get(c);return m===void 0&&Tt.set(c,m=c),m}function Ni(c,m,b){if(c){Or++;let le=T(),ne=f(),ie=sa(t.getTokenValue()),ve=t.hasExtendedUnicodeEscape();return $(),M(G(ie,ne,ve),le)}if(f()===81)return Je(b||U.Private_identifiers_are_not_allowed_outside_class_bodies),Ni(!0);if(f()===0&&t.tryScan(()=>t.reScanInvalidIdentifier()===80))return Ni(!0);Or++;let w=f()===1,A=t.isReservedWord(),R=t.getTokenText(),te=A?U.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:U.Identifier_expected;return Jr(80,w,m||te,R)}function G_(c){return Ni(An(),void 0,c)}function Lt(c,m){return Ni(Et(),c,m)}function Yt(c){return Ni(kt(f()),c)}function Oi(){return kt(f())||f()===11||f()===9}function n1(){return kt(f())||f()===11}function Tu(c){if(f()===11||f()===9){let m=fi();return m.text=sa(m.text),m}return c&&f()===23?Su():f()===81?X_():Yt()}function Ua(){return Tu(!0)}function Su(){let c=T();H(23);let m=Le(Jt);return H(24),M(y.createComputedPropertyName(m),c)}function X_(){let c=T(),m=K(sa(t.getTokenValue()));return O(),M(m,c)}function _a(c){return f()===c&&ft($_)}function xu(){return O(),t.hasPrecedingLineBreak()?!1:ms()}function $_(){switch(f()){case 87:return O()===94;case 95:return O(),f()===90?Te(Mi):f()===156?Te(ds):wu();case 90:return Mi();case 126:case 139:case 153:return O(),ms();default:return xu()}}function wu(){return f()===60||f()!==42&&f()!==130&&f()!==19&&ms()}function ds(){return O(),wu()}function i1(){return bi(f())&&ft($_)}function ms(){return f()===23||f()===19||f()===42||f()===26||Oi()}function Mi(){return O(),f()===86||f()===100||f()===120||f()===60||f()===128&&Te(oh)||f()===134&&Te(Fc)}function Q_(c,m){if(bs(c))return!0;switch(c){case 0:case 1:case 3:return!(f()===27&&m)&&Bc();case 2:return f()===84||f()===90;case 4:return Te(Xu);case 5:return Te(mh)||f()===27&&!m;case 6:return f()===23||Oi();case 12:switch(f()){case 23:case 42:case 26:case 25:return!0;default:return Oi()}case 18:return Oi();case 9:return f()===23||f()===26||Oi();case 24:return n1();case 7:return f()===19?Te(hs):m?Et()&&!Eu():Sc()&&!Eu();case 8:return zc();case 10:return f()===28||f()===26||zc();case 19:return f()===103||f()===87||Et();case 15:switch(f()){case 28:case 25:return!0}case 11:return f()===26||Ri();case 16:return _c(!1);case 17:return _c(!0);case 20:case 21:return f()===28||pa();case 22:return lf();case 23:return f()===161&&Te(Yp)?!1:kt(f());case 13:return kt(f())||f()===19;case 14:return!0;case 25:return!0;case 26:return N.fail("ParsingContext.Count used as a context");default:N.assertNever(c,"Non-exhaustive case in 'isListElement'.")}}function hs(){if(N.assert(f()===19),O()===20){let c=O();return c===28||c===19||c===96||c===119}return!0}function ys(){return O(),Et()}function Cu(){return O(),kt(f())}function Y_(){return O(),r4(f())}function Eu(){return f()===119||f()===96?Te(Au):!1}function Au(){return O(),Ri()}function ku(){return O(),pa()}function po(c){if(f()===1)return!0;switch(c){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return f()===20;case 3:return f()===20||f()===84||f()===90;case 7:return f()===19||f()===96||f()===119;case 8:return fo();case 19:return f()===32||f()===21||f()===19||f()===96||f()===119;case 11:return f()===22||f()===27;case 15:case 21:case 10:return f()===24;case 17:case 16:case 18:return f()===22||f()===24;case 20:return f()!==28;case 22:return f()===19||f()===20;case 13:return f()===32||f()===44;case 14:return f()===30&&Te(kh);default:return!1}}function fo(){return!!(ui()||Cc(f())||f()===39)}function a1(){N.assert(pt,"Missing parsing context");for(let c=0;c<26;c++)if(pt&1<<c&&(Q_(c,!0)||po(c)))return!0;return!1}function zr(c,m){let b=pt;pt|=1<<c;let w=[],A=T();for(;!po(c);){if(Q_(c,!1)){w.push(gs(c,m));continue}if(tc(c))break}return pt=b,Ft(w,A)}function gs(c,m){let b=bs(c);return b?Du(b):m()}function bs(c,m){var b;if(!fr||!Pu(c)||Qt)return;let w=fr.currentNode(m??t.getTokenFullStart());if(!(zi(w)||w.intersectsChange||xl(w)||(w.flags&101441536)!==at)&&o1(w,c))return mm(w)&&((b=w.jsDoc)!=null&&b.jsDocCache)&&(w.jsDoc.jsDocCache=void 0),w}function Du(c){return t.resetTokenState(c.end),O(),c}function Pu(c){switch(c){case 5:case 2:case 0:case 1:case 3:case 6:case 4:case 8:case 17:case 16:return!0}return!1}function o1(c,m){switch(m){case 5:return Iu(c);case 2:return Nu(c);case 0:case 1:case 3:return K_(c);case 6:return Ou(c);case 4:return Z_(c);case 8:return Mu(c);case 17:case 16:return ec(c)}return!1}function Iu(c){if(c)switch(c.kind){case 176:case 181:case 177:case 178:case 172:case 240:return!0;case 174:let m=c;return!(m.name.kind===80&&m.name.escapedText==="constructor")}return!1}function Nu(c){if(c)switch(c.kind){case 296:case 297:return!0}return!1}function K_(c){if(c)switch(c.kind){case 262:case 243:case 241:case 245:case 244:case 257:case 253:case 255:case 252:case 251:case 249:case 250:case 248:case 247:case 254:case 242:case 258:case 256:case 246:case 259:case 272:case 271:case 278:case 277:case 267:case 263:case 264:case 266:case 265:return!0}return!1}function Ou(c){return c.kind===306}function Z_(c){if(c)switch(c.kind){case 180:case 173:case 181:case 171:case 179:return!0}return!1}function Mu(c){return c.kind!==260?!1:c.initializer===void 0}function ec(c){return c.kind!==169?!1:c.initializer===void 0}function tc(c){return Lu(c),a1()?!0:(O(),!1)}function Lu(c){switch(c){case 0:return f()===90?Je(U._0_expected,nr(95)):Je(U.Declaration_or_statement_expected);case 1:return Je(U.Declaration_or_statement_expected);case 2:return Je(U.case_or_default_expected);case 3:return Je(U.Statement_expected);case 18:case 4:return Je(U.Property_or_signature_expected);case 5:return Je(U.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);case 6:return Je(U.Enum_member_expected);case 7:return Je(U.Expression_expected);case 8:return Si(f())?Je(U._0_is_not_allowed_as_a_variable_declaration_name,nr(f())):Je(U.Variable_declaration_expected);case 9:return Je(U.Property_destructuring_pattern_expected);case 10:return Je(U.Array_element_destructuring_pattern_expected);case 11:return Je(U.Argument_expression_expected);case 12:return Je(U.Property_assignment_expected);case 15:return Je(U.Expression_or_comma_expected);case 17:return Je(U.Parameter_declaration_expected);case 16:return Si(f())?Je(U._0_is_not_allowed_as_a_parameter_name,nr(f())):Je(U.Parameter_declaration_expected);case 19:return Je(U.Type_parameter_declaration_expected);case 20:return Je(U.Type_argument_expected);case 21:return Je(U.Type_expected);case 22:return Je(U.Unexpected_token_expected);case 23:return f()===161?Je(U._0_expected,"}"):Je(U.Identifier_expected);case 13:return Je(U.Identifier_expected);case 14:return Je(U.Identifier_expected);case 24:return Je(U.Identifier_or_string_literal_expected);case 25:return Je(U.Identifier_expected);case 26:return N.fail("ParsingContext.Count used as a context");default:N.assertNever(c)}}function Wr(c,m,b){let w=pt;pt|=1<<c;let A=[],R=T(),te=-1;for(;;){if(Q_(c,!1)){let le=t.getTokenFullStart(),ne=gs(c,m);if(!ne){pt=w;return}if(A.push(ne),te=t.getTokenStart(),je(28))continue;if(te=-1,po(c))break;H(28,vs(c)),b&&f()===27&&!t.hasPrecedingLineBreak()&&O(),le===t.getTokenFullStart()&&O();continue}if(po(c)||tc(c))break}return pt=w,Ft(A,R,void 0,te>=0)}function vs(c){return c===6?U.An_enum_member_name_must_be_followed_by_a_or:void 0}function pi(){let c=Ft([],T());return c.isMissingList=!0,c}function rc(c){return!!c.isMissingList}function ca(c,m,b,w){if(H(b)){let A=Wr(c,m);return H(w),A}return pi()}function la(c,m){let b=T(),w=c?Yt(m):Lt(m);for(;je(25)&&f()!==30;)w=M(y.createQualifiedName(w,qa(c,!1)),b);return w}function s1(c,m){return M(y.createQualifiedName(c,m),c.pos)}function qa(c,m){if(t.hasPrecedingLineBreak()&&kt(f())&&Te(Js))return Jr(80,!0,U.Identifier_expected);if(f()===81){let b=X_();return m?b:Jr(80,!0,U.Identifier_expected)}return c?Yt():Lt()}function _1(c){let m=T(),b=[],w;do w=ju(c),b.push(w);while(w.literal.kind===17);return Ft(b,m)}function Ts(c){let m=T();return M(y.createTemplateExpression(ic(c),_1(c)),m)}function c1(){let c=T();return M(y.createTemplateLiteralType(ic(!1),nc()),c)}function nc(){let c=T(),m=[],b;do b=Ju(),m.push(b);while(b.literal.kind===17);return Ft(m,c)}function Ju(){let c=T();return M(y.createTemplateLiteralTypeSpan(gt(),Ru(!1)),c)}function Ru(c){return f()===20?(we(c),l1()):Hn(18,U._0_expected,nr(20))}function ju(c){let m=T();return M(y.createTemplateSpan(Le(Jt),Ru(c)),m)}function fi(){return za(f())}function ic(c){!c&&t.getTokenFlags()&26656&&we(!1);let m=za(f());return N.assert(m.kind===16,"Template head has wrong token kind"),m}function l1(){let c=za(f());return N.assert(c.kind===17||c.kind===18,"Template fragment has wrong token kind"),c}function Ss(c){let m=c===15||c===18,b=t.getTokenText();return b.substring(1,b.length-(t.isUnterminated()?0:m?1:2))}function za(c){let m=T(),b=Sl(c)?y.createTemplateLiteralLikeNode(c,t.getTokenValue(),Ss(c),t.getTokenFlags()&7176):c===9?S(t.getTokenValue(),t.getNumericLiteralFlags()):c===11?k(t.getTokenValue(),void 0,t.hasExtendedUnicodeEscape()):Ng(c)?L(c,t.getTokenValue()):N.fail();return t.hasExtendedUnicodeEscape()&&(b.hasExtendedUnicodeEscape=!0),t.isUnterminated()&&(b.isUnterminated=!0),O(),M(b,m)}function Fu(){return la(!0,U.Type_expected)}function ac(){if(!t.hasPrecedingLineBreak()&&et()===30)return ca(20,gt,30,32)}function Li(){let c=T();return M(y.createTypeReferenceNode(Fu(),ac()),c)}function oc(c){switch(c.kind){case 183:return zi(c.typeName);case 184:case 185:{let{parameters:m,type:b}=c;return rc(m)||oc(b)}case 196:return oc(c.type);default:return!1}}function u1(c){return O(),M(y.createTypePredicateNode(void 0,c,gt()),c.pos)}function Bu(){let c=T();return O(),M(y.createThisTypeNode(),c)}function p1(){let c=T();return O(),M(y.createJSDocAllType(),c)}function Uu(){let c=T();return O(),M(y.createJSDocNonNullableType(op(),!1),c)}function f1(){let c=T();return O(),f()===28||f()===20||f()===22||f()===32||f()===64||f()===52?M(y.createJSDocUnknownType(),c):M(y.createJSDocNullableType(gt(),!1),c)}function qu(){let c=T(),m=x();if(Te(df)){O();let b=Gn(36),w=Dn(59,!1);return Ae(M(y.createJSDocFunctionType(b,w),c),m)}return M(y.createTypeReferenceNode(Yt(),void 0),c)}function d1(){let c=T(),m;return(f()===110||f()===105)&&(m=Yt(),H(59)),M(y.createParameterDeclaration(void 0,void 0,m,void 0,xs(),void 0),c)}function xs(){t.setInJSDocType(!0);let c=T();if(je(144)){let w=y.createJSDocNamepathType(void 0);e:for(;;)switch(f()){case 20:case 1:case 28:case 5:break e;default:fe()}return t.setInJSDocType(!1),M(w,c)}let m=je(26),b=vc();return t.setInJSDocType(!1),m&&(b=M(y.createJSDocVariadicType(b),c)),f()===64?(O(),M(y.createJSDocOptionalType(b),c)):b}function sc(){let c=T();H(114);let m=la(!0),b=t.hasPrecedingLineBreak()?void 0:qs();return M(y.createTypeQueryNode(m,b),c)}function m1(){let c=T(),m=Xn(!1,!0),b=Lt(),w,A;je(96)&&(pa()||!Ri()?w=gt():A=Ps());let R=je(64)?gt():void 0,te=y.createTypeParameterDeclaration(m,b,w,R);return te.expression=A,M(te,c)}function Vr(){if(f()===30)return ca(19,m1,30,32)}function _c(c){return f()===26||zc()||bi(f())||f()===60||pa(!c)}function zu(c){let m=Va(U.Private_identifiers_cannot_be_used_as_parameters);return sm(m)===0&&!mt(c)&&bi(f())&&O(),m}function Wu(){return An()||f()===23||f()===19}function cc(c){return lc(c)}function Vu(c){return lc(c,!1)}function lc(c,m=!0){let b=T(),w=x(),A=c?Cn(()=>Xn(!0)):zn(()=>Xn(!0));if(f()===110){let ne=y.createParameterDeclaration(A,void 0,Ni(!0),void 0,Ji(),void 0),ie=g_(A);return ie&&Lr(ie,U.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),Ae(M(ne,b),w)}let R=er;er=!1;let te=dt(26);if(!m&&!Wu())return;let le=Ae(M(y.createParameterDeclaration(A,te,zu(A),dt(58),Ji(),ji()),b),w);return er=R,le}function Dn(c,m){if(Hu(c,m))return yt(vc)}function Hu(c,m){return c===39?(H(c),!0):je(59)?!0:m&&f()===39?(Je(U._0_expected,nr(59)),O(),!0):!1}function ws(c,m){let b=En(),w=Sr();z(!!(c&1)),ee(!!(c&2));let A=c&32?Wr(17,d1):Wr(16,()=>m?cc(w):Vu(w));return z(b),ee(w),A}function Gn(c){if(!H(21))return pi();let m=ws(c,!0);return H(22),m}function Cs(){je(28)||xr()}function uc(c){let m=T(),b=x();c===180&&H(105);let w=Vr(),A=Gn(4),R=Dn(59,!0);Cs();let te=c===179?y.createCallSignature(w,A,R):y.createConstructSignature(w,A,R);return Ae(M(te,m),b)}function Gu(){return f()===23&&Te(h1)}function h1(){if(O(),f()===26||f()===24)return!0;if(bi(f())){if(O(),Et())return!0}else if(Et())O();else return!1;return f()===59||f()===28?!0:f()!==58?!1:(O(),f()===59||f()===28||f()===24)}function ua(c,m,b){let w=ca(16,()=>cc(!1),23,24),A=Ji();Cs();let R=y.createIndexSignature(b,w,A);return Ae(M(R,c),m)}function y1(c,m,b){let w=Ua(),A=dt(58),R;if(f()===21||f()===30){let te=Vr(),le=Gn(4),ne=Dn(59,!0);R=y.createMethodSignature(b,w,A,te,le,ne)}else{let te=Ji();R=y.createPropertySignature(b,w,A,te),f()===64&&(R.initializer=ji())}return Cs(),Ae(M(R,c),m)}function Xu(){if(f()===21||f()===30||f()===139||f()===153)return!0;let c=!1;for(;bi(f());)c=!0,O();return f()===23?!0:(Oi()&&(c=!0,O()),c?f()===21||f()===30||f()===58||f()===59||f()===28||ui():!1)}function pc(){if(f()===21||f()===30)return uc(179);if(f()===105&&Te(fc))return uc(180);let c=T(),m=x(),b=Xn(!1);return _a(139)?da(c,m,b,177,4):_a(153)?da(c,m,b,178,4):Gu()?ua(c,m,b):y1(c,m,b)}function fc(){return O(),f()===21||f()===30}function Es(){return O()===25}function $u(){switch(O()){case 21:case 30:case 25:return!0}return!1}function Qu(){let c=T();return M(y.createTypeLiteralNode(Yu()),c)}function Yu(){let c;return H(19)?(c=zr(4,pc),H(20)):c=pi(),c}function Ku(){return O(),f()===40||f()===41?O()===148:(f()===148&&O(),f()===23&&ys()&&O()===103)}function g1(){let c=T(),m=Yt();H(103);let b=gt();return M(y.createTypeParameterDeclaration(void 0,m,b,void 0),c)}function Zu(){let c=T();H(19);let m;(f()===148||f()===40||f()===41)&&(m=dr(),m.kind!==148&&H(148)),H(23);let b=g1(),w=je(130)?gt():void 0;H(24);let A;(f()===58||f()===40||f()===41)&&(A=dr(),A.kind!==58&&H(58));let R=Ji();xr();let te=zr(4,pc);return H(20),M(y.createMappedTypeNode(m,b,w,A,R,te),c)}function ep(){let c=T();if(je(26))return M(y.createRestTypeNode(gt()),c);let m=gt();if(b8(m)&&m.pos===m.type.pos){let b=y.createOptionalTypeNode(m.type);return Ve(b,m),b.flags=m.flags,b}return m}function dc(){return O()===59||f()===58&&O()===59}function b1(){return f()===26?kt(O())&&dc():kt(f())&&dc()}function tp(){if(Te(b1)){let c=T(),m=x(),b=dt(26),w=Yt(),A=dt(58);H(59);let R=ep(),te=y.createNamedTupleMember(b,w,A,R);return Ae(M(te,c),m)}return ep()}function v1(){let c=T();return M(y.createTupleTypeNode(ca(21,tp,23,24)),c)}function rp(){let c=T();H(21);let m=gt();return H(22),M(y.createParenthesizedType(m),c)}function T1(){let c;if(f()===128){let m=T();O();let b=M(ue(128),m);c=Ft([b],m)}return c}function mc(){let c=T(),m=x(),b=T1(),w=je(105);N.assert(!b||w,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");let A=Vr(),R=Gn(4),te=Dn(39,!1),le=w?y.createConstructorTypeNode(b,A,R,te):y.createFunctionTypeNode(A,R,te);return Ae(M(le,c),m)}function np(){let c=dr();return f()===25?void 0:c}function hc(c){let m=T();c&&O();let b=f()===112||f()===97||f()===106?dr():za(f());return c&&(b=M(y.createPrefixUnaryExpression(41,b),m)),M(y.createLiteralTypeNode(b),m)}function S1(){return O(),f()===102}function ip(){let c=T(),m=t.getTokenStart();H(19);let b=t.hasPrecedingLineBreak();H(132),H(59);let w=ma(!0);if(!H(20)){let A=wi(ct);A&&A.code===U._0_expected.code&&nl(A,Ao(sr,m,1,U.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return M(y.createImportTypeAssertionContainer(w,b),c)}function ap(){$t|=4194304;let c=T(),m=je(114);H(102),H(21);let b=gt(),w;je(28)&&(w=ip()),H(22);let A=je(25)?Fu():void 0,R=ac();return M(y.createImportTypeNode(b,w,A,R,m),c)}function yc(){return O(),f()===9||f()===10}function op(){switch(f()){case 133:case 159:case 154:case 150:case 163:case 155:case 136:case 157:case 146:case 151:return ft(np)||Li();case 67:t.reScanAsteriskEqualsToken();case 42:return p1();case 61:t.reScanQuestionToken();case 58:return f1();case 100:return qu();case 54:return Uu();case 15:case 11:case 9:case 10:case 112:case 97:case 106:return hc();case 41:return Te(yc)?hc(!0):Li();case 116:return dr();case 110:{let c=Bu();return f()===142&&!t.hasPrecedingLineBreak()?u1(c):c}case 114:return Te(S1)?ap():sc();case 19:return Te(Ku)?Zu():Qu();case 23:return v1();case 21:return rp();case 102:return ap();case 131:return Te(Js)?dp():Li();case 16:return c1();default:return Li()}}function pa(c){switch(f()){case 133:case 159:case 154:case 150:case 163:case 136:case 148:case 155:case 158:case 116:case 157:case 106:case 110:case 114:case 146:case 19:case 23:case 30:case 52:case 51:case 105:case 11:case 9:case 10:case 112:case 97:case 151:case 42:case 58:case 54:case 26:case 140:case 102:case 131:case 15:case 16:return!0;case 100:return!c;case 41:return!c&&Te(yc);case 21:return!c&&Te(x1);default:return Et()}}function x1(){return O(),f()===22||_c(!1)||pa()}function sp(){let c=T(),m=op();for(;!t.hasPrecedingLineBreak();)switch(f()){case 54:O(),m=M(y.createJSDocNonNullableType(m,!0),c);break;case 58:if(Te(ku))return m;O(),m=M(y.createJSDocNullableType(m,!0),c);break;case 23:if(H(23),pa()){let b=gt();H(24),m=M(y.createIndexedAccessTypeNode(m,b),c)}else H(24),m=M(y.createArrayTypeNode(m),c);break;default:return m}return m}function _p(c){let m=T();return H(c),M(y.createTypeOperatorNode(c,up()),m)}function cp(){if(je(96)){let c=jt(gt);if(aa()||f()!==58)return c}}function w1(){let c=T(),m=Lt(),b=ft(cp),w=y.createTypeParameterDeclaration(void 0,m,b);return M(w,c)}function lp(){let c=T();return H(140),M(y.createInferTypeNode(w1()),c)}function up(){let c=f();switch(c){case 143:case 158:case 148:return _p(c);case 140:return lp()}return yt(sp)}function pp(c){if(bc()){let m=mc(),b;return tu(m)?b=c?U.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:U.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:b=c?U.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:U.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,Lr(m,b),m}}function As(c,m,b){let w=T(),A=c===52,R=je(c),te=R&&pp(A)||m();if(f()===c||R){let le=[te];for(;je(c);)le.push(pp(A)||m());te=M(b(Ft(le,w)),w)}return te}function C1(){return As(51,up,y.createIntersectionTypeNode)}function gc(){return As(52,C1,y.createUnionTypeNode)}function E1(){return O(),f()===105}function bc(){return f()===30||f()===21&&Te(A1)?!0:f()===105||f()===128&&Te(E1)}function fp(){if(bi(f())&&Xn(!1),Et()||f()===110)return O(),!0;if(f()===23||f()===19){let c=ct.length;return Va(),c===ct.length}return!1}function A1(){return O(),!!(f()===22||f()===26||fp()&&(f()===59||f()===28||f()===58||f()===64||f()===22&&(O(),f()===39)))}function vc(){let c=T(),m=Et()&&ft(Tc),b=gt();return m?M(y.createTypePredicateNode(void 0,m,b),c):b}function Tc(){let c=Lt();if(f()===142&&!t.hasPrecedingLineBreak())return O(),c}function dp(){let c=T(),m=Hn(131),b=f()===110?Bu():Lt(),w=je(142)?gt():void 0;return M(y.createTypePredicateNode(m,b,w),c)}function gt(){if(at&81920)return xe(81920,gt);if(bc())return mc();let c=T(),m=gc();if(!aa()&&!t.hasPrecedingLineBreak()&&je(96)){let b=jt(gt);H(58);let w=yt(gt);H(59);let A=yt(gt);return M(y.createConditionalTypeNode(m,b,w,A),c)}return m}function Ji(){return je(59)?gt():void 0}function Sc(){switch(f()){case 110:case 108:case 106:case 112:case 97:case 9:case 10:case 11:case 15:case 16:case 21:case 23:case 19:case 100:case 86:case 105:case 44:case 69:case 80:return!0;case 102:return Te($u);default:return Et()}}function Ri(){if(Sc())return!0;switch(f()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 46:case 47:case 30:case 135:case 127:case 81:case 60:return!0;default:return Ec()?!0:Et()}}function mp(){return f()!==19&&f()!==100&&f()!==86&&f()!==60&&Ri()}function Jt(){let c=Vn();c&&X(!1);let m=T(),b=tr(!0),w;for(;w=dt(28);)b=Ds(b,w,tr(!0),m);return c&&X(!0),b}function ji(){return je(64)?tr(!0):void 0}function tr(c){if(k1())return D1();let m=P1(c)||bp(c);if(m)return m;let b=T(),w=x(),A=ks(0);return A.kind===80&&f()===39?xc(b,A,c,w,void 0):Lo(A)&&D_(he())?Ds(A,dr(),tr(c),b):Sp(A,b,c)}function k1(){return f()===127?En()?!0:Te(zp):!1}function hp(){return O(),!t.hasPrecedingLineBreak()&&Et()}function D1(){let c=T();return O(),!t.hasPrecedingLineBreak()&&(f()===42||Ri())?M(y.createYieldExpression(dt(42),tr(!0)),c):M(y.createYieldExpression(void 0,void 0),c)}function xc(c,m,b,w,A){N.assert(f()===39,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");let R=y.createParameterDeclaration(void 0,void 0,m,void 0,void 0,void 0);M(R,m.pos);let te=Ft([R],R.pos,R.end),le=Hn(39),ne=Tp(!!A,b),ie=y.createArrowFunction(A,void 0,te,void 0,le,ne);return Ae(M(ie,c),w)}function P1(c){let m=I1();if(m!==0)return m===1?wc(!0,!0):ft(()=>gp(c))}function I1(){return f()===21||f()===30||f()===134?Te(yp):f()===39?1:0}function yp(){if(f()===134&&(O(),t.hasPrecedingLineBreak()||f()!==21&&f()!==30))return 0;let c=f(),m=O();if(c===21){if(m===22)switch(O()){case 39:case 59:case 19:return 1;default:return 0}if(m===23||m===19)return 2;if(m===26)return 1;if(bi(m)&&m!==134&&Te(ys))return O()===130?0:1;if(!Et()&&m!==110)return 0;switch(O()){case 59:return 1;case 58:return O(),f()===59||f()===28||f()===64||f()===22?1:0;case 28:case 64:case 22:return 2}return 0}else return N.assert(c===30),!Et()&&f()!==87?0:vt===1?Te(()=>{je(87);let w=O();if(w===96)switch(O()){case 64:case 32:case 44:return!1;default:return!0}else if(w===28||w===64)return!0;return!1})?1:0:2}function gp(c){let m=t.getTokenStart();if(Mr!=null&&Mr.has(m))return;let b=wc(!1,c);return b||(Mr||(Mr=new Set)).add(m),b}function bp(c){if(f()===134&&Te(vp)===1){let m=T(),b=x(),w=Hc(),A=ks(0);return xc(m,A,c,b,w)}}function vp(){if(f()===134){if(O(),t.hasPrecedingLineBreak()||f()===39)return 0;let c=ks(0);if(!t.hasPrecedingLineBreak()&&c.kind===80&&f()===39)return 1}return 0}function wc(c,m){let b=T(),w=x(),A=Hc(),R=mt(A,al)?2:0,te=Vr(),le;if(H(21)){if(c)le=ws(R,c);else{let di=ws(R,c);if(!di)return;le=di}if(!H(22)&&!c)return}else{if(!c)return;le=pi()}let ne=f()===59,ie=Dn(59,!1);if(ie&&!c&&oc(ie))return;let ve=ie;for(;(ve==null?void 0:ve.kind)===196;)ve=ve.type;let He=ve&&Mm(ve);if(!c&&f()!==39&&(He||f()!==19))return;let Be=f(),Ue=Hn(39),Rt=Be===39||Be===19?Tp(mt(A,al),m):Lt();if(!m&&ne&&f()!==59)return;let Gr=y.createArrowFunction(A,te,le,ie,Ue,Rt);return Ae(M(Gr,b),w)}function Tp(c,m){if(f()===19)return go(c?2:0);if(f()!==27&&f()!==100&&f()!==86&&Bc()&&!mp())return go(16|(c?2:0));let b=er;er=!1;let w=c?Cn(()=>tr(m)):zn(()=>tr(m));return er=b,w}function Sp(c,m,b){let w=dt(58);if(!w)return c;let A;return M(y.createConditionalExpression(c,w,xe(r,()=>tr(!1)),A=Hn(59),wl(A)?tr(b):Jr(80,!1,U._0_expected,nr(59))),m)}function ks(c){let m=T(),b=Ps();return xp(c,b,m)}function Cc(c){return c===103||c===165}function xp(c,m,b){for(;;){he();let w=pl(f());if(!(f()===43?w>=c:w>c)||f()===103&&Ii())break;if(f()===130||f()===152){if(t.hasPrecedingLineBreak())break;{let R=f();O(),m=R===152?N1(m,gt()):O1(m,gt())}}else m=Ds(m,dr(),ks(w),b)}return m}function Ec(){return Ii()&&f()===103?!1:pl(f())>0}function N1(c,m){return M(y.createSatisfiesExpression(c,m),c.pos)}function Ds(c,m,b,w){return M(y.createBinaryExpression(c,m,b),w)}function O1(c,m){return M(y.createAsExpression(c,m),c.pos)}function Ac(){let c=T();return M(y.createPrefixUnaryExpression(f(),Q(Fi)),c)}function M1(){let c=T();return M(y.createDeleteExpression(Q(Fi)),c)}function wp(){let c=T();return M(y.createTypeOfExpression(Q(Fi)),c)}function L1(){let c=T();return M(y.createVoidExpression(Q(Fi)),c)}function Cp(){return f()===135?Sr()?!0:Te(zp):!1}function J1(){let c=T();return M(y.createAwaitExpression(Q(Fi)),c)}function Ps(){if(kc()){let b=T(),w=Dc();return f()===43?xp(pl(f()),w,b):w}let c=f(),m=Fi();if(f()===43){let b=Nt(St,m.pos),{end:w}=m;m.kind===216?Mt(b,w,U.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):(N.assert(Rf(c)),Mt(b,w,U.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,nr(c)))}return m}function Fi(){switch(f()){case 40:case 41:case 55:case 54:return Ac();case 91:return M1();case 114:return wp();case 116:return L1();case 30:return vt===1?fa(!0,void 0,void 0,!0):V1();case 135:if(Cp())return J1();default:return Dc()}}function kc(){switch(f()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 135:return!1;case 30:if(vt!==1)return!1;default:return!0}}function Dc(){if(f()===46||f()===47){let m=T();return M(y.createPrefixUnaryExpression(f(),Q(Is)),m)}else if(vt===1&&f()===30&&Te(Y_))return fa(!0);let c=Is();if(N.assert(Lo(c)),(f()===46||f()===47)&&!t.hasPrecedingLineBreak()){let m=f();return O(),M(y.createPostfixUnaryExpression(c,m),c.pos)}return c}function Is(){let c=T(),m;return f()===102?Te(fc)?($t|=4194304,m=dr()):Te(Es)?(O(),O(),m=M(y.createMetaProperty(102,Yt()),c),$t|=8388608):m=Ns():m=f()===108?R1():Ns(),Ip(c,m)}function Ns(){let c=T(),m=Op();return ho(c,m,!0)}function R1(){let c=T(),m=dr();if(f()===30){let b=T(),w=ft(Mc);w!==void 0&&(Mt(b,T(),U.super_may_not_use_type_arguments),Os()||(m=y.createExpressionWithTypeArguments(m,w)))}return f()===21||f()===25||f()===23?m:(Hn(25,U.super_must_be_followed_by_an_argument_list_or_member_access),M(ae(m,qa(!0,!0)),c))}function fa(c,m,b,w=!1){let A=T(),R=U1(c),te;if(R.kind===286){let le=Pc(R),ne,ie=le[le.length-1];if((ie==null?void 0:ie.kind)===284&&!Ti(ie.openingElement.tagName,ie.closingElement.tagName)&&Ti(R.tagName,ie.closingElement.tagName)){let ve=ie.children.end,He=M(y.createJsxElement(ie.openingElement,ie.children,M(y.createJsxClosingElement(M(G(""),ve,ve)),ve,ve)),ie.openingElement.pos,ve);le=Ft([...le.slice(0,le.length-1),He],le.pos,ve),ne=ie.closingElement}else ne=W1(R,c),Ti(R.tagName,ne.tagName)||(b&&Oo(b)&&Ti(ne.tagName,b.tagName)?Lr(R.tagName,U.JSX_element_0_has_no_corresponding_closing_tag,t_(St,R.tagName)):Lr(ne.tagName,U.Expected_corresponding_JSX_closing_tag_for_0,t_(St,R.tagName)));te=M(y.createJsxElement(R,le,ne),A)}else R.kind===289?te=M(y.createJsxFragment(R,Pc(R),Dp(c)),A):(N.assert(R.kind===285),te=R);if(!w&&c&&f()===30){let le=typeof m>"u"?te.pos:m,ne=ft(()=>fa(!0,le));if(ne){let ie=Jr(28,!1);return Ed(ie,ne.pos,0),Mt(Nt(St,le),ne.end,U.JSX_expressions_must_have_one_parent_element),M(y.createBinaryExpression(te,ie,ne),A)}}return te}function j1(){let c=T(),m=y.createJsxText(t.getTokenValue(),ht===13);return ht=t.scanJsxToken(),M(m,c)}function F1(c,m){switch(m){case 1:if(k6(c))Lr(c,U.JSX_fragment_has_no_corresponding_closing_tag);else{let b=c.tagName,w=Math.min(Nt(St,b.pos),b.end);Mt(w,b.end,U.JSX_element_0_has_no_corresponding_closing_tag,t_(St,c.tagName))}return;case 31:case 7:return;case 12:case 13:return j1();case 19:return Ep(!1);case 30:return fa(!1,void 0,c);default:return N.assertNever(m)}}function Pc(c){let m=[],b=T(),w=pt;for(pt|=16384;;){let A=F1(c,ht=t.reScanJsxToken());if(!A||(m.push(A),Oo(c)&&(A==null?void 0:A.kind)===284&&!Ti(A.openingElement.tagName,A.closingElement.tagName)&&Ti(c.tagName,A.closingElement.tagName)))break}return pt=w,Ft(m,b)}function B1(){let c=T();return M(y.createJsxAttributes(zr(13,q1)),c)}function U1(c){let m=T();if(H(30),f()===32)return It(),M(y.createJsxOpeningFragment(),m);let b=Ic(),w=at&524288?void 0:qs(),A=B1(),R;return f()===32?(It(),R=y.createJsxOpeningElement(b,w,A)):(H(44),H(32,void 0,!1)&&(c?O():It()),R=y.createJsxSelfClosingElement(b,w,A)),M(R,m)}function Ic(){let c=T(),m=Nc();if(U_(m))return m;let b=m;for(;je(25);)b=M(ae(b,qa(!0,!1)),c);return b}function Nc(){let c=T();Ke();let m=f()===110,b=Yt();return je(59)?(Ke(),M(y.createJsxNamespacedName(b,Yt()),c)):m?M(y.createToken(110),c):b}function Ep(c){let m=T();if(!H(19))return;let b,w;return f()!==20&&(b=dt(26),w=Jt()),c?H(20):H(20,void 0,!1)&&It(),M(y.createJsxExpression(b,w),m)}function q1(){if(f()===19)return kp();let c=T();return M(y.createJsxAttribute(z1(),Ap()),c)}function Ap(){if(f()===64){if(qt()===11)return fi();if(f()===19)return Ep(!0);if(f()===30)return fa(!0);Je(U.or_JSX_element_expected)}}function z1(){let c=T();Ke();let m=Yt();return je(59)?(Ke(),M(y.createJsxNamespacedName(m,Yt()),c)):m}function kp(){let c=T();H(19),H(26);let m=Jt();return H(20),M(y.createJsxSpreadAttribute(m),c)}function W1(c,m){let b=T();H(31);let w=Ic();return H(32,void 0,!1)&&(m||!Ti(c.tagName,w)?O():It()),M(y.createJsxClosingElement(w),b)}function Dp(c){let m=T();return H(31),H(32,U.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(c?O():It()),M(y.createJsxJsxClosingFragment(),m)}function V1(){N.assert(vt!==1,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");let c=T();H(30);let m=gt();H(32);let b=Fi();return M(y.createTypeAssertion(m,b),c)}function Pp(){return O(),kt(f())||f()===23||Os()}function H1(){return f()===29&&Te(Pp)}function Hr(c){if(c.flags&64)return!0;if(jo(c)){let m=c.expression;for(;jo(m)&&!(m.flags&64);)m=m.expression;if(m.flags&64){for(;jo(c);)c.flags|=64,c=c.expression;return!0}}return!1}function Bi(c,m,b){let w=qa(!0,!0),A=b||Hr(m),R=A?Ce(m,b,w):ae(m,w);if(A&&jr(R.name)&&Lr(R.name,U.An_optional_chain_cannot_contain_private_identifiers),g6(m)&&m.typeArguments){let te=m.typeArguments.pos-1,le=Nt(St,m.typeArguments.end)+1;Mt(te,le,U.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return M(R,c)}function mo(c,m,b){let w;if(f()===24)w=Jr(80,!0,U.An_element_access_expression_should_take_an_argument);else{let R=Le(Jt);Qi(R)&&(R.text=sa(R.text)),w=R}H(24);let A=b||Hr(m)?qe(m,b,w):Ze(m,w);return M(A,c)}function ho(c,m,b){for(;;){let w,A=!1;if(b&&H1()?(w=Hn(29),A=kt(f())):A=je(25),A){m=Bi(c,m,w);continue}if((w||!Vn())&&je(23)){m=mo(c,m,w);continue}if(Os()){m=!w&&m.kind===233?Ms(c,m.expression,w,m.typeArguments):Ms(c,m,w,void 0);continue}if(!w){if(f()===54&&!t.hasPrecedingLineBreak()){O(),m=M(y.createNonNullExpression(m),c);continue}let R=ft(Mc);if(R){m=M(y.createExpressionWithTypeArguments(m,R),c);continue}}return m}}function Os(){return f()===15||f()===16}function Ms(c,m,b,w){let A=y.createTaggedTemplateExpression(m,w,f()===15?(we(!0),fi()):Ts(!0));return(b||m.flags&64)&&(A.flags|=64),A.questionDotToken=b,M(A,c)}function Ip(c,m){for(;;){m=ho(c,m,!0);let b,w=dt(29);if(w&&(b=ft(Mc),Os())){m=Ms(c,m,w,b);continue}if(b||f()===21){!w&&m.kind===233&&(b=m.typeArguments,m=m.expression);let A=Oc(),R=w||Hr(m)?it(m,w,b,A):rt(m,b,A);m=M(R,c);continue}if(w){let A=Jr(80,!1,U.Identifier_expected);m=M(Ce(m,w,A),c)}break}return m}function Oc(){H(21);let c=Wr(11,X1);return H(22),c}function Mc(){if(at&524288||et()!==30)return;O();let c=Wr(20,gt);if(he()===32)return O(),c&&Np()?c:void 0}function Np(){switch(f()){case 21:case 15:case 16:return!0;case 30:case 32:case 40:case 41:return!1}return t.hasPrecedingLineBreak()||Ec()||!Ri()}function Op(){switch(f()){case 15:t.getTokenFlags()&26656&&we(!1);case 9:case 10:case 11:return fi();case 110:case 108:case 106:case 112:case 97:return dr();case 21:return Mp();case 23:return Jc();case 19:return Ls();case 134:if(!Te(Fc))break;return Rc();case 60:return bh();case 86:return sf();case 100:return Rc();case 105:return Lp();case 44:case 69:if(Re()===14)return fi();break;case 16:return Ts(!1);case 81:return X_()}return Lt(U.Expression_expected)}function Mp(){let c=T(),m=x();H(21);let b=Le(Jt);return H(22),Ae(M(ar(b),c),m)}function G1(){let c=T();H(26);let m=tr(!0);return M(y.createSpreadElement(m),c)}function Lc(){return f()===26?G1():f()===28?M(y.createOmittedExpression(),T()):tr(!0)}function X1(){return xe(r,Lc)}function Jc(){let c=T(),m=t.getTokenStart(),b=H(23),w=t.hasPrecedingLineBreak(),A=Wr(15,Lc);return kn(23,24,b,m),M(Y(A,w),c)}function $1(){let c=T(),m=x();if(dt(26)){let ve=tr(!0);return Ae(M(y.createSpreadAssignment(ve),c),m)}let b=Xn(!0);if(_a(139))return da(c,m,b,177,0);if(_a(153))return da(c,m,b,178,0);let w=dt(42),A=Et(),R=Ua(),te=dt(58),le=dt(54);if(w||f()===21||f()===30)return Wc(c,m,b,w,R,te,le);let ne;if(A&&f()!==59){let ve=dt(64),He=ve?Le(()=>tr(!0)):void 0;ne=y.createShorthandPropertyAssignment(R,He),ne.equalsToken=ve}else{H(59);let ve=Le(()=>tr(!0));ne=y.createPropertyAssignment(R,ve)}return ne.modifiers=b,ne.questionToken=te,ne.exclamationToken=le,Ae(M(ne,c),m)}function Ls(){let c=T(),m=t.getTokenStart(),b=H(19),w=t.hasPrecedingLineBreak(),A=Wr(12,$1,!0);return kn(19,20,b,m),M(B(A,w),c)}function Rc(){let c=Vn();X(!1);let m=T(),b=x(),w=Xn(!1);H(100);let A=dt(42),R=A?1:0,te=mt(w,al)?2:0,le=R&&te?Pi(yo):R?qr(yo):te?Cn(yo):yo(),ne=Vr(),ie=Gn(R|te),ve=Dn(59,!1),He=go(R|te);X(c);let Be=y.createFunctionExpression(w,A,le,ne,ie,ve,He);return Ae(M(Be,m),b)}function yo(){return An()?G_():void 0}function Lp(){let c=T();if(H(105),je(25)){let R=Yt();return M(y.createMetaProperty(105,R),c)}let m=T(),b=ho(m,Op(),!1),w;b.kind===233&&(w=b.typeArguments,b=b.expression),f()===29&&Je(U.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,t_(St,b));let A=f()===21?Oc():void 0;return M(Ir(b,w,A),c)}function Wa(c,m){let b=T(),w=x(),A=t.getTokenStart(),R=H(19,m);if(R||c){let te=t.hasPrecedingLineBreak(),le=zr(1,wr);kn(19,20,R,A);let ne=Ae(M(ci(le,te),b),w);return f()===64&&(Je(U.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses),O()),ne}else{let te=pi();return Ae(M(ci(te,void 0),b),w)}}function go(c,m){let b=En();z(!!(c&1));let w=Sr();ee(!!(c&2));let A=er;er=!1;let R=Vn();R&&X(!1);let te=Wa(!!(c&16),m);return R&&X(!0),er=A,z(b),ee(w),te}function Q1(){let c=T(),m=x();return H(27),Ae(M(y.createEmptyStatement(),c),m)}function Jp(){let c=T(),m=x();H(101);let b=t.getTokenStart(),w=H(21),A=Le(Jt);kn(21,22,w,b);let R=wr(),te=je(93)?wr():void 0;return Ae(M(Ge(A,R,te),c),m)}function Y1(){let c=T(),m=x();H(92);let b=wr();H(117);let w=t.getTokenStart(),A=H(21),R=Le(Jt);return kn(21,22,A,w),je(27),Ae(M(y.createDoStatement(b,R),c),m)}function Rp(){let c=T(),m=x();H(117);let b=t.getTokenStart(),w=H(21),A=Le(Jt);kn(21,22,w,b);let R=wr();return Ae(M(Gt(A,R),c),m)}function K1(){let c=T(),m=x();H(99);let b=dt(135);H(21);let w;f()!==27&&(f()===115||f()===121||f()===87||f()===160&&Te(_h)||f()===135&&Te(Fs)?w=ef(!0):w=lt(Jt));let A;if(b?H(165):je(165)){let R=Le(()=>tr(!0));H(22),A=Xt(b,w,R,wr())}else if(je(103)){let R=Le(Jt);H(22),A=y.createForInStatement(w,R,wr())}else{H(27);let R=f()!==27&&f()!==22?Le(Jt):void 0;H(27);let te=f()!==22?Le(Jt):void 0;H(22),A=Ur(w,R,te,wr())}return Ae(M(A,c),m)}function jc(c){let m=T(),b=x();H(c===252?83:88);let w=ui()?void 0:Lt();xr();let A=c===252?y.createBreakStatement(w):y.createContinueStatement(w);return Ae(M(A,m),b)}function Z1(){let c=T(),m=x();H(107);let b=ui()?void 0:Le(Jt);return xr(),Ae(M(y.createReturnStatement(b),c),m)}function eh(){let c=T(),m=x();H(118);let b=t.getTokenStart(),w=H(21),A=Le(Jt);kn(21,22,w,b);let R=ke(67108864,wr);return Ae(M(y.createWithStatement(A,R),c),m)}function jp(){let c=T(),m=x();H(84);let b=Le(Jt);H(59);let w=zr(3,wr);return Ae(M(y.createCaseClause(b,w),c),m)}function th(){let c=T();H(90),H(59);let m=zr(3,wr);return M(y.createDefaultClause(m),c)}function Fp(){return f()===84?jp():th()}function rh(){let c=T();H(19);let m=zr(2,Fp);return H(20),M(y.createCaseBlock(m),c)}function Bp(){let c=T(),m=x();H(109),H(21);let b=Le(Jt);H(22);let w=rh();return Ae(M(y.createSwitchStatement(b,w),c),m)}function nh(){let c=T(),m=x();H(111);let b=t.hasPrecedingLineBreak()?void 0:Le(Jt);return b===void 0&&(Or++,b=M(G(""),T())),fs()||Ie(b),Ae(M(y.createThrowStatement(b),c),m)}function Up(){let c=T(),m=x();H(113);let b=Wa(!1),w=f()===85?ih():void 0,A;return(!w||f()===98)&&(H(98,U.catch_or_finally_expected),A=Wa(!1)),Ae(M(y.createTryStatement(b,w,A),c),m)}function ih(){let c=T();H(85);let m;je(21)?(m=Bs(),H(22)):m=void 0;let b=Wa(!1);return M(y.createCatchClause(m,b),c)}function qp(){let c=T(),m=x();return H(89),xr(),Ae(M(y.createDebuggerStatement(),c),m)}function ah(){let c=T(),m=x(),b,w=f()===21,A=Le(Jt);return Ee(A)&&je(59)?b=y.createLabeledStatement(A,wr()):(fs()||Ie(A),b=Nr(A),w&&(m=!1)),Ae(M(b,c),m)}function Js(){return O(),kt(f())&&!t.hasPrecedingLineBreak()}function oh(){return O(),f()===86&&!t.hasPrecedingLineBreak()}function Fc(){return O(),f()===100&&!t.hasPrecedingLineBreak()}function zp(){return O(),(kt(f())||f()===9||f()===10||f()===11)&&!t.hasPrecedingLineBreak()}function Wp(){for(;;)switch(f()){case 115:case 121:case 87:case 100:case 86:case 94:return!0;case 160:return Hp();case 135:return Uc();case 120:case 156:return hp();case 144:case 145:return ch();case 128:case 129:case 134:case 138:case 123:case 124:case 125:case 148:let c=f();if(O(),t.hasPrecedingLineBreak())return!1;if(c===138&&f()===156)return!0;continue;case 162:return O(),f()===19||f()===80||f()===95;case 102:return O(),f()===11||f()===42||f()===19||kt(f());case 95:let m=O();if(m===156&&(m=Te(O)),m===64||m===42||m===19||m===90||m===130||m===60)return!0;continue;case 126:O();continue;default:return!1}}function Rs(){return Te(Wp)}function Bc(){switch(f()){case 60:case 27:case 19:case 115:case 121:case 160:case 100:case 86:case 94:case 101:case 92:case 117:case 99:case 88:case 83:case 107:case 118:case 109:case 111:case 113:case 89:case 85:case 98:return!0;case 102:return Rs()||Te($u);case 87:case 95:return Rs();case 134:case 138:case 120:case 144:case 145:case 156:case 162:return!0;case 129:case 125:case 123:case 124:case 126:case 148:return Rs()||!Te(Js);default:return Ri()}}function sh(){return O(),An()||f()===19||f()===23}function Vp(){return Te(sh)}function _h(){return js(!0)}function js(c){return O(),c&&f()===165?!1:(An()||f()===19)&&!t.hasPrecedingLineBreak()}function Hp(){return Te(js)}function Fs(){return Gp(!0)}function Gp(c){return O()===160?js(c):!1}function Uc(){return Te(Gp)}function wr(){switch(f()){case 27:return Q1();case 19:return Wa(!1);case 115:return vo(T(),x(),void 0);case 121:if(Vp())return vo(T(),x(),void 0);break;case 135:if(Uc())return vo(T(),x(),void 0);break;case 160:if(Hp())return vo(T(),x(),void 0);break;case 100:return Us(T(),x(),void 0);case 86:return _f(T(),x(),void 0);case 101:return Jp();case 92:return Y1();case 117:return Rp();case 99:return K1();case 88:return jc(251);case 83:return jc(252);case 107:return Z1();case 118:return eh();case 109:return Bp();case 111:return nh();case 113:case 85:case 98:return Up();case 89:return qp();case 60:return Xp();case 134:case 120:case 156:case 144:case 145:case 138:case 87:case 94:case 95:case 102:case 123:case 124:case 125:case 128:case 129:case 126:case 148:case 162:if(Rs())return Xp();break}return ah()}function qc(c){return c.kind===138}function Xp(){let c=T(),m=x(),b=Xn(!0);if(mt(b,qc)){let A=$p(c);if(A)return A;for(let R of b)R.flags|=33554432;return ke(33554432,()=>Qp(c,m,b))}else return Qp(c,m,b)}function $p(c){return ke(33554432,()=>{let m=bs(pt,c);if(m)return Du(m)})}function Qp(c,m,b){switch(f()){case 115:case 121:case 87:case 160:case 135:return vo(c,m,b);case 100:return Us(c,m,b);case 86:return _f(c,m,b);case 120:return wh(c,m,b);case 156:return uf(c,m,b);case 94:return Ch(c,m,b);case 162:case 144:case 145:return Eh(c,m,b);case 102:return Dh(c,m,b);case 95:switch(O(),f()){case 90:case 64:return Uh(c,m,b);case 130:return Qc(c,m,b);default:return Bh(c,m,b)}default:if(b){let w=Jr(282,!0,U.Declaration_expected);return Cd(w,c),w.modifiers=b,w}return}}function Yp(){return O()===11}function ch(){return O(),!t.hasPrecedingLineBreak()&&(Et()||f()===11)}function bo(c,m){if(f()!==19){if(c&4){Cs();return}if(ui()){xr();return}}return go(c,m)}function lh(){let c=T();if(f()===28)return M(y.createOmittedExpression(),c);let m=dt(26),b=Va(),w=ji();return M(y.createBindingElement(m,void 0,b,w),c)}function Kp(){let c=T(),m=dt(26),b=An(),w=Ua(),A;b&&f()!==59?(A=w,w=void 0):(H(59),A=Va());let R=ji();return M(y.createBindingElement(m,w,A,R),c)}function uh(){let c=T();H(19);let m=Le(()=>Wr(9,Kp));return H(20),M(y.createObjectBindingPattern(m),c)}function Zp(){let c=T();H(23);let m=Le(()=>Wr(10,lh));return H(24),M(y.createArrayBindingPattern(m),c)}function zc(){return f()===19||f()===23||f()===81||An()}function Va(c){return f()===23?Zp():f()===19?uh():G_(c)}function ph(){return Bs(!0)}function Bs(c){let m=T(),b=x(),w=Va(U.Private_identifiers_are_not_allowed_in_variable_declarations),A;c&&w.kind===80&&f()===54&&!t.hasPrecedingLineBreak()&&(A=dr());let R=Ji(),te=Cc(f())?void 0:ji(),le=Tn(w,A,R,te);return Ae(M(le,m),b)}function ef(c){let m=T(),b=0;switch(f()){case 115:break;case 121:b|=1;break;case 87:b|=2;break;case 160:b|=4;break;case 135:N.assert(Uc()),b|=6,O();break;default:N.fail()}O();let w;if(f()===165&&Te(tf))w=pi();else{let A=Ii();nt(c),w=Wr(8,c?Bs:ph),nt(A)}return M(Sn(w,b),m)}function tf(){return ys()&&O()===22}function vo(c,m,b){let w=ef(!1);xr();let A=or(b,w);return Ae(M(A,c),m)}function Us(c,m,b){let w=Sr(),A=ln(b);H(100);let R=dt(42),te=A&1024?yo():G_(),le=R?1:0,ne=A&512?2:0,ie=Vr();A&1&&ee(!0);let ve=Gn(le|ne),He=Dn(59,!1),Be=bo(le|ne,U.or_expected);ee(w);let Ue=y.createFunctionDeclaration(b,R,te,ie,ve,He,Be);return Ae(M(Ue,c),m)}function fh(){if(f()===137)return H(137);if(f()===11&&Te(O)===21)return ft(()=>{let c=fi();return c.text==="constructor"?c:void 0})}function dh(c,m,b){return ft(()=>{if(fh()){let w=Vr(),A=Gn(0),R=Dn(59,!1),te=bo(0,U.or_expected),le=y.createConstructorDeclaration(b,A,te);return le.typeParameters=w,le.type=R,Ae(M(le,c),m)}})}function Wc(c,m,b,w,A,R,te,le){let ne=w?1:0,ie=mt(b,al)?2:0,ve=Vr(),He=Gn(ne|ie),Be=Dn(59,!1),Ue=bo(ne|ie,le),Rt=y.createMethodDeclaration(b,w,A,R,ve,He,Be,Ue);return Rt.exclamationToken=te,Ae(M(Rt,c),m)}function rf(c,m,b,w,A){let R=!A&&!t.hasPrecedingLineBreak()?dt(54):void 0,te=Ji(),le=xe(90112,ji);an(w,te,le);let ne=y.createPropertyDeclaration(b,w,A||R,te,le);return Ae(M(ne,c),m)}function nf(c,m,b){let w=dt(42),A=Ua(),R=dt(58);return w||f()===21||f()===30?Wc(c,m,b,w,A,R,void 0,U.or_expected):rf(c,m,b,A,R)}function da(c,m,b,w,A){let R=Ua(),te=Vr(),le=Gn(0),ne=Dn(59,!1),ie=bo(A),ve=w===177?y.createGetAccessorDeclaration(b,R,le,ne,ie):y.createSetAccessorDeclaration(b,R,le,ie);return ve.typeParameters=te,Qo(ve)&&(ve.type=ne),Ae(M(ve,c),m)}function mh(){let c;if(f()===60)return!0;for(;bi(f());){if(c=f(),o3(c))return!0;O()}if(f()===42||(Oi()&&(c=f(),O()),f()===23))return!0;if(c!==void 0){if(!Si(c)||c===153||c===139)return!0;switch(f()){case 21:case 30:case 54:case 59:case 64:case 58:return!0;default:return ui()}}return!1}function af(c,m,b){Hn(126);let w=hh(),A=Ae(M(y.createClassStaticBlockDeclaration(w),c),m);return A.modifiers=b,A}function hh(){let c=En(),m=Sr();z(!1),ee(!0);let b=Wa(!1);return z(c),ee(m),b}function yh(){if(Sr()&&f()===135){let c=T(),m=Lt(U.Expression_expected);O();let b=ho(c,m,!0);return Ip(c,b)}return Is()}function Vc(){let c=T();if(!je(60))return;let m=na(yh);return M(y.createDecorator(m),c)}function of(c,m,b){let w=T(),A=f();if(f()===87&&m){if(!ft(xu))return}else{if(b&&f()===126&&Te(mf))return;if(c&&f()===126)return;if(!i1())return}return M(ue(A),w)}function Xn(c,m,b){let w=T(),A,R,te,le=!1,ne=!1,ie=!1;if(c&&f()===60)for(;R=Vc();)A=xt(A,R);for(;te=of(le,m,b);)te.kind===126&&(le=!0),A=xt(A,te),ne=!0;if(ne&&c&&f()===60)for(;R=Vc();)A=xt(A,R),ie=!0;if(ie)for(;te=of(le,m,b);)te.kind===126&&(le=!0),A=xt(A,te);return A&&Ft(A,w)}function Hc(){let c;if(f()===134){let m=T();O();let b=M(ue(134),m);c=Ft([b],m)}return c}function gh(){let c=T(),m=x();if(f()===27)return O(),Ae(M(y.createSemicolonClassElement(),c),m);let b=Xn(!0,!0,!0);if(f()===126&&Te(mf))return af(c,m,b);if(_a(139))return da(c,m,b,177,0);if(_a(153))return da(c,m,b,178,0);if(f()===137||f()===11){let w=dh(c,m,b);if(w)return w}if(Gu())return ua(c,m,b);if(kt(f())||f()===11||f()===9||f()===42||f()===23)if(mt(b,qc)){for(let A of b)A.flags|=33554432;return ke(33554432,()=>nf(c,m,b))}else return nf(c,m,b);if(b){let w=Jr(80,!0,U.Declaration_expected);return rf(c,m,b,w,void 0)}return N.fail("Should not have attempted to parse class member declaration.")}function bh(){let c=T(),m=x(),b=Xn(!0);if(f()===86)return Gc(c,m,b,231);let w=Jr(282,!0,U.Expression_expected);return Cd(w,c),w.modifiers=b,w}function sf(){return Gc(T(),x(),void 0,231)}function _f(c,m,b){return Gc(c,m,b,263)}function Gc(c,m,b,w){let A=Sr();H(86);let R=Xc(),te=Vr();mt(b,Ux)&&ee(!0);let le=cf(),ne;H(19)?(ne=xh(),H(20)):ne=pi(),ee(A);let ie=w===263?y.createClassDeclaration(b,R,te,le,ne):y.createClassExpression(b,R,te,le,ne);return Ae(M(ie,c),m)}function Xc(){return An()&&!vh()?Ni(An()):void 0}function vh(){return f()===119&&Te(Cu)}function cf(){if(lf())return zr(22,Th)}function Th(){let c=T(),m=f();N.assert(m===96||m===119),O();let b=Wr(7,Sh);return M(y.createHeritageClause(m,b),c)}function Sh(){let c=T(),m=Is();if(m.kind===233)return m;let b=qs();return M(y.createExpressionWithTypeArguments(m,b),c)}function qs(){return f()===30?ca(20,gt,30,32):void 0}function lf(){return f()===96||f()===119}function xh(){return zr(5,gh)}function wh(c,m,b){H(120);let w=Lt(),A=Vr(),R=cf(),te=Yu(),le=y.createInterfaceDeclaration(b,w,A,R,te);return Ae(M(le,c),m)}function uf(c,m,b){H(156),t.hasPrecedingLineBreak()&&Je(U.Line_break_not_permitted_here);let w=Lt(),A=Vr();H(64);let R=f()===141&&ft(np)||gt();xr();let te=y.createTypeAliasDeclaration(b,w,A,R);return Ae(M(te,c),m)}function pf(){let c=T(),m=x(),b=Ua(),w=Le(ji);return Ae(M(y.createEnumMember(b,w),c),m)}function Ch(c,m,b){H(94);let w=Lt(),A;H(19)?(A=ia(()=>Wr(6,pf)),H(20)):A=pi();let R=y.createEnumDeclaration(b,w,A);return Ae(M(R,c),m)}function zs(){let c=T(),m;return H(19)?(m=zr(1,wr),H(20)):m=pi(),M(y.createModuleBlock(m),c)}function ff(c,m,b,w){let A=w&32,R=Lt(),te=je(25)?ff(T(),!1,void 0,8|A):zs(),le=y.createModuleDeclaration(b,R,te,w);return Ae(M(le,c),m)}function $c(c,m,b){let w=0,A;f()===162?(A=Lt(),w|=2048):(A=fi(),A.text=sa(A.text));let R;f()===19?R=zs():xr();let te=y.createModuleDeclaration(b,A,R,w);return Ae(M(te,c),m)}function Eh(c,m,b){let w=0;if(f()===162)return $c(c,m,b);if(je(145))w|=32;else if(H(144),f()===11)return $c(c,m,b);return ff(c,m,b,w)}function Ah(){return f()===149&&Te(df)}function df(){return O()===21}function mf(){return O()===19}function kh(){return O()===44}function Qc(c,m,b){H(130),H(145);let w=Lt();xr();let A=y.createNamespaceExportDeclaration(w);return A.modifiers=b,Ae(M(A,c),m)}function Dh(c,m,b){H(102);let w=t.getTokenFullStart(),A;Et()&&(A=Lt());let R=!1;if(f()!==161&&(A==null?void 0:A.escapedText)==="type"&&(Et()||Ih())&&(R=!0,A=Et()?Lt():void 0),A&&!Nh())return Oh(c,m,b,A,R);let te;(A||f()===42||f()===19)&&(te=Mh(A,w,R),H(161));let le=Ws(),ne;f()===132&&!t.hasPrecedingLineBreak()&&(ne=ma()),xr();let ie=y.createImportDeclaration(b,te,le,ne);return Ae(M(ie,c),m)}function Ph(){let c=T(),m=kt(f())?Yt():za(11);H(59);let b=tr(!0);return M(y.createAssertEntry(m,b),c)}function ma(c){let m=T();c||H(132);let b=t.getTokenStart();if(H(19)){let w=t.hasPrecedingLineBreak(),A=Wr(24,Ph,!0);if(!H(20)){let R=wi(ct);R&&R.code===U._0_expected.code&&nl(R,Ao(sr,b,1,U.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return M(y.createAssertClause(A,w),m)}else{let w=Ft([],T(),void 0,!1);return M(y.createAssertClause(w,!1),m)}}function Ih(){return f()===42||f()===19}function Nh(){return f()===28||f()===161}function Oh(c,m,b,w,A){H(64);let R=ha();xr();let te=y.createImportEqualsDeclaration(b,A,w,R);return Ae(M(te,c),m)}function Mh(c,m,b){let w;return(!c||je(28))&&(w=f()===42?Jh():Ha(275)),M(y.createImportClause(b,c,w),m)}function ha(){return Ah()?Lh():la(!1)}function Lh(){let c=T();H(149),H(21);let m=Ws();return H(22),M(y.createExternalModuleReference(m),c)}function Ws(){if(f()===11){let c=fi();return c.text=sa(c.text),c}else return Jt()}function Jh(){let c=T();H(42),H(130);let m=Lt();return M(y.createNamespaceImport(m),c)}function Ha(c){let m=T(),b=c===275?y.createNamedImports(ca(23,jh,19,20)):y.createNamedExports(ca(23,Rh,19,20));return M(b,m)}function Rh(){let c=x();return Ae(hf(281),c)}function jh(){return hf(276)}function hf(c){let m=T(),b=Si(f())&&!Et(),w=t.getTokenStart(),A=t.getTokenEnd(),R=!1,te,le=!0,ne=Yt();if(ne.escapedText==="type")if(f()===130){let He=Yt();if(f()===130){let Be=Yt();kt(f())?(R=!0,te=He,ne=ve(),le=!1):(te=ne,ne=Be,le=!1)}else kt(f())?(te=ne,le=!1,ne=ve()):(R=!0,ne=He)}else kt(f())&&(R=!0,ne=ve());le&&f()===130&&(te=ne,H(130),ne=ve()),c===276&&b&&Mt(w,A,U.Identifier_expected);let ie=c===276?y.createImportSpecifier(R,te,ne):y.createExportSpecifier(R,te,ne);return M(ie,m);function ve(){return b=Si(f())&&!Et(),w=t.getTokenStart(),A=t.getTokenEnd(),Yt()}}function Fh(c){return M(y.createNamespaceExport(Yt()),c)}function Bh(c,m,b){let w=Sr();ee(!0);let A,R,te,le=je(156),ne=T();je(42)?(je(130)&&(A=Fh(ne)),H(161),R=Ws()):(A=Ha(279),(f()===161||f()===11&&!t.hasPrecedingLineBreak())&&(H(161),R=Ws())),R&&f()===132&&!t.hasPrecedingLineBreak()&&(te=ma()),xr(),ee(w);let ie=y.createExportDeclaration(b,le,A,R,te);return Ae(M(ie,c),m)}function Uh(c,m,b){let w=Sr();ee(!0);let A;je(64)?A=!0:H(90);let R=tr(!0);xr(),ee(w);let te=y.createExportAssignment(b,A,R);return Ae(M(te,c),m)}let ya;(c=>{c[c.SourceElements=0]="SourceElements",c[c.BlockStatements=1]="BlockStatements",c[c.SwitchClauses=2]="SwitchClauses",c[c.SwitchClauseStatements=3]="SwitchClauseStatements",c[c.TypeMembers=4]="TypeMembers",c[c.ClassMembers=5]="ClassMembers",c[c.EnumMembers=6]="EnumMembers",c[c.HeritageClauseElement=7]="HeritageClauseElement",c[c.VariableDeclarations=8]="VariableDeclarations",c[c.ObjectBindingElements=9]="ObjectBindingElements",c[c.ArrayBindingElements=10]="ArrayBindingElements",c[c.ArgumentExpressions=11]="ArgumentExpressions",c[c.ObjectLiteralMembers=12]="ObjectLiteralMembers",c[c.JsxAttributes=13]="JsxAttributes",c[c.JsxChildren=14]="JsxChildren",c[c.ArrayLiteralMembers=15]="ArrayLiteralMembers",c[c.Parameters=16]="Parameters",c[c.JSDocParameters=17]="JSDocParameters",c[c.RestProperties=18]="RestProperties",c[c.TypeParameters=19]="TypeParameters",c[c.TypeArguments=20]="TypeArguments",c[c.TupleElementTypes=21]="TupleElementTypes",c[c.HeritageClauses=22]="HeritageClauses",c[c.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",c[c.AssertEntries=24]="AssertEntries",c[c.JSDocComment=25]="JSDocComment",c[c.Count=26]="Count"})(ya||(ya={}));let yf;(c=>{c[c.False=0]="False",c[c.True=1]="True",c[c.Unknown=2]="Unknown"})(yf||(yf={}));let gf;(c=>{function m(ie,ve,He){rn("file.js",ie,99,void 0,1),t.setText(ie,ve,He),ht=t.scan();let Be=b(),Ue=ge("file.js",99,1,!1,[],ue(1),0,Rn),Rt=$a(ct,Ue);return Ut&&(Ue.jsDocDiagnostics=$a(Ut,Ue)),nn(),Be?{jsDocTypeExpression:Be,diagnostics:Rt}:void 0}c.parseJSDocTypeExpressionForTests=m;function b(ie){let ve=T(),He=(ie?je:H)(19),Be=ke(16777216,xs);(!ie||He)&&Ba(20);let Ue=y.createJSDocTypeExpression(Be);return oe(Ue),M(Ue,ve)}c.parseJSDocTypeExpression=b;function w(){let ie=T(),ve=je(19),He=T(),Be=la(!1);for(;f()===81;)Ye(),fe(),Be=M(y.createJSDocMemberName(Be,Lt()),He);ve&&Ba(20);let Ue=y.createJSDocNameReference(Be);return oe(Ue),M(Ue,ie)}c.parseJSDocNameReference=w;function A(ie,ve,He){rn("",ie,99,void 0,1);let Be=ke(16777216,()=>ne(ve,He)),Rt=$a(ct,{languageVariant:0,text:ie});return nn(),Be?{jsDoc:Be,diagnostics:Rt}:void 0}c.parseIsolatedJSDocComment=A;function R(ie,ve,He){let Be=ht,Ue=ct.length,Rt=Qt,Gr=ke(16777216,()=>ne(ve,He));return Xi(Gr,ie),at&524288&&(Ut||(Ut=[]),Ut.push(...ct)),ht=Be,ct.length=Ue,Qt=Rt,Gr}c.parseJSDocComment=R;let te;(ie=>{ie[ie.BeginningOfLine=0]="BeginningOfLine",ie[ie.SawAsterisk=1]="SawAsterisk",ie[ie.SavingComments=2]="SavingComments",ie[ie.SavingBackticks=3]="SavingBackticks"})(te||(te={}));let le;(ie=>{ie[ie.Property=1]="Property",ie[ie.Parameter=2]="Parameter",ie[ie.CallbackParameter=4]="CallbackParameter"})(le||(le={}));function ne(ie=0,ve){let He=pt;pt|=1<<25;let Be=St,Ue=ve===void 0?Be.length:ie+ve;if(ve=Ue-ie,N.assert(ie>=0),N.assert(ie<=Ue),N.assert(Ue<=Be.length),!q8(Be,ie))return;let Rt,Gr,di,mi,hi,Ui=[],ga=[],ba=t.scanRange(ie+3,ve-5,qh);return pt=He,ba;function qh(){let F=1,re,Z=ie-(Be.lastIndexOf(`
`,ie)+1)+4;function se(ze){re||(re=Z),Ui.push(ze),Z+=ze.length}for(fe();xo(5););xo(4)&&(F=0,Z=0);e:for(;;){switch(f()){case 60:zh(Ui),hi||(hi=T()),u(To(Z)),F=0,re=void 0;break;case 4:Ui.push(t.getTokenText()),F=0,Z=0;break;case 42:let ze=t.getTokenText();F===1?(F=2,se(ze)):(N.assert(F===0),F=1,Z+=ze.length);break;case 5:N.assert(F!==2,"whitespace shouldn't come from the scanner while saving top-level comment text");let At=t.getTokenText();re!==void 0&&Z+At.length>re&&Ui.push(At.slice(re-Z)),Z+=At.length;break;case 1:break e;case 82:F=2,se(t.getTokenValue());break;case 19:F=2;let Pn=t.getTokenFullStart(),sn=t.getTokenEnd()-1,Ar=vf(sn);if(Ar){mi||bf(Ui),ga.push(M(y.createJSDocText(Ui.join("")),mi??ie,Pn)),ga.push(Ar),Ui=[],mi=t.getTokenEnd();break}default:F=2,se(t.getTokenText());break}F===2?be(!1):fe()}let ce=n_(Ui.join(""));ga.length&&ce.length&&ga.push(M(y.createJSDocText(ce),mi??ie,hi)),ga.length&&Rt&&N.assertIsDefined(hi,"having parsed tags implies that the end of the comment span should be set");let Me=Rt&&Ft(Rt,Gr,di);return M(y.createJSDocComment(ga.length?Ft(ga,ie,hi):ce.length?ce:void 0,Me),ie,Ue)}function bf(F){for(;F.length&&(F[0]===`
`||F[0]==="\r");)F.shift()}function zh(F){for(;F.length;){let re=n_(F[F.length-1]);if(re==="")F.pop();else if(re.length<F[F.length-1].length){F[F.length-1]=re;break}else break}}function Oe(){for(;;){if(fe(),f()===1)return!0;if(!(f()===5||f()===4))return!1}}function Xe(){if(!((f()===5||f()===4)&&Te(Oe)))for(;f()===5||f()===4;)fe()}function Cr(){if((f()===5||f()===4)&&Te(Oe))return"";let F=t.hasPrecedingLineBreak(),re=!1,Z="";for(;F&&f()===42||f()===5||f()===4;)Z+=t.getTokenText(),f()===4?(F=!0,re=!0,Z=""):f()===42&&(F=!1),fe();return re?Z:""}function To(F){N.assert(f()===60);let re=t.getTokenStart();fe();let Z=Ga(void 0),se=Cr(),ce;switch(Z.escapedText){case"author":ce=n5(re,Z,F,se);break;case"implements":ce=a5(re,Z,F,se);break;case"augments":case"extends":ce=o5(re,Z,F,se);break;case"class":case"constructor":ce=So(re,y.createJSDocClassTag,Z,F,se);break;case"public":ce=So(re,y.createJSDocPublicTag,Z,F,se);break;case"private":ce=So(re,y.createJSDocPrivateTag,Z,F,se);break;case"protected":ce=So(re,y.createJSDocProtectedTag,Z,F,se);break;case"readonly":ce=So(re,y.createJSDocReadonlyTag,Z,F,se);break;case"override":ce=So(re,y.createJSDocOverrideTag,Z,F,se);break;case"deprecated":qn=!0,ce=So(re,y.createJSDocDeprecatedTag,Z,F,se);break;case"this":ce=c5(re,Z,F,se);break;case"enum":ce=l5(re,Z,F,se);break;case"arg":case"argument":case"param":return de(re,Z,2,F);case"return":case"returns":ce=Er(re,Z,F,se);break;case"template":ce=Ib(re,Z,F,se);break;case"type":ce=$n(re,Z,F,se);break;case"typedef":ce=u5(re,Z,F,se);break;case"callback":ce=f5(re,Z,F,se);break;case"overload":ce=d5(re,Z,F,se);break;case"satisfies":ce=s5(re,Z,F,se);break;case"see":ce=yi(re,Z,F,se);break;case"exception":case"throws":ce=Vs(re,Z,F,se);break;default:ce=s(re,Z,F,se);break}return ce}function lr(F,re,Z,se){return se||(Z+=re-F),on(Z,se.slice(Z))}function on(F,re){let Z=T(),se=[],ce=[],Me,ze=0,At;function Pn(Qn){At||(At=F),se.push(Qn),F+=Qn.length}re!==void 0&&(re!==""&&Pn(re),ze=1);let sn=f();e:for(;;){switch(sn){case 4:ze=0,se.push(t.getTokenText()),F=0;break;case 60:t.resetTokenState(t.getTokenEnd()-1);break e;case 1:break e;case 5:N.assert(ze!==2&&ze!==3,"whitespace shouldn't come from the scanner while saving comment text");let Qn=t.getTokenText();At!==void 0&&F+Qn.length>At&&(se.push(Qn.slice(At-F)),ze=2),F+=Qn.length;break;case 19:ze=2;let Tf=t.getTokenFullStart(),Hs=t.getTokenEnd()-1,Sf=vf(Hs);Sf?(ce.push(M(y.createJSDocText(se.join("")),Me??Z,Tf)),ce.push(Sf),se=[],Me=t.getTokenEnd()):Pn(t.getTokenText());break;case 62:ze===3?ze=2:ze=3,Pn(t.getTokenText());break;case 82:ze!==3&&(ze=2),Pn(t.getTokenValue());break;case 42:if(ze===0){ze=1,F+=1;break}default:ze!==3&&(ze=2),Pn(t.getTokenText());break}ze===2||ze===3?sn=be(ze===3):sn=fe()}bf(se);let Ar=n_(se.join(""));if(ce.length)return Ar.length&&ce.push(M(y.createJSDocText(Ar),Me??Z)),Ft(ce,Z,t.getTokenEnd());if(Ar.length)return Ar}function vf(F){let re=ft(n);if(!re)return;fe(),Xe();let Z=T(),se=kt(f())?la(!0):void 0;if(se)for(;f()===81;)Ye(),fe(),se=M(y.createJSDocMemberName(se,Lt()),Z);let ce=[];for(;f()!==20&&f()!==4&&f()!==1;)ce.push(t.getTokenText()),fe();let Me=re==="link"?y.createJSDocLink:re==="linkcode"?y.createJSDocLinkCode:y.createJSDocLinkPlain;return M(Me(se,ce.join("")),F,t.getTokenEnd())}function n(){if(Cr(),f()===19&&fe()===60&&kt(fe())){let F=t.getTokenValue();if(o(F))return F}}function o(F){return F==="link"||F==="linkcode"||F==="linkplain"}function s(F,re,Z,se){return M(y.createJSDocUnknownTag(re,lr(F,T(),Z,se)),F)}function u(F){F&&(Rt?Rt.push(F):(Rt=[F],Gr=F.pos),di=F.end)}function g(){return Cr(),f()===19?b():void 0}function I(){let F=xo(23);F&&Xe();let re=xo(62),Z=v5();return re&&t1(62),F&&(Xe(),dt(64)&&Jt(),H(24)),{name:Z,isBracketed:F}}function W(F){switch(F.kind){case 151:return!0;case 188:return W(F.elementType);default:return R_(F)&&Ee(F.typeName)&&F.typeName.escapedText==="Object"&&!F.typeArguments}}function de(F,re,Z,se){let ce=g(),Me=!ce;Cr();let{name:ze,isBracketed:At}=I(),Pn=Cr();Me&&!Te(n)&&(ce=g());let sn=lr(F,T(),se,Pn),Ar=We(ce,ze,Z,se);Ar&&(ce=Ar,Me=!0);let Qn=Z===1?y.createJSDocPropertyTag(re,ze,At,ce,Me,sn):y.createJSDocParameterTag(re,ze,At,ce,Me,sn);return M(Qn,F)}function We(F,re,Z,se){if(F&&W(F.type)){let ce=T(),Me,ze;for(;Me=ft(()=>Vh(Z,se,re));)Me.kind===348||Me.kind===355?ze=xt(ze,Me):Me.kind===352&&Lr(Me.tagName,U.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(ze){let At=M(y.createJSDocTypeLiteral(ze,F.type.kind===188),ce);return M(y.createJSDocTypeExpression(At),ce)}}}function Er(F,re,Z,se){mt(Rt,R6)&&Mt(re.pos,t.getTokenStart(),U._0_tag_already_specified,Vo(re.escapedText));let ce=g();return M(y.createJSDocReturnTag(re,ce,lr(F,T(),Z,se)),F)}function $n(F,re,Z,se){mt(Rt,lu)&&Mt(re.pos,t.getTokenStart(),U._0_tag_already_specified,Vo(re.escapedText));let ce=b(!0),Me=Z!==void 0&&se!==void 0?lr(F,T(),Z,se):void 0;return M(y.createJSDocTypeTag(re,ce,Me),F)}function yi(F,re,Z,se){let Me=f()===23||Te(()=>fe()===60&&kt(fe())&&o(t.getTokenValue()))?void 0:w(),ze=Z!==void 0&&se!==void 0?lr(F,T(),Z,se):void 0;return M(y.createJSDocSeeTag(re,Me,ze),F)}function Vs(F,re,Z,se){let ce=g(),Me=lr(F,T(),Z,se);return M(y.createJSDocThrowsTag(re,ce,Me),F)}function n5(F,re,Z,se){let ce=T(),Me=i5(),ze=t.getTokenFullStart(),At=lr(F,ze,Z,se);At||(ze=t.getTokenFullStart());let Pn=typeof At!="string"?Ft(y_([M(Me,ce,ze)],At),ce):Me.text+At;return M(y.createJSDocAuthorTag(re,Pn),F)}function i5(){let F=[],re=!1,Z=t.getToken();for(;Z!==1&&Z!==4;){if(Z===30)re=!0;else{if(Z===60&&!re)break;if(Z===32&&re){F.push(t.getTokenText()),t.resetTokenState(t.getTokenEnd());break}}F.push(t.getTokenText()),Z=fe()}return y.createJSDocText(F.join(""))}function a5(F,re,Z,se){let ce=Db();return M(y.createJSDocImplementsTag(re,ce,lr(F,T(),Z,se)),F)}function o5(F,re,Z,se){let ce=Db();return M(y.createJSDocAugmentsTag(re,ce,lr(F,T(),Z,se)),F)}function s5(F,re,Z,se){let ce=b(!1),Me=Z!==void 0&&se!==void 0?lr(F,T(),Z,se):void 0;return M(y.createJSDocSatisfiesTag(re,ce,Me),F)}function Db(){let F=je(19),re=T(),Z=_5();t.setInJSDocType(!0);let se=qs();t.setInJSDocType(!1);let ce=y.createExpressionWithTypeArguments(Z,se),Me=M(ce,re);return F&&H(20),Me}function _5(){let F=T(),re=Ga();for(;je(25);){let Z=Ga();re=M(ae(re,Z),F)}return re}function So(F,re,Z,se,ce){return M(re(Z,lr(F,T(),se,ce)),F)}function c5(F,re,Z,se){let ce=b(!0);return Xe(),M(y.createJSDocThisTag(re,ce,lr(F,T(),Z,se)),F)}function l5(F,re,Z,se){let ce=b(!0);return Xe(),M(y.createJSDocEnumTag(re,ce,lr(F,T(),Z,se)),F)}function u5(F,re,Z,se){let ce=g();Cr();let Me=Wh();Xe();let ze=on(Z),At;if(!ce||W(ce.type)){let sn,Ar,Qn,Tf=!1;for(;(sn=ft(()=>h5(Z)))&&sn.kind!==352;)if(Tf=!0,sn.kind===351)if(Ar){let Hs=Je(U.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);Hs&&nl(Hs,Ao(sr,0,0,U.The_tag_was_first_specified_here));break}else Ar=sn;else Qn=xt(Qn,sn);if(Tf){let Hs=ce&&ce.type.kind===188,Sf=y.createJSDocTypeLiteral(Qn,Hs);ce=Ar&&Ar.typeExpression&&!W(Ar.typeExpression.type)?Ar.typeExpression:M(Sf,F),At=ce.end}}At=At||ze!==void 0?T():(Me??ce??re).end,ze||(ze=lr(F,At,Z,se));let Pn=y.createJSDocTypedefTag(re,ce,Me,ze);return M(Pn,F,At)}function Wh(F){let re=t.getTokenStart();if(!kt(f()))return;let Z=Ga();if(je(25)){let se=Wh(!0),ce=y.createModuleDeclaration(void 0,Z,se,F?8:void 0);return M(ce,re)}return F&&(Z.flags|=4096),Z}function p5(F){let re=T(),Z,se;for(;Z=ft(()=>Vh(4,F));){if(Z.kind===352){Lr(Z.tagName,U.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}se=xt(se,Z)}return Ft(se||[],re)}function Pb(F,re){let Z=p5(re),se=ft(()=>{if(xo(60)){let ce=To(re);if(ce&&ce.kind===349)return ce}});return M(y.createJSDocSignature(void 0,Z,se),F)}function f5(F,re,Z,se){let ce=Wh();Xe();let Me=on(Z),ze=Pb(F,Z);Me||(Me=lr(F,T(),Z,se));let At=Me!==void 0?T():ze.end;return M(y.createJSDocCallbackTag(re,ze,ce,Me),F,At)}function d5(F,re,Z,se){Xe();let ce=on(Z),Me=Pb(F,Z);ce||(ce=lr(F,T(),Z,se));let ze=ce!==void 0?T():Me.end;return M(y.createJSDocOverloadTag(re,Me,ce),F,ze)}function m5(F,re){for(;!Ee(F)||!Ee(re);)if(!Ee(F)&&!Ee(re)&&F.right.escapedText===re.right.escapedText)F=F.left,re=re.left;else return!1;return F.escapedText===re.escapedText}function h5(F){return Vh(1,F)}function Vh(F,re,Z){let se=!0,ce=!1;for(;;)switch(fe()){case 60:if(se){let Me=y5(F,re);return Me&&(Me.kind===348||Me.kind===355)&&Z&&(Ee(Me.name)||!m5(Z,Me.name.left))?!1:Me}ce=!1;break;case 4:se=!0,ce=!1;break;case 42:ce&&(se=!1),ce=!0;break;case 80:se=!1;break;case 1:return!1}}function y5(F,re){N.assert(f()===60);let Z=t.getTokenFullStart();fe();let se=Ga(),ce=Cr(),Me;switch(se.escapedText){case"type":return F===1&&$n(Z,se);case"prop":case"property":Me=1;break;case"arg":case"argument":case"param":Me=6;break;case"template":return Ib(Z,se,re,ce);default:return!1}return F&Me?de(Z,se,F,re):!1}function g5(){let F=T(),re=xo(23);re&&Xe();let Z=Ga(U.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),se;if(re&&(Xe(),H(64),se=ke(16777216,xs),H(24)),!zi(Z))return M(y.createTypeParameterDeclaration(void 0,Z,void 0,se),F)}function b5(){let F=T(),re=[];do{Xe();let Z=g5();Z!==void 0&&re.push(Z),Cr()}while(xo(28));return Ft(re,F)}function Ib(F,re,Z,se){let ce=f()===19?b():void 0,Me=b5();return M(y.createJSDocTemplateTag(re,ce,Me,lr(F,T(),Z,se)),F)}function xo(F){return f()===F?(fe(),!0):!1}function v5(){let F=Ga();for(je(23)&&H(24);je(25);){let re=Ga();je(23)&&H(24),F=s1(F,re)}return F}function Ga(F){if(!kt(f()))return Jr(80,!F,F||U.Identifier_expected);Or++;let re=t.getTokenStart(),Z=t.getTokenEnd(),se=f(),ce=sa(t.getTokenValue()),Me=M(G(ce,se),re,Z);return fe(),Me}}})(gf=e.JSDocParser||(e.JSDocParser={}))})(Zn||(Zn={})),(e=>{function t(k,L,G,K){if(K=K||N.shouldAssert(2),y(k,L,G,K),w4(G))return k;if(k.statements.length===0)return Zn.parseSourceFile(k.fileName,L,k.languageVersion,void 0,!0,k.scriptKind,k.setExternalModuleIndicator);let ue=k;N.assert(!ue.hasBeenIncrementallyParsed),ue.hasBeenIncrementallyParsed=!0,Zn.fixupParentReferences(ue);let Y=k.text,B=C(k),ae=l(k,G);y(k,L,ae,K),N.assert(ae.span.start<=G.span.start),N.assert(Kt(ae.span)===Kt(G.span)),N.assert(Kt(Qs(ae))===Kt(Qs(G)));let Ce=Qs(ae).length-ae.span.length;h(ue,ae.span.start,Kt(ae.span),Kt(Qs(ae)),Ce,Y,L,K);let Ze=Zn.parseSourceFile(k.fileName,L,k.languageVersion,B,!0,k.scriptKind,k.setExternalModuleIndicator);return Ze.commentDirectives=r(k.commentDirectives,Ze.commentDirectives,ae.span.start,Kt(ae.span),Ce,Y,L,K),Ze.impliedNodeFormat=k.impliedNodeFormat,Ze}e.updateSourceFile=t;function r(k,L,G,K,ue,Y,B,ae){if(!k)return L;let Ce,Ze=!1;for(let rt of k){let{range:it,type:Ir}=rt;if(it.end<G)Ce=xt(Ce,rt);else if(it.pos>K){qe();let ar={range:{pos:it.pos+ue,end:it.end+ue},type:Ir};Ce=xt(Ce,ar),ae&&N.assert(Y.substring(it.pos,it.end)===B.substring(ar.range.pos,ar.range.end))}}return qe(),Ce;function qe(){Ze||(Ze=!0,Ce?L&&Ce.push(...L):Ce=L)}}function a(k,L,G,K,ue,Y){L?ae(k):B(k);return;function B(Ce){let Ze="";if(Y&&_(Ce)&&(Ze=K.substring(Ce.pos,Ce.end)),Ce._children&&(Ce._children=void 0),Ya(Ce,Ce.pos+G,Ce.end+G),Y&&_(Ce)&&N.assert(Ze===ue.substring(Ce.pos,Ce.end)),Bt(Ce,B,ae),Wi(Ce))for(let qe of Ce.jsDoc)B(qe);d(Ce,Y)}function ae(Ce){Ce._children=void 0,Ya(Ce,Ce.pos+G,Ce.end+G);for(let Ze of Ce)B(Ze)}}function _(k){switch(k.kind){case 11:case 9:case 80:return!0}return!1}function p(k,L,G,K,ue){N.assert(k.end>=L,"Adjusting an element that was entirely before the change range"),N.assert(k.pos<=G,"Adjusting an element that was entirely after the change range"),N.assert(k.pos<=k.end);let Y=Math.min(k.pos,K),B=k.end>=G?k.end+ue:Math.min(k.end,K);N.assert(Y<=B),k.parent&&(N.assertGreaterThanOrEqual(Y,k.parent.pos),N.assertLessThanOrEqual(B,k.parent.end)),Ya(k,Y,B)}function d(k,L){if(L){let G=k.pos,K=ue=>{N.assert(ue.pos>=G),G=ue.end};if(Wi(k))for(let ue of k.jsDoc)K(ue);Bt(k,K),N.assert(G<=k.end)}}function h(k,L,G,K,ue,Y,B,ae){Ce(k);return;function Ce(qe){if(N.assert(qe.pos<=qe.end),qe.pos>G){a(qe,!1,ue,Y,B,ae);return}let rt=qe.end;if(rt>=L){if(qe.intersectsChange=!0,qe._children=void 0,p(qe,L,G,K,ue),Bt(qe,Ce,Ze),Wi(qe))for(let it of qe.jsDoc)Ce(it);d(qe,ae);return}N.assert(rt<L)}function Ze(qe){if(N.assert(qe.pos<=qe.end),qe.pos>G){a(qe,!0,ue,Y,B,ae);return}let rt=qe.end;if(rt>=L){qe.intersectsChange=!0,qe._children=void 0,p(qe,L,G,K,ue);for(let it of qe)Ce(it);return}N.assert(rt<L)}}function l(k,L){let K=L.span.start;for(let B=0;K>0&&B<=1;B++){let ae=v(k,K);N.assert(ae.pos<=K);let Ce=ae.pos;K=Math.max(0,Ce-1)}let ue=Hi(K,Kt(L.span)),Y=L.newLength+(L.span.start-K);return $d(ue,Y)}function v(k,L){let G=k,K;if(Bt(k,Y),K){let B=ue(K);B.pos>G.pos&&(G=B)}return G;function ue(B){for(;;){let ae=kS(B);if(ae)B=ae;else return B}}function Y(B){if(!zi(B))if(B.pos<=L){if(B.pos>=G.pos&&(G=B),L<B.end)return Bt(B,Y),!0;N.assert(B.end<=L),K=B}else return N.assert(B.pos>L),!0}}function y(k,L,G,K){let ue=k.text;if(G&&(N.assert(ue.length-G.span.length+G.newLength===L.length),K||N.shouldAssert(3))){let Y=ue.substr(0,G.span.start),B=L.substr(0,G.span.start);N.assert(Y===B);let ae=ue.substring(Kt(G.span),ue.length),Ce=L.substring(Kt(Qs(G)),L.length);N.assert(ae===Ce)}}function C(k){let L=k.statements,G=0;N.assert(G<L.length);let K=L[G],ue=-1;return{currentNode(B){return B!==ue&&(K&&K.end===B&&G<L.length-1&&(G++,K=L[G]),(!K||K.pos!==B)&&Y(B)),ue=B,N.assert(!K||K.pos===B),K}};function Y(B){L=void 0,G=-1,K=void 0,Bt(k,ae,Ce);return;function ae(Ze){return B>=Ze.pos&&B<Ze.end?(Bt(Ze,ae,Ce),!0):!1}function Ce(Ze){if(B>=Ze.pos&&B<Ze.end)for(let qe=0;qe<Ze.length;qe++){let rt=Ze[qe];if(rt){if(rt.pos===B)return L=Ze,G=qe,K=rt,!0;if(rt.pos<B&&B<rt.end)return Bt(rt,ae,Ce),!0}}return!1}}}e.createSyntaxCursor=C;let S;(k=>{k[k.Value=-1]="Value"})(S||(S={}))})(Vf||(Vf={})),Hf=new Map,Q8=/^\/\/\/\s*<(\S+)\s.*?\/>/im,Y8=/^\/\/\/?\s*@([^\s:]+)(.*)\s*$/im}}),Wj=()=>{},$V=Vt({"src/compiler/pnp.ts"(){"use strict";t4()}}),Vj=()=>{},Hj=()=>{},Gj=()=>{},Xj=()=>{},$j=()=>{},Qj=()=>{},Yj=()=>{},Kj=()=>{},Zj=()=>{},eF=()=>{},tF=()=>{},rF=()=>{},nF=()=>{},iF=()=>{},aF=()=>{},oF=()=>{},sF=()=>{},_F=()=>{},cF=()=>{},lF=()=>{},uF=()=>{},pF=()=>{},fF=()=>{},dF=()=>{},mF=()=>{},hF=()=>{},yF=()=>{},gF=()=>{},bF=()=>{},vF=()=>{},TF=()=>{},SF=()=>{},xF=()=>{},wF=()=>{},CF=()=>{},EF=()=>{},AF=()=>{},kF=()=>{},DF=()=>{},PF=()=>{},IF=()=>{},NF=()=>{},OF=()=>{},MF=()=>{},LF=()=>{},JF=()=>{},RF=()=>{},Dr=Vt({"src/compiler/_namespaces/ts.ts"(){"use strict";N5(),pE(),Vv(),fE(),dE(),hE(),bE(),Xv(),TE(),t4(),RE(),HE(),Jk(),SL(),xL(),wL(),CL(),jL(),FL(),BL(),mR(),kj(),Dj(),zj(),Wj(),Vj(),Hj(),Gj(),$j(),Qj(),Yj(),Kj(),Zj(),eF(),tF(),rF(),nF(),iF(),aF(),oF(),sF(),_F(),cF(),lF(),uF(),pF(),fF(),dF(),mF(),hF(),yF(),gF(),bF(),vF(),TF(),SF(),xF(),wF(),CF(),EF(),AF(),kF(),DF(),PF(),IF(),NF(),OF(),MF(),LF(),JF(),RF(),Xj(),Gv()}}),K8=()=>{},jF=()=>{},Z8=()=>{},Fo,Z8=()=>{Vv(),Fo=ns(99,!0)},FF=()=>{},e7=()=>{},BF=()=>{},UF=()=>{},qF=()=>{},zF=()=>{},WF=()=>{},VF=()=>{},HF=()=>{},GF=()=>{},t7=()=>{},r7=()=>{},n7=()=>{},XF=()=>{};function i7(e,t,r,a){let _=ql(e)?new Od(e,t,r):e===80?new Md(80,t,r):e===81?new Ld(81,t,r):new W6(e,t,r);return _.parent=a,_.flags=a.flags&101441536,_}function $F(e,t){if(!ql(e.kind))return $e;let r=[];if(w3(e))return e.forEachChild(d=>{r.push(d)}),r;Fo.setText((t||e.getSourceFile()).text);let a=e.pos,_=d=>{hl(r,a,d.pos,e),r.push(d),a=d.end},p=d=>{hl(r,a,d.pos,e),r.push(QF(d,e)),a=d.end};return yr(e.jsDoc,_),a=e.pos,e.forEachChild(_,p),hl(r,a,e.end,e),Fo.setText(void 0),r}function hl(e,t,r,a){for(Fo.resetTokenState(t);t<r;){let _=Fo.scan(),p=Fo.getTokenEnd();if(p<=r){if(_===80){if(_x(a))continue;N.fail(`Did not expect ${N.formatSyntaxKind(a.kind)} to have an Identifier in its trivia`)}e.push(i7(_,t,p,a))}if(t=p,_===1)break}}function QF(e,t){let r=i7(358,e.pos,e.end,t);r._children=[];let a=e.pos;for(let _ of e)hl(r._children,a,_.pos,t),r._children.push(_),a=_.end;return hl(r._children,a,e.end,t),r}function a7(e){return Ul(e).some(t=>t.tagName.text==="inheritDoc"||t.tagName.text==="inheritdoc")}function Df(e,t){if(!e)return $e;let r=ts_JsDoc_exports.getJsDocTagsFromDeclarations(e,t);if(t&&(r.length===0||e.some(a7))){let a=new Set;for(let _ of e){let p=o7(t,_,d=>{var h;if(!a.has(d))return a.add(d),_.kind===177||_.kind===178?d.getContextualJsDocTags(_,t):((h=d.declarations)==null?void 0:h.length)===1?d.getJsDocTags():void 0});p&&(r=[...p,...r])}}return r}function Kc(e,t){if(!e)return $e;let r=ts_JsDoc_exports.getJsDocCommentsFromDeclarations(e,t);if(t&&(r.length===0||e.some(a7))){let a=new Set;for(let _ of e){let p=o7(t,_,d=>{if(!a.has(d))return a.add(d),_.kind===177||_.kind===178?d.getContextualDocumentationComment(_,t):d.getDocumentationComment(t)});p&&(r=r.length===0?p.slice():p.concat(lineBreakPart(),r))}}return r}function o7(e,t,r){var a;let _=((a=t.parent)==null?void 0:a.kind)===176?t.parent.parent:t.parent;if(!_)return;let p=bm(t);return ng(PT(_),d=>{let h=e.getTypeAtLocation(d),l=p&&h.symbol?e.getTypeOfSymbol(h.symbol):h,v=e.getPropertyOfType(l,t.symbol.name);return v?r(v):void 0})}function YF(){return{getNodeConstructor:()=>Od,getTokenConstructor:()=>W6,getIdentifierConstructor:()=>Md,getPrivateIdentifierConstructor:()=>Ld,getSourceFileConstructor:()=>y7,getSymbolConstructor:()=>d7,getTypeConstructor:()=>m7,getSignatureConstructor:()=>h7,getSourceMapSourceConstructor:()=>g7}}function sl(e){let t=!0;for(let a in e)if(Qr(e,a)&&!dv(a)){t=!1;break}if(t)return e;let r={};for(let a in e)if(Qr(e,a)){let _=dv(a)?a:a.charAt(0).toLowerCase()+a.substr(1);r[_]=e[a]}return r}function dv(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function KF(e){return e?Aa(e,t=>t.text).join(""):""}function s7(){return{target:1,jsx:1}}function _7(){return ts_codefix_exports.getSupportedErrorCodes()}function c7(e,t,r){e.version=r,e.scriptSnapshot=t}function z6(e,t,r,a,_,p){let d=V8(e,getSnapshotText(t),r,_,p);return c7(d,t,a),d}function l7(e,t,r,a,_){if(a&&r!==e.version){let d,h=a.span.start!==0?e.text.substr(0,a.span.start):"",l=Kt(a.span)!==e.text.length?e.text.substr(Kt(a.span)):"";if(a.newLength===0)d=h&&l?h+l:h||l;else{let y=t.getText(a.span.start,a.span.start+a.newLength);d=h&&l?h+y+l:h?h+y:y+l}let v=q6(e,d,a,_);return c7(v,t,r),v.nameTable=void 0,e!==v&&e.scriptSnapshot&&(e.scriptSnapshot.dispose&&e.scriptSnapshot.dispose(),e.scriptSnapshot=void 0),v}let p={languageVersion:e.languageVersion,impliedNodeFormat:e.impliedNodeFormat,setExternalModuleIndicator:e.setExternalModuleIndicator};return z6(e.fileName,t,p,r,!0,e.scriptKind)}function ZF(e,t=createDocumentRegistry(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory()),r){var a;let _;r===void 0?_=0:typeof r=="boolean"?_=r?2:0:_=r;let p=new b7(e),d,h,l=0,v=e.getCancellationToken?new T7(e.getCancellationToken()):v7,y=e.getCurrentDirectory();NS((a=e.getLocalizedDiagnosticMessages)==null?void 0:a.bind(e));function C(j){e.log&&e.log(j)}let S=C2(e),k=Ud(S),L=getSourceMapper({useCaseSensitiveFileNames:()=>S,getCurrentDirectory:()=>y,getProgram:ue,fileExists:rr(e,e.fileExists),readFile:rr(e,e.readFile),getDocumentPositionMapper:rr(e,e.getDocumentPositionMapper),getSourceFileLike:rr(e,e.getSourceFileLike),log:C});function G(j){let T=d.getSourceFile(j);if(!T){let x=new Error(`Could not find source file: '${j}'.`);throw x.ProgramFiles=d.getSourceFiles().map(f=>f.fileName),x}return T}function K(){var j,T,x;if(N.assert(_!==2),e.getProjectVersion){let Ie=e.getProjectVersion();if(Ie){if(h===Ie&&!((j=e.hasChangedAutomaticTypeDirectiveNames)!=null&&j.call(e)))return;h=Ie}}let f=e.getTypeRootsVersion?e.getTypeRootsVersion():0;l!==f&&(C("TypeRoots version has changed; provide new program"),d=void 0,l=f);let $=e.getScriptFileNames().slice(),Q=e.getCompilationSettings()||s7(),O=e.hasInvalidatedResolutions||$f,fe=rr(e,e.hasInvalidatedLibResolutions)||$f,be=rr(e,e.hasChangedAutomaticTypeDirectiveNames),he=(T=e.getProjectReferences)==null?void 0:T.call(e),Re,we={getSourceFile:H,getSourceFileByPath:Fa,getCancellationToken:()=>v,getCanonicalFileName:k,useCaseSensitiveFileNames:()=>S,getNewLine:()=>vS(Q),getDefaultLibFileName:Ie=>e.getDefaultLibFileName(Ie),writeFile:Rn,getCurrentDirectory:()=>y,fileExists:Ie=>e.fileExists(Ie),readFile:Ie=>e.readFile&&e.readFile(Ie),getSymlinkCache:rr(e,e.getSymlinkCache),realpath:rr(e,e.realpath),directoryExists:Ie=>bS(Ie,e),getDirectories:Ie=>e.getDirectories?e.getDirectories(Ie):[],readDirectory:(Ie,ot,cr,an,Ba)=>(N.checkDefined(e.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),e.readDirectory(Ie,ot,cr,an,Ba)),onReleaseOldSourceFile:Et,onReleaseParsedCommandLine:An,hasInvalidatedResolutions:O,hasInvalidatedLibResolutions:fe,hasChangedAutomaticTypeDirectiveNames:be,trace:rr(e,e.trace),resolveModuleNames:rr(e,e.resolveModuleNames),getModuleResolutionCache:rr(e,e.getModuleResolutionCache),createHash:rr(e,e.createHash),resolveTypeReferenceDirectives:rr(e,e.resolveTypeReferenceDirectives),resolveModuleNameLiterals:rr(e,e.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:rr(e,e.resolveTypeReferenceDirectiveReferences),resolveLibrary:rr(e,e.resolveLibrary),useSourceOfProjectReferenceRedirect:rr(e,e.useSourceOfProjectReferenceRedirect),getParsedCommandLine:Te},et=we.getSourceFile,{getSourceFileWithCache:Ye}=changeCompilerHostLikeToUseCache(we,Ie=>xi(Ie,y,k),(...Ie)=>et.call(we,...Ie));we.getSourceFile=Ye,(x=e.setCompilerHost)==null||x.call(e,we);let Ke={useCaseSensitiveFileNames:S,fileExists:Ie=>we.fileExists(Ie),readFile:Ie=>we.readFile(Ie),directoryExists:Ie=>we.directoryExists(Ie),getDirectories:Ie=>we.getDirectories(Ie),realpath:we.realpath,readDirectory:(...Ie)=>we.readDirectory(...Ie),trace:we.trace,getCurrentDirectory:we.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:Rn},It=t.getKeyForCompilationSettings(Q),qt=new Set;if(isProgramUptoDate(d,$,Q,(Ie,ot)=>e.getScriptVersion(ot),Ie=>we.fileExists(Ie),O,fe,be,Te,he)){we=void 0,Re=void 0,qt=void 0;return}let _r={rootNames:$,options:Q,host:we,oldProgram:d,projectReferences:he};d=createProgram(_r),we=void 0,Re=void 0,qt=void 0,L.clearCache(),d.getTypeChecker();return;function Te(Ie){let ot=xi(Ie,y,k),cr=Re==null?void 0:Re.get(ot);if(cr!==void 0)return cr||void 0;let an=e.getParsedCommandLine?e.getParsedCommandLine(Ie):ft(Ie);return(Re||(Re=new Map)).set(ot,an||!1),an}function ft(Ie){let ot=H(Ie,100);if(ot)return ot.path=xi(Ie,y,k),ot.resolvedPath=ot.path,ot.originalFileName=ot.fileName,parseJsonSourceFileConfigFileContent(ot,Ke,Pa($i(Ie),y),void 0,Pa(Ie,y))}function An(Ie,ot,cr){var an;e.getParsedCommandLine?(an=e.onReleaseParsedCommandLine)==null||an.call(e,Ie,ot,cr):ot&&Et(ot.sourceFile,cr)}function Et(Ie,ot){let cr=t.getKeyForCompilationSettings(ot);t.releaseDocumentWithKey(Ie.resolvedPath,cr,Ie.scriptKind,Ie.impliedNodeFormat)}function H(Ie,ot,cr,an){return Fa(Ie,xi(Ie,y,k),ot,cr,an)}function Fa(Ie,ot,cr,an,Ba){N.assert(we,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");let kn=e.getScriptSnapshot(Ie);if(!kn)return;let je=getScriptKind(Ie,e),dt=e.getScriptVersion(Ie);if(!Ba){let li=d&&d.getSourceFileByPath(ot);if(li){if(je===li.scriptKind||qt.has(li.resolvedPath))return t.updateDocumentWithKey(Ie,ot,e,It,kn,dt,je,cr);t.releaseDocumentWithKey(li.resolvedPath,t.getKeyForCompilationSettings(d.getCompilerOptions()),li.scriptKind,li.impliedNodeFormat),qt.add(li.resolvedPath)}}return t.acquireDocumentWithKey(Ie,ot,e,It,kn,dt,je,cr)}}function ue(){if(_===2){N.assert(d===void 0);return}return K(),d}function Y(){var j;return(j=e.getPackageJsonAutoImportProvider)==null?void 0:j.call(e)}function B(j,T){let x=d.getTypeChecker(),f=$();if(!f)return!1;for(let O of j)for(let fe of O.references){let be=Q(fe);if(N.assertIsDefined(be),T.has(fe)||ts_FindAllReferences_exports.isDeclarationOfSymbol(be,f)){T.add(fe),fe.isDefinition=!0;let he=getMappedDocumentSpan(fe,L,rr(e,e.fileExists));he&&T.add(he)}else fe.isDefinition=!1}return!0;function $(){for(let O of j)for(let fe of O.references){if(T.has(fe)){let he=Q(fe);return N.assertIsDefined(he),x.getSymbolAtLocation(he)}let be=getMappedDocumentSpan(fe,L,rr(e,e.fileExists));if(be&&T.has(be)){let he=Q(be);if(he)return x.getSymbolAtLocation(he)}}}function Q(O){let fe=d.getSourceFile(O.fileName);if(!fe)return;let be=getTouchingPropertyName(fe,O.textSpan.start);return ts_FindAllReferences_exports.Core.getAdjustedNode(be,{use:ts_FindAllReferences_exports.FindReferencesUse.References})}}function ae(){if(d){let j=t.getKeyForCompilationSettings(d.getCompilerOptions());yr(d.getSourceFiles(),T=>t.releaseDocumentWithKey(T.resolvedPath,j,T.scriptKind,T.impliedNodeFormat)),d=void 0}}function Ce(){ae(),e=void 0}function Ze(j){return K(),d.getSyntacticDiagnostics(G(j),v).slice()}function qe(j){K();let T=G(j),x=d.getSemanticDiagnostics(T,v);if(!z2(d.getCompilerOptions()))return x.slice();let f=d.getDeclarationDiagnostics(T,v);return[...x,...f]}function rt(j){return K(),computeSuggestionDiagnostics(G(j),d,v)}function it(){return K(),[...d.getOptionsDiagnostics(v),...d.getGlobalDiagnostics(v)]}function Ir(j,T,x=emptyOptions,f){let $={...x,includeCompletionsForModuleExports:x.includeCompletionsForModuleExports||x.includeExternalModuleExports,includeCompletionsWithInsertText:x.includeCompletionsWithInsertText||x.includeInsertTextCompletions};return K(),ts_Completions_exports.getCompletionsAtPosition(e,d,C,G(j),T,$,x.triggerCharacter,x.triggerKind,v,f&&ts_formatting_exports.getFormatContext(f,e),x.includeSymbol)}function ar(j,T,x,f,$,Q=emptyOptions,O){return K(),ts_Completions_exports.getCompletionEntryDetails(d,C,G(j),T,{name:x,source:$,data:O},e,f&&ts_formatting_exports.getFormatContext(f,e),Q,v)}function ci(j,T,x,f,$=emptyOptions){return K(),ts_Completions_exports.getCompletionEntrySymbol(d,C,G(j),T,{name:x,source:f},e,$)}function or(j,T){K();let x=G(j),f=getTouchingPropertyName(x,T);if(f===x)return;let $=d.getTypeChecker(),Q=Nr(f),O=iB(Q,$);if(!O||$.isUnknownSymbol(O)){let we=Ge(x,Q,T)?$.getTypeAtLocation(Q):void 0;return we&&{kind:"",kindModifiers:"",textSpan:createTextSpanFromNode(Q,x),displayParts:$.runWithCancellationToken(v,et=>typeToDisplayParts(et,we,getContainerNode(Q))),documentation:we.symbol?we.symbol.getDocumentationComment($):void 0,tags:we.symbol?we.symbol.getJsDocTags($):void 0}}let{symbolKind:fe,displayParts:be,documentation:he,tags:Re}=$.runWithCancellationToken(v,we=>ts_SymbolDisplay_exports.getSymbolDisplayPartsDocumentationAndSymbolKind(we,O,x,getContainerNode(Q),Q));return{kind:fe,kindModifiers:ts_SymbolDisplay_exports.getSymbolModifiers($,O),textSpan:createTextSpanFromNode(Q,x),displayParts:be,documentation:he,tags:Re}}function Nr(j){return a8(j.parent)&&j.pos===j.parent.pos?j.parent.expression:p6(j.parent)&&j.pos===j.parent.pos||x0(j.parent)&&j.parent.name===j||U_(j.parent)?j.parent:j}function Ge(j,T,x){switch(T.kind){case 80:return!isLabelName(T)&&!isTagName(T)&&!K4(T.parent);case 211:case 166:return!isInComment(j,x);case 110:case 197:case 108:case 202:return!0;case 236:return x0(T);default:return!1}}function Gt(j,T,x,f){return K(),ts_GoToDefinition_exports.getDefinitionAtPosition(d,G(j),T,x,f)}function Ur(j,T){return K(),ts_GoToDefinition_exports.getDefinitionAndBoundSpan(d,G(j),T)}function Xt(j,T){return K(),ts_GoToDefinition_exports.getTypeDefinitionAtPosition(d.getTypeChecker(),G(j),T)}function Tn(j,T){return K(),ts_FindAllReferences_exports.getImplementationsAtPosition(d,v,d.getSourceFiles(),G(j),T)}function Sn(j,T,x){let f=pn(j);N.assert(x.some(O=>pn(O)===f)),K();let $=Za(x,O=>d.getSourceFile(O)),Q=G(j);return DocumentHighlights.getDocumentHighlights(d,v,Q,T,$)}function sr(j,T,x,f,$){K();let Q=G(j),O=getAdjustedRenameLocation(getTouchingPropertyName(Q,T));if(ts_Rename_exports.nodeIsEligibleForRename(O))if(Ee(O)&&(Oo(O.parent)||zf(O.parent))&&zT(O.escapedText)){let{openingElement:fe,closingElement:be}=O.parent.parent;return[fe,be].map(he=>{let Re=createTextSpanFromNode(he.tagName,Q);return{fileName:Q.fileName,textSpan:Re,...ts_FindAllReferences_exports.toContextSpan(Re,Q,he.parent)}})}else{let fe=getQuotePreference(Q,$??emptyOptions),be=typeof $=="boolean"?$:$==null?void 0:$.providePrefixAndSuffixTextForRename;return St(O,T,{findInStrings:x,findInComments:f,providePrefixAndSuffixTextForRename:be,use:ts_FindAllReferences_exports.FindReferencesUse.Rename},(he,Re,we)=>ts_FindAllReferences_exports.toRenameLocation(he,Re,we,be||!1,fe))}}function $t(j,T){return K(),St(getTouchingPropertyName(G(j),T),T,{use:ts_FindAllReferences_exports.FindReferencesUse.References},ts_FindAllReferences_exports.toReferenceEntry)}function St(j,T,x,f){K();let $=x&&x.use===ts_FindAllReferences_exports.FindReferencesUse.Rename?d.getSourceFiles().filter(Q=>!d.isSourceFileDefaultLibrary(Q)):d.getSourceFiles();return ts_FindAllReferences_exports.findReferenceOrRenameEntries(d,v,$,j,T,x,f)}function xn(j,T){return K(),ts_FindAllReferences_exports.findReferencedSymbols(d,v,d.getSourceFiles(),G(j),T)}function Tr(j){return K(),ts_FindAllReferences_exports.Core.getReferencesForFileName(j,d,d.getSourceFiles()).map(ts_FindAllReferences_exports.toReferenceEntry)}function vt(j,T,x,f=!1){K();let $=x?[G(x)]:d.getSourceFiles();return getNavigateToItems($,d.getTypeChecker(),v,j,T,f)}function ct(j,T,x){K();let f=G(j),$=e.getCustomTransformers&&e.getCustomTransformers();return getFileEmitOutput(d,f,!!T,v,$,x)}function Ut(j,T,{triggerReason:x}=emptyOptions){K();let f=G(j);return ts_SignatureHelp_exports.getSignatureHelpItems(d,f,T,x,v)}function fr(j){return p.getCurrentSourceFile(j)}function ht(j,T,x){let f=p.getCurrentSourceFile(j),$=getTouchingPropertyName(f,T);if($===f)return;switch($.kind){case 211:case 166:case 11:case 97:case 112:case 106:case 108:case 110:case 197:case 80:break;default:return}let Q=$;for(;;)if(isRightSideOfPropertyAccess(Q)||isRightSideOfQualifiedName(Q))Q=Q.parent;else if(isNameOfModuleDeclaration(Q))if(Q.parent.parent.kind===267&&Q.parent.parent.body===Q.parent)Q=Q.parent.parent.name;else break;else break;return Hi(Q.getStart(),$.getEnd())}function wn(j,T){let x=p.getCurrentSourceFile(j);return ts_BreakpointResolver_exports.spanInSourceFileAtLocation(x,T)}function Tt(j){return getNavigationBarItems(p.getCurrentSourceFile(j),v)}function Or(j){return getNavigationTree(p.getCurrentSourceFile(j),v)}function pt(j,T,x){return K(),(x||"original")==="2020"?getSemanticClassifications2(d,v,G(j),T):getSemanticClassifications(d.getTypeChecker(),v,G(j),d.getClassifiableNames(),T)}function Mr(j,T,x){return K(),(x||"original")==="original"?getEncodedSemanticClassifications(d.getTypeChecker(),v,G(j),d.getClassifiableNames(),T):getEncodedSemanticClassifications2(d,v,G(j),T)}function at(j,T){return getSyntacticClassifications(v,p.getCurrentSourceFile(j),T)}function er(j,T){return getEncodedSyntacticClassifications(v,p.getCurrentSourceFile(j),T)}function Qt(j){let T=p.getCurrentSourceFile(j);return ts_OutliningElementsCollector_exports.collectElements(T,v)}let tn=new Map(Object.entries({19:20,21:22,23:24,32:30}));tn.forEach((j,T)=>tn.set(j.toString(),Number(T)));function Bn(j,T){let x=p.getCurrentSourceFile(j),f=getTouchingToken(x,T),$=f.getStart(x)===T?tn.get(f.kind.toString()):void 0,Q=$&&findChildOfKind(f.parent,$,x);return Q?[createTextSpanFromNode(f,x),createTextSpanFromNode(Q,x)].sort((O,fe)=>O.start-fe.start):$e}function Un(j,T,x){let f=Sa(),$=sl(x),Q=p.getCurrentSourceFile(j);C("getIndentationAtPosition: getCurrentSourceFile: "+(Sa()-f)),f=Sa();let O=ts_formatting_exports.SmartIndenter.getIndentation(T,Q,$);return C("getIndentationAtPosition: computeIndentation  : "+(Sa()-f)),O}function rn(j,T,x,f){let $=p.getCurrentSourceFile(j);return ts_formatting_exports.formatSelection(T,x,$,ts_formatting_exports.getFormatContext(sl(f),e))}function nn(j,T){return ts_formatting_exports.formatDocument(p.getCurrentSourceFile(j),ts_formatting_exports.getFormatContext(sl(T),e))}function Di(j,T,x,f){let $=p.getCurrentSourceFile(j),Q=ts_formatting_exports.getFormatContext(sl(f),e);if(!isInComment($,T))switch(x){case"{":return ts_formatting_exports.formatOnOpeningCurly(T,$,Q);case"}":return ts_formatting_exports.formatOnClosingCurly(T,$,Q);case";":return ts_formatting_exports.formatOnSemicolon(T,$,Q);case`
`:return ts_formatting_exports.formatOnEnter(T,$,Q)}return[]}function qn(j,T,x,f,$,Q=emptyOptions){K();let O=G(j),fe=Hi(T,x),be=ts_formatting_exports.getFormatContext($,e);return Bo(Sv(f,_o,kr),he=>(v.throwIfCancellationRequested(),ts_codefix_exports.getFixes({errorCode:he,sourceFile:O,span:fe,program:d,host:e,cancellationToken:v,formatContext:be,preferences:Q})))}function Ae(j,T,x,f=emptyOptions){K(),N.assert(j.type==="file");let $=G(j.fileName),Q=ts_formatting_exports.getFormatContext(x,e);return ts_codefix_exports.getAllFixes({fixId:T,sourceFile:$,program:d,host:e,cancellationToken:v,formatContext:Q,preferences:f})}function q(j,T,x=emptyOptions){K(),N.assert(j.type==="file");let f=G(j.fileName),$=ts_formatting_exports.getFormatContext(T,e),Q=j.mode??(j.skipDestructiveCodeActions?"SortAndCombine":"All");return ts_OrganizeImports_exports.organizeImports(f,$,e,d,x,Q)}function oe(j,T,x,f=emptyOptions){return getEditsForFileRename(ue(),j,T,e,ts_formatting_exports.getFormatContext(x,e),f,L)}function ge(j,T){let x=typeof j=="string"?T:j;return zt(x)?Promise.all(x.map(f=>Se(f))):Se(x)}function Se(j){let T=x=>xi(x,y,k);return N.assertEqual(j.type,"install package"),e.installPackage?e.installPackage({fileName:T(j.file),packageName:j.packageName}):Promise.reject("Host does not implement `installPackage`")}function nt(j,T,x,f){let $=f?ts_formatting_exports.getFormatContext(f,e).options:void 0;return ts_JsDoc_exports.getDocCommentTemplateAtPosition(getNewLineOrDefaultFromHost(e,$),p.getCurrentSourceFile(j),T,x)}function z(j,T,x){if(x===60)return!1;let f=p.getCurrentSourceFile(j);if(isInString(f,T))return!1;if(isInsideJsxElementOrAttribute(f,T))return x===123;if(isInTemplateString(f,T))return!1;switch(x){case 39:case 34:case 96:return!isInComment(f,T)}return!0}function X(j,T){let x=p.getCurrentSourceFile(j),f=findPrecedingToken(T,x);if(!f)return;let $=f.kind===32&&Oo(f.parent)?f.parent.parent:Dd(f)&&Q0(f.parent)?f.parent:void 0;if($&&jt($))return{newText:`</${$.openingElement.tagName.getText(x)}>`};let Q=f.kind===32&&k6(f.parent)?f.parent.parent:Dd(f)&&dl(f.parent)?f.parent:void 0;if(Q&&qr(Q))return{newText:"</>"}}function ee(j,T){let x=p.getCurrentSourceFile(j),f=findPrecedingToken(T,x);if(!f||f.parent.kind===312)return;let $="[a-zA-Z0-9:\\-\\._$]*";if(dl(f.parent.parent)){let Q=f.parent.parent.openingFragment,O=f.parent.parent.closingFragment;if(xl(Q)||xl(O))return;let fe=Q.getStart(x)+1,be=O.getStart(x)+2;return T!==fe&&T!==be?void 0:{ranges:[{start:fe,length:0},{start:be,length:0}],wordPattern:$}}else{let Q=Kr(f.parent,Ye=>!!(Oo(Ye)||zf(Ye)));if(!Q)return;N.assert(Oo(Q)||zf(Q),"tag should be opening or closing element");let O=Q.parent.openingElement,fe=Q.parent.closingElement,be=O.tagName.getStart(x),he=O.tagName.end,Re=fe.tagName.getStart(x),we=fe.tagName.end;return!(be<=T&&T<=he||Re<=T&&T<=we)||O.tagName.getText(x)!==fe.tagName.getText(x)?void 0:{ranges:[{start:be,length:he-be},{start:Re,length:we-Re}],wordPattern:$}}}function xe(j,T){return{lineStarts:j.getLineStarts(),firstLine:j.getLineAndCharacterOfPosition(T.pos).line,lastLine:j.getLineAndCharacterOfPosition(T.end).line}}function ke(j,T,x){let f=p.getCurrentSourceFile(j),$=[],{lineStarts:Q,firstLine:O,lastLine:fe}=xe(f,T),be=x||!1,he=Number.MAX_VALUE,Re=new Map,we=new RegExp(/\S/),et=isInsideJsxElement(f,Q[O]),Ye=et?"{/*":"//";for(let Ke=O;Ke<=fe;Ke++){let It=f.text.substring(Q[Ke],f.getLineEndOfPosition(Q[Ke])),qt=we.exec(It);qt&&(he=Math.min(he,qt.index),Re.set(Ke.toString(),qt.index),It.substr(qt.index,Ye.length)!==Ye&&(be=x===void 0||x))}for(let Ke=O;Ke<=fe;Ke++){if(O!==fe&&Q[Ke]===T.end)continue;let It=Re.get(Ke.toString());It!==void 0&&(et?$.push.apply($,Le(j,{pos:Q[Ke]+he,end:f.getLineEndOfPosition(Q[Ke])},be,et)):be?$.push({newText:Ye,span:{length:0,start:Q[Ke]+he}}):f.text.substr(Q[Ke]+It,Ye.length)===Ye&&$.push({newText:"",span:{length:Ye.length,start:Q[Ke]+It}}))}return $}function Le(j,T,x,f){var $;let Q=p.getCurrentSourceFile(j),O=[],{text:fe}=Q,be=!1,he=x||!1,Re=[],{pos:we}=T,et=f!==void 0?f:isInsideJsxElement(Q,we),Ye=et?"{/*":"/*",Ke=et?"*/}":"*/",It=et?"\\{\\/\\*":"\\/\\*",qt=et?"\\*\\/\\}":"\\*\\/";for(;we<=T.end;){let _r=fe.substr(we,Ye.length)===Ye?Ye.length:0,Te=isInComment(Q,we+_r);if(Te)et&&(Te.pos--,Te.end++),Re.push(Te.pos),Te.kind===3&&Re.push(Te.end),be=!0,we=Te.end+1;else{let ft=fe.substring(we,T.end).search(`(${It})|(${qt})`);he=x!==void 0?x:he||!isTextWhiteSpaceLike(fe,we,ft===-1?T.end:we+ft),we=ft===-1?T.end+1:we+ft+Ke.length}}if(he||!be){(($=isInComment(Q,T.pos))==null?void 0:$.kind)!==2&&yl(Re,T.pos,kr),yl(Re,T.end,kr);let _r=Re[0];fe.substr(_r,Ye.length)!==Ye&&O.push({newText:Ye,span:{length:0,start:_r}});for(let Te=1;Te<Re.length-1;Te++)fe.substr(Re[Te]-Ke.length,Ke.length)!==Ke&&O.push({newText:Ke,span:{length:0,start:Re[Te]}}),fe.substr(Re[Te],Ye.length)!==Ye&&O.push({newText:Ye,span:{length:0,start:Re[Te]}});O.length%2!==0&&O.push({newText:Ke,span:{length:0,start:Re[Re.length-1]}})}else for(let _r of Re){let Te=_r-Ke.length>0?_r-Ke.length:0,ft=fe.substr(Te,Ke.length)===Ke?Ke.length:0;O.push({newText:"",span:{length:Ye.length,start:_r-ft}})}return O}function lt(j,T){let x=p.getCurrentSourceFile(j),{firstLine:f,lastLine:$}=xe(x,T);return f===$&&T.pos!==T.end?Le(j,T,!0):ke(j,T,!0)}function yt(j,T){let x=p.getCurrentSourceFile(j),f=[],{pos:$}=T,{end:Q}=T;$===Q&&(Q+=isInsideJsxElement(x,$)?2:1);for(let O=$;O<=Q;O++){let fe=isInComment(x,O);if(fe){switch(fe.kind){case 2:f.push.apply(f,ke(j,{end:fe.end,pos:fe.pos+1},!1));break;case 3:f.push.apply(f,Le(j,{end:fe.end,pos:fe.pos+1},!1))}O=fe.end+1}}return f}function jt({openingElement:j,closingElement:T,parent:x}){return!Ti(j.tagName,T.tagName)||Q0(x)&&Ti(j.tagName,x.openingElement.tagName)&&jt(x)}function qr({closingFragment:j,parent:T}){return!!(j.flags&262144)||dl(T)&&qr(T)}function na(j,T,x){let f=p.getCurrentSourceFile(j),$=ts_formatting_exports.getRangeOfEnclosingComment(f,T);return $&&(!x||$.kind===3)?createTextSpanFromRange($):void 0}function Cn(j,T){K();let x=G(j);v.throwIfCancellationRequested();let f=x.text,$=[];if(T.length>0&&!be(x.fileName)){let he=O(),Re;for(;Re=he.exec(f);){v.throwIfCancellationRequested();let we=3;N.assert(Re.length===T.length+we);let et=Re[1],Ye=Re.index+et.length;if(!isInComment(x,Ye))continue;let Ke;for(let qt=0;qt<T.length;qt++)Re[qt+we]&&(Ke=T[qt]);if(Ke===void 0)return N.fail();if(fe(f.charCodeAt(Ye+Ke.text.length)))continue;let It=Re[2];$.push({descriptor:Ke,message:It,position:Ye})}}return $;function Q(he){return he.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function O(){let he=/(?:\/\/+\s*)/.source,Re=/(?:\/\*+\s*)/.source,et="("+/(?:^(?:\s|\*)*)/.source+"|"+he+"|"+Re+")",Ye="(?:"+Aa(T,Te=>"("+Q(Te.text)+")").join("|")+")",Ke=/(?:$|\*\/)/.source,It=/(?:.*?)/.source,qt="("+Ye+It+")",_r=et+qt+Ke;return new RegExp(_r,"gim")}function fe(he){return he>=97&&he<=122||he>=65&&he<=90||he>=48&&he<=57}function be(he){return eo(he,"/node_modules/")}}function zn(j,T,x){return K(),ts_Rename_exports.getRenameInfo(d,G(j),T,x||{})}function Pi(j,T,x,f,$,Q){let[O,fe]=typeof T=="number"?[T,void 0]:[T.pos,T.end];return{file:j,startPosition:O,endPosition:fe,program:ue(),host:e,formatContext:ts_formatting_exports.getFormatContext(f,e),cancellationToken:v,preferences:x,triggerReason:$,kind:Q}}function ia(j,T,x){return{file:j,program:ue(),host:e,span:T,preferences:x,cancellationToken:v}}function Wn(j,T){return ts_SmartSelectionRange_exports.getSmartSelectionRange(T,p.getCurrentSourceFile(j))}function En(j,T,x=emptyOptions,f,$,Q){K();let O=G(j);return ts_refactor_exports.getApplicableRefactors(Pi(O,T,x,emptyOptions,f,$),Q)}function Ii(j,T,x=emptyOptions){K();let f=G(j),$=N.checkDefined(d.getSourceFiles()),Q=rl(j),O=Za($,be=>!(d!=null&&d.isSourceFileFromExternalLibrary(f))&&!(f===G(be.fileName)||Q===".ts"&&rl(be.fileName)===".d.ts"||Q===".d.ts"&&Fr(T_(be.fileName),"lib.")&&rl(be.fileName)===".d.ts")&&Q===rl(be.fileName)?be.fileName:void 0);return{newFileName:createNewFileName(f,d,Pi(f,T,x,emptyOptions),e),files:O}}function aa(j,T,x,f,$,Q=emptyOptions,O){K();let fe=G(j);return ts_refactor_exports.getEditsForRefactor(Pi(fe,x,Q,T),f,$,O)}function Vn(j,T){return T===0?{line:0,character:0}:L.toLineColumnOffset(j,T)}function Sr(j,T){K();let x=ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(d,getTouchingPropertyName(G(j),T));return x&&mapOneOrMany(x,f=>ts_CallHierarchy_exports.createCallHierarchyItem(d,f))}function Je(j,T){K();let x=G(j),f=firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(d,T===0?x:getTouchingPropertyName(x,T)));return f?ts_CallHierarchy_exports.getIncomingCalls(d,f,v):[]}function oa(j,T){K();let x=G(j),f=firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(d,T===0?x:getTouchingPropertyName(x,T)));return f?ts_CallHierarchy_exports.getOutgoingCalls(d,f):[]}function Mt(j,T,x=emptyOptions){K();let f=G(j);return ts_InlayHints_exports.provideInlayHints(ia(f,T,x))}let Lr={dispose:Ce,cleanupSemanticCache:ae,getSyntacticDiagnostics:Ze,getSemanticDiagnostics:qe,getSuggestionDiagnostics:rt,getCompilerOptionsDiagnostics:it,getSyntacticClassifications:at,getSemanticClassifications:pt,getEncodedSyntacticClassifications:er,getEncodedSemanticClassifications:Mr,getCompletionsAtPosition:Ir,getCompletionEntryDetails:ar,getCompletionEntrySymbol:ci,getSignatureHelpItems:Ut,getQuickInfoAtPosition:or,getDefinitionAtPosition:Gt,getDefinitionAndBoundSpan:Ur,getImplementationAtPosition:Tn,getTypeDefinitionAtPosition:Xt,getReferencesAtPosition:$t,findReferences:xn,getFileReferences:Tr,getDocumentHighlights:Sn,getNameOrDottedNameSpan:ht,getBreakpointStatementAtPosition:wn,getNavigateToItems:vt,getRenameInfo:zn,getSmartSelectionRange:Wn,findRenameLocations:sr,getNavigationBarItems:Tt,getNavigationTree:Or,getOutliningSpans:Qt,getTodoComments:Cn,getBraceMatchingAtPosition:Bn,getIndentationAtPosition:Un,getFormattingEditsForRange:rn,getFormattingEditsForDocument:nn,getFormattingEditsAfterKeystroke:Di,getDocCommentTemplateAtPosition:nt,isValidBraceCompletionAtPosition:z,getJsxClosingTagAtPosition:X,getLinkedEditingRangeAtPosition:ee,getSpanOfEnclosingComment:na,getCodeFixesAtPosition:qn,getCombinedCodeFix:Ae,applyCodeActionCommand:ge,organizeImports:q,getEditsForFileRename:oe,getEmitOutput:ct,getNonBoundSourceFile:fr,getProgram:ue,getCurrentProgram:()=>d,getAutoImportProvider:Y,updateIsDefinitionOfReferencedSymbols:B,getApplicableRefactors:En,getEditsForRefactor:aa,getMoveToRefactoringFileSuggestions:Ii,toLineColumnOffset:Vn,getSourceMapper:()=>L,clearSourceMapperCache:()=>L.clearCache(),prepareCallHierarchy:Sr,provideCallHierarchyIncomingCalls:Je,provideCallHierarchyOutgoingCalls:oa,toggleLineComment:ke,toggleMultilineComment:Le,commentSelection:lt,uncommentSelection:yt,provideInlayHints:Mt,getSupportedCodeFixes:_7};switch(_){case 0:break;case 1:rg.forEach(j=>Lr[j]=()=>{throw new Error(`LanguageService Operation: ${j} not allowed in LanguageServiceMode.PartialSemantic`)});break;case 2:x7.forEach(j=>Lr[j]=()=>{throw new Error(`LanguageService Operation: ${j} not allowed in LanguageServiceMode.Syntactic`)});break;default:N.assertNever(_)}return Lr}function eB(e){return e.nameTable||tB(e),e.nameTable}function tB(e){let t=e.nameTable=new Map;e.forEachChild(function r(a){if(Ee(a)&&!isTagName(a)&&a.escapedText||Qi(a)&&rB(a)){let _=LT(a);t.set(_,t.get(_)===void 0?a.pos:-1)}else if(jr(a)){let _=a.escapedText;t.set(_,t.get(_)===void 0?a.pos:-1)}if(Bt(a,r),Wi(a))for(let _ of a.jsDoc)Bt(_,r)})}function rB(e){return xT(e)||e.parent.kind===283||aB(e)||wT(e)}function u7(e){let t=nB(e);return t&&(uo(t.parent)||D6(t.parent))?t:void 0}function nB(e){switch(e.kind){case 11:case 15:case 9:if(e.parent.kind===167)return b0(e.parent.parent)?e.parent.parent:void 0;case 80:return b0(e.parent)&&(e.parent.parent.kind===210||e.parent.parent.kind===292)&&e.parent.name===e?e.parent:void 0}}function iB(e,t){let r=u7(e);if(r){let a=t.getContextualType(r.parent),_=a&&p7(r,t,a,!1);if(_&&_.length===1)return og(_)}return t.getSymbolAtLocation(e)}function p7(e,t,r,a){let _=getNameFromPropertyName(e.name);if(!_)return $e;if(!r.isUnion()){let d=r.getProperty(_);return d?[d]:$e}let p=Za(r.types,d=>(uo(e.parent)||D6(e.parent))&&t.isTypeInvalidDueToUnionDiscriminant(d,e.parent)?void 0:d.getProperty(_));if(a&&(p.length===0||p.length===r.types.length)){let d=r.getProperty(_);if(d)return[d]}return p.length===0?Za(r.types,d=>d.getProperty(_)):p}function aB(e){return e&&e.parent&&e.parent.kind===212&&e.parent.argumentExpression===e}function oB(e){if(f0)return hr($i(pn(f0.getExecutingFilePath())),v4(e));throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}var f7,Od,Pf,d7,W6,Md,Ld,m7,h7,y7,g7,b7,v7,T7,S7,rg,x7,sB=Vt({"src/services/services.ts"(){"use strict";w7(),t7(),r7(),n7(),e7(),XF(),f7="0.8",Od=class{constructor(e,t,r){this.pos=t,this.end=r,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=e}assertHasRealPosition(e){N.assert(!Oa(this.pos)&&!Oa(this.end),e||"Node must have a real position for this operation")}getSourceFile(){return ri(this)}getStart(e,t){return this.assertHasRealPosition(),Go(this,e,t)}getFullStart(){return this.assertHasRealPosition(),this.pos}getEnd(){return this.assertHasRealPosition(),this.end}getWidth(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)}getFullWidth(){return this.assertHasRealPosition(),this.end-this.pos}getLeadingTriviaWidth(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos}getFullText(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return this.assertHasRealPosition(),e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(e){return this.getChildren(e).length}getChildAt(e,t){return this.getChildren(t)[e]}getChildren(e){return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"),this._children||(this._children=$F(this,e))}getFirstToken(e){this.assertHasRealPosition();let t=this.getChildren(e);if(!t.length)return;let r=Yr(t,a=>a.kind<316||a.kind>357);return r.kind<166?r:r.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();let t=this.getChildren(e),r=wi(t);if(r)return r.kind<166?r:r.getLastToken(e)}forEachChild(e,t){return Bt(this,e,t)}},Pf=class{constructor(e,t){this.pos=e,this.end=t,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}getSourceFile(){return ri(this)}getStart(e,t){return Go(this,e,t)}getFullStart(){return this.pos}getEnd(){return this.end}getWidth(e){return this.getEnd()-this.getStart(e)}getFullWidth(){return this.end-this.pos}getLeadingTriviaWidth(e){return this.getStart(e)-this.pos}getFullText(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(){return this.getChildren().length}getChildAt(e){return this.getChildren()[e]}getChildren(){return this.kind===1&&this.jsDoc||$e}getFirstToken(){}getLastToken(){}forEachChild(){}},d7=class{constructor(e,t){this.id=0,this.mergeId=0,this.flags=e,this.escapedName=t}getFlags(){return this.flags}get name(){return hd(this)}getEscapedName(){return this.escapedName}getName(){return this.name}getDeclarations(){return this.declarations}getDocumentationComment(e){if(!this.documentationComment)if(this.documentationComment=$e,!this.declarations&&T0(this)&&this.links.target&&T0(this.links.target)&&this.links.target.links.tupleLabelDeclaration){let t=this.links.target.links.tupleLabelDeclaration;this.documentationComment=Kc([t],e)}else this.documentationComment=Kc(this.declarations,e);return this.documentationComment}getContextualDocumentationComment(e,t){if(e){if(el(e)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=Kc($r(this.declarations,el),t)),Ka(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if(Zc(e)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=Kc($r(this.declarations,Zc),t)),Ka(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(t)}getJsDocTags(e){return this.tags===void 0&&(this.tags=Df(this.declarations,e)),this.tags}getContextualJsDocTags(e,t){if(e){if(el(e)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=Df($r(this.declarations,el),t)),Ka(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if(Zc(e)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=Df($r(this.declarations,Zc),t)),Ka(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(t)}},W6=class extends Pf{constructor(e,t,r){super(t,r),this.kind=e}},Md=class extends Pf{constructor(e,t,r){super(t,r),this.kind=80}get text(){return Ot(this)}},Md.prototype.kind=80,Ld=class extends Pf{constructor(e,t,r){super(t,r),this.kind=81}get text(){return Ot(this)}},Ld.prototype.kind=81,m7=class{constructor(e,t){this.checker=e,this.flags=t}getFlags(){return this.flags}getSymbol(){return this.symbol}getProperties(){return this.checker.getPropertiesOfType(this)}getProperty(e){return this.checker.getPropertyOfType(this,e)}getApparentProperties(){return this.checker.getAugmentedPropertiesOfType(this)}getCallSignatures(){return this.checker.getSignaturesOfType(this,0)}getConstructSignatures(){return this.checker.getSignaturesOfType(this,1)}getStringIndexType(){return this.checker.getIndexTypeOfType(this,0)}getNumberIndexType(){return this.checker.getIndexTypeOfType(this,1)}getBaseTypes(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0}isNullableType(){return this.checker.isNullableType(this)}getNonNullableType(){return this.checker.getNonNullableType(this)}getNonOptionalType(){return this.checker.getNonOptionalType(this)}getConstraint(){return this.checker.getBaseConstraintOfType(this)}getDefault(){return this.checker.getDefaultFromTypeParameter(this)}isUnion(){return!!(this.flags&1048576)}isIntersection(){return!!(this.flags&2097152)}isUnionOrIntersection(){return!!(this.flags&3145728)}isLiteral(){return!!(this.flags&2432)}isStringLiteral(){return!!(this.flags&128)}isNumberLiteral(){return!!(this.flags&256)}isTypeParameter(){return!!(this.flags&262144)}isClassOrInterface(){return!!(jf(this)&3)}isClass(){return!!(jf(this)&1)}isIndexType(){return!!(this.flags&4194304)}get typeArguments(){if(jf(this)&4)return this.checker.getTypeArguments(this)}},h7=class{constructor(e,t){this.checker=e,this.flags=t}getDeclaration(){return this.declaration}getTypeParameters(){return this.typeParameters}getParameters(){return this.parameters}getReturnType(){return this.checker.getReturnTypeOfSignature(this)}getTypeParameterAtPosition(e){let t=this.checker.getParameterType(this,e);if(t.isIndexType()&&ax(t.type)){let r=t.type.getConstraint();if(r)return this.checker.getIndexType(r)}return t}getDocumentationComment(){return this.documentationComment||(this.documentationComment=Kc(Qf(this.declaration),this.checker))}getJsDocTags(){return this.jsDocTags||(this.jsDocTags=Df(Qf(this.declaration),this.checker))}},y7=class extends Od{constructor(e,t,r){super(e,t,r),this.kind=312}update(e,t){return q6(this,e,t)}getLineAndCharacterOfPosition(e){return to(this,e)}getLineStarts(){return Ia(this)}getPositionOfLineAndCharacter(e,t,r){return Tg(Ia(this),e,t,this.text,r)}getLineEndOfPosition(e){let{line:t}=this.getLineAndCharacterOfPosition(e),r=this.getLineStarts(),a;t+1>=r.length&&(a=this.getEnd()),a||(a=r[t+1]-1);let _=this.getFullText();return _[a]===`
`&&_[a-1]==="\r"?a-1:a}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){let e=Fd();return this.forEachChild(_),e;function t(p){let d=a(p);d&&e.add(d,p)}function r(p){let d=e.get(p);return d||e.set(p,d=[]),d}function a(p){let d=Kd(p);return d&&(ao(d)&&Br(d.expression)?d.expression.name.text:zl(d)?getNameFromPropertyName(d):void 0)}function _(p){switch(p.kind){case 262:case 218:case 174:case 173:let d=p,h=a(d);if(h){let y=r(h),C=wi(y);C&&d.parent===C.parent&&d.symbol===C.symbol?d.body&&!C.body&&(y[y.length-1]=d):y.push(d)}Bt(p,_);break;case 263:case 231:case 264:case 265:case 266:case 267:case 271:case 281:case 276:case 273:case 274:case 177:case 178:case 187:t(p),Bt(p,_);break;case 169:if(!gr(p,16476))break;case 260:case 208:{let y=p;if(am(y.name)){Bt(y.name,_);break}y.initializer&&_(y.initializer)}case 306:case 172:case 171:t(p);break;case 278:let l=p;l.exportClause&&(f8(l.exportClause)?yr(l.exportClause.elements,_):_(l.exportClause.name));break;case 272:let v=p.importClause;v&&(v.name&&t(v.name),v.namedBindings&&(v.namedBindings.kind===274?t(v.namedBindings):yr(v.namedBindings.elements,_)));break;case 226:Ja(p)!==0&&t(p);default:Bt(p,_)}}}},g7=class{constructor(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r}getLineAndCharacterOfPosition(e){return to(this,e)}},b7=class{constructor(e){this.host=e}getCurrentSourceFile(e){var t,r,a,_,p,d,h,l;let v=this.host.getScriptSnapshot(e);if(!v)throw new Error("Could not find file: '"+e+"'.");let y=getScriptKind(e,this.host),C=this.host.getScriptVersion(e),S;if(this.currentFileName!==e){let k={languageVersion:99,impliedNodeFormat:getImpliedNodeFormatForFile(xi(e,this.host.getCurrentDirectory(),((a=(r=(t=this.host).getCompilerHost)==null?void 0:r.call(t))==null?void 0:a.getCanonicalFileName)||WT(this.host)),(l=(h=(d=(p=(_=this.host).getCompilerHost)==null?void 0:p.call(_))==null?void 0:d.getModuleResolutionCache)==null?void 0:h.call(d))==null?void 0:l.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:JS(this.host.getCompilationSettings())};S=z6(e,v,k,C,!0,y)}else if(this.currentFileVersion!==C){let k=v.getChangeRange(this.currentFileScriptSnapshot);S=l7(this.currentSourceFile,v,C,k)}return S&&(this.currentFileVersion=C,this.currentFileName=e,this.currentFileScriptSnapshot=v,this.currentSourceFile=S),this.currentSourceFile}},v7={isCancellationRequested:$f,throwIfCancellationRequested:Rn},T7=class{constructor(e){this.cancellationToken=e}isCancellationRequested(){return this.cancellationToken.isCancellationRequested()}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw(e=xa)==null||e.instant(xa.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new ad}},S7=class{constructor(e,t=20){this.hostCancellationToken=e,this.throttleWaitMilliseconds=t,this.lastCancellationCheckTime=0}isCancellationRequested(){let e=Sa();return Math.abs(e-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested()):!1}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw(e=xa)==null||e.instant(xa.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new ad}},rg=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes"],x7=[...rg,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],PS(YF())}}),_B=()=>{},cB=()=>{},lB=()=>{},uB=()=>{},pB=()=>{},fB=()=>{},dB=()=>{},mB=()=>{},hB=()=>{},yB=()=>{},gB=()=>{},bB=()=>{},vB=()=>{},TB=()=>{},SB=()=>{},xB=()=>{},wB=()=>{},CB=()=>{},EB=()=>{},w7=Vt({"src/services/_namespaces/ts.ts"(){"use strict";Dr(),K8(),jF(),Z8(),FF(),e7(),BF(),UF(),qF(),zF(),WF(),VF(),HF(),GF(),sB(),_B(),cB(),lB(),uB(),pB(),fB(),dB(),mB(),hB(),yB(),gB(),t7(),r7(),bB(),vB(),n7(),TB(),SB(),xB(),wB(),CB(),EB()}}),AB=()=>{},C7={};I5(C7,{ANONYMOUS:()=>ANONYMOUS,AccessFlags:()=>Ly,AssertionLevel:()=>ay,AssignmentDeclarationKind:()=>Wy,AssignmentKind:()=>B0,Associativity:()=>q0,BreakpointResolver:()=>ts_BreakpointResolver_exports,BuilderFileEmit:()=>BuilderFileEmit,BuilderProgramKind:()=>BuilderProgramKind,BuilderState:()=>BuilderState,BundleFileSectionKind:()=>l0,CallHierarchy:()=>ts_CallHierarchy_exports,CharacterCodes:()=>n0,CheckFlags:()=>Py,CheckMode:()=>CheckMode,ClassificationType:()=>ClassificationType,ClassificationTypeNames:()=>ClassificationTypeNames,CommentDirectiveType:()=>fy,Comparison:()=>Zh,CompletionInfoFlags:()=>CompletionInfoFlags,CompletionTriggerKind:()=>CompletionTriggerKind,Completions:()=>ts_Completions_exports,ConfigFileProgramReloadLevel:()=>ConfigFileProgramReloadLevel,ContainerFlags:()=>ContainerFlags,ContextFlags:()=>Ty,CoreServicesShimHostAdapter:()=>CoreServicesShimHostAdapter,Debug:()=>N,DiagnosticCategory:()=>ld,Diagnostics:()=>U,DocumentHighlights:()=>DocumentHighlights,ElementFlags:()=>My,EmitFlags:()=>dd,EmitHint:()=>s0,EmitOnly:()=>hy,EndOfLineState:()=>EndOfLineState,EnumKind:()=>Dy,ExitStatus:()=>gy,ExportKind:()=>ExportKind,Extension:()=>i0,ExternalEmitHelpers:()=>o0,FileIncludeKind:()=>dy,FilePreprocessingDiagnosticsKind:()=>my,FileSystemEntryKind:()=>FileSystemEntryKind,FileWatcherEventKind:()=>FileWatcherEventKind,FindAllReferences:()=>ts_FindAllReferences_exports,FlattenLevel:()=>FlattenLevel,FlowFlags:()=>bl,ForegroundColorEscapeSequences:()=>ForegroundColorEscapeSequences,FunctionFlags:()=>U0,GeneratedIdentifierFlags:()=>uy,GetLiteralTextFlags:()=>F0,GoToDefinition:()=>ts_GoToDefinition_exports,HighlightSpanKind:()=>HighlightSpanKind,IdentifierNameMap:()=>IdentifierNameMap,IdentifierNameMultiMap:()=>IdentifierNameMultiMap,ImportKind:()=>ImportKind,ImportsNotUsedAsValues:()=>Ky,IndentStyle:()=>IndentStyle,IndexFlags:()=>Jy,IndexKind:()=>Fy,InferenceFlags:()=>qy,InferencePriority:()=>Uy,InlayHintKind:()=>InlayHintKind,InlayHints:()=>ts_InlayHints_exports,InternalEmitFlags:()=>a0,InternalSymbolName:()=>Iy,InvalidatedProjectKind:()=>InvalidatedProjectKind,JsDoc:()=>ts_JsDoc_exports,JsTyping:()=>ts_JsTyping_exports,JsxEmit:()=>Yy,JsxFlags:()=>ly,JsxReferenceKind:()=>Ry,LanguageServiceMode:()=>LanguageServiceMode,LanguageServiceShimHostAdapter:()=>LanguageServiceShimHostAdapter,LanguageVariant:()=>t0,LexicalEnvironmentFlags:()=>c0,ListFormat:()=>u0,LogLevel:()=>sy,MemberOverrideStatus:()=>by,ModifierFlags:()=>nd,ModuleDetectionKind:()=>Hy,ModuleInstanceState:()=>ModuleInstanceState,ModuleKind:()=>Qy,ModuleResolutionKind:()=>Vy,ModuleSpecifierEnding:()=>G0,NavigateTo:()=>ts_NavigateTo_exports,NavigationBar:()=>ts_NavigationBar_exports,NewLineKind:()=>Zy,NodeBuilderFlags:()=>Sy,NodeCheckFlags:()=>Ny,NodeFactoryFlags:()=>X0,NodeFlags:()=>rd,NodeResolutionFeatures:()=>NodeResolutionFeatures,ObjectFlags:()=>_d,OperationCanceledException:()=>ad,OperatorPrecedence:()=>z0,OrganizeImports:()=>ts_OrganizeImports_exports,OrganizeImportsMode:()=>OrganizeImportsMode,OuterExpressionKinds:()=>_0,OutliningElementsCollector:()=>ts_OutliningElementsCollector_exports,OutliningSpanKind:()=>OutliningSpanKind,OutputFileType:()=>OutputFileType,PackageJsonAutoImportPreference:()=>PackageJsonAutoImportPreference,PackageJsonDependencyGroup:()=>PackageJsonDependencyGroup,PatternMatchKind:()=>PatternMatchKind,PollingInterval:()=>PollingInterval,PollingWatchKind:()=>$y,PragmaKindFlags:()=>p0,PrivateIdentifierKind:()=>PrivateIdentifierKind,ProcessLevel:()=>ProcessLevel,QuotePreference:()=>QuotePreference,RelationComparisonResult:()=>id,Rename:()=>ts_Rename_exports,ScriptElementKind:()=>ScriptElementKind,ScriptElementKindModifier:()=>ScriptElementKindModifier,ScriptKind:()=>ud,ScriptSnapshot:()=>ScriptSnapshot,ScriptTarget:()=>e0,SemanticClassificationFormat:()=>SemanticClassificationFormat,SemanticMeaning:()=>SemanticMeaning,SemicolonPreference:()=>SemicolonPreference,SignatureCheckMode:()=>SignatureCheckMode,SignatureFlags:()=>cd,SignatureHelp:()=>ts_SignatureHelp_exports,SignatureKind:()=>jy,SmartSelectionRange:()=>ts_SmartSelectionRange_exports,SnippetKind:()=>fd,SortKind:()=>ny,StructureIsReused:()=>yy,SymbolAccessibility:()=>Cy,SymbolDisplay:()=>ts_SymbolDisplay_exports,SymbolDisplayPartKind:()=>SymbolDisplayPartKind,SymbolFlags:()=>od,SymbolFormatFlags:()=>wy,SyntaxKind:()=>td,SyntheticSymbolKind:()=>Ey,Ternary:()=>zy,ThrottledCancellationToken:()=>S7,TokenClass:()=>TokenClass,TokenFlags:()=>py,TransformFlags:()=>pd,TypeFacts:()=>TypeFacts,TypeFlags:()=>sd,TypeFormatFlags:()=>xy,TypeMapKind:()=>By,TypePredicateKind:()=>Ay,TypeReferenceSerializationKind:()=>ky,TypeScriptServicesFactory:()=>TypeScriptServicesFactory,UnionReduction:()=>vy,UpToDateStatusType:()=>UpToDateStatusType,VarianceFlags:()=>Oy,Version:()=>Version,VersionRange:()=>VersionRange,WatchDirectoryFlags:()=>r0,WatchDirectoryKind:()=>Xy,WatchFileKind:()=>Gy,WatchLogLevel:()=>WatchLogLevel,WatchType:()=>WatchType,accessPrivateIdentifier:()=>accessPrivateIdentifier,addDisposableResourceHelper:()=>addDisposableResourceHelper,addEmitFlags:()=>addEmitFlags,addEmitHelper:()=>addEmitHelper,addEmitHelpers:()=>addEmitHelpers,addInternalEmitFlags:()=>addInternalEmitFlags,addNodeFactoryPatcher:()=>EL,addObjectAllocatorPatcher:()=>zO,addRange:()=>Rr,addRelatedInfo:()=>nl,addSyntheticLeadingComment:()=>addSyntheticLeadingComment,addSyntheticTrailingComment:()=>addSyntheticTrailingComment,addToSeen:()=>PO,advancedAsyncSuperHelper:()=>advancedAsyncSuperHelper,affectsDeclarationPathOptionDeclarations:()=>affectsDeclarationPathOptionDeclarations,affectsEmitOptionDeclarations:()=>affectsEmitOptionDeclarations,allKeysStartWithDot:()=>allKeysStartWithDot,altDirectorySeparator:()=>vg,and:()=>rE,append:()=>xt,appendIfUnique:()=>wv,arrayFrom:()=>jd,arrayIsEqualTo:()=>sC,arrayIsHomogeneous:()=>QM,arrayIsSorted:()=>aC,arrayOf:()=>TC,arrayReverseIterator:()=>uC,arrayToMap:()=>xC,arrayToMultiMap:()=>Dv,arrayToNumericMap:()=>wC,arraysEqual:()=>gv,assertType:()=>iE,assign:()=>SC,assignHelper:()=>assignHelper,asyncDelegator:()=>asyncDelegator,asyncGeneratorHelper:()=>asyncGeneratorHelper,asyncSuperHelper:()=>asyncSuperHelper,asyncValues:()=>asyncValues,attachFileToDiagnostics:()=>$a,awaitHelper:()=>awaitHelper,awaiterHelper:()=>awaiterHelper,base64decode:()=>KN,base64encode:()=>YN,binarySearch:()=>Ml,binarySearchKey:()=>Av,bindSourceFile:()=>bindSourceFile,breakIntoCharacterSpans:()=>breakIntoCharacterSpans,breakIntoWordSpans:()=>breakIntoWordSpans,buildLinkParts:()=>buildLinkParts,buildOpts:()=>buildOpts,buildOverload:()=>buildOverload,bundlerModuleNameResolver:()=>bundlerModuleNameResolver,canBeConvertedToAsync:()=>canBeConvertedToAsync,canHaveDecorators:()=>U8,canHaveExportModifier:()=>lL,canHaveFlowNode:()=>bI,canHaveIllegalDecorators:()=>zR,canHaveIllegalModifiers:()=>WR,canHaveIllegalType:()=>qR,canHaveIllegalTypeParameters:()=>j8,canHaveJSDoc:()=>mm,canHaveLocals:()=>Tk,canHaveModifiers:()=>q_,canHaveSymbol:()=>vk,canJsonReportNoInputFiles:()=>canJsonReportNoInputFiles,canProduceDiagnostics:()=>canProduceDiagnostics,canUsePropertyAccess:()=>uL,canWatchAffectingLocation:()=>canWatchAffectingLocation,canWatchAtTypes:()=>canWatchAtTypes,canWatchDirectoryOrFile:()=>canWatchDirectoryOrFile,cartesianProduct:()=>oE,cast:()=>gi,chainBundle:()=>chainBundle,chainDiagnosticMessages:()=>tl,changeAnyExtension:()=>Qv,changeCompilerHostLikeToUseCache:()=>changeCompilerHostLikeToUseCache,changeExtension:()=>OM,changesAffectModuleResolution:()=>Uk,changesAffectingProgramStructure:()=>qk,childIsDecorated:()=>s2,classElementOrClassElementParameterIsDecorated:()=>qP,classHasClassThisAssignment:()=>classHasClassThisAssignment,classHasDeclaredOrExplicitlyAssignedName:()=>classHasDeclaredOrExplicitlyAssignedName,classHasExplicitlyAssignedName:()=>classHasExplicitlyAssignedName,classOrConstructorParameterIsDecorated:()=>UP,classPrivateFieldGetHelper:()=>classPrivateFieldGetHelper,classPrivateFieldInHelper:()=>classPrivateFieldInHelper,classPrivateFieldSetHelper:()=>classPrivateFieldSetHelper,classicNameResolver:()=>classicNameResolver,classifier:()=>ts_classifier_exports,cleanExtendedConfigCache:()=>cleanExtendedConfigCache,clear:()=>U5,clearMap:()=>wO,clearSharedExtendedConfigFileWatcher:()=>clearSharedExtendedConfigFileWatcher,climbPastPropertyAccess:()=>climbPastPropertyAccess,climbPastPropertyOrElementAccess:()=>climbPastPropertyOrElementAccess,clone:()=>AC,cloneCompilerOptions:()=>cloneCompilerOptions,closeFileWatcher:()=>yO,closeFileWatcherOf:()=>closeFileWatcherOf,codefix:()=>ts_codefix_exports,collapseTextChangeRangesAcrossMultipleVersions:()=>rA,collectExternalModuleInfo:()=>collectExternalModuleInfo,combine:()=>lC,combinePaths:()=>hr,commentPragmas:()=>zd,commonOptionsWithBuild:()=>commonOptionsWithBuild,commonPackageFolders:()=>V0,compact:()=>_C,compareBooleans:()=>HC,compareDataObjects:()=>CS,compareDiagnostics:()=>F2,compareDiagnosticsSkipRelatedInformation:()=>wd,compareEmitHelpers:()=>compareEmitHelpers,compareNumberOfDirectorySeparators:()=>NM,comparePaths:()=>NE,comparePathsCaseInsensitive:()=>IE,comparePathsCaseSensitive:()=>PE,comparePatternKeys:()=>comparePatternKeys,compareProperties:()=>VC,compareStringsCaseInsensitive:()=>Bd,compareStringsCaseInsensitiveEslintCompatible:()=>qC,compareStringsCaseSensitive:()=>Ci,compareStringsCaseSensitiveUI:()=>WC,compareTextSpans:()=>BC,compareValues:()=>kr,compileOnSaveCommandLineOption:()=>compileOnSaveCommandLineOption,compilerOptionsAffectDeclarationPath:()=>fM,compilerOptionsAffectEmit:()=>pM,compilerOptionsAffectSemanticDiagnostics:()=>uM,compilerOptionsDidYouMeanDiagnostics:()=>compilerOptionsDidYouMeanDiagnostics,compilerOptionsIndicateEsModules:()=>compilerOptionsIndicateEsModules,compose:()=>FC,computeCommonSourceDirectoryOfFilenames:()=>computeCommonSourceDirectoryOfFilenames,computeLineAndCharacterOfPosition:()=>Sg,computeLineOfPosition:()=>__,computeLineStarts:()=>Hd,computePositionOfLineAndCharacter:()=>Tg,computeSignature:()=>computeSignature,computeSignatureWithDiagnostics:()=>computeSignatureWithDiagnostics,computeSuggestionDiagnostics:()=>computeSuggestionDiagnostics,concatenate:()=>y_,concatenateDiagnosticMessageChains:()=>GO,consumesNodeCoreModules:()=>consumesNodeCoreModules,contains:()=>es,containsIgnoredPath:()=>rx,containsObjectRestOrSpread:()=>U6,containsParseError:()=>xl,containsPath:()=>Yv,convertCompilerOptionsForTelemetry:()=>convertCompilerOptionsForTelemetry,convertCompilerOptionsFromJson:()=>convertCompilerOptionsFromJson,convertJsonOption:()=>convertJsonOption,convertToBase64:()=>yS,convertToJson:()=>convertToJson,convertToObject:()=>convertToObject,convertToOptionsWithAbsolutePaths:()=>convertToOptionsWithAbsolutePaths,convertToRelativePath:()=>ME,convertToTSConfig:()=>convertToTSConfig,convertTypeAcquisitionFromJson:()=>convertTypeAcquisitionFromJson,copyComments:()=>copyComments,copyEntries:()=>Hk,copyLeadingComments:()=>copyLeadingComments,copyProperties:()=>DC,copyTrailingAsLeadingComments:()=>copyTrailingAsLeadingComments,copyTrailingComments:()=>copyTrailingComments,couldStartTrivia:()=>qE,countWhere:()=>F5,createAbstractBuilder:()=>createAbstractBuilder,createAccessorPropertyBackingField:()=>Sj,createAccessorPropertyGetRedirector:()=>xj,createAccessorPropertySetRedirector:()=>wj,createBaseNodeFactory:()=>Mx,createBinaryExpressionTrampoline:()=>mj,createBindingHelper:()=>createBindingHelper,createBuildInfo:()=>createBuildInfo,createBuilderProgram:()=>createBuilderProgram,createBuilderProgramUsingProgramBuildInfo:()=>createBuilderProgramUsingProgramBuildInfo,createBuilderStatusReporter:()=>createBuilderStatusReporter,createCacheWithRedirects:()=>createCacheWithRedirects,createCacheableExportInfoMap:()=>createCacheableExportInfoMap,createCachedDirectoryStructureHost:()=>createCachedDirectoryStructureHost,createClassNamedEvaluationHelperBlock:()=>createClassNamedEvaluationHelperBlock,createClassThisAssignmentBlock:()=>createClassThisAssignmentBlock,createClassifier:()=>createClassifier,createCommentDirectivesMap:()=>yD,createCompilerDiagnostic:()=>fl,createCompilerDiagnosticForInvalidCustomType:()=>createCompilerDiagnosticForInvalidCustomType,createCompilerDiagnosticFromMessageChain:()=>HO,createCompilerHost:()=>createCompilerHost,createCompilerHostFromProgramHost:()=>createCompilerHostFromProgramHost,createCompilerHostWorker:()=>createCompilerHostWorker,createDetachedDiagnostic:()=>Ao,createDiagnosticCollection:()=>nN,createDiagnosticForFileFromMessageChain:()=>$D,createDiagnosticForNode:()=>VD,createDiagnosticForNodeArray:()=>HD,createDiagnosticForNodeArrayFromMessageChain:()=>XD,createDiagnosticForNodeFromMessageChain:()=>GD,createDiagnosticForNodeInSourceFile:()=>z3,createDiagnosticForRange:()=>YD,createDiagnosticMessageChainFromDiagnostic:()=>QD,createDiagnosticReporter:()=>createDiagnosticReporter,createDocumentPositionMapper:()=>createDocumentPositionMapper,createDocumentRegistry:()=>createDocumentRegistry,createDocumentRegistryInternal:()=>createDocumentRegistryInternal,createEmitAndSemanticDiagnosticsBuilderProgram:()=>createEmitAndSemanticDiagnosticsBuilderProgram,createEmitHelperFactory:()=>createEmitHelperFactory,createEmptyExports:()=>hR,createExpressionForJsxElement:()=>gR,createExpressionForJsxFragment:()=>bR,createExpressionForObjectLiteralElementLike:()=>ER,createExpressionForPropertyName:()=>A8,createExpressionFromEntityName:()=>E8,createExternalHelpersImportDeclarationIfNeeded:()=>LR,createFileDiagnostic:()=>j2,createFileDiagnosticFromMessageChain:()=>Kg,createForOfBindingStatement:()=>vR,createGetCanonicalFileName:()=>Ud,createGetSourceFile:()=>createGetSourceFile,createGetSymbolAccessibilityDiagnosticForNode:()=>createGetSymbolAccessibilityDiagnosticForNode,createGetSymbolAccessibilityDiagnosticForNodeName:()=>createGetSymbolAccessibilityDiagnosticForNodeName,createGetSymbolWalker:()=>createGetSymbolWalker,createIncrementalCompilerHost:()=>createIncrementalCompilerHost,createIncrementalProgram:()=>createIncrementalProgram,createInputFiles:()=>ML,createInputFilesWithFilePaths:()=>Rx,createInputFilesWithFileTexts:()=>jx,createJsxFactoryExpression:()=>C8,createLanguageService:()=>ZF,createLanguageServiceSourceFile:()=>z6,createMemberAccessForPropertyName:()=>Jm,createModeAwareCache:()=>createModeAwareCache,createModeAwareCacheKey:()=>createModeAwareCacheKey,createModuleNotFoundChain:()=>eD,createModuleResolutionCache:()=>createModuleResolutionCache,createModuleResolutionLoader:()=>createModuleResolutionLoader,createModuleSpecifierResolutionHost:()=>createModuleSpecifierResolutionHost,createMultiMap:()=>Fd,createNodeConverters:()=>Lx,createNodeFactory:()=>kd,createOptionNameMap:()=>createOptionNameMap,createOverload:()=>createOverload,createPackageJsonImportFilter:()=>createPackageJsonImportFilter,createPackageJsonInfo:()=>createPackageJsonInfo,createParenthesizerRules:()=>createParenthesizerRules,createPatternMatcher:()=>createPatternMatcher,createPrependNodes:()=>createPrependNodes,createPrinter:()=>createPrinter,createPrinterWithDefaults:()=>createPrinterWithDefaults,createPrinterWithRemoveComments:()=>createPrinterWithRemoveComments,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>createPrinterWithRemoveCommentsNeverAsciiEscape,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>createPrinterWithRemoveCommentsOmitTrailingSemicolon,createProgram:()=>createProgram,createProgramHost:()=>createProgramHost,createPropertyNameNodeForIdentifierOrLiteral:()=>sL,createQueue:()=>NC,createRange:()=>Sm,createRedirectedBuilderProgram:()=>createRedirectedBuilderProgram,createResolutionCache:()=>createResolutionCache,createRuntimeTypeSerializer:()=>createRuntimeTypeSerializer,createScanner:()=>ns,createSemanticDiagnosticsBuilderProgram:()=>createSemanticDiagnosticsBuilderProgram,createSet:()=>OC,createSolutionBuilder:()=>createSolutionBuilder,createSolutionBuilderHost:()=>createSolutionBuilderHost,createSolutionBuilderWithWatch:()=>createSolutionBuilderWithWatch,createSolutionBuilderWithWatchHost:()=>createSolutionBuilderWithWatchHost,createSortedArray:()=>iC,createSourceFile:()=>V8,createSourceMapGenerator:()=>createSourceMapGenerator,createSourceMapSource:()=>LL,createSuperAccessVariableStatement:()=>createSuperAccessVariableStatement,createSymbolTable:()=>Fk,createSymlinkCache:()=>gM,createSystemWatchFunctions:()=>createSystemWatchFunctions,createTextChange:()=>createTextChange,createTextChangeFromStartLength:()=>createTextChangeFromStartLength,createTextChangeRange:()=>$d,createTextRangeFromNode:()=>createTextRangeFromNode,createTextRangeFromSpan:()=>createTextRangeFromSpan,createTextSpan:()=>w_,createTextSpanFromBounds:()=>Hi,createTextSpanFromNode:()=>createTextSpanFromNode,createTextSpanFromRange:()=>createTextSpanFromRange,createTextSpanFromStringLiteralLikeContent:()=>createTextSpanFromStringLiteralLikeContent,createTextWriter:()=>uN,createTokenRange:()=>nO,createTypeChecker:()=>createTypeChecker,createTypeReferenceDirectiveResolutionCache:()=>createTypeReferenceDirectiveResolutionCache,createTypeReferenceResolutionLoader:()=>createTypeReferenceResolutionLoader,createUnparsedSourceFile:()=>IL,createWatchCompilerHost:()=>createWatchCompilerHost2,createWatchCompilerHostOfConfigFile:()=>createWatchCompilerHostOfConfigFile,createWatchCompilerHostOfFilesAndCompilerOptions:()=>createWatchCompilerHostOfFilesAndCompilerOptions,createWatchFactory:()=>createWatchFactory,createWatchHost:()=>createWatchHost,createWatchProgram:()=>createWatchProgram,createWatchStatusReporter:()=>createWatchStatusReporter,createWriteFileMeasuringIO:()=>createWriteFileMeasuringIO,declarationNameToString:()=>q3,decodeMappings:()=>decodeMappings,decodedTextSpanIntersectsWith:()=>Eg,decorateHelper:()=>decorateHelper,deduplicate:()=>Sv,defaultIncludeSpec:()=>defaultIncludeSpec,defaultInitCompilerOptions:()=>defaultInitCompilerOptions,defaultMaximumTruncationLength:()=>px,detectSortCaseSensitivity:()=>oC,diagnosticCategoryName:()=>vE,diagnosticToString:()=>diagnosticToString,directoryProbablyExists:()=>bS,directorySeparator:()=>fn,displayPart:()=>displayPart,displayPartsToString:()=>KF,disposeEmitNodes:()=>disposeEmitNodes,disposeResourcesHelper:()=>disposeResourcesHelper,documentSpansEqual:()=>documentSpansEqual,dumpTracingLegend:()=>dumpTracingLegend,elementAt:()=>zv,elideNodes:()=>gj,emitComments:()=>rS,emitDetachedComments:()=>PN,emitFiles:()=>emitFiles,emitFilesAndReportErrors:()=>emitFilesAndReportErrors,emitFilesAndReportErrorsAndGetExitStatus:()=>emitFilesAndReportErrorsAndGetExitStatus,emitModuleKindIsNonNodeESM:()=>YO,emitNewLineBeforeLeadingCommentOfPosition:()=>DN,emitNewLineBeforeLeadingComments:()=>eS,emitNewLineBeforeLeadingCommentsOfPosition:()=>tS,emitSkippedWithNoDiagnostics:()=>emitSkippedWithNoDiagnostics,emitUsingBuildInfo:()=>emitUsingBuildInfo,emptyArray:()=>$e,emptyFileSystemEntries:()=>Ox,emptyMap:()=>pg,emptyOptions:()=>emptyOptions,emptySet:()=>qv,endsWith:()=>ts,ensurePathIsNonModuleName:()=>hg,ensureScriptKind:()=>zS,ensureTrailingDirectorySeparator:()=>zo,entityNameToString:()=>vi,enumerateInsertsAndDeletes:()=>aE,equalOwnProperties:()=>kv,equateStringsCaseInsensitive:()=>s_,equateStringsCaseSensitive:()=>Ll,equateValues:()=>_o,esDecorateHelper:()=>esDecorateHelper,escapeJsxAttributeString:()=>qT,escapeLeadingUnderscores:()=>Mn,escapeNonAsciiString:()=>Sd,escapeSnippetText:()=>oL,escapeString:()=>Td,every:()=>so,expandPreOrPostfixIncrementOrDecrementExpression:()=>AR,explainFiles:()=>explainFiles,explainIfFileIsRedirectAndImpliedFormat:()=>explainIfFileIsRedirectAndImpliedFormat,exportAssignmentIsAlias:()=>D0,exportStarHelper:()=>exportStarHelper,expressionResultIsUnused:()=>eL,extend:()=>kC,extendsHelper:()=>extendsHelper,extensionFromPath:()=>rl,extensionIsTS:()=>YS,extensionsNotSupportingExtensionlessResolution:()=>Cm,externalHelpersModuleNameText:()=>wm,factory:()=>Ln,fileExtensionIs:()=>La,fileExtensionIsOneOf:()=>ei,fileIncludeReasonToDiagnostics:()=>fileIncludeReasonToDiagnostics,fileShouldUseJavaScriptRequire:()=>fileShouldUseJavaScriptRequire,filter:()=>$r,filterMutate:()=>B5,filterSemanticDiagnostics:()=>filterSemanticDiagnostics,find:()=>Yr,findAncestor:()=>Kr,findBestPatternMatch:()=>jv,findChildOfKind:()=>findChildOfKind,findComputedPropertyNameCacheAssignment:()=>Cj,findConfigFile:()=>findConfigFile,findContainingList:()=>findContainingList,findDiagnosticForNode:()=>findDiagnosticForNode,findFirstNonJsxWhitespaceToken:()=>findFirstNonJsxWhitespaceToken,findIndex:()=>_l,findLast:()=>ig,findLastIndex:()=>R5,findListItemInfo:()=>findListItemInfo,findMap:()=>j5,findModifier:()=>findModifier,findNextToken:()=>findNextToken,findPackageJson:()=>findPackageJson,findPackageJsons:()=>findPackageJsons,findPrecedingMatchingToken:()=>findPrecedingMatchingToken,findPrecedingToken:()=>findPrecedingToken,findSuperStatementIndexPath:()=>findSuperStatementIndexPath,findTokenOnLeftOfPosition:()=>findTokenOnLeftOfPosition,findUseStrictPrologue:()=>D8,first:()=>og,firstDefined:()=>ng,firstDefinedIterator:()=>M5,firstIterator:()=>dC,firstOrOnly:()=>firstOrOnly,firstOrUndefined:()=>g_,firstOrUndefinedIterator:()=>fC,fixupCompilerOptions:()=>fixupCompilerOptions,flatMap:()=>Bo,flatMapIterator:()=>W5,flatMapToMutable:()=>vv,flatten:()=>o_,flattenCommaList:()=>Aj,flattenDestructuringAssignment:()=>flattenDestructuringAssignment,flattenDestructuringBinding:()=>flattenDestructuringBinding,flattenDiagnosticMessageText:()=>flattenDiagnosticMessageText,forEach:()=>yr,forEachAncestor:()=>zk,forEachAncestorDirectory:()=>Zv,forEachChild:()=>Bt,forEachChildRecursively:()=>eg,forEachEmittedFile:()=>forEachEmittedFile,forEachEnclosingBlockScopeContainer:()=>UD,forEachEntry:()=>Wk,forEachExternalModuleToImportFrom:()=>forEachExternalModuleToImportFrom,forEachImportClauseDeclaration:()=>dI,forEachKey:()=>Vk,forEachLeadingCommentRange:()=>zE,forEachNameInAccessChainWalkingLeft:()=>LO,forEachPropertyAssignment:()=>a2,forEachResolvedProjectReference:()=>forEachResolvedProjectReference,forEachReturnStatement:()=>lP,forEachRight:()=>O5,forEachTrailingCommentRange:()=>WE,forEachTsConfigPropArray:()=>Q3,forEachUnique:()=>forEachUnique,forEachYieldExpression:()=>uP,forSomeAncestorDirectory:()=>AO,formatColorAndReset:()=>formatColorAndReset,formatDiagnostic:()=>formatDiagnostic,formatDiagnostics:()=>formatDiagnostics,formatDiagnosticsWithColorAndContext:()=>formatDiagnosticsWithColorAndContext,formatGeneratedName:()=>Id,formatGeneratedNamePart:()=>Z0,formatLocation:()=>formatLocation,formatMessage:()=>VO,formatStringFromArgs:()=>I_,formatting:()=>ts_formatting_exports,fullTripleSlashAMDReferencePathRegEx:()=>K2,fullTripleSlashReferencePathRegEx:()=>Y2,generateDjb2Hash:()=>generateDjb2Hash,generateTSConfig:()=>generateTSConfig,generatorHelper:()=>generatorHelper,getAdjustedReferenceLocation:()=>getAdjustedReferenceLocation,getAdjustedRenameLocation:()=>getAdjustedRenameLocation,getAliasDeclarationFromName:()=>CT,getAllAccessorDeclarations:()=>P2,getAllDecoratorsOfClass:()=>getAllDecoratorsOfClass,getAllDecoratorsOfClassElement:()=>getAllDecoratorsOfClassElement,getAllJSDocTags:()=>$4,getAllJSDocTagsOfKind:()=>bA,getAllKeys:()=>bC,getAllProjectOutputs:()=>getAllProjectOutputs,getAllSuperTypeNodes:()=>PT,getAllUnscopedEmitHelpers:()=>getAllUnscopedEmitHelpers,getAllowJSCompilerOption:()=>FS,getAllowSyntheticDefaultImports:()=>nM,getAncestor:()=>JI,getAnyExtensionFromPath:()=>md,getAreDeclarationMapsEnabled:()=>rM,getAssignedExpandoInitializer:()=>rI,getAssignedName:()=>O4,getAssignedNameOfIdentifier:()=>getAssignedNameOfIdentifier,getAssignmentDeclarationKind:()=>Ja,getAssignmentDeclarationPropertyAccessKind:()=>lT,getAssignmentTargetKind:()=>vT,getAutomaticTypeDirectiveNames:()=>getAutomaticTypeDirectiveNames,getBaseFileName:()=>T_,getBinaryOperatorPrecedence:()=>pl,getBuildInfo:()=>getBuildInfo,getBuildInfoFileVersionMap:()=>getBuildInfoFileVersionMap,getBuildInfoText:()=>getBuildInfoText,getBuildOrderFromAnyBuildOrder:()=>getBuildOrderFromAnyBuildOrder,getBuilderCreationParameters:()=>getBuilderCreationParameters,getBuilderFileEmit:()=>getBuilderFileEmit,getCheckFlags:()=>wS,getClassExtendsHeritageElement:()=>kT,getClassLikeDeclarationOfSymbol:()=>AS,getCombinedLocalAndExportSymbolFlags:()=>vO,getCombinedModifierFlags:()=>Qd,getCombinedNodeFlags:()=>C_,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>iA,getCommentRange:()=>getCommentRange,getCommonSourceDirectory:()=>getCommonSourceDirectory,getCommonSourceDirectoryOfConfig:()=>getCommonSourceDirectoryOfConfig,getCompilerOptionValue:()=>j0,getCompilerOptionsDiffValue:()=>getCompilerOptionsDiffValue,getConditions:()=>getConditions,getConfigFileParsingDiagnostics:()=>getConfigFileParsingDiagnostics,getConstantValue:()=>getConstantValue,getContainerFlags:()=>getContainerFlags,getContainerNode:()=>getContainerNode,getContainingClass:()=>E0,getContainingClassExcludingClassDecorators:()=>DP,getContainingClassStaticBlock:()=>AP,getContainingFunction:()=>CP,getContainingFunctionDeclaration:()=>EP,getContainingFunctionOrClassStaticBlock:()=>kP,getContainingNodeArray:()=>tL,getContainingObjectLiteralElement:()=>u7,getContextualTypeFromParent:()=>getContextualTypeFromParent,getContextualTypeFromParentOrAncestorTypeNode:()=>getContextualTypeFromParentOrAncestorTypeNode,getCurrentTime:()=>getCurrentTime,getDeclarationDiagnostics:()=>getDeclarationDiagnostics,getDeclarationEmitExtensionForPath:()=>GT,getDeclarationEmitOutputFilePath:()=>mN,getDeclarationEmitOutputFilePathWorker:()=>HT,getDeclarationFromName:()=>NI,getDeclarationModifierFlagsFromSymbol:()=>gO,getDeclarationOfKind:()=>Rk,getDeclarationsOfKind:()=>jk,getDeclaredExpandoInitializer:()=>eI,getDecorators:()=>sA,getDefaultCompilerOptions:()=>s7,getDefaultExportInfoWorker:()=>getDefaultExportInfoWorker,getDefaultFormatCodeSettings:()=>getDefaultFormatCodeSettings,getDefaultLibFileName:()=>v4,getDefaultLibFilePath:()=>oB,getDefaultLikeExportInfo:()=>getDefaultLikeExportInfo,getDiagnosticText:()=>getDiagnosticText,getDiagnosticsWithinSpan:()=>getDiagnosticsWithinSpan,getDirectoryPath:()=>$i,getDirectoryToWatchFailedLookupLocation:()=>getDirectoryToWatchFailedLookupLocation,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>getDirectoryToWatchFailedLookupLocationFromTypeRoot,getDocumentPositionMapper:()=>getDocumentPositionMapper,getESModuleInterop:()=>U2,getEditsForFileRename:()=>getEditsForFileRename,getEffectiveBaseTypeNode:()=>AT,getEffectiveConstraintOfTypeParameter:()=>xA,getEffectiveContainerForJSDocTemplateTag:()=>TI,getEffectiveImplementsTypeNodes:()=>DT,getEffectiveInitializer:()=>oT,getEffectiveJSDocHost:()=>y2,getEffectiveModifierFlags:()=>vm,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>_S,getEffectiveModifierFlagsNoCache:()=>lS,getEffectiveReturnTypeNode:()=>EN,getEffectiveSetAccessorTypeAnnotationNode:()=>kN,getEffectiveTypeAnnotationNode:()=>I2,getEffectiveTypeParameterDeclarations:()=>SA,getEffectiveTypeRoots:()=>getEffectiveTypeRoots,getElementOrPropertyAccessArgumentExpressionOrName:()=>dm,getElementOrPropertyAccessName:()=>io,getElementsOfBindingOrAssignmentPattern:()=>R8,getEmitDeclarations:()=>z2,getEmitFlags:()=>ti,getEmitHelpers:()=>getEmitHelpers,getEmitModuleDetectionKind:()=>RS,getEmitModuleKind:()=>ni,getEmitModuleResolutionKind:()=>O_,getEmitScriptTarget:()=>Ql,getEmitStandardClassFields:()=>lM,getEnclosingBlockScopeContainer:()=>S0,getEnclosingContainer:()=>BD,getEncodedSemanticClassifications:()=>getEncodedSemanticClassifications,getEncodedSyntacticClassifications:()=>getEncodedSyntacticClassifications,getEndLinePosition:()=>D3,getEntityNameFromTypeNode:()=>FP,getEntrypointsFromPackageJsonInfo:()=>getEntrypointsFromPackageJsonInfo,getErrorCountForSummary:()=>getErrorCountForSummary,getErrorSpanForNode:()=>Zg,getErrorSummaryText:()=>getErrorSummaryText,getEscapedTextOfIdentifierOrLiteral:()=>LT,getEscapedTextOfJsxAttributeName:()=>hL,getEscapedTextOfJsxNamespacedName:()=>Yl,getExpandoInitializer:()=>A_,getExportAssignmentExpression:()=>ET,getExportInfoMap:()=>getExportInfoMap,getExportNeedsImportStarHelper:()=>getExportNeedsImportStarHelper,getExpressionAssociativity:()=>eN,getExpressionPrecedence:()=>tN,getExternalHelpersModuleName:()=>N8,getExternalModuleImportEqualsDeclarationExpression:()=>WP,getExternalModuleName:()=>d2,getExternalModuleNameFromDeclaration:()=>fN,getExternalModuleNameFromPath:()=>E2,getExternalModuleNameLiteral:()=>RR,getExternalModuleRequireArgument:()=>VP,getFallbackOptions:()=>getFallbackOptions,getFileEmitOutput:()=>getFileEmitOutput,getFileMatcherPatterns:()=>qS,getFileNamesFromConfigSpecs:()=>getFileNamesFromConfigSpecs,getFileWatcherEventKind:()=>getFileWatcherEventKind,getFilesInErrorForSummary:()=>getFilesInErrorForSummary,getFirstConstructorWithBody:()=>QT,getFirstIdentifier:()=>UN,getFirstNonSpaceCharacterPosition:()=>getFirstNonSpaceCharacterPosition,getFirstProjectOutput:()=>getFirstProjectOutput,getFixableErrorSpanExpression:()=>getFixableErrorSpanExpression,getFormatCodeSettingsForWriting:()=>getFormatCodeSettingsForWriting,getFullWidth:()=>sm,getFunctionFlags:()=>qI,getHeritageClause:()=>hm,getHostSignatureFromJSDoc:()=>h2,getIdentifierAutoGenerate:()=>getIdentifierAutoGenerate,getIdentifierGeneratedImportReference:()=>getIdentifierGeneratedImportReference,getIdentifierTypeArguments:()=>getIdentifierTypeArguments,getImmediatelyInvokedFunctionExpression:()=>MP,getImpliedNodeFormatForFile:()=>getImpliedNodeFormatForFile,getImpliedNodeFormatForFileWorker:()=>getImpliedNodeFormatForFileWorker,getImportNeedsImportDefaultHelper:()=>getImportNeedsImportDefaultHelper,getImportNeedsImportStarHelper:()=>getImportNeedsImportStarHelper,getIndentSize:()=>Jo,getIndentString:()=>w2,getInferredLibraryNameResolveFrom:()=>getInferredLibraryNameResolveFrom,getInitializedVariables:()=>mO,getInitializerOfBinaryExpression:()=>uT,getInitializerOfBindingOrAssignmentElement:()=>L8,getInterfaceBaseTypeNodes:()=>IT,getInternalEmitFlags:()=>SD,getInvokedExpression:()=>BP,getIsolatedModules:()=>B2,getJSDocAugmentsTag:()=>F4,getJSDocClassTag:()=>cA,getJSDocCommentRanges:()=>H3,getJSDocCommentsAndTags:()=>yT,getJSDocDeprecatedTag:()=>dA,getJSDocDeprecatedTagNoCache:()=>H4,getJSDocEnumTag:()=>mA,getJSDocHost:()=>bT,getJSDocImplementsTags:()=>B4,getJSDocOverrideTagNoCache:()=>V4,getJSDocParameterTags:()=>Zd,getJSDocParameterTagsNoCache:()=>L4,getJSDocPrivateTag:()=>uA,getJSDocPrivateTagNoCache:()=>q4,getJSDocProtectedTag:()=>pA,getJSDocProtectedTagNoCache:()=>z4,getJSDocPublicTag:()=>lA,getJSDocPublicTagNoCache:()=>U4,getJSDocReadonlyTag:()=>fA,getJSDocReadonlyTagNoCache:()=>W4,getJSDocReturnTag:()=>G4,getJSDocReturnType:()=>X4,getJSDocRoot:()=>g2,getJSDocSatisfiesExpressionType:()=>mL,getJSDocSatisfiesTag:()=>kg,getJSDocTags:()=>Ul,getJSDocTagsNoCache:()=>gA,getJSDocTemplateTag:()=>yA,getJSDocThisTag:()=>hA,getJSDocType:()=>tm,getJSDocTypeAliasName:()=>K0,getJSDocTypeAssertionType:()=>IR,getJSDocTypeParameterDeclarations:()=>ZT,getJSDocTypeParameterTags:()=>R4,getJSDocTypeParameterTagsNoCache:()=>j4,getJSDocTypeTag:()=>em,getJSXImplicitImportBase:()=>mM,getJSXRuntimeImport:()=>hM,getJSXTransformEnabled:()=>dM,getKeyForCompilerOptions:()=>getKeyForCompilerOptions,getLanguageVariant:()=>R0,getLastChild:()=>kS,getLeadingCommentRanges:()=>Wo,getLeadingCommentRangesOfNode:()=>_P,getLeftmostAccessExpression:()=>R2,getLeftmostExpression:()=>JO,getLineAndCharacterOfPosition:()=>to,getLineInfo:()=>getLineInfo,getLineOfLocalPosition:()=>TN,getLineOfLocalPositionFromLineMap:()=>Ca,getLineStartPositionForPosition:()=>getLineStartPositionForPosition,getLineStarts:()=>Ia,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>pO,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>uO,getLinesBetweenPositions:()=>x_,getLinesBetweenRangeEndAndRangeStart:()=>_O,getLinesBetweenRangeEndPositions:()=>cO,getLiteralText:()=>xD,getLocalNameForExternalImport:()=>JR,getLocalSymbolForExportDefault:()=>HN,getLocaleSpecificMessage:()=>N_,getLocaleTimeString:()=>getLocaleTimeString,getMappedContextSpan:()=>getMappedContextSpan,getMappedDocumentSpan:()=>getMappedDocumentSpan,getMappedLocation:()=>getMappedLocation,getMatchedFileSpec:()=>getMatchedFileSpec,getMatchedIncludeSpec:()=>getMatchedIncludeSpec,getMeaningFromDeclaration:()=>getMeaningFromDeclaration,getMeaningFromLocation:()=>getMeaningFromLocation,getMembersOfDeclaration:()=>fP,getModeForFileReference:()=>getModeForFileReference,getModeForResolutionAtIndex:()=>getModeForResolutionAtIndex,getModeForUsageLocation:()=>getModeForUsageLocation,getModifiedTime:()=>getModifiedTime,getModifiers:()=>yd,getModuleInstanceState:()=>getModuleInstanceState,getModuleNameStringLiteralAt:()=>getModuleNameStringLiteralAt,getModuleSpecifierEndingPreference:()=>DM,getModuleSpecifierResolverHost:()=>getModuleSpecifierResolverHost,getNameForExportedSymbol:()=>getNameForExportedSymbol,getNameFromIndexInfo:()=>qD,getNameFromPropertyName:()=>getNameFromPropertyName,getNameOfAccessExpression:()=>NO,getNameOfCompilerOptionValue:()=>getNameOfCompilerOptionValue,getNameOfDeclaration:()=>Bl,getNameOfExpando:()=>aI,getNameOfJSDocTypedef:()=>N4,getNameOrArgument:()=>cT,getNameTable:()=>eB,getNamesForExportedSymbol:()=>getNamesForExportedSymbol,getNamespaceDeclarationNode:()=>fT,getNewLineCharacter:()=>vS,getNewLineKind:()=>getNewLineKind,getNewLineOrDefaultFromHost:()=>getNewLineOrDefaultFromHost,getNewTargetContainer:()=>NP,getNextJSDocCommentLocation:()=>gT,getNodeForGeneratedName:()=>bj,getNodeId:()=>getNodeId,getNodeKind:()=>getNodeKind,getNodeModifiers:()=>getNodeModifiers,getNodeModulePathParts:()=>_L,getNonAssignedNameOfDeclaration:()=>Kd,getNonAssignmentOperatorForCompoundAssignment:()=>getNonAssignmentOperatorForCompoundAssignment,getNonAugmentationDeclaration:()=>F3,getNonDecoratorTokenPosOfNode:()=>gD,getNormalizedAbsolutePath:()=>Pa,getNormalizedAbsolutePathWithoutRoot:()=>DE,getNormalizedPathComponents:()=>Vd,getObjectFlags:()=>jf,getOperator:()=>x2,getOperatorAssociativity:()=>jT,getOperatorPrecedence:()=>FT,getOptionFromName:()=>getOptionFromName,getOptionsForLibraryResolution:()=>getOptionsForLibraryResolution,getOptionsNameMap:()=>getOptionsNameMap,getOrCreateEmitNode:()=>getOrCreateEmitNode,getOrCreateExternalHelpersModuleNameIfNeeded:()=>O8,getOrUpdate:()=>X5,getOriginalNode:()=>jl,getOriginalNodeId:()=>getOriginalNodeId,getOriginalSourceFile:()=>ZI,getOutputDeclarationFileName:()=>getOutputDeclarationFileName,getOutputExtension:()=>getOutputExtension,getOutputFileNames:()=>getOutputFileNames,getOutputPathsFor:()=>getOutputPathsFor,getOutputPathsForBundle:()=>getOutputPathsForBundle,getOwnEmitOutputFilePath:()=>dN,getOwnKeys:()=>sg,getOwnValues:()=>vC,getPackageJsonInfo:()=>getPackageJsonInfo,getPackageJsonTypesVersionsPaths:()=>getPackageJsonTypesVersionsPaths,getPackageJsonsVisibleToFile:()=>getPackageJsonsVisibleToFile,getPackageNameFromTypesPackageName:()=>getPackageNameFromTypesPackageName,getPackageScopeForPath:()=>getPackageScopeForPath,getParameterSymbolFromJSDoc:()=>vI,getParameterTypeNode:()=>cL,getParentNodeInSpan:()=>getParentNodeInSpan,getParseTreeNode:()=>Fl,getParsedCommandLineOfConfigFile:()=>getParsedCommandLineOfConfigFile,getPathComponents:()=>Ai,getPathComponentsRelativeTo:()=>gg,getPathFromPathComponents:()=>Uo,getPathUpdater:()=>getPathUpdater,getPathsBasePath:()=>yN,getPatternFromSpec:()=>wM,getPendingEmitKind:()=>getPendingEmitKind,getPositionOfLineAndCharacter:()=>BE,getPossibleGenericSignatures:()=>getPossibleGenericSignatures,getPossibleOriginalInputExtensionForExtension:()=>hN,getPossibleTypeArgumentsInfo:()=>getPossibleTypeArgumentsInfo,getPreEmitDiagnostics:()=>getPreEmitDiagnostics,getPrecedingNonSpaceCharacterPosition:()=>getPrecedingNonSpaceCharacterPosition,getPrivateIdentifier:()=>getPrivateIdentifier,getProperties:()=>getProperties,getProperty:()=>gC,getPropertyArrayElementValue:()=>xP,getPropertyAssignmentAliasLikeExpression:()=>LI,getPropertyNameForPropertyNameNode:()=>bd,getPropertyNameForUniqueESSymbol:()=>WI,getPropertyNameFromType:()=>TL,getPropertyNameOfBindingOrAssignmentElement:()=>UR,getPropertySymbolFromBindingElement:()=>getPropertySymbolFromBindingElement,getPropertySymbolsFromContextualType:()=>p7,getQuoteFromPreference:()=>getQuoteFromPreference,getQuotePreference:()=>getQuotePreference,getRangesWhere:()=>Z5,getRefactorContextSpan:()=>getRefactorContextSpan,getReferencedFileLocation:()=>getReferencedFileLocation,getRegexFromPattern:()=>Bf,getRegularExpressionForWildcard:()=>Ff,getRegularExpressionsForWildcards:()=>V2,getRelativePathFromDirectory:()=>Kv,getRelativePathFromFile:()=>LE,getRelativePathToDirectoryOrUrl:()=>bg,getRenameLocation:()=>getRenameLocation,getReplacementSpanForContextToken:()=>getReplacementSpanForContextToken,getResolutionDiagnostic:()=>getResolutionDiagnostic,getResolutionModeOverrideForClause:()=>getResolutionModeOverrideForClause,getResolveJsonModule:()=>jS,getResolvePackageJsonExports:()=>aM,getResolvePackageJsonImports:()=>oM,getResolvedExternalModuleName:()=>VT,getResolvedModule:()=>Xk,getResolvedTypeReferenceDirective:()=>Yk,getRestIndicatorOfBindingOrAssignmentElement:()=>BR,getRestParameterElementType:()=>pP,getRightMostAssignedExpression:()=>l2,getRootDeclaration:()=>ym,getRootDirectoryOfResolutionCache:()=>getRootDirectoryOfResolutionCache,getRootLength:()=>Ei,getRootPathSplitLength:()=>getRootPathSplitLength,getScriptKind:()=>getScriptKind,getScriptKindFromFileName:()=>WS,getScriptTargetFeatures:()=>getScriptTargetFeatures,getSelectedEffectiveModifierFlags:()=>oS,getSelectedSyntacticModifierFlags:()=>sS,getSemanticClassifications:()=>getSemanticClassifications,getSemanticJsxChildren:()=>rN,getSetAccessorTypeAnnotationNode:()=>SN,getSetAccessorValueParameter:()=>D2,getSetExternalModuleIndicator:()=>JS,getShebang:()=>_4,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>m2,getSingleVariableOfVariableStatement:()=>Cl,getSnapshotText:()=>getSnapshotText,getSnippetElement:()=>getSnippetElement,getSourceFileOfModule:()=>oD,getSourceFileOfNode:()=>ri,getSourceFilePathInNewDir:()=>XT,getSourceFilePathInNewDirWorker:()=>k2,getSourceFileVersionAsHashFromText:()=>getSourceFileVersionAsHashFromText,getSourceFilesToEmit:()=>gN,getSourceMapRange:()=>getSourceMapRange,getSourceMapper:()=>getSourceMapper,getSourceTextOfNodeFromSourceFile:()=>Xo,getSpanOfTokenAtPosition:()=>Ys,getSpellingSuggestion:()=>Lv,getStartPositionOfLine:()=>cD,getStartPositionOfRange:()=>f_,getStartsOnNewLine:()=>getStartsOnNewLine,getStaticPropertiesAndClassStaticBlock:()=>getStaticPropertiesAndClassStaticBlock,getStrictOptionValue:()=>W2,getStringComparer:()=>_g,getSuperCallFromStatement:()=>getSuperCallFromStatement,getSuperContainer:()=>OP,getSupportedCodeFixes:()=>_7,getSupportedExtensions:()=>VS,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>HS,getSwitchedType:()=>getSwitchedType,getSymbolId:()=>getSymbolId,getSymbolNameForPrivateIdentifier:()=>VI,getSymbolTarget:()=>getSymbolTarget,getSyntacticClassifications:()=>getSyntacticClassifications,getSyntacticModifierFlags:()=>M2,getSyntacticModifierFlagsNoCache:()=>L2,getSynthesizedDeepClone:()=>getSynthesizedDeepClone,getSynthesizedDeepCloneWithReplacements:()=>getSynthesizedDeepCloneWithReplacements,getSynthesizedDeepClones:()=>getSynthesizedDeepClones,getSynthesizedDeepClonesWithReplacements:()=>getSynthesizedDeepClonesWithReplacements,getSyntheticLeadingComments:()=>getSyntheticLeadingComments,getSyntheticTrailingComments:()=>getSyntheticTrailingComments,getTargetLabel:()=>getTargetLabel,getTargetOfBindingOrAssignmentElement:()=>Mo,getTemporaryModuleResolutionState:()=>getTemporaryModuleResolutionState,getTextOfConstantValue:()=>CD,getTextOfIdentifierOrLiteral:()=>vd,getTextOfJSDocComment:()=>vA,getTextOfJsxAttributeName:()=>yL,getTextOfJsxNamespacedName:()=>Kl,getTextOfNode:()=>_m,getTextOfNodeFromSourceText:()=>t_,getTextOfPropertyName:()=>WD,getThisContainer:()=>o2,getThisParameter:()=>YT,getTokenAtPosition:()=>getTokenAtPosition,getTokenPosOfNode:()=>Go,getTokenSourceMapRange:()=>getTokenSourceMapRange,getTouchingPropertyName:()=>getTouchingPropertyName,getTouchingToken:()=>getTouchingToken,getTrailingCommentRanges:()=>s4,getTrailingSemicolonDeferringWriter:()=>pN,getTransformFlagsSubtreeExclusions:()=>Jx,getTransformers:()=>getTransformers,getTsBuildInfoEmitOutputFilePath:()=>getTsBuildInfoEmitOutputFilePath,getTsConfigObjectLiteralExpression:()=>$3,getTsConfigPropArrayElementValue:()=>wP,getTypeAnnotationNode:()=>CN,getTypeArgumentOrTypeParameterList:()=>getTypeArgumentOrTypeParameterList,getTypeKeywordOfTypeOnlyImport:()=>getTypeKeywordOfTypeOnlyImport,getTypeNode:()=>getTypeNode,getTypeNodeIfAccessible:()=>getTypeNodeIfAccessible,getTypeParameterFromJsDoc:()=>SI,getTypeParameterOwner:()=>nA,getTypesPackageName:()=>getTypesPackageName,getUILocale:()=>zC,getUniqueName:()=>getUniqueName,getUniqueSymbolId:()=>getUniqueSymbolId,getUseDefineForClassFields:()=>cM,getWatchErrorSummaryDiagnosticMessage:()=>getWatchErrorSummaryDiagnosticMessage,getWatchFactory:()=>getWatchFactory,group:()=>CC,groupBy:()=>EC,guessIndentation:()=>Mk,handleNoEmitOptions:()=>handleNoEmitOptions,hasAbstractModifier:()=>nS,hasAccessorModifier:()=>aS,hasAmbientModifier:()=>iS,hasChangesInResolutions:()=>iD,hasChildOfKind:()=>hasChildOfKind,hasContextSensitiveParameters:()=>rL,hasDecorators:()=>El,hasDocComment:()=>hasDocComment,hasDynamicName:()=>MT,hasEffectiveModifier:()=>N2,hasEffectiveModifiers:()=>ON,hasEffectiveReadonlyModifier:()=>O0,hasExtension:()=>$v,hasIndexSignature:()=>hasIndexSignature,hasInitializer:()=>C3,hasInvalidEscape:()=>BT,hasJSDocNodes:()=>Wi,hasJSDocParameterTags:()=>_A,hasJSFileExtension:()=>H2,hasJsonModuleEmitEnabled:()=>KO,hasOnlyExpressionInitializer:()=>Nk,hasOverrideModifier:()=>LN,hasPossibleExternalModuleReference:()=>FD,hasProperty:()=>Qr,hasPropertyAccessExpressionWithName:()=>hasPropertyAccessExpressionWithName,hasQuestionToken:()=>mI,hasRecordedExternalHelpers:()=>MR,hasRestParameter:()=>Lk,hasScopeMarker:()=>_k,hasStaticModifier:()=>bm,hasSyntacticModifier:()=>gr,hasSyntacticModifiers:()=>MN,hasTSFileExtension:()=>G2,hasTabstop:()=>_x,hasTrailingDirectorySeparator:()=>Wd,hasType:()=>Ik,hasTypeArguments:()=>xI,hasZeroOrOneAsteriskCharacter:()=>yM,helperString:()=>helperString,hostGetCanonicalFileName:()=>WT,hostUsesCaseSensitiveFileNames:()=>C2,idText:()=>Ot,identifierIsThisKeyword:()=>KT,identifierToKeywordKind:()=>D4,identity:()=>bt,identitySourceMapConsumer:()=>identitySourceMapConsumer,ignoreSourceNewlines:()=>ignoreSourceNewlines,ignoredPaths:()=>ignoredPaths,importDefaultHelper:()=>importDefaultHelper,importFromModuleSpecifier:()=>fI,importNameElisionDisabled:()=>ZO,importStarHelper:()=>importStarHelper,indexOfAnyCharCode:()=>bv,indexOfNode:()=>TD,indicesOf:()=>ag,inferredTypesContainingFile:()=>inferredTypesContainingFile,injectClassNamedEvaluationHelperBlockIfMissing:()=>injectClassNamedEvaluationHelperBlockIfMissing,injectClassThisAssignmentIfMissing:()=>injectClassThisAssignmentIfMissing,insertImports:()=>insertImports,insertLeadingStatement:()=>TR,insertSorted:()=>yl,insertStatementAfterCustomPrologue:()=>mD,insertStatementAfterStandardPrologue:()=>dD,insertStatementsAfterCustomPrologue:()=>fD,insertStatementsAfterStandardPrologue:()=>pD,intersperse:()=>J5,intrinsicTagNameToString:()=>bL,introducesArgumentsExoticObject:()=>yP,inverseJsxOptionMap:()=>inverseJsxOptionMap,isAbstractConstructorSymbol:()=>EO,isAbstractModifier:()=>eJ,isAccessExpression:()=>$o,isAccessibilityModifier:()=>isAccessibilityModifier,isAccessor:()=>im,isAccessorModifier:()=>rJ,isAliasSymbolDeclaration:()=>MI,isAliasableExpression:()=>b2,isAmbientModule:()=>cm,isAmbientPropertyDeclaration:()=>LD,isAnonymousFunctionDefinition:()=>Ks,isAnyDirectorySeparator:()=>dg,isAnyImportOrBareOrAccessedRequire:()=>RD,isAnyImportOrReExport:()=>um,isAnyImportSyntax:()=>$g,isAnySupportedFileExtension:()=>JM,isApplicableVersionedTypesKey:()=>isApplicableVersionedTypesKey,isArgumentExpressionOfElementAccess:()=>isArgumentExpressionOfElementAccess,isArray:()=>zt,isArrayBindingElement:()=>$A,isArrayBindingOrAssignmentElement:()=>d3,isArrayBindingOrAssignmentPattern:()=>f3,isArrayBindingPattern:()=>sJ,isArrayLiteralExpression:()=>iu,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>isArrayLiteralOrObjectLiteralDestructuringPattern,isArrayTypeNode:()=>Xx,isArrowFunction:()=>Dm,isAsExpression:()=>mJ,isAssertClause:()=>RJ,isAssertEntry:()=>jJ,isAssertionExpression:()=>ok,isAssertionKey:()=>jA,isAssertsKeyword:()=>YL,isAssignmentDeclaration:()=>k0,isAssignmentExpression:()=>Na,isAssignmentOperator:()=>D_,isAssignmentPattern:()=>l3,isAssignmentTarget:()=>wI,isAsteriskToken:()=>HL,isAsyncFunction:()=>zI,isAsyncModifier:()=>al,isAutoAccessorPropertyDeclaration:()=>c3,isAwaitExpression:()=>uJ,isAwaitKeyword:()=>KL,isBigIntLiteral:()=>o6,isBinaryExpression:()=>Ct,isBinaryOperatorToken:()=>dj,isBindableObjectDefinePropertyCall:()=>p2,isBindableStaticAccessExpression:()=>k_,isBindableStaticElementAccessExpression:()=>f2,isBindableStaticNameExpression:()=>p_,isBindingElement:()=>nu,isBindingElementOfBareOrAccessedRequire:()=>YP,isBindingName:()=>zA,isBindingOrAssignmentElement:()=>QA,isBindingOrAssignmentPattern:()=>YA,isBindingPattern:()=>am,isBlock:()=>au,isBlockOrCatchScoped:()=>AD,isBlockScope:()=>B3,isBlockScopedContainerTopLevel:()=>ND,isBooleanLiteral:()=>WA,isBreakOrContinueStatement:()=>kA,isBreakStatement:()=>AJ,isBuildInfoFile:()=>isBuildInfoFile,isBuilderProgram:()=>isBuilderProgram2,isBundle:()=>QJ,isBundleFileTextLike:()=>OO,isCallChain:()=>y0,isCallExpression:()=>j_,isCallExpressionTarget:()=>isCallExpressionTarget,isCallLikeExpression:()=>ek,isCallOrNewExpression:()=>tk,isCallOrNewExpressionTarget:()=>isCallOrNewExpressionTarget,isCallSignatureDeclaration:()=>c6,isCallToHelper:()=>isCallToHelper,isCaseBlock:()=>MJ,isCaseClause:()=>GJ,isCaseKeyword:()=>nJ,isCaseOrDefaultClause:()=>Pk,isCatchClause:()=>XJ,isCatchClauseVariableDeclaration:()=>nx,isCatchClauseVariableDeclarationOrBindingElement:()=>J3,isCheckJsEnabledForFile:()=>RM,isChildOfNodeWithKind:()=>cP,isCircularBuildOrder:()=>isCircularBuildOrder,isClassDeclaration:()=>Yo,isClassElement:()=>no,isClassExpression:()=>Il,isClassLike:()=>dn,isClassMemberModifier:()=>o3,isClassNamedEvaluationHelperBlock:()=>isClassNamedEvaluationHelperBlock,isClassOrTypeElement:()=>GA,isClassStaticBlockDeclaration:()=>eu,isClassThisAssignmentBlock:()=>isClassThisAssignmentBlock,isCollapsedRange:()=>rO,isColonToken:()=>GL,isCommaExpression:()=>Rm,isCommaListExpression:()=>F_,isCommaSequence:()=>PR,isCommaToken:()=>Bx,isComment:()=>isComment,isCommonJsExportPropertyAssignment:()=>i2,isCommonJsExportedExpression:()=>mP,isCompoundAssignment:()=>isCompoundAssignment,isComputedNonLiteralName:()=>zD,isComputedPropertyName:()=>ao,isConciseBody:()=>pk,isConditionalExpression:()=>pJ,isConditionalTypeNode:()=>e8,isConstTypeReference:()=>K4,isConstructSignatureDeclaration:()=>Vx,isConstructorDeclaration:()=>J_,isConstructorTypeNode:()=>u6,isContextualKeyword:()=>v2,isContinueStatement:()=>EJ,isCustomPrologue:()=>pm,isDebuggerStatement:()=>OJ,isDeclaration:()=>Ho,isDeclarationBindingElement:()=>Bg,isDeclarationFileName:()=>H8,isDeclarationName:()=>xT,isDeclarationNameOfEnumOrNamespace:()=>dO,isDeclarationReadonly:()=>rP,isDeclarationStatement:()=>xk,isDeclarationWithTypeParameterChildren:()=>U3,isDeclarationWithTypeParameters:()=>JD,isDecorator:()=>L_,isDecoratorTarget:()=>isDecoratorTarget,isDefaultClause:()=>m8,isDefaultImport:()=>dT,isDefaultModifier:()=>QL,isDefaultedExpandoInitializer:()=>iI,isDeleteExpression:()=>cJ,isDeleteTarget:()=>PI,isDeprecatedDeclaration:()=>isDeprecatedDeclaration,isDestructuringAssignment:()=>BN,isDiagnosticWithLocation:()=>isDiagnosticWithLocation,isDiskPathRoot:()=>xE,isDoStatement:()=>SJ,isDocumentRegistryEntry:()=>isDocumentRegistryEntry,isDotDotDotToken:()=>VL,isDottedName:()=>L0,isDynamicName:()=>S2,isESSymbolIdentifier:()=>XI,isEffectiveExternalModule:()=>Xg,isEffectiveModuleDeclaration:()=>R3,isEffectiveStrictModeSourceFile:()=>MD,isElementAccessChain:()=>Y4,isElementAccessExpression:()=>Ra,isEmittedFileOfProgram:()=>isEmittedFileOfProgram,isEmptyArrayLiteral:()=>VN,isEmptyBindingElement:()=>A4,isEmptyBindingPattern:()=>E4,isEmptyObjectLiteral:()=>WN,isEmptyStatement:()=>vJ,isEmptyStringLiteral:()=>K3,isEntityName:()=>qA,isEntityNameExpression:()=>co,isEnumConst:()=>tP,isEnumDeclaration:()=>S6,isEnumMember:()=>y8,isEqualityOperatorKind:()=>isEqualityOperatorKind,isEqualsGreaterThanToken:()=>$L,isExclamationToken:()=>Pd,isExcludedFile:()=>isExcludedFile,isExclusivelyTypeOnlyImportOrExport:()=>isExclusivelyTypeOnlyImportOrExport,isExportAssignment:()=>ss,isExportDeclaration:()=>B_,isExportModifier:()=>Ux,isExportName:()=>DR,isExportNamespaceAsDefaultDeclaration:()=>L3,isExportOrDefaultModifier:()=>hj,isExportSpecifier:()=>d8,isExportsIdentifier:()=>sT,isExportsOrModuleExportsOrAlias:()=>isExportsOrModuleExportsOrAlias,isExpression:()=>om,isExpressionNode:()=>_2,isExpressionOfExternalModuleImportEqualsDeclaration:()=>isExpressionOfExternalModuleImportEqualsDeclaration,isExpressionOfOptionalChainRoot:()=>CA,isExpressionStatement:()=>ou,isExpressionWithTypeArguments:()=>g6,isExpressionWithTypeArgumentsInClassExtendsClause:()=>M0,isExternalModule:()=>Zo,isExternalModuleAugmentation:()=>Gg,isExternalModuleImportEqualsDeclaration:()=>tT,isExternalModuleIndicator:()=>lk,isExternalModuleNameRelative:()=>GE,isExternalModuleReference:()=>Om,isExternalModuleSymbol:()=>isExternalModuleSymbol,isExternalOrCommonJsModule:()=>eP,isFileLevelReservedGeneratedIdentifier:()=>BA,isFileLevelUniqueName:()=>P3,isFileProbablyExternalModule:()=>ml,isFirstDeclarationOfSymbolParameter:()=>isFirstDeclarationOfSymbolParameter,isFixablePromiseHandler:()=>isFixablePromiseHandler,isForInOrOfStatement:()=>uk,isForInStatement:()=>wJ,isForInitializer:()=>dk,isForOfStatement:()=>CJ,isForStatement:()=>c8,isFunctionBlock:()=>X3,isFunctionBody:()=>fk,isFunctionDeclaration:()=>os,isFunctionExpression:()=>km,isFunctionExpressionOrArrowFunction:()=>aL,isFunctionLike:()=>Gi,isFunctionLikeDeclaration:()=>s3,isFunctionLikeKind:()=>Jg,isFunctionLikeOrClassStaticBlockDeclaration:()=>nm,isFunctionOrConstructorTypeNode:()=>XA,isFunctionOrModuleBlock:()=>VA,isFunctionSymbol:()=>uI,isFunctionTypeNode:()=>tu,isFutureReservedKeyword:()=>RI,isGeneratedIdentifier:()=>wa,isGeneratedPrivateIdentifier:()=>Mg,isGetAccessor:()=>el,isGetAccessorDeclaration:()=>m_,isGetOrSetAccessorDeclaration:()=>wA,isGlobalDeclaration:()=>isGlobalDeclaration,isGlobalScopeAugmentation:()=>lm,isGrammarError:()=>uD,isHeritageClause:()=>Nl,isHoistedFunction:()=>w0,isHoistedVariableStatement:()=>C0,isIdentifier:()=>Ee,isIdentifierANonContextualKeyword:()=>BI,isIdentifierName:()=>OI,isIdentifierOrThisTypeNode:()=>HR,isIdentifierPart:()=>Qa,isIdentifierStart:()=>un,isIdentifierText:()=>Cg,isIdentifierTypePredicate:()=>TP,isIdentifierTypeReference:()=>$M,isIfStatement:()=>TJ,isIgnoredFileFromWildCardWatching:()=>isIgnoredFileFromWildCardWatching,isImplicitGlob:()=>BS,isImportCall:()=>t2,isImportClause:()=>LJ,isImportDeclaration:()=>C6,isImportEqualsDeclaration:()=>w6,isImportKeyword:()=>zx,isImportMeta:()=>x0,isImportOrExportSpecifier:()=>JA,isImportOrExportSpecifierName:()=>isImportOrExportSpecifierName,isImportSpecifier:()=>p8,isImportTypeAssertionContainer:()=>JJ,isImportTypeNode:()=>ru,isImportableFile:()=>isImportableFile,isInComment:()=>isInComment,isInExpressionContext:()=>Z3,isInJSDoc:()=>rT,isInJSFile:()=>Wt,isInJSXText:()=>isInJSXText,isInJsonFile:()=>XP,isInNonReferenceComment:()=>isInNonReferenceComment,isInReferenceComment:()=>isInReferenceComment,isInRightSideOfInternalImportEqualsDeclaration:()=>isInRightSideOfInternalImportEqualsDeclaration,isInString:()=>isInString,isInTemplateString:()=>isInTemplateString,isInTopLevelContext:()=>IP,isInTypeQuery:()=>xN,isIncrementalCompilation:()=>_M,isIndexSignatureDeclaration:()=>l6,isIndexedAccessTypeNode:()=>n8,isInferTypeNode:()=>t8,isInfinityOrNaNString:()=>nL,isInitializedProperty:()=>isInitializedProperty,isInitializedVariable:()=>xS,isInsideJsxElement:()=>isInsideJsxElement,isInsideJsxElementOrAttribute:()=>isInsideJsxElementOrAttribute,isInsideNodeModules:()=>isInsideNodeModules,isInsideTemplateLiteral:()=>isInsideTemplateLiteral,isInstantiatedModule:()=>isInstantiatedModule,isInterfaceDeclaration:()=>su,isInternalDeclaration:()=>isInternalDeclaration,isInternalModuleImportEqualsDeclaration:()=>HP,isInternalName:()=>kR,isIntersectionTypeNode:()=>Zx,isIntrinsicJsxName:()=>zT,isIterationStatement:()=>g3,isJSDoc:()=>cs,isJSDocAllType:()=>tR,isJSDocAugmentsTag:()=>Lm,isJSDocAuthorTag:()=>sR,isJSDocCallbackTag:()=>_R,isJSDocClassTag:()=>v8,isJSDocCommentContainingNode:()=>w3,isJSDocConstructSignature:()=>hI,isJSDocDeprecatedTag:()=>J6,isJSDocEnumTag:()=>S8,isJSDocFunctionType:()=>Mm,isJSDocImplementsTag:()=>w8,isJSDocIndexSignature:()=>QP,isJSDocLikeText:()=>q8,isJSDocLink:()=>KJ,isJSDocLinkCode:()=>ZJ,isJSDocLinkLike:()=>ul,isJSDocLinkPlain:()=>eR,isJSDocMemberName:()=>r_,isJSDocNameReference:()=>Wf,isJSDocNamepathType:()=>oR,isJSDocNamespaceBody:()=>yk,isJSDocNode:()=>zg,isJSDocNonNullableType:()=>nR,isJSDocNullableType:()=>b8,isJSDocOptionalParameter:()=>cx,isJSDocOptionalType:()=>iR,isJSDocOverloadTag:()=>L6,isJSDocOverrideTag:()=>T8,isJSDocParameterTag:()=>h_,isJSDocPrivateTag:()=>N6,isJSDocPropertyLikeTag:()=>Ig,isJSDocPropertyTag:()=>pR,isJSDocProtectedTag:()=>O6,isJSDocPublicTag:()=>I6,isJSDocReadonlyTag:()=>M6,isJSDocReturnTag:()=>R6,isJSDocSatisfiesExpression:()=>dL,isJSDocSatisfiesTag:()=>j6,isJSDocSeeTag:()=>cR,isJSDocSignature:()=>cu,isJSDocTag:()=>Wg,isJSDocTemplateTag:()=>Ko,isJSDocThisTag:()=>x8,isJSDocThrowsTag:()=>fR,isJSDocTypeAlias:()=>Hl,isJSDocTypeAssertion:()=>I8,isJSDocTypeExpression:()=>g8,isJSDocTypeLiteral:()=>P6,isJSDocTypeTag:()=>lu,isJSDocTypedefTag:()=>lR,isJSDocUnknownTag:()=>uR,isJSDocUnknownType:()=>rR,isJSDocVariadicType:()=>aR,isJSXTagName:()=>Lf,isJsonEqual:()=>$2,isJsonSourceFile:()=>e2,isJsxAttribute:()=>WJ,isJsxAttributeLike:()=>kk,isJsxAttributeName:()=>gL,isJsxAttributes:()=>D6,isJsxChild:()=>S3,isJsxClosingElement:()=>zf,isJsxClosingFragment:()=>zJ,isJsxElement:()=>Q0,isJsxExpression:()=>HJ,isJsxFragment:()=>dl,isJsxNamespacedName:()=>U_,isJsxOpeningElement:()=>Oo,isJsxOpeningFragment:()=>k6,isJsxOpeningLikeElement:()=>x3,isJsxOpeningLikeElementTagName:()=>isJsxOpeningLikeElementTagName,isJsxSelfClosingElement:()=>qJ,isJsxSpreadAttribute:()=>VJ,isJsxTagNameExpression:()=>Ak,isJsxText:()=>Dd,isJumpStatementTarget:()=>isJumpStatementTarget,isKeyword:()=>Si,isKeywordOrPunctuation:()=>Rf,isKnownSymbol:()=>HI,isLabelName:()=>isLabelName,isLabelOfLabeledStatement:()=>isLabelOfLabeledStatement,isLabeledStatement:()=>l8,isLateVisibilityPaintedStatement:()=>jD,isLeftHandSideExpression:()=>Lo,isLeftHandSideOfAssignment:()=>FN,isLet:()=>aP,isLineBreak:()=>mr,isLiteralComputedPropertyDeclarationName:()=>wT,isLiteralExpression:()=>Og,isLiteralExpressionOfObject:()=>OA,isLiteralImportTypeNode:()=>V3,isLiteralKind:()=>Ng,isLiteralLikeAccess:()=>Jf,isLiteralLikeElementAccess:()=>Vl,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>isLiteralNameOfPropertyDeclarationOrIndexAccess,isLiteralTypeLikeExpression:()=>QR,isLiteralTypeLiteral:()=>ik,isLiteralTypeNode:()=>m6,isLocalName:()=>Y0,isLogicalOperator:()=>JN,isLogicalOrCoalescingAssignmentExpression:()=>RN,isLogicalOrCoalescingAssignmentOperator:()=>Tm,isLogicalOrCoalescingBinaryExpression:()=>jN,isLogicalOrCoalescingBinaryOperator:()=>pS,isMappedTypeNode:()=>i8,isMemberName:()=>ro,isMetaProperty:()=>b6,isMethodDeclaration:()=>d_,isMethodOrAccessor:()=>Rg,isMethodSignature:()=>Wx,isMinusToken:()=>_6,isMissingDeclaration:()=>BJ,isModifier:()=>Lg,isModifierKind:()=>bi,isModifierLike:()=>Mf,isModuleAugmentationExternal:()=>j3,isModuleBlock:()=>u8,isModuleBody:()=>mk,isModuleDeclaration:()=>Yi,isModuleExportsAccessExpression:()=>u2,isModuleIdentifier:()=>_T,isModuleName:()=>$R,isModuleOrEnumDeclaration:()=>bk,isModuleReference:()=>Ek,isModuleSpecifierLike:()=>isModuleSpecifierLike,isModuleWithStringLiteralName:()=>kD,isNameOfFunctionDeclaration:()=>isNameOfFunctionDeclaration,isNameOfModuleDeclaration:()=>isNameOfModuleDeclaration,isNamedClassElement:()=>HA,isNamedDeclaration:()=>Yd,isNamedEvaluation:()=>$I,isNamedEvaluationSource:()=>RT,isNamedExportBindings:()=>DA,isNamedExports:()=>f8,isNamedImportBindings:()=>gk,isNamedImports:()=>FJ,isNamedImportsOrExports:()=>MO,isNamedTupleMember:()=>p6,isNamespaceBody:()=>hk,isNamespaceExport:()=>Nm,isNamespaceExportDeclaration:()=>x6,isNamespaceImport:()=>E6,isNamespaceReexportDeclaration:()=>zP,isNewExpression:()=>a8,isNewExpressionTarget:()=>isNewExpressionTarget,isNightly:()=>lN,isNoSubstitutionTemplateLiteral:()=>Fx,isNode:()=>IA,isNodeArray:()=>va,isNodeArrayMultiLine:()=>lO,isNodeDescendantOf:()=>II,isNodeKind:()=>ql,isNodeLikeSystem:()=>uE,isNodeModulesDirectory:()=>JE,isNodeWithPossibleHoistedDeclaration:()=>CI,isNonContextualKeyword:()=>OT,isNonExportDefaultModifier:()=>yj,isNonGlobalAmbientModule:()=>DD,isNonGlobalDeclaration:()=>isNonGlobalDeclaration,isNonNullAccess:()=>fL,isNonNullChain:()=>Z4,isNonNullExpression:()=>jo,isNonStaticMethodOrAccessorWithPrivateName:()=>isNonStaticMethodOrAccessorWithPrivateName,isNotEmittedOrPartiallyEmittedNode:()=>sk,isNotEmittedStatement:()=>A6,isNullishCoalesce:()=>AA,isNumber:()=>MC,isNumericLiteral:()=>lo,isNumericLiteralName:()=>ix,isObjectBindingElementWithoutPropertyName:()=>isObjectBindingElementWithoutPropertyName,isObjectBindingOrAssignmentElement:()=>p3,isObjectBindingOrAssignmentPattern:()=>u3,isObjectBindingPattern:()=>oJ,isObjectLiteralElement:()=>b0,isObjectLiteralElementLike:()=>Fg,isObjectLiteralExpression:()=>uo,isObjectLiteralMethod:()=>bP,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>vP,isObjectTypeDeclaration:()=>IO,isOctalDigit:()=>Nf,isOmittedExpression:()=>Im,isOptionalChain:()=>Dg,isOptionalChainRoot:()=>Pg,isOptionalDeclaration:()=>pL,isOptionalJSDocPropertyLikeTag:()=>sx,isOptionalTypeNode:()=>Qx,isOuterExpression:()=>jm,isOutermostOptionalChain:()=>EA,isOverrideModifier:()=>tJ,isPackedArrayLiteral:()=>ZM,isParameter:()=>Ma,isParameterDeclaration:()=>YI,isParameterOrCatchClauseVariable:()=>iL,isParameterPropertyDeclaration:()=>C4,isParameterPropertyModifier:()=>a3,isParenthesizedExpression:()=>is,isParenthesizedTypeNode:()=>f6,isParseTreeNode:()=>Tl,isPartOfTypeNode:()=>r2,isPartOfTypeQuery:()=>eT,isPartiallyEmittedExpression:()=>_8,isPatternMatch:()=>lg,isPinnedComment:()=>M3,isPlainJsFile:()=>sD,isPlusToken:()=>s6,isPossiblyTypeArgumentPosition:()=>isPossiblyTypeArgumentPosition,isPostfixUnaryExpression:()=>s8,isPrefixUnaryExpression:()=>Pm,isPrivateIdentifier:()=>jr,isPrivateIdentifierClassElementDeclaration:()=>i3,isPrivateIdentifierPropertyAccessExpression:()=>UA,isPrivateIdentifierSymbol:()=>GI,isProgramBundleEmitBuildInfo:()=>isProgramBundleEmitBuildInfo,isProgramUptoDate:()=>isProgramUptoDate,isPrologueDirective:()=>Ea,isPropertyAccessChain:()=>Q4,isPropertyAccessEntityNameExpression:()=>mS,isPropertyAccessExpression:()=>Br,isPropertyAccessOrQualifiedName:()=>ZA,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>KA,isPropertyAssignment:()=>_s,isPropertyDeclaration:()=>oo,isPropertyName:()=>zl,isPropertyNameLiteral:()=>P0,isPropertySignature:()=>Zl,isProtoSetter:()=>JT,isPrototypeAccess:()=>$l,isPrototypePropertyAssignment:()=>_I,isPunctuation:()=>NT,isPushOrUnshiftIdentifier:()=>QI,isQualifiedName:()=>M_,isQuestionDotToken:()=>XL,isQuestionOrExclamationToken:()=>VR,isQuestionOrPlusOrMinusToken:()=>XR,isQuestionToken:()=>Pl,isRawSourceMap:()=>isRawSourceMap,isReadonlyKeyword:()=>qx,isReadonlyKeywordOrPlusOrMinusToken:()=>GR,isRecognizedTripleSlashComment:()=>hD,isReferenceFileLocation:()=>isReferenceFileLocation,isReferencedFile:()=>isReferencedFile,isRegularExpressionLiteral:()=>UL,isRequireCall:()=>Wl,isRequireVariableStatement:()=>aT,isRestParameter:()=>E3,isRestTypeNode:()=>Yx,isReturnStatement:()=>kJ,isReturnStatementWithFixablePromiseHandler:()=>isReturnStatementWithFixablePromiseHandler,isRightSideOfAccessExpression:()=>hS,isRightSideOfPropertyAccess:()=>isRightSideOfPropertyAccess,isRightSideOfQualifiedName:()=>isRightSideOfQualifiedName,isRightSideOfQualifiedNameOrPropertyAccess:()=>qN,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>zN,isRootedDiskPath:()=>v_,isSameEntityName:()=>u_,isSatisfiesExpression:()=>hJ,isScopeMarker:()=>b3,isSemicolonClassElement:()=>bJ,isSetAccessor:()=>Zc,isSetAccessorDeclaration:()=>Qo,isShebangTrivia:()=>xg,isShorthandAmbientModuleSymbol:()=>PD,isShorthandPropertyAssignment:()=>_u,isSignedNumericLiteral:()=>T2,isSimpleCopiableExpression:()=>isSimpleCopiableExpression,isSimpleInlineableExpression:()=>isSimpleInlineableExpression,isSingleOrDoubleQuote:()=>KP,isSourceFile:()=>ii,isSourceFileFromLibrary:()=>isSourceFileFromLibrary,isSourceFileJS:()=>c2,isSourceFileNotJS:()=>GP,isSourceFileNotJson:()=>$P,isSourceMapping:()=>isSourceMapping,isSpecialPropertyDeclaration:()=>cI,isSpreadAssignment:()=>h8,isSpreadElement:()=>y6,isStatement:()=>v3,isStatementButNotDeclaration:()=>wk,isStatementOrBlock:()=>T3,isStatementWithLocals:()=>_D,isStatic:()=>N0,isStaticModifier:()=>ZL,isString:()=>b_,isStringAKeyword:()=>FI,isStringANonContextualKeyword:()=>jI,isStringAndEmptyAnonymousObjectIntersection:()=>isStringAndEmptyAnonymousObjectIntersection,isStringDoubleQuoted:()=>ZP,isStringLiteral:()=>mn,isStringLiteralLike:()=>Kn,isStringLiteralOrJsxExpression:()=>Dk,isStringLiteralOrTemplate:()=>isStringLiteralOrTemplate,isStringOrNumericLiteralLike:()=>Qi,isStringOrRegularExpressionOrTemplateLiteral:()=>isStringOrRegularExpressionOrTemplateLiteral,isStringTextContainingNode:()=>FA,isSuperCall:()=>oP,isSuperKeyword:()=>qf,isSuperOrSuperProperty:()=>LP,isSuperProperty:()=>gd,isSupportedSourceFileName:()=>IM,isSwitchStatement:()=>PJ,isSyntaxList:()=>dR,isSyntheticExpression:()=>yJ,isSyntheticReference:()=>UJ,isTagName:()=>isTagName,isTaggedTemplateExpression:()=>o8,isTaggedTemplateTag:()=>isTaggedTemplateTag,isTemplateExpression:()=>fJ,isTemplateHead:()=>qL,isTemplateLiteral:()=>rk,isTemplateLiteralKind:()=>Sl,isTemplateLiteralToken:()=>MA,isTemplateLiteralTypeNode:()=>aJ,isTemplateLiteralTypeSpan:()=>iJ,isTemplateMiddle:()=>zL,isTemplateMiddleOrTemplateTail:()=>LA,isTemplateSpan:()=>gJ,isTemplateTail:()=>WL,isTextWhiteSpaceLike:()=>isTextWhiteSpaceLike,isThis:()=>isThis,isThisContainerOrFunctionBlock:()=>PP,isThisIdentifier:()=>gm,isThisInTypeQuery:()=>wN,isThisInitializedDeclaration:()=>RP,isThisInitializedObjectBindingExpression:()=>jP,isThisProperty:()=>JP,isThisTypeNode:()=>d6,isThisTypeParameter:()=>ax,isThisTypePredicate:()=>SP,isThrowStatement:()=>IJ,isToken:()=>NA,isTokenKind:()=>t3,isTraceEnabled:()=>isTraceEnabled,isTransientSymbol:()=>T0,isTrivia:()=>UI,isTryStatement:()=>NJ,isTupleTypeNode:()=>$x,isTypeAlias:()=>yI,isTypeAliasDeclaration:()=>T6,isTypeAssertionExpression:()=>_J,isTypeDeclaration:()=>ox,isTypeElement:()=>jg,isTypeKeyword:()=>isTypeKeyword,isTypeKeywordToken:()=>isTypeKeywordToken,isTypeKeywordTokenOrIdentifier:()=>isTypeKeywordTokenOrIdentifier,isTypeLiteralNode:()=>Am,isTypeNode:()=>g0,isTypeNodeKind:()=>DS,isTypeOfExpression:()=>lJ,isTypeOnlyExportDeclaration:()=>n3,isTypeOnlyImportDeclaration:()=>r3,isTypeOnlyImportOrExportDeclaration:()=>RA,isTypeOperatorNode:()=>r8,isTypeParameterDeclaration:()=>No,isTypePredicateNode:()=>Hx,isTypeQueryNode:()=>Gx,isTypeReferenceNode:()=>R_,isTypeReferenceType:()=>Ok,isTypeUsableAsPropertyName:()=>vL,isUMDExportSymbol:()=>kO,isUnaryExpression:()=>h3,isUnaryExpressionWithWrite:()=>nk,isUnicodeIdentifierStart:()=>n4,isUnionTypeNode:()=>Kx,isUnparsedNode:()=>PA,isUnparsedPrepend:()=>$J,isUnparsedSource:()=>YJ,isUnparsedTextLike:()=>e3,isUrl:()=>SE,isValidBigIntString:()=>ZS,isValidESSymbolDeclaration:()=>hP,isValidTypeOnlyAliasUseSite:()=>VM,isValueSignatureDeclaration:()=>EI,isVarAwaitUsing:()=>nP,isVarConst:()=>W3,isVarUsing:()=>iP,isVariableDeclaration:()=>ki,isVariableDeclarationInVariableStatement:()=>G3,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>fm,isVariableDeclarationInitializedToRequire:()=>nT,isVariableDeclarationList:()=>v6,isVariableLike:()=>n2,isVariableLikeOrAccessor:()=>dP,isVariableStatement:()=>as,isVoidExpression:()=>h6,isWatchSet:()=>hO,isWhileStatement:()=>xJ,isWhiteSpaceLike:()=>Vi,isWhiteSpaceSingleLine:()=>Io,isWithStatement:()=>DJ,isWriteAccess:()=>SO,isWriteOnlyAccess:()=>TO,isYieldExpression:()=>dJ,jsxModeNeedsExplicitImport:()=>jsxModeNeedsExplicitImport,keywordPart:()=>keywordPart,last:()=>ka,lastOrUndefined:()=>wi,length:()=>Ka,libMap:()=>libMap,libs:()=>libs,lineBreakPart:()=>lineBreakPart,linkNamePart:()=>linkNamePart,linkPart:()=>linkPart,linkTextPart:()=>linkTextPart,listFiles:()=>listFiles,loadModuleFromGlobalCache:()=>loadModuleFromGlobalCache,loadWithModeAwareCache:()=>loadWithModeAwareCache,makeIdentifierFromModuleName:()=>ED,makeImport:()=>makeImport,makeImportIfNecessary:()=>makeImportIfNecessary,makeStringLiteral:()=>makeStringLiteral,mangleScopedPackageName:()=>mangleScopedPackageName,map:()=>Aa,mapAllOrFail:()=>V5,mapDefined:()=>Za,mapDefinedEntries:()=>G5,mapDefinedIterator:()=>H5,mapEntries:()=>K5,mapIterator:()=>q5,mapOneOrMany:()=>mapOneOrMany,mapToDisplayParts:()=>mapToDisplayParts,matchFiles:()=>CM,matchPatternOrExact:()=>jM,matchedText:()=>eE,matchesExclude:()=>matchesExclude,maybeBind:()=>rr,maybeSetLocalizedDiagnosticMessages:()=>NS,memoize:()=>ry,memoizeCached:()=>jC,memoizeOne:()=>Nn,memoizeWeak:()=>RC,metadataHelper:()=>metadataHelper,min:()=>UC,minAndMax:()=>BM,missingFileModifiedTime:()=>missingFileModifiedTime,modifierToFlag:()=>J2,modifiersToFlags:()=>ln,moduleOptionDeclaration:()=>moduleOptionDeclaration,moduleResolutionIsEqualTo:()=>Zk,moduleResolutionNameAndModeGetter:()=>moduleResolutionNameAndModeGetter,moduleResolutionOptionDeclarations:()=>moduleResolutionOptionDeclarations,moduleResolutionSupportsPackageJsonExportsAndImports:()=>q2,moduleResolutionUsesNodeModules:()=>moduleResolutionUsesNodeModules,moduleSpecifiers:()=>ts_moduleSpecifiers_exports,moveEmitHelpers:()=>moveEmitHelpers,moveRangeEnd:()=>eO,moveRangePastDecorators:()=>TS,moveRangePastModifiers:()=>tO,moveRangePos:()=>xd,moveSyntheticComments:()=>moveSyntheticComments,mutateMap:()=>CO,mutateMapSkippingNewValues:()=>ES,needsParentheses:()=>needsParentheses,needsScopeMarker:()=>ck,newCaseClauseTracker:()=>newCaseClauseTracker,newPrivateEnvironment:()=>newPrivateEnvironment,noEmitNotification:()=>noEmitNotification,noEmitSubstitution:()=>noEmitSubstitution,noTransformers:()=>noTransformers,noTruncationMaximumTruncationLength:()=>fx,nodeCanBeDecorated:()=>Y3,nodeHasName:()=>I4,nodeIsDecorated:()=>l_,nodeIsMissing:()=>zi,nodeIsPresent:()=>wl,nodeIsSynthesized:()=>Ta,nodeModuleNameResolver:()=>nodeModuleNameResolver,nodeModulesPathPart:()=>nodeModulesPathPart,nodeNextJsonConfigResolver:()=>nodeNextJsonConfigResolver,nodeOrChildIsDecorated:()=>A0,nodeOverlapsWithStartEnd:()=>nodeOverlapsWithStartEnd,nodePosToString:()=>lD,nodeSeenTracker:()=>nodeSeenTracker,nodeStartsNewLexicalEnvironment:()=>KI,nodeToDisplayParts:()=>nodeToDisplayParts,noop:()=>Rn,noopFileWatcher:()=>noopFileWatcher,normalizePath:()=>pn,normalizeSlashes:()=>qo,not:()=>nE,notImplemented:()=>JC,notImplementedResolver:()=>notImplementedResolver,nullNodeConverters:()=>nullNodeConverters,nullParenthesizerRules:()=>i6,nullTransformationContext:()=>nullTransformationContext,objectAllocator:()=>wt,operatorPart:()=>operatorPart,optionDeclarations:()=>optionDeclarations,optionMapToObject:()=>optionMapToObject,optionsAffectingProgramStructure:()=>optionsAffectingProgramStructure,optionsForBuild:()=>optionsForBuild,optionsForWatch:()=>optionsForWatch,optionsHaveChanges:()=>E_,optionsHaveModuleResolutionChanges:()=>A3,or:()=>ug,orderedRemoveItem:()=>YC,orderedRemoveItemAt:()=>Jv,outFile:()=>A2,packageIdToPackageName:()=>k3,packageIdToString:()=>rD,padLeft:()=>Uv,padRight:()=>sE,paramHelper:()=>paramHelper,parameterIsThisKeyword:()=>Xl,parameterNamePart:()=>parameterNamePart,parseBaseNodeFactory:()=>tg,parseBigInt:()=>WM,parseBuildCommand:()=>parseBuildCommand,parseCommandLine:()=>parseCommandLine,parseCommandLineWorker:()=>parseCommandLineWorker,parseConfigFileTextToJson:()=>parseConfigFileTextToJson,parseConfigFileWithSystem:()=>parseConfigFileWithSystem,parseConfigHostFromCompilerHostLike:()=>parseConfigHostFromCompilerHostLike,parseCustomTypeOption:()=>parseCustomTypeOption,parseIsolatedEntityName:()=>Lj,parseIsolatedJSDocComment:()=>Rj,parseJSDocTypeExpressionForTests:()=>jj,parseJsonConfigFileContent:()=>parseJsonConfigFileContent,parseJsonSourceFileConfigFileContent:()=>parseJsonSourceFileConfigFileContent,parseJsonText:()=>Jj,parseListTypeOption:()=>parseListTypeOption,parseNodeFactory:()=>z_,parseNodeModuleFromPath:()=>parseNodeModuleFromPath,parsePackageName:()=>parsePackageName,parsePseudoBigInt:()=>xm,parseValidBigInt:()=>KS,patchWriteFileEnsuringDirectory:()=>patchWriteFileEnsuringDirectory,pathContainsNodeModules:()=>pathContainsNodeModules,pathIsAbsolute:()=>mg,pathIsBareSpecifier:()=>wE,pathIsRelative:()=>rs,patternText:()=>ZC,perfLogger:()=>Kf,performIncrementalCompilation:()=>performIncrementalCompilation,performance:()=>ts_performance_exports,plainJSErrors:()=>plainJSErrors,positionBelongsToNode:()=>positionBelongsToNode,positionIsASICandidate:()=>positionIsASICandidate,positionIsSynthesized:()=>Oa,positionsAreOnSameLine:()=>P_,preProcessFile:()=>preProcessFile,probablyUsesSemicolons:()=>probablyUsesSemicolons,processCommentPragmas:()=>G8,processPragmasIntoFields:()=>X8,processTaggedTemplateExpression:()=>processTaggedTemplateExpression,programContainsEsModules:()=>programContainsEsModules,programContainsModules:()=>programContainsModules,projectReferenceIsEqualTo:()=>Kk,propKeyHelper:()=>propKeyHelper,propertyNamePart:()=>propertyNamePart,pseudoBigIntToString:()=>Q2,punctuationPart:()=>punctuationPart,pushIfUnique:()=>Ol,quote:()=>quote,quotePreferenceFromString:()=>quotePreferenceFromString,rangeContainsPosition:()=>rangeContainsPosition,rangeContainsPositionExclusive:()=>rangeContainsPositionExclusive,rangeContainsRange:()=>rangeContainsRange,rangeContainsRangeExclusive:()=>rangeContainsRangeExclusive,rangeContainsStartEnd:()=>rangeContainsStartEnd,rangeEndIsOnSameLineAsRangeStart:()=>sO,rangeEndPositionsAreOnSameLine:()=>oO,rangeEquals:()=>pC,rangeIsOnSingleLine:()=>iO,rangeOfNode:()=>UM,rangeOfTypeParameters:()=>qM,rangeOverlapsWithStartEnd:()=>rangeOverlapsWithStartEnd,rangeStartIsOnSameLineAsRangeEnd:()=>SS,rangeStartPositionsAreOnSameLine:()=>aO,readBuilderProgram:()=>readBuilderProgram,readConfigFile:()=>readConfigFile,readHelper:()=>readHelper,readJson:()=>ZN,readJsonConfigFile:()=>readJsonConfigFile,readJsonOrUndefined:()=>gS,realizeDiagnostics:()=>realizeDiagnostics,reduceEachLeadingCommentRange:()=>i4,reduceEachTrailingCommentRange:()=>a4,reduceLeft:()=>Rd,reduceLeftIterator:()=>L5,reducePathComponents:()=>Da,refactor:()=>ts_refactor_exports,regExpEscape:()=>SM,relativeComplement:()=>cC,removeAllComments:()=>removeAllComments,removeEmitHelper:()=>removeEmitHelper,removeExtension:()=>$S,removeFileExtension:()=>Al,removeIgnoredPath:()=>removeIgnoredPath,removeMinAndVersionNumbers:()=>QC,removeOptionality:()=>removeOptionality,removePrefix:()=>tE,removeSuffix:()=>XC,removeTrailingDirectorySeparator:()=>S_,repeatString:()=>repeatString,replaceElement:()=>yC,resolutionExtensionIsTSOrJson:()=>LM,resolveConfigFileProjectName:()=>resolveConfigFileProjectName,resolveJSModule:()=>resolveJSModule,resolveLibrary:()=>resolveLibrary,resolveModuleName:()=>resolveModuleName,resolveModuleNameFromCache:()=>resolveModuleNameFromCache,resolvePackageNameToPackageJson:()=>resolvePackageNameToPackageJson,resolvePath:()=>d0,resolveProjectReferencePath:()=>resolveProjectReferencePath,resolveTripleslashReference:()=>resolveTripleslashReference,resolveTypeReferenceDirective:()=>resolveTypeReferenceDirective,resolvingEmptyArray:()=>ux,restHelper:()=>restHelper,returnFalse:()=>$f,returnNoopFileWatcher:()=>returnNoopFileWatcher,returnTrue:()=>Pv,returnUndefined:()=>LC,returnsPromise:()=>returnsPromise,runInitializersHelper:()=>runInitializersHelper,sameFlatMap:()=>Tv,sameMap:()=>z5,sameMapping:()=>sameMapping,scanShebangTrivia:()=>wg,scanTokenAtPosition:()=>KD,scanner:()=>Fo,screenStartingMessageCodes:()=>screenStartingMessageCodes,semanticDiagnosticsOptionDeclarations:()=>semanticDiagnosticsOptionDeclarations,serializeCompilerOptions:()=>serializeCompilerOptions,server:()=>ts_server_exports,servicesVersion:()=>f7,setCommentRange:()=>setCommentRange,setConfigFileInOptions:()=>setConfigFileInOptions,setConstantValue:()=>setConstantValue,setEachParent:()=>a_,setEmitFlags:()=>setEmitFlags,setFunctionNameHelper:()=>setFunctionNameHelper,setGetSourceFileAsHashVersioned:()=>setGetSourceFileAsHashVersioned,setIdentifierAutoGenerate:()=>setIdentifierAutoGenerate,setIdentifierGeneratedImportReference:()=>setIdentifierGeneratedImportReference,setIdentifierTypeArguments:()=>setIdentifierTypeArguments,setInternalEmitFlags:()=>setInternalEmitFlags,setLocalizedDiagnosticMessages:()=>IS,setModuleDefaultHelper:()=>setModuleDefaultHelper,setNodeFlags:()=>YM,setObjectAllocator:()=>PS,setOriginalNode:()=>Xr,setParent:()=>Xi,setParentRecursive:()=>tx,setPrivateIdentifier:()=>setPrivateIdentifier,setResolvedModule:()=>$k,setResolvedTypeReferenceDirective:()=>Qk,setSnippetElement:()=>setSnippetElement,setSourceMapRange:()=>setSourceMapRange,setStackTraceLimit:()=>setStackTraceLimit,setStartsOnNewLine:()=>setStartsOnNewLine,setSyntheticLeadingComments:()=>setSyntheticLeadingComments,setSyntheticTrailingComments:()=>setSyntheticTrailingComments,setSys:()=>setSys,setSysLog:()=>setSysLog,setTextRange:()=>Ve,setTextRangeEnd:()=>ex,setTextRangePos:()=>Cd,setTextRangePosEnd:()=>Ya,setTextRangePosWidth:()=>Ed,setTokenSourceMapRange:()=>setTokenSourceMapRange,setTypeNode:()=>setTypeNode,setUILocale:()=>Mv,setValueDeclaration:()=>lI,shouldAllowImportingTsExtension:()=>shouldAllowImportingTsExtension,shouldPreserveConstEnums:()=>sM,shouldResolveJsRequire:()=>iM,shouldUseUriStyleNodeCoreModules:()=>shouldUseUriStyleNodeCoreModules,showModuleSpecifier:()=>DO,signatureHasLiteralTypes:()=>signatureHasLiteralTypes,signatureHasRestParameter:()=>signatureHasRestParameter,signatureToDisplayParts:()=>signatureToDisplayParts,single:()=>mC,singleElementArray:()=>Qf,singleIterator:()=>Q5,singleOrMany:()=>hC,singleOrUndefined:()=>Jd,skipAlias:()=>bO,skipAssertions:()=>OR,skipConstraint:()=>skipConstraint,skipOuterExpressions:()=>ls,skipParentheses:()=>Gl,skipPartiallyEmittedExpressions:()=>rm,skipTrivia:()=>Nt,skipTypeChecking:()=>zM,skipTypeParentheses:()=>DI,skipWhile:()=>cE,sliceAfter:()=>FM,some:()=>mt,sort:()=>Xf,sortAndDeduplicate:()=>xv,sortAndDeduplicateDiagnostics:()=>XE,sourceFileAffectingCompilerOptions:()=>sourceFileAffectingCompilerOptions,sourceFileMayBeEmitted:()=>I0,sourceMapCommentRegExp:()=>sourceMapCommentRegExp,sourceMapCommentRegExpDontCareLineStart:()=>sourceMapCommentRegExpDontCareLineStart,spacePart:()=>spacePart,spanMap:()=>Y5,spreadArrayHelper:()=>spreadArrayHelper,stableSort:()=>Ev,startEndContainsRange:()=>startEndContainsRange,startEndOverlapsWithStartEnd:()=>startEndOverlapsWithStartEnd,startOnNewLine:()=>Fm,startTracing:()=>startTracing,startsWith:()=>Fr,startsWithDirectory:()=>OE,startsWithUnderscore:()=>startsWithUnderscore,startsWithUseStrict:()=>P8,stringContains:()=>eo,stringContainsAt:()=>stringContainsAt,stringToToken:()=>Rl,stripQuotes:()=>_N,supportedDeclarationExtensions:()=>n6,supportedJSExtensions:()=>H0,supportedJSExtensionsFlat:()=>r6,supportedLocaleDirectories:()=>Hg,supportedTSExtensions:()=>Ro,supportedTSExtensionsFlat:()=>t6,supportedTSImplementationExtensions:()=>Nx,suppressLeadingAndTrailingTrivia:()=>suppressLeadingAndTrailingTrivia,suppressLeadingTrivia:()=>suppressLeadingTrivia,suppressTrailingTrivia:()=>suppressTrailingTrivia,symbolEscapedNameNoDefault:()=>symbolEscapedNameNoDefault,symbolName:()=>hd,symbolNameNoDefault:()=>symbolNameNoDefault,symbolPart:()=>symbolPart,symbolToDisplayParts:()=>symbolToDisplayParts,syntaxMayBeASICandidate:()=>syntaxMayBeASICandidate,syntaxRequiresTrailingSemicolonOrASI:()=>syntaxRequiresTrailingSemicolonOrASI,sys:()=>f0,sysLog:()=>sysLog,tagNamesAreEquivalent:()=>Ti,takeWhile:()=>_E,targetOptionDeclaration:()=>targetOptionDeclaration,templateObjectHelper:()=>templateObjectHelper,testFormatSettings:()=>testFormatSettings,textChangeRangeIsUnchanged:()=>w4,textChangeRangeNewSpan:()=>Qs,textChanges:()=>ts_textChanges_exports,textOrKeywordPart:()=>textOrKeywordPart,textPart:()=>textPart,textRangeContainsPositionInclusive:()=>QE,textSpanContainsPosition:()=>$E,textSpanContainsTextSpan:()=>YE,textSpanEnd:()=>Kt,textSpanIntersection:()=>x4,textSpanIntersectsWith:()=>eA,textSpanIntersectsWithPosition:()=>tA,textSpanIntersectsWithTextSpan:()=>ZE,textSpanIsEmpty:()=>T4,textSpanOverlap:()=>S4,textSpanOverlapsWith:()=>KE,textSpansEqual:()=>textSpansEqual,textToKeywordObj:()=>cl,timestamp:()=>Sa,toArray:()=>If,toBuilderFileEmit:()=>toBuilderFileEmit,toBuilderStateFileInfoForMultiEmit:()=>toBuilderStateFileInfoForMultiEmit,toEditorSettings:()=>sl,toFileNameLowerCase:()=>Nv,toLowerCase:()=>Iv,toPath:()=>xi,toProgramEmitPending:()=>toProgramEmitPending,tokenIsIdentifierOrKeyword:()=>kt,tokenIsIdentifierOrKeywordOrGreaterThan:()=>r4,tokenToString:()=>nr,trace:()=>trace,tracing:()=>xa,tracingEnabled:()=>tracingEnabled,transform:()=>transform,transformClassFields:()=>transformClassFields,transformDeclarations:()=>transformDeclarations,transformECMAScriptModule:()=>transformECMAScriptModule,transformES2015:()=>transformES2015,transformES2016:()=>transformES2016,transformES2017:()=>transformES2017,transformES2018:()=>transformES2018,transformES2019:()=>transformES2019,transformES2020:()=>transformES2020,transformES2021:()=>transformES2021,transformES5:()=>transformES5,transformESDecorators:()=>transformESDecorators,transformESNext:()=>transformESNext,transformGenerators:()=>transformGenerators,transformJsx:()=>transformJsx,transformLegacyDecorators:()=>transformLegacyDecorators,transformModule:()=>transformModule,transformNamedEvaluation:()=>transformNamedEvaluation,transformNodeModule:()=>transformNodeModule,transformNodes:()=>transformNodes,transformSystemModule:()=>transformSystemModule,transformTypeScript:()=>transformTypeScript,transpile:()=>transpile,transpileModule:()=>transpileModule,transpileOptionValueCompilerOptions:()=>transpileOptionValueCompilerOptions,trimString:()=>qd,trimStringEnd:()=>n_,trimStringStart:()=>gl,tryAddToSet:()=>$5,tryAndIgnoreErrors:()=>tryAndIgnoreErrors,tryCast:()=>On,tryDirectoryExists:()=>tryDirectoryExists,tryExtractTSExtension:()=>XN,tryFileExists:()=>tryFileExists,tryGetClassExtendingExpressionWithTypeArguments:()=>fS,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>dS,tryGetDirectories:()=>tryGetDirectories,tryGetExtensionFromPath:()=>X2,tryGetImportFromModuleSpecifier:()=>pT,tryGetJSDocSatisfiesTypeNode:()=>lx,tryGetModuleNameFromFile:()=>M8,tryGetModuleSpecifierFromDeclaration:()=>pI,tryGetNativePerformanceHooks:()=>mE,tryGetPropertyAccessOrIdentifierToString:()=>J0,tryGetPropertyNameOfBindingOrAssignmentElement:()=>J8,tryGetSourceMappingURL:()=>tryGetSourceMappingURL,tryGetTextOfPropertyName:()=>Qg,tryIOAndConsumeErrors:()=>tryIOAndConsumeErrors,tryParsePattern:()=>QS,tryParsePatterns:()=>MM,tryParseRawSourceMap:()=>tryParseRawSourceMap,tryReadDirectory:()=>tryReadDirectory,tryReadFile:()=>tryReadFile,tryRemoveDirectoryPrefix:()=>TM,tryRemoveExtension:()=>XS,tryRemovePrefix:()=>Fv,tryRemoveSuffix:()=>$C,typeAcquisitionDeclarations:()=>typeAcquisitionDeclarations,typeAliasNamePart:()=>typeAliasNamePart,typeDirectiveIsEqualTo:()=>nD,typeKeywords:()=>typeKeywords,typeParameterNamePart:()=>typeParameterNamePart,typeReferenceResolutionNameAndModeGetter:()=>typeReferenceResolutionNameAndModeGetter,typeToDisplayParts:()=>typeToDisplayParts,unchangedPollThresholds:()=>unchangedPollThresholds,unchangedTextChangeRange:()=>Vg,unescapeLeadingUnderscores:()=>Vo,unmangleScopedPackageName:()=>unmangleScopedPackageName,unorderedRemoveItem:()=>Rv,unorderedRemoveItemAt:()=>cg,unreachableCodeIsError:()=>eM,unusedLabelIsError:()=>tM,unwrapInnermostStatementOfLabel:()=>gP,updateErrorForNoInputFiles:()=>updateErrorForNoInputFiles,updateLanguageServiceSourceFile:()=>l7,updateMissingFilePathsWatch:()=>updateMissingFilePathsWatch,updatePackageJsonWatch:()=>updatePackageJsonWatch,updateResolutionField:()=>updateResolutionField,updateSharedExtendedConfigFileWatcher:()=>updateSharedExtendedConfigFileWatcher,updateSourceFile:()=>q6,updateWatchingWildcardDirectories:()=>updateWatchingWildcardDirectories,usesExtensionsOnImports:()=>GS,usingSingleLineStringWriter:()=>Gk,utf16EncodeAsString:()=>Of,validateLocaleAndSetLanguage:()=>oA,valuesHelper:()=>valuesHelper,version:()=>Gf,versionMajorMinor:()=>yv,visitArray:()=>visitArray,visitCommaListElements:()=>visitCommaListElements,visitEachChild:()=>visitEachChild,visitFunctionBody:()=>visitFunctionBody,visitIterationBody:()=>visitIterationBody,visitLexicalEnvironment:()=>visitLexicalEnvironment,visitNode:()=>visitNode,visitNodes:()=>visitNodes2,visitParameterList:()=>visitParameterList,walkUpBindingElementsAndPatterns:()=>k4,walkUpLexicalEnvironments:()=>walkUpLexicalEnvironments,walkUpOuterExpressions:()=>NR,walkUpParenthesizedExpressions:()=>ST,walkUpParenthesizedTypes:()=>AI,walkUpParenthesizedTypesAndGetParentAndChild:()=>kI,whitespaceOrMapCommentRegExp:()=>whitespaceOrMapCommentRegExp,writeCommentRange:()=>IN,writeFile:()=>bN,writeFileEnsuringDirectories:()=>vN,zipToModeAwareCache:()=>zipToModeAwareCache,zipWith:()=>ey});var mv=Vt({"src/typescript/_namespaces/ts.ts"(){"use strict";Dr(),K8(),w7(),AB()}}),kB=P5({"src/typescript/typescript.ts"(e,t){mv(),mv(),typeof console<"u"&&(N.loggingHost={log(r,a){switch(r){case 1:return console.error(a);case 2:return console.warn(a);case 3:return console.log(a);case 4:return console.log(a)}}}),t.exports=C7}});E7.exports=kB()});var V6=ut(A7=>{A7.typescriptVersionIsAtLeast=new Proxy({},{get:()=>!0})});var H6=ut(ai=>{"use strict";var DB=ai&&ai.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),PB=ai&&ai.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),IB=ai&&ai.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&DB(t,e,r);return PB(t,e),t};Object.defineProperty(ai,"__esModule",{value:!0});ai.getDecorators=ai.getModifiers=void 0;var W_=IB(Dt()),NB=V6(),k7=NB.typescriptVersionIsAtLeast["4.8"];function OB(e,t=!1){var r;if(e!=null){if(k7){if(t||W_.canHaveModifiers(e)){let a=W_.getModifiers(e);return a?Array.from(a):void 0}return}return(r=e.modifiers)==null?void 0:r.filter(a=>!W_.isDecorator(a))}}ai.getModifiers=OB;function MB(e,t=!1){var r;if(e!=null){if(k7){if(t||W_.canHaveDecorators(e)){let a=W_.getDecorators(e);return a?Array.from(a):void 0}return}return(r=e.decorators)==null?void 0:r.filter(W_.isDecorator)}}ai.getDecorators=MB});var D7=ut(Bm=>{"use strict";Object.defineProperty(Bm,"__esModule",{value:!0});Bm.xhtmlEntities=void 0;Bm.xhtmlEntities={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"}});var G6=ut(V_=>{"use strict";Object.defineProperty(V_,"__esModule",{value:!0});V_.AST_TOKEN_TYPES=V_.AST_NODE_TYPES=void 0;var P7;(function(e){e.AccessorProperty="AccessorProperty",e.ArrayExpression="ArrayExpression",e.ArrayPattern="ArrayPattern",e.ArrowFunctionExpression="ArrowFunctionExpression",e.AssignmentExpression="AssignmentExpression",e.AssignmentPattern="AssignmentPattern",e.AwaitExpression="AwaitExpression",e.BinaryExpression="BinaryExpression",e.BlockStatement="BlockStatement",e.BreakStatement="BreakStatement",e.CallExpression="CallExpression",e.CatchClause="CatchClause",e.ChainExpression="ChainExpression",e.ClassBody="ClassBody",e.ClassDeclaration="ClassDeclaration",e.ClassExpression="ClassExpression",e.ConditionalExpression="ConditionalExpression",e.ContinueStatement="ContinueStatement",e.DebuggerStatement="DebuggerStatement",e.Decorator="Decorator",e.DoWhileStatement="DoWhileStatement",e.EmptyStatement="EmptyStatement",e.ExportAllDeclaration="ExportAllDeclaration",e.ExportDefaultDeclaration="ExportDefaultDeclaration",e.ExportNamedDeclaration="ExportNamedDeclaration",e.ExportSpecifier="ExportSpecifier",e.ExpressionStatement="ExpressionStatement",e.ForInStatement="ForInStatement",e.ForOfStatement="ForOfStatement",e.ForStatement="ForStatement",e.FunctionDeclaration="FunctionDeclaration",e.FunctionExpression="FunctionExpression",e.Identifier="Identifier",e.IfStatement="IfStatement",e.ImportAttribute="ImportAttribute",e.ImportDeclaration="ImportDeclaration",e.ImportDefaultSpecifier="ImportDefaultSpecifier",e.ImportExpression="ImportExpression",e.ImportNamespaceSpecifier="ImportNamespaceSpecifier",e.ImportSpecifier="ImportSpecifier",e.JSXAttribute="JSXAttribute",e.JSXClosingElement="JSXClosingElement",e.JSXClosingFragment="JSXClosingFragment",e.JSXElement="JSXElement",e.JSXEmptyExpression="JSXEmptyExpression",e.JSXExpressionContainer="JSXExpressionContainer",e.JSXFragment="JSXFragment",e.JSXIdentifier="JSXIdentifier",e.JSXMemberExpression="JSXMemberExpression",e.JSXNamespacedName="JSXNamespacedName",e.JSXOpeningElement="JSXOpeningElement",e.JSXOpeningFragment="JSXOpeningFragment",e.JSXSpreadAttribute="JSXSpreadAttribute",e.JSXSpreadChild="JSXSpreadChild",e.JSXText="JSXText",e.LabeledStatement="LabeledStatement",e.Literal="Literal",e.LogicalExpression="LogicalExpression",e.MemberExpression="MemberExpression",e.MetaProperty="MetaProperty",e.MethodDefinition="MethodDefinition",e.NewExpression="NewExpression",e.ObjectExpression="ObjectExpression",e.ObjectPattern="ObjectPattern",e.PrivateIdentifier="PrivateIdentifier",e.Program="Program",e.Property="Property",e.PropertyDefinition="PropertyDefinition",e.RestElement="RestElement",e.ReturnStatement="ReturnStatement",e.SequenceExpression="SequenceExpression",e.SpreadElement="SpreadElement",e.StaticBlock="StaticBlock",e.Super="Super",e.SwitchCase="SwitchCase",e.SwitchStatement="SwitchStatement",e.TaggedTemplateExpression="TaggedTemplateExpression",e.TemplateElement="TemplateElement",e.TemplateLiteral="TemplateLiteral",e.ThisExpression="ThisExpression",e.ThrowStatement="ThrowStatement",e.TryStatement="TryStatement",e.UnaryExpression="UnaryExpression",e.UpdateExpression="UpdateExpression",e.VariableDeclaration="VariableDeclaration",e.VariableDeclarator="VariableDeclarator",e.WhileStatement="WhileStatement",e.WithStatement="WithStatement",e.YieldExpression="YieldExpression",e.TSAbstractAccessorProperty="TSAbstractAccessorProperty",e.TSAbstractKeyword="TSAbstractKeyword",e.TSAbstractMethodDefinition="TSAbstractMethodDefinition",e.TSAbstractPropertyDefinition="TSAbstractPropertyDefinition",e.TSAnyKeyword="TSAnyKeyword",e.TSArrayType="TSArrayType",e.TSAsExpression="TSAsExpression",e.TSAsyncKeyword="TSAsyncKeyword",e.TSBigIntKeyword="TSBigIntKeyword",e.TSBooleanKeyword="TSBooleanKeyword",e.TSCallSignatureDeclaration="TSCallSignatureDeclaration",e.TSClassImplements="TSClassImplements",e.TSConditionalType="TSConditionalType",e.TSConstructorType="TSConstructorType",e.TSConstructSignatureDeclaration="TSConstructSignatureDeclaration",e.TSDeclareFunction="TSDeclareFunction",e.TSDeclareKeyword="TSDeclareKeyword",e.TSEmptyBodyFunctionExpression="TSEmptyBodyFunctionExpression",e.TSEnumDeclaration="TSEnumDeclaration",e.TSEnumMember="TSEnumMember",e.TSExportAssignment="TSExportAssignment",e.TSExportKeyword="TSExportKeyword",e.TSExternalModuleReference="TSExternalModuleReference",e.TSFunctionType="TSFunctionType",e.TSInstantiationExpression="TSInstantiationExpression",e.TSImportEqualsDeclaration="TSImportEqualsDeclaration",e.TSImportType="TSImportType",e.TSIndexedAccessType="TSIndexedAccessType",e.TSIndexSignature="TSIndexSignature",e.TSInferType="TSInferType",e.TSInterfaceBody="TSInterfaceBody",e.TSInterfaceDeclaration="TSInterfaceDeclaration",e.TSInterfaceHeritage="TSInterfaceHeritage",e.TSIntersectionType="TSIntersectionType",e.TSIntrinsicKeyword="TSIntrinsicKeyword",e.TSLiteralType="TSLiteralType",e.TSMappedType="TSMappedType",e.TSMethodSignature="TSMethodSignature",e.TSModuleBlock="TSModuleBlock",e.TSModuleDeclaration="TSModuleDeclaration",e.TSNamedTupleMember="TSNamedTupleMember",e.TSNamespaceExportDeclaration="TSNamespaceExportDeclaration",e.TSNeverKeyword="TSNeverKeyword",e.TSNonNullExpression="TSNonNullExpression",e.TSNullKeyword="TSNullKeyword",e.TSNumberKeyword="TSNumberKeyword",e.TSObjectKeyword="TSObjectKeyword",e.TSOptionalType="TSOptionalType",e.TSParameterProperty="TSParameterProperty",e.TSPrivateKeyword="TSPrivateKeyword",e.TSPropertySignature="TSPropertySignature",e.TSProtectedKeyword="TSProtectedKeyword",e.TSPublicKeyword="TSPublicKeyword",e.TSQualifiedName="TSQualifiedName",e.TSReadonlyKeyword="TSReadonlyKeyword",e.TSRestType="TSRestType",e.TSSatisfiesExpression="TSSatisfiesExpression",e.TSStaticKeyword="TSStaticKeyword",e.TSStringKeyword="TSStringKeyword",e.TSSymbolKeyword="TSSymbolKeyword",e.TSTemplateLiteralType="TSTemplateLiteralType",e.TSThisType="TSThisType",e.TSTupleType="TSTupleType",e.TSTypeAliasDeclaration="TSTypeAliasDeclaration",e.TSTypeAnnotation="TSTypeAnnotation",e.TSTypeAssertion="TSTypeAssertion",e.TSTypeLiteral="TSTypeLiteral",e.TSTypeOperator="TSTypeOperator",e.TSTypeParameter="TSTypeParameter",e.TSTypeParameterDeclaration="TSTypeParameterDeclaration",e.TSTypeParameterInstantiation="TSTypeParameterInstantiation",e.TSTypePredicate="TSTypePredicate",e.TSTypeQuery="TSTypeQuery",e.TSTypeReference="TSTypeReference",e.TSUndefinedKeyword="TSUndefinedKeyword",e.TSUnionType="TSUnionType",e.TSUnknownKeyword="TSUnknownKeyword",e.TSVoidKeyword="TSVoidKeyword"})(P7||(V_.AST_NODE_TYPES=P7={}));var I7;(function(e){e.Boolean="Boolean",e.Identifier="Identifier",e.JSXIdentifier="JSXIdentifier",e.JSXText="JSXText",e.Keyword="Keyword",e.Null="Null",e.Numeric="Numeric",e.Punctuator="Punctuator",e.RegularExpression="RegularExpression",e.String="String",e.Template="Template",e.Block="Block",e.Line="Line"})(I7||(V_.AST_TOKEN_TYPES=I7={}))});var O7=ut(N7=>{"use strict";Object.defineProperty(N7,"__esModule",{value:!0})});var L7=ut(M7=>{"use strict";Object.defineProperty(M7,"__esModule",{value:!0})});var J7=ut(Ki=>{"use strict";var LB=Ki&&Ki.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),JB=Ki&&Ki.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),RB=Ki&&Ki.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&LB(t,e,r);return JB(t,e),t};Object.defineProperty(Ki,"__esModule",{value:!0});Ki.TSESTree=void 0;Ki.TSESTree=RB(G6())});var j7=ut(jn=>{"use strict";var jB=jn&&jn.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),X6=jn&&jn.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&jB(t,e,r)};Object.defineProperty(jn,"__esModule",{value:!0});jn.AST_TOKEN_TYPES=jn.AST_NODE_TYPES=void 0;var R7=G6();Object.defineProperty(jn,"AST_NODE_TYPES",{enumerable:!0,get:function(){return R7.AST_NODE_TYPES}});Object.defineProperty(jn,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return R7.AST_TOKEN_TYPES}});X6(O7(),jn);X6(L7(),jn);X6(J7(),jn)});var B7=ut(F7=>{"use strict";Object.defineProperty(F7,"__esModule",{value:!0})});var q7=ut(U7=>{"use strict";Object.defineProperty(U7,"__esModule",{value:!0})});var Um=ut(hn=>{"use strict";var FB=hn&&hn.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),z7=hn&&hn.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&FB(t,e,r)};Object.defineProperty(hn,"__esModule",{value:!0});hn.TSESTree=hn.AST_TOKEN_TYPES=hn.AST_NODE_TYPES=void 0;var $6=j7();Object.defineProperty(hn,"AST_NODE_TYPES",{enumerable:!0,get:function(){return $6.AST_NODE_TYPES}});Object.defineProperty(hn,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return $6.AST_TOKEN_TYPES}});Object.defineProperty(hn,"TSESTree",{enumerable:!0,get:function(){return $6.TSESTree}});z7(B7(),hn);z7(q7(),hn)});var Wm=ut(me=>{"use strict";var BB=me&&me.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),UB=me&&me.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),qB=me&&me.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&BB(t,e,r);return UB(t,e),t};Object.defineProperty(me,"__esModule",{value:!0});me.getNamespaceModifiers=me.nodeCanBeDecorated=me.getContainingFunction=me.nodeIsPresent=me.isThisInTypeQuery=me.isThisIdentifier=me.identifierIsThisKeyword=me.firstDefined=me.nodeHasTokens=me.nodeHasIllegalDecorators=me.createError=me.TSError=me.convertTokens=me.convertToken=me.getTokenType=me.isChildUnwrappableOptionalChain=me.isChainExpression=me.isOptional=me.isComputedProperty=me.unescapeStringLiteralText=me.hasJSXAncestor=me.findFirstMatchingAncestor=me.findNextToken=me.getTSNodeAccessibility=me.getDeclarationKind=me.isJSXToken=me.getRange=me.canContainDirective=me.getLocFor=me.getLineAndCharacterFor=me.getBinaryExpressionType=me.isComment=me.isComma=me.getLastModifier=me.hasModifier=me.isESTreeClassMember=me.getTextForTokenKind=me.isESTreeBinaryOperator=me.isLogicalOperator=void 0;var Qe=qB(Dt()),uu=H6(),zB=D7(),ir=Um(),WB=V6(),W7=WB.typescriptVersionIsAtLeast["5.0"],ye=Qe.SyntaxKind,VB=new Set([ye.BarBarToken,ye.AmpersandAmpersandToken,ye.QuestionQuestionToken]),HB=new Set([Qe.SyntaxKind.EqualsToken,Qe.SyntaxKind.PlusEqualsToken,Qe.SyntaxKind.MinusEqualsToken,Qe.SyntaxKind.AsteriskEqualsToken,Qe.SyntaxKind.AsteriskAsteriskEqualsToken,Qe.SyntaxKind.SlashEqualsToken,Qe.SyntaxKind.PercentEqualsToken,Qe.SyntaxKind.LessThanLessThanEqualsToken,Qe.SyntaxKind.GreaterThanGreaterThanEqualsToken,Qe.SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken,Qe.SyntaxKind.AmpersandEqualsToken,Qe.SyntaxKind.BarEqualsToken,Qe.SyntaxKind.BarBarEqualsToken,Qe.SyntaxKind.AmpersandAmpersandEqualsToken,Qe.SyntaxKind.QuestionQuestionEqualsToken,Qe.SyntaxKind.CaretEqualsToken]),GB=new Set([ye.InstanceOfKeyword,ye.InKeyword,ye.AsteriskAsteriskToken,ye.AsteriskToken,ye.SlashToken,ye.PercentToken,ye.PlusToken,ye.MinusToken,ye.AmpersandToken,ye.BarToken,ye.CaretToken,ye.LessThanLessThanToken,ye.GreaterThanGreaterThanToken,ye.GreaterThanGreaterThanGreaterThanToken,ye.AmpersandAmpersandToken,ye.BarBarToken,ye.LessThanToken,ye.LessThanEqualsToken,ye.GreaterThanToken,ye.GreaterThanEqualsToken,ye.EqualsEqualsToken,ye.EqualsEqualsEqualsToken,ye.ExclamationEqualsEqualsToken,ye.ExclamationEqualsToken]);function XB(e){return HB.has(e.kind)}function V7(e){return VB.has(e.kind)}me.isLogicalOperator=V7;function H7(e){return GB.has(e.kind)}me.isESTreeBinaryOperator=H7;function qm(e){return Qe.tokenToString(e)}me.getTextForTokenKind=qm;function $B(e){return e.kind!==ye.SemicolonClassElement}me.isESTreeClassMember=$B;function G7(e,t){let r=(0,uu.getModifiers)(t);return(r==null?void 0:r.some(a=>a.kind===e))===!0}me.hasModifier=G7;function QB(e){let t=(0,uu.getModifiers)(e);return t==null?null:t[t.length-1]??null}me.getLastModifier=QB;function YB(e){return e.kind===ye.CommaToken}me.isComma=YB;function X7(e){return e.kind===ye.SingleLineCommentTrivia||e.kind===ye.MultiLineCommentTrivia}me.isComment=X7;function KB(e){return e.kind===ye.JSDocComment}function ZB(e){if(XB(e))return{type:ir.AST_NODE_TYPES.AssignmentExpression,operator:qm(e.kind)};if(V7(e))return{type:ir.AST_NODE_TYPES.LogicalExpression,operator:qm(e.kind)};if(H7(e))return{type:ir.AST_NODE_TYPES.BinaryExpression,operator:qm(e.kind)};throw new Error(`Unexpected binary operator ${Qe.tokenToString(e.kind)}`)}me.getBinaryExpressionType=ZB;function $7(e,t){let r=t.getLineAndCharacterOfPosition(e);return{line:r.line+1,column:r.character}}me.getLineAndCharacterFor=$7;function Q7(e,t){let[r,a]=e.map(_=>$7(_,t));return{start:r,end:a}}me.getLocFor=Q7;function eU(e){if(e.kind===Qe.SyntaxKind.Block)switch(e.parent.kind){case Qe.SyntaxKind.Constructor:case Qe.SyntaxKind.GetAccessor:case Qe.SyntaxKind.SetAccessor:case Qe.SyntaxKind.ArrowFunction:case Qe.SyntaxKind.FunctionExpression:case Qe.SyntaxKind.FunctionDeclaration:case Qe.SyntaxKind.MethodDeclaration:return!0;default:return!1}return!0}me.canContainDirective=eU;function tU(e,t){return[e.getStart(t),e.getEnd()]}me.getRange=tU;function rU(e){return e.kind>=ye.FirstToken&&e.kind<=ye.LastToken}function Q6(e){return e.kind>=ye.JsxElement&&e.kind<=ye.JsxAttribute}me.isJSXToken=Q6;function nU(e){return e.flags&Qe.NodeFlags.Let?"let":(e.flags&Qe.NodeFlags.AwaitUsing)===Qe.NodeFlags.AwaitUsing?"await using":e.flags&Qe.NodeFlags.Const?"const":e.flags&Qe.NodeFlags.Using?"using":"var"}me.getDeclarationKind=nU;function iU(e){let t=(0,uu.getModifiers)(e);if(t!=null)for(let r of t)switch(r.kind){case ye.PublicKeyword:return"public";case ye.ProtectedKeyword:return"protected";case ye.PrivateKeyword:return"private";default:break}}me.getTSNodeAccessibility=iU;function aU(e,t,r){return a(t);function a(_){return Qe.isToken(_)&&_.pos===e.end?_:nw(_.getChildren(r),p=>(p.pos<=e.pos&&p.end>e.end||p.pos===e.end)&&rw(p,r)?a(p):void 0)}}me.findNextToken=aU;function Y7(e,t){for(;e;){if(t(e))return e;e=e.parent}}me.findFirstMatchingAncestor=Y7;function K7(e){return!!Y7(e,Q6)}me.hasJSXAncestor=K7;function oU(e){return e.replace(/&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g,t=>{let r=t.slice(1,-1);if(r[0]==="#"){let a=r[1]==="x"?parseInt(r.slice(2),16):parseInt(r.slice(1),10);return a>1114111?t:String.fromCodePoint(a)}return zB.xhtmlEntities[r]||t})}me.unescapeStringLiteralText=oU;function sU(e){return e.kind===ye.ComputedPropertyName}me.isComputedProperty=sU;function _U(e){return e.questionToken?e.questionToken.kind===ye.QuestionToken:!1}me.isOptional=_U;function Z7(e){return e.type===ir.AST_NODE_TYPES.ChainExpression}me.isChainExpression=Z7;function cU(e,t){return Z7(t)&&e.expression.kind!==Qe.SyntaxKind.ParenthesizedExpression}me.isChildUnwrappableOptionalChain=cU;function ew(e){let t;if(W7&&e.kind===ye.Identifier?t=Qe.identifierToKeywordKind(e):"originalKeywordKind"in e&&(t=e.originalKeywordKind),t)return t===ye.NullKeyword?ir.AST_TOKEN_TYPES.Null:t>=ye.FirstFutureReservedWord&&t<=ye.LastKeyword?ir.AST_TOKEN_TYPES.Identifier:ir.AST_TOKEN_TYPES.Keyword;if(e.kind>=ye.FirstKeyword&&e.kind<=ye.LastFutureReservedWord)return e.kind===ye.FalseKeyword||e.kind===ye.TrueKeyword?ir.AST_TOKEN_TYPES.Boolean:ir.AST_TOKEN_TYPES.Keyword;if(e.kind>=ye.FirstPunctuation&&e.kind<=ye.LastPunctuation)return ir.AST_TOKEN_TYPES.Punctuator;if(e.kind>=ye.NoSubstitutionTemplateLiteral&&e.kind<=ye.TemplateTail)return ir.AST_TOKEN_TYPES.Template;switch(e.kind){case ye.NumericLiteral:return ir.AST_TOKEN_TYPES.Numeric;case ye.JsxText:return ir.AST_TOKEN_TYPES.JSXText;case ye.StringLiteral:return e.parent.kind===ye.JsxAttribute||e.parent.kind===ye.JsxElement?ir.AST_TOKEN_TYPES.JSXText:ir.AST_TOKEN_TYPES.String;case ye.RegularExpressionLiteral:return ir.AST_TOKEN_TYPES.RegularExpression;case ye.Identifier:case ye.ConstructorKeyword:case ye.GetKeyword:case ye.SetKeyword:default:}return e.kind===ye.Identifier&&(Q6(e.parent)||e.parent.kind===ye.PropertyAccessExpression&&K7(e))?ir.AST_TOKEN_TYPES.JSXIdentifier:ir.AST_TOKEN_TYPES.Identifier}me.getTokenType=ew;function tw(e,t){let r=e.kind===ye.JsxText?e.getFullStart():e.getStart(t),a=e.getEnd(),_=t.text.slice(r,a),p=ew(e),d=[r,a],h=Q7(d,t);return p===ir.AST_TOKEN_TYPES.RegularExpression?{type:p,value:_,range:d,loc:h,regex:{pattern:_.slice(1,_.lastIndexOf("/")),flags:_.slice(_.lastIndexOf("/")+1)}}:{type:p,value:_,range:d,loc:h}}me.convertToken=tw;function lU(e){let t=[];function r(a){if(!(X7(a)||KB(a)))if(rU(a)&&a.kind!==ye.EndOfFileToken){let _=tw(a,e);_&&t.push(_)}else a.getChildren(e).forEach(r)}return r(e),t}me.convertTokens=lU;var zm=class extends Error{constructor(t,r,a){super(t),this.fileName=r,this.location=a,Object.defineProperty(this,"name",{value:new.target.name,enumerable:!1,configurable:!0})}get index(){return this.location.start.offset}get lineNumber(){return this.location.start.line}get column(){return this.location.start.column}};me.TSError=zm;function uU(e,t,r,a=r){let[_,p]=[r,a].map(d=>{let{line:h,character:l}=t.getLineAndCharacterOfPosition(d);return{line:h+1,column:l,offset:d}});return new zm(e,t.fileName,{start:_,end:p})}me.createError=uU;function pU(e){var t;return!!("illegalDecorators"in e&&((t=e.illegalDecorators)!=null&&t.length))}me.nodeHasIllegalDecorators=pU;function rw(e,t){return e.kind===ye.EndOfFileToken?!!e.jsDoc:e.getWidth(t)!==0}me.nodeHasTokens=rw;function nw(e,t){if(e!==void 0)for(let r=0;r<e.length;r++){let a=t(e[r],r);if(a!==void 0)return a}}me.firstDefined=nw;function iw(e){return(W7?Qe.identifierToKeywordKind(e):e.originalKeywordKind)===ye.ThisKeyword}me.identifierIsThisKeyword=iw;function Y6(e){return!!e&&e.kind===ye.Identifier&&iw(e)}me.isThisIdentifier=Y6;function fU(e){if(!Y6(e))return!1;for(;Qe.isQualifiedName(e.parent)&&e.parent.left===e;)e=e.parent;return e.parent.kind===ye.TypeQuery}me.isThisInTypeQuery=fU;function dU(e){return e===void 0?!0:e.pos===e.end&&e.pos>=0&&e.kind!==ye.EndOfFileToken}function mU(e){return!dU(e)}me.nodeIsPresent=mU;function hU(e){return Qe.findAncestor(e.parent,Qe.isFunctionLike)}me.getContainingFunction=hU;function yU(e){return G7(ye.AbstractKeyword,e)}function gU(e){if(e.parameters.length&&!Qe.isJSDocSignature(e)){let t=e.parameters[0];if(bU(t))return t}return null}function bU(e){return Y6(e.name)}function vU(e){switch(e.kind){case ye.ClassDeclaration:return!0;case ye.ClassExpression:return!0;case ye.PropertyDeclaration:{let{parent:t}=e;return!!(Qe.isClassDeclaration(t)||Qe.isClassLike(t)&&!yU(e))}case ye.GetAccessor:case ye.SetAccessor:case ye.MethodDeclaration:{let{parent:t}=e;return!!e.body&&(Qe.isClassDeclaration(t)||Qe.isClassLike(t))}case ye.Parameter:{let{parent:t}=e,r=t.parent;return!!t&&"body"in t&&!!t.body&&(t.kind===ye.Constructor||t.kind===ye.MethodDeclaration||t.kind===ye.SetAccessor)&&gU(t)!==e&&!!r&&r.kind===ye.ClassDeclaration}}return!1}me.nodeCanBeDecorated=vU;function TU(e){let t=(0,uu.getModifiers)(e),r=e;for(;(!t||t.length===0)&&Qe.isModuleDeclaration(r.parent)&&r.parent.name;){let a=(0,uu.getModifiers)(r.parent);a&&(a==null?void 0:a.length)>0&&(t=a),r=r.parent}return t}me.getNamespaceModifiers=TU});var Z6=ut(yn=>{"use strict";var SU=yn&&yn.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),xU=yn&&yn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),wU=yn&&yn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&SU(t,e,r);return xU(t,e),t},Ne=yn&&yn.__classPrivateFieldGet||function(e,t,r,a){if(r==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!a:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?a:r==="a"?a.call(e):a?a.value:t.get(e)},Pe,aw,br,oi,st;Object.defineProperty(yn,"__esModule",{value:!0});yn.Converter=yn.convertError=void 0;var _t=wU(Dt()),Zi=H6(),pe=Wm(),J=Um(),E=_t.SyntaxKind;function CU(e){return(0,pe.createError)("message"in e&&e.message||e.messageText,e.file,e.start)}yn.convertError=CU;var K6=class{constructor(t,r){Pe.add(this),this.esTreeNodeToTSNodeMap=new WeakMap,this.tsNodeToESTreeNodeMap=new WeakMap,this.allowPattern=!1,this.ast=t,this.options={...r}}getASTMaps(){return{esTreeNodeToTSNodeMap:this.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:this.tsNodeToESTreeNodeMap}}convertProgram(){return this.converter(this.ast)}converter(t,r,a){if(!t)return null;Ne(this,Pe,"m",aw).call(this,t);let _=this.allowPattern;a!==void 0&&(this.allowPattern=a);let p=this.convertNode(t,r??t.parent);return this.registerTSNodeInNodeMap(t,p),this.allowPattern=_,p}fixExports(t,r){let _=_t.isModuleDeclaration(t)&&!!(t.flags&_t.NodeFlags.Namespace)?(0,pe.getNamespaceModifiers)(t):(0,Zi.getModifiers)(t);if((_==null?void 0:_[0].kind)===E.ExportKeyword){this.registerTSNodeInNodeMap(t,r);let p=_[0],d=_[1],h=(d==null?void 0:d.kind)===E.DefaultKeyword,l=h?(0,pe.findNextToken)(d,this.ast,this.ast):(0,pe.findNextToken)(p,this.ast,this.ast);if(r.range[0]=l.getStart(this.ast),r.loc=(0,pe.getLocFor)(r.range,this.ast),h)return this.createNode(t,{type:J.AST_NODE_TYPES.ExportDefaultDeclaration,declaration:r,range:[p.getStart(this.ast),r.range[1]],exportKind:"value"});let v=r.type===J.AST_NODE_TYPES.TSInterfaceDeclaration||r.type===J.AST_NODE_TYPES.TSTypeAliasDeclaration,y="declare"in r&&r.declare===!0;return this.createNode(t,{type:J.AST_NODE_TYPES.ExportNamedDeclaration,declaration:r,specifiers:[],source:null,exportKind:v||y?"type":"value",range:[p.getStart(this.ast),r.range[1]],assertions:[]})}return r}registerTSNodeInNodeMap(t,r){r&&this.options.shouldPreserveNodeMaps&&(this.tsNodeToESTreeNodeMap.has(t)||this.tsNodeToESTreeNodeMap.set(t,r))}convertPattern(t,r){return this.converter(t,r,!0)}convertChild(t,r){return this.converter(t,r,!1)}createNode(t,r){let a=r;return a.range??(a.range=(0,pe.getRange)(t,this.ast)),a.loc??(a.loc=(0,pe.getLocFor)(a.range,this.ast)),a&&this.options.shouldPreserveNodeMaps&&this.esTreeNodeToTSNodeMap.set(a,t),a}convertBindingNameWithTypeAnnotation(t,r,a){let _=this.convertPattern(t);return r&&(_.typeAnnotation=this.convertTypeAnnotation(r,a),this.fixParentLocation(_,_.typeAnnotation.range)),_}convertTypeAnnotation(t,r){let a=(r==null?void 0:r.kind)===E.FunctionType||(r==null?void 0:r.kind)===E.ConstructorType?2:1,p=[t.getFullStart()-a,t.end],d=(0,pe.getLocFor)(p,this.ast);return{type:J.AST_NODE_TYPES.TSTypeAnnotation,loc:d,range:p,typeAnnotation:this.convertChild(t)}}convertBodyExpressions(t,r){let a=(0,pe.canContainDirective)(r);return t.map(_=>{let p=this.convertChild(_);if(a){if(p!=null&&p.expression&&_t.isExpressionStatement(_)&&_t.isStringLiteral(_.expression)){let d=p.expression.raw;return p.directive=d.slice(1,-1),p}a=!1}return p}).filter(_=>_)}convertTypeArgumentsToTypeParameterInstantiation(t,r){let a=(0,pe.findNextToken)(t,this.ast,this.ast);return this.createNode(r,{type:J.AST_NODE_TYPES.TSTypeParameterInstantiation,range:[t.pos-1,a.end],params:t.map(_=>this.convertChild(_))})}convertTSTypeParametersToTypeParametersDeclaration(t){let r=(0,pe.findNextToken)(t,this.ast,this.ast),a=[t.pos-1,r.end];return{type:J.AST_NODE_TYPES.TSTypeParameterDeclaration,range:a,loc:(0,pe.getLocFor)(a,this.ast),params:t.map(_=>this.convertChild(_))}}convertParameters(t){return t!=null&&t.length?t.map(r=>{var _;let a=this.convertChild(r);return a.decorators=((_=(0,Zi.getDecorators)(r))==null?void 0:_.map(p=>this.convertChild(p)))??[],a}):[]}convertChainExpression(t,r){let{child:a,isOptional:_}=(()=>t.type===J.AST_NODE_TYPES.MemberExpression?{child:t.object,isOptional:t.optional}:t.type===J.AST_NODE_TYPES.CallExpression?{child:t.callee,isOptional:t.optional}:{child:t.expression,isOptional:!1})(),p=(0,pe.isChildUnwrappableOptionalChain)(r,a);if(!p&&!_)return t;if(p&&(0,pe.isChainExpression)(a)){let d=a.expression;t.type===J.AST_NODE_TYPES.MemberExpression?t.object=d:t.type===J.AST_NODE_TYPES.CallExpression?t.callee=d:t.expression=d}return this.createNode(r,{type:J.AST_NODE_TYPES.ChainExpression,expression:t})}deeplyCopy(t){t.kind===_t.SyntaxKind.JSDocFunctionType&&Ne(this,Pe,"m",st).call(this,t,"JSDoc types can only be used inside documentation comments.");let r=`TS${E[t.kind]}`;if(this.options.errorOnUnknownASTType&&!J.AST_NODE_TYPES[r])throw new Error(`Unknown AST_NODE_TYPE: "${r}"`);let a=this.createNode(t,{type:r});"type"in t&&(a.typeAnnotation=t.type&&"kind"in t.type&&_t.isTypeNode(t.type)?this.convertTypeAnnotation(t.type,t):null),"typeArguments"in t&&(a.typeArguments=t.typeArguments&&"pos"in t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):null,Ne(this,Pe,"m",oi).call(this,a,"typeParameters","typeArguments")),"typeParameters"in t&&(a.typeParameters=t.typeParameters&&"pos"in t.typeParameters?this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters):null);let _=(0,Zi.getDecorators)(t);_!=null&&_.length&&(a.decorators=_.map(d=>this.convertChild(d)));let p=new Set(["_children","decorators","end","flags","illegalDecorators","heritageClauses","locals","localSymbol","jsDoc","kind","modifierFlagsCache","modifiers","nextContainer","parent","pos","symbol","transformFlags","type","typeArguments","typeParameters"]);return Object.entries(t).filter(([d])=>!p.has(d)).forEach(([d,h])=>{Array.isArray(h)?a[d]=h.map(l=>this.convertChild(l)):h&&typeof h=="object"&&h.kind?a[d]=this.convertChild(h):a[d]=h}),a}convertJSXIdentifier(t){let r=this.createNode(t,{type:J.AST_NODE_TYPES.JSXIdentifier,name:t.getText()});return this.registerTSNodeInNodeMap(t,r),r}convertJSXNamespaceOrIdentifier(t){if(t.kind===_t.SyntaxKind.JsxNamespacedName){let _=this.createNode(t,{type:J.AST_NODE_TYPES.JSXNamespacedName,namespace:this.createNode(t.namespace,{type:J.AST_NODE_TYPES.JSXIdentifier,name:t.namespace.text}),name:this.createNode(t.name,{type:J.AST_NODE_TYPES.JSXIdentifier,name:t.name.text})});return this.registerTSNodeInNodeMap(t,_),_}let r=t.getText(),a=r.indexOf(":");if(a>0){let _=(0,pe.getRange)(t,this.ast),p=this.createNode(t,{type:J.AST_NODE_TYPES.JSXNamespacedName,namespace:this.createNode(t,{type:J.AST_NODE_TYPES.JSXIdentifier,name:r.slice(0,a),range:[_[0],_[0]+a]}),name:this.createNode(t,{type:J.AST_NODE_TYPES.JSXIdentifier,name:r.slice(a+1),range:[_[0]+a+1,_[1]]}),range:_});return this.registerTSNodeInNodeMap(t,p),p}return this.convertJSXIdentifier(t)}convertJSXTagName(t,r){let a;switch(t.kind){case E.PropertyAccessExpression:t.name.kind===E.PrivateIdentifier&&Ne(this,Pe,"m",st).call(this,t.name,"Non-private identifier expected."),a=this.createNode(t,{type:J.AST_NODE_TYPES.JSXMemberExpression,object:this.convertJSXTagName(t.expression,r),property:this.convertJSXIdentifier(t.name)});break;case E.ThisKeyword:case E.Identifier:default:return this.convertJSXNamespaceOrIdentifier(t)}return this.registerTSNodeInNodeMap(t,a),a}convertMethodSignature(t){return this.createNode(t,{type:J.AST_NODE_TYPES.TSMethodSignature,accessibility:(0,pe.getTSNodeAccessibility)(t),computed:(0,pe.isComputedProperty)(t.name),key:this.convertChild(t.name),kind:(()=>{switch(t.kind){case E.GetAccessor:return"get";case E.SetAccessor:return"set";case E.MethodSignature:return"method"}})(),optional:(0,pe.isOptional)(t),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),readonly:(0,pe.hasModifier)(E.ReadonlyKeyword,t),static:(0,pe.hasModifier)(E.StaticKeyword,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)})}convertAssertClasue(t){return t===void 0?[]:t.elements.map(r=>this.convertChild(r))}fixParentLocation(t,r){r[0]<t.range[0]&&(t.range[0]=r[0],t.loc.start=(0,pe.getLineAndCharacterFor)(t.range[0],this.ast)),r[1]>t.range[1]&&(t.range[1]=r[1],t.loc.end=(0,pe.getLineAndCharacterFor)(t.range[1],this.ast))}assertModuleSpecifier(t,r){var a;!r&&t.moduleSpecifier==null&&Ne(this,Pe,"m",br).call(this,t,"Module specifier must be a string literal."),t.moduleSpecifier&&((a=t.moduleSpecifier)==null?void 0:a.kind)!==E.StringLiteral&&Ne(this,Pe,"m",br).call(this,t.moduleSpecifier,"Module specifier must be a string literal.")}convertNode(t,r){var a,_,p,d,h;switch(t.kind){case E.SourceFile:return this.createNode(t,{type:J.AST_NODE_TYPES.Program,body:this.convertBodyExpressions(t.statements,t),comments:void 0,range:[t.getStart(this.ast),t.endOfFileToken.end],sourceType:t.externalModuleIndicator?"module":"script",tokens:void 0});case E.Block:return this.createNode(t,{type:J.AST_NODE_TYPES.BlockStatement,body:this.convertBodyExpressions(t.statements,t)});case E.Identifier:return(0,pe.isThisInTypeQuery)(t)?this.createNode(t,{type:J.AST_NODE_TYPES.ThisExpression}):this.createNode(t,{type:J.AST_NODE_TYPES.Identifier,decorators:[],name:t.text,optional:!1,typeAnnotation:void 0});case E.PrivateIdentifier:return this.createNode(t,{type:J.AST_NODE_TYPES.PrivateIdentifier,name:t.text.slice(1)});case E.WithStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.WithStatement,object:this.convertChild(t.expression),body:this.convertChild(t.statement)});case E.ReturnStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.ReturnStatement,argument:this.convertChild(t.expression)});case E.LabeledStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.LabeledStatement,label:this.convertChild(t.label),body:this.convertChild(t.statement)});case E.ContinueStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.ContinueStatement,label:this.convertChild(t.label)});case E.BreakStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.BreakStatement,label:this.convertChild(t.label)});case E.IfStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.IfStatement,test:this.convertChild(t.expression),consequent:this.convertChild(t.thenStatement),alternate:this.convertChild(t.elseStatement)});case E.SwitchStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.SwitchStatement,discriminant:this.convertChild(t.expression),cases:t.caseBlock.clauses.map(l=>this.convertChild(l))});case E.CaseClause:case E.DefaultClause:return this.createNode(t,{type:J.AST_NODE_TYPES.SwitchCase,test:t.kind===E.CaseClause?this.convertChild(t.expression):null,consequent:t.statements.map(l=>this.convertChild(l))});case E.ThrowStatement:return t.expression.end===t.expression.pos&&Ne(this,Pe,"m",br).call(this,t,"A throw statement must throw an expression."),this.createNode(t,{type:J.AST_NODE_TYPES.ThrowStatement,argument:this.convertChild(t.expression)});case E.TryStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.TryStatement,block:this.convertChild(t.tryBlock),handler:this.convertChild(t.catchClause),finalizer:this.convertChild(t.finallyBlock)});case E.CatchClause:return this.createNode(t,{type:J.AST_NODE_TYPES.CatchClause,param:t.variableDeclaration?this.convertBindingNameWithTypeAnnotation(t.variableDeclaration.name,t.variableDeclaration.type):null,body:this.convertChild(t.block)});case E.WhileStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.WhileStatement,test:this.convertChild(t.expression),body:this.convertChild(t.statement)});case E.DoStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.DoWhileStatement,test:this.convertChild(t.expression),body:this.convertChild(t.statement)});case E.ForStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.ForStatement,init:this.convertChild(t.initializer),test:this.convertChild(t.condition),update:this.convertChild(t.incrementor),body:this.convertChild(t.statement)});case E.ForInStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.ForInStatement,left:this.convertPattern(t.initializer),right:this.convertChild(t.expression),body:this.convertChild(t.statement)});case E.ForOfStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.ForOfStatement,left:this.convertPattern(t.initializer),right:this.convertChild(t.expression),body:this.convertChild(t.statement),await:!!(t.awaitModifier&&t.awaitModifier.kind===E.AwaitKeyword)});case E.FunctionDeclaration:{let l=(0,pe.hasModifier)(E.DeclareKeyword,t),v=this.createNode(t,{type:l||!t.body?J.AST_NODE_TYPES.TSDeclareFunction:J.AST_NODE_TYPES.FunctionDeclaration,async:(0,pe.hasModifier)(E.AsyncKeyword,t),body:this.convertChild(t.body)||void 0,declare:l,expression:!1,generator:!!t.asteriskToken,id:this.convertChild(t.name),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,v)}case E.VariableDeclaration:return this.createNode(t,{type:J.AST_NODE_TYPES.VariableDeclarator,definite:!!t.exclamationToken,id:this.convertBindingNameWithTypeAnnotation(t.name,t.type,t),init:this.convertChild(t.initializer)});case E.VariableStatement:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.VariableDeclaration,declarations:t.declarationList.declarations.map(v=>this.convertChild(v)),declare:(0,pe.hasModifier)(E.DeclareKeyword,t),kind:(0,pe.getDeclarationKind)(t.declarationList)});return l.declarations.length||Ne(this,Pe,"m",br).call(this,t,"A variable declaration list must have at least one variable declarator."),(l.kind==="using"||l.kind==="await using")&&t.declarationList.declarations.forEach((v,y)=>{l.declarations[y].init==null&&Ne(this,Pe,"m",st).call(this,v,`'${l.kind}' declarations must be initialized.`),l.declarations[y].id.type!==J.AST_NODE_TYPES.Identifier&&Ne(this,Pe,"m",st).call(this,v.name,`'${l.kind}' declarations may not have binding patterns.`)}),this.fixExports(t,l)}case E.VariableDeclarationList:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.VariableDeclaration,declarations:t.declarations.map(v=>this.convertChild(v)),declare:!1,kind:(0,pe.getDeclarationKind)(t)});return(l.kind==="using"||l.kind==="await using")&&t.declarations.forEach((v,y)=>{l.declarations[y].init!=null&&Ne(this,Pe,"m",st).call(this,v,`'${l.kind}' declarations may not be initialized in for statement.`),l.declarations[y].id.type!==J.AST_NODE_TYPES.Identifier&&Ne(this,Pe,"m",st).call(this,v.name,`'${l.kind}' declarations may not have binding patterns.`)}),l}case E.ExpressionStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.ExpressionStatement,directive:void 0,expression:this.convertChild(t.expression)});case E.ThisKeyword:return this.createNode(t,{type:J.AST_NODE_TYPES.ThisExpression});case E.ArrayLiteralExpression:return this.allowPattern?this.createNode(t,{type:J.AST_NODE_TYPES.ArrayPattern,decorators:[],elements:t.elements.map(l=>this.convertPattern(l)),optional:!1,typeAnnotation:void 0}):this.createNode(t,{type:J.AST_NODE_TYPES.ArrayExpression,elements:t.elements.map(l=>this.convertChild(l))});case E.ObjectLiteralExpression:{if(this.allowPattern)return this.createNode(t,{type:J.AST_NODE_TYPES.ObjectPattern,decorators:[],optional:!1,properties:t.properties.map(v=>this.convertPattern(v)),typeAnnotation:void 0});let l=[];for(let v of t.properties)(v.kind===E.GetAccessor||v.kind===E.SetAccessor||v.kind===E.MethodDeclaration)&&!v.body&&Ne(this,Pe,"m",br).call(this,v.end-1,"'{' expected."),l.push(this.convertChild(v));return this.createNode(t,{type:J.AST_NODE_TYPES.ObjectExpression,properties:l})}case E.PropertyAssignment:{let{questionToken:l,exclamationToken:v}=t;return l&&Ne(this,Pe,"m",st).call(this,l,"A property assignment cannot have a question token."),v&&Ne(this,Pe,"m",st).call(this,v,"A property assignment cannot have an exclamation token."),this.createNode(t,{type:J.AST_NODE_TYPES.Property,key:this.convertChild(t.name),value:this.converter(t.initializer,t,this.allowPattern),computed:(0,pe.isComputedProperty)(t.name),method:!1,optional:!1,shorthand:!1,kind:"init"})}case E.ShorthandPropertyAssignment:{let{modifiers:l,questionToken:v,exclamationToken:y}=t;return l&&Ne(this,Pe,"m",st).call(this,l[0],"A shorthand property assignment cannot have modifiers."),v&&Ne(this,Pe,"m",st).call(this,v,"A shorthand property assignment cannot have a question token."),y&&Ne(this,Pe,"m",st).call(this,y,"A shorthand property assignment cannot have an exclamation token."),t.objectAssignmentInitializer?this.createNode(t,{type:J.AST_NODE_TYPES.Property,key:this.convertChild(t.name),value:this.createNode(t,{type:J.AST_NODE_TYPES.AssignmentPattern,decorators:[],left:this.convertPattern(t.name),optional:!1,right:this.convertChild(t.objectAssignmentInitializer),typeAnnotation:void 0}),computed:!1,method:!1,optional:!1,shorthand:!0,kind:"init"}):this.createNode(t,{type:J.AST_NODE_TYPES.Property,computed:!1,key:this.convertChild(t.name),kind:"init",method:!1,optional:!1,shorthand:!0,value:this.convertChild(t.name)})}case E.ComputedPropertyName:return this.convertChild(t.expression);case E.PropertyDeclaration:{let l=(0,pe.hasModifier)(E.AbstractKeyword,t);l&&t.initializer&&Ne(this,Pe,"m",st).call(this,t.initializer,"Abstract property cannot have an initializer.");let v=(0,pe.hasModifier)(E.AccessorKeyword,t),y=(()=>v?l?J.AST_NODE_TYPES.TSAbstractAccessorProperty:J.AST_NODE_TYPES.AccessorProperty:l?J.AST_NODE_TYPES.TSAbstractPropertyDefinition:J.AST_NODE_TYPES.PropertyDefinition)(),C=this.convertChild(t.name);return this.createNode(t,{type:y,key:C,accessibility:(0,pe.getTSNodeAccessibility)(t),value:l?null:this.convertChild(t.initializer),computed:(0,pe.isComputedProperty)(t.name),static:(0,pe.hasModifier)(E.StaticKeyword,t),readonly:(0,pe.hasModifier)(E.ReadonlyKeyword,t),decorators:((a=(0,Zi.getDecorators)(t))==null?void 0:a.map(S=>this.convertChild(S)))??[],declare:(0,pe.hasModifier)(E.DeclareKeyword,t),override:(0,pe.hasModifier)(E.OverrideKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t),optional:(C.type===J.AST_NODE_TYPES.Literal||t.name.kind===E.Identifier||t.name.kind===E.ComputedPropertyName||t.name.kind===E.PrivateIdentifier)&&!!t.questionToken,definite:!!t.exclamationToken})}case E.GetAccessor:case E.SetAccessor:if(t.parent.kind===E.InterfaceDeclaration||t.parent.kind===E.TypeLiteral)return this.convertMethodSignature(t);case E.MethodDeclaration:{let l=this.createNode(t,{type:t.body?J.AST_NODE_TYPES.FunctionExpression:J.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,id:null,generator:!!t.asteriskToken,expression:!1,async:(0,pe.hasModifier)(E.AsyncKeyword,t),body:this.convertChild(t.body),declare:!1,range:[t.parameters.pos-1,t.end],params:[],returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});l.typeParameters&&this.fixParentLocation(l,l.typeParameters.range);let v;if(r.kind===E.ObjectLiteralExpression)l.params=t.parameters.map(y=>this.convertChild(y)),v=this.createNode(t,{type:J.AST_NODE_TYPES.Property,key:this.convertChild(t.name),value:l,computed:(0,pe.isComputedProperty)(t.name),optional:!!t.questionToken,method:t.kind===E.MethodDeclaration,shorthand:!1,kind:"init"});else{l.params=this.convertParameters(t.parameters);let y=(0,pe.hasModifier)(E.AbstractKeyword,t)?J.AST_NODE_TYPES.TSAbstractMethodDefinition:J.AST_NODE_TYPES.MethodDefinition;v=this.createNode(t,{type:y,accessibility:(0,pe.getTSNodeAccessibility)(t),computed:(0,pe.isComputedProperty)(t.name),decorators:((_=(0,Zi.getDecorators)(t))==null?void 0:_.map(C=>this.convertChild(C)))??[],key:this.convertChild(t.name),kind:"method",optional:!!t.questionToken,override:(0,pe.hasModifier)(E.OverrideKeyword,t),static:(0,pe.hasModifier)(E.StaticKeyword,t),value:l})}return t.kind===E.GetAccessor?v.kind="get":t.kind===E.SetAccessor?v.kind="set":!v.static&&t.name.kind===E.StringLiteral&&t.name.text==="constructor"&&v.type!==J.AST_NODE_TYPES.Property&&(v.kind="constructor"),v}case E.Constructor:{let l=(0,pe.getLastModifier)(t),v=(l&&(0,pe.findNextToken)(l,t,this.ast))??t.getFirstToken(),y=this.createNode(t,{type:t.body?J.AST_NODE_TYPES.FunctionExpression:J.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,async:!1,body:this.convertChild(t.body),declare:!1,expression:!1,generator:!1,id:null,params:this.convertParameters(t.parameters),range:[t.parameters.pos-1,t.end],returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});y.typeParameters&&this.fixParentLocation(y,y.typeParameters.range);let C=this.createNode(t,{type:J.AST_NODE_TYPES.Identifier,decorators:[],name:"constructor",optional:!1,range:[v.getStart(this.ast),v.end],typeAnnotation:void 0}),S=(0,pe.hasModifier)(E.StaticKeyword,t);return this.createNode(t,{type:(0,pe.hasModifier)(E.AbstractKeyword,t)?J.AST_NODE_TYPES.TSAbstractMethodDefinition:J.AST_NODE_TYPES.MethodDefinition,accessibility:(0,pe.getTSNodeAccessibility)(t),computed:!1,decorators:[],optional:!1,key:C,kind:S?"method":"constructor",override:!1,static:S,value:y})}case E.FunctionExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.FunctionExpression,async:(0,pe.hasModifier)(E.AsyncKeyword,t),body:this.convertChild(t.body),declare:!1,expression:!1,generator:!!t.asteriskToken,id:this.convertChild(t.name),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case E.SuperKeyword:return this.createNode(t,{type:J.AST_NODE_TYPES.Super});case E.ArrayBindingPattern:return this.createNode(t,{type:J.AST_NODE_TYPES.ArrayPattern,decorators:[],elements:t.elements.map(l=>this.convertPattern(l)),optional:!1,typeAnnotation:void 0});case E.OmittedExpression:return null;case E.ObjectBindingPattern:return this.createNode(t,{type:J.AST_NODE_TYPES.ObjectPattern,decorators:[],optional:!1,properties:t.elements.map(l=>this.convertPattern(l)),typeAnnotation:void 0});case E.BindingElement:{if(r.kind===E.ArrayBindingPattern){let v=this.convertChild(t.name,r);return t.initializer?this.createNode(t,{type:J.AST_NODE_TYPES.AssignmentPattern,decorators:[],left:v,optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0}):t.dotDotDotToken?this.createNode(t,{type:J.AST_NODE_TYPES.RestElement,argument:v,decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):v}let l;return t.dotDotDotToken?l=this.createNode(t,{type:J.AST_NODE_TYPES.RestElement,argument:this.convertChild(t.propertyName??t.name),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):l=this.createNode(t,{type:J.AST_NODE_TYPES.Property,key:this.convertChild(t.propertyName??t.name),value:this.convertChild(t.name),computed:!!(t.propertyName&&t.propertyName.kind===E.ComputedPropertyName),method:!1,optional:!1,shorthand:!t.propertyName,kind:"init"}),t.initializer&&(l.value=this.createNode(t,{type:J.AST_NODE_TYPES.AssignmentPattern,decorators:[],left:this.convertChild(t.name),optional:!1,range:[t.name.getStart(this.ast),t.initializer.end],right:this.convertChild(t.initializer),typeAnnotation:void 0})),l}case E.ArrowFunction:return this.createNode(t,{type:J.AST_NODE_TYPES.ArrowFunctionExpression,generator:!1,id:null,params:this.convertParameters(t.parameters),body:this.convertChild(t.body),async:(0,pe.hasModifier)(E.AsyncKeyword,t),expression:t.body.kind!==E.Block,returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case E.YieldExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.YieldExpression,delegate:!!t.asteriskToken,argument:this.convertChild(t.expression)});case E.AwaitExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.AwaitExpression,argument:this.convertChild(t.expression)});case E.NoSubstitutionTemplateLiteral:return this.createNode(t,{type:J.AST_NODE_TYPES.TemplateLiteral,quasis:[this.createNode(t,{type:J.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-1),cooked:t.text},tail:!0})],expressions:[]});case E.TemplateExpression:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.TemplateLiteral,quasis:[this.convertChild(t.head)],expressions:[]});return t.templateSpans.forEach(v=>{l.expressions.push(this.convertChild(v.expression)),l.quasis.push(this.convertChild(v.literal))}),l}case E.TaggedTemplateExpression:return this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.TaggedTemplateExpression,typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),tag:this.convertChild(t.tag),quasi:this.convertChild(t.template)},"typeParameters","typeArguments"));case E.TemplateHead:case E.TemplateMiddle:case E.TemplateTail:{let l=t.kind===E.TemplateTail;return this.createNode(t,{type:J.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-(l?1:2)),cooked:t.text},tail:l})}case E.SpreadAssignment:case E.SpreadElement:return this.allowPattern?this.createNode(t,{type:J.AST_NODE_TYPES.RestElement,argument:this.convertPattern(t.expression),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):this.createNode(t,{type:J.AST_NODE_TYPES.SpreadElement,argument:this.convertChild(t.expression)});case E.Parameter:{let l,v;return t.dotDotDotToken?l=v=this.createNode(t,{type:J.AST_NODE_TYPES.RestElement,argument:this.convertChild(t.name),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):t.initializer?(l=this.convertChild(t.name),v=this.createNode(t,{type:J.AST_NODE_TYPES.AssignmentPattern,decorators:[],left:l,optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0}),(0,Zi.getModifiers)(t)&&(v.range[0]=l.range[0],v.loc=(0,pe.getLocFor)(v.range,this.ast))):l=v=this.convertChild(t.name,r),t.type&&(l.typeAnnotation=this.convertTypeAnnotation(t.type,t),this.fixParentLocation(l,l.typeAnnotation.range)),t.questionToken&&(t.questionToken.end>l.range[1]&&(l.range[1]=t.questionToken.end,l.loc.end=(0,pe.getLineAndCharacterFor)(l.range[1],this.ast)),l.optional=!0),(0,Zi.getModifiers)(t)?this.createNode(t,{type:J.AST_NODE_TYPES.TSParameterProperty,accessibility:(0,pe.getTSNodeAccessibility)(t),decorators:[],override:(0,pe.hasModifier)(E.OverrideKeyword,t),parameter:v,readonly:(0,pe.hasModifier)(E.ReadonlyKeyword,t),static:(0,pe.hasModifier)(E.StaticKeyword,t)}):v}case E.ClassDeclaration:!t.name&&(!(0,pe.hasModifier)(_t.SyntaxKind.ExportKeyword,t)||!(0,pe.hasModifier)(_t.SyntaxKind.DefaultKeyword,t))&&Ne(this,Pe,"m",br).call(this,t,"A class declaration without the 'default' modifier must have a name.");case E.ClassExpression:{let l=t.heritageClauses??[],v=t.kind===E.ClassDeclaration?J.AST_NODE_TYPES.ClassDeclaration:J.AST_NODE_TYPES.ClassExpression,y,C;for(let k of l){let{token:L,types:G}=k;G.length===0&&Ne(this,Pe,"m",br).call(this,k,`'${_t.tokenToString(L)}' list cannot be empty.`),L===E.ExtendsKeyword?(y&&Ne(this,Pe,"m",br).call(this,k,"'extends' clause already seen."),C&&Ne(this,Pe,"m",br).call(this,k,"'extends' clause must precede 'implements' clause."),G.length>1&&Ne(this,Pe,"m",br).call(this,G[1],"Classes can only extend a single class."),y??(y=k)):L===E.ImplementsKeyword&&(C&&Ne(this,Pe,"m",br).call(this,k,"'implements' clause already seen."),C??(C=k))}let S=this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:v,abstract:(0,pe.hasModifier)(E.AbstractKeyword,t),body:this.createNode(t,{type:J.AST_NODE_TYPES.ClassBody,body:t.members.filter(pe.isESTreeClassMember).map(k=>this.convertChild(k)),range:[t.members.pos-1,t.end]}),declare:(0,pe.hasModifier)(E.DeclareKeyword,t),decorators:((p=(0,Zi.getDecorators)(t))==null?void 0:p.map(k=>this.convertChild(k)))??[],id:this.convertChild(t.name),implements:(C==null?void 0:C.types.map(k=>this.convertChild(k)))??[],superClass:y!=null&&y.types[0]?this.convertChild(y.types[0].expression):null,superTypeArguments:void 0,typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)},"superTypeParameters","superTypeArguments"));return(d=y==null?void 0:y.types[0])!=null&&d.typeArguments&&(S.superTypeArguments=this.convertTypeArgumentsToTypeParameterInstantiation(y.types[0].typeArguments,y.types[0])),this.fixExports(t,S)}case E.ModuleBlock:return this.createNode(t,{type:J.AST_NODE_TYPES.TSModuleBlock,body:this.convertBodyExpressions(t.statements,t)});case E.ImportDeclaration:{this.assertModuleSpecifier(t,!1);let l=this.createNode(t,{type:J.AST_NODE_TYPES.ImportDeclaration,source:this.convertChild(t.moduleSpecifier),specifiers:[],importKind:"value",assertions:this.convertAssertClasue(t.assertClause)});if(t.importClause&&(t.importClause.isTypeOnly&&(l.importKind="type"),t.importClause.name&&l.specifiers.push(this.convertChild(t.importClause)),t.importClause.namedBindings))switch(t.importClause.namedBindings.kind){case E.NamespaceImport:l.specifiers.push(this.convertChild(t.importClause.namedBindings));break;case E.NamedImports:l.specifiers=l.specifiers.concat(t.importClause.namedBindings.elements.map(v=>this.convertChild(v)));break}return l}case E.NamespaceImport:return this.createNode(t,{type:J.AST_NODE_TYPES.ImportNamespaceSpecifier,local:this.convertChild(t.name)});case E.ImportSpecifier:return this.createNode(t,{type:J.AST_NODE_TYPES.ImportSpecifier,local:this.convertChild(t.name),imported:this.convertChild(t.propertyName??t.name),importKind:t.isTypeOnly?"type":"value"});case E.ImportClause:{let l=this.convertChild(t.name);return this.createNode(t,{type:J.AST_NODE_TYPES.ImportDefaultSpecifier,local:l,range:l.range})}case E.ExportDeclaration:return((h=t.exportClause)==null?void 0:h.kind)===E.NamedExports?(this.assertModuleSpecifier(t,!0),this.createNode(t,{type:J.AST_NODE_TYPES.ExportNamedDeclaration,source:this.convertChild(t.moduleSpecifier),specifiers:t.exportClause.elements.map(l=>this.convertChild(l)),exportKind:t.isTypeOnly?"type":"value",declaration:null,assertions:this.convertAssertClasue(t.assertClause)})):(this.assertModuleSpecifier(t,!1),this.createNode(t,{type:J.AST_NODE_TYPES.ExportAllDeclaration,source:this.convertChild(t.moduleSpecifier),exportKind:t.isTypeOnly?"type":"value",exported:t.exportClause&&t.exportClause.kind===E.NamespaceExport?this.convertChild(t.exportClause.name):null,assertions:this.convertAssertClasue(t.assertClause)}));case E.ExportSpecifier:return this.createNode(t,{type:J.AST_NODE_TYPES.ExportSpecifier,local:this.convertChild(t.propertyName??t.name),exported:this.convertChild(t.name),exportKind:t.isTypeOnly?"type":"value"});case E.ExportAssignment:return t.isExportEquals?this.createNode(t,{type:J.AST_NODE_TYPES.TSExportAssignment,expression:this.convertChild(t.expression)}):this.createNode(t,{type:J.AST_NODE_TYPES.ExportDefaultDeclaration,declaration:this.convertChild(t.expression),exportKind:"value"});case E.PrefixUnaryExpression:case E.PostfixUnaryExpression:{let l=(0,pe.getTextForTokenKind)(t.operator);return l==="++"||l==="--"?this.createNode(t,{type:J.AST_NODE_TYPES.UpdateExpression,operator:l,prefix:t.kind===E.PrefixUnaryExpression,argument:this.convertChild(t.operand)}):this.createNode(t,{type:J.AST_NODE_TYPES.UnaryExpression,operator:l,prefix:t.kind===E.PrefixUnaryExpression,argument:this.convertChild(t.operand)})}case E.DeleteExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.UnaryExpression,operator:"delete",prefix:!0,argument:this.convertChild(t.expression)});case E.VoidExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.UnaryExpression,operator:"void",prefix:!0,argument:this.convertChild(t.expression)});case E.TypeOfExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.UnaryExpression,operator:"typeof",prefix:!0,argument:this.convertChild(t.expression)});case E.TypeOperator:return this.createNode(t,{type:J.AST_NODE_TYPES.TSTypeOperator,operator:(0,pe.getTextForTokenKind)(t.operator),typeAnnotation:this.convertChild(t.type)});case E.BinaryExpression:{if((0,pe.isComma)(t.operatorToken)){let v=this.createNode(t,{type:J.AST_NODE_TYPES.SequenceExpression,expressions:[]}),y=this.convertChild(t.left);return y.type===J.AST_NODE_TYPES.SequenceExpression&&t.left.kind!==E.ParenthesizedExpression?v.expressions=v.expressions.concat(y.expressions):v.expressions.push(y),v.expressions.push(this.convertChild(t.right)),v}let l=(0,pe.getBinaryExpressionType)(t.operatorToken);return this.allowPattern&&l.type===J.AST_NODE_TYPES.AssignmentExpression?this.createNode(t,{type:J.AST_NODE_TYPES.AssignmentPattern,decorators:[],left:this.convertPattern(t.left,t),optional:!1,right:this.convertChild(t.right),typeAnnotation:void 0}):this.createNode(t,{...l,left:this.converter(t.left,t,l.type===J.AST_NODE_TYPES.AssignmentExpression),right:this.convertChild(t.right)})}case E.PropertyAccessExpression:{let l=this.convertChild(t.expression),v=this.convertChild(t.name),y=!1,C=this.createNode(t,{type:J.AST_NODE_TYPES.MemberExpression,object:l,property:v,computed:y,optional:t.questionDotToken!==void 0});return this.convertChainExpression(C,t)}case E.ElementAccessExpression:{let l=this.convertChild(t.expression),v=this.convertChild(t.argumentExpression),y=!0,C=this.createNode(t,{type:J.AST_NODE_TYPES.MemberExpression,object:l,property:v,computed:y,optional:t.questionDotToken!==void 0});return this.convertChainExpression(C,t)}case E.CallExpression:{if(t.expression.kind===E.ImportKeyword)return t.arguments.length!==1&&t.arguments.length!==2&&Ne(this,Pe,"m",br).call(this,t.arguments[2]??t,"Dynamic import requires exactly one or two arguments."),this.createNode(t,{type:J.AST_NODE_TYPES.ImportExpression,source:this.convertChild(t.arguments[0]),attributes:t.arguments[1]?this.convertChild(t.arguments[1]):null});let l=this.convertChild(t.expression),v=t.arguments.map(S=>this.convertChild(S)),y=t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),C=this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.CallExpression,callee:l,arguments:v,optional:t.questionDotToken!==void 0,typeArguments:y},"typeParameters","typeArguments"));return this.convertChainExpression(C,t)}case E.NewExpression:{let l=t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t);return this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.NewExpression,arguments:t.arguments?t.arguments.map(v=>this.convertChild(v)):[],callee:this.convertChild(t.expression),typeArguments:l},"typeParameters","typeArguments"))}case E.ConditionalExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.ConditionalExpression,test:this.convertChild(t.condition),consequent:this.convertChild(t.whenTrue),alternate:this.convertChild(t.whenFalse)});case E.MetaProperty:return this.createNode(t,{type:J.AST_NODE_TYPES.MetaProperty,meta:this.createNode(t.getFirstToken(),{type:J.AST_NODE_TYPES.Identifier,decorators:[],name:(0,pe.getTextForTokenKind)(t.keywordToken),optional:!1,typeAnnotation:void 0}),property:this.convertChild(t.name)});case E.Decorator:return this.createNode(t,{type:J.AST_NODE_TYPES.Decorator,expression:this.convertChild(t.expression)});case E.StringLiteral:return this.createNode(t,{type:J.AST_NODE_TYPES.Literal,value:r.kind===E.JsxAttribute?(0,pe.unescapeStringLiteralText)(t.text):t.text,raw:t.getText()});case E.NumericLiteral:return this.createNode(t,{type:J.AST_NODE_TYPES.Literal,value:Number(t.text),raw:t.getText()});case E.BigIntLiteral:{let l=(0,pe.getRange)(t,this.ast),v=this.ast.text.slice(l[0],l[1]),y=v.slice(0,-1).replace(/_/g,""),C=typeof BigInt<"u"?BigInt(y):null;return this.createNode(t,{type:J.AST_NODE_TYPES.Literal,raw:v,value:C,bigint:C==null?y:String(C),range:l})}case E.RegularExpressionLiteral:{let l=t.text.slice(1,t.text.lastIndexOf("/")),v=t.text.slice(t.text.lastIndexOf("/")+1),y=null;try{y=new RegExp(l,v)}catch{}return this.createNode(t,{type:J.AST_NODE_TYPES.Literal,value:y,raw:t.text,regex:{pattern:l,flags:v}})}case E.TrueKeyword:return this.createNode(t,{type:J.AST_NODE_TYPES.Literal,value:!0,raw:"true"});case E.FalseKeyword:return this.createNode(t,{type:J.AST_NODE_TYPES.Literal,value:!1,raw:"false"});case E.NullKeyword:return this.createNode(t,{type:J.AST_NODE_TYPES.Literal,value:null,raw:"null"});case E.EmptyStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.EmptyStatement});case E.DebuggerStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.DebuggerStatement});case E.JsxElement:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXElement,openingElement:this.convertChild(t.openingElement),closingElement:this.convertChild(t.closingElement),children:t.children.map(l=>this.convertChild(l))});case E.JsxFragment:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXFragment,openingFragment:this.convertChild(t.openingFragment),closingFragment:this.convertChild(t.closingFragment),children:t.children.map(l=>this.convertChild(l))});case E.JsxSelfClosingElement:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXElement,openingElement:this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.JSXOpeningElement,typeArguments:t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):void 0,selfClosing:!0,name:this.convertJSXTagName(t.tagName,t),attributes:t.attributes.properties.map(l=>this.convertChild(l)),range:(0,pe.getRange)(t,this.ast)},"typeParameters","typeArguments")),closingElement:null,children:[]});case E.JsxOpeningElement:return this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.JSXOpeningElement,typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),selfClosing:!1,name:this.convertJSXTagName(t.tagName,t),attributes:t.attributes.properties.map(l=>this.convertChild(l))},"typeParameters","typeArguments"));case E.JsxClosingElement:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXClosingElement,name:this.convertJSXTagName(t.tagName,t)});case E.JsxOpeningFragment:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXOpeningFragment});case E.JsxClosingFragment:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXClosingFragment});case E.JsxExpression:{let l=t.expression?this.convertChild(t.expression):this.createNode(t,{type:J.AST_NODE_TYPES.JSXEmptyExpression,range:[t.getStart(this.ast)+1,t.getEnd()-1]});return t.dotDotDotToken?this.createNode(t,{type:J.AST_NODE_TYPES.JSXSpreadChild,expression:l}):this.createNode(t,{type:J.AST_NODE_TYPES.JSXExpressionContainer,expression:l})}case E.JsxAttribute:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXAttribute,name:this.convertJSXNamespaceOrIdentifier(t.name),value:this.convertChild(t.initializer)});case E.JsxText:{let l=t.getFullStart(),v=t.getEnd(),y=this.ast.text.slice(l,v);return this.createNode(t,{type:J.AST_NODE_TYPES.JSXText,value:(0,pe.unescapeStringLiteralText)(y),raw:y,range:[l,v]})}case E.JsxSpreadAttribute:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXSpreadAttribute,argument:this.convertChild(t.expression)});case E.QualifiedName:return this.createNode(t,{type:J.AST_NODE_TYPES.TSQualifiedName,left:this.convertChild(t.left),right:this.convertChild(t.right)});case E.TypeReference:return this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.TSTypeReference,typeName:this.convertChild(t.typeName),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)},"typeParameters","typeArguments"));case E.TypeParameter:return this.createNode(t,{type:J.AST_NODE_TYPES.TSTypeParameter,name:this.convertChild(t.name),constraint:t.constraint&&this.convertChild(t.constraint),default:t.default?this.convertChild(t.default):void 0,in:(0,pe.hasModifier)(E.InKeyword,t),out:(0,pe.hasModifier)(E.OutKeyword,t),const:(0,pe.hasModifier)(E.ConstKeyword,t)});case E.ThisType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSThisType});case E.AnyKeyword:case E.BigIntKeyword:case E.BooleanKeyword:case E.NeverKeyword:case E.NumberKeyword:case E.ObjectKeyword:case E.StringKeyword:case E.SymbolKeyword:case E.UnknownKeyword:case E.VoidKeyword:case E.UndefinedKeyword:case E.IntrinsicKeyword:return this.createNode(t,{type:J.AST_NODE_TYPES[`TS${E[t.kind]}`]});case E.NonNullExpression:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.TSNonNullExpression,expression:this.convertChild(t.expression)});return this.convertChainExpression(l,t)}case E.TypeLiteral:return this.createNode(t,{type:J.AST_NODE_TYPES.TSTypeLiteral,members:t.members.map(l=>this.convertChild(l))});case E.ArrayType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSArrayType,elementType:this.convertChild(t.elementType)});case E.IndexedAccessType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSIndexedAccessType,objectType:this.convertChild(t.objectType),indexType:this.convertChild(t.indexType)});case E.ConditionalType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSConditionalType,checkType:this.convertChild(t.checkType),extendsType:this.convertChild(t.extendsType),trueType:this.convertChild(t.trueType),falseType:this.convertChild(t.falseType)});case E.TypeQuery:return this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.TSTypeQuery,exprName:this.convertChild(t.exprName),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)},"typeParameters","typeArguments"));case E.MappedType:return t.members&&t.members.length>0&&Ne(this,Pe,"m",br).call(this,t.members[0],"A mapped type may not declare properties or methods."),this.createNode(t,{type:J.AST_NODE_TYPES.TSMappedType,nameType:this.convertChild(t.nameType)??null,optional:t.questionToken&&(t.questionToken.kind===E.QuestionToken||(0,pe.getTextForTokenKind)(t.questionToken.kind)),readonly:t.readonlyToken&&(t.readonlyToken.kind===E.ReadonlyKeyword||(0,pe.getTextForTokenKind)(t.readonlyToken.kind)),typeAnnotation:t.type&&this.convertChild(t.type),typeParameter:this.convertChild(t.typeParameter)});case E.ParenthesizedExpression:return this.convertChild(t.expression,r);case E.TypeAliasDeclaration:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.TSTypeAliasDeclaration,declare:(0,pe.hasModifier)(E.DeclareKeyword,t),id:this.convertChild(t.name),typeAnnotation:this.convertChild(t.type),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,l)}case E.MethodSignature:return this.convertMethodSignature(t);case E.PropertySignature:{let{initializer:l}=t;return l&&Ne(this,Pe,"m",st).call(this,l,"A property signature cannot have an initializer."),this.createNode(t,{type:J.AST_NODE_TYPES.TSPropertySignature,accessibility:(0,pe.getTSNodeAccessibility)(t),computed:(0,pe.isComputedProperty)(t.name),key:this.convertChild(t.name),optional:(0,pe.isOptional)(t),readonly:(0,pe.hasModifier)(E.ReadonlyKeyword,t),static:(0,pe.hasModifier)(E.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t)})}case E.IndexSignature:return this.createNode(t,{type:J.AST_NODE_TYPES.TSIndexSignature,accessibility:(0,pe.getTSNodeAccessibility)(t),parameters:t.parameters.map(l=>this.convertChild(l)),readonly:(0,pe.hasModifier)(E.ReadonlyKeyword,t),static:(0,pe.hasModifier)(E.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t)});case E.ConstructorType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSConstructorType,abstract:(0,pe.hasModifier)(E.AbstractKeyword,t),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case E.FunctionType:{let{modifiers:l}=t;l&&Ne(this,Pe,"m",st).call(this,l[0],"A function type cannot have modifiers.")}case E.ConstructSignature:case E.CallSignature:{let l=t.kind===E.ConstructSignature?J.AST_NODE_TYPES.TSConstructSignatureDeclaration:t.kind===E.CallSignature?J.AST_NODE_TYPES.TSCallSignatureDeclaration:J.AST_NODE_TYPES.TSFunctionType;return this.createNode(t,{type:l,params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)})}case E.ExpressionWithTypeArguments:{let l=r.kind,v=l===E.InterfaceDeclaration?J.AST_NODE_TYPES.TSInterfaceHeritage:l===E.HeritageClause?J.AST_NODE_TYPES.TSClassImplements:J.AST_NODE_TYPES.TSInstantiationExpression;return this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:v,expression:this.convertChild(t.expression),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)},"typeParameters","typeArguments"))}case E.InterfaceDeclaration:{let l=t.heritageClauses??[],v=[];for(let C of l){C.token!==E.ExtendsKeyword&&Ne(this,Pe,"m",st).call(this,C,C.token===E.ImplementsKeyword?"Interface declaration cannot have 'implements' clause.":"Unexpected token.");for(let S of C.types)v.push(this.convertChild(S,t))}let y=this.createNode(t,{type:J.AST_NODE_TYPES.TSInterfaceDeclaration,body:this.createNode(t,{type:J.AST_NODE_TYPES.TSInterfaceBody,body:t.members.map(C=>this.convertChild(C)),range:[t.members.pos-1,t.end]}),declare:(0,pe.hasModifier)(E.DeclareKeyword,t),extends:v,id:this.convertChild(t.name),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,y)}case E.TypePredicate:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.TSTypePredicate,asserts:t.assertsModifier!==void 0,parameterName:this.convertChild(t.parameterName),typeAnnotation:null});return t.type&&(l.typeAnnotation=this.convertTypeAnnotation(t.type,t),l.typeAnnotation.loc=l.typeAnnotation.typeAnnotation.loc,l.typeAnnotation.range=l.typeAnnotation.typeAnnotation.range),l}case E.ImportType:{let l=(0,pe.getRange)(t,this.ast);if(t.isTypeOf){let y=(0,pe.findNextToken)(t.getFirstToken(),t,this.ast);l[0]=y.getStart(this.ast)}let v=this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.TSImportType,argument:this.convertChild(t.argument),qualifier:this.convertChild(t.qualifier),typeArguments:t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):null,range:l},"typeParameters","typeArguments"));return t.isTypeOf?this.createNode(t,{type:J.AST_NODE_TYPES.TSTypeQuery,exprName:v,typeArguments:void 0,typeParameters:void 0}):v}case E.EnumDeclaration:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.TSEnumDeclaration,const:(0,pe.hasModifier)(E.ConstKeyword,t),declare:(0,pe.hasModifier)(E.DeclareKeyword,t),id:this.convertChild(t.name),members:t.members.map(v=>this.convertChild(v))});return this.fixExports(t,l)}case E.EnumMember:return this.createNode(t,{type:J.AST_NODE_TYPES.TSEnumMember,computed:t.name.kind===_t.SyntaxKind.ComputedPropertyName,id:this.convertChild(t.name),initializer:t.initializer&&this.convertChild(t.initializer)});case E.ModuleDeclaration:{let l=(0,pe.hasModifier)(E.DeclareKeyword,t),v=this.createNode(t,{type:J.AST_NODE_TYPES.TSModuleDeclaration,...(()=>{if(t.flags&_t.NodeFlags.GlobalAugmentation){let C=this.convertChild(t.name),S=this.convertChild(t.body);return(S==null||S.type===J.AST_NODE_TYPES.TSModuleDeclaration)&&Ne(this,Pe,"m",br).call(this,t.body??t,"Expected a valid module body"),C.type!==J.AST_NODE_TYPES.Identifier&&Ne(this,Pe,"m",br).call(this,t.name,"global module augmentation must have an Identifier id"),{kind:"global",body:S,declare:!1,global:!1,id:C}}if(!(t.flags&_t.NodeFlags.Namespace)){let C=this.convertChild(t.body);return{kind:"module",...C!=null?{body:C}:{},declare:!1,global:!1,id:this.convertChild(t.name)}}t.body==null&&Ne(this,Pe,"m",br).call(this,t,"Expected a module body"),t.name.kind!==_t.SyntaxKind.Identifier&&Ne(this,Pe,"m",br).call(this,t.name,"`namespace`s must have an Identifier id");let y=this.createNode(t.name,{decorators:[],name:t.name.text,optional:!1,range:[t.name.getStart(this.ast),t.name.getEnd()],type:J.AST_NODE_TYPES.Identifier,typeAnnotation:void 0});for(;t.body&&_t.isModuleDeclaration(t.body)&&t.body.name;){t=t.body,l||(l=(0,pe.hasModifier)(E.DeclareKeyword,t));let C=t.name,S=this.createNode(C,{decorators:[],name:C.text,optional:!1,range:[C.getStart(this.ast),C.getEnd()],type:J.AST_NODE_TYPES.Identifier,typeAnnotation:void 0});y=this.createNode(C,{left:y,right:S,range:[y.range[0],S.range[1]],type:J.AST_NODE_TYPES.TSQualifiedName})}return{kind:"namespace",body:this.convertChild(t.body),declare:!1,global:!1,id:y}})()});return v.declare=l,t.flags&_t.NodeFlags.GlobalAugmentation&&(v.global=!0),this.fixExports(t,v)}case E.ParenthesizedType:return this.convertChild(t.type);case E.UnionType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSUnionType,types:t.types.map(l=>this.convertChild(l))});case E.IntersectionType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSIntersectionType,types:t.types.map(l=>this.convertChild(l))});case E.AsExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.TSAsExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});case E.InferType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSInferType,typeParameter:this.convertChild(t.typeParameter)});case E.LiteralType:return t.literal.kind===E.NullKeyword?this.createNode(t.literal,{type:J.AST_NODE_TYPES.TSNullKeyword}):this.createNode(t,{type:J.AST_NODE_TYPES.TSLiteralType,literal:this.convertChild(t.literal)});case E.TypeAssertionExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.TSTypeAssertion,typeAnnotation:this.convertChild(t.type),expression:this.convertChild(t.expression)});case E.ImportEqualsDeclaration:return this.fixExports(t,this.createNode(t,{type:J.AST_NODE_TYPES.TSImportEqualsDeclaration,id:this.convertChild(t.name),importKind:t.isTypeOnly?"type":"value",moduleReference:this.convertChild(t.moduleReference)}));case E.ExternalModuleReference:return this.createNode(t,{type:J.AST_NODE_TYPES.TSExternalModuleReference,expression:this.convertChild(t.expression)});case E.NamespaceExportDeclaration:return this.createNode(t,{type:J.AST_NODE_TYPES.TSNamespaceExportDeclaration,id:this.convertChild(t.name)});case E.AbstractKeyword:return this.createNode(t,{type:J.AST_NODE_TYPES.TSAbstractKeyword});case E.TupleType:{let l="elementTypes"in t?t.elementTypes.map(v=>this.convertChild(v)):t.elements.map(v=>this.convertChild(v));return this.createNode(t,{type:J.AST_NODE_TYPES.TSTupleType,elementTypes:l})}case E.NamedTupleMember:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.TSNamedTupleMember,elementType:this.convertChild(t.type,t),label:this.convertChild(t.name,t),optional:t.questionToken!=null});return t.dotDotDotToken?(l.range[0]=l.label.range[0],l.loc.start=l.label.loc.start,this.createNode(t,{type:J.AST_NODE_TYPES.TSRestType,typeAnnotation:l})):l}case E.OptionalType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSOptionalType,typeAnnotation:this.convertChild(t.type)});case E.RestType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSRestType,typeAnnotation:this.convertChild(t.type)});case E.TemplateLiteralType:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.TSTemplateLiteralType,quasis:[this.convertChild(t.head)],types:[]});return t.templateSpans.forEach(v=>{l.types.push(this.convertChild(v.type)),l.quasis.push(this.convertChild(v.literal))}),l}case E.ClassStaticBlockDeclaration:return this.createNode(t,{type:J.AST_NODE_TYPES.StaticBlock,body:this.convertBodyExpressions(t.body.statements,t)});case E.AssertEntry:return this.createNode(t,{type:J.AST_NODE_TYPES.ImportAttribute,key:this.convertChild(t.name),value:this.convertChild(t.value)});case E.SatisfiesExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.TSSatisfiesExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});default:return this.deeplyCopy(t)}}};yn.Converter=K6;Pe=new WeakSet,aw=function(t){if(!this.options.allowInvalidAST){(0,pe.nodeHasIllegalDecorators)(t)&&Ne(this,Pe,"m",st).call(this,t.illegalDecorators[0],"Decorators are not valid here.");for(let r of(0,Zi.getDecorators)(t,!0)??[])(0,pe.nodeCanBeDecorated)(t)||(_t.isMethodDeclaration(t)&&!(0,pe.nodeIsPresent)(t.body)?Ne(this,Pe,"m",st).call(this,r,"A decorator can only decorate a method implementation, not an overload."):Ne(this,Pe,"m",st).call(this,r,"Decorators are not valid here."));for(let r of(0,Zi.getModifiers)(t,!0)??[]){if(r.kind!==E.ReadonlyKeyword&&((t.kind===E.PropertySignature||t.kind===E.MethodSignature)&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier cannot appear on a type member`),t.kind===E.IndexSignature&&(r.kind!==E.StaticKeyword||!_t.isClassLike(t.parent))&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier cannot appear on an index signature`)),r.kind!==E.InKeyword&&r.kind!==E.OutKeyword&&r.kind!==E.ConstKeyword&&t.kind===E.TypeParameter&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier cannot appear on a type parameter`),(r.kind===E.InKeyword||r.kind===E.OutKeyword)&&(t.kind!==E.TypeParameter||!(_t.isInterfaceDeclaration(t.parent)||_t.isClassLike(t.parent)||_t.isTypeAliasDeclaration(t.parent)))&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier can only appear on a type parameter of a class, interface or type alias`),r.kind===E.ReadonlyKeyword&&t.kind!==E.PropertyDeclaration&&t.kind!==E.PropertySignature&&t.kind!==E.IndexSignature&&t.kind!==E.Parameter&&Ne(this,Pe,"m",st).call(this,r,"'readonly' modifier can only appear on a property declaration or index signature."),r.kind===E.DeclareKeyword&&_t.isClassLike(t.parent)&&!_t.isPropertyDeclaration(t)&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier cannot appear on class elements of this kind.`),r.kind===E.DeclareKeyword&&_t.isVariableStatement(t)){let a=(0,pe.getDeclarationKind)(t.declarationList);(a==="using"||a==="await using")&&Ne(this,Pe,"m",st).call(this,r,`'declare' modifier cannot appear on a '${a}' declaration.`)}if(r.kind===E.AbstractKeyword&&t.kind!==E.ClassDeclaration&&t.kind!==E.ConstructorType&&t.kind!==E.MethodDeclaration&&t.kind!==E.PropertyDeclaration&&t.kind!==E.GetAccessor&&t.kind!==E.SetAccessor&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier can only appear on a class, method, or property declaration.`),(r.kind===E.StaticKeyword||r.kind===E.PublicKeyword||r.kind===E.ProtectedKeyword||r.kind===E.PrivateKeyword)&&(t.parent.kind===E.ModuleBlock||t.parent.kind===E.SourceFile)&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier cannot appear on a module or namespace element.`),r.kind===E.AccessorKeyword&&t.kind!==E.PropertyDeclaration&&Ne(this,Pe,"m",st).call(this,r,"'accessor' modifier can only appear on a property declaration."),r.kind===E.AsyncKeyword&&t.kind!==E.MethodDeclaration&&t.kind!==E.FunctionDeclaration&&t.kind!==E.FunctionExpression&&t.kind!==E.ArrowFunction&&Ne(this,Pe,"m",st).call(this,r,"'async' modifier cannot be used here."),t.kind===E.Parameter&&(r.kind===E.StaticKeyword||r.kind===E.ExportKeyword||r.kind===E.DeclareKeyword||r.kind===E.AsyncKeyword)&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier cannot appear on a parameter.`),t.kind===E.Parameter&&(r.kind===E.PublicKeyword||r.kind===E.PrivateKeyword||r.kind===E.ProtectedKeyword||r.kind===E.ReadonlyKeyword||r.kind===E.OverrideKeyword)){let a=(0,pe.getContainingFunction)(t);a.kind===E.Constructor&&(0,pe.nodeIsPresent)(a.body)||Ne(this,Pe,"m",st).call(this,r,"A parameter property is only allowed in a constructor implementation.")}}}},br=function(t,r){this.options.allowInvalidAST||Ne(this,Pe,"m",st).call(this,t,r)},oi=function(t,r,a){let _=!1;return Object.defineProperty(t,r,{configurable:!0,get:this.options.suppressDeprecatedPropertyWarnings?()=>t[a]:()=>(_||((void 0)(`The '${r}' property is deprecated on ${t.type} nodes. Use '${a}' instead. See https://typescript-eslint.io/linting/troubleshooting#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`,"DeprecationWarning"),_=!0),t[a]),set(p){Object.defineProperty(t,r,{enumerable:!0,writable:!0,value:p})}}),t},st=function(t,r){let a,_;throw typeof t=="number"?a=_=t:(a=t.getStart(this.ast),_=t.getEnd()),(0,pe.createError)(r,this.ast,a,_)}});var Zw=ut((CH,Kw)=>{"use strict";var EU=Object.create,Vm=Object.defineProperty,AU=Object.getOwnPropertyDescriptor,kU=Object.getOwnPropertyNames,DU=Object.getPrototypeOf,PU=Object.prototype.hasOwnProperty,IU=(e,t)=>{for(var r in t)Vm(e,r,{get:t[r],enumerable:!0})},cw=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of kU(t))!PU.call(e,_)&&_!==r&&Vm(e,_,{get:()=>t[_],enumerable:!(a=AU(t,_))||a.enumerable});return e},Pr=(e,t,r)=>(r=e!=null?EU(DU(e)):{},cw(t||!e||!e.__esModule?Vm(r,"default",{value:e,enumerable:!0}):r,e)),NU=e=>cw(Vm({},"__esModule",{value:!0}),e),lw={};IU(lw,{forEachComment:()=>MU,forEachToken:()=>uw,getCallSignaturesOfType:()=>tb,getPropertyOfType:()=>gb,getWellKnownSymbolPropertyOfType:()=>Kz,hasDecorators:()=>Fq,hasExpressionInitializer:()=>Nw,hasInitializer:()=>Bq,hasJSDoc:()=>Uq,hasModifiers:()=>qq,hasType:()=>zq,hasTypeArguments:()=>Wq,includesModifier:()=>RU,intersectionTypeParts:()=>nW,isAbstractKeyword:()=>jU,isAccessExpression:()=>Aq,isAccessibilityModifier:()=>sb,isAccessorDeclaration:()=>_b,isAccessorKeyword:()=>mw,isAnyKeyword:()=>FU,isArrayBindingElement:()=>kq,isArrayBindingOrAssignmentPattern:()=>Aw,isAssertKeyword:()=>BU,isAssertsKeyword:()=>UU,isAssignmentKind:()=>hz,isAssignmentPattern:()=>Dq,isAsyncKeyword:()=>qU,isAwaitKeyword:()=>zU,isBigIntKeyword:()=>WU,isBigIntLiteralType:()=>Vz,isBindingOrAssignmentElementRestIndicator:()=>Pq,isBindingOrAssignmentElementTarget:()=>Iq,isBindingOrAssignmentPattern:()=>kw,isBindingPattern:()=>cb,isBlockLike:()=>Nq,isBooleanKeyword:()=>VU,isBooleanLiteral:()=>Dw,isBooleanLiteralType:()=>hb,isClassLikeDeclaration:()=>Hm,isClassMemberModifier:()=>Oq,isColonToken:()=>HU,isCompilerOptionEnabled:()=>ja,isConditionalType:()=>Oz,isConstAssertionExpression:()=>Lw,isConstKeyword:()=>GU,isDeclarationName:()=>Pw,isDeclarationWithTypeParameterChildren:()=>Iw,isDeclarationWithTypeParameters:()=>Mq,isDeclareKeyword:()=>XU,isDefaultKeyword:()=>$U,isDestructuringPattern:()=>Lq,isDotToken:()=>QU,isEndOfFileToken:()=>hw,isEntityNameExpression:()=>hu,isEntityNameOrEntityNameExpression:()=>Jq,isEnumType:()=>Mz,isEqualsGreaterThanToken:()=>YU,isEqualsToken:()=>KU,isEvolvingArrayType:()=>zz,isExclamationToken:()=>ZU,isExportKeyword:()=>eq,isFalseKeyword:()=>tq,isFalseLiteral:()=>yw,isFalseLiteralType:()=>yb,isFalsyType:()=>rW,isForInOrOfStatement:()=>Rq,isFreshableIntrinsicType:()=>Wz,isFreshableType:()=>Vw,isFunctionLikeDeclaration:()=>jq,isFunctionScopeBoundary:()=>mz,isImportExpression:()=>rq,isImportKeyword:()=>nq,isInKeyword:()=>iq,isIndexType:()=>Lz,isIndexedAccessType:()=>Jz,isInputFiles:()=>aq,isInstantiableType:()=>Rz,isIntersectionType:()=>Gm,isIntrinsicAnyType:()=>bz,isIntrinsicBigIntType:()=>Tz,isIntrinsicBooleanType:()=>vz,isIntrinsicESSymbolType:()=>xz,isIntrinsicErrorType:()=>Sz,isIntrinsicNeverType:()=>Cz,isIntrinsicNonPrimitiveType:()=>Ez,isIntrinsicNullType:()=>Az,isIntrinsicNumberType:()=>kz,isIntrinsicStringType:()=>Dz,isIntrinsicType:()=>fb,isIntrinsicUndefinedType:()=>Pz,isIntrinsicUnknownType:()=>Iz,isIntrinsicVoidType:()=>Nz,isIterationStatement:()=>dz,isJSDocComment:()=>Vq,isJSDocNamespaceBody:()=>lb,isJSDocNamespaceDeclaration:()=>Jw,isJSDocText:()=>gw,isJSDocTypeReferencingNode:()=>Hq,isJsonMinusNumericLiteral:()=>bw,isJsonObjectExpression:()=>Gq,isJsxAttributeLike:()=>Xq,isJsxAttributeValue:()=>$q,isJsxChild:()=>Qq,isJsxTagNameExpression:()=>Ow,isJsxTagNamePropertyAccess:()=>Rw,isLiteralToken:()=>Yq,isLiteralType:()=>Hz,isModifierFlagSet:()=>pw,isModuleBody:()=>Kq,isModuleName:()=>Zq,isModuleReference:()=>ez,isNamedDeclarationWithName:()=>jw,isNamedImportBindings:()=>tz,isNamedImportsOrExports:()=>rz,isNamespaceBody:()=>ub,isNamespaceDeclaration:()=>Fw,isNeverKeyword:()=>oq,isNodeFlagSet:()=>fw,isNullKeyword:()=>sq,isNullLiteral:()=>vw,isNumberKeyword:()=>_q,isNumberLiteralType:()=>Gz,isNumericOrStringLikeLiteral:()=>Bw,isNumericPropertyName:()=>Ww,isObjectBindingOrAssignmentElement:()=>nz,isObjectBindingOrAssignmentPattern:()=>Mw,isObjectFlagSet:()=>mu,isObjectKeyword:()=>cq,isObjectType:()=>yu,isObjectTypeDeclaration:()=>iz,isOutKeyword:()=>lq,isOverrideKeyword:()=>uq,isParameterPropertyModifier:()=>az,isPrivateKeyword:()=>Tw,isPropertyAccessEntityNameExpression:()=>Uw,isPropertyNameLiteral:()=>oz,isPropertyReadonlyInType:()=>Qw,isProtectedKeyword:()=>Sw,isPseudoLiteralToken:()=>sz,isPublicKeyword:()=>xw,isQuestionDotToken:()=>pq,isQuestionToken:()=>fq,isReadonlyKeyword:()=>ab,isSignatureDeclaration:()=>pb,isStaticKeyword:()=>ww,isStrictCompilerOptionEnabled:()=>rb,isStringKeyword:()=>dq,isStringLiteralType:()=>Xz,isStringMappingType:()=>jz,isSubstitutionType:()=>Fz,isSuperElementAccessExpression:()=>qw,isSuperExpression:()=>ob,isSuperKeyword:()=>mq,isSuperProperty:()=>_z,isSuperPropertyAccessExpression:()=>zw,isSymbolFlagSet:()=>dw,isSymbolKeyword:()=>hq,isSyntaxList:()=>yq,isTemplateLiteralType:()=>$z,isThenableType:()=>_W,isThisExpression:()=>Cw,isThisKeyword:()=>gq,isTrueKeyword:()=>bq,isTrueLiteral:()=>Ew,isTrueLiteralType:()=>Qz,isTupleType:()=>Gw,isTupleTypeReference:()=>$w,isTypeFlagSet:()=>tt,isTypeOnlyCompatibleAliasDeclaration:()=>cz,isTypeParameter:()=>Bz,isTypeReference:()=>Xw,isTypeReferenceType:()=>lz,isTypeVariable:()=>Uz,isUndefinedKeyword:()=>vq,isUnionOrIntersectionType:()=>qz,isUnionOrIntersectionTypeNode:()=>uz,isUnionType:()=>mb,isUniqueESSymbolType:()=>Hw,isUnknownKeyword:()=>Tq,isUnknownLiteralType:()=>Yz,isUnparsedPrologue:()=>Sq,isUnparsedSourceText:()=>pz,isUnparsedSyntheticReference:()=>xq,isValidPropertyAccess:()=>yz,isVariableLikeDeclaration:()=>fz,isVoidKeyword:()=>wq,symbolHasReadonlyDeclaration:()=>Yw,unionTypeParts:()=>du});Kw.exports=NU(lw);var Zr=Pr(Dt(),1),ow=Pr(Dt(),1);function uw(e,t,r=e.getSourceFile()){let a=[];for(;;){if(ow.default.isTokenKind(e.kind))t(e);else if(e.kind!==ow.default.SyntaxKind.JSDocComment){let _=e.getChildren(r);if(_.length===1){e=_[0];continue}for(let p=_.length-1;p>=0;--p)a.push(_[p])}if(a.length===0)break;e=a.pop()}}function OU(e){switch(e.kind){case Zr.default.SyntaxKind.CloseBraceToken:return e.parent.kind!==Zr.default.SyntaxKind.JsxExpression||!eb(e.parent.parent);case Zr.default.SyntaxKind.GreaterThanToken:switch(e.parent.kind){case Zr.default.SyntaxKind.JsxOpeningElement:return e.end!==e.parent.end;case Zr.default.SyntaxKind.JsxOpeningFragment:return!1;case Zr.default.SyntaxKind.JsxSelfClosingElement:return e.end!==e.parent.end||!eb(e.parent.parent);case Zr.default.SyntaxKind.JsxClosingElement:case Zr.default.SyntaxKind.JsxClosingFragment:return!eb(e.parent.parent.parent)}}return!0}function eb(e){return e.kind===Zr.default.SyntaxKind.JsxElement||e.kind===Zr.default.SyntaxKind.JsxFragment}function MU(e,t,r=e.getSourceFile()){let a=r.text,_=r.languageVariant!==Zr.default.LanguageVariant.JSX;return uw(e,d=>{if(d.pos!==d.end&&(d.kind!==Zr.default.SyntaxKind.JsxText&&Zr.default.forEachLeadingCommentRange(a,d.pos===0?(Zr.default.getShebang(a)??"").length:d.pos,p),_||OU(d)))return Zr.default.forEachTrailingCommentRange(a,d.end,p)},r);function p(d,h,l){t(a,{pos:d,end:h,kind:l})}}var LU=Pr(Dt(),1);function ja(e,t){switch(t){case"stripInternal":case"declarationMap":case"emitDeclarationOnly":return e[t]===!0&&ja(e,"declaration");case"declaration":return e.declaration||ja(e,"composite");case"incremental":return e.incremental===void 0?ja(e,"composite"):e.incremental;case"skipDefaultLibCheck":return e.skipDefaultLibCheck||ja(e,"skipLibCheck");case"suppressImplicitAnyIndexErrors":return e.suppressImplicitAnyIndexErrors===!0&&ja(e,"noImplicitAny");case"allowSyntheticDefaultImports":return e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:ja(e,"esModuleInterop")||e.module===LU.default.ModuleKind.System;case"noUncheckedIndexedAccess":return e.noUncheckedIndexedAccess===!0&&ja(e,"strictNullChecks");case"allowJs":return e.allowJs===void 0?ja(e,"checkJs"):e.allowJs;case"noImplicitAny":case"noImplicitThis":case"strictNullChecks":case"strictFunctionTypes":case"strictPropertyInitialization":case"alwaysStrict":case"strictBindCallApply":return rb(e,t)}return e[t]===!0}function rb(e,t){return(e.strict?e[t]!==!1:e[t]===!0)&&(t!=="strictPropertyInitialization"||rb(e,"strictNullChecks"))}var JU=Pr(Dt(),1);function nb(e,t){return(e&t)!==0}function ib(e,t){return nb(e.flags,t)}function pw(e,t){return nb(JU.default.getCombinedModifierFlags(e),t)}var fw=ib;function mu(e,t){return nb(e.objectFlags,t)}var dw=ib,tt=ib;function RU(e,...t){if(e===void 0)return!1;for(let r of e)if(t.includes(r.kind))return!0;return!1}var pr=Pr(Dt(),1),Fe=Pr(Dt(),1);function jU(e){return e.kind===Fe.default.SyntaxKind.AbstractKeyword}function mw(e){return e.kind===Fe.default.SyntaxKind.AccessorKeyword}function FU(e){return e.kind===Fe.default.SyntaxKind.AnyKeyword}function BU(e){return e.kind===Fe.default.SyntaxKind.AssertKeyword}function UU(e){return e.kind===Fe.default.SyntaxKind.AssertsKeyword}function qU(e){return e.kind===Fe.default.SyntaxKind.AsyncKeyword}function zU(e){return e.kind===Fe.default.SyntaxKind.AwaitKeyword}function WU(e){return e.kind===Fe.default.SyntaxKind.BigIntKeyword}function VU(e){return e.kind===Fe.default.SyntaxKind.BooleanKeyword}function HU(e){return e.kind===Fe.default.SyntaxKind.ColonToken}function GU(e){return e.kind===Fe.default.SyntaxKind.ConstKeyword}function XU(e){return e.kind===Fe.default.SyntaxKind.DeclareKeyword}function $U(e){return e.kind===Fe.default.SyntaxKind.DefaultKeyword}function QU(e){return e.kind===Fe.default.SyntaxKind.DotToken}function hw(e){return e.kind===Fe.default.SyntaxKind.EndOfFileToken}function YU(e){return e.kind===Fe.default.SyntaxKind.EqualsGreaterThanToken}function KU(e){return e.kind===Fe.default.SyntaxKind.EqualsToken}function ZU(e){return e.kind===Fe.default.SyntaxKind.ExclamationToken}function eq(e){return e.kind===Fe.default.SyntaxKind.ExportKeyword}function tq(e){return e.kind===Fe.default.SyntaxKind.FalseKeyword}function yw(e){return e.kind===Fe.default.SyntaxKind.FalseKeyword}function rq(e){return e.kind===Fe.default.SyntaxKind.ImportKeyword}function nq(e){return e.kind===Fe.default.SyntaxKind.ImportKeyword}function iq(e){return e.kind===Fe.default.SyntaxKind.InKeyword}function aq(e){return e.kind===Fe.default.SyntaxKind.InputFiles}function gw(e){return e.kind===Fe.default.SyntaxKind.JSDocText}function bw(e){return e.kind===Fe.default.SyntaxKind.PrefixUnaryExpression}function oq(e){return e.kind===Fe.default.SyntaxKind.NeverKeyword}function sq(e){return e.kind===Fe.default.SyntaxKind.NullKeyword}function vw(e){return e.kind===Fe.default.SyntaxKind.NullKeyword}function _q(e){return e.kind===Fe.default.SyntaxKind.NumberKeyword}function cq(e){return e.kind===Fe.default.SyntaxKind.ObjectKeyword}function lq(e){return e.kind===Fe.default.SyntaxKind.OutKeyword}function uq(e){return e.kind===Fe.default.SyntaxKind.OverrideKeyword}function Tw(e){return e.kind===Fe.default.SyntaxKind.PrivateKeyword}function Sw(e){return e.kind===Fe.default.SyntaxKind.ProtectedKeyword}function xw(e){return e.kind===Fe.default.SyntaxKind.PublicKeyword}function pq(e){return e.kind===Fe.default.SyntaxKind.QuestionDotToken}function fq(e){return e.kind===Fe.default.SyntaxKind.QuestionToken}function ab(e){return e.kind===Fe.default.SyntaxKind.ReadonlyKeyword}function ww(e){return e.kind===Fe.default.SyntaxKind.StaticKeyword}function dq(e){return e.kind===Fe.default.SyntaxKind.StringKeyword}function ob(e){return e.kind===Fe.default.SyntaxKind.SuperKeyword}function mq(e){return e.kind===Fe.default.SyntaxKind.SuperKeyword}function hq(e){return e.kind===Fe.default.SyntaxKind.SymbolKeyword}function yq(e){return e.kind===Fe.default.SyntaxKind.SyntaxList}function Cw(e){return e.kind===Fe.default.SyntaxKind.ThisKeyword}function gq(e){return e.kind===Fe.default.SyntaxKind.ThisKeyword}function bq(e){return e.kind===Fe.default.SyntaxKind.TrueKeyword}function Ew(e){return e.kind===Fe.default.SyntaxKind.TrueKeyword}function vq(e){return e.kind===Fe.default.SyntaxKind.UndefinedKeyword}function Tq(e){return e.kind===Fe.default.SyntaxKind.UnknownKeyword}function Sq(e){return e.kind===Fe.default.SyntaxKind.UnparsedPrologue}function xq(e){return e.kind===Fe.default.SyntaxKind.UnparsedSyntheticReference}function wq(e){return e.kind===Fe.default.SyntaxKind.VoidKeyword}var D=Pr(Dt(),1),Cq=Pr(Dt(),1),[sw,Eq]=Cq.default.versionMajorMinor.split(".").map(e=>Number.parseInt(e,10));function fu(e,t=0){return sw>e||sw===e&&Eq>=t}function Aq(e){return D.default.isPropertyAccessExpression(e)||D.default.isElementAccessExpression(e)}function sb(e){return xw(e)||Tw(e)||Sw(e)}function _b(e){return D.default.isGetAccessorDeclaration(e)||D.default.isSetAccessorDeclaration(e)}function kq(e){return D.default.isBindingElement(e)||D.default.isOmittedExpression(e)}function Aw(e){return D.default.isArrayBindingPattern(e)||D.default.isArrayLiteralExpression(e)}function Dq(e){return D.default.isObjectLiteralExpression(e)||D.default.isArrayLiteralExpression(e)}function Pq(e){return D.default.isSpreadElement(e)||D.default.isSpreadAssignment(e)?!0:fu(4,4)?D.default.isDotDotDotToken(e):!1}function Iq(e){return kw(e)||D.default.isIdentifier(e)||D.default.isPropertyAccessExpression(e)||D.default.isElementAccessExpression(e)||D.default.isOmittedExpression(e)}function kw(e){return Mw(e)||Aw(e)}function cb(e){return D.default.isObjectBindingPattern(e)||D.default.isArrayBindingPattern(e)}function Nq(e){return D.default.isSourceFile(e)||D.default.isBlock(e)||D.default.isModuleBlock(e)||D.default.isCaseOrDefaultClause(e)}function Dw(e){return Ew(e)||yw(e)}function Hm(e){return D.default.isClassDeclaration(e)||D.default.isClassExpression(e)}function Oq(e){return sb(e)||ab(e)||ww(e)||mw(e)}function Pw(e){return D.default.isIdentifier(e)||D.default.isPrivateIdentifier(e)||D.default.isStringLiteralLike(e)||D.default.isNumericLiteral(e)||D.default.isComputedPropertyName(e)||D.default.isElementAccessExpression(e)||cb(e)||hu(e)}function Iw(e){return pb(e)||Hm(e)||D.default.isInterfaceDeclaration(e)||D.default.isTypeAliasDeclaration(e)||D.default.isJSDocTemplateTag(e)}function Mq(e){return Iw(e)||D.default.isJSDocTypedefTag(e)||D.default.isJSDocCallbackTag(e)||D.default.isJSDocSignature(e)}function Lq(e){return cb(e)||D.default.isObjectLiteralExpression(e)||D.default.isArrayLiteralExpression(e)}function hu(e){return D.default.isIdentifier(e)||Uw(e)}function Jq(e){return D.default.isEntityName(e)||hu(e)}function Rq(e){return D.default.isForInStatement(e)||D.default.isForOfStatement(e)}function jq(e){return D.default.isFunctionDeclaration(e)||D.default.isMethodDeclaration(e)||D.default.isGetAccessorDeclaration(e)||D.default.isSetAccessorDeclaration(e)||D.default.isConstructorDeclaration(e)||D.default.isFunctionExpression(e)||D.default.isArrowFunction(e)}function Fq(e){return D.default.isParameter(e)||D.default.isPropertyDeclaration(e)||D.default.isMethodDeclaration(e)||D.default.isGetAccessorDeclaration(e)||D.default.isSetAccessorDeclaration(e)||D.default.isClassExpression(e)||D.default.isClassDeclaration(e)}function Nw(e){return D.default.isVariableDeclaration(e)||D.default.isParameter(e)||D.default.isBindingElement(e)||D.default.isPropertyDeclaration(e)||D.default.isPropertyAssignment(e)||D.default.isEnumMember(e)}function Bq(e){return Nw(e)||D.default.isForStatement(e)||D.default.isForInStatement(e)||D.default.isForOfStatement(e)||D.default.isJsxAttribute(e)}function Uq(e){return!!(_b(e)||D.default.isArrowFunction(e)||D.default.isBlock(e)||D.default.isBreakStatement(e)||D.default.isCallSignatureDeclaration(e)||D.default.isCaseClause(e)||Hm(e)||D.default.isConstructorDeclaration(e)||D.default.isConstructorTypeNode(e)||D.default.isConstructSignatureDeclaration(e)||D.default.isContinueStatement(e)||D.default.isDebuggerStatement(e)||D.default.isDoStatement(e)||D.default.isEmptyStatement(e)||hw(e)||D.default.isEnumDeclaration(e)||D.default.isEnumMember(e)||D.default.isExportAssignment(e)||D.default.isExportDeclaration(e)||D.default.isExportSpecifier(e)||D.default.isExpressionStatement(e)||D.default.isForInStatement(e)||D.default.isForOfStatement(e)||D.default.isForStatement(e)||D.default.isFunctionDeclaration(e)||D.default.isFunctionExpression(e)||D.default.isFunctionTypeNode(e)||D.default.isIfStatement(e)||D.default.isImportDeclaration(e)||D.default.isImportEqualsDeclaration(e)||D.default.isIndexSignatureDeclaration(e)||D.default.isInterfaceDeclaration(e)||D.default.isJSDocFunctionType(e)||D.default.isLabeledStatement(e)||D.default.isMethodDeclaration(e)||D.default.isMethodSignature(e)||D.default.isModuleDeclaration(e)||D.default.isNamedTupleMember(e)||D.default.isNamespaceExportDeclaration(e)||D.default.isParameter(e)||D.default.isParenthesizedExpression(e)||D.default.isPropertyAssignment(e)||D.default.isPropertyDeclaration(e)||D.default.isPropertySignature(e)||D.default.isReturnStatement(e)||D.default.isShorthandPropertyAssignment(e)||D.default.isSpreadAssignment(e)||D.default.isSwitchStatement(e)||D.default.isThrowStatement(e)||D.default.isTryStatement(e)||D.default.isTypeAliasDeclaration(e)||D.default.isVariableDeclaration(e)||D.default.isVariableStatement(e)||D.default.isWhileStatement(e)||D.default.isWithStatement(e)||fu(4,4)&&D.default.isClassStaticBlockDeclaration(e)||fu(5,0)&&(D.default.isBinaryExpression(e)||D.default.isElementAccessExpression(e)||D.default.isIdentifier(e)||D.default.isJSDocSignature(e)||D.default.isObjectLiteralExpression(e)||D.default.isPropertyAccessExpression(e)||D.default.isTypeParameterDeclaration(e)))}function qq(e){return D.default.isTypeParameterDeclaration(e)||D.default.isParameter(e)||D.default.isConstructorTypeNode(e)||D.default.isPropertySignature(e)||D.default.isPropertyDeclaration(e)||D.default.isMethodSignature(e)||D.default.isMethodDeclaration(e)||D.default.isConstructorDeclaration(e)||D.default.isGetAccessorDeclaration(e)||D.default.isSetAccessorDeclaration(e)||D.default.isIndexSignatureDeclaration(e)||D.default.isFunctionExpression(e)||D.default.isArrowFunction(e)||D.default.isClassExpression(e)||D.default.isVariableStatement(e)||D.default.isFunctionDeclaration(e)||D.default.isClassDeclaration(e)||D.default.isInterfaceDeclaration(e)||D.default.isTypeAliasDeclaration(e)||D.default.isEnumDeclaration(e)||D.default.isModuleDeclaration(e)||D.default.isImportEqualsDeclaration(e)||D.default.isImportDeclaration(e)||D.default.isExportAssignment(e)||D.default.isExportDeclaration(e)}function zq(e){return pb(e)||D.default.isVariableDeclaration(e)||D.default.isParameter(e)||D.default.isPropertySignature(e)||D.default.isPropertyDeclaration(e)||D.default.isTypePredicateNode(e)||D.default.isParenthesizedTypeNode(e)||D.default.isTypeOperatorNode(e)||D.default.isMappedTypeNode(e)||D.default.isAssertionExpression(e)||D.default.isTypeAliasDeclaration(e)||D.default.isJSDocTypeExpression(e)||D.default.isJSDocNonNullableType(e)||D.default.isJSDocNullableType(e)||D.default.isJSDocOptionalType(e)||D.default.isJSDocVariadicType(e)}function Wq(e){return D.default.isCallExpression(e)||D.default.isNewExpression(e)||D.default.isTaggedTemplateExpression(e)||D.default.isJsxOpeningElement(e)||D.default.isJsxSelfClosingElement(e)}function Vq(e){return gw(e)?!0:fu(4,4)?D.default.isJSDocLink(e)||D.default.isJSDocLinkCode(e)||D.default.isJSDocLinkPlain(e):!1}function lb(e){return D.default.isIdentifier(e)||Jw(e)}function Hq(e){return D.default.isJSDocVariadicType(e)||D.default.isJSDocOptionalType(e)||D.default.isJSDocNullableType(e)||D.default.isJSDocNonNullableType(e)}function Gq(e){return D.default.isObjectLiteralExpression(e)||D.default.isArrayLiteralExpression(e)||bw(e)||D.default.isNumericLiteral(e)||D.default.isStringLiteral(e)||Dw(e)||vw(e)}function Xq(e){return D.default.isJsxAttribute(e)||D.default.isJsxSpreadAttribute(e)}function $q(e){return D.default.isStringLiteral(e)||D.default.isJsxExpression(e)||D.default.isJsxElement(e)||D.default.isJsxSelfClosingElement(e)||D.default.isJsxFragment(e)}function Qq(e){return D.default.isJsxText(e)||D.default.isJsxExpression(e)||D.default.isJsxElement(e)||D.default.isJsxSelfClosingElement(e)||D.default.isJsxFragment(e)}function Ow(e){return D.default.isIdentifier(e)||Cw(e)||Rw(e)}function Yq(e){return D.default.isNumericLiteral(e)||D.default.isBigIntLiteral(e)||D.default.isStringLiteral(e)||D.default.isJsxText(e)||D.default.isRegularExpressionLiteral(e)||D.default.isNoSubstitutionTemplateLiteral(e)}function Kq(e){return ub(e)||lb(e)}function Zq(e){return D.default.isIdentifier(e)||D.default.isStringLiteral(e)}function ez(e){return D.default.isEntityName(e)||D.default.isExternalModuleReference(e)}function tz(e){return D.default.isNamespaceImport(e)||D.default.isNamedImports(e)}function rz(e){return D.default.isNamedImports(e)||D.default.isNamedExports(e)}function ub(e){return D.default.isModuleBlock(e)||Fw(e)}function nz(e){return D.default.isBindingElement(e)||D.default.isPropertyAssignment(e)||D.default.isShorthandPropertyAssignment(e)||D.default.isSpreadAssignment(e)}function Mw(e){return D.default.isObjectBindingPattern(e)||D.default.isObjectLiteralExpression(e)}function iz(e){return Hm(e)||D.default.isInterfaceDeclaration(e)||D.default.isTypeLiteralNode(e)}function az(e){return sb(e)||ab(e)}function oz(e){return D.default.isIdentifier(e)||D.default.isStringLiteralLike(e)||D.default.isNumericLiteral(e)}function sz(e){return D.default.isTemplateHead(e)||D.default.isTemplateMiddle(e)||D.default.isTemplateTail(e)}function pb(e){return D.default.isCallSignatureDeclaration(e)||D.default.isConstructSignatureDeclaration(e)||D.default.isMethodSignature(e)||D.default.isIndexSignatureDeclaration(e)||D.default.isFunctionTypeNode(e)||D.default.isConstructorTypeNode(e)||D.default.isJSDocFunctionType(e)||D.default.isFunctionDeclaration(e)||D.default.isMethodDeclaration(e)||D.default.isConstructorDeclaration(e)||_b(e)||D.default.isFunctionExpression(e)||D.default.isArrowFunction(e)}function _z(e){return zw(e)||qw(e)}function cz(e){return!!(D.default.isImportClause(e)||D.default.isImportEqualsDeclaration(e)||D.default.isNamespaceImport(e)||D.default.isImportOrExportSpecifier(e)||fu(5,0)&&(D.default.isExportDeclaration(e)||D.default.isNamespaceExport(e)))}function lz(e){return D.default.isTypeReferenceNode(e)||D.default.isExpressionWithTypeArguments(e)}function uz(e){return D.default.isUnionTypeNode(e)||D.default.isIntersectionTypeNode(e)}function pz(e){return D.default.isUnparsedPrepend(e)||D.default.isUnparsedTextLike(e)}function fz(e){return D.default.isVariableDeclaration(e)||D.default.isParameter(e)||D.default.isBindingElement(e)||D.default.isPropertyDeclaration(e)||D.default.isPropertyAssignment(e)||D.default.isPropertySignature(e)||D.default.isJsxAttribute(e)||D.default.isShorthandPropertyAssignment(e)||D.default.isEnumMember(e)||D.default.isJSDocPropertyTag(e)||D.default.isJSDocParameterTag(e)}function Lw(e){return pr.default.isTypeReferenceNode(e.type)&&pr.default.isIdentifier(e.type.typeName)&&e.type.typeName.escapedText==="const"}function dz(e){switch(e.kind){case pr.default.SyntaxKind.DoStatement:case pr.default.SyntaxKind.ForInStatement:case pr.default.SyntaxKind.ForOfStatement:case pr.default.SyntaxKind.ForStatement:case pr.default.SyntaxKind.WhileStatement:return!0;default:return!1}}function Jw(e){return pr.default.isModuleDeclaration(e)&&pr.default.isIdentifier(e.name)&&(e.body===void 0||lb(e.body))}function Rw(e){return pr.default.isPropertyAccessExpression(e)&&Ow(e.expression)}function jw(e){return"name"in e&&e.name!==void 0&&e.name!==null&&Pw(e.name)}function Fw(e){return pr.default.isModuleDeclaration(e)&&pr.default.isIdentifier(e.name)&&e.body!==void 0&&ub(e.body)}function Bw(e){switch(e.kind){case pr.default.SyntaxKind.StringLiteral:case pr.default.SyntaxKind.NumericLiteral:case pr.default.SyntaxKind.NoSubstitutionTemplateLiteral:return!0;default:return!1}}function Uw(e){return pr.default.isPropertyAccessExpression(e)&&pr.default.isIdentifier(e.name)&&hu(e.expression)}function qw(e){return pr.default.isElementAccessExpression(e)&&ob(e.expression)}function zw(e){return pr.default.isPropertyAccessExpression(e)&&ob(e.expression)}var vr=Pr(Dt(),1);function mz(e){switch(e.kind){case vr.default.SyntaxKind.FunctionExpression:case vr.default.SyntaxKind.ArrowFunction:case vr.default.SyntaxKind.Constructor:case vr.default.SyntaxKind.ModuleDeclaration:case vr.default.SyntaxKind.ClassDeclaration:case vr.default.SyntaxKind.ClassExpression:case vr.default.SyntaxKind.EnumDeclaration:case vr.default.SyntaxKind.MethodDeclaration:case vr.default.SyntaxKind.FunctionDeclaration:case vr.default.SyntaxKind.GetAccessor:case vr.default.SyntaxKind.SetAccessor:case vr.default.SyntaxKind.MethodSignature:case vr.default.SyntaxKind.CallSignature:case vr.default.SyntaxKind.ConstructSignature:case vr.default.SyntaxKind.ConstructorType:case vr.default.SyntaxKind.FunctionType:return!0;case vr.default.SyntaxKind.SourceFile:return vr.default.isExternalModule(e);default:return!1}}var pu=Pr(Dt(),1);function hz(e){return e>=pu.default.SyntaxKind.FirstAssignment&&e<=pu.default.SyntaxKind.LastAssignment}function Ww(e){return String(+e)===e}function _w(e){return e>=65536?2:1}function yz(e,t=pu.default.ScriptTarget.Latest){if(e.length===0)return!1;let r=e.codePointAt(0);if(!pu.default.isIdentifierStart(r,t))return!1;for(let a=_w(r);a<e.length;a+=_w(r))if(r=e.codePointAt(a),!pu.default.isIdentifierPart(r,t))return!1;return!0}var gz=Pr(Dt(),1),Pt=Pr(Dt(),1);function bz(e){return tt(e,Pt.default.TypeFlags.Any)}function vz(e){return tt(e,Pt.default.TypeFlags.Boolean)}function Tz(e){return tt(e,Pt.default.TypeFlags.BigInt)}function Sz(e){return fb(e)&&e.intrinsicName==="error"}function xz(e){return tt(e,Pt.default.TypeFlags.ESSymbol)}var wz=Pt.default.TypeFlags.Intrinsic??Pt.default.TypeFlags.Any|Pt.default.TypeFlags.Unknown|Pt.default.TypeFlags.String|Pt.default.TypeFlags.Number|Pt.default.TypeFlags.BigInt|Pt.default.TypeFlags.Boolean|Pt.default.TypeFlags.BooleanLiteral|Pt.default.TypeFlags.ESSymbol|Pt.default.TypeFlags.Void|Pt.default.TypeFlags.Undefined|Pt.default.TypeFlags.Null|Pt.default.TypeFlags.Never|Pt.default.TypeFlags.NonPrimitive;function fb(e){return tt(e,wz)}function Cz(e){return tt(e,Pt.default.TypeFlags.Never)}function Ez(e){return tt(e,Pt.default.TypeFlags.NonPrimitive)}function Az(e){return tt(e,Pt.default.TypeFlags.Null)}function kz(e){return tt(e,Pt.default.TypeFlags.Number)}function Dz(e){return tt(e,Pt.default.TypeFlags.String)}function Pz(e){return tt(e,Pt.default.TypeFlags.Undefined)}function Iz(e){return tt(e,Pt.default.TypeFlags.Unknown)}function Nz(e){return tt(e,Pt.default.TypeFlags.Void)}var db=Pr(Dt(),1),en=Pr(Dt(),1);function Oz(e){return tt(e,en.default.TypeFlags.Conditional)}function Mz(e){return tt(e,en.default.TypeFlags.Enum)}function Vw(e){return tt(e,en.default.TypeFlags.Freshable)}function Lz(e){return tt(e,en.default.TypeFlags.Index)}function Jz(e){return tt(e,en.default.TypeFlags.IndexedAccess)}function Rz(e){return tt(e,en.default.TypeFlags.Instantiable)}function Gm(e){return tt(e,en.default.TypeFlags.Intersection)}function yu(e){return tt(e,en.default.TypeFlags.Object)}function jz(e){return tt(e,en.default.TypeFlags.StringMapping)}function Fz(e){return tt(e,en.default.TypeFlags.Substitution)}function Bz(e){return tt(e,en.default.TypeFlags.TypeParameter)}function Uz(e){return tt(e,en.default.TypeFlags.TypeVariable)}function mb(e){return tt(e,en.default.TypeFlags.Union)}function qz(e){return tt(e,en.default.TypeFlags.UnionOrIntersection)}function Hw(e){return tt(e,en.default.TypeFlags.UniqueESSymbol)}function zz(e){return yu(e)&&mu(e,db.default.ObjectFlags.EvolvingArray)}function Gw(e){return yu(e)&&mu(e,db.default.ObjectFlags.Tuple)}function Xw(e){return yu(e)&&mu(e,db.default.ObjectFlags.Reference)}function Wz(e){return fb(e)&&Vw(e)}function $w(e){return Xw(e)&&Gw(e.target)}var us=Pr(Dt(),1);function hb(e){return tt(e,us.default.TypeFlags.BooleanLiteral)}function Vz(e){return tt(e,us.default.TypeFlags.BigIntLiteral)}function yb(e){return hb(e)&&e.intrinsicName==="false"}function Hz(e){return tt(e,us.default.TypeFlags.Literal)}function Gz(e){return tt(e,us.default.TypeFlags.NumberLiteral)}function Xz(e){return tt(e,us.default.TypeFlags.StringLiteral)}function $z(e){return tt(e,us.default.TypeFlags.TemplateLiteral)}function Qz(e){return hb(e)&&e.intrinsicName==="true"}function Yz(e){return tt(e,us.default.TypeFlags.Literal)}function tb(e){if(mb(e)){let t=[];for(let r of e.types)t.push(...tb(r));return t}if(Gm(e)){let t;for(let r of e.types){let a=tb(r);if(a.length!==0){if(t!==void 0)return[];t=a}}return t===void 0?[]:t}return e.getCallSignatures()}function gb(e,t){return t.startsWith("__")?e.getProperties().find(r=>r.escapedName===t):e.getProperty(t)}function Kz(e,t,r){let a="__@"+t;for(let _ of e.getProperties()){if(!_.name.startsWith(a))continue;let p=_.valueDeclaration??_.getDeclarations()[0];if(!jw(p)||p.name===void 0||!gz.default.isComputedPropertyName(p.name))continue;let d=r.getApparentType(r.getTypeAtLocation(p.name.expression)).symbol;if(_.escapedName===Zz(r,d,t))return _}}function Zz(e,t,r){let a=t&&e.getTypeOfSymbolAtLocation(t,t.valueDeclaration).getProperty(r),_=a&&e.getTypeOfSymbolAtLocation(a,a.valueDeclaration);return _&&Hw(_)?_.escapedName:"__@"+r}var ur=Pr(Dt(),1),gn=Pr(Dt(),1);function eW(e){return e.arguments.length===3&&hu(e.arguments[0])&&Bw(e.arguments[1])&&gn.default.isPropertyAccessExpression(e.expression)&&e.expression.name.escapedText==="defineProperty"&&gn.default.isIdentifier(e.expression.expression)&&e.expression.expression.escapedText==="Object"}function tW(e){let t=e;for(;;){let r=t.parent;e:switch(r.kind){case gn.default.SyntaxKind.TypeAssertionExpression:case gn.default.SyntaxKind.AsExpression:return Lw(r);case gn.default.SyntaxKind.PrefixUnaryExpression:if(t.kind!==gn.default.SyntaxKind.NumericLiteral)return!1;switch(r.operator){case gn.default.SyntaxKind.PlusToken:case gn.default.SyntaxKind.MinusToken:t=r;break e;default:return!1}case gn.default.SyntaxKind.PropertyAssignment:if(r.initializer!==t)return!1;t=r.parent;break;case gn.default.SyntaxKind.ShorthandPropertyAssignment:t=r.parent;break;case gn.default.SyntaxKind.ParenthesizedExpression:case gn.default.SyntaxKind.ArrayLiteralExpression:case gn.default.SyntaxKind.ObjectLiteralExpression:case gn.default.SyntaxKind.TemplateExpression:t=r;break;default:return!1}}}function rW(e){return tt(e,ur.default.TypeFlags.Undefined|ur.default.TypeFlags.Null|ur.default.TypeFlags.Void)?!0:e.isLiteral()?!e.value:yb(e)}function nW(e){return Gm(e)?e.types:[e]}function iW(e,t,r){return(Gm(e)?e.types:[e]).some(_=>{let p=gb(_,t);if(p===void 0)return!1;if(p.flags&ur.default.SymbolFlags.Transient){if(/^(?:[1-9]\d*|0)$/.test(t)&&$w(_))return _.target.readonly;switch(aW(_,t,r)){case!0:return!0;case!1:return!1;default:}}return!!(dw(p,ur.default.SymbolFlags.ValueModule)||Yw(p,r))})}function aW(e,t,r){if(!yu(e)||!mu(e,ur.default.ObjectFlags.Mapped))return;let a=e.symbol.declarations[0];if(a.readonlyToken!==void 0&&!/^__@[^@]+$/.test(t))return a.readonlyToken.kind!==ur.default.SyntaxKind.MinusToken;let{modifiersType:_}=e;return _&&Qw(_,t,r)}function oW(e,t,r){let a=e.getApparentType(e.getTypeOfSymbolAtLocation(t,r));if(t.valueDeclaration.dotDotDotToken&&(a=a.getNumberIndexType(),a===void 0))return!1;for(let _ of du(a))if(_.getCallSignatures().length!==0)return!0;return!1}function Qw(e,t,r){let a=!1,_=!1;for(let p of du(e))if(gb(p,t)===void 0){let d=(Ww(t)?r.getIndexInfoOfType(p,ur.default.IndexKind.Number):void 0)??r.getIndexInfoOfType(p,ur.default.IndexKind.String);if(d!=null&&d.isReadonly){if(a)return!0;_=!0}}else{if(_||iW(p,t,r))return!0;a=!0}return!1}function sW(e,t){if(!eW(e))return!1;let r=t.getTypeAtLocation(e.arguments[2]);if(r.getProperty("value")===void 0)return r.getProperty("set")===void 0;let a=r.getProperty("writable");if(a===void 0)return!1;let _=a.valueDeclaration!==void 0&&ur.default.isPropertyAssignment(a.valueDeclaration)?t.getTypeAtLocation(a.valueDeclaration.initializer):t.getTypeOfSymbolAtLocation(a,e.arguments[2]);return yb(_)}function _W(e,t,r=e.getTypeAtLocation(t)){for(let a of du(e.getApparentType(r))){let _=a.getProperty("then");if(_===void 0)continue;let p=e.getTypeOfSymbolAtLocation(_,t);for(let d of du(p))for(let h of d.getCallSignatures())if(h.parameters.length!==0&&oW(e,h.parameters[0],t))return!0}return!1}function Yw(e,t){var r;return!!((e.flags&ur.default.SymbolFlags.Accessor)===ur.default.SymbolFlags.GetAccessor||(r=e.declarations)!=null&&r.some(a=>pw(a,ur.default.ModifierFlags.Readonly)||ur.default.isVariableDeclaration(a)&&fw(a.parent,ur.default.NodeFlags.Const)||ur.default.isCallExpression(a)&&sW(a,t)||ur.default.isEnumMember(a)||(ur.default.isPropertyAssignment(a)||ur.default.isShorthandPropertyAssignment(a))&&tW(a.parent)))}function du(e){return mb(e)?e.types:[e]}});var n9=ut(ea=>{"use strict";var cW=ea&&ea.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),lW=ea&&ea.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r9=ea&&ea.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&cW(t,e,r);return lW(t,e),t};Object.defineProperty(ea,"__esModule",{value:!0});ea.convertComments=void 0;var uW=r9(Zw()),e9=r9(Dt()),pW=Wm(),t9=Um();function fW(e,t){let r=[];return uW.forEachComment(e,(a,_)=>{let p=_.kind===e9.SyntaxKind.SingleLineCommentTrivia?t9.AST_TOKEN_TYPES.Line:t9.AST_TOKEN_TYPES.Block,d=[_.pos,_.end],h=(0,pW.getLocFor)(d,e),l=d[0]+2,v=_.kind===e9.SyntaxKind.SingleLineCommentTrivia?d[1]-l:d[1]-l-2;r.push({type:p,value:t.slice(l,l+v),range:d,loc:h})},e),r}ea.convertComments=fW});var a9=ut(Xm=>{"use strict";Object.defineProperty(Xm,"__esModule",{value:!0});Xm.astConverter=void 0;var i9=Z6(),dW=n9(),mW=Wm(),hW={};function yW(e,t,r){let{parseDiagnostics:a}=e;if(a.length)throw(0,i9.convertError)(a[0]);let _=new i9.Converter(e,{allowInvalidAST:t.allowInvalidAST,errorOnUnknownASTType:t.errorOnUnknownASTType,shouldPreserveNodeMaps:r,suppressDeprecatedPropertyWarnings:t.suppressDeprecatedPropertyWarnings}),p=_.convertProgram();(!t.range||!t.loc)&&(0,hW.simpleTraverse)(p,{enter:h=>{t.range||delete h.range,t.loc||delete h.loc}}),t.tokens&&(p.tokens=(0,mW.convertTokens)(e)),t.comment&&(p.comments=(0,dW.convertComments)(e,t.codeFullText));let d=_.getASTMaps();return{estree:p,astMaps:d}}Xm.astConverter=yW});var bb=ut(si=>{"use strict";var gW=si&&si.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),bW=si&&si.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),vW=si&&si.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&gW(t,e,r);return bW(t,e),t};Object.defineProperty(si,"__esModule",{value:!0});si.getCodeText=si.isSourceFile=void 0;var TW=vW(Dt());function o9(e){if(typeof e!="object"||e==null)return!1;let t=e;return t.kind===TW.SyntaxKind.SourceFile&&typeof t.getFullText=="function"}si.isSourceFile=o9;function SW(e){return o9(e)?e.getFullText(e):e}si.getCodeText=SW});var s9=ut(bn=>{"use strict";var xW=bn&&bn.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),wW=bn&&bn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),CW=bn&&bn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&xW(t,e,r);return wW(t,e),t},EW=bn&&bn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(bn,"__esModule",{value:!0});bn.getLanguageVariant=bn.getScriptKind=void 0;var AW=EW({extname:e=>"."+e.split(".").pop()}),Ht=CW(Dt());function kW(e,t){switch(AW.default.extname(e).toLowerCase()){case Ht.Extension.Js:case Ht.Extension.Cjs:case Ht.Extension.Mjs:return Ht.ScriptKind.JS;case Ht.Extension.Jsx:return Ht.ScriptKind.JSX;case Ht.Extension.Ts:case Ht.Extension.Cts:case Ht.Extension.Mts:return Ht.ScriptKind.TS;case Ht.Extension.Tsx:return Ht.ScriptKind.TSX;case Ht.Extension.Json:return Ht.ScriptKind.JSON;default:return t?Ht.ScriptKind.TSX:Ht.ScriptKind.TS}}bn.getScriptKind=kW;function DW(e){switch(e){case Ht.ScriptKind.TSX:case Ht.ScriptKind.JSX:case Ht.ScriptKind.JS:case Ht.ScriptKind.JSON:return Ht.LanguageVariant.JSX;default:return Ht.LanguageVariant.Standard}}bn.getLanguageVariant=DW});var l9=ut(vn=>{"use strict";var PW=vn&&vn.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),IW=vn&&vn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),NW=vn&&vn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&PW(t,e,r);return IW(t,e),t},OW=vn&&vn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vn,"__esModule",{value:!0});vn.createNoProgram=vn.createSourceFile=void 0;var MW=OW((Ef(),wf(Cf))),_9=NW(Dt()),LW=bb(),JW=s9(),RW=(0,MW.default)("typescript-eslint:typescript-estree:createSourceFile");function c9(e){return RW("Getting AST without type information in %s mode for: %s",e.jsx?"TSX":"TS",e.filePath),(0,LW.isSourceFile)(e.code)?e.code:_9.createSourceFile(e.filePath,e.codeFullText,_9.ScriptTarget.Latest,!0,(0,JW.getScriptKind)(e.filePath,e.jsx))}vn.createSourceFile=c9;function jW(e){return{ast:c9(e),program:null}}vn.createNoProgram=jW});var u9=ut(()=>{});var p9=ut($m=>{"use strict";Object.defineProperty($m,"__esModule",{value:!0});$m.createParserServices=void 0;function FW(e,t){if(!t)return{program:t,...e};let r=t.getTypeChecker();return{program:t,...e,getSymbolAtLocation:a=>r.getSymbolAtLocation(e.esTreeNodeToTSNodeMap.get(a)),getTypeAtLocation:a=>r.getTypeAtLocation(e.esTreeNodeToTSNodeMap.get(a))}}$m.createParserServices=FW});var f9=ut(()=>{});var m9=ut(d9=>{d9.ExpiringCache=class{}});var y9=ut(h9=>{h9.resolveProjectList=()=>[]});var b9=ut(g9=>{g9.inferSingleRun=()=>!1});var T9=ut(v9=>{v9.warnAboutTSVersion=()=>{}});var w9=ut(ta=>{"use strict";var BW=ta&&ta.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ta,"__esModule",{value:!0});ta.clearTSServerProjectService=ta.clearTSConfigMatchCache=ta.createParseSettings=void 0;var vb=BW((Ef(),wf(Cf))),UW=f9(),qW={ensureAbsolutePath:e=>e},zW=bb(),S9=m9(),UH=y9(),WW=b9(),VW=T9(),HW=(0,vb.default)("typescript-eslint:typescript-estree:parser:parseSettings:createParseSettings"),Qm,x9=null;function GW(e,t={}){var d;let r=QW(e),a=(0,WW.inferSingleRun)(t),_=typeof t.tsconfigRootDir=="string"?t.tsconfigRootDir:"/prettier-security-dirname-placeholder",p={allowInvalidAST:t.allowInvalidAST===!0,code:e,codeFullText:r,comment:t.comment===!0,comments:[],DEPRECATED__createDefaultProgram:t.DEPRECATED__createDefaultProgram===!0,debugLevel:t.debugLevel===!0?new Set(["typescript-eslint"]):Array.isArray(t.debugLevel)?new Set(t.debugLevel):new Set,errorOnTypeScriptSyntacticAndSemanticIssues:!1,errorOnUnknownASTType:t.errorOnUnknownASTType===!0,EXPERIMENTAL_projectService:t.EXPERIMENTAL_useProjectService===!0?x9??(x9=(0,UW.createProjectService)()):void 0,EXPERIMENTAL_useSourceOfProjectReferenceRedirect:t.EXPERIMENTAL_useSourceOfProjectReferenceRedirect===!0,extraFileExtensions:Array.isArray(t.extraFileExtensions)&&t.extraFileExtensions.every(h=>typeof h=="string")?t.extraFileExtensions:[],filePath:(0,qW.ensureAbsolutePath)(typeof t.filePath=="string"&&t.filePath!=="<input>"?t.filePath:YW(t.jsx),_),jsx:t.jsx===!0,loc:t.loc===!0,log:typeof t.loggerFn=="function"?t.loggerFn:t.loggerFn===!1?()=>{}:console.log,preserveNodeMaps:t.preserveNodeMaps!==!1,programs:Array.isArray(t.programs)?t.programs:null,projects:[],range:t.range===!0,singleRun:a,suppressDeprecatedPropertyWarnings:t.suppressDeprecatedPropertyWarnings??!0,tokens:t.tokens===!0?[]:null,tsconfigMatchCache:Qm??(Qm=new S9.ExpiringCache(a?"Infinity":((d=t.cacheLifetime)==null?void 0:d.glob)??S9.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS)),tsconfigRootDir:_};if(p.debugLevel.size>0){let h=[];p.debugLevel.has("typescript-eslint")&&h.push("typescript-eslint:*"),(p.debugLevel.has("eslint")||vb.default.enabled("eslint:*,-eslint:code-path"))&&h.push("eslint:*,-eslint:code-path"),vb.default.enable(h.join(","))}if(Array.isArray(t.programs)){if(!t.programs.length)throw new Error("You have set parserOptions.programs to an empty array. This will cause all files to not be found in existing programs. Either provide one or more existing TypeScript Program instances in the array, or remove the parserOptions.programs setting.");HW("parserOptions.programs was provided, so parserOptions.project will be ignored.")}return!p.programs&&!p.EXPERIMENTAL_projectService&&(p.projects=[]),(0,VW.warnAboutTSVersion)(p),p}ta.createParseSettings=GW;function XW(){Qm==null||Qm.clear()}ta.clearTSConfigMatchCache=XW;function $W(){x9=null}ta.clearTSServerProjectService=$W;function QW(e){return(0,zW.isSourceFile)(e)?e.getFullText(e):typeof e=="string"?e:String(e)}function YW(e){return e?"estree.tsx":"estree.ts"}});var k9=ut(Ym=>{"use strict";Object.defineProperty(Ym,"__esModule",{value:!0});Ym.getFirstSemanticOrSyntacticError=void 0;var C9=Dt();function KW(e,t){try{let r=E9(e.getSyntacticDiagnostics(t));if(r.length>0)return A9(r[0]);let a=E9(e.getSemanticDiagnostics(t));return a.length>0?A9(a[0]):void 0}catch(r){console.warn(`Warning From TSC: "${r.message}`);return}}Ym.getFirstSemanticOrSyntacticError=KW;function E9(e){return e.filter(t=>{switch(t.code){case 1013:case 1014:case 1044:case 1045:case 1048:case 1049:case 1070:case 1071:case 1085:case 1090:case 1096:case 1097:case 1098:case 1099:case 1117:case 1121:case 1123:case 1141:case 1162:case 1164:case 1172:case 1173:case 1175:case 1176:case 1190:case 1196:case 1200:case 1206:case 1211:case 1242:case 1246:case 1255:case 1308:case 2364:case 2369:case 2452:case 2462:case 8017:case 17012:case 17013:return!0}return!1})}function A9(e){return{...e,message:(0,C9.flattenDiagnosticMessageText)(e.messageText,C9.sys.newLine)}}});var D9=ut(()=>{});var L9=ut(_i=>{"use strict";var ZW=_i&&_i.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(_i,"__esModule",{value:!0});_i.clearParseAndGenerateServicesCalls=_i.clearProgramCache=_i.parseAndGenerateServices=_i.parse=void 0;var eV=ZW((Ef(),wf(Cf))),P9=a9(),tV=Z6(),rV={},I9={},nV={},N9=l9(),iV=u9(),O9={},aV=p9(),M9=w9(),oV=k9(),sV=D9(),_V=(0,eV.default)("typescript-eslint:typescript-estree:parser"),Tb=new Map;function cV(){Tb.clear()}_i.clearProgramCache=cV;function lV(e,t){if(e.EXPERIMENTAL_projectService){let a=(0,sV.useProgramFromProjectService)(e.EXPERIMENTAL_projectService,e);if(a)return a}if(e.programs){let a=(0,O9.useProvidedPrograms)(e.programs,e);if(a)return a}if(!t)return(0,N9.createNoProgram)(e);let r=(0,nV.createProjectProgram)(e,(0,iV.getWatchProgramsForProjects)(e));if(r)return r;if(e.DEPRECATED__createDefaultProgram){let a=(0,rV.createDefaultProgram)(e);if(a)return a}return(0,I9.createIsolatedProgram)(e)}function uV(e,t){let{ast:r}=pV(e,t,!1);return r}_i.parse=uV;function pV(e,t,r){let a=(0,M9.createParseSettings)(e,t);if(t!=null&&t.errorOnTypeScriptSyntacticAndSemanticIssues)throw new Error('"errorOnTypeScriptSyntacticAndSemanticIssues" is only supported for parseAndGenerateServices()');let _=(0,N9.createSourceFile)(a),{estree:p,astMaps:d}=(0,P9.astConverter)(_,a,r);return{ast:p,esTreeNodeToTSNodeMap:d.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:d.tsNodeToESTreeNodeMap}}var Km={};function fV(){Km={}}_i.clearParseAndGenerateServicesCalls=fV;function dV(e,t){var v,y;let r=(0,M9.createParseSettings)(e,t);r.singleRun&&!r.programs&&((v=r.projects)==null?void 0:v.length)>0&&(r.programs={*[Symbol.iterator](){for(let C of r.projects){let S=Tb.get(C);if(S)yield S;else{_V("Detected single-run/CLI usage, creating Program once ahead of time for project: %s",C);let k=(0,O9.createProgramFromConfigFile)(C);Tb.set(C,k),yield k}}}});let a=r.programs!=null||((y=r.projects)==null?void 0:y.length)>0;if(t!==void 0&&(typeof t.errorOnTypeScriptSyntacticAndSemanticIssues=="boolean"&&t.errorOnTypeScriptSyntacticAndSemanticIssues&&(r.errorOnTypeScriptSyntacticAndSemanticIssues=!0),r.errorOnTypeScriptSyntacticAndSemanticIssues&&!a))throw new Error("Cannot calculate TypeScript semantic issues without a valid project.");r.singleRun&&t.filePath&&(Km[t.filePath]=(Km[t.filePath]||0)+1);let{ast:_,program:p}=r.singleRun&&t.filePath&&Km[t.filePath]>1?(0,I9.createIsolatedProgram)(r):lV(r,a),d=typeof r.preserveNodeMaps=="boolean"?r.preserveNodeMaps:!0,{estree:h,astMaps:l}=(0,P9.astConverter)(_,r,d);if(p&&r.errorOnTypeScriptSyntacticAndSemanticIssues){let C=(0,oV.getFirstSemanticOrSyntacticError)(p,_);if(C)throw(0,tV.convertError)(C)}return{ast:h,services:(0,aV.createParserServices)(l,p)}}_i.parseAndGenerateServices=dV});var W9=ut(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});ps.extract=SV;ps.parse=wV;ps.parseWithComments=z9;ps.print=CV;ps.strip=xV;var yV=/\*\/$/,gV=/^\/\*\*?/,U9=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,bV=/(^|\s+)\/\/([^\r\n]*)/g,j9=/^(\r?\n)+/,vV=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,F9=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,TV=/(\r?\n|^) *\* ?/g,q9=[];function SV(e){let t=e.match(U9);return t?t[0].trimLeft():""}function xV(e){let t=e.match(U9);return t&&t[0]?e.substring(t[0].length):e}function wV(e){return z9(e).pragmas}function z9(e){let t=`
`;e=e.replace(gV,"").replace(yV,"").replace(TV,"$1");let r="";for(;r!==e;)r=e,e=e.replace(vV,`${t}$1 $2${t}`);e=e.replace(j9,"").trimRight();let a=Object.create(null),_=e.replace(F9,"").replace(j9,"").trimRight(),p;for(;p=F9.exec(e);){let d=p[2].replace(bV,"");typeof a[p[1]]=="string"||Array.isArray(a[p[1]])?a[p[1]]=q9.concat(a[p[1]],d):a[p[1]]=d}return{comments:_,pragmas:a}}function CV({comments:e="",pragmas:t={}}){let r=`
`,a="/**",_=" *",p=" */",d=Object.keys(t),h=d.map(v=>B9(v,t[v])).reduce((v,y)=>v.concat(y),[]).map(v=>`${_} ${v}${r}`).join("");if(!e){if(d.length===0)return"";if(d.length===1&&!Array.isArray(t[d[0]])){let v=t[d[0]];return`${a} ${B9(d[0],v)[0]}${p}`}}let l=e.split(r).map(v=>`${_} ${v}`).join(r)+r;return a+r+(e?l:"")+(e&&d.length?_+r:"")+h+p}function B9(e,t){return q9.concat(t).map(r=>`@${e} ${r}`.trim())}});var HV={};Hh(HV,{parsers:()=>kb});var kb={};Hh(kb,{typescript:()=>VV});var r5=Ob(L9(),1);function mV(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}var J9=mV;function hV(e){let t=[];for(let r of e)try{return r()}catch(a){t.push(a)}throw Object.assign(new Error("All combinations failed"),{errors:t})}var R9=hV;var H_=Ob(W9(),1);function EV(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(`
`);return t===-1?e:e.slice(0,t)}var V9=EV;function AV(e){let t=V9(e);t&&(e=e.slice(t.length+1));let r=(0,H_.extract)(e),{pragmas:a,comments:_}=(0,H_.parseWithComments)(r);return{shebang:t,text:e,pragmas:a,comments:_}}function H9(e){let{pragmas:t}=AV(e);return Object.prototype.hasOwnProperty.call(t,"prettier")||Object.prototype.hasOwnProperty.call(t,"format")}function kV(e){return Array.isArray(e)&&e.length>0}var Zm=kV;function Fn(e){var a;let t=e.range?e.range[0]:e.start,r=((a=e.declaration)==null?void 0:a.decorators)??e.decorators;return Zm(r)?Math.min(Fn(r[0]),t):t}function ra(e){return e.range?e.range[1]:e.end}function DV(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:H9,locStart:Fn,locEnd:ra,...e}}var G9=DV;function PV(e){return e.charAt(0)==="#"&&e.charAt(1)==="!"?"//"+e.slice(2):e}var X9=PV;var IV=(e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},Sb=IV;function NV(e){return e=new Set(e),t=>e.has(t==null?void 0:t.type)}var $9=NV;var OV=$9(["Block","CommentBlock","MultiLine"]),gu=OV;function MV(e){return gu(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/.test(e.value)}var Q9=MV;function LV(e){let t=`*${e.value}*`.split(`
`);return t.length>1&&t.every(r=>r.trimStart()[0]==="*")}var xb=LV;var bu=null;function vu(e){if(bu!==null&&typeof bu.property){let t=bu;return bu=vu.prototype=null,t}return bu=vu.prototype=e??Object.create(null),new vu}var JV=10;for(let e=0;e<=JV;e++)vu();function wb(e){return vu(e)}function RV(e,t="type"){wb(e);function r(a){let _=a[t],p=e[_];if(!Array.isArray(p))throw Object.assign(new Error(`Missing visitor keys for '${_}'.`),{node:a});return p}return r}var Y9=RV;var K9={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","assertions","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes","assertions"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value","optional","static","method"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ImportExpression:["source","attributes"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareEnum:["id","body"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]};var jV=Y9(K9),Z9=jV;function Cb(e,t){if(!(e!==null&&typeof e=="object"))return e;if(Array.isArray(e)){for(let a=0;a<e.length;a++)e[a]=Cb(e[a],t);return e}let r=Z9(e);for(let a=0;a<r.length;a++)e[r[a]]=Cb(e[r[a]],t);return t(e)||e}var e1=Cb;function FV(e,t){let{parser:r,text:a}=t;if(e.type==="File"&&e.program.interpreter){let{program:{interpreter:p},comments:d}=e;delete e.program.interpreter,d.unshift(p)}if(r==="babel"){let p=new Set;e=e1(e,d=>{var h;(h=d.leadingComments)!=null&&h.some(Q9)&&p.add(Fn(d))}),e=e1(e,d=>{if(d.type==="ParenthesizedExpression"){let{expression:h}=d;if(h.type==="TypeCastExpression")return h.range=d.range,h;let l=Fn(d);if(!p.has(l))return h.extra={...h.extra,parenthesized:!0},h}})}if(e=e1(e,p=>{switch(p.type){case"LogicalExpression":if(e5(p))return Eb(p);break;case"VariableDeclaration":{let d=Sb(!1,p.declarations,-1);d!=null&&d.init&&_(p,d);break}case"TSParenthesizedType":return p.typeAnnotation;case"TSTypeParameter":if(typeof p.name=="string"){let d=Fn(p);p.name={type:"Identifier",name:p.name,range:[d,d+p.name.length]}}break;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":{let{exported:d}=p;if(r==="meriyah"&&(d==null?void 0:d.type)==="Identifier"){let h=a.slice(Fn(d),ra(d));(h.startsWith('"')||h.startsWith("'"))&&(p.exported={...p.exported,type:"Literal",value:p.exported.name,raw:h})}break}case"TSUnionType":case"TSIntersectionType":if(p.types.length===1)return p.types[0];break}}),Zm(e.comments)){let p=Sb(!1,e.comments,-1);for(let d=e.comments.length-2;d>=0;d--){let h=e.comments[d];ra(h)===Fn(p)&&gu(h)&&gu(p)&&xb(h)&&xb(p)&&(e.comments.splice(d+1,1),h.value+="*//*"+p.value,h.range=[Fn(h),ra(p)]),p=h}}return e.type==="Program"&&(e.range=[0,a.length]),e;function _(p,d){a[ra(d)]!==";"&&(p.range=[Fn(p),ra(d)])}}function e5(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function Eb(e){return e5(e)?Eb({type:"LogicalExpression",operator:e.operator,left:Eb({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[Fn(e.left),ra(e.right.left)]}),right:e.right.right,range:[Fn(e),ra(e)]}):e}var t5=FV;var Ab={loc:!0,range:!0,comment:!0,tokens:!0,loggerFn:!1,project:[],suppressDeprecatedPropertyWarnings:!0};function BV(e){let{message:t,location:r}=e;if(!r)return e;let{start:a,end:_}=r;return J9(t,{loc:{start:{line:a.line,column:a.column+1},end:{line:_.line,column:_.column+1}},cause:e})}var UV=e=>/\.(?:js|mjs|cjs|jsx|ts|mts|cts|tsx)$/i.test(e);function qV(e,t){let r=t==null?void 0:t.filepath;if(r&&UV(r))return[{...Ab,filePath:r}];let a=WV(e);return[{...Ab,jsx:a},{...Ab,jsx:!a}]}function zV(e,t){let r=X9(e),a=qV(e,t),_;try{_=R9(a.map(p=>()=>(0,r5.parse)(r,p)))}catch({errors:[p]}){throw BV(p)}return t5(_,{text:e})}function WV(e){return new RegExp(["(?:^[^\"'`]*</)","|","(?:^[^/]{2}.*/>)"].join(""),"m").test(e)}var VV=G9(zV);return wf(HV);});