// Generated by js_of_ocaml
//# buildInfo:effects=disabled, kind=exe, use-js-string=true, version=6.2.0
(function(a){typeof
globalThis!=="object"&&(this?b():(a.defineProperty(a.prototype,"_T_",{configurable:true,get:b}),_T_));function
b(){var
b=this||self;b.globalThis=b;delete
a.prototype._T_}}(Object));(function(d){"use strict";var
dW=125,J=255,jw=0xfc00,jv=116,fY="precision",fX='scanf: bad conversion "%*"',i$=102,c=248,jT=24029,ju=0.5,jS=12520,at=0xff,iL="scanning of ",as=0xffff,jR=-69,u=5741474,cT='"',fP="Fatal error: exception ",fO=105,jt="true",jQ="Match_failure",aD=0x8000,a7="name",ca="EBADF",i_=-43,i9="write",cS="bad file descriptor",i8="'*'",jP="%ni",iK="_",fE=0x7ff00000,jO=", characters ",js="illegal seek",i7=" doesn't exist",i6="'#'",fN="0x",iJ="([^/]+)",dV="velocity",a6=1000,d3=0x7c00,fL="rmdir",fM="compare: functional value",fK="%d",cb="+",jN=108,jM=">",dU=-982813537,i4="\n",i5=0x3f,jr="illegal operation on a directory",d_=-413134100,fD=512,fC="Invalid window spec `",jq="Invalid window spec `%s`",iI=4096,i3="set",jp="character ",ab=0xffffff,iH=-108,fW="nan",aR=0x100,i2="canvas",jo="console",i1="Not_found",jn="readdir",iG="false",d4=112,br="position",fV=-32,d2="score2",jm=-46,jL="get",fU="EEXIST",fT="open",bo="tag",aS=519963165,jK="Division_by_zero",bn="resolve",d1="e",i0="@{",fS="jsError",iZ=117,b$=", ",cQ="invalid argument",cR="'+'",b_="EINVAL",iY="Unix.Unix_error",bt="box",A=254,iF="%li",bq=".",fJ="EISDIR",jJ=0x80000000,dT="_bigarr02",jk="top",jl="Assert_failure",jI="Undefined_recursive_module",fB="mkdir",d9=111,W=-889544535,jj=1073741823,fR="ESPIPE",bM=120,iW=103,iX="Sys_error",d0=127,iE="^",bp=100,iV=101,iD=0x0400,iU="OCAMLRUNPARAM",bL=": at character number ",iT="ENOTEMPTY",jH=110,bm="texture",dZ="ENOTDIR",jG="px",iC="b",iS=-123,iz="contextmenu",iA="Stack_overflow",iB="Invalid_argument",ji="@[",jF=-982813536,ix="' '",iy="End_of_file",jh=0x7fffffff,cV=-88,bO="-",dS=5790298,iw="read",iR=800.,fI="index out of bounds",jE=250,cN="ENOENT",dR=252,fH="Failure",iv=200,fA=-97,iP="Pervasives.do_at_exit",cP="node:fs",iQ=0x7f800000,fG="win32",bN=128,dY="lseek",aQ="/",jg=-49,jD="%u",iu="Out_of_memory",iO="%Li",d8="Map.bal",iN="Sys_blocked_io",b9=256,aC=-48,D="camlinternalFormat.ml",aE=" ",fF=1255,jf=-1.,x=5144726,jC=-34,dX="2d",it=-80,cc=123,is="Printexc.handle_uncaught_exception",je="truncate",jz="scanf.ml",jA=2147483647,cU="Int64.of_string",jB=0x000000,cO=518047963,iM=0.0009765625,jy=600.,fz=-10,jd="/static/",d7="int_of_string",aa="0",a5=4898315,jc="infinity",jx="file already exists",jb="fd ",ja="Fatal error: exception %s\n",d6="score1",d5="no such file or directory",iq=73244475,ir="not a directory",fQ=": ",io=400,ip="%i",g="",aT="invalid format ",bs=1024;function
th(a,b,c,d,e){if(d<=b)for(var
f=1;f<=e;f++)c[d+f]=a[b+f];else
for(var
f=e;f>=1;f--)c[d+f]=a[b+f];return 0}function
ti(a){var
c=[0];while(a!==0){var
d=a[1];for(var
b=1;b<d.length;b++)c.push(d[b]);a=a[2]}return c}function
tj(a,b,c,d){for(var
e=0;e<c;e++)a[b+e+1]=d;return 0}var
kC={};function
kD(a){if(kC[a])return kC[a];var
b=d.process;if(b&&b.env&&b.env[a]!==undefined)return b.env[a];if(d.jsoo_env&&typeof
d.jsoo_env[a]==="string")return d.jsoo_env[a]}var
er=0;(function(){var
c=kD(iU);if(c!==undefined){var
b=c.split(",");for(var
a=0;a<b.length;a++)if(b[a]===iC){er=1;break}else if(b[a].startsWith("b="))er=+b[a].slice(2);else
continue}}());var
uj=er,S=[0];function
tA(a,b){if(!a.js_error||b||a[0]===c)a.js_error=new
d.Error("Js exception containing backtrace");return a}function
l(a,b){return er&&uj?tA(a,b):a}function
ku(a,b){throw l([0,a,b])}function
a$(a){return a}function
kw(a,b){ku(a,a$(b))}function
L(a){kw(S.Invalid_argument,a)}function
cW(){L(fI)}function
au(a,b){if(a>>>0>=(jh/4|0))cW();var
a=a+1|0,c=new
Array(a);c[0]=0;for(var
d=1;d<a;d++)c[d]=b;return c}function
ea(a,b,c){if(a[1]===b){a[1]=c;return 1}return 0}function
tk(a,b){var
c=a[1];a[1]+=b;return c}function
bQ(a){return a[1]}function
j2(a){switch(a){case
7:case
10:case
11:return 2;default:return 1}}function
j0(a,b){var
c;switch(a){case
0:c=Float32Array;break;case
1:c=Float64Array;break;case
2:c=Int8Array;break;case
3:c=Uint8Array;break;case
4:c=Int16Array;break;case
5:c=Uint16Array;break;case
6:c=Int32Array;break;case
7:c=Int32Array;break;case
8:c=Int32Array;break;case
9:c=Int32Array;break;case
10:c=Float32Array;break;case
11:c=Float64Array;break;case
12:c=Uint8Array;break;case
13:c=Uint16Array;break}if(!c)L("Bigarray.create: unsupported kind");var
d=new
c(b*j2(a));return d}function
eb(a){var
d=a.length,c=1;for(var
b=0;b<d;b++){if(a[b]<0)L("Bigarray.create: negative dimension");c=c*a[b]}return c}var
kr=function(){const
d=1/Number.EPSILON;function
k(a){return a+d-d}const
g=6.103515625e-5,j=65504,a=iM,f=a*g,i=a*d;function
l(a){const
b=+a;if(!Number.isFinite(b)||b===0)return b;const
e=b>0?1:-1,c=Math.abs(b);if(c<g)return e*k(c/f)*f;const
h=(1+i)*c,d=h-(h-c);if(d>j||Number.isNaN(d))return e*Number.POSITIVE_INFINITY;return e*d}const
b=new
Uint16Array(fD),c=new
Uint8Array(fD);for(let
a=0;a<b9;++a){const
d=a-d0;if(d<-24){b[a]=0x0000;b[a|aR]=aD;c[a]=24;c[a|aR]=24}else if(d<-14){b[a]=iD>>-d-14;b[a|aR]=iD>>-d-14|aD;c[a]=-d-1;c[a|aR]=-d-1}else if(d<=15){b[a]=d+15<<10;b[a|aR]=d+15<<10|aD;c[a]=13;c[a|aR]=13}else if(d<bN){b[a]=d3;b[a|aR]=jw;c[a]=24;c[a|aR]=24}else{b[a]=d3;b[a|aR]=jw;c[a]=13;c[a|aR]=13}}const
e=new
ArrayBuffer(4),h=new
Float32Array(e),m=new
Uint32Array(e);return function(a){h[0]=l(a);const
e=m[0],d=e>>23&0x1ff;return b[d]+((e&0x007fffff)>>c[d])}}(),ge=function(){var
h=Math.pow,e=31,i=1023,f=h(2,-24),g=iM;return function(a){var
d=a>>>15,c=a>>>10&e,b=a&i;if(c===e)return b===0?d===0?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:Number.NaN;if(c===0)return b*(d===0?f:-f);var
j=h(2,c-15)*(d===0?1+b*g:-1-b*g);return j}}(),c4=Math.pow(2,-24);function
kt(a){throw a}function
kx(){kt(S.Division_by_zero)}class
v{constructor(a,b,c){this.lo=a&ab;this.mi=b&ab;this.hi=c&as;this.caml_custom="_j"}static
UNSIGNED_MAX=new
v(ab,ab,as);static
SIGNED_MAX=new
v(ab,ab,0x7fff);static
SIGNED_MIN=new
v(jB,jB,aD);slice(){return new
v(this.lo,this.mi,this.hi)}ucompare(a){if(this.hi>a.hi)return 1;if(this.hi<a.hi)return-1;if(this.mi>a.mi)return 1;if(this.mi<a.mi)return-1;if(this.lo>a.lo)return 1;if(this.lo<a.lo)return-1;return 0}compare(a){var
b=this.hi<<16,c=a.hi<<16;if(b>c)return 1;if(b<c)return-1;if(this.mi>a.mi)return 1;if(this.mi<a.mi)return-1;if(this.lo>a.lo)return 1;if(this.lo<a.lo)return-1;return 0}neg(){var
a=-this.lo,b=-this.mi+(a>>24),c=-this.hi+(b>>24);return new
v(a,b,c)}add(a){var
b=this.lo+a.lo,c=this.mi+a.mi+(b>>24),d=this.hi+a.hi+(c>>24);return new
v(b,c,d)}sub(a){var
b=this.lo-a.lo,c=this.mi-a.mi+(b>>24),d=this.hi-a.hi+(c>>24);return new
v(b,c,d)}mul(a){var
b=this.lo*a.lo,c=(b*c4|0)+this.mi*a.lo+this.lo*a.mi,d=(c*c4|0)+this.hi*a.lo+this.mi*a.mi+this.lo*a.hi;return new
v(b,c,d)}isZero(){return(this.lo|this.mi|this.hi)===0}isNeg(){return this.hi<<16<0}and(a){return new
v(this.lo&a.lo,this.mi&a.mi,this.hi&a.hi)}or(a){return new
v(this.lo|a.lo,this.mi|a.mi,this.hi|a.hi)}xor(a){return new
v(this.lo^a.lo,this.mi^a.mi,this.hi^a.hi)}shift_left(a){a=a&63;if(a===0)return this;if(a<24)return new
v(this.lo<<a,this.mi<<a|this.lo>>24-a,this.hi<<a|this.mi>>24-a);if(a<48)return new
v(0,this.lo<<a-24,this.mi<<a-24|this.lo>>48-a);return new
v(0,0,this.lo<<a-48)}shift_right_unsigned(a){a=a&63;if(a===0)return this;if(a<24)return new
v(this.lo>>a|this.mi<<24-a,this.mi>>a|this.hi<<24-a,this.hi>>a);if(a<48)return new
v(this.mi>>a-24|this.hi<<48-a,this.hi>>a-24,0);return new
v(this.hi>>a-48,0,0)}shift_right(a){a=a&63;if(a===0)return this;var
c=this.hi<<16>>16;if(a<24)return new
v(this.lo>>a|this.mi<<24-a,this.mi>>a|c<<24-a,this.hi<<16>>a>>>16);var
b=this.hi<<16>>31;if(a<48)return new
v(this.mi>>a-24|this.hi<<48-a,this.hi<<16>>a-24>>16,b&as);return new
v(this.hi<<16>>a-32,b,b)}lsl1(){this.hi=this.hi<<1|this.mi>>23;this.mi=(this.mi<<1|this.lo>>23)&ab;this.lo=this.lo<<1&ab}lsr1(){this.lo=(this.lo>>>1|this.mi<<23)&ab;this.mi=(this.mi>>>1|this.hi<<23)&ab;this.hi=this.hi>>>1}udivmod(a){var
d=0,c=this.slice(),b=a.slice(),e=new
v(0,0,0);while(c.ucompare(b)>0){d++;b.lsl1()}while(d>=0){d--;e.lsl1();if(c.ucompare(b)>=0){e.lo++;c=c.sub(b)}b.lsr1()}return{quotient:e,modulus:c}}div(a){var
b=this;if(a.isZero())kx();var
d=b.hi^a.hi;if(b.hi&aD)b=b.neg();if(a.hi&aD)a=a.neg();var
c=b.udivmod(a).quotient;if(d&aD)c=c.neg();return c}mod(a){var
b=this;if(a.isZero())kx();var
d=b.hi;if(b.hi&aD)b=b.neg();if(a.hi&aD)a=a.neg();var
c=b.udivmod(a).modulus;if(d&aD)c=c.neg();return c}toInt(){return this.lo|this.mi<<24}toFloat(){return(this.hi<<16)*Math.pow(2,32)+this.mi*Math.pow(2,24)+this.lo}toArray(){return[this.hi>>8,this.hi&at,this.mi>>16,this.mi>>8&at,this.mi&at,this.lo>>16,this.lo>>8&at,this.lo&at]}lo32(){return this.lo|(this.mi&at)<<24}hi32(){return this.mi>>>8&as|this.hi<<16}}function
tQ(a,b){return new
v(a&ab,a>>>24&at|(b&as)<<8,b>>>16&as)}function
f7(a){return a.hi32()}function
f8(a){return a.lo32()}var
tm=dT;class
jY{constructor(a,b,c,d){this.kind=a;this.layout=b;this.dims=c;this.data=d;this.caml_custom=tm}offset(a){var
c=0;if(typeof
a==="number")a=[a];if(!Array.isArray(a))L("bigarray.js: invalid offset");if(this.dims.length!==a.length)L("Bigarray.get/set: bad number of dimensions");if(this.layout===0)for(var
b=0;b<this.dims.length;b++){if(a[b]<0||a[b]>=this.dims[b])cW();c=c*this.dims[b]+a[b]}else
for(var
b=this.dims.length-1;b>=0;b--){if(a[b]<1||a[b]>this.dims[b])cW();c=c*this.dims[b]+(a[b]-1)}return c}get(a){switch(this.kind){case
7:var
d=this.data[a*2+0],b=this.data[a*2+1];return tQ(d,b);case
10:case
11:var
e=this.data[a*2+0],c=this.data[a*2+1];return[A,e,c];case
13:return ge(this.data[a]);default:return this.data[a]}}set(a,b){switch(this.kind){case
7:this.data[a*2+0]=f8(b);this.data[a*2+1]=f7(b);break;case
10:case
11:this.data[a*2+0]=b[1];this.data[a*2+1]=b[2];break;case
13:this.data[a]=kr(b);break;default:this.data[a]=b;break}return 0}fill(a){switch(this.kind){case
7:var
c=f8(a),e=f7(a);if(c===e)this.data.fill(c);else
for(var
b=0;b<this.data.length;b++)this.data[b]=b%2===0?c:e;break;case
10:case
11:var
d=a[1],f=a[2];if(d===f)this.data.fill(d);else
for(var
b=0;b<this.data.length;b++)this.data[b]=b%2===0?d:f;break;case
13:this.data.fill(kr(a));break;default:this.data.fill(a);break}}compare(a,b){if(this.layout!==a.layout||this.kind!==a.kind){var
h=this.kind|this.layout<<8,i=a.kind|a.layout<<8;return i-h}if(this.dims.length!==a.dims.length)return a.dims.length-this.dims.length;for(var
c=0;c<this.dims.length;c++)if(this.dims[c]!==a.dims[c])return this.dims[c]<a.dims[c]?-1:1;switch(this.kind){case
0:case
1:case
10:case
11:var
d,e;for(var
c=0;c<this.data.length;c++){d=this.data[c];e=a.data[c];if(d<e)return-1;if(d>e)return 1;if(d!==e){if(!b)return Number.NaN;if(!Number.isNaN(d))return 1;if(!Number.isNaN(e))return-1}}break;case
7:for(var
c=0;c<this.data.length;c+=2){if(this.data[c+1]<a.data[c+1])return-1;if(this.data[c+1]>a.data[c+1])return 1;if(this.data[c]>>>0<a.data[c]>>>0)return-1;if(this.data[c]>>>0>a.data[c]>>>0)return 1}break;case
13:for(var
c=0;c<this.data.length;c++){var
f=ge(this.data[c]),g=ge(a.data[c]);if(f<g)return-1;if(f>g)return 1}break;case
2:case
3:case
4:case
5:case
6:case
8:case
9:case
12:for(var
c=0;c<this.data.length;c++){if(this.data[c]<a.data[c])return-1;if(this.data[c]>a.data[c])return 1}break}return 0}}class
td
extends
jY{offset(a){if(typeof
a!=="number")if(Array.isArray(a)&&a.length===1)a=a[0];else
L("Ml_Bigarray_c_1_1.offset");if(a<0||a>=this.dims[0])cW();return a}get(a){return this.data[a]}set(a,b){this.data[a]=b;return 0}fill(a){this.data.fill(a);return 0}}function
f0(a,b,c,d){var
e=j2(a);if(eb(c)*e!==d.length)L("length doesn't match dims");if(b===0&&c.length===1&&e===1&&a!==13)return new
td(a,b,c,d);return new
jY(a,b,c,d)}function
kl(a){return a.slice(1)}function
tl(a,b,c){var
d=kl(c),e=j0(a,eb(d));return f0(a,b,d,e)}function
cX(a,b,c){a.set(a.offset(b),c);return 0}function
c5(a,b,c){var
d=String.fromCharCode;if(b===0&&c<=iI&&c===a.length)return d.apply(null,a);var
e=g;for(;0<c;b+=bs,c-=bs)e+=d.apply(null,a.subarray(b,b+Math.min(c,bs)));return e}function
ee(a){var
c=new
Uint8Array(a.l),e=a.c,d=e.length,b=0;for(;b<d;b++)c[b]=e.charCodeAt(b);for(d=a.l;b<d;b++)c[b]=0;a.c=c;a.t=4;return c}function
a8(a,b,c,d,e){if(e===0)return 0;if(d===0&&(e>=c.l||c.t===2&&e>=c.c.length)){c.c=a.t===4?c5(a.c,b,e):b===0&&a.c.length===e?a.c:a.c.slice(b,b+e);c.t=c.c.length===c.l?0:2}else if(c.t===2&&d===c.c.length){c.c+=a.t===4?c5(a.c,b,e):b===0&&a.c.length===e?a.c:a.c.slice(b,b+e);c.t=c.c.length===c.l?0:2}else{if(c.t!==4)ee(c);var
g=a.c,h=c.c;if(a.t===4)if(d<=b)for(var
f=0;f<e;f++)h[d+f]=g[b+f];else
for(var
f=e-1;f>=0;f--)h[d+f]=g[b+f];else{var
i=Math.min(e,g.length-b);for(var
f=0;f<i;f++)h[d+f]=g.charCodeAt(b+f);for(;f<e;f++)h[d+f]=0}}return 0}var
kE=new
TextDecoder();function
eu(a){if(a.t!==4)ee(a);return a.c}function
bw(a,b){return b.repeat(a)}function
c0(a){if(a.t===2)a.c+=bw(a.l-a.c.length,"\0");else
a.c=c5(a.c,0,a.c.length);a.t=0}function
gg(a){if(a.length<24){for(var
b=0;b<a.length;b++)if(a.charCodeAt(b)>d0)return false;return true}else
return!/[^\x00-\x7f]/.test(a)}class
bP{constructor(a,b,c){this.t=a;this.c=b;this.l=c}toString(){switch(this.t){case
9:case
8:return this.c;case
4:case
2:c0(this);case
0:if(gg(this.c))this.t=9;else
this.t=8;return this.c}}toUtf16(){if(this.t===9)return this.c;var
a=eu(this);return kE.decode(a)}slice(){var
a=this.t===4?this.c.slice():this.c;return new
bP(this.t,a,this.l)}}function
j5(a){return new
bP(0,a,a.length)}function
bv(a){return a}function
a9(a){return j5(bv(a))}function
bR(a,b,c,d,e){a8(a9(a),b,c,d,e);return 0}function
ec(){L(fI)}function
cY(a,b){switch(a.t&6){case
0:return a.c.charCodeAt(b);case
2:if(b>=a.c.length)return 0;return a.c.charCodeAt(b);case
4:return a.c[b]}}function
tq(a,b){if(b>>>0>=a.l)ec();return cY(a,b)}function
ce(a){return new
v(a[7]<<0|a[6]<<8|a[5]<<16,a[4]<<0|a[3]<<8|a[2]<<16,a[1]<<0|a[0]<<8)}function
tr(a,b){if(b>>>0>=a.l-7)ec();var
d=new
Array(8);for(var
c=0;c<8;c++)d[7-c]=cY(a,b+c);return ce(d)}function
E(a,b,c){c&=at;if(a.t!==4){if(b===a.c.length){a.c+=String.fromCharCode(c);if(b+1===a.l)a.t=0;return 0}ee(a)}a.c[b]=c;return 0}function
P(a,b,c){if(b>>>0>=a.l)ec();return E(a,b,c)}function
cf(a){return a.toArray()}function
tt(a,b,c){if(b>>>0>=a.l-7)ec();var
e=cf(c);for(var
d=0;d<8;d++)E(a,b+7-d,e[d]);return 0}function
a_(d,e){var
f=d.l>=0?d.l:d.l=d.length,c=e.length,b=f-c;if(b===0)return d(...e);else if(b<0){var
a=d(...e.slice(0,f));if(typeof
a!=="function")return a;return a_(a,e.slice(f))}else{switch(b){case
1:{var
a=function(a){var
f=new
Array(c+1);for(var
b=0;b<c;b++)f[b]=e[b];f[c]=a;return d(...f)};break}case
2:{var
a=function(a,b){var
g=new
Array(c+2);for(var
f=0;f<c;f++)g[f]=e[f];g[c]=a;g[c+1]=b;return d(...g)};break}default:var
a=function(...a){if(a.length===0)a=[undefined];return a_(d,e.concat(a))}}a.l=b;return a}}function
o(a,b){if(b>>>0>=a.length-1)cW();return a}function
tu(a){if(Number.isFinite(a)){if(Math.abs(a)>=2.2250738585072014e-308)return 0;if(a!==0)return 1;return 2}return Number.isNaN(a)?4:3}function
kk(a){return a===245?1:0}var
aV=new
DataView(new
ArrayBuffer(8));function
ei(a){aV.setFloat32(0,a,true);return aV.getUint32(0,true)|0}function
aF(a,b,c){return new
v(a,b,c)}function
ej(a){aV.setFloat64(0,a,true);var
c=aV.getUint32(0,true),b=aV.getUint32(4,true),d=c&ab,e=c>>>24|b<<8&ab,f=b>>>16&as;return aF(d,e,f)}function
j4(a,b,c){a.write(32,b.dims.length);a.write(32,b.kind|b.layout<<8);if(b.caml_custom===dT)for(var
d=0;d<b.dims.length;d++)if(b.dims[d]<as)a.write(16,b.dims[d]);else{a.write(16,as);a.write(32,0);a.write(32,b.dims[d])}else
for(var
d=0;d<b.dims.length;d++)a.write(32,b.dims[d]);switch(b.kind){case
2:case
3:case
12:for(var
d=0;d<b.data.length;d++)a.write(8,b.data[d]);break;case
4:case
5:for(var
d=0;d<b.data.length;d++)a.write(16,b.data[d]);break;case
6:for(var
d=0;d<b.data.length;d++)a.write(32,b.data[d]);break;case
8:case
9:a.write(8,0);for(var
d=0;d<b.data.length;d++)a.write(32,b.data[d]);break;case
7:for(var
d=0;d<b.data.length/2;d++){var
f=cf(b.get(d));for(var
e=0;e<8;e++)a.write(8,f[e])}break;case
1:for(var
d=0;d<b.data.length;d++){var
f=cf(ej(b.get(d)));for(var
e=0;e<8;e++)a.write(8,f[e])}break;case
13:for(var
d=0;d<b.data.length;d++)a.write(16,b.data[d]);break;case
0:for(var
d=0;d<b.data.length;d++){var
f=ei(b.get(d));a.write(32,f)}break;case
10:for(var
d=0;d<b.data.length/2;d++){var
e=b.get(d);a.write(32,ei(e[1]));a.write(32,ei(e[2]))}break;case
11:for(var
d=0;d<b.data.length/2;d++){var
g=b.get(d),f=cf(ej(g[1]));for(var
e=0;e<8;e++)a.write(8,f[e]);var
f=cf(ej(g[2]));for(var
e=0;e<8;e++)a.write(8,f[e])}break}c[0]=(4+b.dims.length)*4;c[1]=(4+b.dims.length)*8}function
f5(a){aV.setUint32(0,a,true);return aV.getFloat32(0,true)}function
f6(a){var
d=a.lo,b=a.mi,c=a.hi;aV.setUint32(0,d|b<<24,true);aV.setUint32(4,b>>>8|c<<16,true);return aV.getFloat64(0,true)}function
ac(a){if(!S.Failure)S.Failure=[c,a$(fH),-3];kw(S.Failure,a)}function
j1(a,b,c){var
k=a.read32s();if(k<0||k>16)ac("input_value: wrong number of bigarray dimensions");var
r=a.read32s(),l=r&at,q=r>>8&1,j=[];if(c===dT)for(var
d=0;d<k;d++){var
p=a.read16u();if(p===as){var
u=a.read32u(),v=a.read32u();if(u!==0)ac("input_value: bigarray dimension overflow in 32bit");p=v}j.push(p)}else
for(var
d=0;d<k;d++)j.push(a.read32u());var
f=eb(j),h=j0(l,f),i=f0(l,q,j,h);switch(l){case
2:for(var
d=0;d<f;d++)h[d]=a.read8s();break;case
3:case
12:for(var
d=0;d<f;d++)h[d]=a.read8u();break;case
4:for(var
d=0;d<f;d++)h[d]=a.read16s();break;case
5:for(var
d=0;d<f;d++)h[d]=a.read16u();break;case
6:for(var
d=0;d<f;d++)h[d]=a.read32s();break;case
8:case
9:var
t=a.read8u();if(t)ac("input_value: cannot read bigarray with 64-bit OCaml ints");for(var
d=0;d<f;d++)h[d]=a.read32s();break;case
7:var
g=new
Array(8);for(var
d=0;d<f;d++){for(var
e=0;e<8;e++)g[e]=a.read8u();var
s=ce(g);i.set(d,s)}break;case
1:var
g=new
Array(8);for(var
d=0;d<f;d++){for(var
e=0;e<8;e++)g[e]=a.read8u();var
m=f6(ce(g));i.set(d,m)}break;case
13:for(var
d=0;d<f;d++)h[d]=a.read16u();break;case
0:for(var
d=0;d<f;d++){var
m=f5(a.read32s());i.set(d,m)}break;case
10:for(var
d=0;d<f;d++){var
o=f5(a.read32s()),n=f5(a.read32s());i.set(d,[A,o,n])}break;case
11:var
g=new
Array(8);for(var
d=0;d<f;d++){for(var
e=0;e<8;e++)g[e]=a.read8u();var
o=f6(ce(g));for(var
e=0;e<8;e++)g[e]=a.read8u();var
n=f6(ce(g));i.set(d,[A,o,n])}break}b[0]=(4+k)*4;return f0(l,q,j,h)}function
jZ(a,b,c){return a.compare(b,c)}function
ch(a,b){return Math.imul(a,b)}function
T(a,b){b=ch(b,0xcc9e2d51|0);b=b<<15|b>>>32-15;b=ch(b,0x1b873593);a^=b;a=a<<13|a>>>32-13;return(a+(a<<2)|0)+(0xe6546b64|0)|0}function
tK(a,b){if((b&d3)===d3&&(b&0x03ff)!==0)b=0x7c01;else if(b===aD)b=0;return T(a,b)}function
tL(a,b){var
c=ei(b);if((c&iQ)===iQ&&(c&0x7fffff)!==0)c=0x7f800001;else if(c===(jJ|0))c=0;a=T(a,c);return a}function
kb(a,b){var
e=ej(b),d=f8(e),c=f7(e);if((c&fE)===fE&&(d|c&0xfffff)!==0){c=fE;d=0x00000001}else if(c===(jJ|0)&&d===0)c=0;a=T(a,d);a=T(a,c);return a}function
j3(a){var
c=eb(a.dims),d=0;switch(a.kind){case
2:case
3:case
12:if(c>b9)c=b9;var
e=0,b=0;for(b=0;b+4<=c;b+=4){e=a.data[b+0]&at|(a.data[b+1]&at)<<8|(a.data[b+2]&at)<<16|a.data[b+3]<<24;d=T(d,e)}e=0;switch(c&3){case
3:e=a.data[b+2]<<16;case
2:e|=a.data[b+1]<<8;case
1:e|=a.data[b+0];d=T(d,e)}break;case
4:case
5:if(c>bN)c=bN;var
e=0,b=0;for(b=0;b+2<=c;b+=2){e=a.data[b+0]&as|a.data[b+1]<<16;d=T(d,e)}if((c&1)!==0)d=T(d,a.data[b]);break;case
6:if(c>64)c=64;for(var
b=0;b<c;b++)d=T(d,a.data[b]);break;case
8:case
9:if(c>64)c=64;for(var
b=0;b<c;b++)d=T(d,a.data[b]);break;case
7:if(c>32)c=32;c*=2;for(var
b=0;b<c;b++)d=T(d,a.data[b]);break;case
10:c*=2;case
0:if(c>64)c=64;for(var
b=0;b<c;b++)d=tL(d,a.data[b]);break;case
11:c*=2;case
1:if(c>32)c=32;for(var
b=0;b<c;b++)d=kb(d,a.data[b]);break;case
13:if(c>bN)c=bN;for(var
b=0;b<c;b++)d=tK(d,a.data[b]);break}return d}function
tO(a,b){b[0]=4;return a.read32s()}function
ug(a,b){switch(a.read8u()){case
1:b[0]=4;return a.read32s();case
2:ac("input_value: native integer value too large");break;default:ac("input_value: ill-formed native integer")}}function
tZ(a,b){var
d=new
Array(8);for(var
c=0;c<8;c++)d[c]=a.read8u();b[0]=8;return ce(d)}function
tV(a,b,c){var
e=cf(b);for(var
d=0;d<8;d++)a.write(8,e[d]);c[0]=8;c[1]=8}function
tP(a,b,c){return a.compare(b)}function
tS(a){return a.lo32()^a.hi32()}var
c2={_j:{deserialize:tZ,serialize:tV,fixed_length:8,compare:tP,hash:tS},_i:{deserialize:tO,fixed_length:4},_n:{deserialize:ug,fixed_length:4},_bigarray:{deserialize:function(a,b){return j1(a,b,"_bigarray")},serialize:j4,compare:jZ,hash:j3},_bigarr02:{deserialize:function(a,b){return j1(a,b,dT)},serialize:j4,compare:jZ,hash:j3}};function
f1(a){return c2[a.caml_custom]&&c2[a.caml_custom].compare}function
j7(a,b,c,d){var
f=f1(b);if(f){var
e=c>0?f(b,a,d):f(a,b,d);if(d&&Number.isNaN(e))return c;if(Number.isNaN(+e))return+e;if((e|0)!==0)return e|0}return c}function
em(a){return typeof
a==="string"&&!/[^\x00-\xff]/.test(a)}function
el(a){return a
instanceof
bP}function
j8(a){if(typeof
a==="number")return a6;else if(el(a))return dR;else if(em(a))return 1252;else if(Array.isArray(a)&&a[0]===a[0]>>>0&&a[0]<=J){var
b=a[0]|0;return b===A?0:b}else if(a
instanceof
String)return jS;else if(typeof
a==="string")return jS;else if(a
instanceof
Number)return a6;else if(a?.caml_custom)return fF;else if(a?.compare)return 1256;else if(typeof
a==="function")return 1247;else if(typeof
a==="symbol")return 1251;return 1001}function
ki(a,b){if(a<b)return-1;if(a===b)return 0;return 1}function
ky(a,b){return a<b?-1:a>b?1:0}function
tp(a,b){a.t&6&&c0(a);b.t&6&&c0(b);return a.c<b.c?-1:a.c>b.c?1:0}function
cd(a,b,c){var
f=[];for(;;){if(!(c&&a===b)){var
e=j8(a);if(e===jE){a=a[1];continue}var
g=j8(b);if(g===jE){b=b[1];continue}if(e!==g){if(e===a6){if(g===fF)return j7(a,b,-1,c);return-1}if(g===a6){if(e===fF)return j7(b,a,1,c);return 1}return e<g?-1:1}switch(e){case
247:L(fM);break;case
248:var
d=ki(a[2],b[2])|0;if(d!==0)return d;break;case
249:L(fM);break;case
250:L("equal: got Forward_tag, should not happen");break;case
251:L("equal: abstract value");break;case
252:if(a!==b){var
d=tp(a,b)|0;if(d!==0)return d}break;case
253:L("equal: got Double_tag, should not happen");break;case
254:L("equal: got Double_array_tag, should not happen");break;case
255:L("equal: got Custom_tag, should not happen");break;case
1247:L(fM);break;case
1255:var
i=f1(a);if(i!==f1(b))return a.caml_custom<b.caml_custom?-1:1;if(!i)L("compare: abstract value");var
d=i(a,b,c);if(Number.isNaN(d))return c?-1:d;if(d!==(d|0))return-1;if(d!==0)return d|0;break;case
1256:var
d=a.compare(b,c);if(Number.isNaN(d))return c?-1:d;if(d!==(d|0))return-1;if(d!==0)return d|0;break;case
1000:a=+a;b=+b;if(a<b)return-1;if(a>b)return 1;if(a!==b){if(!c)return Number.NaN;if(!Number.isNaN(a))return 1;if(!Number.isNaN(b))return-1}break;case
1001:if(a<b)return-1;if(a>b)return 1;if(a!==b)return c?1:Number.NaN;break;case
1251:if(a!==b)return c?1:Number.NaN;break;case
1252:var
a=bv(a),b=bv(b);if(a!==b){if(a<b)return-1;if(a>b)return 1}break;case
12520:var
a=a.toString(),b=b.toString();if(a!==b){if(a<b)return-1;if(a>b)return 1}break;default:if(kk(e)){L("compare: continuation value");break}if(a.length!==b.length)return a.length<b.length?-1:1;if(a.length>1)f.push(a,b,1);break}}if(f.length===0)return 0;var
h=f.pop();b=f.pop();a=f.pop();if(h+1<a.length)f.push(a,b,h+1);a=a[h];b=b[h]}}function
cZ(a,b){return cd(a,b,true)}function
tv(){return[0]}function
N(a){if(a<0)L("Bytes.create");return new
bP(a?2:9,g,a)}var
ef=[0];function
tx(a,b){if(ef!==a)return 0;ef=b;return 1}function
j9(a){return ef}function
ty(a){ef=a}function
tz(a,b){return+(cd(a,b,false)===0)}function
tB(a,b,c,d){if(c>0)if(b===0&&(c>=a.l||a.t===2&&c>=a.c.length))if(d===0){a.c=g;a.t=2}else{a.c=bw(c,String.fromCharCode(d));a.t=c===a.l?0:2}else{if(a.t!==4)ee(a);for(c+=b;b<c;b++)a.c[b]=d}return 0}function
tC(a){var
b,e=/^ *[-+]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][-+]?\d+)?$/;a=bv(a);b=+a;if(!Number.isNaN(b)&&e.test(a))return b;a=a.replace(/_/g,g);b=+a;if(!Number.isNaN(b)&&e.test(a)||/^[+-]?nan$/i.test(a))return b;var
c=/^ *([+-]?)0x([0-9a-f]+)\.?([0-9a-f]*)(p([+-]?[0-9]+))?$/i.exec(a);if(c){var
d=c[3].replace(/0+$/,g),h=Number.parseInt(c[1]+c[2]+d,16),f=(+c[5]||0)-4*d.length;b=h*Math.pow(2,f);return b}if(/^\+?inf(inity)?$/i.test(a))return Number.POSITIVE_INFINITY;if(/^-inf(inity)?$/i.test(a))return Number.NEGATIVE_INFINITY;ac("float_of_string")}function
gb(a){a=bv(a);var
e=a.length;if(e>31)L("format_int: format too long");var
b={justify:cb,signstyle:bO,filler:aE,alternate:false,base:0,signedconv:false,width:0,uppercase:false,sign:1,prec:-1,conv:"f"};for(var
d=0;d<e;d++){var
c=a.charAt(d);switch(c){case"-":b.justify=bO;break;case"+":case" ":b.signstyle=c;break;case"0":b.filler=aa;break;case"#":b.alternate=true;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":b.width=0;while(c=a.charCodeAt(d)-48,c>=0&&c<=9){b.width=b.width*10+c;d++}d--;break;case".":b.prec=0;d++;while(c=a.charCodeAt(d)-48,c>=0&&c<=9){b.prec=b.prec*10+c;d++}d--;break;case"d":case"i":b.signedconv=true;b.base=10;break;case"u":b.base=10;break;case"x":b.base=16;break;case"X":b.base=16;b.uppercase=true;break;case"o":b.base=8;break;case"e":case"f":case"g":b.signedconv=true;b.conv=c;break;case"E":case"F":case"G":b.signedconv=true;b.uppercase=true;b.conv=c.toLowerCase();break}}return b}function
f2(a,b){if(a.uppercase)b=b.toUpperCase();var
e=b.length;if(a.signedconv&&(a.sign<0||a.signstyle!==bO))e++;if(a.alternate){if(a.base===8)e+=1;if(a.base===16)e+=2}var
c=g;if(a.justify===cb&&a.filler===aE)for(var
d=e;d<a.width;d++)c+=aE;if(a.signedconv)if(a.sign<0)c+=bO;else if(a.signstyle!==bO)c+=a.signstyle;if(a.alternate&&a.base===8)c+=aa;if(a.alternate&&a.base===16)c+=a.uppercase?"0X":fN;if(a.justify===cb&&a.filler===aa)for(var
d=e;d<a.width;d++)c+=aa;c+=b;if(a.justify===bO)for(var
d=e;d<a.width;d++)c+=aE;return a$(c)}function
f3(a,b){function
j(a,b){if(Math.abs(a)<1.0)return a.toFixed(b);else{var
c=Number.parseInt(a.toString().split(cb)[1]);if(c>20){c-=20;a/=Math.pow(10,c);a+=bw(c,aa);if(b>0)a=a+bq+bw(b,aa);return a}else
return a.toFixed(b)}}var
c,f=gb(a),e=f.prec<0?6:f.prec;if(b<0||b===0&&1/b===Number.NEGATIVE_INFINITY){f.sign=-1;b=-b}if(Number.isNaN(b)){c=fW;f.filler=aE}else if(!Number.isFinite(b)){c="inf";f.filler=aE}else
switch(f.conv){case"e":var
c=b.toExponential(e),d=c.length;if(c.charAt(d-3)===d1)c=c.slice(0,d-1)+aa+c.slice(d-1);break;case"f":c=j(b,e);break;case"g":e=e?e:1;c=b.toExponential(e-1);var
i=c.indexOf(d1),h=+c.slice(i+1);if(h<-4||b>=1e21||b.toFixed(0).length>e){var
d=i-1;while(c.charAt(d)===aa)d--;if(c.charAt(d)===bq)d--;c=c.slice(0,d+1)+c.slice(i);d=c.length;if(c.charAt(d-3)===d1)c=c.slice(0,d-1)+aa+c.slice(d-1);break}else{var
g=e;if(h<0){g-=h+1;c=b.toFixed(g)}else
while(c=b.toFixed(g),c.length>e+1)g--;if(g){var
d=c.length-1;while(c.charAt(d)===aa)d--;if(c.charAt(d)===bq)d--;c=c.slice(0,d+1)}}break}return f2(f,c)}function
eg(a,b){if(bv(a)===fK)return a$(g+b);var
c=gb(a);if(b<0)if(c.signedconv){c.sign=-1;b=-b}else
b>>>=0;var
d=b.toString(c.base);if(c.prec>=0){c.filler=aE;var
e=c.prec-d.length;if(e>0)d=bw(e,aa)+d}return f2(c,d)}var
kq=0;function
ax(){return kq++}var
kF=new
ArrayBuffer(bs);function
aG(a){if(gg(a))return a;var
c=a.length<=kF.length?new
Uint8Array(kF,0,a.length):new
Uint8Array(a.length);for(var
b=0;b<a.length;b++)c[b]=a.charCodeAt(b);return kE.decode(c)}function
c6(){return d.process?.versions?.node!==undefined}function
uv(){function
a(a){if(a.charAt(0)===aQ)return[g,a.slice(1)];return}function
b(a){var
h=/^([a-zA-Z]:|[\\/]{2}[^\\/]+[\\/]+[^\\/]+)?([\\/])?([\s\S]*?)$/,b=h.exec(a),c=b[1]||g,e=c.length>0&&c.charAt(1)!==":";if(b[2]||e){var
d=b[1]||g,f=b[2]||g;return[d,a.slice(d.length+f.length)]}return}return c6()&&d.process&&d.process.platform?d.process.platform===fG?b:a:a}var
gh=uv();function
kA(a){return a.slice(-1)!==aQ?a+aQ:a}if(c6()&&d.process&&d.process.cwd)var
c1=d.process.cwd().replace(/\\/g,aQ);else
var
c1="/static";c1=kA(c1);function
t9(a){a=aG(a);if(!gh(a))a=c1+a;var
e=gh(a),d=e[1].split(/[/\\]/),b=[];for(var
c=0;c<d.length;c++)switch(d[c]){case"..":b.pop();break;case".":break;case"":break;default:b.push(d[c]);break}b.unshift(e[0]);b.orig=a;return b}var
uu=new
TextEncoder();function
up(a,b,c){var
d=String.fromCharCode;if(b===0&&c<=iI&&c===a.length)return d.apply(null,a);var
e=g;for(;0<c;b+=bs,c-=bs)e+=d.apply(null,a.slice(b,b+Math.min(c,bs)));return e}function
un(a){return a$(up(a,0,a.length))}function
Z(a){if(gg(a))return a$(a);var
b=uu.encode(a);return un(b)}function
X(a){ku(S.Sys_error,Z(a))}function
kv(a,b){throw l([0,a].concat(b))}var
uw=["E2BIG","EACCES","EAGAIN",ca,"EBUSY","ECHILD","EDEADLK","EDOM",fU,"EFAULT","EFBIG","EINTR",b_,"EIO",fJ,"EMFILE","EMLINK","ENAMETOOLONG","ENFILE","ENODEV",cN,"ENOEXEC","ENOLCK","ENOMEM","ENOSPC","ENOSYS",dZ,iT,"ENOTTY","ENXIO","EPERM","EPIPE","ERANGE","EROFS",fR,"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
kH(a,b,c,d){var
e=uw.indexOf(a);if(e<0){if(d==null)d=-9999;e=[0,-d]}var
f=[e,Z(b||g),Z(c||g)];return f}var
ko={};function
ci(a){return ko[a]}function
F(a,b,c,d,e){var
f=ci(iY);if(a&&f)kv(f,kH(b,c,e));else{var
d=b+fQ+d+b$+c;if(e!==undefined)d+=" '"+e+"'";X(d)}}function
ts(a){if(!(a
instanceof
Uint8Array))a=new
Uint8Array(a);return new
bP(4,a,a.length)}function
gc(a,b){F(b,cN,d5,a)}function
j6(a){return new
bP(4,a,a.length)}function
av(a){return a.l}function
jW(){}class
bu
extends
jW{constructor(a){super();this.data=a}truncate(a){var
b=this.data;this.data=N(a|0);a8(b,0,this.data,0,a)}length(){return av(this.data)}write(a,b,c,d){var
e=this.length();if(a+d>=e){var
f=N(a+d),g=this.data;this.data=f;a8(g,0,this.data,0,e)}a8(j6(b),c,this.data,a,d);return d}read(a,b,c,d){var
e=this.length();if(a+d>=e)d=e-a;if(d){var
f=N(d|0);a8(this.data,a,f,0,d);b.set(eu(f),c)}return d}}class
tb{constructor(a,b,c){this.file=b;this.name=a;this.flags=c;this.offset=0;this.seeked=false}err_closed(a,b){F(b,ca,a,cS)}length(){if(this.file)return this.file.length();this.err_closed("length")}truncate(a,b){if(this.file){if(!(this.flags.wronly||this.flags.rdwr))F(b,b_,je,cQ);return this.file.truncate(a)}this.err_closed(je,b)}write(a,b,c,d){if(this.file&&(this.flags.wronly||this.flags.rdwr)){var
e=this.offset;c=this.file.write(e,a,b,c);this.offset+=c;return c}this.err_closed(i9,d)}read(a,b,c,d){if(this.file&&!this.flags.wronly){var
e=this.offset;c=this.file.read(e,a,b,c);this.offset+=c;return c}this.err_closed(iw,d)}seek(a,b,c){switch(b){case
0:break;case
1:a+=this.offset;break;case
2:a+=this.length();break}if(a<0)F(c,b_,dY,cQ);this.offset=a;this.seeked=true}close(){if(!this.file)this.err_closed("close");this.file=undefined}check_stream_semantics(a){if(!this.file)return this.err_closed(a,1)}}class
jV{constructor(a,b){this.content={};this.root=a;this.lookupFun=b}nm(a){return this.root+a}create_dir_if_needed(a){var
d=a.split(aQ),c=g;for(var
b=0;b<d.length-1;b++){c+=d[b]+aQ;if(this.content[c])continue;this.content[c]=Symbol("directory")}}slash(a){return/\/$/.test(a)?a:a+aQ}lookup(a){if(!this.content[a]&&this.lookupFun){var
b=this.lookupFun(Z(this.root),Z(a));if(b!==0){this.create_dir_if_needed(a);this.content[a]=new
bu(a9(b[1]))}}}exists(a,b){if(a===g)return 1;var
c=this.slash(a);if(this.content[c])return 1;if(!b)this.lookup(a);return this.content[a]?1:0}isFile(a){return this.exists(a)&&!this.is_dir(a)?1:0}rename_dir(a,b){if(this.exists(b)){if(!this.is_dir(b))X(this.nm(b)+" : file already exists and is not a directory");if(this.readdir(b).length>0)X(this.nm(b)+" : directory not empty")}var
d=this.slash(a),c=this.slash(b);this.create_dir_if_needed(c);for(const
b
of
this.readdir(a))this.rename(d+b,c+b);delete
this.content[d]}rename(a,b){if(!this.exists(a))X(this.nm(a)+" : no such file or directory");if(this.is_dir(a))this.rename_dir(a,b);else{if(this.exists(b)&&this.is_dir(b))X(this.nm(b)+" : file already exists and is a directory");this.content[b]=this.content[a];delete
this.content[a]}}mkdir(a,b,c){if(this.exists(a))F(c,fU,fB,jx,this.nm(a));var
d=/^(.*)\/[^/]+/.exec(a);d=d?.[1]||g;if(!this.exists(d))F(c,cN,fB,d5,this.nm(a));if(!this.is_dir(d))F(c,dZ,fB,ir,this.nm(a));this.create_dir_if_needed(this.slash(a))}rmdir(a,b){var
c=a===g?g:this.slash(a),e=new
RegExp(iE+c+iJ);if(!this.exists(a))F(b,cN,fL,d5,this.nm(a));if(!this.is_dir(a))F(b,dZ,fL,ir,this.nm(a));for(var
d
in
this.content)if(d.match(e))F(b,iT,fL,"directory not empty",this.nm(a));delete
this.content[c]}readdir(a){var
f=a===g?g:this.slash(a);if(!this.exists(a))X(a+": No such file or directory");if(!this.is_dir(a))X(a+": Not a directory");var
h=new
RegExp(iE+f+iJ),d={},c=[];for(var
e
in
this.content){var
b=e.match(h);if(b&&!d[b[1]]){d[b[1]]=true;c.push(b[1])}}return c}opendir(a,b){var
c=this.readdir(a),d=false,e=0;return{readSync:function(){if(d)F(b,ca,jn,cS);if(e===c.length)return null;var
a=c[e];e++;return{name:a}},closeSync:function(){if(d)F(b,ca,jn,cS);d=true;c=[]}}}is_dir(a){if(a===g)return true;var
b=this.slash(a);return this.content[b]?1:0}unlink(a,b){if(!this.exists(a,true))F(b,cN,"unlink",d5,a);delete
this.content[a];return 0}access(a,b,c){this.lookup(a);if(this.content[a]){if(this.is_dir(a))F(c,"EACCESS","access","permission denied,",this.nm(a))}else
gc(this.nm(a),c);return 0}open(a,b,c,d){var
e;this.lookup(a);if(this.content[a]){if(this.is_dir(a))F(d,fJ,fT,jr,this.nm(a));if(b.create&&b.excl)F(d,fU,fT,jx,this.nm(a));e=this.content[a];if(b.truncate)e.truncate()}else if(b.create){this.create_dir_if_needed(a);this.content[a]=new
bu(N(0));e=this.content[a]}else
gc(this.nm(a),d);return new
tb(this.nm(a),e,b)}truncate(a,b,c){var
d;this.lookup(a);if(this.content[a]){if(this.is_dir(a))F(c,fJ,fT,jr,this.nm(a));d=this.content[a];d.truncate(b)}else
gc(this.nm(a),c)}register(a,b){var
c;if(this.content[a])X(this.nm(a)+" : file already exists");if(el(b))c=new
bu(b);if(em(b))c=new
bu(a9(b));else if(Array.isArray(b))c=new
bu(ts(b));else if(typeof
b==="string")c=new
bu(j5(b));else if(b.toString){var
d=a9(Z(b.toString()));c=new
bu(d)}if(c){this.create_dir_if_needed(a);this.content[a]=c}else
X(this.nm(a)+" : registering file with invalid content type")}}function
B(a,b,c){var
d=ci(iY);if(b&&d){var
e=kH(a.code,c||a.syscall,a.path,a.errno);kv(d,e)}else
X(a.toString())}function
tW(a){if(a<0)a=Math.ceil(a);return new
v(a&ab,Math.floor(a*c4)&ab,Math.floor(a*c4*c4)&as)}function
gf(a,b){var
c;if(a.isFile())c=0;else if(a.isDirectory())c=1;else if(a.isCharacterDevice())c=2;else if(a.isBlockDevice())c=3;else if(a.isSymbolicLink())c=4;else if(a.isFIFO())c=5;else if(a.isSocket())c=6;return[0,a.dev,a.ino|0,c,a.mode,a.nlink,a.uid,a.gid,a.rdev,b?tW(a.size):a.size|0,a.atimeMs/a6,a.mtimeMs/a6,a.ctimeMs/a6]}function
j(a){return a.length}function
ag(a,b){return a.charCodeAt(b)}function
uz(a){var
d=j(a),c=new
Uint8Array(d),b=0;for(;b<d;b++)c[b]=ag(a,b);return c}class
fZ
extends
jW{constructor(a,b){super();this.fs=require(cP);this.fd=a;this.flags=b;try{var
c=this.fs.fstatSync(a);b.noSeek=c.isCharacterDevice()||c.isFIFO()||c.isSocket()}catch(f){b.noSeek=true}this.offset=this.flags.append?c.size:0;this.seeked=false}truncate(a,b){try{this.fs.ftruncateSync(this.fd,a|0);if(this.offset>a)this.offset=a}catch(f){B(f,b)}}length(){try{return this.fs.fstatSync(this.fd).size}catch(f){X(f.toString())}}write(a,b,c,d){try{if(this.flags.noSeek||!this.seeked)var
e=this.fs.writeSync(this.fd,a,b,c);else
var
e=this.fs.writeSync(this.fd,a,b,c,this.offset);this.offset+=e}catch(f){B(f,d)}return e}read(a,b,c,d){try{if(this.flags.noSeek||!this.seeked)var
e=this.fs.readSync(this.fd,a,b,c);else
var
e=this.fs.readSync(this.fd,a,b,c,this.offset);this.offset+=e;return e}catch(f){B(f,d)}}seek(a,b,c){if(this.flags.noSeek)F(c,fR,dY,js);switch(b){case
0:break;case
1:a+=this.offset;break;case
2:a+=this.length();break}if(a<0)F(c,b_,dY,cQ);this.offset=a;this.seeked=true;return this.offset}stat(a){try{var
b=this.fs.fstatSync(this.fd);return gf(b,a)}catch(f){B(f,1)}}chmod(a){try{this.fs.fchmodSync(this.fd,a);return 0}catch(f){B(f,1)}}sync(){try{this.fs.fsyncSync(this.fd);return 0}catch(f){B(f,1)}}close(a){try{this.fs.closeSync(this.fd);return 0}catch(f){B(f,a)}}check_stream_semantics(a){try{var
b=this.fs.fstatSync(this.fd)}catch(f){B(f,1,a)}if(!(b.isFile()||b.isCharacterDevice()||b.isFIFO()||b.isSocket()))F(1,b_,a,cQ)}}class
jX{constructor(a){this.fs=require(cP);this.root=a}nm(a){return this.root+a}exists(a){try{return this.fs.existsSync(this.nm(a))?1:0}catch(f){return 0}}isFile(a){try{return this.fs.statSync(this.nm(a)).isFile()?1:0}catch(f){X(f.toString())}}mkdir(a,b,c){try{this.fs.mkdirSync(this.nm(a),{mode:b});return 0}catch(f){B(f,c)}}rmdir(a,b){try{this.fs.rmdirSync(this.nm(a));return 0}catch(f){B(f,b)}}readdir(a,b){try{return this.fs.readdirSync(this.nm(a))}catch(f){B(f,b)}}is_dir(a){try{return this.fs.statSync(this.nm(a)).isDirectory()?1:0}catch(f){X(f.toString())}}unlink(a,b){try{this.fs.unlinkSync(this.nm(a));return 0}catch(f){B(f,b)}}utimes(a,b,c,d){try{if(b===0&&c===0){b=new
Date().getTime()/a6;c=b}this.fs.utimesSync(this.nm(a),b,c);return 0}catch(f){B(f,d)}}truncate(a,b,c){try{this.fs.truncateSync(this.nm(a),b|0);return 0}catch(f){B(f,c)}}access(a,b,c){var
e=require(cP).constants,f=0;for(var
g
in
b)switch(g){case"r":f|=e.R_OK;break;case"w":f|=e.W_OK;break;case"x":f|=d.process?.platform===fG?e.R_OK:e.X_OK;break;case"f":f|=e.F_OK;break}try{this.fs.accessSync(this.nm(a),f);return 0}catch(f){B(f,c)}}open(a,b,c,d){var
f=require(cP).constants,e=0;for(var
h
in
b)switch(h){case"rdonly":e|=f.O_RDONLY;break;case"wronly":e|=f.O_WRONLY;break;case"rdwr":e|=f.O_RDWR;break;case"append":e|=f.O_APPEND;break;case"create":e|=f.O_CREAT;break;case"truncate":e|=f.O_TRUNC;break;case"excl":e|=f.O_EXCL;break;case"binary":e|=f.O_BINARY;break;case"text":e|=f.O_TEXT;break;case"nonblock":e|=f.O_NONBLOCK;break;case"noctty":e|=f.O_NOCTTY;break;case"dsync":e|=f.O_DSYNC;break;case"sync":e|=f.O_SYNC;break}try{var
g=this.fs.openSync(this.nm(a),e,c);return new
fZ(g,b)}catch(f){B(f,d)}}slash(a){return/\/$/.test(a)?a:a+aQ}rename(a,b,c){if(d.process?.platform===fG)try{var
e=this.nm(b),g=this.nm(a),i,h;if((i=this.fs.statSync(e,{throwIfNoEntry:false}))&&(h=this.fs.statSync(g,{throwIfNoEntry:false}))&&h.isDirectory())if(i.isDirectory()){if(!this.slash(e).startsWith(this.slash(g)))try{this.fs.rmdirSync(e)}catch{}}else{var
f=new
Error(`ENOTDIR: not a directory, rename '${g}' -> '${e}'`);throw Object.assign(f,{errno:-20,code:dZ,syscall:"rename",path:e})}this.fs.renameSync(this.nm(a),this.nm(b))}catch(f){B(f,c)}else
try{this.fs.renameSync(this.nm(a),this.nm(b))}catch(f){B(f,c)}}stat(a,b,c){try{var
d=this.fs.statSync(this.nm(a));return gf(d,b)}catch(f){B(f,c)}}lstat(a,b,c){try{var
d=this.fs.lstatSync(this.nm(a));return gf(d,b)}catch(f){B(f,c)}}chmod(a,b,c){try{this.fs.chmodSync(this.nm(a),b);return 0}catch(f){B(f,c)}}link(a,b,c){try{this.fs.linkSync(this.nm(a),this.nm(b));return 0}catch(f){B(f,c)}}symlink(a,b,c,d){try{this.fs.symlinkSync(b,this.nm(c),a===0?null:a[1]?"dir":"file");return 0}catch(f){B(f,d)}}readlink(a,b){try{var
c=this.fs.readlinkSync(this.nm(a),"utf8");return Z(c)}catch(f){B(f,b)}}opendir(a,b){try{return this.fs.opendirSync(this.nm(a))}catch(f){B(f,b)}}}function
ka(a){var
b=gh(a);if(!b)return;return b[0]+aQ}var
es=ka(c1)||ac("unable to compute caml_root"),ck=[];if(c6())ck.push({path:es,device:new
jX(es)});else
ck.push({path:es,device:new
jV(es)});ck.push({path:jd,device:new
jV(jd)});function
kI(a){var
g=t9(a),a=g.join(aQ),f=kA(a),c;for(var
d=0;d<ck.length;d++){var
b=ck[d];if(f.search(b.path)===0&&(!c||c.path.length<b.path.length))c={path:b.path,device:b.device,rest:a.slice(b.path.length,a.length)}}if(!c&&c6()){var
e=ka(a);if(e?.match(/^[a-zA-Z]:\/$/)){var
b={path:e,device:new
jX(e)};ck.push(b);c={path:b.path,device:b.device,rest:a.slice(b.path.length,a.length)}}}if(c)return c;X("no device found for "+f)}function
tw(a,b){var
c=kI(a);if(!c.device.register)ac("cannot register file");c.device.register(c.rest,b);return 0}function
kB(a,b){var
a=Z(a),b=a$(b);return tw(a,b)}function
tE(){var
b=d.jsoo_fs_tmp;if(b)for(var
a=0;a<b.length;a++)kB(b[a].name,b[a].content);d.jsoo_create_file=kB;d.jsoo_fs_tmp=[];return 0}var
en=[];function
e(a,b,c){var
e=a[1],h=en[c];if(e[h+4]===b)return e[h+3];var
d=3,g=e[1]*2+1,f;while(d<g){f=d+g>>1|1;if(b<e[f+1])g=f-2;else
d=f}en[c]=d-3;return e[d]}function
j$(a){return[0]}function
eh(a,b){var
d=a[1],c=3,f=d[1]*2+1,e;while(c<f){e=c+f>>1|1;if(b<d[e+1])f=e-2;else
c=e}return b===d[c+1]?d[c]:0}function
tF(a,b){return+(cd(a,b,false)>=0)}function
f4(a,b){var
e=b.length,c,d;for(c=0;c+4<=e;c+=4){d=b.charCodeAt(c)|b.charCodeAt(c+1)<<8|b.charCodeAt(c+2)<<16|b.charCodeAt(c+3)<<24;a=T(a,d)}d=0;switch(e&3){case
3:d=b.charCodeAt(c+2)<<16;case
2:d|=b.charCodeAt(c+1)<<8;case
1:d|=b.charCodeAt(c);a=T(a,d)}a^=e;return a}function
tM(a,b){return f4(a,bv(b))}function
tI(a,b){var
e=b.length,c,d;for(c=0;c+4<=e;c+=4){d=b[c]|b[c+1]<<8|b[c+2]<<16|b[c+3]<<24;a=T(a,d)}d=0;switch(e&3){case
3:d=b[c+2]<<16;case
2:d|=b[c+1]<<8;case
1:d|=b[c];a=T(a,d)}a^=e;return a}function
t$(a){switch(a.t&6){case
2:c0(a);return a.c;default:return a.c}}function
tH(a,b){var
c=t$(b);return typeof
c==="string"?f4(a,c):tI(a,c)}function
tJ(a){a^=a>>>16;a=ch(a,0x85ebca6b|0);a^=a>>>13;a=ch(a,0xc2b2ae35|0);a^=a>>>16;return a}function
tG(a,b,c,d){var
j,k,l,h,g,f,e,i,m;h=b;if(h<0||h>b9)h=b9;g=a;f=c;j=[d];k=0;l=1;while(k<l&&g>0){e=j[k++];if(e?.caml_custom){if(c2[e.caml_custom]&&c2[e.caml_custom].hash){var
n=c2[e.caml_custom].hash(e);f=T(f,n);g--}}else if(Array.isArray(e)&&e[0]===(e[0]|0))switch(e[0]){case
248:f=T(f,e[2]);g--;break;case
250:j[--k]=e[1];break;default:if(kk(e[0]))break;var
o=e.length-1<<10|e[0];f=T(f,o);for(i=1,m=e.length;i<m;i++){if(l>=h)break;j[l++]=e[i]}break}else if(el(e)){f=tH(f,e);g--}else if(em(e)){f=tM(f,e);g--}else if(typeof
e==="string"){f=f4(f,e);g--}else if(e===(e|0)){f=T(f,e+e+1);g--}else if(typeof
e==="number"){f=kb(f,e);g--}}f=tJ(f);return f&0x3fffffff}function
tN(a,b,c){if(!Number.isFinite(a)){if(Number.isNaN(a))return Z(fW);return Z(a>0?jc:"-infinity")}var
k=a===0&&1/a===Number.NEGATIVE_INFINITY?1:a>=0?0:1;if(k)a=-a;var
e=0;if(a===0);else if(a<1)while(a<1&&e>-1022){a*=2;e--}else
while(a>=2){a/=2;e++}var
l=e<0?g:cb,f=g;if(k)f=bO;else
switch(c){case
43:f=cb;break;case
32:f=aE;break;default:break}if(b>=0&&b<13){var
i=Math.pow(2,b*4);a=Math.round(a*i)/i}var
d=a.toString(16);if(b>=0){var
j=d.indexOf(bq);if(j<0)d+=bq+bw(b,aa);else{var
h=j+1+b;if(d.length<h)d+=bw(h-d.length,aa);else
d=d.slice(0,h)}}return Z(f+fN+d+"p"+l+e.toString(10))}function
tU(a){return+a.isZero()}function
c3(a){return new
v(a&ab,a>>24&ab,a>>31&as)}function
kh(a){return a.toInt()}function
tT(a){return+a.isNeg()}function
ke(a){return a.neg()}function
tR(a,b){var
c=gb(a);if(c.signedconv&&tT(b)){c.sign=-1;b=ke(b)}var
d=g,i=c3(c.base),h="0123456789abcdef";do{var
f=b.udivmod(i);b=f.quotient;d=h.charAt(kh(f.modulus))+d}while(!tU(b));if(c.prec>=0){c.filler=aE;var
e=c.prec-d.length;if(e>0)d=bw(e,aa)+d}return f2(c,d)}function
kc(a,b){return a.add(b)}function
kd(a,b){return a.mul(b)}function
f_(a,b){return a.ucompare(b)<0}function
ks(a){var
b=0,f=j(a),d=10,e=1,c=1;if(f>0)switch(ag(a,b)){case
45:b++;e=-1;break;case
43:b++;e=1;break}if(b+1<f&&ag(a,b)===48)switch(ag(a,b+1)){case
120:case
88:c=0;d=16;b+=2;break;case
111:case
79:c=0;d=8;b+=2;break;case
98:case
66:c=0;d=2;b+=2;break;case
117:case
85:c=0;b+=2;break}return[b,e,d,c]}function
eq(a){if(a>=48&&a<=57)return a-48;if(a>=65&&a<=90)return a-55;if(a>=97&&a<=122)return a-87;return-1}function
f9(a){var
f=ks(a),e=f[0],i=f[1],g=f[2],k=f[3],h=c3(g),l=v.UNSIGNED_MAX.udivmod(h).quotient,d=ag(a,e),b=eq(d);if(b<0||b>=g)ac(cU);var
c=c3(b);for(;;){e++;d=ag(a,e);if(d===95)continue;b=eq(d);if(b<0||b>=g)break;if(f_(l,c))ac(cU);b=c3(b);c=kc(kd(h,c),b);if(f_(c,b))ac(cU)}if(e!==j(a))ac(cU);if(k&&f_(i<0?v.SIGNED_MIN:v.SIGNED_MAX,c))ac(cU);if(i<0)c=ke(c);return c}function
kf(a,b){return a.or(b)}function
kg(a,b){return a.shift_right_unsigned(b)}function
tY(a){return a.toFloat()}function
ek(a){var
f=ks(a),d=f[0],i=f[1],g=f[2],k=f[3],h=j(a),l=-1>>>0,e=d<h?ag(a,d):0,c=eq(e);if(c<0||c>=g)ac(d7);var
b=c;for(d++;d<h;d++){e=ag(a,d);if(e===95)continue;c=eq(e);if(c<0||c>=g)break;b=g*b+c;if(b>l)ac(d7)}if(d!==h)ac(d7);b=i*b;if(k&&(b|0)!==b)ac(d7);return b|0}function
t2(a,b,c){return a.apply(b,kl(c))}var
ed=a_;function
t3(a){return a.l>=0?a.l:a.l=a.length}function
t4(b){return function(...a){var
c=t3(b);a.length=c;return ed(b,a)}}function
t5(a,b){return+(cd(a,b,false)<=0)}function
t6(a,b){return+(cd(a,b,false)<0)}var
t8=f9(Z("0xdaba0b6eb09322e3")),t7=f9(Z("0xd1342543de82ef95"));function
tn(a,b){return a.get(a.offset(b))}function
t0(a,b){return a.xor(b)}function
tX(a,b){return a.shift_left(b)}function
cg(a){function
o(a,b){return tX(a,b)}function
h(a,b){return kg(a,b)}function
s(a,b){return kf(a,b)}function
f(a,b){return t0(a,b)}function
k(a,b){return kc(a,b)}function
i(a,b){return kd(a,b)}function
m(a,b){return s(o(a,b),h(a,64-b))}function
g(a,b){return tn(a,b)}function
j(a,b,c){return cX(a,b,c)}var
q=t7,l=t8,b,d,c,e=a,r=g(e,0),n=g(e,1),p=g(e,2),t=g(e,3);b=k(n,p);b=i(f(b,h(b,32)),l);b=i(f(b,h(b,32)),l);b=f(b,h(b,32));j(e,1,k(i(n,q),r));var
d=p,c=t;c=f(c,d);d=m(d,24);d=f(f(d,c),o(c,16));c=m(c,37);j(e,2,d);j(e,3,c);return b}function
tf(){var
a=new
ArrayBuffer(64),b=new
Uint32Array(a),c=new
Uint8Array(a);return{len:0,w:new
Uint32Array([0x67452301,0xefcdab89,0x98badcfe,0x10325476]),b32:b,b8:c}}var
d$=function(){function
k(a,b){return a+b|0}function
l(a,b,c,d,e,f){b=k(k(b,a),k(d,f));return k(b<<e|b>>>32-e,c)}function
g(a,b,c,d,e,f,g){return l(b&c|~b&d,a,b,e,f,g)}function
h(a,b,c,d,e,f,g){return l(b&d|c&~d,a,b,e,f,g)}function
i(a,b,c,d,e,f,g){return l(b^c^d,a,b,e,f,g)}function
j(a,b,c,d,e,f,g){return l(c^(b|~d),a,b,e,f,g)}return function(a,b){var
c=a[0],d=a[1],e=a[2],f=a[3];c=g(c,d,e,f,b[0],7,0xd76aa478);f=g(f,c,d,e,b[1],12,0xe8c7b756);e=g(e,f,c,d,b[2],17,0x242070db);d=g(d,e,f,c,b[3],22,0xc1bdceee);c=g(c,d,e,f,b[4],7,0xf57c0faf);f=g(f,c,d,e,b[5],12,0x4787c62a);e=g(e,f,c,d,b[6],17,0xa8304613);d=g(d,e,f,c,b[7],22,0xfd469501);c=g(c,d,e,f,b[8],7,0x698098d8);f=g(f,c,d,e,b[9],12,0x8b44f7af);e=g(e,f,c,d,b[10],17,0xffff5bb1);d=g(d,e,f,c,b[11],22,0x895cd7be);c=g(c,d,e,f,b[12],7,0x6b901122);f=g(f,c,d,e,b[13],12,0xfd987193);e=g(e,f,c,d,b[14],17,0xa679438e);d=g(d,e,f,c,b[15],22,0x49b40821);c=h(c,d,e,f,b[1],5,0xf61e2562);f=h(f,c,d,e,b[6],9,0xc040b340);e=h(e,f,c,d,b[11],14,0x265e5a51);d=h(d,e,f,c,b[0],20,0xe9b6c7aa);c=h(c,d,e,f,b[5],5,0xd62f105d);f=h(f,c,d,e,b[10],9,0x02441453);e=h(e,f,c,d,b[15],14,0xd8a1e681);d=h(d,e,f,c,b[4],20,0xe7d3fbc8);c=h(c,d,e,f,b[9],5,0x21e1cde6);f=h(f,c,d,e,b[14],9,0xc33707d6);e=h(e,f,c,d,b[3],14,0xf4d50d87);d=h(d,e,f,c,b[8],20,0x455a14ed);c=h(c,d,e,f,b[13],5,0xa9e3e905);f=h(f,c,d,e,b[2],9,0xfcefa3f8);e=h(e,f,c,d,b[7],14,0x676f02d9);d=h(d,e,f,c,b[12],20,0x8d2a4c8a);c=i(c,d,e,f,b[5],4,0xfffa3942);f=i(f,c,d,e,b[8],11,0x8771f681);e=i(e,f,c,d,b[11],16,0x6d9d6122);d=i(d,e,f,c,b[14],23,0xfde5380c);c=i(c,d,e,f,b[1],4,0xa4beea44);f=i(f,c,d,e,b[4],11,0x4bdecfa9);e=i(e,f,c,d,b[7],16,0xf6bb4b60);d=i(d,e,f,c,b[10],23,0xbebfbc70);c=i(c,d,e,f,b[13],4,0x289b7ec6);f=i(f,c,d,e,b[0],11,0xeaa127fa);e=i(e,f,c,d,b[3],16,0xd4ef3085);d=i(d,e,f,c,b[6],23,0x04881d05);c=i(c,d,e,f,b[9],4,0xd9d4d039);f=i(f,c,d,e,b[12],11,0xe6db99e5);e=i(e,f,c,d,b[15],16,0x1fa27cf8);d=i(d,e,f,c,b[2],23,0xc4ac5665);c=j(c,d,e,f,b[0],6,0xf4292244);f=j(f,c,d,e,b[7],10,0x432aff97);e=j(e,f,c,d,b[14],15,0xab9423a7);d=j(d,e,f,c,b[5],21,0xfc93a039);c=j(c,d,e,f,b[12],6,0x655b59c3);f=j(f,c,d,e,b[3],10,0x8f0ccc92);e=j(e,f,c,d,b[10],15,0xffeff47d);d=j(d,e,f,c,b[1],21,0x85845dd1);c=j(c,d,e,f,b[8],6,0x6fa87e4f);f=j(f,c,d,e,b[15],10,0xfe2ce6e0);e=j(e,f,c,d,b[6],15,0xa3014314);d=j(d,e,f,c,b[13],21,0x4e0811a1);c=j(c,d,e,f,b[4],6,0xf7537e82);f=j(f,c,d,e,b[11],10,0xbd3af235);e=j(e,f,c,d,b[2],15,0x2ad7d2bb);d=j(d,e,f,c,b[9],21,0xeb86d391);a[0]=k(c,a[0]);a[1]=k(d,a[1]);a[2]=k(e,a[2]);a[3]=k(f,a[3])}}();function
tg(a,b,c){var
e=a.len&i5,d=0;a.len+=c;if(e){var
f=64-e;if(c<f){a.b8.set(b.subarray(0,c),e);return}a.b8.set(b.subarray(0,f),e);d$(a.w,a.b32);c-=f;d+=f}while(c>=64){a.b8.set(b.subarray(d,d+64),0);d$(a.w,a.b32);c-=64;d+=64}if(c)a.b8.set(b.subarray(d,d+c),0)}function
te(a){var
c=a.len&i5;a.b8[c]=0x80;c++;if(c>56){for(var
b=c;b<64;b++)a.b8[b]=0;d$(a.w,a.b32);for(var
b=0;b<56;b++)a.b8[b]=0}else
for(var
b=c;b<56;b++)a.b8[b]=0;a.b32[14]=a.len<<3;a.b32[15]=a.len>>29&0x1fffffff;d$(a.w,a.b32);var
e=new
Uint8Array(16);for(var
d=0;d<4;d++)for(var
b=0;b<4;b++)e[d*4+b]=a.w[d]>>8*b&at;return e}function
uo(a){return c5(a,0,a.length)}function
t_(a,b,c){var
d=tf(),e=eu(a);tg(d,e.subarray(b,b+c),c);return uo(te(d))}function
ub(){return 0}function
jU(a){this.id=a}class
ua{constructor(){this.map=new
d.WeakMap();this.opened=new
d.Set()}close(a){this.opened.delete(a)}get(a){return this.map.get(a)}set(a,b){if(b.opened)this.opened.add(a);return this.map.set(a,b)}all(){return this.opened.values()}}var
eo=new
ua();function
f$(a){return eo.get(a)}function
aH(a){var
b=f$(a);if(!b.opened)X("Cannot flush a closed channel");if(!b.buffer||b.buffer_curr===0)return 0;if(b.output)b.output(c5(b.buffer,0,b.buffer_curr));else
for(var
c=0;c<b.buffer_curr;)c+=b.file.write(b.buffer,c,b.buffer_curr-c);b.offset+=b.buffer_curr;b.buffer_curr=0;return 0}var
kj=65536;function
us(a,b){if(b.altname)try{var
d=require(cP),c=d.openSync(b.altname,"rs");return new
fZ(c,b)}catch(f){}return new
fZ(a,b)}var
cj=new
Array(3);class
tc
extends
bu{constructor(a,b){super(N(0));this.log=function(a){return 0};if(a===1&&typeof
console.log==="function")this.log=console.log;else if(a===2&&typeof
console.error==="function")this.log=console.error;else if(typeof
console.log==="function")this.log=console.log;this.flags=b}length(){return 0}truncate(a,b){F(b,b_,"ftruncate",cQ)}write(a,b,c,d){var
f=c;if(this.log){if(c>0&&b>=0&&b+c<=a.length&&a[b+c-1]===10)c--;var
e=N(c);a8(j6(a),b,e,0,c);this.log(e.toUtf16());return f}F(d,ca,i9,cS)}read(a,b,c,d){F(d,ca,iw,cS)}seek(a,b,c){F(c,fR,dY,js)}close(){this.log=undefined}check_stream_semantics(a){}}function
et(a,b){var
c;if(b===undefined){b=cj.length;c=new
jU(b)}else if(cj[b])c=cj[b].chanid;else
c=new
jU(b);cj[b]={file:a,chanid:c};return b|0}function
uy(a,b,c){var
d={};while(b){switch(b[1]){case
0:d.rdonly=1;break;case
1:d.wronly=1;break;case
2:d.append=1;d.writeonly=1;break;case
3:d.create=1;break;case
4:d.truncate=1;break;case
5:d.excl=1;break;case
6:d.binary=1;break;case
7:d.text=1;break;case
8:d.nonblock=1;break}b=b[2]}var
e=kI(a),f=e.device.open(e.rest,d,c);return et(f,undefined)}(function(){var
c=c6();function
a(a,b){return c?us(a,b):new
tc(a,b)}et(a(0,{rdonly:1,altname:"/dev/stdin",isCharacterDevice:true}),0);et(a(1,{buffered:c?1:2,wronly:1,isCharacterDevice:true}),1);et(a(2,{buffered:c?1:2,wronly:1,isCharacterDevice:true}),2)}());function
uc(a){var
b=cj[a];if(b===undefined)X(jb+a+i7);var
d=b.file,c=b.chanid,f=null,e={file:d,offset:d.offset,fd:a,opened:true,out:false,buffer_curr:0,buffer_max:0,buffer:new
Uint8Array(kj),refill:f};eo.set(c,e);return c}function
km(a){var
c=cj[a];if(c===undefined)X(jb+a+i7);var
b=c.file,d=c.chanid,e=b.flags.buffered!==undefined?b.flags.buffered:1,f={file:b,offset:b.offset,fd:a,opened:true,out:true,buffer_curr:0,buffer:new
Uint8Array(kj),buffered:e};eo.set(d,f);return d}function
ud(){var
a=0,d=eo.all();for(var
c
of
d){var
b=f$(c);if(b.opened&&b.out)a=[0,c,a]}return a}function
uf(a,b,c,d){var
e=f$(a);if(!e.opened)X("Cannot output to a closed channel");b=b.subarray(c,c+d);if(e.buffer_curr+b.length>e.buffer.length){var
g=new
Uint8Array(e.buffer_curr+b.length);g.set(e.buffer);e.buffer=g}switch(e.buffered){case
0:e.buffer.set(b,e.buffer_curr);e.buffer_curr+=b.length;aH(a);break;case
1:e.buffer.set(b,e.buffer_curr);e.buffer_curr+=b.length;if(e.buffer_curr>=e.buffer.length)aH(a);break;case
2:var
f=b.lastIndexOf(10);if(f<0){e.buffer.set(b,e.buffer_curr);e.buffer_curr+=b.length;if(e.buffer_curr>=e.buffer.length)aH(a)}else{e.buffer.set(b.subarray(0,f+1),e.buffer_curr);e.buffer_curr+=f+1;aH(a);e.buffer.set(b.subarray(f+1),e.buffer_curr);e.buffer_curr+=b.length-f-1}break}return 0}function
ue(a,b,c,d){var
b=eu(b);return uf(a,b,c,d)}function
ga(a,b,c,d){return ue(a,a9(b),c,d)}function
kn(a,b){var
c=a$(String.fromCharCode(b));ga(a,c,0,1);return 0}function
aU(a,b){return+(cd(a,b,false)!==0)}function
kp(a,b){var
d=new
Array(b+1);d[0]=a;for(var
c=1;c<=b;c++)d[c]=0;return d}function
uh(a){return typeof
a==="number"?a:a.slice()}function
ep(a){if(Array.isArray(a)&&a[0]===a[0]>>>0)return a[0];else if(el(a))return dR;else if(em(a))return dR;else if(a
instanceof
Function||typeof
a==="function")return 247;else if(a?.caml_custom)return J;else
return a6}function
a(){var
a=en.length;en[a]=0}var
kG=undefined;function
to(a){var
d={},c=-1;if(a)for(var
b=1;b<a.length;b++){var
e=a[b][2];c=Math.max(c,e);d[aG(a[b][1])]=e}d.next_idx=c+1;return d}function
ay(a,b,c){if(c){var
d=c;if(kG)a=ed(kG,[d]);else if(S.symbols){if(!S.symidx)S.symidx=to(S.symbols);var
e=S.symidx[d];if(e>=0)a=e;else{var
a=S.symidx.next_idx++;S.symidx[d]=a}}}S[a+1]=b;if(c)S[c]=b}function
gd(a,b){ko[bv(a)]=b;return 0}function
uk(a){a[2]=kq++;return a}function
um(){L(fI)}function
m(a,b){if(b>>>0>=j(a))um();return ag(a,b)}function
Y(a){a.t&6&&c0(a);return a$(a.c)}function
uq(){return jh/4|0}function
ur(a){if(d.quit)d.quit(a);if(d.process?.exit)d.process.exit(a);L("Function 'exit' not implemented")}function
ui(){kt(S.Not_found)}function
kz(a){var
b=kD(aG(a));if(b===undefined)ui();return Z(b)}function
ut(){if(d.crypto)if(d.crypto.getRandomValues){var
a=d.crypto.getRandomValues(new
Int32Array(4));return[0,a[0],a[1],a[2],a[3]]}else if(d.crypto.randomBytes){var
a=new
Int32Array(d.crypto.randomBytes(16).buffer);return[0,a[0],a[1],a[2],a[3]]}var
b=new
Date().getTime(),c=b^0xffffffff*Math.random();return[0,c]}function
bS(a){var
b=1;while(a?.joo_tramp){a=a.joo_tramp.apply(null,a.joo_args);b++}return a}function
ad(a,b,c){return{joo_tramp:a,joo_args:b,joo_direct:c}}function
y(a){{if(Array.isArray(a))return a;var
b;if(d.RangeError&&a
instanceof
d.RangeError&&a.message&&a.message.match(/maximum call stack/i))b=S.Stack_overflow;else if(d.InternalError&&a
instanceof
d.InternalError&&a.message&&a.message.match(/too much recursion/i))b=S.Stack_overflow;else if(a
instanceof
d.Error&&ci(fS))b=[0,ci(fS),a];else
b=[0,S.Failure,Z(String(a))];if(a
instanceof
d.Error)b.js_error=a;return b}}function
t1(a){switch(a[2]){case-8:case-11:case-12:return 1;default:return 0}}function
tD(a){var
b=g;if(a[0]===0){b+=a[1][1];if(a.length===3&&a[2][0]===0&&t1(a[1]))var
f=a[2],h=1;else
var
h=2,f=a;b+="(";for(var
e=h;e<f.length;e++){if(e>h)b+=b$;var
d=f[e];if(typeof
d==="number")b+=d.toString();else if(d
instanceof
bP)b+=cT+d.toString()+cT;else if(typeof
d==="string")b+=cT+d.toString()+cT;else
b+=iK}b+=")"}else if(a[0]===c)b+=a[1];return b}function
j_(a){if(Array.isArray(a)&&(a[0]===0||a[0]===c)){var
d=ci(is);if(d)ed(d,[a,false]);else{var
e=tD(a),b=ci(iP);if(b)ed(b,[0]);console.error(fP+e);if(a.js_error)throw a.js_error}}else
throw a}function
ul(){var
c=d.process;if(c?.on)c.on("uncaughtException",function(a,b){j_(a);c.exit(2)});else if(d.addEventListener)d.addEventListener("error",function(a){if(a.error)j_(a.error)})}ul();function
h(a,b){return(a.l>=0?a.l:a.l=a.length)===1?a(b):a_(a,[b])}function
i(a,b,c){return(a.l>=0?a.l:a.l=a.length)===2?a(b,c):a_(a,[b,c])}function
I(a,b,c,d){return(a.l>=0?a.l:a.l=a.length)===3?a(b,c,d):a_(a,[b,c,d])}function
im(a,b,c,d,e){return(a.l>=0?a.l:a.l=a.length)===4?a(b,c,d,e):a_(a,[b,c,d,e])}function
dQ(a,b,c,d,e,f){return(a.l>=0?a.l:a.l=a.length)===5?a(b,c,d,e,f):a_(a,[b,c,d,e,f])}function
ta(a,b,c,d,e,f,g,h){return(a.l>=0?a.l:a.l=a.length)===7?a(b,c,d,e,f,g,h):a_(a,[b,c,d,e,f,g,h])}var
ux=0;tE();var
ev=[c,iu,-1],gk=[c,iX,-2],aW=[c,fH,-3],c7=[c,iB,-4],bT=[c,iy,-5],s=[c,i1,-7],gi=[c,jQ,-8],gj=[c,iA,-9],r=[c,jl,-11],gl=[c,jI,-12],gs="List.iter2",gP=[0,0,g],gQ=[0,"@;",1,0],R="unexpected end of format",my="%nd",mB=jP,mK="%nu",ml="%ld",mo=iF,mx="%lu",l_="%Ld",mb=iO,mk="%Lu",lX=fK,l0=ip,l9=jD,s$=[4,0,0,0,[12,45,[4,0,0,0,0]]],eO=[0,[11,'File "',[2,0,[11,'", line ',[4,0,0,0,[11,jO,[4,0,0,0,[12,45,[4,0,0,0,[11,fQ,[2,0,0]]]]]]]]]],'File "%s", line %d, characters %d-%d: %s'],g4=[0,g,0,g],a1="not a valid float in hexadecimal notation",aA="no dot or exponent part found in float token",hq="binary",hs="octal",b5="hexadecimal",e$="a Char",dy="a String",hK=[0,"r"],hO=[0,[20,0,"\xff\xff\xff\xff\xff\xff\xff\xfb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff",[12,58,[4,0,0,0,[12,bM,[4,0,0,0,[12,58,[2,0,0]]]]]]],"%[^:]:%dx%d:%s"],a4=[A,0.,0.],dH=[0,a7],cG=[0,bt],cH=[0,bm],hY=[0,d6],hZ=[0,d2],fr=[0,dV],cI=[0,br],h0=[0,a7,br,bn,bt,bo,bm,dV],cJ=[0,bo],cK=[0,bn],h1=[0,dV,bm,bo,bn,br,a7,bt],dN=[A,0.,-5.],h8="monospace";ay(11,gl,jI);ay(10,r,jl);ay(9,[c,iN,fz],iN);ay(8,gj,iA);ay(7,gi,jQ);ay(6,s,i1);ay(5,[c,jK,-6],jK);ay(4,bT,iy);ay(3,c7,iB);ay(2,aW,fH);ay(1,gk,iX);ay(0,ev,iu);function
w(a){if(typeof
a==="number")return 0;switch(a[0]){case
0:return[0,w(a[1])];case
1:return[1,w(a[1])];case
2:return[2,w(a[1])];case
3:return[3,w(a[1])];case
4:return[4,w(a[1])];case
5:return[5,w(a[1])];case
6:return[6,w(a[1])];case
7:return[7,w(a[1])];case
8:var
c=a[1];return[8,c,w(a[2])];case
9:var
b=a[1];return[9,b,b,w(a[3])];case
10:return[10,w(a[1])];case
11:return[11,w(a[1])];case
12:return[12,w(a[1])];case
13:return[13,w(a[1])];default:return[14,w(a[1])]}}function
Q(a,b){if(typeof
a==="number")return b;switch(a[0]){case
0:return[0,Q(a[1],b)];case
1:return[1,Q(a[1],b)];case
2:return[2,Q(a[1],b)];case
3:return[3,Q(a[1],b)];case
4:return[4,Q(a[1],b)];case
5:return[5,Q(a[1],b)];case
6:return[6,Q(a[1],b)];case
7:return[7,Q(a[1],b)];case
8:var
c=a[1];return[8,c,Q(a[2],b)];case
9:var
d=a[2],e=a[1];return[9,e,d,Q(a[3],b)];case
10:return[10,Q(a[1],b)];case
11:return[11,Q(a[1],b)];case
12:return[12,Q(a[1],b)];case
13:return[13,Q(a[1],b)];default:return[14,Q(a[1],b)]}}function
p(a,b){if(typeof
a==="number")return b;switch(a[0]){case
0:return[0,p(a[1],b)];case
1:return[1,p(a[1],b)];case
2:var
c=a[1];return[2,c,p(a[2],b)];case
3:var
d=a[1];return[3,d,p(a[2],b)];case
4:var
e=a[3],f=a[2],g=a[1];return[4,g,f,e,p(a[4],b)];case
5:var
h=a[3],i=a[2],j=a[1];return[5,j,i,h,p(a[4],b)];case
6:var
k=a[3],l=a[2],m=a[1];return[6,m,l,k,p(a[4],b)];case
7:var
n=a[3],o=a[2],q=a[1];return[7,q,o,n,p(a[4],b)];case
8:var
r=a[3],s=a[2],t=a[1];return[8,t,s,r,p(a[4],b)];case
9:var
u=a[1];return[9,u,p(a[2],b)];case
10:return[10,p(a[1],b)];case
11:var
v=a[1];return[11,v,p(a[2],b)];case
12:var
w=a[1];return[12,w,p(a[2],b)];case
13:var
x=a[2],y=a[1];return[13,y,x,p(a[3],b)];case
14:var
z=a[2],A=a[1];return[14,A,z,p(a[3],b)];case
15:return[15,p(a[1],b)];case
16:return[16,p(a[1],b)];case
17:var
B=a[1];return[17,B,p(a[2],b)];case
18:var
C=a[1];return[18,C,p(a[2],b)];case
19:return[19,p(a[1],b)];case
20:var
D=a[2],E=a[1];return[20,E,D,p(a[3],b)];case
21:var
F=a[1];return[21,F,p(a[2],b)];case
22:return[22,p(a[1],b)];case
23:var
G=a[1];return[23,G,p(a[2],b)];default:var
H=a[2],I=a[1];return[24,I,H,p(a[3],b)]}}function
bx(a){throw l([0,aW,a],1)}function
q(a){throw l([0,c7,a],1)}function
gm(a,b){return t5(a,b)?a:b}function
gn(a,b){return tF(a,b)?a:b}function
c8(a){return 0<=a?a:-a|0}var
by=jA,kJ="char_of_int",kL=jt,kM=iG;function
bU(a){if(0<=a&&J>=a)return a;return q(kJ)}uc(0);var
go=km(1),an=km(2),kN="output_substring";function
cl(a,b){ga(a,b,0,j(b))}function
gp(a,b,c,d){if(0<=c&&0<=d&&(j(b)-d|0)>=c)return ga(a,b,c,d);return q(kN)}function
gq(a){cl(an,a);kn(an,10);return aH(an)}var
ew=[0,function(a){var
b=ud(0);for(;;){if(!b)return 0;var
c=b[2],e=b[1];try{aH(e);b=c}catch(f){var
d=y(f);if(d[1]!==gk)throw l(d,0);b=c}}}],gr=[0,function(a){}];function
c9(a){h(gr[1],0);return h(bQ(ew),0)}gd(iP,c9);var
ex=uq(0),bz=(4*ex|0)-1|0,kY="String.sub / Bytes.sub",kZ="Bytes.blit",k0="String.blit / Bytes.blit_string",k8="Array.blit",k9=d8,k_=d8,k$=d8,la=d8;function
ey(a,b){if(!b)return 0;var
f=b[2],i=b[1];if(!f)return[0,h(a,i),0];var
m=f[2],n=f[1],o=h(a,i),j=[0,h(a,n),jT],e=j,d=1,c=m;for(;;){if(c){var
g=c[2],k=c[1];if(g){var
p=g[2],q=g[1],r=h(a,k),l=[0,h(a,q),jT];e[d+1]=[0,r,l];e=l;d=1;c=p;continue}e[d+1]=[0,h(a,k),0]}else
e[d+1]=0;return[0,o,j]}}function
ez(a,b,c){if(!b)return c;var
d=b[1];return i(a,d,ez(a,b[2],c))}function
eA(a,b){var
c=b;for(;;){if(!c)return 0;var
d=0===cZ(c[1],a)?1:0,e=c[2];if(d)return d;c=e}}function
cm(a,b){return a<=b?a:b}function
ba(a,b){var
c=N(a);tB(c,0,a,b);return c}function
gt(a,b,c){if(0<=b&&0<=c&&(av(a)-c|0)>=b){var
d=N(c);a8(a,b,d,0,c);return d}return q(kY)}function
eB(a,b,c){return Y(gt(a,b,c))}function
gu(a,b,c,d,e){if(0<=e&&0<=b&&(av(a)-e|0)>=b&&0<=d&&(av(c)-e|0)>=d){a8(a,b,c,d,e);return}return q(kZ)}function
aI(a,b,c,d,e){if(0<=e&&0<=b&&(j(a)-e|0)>=b&&0<=d&&(av(c)-e|0)>=d){bR(a,b,c,d,e);return}return q(k0)}function
cn(a,b){return Y(ba(a,b))}function
ah(a,b,c){return Y(gt(a9(a),b,c))}function
gv(a){var
e=a9(a),b=[0,0],l=av(e)-1|0,n=0;if(l>=0){var
h=n;for(;;){var
f=cY(e,h);a:{b:{c:{if(32<=f){var
j=f+jC|0;if(58<j>>>0){if(93<=j)break c}else if(56<j-1>>>0)break b;var
k=1;break a}if(11<=f){if(13===f)break b}else if(8<=f)break b}var
k=4;break a}var
k=2}b[1]=b[1]+k|0;var
q=h+1|0;if(l===h)break;h=q}}if(b[1]===av(e))var
i=e;else{var
c=N(b[1]);b[1]=0;var
m=av(e)-1|0,o=0;if(m<0)var
i=c;else{var
g=o;for(;;){var
d=cY(e,g);a:{b:{c:{if(35<=d){if(92!==d){if(d0<=d)break b;break c}}else{if(32>d){if(14<=d)break b;switch(d){case
8:E(c,b[1],92);b[1]++;E(c,b[1],98);break a;case
9:E(c,b[1],92);b[1]++;E(c,b[1],jv);break a;case
10:E(c,b[1],92);b[1]++;E(c,b[1],jH);break a;case
13:E(c,b[1],92);b[1]++;E(c,b[1],114);break a;default:break b}}if(34>d)break c}E(c,b[1],92);b[1]++;E(c,b[1],d);break a}E(c,b[1],d);break a}E(c,b[1],92);b[1]++;E(c,b[1],48+(d/bp|0)|0);b[1]++;E(c,b[1],48+((d/10|0)%10|0)|0);b[1]++;E(c,b[1],48+(d%10|0)|0)}b[1]++;var
p=g+1|0;if(m===g){var
i=c;break}g=p}}}return e===i?a:Y(i)}function
eC(a,b,c,d){var
e=c;for(;;){if(b<=e)throw l(s,1);if(ag(a,e)===d)return e;e=e+1|0}}function
gy(a,b){var
d=[0,0],e=[0,j(b)],f=j(b)-1|0;if(f>=0){var
c=f;for(;;){if(ag(b,c)===a){var
h=d[1];d[1]=[0,ah(b,c+1|0,(e[1]-c|0)-1|0),h];e[1]=c}var
i=c-1|0;if(0===c)break;c=i}}var
g=d[1];return[0,ah(b,0,e[1]),g]}function
c_(a,b){return tr(a9(a),b)}function
gz(a,b,c,d,e){if(0<=e&&0<=b&&(a.length-1-e|0)>=b&&0<=d&&(c.length-1-e|0)>=d){th(a,b,c,d,e);return}return q(k8)}function
c$(a,b){var
d=b.length-1;if(0===d)return[0];var
e=au(d,h(a,b[1])),f=d-1|0,g=1;if(f>=1){var
c=g;for(;;){e[c+1]=h(a,b[c+1]);var
i=c+1|0;if(f===c)break;c=i}}return e}function
eD(o){function
h(a){return a?a[5]:0}function
e(a,b,c,d){var
e=h(a),f=h(d),g=f<=e?e+1|0:f+1|0;return[0,a,b,c,d,g]}function
j(a,b,c,d){var
i=a?a[5]:0,j=d?d[5]:0;if((j+2|0)<i){if(!a)return q(k_);var
f=a[4],m=a[3],n=a[2],k=a[1],r=h(f);if(r<=h(k))return e(k,n,m,e(f,b,c,d));if(!f)return q(k9);var
s=f[3],t=f[2],u=f[1],v=e(f[4],b,c,d);return e(e(k,n,m,u),t,s,v)}if((i+2|0)>=j){var
B=j<=i?i+1|0:j+1|0;return[0,a,b,c,d,B]}if(!d)return q(la);var
l=d[4],o=d[3],p=d[2],g=d[1],w=h(g);if(w<=h(l))return e(e(a,b,c,g),p,o,l);if(!g)return q(k$);var
x=g[3],y=g[2],z=g[1],A=e(g[4],p,o,l);return e(e(a,b,c,z),y,x,A)}function
f(a,b,c){if(!c)return[0,0,a,b,0,1];var
d=c[4],g=c[3],h=c[2],e=c[1],n=c[5],k=i(o[1],a,h);if(0===k)return g===b?c:[0,e,a,b,d,n];if(0<=k){var
l=f(a,b,d);return d===l?c:j(e,h,g,l)}var
m=f(a,b,e);return e===m?c:j(m,h,g,d)}function
g(a,b,c){var
d=b,e=c;for(;;){if(!d)return e;var
f=d[4],h=d[3],i=d[2],j=I(a,i,h,g(a,d[1],e));d=f;e=j}}return[0,0,f,,,,,,,,,,,,,,,function(a,b){var
c=b;for(;;){if(!c)throw l(s,1);var
e=c[4],f=c[3],g=c[1],d=i(o[1],a,c[2]);if(0===d)return f;c=0<=d?e:g}},,,,,,,g]}function
co(a){return[0,0,0]}function
cp(a){a[1]=0;a[2]=0}function
bA(a,b){b[1]=[0,a,b[1]];b[2]=b[2]+1|0;return 0}function
bV(a){var
b=a[1];if(!b)return 0;var
c=b[1];a[1]=b[2];a[2]=a[2]-1|0;return[0,c]}function
bW(a){var
b=a[1];return b?[0,b[1]]:0}var
lb=[c,"Stdlib.Queue.Empty",ax(0)],ld="Buffer.add: cannot grow buffer",le="Buffer.add_substring";function
eE(a){return[0,0,0,0]}function
eF(a){a[1]=0;a[2]=0;a[3]=0}function
bb(a,b){var
c=[0,a,0],d=b[3];return d?(b[1]=b[1]+1|0,d[2]=c,b[3]=c,0):(b[1]=1,b[2]=c,b[3]=c,0)}function
gA(a){var
b=a[2];if(!b)throw l(lb,1);var
c=b[1];if(b[2]){var
d=b[2];a[1]=a[1]-1|0;a[2]=d;return c}eF(a);return c}function
aJ(a){var
b=1<=a?a:1,c=bz<b?bz:b,d=N(c);return[0,[0,d,c],0,d]}function
bX(a){return eB(a[1][1],0,a[2])}function
gB(a){a[2]=0;return 0}function
gC(a){a[2]=0;a[1]=[0,a[3],av(a[3])]}function
gD(a,b){var
d=a[2],c=[0,a[1][2]];for(;;){if(c[1]>=(d+b|0))break;c[1]=2*c[1]|0}if(bz<c[1])if((d+b|0)<=bz)c[1]=bz;else
bx(ld);var
e=N(c[1]);gu(a[1][1],0,e,0,a[2]);a[1]=[0,e,c[1]]}function
gE(a,b){var
c=a[2],d=a[1],e=d[1];if(d[2]<=c){gD(a,1);P(a[1][1],a[2],b)}else
E(e,c,b);a[2]=c+1|0}function
eG(a,b,c,d){var
e=c<0?1:0;if(e)var
f=e;else
var
l=d<0?1:0,f=l||((j(b)-d|0)<c?1:0);if(f)q(le);var
g=a[2],h=a[1],i=g+d|0,k=h[1];if(h[2]<i){gD(a,d);aI(b,c,a[1][1],a[2],d)}else
bR(b,c,k,g,d);a[2]=i;return 0}function
cq(a,b){return eG(a,b,0,j(b))}var
da=[0,0];ty(au(8,da));var
il=[0,0],kP=[0,0],lf=[0,"domain.ml",184,13];function
aX(a,b){var
c=[0,tk(kP,1),b];if(a){var
e=[0,c,a[1]];for(;;){var
d=bQ(il);if(!(1-ea(il,d,[0,e,d])))break}}return c}function
gF(a){for(;;){var
b=j9(0),d=b.length-1;if(a<d)return b;var
c=d;for(;;){if(a<c){var
e=au(c,da);gz(b,0,e,0,d);if(tx(b,e))return e;break}c=2*c|0}}}function
cr(a,b){var
c=a[1];o(gF(c),c)[c+1]=b}function
aK(a){var
b=a[1],g=a[2],c=o(gF(b),b)[b+1];if(c!==da)return c;var
e=h(g,0),d=j9(0),i=o(d,b)[b+1]===c?(d[b+1]=e,1):0;if(i)return e;var
f=o(d,b)[b+1];if(f!==da)return f;throw l([0,r,lf],1)}var
eH=aX(0,function(a){return function(a){return 0}});function
gG(c){var
b=aK(eH);return cr(eH,function(a){h(c,0);return h(b,0)})}gr[1]=function(a){return h(aK(eH),0)};var
li="@]",lj="@}",lk="@?",ll="@\n",lm="@.",ln="@@",lo="@%",lp="%c",lq="%s",lr=ip,ls=iF,lt=jP,lu=iO,lv="%f",lw="%B",lx="%{",ly="%}",lz="%(",lA="%)",lB="%a",lC="%t",lD="%?",lE="%r",lF="%_r",lG=[0,D,850,23],lH=[0,D,837,26],lI=[0,D,847,28],lJ=[0,D,815,21],lK=[0,D,819,21],lL=[0,D,823,19],lM=[0,D,827,22],lN=[0,D,832,30],lO=[0,D,851,23],lP=[0,D,836,26],lQ=[0,D,846,28],lR=[0,D,814,21],lS=[0,D,818,21],lT=[0,D,822,19],lU=[0,D,826,22],lV=[0,D,831,30];function
gH(a){return ba(32,0)}function
bB(a,b){var
c=b>>>3|0;P(a,c,bU(tq(a,c)|1<<(b&7)))}function
bc(a){return a?[0,1,a[1]]:0}function
eI(a){return 5===a[2]?12:-6}function
gI(a){return[0,0,N(a)]}function
gJ(a,b){var
c=av(a[2]),d=a[1]+b|0;if(c<d){var
e=c*2|0,g=d<=e?e:d,f=N(g);gu(a[2],0,f,0,c);a[2]=f}}function
bY(a,b){gJ(a,1);P(a[2],a[1],b);a[1]=a[1]+1|0}function
U(a,b){var
c=j(b);gJ(a,c);aI(b,0,a[2],a[1],c);a[1]=a[1]+c|0}function
gK(a){return eB(a[2],0,a[1])}function
db(a){switch(a){case
6:case
7:return bM;case
8:case
9:return 88;case
10:case
11:return d9;case
12:case
15:return iZ;case
0:case
1:case
2:case
13:return bp;default:return fO}}function
dc(a){if(typeof
a==="number")switch(a){case
0:return li;case
1:return lj;case
2:return lk;case
3:return ll;case
4:return lm;case
5:return ln;default:return lo}return 2===a[0]?"@"+cn(1,a[1]):a[1]}function
eJ(a,b){var
c=b;for(;;){if(typeof
c==="number")return;switch(c[0]){case
0:var
d=c[1];U(a,lp);c=d;break;case
1:var
e=c[1];U(a,lq);c=e;break;case
2:var
f=c[1];U(a,lr);c=f;break;case
3:var
g=c[1];U(a,ls);c=g;break;case
4:var
h=c[1];U(a,lt);c=h;break;case
5:var
i=c[1];U(a,lu);c=i;break;case
6:var
j=c[1];U(a,lv);c=j;break;case
7:var
k=c[1];U(a,lw);c=k;break;case
8:var
l=c[2],m=c[1];U(a,lx);eJ(a,m);U(a,ly);c=l;break;case
9:var
n=c[3],o=c[1];U(a,lz);eJ(a,o);U(a,lA);c=n;break;case
10:var
p=c[1];U(a,lB);c=p;break;case
11:var
q=c[1];U(a,lC);c=q;break;case
12:var
r=c[1];U(a,lD);c=r;break;case
13:var
s=c[1];U(a,lE);c=s;break;default:var
t=c[1];U(a,lF);c=t}}}function
C(a){if(typeof
a==="number")return 0;switch(a[0]){case
0:return[0,C(a[1])];case
1:return[1,C(a[1])];case
2:return[2,C(a[1])];case
3:return[3,C(a[1])];case
4:return[4,C(a[1])];case
5:return[5,C(a[1])];case
6:return[6,C(a[1])];case
7:return[7,C(a[1])];case
8:var
b=a[1];return[8,b,C(a[2])];case
9:var
c=a[2],d=a[1];return[9,c,d,C(a[3])];case
10:return[10,C(a[1])];case
11:return[11,C(a[1])];case
12:return[12,C(a[1])];case
13:return[13,C(a[1])];default:return[14,C(a[1])]}}function
V(a){if(typeof
a==="number")return[0,,function(a){},,function(a){}];switch(a[0]){case
0:var
b=V(a[1]),r=b[2];return[0,,function(a){r(0)},,b[4]];case
1:var
c=V(a[1]),s=c[2];return[0,,function(a){s(0)},,c[4]];case
2:var
d=V(a[1]),t=d[2];return[0,,function(a){t(0)},,d[4]];case
3:var
e=V(a[1]),u=e[2];return[0,,function(a){u(0)},,e[4]];case
4:var
f=V(a[1]),v=f[2];return[0,,function(a){v(0)},,f[4]];case
5:var
g=V(a[1]),w=g[2];return[0,,function(a){w(0)},,g[4]];case
6:var
h=V(a[1]),x=h[2];return[0,,function(a){x(0)},,h[4]];case
7:var
i=V(a[1]),y=i[2];return[0,,function(a){y(0)},,i[4]];case
8:var
j=V(a[2]),z=j[2];return[0,,function(a){z(0)},,j[4]];case
9:var
A=a[2],B=a[1],k=V(a[3]),D=k[4],E=k[2],l=V(M(C(B),A)),F=l[4],G=l[2];return[0,,function(a){G(0);E(0)},,function(a){F(0);D(0)}];case
10:var
m=V(a[1]),H=m[2];return[0,,function(a){H(0)},,m[4]];case
11:var
n=V(a[1]),I=n[2];return[0,,function(a){I(0)},,n[4]];case
12:var
o=V(a[1]),J=o[2];return[0,,function(a){J(0)},,o[4]];case
13:var
p=V(a[1]),K=p[4],L=p[2];return[0,,function(a){L(0)},,function(a){K(0)}];default:var
q=V(a[1]),N=q[4],O=q[2];return[0,,function(a){O(0)},,function(a){N(0)}]}}function
M(a,b){a:{b:{c:{d:{e:{f:{g:{if(typeof
a!=="number"){switch(a[0]){case
0:var
d=a[1];if(typeof
b!=="number")switch(b[0]){case
0:return[0,M(d,b[1])];case
10:break a;case
11:break b;case
12:break c;case
13:break d;case
14:break e;case
8:break f;case
9:break g}break;case
1:var
e=a[1];if(typeof
b!=="number")switch(b[0]){case
1:return[1,M(e,b[1])];case
10:break a;case
11:break b;case
12:break c;case
13:break d;case
14:break e;case
8:break f;case
9:break g}break;case
2:var
f=a[1];if(typeof
b!=="number")switch(b[0]){case
2:return[2,M(f,b[1])];case
10:break a;case
11:break b;case
12:break c;case
13:break d;case
14:break e;case
8:break f;case
9:break g}break;case
3:var
g=a[1];if(typeof
b!=="number")switch(b[0]){case
3:return[3,M(g,b[1])];case
10:break a;case
11:break b;case
12:break c;case
13:break d;case
14:break e;case
8:break f;case
9:break g}break;case
4:var
h=a[1];if(typeof
b!=="number")switch(b[0]){case
4:return[4,M(h,b[1])];case
10:break a;case
11:break b;case
12:break c;case
13:break d;case
14:break e;case
8:break f;case
9:break g}break;case
5:var
i=a[1];if(typeof
b!=="number")switch(b[0]){case
5:return[5,M(i,b[1])];case
10:break a;case
11:break b;case
12:break c;case
13:break d;case
14:break e;case
8:break f;case
9:break g}break;case
6:var
j=a[1];if(typeof
b!=="number")switch(b[0]){case
6:return[6,M(j,b[1])];case
10:break a;case
11:break b;case
12:break c;case
13:break d;case
14:break e;case
8:break f;case
9:break g}break;case
7:var
k=a[1];if(typeof
b!=="number")switch(b[0]){case
7:return[7,M(k,b[1])];case
10:break a;case
11:break b;case
12:break c;case
13:break d;case
14:break e;case
8:break f;case
9:break g}break;case
8:var
m=a[2],n=a[1];if(typeof
b!=="number")switch(b[0]){case
8:var
o=b[1],p=M(m,b[2]);return[8,M(n,o),p];case
10:break a;case
11:break b;case
12:break c;case
13:break d;case
14:break e}throw l([0,r,lP],1);case
9:var
q=a[3],s=a[2],t=a[1];if(typeof
b!=="number")switch(b[0]){case
9:var
u=b[3],v=b[2],w=b[1],c=V(M(C(s),w)),x=c[4];c[2].call(null,0);x(0);return[9,t,v,M(q,u)];case
10:break a;case
11:break b;case
12:break c;case
13:break d;case
14:break e;case
8:break f}throw l([0,r,lQ],1);case
10:var
y=a[1];if(typeof
b!=="number"&&10===b[0])return[10,M(y,b[1])];throw l([0,r,lR],1);case
11:var
z=a[1];if(typeof
b!=="number")switch(b[0]){case
11:return[11,M(z,b[1])];case
10:break a}throw l([0,r,lS],1);case
12:var
A=a[1];if(typeof
b!=="number")switch(b[0]){case
12:return[12,M(A,b[1])];case
10:break a;case
11:break b}throw l([0,r,lT],1);case
13:var
B=a[1];if(typeof
b!=="number")switch(b[0]){case
13:return[13,M(B,b[1])];case
10:break a;case
11:break b;case
12:break c}throw l([0,r,lU],1);default:var
D=a[1];if(typeof
b!=="number")switch(b[0]){case
14:return[14,M(D,b[1])];case
10:break a;case
11:break b;case
12:break c;case
13:break d}throw l([0,r,lV],1)}throw l([0,r,lO],1)}if(typeof
b==="number")return 0;switch(b[0]){case
10:break a;case
11:break b;case
12:break c;case
13:break d;case
14:break e;case
8:break f;case
9:break;default:throw l([0,r,lG],1)}}throw l([0,r,lI],1)}throw l([0,r,lH],1)}throw l([0,r,lN],1)}throw l([0,r,lM],1)}throw l([0,r,lL],1)}throw l([0,r,lK],1)}throw l([0,r,lJ],1)}function
G(a){var
b=a;for(;;){if(typeof
b==="number")return 0;switch(b[0]){case
4:var
h=b[3],i=b[2];return bC(i,cs(h,[2,G(b[4])]));case
5:var
j=b[3],k=b[2];return bC(k,cs(j,[3,G(b[4])]));case
6:var
l=b[3],m=b[2];return bC(m,cs(l,[4,G(b[4])]));case
7:var
n=b[3],o=b[2];return bC(o,cs(n,[5,G(b[4])]));case
8:var
p=b[3],q=b[2];return bC(q,cs(p,[6,G(b[4])]));case
9:var
r=b[1];return bC(r,[7,G(b[2])]);case
10:b=b[1];break;case
13:var
s=b[2];return[8,s,G(b[3])];case
14:var
f=b[2];return[9,f,f,G(b[3])];case
15:return[10,G(b[1])];case
16:return[11,G(b[1])];case
18:var
e=b[1],t=G(b[2]),u=0===e[0]?G(e[1][1]):G(e[1][1]);return Q(u,t);case
19:return[13,G(b[1])];case
20:return[1,G(b[3])];case
21:return[2,G(b[2])];case
23:var
c=b[2],d=b[1];if(typeof
d==="number"){if(2===d)return[14,G(c)];b=c}else{if(9===d[0]){var
w=d[2];return Q(w,G(c))}b=c}break;case
24:var
v=b[1];return gL(v,G(b[3]));case
2:case
3:var
g=b[1];return bC(g,[1,G(b[2])]);case
0:case
1:case
22:return[0,G(b[1])];default:b=b[2]}}}function
gL(a,b){return a?[12,gL(a[1],b)]:b}function
bC(a,b){return typeof
a==="number"?b:0===a[0]?b:[2,b]}function
cs(a,b){return typeof
a==="number"?a?[2,b]:b:b}var
O=[c,"CamlinternalFormat.Type_mismatch",ax(0)];function
kK(a){return a?kL:kM}var
kQ="\\\\",kR="\\'",kS="\\b",kT="\\t",kU="\\n",kV="\\r",k3="String.index_from / Bytes.index_from",lY="%+d",lZ="% d",l1="%+i",l2="% i",l3="%x",l4="%#x",l5="%X",l6="%#X",l7="%o",l8="%#o",l$="%+Ld",ma="% Ld",mc="%+Li",md="% Li",me="%Lx",mf="%#Lx",mg="%LX",mh="%#LX",mi="%Lo",mj="%#Lo",mm="%+ld",mn="% ld",mp="%+li",mq="% li",mr="%lx",ms="%#lx",mt="%lX",mu="%#lX",mv="%lo",mw="%#lo",mz="%+nd",mA="% nd",mC="%+ni",mD="% ni",mE="%nx",mF="%#nx",mG="%nX",mH="%#nX",mI="%no",mJ="%#no",mL=[0,iW],mQ="neg_infinity",mR=jc,mS=fW,mU=[0,D,1558,4],mV="Printf: bad conversion %[",mW=[0,D,1626,39],mX=[0,D,1649,31],mY=[0,D,1650,31],mZ="Printf: bad conversion %_",m0=i0,m1=ji,m2=i0,m3=ji,m4=[0,0,4],m5=[0,[11,"invalid box description ",[3,0,0]],"invalid box description %S"],m6=[0,[11,aT,[3,0,[11,bL,[4,0,0,0,[11,b$,[2,0,0]]]]]],"invalid format %S: at character number %d, %s"],m7="non-zero widths are unsupported for %c conversions",m8=[0,[11,aT,[3,0,[11,bL,[4,0,0,0,[11,", '",[0,[11,"' without ",[2,0,0]]]]]]]],"invalid format %S: at character number %d, '%c' without %s"],m9=[0,[11,aT,[3,0,[11,bL,[4,0,0,0,[11,b$,[2,0,[11," expected, read ",[1,0]]]]]]]],"invalid format %S: at character number %d, %s expected, read %C"],m_=[0,[11,aT,[3,0,[11,bL,[4,0,0,0,[11,", duplicate flag ",[1,0]]]]]],"invalid format %S: at character number %d, duplicate flag %C"],m$="padding",na=[0,1,0],nb=aa,nc=[0,0],nd=fY,ne=[1,0],nf=[1,1],ng=fY,nh=[1,1],ni=fY,nj=aa,nk=[1,1],nl=aa,nm="'-'",nn="'0'",no=i8,np=i8,nq=[0,[11,aT,[3,0,[11,bL,[4,0,0,0,[11,', invalid conversion "',[12,37,[0,[12,34,0]]]]]]]],'invalid format %S: at character number %d, invalid conversion "%%%c"'],nr=cR,ns=i6,nt=ix,nu=[0,0],nv="`padding'",nw=[0,0],nx="`precision'",ny=cR,nz="'_'",nA=[0,[11,aT,[3,0,[11,bL,[4,0,0,0,[11,", flag ",[1,[11," is only allowed after the '",[12,37,[11,"', before padding and precision",0]]]]]]]]],"invalid format %S: at character number %d, flag %C is only allowed after the '%%', before padding and precision"],nB=[0,[12,64,0]],nC=[0,"@ ",1,0],nD=[0,"@,",0,0],nE=[2,60],nF=[0,[11,aT,[3,0,[11,": '",[12,37,[11,"' alone is not accepted in character sets, use ",[12,37,[12,37,[11," instead at position ",[4,0,0,0,[12,46,0]]]]]]]]]],"invalid format %S: '%%' alone is not accepted in character sets, use %%%% instead at position %d."],nG=[0,[11,aT,[3,0,[11,": integer ",[4,0,0,0,[11," is greater than the limit ",[4,0,0,0,0]]]]]],"invalid format %S: integer %d is greater than the limit %d"],nH=[0,D,2837,11],nI="digit",nJ=[0,[11,aT,[3,0,[11,': unclosed sub-format, expected "',[12,37,[0,[11,'" at character number ',[4,0,0,0,0]]]]]]],'invalid format %S: unclosed sub-format, expected "%%%c" at character number %d'],nK="character ')'",nL="character '}'",nM=[0,D,2899,34],nN=cR,nO=cR,nP=ix,nQ=[0,D,2935,28],nR=i6,nS=[0,D,2957,11],nT=cR,nU=[0,[11,aT,[3,0,[11,bL,[4,0,0,0,[11,b$,[2,0,[11," is incompatible with '",[0,[11,"' in sub-format ",[3,0,0]]]]]]]]]],"invalid format %S: at character number %d, %s is incompatible with '%c' in sub-format %S"];function
dd(a,b){if(typeof
a==="number")return[0,0,b];if(0===a[0])return[0,[0,a[1],a[2]],b];if(typeof
b!=="number"&&2===b[0])return[0,[1,a[1]],b[1]];throw l(O,1)}function
ct(a,b,c){var
d=dd(a,c);if(typeof
b!=="number")return[0,d[1],[0,b[1]],d[2]];if(!b)return[0,d[1],0,d[2]];var
e=d[2];if(typeof
e!=="number"&&2===e[0])return[0,d[1],1,e[1]];throw l(O,1)}function
de(a,b){var
c=t(a,b);if(typeof
c[2]==="number")return c[1];throw l(O,1)}function
t(a,b){if(typeof
a==="number")return[0,0,b];switch(a[0]){case
0:if(typeof
b!=="number"&&0===b[0]){var
u=t(a[1],b[1]);return[0,[0,u[1]],u[2]]}break;case
1:if(typeof
b!=="number"&&0===b[0]){var
v=t(a[1],b[1]);return[0,[1,v[1]],v[2]]}break;case
2:var
af=a[2],x=dd(a[1],b),e=x[2],ag=x[1];if(typeof
e!=="number"&&1===e[0]){var
y=t(af,e[1]);return[0,[2,ag,y[1]],y[2]]}throw l(O,1);case
3:var
ah=a[2],z=dd(a[1],b),f=z[2],ai=z[1];if(typeof
f!=="number"&&1===f[0]){var
A=t(ah,f[1]);return[0,[3,ai,A[1]],A[2]]}throw l(O,1);case
4:var
aj=a[4],ak=a[1],g=ct(a[2],a[3],b),h=g[3],al=g[1];if(typeof
h!=="number"&&2===h[0]){var
am=g[2],B=t(aj,h[1]);return[0,[4,ak,al,am,B[1]],B[2]]}throw l(O,1);case
5:var
an=a[4],ao=a[1],i=ct(a[2],a[3],b),j=i[3],ap=i[1];if(typeof
j!=="number"&&3===j[0]){var
aq=i[2],C=t(an,j[1]);return[0,[5,ao,ap,aq,C[1]],C[2]]}throw l(O,1);case
6:var
ar=a[4],as=a[1],k=ct(a[2],a[3],b),m=k[3],at=k[1];if(typeof
m!=="number"&&4===m[0]){var
au=k[2],D=t(ar,m[1]);return[0,[6,as,at,au,D[1]],D[2]]}throw l(O,1);case
7:var
av=a[4],aw=a[1],n=ct(a[2],a[3],b),o=n[3],ax=n[1];if(typeof
o!=="number"&&5===o[0]){var
ay=n[2],E=t(av,o[1]);return[0,[7,aw,ax,ay,E[1]],E[2]]}throw l(O,1);case
8:var
az=a[4],aA=a[1],p=ct(a[2],a[3],b),q=p[3],aB=p[1];if(typeof
q!=="number"&&6===q[0]){var
aC=p[2],F=t(az,q[1]);return[0,[8,aA,aB,aC,F[1]],F[2]]}throw l(O,1);case
9:var
aD=a[2],G=dd(a[1],b),r=G[2],aE=G[1];if(typeof
r!=="number"&&7===r[0]){var
H=t(aD,r[1]);return[0,[9,aE,H[1]],H[2]]}throw l(O,1);case
10:var
I=t(a[1],b);return[0,[10,I[1]],I[2]];case
11:var
aF=a[1],J=t(a[2],b);return[0,[11,aF,J[1]],J[2]];case
12:var
aG=a[1],K=t(a[2],b);return[0,[12,aG,K[1]],K[2]];case
13:if(typeof
b!=="number"&&8===b[0]){var
L=b[1],aH=b[2],aI=a[3],aJ=a[1];if(aU([0,a[2]],[0,L]))throw l(O,1);var
M=t(aI,aH);return[0,[13,aJ,L,M[1]],M[2]]}break;case
14:if(typeof
b!=="number"&&9===b[0]){var
N=b[1],aK=b[3],aL=a[3],aM=a[2],aN=a[1],aO=[0,w(N)];if(aU([0,w(aM)],aO))throw l(O,1);var
P=t(aL,w(aK));return[0,[14,aN,N,P[1]],P[2]]}break;case
15:if(typeof
b!=="number"&&10===b[0]){var
Q=t(a[1],b[1]);return[0,[15,Q[1]],Q[2]]}break;case
16:if(typeof
b!=="number"&&11===b[0]){var
R=t(a[1],b[1]);return[0,[16,R[1]],R[2]]}break;case
17:var
aP=a[1],S=t(a[2],b);return[0,[17,aP,S[1]],S[2]];case
18:var
T=a[2],s=a[1];if(0===s[0]){var
X=s[1],aT=X[2],Y=t(X[1],b),aV=Y[1],Z=t(T,Y[2]);return[0,[18,[0,[0,aV,aT]],Z[1]],Z[2]]}var
_=s[1],aW=_[2],$=t(_[1],b),aX=$[1],aa=t(T,$[2]);return[0,[18,[1,[0,aX,aW]],aa[1]],aa[2]];case
19:if(typeof
b!=="number"&&13===b[0]){var
U=t(a[1],b[1]);return[0,[19,U[1]],U[2]]}break;case
20:if(typeof
b!=="number"&&1===b[0]){var
aQ=a[2],aR=a[1],V=t(a[3],b[1]);return[0,[20,aR,aQ,V[1]],V[2]]}break;case
21:if(typeof
b!=="number"&&2===b[0]){var
aS=a[1],W=t(a[2],b[1]);return[0,[21,aS,W[1]],W[2]]}break;case
23:var
d=a[2],c=a[1];if(typeof
c!=="number")switch(c[0]){case
8:return eK([8,c[1],c[2]],d,b);case
9:var
aY=c[1],ac=ae(c[2],d,b),ad=ac[2];return[0,[23,[9,aY,ac[1]],ad[1]],ad[2]];default:return eK(c,d,b)}if(2!==c)return eK(c,d,b);if(typeof
b!=="number"&&14===b[0]){var
ab=t(d,b[1]);return[0,[23,2,ab[1]],ab[2]]}throw l(O,1)}throw l(O,1)}function
eK(a,b,c){var
d=t(b,c);return[0,[23,a,d[1]],d[2]]}function
ae(a,b,c){if(typeof
a==="number")return[0,0,t(b,c)];switch(a[0]){case
0:if(typeof
c!=="number"&&0===c[0]){var
f=ae(a[1],b,c[1]);return[0,[0,f[1]],f[2]]}break;case
1:if(typeof
c!=="number"&&1===c[0]){var
g=ae(a[1],b,c[1]);return[0,[1,g[1]],g[2]]}break;case
2:if(typeof
c!=="number"&&2===c[0]){var
h=ae(a[1],b,c[1]);return[0,[2,h[1]],h[2]]}break;case
3:if(typeof
c!=="number"&&3===c[0]){var
i=ae(a[1],b,c[1]);return[0,[3,i[1]],i[2]]}break;case
4:if(typeof
c!=="number"&&4===c[0]){var
j=ae(a[1],b,c[1]);return[0,[4,j[1]],j[2]]}break;case
5:if(typeof
c!=="number"&&5===c[0]){var
k=ae(a[1],b,c[1]);return[0,[5,k[1]],k[2]]}break;case
6:if(typeof
c!=="number"&&6===c[0]){var
m=ae(a[1],b,c[1]);return[0,[6,m[1]],m[2]]}break;case
7:if(typeof
c!=="number"&&7===c[0]){var
n=ae(a[1],b,c[1]);return[0,[7,n[1]],n[2]]}break;case
8:if(typeof
c!=="number"&&8===c[0]){var
o=c[1],y=c[2],z=a[2];if(aU([0,a[1]],[0,o]))throw l(O,1);var
p=ae(z,b,y);return[0,[8,o,p[1]],p[2]]}break;case
9:if(typeof
c!=="number"&&9===c[0]){var
d=c[2],e=c[1],A=c[3],B=a[3],D=a[2],E=a[1],F=[0,w(e)];if(aU([0,w(E)],F))throw l(O,1);var
G=[0,w(d)];if(aU([0,w(D)],G))throw l(O,1);var
q=V(M(C(e),d)),H=q[4];q[2].call(null,0);H(0);var
r=ae(w(B),b,A),I=r[2];return[0,[9,e,d,C(r[1])],I]}break;case
10:if(typeof
c!=="number"&&10===c[0]){var
s=ae(a[1],b,c[1]);return[0,[10,s[1]],s[2]]}break;case
11:if(typeof
c!=="number"&&11===c[0]){var
u=ae(a[1],b,c[1]);return[0,[11,u[1]],u[2]]}break;case
13:if(typeof
c!=="number"&&13===c[0]){var
v=ae(a[1],b,c[1]);return[0,[13,v[1]],v[2]]}break;case
14:if(typeof
c!=="number"&&14===c[0]){var
x=ae(a[1],b,c[1]);return[0,[14,x[1]],x[2]]}break}throw l(O,1)}function
ai(a,b,c){var
d=j(c),g=0<=b?a:0,f=c8(b);if(f<=d)return c;var
h=2===g?48:32,e=ba(f,h);switch(g){case
0:aI(c,0,e,0,d);break;case
1:aI(c,0,e,f-d|0,d);break;default:a:if(0<d){if(43!==m(c,0)&&45!==m(c,0)&&32!==m(c,0))break a;P(e,0,m(c,0));aI(c,1,e,(f-d|0)+1|0,d-1|0);break}a:if(1<d&&48===m(c,0)){if(bM!==m(c,1)&&88!==m(c,1))break a;P(e,1,m(c,1));aI(c,2,e,(f-d|0)+2|0,d-2|0);break}aI(c,0,e,f-d|0,d)}return Y(e)}function
bZ(a,b){var
d=c8(a),c=j(b),e=m(b,0);a:{b:{if(58>e){if(32!==e){if(43>e)break a;switch(e+i_|0){case
5:if(c>=(d+2|0))break b;if(1>=c)break b;if(bM!==m(b,1)&&88!==m(b,1))break b;var
g=ba(d+2|0,48);P(g,1,m(b,1));aI(b,2,g,(d-c|0)+4|0,c-2|0);return Y(g);case
0:case
2:break;case
1:case
3:case
4:break a;default:break b}}if(c>=(d+1|0))break a;var
f=ba(d+1|0,48);P(f,0,e);aI(b,1,f,(d-c|0)+2|0,c-1|0);return Y(f)}if(71<=e){if(5<e+fA>>>0)break a}else if(65>e)break a}if(c<d){var
h=ba(d,48);aI(b,0,h,d-c|0,c);return Y(h)}}return b}function
lW(a){var
b=gv(a),c=j(b),d=ba(c+2|0,34);bR(b,0,d,1,c);return Y(d)}function
gM(a,b){var
f=c8(b),e=mL[1];switch(a[2]){case
0:var
c=i$;break;case
1:var
c=iV;break;case
2:var
c=69;break;case
3:var
c=iW;break;case
4:var
c=71;break;case
6:var
c=104;break;case
7:var
c=72;break;case
8:var
c=70;break;default:var
c=e}var
d=gI(16);bY(d,37);switch(a[1]){case
1:bY(d,43);break;case
2:bY(d,32);break}if(8<=a[2])bY(d,35);bY(d,46);U(d,g+f);bY(d,c);return gK(d)}function
df(a,b){if(13>a)return b;var
h=[0,0],i=j(b)-1|0,o=0;if(i>=0){var
d=o;for(;;){if(9>=ag(b,d)+aC>>>0)h[1]++;var
r=d+1|0;if(i===d)break;d=r}}var
k=h[1],l=N(j(b)+((k-1|0)/3|0)|0),m=[0,0];function
e(a){P(l,m[1],a);m[1]++}var
f=[0,((k-1|0)%3|0)+1|0],n=j(b)-1|0,p=0;if(n>=0){var
c=p;for(;;){var
g=ag(b,c);if(9<g+aC>>>0)e(g);else{if(0===f[1]){e(95);f[1]=3}f[1]--;e(g)}var
q=c+1|0;if(n===c)break;c=q}}return Y(l)}function
mM(a,b){switch(a){case
1:var
c=lY;break;case
2:var
c=lZ;break;case
4:var
c=l1;break;case
5:var
c=l2;break;case
6:var
c=l3;break;case
7:var
c=l4;break;case
8:var
c=l5;break;case
9:var
c=l6;break;case
10:var
c=l7;break;case
11:var
c=l8;break;case
0:case
13:var
c=lX;break;case
3:case
14:var
c=l0;break;default:var
c=l9}return df(a,eg(c,b))}function
mN(a,b){switch(a){case
1:var
c=mm;break;case
2:var
c=mn;break;case
4:var
c=mp;break;case
5:var
c=mq;break;case
6:var
c=mr;break;case
7:var
c=ms;break;case
8:var
c=mt;break;case
9:var
c=mu;break;case
10:var
c=mv;break;case
11:var
c=mw;break;case
0:case
13:var
c=ml;break;case
3:case
14:var
c=mo;break;default:var
c=mx}return df(a,eg(c,b))}function
mO(a,b){switch(a){case
1:var
c=mz;break;case
2:var
c=mA;break;case
4:var
c=mC;break;case
5:var
c=mD;break;case
6:var
c=mE;break;case
7:var
c=mF;break;case
8:var
c=mG;break;case
9:var
c=mH;break;case
10:var
c=mI;break;case
11:var
c=mJ;break;case
0:case
13:var
c=my;break;case
3:case
14:var
c=mB;break;default:var
c=mK}return df(a,eg(c,b))}function
mP(a,b){switch(a){case
1:var
c=l$;break;case
2:var
c=ma;break;case
4:var
c=mc;break;case
5:var
c=md;break;case
6:var
c=me;break;case
7:var
c=mf;break;case
8:var
c=mg;break;case
9:var
c=mh;break;case
10:var
c=mi;break;case
11:var
c=mj;break;case
0:case
13:var
c=l_;break;case
3:case
14:var
c=mb;break;default:var
c=mk}return df(a,tR(c,b))}function
aY(k,b,c){function
l(a){switch(k[1]){case
0:var
d=45;break;case
1:var
d=43;break;default:var
d=32}return tN(c,b,d)}function
r(a){var
b=tu(c);return 3===b?c<0.?mQ:mR:4<=b?mS:a}switch(k[2]){case
5:var
e=f3(gM(k,b),c),d=0,v=j(e);for(;;){a:{if(d!==v){var
n=m(e,d)+jm|0;b:{if(23<n>>>0){if(55!==n)break b}else if(21>=n-1>>>0)break b;var
q=1;break a}d=d+1|0;continue}var
q=0}var
w=q?e:e+bq;return r(w)}case
6:return l(0);case
7:var
o=a9(l(0)),f=av(o);if(0===f)var
i=o;else{var
g=N(f),p=f-1|0,s=0;if(p<0)var
i=g;else{var
a=s;for(;;){var
h=cY(o,a),t=25<h+fA>>>0?h:h+fV|0;E(g,a,t);var
u=a+1|0;if(p===a){var
i=g;break}a=u}}}return Y(i);case
8:return r(l(0));default:return f3(gM(k,b),c)}}function
gN(a){var
b=gI(16);eJ(b,a);return gK(b)}function
cL(a,b,c,d){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{var
g=b,f=c,e=d;l:for(;;){if(typeof
e==="number")return h(g,f);switch(e[0]){case
0:break a;case
1:break b;case
2:break c;case
3:return eL(g,f,e[2],e[1],lW);case
4:return dg(g,f,e[4],e[2],e[3],mM,e[1]);case
5:return dg(g,f,e[4],e[2],e[3],mN,e[1]);case
6:return dg(g,f,e[4],e[2],e[3],mO,e[1]);case
7:return dg(g,f,e[4],e[2],e[3],mP,e[1]);case
8:break d;case
9:return eL(g,f,e[2],e[1],kK);case
10:f=[7,f];e=e[1];break;case
11:f=[2,f,e[1]];e=e[2];break;case
12:f=[3,f,e[1]];e=e[2];break;case
13:break e;case
14:break f;case
15:break g;case
16:break h;case
17:f=[0,f,e[1]];e=e[2];break;case
18:var
u=e[1];if(0===u[0]){let
b=f,c=g,d=e[2];g=function(a){return k(c,[1,b,[0,a]],d)};f=0;e=u[1][1]}else{let
b=f,c=g,d=e[2];g=function(a){return k(c,[1,b,[1,a]],d)};f=0;e=u[1][1]}break;case
19:throw l([0,r,mU],1);case
20:break i;case
21:break j;case
22:break k;case
23:break l;default:var
z=e[3],A=e[1],B=h(e[2],0);return a<50?fw(a+1|0,g,f,z,A,B):ad(fw,[0,g,f,z,A,B])}}var
q=e[2],t=e[1];if(typeof
t==="number"){if(2===t)throw l([0,r,mW],1);return a<50?b8(a+1|0,g,f,q):ad(b8,[0,g,f,q])}if(9!==t[0])return a<50?b8(a+1|0,g,f,q):ad(b8,[0,g,f,q]);var
D=t[2];return a<50?fx(a+1|0,g,f,D,q):ad(fx,[0,g,f,D,q])}var
R=e[1];return function(a){return k(g,[5,f,a],R)}}var
Q=e[2];return function(a){return k(g,[4,f,eg(jD,a)],Q)}}var
O=e[3],P=[8,f,mV];return function(a){return k(g,P,O)}}var
M=e[1];return function(a){return k(g,[6,f,a],M)}}var
L=e[1];return function(c,b){return k(g,[6,f,function(a){return i(c,a,b)}],L)}}var
J=e[3],K=e[2];return function(a){var
b=a[1];return k(g,f,p(de(b,w(C(K))),J))}}var
H=e[3],I=gN(e[2]);return function(a){return k(g,[4,f,I],H)}}var
n=e[4],o=e[3],s=e[2],m=e[1];if(typeof
s==="number"){if(typeof
o==="number")return o?function(a,b){return k(g,[4,f,aY(m,a,b)],n)}:function(a){return k(g,[4,f,aY(m,eI(m),a)],n)};var
S=o[1];return function(a){return k(g,[4,f,aY(m,S,a)],n)}}if(0===s[0]){var
v=s[2],x=s[1];if(typeof
o==="number")return o?function(a,b){return k(g,[4,f,ai(x,v,aY(m,a,b))],n)}:function(a){return k(g,[4,f,ai(x,v,aY(m,eI(m),a))],n)};var
T=o[1];return function(a){return k(g,[4,f,ai(x,v,aY(m,T,a))],n)}}var
y=s[1];if(typeof
o==="number")return o?function(a,b,c){return k(g,[4,f,ai(y,a,aY(m,b,c))],n)}:function(a,b){return k(g,[4,f,ai(y,a,aY(m,eI(m),b))],n)};var
U=o[1];return function(a,b){return k(g,[4,f,ai(y,a,aY(m,U,b))],n)}}return eL(g,f,e[2],e[1],function(a){return a})}var
G=e[1];return function(a){a:{b:{if(40<=a){if(92===a){var
b=kQ;break a}if(d0<=a)break b}else{if(32>a){if(14<=a)break b;switch(a){case
8:var
b=kS;break a;case
9:var
b=kT;break a;case
10:var
b=kU;break a;case
13:var
b=kV;break a;default:break b}}if(39<=a){var
b=kR;break a}}var
d=N(1);E(d,0,a);var
b=Y(d);break a}var
c=N(4);E(c,0,92);E(c,1,48+(a/bp|0)|0);E(c,2,48+((a/10|0)%10|0)|0);E(c,3,48+(a%10|0)|0);var
b=Y(c)}var
e=j(b),h=ba(e+2|0,39);bR(b,0,h,1,e);return k(g,[4,f,Y(h)],G)}}var
F=e[1];return function(a){return k(g,[5,f,a],F)}}function
k(a,b,c){return bS(cL(0,a,b,c))}function
fx(a,f,c,d,e){if(typeof
d==="number")return a<50?b8(a+1|0,f,c,e):ad(b8,[0,f,c,e]);switch(d[0]){case
0:var
b=d[1];return function(a){return ao(f,c,b,e)};case
1:var
g=d[1];return function(a){return ao(f,c,g,e)};case
2:var
h=d[1];return function(a){return ao(f,c,h,e)};case
3:var
i=d[1];return function(a){return ao(f,c,i,e)};case
4:var
j=d[1];return function(a){return ao(f,c,j,e)};case
5:var
k=d[1];return function(a){return ao(f,c,k,e)};case
6:var
m=d[1];return function(a){return ao(f,c,m,e)};case
7:var
n=d[1];return function(a){return ao(f,c,n,e)};case
8:var
o=d[2];return function(a){return ao(f,c,o,e)};case
9:var
p=d[3],q=d[2],s=M(C(d[1]),q);return function(a){return ao(f,c,Q(s,p),e)};case
10:var
t=d[1];return function(a,b){return ao(f,c,t,e)};case
11:var
u=d[1];return function(a){return ao(f,c,u,e)};case
12:var
v=d[1];return function(a){return ao(f,c,v,e)};case
13:throw l([0,r,mX],1);default:throw l([0,r,mY],1)}}function
ao(a,b,c,d){return bS(fx(0,a,b,c,d))}function
b8(a,b,c,d){var
e=[8,c,mZ];return a<50?cL(a+1|0,b,e,d):ad(cL,[0,b,e,d])}function
eL(g,f,c,d,e){if(typeof
d==="number")return function(a){return k(g,[4,f,h(e,a)],c)};if(0===d[0]){var
b=d[2],i=d[1];return function(a){return k(g,[4,f,ai(i,b,h(e,a))],c)}}var
j=d[1];return function(a,b){return k(g,[4,f,ai(j,a,h(e,b))],c)}}function
dg(l,j,h,d,e,f,g){if(typeof
d==="number"){if(typeof
e==="number")return e?function(a,b){return k(l,[4,j,bZ(a,i(f,g,b))],h)}:function(a){return k(l,[4,j,i(f,g,a)],h)};var
b=e[1];return function(a){return k(l,[4,j,bZ(b,i(f,g,a))],h)}}if(0===d[0]){var
c=d[2],m=d[1];if(typeof
e==="number")return e?function(a,b){return k(l,[4,j,ai(m,c,bZ(a,i(f,g,b)))],h)}:function(a){return k(l,[4,j,ai(m,c,i(f,g,a))],h)};var
o=e[1];return function(a){return k(l,[4,j,ai(m,c,bZ(o,i(f,g,a)))],h)}}var
n=d[1];if(typeof
e==="number")return e?function(a,b,c){return k(l,[4,j,ai(n,a,bZ(b,i(f,g,c)))],h)}:function(a,b){return k(l,[4,j,ai(n,a,i(f,g,b))],h)};var
p=e[1];return function(a,b){return k(l,[4,j,ai(n,a,bZ(p,i(f,g,b)))],h)}}function
fw(a,b,c,d,e,f){if(e){var
i=e[1];return function(a){return mT(b,c,d,i,h(f,a))}}var
g=[4,c,f];return a<50?cL(a+1|0,b,g,d):ad(cL,[0,b,g,d])}function
mT(a,b,c,d,e){return bS(fw(0,a,b,c,d,e))}function
aZ(a,b){var
c=b;for(;;){if(typeof
c==="number")return;switch(c[0]){case
0:var
f=c[1],g=dc(c[2]);aZ(a,f);return cl(a,g);case
1:var
d=c[2],e=c[1];if(0===d[0]){var
i=d[1];aZ(a,e);cl(a,m0);c=i}else{var
j=d[1];aZ(a,e);cl(a,m1);c=j}break;case
6:var
m=c[2];aZ(a,c[1]);return h(m,a);case
7:aZ(a,c[1]);aH(a);return;case
8:var
n=c[2];aZ(a,c[1]);return q(n);case
2:case
4:var
k=c[2];aZ(a,c[1]);return cl(a,k);default:var
l=c[2];aZ(a,c[1]);kn(a,l);return}}}function
a0(a,b){var
c=b;for(;;){if(typeof
c==="number")return;switch(c[0]){case
0:var
f=c[1],g=dc(c[2]);a0(a,f);return cq(a,g);case
1:var
d=c[2],e=c[1];if(0===d[0]){var
i=d[1];a0(a,e);cq(a,m2);c=i}else{var
j=d[1];a0(a,e);cq(a,m3);c=j}break;case
6:var
m=c[2];a0(a,c[1]);return cq(a,h(m,0));case
7:c=c[1];break;case
8:var
n=c[2];a0(a,c[1]);return q(n);case
2:case
4:var
k=c[2];a0(a,c[1]);return cq(a,k);default:var
l=c[2];a0(a,c[1]);return gE(a,l)}}}function
aw(a){var
c=a[1],b=aJ(b9);return k(function(a){a0(b,a);return bx(bX(b))},0,c)}function
gO(b){if(b===g)return m4;var
f=j(b);function
k(a){return h(aw(m5),b)}function
n(a){var
c=a;for(;;){if(c===f)return c;var
d=m(b,c);if(9!==d&&32!==d)return c;c=c+1|0}}var
p=n(0),c=p;for(;;){if(c===f)break;if(25<m(b,c)+fA>>>0)break;c=c+1|0}var
d=ah(b,p,c-p|0),i=n(c),a=i;for(;;){if(a===f)break;var
o=m(b,a);if(48<=o){if(58<=o)break}else if(45!==o)break;a=a+1|0}if(i===a)var
q=0;else
try{var
s=ek(ah(b,i,a-i|0)),q=s}catch(f){var
r=y(f);if(r[1]!==aW)throw l(r,0);var
q=k(0)}if(n(a)!==f)k(0);a:{if(d!==g&&d!==iC){if(d==="h"){var
e=0;break a}if(d==="hov"){var
e=3;break a}if(d==="hv"){var
e=2;break a}if(d!=="v"){var
e=k(0);break a}var
e=1;break a}var
e=4}return[0,q,e]}function
eM(a,b){return typeof
a==="number"?[0,0,b]:0===a[0]?[0,[0,a[1],a[2]],b]:[0,[1,a[1]],b]}function
cu(a,b,c){var
e=typeof
b==="number"?b?[0,1]:[0,0]:[0,[0,b[1]]],d=e[1];return typeof
a==="number"?[0,0,d,c]:0===a[0]?[0,[0,a[1],a[2]],d,c]:[0,[1,a[1]],d,c]}function
eN(a,n){var
t=a?a[1]:1;function
v(a,b){return I(aw(m6),n,a,b)}function
x(a,b,c){return im(aw(m8),n,a,b,c)}function
f(a,b,c){return im(aw(m9),n,a,b,c)}function
p(a,b){var
c=a;for(;;){if(c===b)return h(a,c,0);var
e=m(n,c);if(37===e)break;if(64===e)return h(a,c,E(c+1|0,b)[1]);c=c+1|0}var
d=c+1|0;if(d===b)v(b,R);var
f=95===m(n,d)?A(c,d+1|0,b,1):A(c,d,b,0);return h(a,c,f[1])}function
A(a,b,c,d){var
q=[0,0],r=[0,0],s=[0,0],w=[0,0],y=[0,0];function
h(a,b){var
c=b[1],d=c?1-t:c;if(d){var
e=m(n,a);I(aw(m_),n,a,e)}b[1]=1}var
e=b;a:for(;;){if(e===c)v(c,R);var
z=m(n,e)+fV|0;if(16<z>>>0)break;switch(z){case
0:h(e,w);e=e+1|0;break;case
3:h(e,y);e=e+1|0;break;case
11:h(e,s);e=e+1|0;break;case
13:h(e,r);e=e+1|0;break;case
16:h(e,q);e=e+1|0;break;default:break a}}var
i=w[1],j=y[1],k=s[1],f=r[1],B=q[1];if(e===c)v(c,R);var
l=B?f?t?0:u(a,e,45,nb):2:f?0:1,p=m(n,e);if(48<=p){if(58>p){var
A=o(e,c,0);return g(a,A[1],c,f,k,j,i,d,[0,l,A[2]])}}else if(42===p)return g(a,e+1|0,c,f,k,j,i,d,[1,l]);switch(l){case
0:if(1-t)x(e-1|0,45,m$);return g(a,e,c,f,k,j,i,d,0);case
1:return g(a,e,c,f,k,j,i,d,0);default:return g(a,e,c,f,k,j,i,d,na)}}function
g(l,b,c,d,e,f,g,h,i){if(b===c)v(c,R);var
p=m(n,b);if(46!==p)return B(l,b+1|0,c,e,f,g,h,i,0,i,p);var
a=b+1|0;if(a===c)v(c,R);function
q(a,b){var
d=o(b,c,0);return k(l,d[1],c,a,e,f,g,h,i,[0,d[2]])}var
j=m(n,a);if(48<=j){if(58>j)return q(d,a)}else if(42<=j)switch(j-42|0){case
0:return k(l,a+1|0,c,d,e,f,g,h,i,1);case
1:case
3:if(t){var
r=a+1|0,s=d||(45===j?1:0);return q(s,r)}break}return t?k(l,a,c,d,e,f,g,h,i,nc):x(a-1|0,46,nd)}function
k(k,b,c,d,e,f,g,h,i,j){if(b===c)v(c,R);function
a(a){return B(k,b+1|0,c,e,f,g,h,i,j,a,m(n,b))}if(typeof
i!=="number")return a(i);if(typeof
j==="number"&&!j)return a(0);return d?typeof
j==="number"?a(ne):a([0,0,j[1]]):typeof
j==="number"?a(nf):a([0,1,j[1]])}function
B(q,o,c,d,e,f,g,h,i,j,k){var
T=[0,0],U=[0,0],V=[0,0],W=[0,0],J=[0,0],X=[0,0];function
y(a){T[1]=1;return d}function
A(a){U[1]=1;return e}function
B(a){V[1]=1;return f}function
b(a){W[1]=1;return g}function
K(a){J[1]=1;return h}function
x(a){X[1]=1;return i}function
D(a){J[1]=1;return j}function
E(a){var
b=K(0),c=x(0);if(typeof
c==="number"&&!c)return b;if(typeof
b==="number")return 0;if(0!==b[0])return 2<=b[1]?t?nh:u(q,o,48,ni):b;if(2>b[1])return b;var
d=b[2];return t?[0,1,d]:u(q,o,48,ng)}function
L(a,b){if(typeof
b==="number")return b;if(0!==b[0])return 2<=b[1]?t?nk:u(q,o,a,nl):b;if(2>b[1])return b;var
c=b[2];return t?[0,1,c]:u(q,o,a,nj)}function
Y(a,b){if(typeof
b==="number")return 0;if(0===b[0])switch(b[1]){case
0:var
c=b[2];return t?[0,c]:u(q,o,a,nm);case
1:return[0,b[2]];default:var
d=b[2];return t?[0,d]:u(q,o,a,nn)}return u(q,o,a,no)}function
s(a){return Y(a,K(0))}function
M(a){return Y(a,D(0))}a:{if(124>k)switch(k){case
33:var
a=[0,[10,p(o,c)[1]]];break a;case
40:var
aj=z(o,c,41),ak=p(aj+2|0,c)[1],al=G(p(o,aj)[1]);if(b(0)){var
a=[0,[23,[9,s(95),al],ak]];break a}var
a=[0,[14,s(40),al,ak]];break a;case
44:var
a=p(o,c);break a;case
67:var
ao=p(o,c)[1];if(b(0)){var
a=[0,[23,1,ao]];break a}var
a=[0,[1,ao]];break a;case
78:var
at=p(o,c)[1],au=2;if(b(0)){var
a=[0,[23,[11,au],at]];break a}var
a=[0,[21,au,at]];break a;case
83:var
bb=L(k,D(0)),av=p(o,c)[1];if(b(0)){var
a=[0,[23,[1,M(95)],av]];break a}var
ax=eM(bb,av),a=[0,[3,ax[1],ax[2]]];break a;case
91:var
aA=aN(o,c),aB=aA[2],aC=p(aA[1],c)[1];if(b(0)){var
a=[0,[23,[10,s(95),aB],aC]];break a}var
a=[0,[20,s(91),aB,aC]];break a;case
97:var
a=[0,[15,p(o,c)[1]]];break a;case
99:var
aD=function(a){return b(0)?[0,[23,0,a]]:[0,[0,a]]},H=p(o,c)[1],aE=s(99);if(!aE){var
a=aD(H);break a}if(0===aE[1]){if(b(0)){var
a=[0,[23,3,H]];break a}var
a=[0,[22,H]];break a}if(t){var
a=aD(H);break a}var
a=v(o,m7);break a;case
114:var
aF=p(o,c)[1];if(b(0)){var
a=[0,[23,2,aF]];break a}var
a=[0,[19,aF]];break a;case
115:var
bf=L(k,D(0)),aG=p(o,c)[1];if(b(0)){var
a=[0,[23,[0,M(95)],aG]];break a}var
aH=eM(bf,aG),a=[0,[2,aH[1],aH[2]]];break a;case
116:var
a=[0,[16,p(o,c)[1]]];break a;case
123:var
aI=z(o,c,dW),bg=p(o,aI)[1],aJ=p(aI+2|0,c)[1],aK=G(bg);if(b(0)){var
a=[0,[23,[8,s(95),aK],aJ]];break a}var
a=[0,[13,s(cc),aK,aJ]];break a;case
66:case
98:var
a9=L(k,D(0)),am=p(o,c)[1];if(b(0)){var
a=[0,[23,[7,M(95)],am]];break a}var
an=eM(a9,am),a=[0,[9,an[1],an[2]]];break a;case
37:case
64:var
a=[0,[12,k,p(o,c)[1]]];break a;case
76:case
108:case
110:if(o!==c){var
aL=m(n,o)+cV|0;b:{if(32>=aL>>>0)switch(aL){case
0:case
12:case
17:case
23:case
29:case
32:var
as=1;break b}var
as=0}if(as)break}var
ar=p(o,c)[1];b:{if(jN<=k){if(d9>k)switch(k+iH|0){case
0:var
F=0;break b;case
2:var
F=1;break b}}else if(76===k){var
F=2;break b}throw l([0,r,nM],1)}if(b(0)){var
a=[0,[23,[11,F],ar]];break a}var
a=[0,[21,F,ar]];break a;case
32:case
35:case
43:case
45:case
95:var
a=I(aw(nA),n,q,k);break a;case
88:case
100:case
105:case
111:case
117:case
120:var
bc=B(0),bd=A(0),ay=C(q,o,y(0),bd,bc,k),az=p(o,c)[1];if(b(0)){var
a=[0,[23,[2,ay,s(95)],az]];break a}var
be=x(0),S=cu(E(0),be,az),a=[0,[4,ay,S[1],S[2],S[3]]];break a;case
69:case
70:case
71:case
72:case
101:case
102:case
103:case
104:var
ap=B(0),a_=A(0),bh=y(0)?ap?t?1:u(q,o,32,nT):1:ap?2:0;b:{if(73<=k){var
aM=k-101|0;if(3>=aM>>>0)switch(aM){case
0:var
w=1;break b;case
1:var
w=0;break b;case
2:var
w=3;break b;default:var
w=6;break b}}else if(69<=k)switch(k+jR|0){case
0:var
w=2;break b;case
2:var
w=4;break b;case
3:var
w=7;break b}if(a_){if(70===k){var
w=8;break b}}else if(70===k){var
w=5;break b}throw l([0,r,nS],1)}var
aq=p(o,c)[1],bi=[0,bh,w];if(b(0)){var
N=x(0),a$=typeof
N==="number"?N?u(q,o,95,np):0:[0,N[1]],a=[0,[23,[6,s(95),a$],aq]];break a}var
ba=x(0),R=cu(K(0),ba,aq),a=[0,[8,bi,R[1],R[2],R[3]]];break a}if(jN<=k){if(d9>k)switch(k+iH|0){case
0:var
aX=m(n,o),aY=B(0),aZ=A(0),ad=C(q,o+1|0,y(0),aZ,aY,aX),ae=p(o+1|0,c)[1];if(b(0)){var
a=[0,[23,[3,ad,s(95)],ae]];break a}var
a0=x(0),O=cu(E(0),a0,ae),a=[0,[5,ad,O[1],O[2],O[3]]];break a;case
2:var
a1=m(n,o),a2=B(0),a3=A(0),af=C(q,o+1|0,y(0),a3,a2,a1),ag=p(o+1|0,c)[1];if(b(0)){var
a=[0,[23,[4,af,s(95)],ag]];break a}var
a4=x(0),P=cu(E(0),a4,ag),a=[0,[6,af,P[1],P[2],P[3]]];break a}}else if(76===k){var
a5=m(n,o),a6=B(0),a7=A(0),ah=C(q,o+1|0,y(0),a7,a6,a5),ai=p(o+1|0,c)[1];if(b(0)){var
a=[0,[23,[5,ah,s(95)],ai]];break a}var
a8=x(0),Q=cu(E(0),a8,ai),a=[0,[7,ah,Q[1],Q[2],Q[3]]];break a}var
a=I(aw(nq),n,o-1|0,k)}if(1-t){var
Z=1-T[1],aO=Z?d:Z;if(aO)u(q,o,k,nr);var
_=1-U[1],aP=_?e:_;if(aP)u(q,o,k,ns);var
$=1-V[1],aQ=$?f:$;if(aQ)u(q,o,k,nt);var
aa=1-J[1],aR=aa?aU([0,h],nu):aa;if(aR)u(q,o,k,nv);var
ab=1-X[1],aS=ab?aU([0,i],nw):ab;if(aS){var
aT=g?95:k;u(q,o,aT,nx)}var
aV=g?d:g;if(aV)u(q,o,95,ny)}var
ac=1-W[1],aW=ac?g:ac;a:if(aW){b:{if(38<=k){if(44!==k&&64!==k)break b}else if(33!==k&&37>k)break b;if(t)break a}u(q,o,k,nz)}return a}function
E(a,b){if(a===b)return nB;var
c=m(n,a);if(65<=c){if(94<=c){var
x=c+iS|0;if(2>=x>>>0)switch(x){case
0:return D(1,a+1|0,b);case
2:return[0,[17,1,p(a+1|0,b)[1]]]}}else if(91<=c)switch(c-91|0){case
0:return D(0,a+1|0,b);case
2:return[0,[17,0,p(a+1|0,b)[1]]]}}else{if(10===c)return[0,[17,3,p(a+1|0,b)[1]]];if(32<=c)switch(c+fV|0){case
0:return[0,[17,nC,p(a+1|0,b)[1]]];case
5:if((a+1|0)<b&&37===m(n,a+1|0))return[0,[17,6,p(a+2|0,b)[1]]];return[0,[12,64,p(a,b)[1]]];case
12:return[0,[17,nD,p(a+1|0,b)[1]]];case
14:return[0,[17,4,p(a+1|0,b)[1]]];case
27:var
d=a+1|0;a:try{var
I=d===b?1:0,J=I||(60!==m(n,d)?1:0);if(J)throw l(s,1);var
z=e(d+1|0,b),k=m(n,z);b:{if(48<=k){if(58<=k)break b}else if(45!==k)break b;var
A=w(z,b),B=A[2],i=e(A[1],b),o=m(n,i)-45|0;if(12<o>>>0){if(17===o){var
K=[0,ah(n,d-2|0,(i-d|0)+3|0),B,0],L=i+1|0,h=K,g=L;break a}}else if(1<o-1>>>0){var
C=w(i,b),M=C[2],q=e(C[1],b);if(62!==m(n,q))throw l(s,1);var
N=[0,ah(n,d-2|0,(q-d|0)+3|0),B,M],O=q+1|0,h=N,g=O;break a}throw l(s,1)}throw l(s,1)}catch(f){var
j=y(f);if(j===s)var
h=gQ,g=d;else{if(j[1]!==aW)throw l(j,0);var
h=gQ,g=d}}return[0,[17,h,p(g,b)[1]]];case
28:var
f=a+1|0;try{var
F=e(f,b),u=m(n,F);a:{b:{if(48<=u){if(58<=u)break b}else if(45!==u)break b;var
H=w(F,b),Q=H[2],v=e(H[1],b);if(62!==m(n,v))throw l(s,1);var
G=[0,[0,v+1|0,[1,ah(n,f-2|0,(v-f|0)+3|0),Q]]];break a}var
G=0}var
t=G}catch(f){var
r=y(f);if(r!==s&&r[1]!==aW)throw l(r,0);var
t=0}if(!t)return[0,[17,nE,p(f,b)[1]]];var
E=t[1],P=E[2];return[0,[17,P,p(E[1],b)[1]]];case
31:return[0,[17,2,p(a+1|0,b)[1]]];case
32:return[0,[17,5,p(a+1|0,b)[1]]]}}return[0,[17,[2,c],p(a+1|0,b)[1]]]}function
D(a,b,c){try{if(b===c)throw l(s,1);if(60!==m(n,b))throw l(s,1);var
e=b+1|0,f=j(n);a:{var
o=62;if(0<=e&&f>=e){var
d=eC(n,f,e,o);break a}var
d=q(k3)}if(c<=d)throw l(s,1);var
r=ah(n,b,(d-b|0)+1|0),t=p(d+1|0,c)[1],h=[0,p(b,d+1|0)[1],r],u=a?[0,h]:[1,h],v=[0,[18,u,t]];return v}catch(f){var
g=y(f);if(g!==s)throw l(g,0);var
i=p(b,c)[1],k=a?[0,gP]:[1,gP];return[0,[18,k,i]]}}function
aN(a,b){if(a===b)v(b,R);var
e=gH(0);function
o(a,b){if(b>=a){var
c=a;for(;;){bB(e,bU(c));var
d=c+1|0;if(b===c)break;c=d}}}function
p(a){return i(aw(nF),n,a)}function
j(a,b,c){var
d=b;for(;;){if(d===c)v(c,R);var
f=m(n,d);if(45!==f){if(93===f)return d+1|0;var
h=d+1|0;return a<50?g(a+1|0,h,c,f):ad(g,[0,h,c,f])}bB(e,45);d=d+1|0}}function
g(a,b,c,d){var
g=b,f=d;for(;;){if(g===c)v(c,R);var
i=m(n,g);a:{if(46<=i){if(64!==i){if(93!==i)break a;bB(e,f);return g+1|0}}else if(37!==i){if(45<=i)break;break a}if(37===f){bB(e,i);var
q=g+1|0;return a<50?j(a+1|0,q,c):ad(j,[0,q,c])}}if(37===f)p(g);bB(e,f);g=g+1|0;f=i}var
h=g+1|0;if(h===c)v(c,R);var
k=m(n,h);if(37===k){if((h+1|0)===c)v(c,R);var
l=m(n,h+1|0);if(37!==l&&64!==l)return p(h);o(f,l);var
r=h+2|0;return a<50?j(a+1|0,r,c):ad(j,[0,r,c])}if(93===k){bB(e,f);bB(e,45);return h+1|0}o(f,k);var
s=h+1|0;return a<50?j(a+1|0,s,c):ad(j,[0,s,c])}function
t(a,b,c){return bS(g(0,a,b,c))}if(a===b)v(b,R);if(94===m(n,a))var
q=1,d=a+1|0;else
var
q=0,d=a;if(d===b)v(b,R);var
f=av(e),h=N(f),u=t(d+1|0,b,m(n,d));a8(e,0,h,0,f);var
k=Y(h);if(q){var
l=gH(0),c=0;for(;;){P(l,c,bU(m(k,c)^J));var
s=c+1|0;if(31===c){var
r=Y(l);break}c=s}}else
var
r=k;return[0,u,r]}function
e(a,b){var
c=a;for(;;){if(c===b)v(b,R);if(32!==m(n,c))return c;c=c+1|0}}function
o(a,b,c){var
d=a,e=c;for(;;){if(d===b)v(b,R);var
g=m(n,d);if(9<g+aC>>>0)return[0,d,e];var
f=(e*10|0)+(g-48|0)|0;if(bz<f)return I(aw(nG),n,f,bz);d=d+1|0;e=f}}function
w(a,b){if(a===b)v(b,R);var
c=m(n,a);if(48<=c){if(58>c)return o(a,b,0)}else if(45===c){if((a+1|0)===b)v(b,R);var
d=m(n,a+1|0);if(9<d+aC>>>0)return f(a+1|0,nI,d);var
e=o(a+1|0,b,0);return[0,e[1],-e[2]|0]}throw l([0,r,nH],1)}function
h(a,b,c){var
d=b-a|0;return 0===d?[0,c]:1===d?[0,[12,m(n,a),c]]:[0,[11,ah(n,a,d),c]]}function
z(a,b,c){var
d=a;for(;;){if(d===b)I(aw(nJ),n,c,b);if(37===m(n,d)){if((d+1|0)===b)v(b,R);if(m(n,d+1|0)===c)return d;var
e=m(n,d+1|0);if(95<=e){if(cc<=e){if(126>e)switch(e+iS|0){case
0:d=z(d+2|0,b,dW)+2|0;continue;case
2:return f(d+1|0,nK,dW)}}else if(96>e){if((d+2|0)===b)v(b,R);var
g=m(n,d+2|0);if(40===g){d=z(d+3|0,b,41)+2|0;continue}if(cc===g){d=z(d+3|0,b,dW)+2|0;continue}d=d+3|0;continue}}else{if(40===e){d=z(d+2|0,b,41)+2|0;continue}if(41===e)return f(d+1|0,nL,41)}d=d+2|0}else
d=d+1|0}}function
C(a,b,c,d,e,f){var
i=c,h=d,g=e;for(;;){a:{if(i){if(!h){if(g)break a;if(bp===f)return 1;if(fO===f)return 4;break a}}else{if(!h){if(g){if(bp===f)return 2;if(fO===f)return 5;break a}var
m=f+cV|0;if(32<m>>>0)break a;switch(m){case
0:return 8;case
12:return 0;case
17:return 3;case
23:return 10;case
29:return 12;case
32:return 6;default:break a}}if(!g){var
k=f+cV|0;if(32>=k>>>0)switch(k){case
0:return 9;case
12:return 13;case
17:return 14;case
23:return 11;case
29:return 15;case
32:return 7}}}var
j=f+cV|0;if(32>=j>>>0)switch(j){case
0:if(t)return 9;break;case
23:if(t)return 11;break;case
32:if(t)return 7;break;case
12:case
17:case
29:if(!t)return u(a,b,f,nR);h=0;continue}}if(i)if(g){if(!t)return u(a,b,32,nN);g=0}else{if(!t)return u(a,b,f,nO);i=0}else{if(!g)throw l([0,r,nQ],1);if(!t)return u(a,b,f,nP);g=0}}}function
u(a,b,c,d){var
e=ah(n,a,b-a|0);return dQ(aw(nU),n,a,d,c,e)}return p(0,j(n))}function
dh(c,b){return k(function(a){aZ(c,a);return 0},0,b[1])}function
H(a){return k(function(a){var
b=aJ(64);a0(b,a);return bX(b)},0,a[1])}var
fv=[0,0],nW=[0,[3,0,0],"%S"],nX=iK,nY=[0,[4,0,0,0,0],fK],nZ=g,n0=[0,[11,b$,[2,0,[2,0,0]]],", %s%s"],n1=[0,[12,40,[2,0,[2,0,[12,41,0]]]],"(%s%s)"],n2=g,n3=g,n4=[0,[12,40,[2,0,[12,41,0]]],"(%s)"],n5="Out of memory",n6="Stack overflow",n7="Pattern matching failed",n8="Assertion failed",n9="Undefined recursive module",n_="Raised at",n$="Re-raised at",oa="Raised by primitive operation at",ob="Called from",oc=[0,[12,32,[4,0,0,0,0]]," %d"],od=" (inlined)",oe=[0,[2,0,[12,32,[2,0,[11,' in file "',[2,0,[12,34,[2,0,[11,", line",[2,0,[11,jO,s$]]]]]]]]]],'%s %s in file "%s"%s, line%s, characters %d-%d'],of=g,og=[0,[11,"s ",[4,0,0,0,[12,45,[4,0,0,0,0]]]],"s %d-%d"],oh=[0,[2,0,[11," unknown location",0]],"%s unknown location"],oi=[0,[2,0,[12,10,0]],"%s\n"];function
eP(a,b){var
c=a[b+1];if(!(1-(typeof
c==="number"?1:0)))return h(H(nY),c);if(ep(c)===dR)return h(H(nW),c);if(ep(c)!==253)return nX;var
e=f3("%.12g",c),d=0,g=j(e);for(;;){if(g<=d)return e+bq;var
f=m(e,d);a:{if(48<=f){if(58<=f)break a}else if(45!==f)break a;d=d+1|0;continue}return e}}function
gR(a,b){if(a.length-1<=b)return nZ;var
c=gR(a,b+1|0),d=eP(a,b);return i(H(n0),d,c)}function
di(a){a:{b:{var
b=bQ(fv);for(;;){if(!b)break;var
l=b[2],w=b[1];try{var
m=h(w,a)}catch(f){b=l;continue}if(m)break b;b=l}var
j=0;break a}var
j=[0,m[1]]}if(j)return j[1];if(a===ev)return n5;if(a===gj)return n6;if(a[1]===gi){var
e=a[2],p=e[3],y=e[2],z=e[1];return dQ(H(eO),z,y,p,p+5|0,n7)}if(a[1]===r){var
f=a[2],q=f[3],A=f[2],B=f[1];return dQ(H(eO),B,A,q,q+6|0,n8)}if(a[1]===gl){var
g=a[2],s=g[3],C=g[2],D=g[1];return dQ(H(eO),D,C,s,s+6|0,n9)}if(0===ep(a)){var
k=a.length-1,x=a[1][1];if(2<k>>>0)var
t=gR(a,2),u=eP(a,1),c=i(H(n1),u,t);else
switch(k){case
2:var
v=eP(a,1),c=h(H(n4),v);break;case
0:var
c=n2;break;default:var
c=n3}var
d=[0,x,[0,c]]}else
var
d=[0,a[1],0];var
n=d[2],o=d[1];return n?o+n[1]:o}function
eQ(a,b){var
f=tv(b),k=f.length-2|0,w=0;if(k>=0){var
d=w;for(;;){var
c=o(f,d)[d+1];let
b=d;var
g=function(a){return a?0===b?n_:n$:0===b?oa:ob};if(0===c[0]){if(c[3]===c[6])var
l=c[3],j=h(H(oc),l);else
var
t=c[6],u=c[3],j=i(H(og),u,t);var
m=c[7],n=c[4],p=c[8]?od:of,q=c[2],r=c[9],s=g(c[1]),e=[0,ta(H(oe),s,r,q,p,j,n,m)]}else if(c[1])var
e=0;else
var
v=g(0),e=[0,h(H(oh),v)];if(e){var
x=e[1];h(dh(a,oi),x)}var
y=d+1|0;if(k===d)break;d=y}}}function
gS(a){for(;;){var
c=bQ(fv),b=1-ea(fv,c,[0,a,c]);if(!b)return b}}var
oj=uh([0,g,"(Cannot print locations:\n bytecode executable program file not found)","(Cannot print locations:\n bytecode executable program file appears to be corrupt)","(Cannot print locations:\n bytecode executable program file has wrong magic number)","(Cannot print locations:\n bytecode executable program file cannot be opened;\n -- too many open files. Try running with OCAMLRUNPARAM=b=2)"]),ok=[0,[11,fP,[2,0,[12,10,0]]],ja],ol=[0],om="Fatal error: out of memory in uncaught exception handler",on=[0,[11,fP,[2,0,[12,10,0]]],ja],oo=[0,[11,"Fatal error in uncaught exception handler: exception ",[2,0,[12,10,0]]],"Fatal error in uncaught exception handler: exception %s\n"];gd(is,function(a,b){try{try{var
g=b?ol:j$(0);try{c9(0)}catch(f){}try{var
f=di(a);h(dh(an,ok),f);eQ(an,g);var
c=ub(0);if(c<0){var
d=c8(c);gq(o(oj,d)[d+1])}var
p=aH(an),i=p}catch(f){var
k=y(f),m=di(a);h(dh(an,on),m);eQ(an,g);var
n=di(k);h(dh(an,oo),n);eQ(an,j$(0));var
i=aH(an)}var
j=i}catch(f){var
e=y(f);if(e!==ev)throw l(e,0);var
j=gq(om)}return j}catch(f){return 0}});var
op=[c,"Stdlib.Fun.Finally_raised",ax(0)];gS(function(a){return a[1]===op?[0,"Fun.Finally_raised: "+di(a[2])]:0});var
oq="Digest.BLAKE2: wrong hash size";function
eR(a){var
b=a[1]<1?1:0,c=b||(64<a[1]?1:0);if(c)q(oq)}eR([0,16]);eR([0,32]);eR([0,64]);var
or=aF(1,0,0),os=aF(0,0,0),ot=aF(0,0,0),ou=aF(2,0,0),ov=aF(1,0,0),oy=aF(14371852,15349651,22696),oz=aF(12230193,11438743,35013),oA=aF(1424933,15549263,2083),oB=aF(9492471,4696708,43520);function
gT(a){return t_(a,0,av(a))}function
gU(a){return tl(7,0,[0,4])}function
gV(a,b,c,d,e){cX(a,0,kf(b,or));cX(a,1,c);var
f=aU(d,os)?d:ov;cX(a,2,f);var
g=aU(e,ot)?e:ou;cX(a,3,g)}function
gW(a,b,c,d){var
e=gU(0);gV(e,a,b,c,d);return e}function
gX(a){var
b=a.length-1<4?1:0,c=b||(a[4]<0?1:0);return c}function
eS(a){a[4]=-a[4]|0}var
kX="tl",kW="hd",k4="String.contains_from / Bytes.contains_from",k2=g,k1="String.concat",k7="Array.fill",lc="Buffer.sub",lg="first domain already spawned",nV=[0,[11,"bad input: format type mismatch between ",[3,0,[11," and ",[3,0,0]]]],"bad input: format type mismatch between %S and %S"],lh=[0,0,0],ox=aF(0,0,0),oG="Hashtbl: unsupported hash table format",oD=g,o0=[4,0,3],o1=bq,oX=g,oV=g,oT=i4,oP=g,oQ=g,oR=g,oS=g,oO=[0,g],oK=g,oL=g,oM=g,oN=g,oI="Stdlib.Format.String_tag",pt=[0,91],ps=[0,cc],pu="end of input not found",pv='scanf: bad conversion "%a"',pw='scanf: bad conversion "%t"',px="scanf: missing reader",py=[0,jz,1414,13],pz='scanf: bad conversion "%?" (custom converter)',pA=fX,pB=fX,pC='scanf: bad conversion "%-"',pD=fX,pr=[0,37,g],pq=[0,[11,"scanf: bad input at char number ",[4,3,0,0,[11,fQ,[2,0,0]]]],"scanf: bad input at char number %i: %s"],pp=[0,[11,"the character ",[1,[11," cannot start a boolean",0]]],"the character %C cannot start a boolean"],po=[0,[11,"bad character hexadecimal encoding \\",[0,[0,0]]],"bad character hexadecimal encoding \\%c%c"],pn=[0,[11,"bad character decimal encoding \\",[0,[0,[0,0]]]],"bad character decimal encoding \\%c%c%c"],pj="an",pl="x",pk="nfinity",pf="digits",pg=[0,[11,jp,[1,[11," is not a valid ",[2,0,[11," digit",0]]]]],"character %C is not a valid %s digit"],pd="decimal digits",pe=[0,[11,jp,[1,[11," is not a decimal digit",0]]],"character %C is not a decimal digit"],pc=[0,jz,516,9],pb=[0,[11,"invalid boolean '",[2,0,[12,39,0]]],"invalid boolean '%s'"],o$=[0,[11,"looking for ",[1,[11,", found ",[1,0]]]],"looking for %C, found %C"],o_=[0,[11,iL,[2,0,[11," failed: premature end of file occurred before end of token",0]]],"scanning of %s failed: premature end of file occurred before end of token"],o9=[0,[11,iL,[2,0,[11," failed: the specified length was too short for token",0]]],"scanning of %s failed: the specified length was too short for token"],o8=[0,[11,"illegal escape character ",[1,0]],"illegal escape character %C"],o7="Stdlib.Scanf.Scan_failure",pJ=[0,"camlinternalOO.ml",279,50],pS=[0,"lib/ecs/entity.ml",cc,6],pR=[0,[12,60,[2,0,[12,58,[4,0,0,0,[12,62,0]]]]],"<%s:%d>"],pO="__NO_NAME__",pM=g,pN=a7,pL=[0,a7],pV=[0,[11,"Entity ",[15,[11," is already registered",0]]],"Entity %a is already registered"],pW=[0,jL,i3],pX=[0,i3,jL],pY="Jsoo_runtime.Error.Exn",p1="Js_of_ocaml__Dom_html.Canvas_not_available",p5=[0,[11,fC,[2,0,[11,"` : ",[2,0,0]]]],"Invalid window spec `%s` : %s"],p6=[0,[11,fC,[2,0,[12,96,0]]],jq],p7=[0,[11,fC,[2,0,[12,96,0]]],jq],p3="Gfx__Gfx_base.GfxError",qc=aE,qb=i4,p9=[0,[11,"Cannot find canvas with id `",[2,0,[12,96,0]]],"Cannot find canvas with id `%s`"],qd=[A,1.,jf],qe=[A,jf,1.],qC=g,qD=d2,qz=g,qA=d6,qx=g,qy=bn,qv=g,qw=bo,qr=g,qs=bm,qq=[0,0,0],qo=g,qp=bt,qm=g,qn=dV,qk=g,ql=br,qg=[0,bm,bo,bn,br,a7,bt],qh=[0,bm,bo,d2,d6,bn,br,a7,bt],qi=[0,d6,d2,a7,br,bn,bt,bo,bm],qj=[0,a7,br,bn,bt,bo,bm],qt="Game__Component_defs.No_tag",q$="Uninitialized global state",rn="Game__Wall.HWall",ro="Game__Wall.VWall",rI=[0,[4,0,0,0,[12,45,[4,0,0,0,0]]],"%d-%d"],sk="player2",sl="player1",rN="Game__Player.Paddle",sK=d1,sL="d",sM="u",sN="j",sO="g",sP="s",s6=[0,0],s4=[0,[11,"game_canvas:",[4,0,0,0,[12,bM,[4,0,0,0,[12,58,0]]]]],"game_canvas:%dx%d:"],s5=g,s3=[0,0],sZ=g,s0=[0,[11,"Player ",[4,0,0,0,[11," wins",0]]],"Player %d wins"],s1=[0,0],sV=[0,1],sY=[0,2],sR=[0,0],pQ=a(),qJ=a(),qK=a(),qL=a(),qM=a(),qN=a(),qO=a(),qP=a(),qQ=a(),qR=a(),qS=a(),qT=a(),qU=a(),qV=a(),qW=a(),qX=a(),qY=a(),rb=a(),rc=a(),rd=a(),re=a(),rf=a(),rg=a(),rh=a(),ri=a(),rj=a(),rk=a(),rl=a(),rm=a(),rq=a(),rr=a(),rs=a(),rt=a(),ru=a(),rv=a(),rw=a(),rx=a(),ry=a(),rz=a(),rA=a(),rB=a(),rC=a(),rD=a(),rE=a(),rF=a(),rG=a(),rH=a(),rJ=a(),rK=a(),rL=a(),rM=a(),rO=a(),rP=a(),rQ=a(),rR=a(),rS=a(),rT=a(),rU=a(),rV=a(),rW=a(),rX=a(),rY=a(),rZ=a(),r0=a(),r1=a(),r2=a(),r3=a(),r4=a(),r5=a(),r6=a(),r7=a(),r8=a(),r9=a(),r_=a(),r$=a(),sa=a(),sb=a(),sc=a(),sd=a(),se=a(),sf=a(),sg=a(),sh=a(),si=a(),sj=a(),sm=a(),sn=a(),so=a(),sp=a(),sq=a(),sr=a(),ss=a(),st=a(),su=a(),sv=a(),sw=a(),sx=a(),sy=a(),sz=a(),sA=a(),sB=a(),sC=a(),sD=a(),sE=a(),sF=a(),sG=a(),sH=a(),sI=a(),sJ=a(),sT=a(),sU=a(),sW=a(),sX=a();function
kO(e){for(;;){var
a=bQ(ew);let
c=[0,1],d=a;var
b=1-ea(ew,a,function(a){if(ea(c,1,0))h(e,0);return h(d,0)});if(!b)return b}}var
s_=[0,0];function
ow(a){var
i=ut(0),h=gU(0),d=i.length-1,c=N((d*8|0)+1|0),e=d-1|0,j=0;if(e>=0){var
b=j;for(;;){tt(c,b*8|0,c3(o(i,b)[b+1]));var
n=b+1|0;if(e===b)break;b=n}}P(c,d*8|0,1);var
f=gT(c);P(c,d*8|0,2);var
g=gT(c),k=c_(g,8),l=c_(g,0),m=c_(f,8);gV(h,c_(f,0),m,l,k);return h}var
oC=aX([0,function(a){return gW(cg(a),cg(a),cg(a),cg(a))}],function(a){return gW(oB,oA,oz,oy)});try{var
s8=kz(iU),dj=s8}catch(f){var
gY=y(f);if(gY!==s)throw l(gY,0);try{var
s7=kz("CAMLRUNPARAM"),dj=s7}catch(f){var
gZ=y(f);if(gZ!==s)throw l(gZ,0);var
dj=oD}}var
gw=j(dj),oE=82,k6=0;if(gw<0)var
eT=q(k4);else
try{eC(dj,gw,k6,oE);var
k5=1,eT=k5}catch(f){var
gx=y(f);if(gx!==s)throw l(gx,0);var
eT=0}var
oF=aX(0,ow),s9=[0,eT];function
g0(a,b){var
d=a?a[1]:bQ(s9),c=16;for(;;){if(b>c&&ex>=(c*2|0)){c=c*2|0;continue}var
e=d?kh(cg(aK(oF)))&jj:0;return[0,0,au(c,0),e,c]}}function
dk(a,b){return 4<=a.length-1?tG(10,bp,a[3],b)&(a[2].length-2|0):q(oG)}function
bD(a,b,c){var
i=dk(a,b),x=o(a[2],i)[i+1];a:{b:{var
e=x;for(;;){if(!e)break;var
F=e[3];if(0===cZ(e[1],b))break b;e=F}var
y=1;break a}e[1]=b;e[2]=c;var
y=0}if(y){o(a[2],i)[i+1]=[0,b,c,x];a[1]=a[1]+1|0;if(a[2].length-1<<1<a[1]){var
l=a[2],u=(l.length-1)*2|0,v=u<ex?1:0;if(!v)return v;var
m=au(u,0),w=1-gX(a);a[2]=m;var
n=m.length-1,j=au(n,0),r=l.length-2|0,B=0;if(r>=0){var
h=B;a:for(;;){var
d=o(l,h)[h+1];for(;;){if(!d){var
E=h+1|0;if(r===h)break a;h=E;break}var
p=d[1],z=d[2],A=d[3],k=w?d:[0,p,z,0],f=dk(a,p),q=o(j,f)[f+1];if(q)q[3]=k;else
o(m,f)[f+1]=k;o(j,f)[f+1]=k;d=A}}}if(w){var
s=n-1|0,C=0;if(s>=0){var
g=C;for(;;){var
t=o(j,g)[g+1];if(t)t[3]=0;var
D=g+1|0;if(s===g)break;g=D}}}return}}}var
dl=0,g1=-1,dm=[c,oI,ax(0)];function
cv(a,b){a[13]=a[13]+b[3]|0;return bb(b,a[28])}var
g2=1000000010;function
eU(a,b){return I(a[17],b,0,j(b))}function
dn(a){return h(a[19],0)}function
g3(a,b,c){a[9]=a[9]-b|0;eU(a,c);a[11]=0}function
dp(a,b){var
c=b!==g?1:0;return c?g3(a,j(b),b):c}function
bE(a,b,c){var
d=b[3],e=b[2];dp(a,b[1]);dn(a);a[11]=1;a[10]=cm(a[8],(a[6]-c|0)+e|0);a[9]=a[6]-a[10]|0;h(a[21],a[10]);return dp(a,d)}function
cw(a,b){var
c=b[2],d=b[3];dp(a,b[1]);a[9]=a[9]-c|0;h(a[20],c);return dp(a,d)}function
oJ(a,b,c){if(typeof
c==="number")switch(c){case
0:var
t=bW(a[3]);if(!t)return;var
u=t[1][1],v=function(a,b){if(!b)return[0,a,0];var
c=b[1],d=b[2];return t6(a,c)?[0,a,b]:[0,c,v(a,d)]};u[1]=v(a[6]-a[9]|0,u[1]);return;case
1:bV(a[2]);return;case
2:bV(a[3]);return;case
3:var
w=bW(a[2]);return w?bE(a,g4,w[1][2]):dn(a);case
4:var
x=a[10]!==(a[6]-a[9]|0)?1:0;if(!x)return x;var
e=a[28],g=e[2];if(g){var
o=g[1];if(g[2]){var
K=g[2];e[1]=e[1]-1|0;e[2]=K;var
i=[0,o]}else{eF(e);var
i=[0,o]}}else
var
i=0;if(!i)return;var
s=i[1],M=s[1];a[12]=a[12]-s[3]|0;a[9]=a[9]+M|0;return;default:var
y=bV(a[5]);if(y)return eU(a,h(a[25],y[1]));return}switch(c[0]){case
0:return g3(a,b,c[1]);case
1:var
N=c[3],O=c[2],P=c[1];a[9]=a[9]-b|0;I(a[17],P,O,N);a[11]=0;return;case
2:var
d=c[2],k=c[1],z=d[1],Q=d[2],A=bW(a[2]);if(!A)return;var
B=A[1],f=B[2];switch(B[1]){case
3:return a[9]<(b+j(z)|0)?bE(a,d,f):cw(a,k);case
4:return a[11]?cw(a,k):a[9]<(b+j(z)|0)?bE(a,d,f):((a[6]-f|0)+Q|0)<a[10]?bE(a,d,f):cw(a,k);case
0:case
5:return cw(a,k);default:return bE(a,d,f)}case
3:var
n=a[6]-a[9]|0,R=c[2],S=c[1],C=bW(a[3]);if(!C)return;var
D=C[1][1],E=D[1];if(E){var
l=D[1],T=E[1];for(;;){if(!l){var
m=T;break}var
F=l[1],U=l[2];if(n<=F){var
m=F;break}l=U}}else
var
m=n;var
G=m-n|0;return 0<=G?cw(a,[0,oL,G+S|0,oK]):bE(a,[0,oN,m+R|0,oM],a[6]);case
4:var
H=c[2],V=c[1];if(a[8]<(a[6]-a[9]|0)){var
p=bW(a[2]);if(p){var
q=p[1],r=q[2],L=q[1];if(a[9]<r&&3>=L-1>>>0)bE(a,g4,r)}else
dn(a)}var
W=a[9]-V|0,X=1===H?1:a[9]<b?H:5;return bA([0,X,W],a[2]);case
5:return bA(c[1],a[3]);default:var
J=c[1];eU(a,h(a[24],J));return bA(J,a[5])}}function
g5(a){for(;;){var
d=a[28][2],e=d?[0,d[1]]:0;if(!e)return 0;var
b=e[1],c=b[1],g=0<=c?1:0,h=b[3],i=b[2],j=a[13]-a[12]|0,f=g||(a[9]<=j?1:0);if(!f)return f;gA(a[28]);var
k=0<=c?c:g2;oJ(a,k,i);a[12]=h+a[12]|0}}function
g6(a,b){cv(a,b);return g5(a)}function
g7(a,b,c){return g6(a,[0,b,[0,c],b])}function
eV(a){cp(a);return bA([0,-1,[0,g1,oO,0]],a)}function
eW(a,b){var
d=bW(a[1]);if(!d)return;var
e=d[1],c=e[2],f=c[1];if(e[1]<a[12])return eV(a[1]);var
g=c[2];if(typeof
g!=="number")switch(g[0]){case
4:if(1-b){c[1]=a[13]+f|0;bV(a[1])}return;case
2:case
3:if(b){c[1]=a[13]+f|0;bV(a[1])}return}}function
g8(a,b,c){cv(a,c);if(b)eW(a,1);return bA([0,a[13],c],a[1])}function
eX(a,b,c){a[14]=a[14]+1|0;if(a[14]<a[15])return g8(a,0,[0,-a[13]|0,[4,b,c],0]);var
d=a[14]===a[15]?1:0;if(!d)return d;var
e=a[16];return g7(a,j(e),e)}function
g9(a,b){var
c=1<a[14]?1:0;if(c){if(a[14]<a[15]){cv(a,[0,dl,1,0]);eW(a,1);eW(a,0)}a[14]=a[14]-1|0;var
d=0}else
var
d=c;return d}function
g_(a,b){if(a[22]){bA(b,a[4]);h(a[26],b)}var
c=a[23];return c?cv(a,[0,dl,[6,b],0]):c}function
g$(a,b){if(a[23])cv(a,[0,dl,5,0]);var
c=a[22];if(c){var
d=bV(a[4]);if(d)return h(a[27],d[1]);var
e=0}else
var
e=c;return e}function
eY(a,b){var
c=a[4][1];for(;;){if(!c)break;var
d=c[2];g$(a,0);c=d}for(;;){if(1>=a[14])break;g9(a,0)}a[13]=g2;g5(a);if(b)dn(a);a[12]=1;a[13]=1;eF(a[28]);eV(a[1]);cp(a[2]);cp(a[3]);cp(a[4]);cp(a[5]);a[10]=0;a[14]=0;a[9]=a[6];return eX(a,0,3)}function
bF(a,b,c){var
d=a[14]<a[15]?1:0;return d?g7(a,b,c):d}function
eZ(a,b){return bF(a,j(b),b)}function
b0(a,b){return bF(a,1,cn(1,b))}function
bd(a,b){eY(a,0);return h(a[18],0)}function
e0(a,b){return I(a[17],oT,0,1)}var
ha=cn(80,32);function
b1(a,b){var
c=b;for(;;){var
d=0<c?1:0;if(!d)return d;if(80>=c)return I(a[17],ha,0,c);I(a[17],ha,0,80);c=c+it|0}}function
oU(a){return a[1]===dm?"<"+a[2]+jM:oV}function
oW(a){return a[1]===dm?"<\/"+a[2]+jM:oX}function
oY(a){return 0}function
oZ(a){return 0}function
dq(a,b,c,d,e){var
g=eE(0),h=[0,g1,o0,0];bb(h,g);var
f=co(0);eV(f);bA([0,1,h],f);var
i=78,j=co(0),k=co(0),l=co(0);return[0,f,co(0),l,k,j,i,10,68,i,0,1,1,1,1,by,o1,a,b,c,d,e,0,0,oU,oW,oY,oZ,g]}function
hb(a,b){var
c=dq(a,b,function(a){return 0},function(a){return 0},function(a){return 0});c[19]=function(a){return e0(c,a)};c[20]=function(a){return b1(c,a)};c[21]=function(a){return b1(c,a)};return c}function
hc(d){return hb(function(a,b,c){return gp(d,a,b,c)},function(a){return aH(d)})}function
cx(d){return hb(function(a,b,c){return eG(d,a,b,c)},function(a){return 0})}var
b2=fD,ik=aJ(b2),o2=hc(go),o3=hc(an),o4=cx(ik),hd=aX(0,function(a){return aJ(b2)});cr(hd,ik);cr(aX(0,function(a){return cx(aK(hd))}),o4);function
he(a,b,c,d){return eG(aK(a),b,c,d)}function
hf(a,b,c){var
d=aK(b),e=d[2];gp(a,bX(d),0,e);aH(a);return gB(d)}var
hg=aX(0,function(a){return aJ(b2)}),hh=aX(0,function(a){return aJ(b2)}),e1=aX(0,function(a){var
b=dq(function(a,b,c){return he(hg,a,b,c)},function(a){return hf(go,hg,a)},function(a){return 0},function(a){return 0},function(a){return 0});b[19]=function(a){return e0(b,a)};b[20]=function(a){return b1(b,a)};b[21]=function(a){return b1(b,a)};gG(function(a){return bd(b,a)});return b});cr(e1,o2);var
hi=aX(0,function(a){var
b=dq(function(a,b,c){return he(hh,a,b,c)},function(a){return hf(an,hh,a)},function(a){return 0},function(a){return 0},function(a){return 0});b[19]=function(a){return e0(b,a)};b[20]=function(a){return b1(b,a)};b[21]=function(a){return b1(b,a)};gG(function(a){return bd(b,a)});return b});cr(hi,o3);function
hj(a,b){eY(b,0);var
c=bX(a);gC(a);return c}function
dr(a,b){var
c=aJ(16),f=cx(c);i(a,f,b);bd(f,0);var
e=c[2];if(2>e)return bX(c);var
d=e-2|0,g=1;if(0<=d&&(c[2]-d|0)>=1)return eB(c[1][1],g,d);return q(lc)}function
hk(a,b){if(typeof
b==="number")switch(b){case
0:return g9(a,0);case
1:return g$(a,0);case
2:return bd(a,0);case
3:var
d=a[14]<a[15]?1:0;return d?g6(a,[0,dl,3,0]):d;case
4:eY(a,1);return h(a[18],0);case
5:return b0(a,64);default:return b0(a,37)}switch(b[0]){case
0:var
c=[0,oS,b[2],oR],e=a[14]<a[15]?1:0,k=[0,oQ,b[3],oP],f=c[3],g=c[2],i=c[1];return e?g8(a,1,[0,-a[13]|0,[2,c,k],(j(i)+g|0)+j(f)|0]):e;case
1:return 0;default:var
l=b[1];b0(a,64);return b0(a,l)}}function
aj(a,b){if(typeof
b==="number")return 0;a:{b:{c:{switch(b[0]){case
0:var
z=b[2];aj(a,b[1]);return hk(a,z);case
1:var
g=b[2],m=b[1];if(0===g[0]){var
A=g[1];aj(a,m);return g_(a,[0,dm,dr(aj,A)])}var
B=g[1];aj(a,m);var
n=gO(dr(aj,B));return eX(a,n[1],n[2]);case
2:var
c=b[1];if(typeof
c!=="number"&&0===c[0]){var
i=c[2];if(typeof
i!=="number"&&1===i[0]){var
t=b[2],s=i[2],r=c[1];break a}}var
p=b[2],o=c;break b;case
3:var
d=b[1];if(typeof
d!=="number"&&0===d[0]){var
j=d[2];if(typeof
j!=="number"&&1===j[0]){var
y=b[2],x=j[2],w=d[1];break c}}var
v=b[2],u=d;break;case
4:var
e=b[1];if(typeof
e!=="number"&&0===e[0]){var
k=e[2];if(typeof
k!=="number"&&1===k[0]){var
t=b[2],s=k[2],r=e[1];break a}}var
p=b[2],o=e;break b;case
5:var
f=b[1];if(typeof
f!=="number"&&0===f[0]){var
l=f[2];if(typeof
l!=="number"&&1===l[0]){var
y=b[2],x=l[2],w=f[1];break c}}var
v=b[2],u=f;break;case
6:var
C=b[2];aj(a,b[1]);return h(C,a);case
7:aj(a,b[1]);return bd(a,0);default:var
D=b[2];aj(a,b[1]);return q(D)}aj(a,u);return b0(a,v)}aj(a,w);return bF(a,x,cn(1,y))}aj(a,o);return eZ(a,p)}aj(a,r);return bF(a,s,t)}function
ak(a,b){if(typeof
b==="number")return 0;a:{b:{c:{switch(b[0]){case
0:var
B=b[2];ak(a,b[1]);return hk(a,B);case
1:var
i=b[2],o=b[1];if(0===i[0]){var
C=i[1];ak(a,o);return g_(a,[0,dm,dr(ak,C)])}var
D=i[1];ak(a,o);var
p=gO(dr(ak,D));return eX(a,p[1],p[2]);case
2:var
c=b[1];if(typeof
c!=="number"&&0===c[0]){var
j=c[2];if(typeof
j!=="number"&&1===j[0]){var
v=b[2],u=j[2],t=c[1];break a}}var
s=b[2],r=c;break b;case
3:var
d=b[1];if(typeof
d!=="number"&&0===d[0]){var
k=d[2];if(typeof
k!=="number"&&1===k[0]){var
A=b[2],z=k[2],y=d[1];break c}}var
x=b[2],w=d;break;case
4:var
e=b[1];if(typeof
e!=="number"&&0===e[0]){var
l=e[2];if(typeof
l!=="number"&&1===l[0]){var
v=b[2],u=l[2],t=e[1];break a}}var
s=b[2],r=e;break b;case
5:var
f=b[1];if(typeof
f!=="number"&&0===f[0]){var
m=f[2];if(typeof
m!=="number"&&1===m[0]){var
A=b[2],z=m[2],y=f[1];break c}}var
x=b[2],w=f;break;case
6:var
g=b[1];if(typeof
g!=="number"&&0===g[0]){var
n=g[2];if(typeof
n!=="number"&&1===n[0]){var
F=b[2],G=n[2];ak(a,g[1]);return bF(a,G,h(F,0))}}var
E=b[2];ak(a,g);return eZ(a,h(E,0));case
7:ak(a,b[1]);return bd(a,0);default:var
H=b[2];ak(a,b[1]);return q(H)}ak(a,w);return b0(a,x)}ak(a,y);return bF(a,z,cn(1,A))}ak(a,r);return eZ(a,s)}ak(a,t);return bF(a,u,v)}function
e2(a){var
d=a[1],c=aJ(b2),b=cx(c);return k(function(a){ak(b,a);return hj(c,b)},0,d)}function
hl(e,b){var
a=b[1],d=aJ(b2),c=cx(d);return k(function(a){aj(c,a);return h(e,hj(d,c))},0,a)}kO(function(a){bd(aK(e1),0);return bd(aK(hi),0)});function
oH(a){return a}function
o5(d,b,c){return k(function(a){aj(b,a);return h(d,b)},0,c[1])}if(bQ(s_))throw l([0,c7,lg],1);var
e3=0;function
e4(a){try{var
b=h(a[7],0);a[2]=b;a[3]=1;a[4]=a[4]+1|0;if(10===b)a[5]=a[5]+1|0;return b}catch(f){var
c=y(f);if(c!==bT)throw l(c,0);a[2]=e3;a[3]=0;a[1]=1;return e3}}function
z(a){return a[3]?a[2]:e4(a)}function
az(a){var
b=z(a);if(a[1])throw l(bT,1);return b}function
K(a){z(a);return a[1]}function
hm(a){return a[3]?a[4]-1|0:a[4]}function
bG(a){a[3]=0}function
_(a){var
b=a[8],c=bX(b);gB(b);a[6]=a[6]+1|0;return c}function
ap(a,b){bG(b);return a-1|0}function
f(a,b,c){gE(b[8],c);return ap(a,b)}var
ds=[c,o7,ax(0)];function
n(a){throw l([0,ds,a],1)}function
e5(a){return n(h(H(o8),a))}function
e6(a){return n(h(H(o9),a))}function
e7(a){return n(a1)}function
b3(a,b){return n(i(H(o$),a,b))}function
bH(a,b){if(10===b){var
d=az(a);return 10===d?bG(a):13===d?(bG(a),hn(a,10)):b3(10,d)}if(32!==b)return hn(a,b);for(;;){var
f=z(a),e=1-a[1];if(!e)return e;var
c=f-9|0;a:{if(4<c>>>0){if(23!==c)break a}else if(1>=c-2>>>0)break a;bG(a);continue}return}}function
hn(a,b){var
c=az(a);return c===b?bG(a):b3(b,c)}function
ho(a){return m(_(a),0)}function
pa(a){var
b=_(a);return b!==iG?b!==jt?n(h(H(pb),b)):1:0}function
dt(a){var
b=a+cV|0;if(32>=b>>>0)switch(b){case
10:return 0;case
12:return 1;case
17:return 2;case
23:return 3;case
29:return 4;case
0:case
32:return 5}throw l([0,r,pc],1)}function
du(a,b){switch(a){case
0:var
c="0b"+_(b);break;case
3:var
c="0o"+_(b);break;case
4:var
c="0u"+_(b);break;case
5:var
c=fN+_(b);break;default:var
c=_(b)}var
d=j(c);if(0!==d&&43===m(c,0))return ah(c,1,d-1|0);return c}function
e8(a){return tC(_(a))}function
cy(a,b){var
c=a;for(;;){if(0===c)return c;var
d=z(b);if(b[1])return c;if(58<=d){if(95===d){c=ap(c,b);continue}}else if(48<=d){c=f(c,b,d);continue}return c}}function
e9(a,b){if(0===a)return e6(pd);var
c=az(b);return 9<c+aC>>>0?n(h(H(pe),c)):cy(f(a,b,c),b)}function
aL(a,b,c,d){if(0===c)return e6(pf);var
j=az(d);if(!h(b,j))return n(i(H(pg),j,a));var
e=f(c,d,j);for(;;){if(0===e)return e;var
g=z(d);if(d[1])return e;if(h(b,g))e=f(e,d,g);else{if(95!==g)return e;e=ap(e,d)}}}function
hp(a){return 1<a+aC>>>0?0:1}function
hr(a){return 7<a+aC>>>0?0:1}function
b4(a){var
b=a+aC|0;a:{if(22<b>>>0){if(5<b+jg>>>0)break a}else if(6>=b+fz>>>0)break a;return 1}return 0}function
cz(a,b){var
c=az(b),d=c+i_|0;if(2>=d>>>0&&1!==d)return f(a,b,c);return a}function
dv(a,b){return e9(cz(a,b),b)}function
dw(a,b,c){switch(a){case
0:return aL(hq,hp,b,c);case
1:return dv(b,c);case
2:var
h=cz(b,c),g=az(c);if(48!==g)return e9(h,c);var
e=f(h,c,g);if(0===e)return e;var
d=z(c);if(c[1])return e;a:{if(99<=d){if(d9===d)return aL(hs,hr,f(e,c,d),c);if(bM!==d)break a}else if(88!==d){if(98<=d)return aL(hq,hp,f(e,c,d),c);break a}return aL(b5,b4,f(e,c,d),c)}return cy(e,c);case
3:return aL(hs,hr,b,c);case
4:return e9(b,c);default:return aL(b5,b4,b,c)}}function
ht(a,b){if(0===a)return a;var
c=z(b);return b[1]?a:9<c+aC>>>0?a:cy(f(a,b,c),b)}function
dx(a,b){if(0===a)return a;var
c=z(b);if(b[1])return a;if(69!==c&&iV!==c)return a;return dv(f(a,b,c),b)}function
ph(a,b,c){var
d=cy(cz(a,c),c);if(0===d)return[0,d,b];var
g=z(c);if(c[1])return[0,d,b];if(46!==g)return[0,dx(d,c),b];var
h=f(d,c,g),e=cm(h,b);return[0,dx(h-(e-ht(e,c)|0)|0,c),e]}function
e_(a,b,c,d){function
i(a){return 25<a-65>>>0?a:bU((a-65|0)+97|0)}var
e=[0,a],k=j(d)-1|0,n=0;if(k>=0){var
g=n;for(;;){var
l=z(b),o=i(m(d,g));if(i(l)!==o)h(c,0);if(0===e[1])h(c,0);e[1]=f(e[1],b,l);var
p=g+1|0;if(k===g)break;g=p}}return e[1]}function
pi(a,b,c){var
v=0===a?1:0,w=v||K(c);if(w)n(a1);var
j=cz(a,c),x=0===j?1:0,y=x||K(c);if(y)n(a1);var
d=z(c);a:{if(78<=d){var
k=d-79|0;if(30<k>>>0){if(32<=k)break a;var
o=f(j,c,d),A=0===o?1:0,B=A||K(c);if(B)n(a1);return e_(o,c,e7,pj)}if(26!==k)break a}else{if(48===d){var
q=f(j,c,d),E=0===q?1:0,F=E||K(c);if(F)n(a1);var
h=e_(q,c,e7,pl);if(0!==h&&!K(c)){var
l=z(c)+jm|0;b:{if(34<l>>>0){if(66===l){var
g=h;break b}}else if(32<l-1>>>0){var
g=h;break b}var
g=aL(b5,b4,h,c)}if(0!==g&&!K(c)){var
r=z(c);if(46===r){var
i=f(g,c,r);if(0===i||K(c))var
e=i;else{var
t=z(c);if(80===t||d4===t)var
e=i;else
var
u=cm(i,b),e=i-(u-aL(b5,b4,u,c)|0)|0}}else
var
e=g;if(0!==e&&!K(c)){var
m=z(c);if(80!==m&&d4!==m)return e;var
s=f(e,c,m),G=0===s?1:0,H=G||K(c);if(H)n(a1);return dv(s,c)}return e}return g}return h}if(73!==d)break a}var
p=f(j,c,d),C=0===p?1:0,D=C||K(c);if(D)n(a1);return e_(p,c,e7,pk)}return n(a1)}function
hu(a,b,c){var
j=0===a?1:0,k=j||K(c);if(k)n(aA);var
d=cy(a,c),l=0===d?1:0,m=l||K(c);if(m)n(aA);var
g=z(c),e=g+jR|0;if(32<e>>>0){if(-23===e){var
h=f(d,c,g),i=cm(h,b);return dx(h-(i-ht(i,c)|0)|0,c)}}else if(30<e-1>>>0)return dx(d,c);return n(aA)}function
pm(a,b,c){var
u=0===a?1:0,v=u||K(c);if(v)n(aA);var
h=cz(a,c),w=0===h?1:0,x=w||K(c);if(x)n(aA);var
g=z(c);if(49<=g){if(58>g){var
o=f(h,c,g),y=0===o?1:0,A=y||K(c);if(A)n(aA);return hu(o,b,c)}}else if(48<=g){var
i=f(h,c,g),B=0===i?1:0,C=B||K(c);if(C)n(aA);var
j=z(c);if(88!==j&&bM!==j)return hu(i,b,c);var
p=f(i,c,j),D=0===p?1:0,E=D||K(c);if(E)n(aA);var
m=aL(b5,b4,p,c),F=0===m?1:0,G=F||K(c);if(G)n(aA);var
q=z(c),k=q+it|0;a:{if(32<k>>>0){if(jC===k){var
e=f(m,c,q);if(0===e){var
d=e;break a}if(K(c)){var
d=e;break a}var
s=z(c);if(80===s){var
d=e;break a}if(d4===s){var
d=e;break a}var
t=cm(e,b),d=e-(t-aL(b5,b4,t,c)|0)|0;break a}}else if(30<k-1>>>0){var
d=m;break a}var
d=n(aA)}if(0!==d&&!K(c)){var
l=z(c);if(80!==l&&d4!==l)return d;var
r=f(d,c,l),H=0===r?1:0,I=H||K(c);if(I)n(a1);return dv(r,c)}return d}return n(aA)}function
cA(a,b,c){var
d=b;for(;;){if(0===d)return d;var
e=z(c);if(c[1])return d;if(a){if(e===a[1]){bG(c);return d}d=f(d,c,e)}else{var
g=e-9|0;a:{if(4<g>>>0){if(23!==g)break a}else if(1>=g-2>>>0)break a;return d}d=f(d,c,e)}}}function
hv(a){return 97<=a?a-87|0:65<=a?a-55|0:a-48|0}function
bI(a,b,c){if(0===b)return e6(a);var
d=z(c);return c[1]?n(h(H(o_),a)):d}function
hw(a,b){var
c=bI(e$,a,b);a:{if(40<=c){if(58>c){if(48>c)break a;var
o=function(a){var
c=e4(b);return 9<c+aC>>>0?e5(c):c},p=o(0),q=o(0),e=((bp*(c-48|0)|0)+(10*(p-48|0)|0)|0)+(q-48|0)|0;b:{if(0<=e&&J>=e){var
r=bU(e);break b}var
r=n(I(H(pn),c,p,q))}return f(a-2|0,b,r)}var
h=c-92|0;if(28<h>>>0)break a;switch(h){case
28:var
j=function(a){var
c=e4(b),d=c+aC|0;a:{if(22<d>>>0){if(5<d+jg>>>0)break a}else if(6>=d+fz>>>0)break a;return c}return e5(c)},k=j(0),l=j(0),s=hv(l),g=(16*hv(k)|0)+s|0;b:{if(0<=g&&J>=g){var
m=bU(g);break b}var
m=n(i(H(po),k,l))}return f(a-2|0,b,m);case
0:case
6:case
18:case
22:case
24:break;default:break a}}else if(34!==c&&39>c)break a;if(jH<=c)if(iZ<=c)var
d=c;else
switch(c-110|0){case
0:var
d=10;break;case
4:var
d=13;break;case
6:var
d=9;break;default:var
d=c}else
var
d=98===c?8:c;return f(a,b,d)}return e5(c)}function
fa(a,c){function
e(a,b){var
d=b;for(;;){var
i=bI(dy,d,c);if(34===i)return ap(d,c);if(92===i){var
e=ap(d,c),l=bI(dy,e,c);if(10===l){var
j=ap(e,c);return a<50?g(a+1|0,j):ad(g,[0,j])}if(13===l){var
h=ap(e,c);if(10===bI(dy,h,c)){var
k=ap(h,c);return a<50?g(a+1|0,k):ad(g,[0,k])}d=f(h,c,13)}else
d=hw(e,c)}else
d=f(d,c,i)}}function
g(a,b){var
d=b;for(;;){if(32!==bI(dy,d,c))return a<50?e(a+1|0,d):ad(e,[0,d]);d=ap(d,c)}}var
b=az(c);function
d(a){return bS(e(0,a))}return 34===b?d(ap(a,c)):b3(34,b)}function
hx(k,b,c,d){function
e(a,b){var
g=a;for(;;){var
c=z(d),i=0<g?1:0;if(i){var
j=1-d[1];if(j)var
h=0!==(m(k,c>>>3|0)&1<<(c&7))?1:0,e=h?c!==b?1:0:h;else
var
e=j}else
var
e=i;if(!e)return e;f(by,d,c);g=g-1|0}}if(!b)return e(c,-1);var
a=b[1];e(c,a);var
g=1-d[1];if(!g)return g;var
h=z(d);return a===h?bG(d):b3(a,h)}function
dz(a){return a?a[1]:by}function
hy(a){if(6===a)return pr;var
b=dc(a),c=m(b,1);return[0,c,ah(b,2,j(b)-2|0)]}function
fy(a,b,c){a:{var
d=c;b:for(;;){if(typeof
d==="number")return h(b,0);switch(d[0]){case
14:var
i=d[3],j=w(C(d[2]));return a<50?cM(a+1|0,b,j,i):ad(cM,[0,b,j,i]);case
18:var
g=d[1];d=0===g[0]?p(g[1][1],d[2]):p(g[1][1],d[2]);break;case
19:break a;case
23:var
e=d[2],f=d[1];if(typeof
f==="number"){if(2===f)break b;d=e}else{if(9===f[0]){var
k=f[2];return a<50?cM(a+1|0,b,k,e):ad(cM,[0,b,k,e])}d=e}break;case
13:case
20:case
24:d=d[3];break;case
4:case
5:case
6:case
7:case
8:d=d[4];break;case
0:case
1:case
10:case
15:case
16:case
22:d=d[1];break;default:d=d[2]}}return function(c){return fb(function(a){return h(b,[0,c,a])},e)}}var
l=d[1];return function(c){return fb(function(a){return h(b,[0,c,a])},l)}}function
fb(a,b){return bS(fy(0,a,b))}function
cM(a,b,c,d){a:{var
e=c;b:for(;;){if(typeof
e==="number")return a<50?fy(a+1|0,b,d):ad(fy,[0,b,d]);switch(e[0]){case
8:e=e[2];break;case
9:var
f=e[3],g=e[2];e=Q(M(C(e[1]),g),f);break;case
13:break a;case
14:break b;default:e=e[1]}}var
j=e[1];return function(c){return hz(function(a){return h(b,[0,c,a])},j,d)}}var
i=e[1];return function(c){return hz(function(a){return h(b,[0,c,a])},i,d)}}function
hz(a,b,c){return bS(cM(0,a,b,c))}function
af(d,b,c){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{var
a=b;l:for(;;){if(typeof
a==="number")return 0;switch(a[0]){case
0:var
ay=a[1];f(0,d,az(d));var
aA=ho(d);return[0,aA,af(d,ay,c)];case
1:break a;case
2:break b;case
3:break c;case
4:break d;case
5:break e;case
6:break f;case
7:break g;case
8:switch(a[1][2]){case
5:case
8:return aq(d,a[4],c,a[2],a[3],pm,e8);case
6:case
7:return aq(d,a[4],c,a[2],a[3],pi,e8);default:return aq(d,a[4],c,a[2],a[3],ph,e8)}case
9:break h;case
10:var
aS=a[1];if(!K(d))return n(pu);a=aS;break;case
11:var
T=a[2],U=a[1],G=j(U)-1|0,ak=0;if(G<0)a=T;else{var
o=ak;for(;;){bH(d,ag(U,o));var
al=o+1|0;if(G===o){a=T;break}o=al}}break;case
12:var
aT=a[2];bH(d,a[1]);a=aT;break;case
13:break i;case
14:break j;case
15:return q(pv);case
16:return q(pw);case
17:var
ab=a[2],ac=dc(a[1]),aj=j(ac)-1|0,bj=0;if(aj<0)a=ab;else{var
u=bj;for(;;){bH(d,ag(ac,u));var
bi=u+1|0;if(aj===u){a=ab;break}u=bi}}break;case
18:var
E=a[1];if(0===E[0]){var
a1=a[2],a2=E[1][1];bH(d,64);bH(d,cc);a=p(a2,a1)}else{var
a3=a[2],a4=E[1][1];bH(d,64);bH(d,91);a=p(a4,a3)}break;case
19:var
a5=a[1];if(!c)return q(px);var
a6=c[2],a7=h(c[1],d);return[0,a7,af(d,a5,a6)];case
20:break k;case
21:var
bf=a[2];switch(a[1]){case
0:var
F=d[5];break;case
1:var
F=hm(d);break;default:var
F=d[6]}return[0,F,af(d,bf,c)];case
22:var
bg=a[1],bh=az(d);return[0,bh,af(d,bg,c)];case
23:break l;default:return q(pz)}}var
g=a[2],e=a[1];if(typeof
e==="number")switch(e){case
0:var
k=[0,[0,g]];break;case
1:var
k=[0,[1,g]];break;case
2:var
k=[0,[19,g]];break;default:var
k=[0,[22,g]]}else
switch(e[0]){case
0:var
k=[0,[2,bc(e[1]),g]];break;case
1:var
k=[0,[3,bc(e[1]),g]];break;case
2:var
am=e[1],k=[0,[4,am,bc(e[2]),0,g]];break;case
3:var
an=e[1],k=[0,[5,an,bc(e[2]),0,g]];break;case
4:var
ao=e[1],k=[0,[6,ao,bc(e[2]),0,g]];break;case
5:var
ar=e[1],k=[0,[7,ar,bc(e[2]),0,g]];break;case
6:var
I=e[2],as=e[1],at=I?[0,I[1]]:0,k=[0,[8,lh,bc(as),at,g]];break;case
7:var
k=[0,[9,bc(e[1]),g]];break;case
8:var
k=[0,[13,e[1],e[2],g]];break;case
9:var
k=[0,[14,e[1],e[2],g]];break;case
10:var
k=[0,[20,e[1],e[2],g]];break;default:var
k=[0,[21,e[1],g]]}var
ah=af(d,k[1],c);if(ah)return ah[2];throw l([0,r,py],1)}var
ad=a[1],t=a[3];if(typeof
t!=="number"&&17===t[0]){var
a$=t[2],ba=a[2],ae=hy(t[1]),bb=ae[2],bd=ae[1];hx(ba,[0,bd],dz(ad),d);var
be=_(d);return[0,be,af(d,[11,bb,a$],c)]}var
a8=a[3],a9=a[2];hx(a9,0,dz(ad),d);var
a_=_(d);return[0,a_,af(d,a8,c)]}var
Y=a[2],aV=a[3];fa(dz(a[1]),d);var
B=_(d);try{var
aX=eN(0,B)[1],aY=eN(0,B)[1],aZ=de(aY,w(C(Y))),a0=de(aX,w(Y)),aa=aZ,$=a0}catch(f){var
D=y(f);if(D[1]!==aW)throw l(D,0);var
Z=n(D[2]),aa=Z[2],$=Z[1]}return[0,[0,$,B],af(d,p(aa,aV),c)]}var
V=a[2],aU=a[3];fa(dz(a[1]),d);var
z=_(d);try{var
au=eN(0,z)[1];try{var
ax=[0,de(au,V),z],X=ax}catch(f){var
J=y(f);if(J!==O)throw l(J,0);var
av=gN(V),X=i(aw(nV),z,av)}var
W=X}catch(f){var
A=y(f);if(A[1]!==aW)throw l(A,0);var
W=n(A[2])}return[0,W,af(d,aU,c)]}return aq(d,a[2],c,a[1],0,function(a,b,c){var
d=az(c),e=i$===d?5:jv===d?4:n(h(H(pp),d));return cA(0,e,c)},pa)}var
aP=a[4],aQ=a[3],aR=a[2],S=dt(db(a[1]));return aq(d,aP,c,aR,aQ,function(a,b,c){return dw(S,a,c)},function(a){return f9(du(S,a))})}var
aM=a[4],aN=a[3],aO=a[2],R=dt(db(a[1]));return aq(d,aM,c,aO,aN,function(a,b,c){return dw(R,a,c)},function(a){return ek(du(R,a))})}var
aJ=a[4],aK=a[3],aL=a[2],Q=dt(db(a[1]));return aq(d,aJ,c,aL,aK,function(a,b,c){return dw(Q,a,c)},function(a){return ek(du(Q,a))})}var
aG=a[4],aH=a[3],aI=a[2],P=dt(db(a[1]));return aq(d,aG,c,aI,aH,function(a,b,c){return dw(P,a,c)},function(a){return ek(du(P,a))})}return aq(d,a[2],c,a[1],0,function(a,b,c){return fa(a,c)},_)}var
s=a[1],m=a[2];if(typeof
m!=="number")switch(m[0]){case
17:var
aE=m[2],N=hy(m[1]),aF=N[1];return aq(d,[11,N[2],aE],c,s,0,function(a,b,c){return cA([0,aF],a,c)},_);case
18:var
x=m[1];return 0===x[0]?aq(d,p(x[1][1],m[2]),c,s,0,function(a,b,c){return cA(ps,a,c)},_):aq(d,p(x[1][1],m[2]),c,s,0,function(a,b,c){return cA(pt,a,c)},_)}return aq(d,a[2],c,s,0,function(a,b,c){return cA(0,a,c)},_)}function
L(a){var
b=bI(e$,a,d);return 39===b?ap(a,d):b3(39,b)}var
aB=a[1],M=az(d),aC=0;if(39===M){var
v=ap(aC,d),ai=bI(e$,v,d);if(92===ai)L(hw(ap(v,d),d));else
L(f(v,d,ai))}else
b3(39,M);var
aD=ho(d);return[0,aD,af(d,aB,c)]}function
aq(a,b,c,d,e,f,g){if(typeof
d==="number"){if(typeof
e!=="number"){I(f,by,e[1],a);var
k=h(g,a);return[0,k,af(a,b,c)]}if(e)return q(pA);I(f,by,by,a);var
j=h(g,a);return[0,j,af(a,b,c)]}if(0!==d[0])return q(pD);if(!d[1])return q(pC);var
i=d[2];if(typeof
e!=="number"){I(f,i,e[1],a);var
m=h(g,a);return[0,m,af(a,b,c)]}if(e)return q(pB);I(f,i,by,a);var
l=h(g,a);return[0,l,af(a,b,c)]}var
a2=eD([0,ky]),bJ=eD([0,ky]),be=eD([0,ki]),hA=kp(0,0),pF=2,pH=[0,0];function
hB(a){return 2<a?hB((a+1|0)/2|0)*2|0:a}function
hC(a){pH[1]++;var
c=a.length-1,d=au((c*2|0)+2|0,hA);o(d,0)[1]=c;var
g=((hB(c)*32|0)/8|0)-1|0;o(d,1)[2]=g;var
e=c-1|0,h=0;if(e>=0){var
b=h;for(;;){var
f=(b*2|0)+3|0,i=o(a,b)[b+1];o(d,f)[f+1]=i;var
j=b+1|0;if(e===b)break;b=j}}return[0,pF,d,bJ[1],be[1],0,0,a2[1],0]}function
fc(a,b){var
c=a[2].length-1;if(c<b){var
d=au(b,hA);gz(a[2],0,d,0,c);a[2]=d}}function
pG(a){var
b=[0,0],d=j(a)-1|0,e=0;if(d>=0){var
c=e;for(;;){var
g=m(a,c);b[1]=(223*b[1]|0)+g|0;var
h=c+1|0;if(d===c)break;c=h}}b[1]=b[1]&jA;var
f=jj<b[1]?b[1]+2147483648|0:b[1];return f}var
pI=[0,0];function
fd(a){var
b=a[2].length-1;fc(a,b+1|0);return b}function
al(a,b){try{var
e=bJ[17].call(null,b,a[3]);return e}catch(f){var
d=y(f);if(d!==s)throw l(d,0);var
c=fd(a);a[3]=bJ[2].call(null,b,c,a[3]);a[4]=be[2].call(null,c,1,a[4]);return c}}function
dA(c,b){return c$(function(a){return al(c,a)},b)}function
aM(a,b,c){pI[1]++;if(be[17].call(null,b,a[4])){fc(a,b+1|0);o(a[2],b)[b+1]=c;return}a[6]=[0,[0,b,c],a[6]]}function
fe(a){if(0===a)return 0;var
b=a.length-2|0,c=0;for(;;){if(0>b)return c;var
d=[0,a[b+1],c];b=b-1|0;c=d}}function
aN(a,b){try{var
e=a2[17].call(null,b,a[7]);return e}catch(f){var
d=y(f);if(d!==s)throw l(d,0);var
c=a[1];a[1]=c+1|0;if(b!==g)a[7]=a2[2].call(null,b,c,a[7]);return c}}function
ff(a){return tz(a,0)?[0]:a}function
hD(a){if(0===a)return hC([0]);var
c=hC(c$(pG,a)),d=a.length-2|0,f=0;if(d>=0){var
b=f;for(;;){var
e=(b*2|0)+2|0;c[3]=bJ[2].call(null,a[b+1],e,c[3]);c[4]=be[2].call(null,e,1,c[4]);var
g=b+1|0;if(d===b)break;b=g}}return c}function
hE(a){var
b=a[8],c=0;for(;;){if(!b){a[8]=c;return fc(a,3+((o(a[2],1)[2]*16|0)/32|0)|0)}var
d=[0,b[1],c];b=b[2];c=d}}function
b(g,b,c,d,e,f){var
H=e[2],X=e[3],B=fe(b),z=fe(c),C=fe(d),v=ey(function(a){return al(g,a)},z),M=ey(function(a){return al(g,a)},C);g[5]=[0,[0,g[3],g[4],g[6],g[7],v,B],g[5]];g[7]=a2[24].call(null,function(a,b,c){return eA(a,B)?a2[2].call(null,a,b,c):c},g[7],a2[1]);var
m=[0,bJ[1]],n=[0,be[1]];a:{b:{c:{d:{var
u=C,k=M;for(;;){if(!u)break;if(!k)break d;var
x=k[1],K=k[2],L=u[2];m[1]=bJ[2].call(null,u[1],x,m[1]);var
N=n[1];try{var
O=be[17].call(null,x,g[4]),E=O}catch(f){var
D=y(f);if(D!==s)throw l(D,0);var
E=1}n[1]=be[2].call(null,x,E,N);u=L;k=K}if(!k){var
j=v,p=z;break c}}q(gs);var
j=v,p=z}for(;;){if(!p)break;if(!j)break b;var
I=j[1],_=j[2],$=p[2];m[1]=bJ[2].call(null,p[1],I,m[1]);n[1]=be[2].call(null,I,0,n[1]);j=_;p=$}if(!j)break a}q(gs)}g[3]=m[1];g[4]=n[1];g[6]=ez(function(a,b){return eA(a[1],v)?b:[0,a,b]},g[6],0);var
Y=f?i(H,g,X):h(H,g),F=g[5],a=F?F[1]:bx(kW),G=g[5],P=a[6],Q=a[5],R=a[4],S=a[3],T=a[2],U=a[1],V=G?G[2]:bx(kX);g[5]=V;var
w=R,t=P;for(;;){if(!t)break;var
A=t[1],J=t[2],W=a2[17].call(null,A,g[7]);w=a2[2].call(null,A,W,w);t=J}g[7]=w;g[3]=U;g[4]=T;g[6]=ez(function(a,b){return eA(a[1],Q)?b:[0,a,b]},g[6],S);var
Z=[0,c$(function(a){var
c=al(g,a);try{var
b=g[6];for(;;){if(!b)throw l(s,1);var
d=b[1],f=b[2],h=d[2];if(0===cZ(d[1],c))return h;b=f}}catch(f){var
e=y(f);if(e===s)return o(g[2],c)[c+1];throw l(e,0)}},ff(d)),0];return ti([0,[0,Y],[0,c$(function(a){try{var
c=a2[17].call(null,a,g[7]);return c}catch(f){var
b=y(f);if(b===s)throw l([0,r,pJ],1);throw l(b,0)}},ff(b)),Z]])}function
ar(a,b){var
c=hD(a),d=h(b,c);hE(c);return[0,h(d,0),b,0]}function
am(a,b){if(a)return a;var
d=kp(c,b[1]);d[1]=b[2];return uk(d)}function
dB(a,b,c){if(a)return b;var
e=c[8];if(0!==e){var
d=e;for(;;){if(!d)break;var
f=d[2];h(d[1],b);d=f}}return b}function
dC(a){var
b=fd(a),c=0===(b%2|0)?b:(2+((o(a[2],1)[2]*16|0)/32|0)|0)<b?b:fd(a);o(a[2],c)[c+1]=0;return c}var
dD=ar(pL,function(e){var
f=aN(e,pM);aM(e,al(e,pN),function(a){return a[f+1]});return function(a,b,c,d){var
h=c?c[1]:pO,g=am(b,e);g[f+1]=h;return g}});function
cB(a){var
b=ch((a>>>16|0)^a,iq),c=ch((b>>>16|0)^b,iq);return(c>>>16|0)^c}function
hF(a){return[0,0,15,au(16,-1),[0]]}function
bf(a,b){return(a+1|0)&b}function
hG(a,b){var
e=b[2],f=a[2],g=a[2],h=cB(e)&g,c=h,i=a[4],j=a[3];for(;;){var
d=j[c+1];if(-1===d)throw l(s,1);if(d===e)return i[c+1][2];c=bf(c,f)}}function
hH(a,b,c,d,e,f,g){var
i=c,h=g;for(;;){var
j=a[i+1];if(-1===j){var
k=0<=h?h:i;a[k+1]=d;b[k+1]=e;return 1}if(d===j){b[i+1]=e;return 0}var
l=0<=h?h:-2===j?i:h;i=bf(i,f);h=l}}function
hI(a,b,c){var
g=au(c,-1),h=au(c,o(a[4],0)[1]),e=c-1|0,i=b-1|0,j=0;if(i>=0){var
d=j;for(;;){var
f=a[3][d+1];if(0<=f){var
k=a[4][d+1];hH(g,h,cB(f)&e,f,k,e,-1)}var
l=d+1|0;if(i===d)break;d=l}}a[3]=g;a[4]=h;a[2]=e;return 0}function
fg(a,b,c){var
e=[0,b,c],g=e[1];if(0===a[4].length-1)a[4]=au(a[2]+1|0,e);var
d=a[2]+1|0;if((((d<<1)+d|0)>>>2|0)<a[1])hI(a,d,d<<1);var
f=g[2],h=a[2],i=a[2],j=cB(f)&i,k=hH(a[3],a[4],j,f,e,h,-1);a[1]=a[1]+k|0;return 0}function
fh(a,b){var
m=0<a[1]?1:0;if(m){var
n=b[2],f=a[2],t=a[2],u=cB(n)&t,d=a[3];a:{var
c=u;for(;;){var
k=d[c+1];if(-1===k){var
o=0;break a}if(k===n)break;c=bf(c,f)}b:{var
g=bf(c,f);for(;;){var
j=d[g+1];if(-1===j){var
i=g;break b}if(0<=j)break;g=bf(g,f)}var
i=-1}if(0<=i){var
e=bf(c,f);for(;;){if(e===i){d[c+1]=-1;break}if(-2!==d[e+1])throw l([0,r,pS],1);d[e+1]=-1;e=bf(e,f)}}else
d[c+1]=-2;var
o=1}a[1]=a[1]-o|0;var
h=a[2]+1|0,p=a[1]<(h>>>2|0)?1:0,q=p?16<h?1:0:p;if(q)return hI(a,h,h>>>1|0);var
s=q}else
var
s=m;return s}var
cC=hF(16);function
cD(a){try{var
c=hG(cC,a);fh(cC,a);h(c,0);return}catch(f){var
b=y(f);if(b===s)return;throw l(b,0)}}var
hJ=eE(0);function
pP(a,b){var
c=b[2],d=h(e(b,-922783157,pQ),b);return i(o5(function(a){return 0},a,pR),d,c)}function
pT(f){function
e(a,b,c){var
d=a;for(;;){if(d===b)return 0;if(0<=f[3][d+1])break;d=d+1|0}var
g=d+1|0;return[0,f[4][d+1][1],function(a){return e(g,b,a)}]}var
b=f[2]+1|0,c=0;return function(a){return e(c,b,a)}}function
pU(a,b){try{var
d=hG(cC,a),e=fg(cC,a,function(a){h(b,0);return h(d,0)});return e}catch(f){var
c=y(f);if(c===s)return fg(cC,a,b);throw l(c,0)}}function
fi(d){var
b=hF(16),a=[0,function(a){return h(d[1],a)},function(a){var
c=pT(b);return i(d[2],a,c)},function(c){var
f=c[2],h=b[2],j=b[2],k=cB(f)&j;a:{var
a=k,l=b[3];for(;;){var
d=l[a+1];if(-1===d)break;var
e=d===f?1:0;if(e){var
g=e;break a}a=bf(a,h)}var
g=0}if(g)bx(i(hl(oH,pV),pP,c));else
fg(b,c,0);return pU(c,function(a){return fh(b,c)})},function(a){return fh(b,a)},function(a){var
c=b[2]+1|0,d=b[3];a:{if(0<=c&&(d.length-1-c|0)>=0){tj(d,0,c,-1);break a}q(k7)}b[1]=0;return 0}];bb(a,hJ);return[0,,a[2],a[3]]}var
fj=[0,0];function
pK(a,b,c){function
d(a){b[1]++;var
d=b[1];return o(c,d)[d+1]}var
e=d(0);if(typeof
e==="number")switch(e){case
0:var
g=d(0);return function(a){return g};case
1:var
j=d(0);return function(a){return a[j+1]};case
2:var
k=d(0),l=d(0);return function(a){return a[k+1][l+1]};case
3:var
m=d(0);return function(a){return h(a[1][m+1],a)};case
4:var
n=d(0);return function(a,b){a[n+1]=b;return 0};case
5:var
p=d(0),q=d(0);return function(a){return h(p,q)};case
6:var
r=d(0),s=d(0);return function(a){return h(r,a[s+1])};case
7:var
t=d(0),u=d(0),v=d(0);return function(a){return h(t,a[u+1][v+1])};case
8:var
w=d(0),x=d(0);return function(a){return h(w,h(a[1][x+1],a))};case
9:var
y=d(0),z=d(0),A=d(0);return function(a){return i(y,z,A)};case
10:var
B=d(0),C=d(0),D=d(0);return function(a){return i(B,C,a[D+1])};case
11:var
E=d(0),F=d(0),G=d(0),H=d(0);return function(a){return i(E,F,a[G+1][H+1])};case
12:var
I=d(0),J=d(0),K=d(0);return function(a){return i(I,J,h(a[1][K+1],a))};case
13:var
L=d(0),M=d(0),N=d(0);return function(a){return i(L,a[M+1],N)};case
14:var
O=d(0),P=d(0),Q=d(0),R=d(0);return function(a){return i(O,a[P+1][Q+1],R)};case
15:var
S=d(0),T=d(0),U=d(0);return function(a){return i(S,h(a[1][T+1],a),U)};case
16:var
V=d(0),W=d(0);return function(a){return i(a[1][V+1],a,W)};case
17:var
X=d(0),Y=d(0);return function(a){return i(a[1][X+1],a,a[Y+1])};case
18:var
Z=d(0),_=d(0),$=d(0);return function(a){return i(a[1][Z+1],a,a[_+1][$+1])};case
19:var
aa=d(0),ab=d(0);return function(a){var
b=h(a[1][ab+1],a);return i(a[1][aa+1],a,b)};case
20:var
ac=d(0),f=d(0);dC(a);return function(a){return h(eh(f,ac),f)};case
21:var
ad=d(0),ae=d(0);dC(a);return function(a){var
b=a[ae+1];return h(eh(b,ad),b)};case
22:var
af=d(0),ag=d(0),ah=d(0);dC(a);return function(a){var
b=a[ag+1][ah+1];return h(eh(b,af),b)};default:var
ai=d(0),aj=d(0);dC(a);return function(a){var
b=h(a[1][aj+1],a);return h(eh(b,ai),b)}}return e}function
bg(a){if(!fj[1]){var
d=hD(pW),k=ff(pX),g=k.length-1,l=hK.length-1,e=au(g+l|0,0),m=g-1|0,r=0;if(m>=0){var
b=r;for(;;){var
v=al(d,o(k,b)[b+1]);o(e,b)[b+1]=v;var
w=b+1|0;if(m===b)break;b=w}}var
n=l-1|0,s=0;if(n>=0){var
c=s;for(;;){var
p=c+g|0,t=aN(d,o(hK,c)[c+1]);o(e,p)[p+1]=t;var
u=c+1|0;if(n===c)break;c=u}}var
i=e[3],j=[0,e[2],function(a){return a[i+1]},e[1],function(a,b){a[i+1]=b;return 0}],f=[0,0],x=j.length-1;for(;;){if(f[1]>=x)break;var
q=f[1],y=o(j,q)[q+1];aM(d,y,pK(d,f,j));f[1]++}hE(d);fj[1]=function(a){var
b=am(0,d);b[i+1]=a[2];return b}}return h(fj[1],[0,0,a])}var
hL=[c,pY,ax(0)],fk=[0,hL,[0]],o6=bs,pE=ep(fk)===c?fk:fk[1];gd(fS,pE);var
$=d,cE=null,cF=undefined;function
hM(a){return 1-(a===cF?1:0)}var
bh=true;$.String;$.RegExp;$.Object;$.Array;$.Date;$.Math;function
hN(a){return Z(a.toString())}$.JSON;var
p0=$.Error;gS(function(a){return a
instanceof
p0?[0,hN(a)]:a[1]===hL?[0,hN(a[2])]:0});function
bi(c){return t4(function(a){var
b=h(c,a);if(1-(b|0))a.preventDefault();return b})}var
fl=$.document;$.HTMLElement;var
p4=[c,p3,ax(0)];function
dF(a){return hl(function(a){throw l([0,p4,a],1)},a)}$.onload=bi(function(a){return bh});var
bK=eE(0),pZ=false;function
fm(a,b,c){var
d=gm(a-1|0,gn(0,c.offsetX|0)),e=gm(b-1|0,gn(0,c.offsetY|0));return[0,c.button,d,e]}function
bk(a){var
b=a&15,c=10<=b?55:48;return b+c|0}var
aO=N(9);function
a3(a,b,c,d){P(aO,0,35);P(aO,1,bk(a>>>4|0));P(aO,2,bk(a));P(aO,3,bk(b>>>4|0));P(aO,4,bk(b));P(aO,5,bk(c>>>4|0));P(aO,6,bk(c));P(aO,7,bk(d>>>4|0));P(aO,8,bk(d));return aG(Y(aO))}function
hP(a,b,c,d,e,f){var
g=b.getContext(dX);if(g!==a)g.fillStyle=a.fillStyle;g.fillRect(c,d,e,f)}function
hQ(a,b,c){var
d=b!==g?b+aE:b;return aG(d+g+c+"px "+a)}var
hR=$.performance,qa=hR.now;function
dG(a,b,c){var
g=a?a[1]:1,e=[0,0.];function
f(a){var
d=a;for(;;){if(16.<=d-e[1]){e[1]=d;var
g=h(b,d);return g?h(c,g[1]):($.requestAnimationFrame(f),0)}d=qa.call(hR)}}function
d(a){var
e=h(b,a);return e?h(c,e[1]):($.requestAnimationFrame(d),0)}var
i=g?f:d;return $.requestAnimationFrame(i)}function
hV(a,b){return[A,a*b[1],a*b[2]]}function
fo(a){return Math.sqrt(a[1]*a[1]+a[2]*a[2])}function
fp(a,b){var
c=fo(b);return fo(a)<=c?a:b}a3(0,0,0,J);a3(J,J,J,J);var
qf=[1,a3(J,0,0,J)],fq=[1,a3(0,J,0,J)],hW=[1,a3(0,0,J,J)],hX=[1,a3(0,0,0,0)],dI=ar(cI,function(d){var
e=aN(d,qk);aM(d,al(d,ql),function(a){return a[e+1]});return function(a,b,c){var
g=bg(a4),f=am(b,d);f[e+1]=g;return f}}),h2=ar(fr,function(d){var
e=aN(d,qm);aM(d,al(d,qn),function(a){return a[e+1]});return function(a,b,c){var
g=bg(a4),f=am(b,d);f[e+1]=g;return f}}),dJ=ar(cG,function(d){var
e=aN(d,qo);aM(d,al(d,qp),function(a){return a[e+1]});return function(a,b,c){var
g=bg(qq),f=am(b,d);f[e+1]=g;return f}}),dK=ar(cH,function(d){var
e=aN(d,qr);aM(d,al(d,qs),function(a){return a[e+1]});return function(a,b,c){var
g=bg([1,a3(0,0,0,J)]),f=am(b,d);f[e+1]=g;return f}}),qu=[c,qt,ax(0)],dL=ar(cJ,function(d){var
e=aN(d,qv);aM(d,al(d,qw),function(a){return a[e+1]});return function(a,b,c){var
g=bg(qu),f=am(b,d);f[e+1]=g;return f}}),dM=ar(cK,function(d){var
e=aN(d,qx);aM(d,al(d,qy),function(a){return a[e+1]});return function(a,b,c){var
g=bg(function(a,b){return 0}),f=am(b,d);f[e+1]=g;return f}}),qB=ar(hY,function(d){var
e=aN(d,qz);aM(d,al(d,qA),function(a){return a[e+1]});return function(a,b,c){var
g=bg(0),f=am(b,d);f[e+1]=g;return f}}),qE=ar(hZ,function(d){var
e=aN(d,qC);aM(d,al(d,qD),function(a){return a[e+1]});return function(a,b,c){var
g=bg(0),f=am(b,d);f[e+1]=g;return f}}),qF=ar(h0,function(d){dA(d,h1);var
f=b(d,0,0,dH,dD,1)[1],g=b(d,0,0,cI,dI,1)[1],h=b(d,0,0,fr,h2,1)[1],j=b(d,0,0,cG,dJ,1)[1],k=b(d,0,0,cK,dM,1)[1],l=b(d,0,0,cJ,dL,1)[1],m=b(d,0,0,cH,dK,1)[1];return function(a,b,c){var
e=am(b,d);I(f,e,[0,c],0);i(g,e,0);i(h,e,0);i(j,e,0);i(k,e,0);i(l,e,0);i(m,e,0);return dB(b,e,d)}}),qG=ar(h0,function(d){dA(d,h1);var
f=b(d,0,0,dH,dD,1)[1],g=b(d,0,0,cI,dI,1)[1],h=b(d,0,0,fr,h2,1)[1],j=b(d,0,0,cG,dJ,1)[1],k=b(d,0,0,cK,dM,1)[1],l=b(d,0,0,cJ,dL,1)[1],m=b(d,0,0,cH,dK,1)[1];return function(a,b,c){var
e=am(b,d);I(f,e,0,0);i(g,e,0);i(h,e,0);i(j,e,0);i(k,e,0);i(l,e,0);i(m,e,0);return dB(b,e,d)}}),qH=ar(qj,function(d){dA(d,qg);var
f=b(d,0,0,dH,dD,1)[1],g=b(d,0,0,cI,dI,1)[1],h=b(d,0,0,cG,dJ,1)[1],j=b(d,0,0,cK,dM,1)[1],k=b(d,0,0,cJ,dL,1)[1],l=b(d,0,0,cH,dK,1)[1];return function(a,b,c){var
e=am(b,d);I(f,e,0,0);i(g,e,0);i(h,e,0);i(j,e,0);i(k,e,0);i(l,e,0);return dB(b,e,d)}}),fs=800,h3=24,h4=bN,h5=236,qI=ar(qi,function(d){dA(d,qh);var
f=b(d,0,0,dH,dD,1)[1],g=b(d,0,0,cI,dI,1)[1],h=b(d,0,0,cG,dJ,1)[1],j=b(d,0,0,cK,dM,1)[1],k=b(d,0,0,cJ,dL,1)[1],l=b(d,0,0,cH,dK,1)[1],m=b(d,0,0,hY,qB,1)[1],n=b(d,0,0,hZ,qE,1)[1];return function(a,b,c){var
e=am(b,d);I(f,e,0,0);i(g,e,0);i(h,e,0);i(j,e,0);i(k,e,0);i(l,e,0);i(m,e,0);i(n,e,0);return dB(b,e,d)}}),hU=[A,a4[1]-dN[1],a4[2]-dN[2]],h6=24,b6=32,h7=536,h9=[0,0];function
aP(a){var
b=h9[1];return b?b[1]:bx(q$)}var
q_=a3(0,0,0,J),ra=a3(J,J,J,J),dO=fi([0,function(a){return 0},function(a,b){var
u=b;for(;;){var
k=h(u,0);if(!k)return 0;var
v=k[2],c=k[1],n=v;for(;;){var
m=h(n,0);if(!m){u=v;break}var
L=m[2],d=m[1],w=h(e(c,W,qJ),c),y=h(e(w,x,qK),w),z=h(e(c,a5,qL),c),B=h(e(z,x,qM),z),C=h(e(d,W,qN),d),D=h(e(C,x,qO),C),E=h(e(d,a5,qP),d),i=h(e(E,x,qQ),E),f=y[1]-D[1]-i[1],g=y[2]-D[2]-i[2],o=B[2]+i[2]|0,p=B[1]+i[1]|0,q=f<0.?1:0;if(q){var
r=0.<f+p?1:0;if(r)var
s=g<0.?1:0,j=s?0.<g+o?1:0:s;else
var
j=r}else
var
j=q;if(j)var
t=fp(fp(fp([A,0.,g],[A,0.,o+g]),[A,f,0.]),[A,p+f,0.])[1],M=t===0.?1:0,N=M||(t===-0.?1:0),O=N?qd:qe,l=[0,O];else
var
l=0;if(l){var
F=l[1],G=h(e(d,dS,qR),d),P=h(e(G,x,qS),G),H=h(e(c,d_,qT),c);I(e(H,x,qU),H,F,P);var
J=h(e(c,dS,qV),c),Q=h(e(J,x,qW),J),K=h(e(d,d_,qX),d);I(e(K,x,qY),K,F,Q);n=L}else
n=L}}}]),ft=fi([0,function(a){return 0},function(a,b){var
m=b;for(;;){var
d=h(m,0);if(!d)return 0;var
c=d[1],o=d[2],f=h(e(c,W,rh),c),g=h(e(f,x,ri),f),j=h(e(c,aS,rj),c),k=h(e(j,x,rk),j),n=[A,k[1]+g[1],k[2]+g[2]],l=h(e(c,W,rl),c);i(e(l,u,rm),l,n);m=o}}]),b7=fi([0,function(a){return 0},function(a,b){var
G=aP(0),c=G[2],q=G[1],s=c.__lheight__,M=s===cF?c.canvas.height:s,t=c.__lwidth__,N=t===cF?c.canvas.width:t;c.fillStyle=ra;hP(c,q,0,0,N|0,M|0);var
g=b;for(;;){var
i=h(g,0);if(!i)return 0;var
j=i[2],f=i[1],H=h(e(f,W,rb),f),I=h(e(H,x,rc),H),J=h(e(f,a5,rd),f),K=h(e(J,x,re),J),L=h(e(f,cO,rf),f),r=h(e(L,x,rg),L),C=I[1]|0,D=I[2]|0,E=K[2],F=K[1];if(0===r[0]){var
p=r[1],Q=p.height,R=p.width,d=q.getContext(dX),u=C,v=D,w=F,y=E,k=c.__angle__,z=hM(k);if(z){var
l=u+ju*w,m=v+ju*y;d.save();if(0.!==k){d.translate(l,m);d.rotate(k);d.translate(-l,-m)}var
n=c.__hflip__,o=c.__vflip__,O=n<0.?1:0,P=O||(o<0.?1:0);if(P){var
A=n<0.?l:0.,B=o<0.?m:0.;d.translate(A,B);d.scale(n,o);d.translate(-A,-B)}}d.drawImage(p,0.,0.,R,Q,u,v,w,y);if(z){d.restore();g=j}else
g=j}else{c.fillStyle=r[1];hP(c,q,C,D,F,E);g=j}}}]),fu=[c,rn,ax(0)],h_=[c,ro,ax(0)],p2=[c,p1,ax(0)];function
h$(a,b,c,d){a.fillStyle=q_;var
f=fl.createElement(i2);if(1-(1-(f.getContext==cE?1:0)))throw l(p2,1);f.height=0;f.width=0;var
g=f.getContext(dX);g.font=b;g.textBaseline=jk;var
q=g.measureText(aG(d)).width+1.|0,m=g.measureText("M").width*1.8|0;f.width=q;f.height=m;g.fillStyle=a.fillStyle;g.font=b;g.textBaseline=jk;g.fillText(aG(d),0.,m*0.1);var
j=f.height,k=f.width,n=h(e(c,W,ry),c);i(e(n,u,rz),n,[A,io-(k/2|0)|0,300-(j/2|0)|0]);var
o=h(e(c,a5,rA),c);i(e(o,u,rB),o,[0,k,j]);var
p=h(e(c,cO,rC),c);return i(e(p,u,rD),p,[0,f])}function
ia(a,b,c){var
d=h(e(c,dU,rE),c),g=h(e(d,x,rF),d),f=h(e(c,jF,rG),c),j=h(e(f,x,rH),f);return h$(a,b,c,i(e2(rI),g,j))}var
ib=[c,rN,ax(0)];function
ic(a){var
l=a[6],m=a[5],n=a[4],o=a[3],p=a[2],c=i(qF[1],0,a[1]),b=h(e(c,cO,rO),c);i(e(b,u,rP),b,n);var
d=h(e(c,aS,rQ),c);i(e(d,u,rR),d,a4);var
f=h(e(c,dS,rS),c);i(e(f,u,rT),f,ib);var
g=h(e(c,W,rU),c);i(e(g,u,rV),g,[A,p,o]);var
j=h(e(c,a5,rW),c);i(e(j,u,rX),j,[0,m,l]);var
k=h(e(c,d_,si),c);i(e(k,u,sj),k,function(a,b){if(b[1]!==fu)return 0;var
d=b[2],f=h(e(c,aS,rY),c);i(e(f,u,rZ),f,a4);var
g=h(e(c,W,r0),c),s=h(e(g,x,r1),g)[2],j=h(e(d,W,r2),d);if(h(e(j,x,r3),j)[2]<s){var
k=h(e(c,W,r4),c),t=h(e(k,x,r5),k),l=h(e(d,a5,r6),d),v=h(e(l,x,r7),l)[2],m=h(e(d,W,r8),d),w=h(e(m,x,r9),m)[2]+v,y=[A,t[1],w],n=h(e(c,W,r_),c);return i(e(n,u,r$),n,y)}var
o=h(e(c,W,sa),c),z=h(e(o,x,sb),o),p=h(e(c,a5,sc),c),B=h(e(p,x,sd),p)[2],q=h(e(d,W,se),d),C=h(e(q,x,sf),q)[2]-B,D=[A,z[1],C],r=h(e(c,W,sg),c);return i(e(r,u,sh),r,D)});h(ft[3],c);h(b7[3],c);h(dO[3],c);return c}function
id(a){return aP(0)[3]}function
ie(a){return aP(0)[4]}function
dP(a,b){var
c=h(e(a,aS,sq),a);return i(e(c,u,sr),c,b)}var
bl=g0(0,16),aB=g0(0,16);function
ig(a){var
e=0===bK[1]?0:gA(bK);if(typeof
e==="number"){if(0!==e){c9(0);ur(0)}}else
switch(e[0]){case
0:var
v=e[1],f=dk(bl,v),j=0,d=o(bl[2],f)[f+1];for(;;){if(!d)break;var
k=d[3];if(0===cZ(d[1],v)){bl[1]=bl[1]-1|0;if(j){j[3]=k;break}o(bl[2],f)[f+1]=k;break}j=d;d=k}break;case
1:bD(bl,e[1],0);break}var
i=gX(aB);if(1-i)eS(aB);try{var
q=aB[2],r=q.length-2|0,x=0;if(r>=0){var
c=x;a:for(;;){var
b=o(q,c)[c+1];for(;;){if(!b){var
z=c+1|0;if(r===c)break a;c=z;break}var
m=b[1],n=b[3],w=b[2],t=dk(bl,m),g=o(bl[2],t)[t+1];for(;;){if(g){var
s=0===cZ(g[1],m)?1:0,A=g[3];if(!s){g=A;continue}var
u=s}else
var
u=0;if(u){h(w,0);b=n;break}b=n;break}}}}if(1-i)eS(aB);return}catch(f){var
p=y(f);if(i)throw l(p,0);eS(aB);throw l(p,0)}}bD(aB,sK,function(a){return dP(id(0),dN)});bD(aB,sL,function(a){return dP(id(0),hU)});bD(aB,sM,function(a){return dP(ie(0),dN)});bD(aB,sN,function(a){return dP(ie(0),hU)});bD(aB,sO,function(a){var
b=aP(0),j=0!==b[7]?1:0;if(!j)return j;var
n=1===b[7]?1:0,m=aK(oC);for(;;){var
d=kg(cg(m),11);if(aU(d,ox))break}var
f=tY(d)*1.1102230246251565e-16*1.5707963267948966-0.7853981633974483,g=[A,Math.cos(f),Math.sin(f)],c=hV(5.,hV(1./fo(g),g)),o=n?c:[A,-c[1],c[2]];b[7]=0;var
k=b[5],l=h(e(k,aS,sI),k);return i(e(l,u,sJ),l,o)});bD(aB,sP,function(a){aP(0)[7]=1;return 0});function
p8(t){a:try{var
v=[0,0],Q=j(t),u=[0,0,e3,0,0,0,0,function(a){if(Q<=v[1])throw l(bT,1);var
b=m(t,v[1]);v[1]++;return b},aJ(o6),1],E=hO[1],R=hO[2],S=h(fb(function(a,b){gC(u[8]);try{var
m=af(u,E,a),e=b,d=m}catch(f){var
c=y(f);if(c[1]!==ds&&c[1]!==aW&&c!==bT){if(c[1]!==c7)throw l(c,0);var
k=c[2];return q(k+' in format "'+gv(R)+cT)}if(c[1]===ds)var
g=c[2];else{if(c[1]!==aW)throw l(c,1);var
g=c[2]}var
j=hm(u);return n(i(H(pq),j,g))}for(;;){if(!d)return e;var
f=d[2];e=h(e,d[1]);d=f}},E),function(a,b,c,d){return[0,a,b,c,gy(44,d)]}),e=S}catch(f){var
s=y(f);if(s[1]===ds){var
I=gy(58,s[2]);if(I){var
J=I[2];if(J){var
x=J[2];if(x){b:{var
c=0,a=x,P=0;for(;;){if(!a){var
D=c;break b}var
A=a[1];if(!a[2])break;var
B=a[2],C=(j(A)|0)+c|0;if(c<=C){c=C;a=B}else{c=q(k1);a=B}}var
D=j(A)+c|0}var
r=N(D),o=P,k=x;for(;;){if(k){var
d=k[1];if(k[2]){var
O=k[2];bR(d,0,r,o,j(d));bR(g,0,r,o+j(d)|0,0);o=o+j(d)|0|0;k=O;continue}bR(d,0,r,o,j(d))}var
K=Y(r);break}}else
var
K=k2;var
e=i(dF(p5),t,K);break a}}var
e=h(dF(p6),t)}else{if(s!==bT)throw l(s,0);var
e=h(dF(p7),t)}}var
f=e[3],p=e[2],L=e[1],w=fl.getElementById(aG(L));if(w==cE)var
z=0;else
var
G=w.tagName.toLowerCase()==i2?w:cE,z=G==cE?0:[0,G];if(!z)return h(dF(p9),L);var
b=z[1];b.width=p;b.height=f;b.style.width=aG(g+p+jG);b.style.height=aG(g+f+jG);$.onkeydown=bi(function(a){var
b=a.key;if(1-(b===cF?1:0))bb([1,Z(b)],bK);return bh});$.onkeyup=bi(function(a){var
b=a.key;if(1-(b===cF?1:0))bb([0,Z(b)],bK);return bh});b.onmousemove=bi(function(a){a.preventDefault();var
b=fm(p,f,a);bb([2,b[2],b[3]],bK);return bh});b.onmousedown=bi(function(a){a.preventDefault();var
b=fm(p,f,a);bb([3,b[1],1,b[2],b[3]],bK);return bh});b.onmouseup=bi(function(a){a.preventDefault();var
b=fm(p,f,a);bb([3,b[1],0,b[2],b[3]],bK);return bh});b.onmouseover=bi(function(a){b.focus();return bh});var
M=bi(function(a){a.preventDefault();return pZ});if(hM(b.addEventListener)){var
F={};F.capture=bh;b.addEventListener(iz,M,F)}else
b.attachEvent("on".concat(iz),function(a){var
c=[0,M,a,[0]];return function(a,b){return t2(c,a,b)}});b.focus();return b}var
qZ=600,q0=76,q1=700,q2=140,q3=636,q4=0,q5=0,q6=0,q7=568,q8=0,q9=768;function
rp(a){var
c=a[1],l=a[6],m=a[5],n=a[4],o=a[3],p=a[2],b=i(qH[1],0,0),d=h(e(b,cO,rq),b);i(e(d,u,rr),d,o);var
f=h(e(b,W,rs),b);i(e(f,u,rt),f,[A,c,p]);if(l)var
g=[0,fu,b];else
var
q=bp<=c?2:1,g=[0,h_,q,b];var
j=h(e(b,dS,ru),b);i(e(j,u,rv),j,g);var
k=h(e(b,a5,rw),b);i(e(k,u,rx),k,[0,n,m]);h(b7[3],b);h(dO[3],b);return b}function
sQ(a){var
b=hJ[2];for(;;){if(!b)return sR;var
c=b[2];h(b[1][1],a);b=c}}function
sS(a){var
c=aP(0),d=c[4],f=c[3],g=h(e(f,aS,sm),f);i(e(g,u,sn),g,a4);var
j=h(e(d,aS,so),d);i(e(j,u,sp),j,a4);ig(0);h(ft[2],a);h(dO[2],a);h(b7[2],a);var
b=aP(0)[6],k=h(e(b,dU,sT),b);if(5<h(e(k,x,sU),k))return sV;var
l=h(e(b,dU,sW),b);return 5<h(e(l,x,sX),l)?sY:0}function
s2(a){h(b7[2],a);ig(0);return 3===aP(0)[7]?0:s3}try{var
dE=fl.getElementById(jo);if(dE==cE)throw l(s,1);var
fn=function(a,b,c){var
d=ah(a,b,c);a:{try{var
i=eC(d,j(d),0,0)}catch(f){var
e=y(f);if(e!==s)throw l(e,0);var
h=d;break a}dE.innerHTML=g;var
f=i+1|0,h=ah(d,f,j(d)-f|0)}return dE.innerHTML=dE.innerHTML.concat(aG(h))},hT=function(a){var
c=a-1|0,d=0;if(c>=0){var
b=d;for(;;){fn(qc,0,1);var
e=b+1|0;if(c===b)break;b=e}}return 0};aK(e1);dq(fn,function(a){return 0},function(a){return fn(qb,0,1)},hT,hT)}catch(f){var
hS=y(f);if(hS!==s)throw l(hS,0);bx("No element with id "+jo)}var
ih=p8(i(e2(s4),fs,qZ)),bj=ih.getContext(dX),p_=bj.canvas.width/iR,p$=bj.canvas.height/jy;bj.__lwidth__=iR;bj.__lheight__=jy;bj.scale(p_,p$);var
ii=hQ(h8,s5,bN);function
ij(a){var
n=ey(rp,[0,[0,q4,q5,fq,fs,b6,1],[0,[0,q6,q7,fq,fs,b6,1],[0,[0,q8,b6,hX,b6,h7,0],[0,[0,q9,b6,hX,b6,h7,0],[0,[0,io,60,fq,iv,iv,1],0]]]]]),d=ic([0,sk,q1,h5,hW,h3,h4]),f=ic([0,sl,q0,h5,hW,h3,h4]),b=i(qI[1],0,0);ia(bj,ii,b);h(b7[3],b);var
c=i(qG[1],0,0),j=288.,g=h(e(c,cO,ss),c);i(e(g,u,st),g,qf);var
k=h(e(c,W,su),c);i(e(k,u,sv),k,[A,140.,j]);var
l=h(e(c,a5,sw),c);i(e(l,u,sx),l,[0,h6,h6]);var
m=h(e(c,d_,sG),c);i(e(m,u,sH),m,function(a,b){if(b[1]===h_){var
g=b[2],k=aP(0),d=k[6],f=1===(3-g|0)?h(e(d,dU,rJ),d):h(e(d,jF,rM),d);i(e(f,u,rL),f,h(e(f,x,rK),f)+1|0);ia(bj,ii,d);var
q=1===g?q2:q3,l=h(e(c,W,sy),c);i(e(l,u,sz),l,[A,q,j]);var
m=h(e(c,aS,sA),c);i(e(m,u,sB),m,a4);k[7]=g;return 0}if(b[1]!==fu&&b!==ib)return 0;var
n=h(e(c,aS,sC),c),o=h(e(n,x,sD),n),r=[A,o[1]*a[1],o[2]*a[2]],p=h(e(c,aS,sE),c);return i(e(p,u,sF),p,r)});h(b7[3],c);h(dO[3],c);h(ft[3],c);h9[1]=[0,[0,ih,bj,f,d,c,b,1]];return dG(s6,sQ,function(a){return dG(0,sS,function(g){var
a=n;for(;;){if(!a)break;var
e=a[2];cD(a[1]);a=e}cD(f);cD(d);cD(c);return dG(0,function(a){var
c=aP(0),d=hQ(h8,sZ,64),e=h(e2(s0),g);h$(c[2],d,b,e);c[7]=3;return s1},function(a){return dG(0,s2,function(a){cD(b);return ij(0)})})})})}ij(0);c9(0);return}(globalThis));
