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.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=0;p--)s[i+p]=c[n+p];else{for(var y=Math.min(x,c.length-n),p=0;p>=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;nJn)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;pII?(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=55295&&s<57344)&&(s=2)):(s=3,++p1114111)&&(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>>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.hit.mi?1:this.mit.lo?1:this.loe?1:nt.mi?1:this.mit.lo?1:this.lo>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<>24-t,this.hi<>24-t):t<48?new sn(0,this.lo<>48-t):new sn(0,0,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>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>>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[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;is)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;xt.data[x+1])return 1;if(this.data[x]>>>0>>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;xt.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>>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;x64&&(n=64);for(var x=0;x32&&(n=32),n*=2;for(var x=0;x64&&(n=64);for(var x=0;x32&&(n=32);for(var x=0;x0?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 tn.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:xn)return 1;if(t!=n){if(!e)return NaN;if(t==t)return 1;if(n==n)return-1}break;case 1001:if(tn)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(tn)return 1}break;case 12520:var t=t.toString(),n=n.toString();if(t!==n){if(tn)return 1}break;case 246:case 254:default:if(t.length!=n.length)return t.length1&&i.push(t,n,1);break}}if(i.length==0)return 0;var y=i.pop();n=i.pop(),t=i.pop(),y+10)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;n0&&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=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;x20?(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>1|1,nII?(e.substr(0,1),n+=e,e=C,n+=t.slice(c,p)):e+=t.slice(c,p),p==s)break;c=p}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))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>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=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=x)&&n7(ns);var T=y;for(e++;e=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;e1&&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;iKt.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>>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;xe&&(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("