lic",oO=68115,aO=43712,S6=65598,g6=126547,cO=110591,Aa="indexed_access",AY=12520,e7="interface",NY=`(Program not linked with -g, cannot print stack backtrace)
`,v1=-46,Na="string_literal_type",Ca="import_namespace_specifier",sO=120132,F6=11735,vO=67505,T6=119893,O6="bool",Q2=1e3,_i="default",lO=236,C="",bO="exportKind",CY="trailingComments",I6="^",pO=71983,mO=8348,_O=66977,yO=65594,Pa="logical",Da="jsx_member_expression_identifier",A6=210,PY="cooked",La="for_of_left_declaration",Ov=63,hO=72202,l7="argument",dO=12442,kO=43645,N6=120085,wO=42539,C6=126468,DY=166,LY="Match_failure",EO=68191,Su="src/parser/flow_ast.ml",P6=11647,Ra="declare_variable",xs="+",SO=71127,D6=120145,ja="declare_export_declaration_decl",L6=64318,RY=179,Ga="class_implements",jY="!=",GY="inexact",MY="%li",BY=237,rl="a",R6=73062,gO=178,Ma=65278,Ba="function_rest_param_type",FO=77711,TO=70066,OO=43714,qY=-696510241,j6=70480,IO=69748,AO=113788,NO=94207,UY=`\r
`,qa="class_body",CO=126651,PO=68735,DO=43273,G6=119996,M6=67644,HY=224,Ua="catch_clause_pattern",Ha="boolean_literal_type",B6=126554,q6=126557,LO=113807,U6=126536,XY="%",Iv="property",RO=71956,YY="#",jO=123213,el="meta",Xa="for_of_assignment_pattern",Ya="if_statement",GO=66421,MO=8505,BO=225,nl=250,qO=100343,H6="Literal",UO=42887,Av=115,VY=";",HO=1255,XO="=",YO=126566,VO=93823,Va="opaque_type",zY="!==",za="jsx_attribute",Ka="type_annotation_hint",Mi=32768,zO=73727,KY="range",WY=245,KO="jsError",X6=70006,WO=43492,Y6="@]}",tr="(Some ",JO=8477,JY=129,$O=71487,V6=126564,$Y=`
`,ZO=126514,QO=70080,Wa="generic_identifier_type",rI=66811,Ja="typeof_identifier",ZY="~",eI=65007,$a="pattern_object_rest_property_pattern",nI=194,QY=1039100673,tI=66461,uI=70319,z6=11719,iI=72271,$t=-48,Za="enum_string_body",fI=70461,Qa="export_named_declaration",xI=110930,oI=92862,rV="??=",aI=70440,K6="while",su="camlinternalFormat.ml",cI=43782,eV=203,sI=173791,vI=11263,lI=1114111,bI=42969,W6=70750,rc="jsx_identifier",pI=70105,mI=43014,_I=11564,ec="typeof_type",nV="EEXIST",yI=64847,hI=71167,dI=42511,kI=72712,wI=92995,EI=43704,tl=121,nc="object_call_property_type",SI=64433,ul="operator",J6=68296,tc="class_decorator",uc=120,ic="for_of_statement_lhs",gI=11623,FI=67004,TI=71999,OI=70708,II=512,AI=110927,NI=71423,tV=32752,CI=93951,PI=12292,fc="object_type",$6="types",DI=110580,uV=177,LI=126633,RI=12686,xc=8286,iV=144,jI=73647,fV=228,Z6=70855,l1="0x",GI=70366,MI=`
`,oc="variable_declaration",BI=65276,Q6=119981,qI=71945,UI=43887,j7=105,HI=8335,XI=123565,YI=69505,VI=70187,ac="jsx_attribute_name_identifier",cc="source",sc="pattern_object_property_key",rp=65548,zI=66175,KI=92766,vc="pattern_assignment_pattern",lc="object_type_property_getter",ep=8305,G7="generator",np="for",xV="PropertyDefinition",oV="--",vu=-36,WI="mkdir",JI=68223,bc="generic_qualified_identifier_type",$I=11686,pc="jsx_closing_element",ZI=43790,tp=": No such file or directory",QI=69687,rA=66348,up=72162,eA=43388,nA=72768,tA=68351,h="<2>",ip=64297,uA=125259,iA=220,zr=",@ ",aV="win32",fp=70281,mc="member_property_identifier",fA=68149,xA=68111,oA=71450,aA=43009,_c="member_property",cA=73458,yi="identifier",sA=67423,vA=66775,lA=110951,cV="Internal Error: Found object private prop",yc="super_expression",hc="jsx_opening_element",bA=177976,dc="variable_declarator_pattern",kc="pattern_expression",wc="jsx_member_expression_object",pA=68252,mA=77808,Nv=-835925911,Ec="import_declaration",_A=55203,sV="Pervasives.do_at_exit",vV="utf8",ii="key",yA=43702,Sc="spread_property",xp=126563,hA=863850040,dA=70106,op=67592,gc="function_expression_or_method",kA=71958,Fc="for_init_declaration",wA=71955,ap=123214,EA=68479,lV="==",SA=43019,gA=123180,cp=217,Cv="specifiers",Tc="function_body",FA=69622,sp=8487,TA=43641,bV="Unexpected token `",pV="v",OA=123135,IA=69295,vp=120093,AA=8521,lp=43642,mV=176;function Vu0(t,n,e,i,x){if(i<=n)for(var c=1;c<=x;c++)e[i+c]=t[n+c];else for(var c=x;c>=1;c--)e[i+c]=t[n+c];return 0}function zu0(t){for(var n=[0];t!==0;){for(var e=t[1],i=1;i<e.length;i++)n.push(e[i]);t=t[2]}return n}function Ku0(t,n,e){var i=new Array(e+1);i[0]=0;for(var x=1,c=n+1;x<=e;x++,c++)i[x]=t[c];return i}function NA(t,n,e){var i=String.fromCharCode;if(n==0&&e<=vX&&e==t.length)return i.apply(null,t);for(var x=C;0<e;n+=L2,e-=L2)x+=i.apply(null,t.slice(n,n+Math.min(e,L2)));return x}function bp(t){if(z0.Uint8Array)var n=new z0.Uint8Array(t.l);else var n=new Array(t.l);for(var e=t.c,i=e.length,x=0;x<i;x++)n[x]=e.charCodeAt(x);for(i=t.l;x<i;x++)n[x]=0;return t.c=n,t.t=4,n}function Fs(t,n,e,i,x){if(x==0)return 0;if(i==0&&(x>=e.l||e.t==2&&x>=e.c.length))e.c=t.t==4?NA(t.c,n,x):n==0&&t.c.length==x?t.c:t.c.substr(n,x),e.t=e.c.length==e.l?0:2;else if(e.t==2&&i==e.c.length)e.c+=t.t==4?NA(t.c,n,x):n==0&&t.c.length==x?t.c:t.c.substr(n,x),e.t=e.c.length==e.l?0:2;else{e.t!=4&&bp(e);var c=t.c,s=e.c;if(t.t==4)if(i<=n)for(var p=0;p<x;p++)s[i+p]=c[n+p];else for(var p=x-1;p>=0;p--)s[i+p]=c[n+p];else{for(var y=Math.min(x,c.length-n),p=0;p<y;p++)s[i+p]=c.charCodeAt(n+p);for(;p<x;p++)s[i+p]=0}}return 0}function toe(t){return t}function Ts(t,n,e,i,x){return Fs(t,n,e,i,x),0}function Wu0(t,n){throw[0,t,n]}function Pv(t,n){if(t==0)return C;if(n.repeat)return n.repeat(t);for(var e=C,i=0;;){if(t&1&&(e+=n),t>>=1,t==0)return e;n+=n,i++,i==9&&n.slice(0,1)}}function Dv(t){t.t==2?t.c+=Pv(t.l-t.c.length,"\0"):t.c=NA(t.c,0,t.c.length),t.t=0}function _V(t){if(t.length<24){for(var n=0;n<t.length;n++)if(t.charCodeAt(n)>Jn)return!1;return!0}else return!/[^\x00-\x7f]/.test(t)}function CA(t){for(var n=C,e=C,i,x,c,s,p=0,y=t.length;p<y;p++){if(x=t.charCodeAt(p),x<Pi){for(var T=p+1;T<y&&(x=t.charCodeAt(T))<Pi;T++);if(T-p>II?(e.substr(0,1),n+=e,e=C,n+=t.slice(p,T)):e+=t.slice(p,T),T==y)break;p=T}s=1,++p<y&&((c=t.charCodeAt(p))&-64)==jt&&(i=c+(x<<6),x<HY?(s=i-12416,s<Pi&&(s=1)):(s=2,++p<y&&((c=t.charCodeAt(p))&-64)==jt&&(i=c+(i<<6),x<LX?(s=i-925824,(s<YX||s>=55295&&s<57344)&&(s=2)):(s=3,++p<y&&((c=t.charCodeAt(p))&-64)==jt&&x<245&&(s=c-63447168+(i<<6),(s<65536||s>1114111)&&(s=3)))))),s<4?(p-=s,e+="\uFFFD"):s>Li?e+=String.fromCharCode(55232+(s>>10),NH+(s&1023)):e+=String.fromCharCode(s),e.length>L2&&(e.substr(0,1),n+=e,e=C)}return n+e}function Oc(t,n,e){this.t=t,this.c=n,this.l=e}Oc.prototype.toString=function(){switch(this.t){case 9:return this.c;default:Dv(this);case 0:if(_V(this.c))return this.t=9,this.c;this.t=8;case 8:return this.c}},Oc.prototype.toUtf16=function(){var t=this.toString();return this.t==9?t:CA(t)},Oc.prototype.slice=function(){var t=this.t==4?this.c.slice():this.c;return new Oc(this.t,t,this.l)};function yV(t){return new Oc(0,t,t.length)}function r(t){return yV(t)}function PA(t,n){Wu0(t,r(n))}var Kt=[0];function lu(t){PA(Kt.Invalid_argument,t)}function hV(){lu(qS)}function Qn(t,n,e){if(e&=us,t.t!=4){if(n==t.c.length)return t.c+=String.fromCharCode(e),n+1==t.l&&(t.t=0),0;bp(t)}return t.c[n]=e,0}function b1(t,n,e){return n>>>0>=t.l&&hV(),Qn(t,n,e)}function Xu(t,n){switch(t.t&6){default:if(n>=t.c.length)return 0;case 0:return t.c.charCodeAt(n);case 4:return t.c[n]}}function os(t,n){if(t.fun)return os(t.fun,n);if(typeof t!="function")return t;var e=t.length|0;if(e===0)return t.apply(null,n);var i=n.length|0,x=e-i|0;return x==0?t.apply(null,n):x<0?os(t.apply(null,n.slice(0,e)),n.slice(e)):function(){for(var c=arguments.length==0?1:arguments.length,s=new Array(n.length+c),p=0;p<n.length;p++)s[p]=n[p];for(var p=0;p<arguments.length;p++)s[n.length+p]=arguments[p];return os(t,s)}}function il(){lu(qS)}function uu(t,n){return n>>>0>=t.length-1&&il(),t}function Ju0(t){return isFinite(t)?Math.abs(t)>=22250738585072014e-324?0:t!=0?1:2:isNaN(t)?4:3}function Ic(t){return(t.t&6)!=0&&Dv(t),t.c}var $u0=Math.log2&&Math.log2(11235582092889474e291)==1020;function Zu0(t){if($u0)return Math.floor(Math.log2(t));var n=0;if(t==0)return-1/0;if(t>=1)for(;t>=2;)t/=2,n++;else for(;t<1;)t*=2,n--;return n}function DA(t){var n=new z0.Float32Array(1);n[0]=t;var e=new z0.Int32Array(n.buffer);return e[0]|0}var dV=Math.pow(2,-24);function kV(t){throw t}function wV(){kV(Kt.Division_by_zero)}function sn(t,n,e){this.lo=t&Ex,this.mi=n&Ex,this.hi=e&Li}sn.prototype.caml_custom="_j",sn.prototype.copy=function(){return new sn(this.lo,this.mi,this.hi)},sn.prototype.ucompare=function(t){return this.hi>t.hi?1:this.hi<t.hi?-1:this.mi>t.mi?1:this.mi<t.mi?-1:this.lo>t.lo?1:this.lo<t.lo?-1:0},sn.prototype.compare=function(t){var n=this.hi<<16,e=t.hi<<16;return n>e?1:n<e?-1:this.mi>t.mi?1:this.mi<t.mi?-1:this.lo>t.lo?1:this.lo<t.lo?-1:0},sn.prototype.neg=function(){var t=-this.lo,n=-this.mi+(t>>24),e=-this.hi+(n>>24);return new sn(t,n,e)},sn.prototype.add=function(t){var n=this.lo+t.lo,e=this.mi+t.mi+(n>>24),i=this.hi+t.hi+(e>>24);return new sn(n,e,i)},sn.prototype.sub=function(t){var n=this.lo-t.lo,e=this.mi-t.mi+(n>>24),i=this.hi-t.hi+(e>>24);return new sn(n,e,i)},sn.prototype.mul=function(t){var n=this.lo*t.lo,e=(n*dV|0)+this.mi*t.lo+this.lo*t.mi,i=(e*dV|0)+this.hi*t.lo+this.mi*t.mi+this.lo*t.hi;return new sn(n,e,i)},sn.prototype.isZero=function(){return(this.lo|this.mi|this.hi)==0},sn.prototype.isNeg=function(){return this.hi<<16<0},sn.prototype.and=function(t){return new sn(this.lo&t.lo,this.mi&t.mi,this.hi&t.hi)},sn.prototype.or=function(t){return new sn(this.lo|t.lo,this.mi|t.mi,this.hi|t.hi)},sn.prototype.xor=function(t){return new sn(this.lo^t.lo,this.mi^t.mi,this.hi^t.hi)},sn.prototype.shift_left=function(t){return t=t&63,t==0?this:t<24?new sn(this.lo<<t,this.mi<<t|this.lo>>24-t,this.hi<<t|this.mi>>24-t):t<48?new sn(0,this.lo<<t-24,this.mi<<t-24|this.lo>>48-t):new sn(0,0,this.lo<<t-48)},sn.prototype.shift_right_unsigned=function(t){return t=t&63,t==0?this:t<24?new sn(this.lo>>t|this.mi<<24-t,this.mi>>t|this.hi<<24-t,this.hi>>t):t<48?new sn(this.mi>>t-24|this.hi<<48-t,this.hi>>t-24,0):new sn(this.hi>>t-48,0,0)},sn.prototype.shift_right=function(t){if(t=t&63,t==0)return this;var n=this.hi<<16>>16;if(t<24)return new sn(this.lo>>t|this.mi<<24-t,this.mi>>t|n<<24-t,this.hi<<16>>t>>>16);var e=this.hi<<16>>31;return t<48?new sn(this.mi>>t-24|this.hi<<48-t,this.hi<<16>>t-24>>16,e&Li):new sn(this.hi<<16>>t-32,e,e)},sn.prototype.lsl1=function(){this.hi=this.hi<<1|this.mi>>23,this.mi=(this.mi<<1|this.lo>>23)&Ex,this.lo=this.lo<<1&Ex},sn.prototype.lsr1=function(){this.lo=(this.lo>>>1|this.mi<<23)&Ex,this.mi=(this.mi>>>1|this.hi<<23)&Ex,this.hi=this.hi>>>1},sn.prototype.udivmod=function(t){for(var n=0,e=this.copy(),i=t.copy(),x=new sn(0,0,0);e.ucompare(i)>0;)n++,i.lsl1();for(;n>=0;)n--,x.lsl1(),e.ucompare(i)>=0&&(x.lo++,e=e.sub(i)),i.lsr1();return{quotient:x,modulus:e}},sn.prototype.div=function(t){var n=this;t.isZero()&&wV();var e=n.hi^t.hi;n.hi&Mi&&(n=n.neg()),t.hi&Mi&&(t=t.neg());var i=n.udivmod(t).quotient;return e&Mi&&(i=i.neg()),i},sn.prototype.mod=function(t){var n=this;t.isZero()&&wV();var e=n.hi;n.hi&Mi&&(n=n.neg()),t.hi&Mi&&(t=t.neg());var i=n.udivmod(t).modulus;return e&Mi&&(i=i.neg()),i},sn.prototype.toInt=function(){return this.lo|this.mi<<24},sn.prototype.toFloat=function(){return(this.hi<<16)*Math.pow(2,32)+this.mi*Math.pow(2,24)+this.lo},sn.prototype.toArray=function(){return[this.hi>>8,this.hi&us,this.mi>>16,this.mi>>8&us,this.mi&us,this.lo>>16,this.lo>>8&us,this.lo&us]},sn.prototype.lo32=function(){return this.lo|(this.mi&us)<<24},sn.prototype.hi32=function(){return this.mi>>>8&Li|this.hi<<16};function pp(t,n,e){return new sn(t,n,e)}function mp(t){if(!isFinite(t))return isNaN(t)?pp(1,0,tV):t>0?pp(0,0,tV):pp(0,0,65520);var n=t==0&&1/t==-1/0?Mi:t>=0?0:Mi;n&&(t=-t);var e=Zu0(t)+1023;e<=0?(e=0,t/=Math.pow(2,-rH)):(t/=Math.pow(2,e-uU),t<16&&(t*=2,e-=1),e==0&&(t/=2));var i=Math.pow(2,24),x=t|0;t=(t-x)*i;var c=t|0;t=(t-c)*i;var s=t|0;return x=x&eF|n|e<<4,pp(s,c,x)}function fl(t){return t.toArray()}function EV(t,n,e){if(t.write(32,n.dims.length),t.write(32,n.kind|n.layout<<8),n.caml_custom==v3)for(var i=0;i<n.dims.length;i++)n.dims[i]<Li?t.write(16,n.dims[i]):(t.write(16,Li),t.write(32,0),t.write(32,n.dims[i]));else for(var i=0;i<n.dims.length;i++)t.write(32,n.dims[i]);switch(n.kind){case 2:case 3:case 12:for(var i=0;i<n.data.length;i++)t.write(8,n.data[i]);break;case 4:case 5:for(var i=0;i<n.data.length;i++)t.write(16,n.data[i]);break;case 6:for(var i=0;i<n.data.length;i++)t.write(32,n.data[i]);break;case 8:case 9:t.write(8,0);for(var i=0;i<n.data.length;i++)t.write(32,n.data[i]);break;case 7:for(var i=0;i<n.data.length/2;i++)for(var x=fl(n.get(i)),c=0;c<8;c++)t.write(8,x[c]);break;case 1:for(var i=0;i<n.data.length;i++)for(var x=fl(mp(n.get(i))),c=0;c<8;c++)t.write(8,x[c]);break;case 0:for(var i=0;i<n.data.length;i++){var x=DA(n.get(i));t.write(32,x)}break;case 10:for(var i=0;i<n.data.length/2;i++){var c=n.get(i);t.write(32,DA(c[1])),t.write(32,DA(c[2]))}break;case 11:for(var i=0;i<n.data.length/2;i++){for(var s=n.get(i),x=fl(mp(s[1])),c=0;c<8;c++)t.write(8,x[c]);for(var x=fl(mp(s[2])),c=0;c<8;c++)t.write(8,x[c])}break}e[0]=(4+n.dims.length)*4,e[1]=(4+n.dims.length)*8}function SV(t){switch(t){case 7:case 10:case 11:return 2;default:return 1}}function Qu0(t,n){var e=z0,i;switch(t){case 0:i=e.Float32Array;break;case 1:i=e.Float64Array;break;case 2:i=e.Int8Array;break;case 3:i=e.Uint8Array;break;case 4:i=e.Int16Array;break;case 5:i=e.Uint16Array;break;case 6:i=e.Int32Array;break;case 7:i=e.Int32Array;break;case 8:i=e.Int32Array;break;case 9:i=e.Int32Array;break;case 10:i=e.Float32Array;break;case 11:i=e.Float64Array;break;case 12:i=e.Uint8Array;break}i||lu("Bigarray.create: unsupported kind");var x=new i(n*SV(t));return x}function LA(t){var n=new z0.Int32Array(1);n[0]=t;var e=new z0.Float32Array(n.buffer);return e[0]}function xl(t){return new sn(t[7]<<0|t[6]<<8|t[5]<<16,t[4]<<0|t[3]<<8|t[2]<<16,t[1]<<0|t[0]<<8)}function RA(t){var n=t.lo,e=t.mi,i=t.hi,x=(i&32767)>>4;if(x==nX)return(n|e|i&eF)==0?i&Mi?-1/0:1/0:NaN;var c=Math.pow(2,-24),s=(n*c+e)*c+(i&eF);return x>0?(s+=16,s*=Math.pow(2,x-uU)):s*=Math.pow(2,-rH),i&Mi&&(s=-s),s}function jA(t){for(var n=t.length,e=1,i=0;i<n;i++)t[i]<0&&lu("Bigarray.create: negative dimension"),e=e*t[i];return e}function r70(t,n){return new sn(t&Ex,t>>>24&us|(n&Li)<<8,n>>>16&Li)}function GA(t){return t.hi32()}function MA(t){return t.lo32()}var e70=v3;function Os(t,n,e,i){this.kind=t,this.layout=n,this.dims=e,this.data=i}Os.prototype.caml_custom=e70,Os.prototype.offset=function(t){var n=0;if(typeof t=="number"&&(t=[t]),t instanceof Array||lu("bigarray.js: invalid offset"),this.dims.length!=t.length&&lu("Bigarray.get/set: bad number of dimensions"),this.layout==0)for(var e=0;e<this.dims.length;e++)(t[e]<0||t[e]>=this.dims[e])&&il(),n=n*this.dims[e]+t[e];else for(var e=this.dims.length-1;e>=0;e--)(t[e]<1||t[e]>this.dims[e])&&il(),n=n*this.dims[e]+(t[e]-1);return n},Os.prototype.get=function(t){switch(this.kind){case 7:var n=this.data[t*2+0],e=this.data[t*2+1];return r70(n,e);case 10:case 11:var i=this.data[t*2+0],x=this.data[t*2+1];return[gv,i,x];default:return this.data[t]}},Os.prototype.set=function(t,n){switch(this.kind){case 7:this.data[t*2+0]=MA(n),this.data[t*2+1]=GA(n);break;case 10:case 11:this.data[t*2+0]=n[1],this.data[t*2+1]=n[2];break;default:this.data[t]=n;break}return 0},Os.prototype.fill=function(t){switch(this.kind){case 7:var n=MA(t),e=GA(t);if(n==e)this.data.fill(n);else for(var i=0;i<this.data.length;i++)this.data[i]=i%2==0?n:e;break;case 10:case 11:var x=t[1],c=t[2];if(x==c)this.data.fill(x);else for(var i=0;i<this.data.length;i++)this.data[i]=i%2==0?x:c;break;default:this.data.fill(t);break}},Os.prototype.compare=function(t,n){if(this.layout!=t.layout||this.kind!=t.kind){var e=this.kind|this.layout<<8,i=t.kind|t.layout<<8;return i-e}if(this.dims.length!=t.dims.length)return t.dims.length-this.dims.length;for(var x=0;x<this.dims.length;x++)if(this.dims[x]!=t.dims[x])return this.dims[x]<t.dims[x]?-1:1;switch(this.kind){case 0:case 1:case 10:case 11:for(var c,s,x=0;x<this.data.length;x++){if(c=this.data[x],s=t.data[x],c<s)return-1;if(c>s)return 1;if(c!=s){if(!n)return NaN;if(c==c)return 1;if(s==s)return-1}}break;case 7:for(var x=0;x<this.data.length;x+=2){if(this.data[x+1]<t.data[x+1])return-1;if(this.data[x+1]>t.data[x+1])return 1;if(this.data[x]>>>0<t.data[x]>>>0)return-1;if(this.data[x]>>>0>t.data[x]>>>0)return 1}break;case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 12:for(var x=0;x<this.data.length;x++){if(this.data[x]<t.data[x])return-1;if(this.data[x]>t.data[x])return 1}break}return 0};function Lv(t,n,e,i){this.kind=t,this.layout=n,this.dims=e,this.data=i}Lv.prototype=new Os,Lv.prototype.offset=function(t){return typeof t!="number"&&(t instanceof Array&&t.length==1?t=t[0]:lu("Ml_Bigarray_c_1_1.offset")),(t<0||t>=this.dims[0])&&il(),t},Lv.prototype.get=function(t){return this.data[t]},Lv.prototype.set=function(t,n){return this.data[t]=n,0},Lv.prototype.fill=function(t){return this.data.fill(t),0};function gV(t,n,e,i){var x=SV(t);return jA(e)*x!=i.length&&lu("length doesn't match dims"),n==0&&e.length==1&&x==1?new Lv(t,n,e,i):new Os(t,n,e,i)}function n7(t){PA(Kt.Failure,t)}function FV(t,n,e){var i=t.read32s();(i<0||i>16)&&n7("input_value: wrong number of bigarray dimensions");var x=t.read32s(),c=x&us,s=x>>8&1,p=[];if(e==v3)for(var y=0;y<i;y++){var T=t.read16u();if(T==Li){var E=t.read32u(),d=t.read32u();E!=0&&n7("input_value: bigarray dimension overflow in 32bit"),T=d}p.push(T)}else for(var y=0;y<i;y++)p.push(t.read32u());var w=jA(p),G=Qu0(c,w),A=gV(c,s,p,G);switch(c){case 2:for(var y=0;y<w;y++)G[y]=t.read8s();break;case 3:case 12:for(var y=0;y<w;y++)G[y]=t.read8u();break;case 4:for(var y=0;y<w;y++)G[y]=t.read16s();break;case 5:for(var y=0;y<w;y++)G[y]=t.read16u();break;case 6:for(var y=0;y<w;y++)G[y]=t.read32s();break;case 8:case 9:var S=t.read8u();S&&n7("input_value: cannot read bigarray with 64-bit OCaml ints");for(var y=0;y<w;y++)G[y]=t.read32s();break;case 7:for(var k0=new Array(8),y=0;y<w;y++){for(var M=0;M<8;M++)k0[M]=t.read8u();var K=xl(k0);A.set(y,K)}break;case 1:for(var k0=new Array(8),y=0;y<w;y++){for(var M=0;M<8;M++)k0[M]=t.read8u();var V=RA(xl(k0));A.set(y,V)}break;case 0:for(var y=0;y<w;y++){var V=LA(t.read32s());A.set(y,V)}break;case 10:for(var y=0;y<w;y++){var f0=LA(t.read32s()),m0=LA(t.read32s());A.set(y,[gv,f0,m0])}break;case 11:for(var k0=new Array(8),y=0;y<w;y++){for(var M=0;M<8;M++)k0[M]=t.read8u();for(var f0=RA(xl(k0)),M=0;M<8;M++)k0[M]=t.read8u();var m0=RA(xl(k0));A.set(y,[gv,f0,m0])}break}return n[0]=(4+i)*4,gV(c,s,p,G)}function TV(t,n,e){return t.compare(n,e)}function OV(t,n){return Math.imul(t,n)}function as(t,n){return n=OV(n,-862048943),n=n<<15|n>>>32-15,n=OV(n,461845907),t^=n,t=t<<13|t>>>32-13,(t+(t<<2)|0)+-430675100|0}function n70(t,n){return t=as(t,MA(n)),t=as(t,GA(n)),t}function IV(t,n){return n70(t,mp(n))}function AV(t){var n=jA(t.dims),e=0;switch(t.kind){case 2:case 3:case 12:n>N4&&(n=N4);var i=0,x=0;for(x=0;x+4<=t.data.length;x+=4)i=t.data[x+0]|t.data[x+1]<<8|t.data[x+2]<<16|t.data[x+3]<<24,e=as(e,i);switch(i=0,n&3){case 3:i=t.data[x+2]<<16;case 2:i|=t.data[x+1]<<8;case 1:i|=t.data[x+0],e=as(e,i)}break;case 4:case 5:n>jt&&(n=jt);var i=0,x=0;for(x=0;x+2<=t.data.length;x+=2)i=t.data[x+0]|t.data[x+1]<<16,e=as(e,i);(n&1)!=0&&(e=as(e,t.data[x]));break;case 6:n>64&&(n=64);for(var x=0;x<n;x++)e=as(e,t.data[x]);break;case 8:case 9:n>64&&(n=64);for(var x=0;x<n;x++)e=as(e,t.data[x]);break;case 7:n>32&&(n=32),n*=2;for(var x=0;x<n;x++)e=as(e,t.data[x]);break;case 10:n*=2;case 0:n>64&&(n=64);for(var x=0;x<n;x++)e=IV(e,t.data[x]);break;case 11:n*=2;case 1:n>32&&(n=32);for(var x=0;x<n;x++)e=IV(e,t.data[x]);break}return e}function t70(t,n){return n[0]=4,t.read32s()}function u70(t,n){switch(t.read8u()){case 1:return n[0]=4,t.read32s();case 2:n7("input_value: native integer value too large");default:n7("input_value: ill-formed native integer")}}function i70(t,n){for(var e=new Array(8),i=0;i<8;i++)e[i]=t.read8u();return n[0]=8,xl(e)}function f70(t,n,e){for(var i=fl(n),x=0;x<8;x++)t.write(8,i[x]);e[0]=8,e[1]=8}function x70(t,n,e){return t.compare(n)}function o70(t){return t.lo32()^t.hi32()}var NV={_j:{deserialize:i70,serialize:f70,fixed_length:8,compare:x70,hash:o70},_i:{deserialize:t70,fixed_length:4},_n:{deserialize:u70,fixed_length:4},_bigarray:{deserialize:function(t,n){return FV(t,n,"_bigarray")},serialize:EV,compare:TV,hash:AV},_bigarr02:{deserialize:function(t,n){return FV(t,n,v3)},serialize:EV,compare:TV,hash:AV}};function BA(t){return NV[t.caml_custom]&&NV[t.caml_custom].compare}function CV(t,n,e,i){var x=BA(n);if(x){var c=e>0?x(n,t,i):x(t,n,i);if(i&&c!=c)return e;if(+c!=+c)return+c;if((c|0)!=0)return c|0}return e}function _p(t){return t instanceof Oc}function qA(t){return _p(t)}function PV(t){if(typeof t=="number")return Q2;if(_p(t))return Y2;if(qA(t))return 1252;if(t instanceof Array&&t[0]===t[0]>>>0&&t[0]<=gw){var n=t[0]|0;return n==gv?0:n}else{if(t instanceof String)return AY;if(typeof t=="string")return AY;if(t instanceof Number)return Q2;if(t&&t.caml_custom)return HO;if(t&&t.compare)return 1256;if(typeof t=="function")return 1247;if(typeof t=="symbol")return 1251}return 1001}function Ac(t,n){return t<n?-1:t==n?0:1}function DV(t,n){return t.t&6&&Dv(t),n.t&6&&Dv(n),t.c<n.c?-1:t.c>n.c?1:0}function Ee(t,n){return DV(t,n)}function yp(t,n,e){for(var i=[];;){if(!(e&&t===n)){var x=PV(t);if(x==nl){t=t[1];continue}var c=PV(n);if(c==nl){n=n[1];continue}if(x!==c)return x==Q2?c==HO?CV(t,n,-1,e):-1:c==Q2?x==HO?CV(n,t,1,e):1:x<c?-1:1;switch(x){case 247:lu(gd);break;case 248:var p=Ac(t[2],n[2]);if(p!=0)return p|0;break;case 249:lu(gd);break;case 250:lu("equal: got Forward_tag, should not happen");break;case 251:lu("equal: abstract value");break;case 252:if(t!==n){var p=DV(t,n);if(p!=0)return p|0}break;case 253:lu("equal: got Double_tag, should not happen");break;case 254:lu("equal: got Double_array_tag, should not happen");break;case 255:lu("equal: got Custom_tag, should not happen");break;case 1247:lu(gd);break;case 1255:var s=BA(t);if(s!=BA(n))return t.caml_custom<n.caml_custom?-1:1;s||lu("compare: abstract value");var p=s(t,n,e);if(p!=p)return e?-1:p;if(p!==(p|0))return-1;if(p!=0)return p|0;break;case 1256:var p=t.compare(n,e);if(p!=p)return e?-1:p;if(p!==(p|0))return-1;if(p!=0)return p|0;break;case 1e3:if(t=+t,n=+n,t<n)return-1;if(t>n)return 1;if(t!=n){if(!e)return NaN;if(t==t)return 1;if(n==n)return-1}break;case 1001:if(t<n)return-1;if(t>n)return 1;if(t!=n){if(!e)return NaN;if(t==t)return 1;if(n==n)return-1}break;case 1251:if(t!==n)return e?1:NaN;break;case 1252:var t=Ic(t),n=Ic(n);if(t!==n){if(t<n)return-1;if(t>n)return 1}break;case 12520:var t=t.toString(),n=n.toString();if(t!==n){if(t<n)return-1;if(t>n)return 1}break;case 246:case 254:default:if(t.length!=n.length)return t.length<n.length?-1:1;t.length>1&&i.push(t,n,1);break}}if(i.length==0)return 0;var y=i.pop();n=i.pop(),t=i.pop(),y+1<t.length&&i.push(t,n,y+1),t=t[y],n=n[y]}}function LV(t,n){return yp(t,n,!0)}function a70(){return[0]}function Lt(t){return t<0&&lu("Bytes.create"),new Oc(t?2:9,C,t)}function RV(t,n){return+(yp(t,n,!1)==0)}function c70(t,n,e,i){if(e>0)if(n==0&&(e>=t.l||t.t==2&&e>=t.c.length))i==0?(t.c=C,t.t=2):(t.c=Pv(e,String.fromCharCode(i)),t.t=e==t.l?0:2);else for(t.t!=4&&bp(t),e+=n;n<e;n++)t.c[n]=i;return 0}function ol(t){var n;if(t=Ic(t),n=+t,t.length>0&&n===n||(t=t.replace(/_/g,C),n=+t,t.length>0&&n===n||/^[+-]?nan$/i.test(t)))return n;var e=/^ *([+-]?)0x([0-9a-f]+)\.?([0-9a-f]*)p([+-]?[0-9]+)/i.exec(t);if(e){var i=e[3].replace(/0+$/,C),x=parseInt(e[1]+e[2]+i,16),c=(e[4]|0)-4*i.length;return n=x*Math.pow(2,c),n}if(/^\+?inf(inity)?$/i.test(t))return 1/0;if(/^-inf(inity)?$/i.test(t))return-1/0;n7("float_of_string")}function UA(t){t=Ic(t);var n=t.length;n>31&&lu("format_int: format too long");for(var e={justify:xs,signstyle:Fa,filler:pi,alternate:!1,base:0,signedconv:!1,width:0,uppercase:!1,sign:1,prec:-1,conv:oY},i=0;i<n;i++){var x=t.charAt(i);switch(x){case"-":e.justify=Fa;break;case"+":case" ":e.signstyle=x;break;case"0":e.filler=Zu;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;x=t.charCodeAt(i)-48,x>=0&&x<=9;)e.width=e.width*10+x,i++;i--;break;case".":for(e.prec=0,i++;x=t.charCodeAt(i)-48,x>=0&&x<=9;)e.prec=e.prec*10+x,i++;i--;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=x;break;case"E":case"F":case"G":e.signedconv=!0,e.uppercase=!0,e.conv=x.toLowerCase();break}}return e}function HA(t,n){t.uppercase&&(n=n.toUpperCase());var e=n.length;t.signedconv&&(t.sign<0||t.signstyle!=Fa)&&e++,t.alternate&&(t.base==8&&(e+=1),t.base==16&&(e+=2));var i=C;if(t.justify==xs&&t.filler==pi)for(var x=e;x<t.width;x++)i+=pi;if(t.signedconv&&(t.sign<0?i+=Fa:t.signstyle!=Fa&&(i+=t.signstyle)),t.alternate&&t.base==8&&(i+=Zu),t.alternate&&t.base==16&&(i+=l1),t.justify==xs&&t.filler==Zu)for(var x=e;x<t.width;x++)i+=Zu;if(i+=n,t.justify==Fa)for(var x=e;x<t.width;x++)i+=pi;return r(i)}function XA(t,n){function e(E,d){if(Math.abs(E)<1)return E.toFixed(d);var w=parseInt(E.toString().split(xs)[1]);return w>20?(w-=20,E/=Math.pow(10,w),E+=new Array(w+1).join(Zu),d>0&&(E=E+Lo+new Array(d+1).join(Zu)),E):E.toFixed(d)}var i,x=UA(t),c=x.prec<0?6:x.prec;if((n<0||n==0&&1/n==-1/0)&&(x.sign=-1,n=-n),isNaN(n))i=sw,x.filler=pi;else if(!isFinite(n))i="inf",x.filler=pi;else switch(x.conv){case"e":var i=n.toExponential(c),s=i.length;i.charAt(s-3)==ny&&(i=i.slice(0,s-1)+Zu+i.slice(s-1));break;case"f":i=e(n,c);break;case"g":c=c||1,i=n.toExponential(c-1);var p=i.indexOf(ny),y=+i.slice(p+1);if(y<-4||n>=1e21||n.toFixed(0).length>c){for(var s=p-1;i.charAt(s)==Zu;)s--;i.charAt(s)==Lo&&s--,i=i.slice(0,s+1)+i.slice(p),s=i.length,i.charAt(s-3)==ny&&(i=i.slice(0,s-1)+Zu+i.slice(s-1));break}else{var T=c;if(y<0)T-=y+1,i=n.toFixed(T);else for(;i=n.toFixed(T),i.length>c+1;)T--;if(T){for(var s=i.length-1;i.charAt(s)==Zu;)s--;i.charAt(s)==Lo&&s--,i=i.slice(0,s+1)}}break}return HA(x,i)}function hp(t,n){if(Ic(t)==N2)return r(C+n);var e=UA(t);n<0&&(e.signedconv?(e.sign=-1,n=-n):n>>>=0);var i=n.toString(e.base);if(e.prec>=0){e.filler=pi;var x=e.prec-i.length;x>0&&(i=Pv(x,Zu)+i)}return HA(e,i)}var jV=0;function M7(){return jV++}function s70(){return 0}function GV(){return[0]}var dp=[];function rn(t,n,e){var i=t[1],x=dp[e];if(x===void 0)for(var c=dp.length;c<e;c++)dp[c]=0;else if(i[x]===n)return i[x-1];for(var s=3,p=i[1]*2+1,y;s<p;)y=s+p>>1|1,n<i[y+1]?p=y-2:s=y;return dp[e]=s+1,n==i[s+1]?i[s]:0}function v70(t){for(var n=C,e=n,i,x,c=0,s=t.length;c<s;c++){if(i=t.charCodeAt(c),i<Pi){for(var p=c+1;p<s&&(i=t.charCodeAt(p))<Pi;p++);if(p-c>II?(e.substr(0,1),n+=e,e=C,n+=t.slice(c,p)):e+=t.slice(c,p),p==s)break;c=p}i<YX?(e+=String.fromCharCode(192|i>>6),e+=String.fromCharCode(Pi|i&Ov)):i<55296||i>=SH?e+=String.fromCharCode(HY|i>>12,Pi|i>>6&Ov,Pi|i&Ov):i>=56319||c+1==s||(x=t.charCodeAt(c+1))<NH||x>SH?e+="\xEF\xBF\xBD":(c++,i=(i<<10)+x-56613888,e+=String.fromCharCode(LX|i>>18,Pi|i>>12&Ov,Pi|i>>6&Ov,Pi|i&Ov)),e.length>L2&&(e.substr(0,1),n+=e,e=C)}return n+e}function l70(t){var n=9;return _V(t)||(n=8,t=v70(t)),new Oc(n,t,t.length)}function B7(t){return l70(t)}function b70(t,n,e){if(!isFinite(t))return isNaN(t)?B7(sw):B7(t>0?mU:"-infinity");var i=t==0&&1/t==-1/0?1:t>=0?0:1;i&&(t=-t);var x=0;if(t!=0)if(t<1)for(;t<1&&x>-BX;)t*=2,x--;else for(;t>=2;)t/=2,x++;var c=x<0?C:xs,s=C;if(i)s=Fa;else switch(e){case 43:s=xs;break;case 32:s=pi;break;default:break}if(n>=0&&n<13){var p=Math.pow(2,n*4);t=Math.round(t*p)/p}var y=t.toString(16);if(n>=0){var T=y.indexOf(Lo);if(T<0)y+=Lo+Pv(n,Zu);else{var E=T+1+n;y.length<E?y+=Pv(E-y.length,Zu):y=y.substr(0,E)}}return B7(s+l1+y+"p"+c+x.toString(10))}function p70(t){return+t.isZero()}function kp(t){return new sn(t&Ex,t>>24&Ex,t>>31&Li)}function m70(t){return t.toInt()}function _70(t){return+t.isNeg()}function MV(t){return t.neg()}function y70(t,n){var e=UA(t);e.signedconv&&_70(n)&&(e.sign=-1,n=MV(n));var i=C,x=kp(e.base),c="0123456789abcdef";do{var s=n.udivmod(x);n=s.quotient,i=c.charAt(m70(s.modulus))+i}while(!p70(n));if(e.prec>=0){e.filler=pi;var p=e.prec-i.length;p>0&&(i=Pv(p,Zu)+i)}return HA(e,i)}function b7(t){return t.l}function un(t){return b7(t)}function Vr(t,n){return Xu(t,n)}function h70(t,n){return t.add(n)}function d70(t,n){return t.mul(n)}function YA(t,n){return t.ucompare(n)<0}function BV(t){var n=0,e=un(t),i=10,x=1;if(e>0)switch(Vr(t,n)){case 45:n++,x=-1;break;case 43:n++,x=1;break}if(n+1<e&&Vr(t,n)==48)switch(Vr(t,n+1)){case 120:case 88:i=16,n+=2;break;case 111:case 79:i=8,n+=2;break;case 98:case 66:i=2,n+=2;break;case 117:case 85:n+=2;break}return[n,x,i]}function wp(t){return t>=48&&t<=57?t-48:t>=65&&t<=90?t-55:t>=97&&t<=In?t-87:-1}function Rv(t){var n=BV(t),e=n[0],i=n[1],x=n[2],c=kp(x),s=new sn(Ex,268435455,Li).udivmod(c).quotient,p=Vr(t,e),y=wp(p);(y<0||y>=x)&&n7(ns);for(var T=kp(y);;)if(e++,p=Vr(t,e),p!=95){if(y=wp(p),y<0||y>=x)break;YA(s,T)&&n7(ns),y=kp(y),T=h70(d70(c,T),y),YA(T,y)&&n7(ns)}return e!=un(t)&&n7(ns),x==10&&YA(new sn(0,0,Mi),T)&&n7(ns),i<0&&(T=MV(T)),T}function jv(t){return t.toFloat()}function Bi(t){var n=BV(t),e=n[0],i=n[1],x=n[2],c=un(t),s=-1>>>0,p=e<c?Vr(t,e):0,y=wp(p);(y<0||y>=x)&&n7(ns);var T=y;for(e++;e<c;e++)if(p=Vr(t,e),p!=95){if(y=wp(p),y<0||y>=x)break;T=x*T+y,T>s&&n7(ns)}return e!=c&&n7(ns),T=i*T,x==10&&(T|0)!=T&&n7(ns),T|0}function k70(t){return t.slice(1)}function w70(t){return!!t}function pn(t){return t.toUtf16()}function E70(t){for(var n={},e=1;e<t.length;e++){var i=t[e];n[pn(i[1])]=i[2]}return n}function S70(t,n){return+(yp(t,n,!1)<0)}function Gv(e,n){e<0&&il();var e=e+1|0,i=new Array(e);i[0]=0;for(var x=1;x<e;x++)i[x]=n;return i}function g70(){return 0}function ct(t){PA(Kt.Sys_error,t)}var Nc=new Array;function p1(t){var n=Nc[t];if(n.opened||ct("Cannot flush a closed channel"),!n.buffer||n.buffer==C)return 0;if(n.fd&&Kt.fds[n.fd]&&Kt.fds[n.fd].output){var e=Kt.fds[n.fd].output;switch(e.length){case 2:e(t,n.buffer);break;default:e(n.buffer)}}return n.buffer=C,0}function qV(){return typeof z0.process<"u"&&typeof z0.process.versions<"u"&&typeof z0.process.versions.node<"u"&&z0.process.platform!=="browser"}function F70(){function t(e){if(e.charAt(0)===Qu)return[C,e.substring(1)]}function n(e){var i=/^([a-zA-Z]:|[\\/]{2}[^\\/]+[\\/]+[^\\/]+)?([\\/])?([\s\S]*?)$/,x=i.exec(e),c=x[1]||C,s=Boolean(c&&c.charAt(1)!==o1);if(Boolean(x[2]||s)){var p=x[1]||C,y=x[2]||C;return[p,e.substring(p.length+y.length)]}}return z0.process&&z0.process.platform&&z0.process.platform===aV?n:t}var VA=F70();function UV(t){return t.slice(-1)!==Qu?t+Qu:t}if(z0.process&&z0.process.cwd)var al=z0.process.cwd().replace(/\\/g,Qu);else var al="/static";al=UV(al);function T70(t){t=pn(t),VA(t)||(t=al+t);for(var n=VA(t),e=n[1].split(Qu),i=[],x=0;x<e.length;x++)switch(e[x]){case"..":i.length>1&&i.pop();break;case".":break;default:i.push(e[x]);break}return i.unshift(n[0]),i.orig=t,i}var O70=["E2BIG","EACCES","EAGAIN","EBADF","EBUSY","ECHILD","EDEADLK","EDOM",nV,"EFAULT","EFBIG","EINTR","EINVAL","EIO","EISDIR","EMFILE","EMLINK","ENAMETOOLONG","ENFILE","ENODEV",vh,"ENOEXEC","ENOLCK","ENOMEM","ENOSPC","ENOSYS",yw,PU,"ENOTTY","ENXIO","EPERM","EPIPE","ERANGE","EROFS","ESPIPE","ESRCH","EXDEV","EWOULDBLOCK","EINPROGRESS","EALREADY","ENOTSOCK","EDESTADDRREQ","EMSGSIZE","EPROTOTYPE","ENOPROTOOPT","EPROTONOSUPPORT","ESOCKTNOSUPPORT","EOPNOTSUPP","EPFNOSUPPORT","EAFNOSUPPORT","EADDRINUSE","EADDRNOTAVAIL","ENETDOWN","ENETUNREACH","ENETRESET","ECONNABORTED","ECONNRESET","ENOBUFS","EISCONN","ENOTCONN","ESHUTDOWN","ETOOMANYREFS","ETIMEDOUT","ECONNREFUSED","EHOSTDOWN","EHOSTUNREACH","ELOOP","EOVERFLOW"];function m1(t,n,e,i){var x=O70.indexOf(t);x<0&&(i==null&&(i=-9999),x=[0,i]);var c=[x,B7(n||C),B7(e||C)];return c}var HV={};function _1(t){return HV[t]}function y1(t,n){throw[0,t].concat(n)}function I70(t){return new Oc(4,t,t.length)}function A70(t){t=Ic(t),ct(t+tp)}function N70(t,n){return n>>>0>=t.l&&hV(),Xu(t,n)}function XV(){}function gu(t){this.data=t}gu.prototype=new XV,gu.prototype.truncate=function(t){var n=this.data;this.data=Lt(t|0),Fs(n,0,this.data,0,t)},gu.prototype.length=function(){return b7(this.data)},gu.prototype.write=function(t,n,e,i){var x=this.length();if(t+i>=x){var c=Lt(t+i),s=this.data;this.data=c,Fs(s,0,this.data,0,x)}return Ts(n,e,this.data,t,i),0},gu.prototype.read=function(t,n,e,i){var x=this.length();return Fs(this.data,t,n,e,i),0},gu.prototype.read_one=function(t){return N70(this.data,t)},gu.prototype.close=function(){},gu.prototype.constructor=gu;function t7(t,n){this.content={},this.root=t,this.lookupFun=n}t7.prototype.nm=function(t){return this.root+t},t7.prototype.create_dir_if_needed=function(t){for(var n=t.split(Qu),e=C,i=0;i<n.length-1;i++)e+=n[i]+Qu,!this.content[e]&&(this.content[e]=Symbol("directory"))},t7.prototype.slash=function(t){return/\/$/.test(t)?t:t+Qu},t7.prototype.lookup=function(t){if(!this.content[t]&&this.lookupFun){var n=this.lookupFun(r(this.root),r(t));n!==0&&(this.create_dir_if_needed(t),this.content[t]=new gu(n[1]))}},t7.prototype.exists=function(t){if(t==C)return 1;var n=this.slash(t);return this.content[n]?1:(this.lookup(t),this.content[t]?1:0)},t7.prototype.mkdir=function(t,n,e){var i=e&&_1(Kh);this.exists(t)&&(i?y1(i,m1(nV,WI,this.nm(t))):ct(t+": File exists"));var x=/^(.*)\/[^/]+/.exec(t);x=x&&x[1]||C,this.exists(x)||(i?y1(i,m1(vh,WI,this.nm(x))):ct(x+tp)),this.is_dir(x)||(i?y1(i,m1(yw,WI,this.nm(x))):ct(x+RS)),this.create_dir_if_needed(this.slash(t))},t7.prototype.rmdir=function(t,n){var e=n&&_1(Kh),i=t==C?C:this.slash(t),x=new RegExp(I6+i+JX);this.exists(t)||(e?y1(e,m1(vh,ad,this.nm(t))):ct(t+tp)),this.is_dir(t)||(e?y1(e,m1(yw,ad,this.nm(t))):ct(t+RS));for(var c in this.content)c.match(x)&&(e?y1(e,m1(PU,ad,this.nm(t))):ct(this.nm(t)+": Directory not empty"));delete this.content[i]},t7.prototype.readdir=function(t){var n=t==C?C:this.slash(t);this.exists(t)||ct(t+tp),this.is_dir(t)||ct(t+RS);var e=new RegExp(I6+n+JX),i={},x=[];for(var c in this.content){var s=c.match(e);s&&!i[s[1]]&&(i[s[1]]=!0,x.push(s[1]))}return x},t7.prototype.is_dir=function(t){if(t==C)return!0;var n=this.slash(t);return this.content[n]?1:0},t7.prototype.unlink=function(t){var n=!!this.content[t];return delete this.content[t],n},t7.prototype.open=function(t,n){if(n.rdonly&&n.wronly&&ct(this.nm(t)+FY),n.text&&n.binary&&ct(this.nm(t)+tY),this.lookup(t),this.content[t]){this.is_dir(t)&&ct(this.nm(t)+" : is a directory"),n.create&&n.excl&&ct(this.nm(t)+TY);var e=this.content[t];return n.truncate&&e.truncate(),e}else{if(n.create)return this.create_dir_if_needed(t),this.content[t]=new gu(Lt(0)),this.content[t];A70(this.nm(t))}},t7.prototype.register=function(t,n){var e;if(this.content[t]&&ct(this.nm(t)+TY),_p(n)&&(e=new gu(n)),qA(n))e=new gu(n);else if(n instanceof Array)e=new gu(I70(n));else if(typeof n=="string")e=new gu(yV(n));else if(n.toString){var i=B7(n.toString());e=new gu(i)}e?(this.create_dir_if_needed(t),this.content[t]=e):ct(this.nm(t)+" : registering file with invalid content type")},t7.prototype.constructor=t7;function C70(t){for(var n=un(t),e=new Array(n),i=0;i<n;i++)e[i]=Vr(t,i);return e}function P70(t){return t.t!=4&&bp(t),t.c}function Cc(t){this.fs=kj(),this.fd=t}Cc.prototype=new XV,Cc.prototype.truncate=function(t){try{this.fs.ftruncateSync(this.fd,t|0)}catch(n){ct(n.toString())}},Cc.prototype.length=function(){try{return this.fs.fstatSync(this.fd).size}catch(t){ct(t.toString())}},Cc.prototype.write=function(t,n,e,i){var x=C70(n);x instanceof z0.Uint8Array||(x=new z0.Uint8Array(x));var c=z0.Buffer.from(x);try{this.fs.writeSync(this.fd,c,e,i,t)}catch(s){ct(s.toString())}return 0},Cc.prototype.read=function(t,n,e,i){var x=P70(n);x instanceof z0.Uint8Array||(x=new z0.Uint8Array(x));var c=z0.Buffer.from(x);try{this.fs.readSync(this.fd,c,e,i,t)}catch(p){ct(p.toString())}for(var s=0;s<i;s++)b1(n,e+s,c[e+s]);return 0},Cc.prototype.read_one=function(t){var n=new z0.Uint8Array(1),e=z0.Buffer.from(n);try{this.fs.readSync(this.fd,e,0,1,t)}catch(i){ct(i.toString())}return e[0]},Cc.prototype.close=function(){try{this.fs.closeSync(this.fd)}catch(t){ct(t.toString())}},Cc.prototype.constructor=Cc;function Fu(t){this.fs=kj(),this.root=t}Fu.prototype.nm=function(t){return this.root+t},Fu.prototype.exists=function(t){try{return this.fs.existsSync(this.nm(t))?1:0}catch{return 0}},Fu.prototype.mkdir=function(t,n,e){try{return this.fs.mkdirSync(this.nm(t),{mode:n}),0}catch(i){this.raise_nodejs_error(i,e)}},Fu.prototype.rmdir=function(t,n){try{return this.fs.rmdirSync(this.nm(t)),0}catch(e){this.raise_nodejs_error(e,n)}},Fu.prototype.readdir=function(t,n){try{return this.fs.readdirSync(this.nm(t))}catch(e){this.raise_nodejs_error(e,n)}},Fu.prototype.is_dir=function(t){try{return this.fs.statSync(this.nm(t)).isDirectory()?1:0}catch(n){ct(n.toString())}},Fu.prototype.unlink=function(t,n){try{var e=this.fs.existsSync(this.nm(t))?1:0;return this.fs.unlinkSync(this.nm(t)),e}catch(i){this.raise_nodejs_error(i,n)}},Fu.prototype.open=function(t,n,e){var i=roe(),x=0;for(var c in n)switch(c){case"rdonly":x|=i.O_RDONLY;break;case"wronly":x|=i.O_WRONLY;break;case"append":x|=i.O_WRONLY|i.O_APPEND;break;case"create":x|=i.O_CREAT;break;case"truncate":x|=i.O_TRUNC;break;case"excl":x|=i.O_EXCL;break;case"binary":x|=i.O_BINARY;break;case"text":x|=i.O_TEXT;break;case"nonblock":x|=i.O_NONBLOCK;break}try{var s=this.fs.openSync(this.nm(t),x);return new Cc(s)}catch(p){this.raise_nodejs_error(p,e)}},Fu.prototype.rename=function(t,n,e){try{this.fs.renameSync(this.nm(t),this.nm(n))}catch(i){this.raise_nodejs_error(i,e)}},Fu.prototype.stat=function(t,n){try{var e=this.fs.statSync(this.nm(t));return this.stats_from_js(e)}catch(i){this.raise_nodejs_error(i,n)}},Fu.prototype.lstat=function(t,n){try{var e=this.fs.lstatSync(this.nm(t));return this.stats_from_js(e)}catch(i){this.raise_nodejs_error(i,n)}},Fu.prototype.symlink=function(t,n,e,i){try{return this.fs.symlinkSync(this.nm(n),this.nm(e),t?"dir":"file"),0}catch(x){this.raise_nodejs_error(x,i)}},Fu.prototype.readlink=function(t,n){try{var e=this.fs.readlinkSync(this.nm(t),vV);return B7(e)}catch(i){this.raise_nodejs_error(i,n)}},Fu.prototype.raise_nodejs_error=function(t,n){var e=_1(Kh);if(n&&e){var i=m1(t.code,t.syscall,t.path,t.errno);y1(e,i)}else ct(t.toString())},Fu.prototype.stats_from_js=function(t){var n;return t.isFile()?n=0:t.isDirectory()?n=1:t.isCharacterDevice()?n=2:t.isBlockDevice()?n=3:t.isSymbolicLink()?n=4:t.isFIFO()?n=5:t.isSocket()&&(n=6),[0,t.dev,t.ino,n,t.mode,t.nlink,t.uid,t.gid,t.rdev,t.size,t.atimeMs,t.mtimeMs,t.ctimeMs]},Fu.prototype.constructor=Fu;function YV(t){var n=VA(t);if(!!n)return n[0]+Qu}var Ep=YV(al)||n7("unable to compute caml_root"),Mv=[];qV()?Mv.push({path:Ep,device:new Fu(Ep)}):Mv.push({path:Ep,device:new t7(Ep)}),Mv.push({path:zU,device:new t7(zU)});function D70(e){for(var n=T70(e),e=n.join(Qu),i=UV(e),x,c=0;c<Mv.length;c++){var s=Mv[c];i.search(s.path)==0&&(!x||x.path.length<s.path.length)&&(x={path:s.path,device:s.device,rest:e.substring(s.path.length,e.length)})}if(!x){var p=YV(e);if(p&&p.match(/^[a-zA-Z]:\/$/)){var s={path:p,device:new Fu(p)};Mv.push(s),x={path:s.path,device:s.device,rest:e.substring(s.path.length,e.length)}}}if(x)return x;ct("no device found for "+i)}function VV(t,n){var e=Nc[t],i=r(n),x=un(i);return e.file.write(e.offset,i,0,x),e.offset+=x,0}function L70(n){var n=CA(n),e=z0;if(e.process&&e.process.stdout&&e.process.stdout.write)e.process.stderr.write(n);else{n.charCodeAt(n.length-1)==10&&(n=n.substr(0,n.length-1));var i=e.console;i&&i.error&&i.error(n)}}function R70(n){var n=CA(n),e=z0;if(e.process&&e.process.stdout&&e.process.stdout.write)e.process.stdout.write(n);else{n.charCodeAt(n.length-1)==10&&(n=n.substr(0,n.length-1));var i=e.console;i&&i.log&&i.log(n)}}function Sp(t,n,e,i){Kt.fds===void 0&&(Kt.fds=new Array),i=i||{};var x={};return x.file=e,x.offset=i.append?e.length():0,x.flags=i,x.output=n,Kt.fds[t]=x,(!Kt.fd_last_idx||t>Kt.fd_last_idx)&&(Kt.fd_last_idx=t),t}function uoe(t,n,e){for(var i={};n;){switch(n[1]){case 0:i.rdonly=1;break;case 1:i.wronly=1;break;case 2:i.append=1;break;case 3:i.create=1;break;case 4:i.truncate=1;break;case 5:i.excl=1;break;case 6:i.binary=1;break;case 7:i.text=1;break;case 8:i.nonblock=1;break}n=n[2]}i.rdonly&&i.wronly&&ct(Ic(t)+FY),i.text&&i.binary&&ct(Ic(t)+tY);var x=D70(t),c=x.device.open(x.rest,i),s=Kt.fd_last_idx?Kt.fd_last_idx:0;return Sp(s+1,VV,c,i)}Sp(0,VV,new gu(Lt(0))),Sp(1,R70,new gu(Lt(0))),Sp(2,L70,new gu(Lt(0)));function j70(t){var n=Kt.fds[t];n.flags.wronly&&ct(pX+t+" is writeonly");var e=null;if(t==0&&qV()){var i=kj();e=function(){return B7(i.readFileSync(0,vV))}}var x={file:n.file,offset:n.offset,fd:t,opened:!0,out:!1,refill:e};return Nc[x.fd]=x,x.fd}function zV(t){var n=Kt.fds[t];n.flags.rdonly&&ct(pX+t+" is readonly");var e={file:n.file,offset:n.offset,fd:t,opened:!0,out:!0,buffer:C};return Nc[e.fd]=e,e.fd}function G70(){for(var t=0,n=0;n<Nc.length;n++)Nc[n]&&Nc[n].opened&&Nc[n].out&&(t=[0,Nc[n].fd,t]);return t}function ioe(t){return t}function M70(t,n,e,i){var x=Nc[t];x.opened||ct("Cannot output to a closed channel");var c;e==0&&b7(n)==i?c=n:(c=Lt(i),Fs(n,e,c,0,i));var s=c,p=Ic(s),y=p.lastIndexOf($Y);return y<0?x.buffer+=p:(x.buffer+=p.substr(0,y+1),p1(t),x.buffer+=p.substr(y+1)),0}function zA(t,n,e,i){return M70(t,n,e,i)}function KV(t,n){var e=r(String.fromCharCode(n));return zA(t,e,0,1),0}function cl(t,n){return+(yp(t,n,!1)!=0)}function KA(t,n){var e=new Array(n+1);e[0]=t;for(var i=1;i<=n;i++)e[i]=0;return e}function B70(t,n){return t[0]=nl,t[1]=n,0}function h1(t){return t instanceof Array&&t[0]==t[0]>>>0?t[0]:_p(t)||qA(t)?Y2:t instanceof Function||typeof t=="function"?Dw:t&&t.caml_custom?gw:Q2}function hi(t,n,e){e&&z0.toplevelReloc&&(t=z0.toplevelReloc(e)),Kt[t+1]=n,e&&(Kt[e]=n)}function WA(t,n){return HV[Ic(t)]=n,0}function q70(t){return t[2]=jV++,t}function U70(t,n){return t===n?1:(t.t&6&&Dv(t),n.t&6&&Dv(n),t.c==n.c?1:0)}function Hn(t,n){return U70(t,n)}function H70(){lu(qS)}function It(t,n){return n>>>0>=un(t)&&H70(),Vr(t,n)}function n0(t,n){return 1-Hn(t,n)}function X70(){return[0,r("js_of_ocaml")]}function Y70(){return 2147483647/4|0}function V70(t){return 0}var z70=z0.process&&z0.process.platform&&z0.process.platform==aV?jU:"Unix";function K70(){return[0,r(z70),32,0]}function W70(){kV(Kt.Not_found)}function WV(t){var n=z0,e=pn(t);if(n.process&&n.process.env&&n.process.env[e]!=null)return B7(n.process.env[e]);if(z0.jsoo_static_env&&z0.jsoo_static_env[e])return B7(z0.jsoo_static_env[e]);W70()}function JA(t){for(var n=1;t&&t.joo_tramp;)t=t.joo_tramp.apply(null,t.joo_args),n++;return t}function Tu(t,n){return{joo_tramp:t,joo_args:n}}function N(t,n){if(typeof n=="function")return t.fun=n,0;if(n.fun)return t.fun=n.fun,0;for(var e=n.length;e--;)t[e]=n[e];return 0}function foe(t){return t}function St(t){return t instanceof Array?t:z0.RangeError&&t instanceof z0.RangeError&&t.message&&t.message.match(/maximum call stack/i)||z0.InternalError&&t instanceof z0.InternalError&&t.message&&t.message.match(/too much recursion/i)?Kt.Stack_overflow:t instanceof z0.Error&&_1(KO)?[0,_1(KO),t]:[0,Kt.Failure,B7(String(t))]}function J70(t){switch(t[2]){case-8:case-11:case-12:return 1;default:return 0}}function $70(t){var n=C;if(t[0]==0){if(n+=t[1][1],t.length==3&&t[2][0]==0&&J70(t[1]))var i=t[2],e=1;else var e=2,i=t;n+=HX;for(var x=e;x<i.length;x++){x>e&&(n+=$H);var c=i[x];typeof c=="number"?n+=c.toString():c instanceof Oc||typeof c=="string"?n+=V2+c.toString()+V2:n+=bv}n+=Z0}else t[0]==Et&&(n+=t[1]);return n}function JV(t){if(t instanceof Array&&(t[0]==0||t[0]==Et)){var n=_1(LH);if(n)n(t,!1);else{var e=$70(t),i=_1(sV);i&&i(0),z0.console.error(yd+e+$Y)}}else throw t}function Z70(){var t=z0;t.process&&t.process.on?t.process.on("uncaughtException",function(n,e){JV(n),t.process.exit(2)}):t.addEventListener&&t.addEventListener("error",function(n){n.error&&JV(n.error)})}Z70();function u(t,n){return t.length==1?t(n):os(t,[n])}function o(t,n,e){return t.length==2?t(n,e):os(t,[n,e])}function ur(t,n,e,i){return t.length==3?t(n,e,i):os(t,[n,e,i])}function R(t,n,e,i,x){return t.length==4?t(n,e,i,x):os(t,[n,e,i,x])}function p7(t,n,e,i,x,c){return t.length==5?t(n,e,i,x,c):os(t,[n,e,i,x,c])}function Q70(t,n,e,i,x,c,s,p){return t.length==7?t(n,e,i,x,c,s,p):os(t,[n,e,i,x,c,s,p])}var $A=[Et,r(wX),-1],$V=[Et,r(DH),-2],q7=[Et,r(AH),-3],ZA=[Et,r(fH),-4],Zt=[Et,r(KU),-7],ZV=[Et,r(LY),-8],QV=[Et,r(VU),-9],Sn=[Et,r(wU),-11],sl=[Et,r(uX),-12],rz=[0,s7],ri0=[4,0,0,0,[12,45,[4,0,0,0,0]]],QA=[0,[11,r('File "'),[2,0,[11,r('", line '),[4,0,0,0,[11,r(yH),[4,0,0,0,[12,45,[4,0,0,0,[11,r(": "),[2,0,0]]]]]]]]]],r('File "%s", line %d, characters %d-%d: %s')],ez=[0,0,[0,0,0],[0,0,0]],rN=r("