prettier 4.0.0-alpha.4 → 4.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +42 -121
- package/index.cjs +1 -1
- package/index.mjs +4 -1
- package/internal/cli.mjs +50 -182
- package/package.json +2 -2
- package/plugins/acorn.js +1 -1
- package/plugins/acorn.mjs +1 -1
- package/plugins/babel.js +1 -1
- package/plugins/babel.mjs +1 -1
- package/plugins/estree.js +22 -22
- package/plugins/estree.mjs +22 -22
- package/plugins/flow.js +2 -2
- package/plugins/flow.mjs +2 -2
- package/plugins/glimmer.js +13 -13
- package/plugins/glimmer.mjs +13 -13
- package/plugins/html.js +15 -15
- package/plugins/html.mjs +15 -15
- package/plugins/meriyah.js +1 -1
- package/plugins/meriyah.mjs +1 -1
- package/plugins/postcss.js +35 -38
- package/plugins/postcss.mjs +35 -38
- package/plugins/typescript.js +6 -6
- package/plugins/typescript.mjs +6 -6
- package/standalone.js +1 -1
- package/standalone.mjs +1 -1
package/plugins/flow.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(i){function e(){var f=i();return f.default||f}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.flow=e()}})(function(){"use strict";var xC0=Object.create;var dm=Object.defineProperty;var rC0=Object.getOwnPropertyDescriptor;var eC0=Object.getOwnPropertyNames;var tC0=Object.getPrototypeOf,nC0=Object.prototype.hasOwnProperty;var QK=(p0,wx)=>()=>(wx||p0((wx={exports:{}}).exports,wx),wx.exports),FK=(p0,wx)=>{for(var tr in wx)dm(p0,tr,{get:wx[tr],enumerable:!0})},HK=(p0,wx,tr,gr)=>{if(wx&&typeof wx=="object"||typeof wx=="function")for(let nr of eC0(wx))!nC0.call(p0,nr)&&nr!==tr&&dm(p0,nr,{get:()=>wx[nr],enumerable:!(gr=rC0(wx,nr))||gr.enumerable});return p0};var qK=(p0,wx,tr)=>(tr=p0!=null?xC0(tC0(p0)):{},HK(wx||!p0||!p0.__esModule?dm(tr,"default",{value:p0,enumerable:!0}):tr,p0)),uC0=p0=>HK(dm({},"__esModule",{value:!0}),p0);var GK=QK(DM=>{(function(p0){typeof globalThis!="object"&&(this?wx():(p0.defineProperty(p0.prototype,"_T_",{configurable:!0,get:wx}),_T_));function wx(){var tr=this||self;tr.globalThis=tr,delete p0.prototype._T_}})(Object);(function(p0){"use strict";var wx="symbol",tr=271,gr=126548,nr="renders",Xr=71127,ir="member_property",tn=65007,X4=273,Nt=66517,Vn="jsx_attribute_value_expression",km=119980,zn="function_declaration",Ce="<2>",hm=68466,VM="%=",_m="??",wm=70080,J4="&",Ct="identifier",V4=72163,Tm=71723,Sm="properties",Em=183969,gm=68223,Kn="function_return_annotation",Am=124903,zM=261,Pm=70106,KM=241,ZM="(",WM=213,Nm=120074,Cm=70708,Rm=71679,Zn="logical",i2="camlinternalFormat.ml",Wn="type_guard_annotation",Om=92975,$M=">>>",Im="RestElement",Lm=67897,QM=179,Mm="start",Dm=113775,z4=126521,FM="%i",J3="`",HM="#",jm=43702,K4=126,Um=110947,$n="function_identifier",Z4=119893,Bm=70366,Ym=65547,Xm=43743,Jm=-43,sv=8238,qM=",",ov=8286,Qn="keyof_type",Vm=66717,W4=12336,GM=201,zm=71338,$4=11565,Km=69289,Zm=55291,Wm=73030,$m=70479,Qm=69572,Fm=11623,Fn="tuple_spread_element",Hn="component_type_rest_param",vv=8239,Hm=64310,la="@]",qm=42993,Q4=11558,F4="Map.bal",V3="public",bM=-32,pa="Literal",qn="jsx_member_expression_identifier",Gn="for_in_assignment_pattern",Gm=71450,H4=126557,nn=103,bm=12292,xk=110579,q4=120597,rk=13311,ek=12348,bn="export_default_declaration_decl",x7="tuple_type",tk=113663,G4=170,nk=67413,xD="Assert_failure",rD="comments",z3="%S",un=127343600,uk=12341,ik=67646,eD="ENOTEMPTY",fk=72160,ck=70187,tD=222,sk=12343,nD=2147483647,ok=126624,vk=43442,ak=70312,uD=281,r7="interface_type",av="new",lk=66256,b4=68296,pk=124908,xp=126579,rp=70107,dk=249,yk=71167,e7="union_type",Gr=248,mk=126546,t7="enum_bigint_member",iD=133,kk=67871,hk=66955,fD=1027,n7="class_declaration",u7="optional_call",cD="a string",ep=11703,sD="<<",tp=126564,i7="jsx_element",f7="object_property_type",_k=94207,c7="enum_declaration",wk=68023,Tk=67669,Sk=8318,oD="prefix",lv="this",Ek=126578,s7="if_consequent_statement",vD=-696510241,gk=66963,pv="default",np=72967,Rt=101,aD="buffer.ml",Ak=74649,fn=65535,Pk=43709,lD=175,_o="component",pD="===",dv=117,o7="jsx_identifier",dD="EnumDefaultedMember",up=70006,Nk=70161,Ck=126633,Rk=66965,v7="member_property_expression",Ok=101589,Ik=64274,da="function",Lk=66303,Mk=42954,Dk=126529,jk=72191,a7="new_",Uk=64433,ip=126559,Bk=72144,yD="==",wo=-744106340,Yk=43359,Xk=171,mD="Printexc.handle_uncaught_exception",Jk=66735,Vk=126534,zk=74879,Kk=42785,fp=120629,K3="0o",kD="End_of_file",Zk=66175,hD="&=",Wk="nan",cp=126503,l7="pattern_number_literal",$k=43470,p7="import_namespace_specifier",Qk=77711,sp=70302,d7="component_param",op="@])",vp=126515,ya=118,Re="continue",Fk=43798,ap=";@ ",Hk=74751,qk="src/parser/statement_parser.ml",Gk="rmdir",bk=94177,y7="for_in_statement",_D=12520,wD="TypeParameterInstantiation",hx="",TD="**=",xh=120126,SD=197,rh=67829,lp="_bigarr02",m7="export_named_declaration_specifier",pp=": No such file or directory",k7="render_type",dp=64319,eh=69926,h7="pattern_object_p",ED="TypeAnnotation",_7="array_type",Z3="@[%s =@ ",th=72847,w7="export_default_declaration",yp=126590,nh=42774,uh=": Not a directory",ma="let",yv=12288,H2="argument",q2="/",mp="an identifier",Ps="typeof",kp=68116,ih=182,T7="declare_export_declaration_decl",fh=67589,ch=66771,W3="class",gD="tokens",hp=70281,$3=255,sh=43638,mv="key",oh=69955,AD=">>",S7="function_expression_or_method",vh=43587,cn="block",ah=100351,_p="mixed",lh=66503,ph="ENOTDIR",dh=65135,E7="string_literal",fe="@ ",yh=43334,g7="if_alternate_statement",mh=70448,wp=8485,A7="type_args",kh=69864,P7="if_statement",PD="+=",N7="typeof_identifier",Tp="with",Sp=65595,hh=64286,_h=71086,Ns="true",wh=69423,C7="catch_clause",Th="e",ka="asserts",ND=">>=",Ep=131,Sh=43388,Eh=43887,K1=-48,gh=120779,CD=190,Ah=194,R7="pattern_bigint_literal",Ph=71351,Nh=65629,O7="call",Ch=-42,gp=126553,Rh=43695,RD=177,Oh=42124,Ih=12703,Lh=12442,Mh=11718,Ap=70449,Pp=126547,Dh=67462,Cs="left",I7="infer_type",jh=11742,Uh=65597,Np="Unix.Unix_error",Bh=122623,Yh=124911,Xh=72959,Jh="opaque",L7="object_internal_slot_property_type",OD="Enum `",kv=65279,Vh=71983,zh=12329,U1=110,M7="spread_property",ID="importKind",Q3=" =",D7="remote_identifier",j7="labeled_statement",U7="jsx_fragment",Kh=120770,B7="function_param",M2=112,Zh="exportKind",Y7="binary",Rs="`.",Wh=42511,LD="<=",X7="jsx_spread_attribute",D2="import",J7="typeof_member_identifier",$h=69414,Qh=19967,Cp=11687,Fh=93823,MD=67714067,DD=209,Hh=71903,qh="of",Gh=72e3,Rp="typeArguments",V7="type_identifier",z7="pattern_array_element_pattern",Op=69744,ha=192,K7="class_element",Z7="export_source",W7="component_param_pattern",bh=42508,x_=125124,jD="Unexpected token `",$7="for_in_left_declaration",Q7="object_call_property_type",r_="abstract",e_=8584,t_=68786,n_=71999,Ip=123214,u_=123565,Lp=186,F7="class_implements_interface",Mp=126536,i_=69749,UD="Invalid legacy octal ",f_=71295,c_=66927,H7="pattern_expression",s_=11679,o_=-61,Dp=65141,v_=11694,q7="update_expression",BD="minus",Oe="debugger",a_=71352,l_=65470,_a="number",p_=123627,jp=64322,Up=43471,G7="for_of_assignment_pattern",Bp=126589,d_=43784,YD="Internal Error: Found object private prop",y_=183983,br="id",m_=123190,Yp="finally",Xp=120070,k_=72095,b7="as_expression",xu="syntax",h_=110591,Os="false",XD=-10,Jp="AssignmentPattern",ru="typeof_expression",__=43764,JD="FunctionTypeParam",eu="function_body_any",w_=126627,T_=71998,S_=126543,tu="call_type_arg",E_=64316,Vp=64285,g_=8454,VD=137,zD="**",nu="object_type_property_setter",A_=68607,sn=108,P_="out",N_=68799,hv=65278,uu="jsx_member_expression",C_=92728,_v="null",R_=66431,O_=72249,on=128,zp=119994,I_=66207,L_=43583,Kp="else",Zp=94179,Wp=11735,M_=64911,iu="jsx_attribute_name_namespaced",KD="!",D_=42539,j_=72250,U_=71215,B_=69746,Y_=65487,fu="pattern_object_property_key",ZD=", ",X_=8505,J_="=",V_=64111,z_=8507,$p=120134,Qp="while",K_=120596,Z_=43002,F3="protected",W_=68479,$_=43395,Q_=68252,WD="v",F_=70278,H_="rendersType",q_=70853,Fp=120145,G_=69297,b_=73112,Hp=8488,xw=68351,rw=42655,cu="for_of_left_declaration",ew=44031,tw="Failure",nw=92159,su="object_key_identifier",$D=195,wv="bigint",ou="import_default_specifier",H3=256,vu="member",QD="!==",au="component_identifier",uw=73008,iw=72283,qp=126500,Gp=120127,lu="jsx_attribute_name",pu="for_statement_init",fw=67711,du="private_name",bp="case",x8=8489,yu="import_specifier",cw=64279,sw=94098,ow=119974,mu="pattern_string_literal",vw=72969,FD=193,HD="!=",r8=126520,aw=71944,qD=259,lw=42191,ku="generic_qualified_identifier_type",Tv="implements",pw=194559,GD="%",q3="hasUnknownMembers",dw=71039,bD=211,yw=83526,hu="init",_u="jsx_attribute_value",mw=70271,wa=240,wu="function_type_return_annotation",kw=70018,hw="rest",Tu="readonly_type",_w=512,ww=68095,Tw=120003,e8=126563,t8=71236,Sw=69375,Ew=68850,gw=70105,Aw=43866,xj="T_RENDERS_QUESTION",n8=888960333,Pw=43013,Su="assignment_pattern",Nw="specifiers",rj=710,ej=145,vn="as",Cw=120570,Rw=11507,tj=204,Eu="jsx_element_name_identifier",gu="pattern_object_property_string_literal_key",Au="class_expression",nj=257,Ow=44002,Iw=82943,Ta="src/parser/type_parser.ml",Sa="test",uj=-67,Lw=64217,u8="package",ij="collect_comments",fj="Pervasives.do_at_exit",Mw=125183,Dw=42606,Pu="tuple_element",Nu="enum_boolean_member",jw=65312,i8=119981,Uw=65495,f8=120085,cj=-80,Bw=138,c8=126555,Yw=65276,h1=128,sj="{ ",Cu="for_statement",Ru="class_method",s8="if",Ou="generic_type",Cr=113,Xw=43071,Jw=72001,Vw=71131,zw=70002,oj="renders*",Kw=42888,o8=8469,G3="instanceof",Zw=11502,v8=94178,Ww=64321,$w=64913,vj="Division_by_zero",Qw=92879,Fw=71945,aj=185,Hw=66938,a8=65535,qw=113800,lj=": file descriptor already closed",l8=223,pj="*=",Gw=68899,Iu="switch_case",Lu="pattern_array_element",Mu="enum_string_member",Du="pattern_object_property_bigint_literal_key",dj="visit_trailing_comment",p8="export",d8=120122,y8=43823,bw=43792,xT=42527,rT=70726,ju="enum_defaulted_member",eT=68497,m8=72349,Uu="program",Bu="member_type_identifier",tT="object",Yu="for_of_statement_lhs",nT=113791,uT=67391,Xu="jsx_spread_child",k8=126554,h8=8526,_8=43880,w8=69415,iT=43822,Ju="pattern_identifier",fT=93052,Ea="readonly",Ie="name",cT=68119,sT=71494,oT=120121,T8=8486,yj=2047,Vu="enum_symbol_body",mj=142,kj="PropertyDefinition",vT=177976,zu="declare_class",aT=65489,lT=72367,pT=70440,Ku="import_named_specifier",hj="Popping lex mode from empty stack",dT=68111,yT=66463,_j="*-/",mT=43187,S8=8487,kT=11567,hT=67861,_T=`
|
|
2
2
|
`,wT=66383,Zu="declare_interface",TT=-24976191,ST=238,ET=-24,wj="@ }@]",gT=43645,AT=176,PT=119976,E8=69959,NT=126519,CT=";",Tj="trailingComments",g8=65548,Wu="number_literal",ga=449540197,RT=43704,A8=126584,OT=8467,Sj="||",P8=11695,IT="exported",LT=120712,Is="void",Ej="mixins",MT=92783,DT=215,$u="body_expression",gj="%ni",b3=">",Qu="jsx_child",jT=8516,Fu="optional_indexed_access_type",Hu="typeof_type",qu="spread_element",UT=42963,Aj="@[",Gu="component_params",BT=43042,N8="",bu="function_",C8="for",R8=65575,an="params",YT=168,Pj="win32",Sv=8202,Nj="@",O8="^",Cj=164,it="optional",XT=65574,xl="boolean",Rj=139,JT=12548,I8=120539,Oj="Not_found",rl=246,xi="expression_statement",VT="EBADF",zT=66815,ri="module_ref_literal",KT=55203,ei="function_param_type",ZT=73064,L8=70279,WT=110580,Ij=233,$T="<",Lj="visit_leading_comment",QT=66855,FT=66966,HT=66499,qT=111355,GT=68680,bT=206,Mj="--",xS=65497,M8=11711,ti="function_param_pattern",Ev="constructor",rS=5760,Dj="infinity",D8=43642,DC0="fs",eS=92991,j8=126544,tS=101640,U8=72162,nS=67583,B8=8468,j2="typeParameters",jj="elements",uS=71423,Uj="Sys_blocked_io",ni="interface_declaration",ui="variable_declaration",ii="function_rest_param",fi="type",iS="Invalid number ",fS=" : flags Open_rdonly and Open_wronly are not compatible",cS=69404,ci="jsx_element_name_member_expression",Y8="keyof",X8="never",si="with_",ln=32768,Bj="|=",J8=70404,V8=70441,sS=42969,el="declare",oS=73061,oi="object_type",vi="object_property_value_type",vS=69687,Yj="Invalid binary/octal ",Xj=230,aS=64324,Jj="range",Vj="infer",lS=120744,ai="array_element",pS=70730,dS=43641,zj=166,yS=70461,mS=69890,kS=69487,hS=74862,_S=68149,z8=73065,Kj="%a",wS=72348,Zj=172,li="jsx_expression",TS=65663,SS=126495,ES=245,gS=124907,pi="member_property_identifier",Wj=226,AS=43615,di="comment",K8=119965,yi="catch_clause_pattern",mi="object_type_property_getter",$j=136,PS=43019,NS=67455,Z8=126628,Qj=331416730,Fj="the start of a statement",CS=122654,RS="shorthand",OS=43595,IS=11710,ki="typeof_qualified_identifier",LS=72750,Hj="elementType",F1="typeAnnotation",MS=124895,qj=162,W8=11559,DS=67382,Gj="??=",jS=72329,US="target",hi="component_type",bj=180,BS=189,xU=8206,YS=43513,XS=173823,JS=126467,_i="type_guard",VS=43700,zS=12783,$8=8305,wi="type_annotation",rU=141,Le="break",Q8=42999,KS=65019,eU=160,ZS=70460,Ti="expression_or_spread",WS=")",Si="class_private_field",$S=55215,QS=65338,FS=40981,tl="members",Ei="import_declaration",HS=69634,F8=94031,qS="ENOENT",GS=8457,tU="satisfies",gi="generic_identifier_type",Ai="function_this_param",bS=66993,Pi="type_",xE=67423,rE=11557,eE=12799,H8=239,tE=93026,nE=66377,uE=123180,nU=221,uU=-594953737,iE=67967,fE=43586,ft=105,iU="src/parser/flow_lexer.ml",cE=66559,Ni="class_property_value",fU=150,sE=67637,cU="closedir",oE=43010,vE=8521,q8=69956,aE=42959,lE=212,pE=92735,G8="}",nl="method",dE=11498,b8=247,ce="empty",Ci=16777215,yE=161,mE=42887,Ri=116,Oi="type_identifier_reference",x5=126634,kE=68029,sU="regexp",hE=70414,ul=121,Ii="template_literal_element",_E=8449,wE=126562,gv=12287,TE=-45,r5=64297,e5=126523,SE=43301,Ot=111,EE=126498,gE=43776,oU="EEXIST",AE=119892,PE=43807,vU=4096,Av=252,Ls=255,NE=68295,Li="variable_declarator_pattern",Mi="do_while",t5="catch",CE=66962,RE=120654,Di=125,ji="label_identifier",OE=11263,IE=8525,Ui="assignment",LE=191456,ME=43273,aU="%u",DE=65381,jE=110927,UE=65479,BE=120538,Pv="await",YE=71487,XE="jsError",JE=110588,VE=120084,zE=42890,Aa=224,Bi="object_key",KE=43696,ZE=73647,WE=43761,$E=12295,QE=64967,n5=11647,lU=191,It=123,FE="generator",HE=123583,Yi="for_of_statement",Xi="enum_bigint_body",qE=110959,GE=92995,bE=120686,xg="b",rg=119969,u5=126522,i5=64318,eg=71839,f5=126602,tg=65908,il=65536,pU=231,dU=-602162310,yU="comment_bounds",Lt="-",mU=-55,Ji="pattern_object_property",ng=43493,ug=69505,ig=8471,kU=277,fg=187,c5=120745,Vi="enum_member_identifier",cg=71959,sg=66863,og=65594,vg=253,s5='"',o5=70286,zi="jsx_attribute_value_literal",ag=68447,hU="the",lg="index out of bounds",Ki="declare_export_declaration",Zi="jsx_attribute",Wi="class_extends",x1=122,f2=106,$i="binding_pattern",Qi="ts_type_cast",pg=113807,dg=93951,Pa=119,yg="types",mg=8335,Fi="statement_fork_point",Na="_",kg=65500,Hi="function_type",hg=68220,qi="statement_list",Ca=-835925911,_g=123535,wg=258,v5=43815,_U=199,a5=120571,Tg=67514,wU="Property",l5=72713,TU="Unexpected ",p5=169,SU=", characters ",d5=43867,Sg=42537,Gi="component_declaration",EU=" : is a directory",bi="object_key_number_literal",Jr=127,c2=-36,fl=912068366,cl="delete",ct=114,Eg=120076,xf="regexp_literal",gg=65370,Ag=65481,y1="value",Pg=68405,Ra="operator",sl="const",gU=283,To=109,y5="any",Ng=69958,Cg=70831,Rg=73111,Og=72767,Ig="Identifier",rf="jsx_opening_attribute",ef="conditional_type",Lg="loc",Mg=67071,m5=120004,Dg=43492,jg=70005,AU=188,k5=72272,Ug=11389,Bg=251,Yg=73055,h5=70280,PU=286,_5=1114111,Xg=66421,NU="Stack_overflow",Jg=70301,Vg=19903,So="0x",zg=69967,Kg=12447,w5=66512,CU=`Fatal error: exception %s
|
|
3
|
-
`,ol=1e3,Zg=69295,T5=120093,RU=">=",OU=149,S5=64325,tf="class_identifier",Wg=119967,$g=68415,IU="end",nf="enum_boolean_body",uf="member_private_name",ff="super_expression",Qg=71955,Fg=126514,E5=67593,Hg=66939,qg=12591,g5=126538,Gg=110590,cf="component_renders_annotation",bg=72703,xA=72105,A5=65598,rA=73727,P5=126504,N5=126551,eA=70143,vl="from",sf="class_property",of="enum_number_body",tA=42559,nA=93759,uA=66994,pn="right",LU=225,iA=67702,fA=65473,cA=43697,C5=70855,sA=119993,oA=72103,vA=178205,vf="call_type_args",aA=66511,af="export_batch_specifier",lf="component_type_param",dn=782176664,Nv="get",al="local",MU=228,pf="object_mapped_type_property",df="class_decorator",DU=220,yf="enum_body",jU="<<=",lA=71956,pA=69839,Oa="super",dA=173791,yA=71942,H1="expression",mA=72440,Ia=254,kA=70412,UU="renders?",mf="try_catch",BU=32752,kf="declare_module_exports",hA=12320,YU=134,_A=94175,ll="enum",XU=196,hf="import_source",wA=43814,TA=120069,_f="while_",R5=126537,SA=43262,wf="function_rest_param_type",EA=66378,O5=119996,Tf="declare_component",gA=73097,AA=70783,PA=43503,NA=131071,CA=11492,RA=92766,JU=173,OA=113770,IA=73029,LA=66978,Sf="tagged_template",Ef="jsx_element_name",gf="for_init_declaration",MA=123213,Af="object_indexer_property_type",Pf="object_spread_property_type",I5=72970,L5=70854,DA=110930,pl="var",VU=217,jA=119972,UA=69622,BA=63743,YA=42237,XA=870530776,M5="returnType",zU=56320,KU=143,La="computed",JA=42735,Nf="arg_list",VA=67461,Cf="export_named_declaration",zA=72817,KA=73439,ZA=43782,WA=66775,$A=70655,D5="bool",QA=65140,FA=75075,HA=126651,qA=71947,GA=42961,bA=12735,xP=78894,rP=64262,ZU=237,G2="interface",WU="Match_failure",eP=42962,tP=69748,$U="leadingComments",Rf="this_expression",dl=461894857,j5=12592,QU=8204,nP=119807,uP=66348,Of="declare_variable",iP=8348,If="optional_member",Lf=120,Mf="arrow_function",fP=72768,cP=70851,Df="array",sP=43249,U5=126468,oP=177983,vP="compare: functional value",aP=126550,lP=64847,jf="binding_type_identifier",pP=120132,Uf="function_params",dP=93071,yl=1024,yP=42783,FU=1039100673,HU="@{",mP=12352,kP=42653,hP=120628,Bf="declare_function",Yf="for_in_statement_lhs",_P=72271,wP=69807,TP=67826,Xf="syntax_opt",Jf="object_key_bigint_literal",qU=243,SP=94032,GU="Undefined_recursive_module",bU=-1053382366,EP=72242,Vf="variance_opt",gP=101631,AP="arguments",PP=72161,NP=8511,B5="unknown",CP=43560,xB="the end of an expression statement (`;`)",rB=1026,RP=12543,OP=11670,eB="?",IP=69247,Y5=11631,X5="line",LP=72202,zf="pattern_object_rest_property",Mt=" ",MP=43487,Eo=115,DP=-673950933,Kf="intersection_type",jP=120144,ml="is",UP=178207,BP=100343,tB="||=",nB="f",J5=8455,Zf=102,Wf="pattern_object_property_number_literal_key",YP=70418,XP=8543,uB="Internal Error: Found private field in object props",V5=126540,z5=119995,Cv=8287,$f="indexed_access_type",Qf="export_named_specifier",iB=266,fB=224,JP=124926,VP=-103,cB=167,K5=65344,Z5=126530,zP=113788,KP=67505,ZP="property",WP=43014,Me="return",Ms=-85,$P=126601,sB=214,oB="children",Ff="type_alias",W5=43259,QP=126583,FP=71958,HP=65613,qP=67431,$5=126535,GP=69599,Hf="type_params",qf="object_key_computed",bP=124910,U2="variance",Q5=11727,xN=66954,rN=126463,Gf="catch_body",eN=69445,bf="type_param",xc="component_type_params",tN=124902,F5=120687,vB="collect_comments_opt",nN=15,uN=120485,iN=70416,fN=125259,rc="jsx_namespaced_name",cN=43712,sN=72712,aB="~",H5=12448,ec="jsx_member_expression_object",q5=126499,G5=-97,tc="pattern_object_property_identifier_key",lB=219,nc="component_body",uc="opaque_type",ic=".",oN=43009,vN="consequent",pB="SpreadElement",B1="body",dB=178,yB=202,fc="jsx_opening_element",cc="declare_module",b5=67638,aN=8477,sc="object_type_property",lN=110882,oc="function_body",pN=94111,mB="module",kB="alternate",dN=67839,Rv=8191,yN=43881,hB=": closedir failed",go="kind",vc="tuple_labeled_element",Ov=-46,mN=67640,ac="declare_type_alias",xd=70750,kN=77808,kl="column",lc="jsx_closing_element",hN=66977,_N="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",wN=65786,pc="function_expression",Dt=104,rd=11719,TN=11505,SN="mkdir",EN=70319,_B="Invalid_argument",gN=43738,AN=113817,dc="bigint_literal",PN=70084,NN=126566,ed="do",td=42622,yc="computed_key",mc="pattern_object_property_computed_key",wB="fd ",nd=126571,CN=126619,TB=140,Ao="prototype",SB=208,RN=67004,ud=130,EB=242,gB=">>>=",ON=68863,IN=11726,jt="raw",LN=64466,b2=107,MN=67679,kc="enum_string_body",DN=244,AB="unreachable jsxtext",PB="*",jN=66335,UN=126570,NB=229,BN=" : file already exists",id=184,YN=67807,XN=70753,hc="boolean_literal",JN=65437,VN=70451,zN=67002,Ma=124,_c="conditional",fd=43260,CB="Sys_error",KN=123135,hl="meta",ZN=64109,wc="pattern_array_rest_element",WN=43255,cd=67644,Tc="pattern_object_rest_property_pattern",Sc="sequence",$N=65855,QN=110951,FN=67643,Ec="predicate_expression",De="static",HN=120512,qN="declaration",sd=64317,GN=68437,od=126558,gc="meta_property",bN=11564,Ac="declare_enum",yn="pattern",xC=216,RB=282,OB=289,rC=68191,vd="undefined",ad=8319,ld=120133,eC=132,tC=42239,IB=-99,nC=124927,uC=120092,iC=43137,Pc="component_rest_param",LB=144,MB="expected *",fC=125251,DB="%li",cC=55242,sC=12294,Nc="enum_number_member",Po="in",jB="\\\\",Iv=":",oC=68115,UB="Cygwin",vC=77823,aC=65615,pd=70162,BB="/static/",lC=11519,pC=72966,dC=12686,yC=165,mC=183,_l=129,dd=72192,kC=42964,yd="try",md=120655,hC=11702,YB="expressions",_C=2048,Cc="class_body",wC=55238,XB=240,TC=66915,SC=43311,EC=43018,JB=235,gC=73648,VB="([^/]+)",AC=125258,PC=64829,NC=68735,zB="++",KB=163,ZB="qualification",WB=57343,$B=931,Rc="default_opt",CC=71235,QB=8472,RC=71934,FB=205,HB=218,qB="callee",OC=43711,IC=64284,LC=43754,MC=43790,GB="%Li",Oc="pattern_array_rest_element_pattern",kd="decorators",DC=8304,Ic="statement",hd=73062,Lc="jsx_children",jC=70492,UC=64255,BC=11630,YC=1255,_d=67592,wd=43519,Td=64311,Sd=12539,XC="proto",Ed=120513,JC=68031,Lv="source",wl="a",VC=93047,zC=92927,KC=126588,ZC=73458,WC=67742,$C=43714,bB=288,xY=236,QC=-253313196,Tl="label",rY="@[<2>{ ",gd=126539,Ad=126552,FC=120487,eY="Out_of_memory",HC=605857695,qC=94026,tY=267,Pd=126496,No="async",nY=203,Nd=126560,GC=68287,Mc="unary_expression",bC=-26065557,xR=110587,uY=280,Cd=120771,rR=69762,eR=126502,Da="set",Dc="object_",jc="template_literal",tR=43258,Uc="nullable_type",Ds="int_of_string",iY="^=",je="predicate",ja="string",Rd=8450,fY="camlinternalMod.ml",nR=70285,js="+",uR=110575,cY=198,Bc="extends",sY=-692038429,Od=67827,oY=210,vY=227,Id="explicitType",Ld=70452,iR=70497,Ua=63,Sl="private",fR=64296,cR=67591,sR=92909,aY="T_JSX_TEXT",oR="Fatal error: exception ",vR=120137,Md=68120,Yc="pattern_array_e",aR=119964,lR=92862,pR=66461,lY="&&=",pY=174,s2=8231,Xc="null_literal",dY="/=",dR=66811,Dd=70108,yR=67504,mR=11686,kR=67001,hR=" : flags Open_text and Open_binary are not compatible",_R=43741,wR=66204,q1=8233,Jc="type_annotation_hint",TR=123197,Vc="object_property",yY="${",jd=70480,mY="&&",zc="type_cast",El="%d",Ud=8484,kY=207,SR=70066,ER=68324,Bd=120713,hY=135,Yd=126556,xe="0",B2="yield",Xd=126591,st=100,gR=69551,Kc="jsx_element_name_namespaced",_Y=232,Zc="object_key_string_literal",Wc="function_this_param_type",$c="pattern_object_property_pattern",Ue="throw",Be="switch",wY=2048,Jd=119970,Qc="toplevel_statement_list",Ba=250,AR=12438,Fc="class_implements",Hc="variable_declarator",PR=43713,Vd=68096,NR=70457,CR=12538,RR=11734,TY="-=",SY=234,qc="component_param_name",OR=43123,Gc="class_",EY="|",IR=200,LR=43518,MR=8483,bc="jsx_attribute_name_identifier",DR=181;function hZ(x,r,e,t,u){if(t<=r)for(var i=1;i<=u;i++)e[t+i]=x[r+i];else for(var i=u;i>=1;i--)e[t+i]=x[r+i];return 0}function _Z(x){for(var r=[0];x!==0;){for(var e=x[1],t=1;t<e.length;t++)r.push(e[t]);x=x[2]}return r}function wZ(x,r,e){var t=new Array(e+1);t[0]=0;for(var u=1,i=r+1;u<=e;u++,i++)t[u]=x[i];return t}function zd(x,r,e){var t=String.fromCharCode;if(r==0&&e<=vU&&e==x.length)return t.apply(null,x);for(var u=hx;0<e;r+=yl,e-=yl)u+=t.apply(null,x.slice(r,r+Math.min(e,yl)));return u}function Kd(x){for(var r=new Uint8Array(x.l),e=x.c,t=e.length,u=0;u<t;u++)r[u]=e.charCodeAt(u);for(t=x.l;u<t;u++)r[u]=0;return x.c=r,x.t=4,r}function Us(x,r,e,t,u){if(u==0)return 0;if(t==0&&(u>=e.l||e.t==2&&u>=e.c.length))e.c=x.t==4?zd(x.c,r,u):r==0&&x.c.length==u?x.c:x.c.substr(r,u),e.t=e.c.length==e.l?0:2;else if(e.t==2&&t==e.c.length)e.c+=x.t==4?zd(x.c,r,u):r==0&&x.c.length==u?x.c:x.c.substr(r,u),e.t=e.c.length==e.l?0:2;else{e.t!=4&&Kd(e);var i=x.c,f=e.c;if(x.t==4)if(t<=r)for(var o=0;o<u;o++)f[t+o]=i[r+o];else for(var o=u-1;o>=0;o--)f[t+o]=i[r+o];else{for(var a=Math.min(u,i.length-r),o=0;o<a;o++)f[t+o]=i.charCodeAt(r+o);for(;o<u;o++)f[t+o]=0}}return 0}function Ya(x,r){if(x==0)return hx;if(r.repeat)return r.repeat(x);for(var e=hx,t=0;;){if(x&1&&(e+=r),x>>=1,x==0)return e;r+=r,t++,t==9&&r.slice(0,1)}}function Zd(x){x.t==2?x.c+=Ya(x.l-x.c.length,"\0"):x.c=zd(x.c,0,x.c.length),x.t=0}function jR(x){if(x.length<24){for(var r=0;r<x.length;r++)if(x.charCodeAt(r)>Jr)return!1;return!0}else return!/[^\x00-\x7f]/.test(x)}function gY(x){for(var r=hx,e=hx,t,u,i,f,o=0,a=x.length;o<a;o++){if(u=x.charCodeAt(o),u<on){for(var d=o+1;d<a&&(u=x.charCodeAt(d))<on;d++);if(d-o>_w?(e.substr(0,1),r+=e,e=hx,r+=x.slice(o,d)):e+=x.slice(o,d),d==a)break;o=d}f=1,++o<a&&((i=x.charCodeAt(o))&-64)==h1&&(t=i+(u<<6),u<fB?(f=t-12416,f<on&&(f=1)):(f=2,++o<a&&((i=x.charCodeAt(o))&-64)==h1&&(t=i+(t<<6),u<XB?(f=t-925824,(f<wY||f>=55295&&f<57344)&&(f=2)):(f=3,++o<a&&((i=x.charCodeAt(o))&-64)==h1&&u<245&&(f=i-63447168+(t<<6),(f<65536||f>1114111)&&(f=3)))))),f<4?(o-=f,e+="\uFFFD"):f>fn?e+=String.fromCharCode(55232+(f>>10),zU+(f&1023)):e+=String.fromCharCode(f),e.length>yl&&(e.substr(0,1),r+=e,e=hx)}return r+e}function Bs(x,r,e){this.t=x,this.c=r,this.l=e}Bs.prototype.toString=function(){switch(this.t){case 9:return this.c;default:Zd(this);case 0:if(jR(this.c))return this.t=9,this.c;this.t=8;case 8:return this.c}},Bs.prototype.toUtf16=function(){var x=this.toString();return this.t==9?x:gY(x)},Bs.prototype.slice=function(){var x=this.t==4?this.c.slice():this.c;return new Bs(this.t,x,this.l)};function AY(x){return new Bs(0,x,x.length)}function jC0(x){return x}function xs(x){return AY(x)}function rs(x,r,e,t,u){return Us(xs(x),r,e,t,u),0}function PY(x){var r=p0.process;if(r&&r.env&&r.env[x]!=null)return r.env[x];if(p0.jsoo_static_env&&p0.jsoo_static_env[x])return p0.jsoo_static_env[x]}var UR=0;(function(){var x=PY("OCAMLRUNPARAM");if(x!==void 0)for(var r=x.split(qM),e=0;e<r.length;e++)if(r[e]==xg){UR=1;break}else if(r[e].startsWith("b="))UR=+r[e].slice(2);else continue})();var Y2=[0];function TZ(x,r){return(!x.js_error||r||x[0]==Gr)&&(x.js_error=new p0.Error("Js exception containing backtrace")),x}function q0(x,r){return UR?TZ(x,r):x}function SZ(x,r){throw q0([0,x,r])}function UC0(x){return x}function BR(x,r){SZ(x,r)}function G1(x){BR(Y2.Invalid_argument,x)}function EZ(){G1(lg)}function Zr(x,r,e){if(e&=Ls,x.t!=4){if(r==x.c.length)return x.c+=String.fromCharCode(e),r+1==x.l&&(x.t=0),0;Kd(x)}return x.c[r]=e,0}function Xa(x,r,e){return r>>>0>=x.l&&EZ(),Zr(x,r,e)}function se(x,r){switch(x.t&6){default:if(r>=x.c.length)return 0;case 0:return x.c.charCodeAt(r);case 4:return x.c[r]}}function Ys(x,r){var e=x.l>=0?x.l:x.l=x.length,t=r.length,u=e-t;if(u==0)return x.apply(null,r);if(u<0){var i=x.apply(null,r.slice(0,e));return typeof i!="function"?i:Ys(i,r.slice(e))}else{switch(u){case 1:{var i=function(a){for(var d=new Array(t+1),k=0;k<t;k++)d[k]=r[k];return d[t]=a,x.apply(null,d)};break}case 2:{var i=function(a,d){for(var k=new Array(t+2),T=0;T<t;T++)k[T]=r[T];return k[t]=a,k[t+1]=d,x.apply(null,k)};break}default:var i=function(){for(var o=arguments.length==0?1:arguments.length,a=new Array(r.length+o),d=0;d<r.length;d++)a[d]=r[d];for(var d=0;d<arguments.length;d++)a[r.length+d]=arguments[d];return Ys(x,a)}}return i.l=u,i}}function gl(){G1(lg)}function Z1(x,r){return r>>>0>=x.length-1&&gl(),x}function gZ(x){return isFinite(x)?Math.abs(x)>=22250738585072014e-324?0:x!=0?1:2:isNaN(x)?4:3}function AZ(x){return 0}var PZ=Math.log2&&Math.log2(11235582092889474e291)==1020;function NZ(x){if(PZ)return Math.floor(Math.log2(x));var r=0;if(x==0)return-1/0;if(x>=1)for(;x>=2;)x/=2,r++;else for(;x<1;)x*=2,r--;return r}function YR(x){var r=new Float32Array(1);r[0]=x;var e=new Int32Array(r.buffer);return e[0]|0}var NY=Math.pow(2,-24);function CY(x){throw x}function RY(){CY(Y2.Division_by_zero)}function fr(x,r,e){this.lo=x&Ci,this.mi=r&Ci,this.hi=e&fn}fr.prototype.caml_custom="_j",fr.prototype.copy=function(){return new fr(this.lo,this.mi,this.hi)},fr.prototype.ucompare=function(x){return this.hi>x.hi?1:this.hi<x.hi?-1:this.mi>x.mi?1:this.mi<x.mi?-1:this.lo>x.lo?1:this.lo<x.lo?-1:0},fr.prototype.compare=function(x){var r=this.hi<<16,e=x.hi<<16;return r>e?1:r<e?-1:this.mi>x.mi?1:this.mi<x.mi?-1:this.lo>x.lo?1:this.lo<x.lo?-1:0},fr.prototype.neg=function(){var x=-this.lo,r=-this.mi+(x>>24),e=-this.hi+(r>>24);return new fr(x,r,e)},fr.prototype.add=function(x){var r=this.lo+x.lo,e=this.mi+x.mi+(r>>24),t=this.hi+x.hi+(e>>24);return new fr(r,e,t)},fr.prototype.sub=function(x){var r=this.lo-x.lo,e=this.mi-x.mi+(r>>24),t=this.hi-x.hi+(e>>24);return new fr(r,e,t)},fr.prototype.mul=function(x){var r=this.lo*x.lo,e=(r*NY|0)+this.mi*x.lo+this.lo*x.mi,t=(e*NY|0)+this.hi*x.lo+this.mi*x.mi+this.lo*x.hi;return new fr(r,e,t)},fr.prototype.isZero=function(){return(this.lo|this.mi|this.hi)==0},fr.prototype.isNeg=function(){return this.hi<<16<0},fr.prototype.and=function(x){return new fr(this.lo&x.lo,this.mi&x.mi,this.hi&x.hi)},fr.prototype.or=function(x){return new fr(this.lo|x.lo,this.mi|x.mi,this.hi|x.hi)},fr.prototype.xor=function(x){return new fr(this.lo^x.lo,this.mi^x.mi,this.hi^x.hi)},fr.prototype.shift_left=function(x){return x=x&63,x==0?this:x<24?new fr(this.lo<<x,this.mi<<x|this.lo>>24-x,this.hi<<x|this.mi>>24-x):x<48?new fr(0,this.lo<<x-24,this.mi<<x-24|this.lo>>48-x):new fr(0,0,this.lo<<x-48)},fr.prototype.shift_right_unsigned=function(x){return x=x&63,x==0?this:x<24?new fr(this.lo>>x|this.mi<<24-x,this.mi>>x|this.hi<<24-x,this.hi>>x):x<48?new fr(this.mi>>x-24|this.hi<<48-x,this.hi>>x-24,0):new fr(this.hi>>x-48,0,0)},fr.prototype.shift_right=function(x){if(x=x&63,x==0)return this;var r=this.hi<<16>>16;if(x<24)return new fr(this.lo>>x|this.mi<<24-x,this.mi>>x|r<<24-x,this.hi<<16>>x>>>16);var e=this.hi<<16>>31;return x<48?new fr(this.mi>>x-24|this.hi<<48-x,this.hi<<16>>x-24>>16,e&fn):new fr(this.hi<<16>>x-32,e,e)},fr.prototype.lsl1=function(){this.hi=this.hi<<1|this.mi>>23,this.mi=(this.mi<<1|this.lo>>23)&Ci,this.lo=this.lo<<1&Ci},fr.prototype.lsr1=function(){this.lo=(this.lo>>>1|this.mi<<23)&Ci,this.mi=(this.mi>>>1|this.hi<<23)&Ci,this.hi=this.hi>>>1},fr.prototype.udivmod=function(x){for(var r=0,e=this.copy(),t=x.copy(),u=new fr(0,0,0);e.ucompare(t)>0;)r++,t.lsl1();for(;r>=0;)r--,u.lsl1(),e.ucompare(t)>=0&&(u.lo++,e=e.sub(t)),t.lsr1();return{quotient:u,modulus:e}},fr.prototype.div=function(x){var r=this;x.isZero()&&RY();var e=r.hi^x.hi;r.hi&ln&&(r=r.neg()),x.hi&ln&&(x=x.neg());var t=r.udivmod(x).quotient;return e&ln&&(t=t.neg()),t},fr.prototype.mod=function(x){var r=this;x.isZero()&&RY();var e=r.hi;r.hi&ln&&(r=r.neg()),x.hi&ln&&(x=x.neg());var t=r.udivmod(x).modulus;return e&ln&&(t=t.neg()),t},fr.prototype.toInt=function(){return this.lo|this.mi<<24},fr.prototype.toFloat=function(){return(this.hi<<16)*Math.pow(2,32)+this.mi*Math.pow(2,24)+this.lo},fr.prototype.toArray=function(){return[this.hi>>8,this.hi&Ls,this.mi>>16,this.mi>>8&Ls,this.mi&Ls,this.lo>>16,this.lo>>8&Ls,this.lo&Ls]},fr.prototype.lo32=function(){return this.lo|(this.mi&Ls)<<24},fr.prototype.hi32=function(){return this.mi>>>8&fn|this.hi<<16};function Wd(x,r,e){return new fr(x,r,e)}function $d(x){if(!isFinite(x))return isNaN(x)?Wd(1,0,BU):x>0?Wd(0,0,BU):Wd(0,0,65520);var r=x==0&&1/x==-1/0?ln:x>=0?0:ln;r&&(x=-x);var e=NZ(x)+1023;e<=0?(e=0,x/=Math.pow(2,-rB)):(x/=Math.pow(2,e-fD),x<16&&(x*=2,e-=1),e==0&&(x/=2));var t=Math.pow(2,24),u=x|0;x=(x-u)*t;var i=x|0;x=(x-i)*t;var f=x|0;return u=u&nN|r|e<<4,Wd(f,i,u)}function Al(x){return x.toArray()}function OY(x,r,e){if(x.write(32,r.dims.length),x.write(32,r.kind|r.layout<<8),r.caml_custom==lp)for(var t=0;t<r.dims.length;t++)r.dims[t]<fn?x.write(16,r.dims[t]):(x.write(16,fn),x.write(32,0),x.write(32,r.dims[t]));else for(var t=0;t<r.dims.length;t++)x.write(32,r.dims[t]);switch(r.kind){case 2:case 3:case 12:for(var t=0;t<r.data.length;t++)x.write(8,r.data[t]);break;case 4:case 5:for(var t=0;t<r.data.length;t++)x.write(16,r.data[t]);break;case 6:for(var t=0;t<r.data.length;t++)x.write(32,r.data[t]);break;case 8:case 9:x.write(8,0);for(var t=0;t<r.data.length;t++)x.write(32,r.data[t]);break;case 7:for(var t=0;t<r.data.length/2;t++)for(var u=Al(r.get(t)),i=0;i<8;i++)x.write(8,u[i]);break;case 1:for(var t=0;t<r.data.length;t++)for(var u=Al($d(r.get(t))),i=0;i<8;i++)x.write(8,u[i]);break;case 0:for(var t=0;t<r.data.length;t++){var u=YR(r.get(t));x.write(32,u)}break;case 10:for(var t=0;t<r.data.length/2;t++){var i=r.get(t);x.write(32,YR(i[1])),x.write(32,YR(i[2]))}break;case 11:for(var t=0;t<r.data.length/2;t++){for(var f=r.get(t),u=Al($d(f[1])),i=0;i<8;i++)x.write(8,u[i]);for(var u=Al($d(f[2])),i=0;i<8;i++)x.write(8,u[i])}break}e[0]=(4+r.dims.length)*4,e[1]=(4+r.dims.length)*8}function IY(x){switch(x){case 7:case 10:case 11:return 2;default:return 1}}function CZ(x,r){var e;switch(x){case 0:e=Float32Array;break;case 1:e=Float64Array;break;case 2:e=Int8Array;break;case 3:e=Uint8Array;break;case 4:e=Int16Array;break;case 5:e=Uint16Array;break;case 6:e=Int32Array;break;case 7:e=Int32Array;break;case 8:e=Int32Array;break;case 9:e=Int32Array;break;case 10:e=Float32Array;break;case 11:e=Float64Array;break;case 12:e=Uint8Array;break}e||G1("Bigarray.create: unsupported kind");var t=new e(r*IY(x));return t}function XR(x){var r=new Int32Array(1);r[0]=x;var e=new Float32Array(r.buffer);return e[0]}function Pl(x){return new fr(x[7]<<0|x[6]<<8|x[5]<<16,x[4]<<0|x[3]<<8|x[2]<<16,x[1]<<0|x[0]<<8)}function JR(x){var r=x.lo,e=x.mi,t=x.hi,u=(t&32767)>>4;if(u==yj)return r|e|t&nN?NaN:t&ln?-1/0:1/0;var i=Math.pow(2,-24),f=(r*i+e)*i+(t&nN);return u>0?(f+=16,f*=Math.pow(2,u-fD)):f*=Math.pow(2,-rB),t&ln&&(f=-f),f}function VR(x){for(var r=x.length,e=1,t=0;t<r;t++)x[t]<0&&G1("Bigarray.create: negative dimension"),e=e*x[t];return e}function RZ(x,r){return new fr(x&Ci,x>>>24&Ls|(r&fn)<<8,r>>>16&fn)}function zR(x){return x.hi32()}function KR(x){return x.lo32()}var OZ=lp;function Co(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}Co.prototype.caml_custom=OZ,Co.prototype.offset=function(x){var r=0;if(typeof x=="number"&&(x=[x]),x instanceof Array||G1("bigarray.js: invalid offset"),this.dims.length!=x.length&&G1("Bigarray.get/set: bad number of dimensions"),this.layout==0)for(var e=0;e<this.dims.length;e++)(x[e]<0||x[e]>=this.dims[e])&&gl(),r=r*this.dims[e]+x[e];else for(var e=this.dims.length-1;e>=0;e--)(x[e]<1||x[e]>this.dims[e])&&gl(),r=r*this.dims[e]+(x[e]-1);return r},Co.prototype.get=function(x){switch(this.kind){case 7:var r=this.data[x*2+0],e=this.data[x*2+1];return RZ(r,e);case 10:case 11:var t=this.data[x*2+0],u=this.data[x*2+1];return[Ia,t,u];default:return this.data[x]}},Co.prototype.set=function(x,r){switch(this.kind){case 7:this.data[x*2+0]=KR(r),this.data[x*2+1]=zR(r);break;case 10:case 11:this.data[x*2+0]=r[1],this.data[x*2+1]=r[2];break;default:this.data[x]=r;break}return 0},Co.prototype.fill=function(x){switch(this.kind){case 7:var r=KR(x),e=zR(x);if(r==e)this.data.fill(r);else for(var t=0;t<this.data.length;t++)this.data[t]=t%2==0?r:e;break;case 10:case 11:var u=x[1],i=x[2];if(u==i)this.data.fill(u);else for(var t=0;t<this.data.length;t++)this.data[t]=t%2==0?u:i;break;default:this.data.fill(x);break}},Co.prototype.compare=function(x,r){if(this.layout!=x.layout||this.kind!=x.kind){var e=this.kind|this.layout<<8,t=x.kind|x.layout<<8;return t-e}if(this.dims.length!=x.dims.length)return x.dims.length-this.dims.length;for(var u=0;u<this.dims.length;u++)if(this.dims[u]!=x.dims[u])return this.dims[u]<x.dims[u]?-1:1;switch(this.kind){case 0:case 1:case 10:case 11:for(var i,f,u=0;u<this.data.length;u++){if(i=this.data[u],f=x.data[u],i<f)return-1;if(i>f)return 1;if(i!=f){if(!r)return NaN;if(i==i)return 1;if(f==f)return-1}}break;case 7:for(var u=0;u<this.data.length;u+=2){if(this.data[u+1]<x.data[u+1])return-1;if(this.data[u+1]>x.data[u+1])return 1;if(this.data[u]>>>0<x.data[u]>>>0)return-1;if(this.data[u]>>>0>x.data[u]>>>0)return 1}break;case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 12:for(var u=0;u<this.data.length;u++){if(this.data[u]<x.data[u])return-1;if(this.data[u]>x.data[u])return 1}break}return 0};function Ja(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}Ja.prototype=new Co,Ja.prototype.offset=function(x){return typeof x!="number"&&(x instanceof Array&&x.length==1?x=x[0]:G1("Ml_Bigarray_c_1_1.offset")),(x<0||x>=this.dims[0])&&gl(),x},Ja.prototype.get=function(x){return this.data[x]},Ja.prototype.set=function(x,r){return this.data[x]=r,0},Ja.prototype.fill=function(x){return this.data.fill(x),0};function LY(x,r,e,t){var u=IY(x);return VR(e)*u!=t.length&&G1("length doesn't match dims"),r==0&&e.length==1&&u==1?new Ja(x,r,e,t):new Co(x,r,e,t)}function X2(x){Y2.Failure||(Y2.Failure=[Gr,tw,-3]),BR(Y2.Failure,x)}function MY(x,r,e){var t=x.read32s();(t<0||t>16)&&X2("input_value: wrong number of bigarray dimensions");var u=x.read32s(),i=u&Ls,f=u>>8&1,o=[];if(e==lp)for(var a=0;a<t;a++){var d=x.read16u();if(d==fn){var k=x.read32u(),T=x.read32u();k!=0&&X2("input_value: bigarray dimension overflow in 32bit"),d=T}o.push(d)}else for(var a=0;a<t;a++)o.push(x.read32u());var g=VR(o),A=CZ(i,g),C=LY(i,f,o,A);switch(i){case 2:for(var a=0;a<g;a++)A[a]=x.read8s();break;case 3:case 12:for(var a=0;a<g;a++)A[a]=x.read8u();break;case 4:for(var a=0;a<g;a++)A[a]=x.read16s();break;case 5:for(var a=0;a<g;a++)A[a]=x.read16u();break;case 6:for(var a=0;a<g;a++)A[a]=x.read32s();break;case 8:case 9:var R=x.read8u();R&&X2("input_value: cannot read bigarray with 64-bit OCaml ints");for(var a=0;a<g;a++)A[a]=x.read32s();break;case 7:for(var Z=new Array(8),a=0;a<g;a++){for(var O=0;O<8;O++)Z[O]=x.read8u();var M=Pl(Z);C.set(a,M)}break;case 1:for(var Z=new Array(8),a=0;a<g;a++){for(var O=0;O<8;O++)Z[O]=x.read8u();var L=JR(Pl(Z));C.set(a,L)}break;case 0:for(var a=0;a<g;a++){var L=XR(x.read32s());C.set(a,L)}break;case 10:for(var a=0;a<g;a++){var z=XR(x.read32s()),V=XR(x.read32s());C.set(a,[Ia,z,V])}break;case 11:for(var Z=new Array(8),a=0;a<g;a++){for(var O=0;O<8;O++)Z[O]=x.read8u();for(var z=JR(Pl(Z)),O=0;O<8;O++)Z[O]=x.read8u();var V=JR(Pl(Z));C.set(a,[Ia,z,V])}break}return r[0]=(4+t)*4,LY(i,f,o,A)}function DY(x,r,e){return x.compare(r,e)}function jY(x,r){return Math.imul(x,r)}function Xs(x,r){return r=jY(r,-862048943),r=r<<15|r>>>32-15,r=jY(r,461845907),x^=r,x=x<<13|x>>>32-13,(x+(x<<2)|0)+-430675100|0}function IZ(x,r){return x=Xs(x,KR(r)),x=Xs(x,zR(r)),x}function UY(x,r){return IZ(x,$d(r))}function BY(x){var r=VR(x.dims),e=0;switch(x.kind){case 2:case 3:case 12:r>H3&&(r=H3);var t=0,u=0;for(u=0;u+4<=x.data.length;u+=4)t=x.data[u+0]|x.data[u+1]<<8|x.data[u+2]<<16|x.data[u+3]<<24,e=Xs(e,t);switch(t=0,r&3){case 3:t=x.data[u+2]<<16;case 2:t|=x.data[u+1]<<8;case 1:t|=x.data[u+0],e=Xs(e,t)}break;case 4:case 5:r>h1&&(r=h1);var t=0,u=0;for(u=0;u+2<=x.data.length;u+=2)t=x.data[u+0]|x.data[u+1]<<16,e=Xs(e,t);r&1&&(e=Xs(e,x.data[u]));break;case 6:r>64&&(r=64);for(var u=0;u<r;u++)e=Xs(e,x.data[u]);break;case 8:case 9:r>64&&(r=64);for(var u=0;u<r;u++)e=Xs(e,x.data[u]);break;case 7:r>32&&(r=32),r*=2;for(var u=0;u<r;u++)e=Xs(e,x.data[u]);break;case 10:r*=2;case 0:r>64&&(r=64);for(var u=0;u<r;u++)e=UY(e,x.data[u]);break;case 11:r*=2;case 1:r>32&&(r=32);for(var u=0;u<r;u++)e=UY(e,x.data[u]);break}return e}function LZ(x,r){return r[0]=4,x.read32s()}function MZ(x,r){switch(x.read8u()){case 1:return r[0]=4,x.read32s();case 2:X2("input_value: native integer value too large");default:X2("input_value: ill-formed native integer")}}function DZ(x,r){for(var e=new Array(8),t=0;t<8;t++)e[t]=x.read8u();return r[0]=8,Pl(e)}function jZ(x,r,e){for(var t=Al(r),u=0;u<8;u++)x.write(8,t[u]);e[0]=8,e[1]=8}function UZ(x,r,e){return x.compare(r)}function BZ(x){return x.lo32()^x.hi32()}var YY={_j:{deserialize:DZ,serialize:jZ,fixed_length:8,compare:UZ,hash:BZ},_i:{deserialize:LZ,fixed_length:4},_n:{deserialize:MZ,fixed_length:4},_bigarray:{deserialize:function(x,r){return MY(x,r,"_bigarray")},serialize:OY,compare:DY,hash:BY},_bigarr02:{deserialize:function(x,r){return MY(x,r,lp)},serialize:OY,compare:DY,hash:BY}};function ZR(x){return YY[x.caml_custom]&&YY[x.caml_custom].compare}function XY(x,r,e,t){var u=ZR(r);if(u){var i=e>0?u(r,x,t):u(x,r,t);if(t&&i!=i)return e;if(+i!=+i)return+i;if(i|0)return i|0}return e}function WR(x){return typeof x=="string"&&!/[^\x00-\xff]/.test(x)}function $R(x){return x instanceof Bs}function JY(x){if(typeof x=="number")return ol;if($R(x))return Av;if(WR(x))return 1252;if(x instanceof Array&&x[0]===x[0]>>>0&&x[0]<=$3){var r=x[0]|0;return r==Ia?0:r}else{if(x instanceof String)return _D;if(typeof x=="string")return _D;if(x instanceof Number)return ol;if(x&&x.caml_custom)return YC;if(x&&x.compare)return 1256;if(typeof x=="function")return 1247;if(typeof x=="symbol")return 1251}return 1001}function Ut(x,r){return x<r?-1:x==r?0:1}function Tx(x,r){return x<r?-1:x>r?1:0}function YZ(x,r){return x.t&6&&Zd(x),r.t&6&&Zd(r),x.c<r.c?-1:x.c>r.c?1:0}function Qd(x,r,e){for(var t=[];;){if(!(e&&x===r)){var u=JY(x);if(u==Ba){x=x[1];continue}var i=JY(r);if(i==Ba){r=r[1];continue}if(u!==i)return u==ol?i==YC?XY(x,r,-1,e):-1:i==ol?u==YC?XY(r,x,1,e):1:u<i?-1:1;switch(u){case 247:G1(vP);break;case 248:var o=Ut(x[2],r[2]);if(o!=0)return o|0;break;case 249:G1(vP);break;case 250:G1("equal: got Forward_tag, should not happen");break;case 251:G1("equal: abstract value");break;case 252:if(x!==r){var o=YZ(x,r);if(o!=0)return o|0}break;case 253:G1("equal: got Double_tag, should not happen");break;case 254:G1("equal: got Double_array_tag, should not happen");break;case 255:G1("equal: got Custom_tag, should not happen");break;case 1247:G1(vP);break;case 1255:var f=ZR(x);if(f!=ZR(r))return x.caml_custom<r.caml_custom?-1:1;f||G1("compare: abstract value");var o=f(x,r,e);if(o!=o)return e?-1:o;if(o!==(o|0))return-1;if(o!=0)return o|0;break;case 1256:var o=x.compare(r,e);if(o!=o)return e?-1:o;if(o!==(o|0))return-1;if(o!=0)return o|0;break;case 1e3:if(x=+x,r=+r,x<r)return-1;if(x>r)return 1;if(x!=r){if(!e)return NaN;if(x==x)return 1;if(r==r)return-1}break;case 1001:if(x<r)return-1;if(x>r)return 1;if(x!=r){if(!e)return NaN;if(x==x)return 1;if(r==r)return-1}break;case 1251:if(x!==r)return e?1:NaN;break;case 1252:var x=x,r=r;if(x!==r){if(x<r)return-1;if(x>r)return 1}break;case 12520:var x=x.toString(),r=r.toString();if(x!==r){if(x<r)return-1;if(x>r)return 1}break;case 246:case 254:default:if(AZ(u)){G1("compare: continuation value");break}if(x.length!=r.length)return x.length<r.length?-1:1;x.length>1&&t.push(x,r,1);break}}if(t.length==0)return 0;var a=t.pop();r=t.pop(),x=t.pop(),a+1<x.length&&t.push(x,r,a+1),x=x[a],r=r[a]}}function VY(x,r){return Qd(x,r,!0)}function XZ(){return[0]}function S1(x){return x<0&&G1("Bytes.create"),new Bs(x?2:9,hx,x)}function Nl(x,r){return+(Qd(x,r,!1)==0)}function JZ(x,r,e,t){if(e>0)if(r==0&&(e>=x.l||x.t==2&&e>=x.c.length))t==0?(x.c=hx,x.t=2):(x.c=Ya(e,String.fromCharCode(t)),x.t=e==x.l?0:2);else for(x.t!=4&&Kd(x),e+=r;r<e;r++)x.c[r]=t;return 0}function QR(x){var r;if(x=x,r=+x,x.length>0&&r===r||(x=x.replace(/_/g,hx),r=+x,x.length>0&&r===r||/^[+-]?nan$/i.test(x)))return r;var e=/^ *([+-]?)0x([0-9a-f]+)\.?([0-9a-f]*)(p([+-]?[0-9]+))?/i.exec(x);if(e){var t=e[3].replace(/0+$/,hx),u=parseInt(e[1]+e[2]+t,16),i=(e[5]|0)-4*t.length;return r=u*Math.pow(2,i),r}if(/^\+?inf(inity)?$/i.test(x))return 1/0;if(/^-inf(inity)?$/i.test(x))return-1/0;X2("float_of_string")}function FR(x){x=x;var r=x.length;r>31&&G1("format_int: format too long");for(var e={justify:js,signstyle:Lt,filler:Mt,alternate:!1,base:0,signedconv:!1,width:0,uppercase:!1,sign:1,prec:-1,conv:nB},t=0;t<r;t++){var u=x.charAt(t);switch(u){case"-":e.justify=Lt;break;case"+":case" ":e.signstyle=u;break;case"0":e.filler=xe;break;case"#":e.alternate=!0;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(e.width=0;u=x.charCodeAt(t)-48,u>=0&&u<=9;)e.width=e.width*10+u,t++;t--;break;case".":for(e.prec=0,t++;u=x.charCodeAt(t)-48,u>=0&&u<=9;)e.prec=e.prec*10+u,t++;t--;case"d":case"i":e.signedconv=!0;case"u":e.base=10;break;case"x":e.base=16;break;case"X":e.base=16,e.uppercase=!0;break;case"o":e.base=8;break;case"e":case"f":case"g":e.signedconv=!0,e.conv=u;break;case"E":case"F":case"G":e.signedconv=!0,e.uppercase=!0,e.conv=u.toLowerCase();break}}return e}function HR(x,r){x.uppercase&&(r=r.toUpperCase());var e=r.length;x.signedconv&&(x.sign<0||x.signstyle!=Lt)&&e++,x.alternate&&(x.base==8&&(e+=1),x.base==16&&(e+=2));var t=hx;if(x.justify==js&&x.filler==Mt)for(var u=e;u<x.width;u++)t+=Mt;if(x.signedconv&&(x.sign<0?t+=Lt:x.signstyle!=Lt&&(t+=x.signstyle)),x.alternate&&x.base==8&&(t+=xe),x.alternate&&x.base==16&&(t+=x.uppercase?"0X":So),x.justify==js&&x.filler==xe)for(var u=e;u<x.width;u++)t+=xe;if(t+=r,x.justify==Lt)for(var u=e;u<x.width;u++)t+=Mt;return t}function qR(x,r){function e(k,T){if(Math.abs(k)<1)return k.toFixed(T);var g=parseInt(k.toString().split(js)[1]);return g>20?(g-=20,k/=Math.pow(10,g),k+=new Array(g+1).join(xe),T>0&&(k=k+ic+new Array(T+1).join(xe)),k):k.toFixed(T)}var t,u=FR(x),i=u.prec<0?6:u.prec;if((r<0||r==0&&1/r==-1/0)&&(u.sign=-1,r=-r),isNaN(r))t=Wk,u.filler=Mt;else if(!isFinite(r))t="inf",u.filler=Mt;else switch(u.conv){case"e":var t=r.toExponential(i),f=t.length;t.charAt(f-3)==Th&&(t=t.slice(0,f-1)+xe+t.slice(f-1));break;case"f":t=e(r,i);break;case"g":i=i||1,t=r.toExponential(i-1);var o=t.indexOf(Th),a=+t.slice(o+1);if(a<-4||r>=1e21||r.toFixed(0).length>i){for(var f=o-1;t.charAt(f)==xe;)f--;t.charAt(f)==ic&&f--,t=t.slice(0,f+1)+t.slice(o),f=t.length,t.charAt(f-3)==Th&&(t=t.slice(0,f-1)+xe+t.slice(f-1));break}else{var d=i;if(a<0)d-=a+1,t=r.toFixed(d);else for(;t=r.toFixed(d),t.length>i+1;)d--;if(d){for(var f=t.length-1;t.charAt(f)==xe;)f--;t.charAt(f)==ic&&f--,t=t.slice(0,f+1)}}break}return HR(u,t)}function Fd(x,r){if(x==El)return hx+r;var e=FR(x);r<0&&(e.signedconv?(e.sign=-1,r=-r):r>>>=0);var t=r.toString(e.base);if(e.prec>=0){e.filler=Mt;var u=e.prec-t.length;u>0&&(t=Ya(u,xe)+t)}return HR(e,t)}var zY=0;function Js(){return zY++}function KY(){return[0]}var Hd=[];function Gx(x,r,e){var t=x[1],u=Hd[e];if(u===void 0)for(var i=Hd.length;i<e;i++)Hd[i]=0;else if(t[u]===r)return t[u-1];for(var f=3,o=t[1]*2+1,a;f<o;)a=f+o>>1|1,r<t[a+1]?o=a-2:f=a;return Hd[e]=f+1,r==t[f+1]?t[f]:0}function VZ(x){for(var r=hx,e=r,t,u,i=0,f=x.length;i<f;i++){if(t=x.charCodeAt(i),t<on){for(var o=i+1;o<f&&(t=x.charCodeAt(o))<on;o++);if(o-i>_w?(e.substr(0,1),r+=e,e=hx,r+=x.slice(i,o)):e+=x.slice(i,o),o==f)break;i=o}t<wY?(e+=String.fromCharCode(192|t>>6),e+=String.fromCharCode(on|t&Ua)):t<55296||t>=WB?e+=String.fromCharCode(fB|t>>12,on|t>>6&Ua,on|t&Ua):t>=56319||i+1==f||(u=x.charCodeAt(i+1))<zU||u>WB?e+="\xEF\xBF\xBD":(i++,t=(t<<10)+u-56613888,e+=String.fromCharCode(XB|t>>18,on|t>>12&Ua,on|t>>6&Ua,on|t&Ua)),e.length>yl&&(e.substr(0,1),r+=e,e=hx)}return r+e}function Bt(x){return jR(x)?x:VZ(x)}function zZ(x,r,e){if(!isFinite(x))return isNaN(x)?Bt(Wk):Bt(x>0?Dj:"-infinity");var t=x==0&&1/x==-1/0?1:x>=0?0:1;t&&(x=-x);var u=0;if(x!=0)if(x<1)for(;x<1&&u>-1022;)x*=2,u--;else for(;x>=2;)x/=2,u++;var i=u<0?hx:js,f=hx;if(t)f=Lt;else switch(e){case 43:f=js;break;case 32:f=Mt;break;default:break}if(r>=0&&r<13){var o=Math.pow(2,r*4);x=Math.round(x*o)/o}var a=x.toString(16);if(r>=0){var d=a.indexOf(ic);if(d<0)a+=ic+Ya(r,xe);else{var k=d+1+r;a.length<k?a+=Ya(k-a.length,xe):a=a.substr(0,k)}}return Bt(f+So+a+"p"+i+u.toString(10))}function KZ(x){return+x.isZero()}function qd(x){return new fr(x&Ci,x>>24&Ci,x>>31&fn)}function ZZ(x){return x.toInt()}function WZ(x){return+x.isNeg()}function GR(x){return x.neg()}function $Z(x,r){var e=FR(x);e.signedconv&&WZ(r)&&(e.sign=-1,r=GR(r));var t=hx,u=qd(e.base),i="0123456789abcdef";do{var f=r.udivmod(u);r=f.quotient,t=i.charAt(ZZ(f.modulus))+t}while(!KZ(r));if(e.prec>=0){e.filler=Mt;var o=e.prec-t.length;o>0&&(t=Ya(o,xe)+t)}return HR(e,t)}function Xx(x){return x.length}function fx(x,r){return x.charCodeAt(r)}function QZ(x,r){return x.add(r)}function FZ(x,r){return x.mul(r)}function bR(x,r){return x.ucompare(r)<0}function ZY(x){var r=0,e=Xx(x),t=10,u=1;if(e>0)switch(fx(x,r)){case 45:r++,u=-1;break;case 43:r++,u=1;break}if(r+1<e&&fx(x,r)==48)switch(fx(x,r+1)){case 120:case 88:t=16,r+=2;break;case 111:case 79:t=8,r+=2;break;case 98:case 66:t=2,r+=2;break;case 117:case 85:r+=2;break}return[r,u,t]}function Gd(x){return x>=48&&x<=57?x-48:x>=65&&x<=90?x-55:x>=97&&x<=x1?x-87:-1}function Cl(x){var r=ZY(x),e=r[0],t=r[1],u=r[2],i=qd(u),f=new fr(Ci,268435455,fn).udivmod(i).quotient,o=fx(x,e),a=Gd(o);(a<0||a>=u)&&X2(Ds);for(var d=qd(a);;)if(e++,o=fx(x,e),o!=95){if(a=Gd(o),a<0||a>=u)break;bR(f,d)&&X2(Ds),a=qd(a),d=QZ(FZ(i,d),a),bR(d,a)&&X2(Ds)}return e!=Xx(x)&&X2(Ds),u==10&&bR(new fr(0,0,ln),d)&&X2(Ds),t<0&&(d=GR(d)),d}function bd(x){return x.toFloat()}function ot(x){var r=ZY(x),e=r[0],t=r[1],u=r[2],i=Xx(x),f=-1>>>0,o=e<i?fx(x,e):0,a=Gd(o);(a<0||a>=u)&&X2(Ds);var d=a;for(e++;e<i;e++)if(o=fx(x,e),o!=95){if(a=Gd(o),a<0||a>=u)break;d=u*d+a,d>f&&X2(Ds)}return e!=i&&X2(Ds),d=t*d,u==10&&(d|0)!=d&&X2(Ds),d|0}function HZ(x){return x.slice(1)}function xr(x){return jR(x)?x:gY(x)}function qZ(x){for(var r={},e=1;e<x.length;e++){var t=x[e];r[xr(t[1])]=t[2]}return r}var xy=Ys;function GZ(x){return x.l>=0?x.l:x.l=x.length}function bZ(x){return function(){for(var r=GZ(x),e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return xy(x,e)}}function xW(x,r){return+(Qd(x,r,!1)<0)}function Va(e,r){e<0&&gl();var e=e+1|0,t=new Array(e);t[0]=0;for(var u=1;u<e;u++)t[u]=r;return t}function vt(x){return x.l}function rW(){return 0}function Ir(x){BR(Y2.Sys_error,x)}var Vs=new Array;function es(x){var r=Vs[x];return r.opened||Ir("Cannot flush a closed channel"),!r.buffer||r.buffer_curr==0||(r.output?r.output(zd(r.buffer,0,r.buffer_curr)):r.file.write(r.offset,r.buffer,0,r.buffer_curr),r.offset+=r.buffer_curr,r.buffer_curr=0),0}function WY(){}function BC0(x){for(var r=Xx(x),e=new Array(r),t=0;t<r;t++)e[t]=fx(x,t);return e}function $Y(x){return x.t!=4&&Kd(x),x.c}function mn(x,r){this.fs={},this.fd=x,this.flags=r}mn.prototype=new WY,mn.prototype.constructor=mn,mn.prototype.truncate=function(x){try{this.fs.ftruncateSync(this.fd,x|0)}catch(r){Ir(r.toString())}},mn.prototype.length=function(){try{return this.fs.fstatSync(this.fd).size}catch(x){Ir(x.toString())}},mn.prototype.write=function(x,r,e,t){try{this.flags.isCharacterDevice?this.fs.writeSync(this.fd,r,e,t):this.fs.writeSync(this.fd,r,e,t,x)}catch(u){Ir(u.toString())}return 0},mn.prototype.read=function(x,r,e,t){try{if(this.flags.isCharacterDevice)var u=this.fs.readSync(this.fd,r,e,t);else var u=this.fs.readSync(this.fd,r,e,t,x);return u}catch(i){Ir(i.toString())}},mn.prototype.close=function(){try{return this.fs.closeSync(this.fd),0}catch(x){Ir(x.toString())}};function eW(x,r){if(r.name)try{var e={},t=e.openSync(r.name,"rs");return new mn(t,r)}catch{}return new mn(x,r)}var ry=new Array(3);function Rl(){return typeof p0.process<"u"&&typeof p0.process.versions<"u"&&typeof p0.process.versions.node<"u"}function tW(){function x(e){if(e.charAt(0)===q2)return[hx,e.substring(1)]}function r(e){var t=/^([a-zA-Z]:|[\\/]{2}[^\\/]+[\\/]+[^\\/]+)?([\\/])?([\s\S]*?)$/,u=t.exec(e),i=u[1]||hx,f=!!(i&&i.charAt(1)!==Iv);if(u[2]||f){var o=u[1]||hx,a=u[2]||hx;return[o,e.substring(o.length+a.length)]}}return Rl()&&p0.process&&p0.process.platform&&p0.process.platform===Pj?r:x}var xO=tW();function QY(x){return x.slice(-1)!==q2?x+q2:x}if(Rl()&&p0.process&&p0.process.cwd)var Ol=p0.process.cwd().replace(/\\/g,q2);else var Ol="/static";Ol=QY(Ol);function nW(x){x=xr(x),xO(x)||(x=Ol+x);for(var r=xO(x),e=r[1].split(q2),t=[],u=0;u<e.length;u++)switch(e[u]){case"..":t.length>1&&t.pop();break;case".":break;case"":break;default:t.push(e[u]);break}return t.unshift(r[0]),t.orig=x,t}var uW=["E2BIG","EACCES","EAGAIN",VT,"EBUSY","ECHILD","EDEADLK","EDOM",oU,"EFAULT","EFBIG","EINTR","EINVAL","EIO","EISDIR","EMFILE","EMLINK","ENAMETOOLONG","ENFILE","ENODEV",qS,"ENOEXEC","ENOLCK","ENOMEM","ENOSPC","ENOSYS",ph,eD,"ENOTTY","ENXIO","EPERM","EPIPE","ERANGE","EROFS","ESPIPE","ESRCH","EXDEV","EWOULDBLOCK","EINPROGRESS","EALREADY","ENOTSOCK","EDESTADDRREQ","EMSGSIZE","EPROTOTYPE","ENOPROTOOPT","EPROTONOSUPPORT","ESOCKTNOSUPPORT","EOPNOTSUPP","EPFNOSUPPORT","EAFNOSUPPORT","EADDRINUSE","EADDRNOTAVAIL","ENETDOWN","ENETUNREACH","ENETRESET","ECONNABORTED","ECONNRESET","ENOBUFS","EISCONN","ENOTCONN","ESHUTDOWN","ETOOMANYREFS","ETIMEDOUT","ECONNREFUSED","EHOSTDOWN","EHOSTUNREACH","ELOOP","EOVERFLOW"];function zs(x,r,e,t){var u=uW.indexOf(x);u<0&&(t==null&&(t=-9999),u=[0,t]);var i=[u,Bt(r||hx),Bt(e||hx)];return i}var FY={};function Ro(x){return FY[x]}function Ks(x,r){throw q0([0,x].concat(r))}function rO(x){return x instanceof Uint8Array||(x=new Uint8Array(x)),new Bs(4,x,x.length)}function HY(x){Ir(x+pp)}function re(x){this.data=x}re.prototype=new WY,re.prototype.constructor=re,re.prototype.truncate=function(x){var r=this.data;this.data=S1(x|0),Us(r,0,this.data,0,x)},re.prototype.length=function(){return vt(this.data)},re.prototype.write=function(x,r,e,t){var u=this.length();if(x+t>=u){var i=S1(x+t),f=this.data;this.data=i,Us(f,0,this.data,0,u)}return Us(rO(r),e,this.data,x,t),0},re.prototype.read=function(x,r,e,t){var u=this.length();if(x+t>=u&&(t=u-x),t){var i=S1(t|0);Us(this.data,x,i,0,t),r.set($Y(i),e)}return t};function Mv(x,r,e){this.file=r,this.name=x,this.flags=e}Mv.prototype.err_closed=function(){Ir(this.name+lj)},Mv.prototype.length=function(){if(this.file)return this.file.length();this.err_closed()},Mv.prototype.write=function(x,r,e,t){if(this.file)return this.file.write(x,r,e,t);this.err_closed()},Mv.prototype.read=function(x,r,e,t){if(this.file)return this.file.read(x,r,e,t);this.err_closed()},Mv.prototype.close=function(){this.file=void 0};function p2(x,r){this.content={},this.root=x,this.lookupFun=r}p2.prototype.nm=function(x){return this.root+x},p2.prototype.create_dir_if_needed=function(x){for(var r=x.split(q2),e=hx,t=0;t<r.length-1;t++)e+=r[t]+q2,!this.content[e]&&(this.content[e]=Symbol("directory"))},p2.prototype.slash=function(x){return/\/$/.test(x)?x:x+q2},p2.prototype.lookup=function(x){if(!this.content[x]&&this.lookupFun){var r=this.lookupFun(this.root,x);r!==0&&(this.create_dir_if_needed(x),this.content[x]=new re(xs(r[1])))}},p2.prototype.exists=function(x){if(x==hx)return 1;var r=this.slash(x);return this.content[r]?1:(this.lookup(x),this.content[x]?1:0)},p2.prototype.isFile=function(x){return this.exists(x)&&!this.is_dir(x)?1:0},p2.prototype.mkdir=function(x,r,e){var t=e&&Ro(Np);this.exists(x)&&(t?Ks(t,zs(oU,SN,this.nm(x))):Ir(x+": File exists"));var u=/^(.*)\/[^/]+/.exec(x);u=u&&u[1]||hx,this.exists(u)||(t?Ks(t,zs(qS,SN,this.nm(u))):Ir(u+pp)),this.is_dir(u)||(t?Ks(t,zs(ph,SN,this.nm(u))):Ir(u+uh)),this.create_dir_if_needed(this.slash(x))},p2.prototype.rmdir=function(x,r){var e=r&&Ro(Np),t=x==hx?hx:this.slash(x),u=new RegExp(O8+t+VB);this.exists(x)||(e?Ks(e,zs(qS,Gk,this.nm(x))):Ir(x+pp)),this.is_dir(x)||(e?Ks(e,zs(ph,Gk,this.nm(x))):Ir(x+uh));for(var i in this.content)i.match(u)&&(e?Ks(e,zs(eD,Gk,this.nm(x))):Ir(this.nm(x)+": Directory not empty"));delete this.content[t]},p2.prototype.readdir=function(x){var r=x==hx?hx:this.slash(x);this.exists(x)||Ir(x+pp),this.is_dir(x)||Ir(x+uh);var e=new RegExp(O8+r+VB),t={},u=[];for(var i in this.content){var f=i.match(e);f&&!t[f[1]]&&(t[f[1]]=!0,u.push(f[1]))}return u},p2.prototype.opendir=function(x,r){var e=r&&Ro(Np),t=this.readdir(x),u=!1,i=0;return{readSync:function(){if(u&&(e?Ks(e,zs(VT,cU,this.nm(x))):Ir(x+hB)),i==t.length)return null;var f=t[i];return i++,{name:f}},closeSync:function(){u&&(e?Ks(e,zs(VT,cU,this.nm(x))):Ir(x+hB)),u=!0,t=[]}}},p2.prototype.is_dir=function(x){if(x==hx)return!0;var r=this.slash(x);return this.content[r]?1:0},p2.prototype.unlink=function(x){var r=!!this.content[x];return delete this.content[x],r},p2.prototype.open=function(x,r){var e;return r.rdonly&&r.wronly&&Ir(this.nm(x)+fS),r.text&&r.binary&&Ir(this.nm(x)+hR),this.lookup(x),this.content[x]?(this.is_dir(x)&&Ir(this.nm(x)+EU),r.create&&r.excl&&Ir(this.nm(x)+BN),e=this.content[x],r.truncate&&e.truncate()):r.create?(this.create_dir_if_needed(x),this.content[x]=new re(S1(0)),e=this.content[x]):HY(this.nm(x)),new Mv(this.nm(x),e,r)},p2.prototype.open=function(x,r){var e;return r.rdonly&&r.wronly&&Ir(this.nm(x)+fS),r.text&&r.binary&&Ir(this.nm(x)+hR),this.lookup(x),this.content[x]?(this.is_dir(x)&&Ir(this.nm(x)+EU),r.create&&r.excl&&Ir(this.nm(x)+BN),e=this.content[x],r.truncate&&e.truncate()):r.create?(this.create_dir_if_needed(x),this.content[x]=new re(S1(0)),e=this.content[x]):HY(this.nm(x)),new Mv(this.nm(x),e,r)},p2.prototype.register=function(x,r){var e;if(this.content[x]&&Ir(this.nm(x)+BN),$R(r)&&(e=new re(r)),WR(r))e=new re(xs(r));else if(r instanceof Array)e=new re(rO(r));else if(typeof r=="string")e=new re(AY(r));else if(r.toString){var t=xs(Bt(r.toString()));e=new re(t)}e?(this.create_dir_if_needed(x),this.content[x]=e):Ir(this.nm(x)+" : registering file with invalid content type")},p2.prototype.constructor=p2;function b1(x){this.fs={},this.root=x}b1.prototype.nm=function(x){return this.root+x},b1.prototype.exists=function(x){try{return this.fs.existsSync(this.nm(x))?1:0}catch{return 0}},b1.prototype.isFile=function(x){try{return this.fs.statSync(this.nm(x)).isFile()?1:0}catch(r){Ir(r.toString())}},b1.prototype.mkdir=function(x,r,e){try{return this.fs.mkdirSync(this.nm(x),{mode:r}),0}catch(t){this.raise_nodejs_error(t,e)}},b1.prototype.rmdir=function(x,r){try{return this.fs.rmdirSync(this.nm(x)),0}catch(e){this.raise_nodejs_error(e,r)}},b1.prototype.readdir=function(x,r){try{return this.fs.readdirSync(this.nm(x))}catch(e){this.raise_nodejs_error(e,r)}},b1.prototype.is_dir=function(x){try{return this.fs.statSync(this.nm(x)).isDirectory()?1:0}catch(r){Ir(r.toString())}},b1.prototype.unlink=function(x,r){try{var e=this.fs.existsSync(this.nm(x))?1:0;return this.fs.unlinkSync(this.nm(x)),e}catch(t){this.raise_nodejs_error(t,r)}},b1.prototype.open=function(x,r,e){var t={},u=0;for(var i in r)switch(i){case"rdonly":u|=t.O_RDONLY;break;case"wronly":u|=t.O_WRONLY;break;case"append":u|=t.O_WRONLY|t.O_APPEND;break;case"create":u|=t.O_CREAT;break;case"truncate":u|=t.O_TRUNC;break;case"excl":u|=t.O_EXCL;break;case"binary":u|=t.O_BINARY;break;case"text":u|=t.O_TEXT;break;case"nonblock":u|=t.O_NONBLOCK;break}try{var f=this.fs.openSync(this.nm(x),u),o=this.fs.lstatSync(this.nm(x)).isCharacterDevice();return r.isCharacterDevice=o,new mn(f,r)}catch(a){this.raise_nodejs_error(a,e)}},b1.prototype.rename=function(x,r,e){try{this.fs.renameSync(this.nm(x),this.nm(r))}catch(t){this.raise_nodejs_error(t,e)}},b1.prototype.stat=function(x,r){try{var e=this.fs.statSync(this.nm(x));return this.stats_from_js(e)}catch(t){this.raise_nodejs_error(t,r)}},b1.prototype.lstat=function(x,r){try{var e=this.fs.lstatSync(this.nm(x));return this.stats_from_js(e)}catch(t){this.raise_nodejs_error(t,r)}},b1.prototype.symlink=function(x,r,e,t){try{return this.fs.symlinkSync(this.nm(r),this.nm(e),x?"dir":"file"),0}catch(u){this.raise_nodejs_error(u,t)}},b1.prototype.readlink=function(x,r){try{var e=this.fs.readlinkSync(this.nm(x),"utf8");return Bt(e)}catch(t){this.raise_nodejs_error(t,r)}},b1.prototype.opendir=function(x,r){try{return this.fs.opendirSync(this.nm(x))}catch(e){this.raise_nodejs_error(e,r)}},b1.prototype.raise_nodejs_error=function(x,r){var e=Ro(Np);if(r&&e){var t=zs(x.code,x.syscall,x.path,x.errno);Ks(e,t)}else Ir(x.toString())},b1.prototype.stats_from_js=function(x){var r;return x.isFile()?r=0:x.isDirectory()?r=1:x.isCharacterDevice()?r=2:x.isBlockDevice()?r=3:x.isSymbolicLink()?r=4:x.isFIFO()?r=5:x.isSocket()&&(r=6),[0,x.dev,x.ino,r,x.mode,x.nlink,x.uid,x.gid,x.rdev,x.size,x.atimeMs,x.mtimeMs,x.ctimeMs]},b1.prototype.constructor=b1;function qY(x){var r=xO(x);if(r)return r[0]+q2}var ey=qY(Ol)||X2("unable to compute caml_root"),za=[];Rl()?za.push({path:ey,device:new b1(ey)}):za.push({path:ey,device:new p2(ey)}),za.push({path:BB,device:new p2(BB)});function iW(e){for(var r=nW(e),e=r.join(q2),t=QY(e),u,i=0;i<za.length;i++){var f=za[i];t.search(f.path)==0&&(!u||u.path.length<f.path.length)&&(u={path:f.path,device:f.device,rest:e.substring(f.path.length,e.length)})}if(!u&&Rl()){var o=qY(e);if(o&&o.match(/^[a-zA-Z]:\/$/)){var f={path:o,device:new b1(o)};za.push(f),u={path:f.path,device:f.device,rest:e.substring(f.path.length,e.length)}}}if(u)return u;Ir("no device found for "+t)}function Il(x,r){re.call(this,S1(0)),this.log=function(e){return 0},x==1&&typeof console.log=="function"?this.log=console.log:x==2&&typeof console.error=="function"?this.log=console.error:typeof console.log=="function"&&(this.log=console.log),this.flags=r}Il.prototype.length=function(){return 0},Il.prototype.write=function(x,r,e,t){if(this.log){t>0&&e>=0&&e+t<=r.length&&r[e+t-1]==10&&t--;var u=S1(t);return Us(rO(r),e,u,0,t),this.log(u.toUtf16()),0}Ir(this.fd+lj)},Il.prototype.read=function(x,r,e,t){Ir(this.fd+": file descriptor is write only")},Il.prototype.close=function(){this.log=void 0};function ty(x,r){return r==null&&(r=ry.length),ry[r]=x,r|0}function YC0(x,r,e){for(var t={};r;){switch(r[1]){case 0:t.rdonly=1;break;case 1:t.wronly=1;break;case 2:t.append=1;break;case 3:t.create=1;break;case 4:t.truncate=1;break;case 5:t.excl=1;break;case 6:t.binary=1;break;case 7:t.text=1;break;case 8:t.nonblock=1;break}r=r[2]}t.rdonly&&t.wronly&&Ir(x+fS),t.text&&t.binary&&Ir(x+hR);var u=iW(x),i=u.device.open(u.rest,t);return ty(i,void 0)}(function(){function x(r,e){return Rl()?eW(r,e):new Il(r,e)}ty(x(0,{rdonly:1,altname:"/dev/stdin",isCharacterDevice:!0}),0),ty(x(1,{buffered:2,wronly:1,isCharacterDevice:!0}),1),ty(x(2,{buffered:2,wronly:1,isCharacterDevice:!0}),2)})();function fW(x){var r=ry[x];r.flags.wronly&&Ir(wB+x+" is writeonly");var e=null,t={file:r,offset:r.flags.append?r.length():0,fd:x,opened:!0,out:!1,buffer_curr:0,buffer_max:0,buffer:new Uint8Array(il),refill:e};return Vs[t.fd]=t,t.fd}function GY(x){var r=ry[x];r.flags.rdonly&&Ir(wB+x+" is readonly");var e=r.flags.buffered!==void 0?r.flags.buffered:1,t={file:r,offset:r.flags.append?r.length():0,fd:x,opened:!0,out:!0,buffer_curr:0,buffer:new Uint8Array(il),buffered:e};return Vs[t.fd]=t,t.fd}function cW(){for(var x=0,r=0;r<Vs.length;r++)Vs[r]&&Vs[r].opened&&Vs[r].out&&(x=[0,Vs[r].fd,x]);return x}function g2(x){return x.t&6&&Zd(x),x.c}function sW(x,i,e,t){var u=Vs[x];u.opened||Ir("Cannot output to a closed channel");var i=$Y(i);if(i=i.subarray(e,e+t),u.buffer_curr+i.length>u.buffer.length){var f=new Uint8Array(u.buffer_curr+i.length);f.set(u.buffer),u.buffer=f}switch(u.buffered){case 0:u.buffer.set(i,u.buffer_curr),u.buffer_curr+=i.length,es(x);break;case 1:u.buffer.set(i,u.buffer_curr),u.buffer_curr+=i.length,u.buffer_curr>=u.buffer.length&&es(x);break;case 2:var o=i.lastIndexOf(10);o<0?(u.buffer.set(i,u.buffer_curr),u.buffer_curr+=i.length,u.buffer_curr>=u.buffer.length&&es(x)):(u.buffer.set(i.subarray(0,o+1),u.buffer_curr),u.buffer_curr+=o+1,es(x),u.buffer.set(i.subarray(o+1),u.buffer_curr),u.buffer_curr+=i.length-o-1);break}return 0}function eO(x,r,e,t){return sW(x,xs(r),e,t)}function bY(x,r){var e=String.fromCharCode(r);return eO(x,e,0,1),0}function Ll(x,r){return+(Qd(x,r,!1)!=0)}function tO(x,r){var e=new Array(r+1);e[0]=x;for(var t=1;t<=r;t++)e[t]=0;return e}function oW(x,r){return x[0]=Ba,x[1]=r,0}function Dv(x){return x instanceof Array&&x[0]==x[0]>>>0?x[0]:$R(x)||WR(x)?Av:x instanceof Function||typeof x=="function"?b8:x&&x.caml_custom?$3:ol}function vW(x){for(var r;x;)if(xr(x[1][1])=="SYJS"){r=x[1][2];break}else x=x[2];var e={};if(r)for(var t=1;t<r.length;t++)e[xr(r[t][1])]=r[t][2];return e}function Yt(x,r,e){if(e){var t=e;if(p0.toplevelReloc)x=xy(p0.toplevelReloc,[t]);else if(Y2.toc){Y2.symbols||(Y2.symbols=vW(Y2.toc));var u=Y2.symbols[t];u>=0?x=u:X2("caml_register_global: cannot locate "+t)}}Y2[x+1]=r,e&&(Y2[e]=r)}function nO(x,r){return FY[x]=r,0}function aW(x){return x[2]=zY++,x}function Ar(x,r){return x===r?1:0}function lW(){G1(lg)}function O1(x,r){return r>>>0>=Xx(x)&&lW(),fx(x,r)}function P(x,r){return 1-Ar(x,r)}function pW(){return 2147483647/4|0}var dW=p0.process&&p0.process.platform&&p0.process.platform==Pj?UB:"Unix";function yW(){return[0,dW,32,0]}function mW(){CY(Y2.Not_found)}function xX(x){var r=PY(xr(x));return r===void 0&&mW(),Bt(r)}function uO(x){for(var r=1;x&&x.joo_tramp;)x=x.joo_tramp.apply(null,x.joo_args),r++;return x}function d2(x,r){return{joo_tramp:x,joo_args:r}}function O0(x,r){if(typeof r=="function")return x.fun=r,0;if(r.fun)return x.fun=r.fun,0;for(var e=r.length;e--;)x[e]=r[e];return 0}function I1(x){{if(x instanceof Array)return x;var r;return p0.RangeError&&x instanceof p0.RangeError&&x.message&&x.message.match(/maximum call stack/i)||p0.InternalError&&x instanceof p0.InternalError&&x.message&&x.message.match(/too much recursion/i)?r=Y2.Stack_overflow:x instanceof p0.Error&&Ro(XE)?r=[0,Ro(XE),x]:r=[0,Y2.Failure,Bt(String(x))],x instanceof p0.Error&&(r.js_error=x),r}}function kW(x){switch(x[2]){case-8:case-11:case-12:return 1;default:return 0}}function hW(x){var r=hx;if(x[0]==0){if(r+=x[1][1],x.length==3&&x[2][0]==0&&kW(x[1]))var t=x[2],e=1;else var e=2,t=x;r+=ZM;for(var u=e;u<t.length;u++){u>e&&(r+=ZD);var i=t[u];typeof i=="number"?r+=i.toString():i instanceof Bs||typeof i=="string"?r+=s5+i.toString()+s5:r+=Na}r+=WS}else x[0]==Gr&&(r+=x[1]);return r}function rX(x){if(x instanceof Array&&(x[0]==0||x[0]==Gr)){var r=Ro(mD);if(r)xy(r,[x,!1]);else{var e=hW(x),t=Ro(fj);if(t&&xy(t,[0]),console.error(oR+e+`
|
|
3
|
+
`,ol=1e3,Zg=69295,T5=120093,RU=">=",OU=149,S5=64325,tf="class_identifier",Wg=119967,$g=68415,IU="end",nf="enum_boolean_body",uf="member_private_name",ff="super_expression",Qg=71955,Fg=126514,E5=67593,Hg=66939,qg=12591,g5=126538,Gg=110590,cf="component_renders_annotation",bg=72703,xA=72105,A5=65598,rA=73727,P5=126504,N5=126551,eA=70143,vl="from",sf="class_property",of="enum_number_body",tA=42559,nA=93759,uA=66994,pn="right",LU=225,iA=67702,fA=65473,cA=43697,C5=70855,sA=119993,oA=72103,vA=178205,vf="call_type_args",aA=66511,af="export_batch_specifier",lf="component_type_param",dn=782176664,Nv="get",al="local",MU=228,pf="object_mapped_type_property",df="class_decorator",DU=220,yf="enum_body",jU="<<=",lA=71956,pA=69839,Oa="super",dA=173791,yA=71942,H1="expression",mA=72440,Ia=254,kA=70412,UU="renders?",mf="try_catch",BU=32752,kf="declare_module_exports",hA=12320,YU=134,_A=94175,ll="enum",XU=196,hf="import_source",wA=43814,TA=120069,_f="while_",R5=126537,SA=43262,wf="function_rest_param_type",EA=66378,O5=119996,Tf="declare_component",gA=73097,AA=70783,PA=43503,NA=131071,CA=11492,RA=92766,JU=173,OA=113770,IA=73029,LA=66978,Sf="tagged_template",Ef="jsx_element_name",gf="for_init_declaration",MA=123213,Af="object_indexer_property_type",Pf="object_spread_property_type",I5=72970,L5=70854,DA=110930,pl="var",VU=217,jA=119972,UA=69622,BA=63743,YA=42237,XA=870530776,M5="returnType",zU=56320,KU=143,La="computed",JA=42735,Nf="arg_list",VA=67461,Cf="export_named_declaration",zA=72817,KA=73439,ZA=43782,WA=66775,$A=70655,D5="bool",QA=65140,FA=75075,HA=126651,qA=71947,GA=42961,bA=12735,xP=78894,rP=64262,ZU=237,G2="interface",WU="Match_failure",eP=42962,tP=69748,$U="leadingComments",Rf="this_expression",dl=461894857,j5=12592,QU=8204,nP=119807,uP=66348,Of="declare_variable",iP=8348,If="optional_member",Lf=120,Mf="arrow_function",fP=72768,cP=70851,Df="array",sP=43249,U5=126468,oP=177983,vP="compare: functional value",aP=126550,lP=64847,jf="binding_type_identifier",pP=120132,Uf="function_params",dP=93071,yl=1024,yP=42783,FU=1039100673,HU="@{",mP=12352,kP=42653,hP=120628,Bf="declare_function",Yf="for_in_statement_lhs",_P=72271,wP=69807,TP=67826,Xf="syntax_opt",Jf="object_key_bigint_literal",qU=243,SP=94032,GU="Undefined_recursive_module",bU=-1053382366,EP=72242,Vf="variance_opt",gP=101631,AP="arguments",PP=72161,NP=8511,B5="unknown",CP=43560,xB="the end of an expression statement (`;`)",rB=1026,RP=12543,OP=11670,eB="?",IP=69247,Y5=11631,X5="line",LP=72202,zf="pattern_object_rest_property",Mt=" ",MP=43487,Eo=115,DP=-673950933,Kf="intersection_type",jP=120144,ml="is",UP=178207,BP=100343,tB="||=",nB="f",J5=8455,Zf=102,Wf="pattern_object_property_number_literal_key",YP=70418,XP=8543,uB="Internal Error: Found private field in object props",V5=126540,z5=119995,Cv=8287,$f="indexed_access_type",Qf="export_named_specifier",iB=266,fB=224,JP=124926,VP=-103,cB=167,K5=65344,Z5=126530,zP=113788,KP=67505,ZP="property",WP=43014,Me="return",Ms=-85,$P=126601,sB=214,oB="children",Ff="type_alias",W5=43259,QP=126583,FP=71958,HP=65613,qP=67431,$5=126535,GP=69599,Hf="type_params",qf="object_key_computed",bP=124910,U2="variance",Q5=11727,xN=66954,rN=126463,Gf="catch_body",eN=69445,bf="type_param",xc="component_type_params",tN=124902,F5=120687,vB="collect_comments_opt",nN=15,uN=120485,iN=70416,fN=125259,rc="jsx_namespaced_name",cN=43712,sN=72712,aB="~",H5=12448,ec="jsx_member_expression_object",q5=126499,G5=-97,tc="pattern_object_property_identifier_key",lB=219,nc="component_body",uc="opaque_type",ic=".",oN=43009,vN="consequent",pB="SpreadElement",B1="body",dB=178,yB=202,fc="jsx_opening_element",cc="declare_module",b5=67638,aN=8477,sc="object_type_property",lN=110882,oc="function_body",pN=94111,mB="module",kB="alternate",dN=67839,Rv=8191,yN=43881,hB=": closedir failed",go="kind",vc="tuple_labeled_element",Ov=-46,mN=67640,ac="declare_type_alias",xd=70750,kN=77808,kl="column",lc="jsx_closing_element",hN=66977,_N="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",wN=65786,pc="function_expression",Dt=104,rd=11719,TN=11505,SN="mkdir",EN=70319,_B="Invalid_argument",gN=43738,AN=113817,dc="bigint_literal",PN=70084,NN=126566,ed="do",td=42622,yc="computed_key",mc="pattern_object_property_computed_key",wB="fd ",nd=126571,CN=126619,TB=140,Ao="prototype",SB=208,RN=67004,ud=130,EB=242,gB=">>>=",ON=68863,IN=11726,jt="raw",LN=64466,b2=107,MN=67679,kc="enum_string_body",DN=244,AB="unreachable jsxtext",PB="*",jN=66335,UN=126570,NB=229,BN=" : file already exists",id=184,YN=67807,XN=70753,hc="boolean_literal",JN=65437,VN=70451,zN=67002,Ma=124,_c="conditional",fd=43260,CB="Sys_error",KN=123135,hl="meta",ZN=64109,wc="pattern_array_rest_element",WN=43255,cd=67644,Tc="pattern_object_rest_property_pattern",Sc="sequence",$N=65855,QN=110951,FN=67643,Ec="predicate_expression",De="static",HN=120512,qN="declaration",sd=64317,GN=68437,od=126558,gc="meta_property",bN=11564,Ac="declare_enum",yn="pattern",xC=216,RB=282,OB=289,rC=68191,vd="undefined",ad=8319,ld=120133,eC=132,tC=42239,IB=-99,nC=124927,uC=120092,iC=43137,Pc="component_rest_param",LB=144,MB="expected *",fC=125251,DB="%li",cC=55242,sC=12294,Nc="enum_number_member",Po="in",jB="\\\\",Iv=":",oC=68115,UB="Cygwin",vC=77823,aC=65615,pd=70162,BB="/static/",lC=11519,pC=72966,dC=12686,yC=165,mC=183,_l=129,dd=72192,kC=42964,yd="try",md=120655,hC=11702,YB="expressions",_C=2048,Cc="class_body",wC=55238,XB=240,TC=66915,SC=43311,EC=43018,JB=235,gC=73648,VB="([^/]+)",AC=125258,PC=64829,NC=68735,zB="++",KB=163,ZB="qualification",WB=57343,$B=931,Rc="default_opt",CC=71235,QB=8472,RC=71934,FB=205,HB=218,qB="callee",OC=43711,IC=64284,LC=43754,MC=43790,GB="%Li",Oc="pattern_array_rest_element_pattern",kd="decorators",DC=8304,Ic="statement",hd=73062,Lc="jsx_children",jC=70492,UC=64255,BC=11630,YC=1255,_d=67592,wd=43519,Td=64311,Sd=12539,XC="proto",Ed=120513,JC=68031,Lv="source",wl="a",VC=93047,zC=92927,KC=126588,ZC=73458,WC=67742,$C=43714,bB=288,xY=236,QC=-253313196,Tl="label",rY="@[<2>{ ",gd=126539,Ad=126552,FC=120487,eY="Out_of_memory",HC=605857695,qC=94026,tY=267,Pd=126496,No="async",nY=203,Nd=126560,GC=68287,Mc="unary_expression",bC=-26065557,xR=110587,uY=280,Cd=120771,rR=69762,eR=126502,Da="set",Dc="object_",jc="template_literal",tR=43258,Uc="nullable_type",Ds="int_of_string",iY="^=",je="predicate",ja="string",Rd=8450,fY="camlinternalMod.ml",nR=70285,js="+",uR=110575,cY=198,Bc="extends",sY=-692038429,Od=67827,oY=210,vY=227,Id="explicitType",Ld=70452,iR=70497,Ua=63,Sl="private",fR=64296,cR=67591,sR=92909,aY="T_JSX_TEXT",oR="Fatal error: exception ",vR=120137,Md=68120,Yc="pattern_array_e",aR=119964,lR=92862,pR=66461,lY="&&=",pY=174,s2=8231,Xc="null_literal",dY="/=",dR=66811,Dd=70108,yR=67504,mR=11686,kR=67001,hR=" : flags Open_text and Open_binary are not compatible",_R=43741,wR=66204,q1=8233,Jc="type_annotation_hint",TR=123197,Vc="object_property",yY="${",jd=70480,mY="&&",zc="type_cast",El="%d",Ud=8484,kY=207,SR=70066,ER=68324,Bd=120713,hY=135,Yd=126556,xe="0",B2="yield",Xd=126591,st=100,gR=69551,Kc="jsx_element_name_namespaced",_Y=232,Zc="object_key_string_literal",Wc="function_this_param_type",$c="pattern_object_property_pattern",Ue="throw",Be="switch",wY=2048,Jd=119970,Qc="toplevel_statement_list",Ba=250,AR=12438,Fc="class_implements",Hc="variable_declarator",PR=43713,Vd=68096,NR=70457,CR=12538,RR=11734,TY="-=",SY=234,qc="component_param_name",OR=43123,Gc="class_",EY="|",IR=200,LR=43518,MR=8483,bc="jsx_attribute_name_identifier",DR=181;function hZ(x,r,e,t,u){if(t<=r)for(var i=1;i<=u;i++)e[t+i]=x[r+i];else for(var i=u;i>=1;i--)e[t+i]=x[r+i];return 0}function _Z(x){for(var r=[0];x!==0;){for(var e=x[1],t=1;t<e.length;t++)r.push(e[t]);x=x[2]}return r}function wZ(x,r,e){var t=new Array(e+1);t[0]=0;for(var u=1,i=r+1;u<=e;u++,i++)t[u]=x[i];return t}function zd(x,r,e){var t=String.fromCharCode;if(r==0&&e<=vU&&e==x.length)return t.apply(null,x);for(var u=hx;0<e;r+=yl,e-=yl)u+=t.apply(null,x.slice(r,r+Math.min(e,yl)));return u}function Kd(x){for(var r=new Uint8Array(x.l),e=x.c,t=e.length,u=0;u<t;u++)r[u]=e.charCodeAt(u);for(t=x.l;u<t;u++)r[u]=0;return x.c=r,x.t=4,r}function Us(x,r,e,t,u){if(u==0)return 0;if(t==0&&(u>=e.l||e.t==2&&u>=e.c.length))e.c=x.t==4?zd(x.c,r,u):r==0&&x.c.length==u?x.c:x.c.substr(r,u),e.t=e.c.length==e.l?0:2;else if(e.t==2&&t==e.c.length)e.c+=x.t==4?zd(x.c,r,u):r==0&&x.c.length==u?x.c:x.c.substr(r,u),e.t=e.c.length==e.l?0:2;else{e.t!=4&&Kd(e);var i=x.c,f=e.c;if(x.t==4)if(t<=r)for(var o=0;o<u;o++)f[t+o]=i[r+o];else for(var o=u-1;o>=0;o--)f[t+o]=i[r+o];else{for(var a=Math.min(u,i.length-r),o=0;o<a;o++)f[t+o]=i.charCodeAt(r+o);for(;o<u;o++)f[t+o]=0}}return 0}function Ya(x,r){if(x==0)return hx;if(r.repeat)return r.repeat(x);for(var e=hx,t=0;;){if(x&1&&(e+=r),x>>=1,x==0)return e;r+=r,t++,t==9&&r.slice(0,1)}}function Zd(x){x.t==2?x.c+=Ya(x.l-x.c.length,"\0"):x.c=zd(x.c,0,x.c.length),x.t=0}function jR(x){if(x.length<24){for(var r=0;r<x.length;r++)if(x.charCodeAt(r)>Jr)return!1;return!0}else return!/[^\x00-\x7f]/.test(x)}function gY(x){for(var r=hx,e=hx,t,u,i,f,o=0,a=x.length;o<a;o++){if(u=x.charCodeAt(o),u<on){for(var d=o+1;d<a&&(u=x.charCodeAt(d))<on;d++);if(d-o>_w?(e.substr(0,1),r+=e,e=hx,r+=x.slice(o,d)):e+=x.slice(o,d),d==a)break;o=d}f=1,++o<a&&((i=x.charCodeAt(o))&-64)==h1&&(t=i+(u<<6),u<fB?(f=t-12416,f<on&&(f=1)):(f=2,++o<a&&((i=x.charCodeAt(o))&-64)==h1&&(t=i+(t<<6),u<XB?(f=t-925824,(f<wY||f>=55295&&f<57344)&&(f=2)):(f=3,++o<a&&((i=x.charCodeAt(o))&-64)==h1&&u<245&&(f=i-63447168+(t<<6),(f<65536||f>1114111)&&(f=3)))))),f<4?(o-=f,e+="\uFFFD"):f>fn?e+=String.fromCharCode(55232+(f>>10),zU+(f&1023)):e+=String.fromCharCode(f),e.length>yl&&(e.substr(0,1),r+=e,e=hx)}return r+e}function Bs(x,r,e){this.t=x,this.c=r,this.l=e}Bs.prototype.toString=function(){switch(this.t){case 9:return this.c;default:Zd(this);case 0:if(jR(this.c))return this.t=9,this.c;this.t=8;case 8:return this.c}},Bs.prototype.toUtf16=function(){var x=this.toString();return this.t==9?x:gY(x)},Bs.prototype.slice=function(){var x=this.t==4?this.c.slice():this.c;return new Bs(this.t,x,this.l)};function AY(x){return new Bs(0,x,x.length)}function jC0(x){return x}function xs(x){return AY(x)}function rs(x,r,e,t,u){return Us(xs(x),r,e,t,u),0}function PY(x){var r=p0.process;if(r&&r.env&&r.env[x]!=null)return r.env[x];if(p0.jsoo_static_env&&p0.jsoo_static_env[x])return p0.jsoo_static_env[x]}var UR=0;(function(){var x=PY("OCAMLRUNPARAM");if(x!==void 0)for(var r=x.split(qM),e=0;e<r.length;e++)if(r[e]==xg){UR=1;break}else if(r[e].startsWith("b="))UR=+r[e].slice(2);else continue})();var Y2=[0];function TZ(x,r){return(!x.js_error||r||x[0]==Gr)&&(x.js_error=new p0.Error("Js exception containing backtrace")),x}function q0(x,r){return UR?TZ(x,r):x}function SZ(x,r){throw q0([0,x,r])}function UC0(x){return x}function BR(x,r){SZ(x,r)}function G1(x){BR(Y2.Invalid_argument,x)}function EZ(){G1(lg)}function Zr(x,r,e){if(e&=Ls,x.t!=4){if(r==x.c.length)return x.c+=String.fromCharCode(e),r+1==x.l&&(x.t=0),0;Kd(x)}return x.c[r]=e,0}function Xa(x,r,e){return r>>>0>=x.l&&EZ(),Zr(x,r,e)}function se(x,r){switch(x.t&6){default:if(r>=x.c.length)return 0;case 0:return x.c.charCodeAt(r);case 4:return x.c[r]}}function Ys(x,r){var e=x.l>=0?x.l:x.l=x.length,t=r.length,u=e-t;if(u==0)return x.apply(null,r);if(u<0){var i=x.apply(null,r.slice(0,e));return typeof i!="function"?i:Ys(i,r.slice(e))}else{switch(u){case 1:{var i=function(a){for(var d=new Array(t+1),k=0;k<t;k++)d[k]=r[k];return d[t]=a,x.apply(null,d)};break}case 2:{var i=function(a,d){for(var k=new Array(t+2),T=0;T<t;T++)k[T]=r[T];return k[t]=a,k[t+1]=d,x.apply(null,k)};break}default:var i=function(){for(var o=arguments.length==0?1:arguments.length,a=new Array(r.length+o),d=0;d<r.length;d++)a[d]=r[d];for(var d=0;d<arguments.length;d++)a[r.length+d]=arguments[d];return Ys(x,a)}}return i.l=u,i}}function gl(){G1(lg)}function Z1(x,r){return r>>>0>=x.length-1&&gl(),x}function gZ(x){return isFinite(x)?Math.abs(x)>=22250738585072014e-324?0:x!=0?1:2:isNaN(x)?4:3}function AZ(x){return 0}var PZ=Math.log2&&Math.log2(11235582092889474e291)==1020;function NZ(x){if(PZ)return Math.floor(Math.log2(x));var r=0;if(x==0)return-1/0;if(x>=1)for(;x>=2;)x/=2,r++;else for(;x<1;)x*=2,r--;return r}function YR(x){var r=new Float32Array(1);r[0]=x;var e=new Int32Array(r.buffer);return e[0]|0}var NY=Math.pow(2,-24);function CY(x){throw x}function RY(){CY(Y2.Division_by_zero)}function fr(x,r,e){this.lo=x&Ci,this.mi=r&Ci,this.hi=e&fn}fr.prototype.caml_custom="_j",fr.prototype.copy=function(){return new fr(this.lo,this.mi,this.hi)},fr.prototype.ucompare=function(x){return this.hi>x.hi?1:this.hi<x.hi?-1:this.mi>x.mi?1:this.mi<x.mi?-1:this.lo>x.lo?1:this.lo<x.lo?-1:0},fr.prototype.compare=function(x){var r=this.hi<<16,e=x.hi<<16;return r>e?1:r<e?-1:this.mi>x.mi?1:this.mi<x.mi?-1:this.lo>x.lo?1:this.lo<x.lo?-1:0},fr.prototype.neg=function(){var x=-this.lo,r=-this.mi+(x>>24),e=-this.hi+(r>>24);return new fr(x,r,e)},fr.prototype.add=function(x){var r=this.lo+x.lo,e=this.mi+x.mi+(r>>24),t=this.hi+x.hi+(e>>24);return new fr(r,e,t)},fr.prototype.sub=function(x){var r=this.lo-x.lo,e=this.mi-x.mi+(r>>24),t=this.hi-x.hi+(e>>24);return new fr(r,e,t)},fr.prototype.mul=function(x){var r=this.lo*x.lo,e=(r*NY|0)+this.mi*x.lo+this.lo*x.mi,t=(e*NY|0)+this.hi*x.lo+this.mi*x.mi+this.lo*x.hi;return new fr(r,e,t)},fr.prototype.isZero=function(){return(this.lo|this.mi|this.hi)==0},fr.prototype.isNeg=function(){return this.hi<<16<0},fr.prototype.and=function(x){return new fr(this.lo&x.lo,this.mi&x.mi,this.hi&x.hi)},fr.prototype.or=function(x){return new fr(this.lo|x.lo,this.mi|x.mi,this.hi|x.hi)},fr.prototype.xor=function(x){return new fr(this.lo^x.lo,this.mi^x.mi,this.hi^x.hi)},fr.prototype.shift_left=function(x){return x=x&63,x==0?this:x<24?new fr(this.lo<<x,this.mi<<x|this.lo>>24-x,this.hi<<x|this.mi>>24-x):x<48?new fr(0,this.lo<<x-24,this.mi<<x-24|this.lo>>48-x):new fr(0,0,this.lo<<x-48)},fr.prototype.shift_right_unsigned=function(x){return x=x&63,x==0?this:x<24?new fr(this.lo>>x|this.mi<<24-x,this.mi>>x|this.hi<<24-x,this.hi>>x):x<48?new fr(this.mi>>x-24|this.hi<<48-x,this.hi>>x-24,0):new fr(this.hi>>x-48,0,0)},fr.prototype.shift_right=function(x){if(x=x&63,x==0)return this;var r=this.hi<<16>>16;if(x<24)return new fr(this.lo>>x|this.mi<<24-x,this.mi>>x|r<<24-x,this.hi<<16>>x>>>16);var e=this.hi<<16>>31;return x<48?new fr(this.mi>>x-24|this.hi<<48-x,this.hi<<16>>x-24>>16,e&fn):new fr(this.hi<<16>>x-32,e,e)},fr.prototype.lsl1=function(){this.hi=this.hi<<1|this.mi>>23,this.mi=(this.mi<<1|this.lo>>23)&Ci,this.lo=this.lo<<1&Ci},fr.prototype.lsr1=function(){this.lo=(this.lo>>>1|this.mi<<23)&Ci,this.mi=(this.mi>>>1|this.hi<<23)&Ci,this.hi=this.hi>>>1},fr.prototype.udivmod=function(x){for(var r=0,e=this.copy(),t=x.copy(),u=new fr(0,0,0);e.ucompare(t)>0;)r++,t.lsl1();for(;r>=0;)r--,u.lsl1(),e.ucompare(t)>=0&&(u.lo++,e=e.sub(t)),t.lsr1();return{quotient:u,modulus:e}},fr.prototype.div=function(x){var r=this;x.isZero()&&RY();var e=r.hi^x.hi;r.hi&ln&&(r=r.neg()),x.hi&ln&&(x=x.neg());var t=r.udivmod(x).quotient;return e&ln&&(t=t.neg()),t},fr.prototype.mod=function(x){var r=this;x.isZero()&&RY();var e=r.hi;r.hi&ln&&(r=r.neg()),x.hi&ln&&(x=x.neg());var t=r.udivmod(x).modulus;return e&ln&&(t=t.neg()),t},fr.prototype.toInt=function(){return this.lo|this.mi<<24},fr.prototype.toFloat=function(){return(this.hi<<16)*Math.pow(2,32)+this.mi*Math.pow(2,24)+this.lo},fr.prototype.toArray=function(){return[this.hi>>8,this.hi&Ls,this.mi>>16,this.mi>>8&Ls,this.mi&Ls,this.lo>>16,this.lo>>8&Ls,this.lo&Ls]},fr.prototype.lo32=function(){return this.lo|(this.mi&Ls)<<24},fr.prototype.hi32=function(){return this.mi>>>8&fn|this.hi<<16};function Wd(x,r,e){return new fr(x,r,e)}function $d(x){if(!isFinite(x))return isNaN(x)?Wd(1,0,BU):x>0?Wd(0,0,BU):Wd(0,0,65520);var r=x==0&&1/x==-1/0?ln:x>=0?0:ln;r&&(x=-x);var e=NZ(x)+1023;e<=0?(e=0,x/=Math.pow(2,-rB)):(x/=Math.pow(2,e-fD),x<16&&(x*=2,e-=1),e==0&&(x/=2));var t=Math.pow(2,24),u=x|0;x=(x-u)*t;var i=x|0;x=(x-i)*t;var f=x|0;return u=u&nN|r|e<<4,Wd(f,i,u)}function Al(x){return x.toArray()}function OY(x,r,e){if(x.write(32,r.dims.length),x.write(32,r.kind|r.layout<<8),r.caml_custom==lp)for(var t=0;t<r.dims.length;t++)r.dims[t]<fn?x.write(16,r.dims[t]):(x.write(16,fn),x.write(32,0),x.write(32,r.dims[t]));else for(var t=0;t<r.dims.length;t++)x.write(32,r.dims[t]);switch(r.kind){case 2:case 3:case 12:for(var t=0;t<r.data.length;t++)x.write(8,r.data[t]);break;case 4:case 5:for(var t=0;t<r.data.length;t++)x.write(16,r.data[t]);break;case 6:for(var t=0;t<r.data.length;t++)x.write(32,r.data[t]);break;case 8:case 9:x.write(8,0);for(var t=0;t<r.data.length;t++)x.write(32,r.data[t]);break;case 7:for(var t=0;t<r.data.length/2;t++)for(var u=Al(r.get(t)),i=0;i<8;i++)x.write(8,u[i]);break;case 1:for(var t=0;t<r.data.length;t++)for(var u=Al($d(r.get(t))),i=0;i<8;i++)x.write(8,u[i]);break;case 0:for(var t=0;t<r.data.length;t++){var u=YR(r.get(t));x.write(32,u)}break;case 10:for(var t=0;t<r.data.length/2;t++){var i=r.get(t);x.write(32,YR(i[1])),x.write(32,YR(i[2]))}break;case 11:for(var t=0;t<r.data.length/2;t++){for(var f=r.get(t),u=Al($d(f[1])),i=0;i<8;i++)x.write(8,u[i]);for(var u=Al($d(f[2])),i=0;i<8;i++)x.write(8,u[i])}break}e[0]=(4+r.dims.length)*4,e[1]=(4+r.dims.length)*8}function IY(x){switch(x){case 7:case 10:case 11:return 2;default:return 1}}function CZ(x,r){var e;switch(x){case 0:e=Float32Array;break;case 1:e=Float64Array;break;case 2:e=Int8Array;break;case 3:e=Uint8Array;break;case 4:e=Int16Array;break;case 5:e=Uint16Array;break;case 6:e=Int32Array;break;case 7:e=Int32Array;break;case 8:e=Int32Array;break;case 9:e=Int32Array;break;case 10:e=Float32Array;break;case 11:e=Float64Array;break;case 12:e=Uint8Array;break}e||G1("Bigarray.create: unsupported kind");var t=new e(r*IY(x));return t}function XR(x){var r=new Int32Array(1);r[0]=x;var e=new Float32Array(r.buffer);return e[0]}function Pl(x){return new fr(x[7]<<0|x[6]<<8|x[5]<<16,x[4]<<0|x[3]<<8|x[2]<<16,x[1]<<0|x[0]<<8)}function JR(x){var r=x.lo,e=x.mi,t=x.hi,u=(t&32767)>>4;if(u==yj)return r|e|t&nN?NaN:t&ln?-1/0:1/0;var i=Math.pow(2,-24),f=(r*i+e)*i+(t&nN);return u>0?(f+=16,f*=Math.pow(2,u-fD)):f*=Math.pow(2,-rB),t&ln&&(f=-f),f}function VR(x){for(var r=x.length,e=1,t=0;t<r;t++)x[t]<0&&G1("Bigarray.create: negative dimension"),e=e*x[t];return e}function RZ(x,r){return new fr(x&Ci,x>>>24&Ls|(r&fn)<<8,r>>>16&fn)}function zR(x){return x.hi32()}function KR(x){return x.lo32()}var OZ=lp;function Co(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}Co.prototype.caml_custom=OZ,Co.prototype.offset=function(x){var r=0;if(typeof x=="number"&&(x=[x]),x instanceof Array||G1("bigarray.js: invalid offset"),this.dims.length!=x.length&&G1("Bigarray.get/set: bad number of dimensions"),this.layout==0)for(var e=0;e<this.dims.length;e++)(x[e]<0||x[e]>=this.dims[e])&&gl(),r=r*this.dims[e]+x[e];else for(var e=this.dims.length-1;e>=0;e--)(x[e]<1||x[e]>this.dims[e])&&gl(),r=r*this.dims[e]+(x[e]-1);return r},Co.prototype.get=function(x){switch(this.kind){case 7:var r=this.data[x*2+0],e=this.data[x*2+1];return RZ(r,e);case 10:case 11:var t=this.data[x*2+0],u=this.data[x*2+1];return[Ia,t,u];default:return this.data[x]}},Co.prototype.set=function(x,r){switch(this.kind){case 7:this.data[x*2+0]=KR(r),this.data[x*2+1]=zR(r);break;case 10:case 11:this.data[x*2+0]=r[1],this.data[x*2+1]=r[2];break;default:this.data[x]=r;break}return 0},Co.prototype.fill=function(x){switch(this.kind){case 7:var r=KR(x),e=zR(x);if(r==e)this.data.fill(r);else for(var t=0;t<this.data.length;t++)this.data[t]=t%2==0?r:e;break;case 10:case 11:var u=x[1],i=x[2];if(u==i)this.data.fill(u);else for(var t=0;t<this.data.length;t++)this.data[t]=t%2==0?u:i;break;default:this.data.fill(x);break}},Co.prototype.compare=function(x,r){if(this.layout!=x.layout||this.kind!=x.kind){var e=this.kind|this.layout<<8,t=x.kind|x.layout<<8;return t-e}if(this.dims.length!=x.dims.length)return x.dims.length-this.dims.length;for(var u=0;u<this.dims.length;u++)if(this.dims[u]!=x.dims[u])return this.dims[u]<x.dims[u]?-1:1;switch(this.kind){case 0:case 1:case 10:case 11:for(var i,f,u=0;u<this.data.length;u++){if(i=this.data[u],f=x.data[u],i<f)return-1;if(i>f)return 1;if(i!=f){if(!r)return NaN;if(i==i)return 1;if(f==f)return-1}}break;case 7:for(var u=0;u<this.data.length;u+=2){if(this.data[u+1]<x.data[u+1])return-1;if(this.data[u+1]>x.data[u+1])return 1;if(this.data[u]>>>0<x.data[u]>>>0)return-1;if(this.data[u]>>>0>x.data[u]>>>0)return 1}break;case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 12:for(var u=0;u<this.data.length;u++){if(this.data[u]<x.data[u])return-1;if(this.data[u]>x.data[u])return 1}break}return 0};function Ja(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}Ja.prototype=new Co,Ja.prototype.offset=function(x){return typeof x!="number"&&(x instanceof Array&&x.length==1?x=x[0]:G1("Ml_Bigarray_c_1_1.offset")),(x<0||x>=this.dims[0])&&gl(),x},Ja.prototype.get=function(x){return this.data[x]},Ja.prototype.set=function(x,r){return this.data[x]=r,0},Ja.prototype.fill=function(x){return this.data.fill(x),0};function LY(x,r,e,t){var u=IY(x);return VR(e)*u!=t.length&&G1("length doesn't match dims"),r==0&&e.length==1&&u==1?new Ja(x,r,e,t):new Co(x,r,e,t)}function X2(x){Y2.Failure||(Y2.Failure=[Gr,tw,-3]),BR(Y2.Failure,x)}function MY(x,r,e){var t=x.read32s();(t<0||t>16)&&X2("input_value: wrong number of bigarray dimensions");var u=x.read32s(),i=u&Ls,f=u>>8&1,o=[];if(e==lp)for(var a=0;a<t;a++){var d=x.read16u();if(d==fn){var k=x.read32u(),T=x.read32u();k!=0&&X2("input_value: bigarray dimension overflow in 32bit"),d=T}o.push(d)}else for(var a=0;a<t;a++)o.push(x.read32u());var g=VR(o),A=CZ(i,g),C=LY(i,f,o,A);switch(i){case 2:for(var a=0;a<g;a++)A[a]=x.read8s();break;case 3:case 12:for(var a=0;a<g;a++)A[a]=x.read8u();break;case 4:for(var a=0;a<g;a++)A[a]=x.read16s();break;case 5:for(var a=0;a<g;a++)A[a]=x.read16u();break;case 6:for(var a=0;a<g;a++)A[a]=x.read32s();break;case 8:case 9:var R=x.read8u();R&&X2("input_value: cannot read bigarray with 64-bit OCaml ints");for(var a=0;a<g;a++)A[a]=x.read32s();break;case 7:for(var Z=new Array(8),a=0;a<g;a++){for(var O=0;O<8;O++)Z[O]=x.read8u();var M=Pl(Z);C.set(a,M)}break;case 1:for(var Z=new Array(8),a=0;a<g;a++){for(var O=0;O<8;O++)Z[O]=x.read8u();var L=JR(Pl(Z));C.set(a,L)}break;case 0:for(var a=0;a<g;a++){var L=XR(x.read32s());C.set(a,L)}break;case 10:for(var a=0;a<g;a++){var z=XR(x.read32s()),V=XR(x.read32s());C.set(a,[Ia,z,V])}break;case 11:for(var Z=new Array(8),a=0;a<g;a++){for(var O=0;O<8;O++)Z[O]=x.read8u();for(var z=JR(Pl(Z)),O=0;O<8;O++)Z[O]=x.read8u();var V=JR(Pl(Z));C.set(a,[Ia,z,V])}break}return r[0]=(4+t)*4,LY(i,f,o,A)}function DY(x,r,e){return x.compare(r,e)}function jY(x,r){return Math.imul(x,r)}function Xs(x,r){return r=jY(r,-862048943),r=r<<15|r>>>17,r=jY(r,461845907),x^=r,x=x<<13|x>>>19,(x+(x<<2)|0)+-430675100|0}function IZ(x,r){return x=Xs(x,KR(r)),x=Xs(x,zR(r)),x}function UY(x,r){return IZ(x,$d(r))}function BY(x){var r=VR(x.dims),e=0;switch(x.kind){case 2:case 3:case 12:r>H3&&(r=H3);var t=0,u=0;for(u=0;u+4<=x.data.length;u+=4)t=x.data[u+0]|x.data[u+1]<<8|x.data[u+2]<<16|x.data[u+3]<<24,e=Xs(e,t);switch(t=0,r&3){case 3:t=x.data[u+2]<<16;case 2:t|=x.data[u+1]<<8;case 1:t|=x.data[u+0],e=Xs(e,t)}break;case 4:case 5:r>h1&&(r=h1);var t=0,u=0;for(u=0;u+2<=x.data.length;u+=2)t=x.data[u+0]|x.data[u+1]<<16,e=Xs(e,t);r&1&&(e=Xs(e,x.data[u]));break;case 6:r>64&&(r=64);for(var u=0;u<r;u++)e=Xs(e,x.data[u]);break;case 8:case 9:r>64&&(r=64);for(var u=0;u<r;u++)e=Xs(e,x.data[u]);break;case 7:r>32&&(r=32),r*=2;for(var u=0;u<r;u++)e=Xs(e,x.data[u]);break;case 10:r*=2;case 0:r>64&&(r=64);for(var u=0;u<r;u++)e=UY(e,x.data[u]);break;case 11:r*=2;case 1:r>32&&(r=32);for(var u=0;u<r;u++)e=UY(e,x.data[u]);break}return e}function LZ(x,r){return r[0]=4,x.read32s()}function MZ(x,r){switch(x.read8u()){case 1:return r[0]=4,x.read32s();case 2:X2("input_value: native integer value too large");default:X2("input_value: ill-formed native integer")}}function DZ(x,r){for(var e=new Array(8),t=0;t<8;t++)e[t]=x.read8u();return r[0]=8,Pl(e)}function jZ(x,r,e){for(var t=Al(r),u=0;u<8;u++)x.write(8,t[u]);e[0]=8,e[1]=8}function UZ(x,r,e){return x.compare(r)}function BZ(x){return x.lo32()^x.hi32()}var YY={_j:{deserialize:DZ,serialize:jZ,fixed_length:8,compare:UZ,hash:BZ},_i:{deserialize:LZ,fixed_length:4},_n:{deserialize:MZ,fixed_length:4},_bigarray:{deserialize:function(x,r){return MY(x,r,"_bigarray")},serialize:OY,compare:DY,hash:BY},_bigarr02:{deserialize:function(x,r){return MY(x,r,lp)},serialize:OY,compare:DY,hash:BY}};function ZR(x){return YY[x.caml_custom]&&YY[x.caml_custom].compare}function XY(x,r,e,t){var u=ZR(r);if(u){var i=e>0?u(r,x,t):u(x,r,t);if(t&&i!=i)return e;if(+i!=+i)return+i;if(i|0)return i|0}return e}function WR(x){return typeof x=="string"&&!/[^\x00-\xff]/.test(x)}function $R(x){return x instanceof Bs}function JY(x){if(typeof x=="number")return ol;if($R(x))return Av;if(WR(x))return 1252;if(x instanceof Array&&x[0]===x[0]>>>0&&x[0]<=$3){var r=x[0]|0;return r==Ia?0:r}else{if(x instanceof String)return _D;if(typeof x=="string")return _D;if(x instanceof Number)return ol;if(x&&x.caml_custom)return YC;if(x&&x.compare)return 1256;if(typeof x=="function")return 1247;if(typeof x=="symbol")return 1251}return 1001}function Ut(x,r){return x<r?-1:x==r?0:1}function Tx(x,r){return x<r?-1:x>r?1:0}function YZ(x,r){return x.t&6&&Zd(x),r.t&6&&Zd(r),x.c<r.c?-1:x.c>r.c?1:0}function Qd(x,r,e){for(var t=[];;){if(!(e&&x===r)){var u=JY(x);if(u==Ba){x=x[1];continue}var i=JY(r);if(i==Ba){r=r[1];continue}if(u!==i)return u==ol?i==YC?XY(x,r,-1,e):-1:i==ol?u==YC?XY(r,x,1,e):1:u<i?-1:1;switch(u){case 247:G1(vP);break;case 248:var o=Ut(x[2],r[2]);if(o!=0)return o|0;break;case 249:G1(vP);break;case 250:G1("equal: got Forward_tag, should not happen");break;case 251:G1("equal: abstract value");break;case 252:if(x!==r){var o=YZ(x,r);if(o!=0)return o|0}break;case 253:G1("equal: got Double_tag, should not happen");break;case 254:G1("equal: got Double_array_tag, should not happen");break;case 255:G1("equal: got Custom_tag, should not happen");break;case 1247:G1(vP);break;case 1255:var f=ZR(x);if(f!=ZR(r))return x.caml_custom<r.caml_custom?-1:1;f||G1("compare: abstract value");var o=f(x,r,e);if(o!=o)return e?-1:o;if(o!==(o|0))return-1;if(o!=0)return o|0;break;case 1256:var o=x.compare(r,e);if(o!=o)return e?-1:o;if(o!==(o|0))return-1;if(o!=0)return o|0;break;case 1e3:if(x=+x,r=+r,x<r)return-1;if(x>r)return 1;if(x!=r){if(!e)return NaN;if(x==x)return 1;if(r==r)return-1}break;case 1001:if(x<r)return-1;if(x>r)return 1;if(x!=r){if(!e)return NaN;if(x==x)return 1;if(r==r)return-1}break;case 1251:if(x!==r)return e?1:NaN;break;case 1252:var x=x,r=r;if(x!==r){if(x<r)return-1;if(x>r)return 1}break;case 12520:var x=x.toString(),r=r.toString();if(x!==r){if(x<r)return-1;if(x>r)return 1}break;case 246:case 254:default:if(AZ(u)){G1("compare: continuation value");break}if(x.length!=r.length)return x.length<r.length?-1:1;x.length>1&&t.push(x,r,1);break}}if(t.length==0)return 0;var a=t.pop();r=t.pop(),x=t.pop(),a+1<x.length&&t.push(x,r,a+1),x=x[a],r=r[a]}}function VY(x,r){return Qd(x,r,!0)}function XZ(){return[0]}function S1(x){return x<0&&G1("Bytes.create"),new Bs(x?2:9,hx,x)}function Nl(x,r){return+(Qd(x,r,!1)==0)}function JZ(x,r,e,t){if(e>0)if(r==0&&(e>=x.l||x.t==2&&e>=x.c.length))t==0?(x.c=hx,x.t=2):(x.c=Ya(e,String.fromCharCode(t)),x.t=e==x.l?0:2);else for(x.t!=4&&Kd(x),e+=r;r<e;r++)x.c[r]=t;return 0}function QR(x){var r;if(x=x,r=+x,x.length>0&&r===r||(x=x.replace(/_/g,hx),r=+x,x.length>0&&r===r||/^[+-]?nan$/i.test(x)))return r;var e=/^ *([+-]?)0x([0-9a-f]+)\.?([0-9a-f]*)(p([+-]?[0-9]+))?/i.exec(x);if(e){var t=e[3].replace(/0+$/,hx),u=parseInt(e[1]+e[2]+t,16),i=(e[5]|0)-4*t.length;return r=u*Math.pow(2,i),r}if(/^\+?inf(inity)?$/i.test(x))return 1/0;if(/^-inf(inity)?$/i.test(x))return-1/0;X2("float_of_string")}function FR(x){x=x;var r=x.length;r>31&&G1("format_int: format too long");for(var e={justify:js,signstyle:Lt,filler:Mt,alternate:!1,base:0,signedconv:!1,width:0,uppercase:!1,sign:1,prec:-1,conv:nB},t=0;t<r;t++){var u=x.charAt(t);switch(u){case"-":e.justify=Lt;break;case"+":case" ":e.signstyle=u;break;case"0":e.filler=xe;break;case"#":e.alternate=!0;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(e.width=0;u=x.charCodeAt(t)-48,u>=0&&u<=9;)e.width=e.width*10+u,t++;t--;break;case".":for(e.prec=0,t++;u=x.charCodeAt(t)-48,u>=0&&u<=9;)e.prec=e.prec*10+u,t++;t--;case"d":case"i":e.signedconv=!0;case"u":e.base=10;break;case"x":e.base=16;break;case"X":e.base=16,e.uppercase=!0;break;case"o":e.base=8;break;case"e":case"f":case"g":e.signedconv=!0,e.conv=u;break;case"E":case"F":case"G":e.signedconv=!0,e.uppercase=!0,e.conv=u.toLowerCase();break}}return e}function HR(x,r){x.uppercase&&(r=r.toUpperCase());var e=r.length;x.signedconv&&(x.sign<0||x.signstyle!=Lt)&&e++,x.alternate&&(x.base==8&&(e+=1),x.base==16&&(e+=2));var t=hx;if(x.justify==js&&x.filler==Mt)for(var u=e;u<x.width;u++)t+=Mt;if(x.signedconv&&(x.sign<0?t+=Lt:x.signstyle!=Lt&&(t+=x.signstyle)),x.alternate&&x.base==8&&(t+=xe),x.alternate&&x.base==16&&(t+=x.uppercase?"0X":So),x.justify==js&&x.filler==xe)for(var u=e;u<x.width;u++)t+=xe;if(t+=r,x.justify==Lt)for(var u=e;u<x.width;u++)t+=Mt;return t}function qR(x,r){function e(k,T){if(Math.abs(k)<1)return k.toFixed(T);var g=parseInt(k.toString().split(js)[1]);return g>20?(g-=20,k/=Math.pow(10,g),k+=new Array(g+1).join(xe),T>0&&(k=k+ic+new Array(T+1).join(xe)),k):k.toFixed(T)}var t,u=FR(x),i=u.prec<0?6:u.prec;if((r<0||r==0&&1/r==-1/0)&&(u.sign=-1,r=-r),isNaN(r))t=Wk,u.filler=Mt;else if(!isFinite(r))t="inf",u.filler=Mt;else switch(u.conv){case"e":var t=r.toExponential(i),f=t.length;t.charAt(f-3)==Th&&(t=t.slice(0,f-1)+xe+t.slice(f-1));break;case"f":t=e(r,i);break;case"g":i=i||1,t=r.toExponential(i-1);var o=t.indexOf(Th),a=+t.slice(o+1);if(a<-4||r>=1e21||r.toFixed(0).length>i){for(var f=o-1;t.charAt(f)==xe;)f--;t.charAt(f)==ic&&f--,t=t.slice(0,f+1)+t.slice(o),f=t.length,t.charAt(f-3)==Th&&(t=t.slice(0,f-1)+xe+t.slice(f-1));break}else{var d=i;if(a<0)d-=a+1,t=r.toFixed(d);else for(;t=r.toFixed(d),t.length>i+1;)d--;if(d){for(var f=t.length-1;t.charAt(f)==xe;)f--;t.charAt(f)==ic&&f--,t=t.slice(0,f+1)}}break}return HR(u,t)}function Fd(x,r){if(x==El)return hx+r;var e=FR(x);r<0&&(e.signedconv?(e.sign=-1,r=-r):r>>>=0);var t=r.toString(e.base);if(e.prec>=0){e.filler=Mt;var u=e.prec-t.length;u>0&&(t=Ya(u,xe)+t)}return HR(e,t)}var zY=0;function Js(){return zY++}function KY(){return[0]}var Hd=[];function Gx(x,r,e){var t=x[1],u=Hd[e];if(u===void 0)for(var i=Hd.length;i<e;i++)Hd[i]=0;else if(t[u]===r)return t[u-1];for(var f=3,o=t[1]*2+1,a;f<o;)a=f+o>>1|1,r<t[a+1]?o=a-2:f=a;return Hd[e]=f+1,r==t[f+1]?t[f]:0}function VZ(x){for(var r=hx,e=r,t,u,i=0,f=x.length;i<f;i++){if(t=x.charCodeAt(i),t<on){for(var o=i+1;o<f&&(t=x.charCodeAt(o))<on;o++);if(o-i>_w?(e.substr(0,1),r+=e,e=hx,r+=x.slice(i,o)):e+=x.slice(i,o),o==f)break;i=o}t<wY?(e+=String.fromCharCode(192|t>>6),e+=String.fromCharCode(on|t&Ua)):t<55296||t>=WB?e+=String.fromCharCode(fB|t>>12,on|t>>6&Ua,on|t&Ua):t>=56319||i+1==f||(u=x.charCodeAt(i+1))<zU||u>WB?e+="\xEF\xBF\xBD":(i++,t=(t<<10)+u-56613888,e+=String.fromCharCode(XB|t>>18,on|t>>12&Ua,on|t>>6&Ua,on|t&Ua)),e.length>yl&&(e.substr(0,1),r+=e,e=hx)}return r+e}function Bt(x){return jR(x)?x:VZ(x)}function zZ(x,r,e){if(!isFinite(x))return isNaN(x)?Bt(Wk):Bt(x>0?Dj:"-infinity");var t=x==0&&1/x==-1/0?1:x>=0?0:1;t&&(x=-x);var u=0;if(x!=0)if(x<1)for(;x<1&&u>-1022;)x*=2,u--;else for(;x>=2;)x/=2,u++;var i=u<0?hx:js,f=hx;if(t)f=Lt;else switch(e){case 43:f=js;break;case 32:f=Mt;break;default:break}if(r>=0&&r<13){var o=Math.pow(2,r*4);x=Math.round(x*o)/o}var a=x.toString(16);if(r>=0){var d=a.indexOf(ic);if(d<0)a+=ic+Ya(r,xe);else{var k=d+1+r;a.length<k?a+=Ya(k-a.length,xe):a=a.substr(0,k)}}return Bt(f+So+a+"p"+i+u.toString(10))}function KZ(x){return+x.isZero()}function qd(x){return new fr(x&Ci,x>>24&Ci,x>>31&fn)}function ZZ(x){return x.toInt()}function WZ(x){return+x.isNeg()}function GR(x){return x.neg()}function $Z(x,r){var e=FR(x);e.signedconv&&WZ(r)&&(e.sign=-1,r=GR(r));var t=hx,u=qd(e.base),i="0123456789abcdef";do{var f=r.udivmod(u);r=f.quotient,t=i.charAt(ZZ(f.modulus))+t}while(!KZ(r));if(e.prec>=0){e.filler=Mt;var o=e.prec-t.length;o>0&&(t=Ya(o,xe)+t)}return HR(e,t)}function Xx(x){return x.length}function fx(x,r){return x.charCodeAt(r)}function QZ(x,r){return x.add(r)}function FZ(x,r){return x.mul(r)}function bR(x,r){return x.ucompare(r)<0}function ZY(x){var r=0,e=Xx(x),t=10,u=1;if(e>0)switch(fx(x,r)){case 45:r++,u=-1;break;case 43:r++,u=1;break}if(r+1<e&&fx(x,r)==48)switch(fx(x,r+1)){case 120:case 88:t=16,r+=2;break;case 111:case 79:t=8,r+=2;break;case 98:case 66:t=2,r+=2;break;case 117:case 85:r+=2;break}return[r,u,t]}function Gd(x){return x>=48&&x<=57?x-48:x>=65&&x<=90?x-55:x>=97&&x<=x1?x-87:-1}function Cl(x){var r=ZY(x),e=r[0],t=r[1],u=r[2],i=qd(u),f=new fr(Ci,268435455,fn).udivmod(i).quotient,o=fx(x,e),a=Gd(o);(a<0||a>=u)&&X2(Ds);for(var d=qd(a);;)if(e++,o=fx(x,e),o!=95){if(a=Gd(o),a<0||a>=u)break;bR(f,d)&&X2(Ds),a=qd(a),d=QZ(FZ(i,d),a),bR(d,a)&&X2(Ds)}return e!=Xx(x)&&X2(Ds),u==10&&bR(new fr(0,0,ln),d)&&X2(Ds),t<0&&(d=GR(d)),d}function bd(x){return x.toFloat()}function ot(x){var r=ZY(x),e=r[0],t=r[1],u=r[2],i=Xx(x),f=-1>>>0,o=e<i?fx(x,e):0,a=Gd(o);(a<0||a>=u)&&X2(Ds);var d=a;for(e++;e<i;e++)if(o=fx(x,e),o!=95){if(a=Gd(o),a<0||a>=u)break;d=u*d+a,d>f&&X2(Ds)}return e!=i&&X2(Ds),d=t*d,u==10&&(d|0)!=d&&X2(Ds),d|0}function HZ(x){return x.slice(1)}function xr(x){return jR(x)?x:gY(x)}function qZ(x){for(var r={},e=1;e<x.length;e++){var t=x[e];r[xr(t[1])]=t[2]}return r}var xy=Ys;function GZ(x){return x.l>=0?x.l:x.l=x.length}function bZ(x){return function(){for(var r=GZ(x),e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return xy(x,e)}}function xW(x,r){return+(Qd(x,r,!1)<0)}function Va(e,r){e<0&&gl();var e=e+1|0,t=new Array(e);t[0]=0;for(var u=1;u<e;u++)t[u]=r;return t}function vt(x){return x.l}function rW(){return 0}function Ir(x){BR(Y2.Sys_error,x)}var Vs=new Array;function es(x){var r=Vs[x];return r.opened||Ir("Cannot flush a closed channel"),!r.buffer||r.buffer_curr==0||(r.output?r.output(zd(r.buffer,0,r.buffer_curr)):r.file.write(r.offset,r.buffer,0,r.buffer_curr),r.offset+=r.buffer_curr,r.buffer_curr=0),0}function WY(){}function BC0(x){for(var r=Xx(x),e=new Array(r),t=0;t<r;t++)e[t]=fx(x,t);return e}function $Y(x){return x.t!=4&&Kd(x),x.c}function mn(x,r){this.fs={},this.fd=x,this.flags=r}mn.prototype=new WY,mn.prototype.constructor=mn,mn.prototype.truncate=function(x){try{this.fs.ftruncateSync(this.fd,x|0)}catch(r){Ir(r.toString())}},mn.prototype.length=function(){try{return this.fs.fstatSync(this.fd).size}catch(x){Ir(x.toString())}},mn.prototype.write=function(x,r,e,t){try{this.flags.isCharacterDevice?this.fs.writeSync(this.fd,r,e,t):this.fs.writeSync(this.fd,r,e,t,x)}catch(u){Ir(u.toString())}return 0},mn.prototype.read=function(x,r,e,t){try{if(this.flags.isCharacterDevice)var u=this.fs.readSync(this.fd,r,e,t);else var u=this.fs.readSync(this.fd,r,e,t,x);return u}catch(i){Ir(i.toString())}},mn.prototype.close=function(){try{return this.fs.closeSync(this.fd),0}catch(x){Ir(x.toString())}};function eW(x,r){if(r.name)try{var e={},t=e.openSync(r.name,"rs");return new mn(t,r)}catch{}return new mn(x,r)}var ry=new Array(3);function Rl(){return typeof p0.process<"u"&&typeof p0.process.versions<"u"&&typeof p0.process.versions.node<"u"}function tW(){function x(e){if(e.charAt(0)===q2)return[hx,e.substring(1)]}function r(e){var t=/^([a-zA-Z]:|[\\/]{2}[^\\/]+[\\/]+[^\\/]+)?([\\/])?([\s\S]*?)$/,u=t.exec(e),i=u[1]||hx,f=!!(i&&i.charAt(1)!==Iv);if(u[2]||f){var o=u[1]||hx,a=u[2]||hx;return[o,e.substring(o.length+a.length)]}}return Rl()&&p0.process&&p0.process.platform&&p0.process.platform===Pj?r:x}var xO=tW();function QY(x){return x.slice(-1)!==q2?x+q2:x}if(Rl()&&p0.process&&p0.process.cwd)var Ol=p0.process.cwd().replace(/\\/g,q2);else var Ol="/static";Ol=QY(Ol);function nW(x){x=xr(x),xO(x)||(x=Ol+x);for(var r=xO(x),e=r[1].split(q2),t=[],u=0;u<e.length;u++)switch(e[u]){case"..":t.length>1&&t.pop();break;case".":break;case"":break;default:t.push(e[u]);break}return t.unshift(r[0]),t.orig=x,t}var uW=["E2BIG","EACCES","EAGAIN",VT,"EBUSY","ECHILD","EDEADLK","EDOM",oU,"EFAULT","EFBIG","EINTR","EINVAL","EIO","EISDIR","EMFILE","EMLINK","ENAMETOOLONG","ENFILE","ENODEV",qS,"ENOEXEC","ENOLCK","ENOMEM","ENOSPC","ENOSYS",ph,eD,"ENOTTY","ENXIO","EPERM","EPIPE","ERANGE","EROFS","ESPIPE","ESRCH","EXDEV","EWOULDBLOCK","EINPROGRESS","EALREADY","ENOTSOCK","EDESTADDRREQ","EMSGSIZE","EPROTOTYPE","ENOPROTOOPT","EPROTONOSUPPORT","ESOCKTNOSUPPORT","EOPNOTSUPP","EPFNOSUPPORT","EAFNOSUPPORT","EADDRINUSE","EADDRNOTAVAIL","ENETDOWN","ENETUNREACH","ENETRESET","ECONNABORTED","ECONNRESET","ENOBUFS","EISCONN","ENOTCONN","ESHUTDOWN","ETOOMANYREFS","ETIMEDOUT","ECONNREFUSED","EHOSTDOWN","EHOSTUNREACH","ELOOP","EOVERFLOW"];function zs(x,r,e,t){var u=uW.indexOf(x);u<0&&(t==null&&(t=-9999),u=[0,t]);var i=[u,Bt(r||hx),Bt(e||hx)];return i}var FY={};function Ro(x){return FY[x]}function Ks(x,r){throw q0([0,x].concat(r))}function rO(x){return x instanceof Uint8Array||(x=new Uint8Array(x)),new Bs(4,x,x.length)}function HY(x){Ir(x+pp)}function re(x){this.data=x}re.prototype=new WY,re.prototype.constructor=re,re.prototype.truncate=function(x){var r=this.data;this.data=S1(x|0),Us(r,0,this.data,0,x)},re.prototype.length=function(){return vt(this.data)},re.prototype.write=function(x,r,e,t){var u=this.length();if(x+t>=u){var i=S1(x+t),f=this.data;this.data=i,Us(f,0,this.data,0,u)}return Us(rO(r),e,this.data,x,t),0},re.prototype.read=function(x,r,e,t){var u=this.length();if(x+t>=u&&(t=u-x),t){var i=S1(t|0);Us(this.data,x,i,0,t),r.set($Y(i),e)}return t};function Mv(x,r,e){this.file=r,this.name=x,this.flags=e}Mv.prototype.err_closed=function(){Ir(this.name+lj)},Mv.prototype.length=function(){if(this.file)return this.file.length();this.err_closed()},Mv.prototype.write=function(x,r,e,t){if(this.file)return this.file.write(x,r,e,t);this.err_closed()},Mv.prototype.read=function(x,r,e,t){if(this.file)return this.file.read(x,r,e,t);this.err_closed()},Mv.prototype.close=function(){this.file=void 0};function p2(x,r){this.content={},this.root=x,this.lookupFun=r}p2.prototype.nm=function(x){return this.root+x},p2.prototype.create_dir_if_needed=function(x){for(var r=x.split(q2),e=hx,t=0;t<r.length-1;t++)e+=r[t]+q2,!this.content[e]&&(this.content[e]=Symbol("directory"))},p2.prototype.slash=function(x){return/\/$/.test(x)?x:x+q2},p2.prototype.lookup=function(x){if(!this.content[x]&&this.lookupFun){var r=this.lookupFun(this.root,x);r!==0&&(this.create_dir_if_needed(x),this.content[x]=new re(xs(r[1])))}},p2.prototype.exists=function(x){if(x==hx)return 1;var r=this.slash(x);return this.content[r]?1:(this.lookup(x),this.content[x]?1:0)},p2.prototype.isFile=function(x){return this.exists(x)&&!this.is_dir(x)?1:0},p2.prototype.mkdir=function(x,r,e){var t=e&&Ro(Np);this.exists(x)&&(t?Ks(t,zs(oU,SN,this.nm(x))):Ir(x+": File exists"));var u=/^(.*)\/[^/]+/.exec(x);u=u&&u[1]||hx,this.exists(u)||(t?Ks(t,zs(qS,SN,this.nm(u))):Ir(u+pp)),this.is_dir(u)||(t?Ks(t,zs(ph,SN,this.nm(u))):Ir(u+uh)),this.create_dir_if_needed(this.slash(x))},p2.prototype.rmdir=function(x,r){var e=r&&Ro(Np),t=x==hx?hx:this.slash(x),u=new RegExp(O8+t+VB);this.exists(x)||(e?Ks(e,zs(qS,Gk,this.nm(x))):Ir(x+pp)),this.is_dir(x)||(e?Ks(e,zs(ph,Gk,this.nm(x))):Ir(x+uh));for(var i in this.content)i.match(u)&&(e?Ks(e,zs(eD,Gk,this.nm(x))):Ir(this.nm(x)+": Directory not empty"));delete this.content[t]},p2.prototype.readdir=function(x){var r=x==hx?hx:this.slash(x);this.exists(x)||Ir(x+pp),this.is_dir(x)||Ir(x+uh);var e=new RegExp(O8+r+VB),t={},u=[];for(var i in this.content){var f=i.match(e);f&&!t[f[1]]&&(t[f[1]]=!0,u.push(f[1]))}return u},p2.prototype.opendir=function(x,r){var e=r&&Ro(Np),t=this.readdir(x),u=!1,i=0;return{readSync:function(){if(u&&(e?Ks(e,zs(VT,cU,this.nm(x))):Ir(x+hB)),i==t.length)return null;var f=t[i];return i++,{name:f}},closeSync:function(){u&&(e?Ks(e,zs(VT,cU,this.nm(x))):Ir(x+hB)),u=!0,t=[]}}},p2.prototype.is_dir=function(x){if(x==hx)return!0;var r=this.slash(x);return this.content[r]?1:0},p2.prototype.unlink=function(x){var r=!!this.content[x];return delete this.content[x],r},p2.prototype.open=function(x,r){var e;return r.rdonly&&r.wronly&&Ir(this.nm(x)+fS),r.text&&r.binary&&Ir(this.nm(x)+hR),this.lookup(x),this.content[x]?(this.is_dir(x)&&Ir(this.nm(x)+EU),r.create&&r.excl&&Ir(this.nm(x)+BN),e=this.content[x],r.truncate&&e.truncate()):r.create?(this.create_dir_if_needed(x),this.content[x]=new re(S1(0)),e=this.content[x]):HY(this.nm(x)),new Mv(this.nm(x),e,r)},p2.prototype.open=function(x,r){var e;return r.rdonly&&r.wronly&&Ir(this.nm(x)+fS),r.text&&r.binary&&Ir(this.nm(x)+hR),this.lookup(x),this.content[x]?(this.is_dir(x)&&Ir(this.nm(x)+EU),r.create&&r.excl&&Ir(this.nm(x)+BN),e=this.content[x],r.truncate&&e.truncate()):r.create?(this.create_dir_if_needed(x),this.content[x]=new re(S1(0)),e=this.content[x]):HY(this.nm(x)),new Mv(this.nm(x),e,r)},p2.prototype.register=function(x,r){var e;if(this.content[x]&&Ir(this.nm(x)+BN),$R(r)&&(e=new re(r)),WR(r))e=new re(xs(r));else if(r instanceof Array)e=new re(rO(r));else if(typeof r=="string")e=new re(AY(r));else if(r.toString){var t=xs(Bt(r.toString()));e=new re(t)}e?(this.create_dir_if_needed(x),this.content[x]=e):Ir(this.nm(x)+" : registering file with invalid content type")},p2.prototype.constructor=p2;function b1(x){this.fs={},this.root=x}b1.prototype.nm=function(x){return this.root+x},b1.prototype.exists=function(x){try{return this.fs.existsSync(this.nm(x))?1:0}catch{return 0}},b1.prototype.isFile=function(x){try{return this.fs.statSync(this.nm(x)).isFile()?1:0}catch(r){Ir(r.toString())}},b1.prototype.mkdir=function(x,r,e){try{return this.fs.mkdirSync(this.nm(x),{mode:r}),0}catch(t){this.raise_nodejs_error(t,e)}},b1.prototype.rmdir=function(x,r){try{return this.fs.rmdirSync(this.nm(x)),0}catch(e){this.raise_nodejs_error(e,r)}},b1.prototype.readdir=function(x,r){try{return this.fs.readdirSync(this.nm(x))}catch(e){this.raise_nodejs_error(e,r)}},b1.prototype.is_dir=function(x){try{return this.fs.statSync(this.nm(x)).isDirectory()?1:0}catch(r){Ir(r.toString())}},b1.prototype.unlink=function(x,r){try{var e=this.fs.existsSync(this.nm(x))?1:0;return this.fs.unlinkSync(this.nm(x)),e}catch(t){this.raise_nodejs_error(t,r)}},b1.prototype.open=function(x,r,e){var t={},u=0;for(var i in r)switch(i){case"rdonly":u|=t.O_RDONLY;break;case"wronly":u|=t.O_WRONLY;break;case"append":u|=t.O_WRONLY|t.O_APPEND;break;case"create":u|=t.O_CREAT;break;case"truncate":u|=t.O_TRUNC;break;case"excl":u|=t.O_EXCL;break;case"binary":u|=t.O_BINARY;break;case"text":u|=t.O_TEXT;break;case"nonblock":u|=t.O_NONBLOCK;break}try{var f=this.fs.openSync(this.nm(x),u),o=this.fs.lstatSync(this.nm(x)).isCharacterDevice();return r.isCharacterDevice=o,new mn(f,r)}catch(a){this.raise_nodejs_error(a,e)}},b1.prototype.rename=function(x,r,e){try{this.fs.renameSync(this.nm(x),this.nm(r))}catch(t){this.raise_nodejs_error(t,e)}},b1.prototype.stat=function(x,r){try{var e=this.fs.statSync(this.nm(x));return this.stats_from_js(e)}catch(t){this.raise_nodejs_error(t,r)}},b1.prototype.lstat=function(x,r){try{var e=this.fs.lstatSync(this.nm(x));return this.stats_from_js(e)}catch(t){this.raise_nodejs_error(t,r)}},b1.prototype.symlink=function(x,r,e,t){try{return this.fs.symlinkSync(this.nm(r),this.nm(e),x?"dir":"file"),0}catch(u){this.raise_nodejs_error(u,t)}},b1.prototype.readlink=function(x,r){try{var e=this.fs.readlinkSync(this.nm(x),"utf8");return Bt(e)}catch(t){this.raise_nodejs_error(t,r)}},b1.prototype.opendir=function(x,r){try{return this.fs.opendirSync(this.nm(x))}catch(e){this.raise_nodejs_error(e,r)}},b1.prototype.raise_nodejs_error=function(x,r){var e=Ro(Np);if(r&&e){var t=zs(x.code,x.syscall,x.path,x.errno);Ks(e,t)}else Ir(x.toString())},b1.prototype.stats_from_js=function(x){var r;return x.isFile()?r=0:x.isDirectory()?r=1:x.isCharacterDevice()?r=2:x.isBlockDevice()?r=3:x.isSymbolicLink()?r=4:x.isFIFO()?r=5:x.isSocket()&&(r=6),[0,x.dev,x.ino,r,x.mode,x.nlink,x.uid,x.gid,x.rdev,x.size,x.atimeMs,x.mtimeMs,x.ctimeMs]},b1.prototype.constructor=b1;function qY(x){var r=xO(x);if(r)return r[0]+q2}var ey=qY(Ol)||X2("unable to compute caml_root"),za=[];Rl()?za.push({path:ey,device:new b1(ey)}):za.push({path:ey,device:new p2(ey)}),za.push({path:BB,device:new p2(BB)});function iW(e){for(var r=nW(e),e=r.join(q2),t=QY(e),u,i=0;i<za.length;i++){var f=za[i];t.search(f.path)==0&&(!u||u.path.length<f.path.length)&&(u={path:f.path,device:f.device,rest:e.substring(f.path.length,e.length)})}if(!u&&Rl()){var o=qY(e);if(o&&o.match(/^[a-zA-Z]:\/$/)){var f={path:o,device:new b1(o)};za.push(f),u={path:f.path,device:f.device,rest:e.substring(f.path.length,e.length)}}}if(u)return u;Ir("no device found for "+t)}function Il(x,r){re.call(this,S1(0)),this.log=function(e){return 0},x==1&&typeof console.log=="function"?this.log=console.log:x==2&&typeof console.error=="function"?this.log=console.error:typeof console.log=="function"&&(this.log=console.log),this.flags=r}Il.prototype.length=function(){return 0},Il.prototype.write=function(x,r,e,t){if(this.log){t>0&&e>=0&&e+t<=r.length&&r[e+t-1]==10&&t--;var u=S1(t);return Us(rO(r),e,u,0,t),this.log(u.toUtf16()),0}Ir(this.fd+lj)},Il.prototype.read=function(x,r,e,t){Ir(this.fd+": file descriptor is write only")},Il.prototype.close=function(){this.log=void 0};function ty(x,r){return r==null&&(r=ry.length),ry[r]=x,r|0}function YC0(x,r,e){for(var t={};r;){switch(r[1]){case 0:t.rdonly=1;break;case 1:t.wronly=1;break;case 2:t.append=1;break;case 3:t.create=1;break;case 4:t.truncate=1;break;case 5:t.excl=1;break;case 6:t.binary=1;break;case 7:t.text=1;break;case 8:t.nonblock=1;break}r=r[2]}t.rdonly&&t.wronly&&Ir(x+fS),t.text&&t.binary&&Ir(x+hR);var u=iW(x),i=u.device.open(u.rest,t);return ty(i,void 0)}(function(){function x(r,e){return Rl()?eW(r,e):new Il(r,e)}ty(x(0,{rdonly:1,altname:"/dev/stdin",isCharacterDevice:!0}),0),ty(x(1,{buffered:2,wronly:1,isCharacterDevice:!0}),1),ty(x(2,{buffered:2,wronly:1,isCharacterDevice:!0}),2)})();function fW(x){var r=ry[x];r.flags.wronly&&Ir(wB+x+" is writeonly");var e=null,t={file:r,offset:r.flags.append?r.length():0,fd:x,opened:!0,out:!1,buffer_curr:0,buffer_max:0,buffer:new Uint8Array(il),refill:e};return Vs[t.fd]=t,t.fd}function GY(x){var r=ry[x];r.flags.rdonly&&Ir(wB+x+" is readonly");var e=r.flags.buffered!==void 0?r.flags.buffered:1,t={file:r,offset:r.flags.append?r.length():0,fd:x,opened:!0,out:!0,buffer_curr:0,buffer:new Uint8Array(il),buffered:e};return Vs[t.fd]=t,t.fd}function cW(){for(var x=0,r=0;r<Vs.length;r++)Vs[r]&&Vs[r].opened&&Vs[r].out&&(x=[0,Vs[r].fd,x]);return x}function g2(x){return x.t&6&&Zd(x),x.c}function sW(x,i,e,t){var u=Vs[x];u.opened||Ir("Cannot output to a closed channel");var i=$Y(i);if(i=i.subarray(e,e+t),u.buffer_curr+i.length>u.buffer.length){var f=new Uint8Array(u.buffer_curr+i.length);f.set(u.buffer),u.buffer=f}switch(u.buffered){case 0:u.buffer.set(i,u.buffer_curr),u.buffer_curr+=i.length,es(x);break;case 1:u.buffer.set(i,u.buffer_curr),u.buffer_curr+=i.length,u.buffer_curr>=u.buffer.length&&es(x);break;case 2:var o=i.lastIndexOf(10);o<0?(u.buffer.set(i,u.buffer_curr),u.buffer_curr+=i.length,u.buffer_curr>=u.buffer.length&&es(x)):(u.buffer.set(i.subarray(0,o+1),u.buffer_curr),u.buffer_curr+=o+1,es(x),u.buffer.set(i.subarray(o+1),u.buffer_curr),u.buffer_curr+=i.length-o-1);break}return 0}function eO(x,r,e,t){return sW(x,xs(r),e,t)}function bY(x,r){var e=String.fromCharCode(r);return eO(x,e,0,1),0}function Ll(x,r){return+(Qd(x,r,!1)!=0)}function tO(x,r){var e=new Array(r+1);e[0]=x;for(var t=1;t<=r;t++)e[t]=0;return e}function oW(x,r){return x[0]=Ba,x[1]=r,0}function Dv(x){return x instanceof Array&&x[0]==x[0]>>>0?x[0]:$R(x)||WR(x)?Av:x instanceof Function||typeof x=="function"?b8:x&&x.caml_custom?$3:ol}function vW(x){for(var r;x;)if(xr(x[1][1])=="SYJS"){r=x[1][2];break}else x=x[2];var e={};if(r)for(var t=1;t<r.length;t++)e[xr(r[t][1])]=r[t][2];return e}function Yt(x,r,e){if(e){var t=e;if(p0.toplevelReloc)x=xy(p0.toplevelReloc,[t]);else if(Y2.toc){Y2.symbols||(Y2.symbols=vW(Y2.toc));var u=Y2.symbols[t];u>=0?x=u:X2("caml_register_global: cannot locate "+t)}}Y2[x+1]=r,e&&(Y2[e]=r)}function nO(x,r){return FY[x]=r,0}function aW(x){return x[2]=zY++,x}function Ar(x,r){return x===r?1:0}function lW(){G1(lg)}function O1(x,r){return r>>>0>=Xx(x)&&lW(),fx(x,r)}function P(x,r){return 1-Ar(x,r)}function pW(){return 2147483647/4|0}var dW=p0.process&&p0.process.platform&&p0.process.platform==Pj?UB:"Unix";function yW(){return[0,dW,32,0]}function mW(){CY(Y2.Not_found)}function xX(x){var r=PY(xr(x));return r===void 0&&mW(),Bt(r)}function uO(x){for(var r=1;x&&x.joo_tramp;)x=x.joo_tramp.apply(null,x.joo_args),r++;return x}function d2(x,r){return{joo_tramp:x,joo_args:r}}function O0(x,r){if(typeof r=="function")return x.fun=r,0;if(r.fun)return x.fun=r.fun,0;for(var e=r.length;e--;)x[e]=r[e];return 0}function I1(x){{if(x instanceof Array)return x;var r;return p0.RangeError&&x instanceof p0.RangeError&&x.message&&x.message.match(/maximum call stack/i)||p0.InternalError&&x instanceof p0.InternalError&&x.message&&x.message.match(/too much recursion/i)?r=Y2.Stack_overflow:x instanceof p0.Error&&Ro(XE)?r=[0,Ro(XE),x]:r=[0,Y2.Failure,Bt(String(x))],x instanceof p0.Error&&(r.js_error=x),r}}function kW(x){switch(x[2]){case-8:case-11:case-12:return 1;default:return 0}}function hW(x){var r=hx;if(x[0]==0){if(r+=x[1][1],x.length==3&&x[2][0]==0&&kW(x[1]))var t=x[2],e=1;else var e=2,t=x;r+=ZM;for(var u=e;u<t.length;u++){u>e&&(r+=ZD);var i=t[u];typeof i=="number"?r+=i.toString():i instanceof Bs||typeof i=="string"?r+=s5+i.toString()+s5:r+=Na}r+=WS}else x[0]==Gr&&(r+=x[1]);return r}function rX(x){if(x instanceof Array&&(x[0]==0||x[0]==Gr)){var r=Ro(mD);if(r)xy(r,[x,!1]);else{var e=hW(x),t=Ro(fj);if(t&&xy(t,[0]),console.error(oR+e+`
|
|
4
4
|
`),x.js_error)throw x.js_error}}else throw x}function _W(){var x=p0.process;x&&x.on?x.on("uncaughtException",function(r,e){rX(r),x.exit(2)}):p0.addEventListener&&p0.addEventListener("error",function(r){r.error&&rX(r.error)})}_W();function l(x,r){return(x.l>=0?x.l:x.l=x.length)==1?x(r):Ys(x,[r])}function p(x,r,e){return(x.l>=0?x.l:x.l=x.length)==2?x(r,e):Ys(x,[r,e])}function G0(x,r,e,t){return(x.l>=0?x.l:x.l=x.length)==3?x(r,e,t):Ys(x,[r,e,t])}function oe(x,r,e,t,u){return(x.l>=0?x.l:x.l=x.length)==4?x(r,e,t,u):Ys(x,[r,e,t,u])}function Ye(x,r,e,t,u,i){return(x.l>=0?x.l:x.l=x.length)==5?x(r,e,t,u,i):Ys(x,[r,e,t,u,i])}function wW(x,r,e,t,u,i,f,o){return(x.l>=0?x.l:x.l=x.length)==7?x(r,e,t,u,i,f,o):Ys(x,[r,e,t,u,i,f,o])}var iO=[Gr,eY,-1],eX=[Gr,CB,-2],kn=[Gr,tw,-3],fO=[Gr,_B,-4],A2=[Gr,Oj,-7],tX=[Gr,WU,-8],nX=[Gr,NU,-9],wr=[Gr,xD,-11],Ml=[Gr,GU,-12],TW=[4,0,0,0,[12,45,[4,0,0,0,0]]],cO=[0,[11,'File "',[2,0,[11,'", line ',[4,0,0,0,[11,SU,[4,0,0,0,[12,45,[4,0,0,0,[11,": ",[2,0,0]]]]]]]]]],'File "%s", line %d, characters %d-%d: %s'],Ka=[0,0,[0,0,0],[0,0,0]],Dl=[0,0,0,0,1,0,0,0],uX=[0,"first_leading","last_trailing"],iX=[0,Nf,Df,ai,_7,Mf,b7,Ui,Su,dc,Y7,$i,jf,cn,$u,hc,Le,O7,tu,vf,Gf,C7,yi,Gc,Cc,n7,df,K7,Au,Wi,tf,Fc,F7,Ru,Si,sf,Ni,di,nc,Gi,au,d7,qc,W7,Gu,cf,Pc,hi,lf,xc,Hn,yc,_c,ef,Re,Oe,zu,Tf,Ac,Ki,T7,Bf,Zu,cc,kf,ac,Of,Rc,Mi,ce,Xi,t7,yf,nf,Nu,c7,ju,Vi,of,Nc,kc,Mu,Vu,af,w7,bn,Cf,m7,Qf,Z7,H1,Ti,xi,Gn,$7,y7,Yf,gf,G7,cu,Yi,Yu,Cu,pu,bu,oc,eu,zn,pc,S7,$n,B7,ti,ei,Uf,ii,wf,Kn,Ai,Wc,Hi,wu,gi,ku,Ou,Ct,g7,s7,P7,D2,Ei,ou,Ku,p7,hf,yu,$f,I7,G2,ni,r7,Kf,Zi,lu,bc,iu,_u,Vn,zi,Qu,Lc,lc,i7,Ef,Eu,ci,Kc,li,U7,o7,uu,qn,ec,rc,rf,fc,X7,Xu,Qn,ji,j7,Zn,vu,uf,ir,v7,pi,Bu,gc,ri,a7,Xc,Uc,Wu,Dc,Q7,Af,L7,Bi,Jf,qf,su,bi,Zc,pf,Vc,f7,vi,Pf,oi,sc,mi,nu,uc,u7,Fu,If,yn,Yc,Lu,z7,wc,Oc,R7,H7,Ju,l7,h7,Ji,Du,mc,tc,fu,Wf,$c,gu,zf,Tc,mu,je,Ec,du,Uu,Tu,xf,D7,k7,Me,Sc,qu,M7,Ic,Fi,qi,E7,ff,Be,Iu,xu,Xf,Sf,jc,Ii,Rf,Ue,Qc,mf,Qi,Pu,vc,Fn,x7,Pi,Ff,wi,Jc,A7,zc,_i,Wn,V7,Oi,bf,Hf,ru,N7,J7,ki,Hu,Mc,e7,q7,ui,Hc,Li,U2,Vf,_f,si,B2],hn=[0,0,0];Yt(11,Ml,GU),Yt(10,wr,xD),Yt(9,[Gr,Uj,XD],Uj),Yt(8,nX,NU),Yt(7,tX,WU),Yt(6,A2,Oj),Yt(5,[Gr,vj,-6],vj),Yt(4,[Gr,kD,-5],kD),Yt(3,fO,_B),Yt(2,kn,tw),Yt(1,eX,CB),Yt(0,iO,eY);var SW="output_substring",EW=ic,gW=Ns,AW=Os,PW="CamlinternalLazy.Undefined",NW=jB,CW="\\'",RW="\\b",OW="\\t",IW="\\n",LW="\\r",MW="List.iter2",DW="tl",jW="hd",UW="String.blit / Bytes.blit_string",BW="Bytes.blit",YW="String.sub / Bytes.sub",XW="String.concat",JW="Array.blit",VW="Array.sub",zW="Map.remove_min_elt",KW=[0,0,0,0],ZW=[0,"map.ml",400,10],WW=[0,0,0],$W=F4,QW=F4,FW=F4,HW=F4,qW="Stdlib.Queue.Empty",GW="Buffer.add_substring/add_subbytes",bW="Buffer.add: cannot grow buffer",x$=[0,aD,93,2],r$=[0,aD,94,2],e$="Buffer.sub",t$="%c",n$="%s",u$=FM,i$=DB,f$=gj,c$=GB,s$="%f",o$="%B",v$="%{",a$="%}",l$="%(",p$="%)",d$=Kj,y$="%t",m$="%?",k$="%r",h$="%_r",_$=[0,i2,850,23],w$=[0,i2,814,21],T$=[0,i2,815,21],S$=[0,i2,818,21],E$=[0,i2,819,21],g$=[0,i2,822,19],A$=[0,i2,823,19],P$=[0,i2,826,22],N$=[0,i2,827,22],C$=[0,i2,831,30],R$=[0,i2,832,30],O$=[0,i2,836,26],I$=[0,i2,837,26],L$=[0,i2,846,28],M$=[0,i2,847,28],D$=[0,i2,851,23],j$=[0,i2,1558,4],U$="Printf: bad conversion %[",B$=[0,i2,1626,39],Y$=[0,i2,1649,31],X$=[0,i2,1650,31],J$="Printf: bad conversion %_",V$=HU,z$=Aj,K$=HU,Z$=Aj,W$=[0,[11,"invalid box description ",[3,0,0]],"invalid box description %S"],$$=[0,0,4],Q$=Wk,F$="neg_infinity",H$=Dj,q$=ic,G$=[0,nn],b$="%+nd",xQ="% nd",rQ="%+ni",eQ="% ni",tQ="%nx",nQ="%#nx",uQ="%nX",iQ="%#nX",fQ="%no",cQ="%#no",sQ="%nd",oQ=gj,vQ="%nu",aQ="%+ld",lQ="% ld",pQ="%+li",dQ="% li",yQ="%lx",mQ="%#lx",kQ="%lX",hQ="%#lX",_Q="%lo",wQ="%#lo",TQ="%ld",SQ=DB,EQ="%lu",gQ="%+Ld",AQ="% Ld",PQ="%+Li",NQ="% Li",CQ="%Lx",RQ="%#Lx",OQ="%LX",IQ="%#LX",LQ="%Lo",MQ="%#Lo",DQ="%Ld",jQ=GB,UQ="%Lu",BQ="%+d",YQ="% d",XQ="%+i",JQ="% i",VQ="%x",zQ="%#x",KQ="%X",ZQ="%#X",WQ="%o",$Q="%#o",QQ=El,FQ=FM,HQ=aU,qQ=la,GQ="@}",bQ="@?",xF=`@
|
|
5
5
|
`,rF="@.",eF="@@",tF="@%",nF=Nj,uF="CamlinternalFormat.Type_mismatch",iF=hx,fF=[0,[11,ZD,[2,0,[2,0,0]]],", %s%s"],cF=[0,[11,oR,[2,0,[12,10,0]]],CU],sF=[0,[11,"Fatal error in uncaught exception handler: exception ",[2,0,[12,10,0]]],`Fatal error in uncaught exception handler: exception %s
|
|
6
6
|
`],oF="Fatal error: out of memory in uncaught exception handler",vF=[0,[11,oR,[2,0,[12,10,0]]],CU],aF=[0,[2,0,[12,10,0]],`%s
|
|
@@ -18,4 +18,4 @@
|
|
|
18
18
|
`;p0=p0.replace(cC0,"").replace(fC0,"").replace(vC0,"$1");let tr="";for(;tr!==p0;)tr=p0,p0=p0.replace(oC0,`${wx}$1 $2${wx}`);p0=p0.replace(xZ,"").trimRight();let gr=Object.create(null),nr=p0.replace(rZ,"").replace(xZ,"").trimRight(),Xr;for(;Xr=rZ.exec(p0);){let ir=Xr[2].replace(sC0,"");typeof gr[Xr[1]]=="string"||Array.isArray(gr[Xr[1]])?gr[Xr[1]]=nZ.concat(gr[Xr[1]],ir):gr[Xr[1]]=ir}return{comments:nr,pragmas:gr}}function dC0({comments:p0="",pragmas:wx={}}){let tr=`
|
|
19
19
|
`,gr="/**",nr=" *",Xr=" */",ir=Object.keys(wx),tn=ir.flatMap(Nt=>eZ(Nt,wx[Nt])).map(Nt=>`${nr} ${Nt}${tr}`).join("");if(!p0){if(ir.length===0)return"";if(ir.length===1&&!Array.isArray(wx[ir[0]])){let Nt=wx[ir[0]];return`${gr} ${eZ(ir[0],Nt)[0]}${Xr}`}}let X4=p0.split(tr).map(Nt=>`${nr} ${Nt}`).join(tr)+tr;return gr+tr+(p0?X4:"")+(p0&&ir.length?nr+tr:"")+tn+Xr}function eZ(p0,wx){return nZ.concat(wx).map(tr=>`@${p0} ${tr}`.trim())}});var MC0={};FK(MC0,{parsers:()=>JM});var JM={};FK(JM,{flow:()=>LC0});var kZ=qK(GK(),1);function iC0(p0,wx){let tr=new SyntaxError(p0+" ("+wx.loc.start.line+":"+wx.loc.start.column+")");return Object.assign(tr,wx)}var bK=iC0;var X3=qK(iZ(),1);function yC0(p0){if(!p0.startsWith("#!"))return"";let wx=p0.indexOf(`
|
|
20
20
|
`);return wx===-1?p0:p0.slice(0,wx)}var fZ=yC0;function mC0(p0){let wx=fZ(p0);wx&&(p0=p0.slice(wx.length+1));let tr=(0,X3.extract)(p0),{pragmas:gr,comments:nr}=(0,X3.parseWithComments)(tr);return{shebang:wx,text:p0,pragmas:gr,comments:nr}}function cZ(p0){let{pragmas:wx}=mC0(p0);return Object.prototype.hasOwnProperty.call(wx,"prettier")||Object.prototype.hasOwnProperty.call(wx,"format")}function kC0(p0){return Array.isArray(p0)&&p0.length>0}var ym=kC0;function Pt(p0){var gr;let wx=p0.range?p0.range[0]:p0.start,tr=((gr=p0.declaration)==null?void 0:gr.decorators)??p0.decorators;return ym(tr)?Math.min(Pt(tr[0]),wx):wx}function As(p0){return p0.range?p0.range[1]:p0.end}function hC0(p0){return p0=typeof p0=="function"?{parse:p0}:p0,{astFormat:"estree",hasPragma:cZ,locStart:Pt,locEnd:As,...p0}}var sZ=hC0;function _C0(p0){return p0.charAt(0)==="#"&&p0.charAt(1)==="!"?"//"+p0.slice(2):p0}var oZ=_C0;var wC0=(p0,wx,tr)=>{if(!(p0&&wx==null))return Array.isArray(wx)||typeof wx=="string"?wx[tr<0?wx.length+tr:tr]:wx.at(tr)},jM=wC0;function TC0(p0){return p0=new Set(p0),wx=>p0.has(wx==null?void 0:wx.type)}var vZ=TC0;var SC0=vZ(["Block","CommentBlock","MultiLine"]),U4=SC0;function EC0(p0){return U4(p0)&&p0.value[0]==="*"&&/@(?:type|satisfies)\b/.test(p0.value)}var aZ=EC0;function gC0(p0){let wx=`*${p0.value}*`.split(`
|
|
21
|
-
`);return wx.length>1&&wx.every(tr=>tr.trimStart()[0]==="*")}var UM=gC0;var B4=null;function Y4(p0){if(B4!==null&&typeof B4.property){let wx=B4;return B4=Y4.prototype=null,wx}return B4=Y4.prototype=p0??Object.create(null),new Y4}var AC0=10;for(let p0=0;p0<=AC0;p0++)Y4();function BM(p0){return Y4(p0)}function PC0(p0,wx="type"){BM(p0);function tr(gr){let nr=gr[wx],Xr=p0[nr];if(!Array.isArray(Xr))throw Object.assign(new Error(`Missing visitor keys for '${nr}'.`),{node:gr});return Xr}return tr}var lZ=PC0;var pZ={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"],ImportExpression:["source","options","attributes"],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","typeArguments"],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"],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"],AsExpression:["expression","typeAnnotation"],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"],TypeOperator:["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:[],AsConstExpression:["expression"],SatisfiesExpression:["expression","typeAnnotation"]};var NC0=lZ(pZ),dZ=NC0;function YM(p0,wx){if(!(p0!==null&&typeof p0=="object"))return p0;if(Array.isArray(p0)){for(let gr=0;gr<p0.length;gr++)p0[gr]=YM(p0[gr],wx);return p0}let tr=dZ(p0);for(let gr=0;gr<tr.length;gr++)p0[tr[gr]]=YM(p0[tr[gr]],wx);return wx(p0)||p0}var mm=YM;function CC0(p0,wx){let{parser:tr,text:gr}=wx;if(p0.type==="File"&&p0.program.interpreter){let{program:{interpreter:nr},comments:Xr}=p0;delete p0.program.interpreter,Xr.unshift(nr)}if(tr==="babel"){let nr=new Set;p0=mm(p0,Xr=>{var ir;(ir=Xr.leadingComments)!=null&&ir.some(aZ)&&nr.add(Pt(Xr))}),p0=mm(p0,Xr=>{if(Xr.type==="ParenthesizedExpression"){let{expression:ir}=Xr;if(ir.type==="TypeCastExpression")return ir.range=[...Xr.range],ir;let tn=Pt(Xr);if(!nr.has(tn))return ir.extra={...ir.extra,parenthesized:!0},ir}})}if(p0=mm(p0,nr=>{var Xr;switch(nr.type){case"LogicalExpression":if(yZ(nr))return XM(nr);break;case"VariableDeclaration":{let ir=jM(!1,nr.declarations,-1);ir!=null&&ir.init&&gr[As(ir)]!==";"&&(nr.range=[Pt(nr),As(ir)]);break}case"TSParenthesizedType":return nr.typeAnnotation;case"TSTypeParameter":if(typeof nr.name=="string"){let ir=Pt(nr);nr.name={type:"Identifier",name:nr.name,range:[ir,ir+nr.name.length]}}break;case"TopicReference":p0.extra={...p0.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":if(tr==="meriyah"&&((Xr=nr.exported)==null?void 0:Xr.type)==="Identifier"){let{exported:ir}=nr,tn=gr.slice(Pt(ir),As(ir));(tn.startsWith('"')||tn.startsWith("'"))&&(nr.exported={...nr.exported,type:"Literal",value:nr.exported.name,raw:tn})}break;case"TSUnionType":case"TSIntersectionType":if(nr.types.length===1)return nr.types[0];break}}),ym(p0.comments)){let nr=jM(!1,p0.comments,-1);for(let Xr=p0.comments.length-2;Xr>=0;Xr--){let ir=p0.comments[Xr];As(ir)===Pt(nr)&&U4(ir)&&U4(nr)&&UM(ir)&&UM(nr)&&(p0.comments.splice(Xr+1,1),ir.value+="*//*"+nr.value,ir.range=[Pt(ir),As(nr)]),nr=ir}}return p0.type==="Program"&&(p0.range=[0,gr.length]),p0}function yZ(p0){return p0.type==="LogicalExpression"&&p0.right.type==="LogicalExpression"&&p0.operator===p0.right.operator}function XM(p0){return yZ(p0)?XM({type:"LogicalExpression",operator:p0.operator,left:XM({type:"LogicalExpression",operator:p0.operator,left:p0.left,right:p0.right.left,range:[Pt(p0.left),As(p0.right.left)]}),right:p0.right.right,range:[Pt(p0),As(p0)]}):p0}var mZ=CC0;var RC0={comments:!1,enums:!0,esproposal_decorators:!0,esproposal_export_star_as:!0,tokens:!0};function OC0(p0){let{message:wx,loc:{start:tr,end:gr}}=p0;return bK(wx,{loc:{start:{line:tr.line,column:tr.column+1},end:{line:gr.line,column:gr.column+1}},cause:p0})}function IC0(p0){let wx=kZ.default.parse(oZ(p0),RC0),[tr]=wx.errors;if(tr)throw OC0(tr);return mZ(wx,{text:p0})}var LC0=sZ(IC0);return uC0(MC0);});
|
|
21
|
+
`);return wx.length>1&&wx.every(tr=>tr.trimStart()[0]==="*")}var UM=gC0;var B4=null;function Y4(p0){if(B4!==null&&typeof B4.property){let wx=B4;return B4=Y4.prototype=null,wx}return B4=Y4.prototype=p0??Object.create(null),new Y4}var AC0=10;for(let p0=0;p0<=AC0;p0++)Y4();function BM(p0){return Y4(p0)}function PC0(p0,wx="type"){BM(p0);function tr(gr){let nr=gr[wx],Xr=p0[nr];if(!Array.isArray(Xr))throw Object.assign(new Error(`Missing visitor keys for '${nr}'.`),{node:gr});return Xr}return tr}var lZ=PC0;var pZ={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","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],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","typeArguments"],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"],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"],AsExpression:["expression","typeAnnotation"],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"],TypeOperator:["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:[],AsConstExpression:["expression"],SatisfiesExpression:["expression","typeAnnotation"]};var NC0=lZ(pZ),dZ=NC0;function YM(p0,wx){if(!(p0!==null&&typeof p0=="object"))return p0;if(Array.isArray(p0)){for(let gr=0;gr<p0.length;gr++)p0[gr]=YM(p0[gr],wx);return p0}let tr=dZ(p0);for(let gr=0;gr<tr.length;gr++)p0[tr[gr]]=YM(p0[tr[gr]],wx);return wx(p0)||p0}var mm=YM;function CC0(p0,wx){let{parser:tr,text:gr}=wx;if(p0.type==="File"&&p0.program.interpreter){let{program:{interpreter:nr},comments:Xr}=p0;delete p0.program.interpreter,Xr.unshift(nr)}if(tr==="babel"){let nr=new Set;p0=mm(p0,Xr=>{var ir;(ir=Xr.leadingComments)!=null&&ir.some(aZ)&&nr.add(Pt(Xr))}),p0=mm(p0,Xr=>{if(Xr.type==="ParenthesizedExpression"){let{expression:ir}=Xr;if(ir.type==="TypeCastExpression")return ir.range=[...Xr.range],ir;let tn=Pt(Xr);if(!nr.has(tn))return ir.extra={...ir.extra,parenthesized:!0},ir}})}if(p0=mm(p0,nr=>{var Xr;switch(nr.type){case"LogicalExpression":if(yZ(nr))return XM(nr);break;case"VariableDeclaration":{let ir=jM(!1,nr.declarations,-1);ir!=null&&ir.init&&gr[As(ir)]!==";"&&(nr.range=[Pt(nr),As(ir)]);break}case"TSParenthesizedType":return nr.typeAnnotation;case"TSTypeParameter":if(typeof nr.name=="string"){let ir=Pt(nr);nr.name={type:"Identifier",name:nr.name,range:[ir,ir+nr.name.length]}}break;case"TopicReference":p0.extra={...p0.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":if(tr==="meriyah"&&((Xr=nr.exported)==null?void 0:Xr.type)==="Identifier"){let{exported:ir}=nr,tn=gr.slice(Pt(ir),As(ir));(tn.startsWith('"')||tn.startsWith("'"))&&(nr.exported={...nr.exported,type:"Literal",value:nr.exported.name,raw:tn})}break;case"TSUnionType":case"TSIntersectionType":if(nr.types.length===1)return nr.types[0];break}}),ym(p0.comments)){let nr=jM(!1,p0.comments,-1);for(let Xr=p0.comments.length-2;Xr>=0;Xr--){let ir=p0.comments[Xr];As(ir)===Pt(nr)&&U4(ir)&&U4(nr)&&UM(ir)&&UM(nr)&&(p0.comments.splice(Xr+1,1),ir.value+="*//*"+nr.value,ir.range=[Pt(ir),As(nr)]),nr=ir}}return p0.type==="Program"&&(p0.range=[0,gr.length]),p0}function yZ(p0){return p0.type==="LogicalExpression"&&p0.right.type==="LogicalExpression"&&p0.operator===p0.right.operator}function XM(p0){return yZ(p0)?XM({type:"LogicalExpression",operator:p0.operator,left:XM({type:"LogicalExpression",operator:p0.operator,left:p0.left,right:p0.right.left,range:[Pt(p0.left),As(p0.right.left)]}),right:p0.right.right,range:[Pt(p0),As(p0)]}):p0}var mZ=CC0;var RC0={comments:!1,enums:!0,esproposal_decorators:!0,esproposal_export_star_as:!0,tokens:!0};function OC0(p0){let{message:wx,loc:{start:tr,end:gr}}=p0;return bK(wx,{loc:{start:{line:tr.line,column:tr.column+1},end:{line:gr.line,column:gr.column+1}},cause:p0})}function IC0(p0){let wx=kZ.default.parse(oZ(p0),RC0),[tr]=wx.errors;if(tr)throw OC0(tr);return mZ(wx,{text:p0})}var LC0=sZ(IC0);return uC0(MC0);});
|