UNPKG

@shopify/cli

Version:

A CLI tool to build for the Shopify platform

7 lines • 693 kB
import{b as OE0,g as KU}from"./chunk-VPRTJUIN.js";function GE0(h0,M0){let Br=new SyntaxError(h0+" ("+M0.loc.start.line+":"+M0.loc.start.column+")");return Object.assign(Br,M0)}function ME0(h0){return this[h0<0?this.length+h0:h0]}function mv(h0){let M0=h0.range?.[0]??h0.start,Br=(h0.declaration?.decorators??h0.decorators)?.[0];return Br?Math.min(mv(Br),M0):M0}function m2(h0){return h0.range?.[1]??h0.end}function qE0(h0){let M0=new Set(h0);return Br=>M0.has(Br?.type)}function QE0(h0){return KP.has(h0)||KP.set(h0,VP(h0)&&h0.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(h0.value)),KP.get(h0)}function rO0(h0){if(!VP(h0))return!1;let M0=`*${h0.value}*`.split(` `);return M0.length>1&&M0.every(Br=>Br.trimStart()[0]==="*")}function eO0(h0){return qP.has(h0)||qP.set(h0,rO0(h0)),qP.get(h0)}function aO0(h0){if(h0.length<2)return;let M0;for(let Br=h0.length-1;Br>=0;Br--){let ce=h0[Br];if(M0&&m2(ce)===mv(M0)&&qU(ce)&&qU(M0)&&(h0.splice(Br+1,1),ce.value+="*//*"+M0.value,ce.range=[mv(ce),m2(M0)]),!YE0(ce)&&!VP(ce))throw new TypeError(`Unknown comment type: "${ce.type}".`);M0=ce}}function nO0(h0){return h0!==null&&typeof h0=="object"}function m4(h0){if(k4!==null&&typeof k4.property){let M0=k4;return k4=m4.prototype=null,M0}return k4=m4.prototype=h0??Object.create(null),new m4}function cO0(h0){return m4(h0)}function fO0(h0,M0="type"){cO0(h0);function Br(ce){let ca=ce[M0],f1=h0[ca];if(!Array.isArray(f1))throw Object.assign(new Error(`Missing visitor keys for '${ca}'.`),{node:ce});return f1}return Br}function Uy(h0,M0){if(!uO0(h0))return h0;if(Array.isArray(h0)){for(let ce=0;ce<h0.length;ce++)h0[ce]=Uy(h0[ce],M0);return h0}if(M0.onEnter){let ce=M0.onEnter(h0)??h0;if(ce!==h0)return Uy(ce,M0);h0=ce}let Br=xO0(h0);for(let ce=0;ce<Br.length;ce++)h0[Br[ce]]=Uy(h0[Br[ce]],M0);return M0.onLeave&&(h0=M0.onLeave(h0)||h0),h0}function lO0(h0,M0){let{parser:Br,text:ce}=M0,{comments:ca}=h0,f1=Br==="oxc"&&M0.oxcAstType==="ts";tO0(ca);let r7=h0.type==="File"?h0.program:h0;r7.interpreter&&(ca.unshift(r7.interpreter),delete r7.interpreter),f1&&h0.hashbang&&(ca.unshift(h0.hashbang),delete h0.hashbang),h0.type==="Program"&&(h0.range=[0,ce.length]);let wx;return h0=bO0(h0,{onEnter($e){switch($e.type){case"ParenthesizedExpression":{let{expression:cn}=$e,fn=mv($e);if(cn.type==="TypeCastExpression")return cn.range=[fn,m2($e)],cn;let ob=!1;if(!f1){if(!wx){wx=[];for(let yv of ca)VE0(yv)&&wx.push(m2(yv))}let w1=UE0(0,wx,yv=>yv<=fn);ob=w1&&ce.slice(w1,fn).trim().length===0}return ob?void 0:(cn.extra={...cn.extra,parenthesized:!0},cn)}case"TemplateLiteral":if($e.expressions.length!==$e.quasis.length-1)throw new Error("Malformed template literal.");break;case"TemplateElement":if(Br==="flow"||Br==="hermes"||Br==="espree"||Br==="typescript"||f1){let cn=mv($e)+1,fn=m2($e)-($e.tail?1:2);$e.range=[cn,fn]}break;case"VariableDeclaration":{let cn=KE0(0,$e.declarations,-1);cn?.init&&ce[m2(cn)]!==";"&&($e.range=[mv($e),m2(cn)]);break}case"TSParenthesizedType":return $e.typeAnnotation;case"TopicReference":h0.extra={...h0.extra,__isUsingHackPipeline:!0};break;case"TSUnionType":case"TSIntersectionType":if($e.types.length===1)return $e.types[0];break;case"ImportExpression":Br==="hermes"&&$e.attributes&&!$e.options&&($e.options=$e.attributes);break}},onLeave($e){switch($e.type){case"LogicalExpression":if(VU($e))return ZP($e);break;case"TSImportType":!$e.source&&$e.argument.type==="TSLiteralType"&&($e.source=$e.argument.literal,delete $e.argument);break}}}),h0}function VU(h0){return h0.type==="LogicalExpression"&&h0.right.type==="LogicalExpression"&&h0.operator===h0.right.operator}function ZP(h0){return VU(h0)?ZP({type:"LogicalExpression",operator:h0.operator,left:ZP({type:"LogicalExpression",operator:h0.operator,left:h0.left,right:h0.right.left,range:[mv(h0.left),m2(h0.right.left)]}),right:h0.right.right,range:[mv(h0),m2(h0)]}):h0}function wO0(h0){let M0=h0.match(hO0);return M0?M0[0].trimStart():""}function AO0(h0){h0=Jy(0,h0.replace(dO0,"").replace(yO0,""),TO0,"$1");let M0="";for(;M0!==h0;)M0=h0,h0=Jy(0,h0,gO0,` $1 $2 `);h0=h0.replace(ZU,"").trimEnd();let Br=Object.create(null),ce=Jy(0,h0,$U,"").replace(ZU,"").trimEnd(),ca;for(;ca=$U.exec(h0);){let f1=Jy(0,ca[2],_O0,"");if(typeof Br[ca[1]]=="string"||Array.isArray(Br[ca[1]])){let r7=Br[ca[1]];Br[ca[1]]=[...SO0,...Array.isArray(r7)?r7:[r7],f1]}else Br[ca[1]]=f1}return{comments:ce,pragmas:Br}}function IO0(h0){if(!h0.startsWith("#!"))return"";let M0=h0.indexOf(` `);return M0===-1?h0:h0.slice(0,M0)}function rM(h0){let M0=FO0(h0);M0&&(h0=h0.slice(M0.length+1));let Br=wO0(h0),{pragmas:ce,comments:ca}=AO0(Br);return{shebang:M0,text:h0,pragmas:ce,comments:ca}}function jO0(h0){let{pragmas:M0}=rM(h0);return OO0.some(Br=>Object.prototype.hasOwnProperty.call(M0,Br))}function NO0(h0){let{pragmas:M0}=rM(h0);return EO0.some(Br=>Object.prototype.hasOwnProperty.call(M0,Br))}function PO0(h0){return h0=typeof h0=="function"?{parse:h0}:h0,{astFormat:"estree",hasPragma:jO0,hasIgnorePragma:NO0,locStart:mv,locEnd:m2,...h0}}function CO0(h0){let{message:M0,loc:Br}=h0;if(!Br)return h0;let{start:ce,end:ca}=Br;return zE0(M0,{loc:{start:{line:ce.line,column:ce.column+1},end:{line:ca.line,column:ca.column+1}},cause:h0})}function BO0(h0){let M0=RE0.default.parse(h0,LO0),[Br]=M0.errors;if(Br)throw CO0(Br);return pO0(M0,{parser:"flow",text:h0})}var IE0,$P,FE0,jE0,NE0,PE0,DE0,YU,LE0,CE0,BE0,XE0,QU,RE0,zE0,YP,HE0,JE0,UE0,WE0,KE0,QP,ZE0,VP,$E0,YE0,KP,VE0,qP,qU,tO0,uO0,k4,iO0,oO0,Y,sO0,vO0,xO0,bO0,WO0,pO0,kO0,mO0,Jy,yO0,dO0,hO0,_O0,ZU,gO0,$U,TO0,SO0,EO0,OO0,FO0,DO0,LO0,XO0,RO0=OE0(()=>{KU();IE0=Object.create,$P=Object.defineProperty,FE0=Object.getOwnPropertyDescriptor,jE0=Object.getOwnPropertyNames,NE0=Object.getPrototypeOf,PE0=Object.prototype.hasOwnProperty,DE0=(h0,M0)=>()=>(M0||h0((M0={exports:{}}).exports,M0),M0.exports),YU=(h0,M0)=>{for(var Br in M0)$P(h0,Br,{get:M0[Br],enumerable:!0})},LE0=(h0,M0,Br,ce)=>{if(M0&&typeof M0=="object"||typeof M0=="function")for(let ca of jE0(M0))!PE0.call(h0,ca)&&ca!==Br&&$P(h0,ca,{get:()=>M0[ca],enumerable:!(ce=FE0(M0,ca))||ce.enumerable});return h0},CE0=(h0,M0,Br)=>(Br=h0!=null?IE0(NE0(h0)):{},LE0(M0||!h0||!h0.__esModule?$P(Br,"default",{value:h0,enumerable:!0}):Br,h0)),BE0=DE0(h0=>{(function(M0){typeof globalThis!="object"&&(this?Br():(M0.defineProperty(M0.prototype,"_T_",{configurable:!0,get:Br}),_T_));function Br(){var ce=this||self;ce.globalThis=ce,delete M0.prototype._T_}})(Object),(function(M0){"use strict";var Br=320,ce="loc",ca=289,f1=70416,r7=69748,wx=163,$e=92159,cn=43587,fn="labeled_statement",ob="&=",w1="int_of_string",yv=110591,My=92909,y4=11559,rD="regexp",Wy=43301,d4=11703,Ky=122654,y2=255,eD="%ni",qy=68252,aD=232,Zy=42785,X7="declare_variable",h4="while",$y=66938,Yy=70301,Qy=124907,_4=126515,tD=218,R7="pattern_identifier",Vy=67643,G7="export_source",rd=216,ed=64279,nD="Out_of_memory",ad=113788,uD="comments",td=126624,iD="win32",z7="object_key_bigint_literal",cD=185,g4=123214,d2="constructor",nd=69955,H7="import_declaration",ud=68437,id="Failure",T4="Unix.Unix_error",cd=64255,fd=42539,od=110579,J7="export_default_declaration",U7="jsx_attribute_name",S4=11727,sd=43002,w4=126500,M7="component_param_pattern",fD="collect_comments_opt",W7="match_unary_pattern",oD=321,K7="keyof_type",sD="Invalid binary/octal ",vD="range",vd=170,h2="false",xd=43798,xD=", characters ",q7="object_type_property_getter",bd=65547,ld=126467,pd=65007,kd=42237,md=8318,yd=71215,Z7="object_property_type",$7="type_alias",dd=67742,Y7="function_body",bD=304,hd=68111,A4=120745,_d=71959,E4=43880,lD="Match_failure",Q7="type_cast",dv=109,_2="void",gd="generator",Td=125124,Sd=101589,O4=94179,pD=">>>",I4=70404,V7="optional_indexed_access_type",Za="argument",ru="object_property",eu="object_type_property",wd=67004,Ad=42783,Ed=68850,kD="@",Od=43741,Id=43487,F4="object",mD="end",j4=126571,Fd=71956,yD=208,jd=126566,Nd=67702,dD="EEXIST",au="this_expression",hD=203,Pd=11507,Dd=113807,N4=119893,Ld=42735,sb="rest",tu="null_literal",vb="protected",Cd=43615,vt=8231,Bd=68149,Xd=73727,Rd=72348,Gd=92995,Ax=224,zd=11686,Hd=43013,nu="assignment_pattern",Jd=12329,uu="function_type",H3=192,iu="jsx_element_name",Ud=70018,_D=-57,cu="catch_clause_pattern",P4=126540,fu="template_literal",Md=120654,Wd=68497,Kd=67679,ou="readonly_type",qd=68735,Zd="<",D4=": No such file or directory",$d=66915,Yd="chain",gD="!",su="object_type",Qd=43712,L4=64297,Vd=183969,rh=-105,eh=43503,ah=67591,Ex=65278,th=67669,vu="for_of_assignment_pattern",xb="`",nh=11502,xu="catch_body",uh=42191,hv=-744106340,ih=182,Ox=":",TD="a string",ch=65663,fh=66978,oh=71947,C4=43519,sh=71086,vh=125258,xh=12538,bu="expression_or_spread",SD="Printexc.handle_uncaught_exception",B4=69956,X4=120122,R4=247,wD=231,bh=" : flags Open_rdonly and Open_wronly are not compatible",lu="statement_fork_point",AD=710,ED=-692038429,Hn="static",lh=55203,ph=64324,kh=64111,OD="!==",mh=120132,yh=124903,bb="class",ID=222,pu="pattern_number_literal",g2="kind",dh=71903,ku="variable_declarator",FD=" named `",mu="typeof_expression",hh=126627,_h=70084,jD=228,G4=70480,yu="class_private_field",gh=239,z4=120713,e7=65535,J3=-26,du="private_name",Th=43137,hu="remote_identifier",Sh=70161,_u="label_identifier",wh="src/parser/statement_parser.ml",Ah=8335,Eh=19903,Oh=64310,Ix="_",gu="for_init_declaration",ND="infer",Ih=64466,Fh=43018,PD="tokens",jh=92735,Nh=66954,Ph=65473,Dh=70285,Tu="sequence",Lh="compare: functional value",Ch=69890,lb=1e3,Bh=65487,Xh=42653,DD="\\\\",LD="%=",Su="match_member_pattern_base",Rh=72367,wu="function_rest_param",CD="/static/",Gh=124911,zh=65276,H4=126558,Hh=11498,BD=137,Au="export_default_declaration_decl",Jh="cases",J4=126602,Eu="jsx_child",Jn="continue",Uh=42962,XD="importKind",aa=122,U3="Literal",Ou="pattern_object_property_identifier_key",Mh=42508,_v="in",Wh=55238,Kh=67071,qh=70831,Zh=72161,$h=67462,RD="<<=",Yh=43009,Qh=66383,U4=67827,Vh=72202,r9=69839,e9=66775,GD="-=",Fx=8202,a9=70105,t9=120538,zD=-92,Iu="for_in_left_declaration",n9="rendersType",M4=126563,u9=70708,W4=126523,HD=166,Fu="match_",JD=202,i9=110951,T2="component",K4=126552,c9=66977,f9=213,ju="enum_member_identifier",UD=210,Nu="enum_bigint_body",MD=">=",o9=126495,s9="specifiers",v9="=",x9=65338,pb="members",b9=123535,l9=43702,p9=72767,jx="get",k9=126633,q4=126536,m9=94098,y9="types",d9=113663,WD="Internal Error: Found private field in object props",Pu="jsx_element",h9=70366,_9=110959,Z4=120655,KD="trailingComments",qD=282,gv=24029,ZD=-100,$D=144,Wt="yield",Du="binding_pattern",Lu="typeof_identifier",YD="ENOTEMPTY",$4=126468,g9=1255,T9=120628,Cu="pattern_object_property_string_literal_key",S9=8521,QD="leadingComments",VD=8204,Tv="@ ",w9=70319,S2="left",rL=188,Y4="case",A9=19967,Q4=42622,E9=43492,O9=113770,Bu="match_instance_pattern_constructor",I9=42774,F9=183,V4=8468,Xu="record_body",Ru="class_implements",rp=126579,M3="string",eL=211,rt=-48,j9=69926,N9=123213,Gu="if_consequent_statement",P9=124927,W3="number",D9=126546,L9=68119,C9=70726,ep=70750,B9=65489,aL="SpreadElement",tL="callee",nL=193,X9=70492,R9=71934,uL=164,G9=110580,z9=12320,ap="any",on="/",zu="type_guard",ga="body",tp=178,Tn="pattern",iL="comment_bounds",cL=297,Hu="binding_type_identifier",H9=187,Ju="pattern_array_rest_element_pattern",np="@])",J9=12543,U9=11623,fL="start",M9=67871,sn="interface",W9=8449,K9=67637,q9=42961,up=120085,Z9=126463,oL="alternate",sL=-1053382366,$9=70143,vL="--",Y9=68031,Uu="jsx_expression",Mu="type_identifier_reference",ip=11647,Q9="proto",A1="identifier",V9=43696,E1="raw",r_=126529,e_=11564,cp=126557,a_=64911,fp=67592,t_=43493,op=215,n_=110588,kb=461894857,u_=92927,i_=67861,c_=119980,f_=43042,xL=-89,o_=66965,s_=67391,K3="computed",bL="unreachable jsxtext",v_=71167,x_=42559,b_=72966,lL=180,l_=197,sp=64319,pL=169,kL="*",vp=129,p_=66335,mb="meta",k_=43388,xp=94178,o1="optional",bp="unknown",m_=120121,y_=123180,lp=8469,d_=68220,mL="|",h_=43187,__=94207,g_=124895,pp=120513,T_=42527,Nx=8286,S_=94177,yb="var",Wu="component_type_param",w_=66421,yL=285,A_=92991,E_=68415,Ku="comment",qu="match_pattern_array_element",Px=244,kp="^",O_=173791,dL=136,I_=42890,F_="ENOTDIR",j_="??",N_=43711,P_=66303,D_=113800,L_=42239,C_=12703,Zu="variance_opt",$u="+",hL=">>>=",_L=147,gL=376,mp="mixed",B_=65613,X_=73029,TL=318,R_=68191,SL="*=",yp=8487,G_=8477,Yu="toplevel_statement_list",dp="never",hp="do",Sv=125,z_=72249,wL="Pervasives.do_at_exit",AL="visit_trailing_comment",Qu="jsx_closing_element",Vu="jsx_namespaced_name",H_=124908,J_=126651,ri="component_declaration",U_=15,ei="interface_type",ai="function_type_return_annotation",M_=64109,_p=65595,gp=126560,W_=110927,Tp=65598,Sp=8488,ti="`.",EL=175,wp="package",Ap="else",Ep=120771,K_=68023,OL="fd ",Dx=8238,Op=888960333,Ip=119965,q_=42655,ni="match_object_pattern",Z_=11710,$_=119993,ui="boolean_literal",IL=290,ii="statement_list",ci="function_param",fi="match_as_pattern",oi="pattern_object_property_bigint_literal_key",Fp=69959,Y_=120485,FL=240,Q_=191456,si="declare_enum",jp=120597,Np=70281,vi="type_annotation",xi="spread_element",Pp=126544,V_=120069,a7="key",rg=43583,eg="out",ag=` `,jL="**=",bi="pattern_object_property_pattern",tg="e",ng=72712,NL="Internal Error: Found object private prop",ug="ENOENT",ig=-42,li="jsx_opening_attribute",cg=67646,pi="component_type",fg=64296,og=43887,PL="Division_by_zero",DL="EnumDefaultedMember",ki="typeof_member_identifier",sg=43792,mi="match_member_pattern_property",yi="declare_export_declaration_decl",vg=93026,di="type_annotation_hint",xg=42887,bg=43881,lg=43761,Dp=8526,LL=287,db=119,pg=43866,kg=72847,mg=8348,ka=101,yg=94026,Lp=72272,CL="src/parser/flow_lexer.ml",dg=120744,Lx=8191,q3="implies",Cp=255,Bp=11711,hi="match_unary_pattern_argument",hg=71235,BL=288,Xp=68116,fe=100,_i="match_expression",gi="enum_body",Rp=1114111,Ti="assignment",_g=71955,Gp=43260,Si="pattern_array_e",gg=126583,XL="prefix",wi="class_body",hb="shorthand",Tg=171,Sg=66256,zp=-97,RL=" =",wg=94032,Ag=42606,Ai="match_case",Eg=71839,Hp=120134,Og=55291,Ig=92862,Fg=43019,jg=126543,Z3="function",Ng=111355,Pg=11389,Dg=70753,Lg=43249,Cg=64829,Jp="line",Ei="function_declaration",Up="undefined",GL="([^/]+)",Bg=110947,Xg=70002,zL="Cygwin",Oi="as_expression",Rg=12591,Mp=64285,Gg=2048,zg=73112,Wp=126589,HL=225,Kp=43259,Hg=72817,qp=64318,JL=172,UL=209,Ii="match_binding_pattern",Fi=" ",ji="import_source",_b="delete",ML="Enum `",Zp=126553,Jg=67001,Cx="default",Ug=11630,Mg=206,Ni="enum_bigint_member",Wg=67504,$p=67593,Kg=113791,WL="MatchObjectPatternProperty",qg=69572,Pi="typeof_type",KL=212,qL="%i",Di="function_this_param",Zg=72329,wv="0x",Bx=8239,$g=75075,ZL=57343,Li="pattern_bigint_literal",Yg=12341,$L=201,Xx="hook",YL=": closedir failed",Qg=42959,Yp=119970,Vg=43560,QL="||=",Ci="member_private_name",rT=120570,Bi="object_key_identifier",Qp=223,VL="Not_found",Xi="record_static_property",rC=230,Ri="jsx_element_name_member_expression",Gi="string_literal",eT=120596,aT=43807,tT=69687,nT=63743,Vp=72192,zi="member_property",uT=43262,Hi="class_declaration",eC="renders*",aC="%Li",iT=126578,Ji="jsx_attribute",$3=254,Sn="empty",gb="label",Ui="object_internal_slot_property_type",r8=120133,cT=43359,Un="predicate",tC="??=",fT=43697,oT=-43,Mi="default_opt",nC="the start of a statement",sT=67826,Wi="record_element",Ki="object_",qi="class_element",e8=11631,a8=70855,Zi="opaque_type",$i="number_literal",uC=", ",t8=8319,n8=120004,u8=133,Yi="type_params",Qi="pattern_object_rest_property",Kt="import",vT=72e3,xT=67413,bT=12343,lT=70080,Vi="intersection_type",xt=-36,pT=70005,Tb="properties",kT=11679,mT=8483,yT=110587,iC=43520,rc="computed_key",cC=207,ec="class_identifier",dT="Invalid number ",ac="function_param_pattern",Rx=12288,hT=113817,_T=70730,gT=178207,i8=71236,TT=167,tc="object_indexer_property_type",ST=64286,fC="TypeAnnotation",oC=220,nc="type_identifier",uc="spread_property",ic="jsx_attribute_value_expression",wT=126519,c8=70108,f8=126,o8=42999,w2="prototype",AT=" : flags Open_text and Open_binary are not compatible",sC="**",s8=43823,ET=": Not a directory",cc="render_type",v8=72349,Y3="test",OT=43776,IT=92879,FT=11263,vC=241,jT=93052,fc="nullable_type",NT=43704,PT=64321,xC="Property",DT=72191,bC=165,Sb="instanceof",LT=69247,lC=302,Mn="name",x8=126634,CT=8516,b8="typeArguments",BT=71127,oc="jsx_spread_attribute",XT=66559,RT=44031,GT=43645,et=8233,zT=71494,HT="opaque",l8=72967,JT=70106,sc="logical",pC="@[%s =@ ",wb="0o",p8=126554,UT=71351,k8=8484,MT=72242,m8=120687,Ab=252,WT=183983,Eb="%S",vc="function_this_param_type",kC=292,y8="decorators",KT=43255,xc="catch_clause",Wn="-",qT=67711,mC=": file descriptor already closed",d8=64311,bc="record_declaration",h8=120539,ZT="arguments",_8=73062,$T=173823,YT=42124,QT=72095,VT=125259,rS=42969,g8=70280,yC=12520,eS=69749,aS=70066,lc="binary",pc="for_in_statement",tS=43010,dC="^=",nS=126570,kc="for_statement",T8=126584,mc="function_return_annotation",uS=72144,iS=8505,hC=-101,yc="class_expression",cS=120076,fS=69807,oS=40981,sS=-24976191,vS=72768,xS=126550,_C='"',dc="call_type_arg",gC="f",Gx="this",S8=126628,TC="===",SC=56320,hc="declare_module_exports",bS=120512,bt=105,lS=119974,pS=71450,kS=71942,wC=195,w8=120629,AC="/=",EC=">>",_c="declare_interface",OC=4096,gc="pattern_array_rest_element",mS=71338,A8=126520,Tc="as_const_expression",IC="Popping lex mode from empty stack",FC="renders?",yS=68405,Sc="member",wc="class_extends",zx=12287,E8=126590,dS=66377,jC="fields",Av="async",Ac="pattern_array_element",Q3=240,NC=308,hS=69864,Hx="readonly",_S=70460,gS=120779,TS=66378,Ec="new_",O8=126551,Oc="pattern_object_rest_property_pattern",Ic="for_statement_init",SS=43595,I8=68296,PC=148,DC="\0\0\0\0",wS=120712,AS=64217,ES=69295,LC="||",OS=";",IS=70461,FS=66939,jS="record",CC="collect_comments",BC=279,Fc="generic_type",NS=68295,PS=44002,F8=72162,jc="object_call_property_type",j8=8305,N8=119995,P8="with",Nc="class_property",XC="qualification",Pc="jsx_attribute_name_namespaced",Dc="if_statement",Lc="typeof_qualified_identifier",RC=238,DS=65615,GC=176,at="expression",D8=126559,Cc="jsx_attribute_value",Bc="<2>",Xc="component_param",L8="Map.bal",Ob=132,LS=70412,CS=70440,zC="<<",C8="finally",HC="v",Rc="syntax_opt",Gc="meta_property",BS=12447,XS=67514,B8=12448,zc="object_mapped_type_property",Jx="operator",JC="closedir",Hc="unary_expression",RS=126588,GS=70851,Jc="export_batch_specifier",V3="renders",UC=226,zS=73111,MC=221,ar="",HS=66927,JS=64967,US="elements",MS=67640,WS=43754,Uc="declare_export_declaration",X8=-26065557,KS=65855,Ib="boolean",A2="typeof",qS=124902,WC=139,ZS=65629,KC=224,$S=43123,R8=70449,YS=12735,wn=107,G8=11719,qC="!=",Mc="call_type_args",r6="asserts",Ev=-46,QS="namespace",Wc="match_pattern",Kc="for_of_statement_lhs",z8=126504,VS=69505,H8="for",rw=72703,J8=120127,U8=43471,ew=93047,ZC="Undefined_recursive_module",$C=2147483647,qc="template_literal_element",YC="Unexpected ",aw=101631,tw=65497,M8=68120,Zc="import_default_specifier",t7="array",QC="expressions",nw=110930,VC=204,$c="while_",Yc="function_rest_param_type",Ov=63,uw=77808,rB="Unexpected token `",lt=114,Qc="pattern_object_p",iw=65140,cw=123190,Vc="pattern_object_property_number_literal_key",Fb="enum",rf="conditional_type",ef=113,af="array_type",eB="minus",fw=43790,tf="do_while",ow=11567,sw=11694,jb=256,vw=119976,nf="component_body",n7=111,xw=177976,W8=67644,bw=73439,Nb=951901561,aB="?",tB=")",K8=43867,q8=65575,lw=69445,nB="FunctionTypeParam",Z8=119996,pw=65019,uf="conditional",kw=11505,uB=135,mw=71295,yw=12799,dw=67382,cf="type_guard_annotation",ff="object_key_computed",u7=123,of="pattern_object_property_key",hw=119892,_w=67505,gw=66962,sf="with_",Tw=43273,vf="interface_declaration",$8="bool",Sw=71945,ww="declaration",Aw=11519,Pb=">",Ew=66771,Y8="}",iB=8472,Ow=43014,xf="declare_function",Je=127,Iw="RestElement",Fw=190,jw=8467,cB="module",Q8=126522,fB="Sys_blocked_io",bf="jsx_opening_element",lf="object_key_number_literal",pf="match_instance_pattern",oB="|=",sB="mixins",Nw=205,vB=217,V8="if",xB="+=",kf="match_object_pattern_property_key",mf="match_rest_pattern",yf="export_named_declaration_specifier",rk="try",ek="_bigarr02",Pw=70479,i7="right",Dw=245,Lw=11718,df="tuple_labeled_element",bB="TypeParameterInstantiation",Cw="mkdir",Bw=71999,Xw=870530776,lB="@[",pB=-908856609,kB=331416730,Rw=11670,Gw=66735,zw=43709,ak=43642,Hw=67002,Jw=69375,hf="function_body_any",Uw=119807,mB="Assert_failure",_f="function_identifier",Mw=65479,Db=131,Ux="new",gf="for_of_left_declaration",Ww=120084,Kw=100343,qw=73030,tk=70452,nk=134,Zw=253,$w=42954,yB=227,Tf="jsx_member_expression_object",Sf="class_property_value",Yw=120144,dB=314,Qw=66994,e6="set",Vw=126498,wf="tuple_element",Af="arg_list",rA=65481,eA=8511,aA=42964,tA=11492,uk=126555,nA=71039,uA="exportKind",Ef="program",iA=70187,hB=173,O1="as",Mx=124,_B="visit_leading_comment",cA=110575,Of="class_",fA=72440,oA=67897,gB=235,sA=8543,TB=141,If=120,Ff="match_object_pattern_property",Lb=1024,vA=101640,SB=1027,wB=236,a6=246,AB="(",xA=66511,jf="regexp_literal",bA=65574,lA=43513,pA=43695,EB="&&",ik=11558,kA=66503,mA=93071,Nf="pattern_expression",yA=65381,ck=126538,dA=12292,Pf="import_namespace_specifier",hA=67583,_A=120137,gA=69622,TA=120770,SA=71131,Wx=8287,wA=110590,AA=65135,EA="Fatal error: exception ",Cb=118,OA=181,fk=11687,pt="camlinternalFormat.ml",IA=72959,FA=249,Df="union_type",OB=8206,jA=73064,NA=70271,PA=92728,ok=65344,sk=11695,Lf="class_decorator",IB="the end of an expression statement (`;`)",DA=177983,LA=8457,FB=931,CA=66499,BA=94175,jB="#",XA="Identifier",Cf="for_in_statement_lhs",Bf="pattern_string_literal",vk=70302,xk=126496,RA=66461,GA=82943,bk=8450,zA=72271,HA=70853,JA="of",NB="Stack_overflow",Bb="hasUnknownMembers",Xb="a",Xf="variable_declarator_pattern",UA=73061,MA=77711,lk=64317,WA=73097,PB=269,Rf="enum_declaration",KA=66966,qA=189,ZA=119964,Gf="type_param",c7=782176664,pk=65535,DB=-10,$A=64433,kk=43815,mk=94031,yk=73065,YA=69958,LB=145,dk="property",zf="jsx_children",Hf="member_property_identifier",QA=42537,Iv="const",VA=70278,Jf="enum_string_member",Rb="local",Uf="jsx_element_name_identifier",rE=68223,hk="",eE=119967,_k=119994,aE=66993,Mf="jsx_member_expression_identifier",gk="explicitType",tE=67589,nE=65597,uE="exported",iE=94111,cE=113775,Wf="object_spread_property_type",fE=64847,Kf="component_identifier",qf="class_implements_interface",CB=162,BB=243,oE=12783,XB=`Fatal error: exception %s `,Tk=120093,Gb="column",Zf="component_rest_param",RB="methods",sE=70451,vE=70312,xE=69967,Sk=70279,bE=66463,lE=92975,wk=70286,$f="pattern_object_property_computed_key",Yf="object_key_string_literal",pE="jsError",Qf="type_args",kE=8304,GB="==",_e=115,Vf="declare_component",mE=120092,yE=43638,dE=66811,E2=-87,hE=43334,_E=66863,gE=77823,zB=143,ro="optional_call",TE=126562,Ak=70162,eo=104,HB="static ",SE=66963,Kx="await",Ek=70107,qt="0",wE=72250,AE=8507,EE=100351,Ok="AssignmentPattern",ao="type",JB="%u",OE="NonNullExpression",to="function_expression_or_method",IE=43470,UB=146,MB=242,WB="camlinternalMod.ml",no="match_or_pattern",FE=72750,jE=69414,NE=65370,uo="syntax",KB=32752,PE=42963,qB="End_of_file",DE=12294,LE=8471,ZB="elementType",CE=43782,$B="++",BE=43641,XE=71944,io="record_property",RE=126601,GE=78894,YB=-45,qx="null",QB=177,VB="satisfies",zE=131071,co="import_specifier",fo="class_method",oo="type_",HE=126514,JE=8454,rX="inexact",UE=67807,ME=8525,WE=65470,KE=71352,so="tuple_spread_element",eX=219,qE="abstract",ZE=73458,Kn="return",zb=65536,Ik=126548,vo="array_element",$E=-253313196,YE=186,Fk="catch",xo="infer_type",QE=12295,aX="Invalid legacy octal ",VE=69762,rO=43311,eO=65437,bo="variable_declaration",tX=-696510241,lo="function_params",aO=64316,nX=311,jk=11565,uX="infinity",tO="@]",nO=65908,po="extends",uO=66204,iO=43784,cO=11742,Nk=126503,qn="debugger",fO=70457,Hb=912068366,oO=68786,Pk="keyof",Dk=69415,sO=12686,f7=127343600,ko="declare_type_alias",iX="the",cX=233,mo="jsx_element_name_namespaced",vO=72283,xO=161,yo="class_static_block",ho="function_param_type",I1=128,bO=-673950933,Lk=126591,fX="Sys_error",lO=74649,pO=74862,Jb="is",kO=43738,mO=68479,oX=196,Ck=70854,_o="enum_boolean_member",Bk=72163,yO=92783,sX=281,go="component_param_name",dO=68863,o7=32768,vX=2048,hO=64284,xX="@{",_O="\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",Xk=8455,To="update_expression",bX=276,gO=65500,Ub="from",TO=68447,Rk=12592,SO=92766,lX=">>=",tt=110,wO=66431,AO=43586,So="jsx_identifier",EO=" : file already exists",La=128,OO=71958,IO=66717,wo="enum_boolean_body",FO=64262,Ue="id",Ao="component_renders_annotation",jO=42888,NO=8584,PO=73008,Eo="enum_symbol_body",Oo="declare_namespace",Gk=72713,DO=55215,Io="object_property_value_type",Fo="match_wildcard_pattern",jo="for_in_assignment_pattern",zk=8485,LO=43395,CO=229,O2="true",BO=43743,No="enum_number_member",pX=234,XO=72969,kX="expected *",An=102,mX=200,Mb="symbol",Zx="source",Po="tparam_const_modifier",RO=43714,Do="jsx_fragment",Lo="jsx_attribute_name_identifier",Wb="public",GO=43442,Co="pattern_object_property",zO=65786,HO=70783,JO=43713,UO=72160,yX="*-/",Bo="export_named_specifier",Xo="arrow_function",MO=122623,Hk=70006,dX="${",WO=43814,Ro="generic_qualified_identifier_type",KO=199,Go="jsx_spread_child",Jk=8489,Uk=184,hX=2047,qO=66955,zo="try_catch",ZO=70497,_X=313,gX=237,$O=67431,YO=125183,TX=-602162310,s7="params",QO="consequent",VO=68029,rI=67829,eI=68095,Ho="enum_string_body",aI=93823,tI=68351,nI=65495,Jo="declare_module",Uo="match_as_pattern_target",Mo="body_expression",uI=66175,iI=191,Mk=70441,Wk=65141,Kk="&",Wo="super_expression",qk=126564,cI=72105,GO0="fs",Zn="throw",fI=68287,oI=67839,I2=116,sI=110882,vI=69404,xI=123197,$x=65279,t6="src/parser/type_parser.ml",bI=68115,Zk=126547,$k=126556,lI=73055,Ko="member_property_expression",qo="enum_defaulted_member",pI=43071,kI=11726,Zo="component_type_rest_param",mI=68607,$o="object_key",SX=160,Zt="variance",yI=70655,dI=70414,n6="super",hI=123583,_I=65594,Kb="method",gI=73648,qb=121,TI=93951,Yo="pattern_array_element_pattern",SI=43764,wI=42993,Yk=120145,AI=74879,wX=168,Qk=8486,EI=72001,Qo="tagged_template",Vo="module_ref_literal",OI=65312,Fv="implements",II=43700,FI=120003,AX="Invalid_argument",rs=16777215,jI=83526,Vk=69744,rm=12336,es="switch_case",EX=-61,as="optional_member",NI=64274,em=64322,am=126530,PI=71998,tm=72970,DI=13311,LI=73647,CI=120074,u6="let",OX="global",ts="expression_statement",ns="component_type_params",BI=512,XI=69634,RI=67461,GI=123627,zI=64913,IX="children",FX="PropertyDefinition",jX=1026,NX="%li",us="declare_class",HI=43258,is="indexed_access_type",JI=124926,kt=112,UI="b",cs="predicate_expression",fs="if_alternate_statement",Zb="private",PX=-594953737,DX=140,MI="nan",WI=72103,nm=11735,os="statement",KI="rmdir",um=66512,qI="match",ZI=198,$I=11734,ss="import_named_specifier",YI=69599,QI=68799,VI=194559,vs="match_array_pattern",LX=174,xs="function_",bs="bigint_literal",ta=248,im=67638,cm=126539,rF=11557,CX=214,eF=5760,$n="break",v7="block",ls="match_member_pattern",aF=123565,tF=66815,ma="value",BX=1039100673,nF=69746,uF=70448,iF=74751,ps="init",cF=69551,fm=65548,ks="jsx_member_expression",om=68096,mt=108,sm=126521,fF=71487,ms="match_statement",oF=178205,sF=12548,XX=" : is a directory",x7=".",vF=12348,i6=-835925911,Xt="typeParameters",xF=66855,Ha="typeAnnotation",Yx="bigint",ys="jsx_attribute_value_literal",vm=194,RX="T_JSX_TEXT",bF=68466,xm=126537,GX=67714067,lF=69487,bm="export",pF=43822,lm=126499,kF=55242,ds="member_type_identifier",zX=138,mF=71679,Qx=130,yF=12438,dF=119969,HX=298,pm=12539,hF=119972,JX=",",_F=71423,gF="index out of bounds",F1=106,c6="%d",UX="T_RENDERS_QUESTION",km=120571,mm="returnType",TF=69423,ym=120070,MX="%",$b=117,SF=179,wF="EBADF",AF=93759,dm=64325,hs="component_params",EF=66517,OF=67423,IF=605857695,FF=43518,WX=251,_s="for_of_statement",jF=71983,KX="~",NF=12442,Yn="switch",PF=66207,hm=126535,qX="&&=",DF=69289,LF=71723,gs="generic_identifier_type",CF=126619,Ts="object_type_property_setter",BF=70418,ZX="<=",XF=125251,RF=11702,Ss="enum_number_body",f6=250,GF=124910,zF=69297,HF=67455,JF=42511,ws="ts_satisfies",$X=268,UF=68324,_m="an identifier",MF=126534,As=103,WF=120126,jv=449540197,Yb="declare",KF=68899,qF=126502,Es="function_expression",YX=142,ZF=123135,$F=67967,YF=120487,QF=120686,Os="export_named_declaration",VF=66348,gm=119981,rj=12352,Is="tuple_type",ej=68680,Tm="target",Fs="call";function eM(r,e,a,t,u){if(t<=e)for(var i=1;i<=u;i++)a[t+i]=r[e+i];else for(var i=u;i>=1;i--)a[t+i]=r[e+i];return 0}function aM(r){for(var e=[0];r!==0;){for(var a=r[1],t=1;t<a.length;t++)e.push(a[t]);r=r[2]}return e}function tM(r,e,a){var t=new Array(a+1);t[0]=0;for(var u=1,i=e+1;u<=a;u++,i++)t[u]=r[i];return t}function Sm(r,e,a){return r[1]===e?(r[1]=a,1):0}function nM(r,e){var a=r[1];return r[1]+=e,a}function o6(r){return r[1]}function QX(r){var e=M0.process;if(e&&e.env&&e.env[r]!=null)return e.env[r];if(M0.jsoo_static_env&&M0.jsoo_static_env[r])return M0.jsoo_static_env[r]}var aj=0;(function(){var r=QX("OCAMLRUNPARAM");if(r!==void 0)for(var e=r.split(JX),a=0;a<e.length;a++)if(e[a]==UI){aj=1;break}else if(e[a].startsWith("b="))aj=+e[a].slice(2);else continue})();var vn=[0];function uM(r,e){return(!r.js_error||e||r[0]==ta)&&(r.js_error=new M0.Error("Js exception containing backtrace")),r}function K0(r,e){return aj?uM(r,e):r}function iM(r,e){throw K0([0,r,e])}function zO0(r){return r}function tj(r,e){iM(r,e)}function nt(r){tj(vn.Invalid_argument,r)}function VX(r){switch(r){case 7:case 10:case 11:return 2;default:return 1}}function rR(r,e){var a;switch(r){case 0:a=Float32Array;break;case 1:a=Float64Array;break;case 2:a=Int8Array;break;case 3:a=Uint8Array;break;case 4:a=Int16Array;break;case 5:a=Uint16Array;break;case 6:a=Int32Array;break;case 7:a=Int32Array;break;case 8:a=Int32Array;break;case 9:a=Int32Array;break;case 10:a=Float32Array;break;case 11:a=Float64Array;break;case 12:a=Uint8Array;break}a||nt("Bigarray.create: unsupported kind");var t=new a(e*VX(r));return t}function wm(r){for(var e=r.length,a=1,t=0;t<e;t++)r[t]<0&&nt("Bigarray.create: negative dimension"),a=a*r[t];return a}var eR=Math.pow(2,-24);function aR(r){throw r}function tR(){aR(vn.Division_by_zero)}function oe(r,e,a){this.lo=r&rs,this.mi=e&rs,this.hi=a&e7}oe.prototype.caml_custom="_j",oe.prototype.copy=function(){return new oe(this.lo,this.mi,this.hi)},oe.prototype.ucompare=function(r){return this.hi>r.hi?1:this.hi<r.hi?-1:this.mi>r.mi?1:this.mi<r.mi?-1:this.lo>r.lo?1:this.lo<r.lo?-1:0},oe.prototype.compare=function(r){var e=this.hi<<16,a=r.hi<<16;return e>a?1:e<a?-1:this.mi>r.mi?1:this.mi<r.mi?-1:this.lo>r.lo?1:this.lo<r.lo?-1:0},oe.prototype.neg=function(){var r=-this.lo,e=-this.mi+(r>>24),a=-this.hi+(e>>24);return new oe(r,e,a)},oe.prototype.add=function(r){var e=this.lo+r.lo,a=this.mi+r.mi+(e>>24),t=this.hi+r.hi+(a>>24);return new oe(e,a,t)},oe.prototype.sub=function(r){var e=this.lo-r.lo,a=this.mi-r.mi+(e>>24),t=this.hi-r.hi+(a>>24);return new oe(e,a,t)},oe.prototype.mul=function(r){var e=this.lo*r.lo,a=(e*eR|0)+this.mi*r.lo+this.lo*r.mi,t=(a*eR|0)+this.hi*r.lo+this.mi*r.mi+this.lo*r.hi;return new oe(e,a,t)},oe.prototype.isZero=function(){return(this.lo|this.mi|this.hi)==0},oe.prototype.isNeg=function(){return this.hi<<16<0},oe.prototype.and=function(r){return new oe(this.lo&r.lo,this.mi&r.mi,this.hi&r.hi)},oe.prototype.or=function(r){return new oe(this.lo|r.lo,this.mi|r.mi,this.hi|r.hi)},oe.prototype.xor=function(r){return new oe(this.lo^r.lo,this.mi^r.mi,this.hi^r.hi)},oe.prototype.shift_left=function(r){return r=r&63,r==0?this:r<24?new oe(this.lo<<r,this.mi<<r|this.lo>>24-r,this.hi<<r|this.mi>>24-r):r<48?new oe(0,this.lo<<r-24,this.mi<<r-24|this.lo>>48-r):new oe(0,0,this.lo<<r-48)},oe.prototype.shift_right_unsigned=function(r){return r=r&63,r==0?this:r<24?new oe(this.lo>>r|this.mi<<24-r,this.mi>>r|this.hi<<24-r,this.hi>>r):r<48?new oe(this.mi>>r-24|this.hi<<48-r,this.hi>>r-24,0):new oe(this.hi>>r-48,0,0)},oe.prototype.shift_right=function(r){if(r=r&63,r==0)return this;var e=this.hi<<16>>16;if(r<24)return new oe(this.lo>>r|this.mi<<24-r,this.mi>>r|e<<24-r,this.hi<<16>>r>>>16);var a=this.hi<<16>>31;return r<48?new oe(this.mi>>r-24|this.hi<<48-r,this.hi<<16>>r-24>>16,a&e7):new oe(this.hi<<16>>r-32,a,a)},oe.prototype.lsl1=function(){this.hi=this.hi<<1|this.mi>>23,this.mi=(this.mi<<1|this.lo>>23)&rs,this.lo=this.lo<<1&rs},oe.prototype.lsr1=function(){this.lo=(this.lo>>>1|this.mi<<23)&rs,this.mi=(this.mi>>>1|this.hi<<23)&rs,this.hi=this.hi>>>1},oe.prototype.udivmod=function(r){for(var e=0,a=this.copy(),t=r.copy(),u=new oe(0,0,0);a.ucompare(t)>0;)e++,t.lsl1();for(;e>=0;)e--,u.lsl1(),a.ucompare(t)>=0&&(u.lo++,a=a.sub(t)),t.lsr1();return{quotient:u,modulus:a}},oe.prototype.div=function(r){var e=this;r.isZero()&&tR();var a=e.hi^r.hi;e.hi&o7&&(e=e.neg()),r.hi&o7&&(r=r.neg());var t=e.udivmod(r).quotient;return a&o7&&(t=t.neg()),t},oe.prototype.mod=function(r){var e=this;r.isZero()&&tR();var a=e.hi;e.hi&o7&&(e=e.neg()),r.hi&o7&&(r=r.neg());var t=e.udivmod(r).modulus;return a&o7&&(t=t.neg()),t},oe.prototype.toInt=function(){return this.lo|this.mi<<24},oe.prototype.toFloat=function(){return(this.hi<<16)*Math.pow(2,32)+this.mi*Math.pow(2,24)+this.lo},oe.prototype.toArray=function(){return[this.hi>>8,this.hi&y2,this.mi>>16,this.mi>>8&y2,this.mi&y2,this.lo>>16,this.lo>>8&y2,this.lo&y2]},oe.prototype.lo32=function(){return this.lo|(this.mi&y2)<<24},oe.prototype.hi32=function(){return this.mi>>>8&e7|this.hi<<16};function cM(r,e){return new oe(r&rs,r>>>24&y2|(e&e7)<<8,e>>>16&e7)}function nj(r){return r.hi32()}function uj(r){return r.lo32()}function Qb(){nt(gF)}var fM=ek;function Nv(r,e,a,t){this.kind=r,this.layout=e,this.dims=a,this.data=t}Nv.prototype.caml_custom=fM,Nv.prototype.offset=function(r){var e=0;if(typeof r=="number"&&(r=[r]),r instanceof Array||nt("bigarray.js: invalid offset"),this.dims.length!=r.length&&nt("Bigarray.get/set: bad number of dimensions"),this.layout==0)for(var a=0;a<this.dims.length;a++)(r[a]<0||r[a]>=this.dims[a])&&Qb(),e=e*this.dims[a]+r[a];else for(var a=this.dims.length-1;a>=0;a--)(r[a]<1||r[a]>this.dims[a])&&Qb(),e=e*this.dims[a]+(r[a]-1);return e},Nv.prototype.get=function(r){switch(this.kind){case 7:var e=this.data[r*2+0],a=this.data[r*2+1];return cM(e,a);case 10:case 11:var t=this.data[r*2+0],u=this.data[r*2+1];return[$3,t,u];default:return this.data[r]}},Nv.prototype.set=function(r,e){switch(this.kind){case 7:this.data[r*2+0]=uj(e),this.data[r*2+1]=nj(e);break;case 10:case 11:this.data[r*2+0]=e[1],this.data[r*2+1]=e[2];break;default:this.data[r]=e;break}return 0},Nv.prototype.fill=function(r){switch(this.kind){case 7:var e=uj(r),a=nj(r);if(e==a)this.data.fill(e);else for(var t=0;t<this.data.length;t++)this.data[t]=t%2==0?e:a;break;case 10:case 11:var u=r[1],i=r[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(r);break}},Nv.prototype.compare=function(r,e){if(this.layout!=r.layout||this.kind!=r.kind){var a=this.kind|this.layout<<8,t=r.kind|r.layout<<8;return t-a}if(this.dims.length!=r.dims.length)return r.dims.length-this.dims.length;for(var u=0;u<this.dims.length;u++)if(this.dims[u]!=r.dims[u])return this.dims[u]<r.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=r.data[u],i<f)return-1;if(i>f)return 1;if(i!=f){if(!e)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]<r.data[u+1])return-1;if(this.data[u+1]>r.data[u+1])return 1;if(this.data[u]>>>0<r.data[u]>>>0)return-1;if(this.data[u]>>>0>r.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]<r.data[u])return-1;if(this.data[u]>r.data[u])return 1}break}return 0};function s6(r,e,a,t){this.kind=r,this.layout=e,this.dims=a,this.data=t}s6.prototype=new Nv,s6.prototype.offset=function(r){return typeof r!="number"&&(r instanceof Array&&r.length==1?r=r[0]:nt("Ml_Bigarray_c_1_1.offset")),(r<0||r>=this.dims[0])&&Qb(),r},s6.prototype.get=function(r){return this.data[r]},s6.prototype.set=function(r,e){return this.data[r]=e,0},s6.prototype.fill=function(r){return this.data.fill(r),0};function ij(r,e,a,t){var u=VX(r);return wm(a)*u!=t.length&&nt("length doesn't match dims"),e==0&&a.length==1&&u==1?new s6(r,e,a,t):new Nv(r,e,a,t)}function nR(r){return r.slice(1)}function oM(r,e,a){var t=nR(a),u=rR(r,wm(t));return ij(r,e,t,u)}function Vb(r,e,a){return r.set(r.offset(e),a),0}function rl(r,e,a){var t=String.fromCharCode;if(e==0&&a<=OC&&a==r.length)return t.apply(null,r);for(var u=ar;0<a;e+=Lb,a-=Lb)u+=t.apply(null,r.slice(e,e+Math.min(a,Lb)));return u}function Am(r){for(var e=new Uint8Array(r.l),a=r.c,t=a.length,u=0;u<t;u++)e[u]=a.charCodeAt(u);for(t=r.l;u<t;u++)e[u]=0;return r.c=e,r.t=4,e}function F2(r,e,a,t,u){if(u==0)return 0;if(t==0&&(u>=a.l||a.t==2&&u>=a.c.length))a.c=r.t==4?rl(r.c,e,u):e==0&&r.c.length==u?r.c:r.c.substr(e,u),a.t=a.c.length==a.l?0:2;else if(a.t==2&&t==a.c.length)a.c+=r.t==4?rl(r.c,e,u):e==0&&r.c.length==u?r.c:r.c.substr(e,u),a.t=a.c.length==a.l?0:2;else{a.t!=4&&Am(a);var i=r.c,f=a.c;if(r.t==4)if(t<=e)for(var x=0;x<u;x++)f[t+x]=i[e+x];else for(var x=u-1;x>=0;x--)f[t+x]=i[e+x];else{for(var v=Math.min(u,i.length-e),x=0;x<v;x++)f[t+x]=i.charCodeAt(e+x);for(;x<u;x++)f[t+x]=0}}return 0}function v6(r,e){if(r==0)return ar;if(e.repeat)return e.repeat(r);for(var a=ar,t=0;;){if(r&1&&(a+=e),r>>=1,r==0)return a;e+=e,t++,t==9&&e.slice(0,1)}}function Em(r){r.t==2?r.c+=v6(r.l-r.c.length,"\0"):r.c=rl(r.c,0,r.c.length),r.t=0}function cj(r){if(r.length<24){for(var e=0;e<r.length;e++)if(r.charCodeAt(e)>Je)return!1;return!0}else return!/[^\x00-\x7f]/.test(r)}function uR(r){for(var e=ar,a=ar,t,u,i,f,x=0,v=r.length;x<v;x++){if(u=r.charCodeAt(x),u<I1){for(var b=x+1;b<v&&(u=r.charCodeAt(b))<I1;b++);if(b-x>BI?(a.substr(0,1),e+=a,a=ar,e+=r.slice(x,b)):a+=r.slice(x,b),b==v)break;x=b}f=1,++x<v&&((i=r.charCodeAt(x))&-64)==La&&(t=i+(u<<6),u<KC?(f=t-12416,f<I1&&(f=1)):(f=2,++x<v&&((i=r.charCodeAt(x))&-64)==La&&(t=i+(t<<6),u<FL?(f=t-925824,(f<vX||f>=55295&&f<57344)&&(f=2)):(f=3,++x<v&&((i=r.charCodeAt(x))&-64)==La&&u<245&&(f=i-63447168+(t<<6),(f<65536||f>1114111)&&(f=3)))))),f<4?(x-=f,a+="\uFFFD"):f>e7?a+=String.fromCharCode(55232+(f>>10),SC+(f&1023)):a+=String.fromCharCode(f),a.length>Lb&&(a.substr(0,1),e+=a,a=ar)}return e+a}function j2(r,e,a){this.t=r,this.c=e,this.l=a}j2.prototype.toString=function(){switch(this.t){case 9:return this.c;default:Em(this);case 0:if(cj(this.c))return this.t=9,this.c;this.t=8;case 8:return this.c}},j2.prototype.toUtf16=function(){var r=this.toString();return this.t==9?r:uR(r)},j2.prototype.slice=function(){var r=this.t==4?this.c.slice():this.c;return new j2(this.t,r,this.l)};function iR(r){return new j2(0,r,r.length)}function HO0(r){return r}function j1(r){return iR(r)}function js(r,e,a,t,u){return F2(j1(r),e,a,t,u),0}function x6(r){return new oe(r[7]<<0|r[6]<<8|r[5]<<16,r[4]<<0|r[3]<<8|r[2]<<16,r[1]<<0|r[0]<<8)}function xn(r,e){switch(r.t&6){default:if(e>=r.c.length)return 0;case 0:return r.c.charCodeAt(e);case 4:return r.c[e]}}function fj(){nt(gF)}function sM(r,e){e>>>0>=r.l-7&&fj();for(var a=new Array(8),t=0;t<8;t++)a[7-t]=xn(r,e+t);return x6(a)}function Me(r,e,a){if(a&=y2,r.t!=4){if(e==r.c.length)return r.c+=String.fromCharCode(a),e+1==r.l&&(r.t=0),0;Am(r)}return r.c[e]=a,0}function N2(r,e,a){return e>>>0>=r.l&&fj(),Me(r,e,a)}function b6(r){return r.toArray()}function vM(r,e,a){e>>>0>=r.l-7&&fj();for(var t=b6(a),u=0;u<8;u++)Me(r,e+7-u,t[u]);return 0}function Ns(r,e){var a=r.l>=0?r.l:r.l=r.length,t=e.length,u=a-t;if(u==0)return r.apply(null,e);if(u<0){var i=r.apply(null,e.slice(0,a));return typeof i!="function"?i:Ns(i,e.slice(a))}else{switch(u){case 1:{var i=function(v){for(var b=new Array(t+1),p=0;p<t;p++)b[p]=e[p];return b[t]=v,r.apply(null,b)};break}case 2:{var i=function(v,b){for(var p=new Array(t+2),m=0;m<t;m++)p[m]=e[m];return p[t]=v,p[t+1]=b,r.apply(null,p)};break}default:var i=function(){for(var x=arguments.length==0?1:arguments.length,v=new Array(e.length+x),b=0;b<e.length;b++)v[b]=e[b];for(var b=0;b<arguments.length;b++)v[e.length+b]=arguments[b];return Ns(r,v)}}return i.l=u,i}}function Aa(r,e){return e>>>0>=r.length-1&&Qb(),r}function xM(r){return isFinite(r)?Math.abs(r)>=22250738585072014e-324?0:r!=0?1:2:isNaN(r)?4:3}function bM(r){return r==Dw?1:0}var lM=Math.log2&&Math.log2(11235582092889474e291)==1020;function pM(r){if(lM)return Math.floor(Math.log2(r));var e=0;if(r==0)return-1/0;if(r>=1)for(;r>=2;)r/=2,e++;else for(;r<1;)r*=2,e--;return e}function oj(r){var e=new Float32Array(1);e[0]=r;var a=new Int32Array(e.buffer);return a[0]|0}function s1(r,e,a){return new oe(r,e,a)}function Om(r){if(!isFinite(r))return isNaN(r)?s1(1,0,KB):r>0?s1(0,0,KB):s1(0,0,65520);var e=r==0&&1/r==-1/0?o7:r>=0?0:o7;e&&(r=-r);var a=pM(r)+1023;a<=0?(a=0,r/=Math.pow(2,-jX)):(r/=Math.pow(2,a-SB),r<16&&(r*=2,a-=1),a==0&&(r/=2));var t=Math.pow(2,24),u=r|0;r=(r-u)*t;var i=r|0;r=(r-i)*t;var f=r|0;return u=u&U_|e|a<<4,s1(f,i,u)}function cR(r,e,a){if(r.write(32,e.dims.length),r.write(32,e.kind|e.layout<<8),e.caml_custom==ek)for(var t=0;t<e.dims.length;t++)e.dims[t]<e7?r.write(16,e.dims[t]):(r.write(16,e7),r.write(32,0),r.write(32,e.dims[t]));else for(var t=0;t<e.dims.length;t++)r.write(32,e.dims[t]);switch(e.kind){case 2:case 3:case 12:for(var t=0;t<e.data.length;t++)r.write(8,e.data[t]);break;case 4:case 5:for(var t=0;t<e.data.length;t++)r.write(16,e.data[t]);break;case 6:for(var t=0;t<e.data.length;t++)r.write(32,e.data[t]);break;case 8:case 9:r.write(8,0);for(var t=0;t<e.data.length;t++)r.write(32,e.data[t]);break;case 7:for(var t=0;t<e.data.length/2;t++)for(var u=b6(e.get(t)),i=0;i<8;i++)r.write(8,u[i]);break;case 1:for(var t=0;t<e.data.length;t++)for(var u=b6(Om(e.get(t))),i=0;i<8;i++)r.write(8,u[i]);break;case 0:for(var t=0;t<e.data.length;t++){var u=oj(e.get(t));r.write(32,u)}break;case 10:for(var t=0;t<e.data.length/2;t++){var i=e.get(t);r.write(32,oj(i[1])),r.write(32,oj(i[2]))}break;case 11:for(var t=0;t<e.data.length/2;t++){for(var f=e.get(t),u=b6(Om(f[1])),i=0;i<8;i++)r.write(8,u[i]);for(var u=b6(Om(f[2])),i=0;i<8;i++)r.write(8,u[i])}break}a[0]=(4+e.dims.length)*4,a[1]=(4+e.dims.length)*8}function sj(r){var e=new Int32Array(1);e[0]=r;var a=new Float32Array(e.buffer);return a[0]}function vj(r){var e=r.lo,a=r.mi,t=r.hi,u=(t&32767)>>4;if(u==hX)return(e|a|t&U_)==0?t&o7?-1/0:1/0:NaN;var i=Math.pow(2,-24),f=(e*i+a)*i+(t&U_);return u>0?(f+=16,f*=Math.pow(2,u-SB)):f*=Math.pow(2,-jX),t&o7&&(f=-f),f}function $t(r){vn.Failure||(vn.Failure=[ta,id,-3]),tj(vn.Failure,r)}function fR(r,e,a){var t=r.read32s();(t<0||t>16)&&$t("input_value: wrong number of bigarray dimensions");var u=r.read32s(),i=u&y2,f=u>>8&1,x=[];if(a==ek)for(var v=0;v<t;v++){var b=r.read16u();if(b==e7){var p=r.read32u(),m=r.read32u();p!=0&&$t("input_value: bigarray dimension overflow in 32bit"),b=m}x.push(b)}else for(var v=0;v<t;v++)x.push(r.read32u());var T=wm(x),g=rR(i,T),O=ij(i,f,x,g);switch(i){case 2:for(var v=0;v<T;v++)g[v]=r.read8s();break;case 3:case 12:for(var v=0;v<T;v++)g[v]=r.read8u();break;case 4:for(var v=0;v<T;v++)g[v]=r.read16s();break;case 5:for(var v=0;v<T;v++)g[v]=r.read16u();break;case 6:for(var v=0;v<T;v++)g[v]=r.read32s();break;case 8:case 9:var j=r.read8u();j&&$t("input_value: cannot read bigarray with 64-bit OCaml ints");for(var v=0;v<T;v++)g[v]=r.read32s();break;case 7:for(var F=new Array(8),v=0;v<T;v++){for(var L=0;L<8;L++)F[L]=r.read8u();var R=x6(F);O.set(v,R)}break;case 1:for(var F=new Array(8),v=0;v<T;v++){for(var L=0;L<8;L++)F[L]=r.read8u();var H=vj(x6(F));O.set(v,H)}break;case 0:for(var v=0;v<T;v++){var H=sj(r.read32s());O.set(v,H)}break;case 10:for(var v=0;v<T;v++){var G=sj(r.read32s()),K=sj(r.read32s());O.set(v,[$3,G,K])}break;case 11:for(var F=new Array(8),v=0;v<T;v++){for(var L=0;L<8;L++)F[L]=r.read8u();for(var G=vj(x6(F)),L=0;L<8;L++)F[L]=r.read8u();var K=vj(x6(F));O.set(v,[$3,G,K])}break}return e[0]=(4+t)*4,ij(i,f,x,g)}function oR(r,e,a){return r.compare(e,a)}function sR(r,e){return Math.imul(r,e)}function P2(r,e){return e=sR(e,-862048943),e=e<<15|e>>>17,e=sR(e,461845907),r^=e,r=r<<13|r>>>19,(r+(r<<2)|0)+-430675100|0}function kM(r,e){return r=P2(r,uj(e)),r=P2(r,nj(e)),r}function vR(r,e){return kM(r,Om(e))}function xR(r){var e=wm(r.dims),a=0;switch(r.kind){case 2:case 3:case 12:e>jb&&(e=jb);var t=0,u=0;for(u=0;u+4<=r.data.length;u+=4)t=r.data[u+0]|r.data[u+1]<<8|r.data[u+2]<<16|r.data[u+3]<<24,a=P2(a,t);switch(t=0,e&3){case 3:t=r.data[u+2]<<16;case 2:t|=r.data[u+1]<<8;case 1:t|=r.data[u+0],a=P2(a,t)}break;case 4:case 5:e>La&&(e=La);var t=0,u=0;for(u=0;u+2<=r.data.length;u+=2)t=r.data[u+0]|r.data[u+1]<<16,a=P2(a,t);(e&1)!=0&&(a=P2(a,r.data[u]));break;case 6:e>64&&(e=64);for(var u=0;u<e;u++)a=P2(a,r.data[u]);break;case 8:case 9:e>64&&(e=64);for(var u=0;u<e;u++)a=P2(a,r.data[u]);break;case 7:e>32&&(e=32),e*=2;for(var u=0;u<e;u++)a=P2(a,r.data[u]);break;case 10:e*=2;case 0:e>64&&(e=64);for(var u=0;u<e;u++)a=vR(a,r.data[u]);break;case 11:e*=2;case 1:e>32&&(e=32);for(var u=0;u<e;u++)a=vR(a,r.data[u]);break}return a}function mM(r,e){return e[0]=4,r.read32s()}function yM(r,e){switch(r.read8u()){case 1:return e[0]=4,r.read32s();case 2:$t("input_value: native integer value too large");default:$t("input_value: ill-formed native integer")}}function dM(r,e){for(var a=new Array(8),t=0;t<8;t++)a[t]=r.read8u();return e[0]=8,x6(a)}function hM(r,e,a){for(var t=b6(e),u=0;u<8;u++)r.write(8,t[u]);a[0]=8,a[1]=8}function _M(r,e,a){return r.compare(e)}function gM(r){return r.lo32()^r.hi32()}var bR={_j:{deserialize:dM,serialize:hM,fixed_length:8,compare:_M,hash:gM},_i:{deserialize:mM,fixed_length:4},_n:{deserialize:yM,fixed_length:4},_bigarray:{deserialize:function(r,e){return fR(r,e,"_bigarray")},serialize:cR,compare:oR,hash:xR},_bigarr02:{deserialize:function(r,e){return fR(r,e,ek)},serialize:cR,compare:oR,hash:xR}};function xj(r){return bR[r.caml_custom]&&bR[r.caml_custom].compare}function lR(r,e,a,t){var u=xj(e);if(u){var i=a>0?u(e,r,t):u(r,e,t);if(t&&i!=i)return a;if(+i!=+i)return+i;if((i|0)!=0)return i|0}return a}function bj(r){return typeof r=="string"&&!/[^\x00-\xff]/.test(r)}function lj(r){return r instanceof j2}function pR(r){if(typeof r=="number")return lb;if(lj(r))return Ab;if(bj(r))return 1252;if(r instanceof Array&&r[0]===r[0]>>>0&&r[0]<=Cp){var e=r[0]|0;return e==$3?0:e}else{if(r instanceof String||typeof r=="string")return yC;if(r instanceof Number)return lb;if(r&&r.caml_custom)return g9;if(r&&r.compare)return 1256;if(typeof r=="function")return 1247;if(typeof r=="symbol")return 1251}return 1001}function Yt(r,e){return r<e?-1:r==e?0:1}function or(r,e){return r<e?-1:r>e?1:0}function TM(r,e){return r.t&6&&Em(r),e.t&6&&Em(e),r.c<e.c?-1:r.c>e.c?1:0}function Im(r,e,a){for(var t=[];;){if(!(a&&r===e)){var u=pR(r);if(u==f6){r=r[1];continue}var i=pR(e);if(i==f6){e=e[1];continue}if(u!==i)return u==lb?i==g9?lR(r,e,-1,a):-1:i==lb?u==g9?lR(e,r,1,a):1:u<i?-1:1;switch(u){case 247:nt(Lh);break;case 248:var x=Yt(r[2],e[2]);if(x!=0)return x|0;break;case 249:nt(Lh);break;case 250:nt("equal: got Forward_tag, should not happen");break;case 251:nt("equal: abstract value");break;case 252:if(r!==e){var x=TM(r,e);if(x!=0)return x|0}break;case 253:nt("equal: got Double_tag, should not happen");break;case 254:nt("equal: got Double_array_tag, should not happen");break;case 255:nt("equal: got Custom_tag, should not happen");break;case 1247:nt(Lh);break;case 1255:var f=xj(r);if(f!=xj(e))return r.caml_custom<e.caml_custom?-1:1;f||nt("compare: abstract value");var x=f(r,e,a);if(x!=x)return a?-1:x;if(x!==(x|0))return-1;if(x!=0)return x|0;break;case 1256:var x=r.compare(e,a);if(x!=x)return a?-1:x;if(x!==(x|0))return-1;if(x!=0)return x|0;break;case 1e3:if(r=+r,e=+e,r<e)return-1;if(r>e)return 1;if(r!=e){if(!a)return NaN;if(r==r)return 1;if(e==e)return-1}break;case 1001:if(r<e)return-1;if(r>e)return 1;if(r!=e){if(!a)return NaN;if(r==r)return 1;if(e==e)return-1}break;case 1251:if(r!==e)return a?1:NaN;break;case 1252:var r=r,e=e;if(r!==e){if(r<e)return-1;if(r>e)return 1}break;case 12520:var r=r.toString(),e=e.toString();if(r!==e){if(r<e)return-1;if(r>e)return 1}break;default:if(bM(u)){nt("compare: continuation value");break}if(r.length!=e.length)return r.length<e.length?-1:1;r.length>1&&t.push(r,e,1);break}}if(t.length==0)return 0;var v=t.pop();e=t.pop(),r=t.pop(),v+1<r.length&&t.push(r,e,v+1),r=r[v],e=e[v]}}function kR(r,e){return Im(r,e,!0)}function SM(){return[0]}function Sa(r){return r<0&&nt("Bytes.create"),new j2(r?2:9,ar,r)}var Fm=[0];function wM(r,e){return Fm!==r?0:(Fm=e,1)}function mR(r){return Fm}function AM(r){Fm=r}function Pv(r,e){return+(Im(r,e,!1)==0)}function EM(r,e,a,t){if(a>0)if(e==0&&(a>=r.l||r.t==2&&a>=r.c.length))t==0?(r.c=ar,r.t=2):(r.c=v6(a,String.fromCharCode(t)),r.t=a==r.l?0:2);else for(r.t!=4&&Am(r),a+=e;e<a;e++)r.c[e]=t;return 0}function pj(r){var e;if(r=r,e=+r,r.length>0&&e===e||(r=r.replace(/_/g,ar),e=+r,r.length>0&&e===e||/^[+-]?nan$/i.test(r)))return e;var a=/^ *([+-]?)0x([0-9a-f]+)\.?([0-9a-f]*)(p([+-]?[0-9]+))?/i.exec(r);if(a){var t=a[3].replace(/0+$/,ar),u=parseInt(a[1]+a[2]+t,16),i=(a[5]|0)-4*t.length;return e=u*Math.pow(2,i),e}if(/^\+?inf(inity)?$/i.test(r))return 1/0;if(/^-inf(inity)?$/i.test(r))return-1/0;$t("float_of_string")}function kj(r){r=r;var e=r.length;e>31&&nt("format_int: format too long");for(var a={justify:$u,signstyle:Wn,filler:Fi,alternate:!1,base:0,signedconv:!1,width:0,uppercase:!1,sign:1,prec:-1,conv:gC},t=0;t<e;t++){var u=r.charAt(t);switch(u){case"-":a.justify=Wn;break;case"+":case" ":a.signstyle=u;break;case"0":a.filler=qt;break;case"#":a.alternate=!0;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(a.width=0;u=r.charCodeAt(t)-48,u>=0&&u<=9;)a.width=a.width*10+u,t++;t--;break;case".":for(a.prec=0,t++;u=r.charCodeAt(t)-48,u>=0&&u<=9;)a.prec=a.prec*10+u,t++;t--;case"d":case"i":a.signedconv=!0;case"u":a.base=10;break;case"x":a.base=16;break;case"X":a.base=16,a.uppercase=!0;break;case"o":a.base=8;break;case"e":case"f":case"g":a.signedconv=!0,a.conv=u;break;case"E":case"F":case"G":a.signedconv=!0,a.uppercase=!0,a.conv=u.toLowerCase();break}}return a}function mj(r,e){r.uppercase&&(e=e.toUpperCase());var