UNPKG

prettier

Version:

Prettier is an opinionated code formatter

3 lines 687 kB
(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 hA0=Object.create;var g5=Object.defineProperty;var yA0=Object.getOwnPropertyDescriptor;var gA0=Object.getOwnPropertyNames;var _A0=Object.getPrototypeOf,wA0=Object.prototype.hasOwnProperty;var bA0=(a0,W0)=>()=>(W0||a0((W0={exports:{}}).exports,W0),W0.exports),lY=(a0,W0)=>{for(var bx in W0)g5(a0,bx,{get:W0[bx],enumerable:!0})},pY=(a0,W0,bx,Yx)=>{if(W0&&typeof W0=="object"||typeof W0=="function")for(let x1 of gA0(W0))!wA0.call(a0,x1)&&x1!==bx&&g5(a0,x1,{get:()=>W0[x1],enumerable:!(Yx=yA0(W0,x1))||Yx.enumerable});return a0};var TA0=(a0,W0,bx)=>(bx=a0!=null?hA0(_A0(a0)):{},pY(W0||!a0||!a0.__esModule?g5(bx,"default",{value:a0,enumerable:!0}):bx,a0)),EA0=a0=>pY(g5({},"__esModule",{value:!0}),a0);var kY=bA0(mj=>{(function(a0){typeof globalThis!="object"&&(this?W0():(a0.defineProperty(a0.prototype,"_T_",{configurable:!0,get:W0}),_T_));function W0(){var bx=this||self;bx.globalThis=bx,delete a0.prototype._T_}})(Object);(function(a0){"use strict";var W0="loc",bx=70416,Yx=69748,x1=163,D1=92159,Ie=43587,k2="labeled_statement",Rr="&=",_1="int_of_string",Ce=110591,Qs=92909,Qa=11559,$o="regexp",_5=43301,Qp=11703,w5=122654,Za=255,Ej="%ni",b5=68252,Aj=232,T5=42785,Kn="declare_variable",Zp="while",E5=66938,A5=70301,S5=124907,x4=126515,Sj=218,Hn="pattern_identifier",P5=67643,Vn="export_source",I5=216,C5=64279,Pj="Out_of_memory",N5=113788,Ij="comments",O5=126624,Cj="win32",$n="object_key_bigint_literal",Nj=185,Oj=283,r4=123214,Wo="constructor",j5=69955,Wn="import_declaration",D5=68437,F5="Failure",e4="Unix.Unix_error",R5=64255,M5=42539,L5=110579,Qn="export_default_declaration",Zn="jsx_attribute_name",t4=11727,q5=43002,n4=126500,x7="component_param_pattern",jj="collect_comments_opt",r7="match_unary_pattern",e7="keyof_type",Dj="Invalid binary/octal ",Fj="range",U5=170,xs="false",B5=43798,Rj=", characters ",t7="object_type_property_getter",X5=65547,G5=126467,Y5=65007,J5=42237,z5=8318,K5=71215,n7="object_property_type",u7="type_alias",H5=67742,i7="function_body",Mj=304,V5=68111,u4=120745,$5=71959,i4=43880,Lj="Match_failure",qj=280,f7="type_cast",lt=109,rs="void",W5="generator",Q5=125124,Z5=101589,f4=94179,Uj=">>>",c4=70404,c7="optional_indexed_access_type",W1="argument",a7="object_property",s7="object_type_property",xy=67004,ry=42783,ey=68850,Bj="@",ty=43741,ny=43487,a4="object",Xj="end",s4=126571,uy=71956,iy=208,fy=126566,cy=67702,Gj="EEXIST",o7="this_expression",Yj=203,ay=11507,sy=113807,o4=119893,oy=42735,Ql="rest",v7="null_literal",Zl="protected",vy=43615,m2=8231,ly=68149,py=73727,ky=72348,my=92995,Qo=224,dy=11686,hy=43013,l7="assignment_pattern",yy=12329,p7="function_type",Zo=192,k7="jsx_element_name",gy=70018,m7="catch_clause_pattern",v4=126540,d7="template_literal",_y=120654,wy=68497,by=67679,h7="readonly_type",Ty=68735,Ey="<",l4=": No such file or directory",Ay=66915,Sy="chain",Jj="!",y7="object_type",Py=43712,p4=64297,Iy=183969,Cy=43503,Ny=67591,xv=65278,Oy=67669,g7="for_of_assignment_pattern",x6="`",jy=11502,_7="catch_body",Dy=42191,Zs=-744106340,Fy=182,rv=":",zj="a string",Ry=65663,My=66978,Ly=71947,k4=43519,qy=71086,Uy=125258,By=12538,w7="expression_or_spread",Kj="Printexc.handle_uncaught_exception",m4=69956,d4=120122,h4=247,Hj=231,Xy=" : flags Open_rdonly and Open_wronly are not compatible",b7="statement_fork_point",Vj=710,$j=-692038429,ze="static",Gy=55203,Yy=64324,Jy=64111,Wj="!==",zy=120132,Ky=124903,r6="class",Hy=222,T7="pattern_number_literal",es="kind",Vy=71903,E7="variable_declarator",A7="typeof_expression",$y=126627,Wy=70084,Qj=228,y4=70480,S7="class_private_field",Qy=239,g4=120713,on=65535,P7="private_name",Zy=43137,I7="remote_identifier",x9=70161,C7="label_identifier",r9="src/parser/statement_parser.ml",e9=8335,t9=19903,n9=64310,ev="_",N7="for_init_declaration",Zj="infer",u9=64466,i9=43018,xD="tokens",f9=92735,c9=66954,a9=65473,s9=70285,O7="sequence",o9="compare: functional value",v9=69890,e6=1e3,l9=65487,p9=42653,rD="\\\\",eD="%=",j7="match_member_pattern_base",k9=72367,D7="function_rest_param",tD="/static/",m9=124911,d9=65276,_4=126558,h9=11498,nD=137,F7="export_default_declaration_decl",y9="cases",w4=126602,R7="jsx_child",Ke="continue",g9=42962,uD="importKind",o1=122,C3="Literal",M7="pattern_object_property_identifier_key",_9=42508,xo="in",w9=55238,b9=67071,T9=70831,E9=72161,A9=67462,iD="<<=",S9=43009,P9=66383,b4=67827,I9=72202,C9=69839,N9=66775,fD="-=",tv=8202,O9=70105,j9=120538,L7="for_in_left_declaration",D9="rendersType",T4=126563,F9=70708,E4=126523,cD=166,q7="match_",aD=202,R9=110951,ts="component",A4=126552,M9=66977,sD=213,U7="enum_member_identifier",oD=210,B7="enum_bigint_body",vD=">=",L9=126495,q9="specifiers",lD=-88,U9="=",B9=65338,t6="members",X9=123535,G9=43702,Y9=72767,nv="get",J9=126633,S4=126536,z9=94098,K9="types",H9=113663,pD="Internal Error: Found private field in object props",X7="jsx_element",V9=70366,$9=110959,P4=120655,kD="trailingComments",mD=282,ro=24029,W9=-100,$2="yield",G7="binding_pattern",dD=275,Y7="typeof_identifier",hD="ENOTEMPTY",Q9=-104,yD=295,I4=126468,Z9=1255,xg=120628,J7="pattern_object_property_string_literal_key",rg=8521,gD="leadingComments",_D=8204,eo="@ ",eg=70319,ns="left",wD=188,C4="case",tg=19967,N4=42622,ng=43492,ug=113770,ig=42774,O4=183,j4=8468,z7="class_implements",D4=126579,N3="string",bD=211,t2=-48,fg=69926,cg=123213,K7="if_consequent_statement",ag=124927,O3="number",sg=126546,og=68119,vg=70726,F4=70750,lg=65489,TD="SpreadElement",ED="callee",AD=193,pg=70492,kg=71934,SD=164,mg=110580,dg=12320,R4="any",ve="/",H7="type_guard",C1="body",PD=178,Ne="pattern",ID="comment_bounds",CD=297,V7="binding_type_identifier",M4=187,$7="pattern_array_rest_element_pattern",L4="@])",hg=12543,yg=11623,ND="start",gg=67871,le="interface",_g=8449,wg=67637,bg=42961,q4=120085,Tg=126463,OD="alternate",jD=-1053382366,Eg=70143,DD="--",Ag=68031,W7="jsx_expression",Q7="type_identifier_reference",U4=11647,Sg="proto",Ft="identifier",Pg=43696,Rt="raw",Ig=126529,Cg=11564,B4=126557,Ng=64911,X4=67592,Og=43493,jg=215,Dg=110588,n6=461894857,Fg=92927,Rg=67861,Mg=119980,Lg=43042,qg=66965,Ug=67391,j3="computed",FD="unreachable jsxtext",Bg=71167,Xg=42559,Gg=72966,RD=180,MD=197,G4=64319,LD=169,qD="*",uv=129,Yg=66335,u6="meta",Jg=43388,Y4=94178,pt="optional",J4="unknown",zg=120121,Kg=123180,z4=8469,Hg=68220,UD="|",Vg=43187,$g=94207,Wg=124895,K4=120513,Qg=42527,iv=8286,Zg=94177,i6="var",Z7="component_type_param",x_=66421,BD=285,r_=92991,e_=68415,xu="comment",ru="match_pattern_array_element",fv=244,H4="^",t_=173791,XD=136,n_=42890,u_="ENOTDIR",i_="??",f_=43711,c_=66303,a_=113800,s_=42239,o_=12703,eu="variance_opt",tu="+",GD=">>>=",V4="mixed",v_=65613,l_=73029,p_=68191,YD="*=",$4=8487,k_=8477,nu="toplevel_statement_list",W4="never",Q4="do",to=125,m_=72249,JD="Pervasives.do_at_exit",zD="visit_trailing_comment",uu="jsx_closing_element",iu="jsx_namespaced_name",d_=124908,h_=126651,fu="component_declaration",y_=15,cu="interface_type",au="function_type_return_annotation",g_=64109,Z4=65595,xk=126560,__=110927,KD=301,rk=65598,ek=8488,us="`.",HD=154,VD=175,tk="package",nk="else",uk=120771,w_=68023,$D="fd ",cv=8238,ik=888960333,fk=119965,b_=42655,su="match_object_pattern",T_=11710,E_=119993,ou="boolean_literal",WD=290,vu="statement_list",lu="function_param",pu="match_as_pattern",ku="pattern_object_property_bigint_literal_key",ck=69959,A_=120485,QD=240,S_=191456,mu="declare_enum",ak=120597,sk=70281,du="type_annotation",hu="spread_element",ok=126544,P_=120069,is="key",I_=43583,C_="out",N_=` `,ZD="**=",yu="pattern_object_property_pattern",O_="e",j_=72712,xF="Internal Error: Found object private prop",D_="ENOENT",F_=-42,gu="jsx_opening_attribute",R_=67646,_u="component_type",M_=64296,L_=43887,rF="Division_by_zero",eF="EnumDefaultedMember",wu="typeof_member_identifier",q_=43792,bu="match_member_pattern_property",Tu="declare_export_declaration_decl",U_=93026,Eu="type_annotation_hint",B_=42887,X_=43881,G_=43761,vk=8526,D3=119,Y_=43866,J_=72847,z_=8348,pe=101,K_=94026,lk=72272,tF="src/parser/flow_lexer.ml",H_=120744,av=8191,F3="implies",pk=255,kk=11711,Au="match_unary_pattern_argument",V_=71235,mk=68116,nF=261,E1=100,Su="match_expression",Pu="enum_body",dk=1114111,Iu="assignment",$_=71955,hk=43260,Cu="pattern_array_e",W_=126583,uF="prefix",Nu="class_body",f6="shorthand",yk=171,Q_=66256,gk=-97,iF=" =",Z_=94032,xw=42606,Ou="match_case",rw=71839,_k=120134,ew=55291,tw=92862,nw=43019,uw=126543,R3="function",iw=111355,fw=11389,cw=70753,aw=43249,sw=64829,wk="line",ju="function_declaration",bk="undefined",fF="([^/]+)",ow=110947,vw=70002,cF="Cygwin",Du="as_expression",lw=12591,Tk=64285,pw=2048,kw=73112,Ek=126589,aF=225,Ak=43259,mw=72817,Sk=64318,dw=172,sF=209,Fu="match_binding_pattern",Ru=" ",Mu="import_source",c6="delete",oF="Enum `",Pk=126553,hw=67001,sv="default",yw=11630,Ik=206,Lu="enum_bigint_member",gw=67504,Ck=67593,_w=113791,vF="MatchObjectPatternProperty",ww=69572,qu="typeof_type",lF=212,pF="%i",Uu="function_this_param",bw=72329,no="0x",ov=8239,Tw=75075,kF=57343,Bu="pattern_bigint_literal",Ew=12341,mF=201,vv="hook",dF=": closedir failed",Aw=42959,Nk=119970,hF=278,Sw=43560,yF="||=",Xu="member_private_name",Pw=120570,Gu="object_key_identifier",Ok=223,gF="Not_found",_F=230,Yu="jsx_element_name_member_expression",Ju="string_literal",Iw=120596,Cw=43807,Nw=69687,Ow=63743,jk=72192,zu="member_property",jw=43262,Ku="class_declaration",wF="renders*",bF="%Li",Dw=126578,Hu="jsx_attribute",M3=254,Oe="empty",a6="label",Vu="object_internal_slot_property_type",Dk=120133,Fw=43359,He="predicate",TF="??=",Rw=43697,Mw=-43,$u="default_opt",EF="the start of a statement",Lw=67826,Wu="object_",Qu="class_element",Fk=11631,Rk=70855,Zu="opaque_type",xi="number_literal",AF=", ",Mk=8319,Lk=120004,qk=133,ri="type_params",ei="pattern_object_rest_property",W2="import",qw=72e3,Uw=67413,Bw=12343,Xw=70080,ti="intersection_type",d2=-36,Gw=70005,Uk="properties",Yw=11679,Jw=8483,zw=110587,SF=43520,ni="computed_key",PF=207,ui="class_identifier",Kw="Invalid number ",ii="function_param_pattern",lv=12288,Hw=113817,Vw=70730,$w=178207,Bk=71236,IF=167,fi="object_indexer_property_type",Ww=64286,CF="TypeAnnotation",NF=220,ci="type_identifier",ai="spread_property",si="jsx_attribute_value_expression",Qw=126519,Xk=70108,Gk=126,Yk=42999,uo="prototype",Zw=" : flags Open_text and Open_binary are not compatible",OF="**",Jk=43823,xb=": Not a directory",oi="render_type",zk=72349,L3="test",rb=43776,eb=92879,tb=11263,jF=241,nb=93052,vi="nullable_type",ub=43704,ib=64321,DF="Property",fb=72191,FF=165,s6="instanceof",cb=69247,Ve="name",Kk=126634,ab=8516,Hk="typeArguments",sb=71127,li="jsx_spread_attribute",ob=66559,vb=44031,lb=43645,n2=8233,pb=71494,kb="opaque",Vk=72967,mb=70106,pi="logical",RF="@[%s =@ ",o6="0o",$k=126554,db=71351,Wk=8484,hb=72242,Qk=120687,q3=252,yb=183983,v6="%S",ki="function_this_param_type",Zk="decorators",gb=43255,mi="catch_clause",$e="-",_b=67711,MF=": file descriptor already closed",xm=64311,rm=120539,wb="arguments",em=73062,bb=173823,Tb=42124,Eb=72095,Ab=125259,Sb=42969,tm=70280,LF=12520,Pb=69749,Ib=70066,di="binary",hi="for_in_statement",Cb=43010,qF="^=",Nb=126570,yi="for_statement",nm=126584,gi="function_return_annotation",Ob=72144,jb=8505,_i="class_expression",Db=120076,Fb=69807,Rb=40981,Mb=-24976191,Lb=72768,qb=126550,um='"',wi="call_type_arg",UF="f",pv="this",im=126628,BF="===",XF=56320,bi="declare_module_exports",Ub=120512,vn=105,Bb=119974,Xb=71450,Gb=71942,GF=195,fm=120629,YF="/=",JF=">>",Ti="declare_interface",zF=4096,Ei="pattern_array_rest_element",Yb=71338,cm=126520,Ai="as_const_expression",KF="Popping lex mode from empty stack",HF="renders?",Jb=68405,Si="member",Pi="class_extends",kv=12287,am=126590,zb=66377,io="async",Ii="pattern_array_element",U3=240,Kb=69864,mv="readonly",Hb=70460,Vb=120779,$b=66378,Ci="new_",sm=126551,Ni="pattern_object_rest_property_pattern",Oi="for_statement_init",Wb=43595,om=68296,Qb=120712,Zb=64217,xT=69295,VF="||",rT=";",eT=70461,tT=66939,$F="collect_comments",WF=279,ji="generic_type",nT=68295,uT=44002,vm=72162,Di="object_call_property_type",lm=8305,pm=119995,km="with",Fi="class_property",QF="qualification",Ri="jsx_attribute_name_namespaced",Mi="if_statement",Li="typeof_qualified_identifier",ZF=238,iT=65615,xR=176,u2="expression",mm=126559,qi="jsx_attribute_value",Ui="<2>",Bi="component_param",dm="Map.bal",hm=132,fT=70412,cT=70440,rR="<<",ym="finally",eR="v",Xi="syntax_opt",Gi="meta_property",aT=12447,sT=67514,gm=12448,Yi="object_mapped_type_property",dv="operator",tR="closedir",Ji="unary_expression",oT=126588,vT=70851,zi="export_batch_specifier",B3="renders",nR=226,lT=73111,uR=221,tx="",pT=66927,kT=64967,mT="elements",dT=67640,hT=43754,Ki="declare_export_declaration",yT=-26065557,gT=65855,l6="boolean",fs="typeof",_T=124902,iR=139,wT=65629,fR=224,bT=43123,_m=70449,TT=12735,q1=107,wm=11719,cR="!=",Hi="call_type_args",X3="asserts",fo=-46,ET="namespace",Vi="match_pattern",$i="for_of_statement_lhs",bm=126504,AT=69505,Tm="for",ST=72703,Em=120127,Am=43471,PT=93047,aR="Undefined_recursive_module",sR=2147483647,Wi="template_literal_element",oR="Unexpected ",IT=101631,CT=65497,Sm=68120,Qi="import_default_specifier",ln="array",vR="expressions",NT=110930,lR=204,Zi="while_",xf="function_rest_param_type",co=63,OT=77808,pR="Unexpected token `",br=114,rf="pattern_object_p",jT=65140,DT=123190,ef="pattern_object_property_number_literal_key",p6="enum",tf="conditional_type",ke=113,nf="array_type",kR="minus",FT=43790,uf="do_while",RT=11567,MT=11694,k6=256,LT=119976,ff="component_body",U2=111,qT=177976,mR=-56,Pm=67644,UT=73439,m6=951901561,dR="?",hR=")",Im=43867,Cm=65575,BT=69445,yR="FunctionTypeParam",Nm=119996,XT=65019,cf="conditional",GT=11505,gR=135,YT=71295,JT=12799,zT=67382,af="type_guard_annotation",sf="object_key_computed",pn=123,of="pattern_object_property_key",KT=119892,HT=67505,VT=66962,vf="with_",$T=43273,lf="interface_declaration",Om="bool",WT=71945,QT="declaration",ZT=11519,d6=">",xE=66771,jm="}",_R=8472,rE=43014,pf="declare_function",Jr=127,eE="RestElement",tE=190,nE=8467,wR="module",Dm=126522,bR="Sys_blocked_io",kf="jsx_opening_element",mf="object_key_number_literal",TR="|=",ER="mixins",AR=205,SR=217,Fm="if",PR="+=",df="match_object_pattern_property_key",hf="match_rest_pattern",yf="export_named_declaration_specifier",Rm="try",Mm="_bigarr02",uE=70479,kn="right",iE=245,fE=11718,gf="tuple_labeled_element",IR="TypeParameterInstantiation",cE="mkdir",aE=71999,sE=870530776,CR="@[",NR=-908856609,OR=331416730,oE=11670,vE=66735,lE=43709,Lm=43642,pE=67002,kE=69375,_f="function_body_any",mE=119807,jR="Assert_failure",wf="function_identifier",dE=65479,h6=131,hv="new",bf="for_of_left_declaration",hE=120084,yE=100343,gE=73030,qm=70452,DR=134,_E=253,wE=42954,FR=227,Tf="jsx_member_expression_object",Ef="class_property_value",bE=120144,RR=314,TE=66994,G3="set",EE=126498,Af="tuple_element",Sf="arg_list",AE=65481,SE=8511,PE=42964,IE=11492,Y3=-25,Um=126555,CE=71039,NE="exportKind",Pf="program",OE=70187,MR=173,Mt="as",J3=124,LR="visit_leading_comment",jE=110575,If="class_",DE=72440,FE=67897,qR=235,RE=8543,ME=141,Cf=120,Nf="match_object_pattern_property",y6=1024,LE=101640,UR=1027,BR=236,z3=246,XR="(",qE=66511,Of="regexp_literal",UE=65574,BE=43513,XE=43695,GR="&&",Bm=11558,GE=66503,YE=93071,jf="pattern_expression",JE=65381,Xm=126538,zE=12292,Df="import_namespace_specifier",KE=67583,HE=120137,VE=69622,$E=120770,WE=71131,yv=8287,QE=110590,ZE=65135,xA="Fatal error: exception ",g6=118,rA=181,Gm=11687,h2="camlinternalFormat.ml",eA=72959,tA=249,Ff="union_type",YR=8206,nA=73064,uA=70271,iA=92728,Ym=65344,Jm=11695,Rf="class_decorator",JR="the end of an expression statement (`;`)",fA=177983,cA=8457,zR=931,aA=66499,sA=94175,KR="#",oA="Identifier",Mf="for_in_statement_lhs",Lf="pattern_string_literal",zm=70302,Km=126496,vA=66461,lA=82943,Hm=8450,pA=72271,kA=70853,mA="of",HR="Stack_overflow",_6="hasUnknownMembers",w6="a",qf="variable_declarator_pattern",dA=73061,hA=77711,Vm=64317,yA=73097,VR=269,Uf="enum_declaration",gA=66966,_A=189,wA=119964,Bf="type_param",mn=782176664,$m=65535,$R=-10,bA=64433,Wm=43815,Qm=94031,Zm=73065,TA=69958,x8="property",Xf="jsx_children",Gf="member_property_identifier",EA=42537,ao="const",AA=70278,Yf="enum_string_member",b6="local",Jf="jsx_element_name_identifier",SA=68223,r8="",PA=119967,e8=119994,IA=66993,zf="jsx_member_expression_identifier",t8="explicitType",CA=67589,NA=65597,OA="exported",jA=94111,DA=113775,Kf="object_spread_property_type",FA=64847,Hf="component_identifier",Vf="class_implements_interface",WR=162,QR=243,RA=12783,ZR=`Fatal error: exception %s `,n8=120093,T6="column",$f="component_rest_param",MA=70451,LA=70312,qA=69967,u8=70279,UA=66463,BA=92975,i8=70286,Wf="pattern_object_property_computed_key",Qf="object_key_string_literal",XA="jsError",Zf="type_args",GA=8304,xM="==",gv=115,xc="declare_component",YA=120092,JA=43638,zA=66811,KA=43334,HA=66863,VA=77823,rM=143,rc="optional_call",$A=126562,f8=70162,We=104,WA=66963,_v="await",c8=70107,Q2="0",QA=72250,ZA=8507,eM=291,xS=100351,a8="AssignmentPattern",ec="type",tM="%u",rS="NonNullExpression",tc="function_expression_or_method",eS=43470,nM=242,uM="camlinternalMod.ml",nc="match_or_pattern",tS=72750,nS=69414,uS=65370,uc="syntax",iM=32752,iS=42963,fM="End_of_file",fS=12294,cS=8471,cM="elementType",aS=43782,aM="++",sS=43641,oS=71944,vS=126601,lS=78894,pS=-45,wv="null",kS=177,sM="satisfies",mS=131071,ic="import_specifier",fc="class_method",cc="type_",dS=126514,hS=8454,oM="inexact",yS=67807,gS=8525,_S=65470,wS=71352,ac="tuple_spread_element",vM=219,bS="abstract",TS=73458,Qe="return",E6=65536,s8=126548,sc="array_element",ES=-253313196,AS=186,o8="catch",oc="infer_type",SS=12295,lM="Invalid legacy octal ",PS=69762,IS=43311,CS=65437,vc="variable_declaration",pM=-696510241,lc="function_params",kM=307,NS=64316,mM=311,v8=11565,dM="infinity",OS="@]",jS=65908,pc="extends",DS=66204,FS=43784,RS=11742,l8=126503,Ze="debugger",MS=70457,cs=-86,A6=912068366,LS=68786,p8="keyof",k8=69415,qS=12686,dn=127343600,kc="declare_type_alias",hM="the",yM=233,mc="jsx_element_name_namespaced",US=72283,gM=161,dc="class_static_block",hc="function_param_type",Lt=128,BS=-673950933,m8=126591,_M="Sys_error",XS=74649,GS=74862,S6="is",YS=43738,JS=68479,wM=196,d8=70854,yc="enum_boolean_member",h8=72163,zS=92783,bM=281,gc="component_param_name",KS=68863,hn=32768,TM=2048,HS=64284,EM="@{",VS="\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",y8=8455,_c="update_expression",$S=65500,P6="from",WS=68447,g8=12592,QS=92766,AM=">>=",B2=110,ZS=66431,xP=43586,wc="jsx_identifier",rP=" : file already exists",U1=128,eP=71958,tP=66717,bc="enum_boolean_body",nP=64262,$r="id",Tc="component_renders_annotation",uP=42888,iP=8584,fP=73008,SM=306,Ec="enum_symbol_body",Ac="declare_namespace",_8=72713,cP=55215,Sc="object_property_value_type",Pc="match_wildcard_pattern",Ic="for_in_assignment_pattern",w8=8485,aP=43395,PM=229,as="true",sP=43743,Cc="enum_number_member",IM=234,oP=72969,CM="expected *",E2=102,NM=200,I6="symbol",bv="source",Nc="tparam_const_modifier",vP=43714,Oc="jsx_fragment",jc="jsx_attribute_name_identifier",C6="public",lP=43442,Dc="pattern_object_property",pP=65786,kP=70783,mP=43713,dP=72160,OM="*-/",Fc="export_named_specifier",Rc="arrow_function",hP=122623,b8=70006,jM="${",yP=43814,Mc="generic_qualified_identifier_type",DM=199,Lc="jsx_spread_child",T8=8489,E8=184,FM=2047,gP=66955,qc="try_catch",_P=70497,RM=313,MM=237,wP=67431,bP=125183,LM=-602162310,yn="params",TP="consequent",EP=68029,AP=67829,SP=68095,Uc="enum_string_body",PP=93823,IP=68351,CP=65495,Bc="declare_module",Xc="match_as_pattern_target",Gc="body_expression",NP=66175,A8=191,S8=70441,P8=65141,I8="&",Yc="super_expression",C8=126564,OP=72105,tS0="fs",xt="throw",jP=68287,DP=67839,Tv=116,FP=110882,RP=69404,MP=123197,Ev=65279,K3="src/parser/type_parser.ml",LP=68115,N8=126547,O8=126556,qP=73055,Jc="member_property_expression",zc="enum_defaulted_member",UP=43071,BP=11726,Kc="component_type_rest_param",XP=68607,Hc="object_key",GP=160,Z2="variance",YP=70655,JP=70414,H3="super",zP=123583,KP=65594,N6="method",HP=73648,O6=121,VP=93951,Vc="pattern_array_element_pattern",$P=43764,WP=42993,j8=120145,QP=74879,qM=168,D8=8486,ZP=72001,$c="tagged_template",Wc="module_ref_literal",xI=65312,Av="implements",rI=43700,eI=120003,UM="Invalid_argument",BM=262,Qc=16777215,tI=83526,F8=69744,R8=12336,Zc="switch_case",XM=-61,xa="optional_member",nI=64274,M8=64322,L8=126530,uI=71998,q8=72970,iI=13311,fI=73647,cI=120074,V3="let",GM="global",ra="expression_statement",ea="component_type_params",aI=512,sI=69634,oI=67461,vI=123627,lI=64913,YM="children",JM="PropertyDefinition",zM=1026,KM="%li",ta="declare_class",pI=43258,na="indexed_access_type",kI=124926,ss=112,mI="b",ua="predicate_expression",ia="if_alternate_statement",j6="private",HM=-594953737,VM=140,dI="nan",hI=72103,U8=11735,fa="statement",yI="rmdir",B8=66512,gI="match",_I=198,wI=11734,ca="import_named_specifier",bI=69599,TI=68799,EI=194559,aa="match_array_pattern",$M=174,sa="function_",oa="bigint_literal",f1=248,X8=67638,G8=126539,AI=11557,WM=214,SI=5760,rt="break",gn="block",va="match_member_pattern",PI=123565,II=66815,A1="value",QM=1039100673,CI=69746,NI=70448,OI=74751,la="init",jI=69551,Y8=65548,pa="jsx_member_expression",J8=68096,Sv=108,z8=126521,DI=71487,ka="match_statement",FI=178205,RI=12548,ZM=" : is a directory",_n=".",MI=12348,$3=-835925911,xe="typeParameters",LI=66855,i2="typeAnnotation",Pv="bigint",ma="jsx_attribute_value_literal",qI=194,xL="T_JSX_TEXT",UI=68466,K8=126537,rL=67714067,BI=69487,H8="export",XI=43822,V8=126499,GI=55242,da="member_type_identifier",eL=138,YI=71679,D6=130,JI=12438,zI=119969,$8=12539,KI=119972,tL=",",HI=71423,VI="index out of bounds",kt=106,W3="%d",nL="T_RENDERS_QUESTION",W8=120571,Q8="returnType",$I=69423,Z8=120070,uL="%",Q3=117,iL=179,WI="EBADF",QI=93759,xd=64325,ha="component_params",ZI=66517,xC=67423,rC=605857695,eC=43518,fL=251,ya="for_of_statement",tC=71983,cL="~",nC=12442,et="switch",uC=66207,rd=126535,aL="&&=",iC=69289,fC=71723,ga="generic_identifier_type",cC=126619,_a="object_type_property_setter",aC=70418,sL="<=",sC=125251,oC=11702,wa="enum_number_body",Z3=250,vC=124910,lC=69297,pC=67455,kC=42511,ba="ts_satisfies",mC=68324,ed="an identifier",dC=126534,wn=103,hC=120126,oL=274,xl=449540197,F6="declare",yC=68899,gC=126502,Ta="function_expression",vL=142,_C=123135,wC=67967,bC=120487,TC=120686,Ea="export_named_declaration",EC=66348,td=119981,AC=12352,Aa="tuple_type",SC=68680,nd="target",Sa="call";function BY(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 XY(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 GY(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 ud(x,r,e){return x[1]===r?(x[1]=e,1):0}function YY(x,r){var e=x[1];return x[1]+=r,e}function rl(x){return x[1]}function lL(x){var r=a0.process;if(r&&r.env&&r.env[x]!=null)return r.env[x];if(a0.jsoo_static_env&&a0.jsoo_static_env[x])return a0.jsoo_static_env[x]}var PC=0;(function(){var x=lL("OCAMLRUNPARAM");if(x!==void 0)for(var r=x.split(tL),e=0;e<r.length;e++)if(r[e]==mI){PC=1;break}else if(r[e].startsWith("b="))PC=+r[e].slice(2);else continue})();var re=[0];function JY(x,r){return(!x.js_error||r||x[0]==f1)&&(x.js_error=new a0.Error("Js exception containing backtrace")),x}function z0(x,r){return PC?JY(x,r):x}function zY(x,r){throw z0([0,x,r])}function nS0(x){return x}function IC(x,r){zY(x,r)}function f2(x){IC(re.Invalid_argument,x)}function pL(x){switch(x){case 7:case 10:case 11:return 2;default:return 1}}function kL(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||f2("Bigarray.create: unsupported kind");var t=new e(r*pL(x));return t}function id(x){for(var r=x.length,e=1,t=0;t<r;t++)x[t]<0&&f2("Bigarray.create: negative dimension"),e=e*x[t];return e}var mL=Math.pow(2,-24);function dL(x){throw x}function hL(){dL(re.Division_by_zero)}function nr(x,r,e){this.lo=x&Qc,this.mi=r&Qc,this.hi=e&on}nr.prototype.caml_custom="_j",nr.prototype.copy=function(){return new nr(this.lo,this.mi,this.hi)},nr.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},nr.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},nr.prototype.neg=function(){var x=-this.lo,r=-this.mi+(x>>24),e=-this.hi+(r>>24);return new nr(x,r,e)},nr.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 nr(r,e,t)},nr.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 nr(r,e,t)},nr.prototype.mul=function(x){var r=this.lo*x.lo,e=(r*mL|0)+this.mi*x.lo+this.lo*x.mi,t=(e*mL|0)+this.hi*x.lo+this.mi*x.mi+this.lo*x.hi;return new nr(r,e,t)},nr.prototype.isZero=function(){return(this.lo|this.mi|this.hi)==0},nr.prototype.isNeg=function(){return this.hi<<16<0},nr.prototype.and=function(x){return new nr(this.lo&x.lo,this.mi&x.mi,this.hi&x.hi)},nr.prototype.or=function(x){return new nr(this.lo|x.lo,this.mi|x.mi,this.hi|x.hi)},nr.prototype.xor=function(x){return new nr(this.lo^x.lo,this.mi^x.mi,this.hi^x.hi)},nr.prototype.shift_left=function(x){return x=x&63,x==0?this:x<24?new nr(this.lo<<x,this.mi<<x|this.lo>>24-x,this.hi<<x|this.mi>>24-x):x<48?new nr(0,this.lo<<x-24,this.mi<<x-24|this.lo>>48-x):new nr(0,0,this.lo<<x-48)},nr.prototype.shift_right_unsigned=function(x){return x=x&63,x==0?this:x<24?new nr(this.lo>>x|this.mi<<24-x,this.mi>>x|this.hi<<24-x,this.hi>>x):x<48?new nr(this.mi>>x-24|this.hi<<48-x,this.hi>>x-24,0):new nr(this.hi>>x-48,0,0)},nr.prototype.shift_right=function(x){if(x=x&63,x==0)return this;var r=this.hi<<16>>16;if(x<24)return new nr(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 nr(this.mi>>x-24|this.hi<<48-x,this.hi<<16>>x-24>>16,e&on):new nr(this.hi<<16>>x-32,e,e)},nr.prototype.lsl1=function(){this.hi=this.hi<<1|this.mi>>23,this.mi=(this.mi<<1|this.lo>>23)&Qc,this.lo=this.lo<<1&Qc},nr.prototype.lsr1=function(){this.lo=(this.lo>>>1|this.mi<<23)&Qc,this.mi=(this.mi>>>1|this.hi<<23)&Qc,this.hi=this.hi>>>1},nr.prototype.udivmod=function(x){for(var r=0,e=this.copy(),t=x.copy(),u=new nr(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}},nr.prototype.div=function(x){var r=this;x.isZero()&&hL();var e=r.hi^x.hi;r.hi&hn&&(r=r.neg()),x.hi&hn&&(x=x.neg());var t=r.udivmod(x).quotient;return e&hn&&(t=t.neg()),t},nr.prototype.mod=function(x){var r=this;x.isZero()&&hL();var e=r.hi;r.hi&hn&&(r=r.neg()),x.hi&hn&&(x=x.neg());var t=r.udivmod(x).modulus;return e&hn&&(t=t.neg()),t},nr.prototype.toInt=function(){return this.lo|this.mi<<24},nr.prototype.toFloat=function(){return(this.hi<<16)*Math.pow(2,32)+this.mi*Math.pow(2,24)+this.lo},nr.prototype.toArray=function(){return[this.hi>>8,this.hi&Za,this.mi>>16,this.mi>>8&Za,this.mi&Za,this.lo>>16,this.lo>>8&Za,this.lo&Za]},nr.prototype.lo32=function(){return this.lo|(this.mi&Za)<<24},nr.prototype.hi32=function(){return this.mi>>>8&on|this.hi<<16};function KY(x,r){return new nr(x&Qc,x>>>24&Za|(r&on)<<8,r>>>16&on)}function CC(x){return x.hi32()}function NC(x){return x.lo32()}function R6(){f2(VI)}var HY=Mm;function so(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}so.prototype.caml_custom=HY,so.prototype.offset=function(x){var r=0;if(typeof x=="number"&&(x=[x]),x instanceof Array||f2("bigarray.js: invalid offset"),this.dims.length!=x.length&&f2("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])&&R6(),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])&&R6(),r=r*this.dims[e]+(x[e]-1);return r},so.prototype.get=function(x){switch(this.kind){case 7:var r=this.data[x*2+0],e=this.data[x*2+1];return KY(r,e);case 10:case 11:var t=this.data[x*2+0],u=this.data[x*2+1];return[M3,t,u];default:return this.data[x]}},so.prototype.set=function(x,r){switch(this.kind){case 7:this.data[x*2+0]=NC(r),this.data[x*2+1]=CC(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},so.prototype.fill=function(x){switch(this.kind){case 7:var r=NC(x),e=CC(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}},so.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,c,u=0;u<this.data.length;u++){if(i=this.data[u],c=x.data[u],i<c)return-1;if(i>c)return 1;if(i!=c){if(!r)return NaN;if(i==i)return 1;if(c==c)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 el(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}el.prototype=new so,el.prototype.offset=function(x){return typeof x!="number"&&(x instanceof Array&&x.length==1?x=x[0]:f2("Ml_Bigarray_c_1_1.offset")),(x<0||x>=this.dims[0])&&R6(),x},el.prototype.get=function(x){return this.data[x]},el.prototype.set=function(x,r){return this.data[x]=r,0},el.prototype.fill=function(x){return this.data.fill(x),0};function OC(x,r,e,t){var u=pL(x);return id(e)*u!=t.length&&f2("length doesn't match dims"),r==0&&e.length==1&&u==1?new el(x,r,e,t):new so(x,r,e,t)}function yL(x){return x.slice(1)}function VY(x,r,e){var t=yL(e),u=kL(x,id(t));return OC(x,r,t,u)}function M6(x,r,e){return x.set(x.offset(r),e),0}function L6(x,r,e){var t=String.fromCharCode;if(r==0&&e<=zF&&e==x.length)return t.apply(null,x);for(var u=tx;0<e;r+=y6,e-=y6)u+=t.apply(null,x.slice(r,r+Math.min(e,y6)));return u}function fd(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 os(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?L6(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?L6(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&&fd(e);var i=x.c,c=e.c;if(x.t==4)if(t<=r)for(var v=0;v<u;v++)c[t+v]=i[r+v];else for(var v=u-1;v>=0;v--)c[t+v]=i[r+v];else{for(var s=Math.min(u,i.length-r),v=0;v<s;v++)c[t+v]=i.charCodeAt(r+v);for(;v<u;v++)c[t+v]=0}}return 0}function tl(x,r){if(x==0)return tx;if(r.repeat)return r.repeat(x);for(var e=tx,t=0;;){if(x&1&&(e+=r),x>>=1,x==0)return e;r+=r,t++,t==9&&r.slice(0,1)}}function cd(x){x.t==2?x.c+=tl(x.l-x.c.length,"\0"):x.c=L6(x.c,0,x.c.length),x.t=0}function jC(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 gL(x){for(var r=tx,e=tx,t,u,i,c,v=0,s=x.length;v<s;v++){if(u=x.charCodeAt(v),u<Lt){for(var l=v+1;l<s&&(u=x.charCodeAt(l))<Lt;l++);if(l-v>aI?(e.substr(0,1),r+=e,e=tx,r+=x.slice(v,l)):e+=x.slice(v,l),l==s)break;v=l}c=1,++v<s&&((i=x.charCodeAt(v))&-64)==U1&&(t=i+(u<<6),u<fR?(c=t-12416,c<Lt&&(c=1)):(c=2,++v<s&&((i=x.charCodeAt(v))&-64)==U1&&(t=i+(t<<6),u<QD?(c=t-925824,(c<TM||c>=55295&&c<57344)&&(c=2)):(c=3,++v<s&&((i=x.charCodeAt(v))&-64)==U1&&u<245&&(c=i-63447168+(t<<6),(c<65536||c>1114111)&&(c=3)))))),c<4?(v-=c,e+="\uFFFD"):c>on?e+=String.fromCharCode(55232+(c>>10),XF+(c&1023)):e+=String.fromCharCode(c),e.length>y6&&(e.substr(0,1),r+=e,e=tx)}return r+e}function vs(x,r,e){this.t=x,this.c=r,this.l=e}vs.prototype.toString=function(){switch(this.t){case 9:return this.c;default:cd(this);case 0:if(jC(this.c))return this.t=9,this.c;this.t=8;case 8:return this.c}},vs.prototype.toUtf16=function(){var x=this.toString();return this.t==9?x:gL(x)},vs.prototype.slice=function(){var x=this.t==4?this.c.slice():this.c;return new vs(this.t,x,this.l)};function _L(x){return new vs(0,x,x.length)}function uS0(x){return x}function qt(x){return _L(x)}function Pa(x,r,e,t,u){return os(qt(x),r,e,t,u),0}function nl(x){return new nr(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 me(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 DC(){f2(VI)}function $Y(x,r){r>>>0>=x.l-7&&DC();for(var e=new Array(8),t=0;t<8;t++)e[7-t]=me(x,r+t);return nl(e)}function zr(x,r,e){if(e&=Za,x.t!=4){if(r==x.c.length)return x.c+=String.fromCharCode(e),r+1==x.l&&(x.t=0),0;fd(x)}return x.c[r]=e,0}function ls(x,r,e){return r>>>0>=x.l&&DC(),zr(x,r,e)}function ul(x){return x.toArray()}function WY(x,r,e){r>>>0>=x.l-7&&DC();for(var t=ul(e),u=0;u<8;u++)zr(x,r+7-u,t[u]);return 0}function Ia(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:Ia(i,r.slice(e))}else{switch(u){case 1:{var i=function(s){for(var l=new Array(t+1),p=0;p<t;p++)l[p]=r[p];return l[t]=s,x.apply(null,l)};break}case 2:{var i=function(s,l){for(var p=new Array(t+2),d=0;d<t;d++)p[d]=r[d];return p[t]=s,p[t+1]=l,x.apply(null,p)};break}default:var i=function(){for(var v=arguments.length==0?1:arguments.length,s=new Array(r.length+v),l=0;l<r.length;l++)s[l]=r[l];for(var l=0;l<arguments.length;l++)s[r.length+l]=arguments[l];return Ia(x,s)}}return i.l=u,i}}function N1(x,r){return r>>>0>=x.length-1&&R6(),x}function QY(x){return isFinite(x)?Math.abs(x)>=22250738585072014e-324?0:x!=0?1:2:isNaN(x)?4:3}function ZY(x){return x==iE?1:0}var xJ=Math.log2&&Math.log2(11235582092889474e291)==1020;function rJ(x){if(xJ)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 FC(x){var r=new Float32Array(1);r[0]=x;var e=new Int32Array(r.buffer);return e[0]|0}function mt(x,r,e){return new nr(x,r,e)}function ad(x){if(!isFinite(x))return isNaN(x)?mt(1,0,iM):x>0?mt(0,0,iM):mt(0,0,65520);var r=x==0&&1/x==-1/0?hn:x>=0?0:hn;r&&(x=-x);var e=rJ(x)+1023;e<=0?(e=0,x/=Math.pow(2,-zM)):(x/=Math.pow(2,e-UR),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 c=x|0;return u=u&y_|r|e<<4,mt(c,i,u)}function wL(x,r,e){if(x.write(32,r.dims.length),x.write(32,r.kind|r.layout<<8),r.caml_custom==Mm)for(var t=0;t<r.dims.length;t++)r.dims[t]<on?x.write(16,r.dims[t]):(x.write(16,on),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=ul(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=ul(ad(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=FC(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,FC(i[1])),x.write(32,FC(i[2]))}break;case 11:for(var t=0;t<r.data.length/2;t++){for(var c=r.get(t),u=ul(ad(c[1])),i=0;i<8;i++)x.write(8,u[i]);for(var u=ul(ad(c[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 RC(x){var r=new Int32Array(1);r[0]=x;var e=new Float32Array(r.buffer);return e[0]}function MC(x){var r=x.lo,e=x.mi,t=x.hi,u=(t&32767)>>4;if(u==FM)return(r|e|t&y_)==0?t&hn?-1/0:1/0:NaN;var i=Math.pow(2,-24),c=(r*i+e)*i+(t&y_);return u>0?(c+=16,c*=Math.pow(2,u-UR)):c*=Math.pow(2,-zM),t&hn&&(c=-c),c}function ee(x){re.Failure||(re.Failure=[f1,F5,-3]),IC(re.Failure,x)}function bL(x,r,e){var t=x.read32s();(t<0||t>16)&&ee("input_value: wrong number of bigarray dimensions");var u=x.read32s(),i=u&Za,c=u>>8&1,v=[];if(e==Mm)for(var s=0;s<t;s++){var l=x.read16u();if(l==on){var p=x.read32u(),d=x.read32u();p!=0&&ee("input_value: bigarray dimension overflow in 32bit"),l=d}v.push(l)}else for(var s=0;s<t;s++)v.push(x.read32u());var T=id(v),b=kL(i,T),C=OC(i,c,v,b);switch(i){case 2:for(var s=0;s<T;s++)b[s]=x.read8s();break;case 3:case 12:for(var s=0;s<T;s++)b[s]=x.read8u();break;case 4:for(var s=0;s<T;s++)b[s]=x.read16s();break;case 5:for(var s=0;s<T;s++)b[s]=x.read16u();break;case 6:for(var s=0;s<T;s++)b[s]=x.read32s();break;case 8:case 9:var N=x.read8u();N&&ee("input_value: cannot read bigarray with 64-bit OCaml ints");for(var s=0;s<T;s++)b[s]=x.read32s();break;case 7:for(var J=new Array(8),s=0;s<T;s++){for(var I=0;I<8;I++)J[I]=x.read8u();var F=nl(J);C.set(s,F)}break;case 1:for(var J=new Array(8),s=0;s<T;s++){for(var I=0;I<8;I++)J[I]=x.read8u();var L=MC(nl(J));C.set(s,L)}break;case 0:for(var s=0;s<T;s++){var L=RC(x.read32s());C.set(s,L)}break;case 10:for(var s=0;s<T;s++){var X=RC(x.read32s()),q=RC(x.read32s());C.set(s,[M3,X,q])}break;case 11:for(var J=new Array(8),s=0;s<T;s++){for(var I=0;I<8;I++)J[I]=x.read8u();for(var X=MC(nl(J)),I=0;I<8;I++)J[I]=x.read8u();var q=MC(nl(J));C.set(s,[M3,X,q])}break}return r[0]=(4+t)*4,OC(i,c,v,b)}function TL(x,r,e){return x.compare(r,e)}function EL(x,r){return Math.imul(x,r)}function ps(x,r){return r=EL(r,-862048943),r=r<<15|r>>>17,r=EL(r,461845907),x^=r,x=x<<13|x>>>19,(x+(x<<2)|0)+-430675100|0}function eJ(x,r){return x=ps(x,NC(r)),x=ps(x,CC(r)),x}function AL(x,r){return eJ(x,ad(r))}function SL(x){var r=id(x.dims),e=0;switch(x.kind){case 2:case 3:case 12:r>k6&&(r=k6);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=ps(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=ps(e,t)}break;case 4:case 5:r>U1&&(r=U1);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=ps(e,t);(r&1)!=0&&(e=ps(e,x.data[u]));break;case 6:r>64&&(r=64);for(var u=0;u<r;u++)e=ps(e,x.data[u]);break;case 8:case 9:r>64&&(r=64);for(var u=0;u<r;u++)e=ps(e,x.data[u]);break;case 7:r>32&&(r=32),r*=2;for(var u=0;u<r;u++)e=ps(e,x.data[u]);break;case 10:r*=2;case 0:r>64&&(r=64);for(var u=0;u<r;u++)e=AL(e,x.data[u]);break;case 11:r*=2;case 1:r>32&&(r=32);for(var u=0;u<r;u++)e=AL(e,x.data[u]);break}return e}function tJ(x,r){return r[0]=4,x.read32s()}function nJ(x,r){switch(x.read8u()){case 1:return r[0]=4,x.read32s();case 2:ee("input_value: native integer value too large");default:ee("input_value: ill-formed native integer")}}function uJ(x,r){for(var e=new Array(8),t=0;t<8;t++)e[t]=x.read8u();return r[0]=8,nl(e)}function iJ(x,r,e){for(var t=ul(r),u=0;u<8;u++)x.write(8,t[u]);e[0]=8,e[1]=8}function fJ(x,r,e){return x.compare(r)}function cJ(x){return x.lo32()^x.hi32()}var PL={_j:{deserialize:uJ,serialize:iJ,fixed_length:8,compare:fJ,hash:cJ},_i:{deserialize:tJ,fixed_length:4},_n:{deserialize:nJ,fixed_length:4},_bigarray:{deserialize:function(x,r){return bL(x,r,"_bigarray")},serialize:wL,compare:TL,hash:SL},_bigarr02:{deserialize:function(x,r){return bL(x,r,Mm)},serialize:wL,compare:TL,hash:SL}};function LC(x){return PL[x.caml_custom]&&PL[x.caml_custom].compare}function IL(x,r,e,t){var u=LC(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)!=0)return i|0}return e}function qC(x){return typeof x=="string"&&!/[^\x00-\xff]/.test(x)}function UC(x){return x instanceof vs}function CL(x){if(typeof x=="number")return e6;if(UC(x))return q3;if(qC(x))return 1252;if(x instanceof Array&&x[0]===x[0]>>>0&&x[0]<=pk){var r=x[0]|0;return r==M3?0:r}else{if(x instanceof String)return LF;if(typeof x=="string")return LF;if(x instanceof Number)return e6;if(x&&x.caml_custom)return Z9;if(x&&x.compare)return 1256;if(typeof x=="function")return 1247;if(typeof x=="symbol")return 1251}return 1001}function je(x,r){return x<r?-1:x==r?0:1}function sx(x,r){return x<r?-1:x>r?1:0}function aJ(x,r){return x.t&6&&cd(x),r.t&6&&cd(r),x.c<r.c?-1:x.c>r.c?1:0}function sd(x,r,e){for(var t=[];;){if(!(e&&x===r)){var u=CL(x);if(u==Z3){x=x[1];continue}var i=CL(r);if(i==Z3){r=r[1];continue}if(u!==i)return u==e6?i==Z9?IL(x,r,-1,e):-1:i==e6?u==Z9?IL(r,x,1,e):1:u<i?-1:1;switch(u){case 247:f2(o9);break;case 248:var v=je(x[2],r[2]);if(v!=0)return v|0;break;case 249:f2(o9);break;case 250:f2("equal: got Forward_tag, should not happen");break;case 251:f2("equal: abstract value");break;case 252:if(x!==r){var v=aJ(x,r);if(v!=0)return v|0}break;case 253:f2("equal: got Double_tag, should not happen");break;case 254:f2("equal: got Double_array_tag, should not happen");break;case 255:f2("equal: got Custom_tag, should not happen");break;case 1247:f2(o9);break;case 1255:var c=LC(x);if(c!=LC(r))return x.caml_custom<r.caml_custom?-1:1;c||f2("compare: abstract value");var v=c(x,r,e);if(v!=v)return e?-1:v;if(v!==(v|0))return-1;if(v!=0)return v|0;break;case 1256:var v=x.compare(r,e);if(v!=v)return e?-1:v;if(v!==(v|0))return-1;if(v!=0)return v|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(ZY(u)){f2("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 s=t.pop();r=t.pop(),x=t.pop(),s+1<x.length&&t.push(x,r,s+1),x=x[s],r=r[s]}}function NL(x,r){return sd(x,r,!0)}function sJ(){return[0]}function I1(x){return x<0&&f2("Bytes.create"),new vs(x?2:9,tx,x)}var od=[0];function oJ(x,r){return od!==x?0:(od=r,1)}function OL(x){return od}function vJ(x){od=x}function il(x,r){return+(sd(x,r,!1)==0)}function lJ(x,r,e,t){if(e>0)if(r==0&&(e>=x.l||x.t==2&&e>=x.c.length))t==0?(x.c=tx,x.t=2):(x.c=tl(e,String.fromCharCode(t)),x.t=e==x.l?0:2);else for(x.t!=4&&fd(x),e+=r;r<e;r++)x.c[r]=t;return 0}function BC(x){var r;if(x=x,r=+x,x.length>0&&r===r||(x=x.replace(/_/g,tx),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+$/,tx),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;ee("float_of_string")}function XC(x){x=x;var r=x.length;r>31&&f2("format_int: format too long");for(var e={justify:tu,signstyle:$e,filler:Ru,alternate:!1,base:0,signedconv:!1,width:0,uppercase:!1,sign:1,prec:-1,conv:UF},t=0;t<r;t++){var u=x.charAt(t);switch(u){case"-":e.justify=$e;break;case"+":case" ":e.signstyle=u;break;case"0":e.filler=Q2;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 GC(x,r){x.uppercase&&(r=r.toUpperCase());var e=r.length;x.signedconv&&(x.sign<0||x.signstyle!=$e)&&e++,x.alternate&&(x.base==8&&(e+=1),x.base==16&&(e+=2));var t=tx;if(x.justify==tu&&x.filler==Ru)for(var u=e;u<x.width;u++)t+=Ru;if(x.signedconv&&(x.sign<0?t+=$e:x.signstyle!=$e&&(t+=x.signstyle)),x.alternate&&x.base==8&&(t+=Q2),x.alternate&&x.base==16&&(t+=x.uppercase?"0X":no),x.justify==tu&&x.filler==Q2)for(var u=e;u<x.width;u++)t+=Q2;if(t+=r,x.justify==$e)for(var u=e;u<x.width;u++)t+=Ru;return t}function YC(x,r){function e(p,d){if(Math.abs(p)<1)return p.toFixed(d);var T=parseInt(p.toString().split(tu)[1]);return T>20?(T-=20,p/=Math.pow(10,T),p+=new Array(T+1).join(Q2),d>0&&(p=p+_n+new Array(d+1).join(Q2)),p):p.toFixed(d)}var t,u=XC(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=dI,u.filler=Ru;else if(!isFinite(r))t="inf",u.filler=Ru;else switch(u.conv){case"e":var t=r.toExponential(i),c=t.length;t.charAt(c-3)==O_&&(t=t.slice(0,c-1)+Q2+t.slice(c-1));break;case"f":t=e(r,i);break;case"g":i=i||1,t=r.toExponential(i-1);var v=t.indexOf(O_),s=+t.slice(v+1);if(s<-4||r>=1e21||r.toFixed(0).length>i){for(var c=v-1;t.charAt(c)==Q2;)c--;t.charAt(c)==_n&&c--,t=t.slice(0,c+1)+t.slice(v),c=t.length,t.charAt(c-3)==O_&&(t=t.slice(0,c-1)+Q2+t.slice(c-1));break}else{var l=i;if(s<0)l-=s+1,t=r.toFixed(l);else for(;t=r.toFixed(l),t.length>i+1;)l--;if(l){for(var c=t.length-1;t.charAt(c)==Q2;)c--;t.charAt(c)==_n&&c--,t=t.slice(0,c+1)}}break}return GC(u,t)}function vd(x,r){if(x==W3)return tx+r;var e=XC(x);r<0&&(e.signedconv?(e.sign=-1,r=-r):r>>>=0);var t=r.toString(e.base);if(e.prec>=0){e.filler=Ru;var u=e.prec-t.length;u>0&&(t=tl(u,Q2)+t)}return GC(e,t)}var jL=0;function Ca(){return jL++}function DL(){return[0]}var ld=[];function Kx(x,r,e){var t=x[1],u=ld[e];if(u===void 0)for(var i=ld.length;i<e;i++)ld[i]=0;else if(t[u]===r)return t[u-1];for(var c=3,v=t[1]*2+1,s;c<v;)s=c+v>>1|1,r<t[s+1]?v=s-2:c=s;return ld[e]=c+1,r==t[c+1]?t[c]:0}function pJ(x){for(var r=tx,e=r,t,u,i=0,c=x.length;i<c;i++){if(t=x.charCodeAt(i),t<Lt){for(var v=i+1;v<c&&(t=x.charCodeAt(v))<Lt;v++);if(v-i>aI?(e.substr(0,1),r+=e,e=tx,r+=x.slice(i,v)):e+=x.slice(i,v),v==c)break;i=v}t<TM?(e+=String.fromCharCode(192|t>>6),e+=String.fromCharCode(Lt|t&co)):t<55296||t>=kF?e+=String.fromCharCode(fR|t>>12,Lt|t>>6&co,Lt|t&co):t>=56319||i+1==c||(u=x.charCodeAt(i+1))<XF||u>kF?e+="\xEF\xBF\xBD":(i++,t=(t<<10)+u-56613888,e+=String.fromCharCode(QD|t>>18,Lt|t>>12&co,Lt|t>>6&co,Lt|t&co)),e.length>y6&&(e.substr(0,1),r+=e,e=tx)}return r+e}function Ut(x){return jC(x)?x:pJ(x)}function kJ(x,r,e){if(!isFinite(x))return isNaN(x)?Ut(dI):Ut(x>0?dM:"-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?tx:tu,c=tx;if(t)c=$e;else switch(e){case 43:c=tu;break;case 32:c=Ru;break;default:break}if(r>=0&&r<13){var v=Math.pow(2,r*4);x=Math.round(x*v)/v}var s=x.toString(16);if(r>=0){var l=s.indexOf(_n);if(l<0)s+=_n+tl(r,Q2);else{var p=l+1+r;s.length<p?s+=tl(p-s.length,Q2):s=s.substr(0,p)}}return Ut(c+no+s+"p"+i+u.toString(10))}function mJ(x){return+x.isZero()}function q6(x){return new nr(x&Qc,x>>24&Qc,x>>31&on)}function dJ(x){return x.toInt()}function hJ(x){return+x.isNeg()}function JC(x){return x.neg()}function FL(x,r){var e=XC(x);e.signedconv&&hJ(r)&&(e.sign=-1,r=JC(r));var t=tx,u=q6(e.base),i="0123456789abcdef";do{var c=r.udivmod(u);r=c.quotient,t=i.charAt(dJ(c.modulus))+t}while(!mJ(r));if(e.prec>=0){e.filler=Ru;var v=e.prec-t.length;v>0&&(t=tl(v,Q2)+t)}return GC(e,t)}function Ux(x){return x.length}function J0(x,r){return x.charCodeAt(r)}function RL(x,r){return x.add(r)}function ML(x,r){return x.mul(r)}function zC(x,r){return x.ucompare(r)<0}function LL(x){var r=0,e=Ux(x),t=10,u=1;if(e>0)switch(J0(x,r)){case 45:r++,u=-1;break;case 43:r++,u=1;break}if(r+1<e&&J0(x,r)==48)switch(J0(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 pd(x){return x>=48&&x<=57?x-48:x>=65&&x<=90?x-55:x>=97&&x<=o1?x-87:-1}function Iv(x){var r=LL(x),e=r[0],t=r[1],u=r[2],i=q6(u),c=new nr(Qc,268435455,on).udivmod(i).quotient,v=J0(x,e),s=pd(v);(s<0||s>=u)&&ee(_1);for(var l=q6(s);;)if(e++,v=J0(x,e),v!=95){if(s=pd(v),s<0||s>=u)break;zC(c,l)&&ee(_1),s=q6(s),l=RL(ML(i,l),s),zC(l,s)&&ee(_1)}return e!=Ux(x)&&ee(_1),u==10&&zC(new nr(0,0,hn),l)&&ee(_1),t<0&&(l=JC(l)),l}function qL(x,r){return x.or(r)}function kd(x){return x.toFloat()}function dt(x){var r=LL(x),e=r[0],t=r[1],u=r[2],i=Ux(x),c=-1>>>0,v=e<i?J0(x,e):0,s=pd(v);(s<0||s>=u)&&ee(_1);var l=s;for(e++;e<i;e++)if(v=J0(x,e),v!=95){if(s=pd(v),s<0||s>=u)break;l=u*l+s,l>c&&ee(_1)}return e!=i&&ee(_1),l=t*l,u==10&&(l|0)!=l&&ee(_1),l|0}function Vx(x){return jC(x)?x:gL(x)}function yJ(x){for(var r={},e=1;e<x.length;e++){var t=x[e];r[Vx(t[1])]=t[2]}return r}var md=Ia;function gJ(x){return x.l>=0?x.l:x.l=x.length}function _J(x){return function(){for(var r=gJ(x),e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return md(x,e)}}function KC(x,r,e){return x[0]==r?(x[0]=e,1):0}function wJ(x){return KC(x,fv,z3),0}function bJ(x){return x instanceof Array&&x[0]==x[0]>>>0&&KC(x,z3,fv)?0:1}function TJ(x){return KC(x,fv,Z3),0}function EJ(x,r){return+(sd(x,r,!1)<0)}function UL(x){return x}function AJ(x,r){return x.get(x.offset(r))}function SJ(x,r){return x.xor(r)}function PJ(x,r){return x.shift_right_uns