blob: dcbe90df4efc86be2b37f4d9d45239daeb707946 [file] [log] [blame] [raw]
;(function(){'use strict';var m;"undefined"===typeof window||window.requestAnimationFrame||(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame);
function aa(a,c){function e(a){a=a.toString(16);return"#"+Array(7-a.length).join("0")+a}function f(){for(var a=0;a<Nb;a++)fb[a]&&(he.d(a),fb[a]=0);this.za()}function g(){Ka<La&&(p.putImageData(C,0,0,0,Ka/Ob>>2,Ob,((La-Ka)/Ob>>2)+1),Ka=1E7,La=0);this.za()}function k(a,c,e){c=""+(1===c?"":" scaleX("+c+")")+(1===e?"":" scaleY("+e+")");a.style.webkitTransform=a.style.MozTransform=c}console.assert(a,"1st argument must be a DOM container");for(var l=a.getElementsByTagName("canvas")[0],p=l.getContext("2d"),
w=l.nextElementSibling||l.previousElementSibling,y=document.createElement("div"),C,I,R,T,Ea,ra=1,Pb=1,Ob,Ka=0,La=0,fb,bd=!1,Ma,Xa,Nb,he=this,ie=new Uint16Array([199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,186,191,8976,172,189,188,161,171,187,9617,9618,9619,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,
9580,9575,9576,9572,9573,9561,9560,9554,9555,9579,9578,9496,9484,9608,9604,9612,9616,9600,945,223,915,960,931,963,181,964,934,920,937,948,8734,966,949,8745,8801,177,8805,8804,8992,8993,247,8776,176,8729,183,8730,8319,178,9632,160]),je=new Uint16Array([32,9786,9787,9829,9830,9827,9824,8226,9688,9675,9689,9794,9792,9834,9835,9788,9658,9668,8597,8252,182,167,9644,8616,8593,8595,8594,8592,8735,8596,9650,9660]),cd=[],Qb,Pa=0;256>Pa;Pa++)127<Pa?Qb=ie[Pa-128]:32>Pa?Qb=je[Pa]:Qb=Pa,cd[Pa]=String.fromCharCode(Qb);
p.imageSmoothingEnabled=!1;p.mozImageSmoothingEnabled=!1;y.style.position="absolute";y.style.backgroundColor="#ccc";y.style.width="7px";y.style.display="inline-block";w.style.display="block";l.style.display="none";this.o=c;c.register("screen-set-mode",function(a){this.ng(a)},this);c.register("screen-put-pixel-linear",function(a){this.Zf(a[0],a[1])},this);c.register("screen-put-pixel-linear32",function(a){this.$f(a[0],a[1])},this);c.register("screen-put-char",function(a){this.Yf(a[0],a[1],a[2],a[3],
a[4])},this);c.register("screen-update-cursor",function(a){this.tc(a[0],a[1])},this);c.register("screen-update-cursor-scanline",function(a){this.uc(a[0],a[1])},this);c.register("screen-set-size-text",function(a){this.Eb(a[0],a[1])},this);c.register("screen-set-size-graphical",function(a){this.pc(a[0],a[1])},this);this.Ca=function(){this.Eb(80,25);this.za()};this.h=function(){try{window.open(l.toDataURL())}catch(a){}};this.Yf=function(a,c,e,g,f){a<Nb&&c<Xa&&(c=3*(a*Xa+c),Ma[c]=e,Ma[c+1]=g,Ma[c+2]=
f,fb[a]=1)};this.za=function(){requestAnimationFrame(bd?g:f)};f=f.bind(this);g=g.bind(this);this.Zf=function(a,c){a>=I.length||(Ka=a<Ka?a:Ka,La=a>La?a:La,I[a+1^3]=c)};this.$f=function(a,c){Ka=a<Ka?a:Ka;La=a>La?a:La;R[a>>2]=4278190080|c>>16&255|c<<16|c&65280};this.Ta=function(){};this.ng=function(a){(bd=a)?(w.style.display="none",l.style.display="block"):(w.style.display="block",l.style.display="none")};this.Eb=function(a,c){if(a!==Xa&&c!==Nb){fb=new Int8Array(c);Ma=new Int32Array(a*c*3);Xa=a;for(Nb=
c;w.childNodes.length>c;)w.removeChild(w.firstChild);for(;w.childNodes.length<c;)w.appendChild(document.createElement("div"));for(var e=0;e<c;e++)this.d(e)}};this.pc=function(a,c){l.style.display="block";l.width=a;l.height=c;C=p.createImageData(a,c);I=new Uint8Array(C.data.buffer);R=new Int32Array(C.data.buffer);for(var e=3;e<I.length;e+=4)I[e]=255;Ob=a};this.b=function(a,c){ra=a;Pb=c;k(l,ra,Pb);k(w,ra,Pb)};this.b(ra,Pb);this.uc=function(a,c){a&32?y.style.display="none":(y.style.display="inline",
y.style.height=Math.min(15,c-a)+"px",y.style.marginTop=Math.min(15,a)+"px")};this.tc=function(a,c){if(a!==T||c!==Ea)fb[a]=1,fb[T]=1,T=a,Ea=c};this.d=function(a){var c=3*a*Xa,g,f,k,l,p,C;g=w.childNodes[a];for(k=document.createDocumentFragment();g.firstChild;)g.removeChild(g.firstChild);for(var I=0;I<Xa;){f=document.createElement("span");l=Ma[c+1];p=Ma[c+2];f.style.backgroundColor=e(l);f.style.color=e(p);for(C="";I<Xa&&Ma[c+1]===l&&Ma[c+2]===p;)if(C+=cd[Ma[c]],I++,c+=3,a===T)if(I===Ea)break;else if(I===
Ea+1){k.appendChild(y);break}f.textContent=C;k.appendChild(f)}g.appendChild(k)};this.Ca()};function ba(a,c){this.b=a;this.o=c;this.h=function(){};this.H=[6,0,104,111,115,116,57,112];this.q=this.v=131072;this.j=new Uint8Array(2*this.q);this.D=0;this.d=[];this.m=[];this.aa=[this.b,this.o]}function n(a,c,e,f){ca(["w","b","h"],[f+7,c+1,e],a.j,0);a.D=f+7}function da(a,c,e){e=ca(["w"],[e],a.j,7);n(a,6,c,e)}
function ea(a,c,e){var f=fa(["w","b","h"],e),g=f[1],k=f[2];switch(g){case 8:var l=1234567,p=[16914839];p[1]=a.v;p[2]=Math.floor(1073741824/p[1]);p[3]=p[2]-Math.floor(l/p[1]);p[4]=p[2]-Math.floor(l/p[1]);p[5]=a.b.b.length;p[6]=1048576;p[7]=0;p[8]=256;l=ca("wwddddddw".split(""),p,a.j,7);n(a,g,k,l);a.h(c);break;case 112:case 12:var p=fa(["w","w"],e),w=p[0],f=p[1],y=ga(a.b,a.d[w]);p[0]=y.ia;p[1]=a.q-24;ca(["Q","w"],p,a.j,7);n(a,g,k,17);l=ha(a.b,a.d[w]);ia(a.b,a.d[w],function(){p[0]=y.ia;p[1]=this.q-24;
ca(["Q","w"],p,this.j,7);n(this,g,k,17);this.h(c)}.bind(a));break;case 70:p=fa(["w","w","s"],e);f=p[0];w=p[1];e=p[2];var y=ja(a.b),l=ga(a.b,a.d[w]),C=a.b.d[a.d[w]];y.mode=l.mode;y.size=l.size;y.qc=l.qc;for(var I=a.b.d[a.b.b.length]=new Uint8Array(y.size),l=0;l<y.size;l++)I[l]=C[l];y.name=e;y.Y=a.d[f];ka(a.b,y);n(a,g,k,0);a.h(c);break;case 16:p=fa(["w","s","s","w"],e);w=p[0];e=p[1];l=p[3];e=la(a.b,e,a.d[w],p[2]);y=ga(a.b,e);y.uid=l;y.oa=l;ca(["Q"],[y.ia],a.j,7);n(a,g,k,13);a.h(c);break;case 18:p=fa("wswwww".split(""),
e);w=p[0];e=p[1];f=p[2];e=ma(a.b,e,a.d[w],p[3],p[4]);y=ga(a.b,e);y.mode=f;y.uid=l;y.oa=l;ca(["Q"],[y.ia],a.j,7);n(a,g,k,13);a.h(c);break;case 22:p=fa(["w"],e);w=p[0];y=ga(a.b,a.d[w]);l=ca(["s"],[y.qc],a.j,7);n(a,g,k,l);a.h(c);break;case 72:p=fa(["w","s","w","w"],e);w=p[0];e=p[1];f=p[2];l=p[3];e=na(a.b,e,a.d[w]);y=ga(a.b,e);y.mode=f|oa;y.uid=l;y.oa=l;ca(["Q"],[y.ia],a.j,7);n(a,g,k,13);a.h(c);break;case 14:p=fa(["w","s","w","w","w"],e);w=p[0];e=p[1];f=p[3];l=p[4];e=pa(a.b,e,a.d[w]);a.d[w]=e;a.m[w]=
1;y=ga(a.b,e);y.uid=l;y.oa=l;y.mode=f;ca(["Q","w"],[y.ia,a.q-24],a.j,7);n(a,g,k,17);a.h(c);break;case 52:ca(["w"],[0],a.j,7);n(a,g,k,1);a.h(c);break;case 24:p=fa(["w","d"],e);w=p[0];y=ga(a.b,a.d[w]);p[0]|=4096;p[0]=p[1];p[1]=y.ia;p[2]=y.mode;p[3]=y.uid;p[4]=y.oa;p[5]=1;p[6]=y.ce<<8|y.de;p[7]=y.size;p[8]=y.size;p[9]=Math.floor(y.size/a.v+1);p[10]=y.ac;p[11]=0;p[12]=y.qd;p[13]=0;p[14]=y.bc;p[15]=0;p[16]=0;p[17]=0;p[18]=0;p[19]=0;ca("dQwwwddddddddddddddd".split(""),p,a.j,7);n(a,g,k,153);a.h(c);break;
case 26:p=fa("wwwwwddddd".split(""),e);w=p[0];y=ga(a.b,a.d[w]);p[1]&1&&(y.mode=p[2]);p[1]&2&&(y.uid=p[3]);p[1]&4&&(y.oa=p[4]);p[1]&128&&(y.ac=p[6]);p[1]&256&&(y.ac=p[8]);p[1]&16&&(y.ac=Math.floor((new Date).getTime()/1E3));p[1]&32&&(y.qd=Math.floor((new Date).getTime()/1E3));p[1]&64&&(y.bc=Math.floor((new Date).getTime()/1E3));p[1]&8&&qa(a.b,a.d[w],p[5]);n(a,g,k,0);a.h(c);break;case 50:p=fa(["w","d"],e);w=p[0];n(a,g,k,0);a.h(c);break;case 40:case 116:var p=fa(["w","d","w"],e),w=p[0],R=p[1],T=p[2],
y=ga(a.b,a.d[w]);if(2==a.m[w]){y.ea.length<R+T&&(T=y.ea.length-R);for(l=0;l<T;l++)a.j[11+l]=y.ea[R+l];ca(["w"],[T],a.j,7);n(a,g,k,4+T);a.h(c)}else{var Ea=a.b.b[a.d[w]];a.o.send("9p-read-start");ha(a.b,a.d[w]);ia(a.b,a.d[w],function(){this.o.send("9p-read-end",[Ea.name,T]);y.size<R+T&&(T=y.size-R);var a=this.b.d[this.d[w]];if(a)for(var e=0;e<T;e++)this.j[11+e]=a[R+e];ca(["w"],[T],this.j,7);n(this,g,k,4+T);this.h(c)}.bind(a))}break;case 118:p=fa(["w","d","w"],e);w=p[0];R=p[1];T=p[2];sa(a.b,a.d[w],R,
T,e);Ea=a.b.b[a.d[w]];a.o.send("9p-write-end",[Ea.name,T]);ca(["w"],[T],a.j,7);n(a,g,k,4);a.h(c);break;case 74:p=fa(["w","s","w","s"],e);l=ta(a.b,a.d[p[0]],p[1],a.d[p[2]],p[3]);if(0==l){da(a,k,2);a.h(c);break}n(a,g,k,0);a.h(c);break;case 76:p=fa(["w","s","w"],e);l=p[0];e=p[1];w=ua(a.b,a.d[l],e);if(-1==w){da(a,k,2);a.h(c);break}l=va(a.b,w);if(!l){da(a,k,39);a.h(c);break}n(a,w,k,0);a.h(c);break;case 100:l=fa(["w","s"],e);a.q=l[0];l=ca(["w","s"],[a.q,"9P2000.L"],a.j,7);n(a,g,k,l);a.h(c);break;case 104:p=
fa(["w","w","s","s"],e);w=p[0];a.d[w]=0;a.m[w]=1;y=ga(a.b,a.d[w]);ca(["Q"],[y.ia],a.j,7);n(a,g,k,13);a.h(c);break;case 108:p=fa(["h"],e);n(a,g,k,0);a.h(c);break;case 110:p=fa(["w","w","h"],e);w=p[0];f=p[1];C=p[2];if(0==C){a.d[f]=a.d[w];ca(["h"],[0],a.j,7);n(a,g,k,2);a.h(c);break}I=[];for(l=0;l<C;l++)I.push("s");I=fa(I,e);e=a.d[w];for(var R=9,ra=0,l=0;l<C;l++){e=ua(a.b,e,I[l]);if(-1==e)break;R+=ca(["Q"],[a.b.b[e].ia],a.j,R);ra++;a.d[f]=e;a.m[f]=1}ca(["h"],[ra],a.j,7);n(a,g,k,R-7);a.h(c);break;case 120:p=
fa(["w"],e);0<=a.d[p[0]]&&(wa(a.b,a.d[p[0]]),a.d[p[0]]=-1,a.m[p[0]]=-1);n(a,g,k,0);a.h(c);break;case 32:da(a,k,524);a.h(c);break;case 30:p=fa(["w","w","s"],e),w=p[0],l=p[1],e=p[2],a.d[l]=a.d[w],a.m[l]=-1,f=0,"security.capability"==e&&(f=xa(a.b,a.d[w]),a.m[l]=2),ca(["d"],[f],a.j,7),n(a,g,k,8),a.h(c)}};function q(){this.ic=0;this.wb=[];this.w=[];this.va=[];this.m=new Int32Array(1048576);this.Xa=new Uint8Array(1048576);this.Xb=new Uint8Array(1048576);this.ca=!1;this.Nb=this.Ic=this.Pb=this.Kc=0;this.q=!1;this.r=new Int32Array(8);this.r[0]=0;this.r[2]=0;this.r[3]=0;this.rd=this.K=this.r[4]=0;this.gc=this.ib=this.Fb=this.La=this.qa=!1;this.C={mb:{za:function(){},Ta:function(){}},Oc:{za:function(){},Ta:function(){}}};this.wd=this.t=this.h=this.Q=this.sa=this.ra=this.l=this.e=this.eb=this.Sc=this.Tc=
this.rc=this.v=this.Ka=0;this.P=this.c;this.Na=this.Oa=this.Ma=0;this.table=[];this.A=!1;this.Da=this.k=0;this.xb={be:null,mb:null};this.j=2147483648;this.a=new Int32Array(8);this.cb=new Uint32Array(this.a.buffer);this.da=new Int16Array(this.a.buffer);this.c=new Uint16Array(this.a.buffer);this.tb=new Int8Array(this.a.buffer);this.i=new Uint8Array(this.a.buffer);this.J=new Uint16Array(8);this.ec=new Int32Array(8);this.s=this.c;this.ub=this.u=0;this.memory=null;this.Ga=-1;this.F=!1;this.ga=this.p=void 0;
"use strict";(function(a){var c={};a.debug=c;c.Vg=!1;c.Tg=void 0;c.yg=[];c.Wg=!1;c.show=function(a){if("undefined"!==typeof document){var c=document.getElementById("log");if(c){c.textContent+=a+"\n";c.style.display="block";c.scrollTop=1E9;return}}console.log(a)};c.Ca=function(){};c.Eg=function(){};c.Cg=function(){};c.Lg=function(){};c.Fg=function(){};c.Gg=function(){};c.Dg=function(){};c.Ag=function(){};c.Bg=function(){};c.Mg=function(){};c.Qg=function(){};c.Yg=function(){};c.step=function(){};c.Ug=
function(){};c.zg=function(){};c.L=function(a){a="Unimplemented"+(a?": "+a:"");c.show(a);c.show("Execution stopped");return a};c.Pg=function(){}})(this);this.Za()}
q.prototype.Za=function(){this.cb=new Uint32Array(this.a.buffer);this.da=new Int16Array(this.a.buffer);this.c=new Uint16Array(this.a.buffer);this.tb=new Int8Array(this.a.buffer);this.i=new Uint8Array(this.a.buffer);ya(this);za(this);this.Fb?this.s=this.a:this.s=this.c;Aa(this);this.j=2147483648;this.wd=Ba();this.aa=[this.xb,this.debug,this.td,this.ud,this.we,this.xe,this.m,this.Xa,this.Xb]};"use strict";
(function(){q.prototype.d=Array(192);q.prototype.b=Array(192);q.prototype.f=Array(256);q.prototype.d[0]=function(a){return r(a)+(a.c[6]+a.c[12]&65535)|0};q.prototype.d[64]=function(a){return r(a)+(a.c[6]+a.c[12]+t(a)&65535)|0};q.prototype.d[128]=function(a){return r(a)+(a.c[6]+a.c[12]+u(a)&65535)|0};q.prototype.d[1]=function(a){return r(a)+(a.c[6]+a.c[14]&65535)|0};q.prototype.d[65]=function(a){return r(a)+(a.c[6]+a.c[14]+t(a)&65535)|0};q.prototype.d[129]=function(a){return r(a)+(a.c[6]+a.c[14]+u(a)&
65535)|0};q.prototype.d[2]=function(a){return v(a)+(a.c[10]+a.c[12]&65535)|0};q.prototype.d[66]=function(a){return v(a)+(a.c[10]+a.c[12]+t(a)&65535)|0};q.prototype.d[130]=function(a){return v(a)+(a.c[10]+a.c[12]+u(a)&65535)|0};q.prototype.d[3]=function(a){return v(a)+(a.c[10]+a.c[14]&65535)|0};q.prototype.d[67]=function(a){return v(a)+(a.c[10]+a.c[14]+t(a)&65535)|0};q.prototype.d[131]=function(a){return v(a)+(a.c[10]+a.c[14]+u(a)&65535)|0};q.prototype.d[4]=function(a){return r(a)+(a.c[12]&65535)|
0};q.prototype.d[68]=function(a){return r(a)+(a.c[12]+t(a)&65535)|0};q.prototype.d[132]=function(a){return r(a)+(a.c[12]+u(a)&65535)|0};q.prototype.d[5]=function(a){return r(a)+(a.c[14]&65535)|0};q.prototype.d[69]=function(a){return r(a)+(a.c[14]+t(a)&65535)|0};q.prototype.d[133]=function(a){return r(a)+(a.c[14]+u(a)&65535)|0};q.prototype.d[6]=function(a){return v(a)+(a.c[10]&65535)|0};q.prototype.d[70]=function(a){return v(a)+(a.c[10]+t(a)&65535)|0};q.prototype.d[134]=function(a){return v(a)+(a.c[10]+
u(a)&65535)|0};q.prototype.d[7]=function(a){return r(a)+(a.c[6]&65535)|0};q.prototype.d[71]=function(a){return r(a)+(a.c[6]+t(a)&65535)|0};q.prototype.d[135]=function(a){return r(a)+(a.c[6]+u(a)&65535)|0};q.prototype.b[0]=function(a){return r(a)+a.a[0]|0};q.prototype.b[64]=function(a){return r(a)+a.a[0]+t(a)|0};q.prototype.b[128]=function(a){return r(a)+a.a[0]+x(a)|0};q.prototype.b[1]=function(a){return r(a)+a.a[1]|0};q.prototype.b[65]=function(a){return r(a)+a.a[1]+t(a)|0};q.prototype.b[129]=function(a){return r(a)+
a.a[1]+x(a)|0};q.prototype.b[2]=function(a){return r(a)+a.a[2]|0};q.prototype.b[66]=function(a){return r(a)+a.a[2]+t(a)|0};q.prototype.b[130]=function(a){return r(a)+a.a[2]+x(a)|0};q.prototype.b[3]=function(a){return r(a)+a.a[3]|0};q.prototype.b[67]=function(a){return r(a)+a.a[3]+t(a)|0};q.prototype.b[131]=function(a){return r(a)+a.a[3]+x(a)|0};q.prototype.b[4]=function(a){return a.f[z(a)](a,!1)|0};q.prototype.b[68]=function(a){return a.f[z(a)](a,!1)+t(a)|0};q.prototype.b[132]=function(a){return a.f[z(a)](a,
!1)+x(a)|0};q.prototype.b[5]=function(a){return v(a)+a.a[5]|0};q.prototype.b[69]=function(a){return v(a)+a.a[5]+t(a)|0};q.prototype.b[133]=function(a){return v(a)+a.a[5]+x(a)|0};q.prototype.b[6]=function(a){return r(a)+a.a[6]|0};q.prototype.b[70]=function(a){return r(a)+a.a[6]+t(a)|0};q.prototype.b[134]=function(a){return r(a)+a.a[6]+x(a)|0};q.prototype.b[7]=function(a){return r(a)+a.a[7]|0};q.prototype.b[71]=function(a){return r(a)+a.a[7]+t(a)|0};q.prototype.b[135]=function(a){return r(a)+a.a[7]+
x(a)|0};q.prototype.d[6]=function(a){return r(a)+u(a)|0};q.prototype.b[5]=function(a){return r(a)+x(a)|0};q.prototype.b[4]=function(a){return a.f[z(a)](a,!1)|0};q.prototype.b[68]=function(a){return a.f[z(a)](a,!0)+t(a)|0};q.prototype.b[132]=function(a){return a.f[z(a)](a,!0)+x(a)|0};for(var a=0;8>a;a++)for(var c=0;3>c;c++)for(var e=a|c<<6,f=1;8>f;f++)q.prototype.b[e|f<<3]=q.prototype.b[e],q.prototype.d[e|f<<3]=q.prototype.d[e];q.prototype.f[0]=function(a){return a.a[0]+r(a)+a.a[0]|0};q.prototype.f[1]=
function(a){return a.a[0]+r(a)+a.a[1]|0};q.prototype.f[2]=function(a){return a.a[0]+r(a)+a.a[2]|0};q.prototype.f[3]=function(a){return a.a[0]+r(a)+a.a[3]|0};q.prototype.f[4]=function(a){return a.a[0]+v(a)+a.a[4]|0};q.prototype.f[5]=function(a,c){return a.a[0]+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[6]=function(a){return a.a[0]+r(a)+a.a[6]|0};q.prototype.f[7]=function(a){return a.a[0]+r(a)+a.a[7]|0};q.prototype.f[64]=function(a){return(a.a[0]<<1)+r(a)+a.a[0]|0};q.prototype.f[65]=function(a){return(a.a[0]<<
1)+r(a)+a.a[1]|0};q.prototype.f[66]=function(a){return(a.a[0]<<1)+r(a)+a.a[2]|0};q.prototype.f[67]=function(a){return(a.a[0]<<1)+r(a)+a.a[3]|0};q.prototype.f[68]=function(a){return(a.a[0]<<1)+v(a)+a.a[4]|0};q.prototype.f[69]=function(a,c){return(a.a[0]<<1)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[70]=function(a){return(a.a[0]<<1)+r(a)+a.a[6]|0};q.prototype.f[71]=function(a){return(a.a[0]<<1)+r(a)+a.a[7]|0};q.prototype.f[128]=function(a){return(a.a[0]<<2)+r(a)+a.a[0]|0};q.prototype.f[129]=function(a){return(a.a[0]<<
2)+r(a)+a.a[1]|0};q.prototype.f[130]=function(a){return(a.a[0]<<2)+r(a)+a.a[2]|0};q.prototype.f[131]=function(a){return(a.a[0]<<2)+r(a)+a.a[3]|0};q.prototype.f[132]=function(a){return(a.a[0]<<2)+v(a)+a.a[4]|0};q.prototype.f[133]=function(a,c){return(a.a[0]<<2)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[134]=function(a){return(a.a[0]<<2)+r(a)+a.a[6]|0};q.prototype.f[135]=function(a){return(a.a[0]<<2)+r(a)+a.a[7]|0};q.prototype.f[192]=function(a){return(a.a[0]<<3)+r(a)+a.a[0]|0};q.prototype.f[193]=
function(a){return(a.a[0]<<3)+r(a)+a.a[1]|0};q.prototype.f[194]=function(a){return(a.a[0]<<3)+r(a)+a.a[2]|0};q.prototype.f[195]=function(a){return(a.a[0]<<3)+r(a)+a.a[3]|0};q.prototype.f[196]=function(a){return(a.a[0]<<3)+v(a)+a.a[4]|0};q.prototype.f[197]=function(a,c){return(a.a[0]<<3)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[198]=function(a){return(a.a[0]<<3)+r(a)+a.a[6]|0};q.prototype.f[199]=function(a){return(a.a[0]<<3)+r(a)+a.a[7]|0};q.prototype.f[8]=function(a){return a.a[1]+r(a)+a.a[0]|0};
q.prototype.f[9]=function(a){return a.a[1]+r(a)+a.a[1]|0};q.prototype.f[10]=function(a){return a.a[1]+r(a)+a.a[2]|0};q.prototype.f[11]=function(a){return a.a[1]+r(a)+a.a[3]|0};q.prototype.f[12]=function(a){return a.a[1]+v(a)+a.a[4]|0};q.prototype.f[13]=function(a,c){return a.a[1]+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[14]=function(a){return a.a[1]+r(a)+a.a[6]|0};q.prototype.f[15]=function(a){return a.a[1]+r(a)+a.a[7]|0};q.prototype.f[72]=function(a){return(a.a[1]<<1)+r(a)+a.a[0]|0};q.prototype.f[73]=
function(a){return(a.a[1]<<1)+r(a)+a.a[1]|0};q.prototype.f[74]=function(a){return(a.a[1]<<1)+r(a)+a.a[2]|0};q.prototype.f[75]=function(a){return(a.a[1]<<1)+r(a)+a.a[3]|0};q.prototype.f[76]=function(a){return(a.a[1]<<1)+v(a)+a.a[4]|0};q.prototype.f[77]=function(a,c){return(a.a[1]<<1)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[78]=function(a){return(a.a[1]<<1)+r(a)+a.a[6]|0};q.prototype.f[79]=function(a){return(a.a[1]<<1)+r(a)+a.a[7]|0};q.prototype.f[136]=function(a){return(a.a[1]<<2)+r(a)+a.a[0]|0};
q.prototype.f[137]=function(a){return(a.a[1]<<2)+r(a)+a.a[1]|0};q.prototype.f[138]=function(a){return(a.a[1]<<2)+r(a)+a.a[2]|0};q.prototype.f[139]=function(a){return(a.a[1]<<2)+r(a)+a.a[3]|0};q.prototype.f[140]=function(a){return(a.a[1]<<2)+v(a)+a.a[4]|0};q.prototype.f[141]=function(a,c){return(a.a[1]<<2)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[142]=function(a){return(a.a[1]<<2)+r(a)+a.a[6]|0};q.prototype.f[143]=function(a){return(a.a[1]<<2)+r(a)+a.a[7]|0};q.prototype.f[200]=function(a){return(a.a[1]<<
3)+r(a)+a.a[0]|0};q.prototype.f[201]=function(a){return(a.a[1]<<3)+r(a)+a.a[1]|0};q.prototype.f[202]=function(a){return(a.a[1]<<3)+r(a)+a.a[2]|0};q.prototype.f[203]=function(a){return(a.a[1]<<3)+r(a)+a.a[3]|0};q.prototype.f[204]=function(a){return(a.a[1]<<3)+v(a)+a.a[4]|0};q.prototype.f[205]=function(a,c){return(a.a[1]<<3)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[206]=function(a){return(a.a[1]<<3)+r(a)+a.a[6]|0};q.prototype.f[207]=function(a){return(a.a[1]<<3)+r(a)+a.a[7]|0};q.prototype.f[16]=function(a){return a.a[2]+
r(a)+a.a[0]|0};q.prototype.f[17]=function(a){return a.a[2]+r(a)+a.a[1]|0};q.prototype.f[18]=function(a){return a.a[2]+r(a)+a.a[2]|0};q.prototype.f[19]=function(a){return a.a[2]+r(a)+a.a[3]|0};q.prototype.f[20]=function(a){return a.a[2]+v(a)+a.a[4]|0};q.prototype.f[21]=function(a,c){return a.a[2]+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[22]=function(a){return a.a[2]+r(a)+a.a[6]|0};q.prototype.f[23]=function(a){return a.a[2]+r(a)+a.a[7]|0};q.prototype.f[80]=function(a){return(a.a[2]<<1)+r(a)+a.a[0]|
0};q.prototype.f[81]=function(a){return(a.a[2]<<1)+r(a)+a.a[1]|0};q.prototype.f[82]=function(a){return(a.a[2]<<1)+r(a)+a.a[2]|0};q.prototype.f[83]=function(a){return(a.a[2]<<1)+r(a)+a.a[3]|0};q.prototype.f[84]=function(a){return(a.a[2]<<1)+v(a)+a.a[4]|0};q.prototype.f[85]=function(a,c){return(a.a[2]<<1)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[86]=function(a){return(a.a[2]<<1)+r(a)+a.a[6]|0};q.prototype.f[87]=function(a){return(a.a[2]<<1)+r(a)+a.a[7]|0};q.prototype.f[144]=function(a){return(a.a[2]<<
2)+r(a)+a.a[0]|0};q.prototype.f[145]=function(a){return(a.a[2]<<2)+r(a)+a.a[1]|0};q.prototype.f[146]=function(a){return(a.a[2]<<2)+r(a)+a.a[2]|0};q.prototype.f[147]=function(a){return(a.a[2]<<2)+r(a)+a.a[3]|0};q.prototype.f[148]=function(a){return(a.a[2]<<2)+v(a)+a.a[4]|0};q.prototype.f[149]=function(a,c){return(a.a[2]<<2)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[150]=function(a){return(a.a[2]<<2)+r(a)+a.a[6]|0};q.prototype.f[151]=function(a){return(a.a[2]<<2)+r(a)+a.a[7]|0};q.prototype.f[208]=
function(a){return(a.a[2]<<3)+r(a)+a.a[0]|0};q.prototype.f[209]=function(a){return(a.a[2]<<3)+r(a)+a.a[1]|0};q.prototype.f[210]=function(a){return(a.a[2]<<3)+r(a)+a.a[2]|0};q.prototype.f[211]=function(a){return(a.a[2]<<3)+r(a)+a.a[3]|0};q.prototype.f[212]=function(a){return(a.a[2]<<3)+v(a)+a.a[4]|0};q.prototype.f[213]=function(a,c){return(a.a[2]<<3)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[214]=function(a){return(a.a[2]<<3)+r(a)+a.a[6]|0};q.prototype.f[215]=function(a){return(a.a[2]<<3)+r(a)+a.a[7]|
0};q.prototype.f[24]=function(a){return a.a[3]+r(a)+a.a[0]|0};q.prototype.f[25]=function(a){return a.a[3]+r(a)+a.a[1]|0};q.prototype.f[26]=function(a){return a.a[3]+r(a)+a.a[2]|0};q.prototype.f[27]=function(a){return a.a[3]+r(a)+a.a[3]|0};q.prototype.f[28]=function(a){return a.a[3]+v(a)+a.a[4]|0};q.prototype.f[29]=function(a,c){return a.a[3]+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[30]=function(a){return a.a[3]+r(a)+a.a[6]|0};q.prototype.f[31]=function(a){return a.a[3]+r(a)+a.a[7]|0};q.prototype.f[88]=
function(a){return(a.a[3]<<1)+r(a)+a.a[0]|0};q.prototype.f[89]=function(a){return(a.a[3]<<1)+r(a)+a.a[1]|0};q.prototype.f[90]=function(a){return(a.a[3]<<1)+r(a)+a.a[2]|0};q.prototype.f[91]=function(a){return(a.a[3]<<1)+r(a)+a.a[3]|0};q.prototype.f[92]=function(a){return(a.a[3]<<1)+v(a)+a.a[4]|0};q.prototype.f[93]=function(a,c){return(a.a[3]<<1)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[94]=function(a){return(a.a[3]<<1)+r(a)+a.a[6]|0};q.prototype.f[95]=function(a){return(a.a[3]<<1)+r(a)+a.a[7]|0};
q.prototype.f[152]=function(a){return(a.a[3]<<2)+r(a)+a.a[0]|0};q.prototype.f[153]=function(a){return(a.a[3]<<2)+r(a)+a.a[1]|0};q.prototype.f[154]=function(a){return(a.a[3]<<2)+r(a)+a.a[2]|0};q.prototype.f[155]=function(a){return(a.a[3]<<2)+r(a)+a.a[3]|0};q.prototype.f[156]=function(a){return(a.a[3]<<2)+v(a)+a.a[4]|0};q.prototype.f[157]=function(a,c){return(a.a[3]<<2)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[158]=function(a){return(a.a[3]<<2)+r(a)+a.a[6]|0};q.prototype.f[159]=function(a){return(a.a[3]<<
2)+r(a)+a.a[7]|0};q.prototype.f[216]=function(a){return(a.a[3]<<3)+r(a)+a.a[0]|0};q.prototype.f[217]=function(a){return(a.a[3]<<3)+r(a)+a.a[1]|0};q.prototype.f[218]=function(a){return(a.a[3]<<3)+r(a)+a.a[2]|0};q.prototype.f[219]=function(a){return(a.a[3]<<3)+r(a)+a.a[3]|0};q.prototype.f[220]=function(a){return(a.a[3]<<3)+v(a)+a.a[4]|0};q.prototype.f[221]=function(a,c){return(a.a[3]<<3)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[222]=function(a){return(a.a[3]<<3)+r(a)+a.a[6]|0};q.prototype.f[223]=
function(a){return(a.a[3]<<3)+r(a)+a.a[7]|0};q.prototype.f[32]=function(a){return r(a)+a.a[0]|0};q.prototype.f[33]=function(a){return r(a)+a.a[1]|0};q.prototype.f[34]=function(a){return r(a)+a.a[2]|0};q.prototype.f[35]=function(a){return r(a)+a.a[3]|0};q.prototype.f[36]=function(a){return v(a)+a.a[4]|0};q.prototype.f[37]=function(a,c){return(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[38]=function(a){return r(a)+a.a[6]|0};q.prototype.f[39]=function(a){return r(a)+a.a[7]|0};q.prototype.f[96]=function(a){return r(a)+
a.a[0]|0};q.prototype.f[97]=function(a){return r(a)+a.a[1]|0};q.prototype.f[98]=function(a){return r(a)+a.a[2]|0};q.prototype.f[99]=function(a){return r(a)+a.a[3]|0};q.prototype.f[100]=function(a){return v(a)+a.a[4]|0};q.prototype.f[101]=function(a,c){return(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[102]=function(a){return r(a)+a.a[6]|0};q.prototype.f[103]=function(a){return r(a)+a.a[7]|0};q.prototype.f[160]=function(a){return r(a)+a.a[0]|0};q.prototype.f[161]=function(a){return r(a)+a.a[1]|0};q.prototype.f[162]=
function(a){return r(a)+a.a[2]|0};q.prototype.f[163]=function(a){return r(a)+a.a[3]|0};q.prototype.f[164]=function(a){return v(a)+a.a[4]|0};q.prototype.f[165]=function(a,c){return(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[166]=function(a){return r(a)+a.a[6]|0};q.prototype.f[167]=function(a){return r(a)+a.a[7]|0};q.prototype.f[224]=function(a){return r(a)+a.a[0]|0};q.prototype.f[225]=function(a){return r(a)+a.a[1]|0};q.prototype.f[226]=function(a){return r(a)+a.a[2]|0};q.prototype.f[227]=function(a){return r(a)+
a.a[3]|0};q.prototype.f[228]=function(a){return v(a)+a.a[4]|0};q.prototype.f[229]=function(a,c){return(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[230]=function(a){return r(a)+a.a[6]|0};q.prototype.f[231]=function(a){return r(a)+a.a[7]|0};q.prototype.f[40]=function(a){return a.a[5]+r(a)+a.a[0]|0};q.prototype.f[41]=function(a){return a.a[5]+r(a)+a.a[1]|0};q.prototype.f[42]=function(a){return a.a[5]+r(a)+a.a[2]|0};q.prototype.f[43]=function(a){return a.a[5]+r(a)+a.a[3]|0};q.prototype.f[44]=function(a){return a.a[5]+
v(a)+a.a[4]|0};q.prototype.f[45]=function(a,c){return a.a[5]+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[46]=function(a){return a.a[5]+r(a)+a.a[6]|0};q.prototype.f[47]=function(a){return a.a[5]+r(a)+a.a[7]|0};q.prototype.f[104]=function(a){return(a.a[5]<<1)+r(a)+a.a[0]|0};q.prototype.f[105]=function(a){return(a.a[5]<<1)+r(a)+a.a[1]|0};q.prototype.f[106]=function(a){return(a.a[5]<<1)+r(a)+a.a[2]|0};q.prototype.f[107]=function(a){return(a.a[5]<<1)+r(a)+a.a[3]|0};q.prototype.f[108]=function(a){return(a.a[5]<<
1)+v(a)+a.a[4]|0};q.prototype.f[109]=function(a,c){return(a.a[5]<<1)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[110]=function(a){return(a.a[5]<<1)+r(a)+a.a[6]|0};q.prototype.f[111]=function(a){return(a.a[5]<<1)+r(a)+a.a[7]|0};q.prototype.f[168]=function(a){return(a.a[5]<<2)+r(a)+a.a[0]|0};q.prototype.f[169]=function(a){return(a.a[5]<<2)+r(a)+a.a[1]|0};q.prototype.f[170]=function(a){return(a.a[5]<<2)+r(a)+a.a[2]|0};q.prototype.f[171]=function(a){return(a.a[5]<<2)+r(a)+a.a[3]|0};q.prototype.f[172]=
function(a){return(a.a[5]<<2)+v(a)+a.a[4]|0};q.prototype.f[173]=function(a,c){return(a.a[5]<<2)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[174]=function(a){return(a.a[5]<<2)+r(a)+a.a[6]|0};q.prototype.f[175]=function(a){return(a.a[5]<<2)+r(a)+a.a[7]|0};q.prototype.f[232]=function(a){return(a.a[5]<<3)+r(a)+a.a[0]|0};q.prototype.f[233]=function(a){return(a.a[5]<<3)+r(a)+a.a[1]|0};q.prototype.f[234]=function(a){return(a.a[5]<<3)+r(a)+a.a[2]|0};q.prototype.f[235]=function(a){return(a.a[5]<<3)+r(a)+a.a[3]|
0};q.prototype.f[236]=function(a){return(a.a[5]<<3)+v(a)+a.a[4]|0};q.prototype.f[237]=function(a,c){return(a.a[5]<<3)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[238]=function(a){return(a.a[5]<<3)+r(a)+a.a[6]|0};q.prototype.f[239]=function(a){return(a.a[5]<<3)+r(a)+a.a[7]|0};q.prototype.f[48]=function(a){return a.a[6]+r(a)+a.a[0]|0};q.prototype.f[49]=function(a){return a.a[6]+r(a)+a.a[1]|0};q.prototype.f[50]=function(a){return a.a[6]+r(a)+a.a[2]|0};q.prototype.f[51]=function(a){return a.a[6]+r(a)+
a.a[3]|0};q.prototype.f[52]=function(a){return a.a[6]+v(a)+a.a[4]|0};q.prototype.f[53]=function(a,c){return a.a[6]+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[54]=function(a){return a.a[6]+r(a)+a.a[6]|0};q.prototype.f[55]=function(a){return a.a[6]+r(a)+a.a[7]|0};q.prototype.f[112]=function(a){return(a.a[6]<<1)+r(a)+a.a[0]|0};q.prototype.f[113]=function(a){return(a.a[6]<<1)+r(a)+a.a[1]|0};q.prototype.f[114]=function(a){return(a.a[6]<<1)+r(a)+a.a[2]|0};q.prototype.f[115]=function(a){return(a.a[6]<<1)+
r(a)+a.a[3]|0};q.prototype.f[116]=function(a){return(a.a[6]<<1)+v(a)+a.a[4]|0};q.prototype.f[117]=function(a,c){return(a.a[6]<<1)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[118]=function(a){return(a.a[6]<<1)+r(a)+a.a[6]|0};q.prototype.f[119]=function(a){return(a.a[6]<<1)+r(a)+a.a[7]|0};q.prototype.f[176]=function(a){return(a.a[6]<<2)+r(a)+a.a[0]|0};q.prototype.f[177]=function(a){return(a.a[6]<<2)+r(a)+a.a[1]|0};q.prototype.f[178]=function(a){return(a.a[6]<<2)+r(a)+a.a[2]|0};q.prototype.f[179]=function(a){return(a.a[6]<<
2)+r(a)+a.a[3]|0};q.prototype.f[180]=function(a){return(a.a[6]<<2)+v(a)+a.a[4]|0};q.prototype.f[181]=function(a,c){return(a.a[6]<<2)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[182]=function(a){return(a.a[6]<<2)+r(a)+a.a[6]|0};q.prototype.f[183]=function(a){return(a.a[6]<<2)+r(a)+a.a[7]|0};q.prototype.f[240]=function(a){return(a.a[6]<<3)+r(a)+a.a[0]|0};q.prototype.f[241]=function(a){return(a.a[6]<<3)+r(a)+a.a[1]|0};q.prototype.f[242]=function(a){return(a.a[6]<<3)+r(a)+a.a[2]|0};q.prototype.f[243]=
function(a){return(a.a[6]<<3)+r(a)+a.a[3]|0};q.prototype.f[244]=function(a){return(a.a[6]<<3)+v(a)+a.a[4]|0};q.prototype.f[245]=function(a,c){return(a.a[6]<<3)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[246]=function(a){return(a.a[6]<<3)+r(a)+a.a[6]|0};q.prototype.f[247]=function(a){return(a.a[6]<<3)+r(a)+a.a[7]|0};q.prototype.f[56]=function(a){return a.a[7]+r(a)+a.a[0]|0};q.prototype.f[57]=function(a){return a.a[7]+r(a)+a.a[1]|0};q.prototype.f[58]=function(a){return a.a[7]+r(a)+a.a[2]|0};q.prototype.f[59]=
function(a){return a.a[7]+r(a)+a.a[3]|0};q.prototype.f[60]=function(a){return a.a[7]+v(a)+a.a[4]|0};q.prototype.f[61]=function(a,c){return a.a[7]+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[62]=function(a){return a.a[7]+r(a)+a.a[6]|0};q.prototype.f[63]=function(a){return a.a[7]+r(a)+a.a[7]|0};q.prototype.f[120]=function(a){return(a.a[7]<<1)+r(a)+a.a[0]|0};q.prototype.f[121]=function(a){return(a.a[7]<<1)+r(a)+a.a[1]|0};q.prototype.f[122]=function(a){return(a.a[7]<<1)+r(a)+a.a[2]|0};q.prototype.f[123]=
function(a){return(a.a[7]<<1)+r(a)+a.a[3]|0};q.prototype.f[124]=function(a){return(a.a[7]<<1)+v(a)+a.a[4]|0};q.prototype.f[125]=function(a,c){return(a.a[7]<<1)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[126]=function(a){return(a.a[7]<<1)+r(a)+a.a[6]|0};q.prototype.f[127]=function(a){return(a.a[7]<<1)+r(a)+a.a[7]|0};q.prototype.f[184]=function(a){return(a.a[7]<<2)+r(a)+a.a[0]|0};q.prototype.f[185]=function(a){return(a.a[7]<<2)+r(a)+a.a[1]|0};q.prototype.f[186]=function(a){return(a.a[7]<<2)+r(a)+a.a[2]|
0};q.prototype.f[187]=function(a){return(a.a[7]<<2)+r(a)+a.a[3]|0};q.prototype.f[188]=function(a){return(a.a[7]<<2)+v(a)+a.a[4]|0};q.prototype.f[189]=function(a,c){return(a.a[7]<<2)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[190]=function(a){return(a.a[7]<<2)+r(a)+a.a[6]|0};q.prototype.f[191]=function(a){return(a.a[7]<<2)+r(a)+a.a[7]|0};q.prototype.f[248]=function(a){return(a.a[7]<<3)+r(a)+a.a[0]|0};q.prototype.f[249]=function(a){return(a.a[7]<<3)+r(a)+a.a[1]|0};q.prototype.f[250]=function(a){return(a.a[7]<<
3)+r(a)+a.a[2]|0};q.prototype.f[251]=function(a){return(a.a[7]<<3)+r(a)+a.a[3]|0};q.prototype.f[252]=function(a){return(a.a[7]<<3)+v(a)+a.a[4]|0};q.prototype.f[253]=function(a,c){return(a.a[7]<<3)+(c?v(a)+a.a[5]:r(a)+x(a))|0};q.prototype.f[254]=function(a){return(a.a[7]<<3)+r(a)+a.a[6]|0};q.prototype.f[255]=function(a){return(a.a[7]<<3)+r(a)+a.a[7]|0};q.prototype.g=function(a){return(this.ib?this.b:this.d)[a](this)}})();"use strict";
q.prototype.add=function(a,c,e){this.ra=a;this.sa=c;this.h=this.t=a+c|0;this.Q=e;this.l=2261;return this.t};function Ca(a,c,e,f){var g=a.ha();a.ra=c;a.sa=e;a.h=a.t=(c+e|0)+g|0;a.Q=f;a.l=2261;return a.t}q.prototype.sub=function(a,c,e){this.h=a;this.sa=c;this.ra=this.t=a-c|0;this.Q=e;this.l=2261;return this.t};function Da(a,c,e,f){var g=a.ha();a.h=c;a.sa=e;a.ra=a.t=c-e-g|0;a.Q=f;a.l=2261;return a.t}function Fa(a,c,e){a.e=a.e&-2|a.ha();a.ra=c;a.sa=1;a.h=a.t=c+1|0;a.Q=e;a.l=2260;return a.t}
function Ga(a,c,e){a.e=a.e&-2|a.ha();a.h=c;a.sa=1;a.ra=a.t=c-1|0;a.Q=e;a.l=2260;return a.t}function Ha(a,c,e){a.ra=a.t=-c|0;a.l=2261;a.h=0;a.sa=c;a.Q=e;return a.t}function Ia(a,c,e){c=c*e;a.e=32767<c||-32768>c?a.e|2049:a.e&-2050;a.l=0;return c}
function Ja(a,c,e){var f=!1;0>c&&(f=!0,c=-c|0);0>e&&(f=!f,e=-e|0);var g=c&65535;c=c>>>16;var k=e&65535;e=e>>>16;var l=g*k,k=(l>>>16)+(c*k|0)|0,p=k>>>16,k=(k&65535)+(g*e|0)|0,l=k<<16|l&65535,p=((k>>>16)+(c*e|0)|0)+p|0;f&&(l=-l|0,p=~p+!l|0);a.e=p===l>>31?a.e&-2050:a.e|2049;a.l=0;return l}function A(a,c,e,f){a.t=c&e;a.Q=f;a.e&=-2066;a.l=196;return a.t}function Na(a,c,e,f){a.t=c|e;a.Q=f;a.e&=-2066;a.l=196;return a.t}function Oa(a,c,e,f){a.t=c^e;a.Q=f;a.e&=-2066;a.l=196;return a.t}
function Qa(a,c,e){if(!e)return c;e&=7;c=c<<e|c>>8-e;a.l&=-2050;a.e=a.e&-2050|c&1|(c<<11^c<<4)&2048;return c}function Ra(a,c,e){if(!e)return c;e&=15;c=c<<e|c>>16-e;a.l&=-2050;a.e=a.e&-2050|c&1|(c<<11^c>>4)&2048;return c}function Sa(a,c,e){if(!e)return c;c=c<<e|c>>>32-e;a.l&=-2050;a.e=a.e&-2050|c&1|(c<<11^c>>20)&2048;return c}function Ta(a,c,e){e%=9;if(!e)return c;c=c<<e|a.ha()<<e-1|c>>9-e;a.l&=-2050;a.e=a.e&-2050|c>>8&1|(c<<3^c<<4)&2048;return c}
function Ua(a,c,e){e%=17;if(!e)return c;c=c<<e|a.ha()<<e-1|c>>17-e;a.l&=-2050;a.e=a.e&-2050|c>>16&1|(c>>5^c>>4)&2048;return c}function Va(a,c,e){if(!e)return c;var f=c<<e|a.ha()<<e-1;1<e&&(f|=c>>>33-e);a.l&=-2050;a.e=a.e&-2050|c>>>32-e&1;a.e|=(a.e<<11^f>>20)&2048;return f}function Wa(a,c,e){e&=7;if(!e)return c;c=c>>e|c<<8-e;a.l&=-2050;a.e=a.e&-2050|c>>7&1|(c<<4^c<<5)&2048;return c}function Ya(a,c,e){e&=15;if(!e)return c;c=c>>e|c<<16-e;a.l&=-2050;a.e=a.e&-2050|c>>15&1|(c>>4^c>>3)&2048;return c}
function Za(a,c,e){if(!e)return c;c=c>>>e|c<<32-e;a.l&=-2050;a.e=a.e&-2050|c>>31&1|(c>>20^c>>19)&2048;return c}function $a(a,c,e){e%=9;if(!e)return c;c=c>>e|a.ha()<<8-e|c<<9-e;a.l&=-2050;a.e=a.e&-2050|c>>8&1|(c<<4^c<<5)&2048;return c}function ab(a,c,e){e%=17;if(!e)return c;c=c>>e|a.ha()<<16-e|c<<17-e;a.l&=-2050;a.e=a.e&-2050|c>>16&1|(c>>4^c>>3)&2048;return c}function bb(a,c,e){if(!e)return c;var f=c>>>e|a.ha()<<32-e;1<e&&(f|=c<<33-e);a.l&=-2050;a.e=a.e&-2050|c>>e-1&1|(f>>20^f>>19)&2048;return f}
function cb(a,c,e){if(0===e)return c;a.t=c<<e;a.Q=7;a.l=212;a.e=a.e&-2050|a.t>>8&1|(a.t<<3^a.t<<4)&2048;return a.t}function db(a,c,e){if(0===e)return c;a.t=c<<e;a.Q=15;a.l=212;a.e=a.e&-2050|a.t>>16&1|(a.t>>5^a.t>>4)&2048;return a.t}function eb(a,c,e){if(0===e)return c;a.t=c<<e;a.Q=31;a.l=212;a.e=a.e&-2050|c>>>32-e&1;a.e|=(a.e&1^a.t>>31&1)<<11&2048;return a.t}function gb(a,c,e){if(0===e)return c;a.t=c>>e;a.Q=7;a.l=212;a.e=a.e&-2050|c>>e-1&1|(c>>7&1)<<11&2048;return a.t}
function hb(a,c,e){if(0===e)return c;a.t=c>>e;a.Q=15;a.l=212;a.e=a.e&-2050|c>>e-1&1|c>>4&2048;return a.t}function ib(a,c,e){if(0===e)return c;a.t=c>>>e;a.Q=31;a.l=212;a.e=a.e&-2050|c>>>e-1&1|c>>20&2048;return a.t}function jb(a,c,e){if(0===e)return c;a.t=c>>e;a.Q=7;a.l=212;a.e=a.e&-2050|c>>e-1&1;return a.t}function kb(a,c,e){if(0===e)return c;a.t=c>>e;a.Q=15;a.l=212;a.e=a.e&-2050|c>>e-1&1;return a.t}function lb(a,c,e){if(0===e)return c;a.t=c>>e;a.Q=31;a.l=212;a.e=a.e&-2050|c>>>e-1&1;return a.t}
function mb(a,c,e,f){if(0===f)return c;16>=f?(a.t=c>>f|e<<16-f,a.e=a.e&-2|c>>f-1&1):(a.t=c<<32-f|e>>f-16,a.e=a.e&-2|e>>f-17&1);a.Q=15;a.l=212;a.e=a.e&-2049|(a.t^c)>>4&2048;return a.t}function nb(a,c,e,f){if(0===f)return c;a.t=c>>>f|e<<32-f;a.Q=31;a.l=212;a.e=a.e&-2|c>>>f-1&1;a.e=a.e&-2049|(a.t^c)>>20&2048;return a.t}
function ob(a,c,e,f){if(0===f)return c;16>=f?(a.t=c<<f|e>>>16-f,a.e=a.e&-2|c>>>16-f&1):(a.t=c>>32-f|e<<f-16,a.e=a.e&-2|e>>>32-f&1);a.Q=15;a.l=212;a.e=a.e&-2049|(a.e&1^a.t>>15&1)<<11;return a.t}function pb(a,c,e,f){if(0===f)return c;a.t=c<<f|e>>>32-f;a.Q=31;a.l=212;a.e=a.e&-2|c>>>32-f&1;a.e=a.e&-2049|(a.e&1^a.t>>31&1)<<11;return a.t}function qb(a,c,e){a.e=a.e&-2|c>>e&1;a.l&=-2}function rb(a,c,e){a.e=a.e&-2|c>>e&1;a.l&=-2;return c^1<<e}function sb(a,c,e){a.e=a.e&-2|c>>e&1;a.l&=-2;return c|1<<e}
function tb(a,c,e){a.e=a.e&-2|c>>e&1;a.l&=-2;return c&~(1<<e)}function ub(a,c,e){c=B(a,c+(e>>3));a.e=a.e&-2|c>>(e&7)&1;a.l&=-2}function vb(a,c,e){c=D(a,c+(e>>3));var f=a.memory.I(c);e&=7;a.e=a.e&-2|f>>e&1;a.l&=-2;a.memory.N(c,f^1<<e)}function wb(a,c,e){c=D(a,c+(e>>3));var f=a.memory.I(c);e&=7;a.e=a.e&-2|f>>e&1;a.l&=-2;a.memory.N(c,f&~(1<<e))}function xb(a,c,e){c=D(a,c+(e>>3));var f=a.memory.I(c);e&=7;a.e=a.e&-2|f>>e&1;a.l&=-2;a.memory.N(c,f|1<<e)}
function yb(a,c){a.l=0;a.e&=-2262;if(c)return c=c-(c>>1&1431655765),c=(c&858993459)+(c>>2&858993459),16843009*(c+(c>>4)&252645135)>>24;a.e|=64;return 0}"use strict";var zb,Ab;
function Bb(a,c,e,f,g,k,l){var p,w,y,C,I=a.e&1024?-(c>>3):c>>3,R=!1;e&&!f&&(Ab=32===c?a.a[0]:16===c?a.c[0]:a.i[0]);g&&(w=a.w[0]+a.P[a.Na]|0);f&&(p=Cb(a,3)+a.P[a.Oa]|0);if(0!==a.eb){var T=a.P[a.Ma]>>>0,Ea=T;if(0===T)return;var ra=16384;if(8!==c&&(g&&w&(c>>3)-1||f&&p&(c>>3)-1)){do k(a,p,w),g&&(w+=I,a.P[a.Na]+=I),f&&(p+=I,a.P[a.Oa]+=I),R=0!==--a.P[a.Ma]&&(!e||Ab===zb===(2===a.eb));while(R&&ra--)}else{k=I>>31|1;a.A?(f&&(ra=(k>>1^~p)&4095,C=Db(a,p)),g&&(ra=Math.min(ra,(k>>1^~w)&4095),y=e?Db(a,w):D(a,w)),
32===c?ra>>=2:16===c&&(ra>>=1)):(g&&(y=w),f&&(C=p));32===c?(g&&(y>>>=2),f&&(C>>>=2)):16===c&&(g&&(y>>>=1),f&&(C>>>=1));do l(a,C,y),g&&(y+=k),f&&(C+=k),R=0!==--T&&(!e||Ab===zb===(2===a.eb));while(R&&ra--);l=I*(Ea-T)|0;g&&(a.P[a.Na]+=l);f&&(a.P[a.Oa]+=l);a.P[a.Ma]=T;a.j+=Ea-T}}else 8===c?(f&&(C=Db(a,p)),g&&(y=e?Db(a,w):D(a,w)),l(a,C,y)):k(a,p,w),g&&(a.P[a.Na]+=I),f&&(a.P[a.Oa]+=I);e&&(32===c?a.sub(Ab,zb,31):16===c?a.sub(Ab,zb,15):a.sub(Ab,zb,7));R&&(a.k=a.Da)}
function Eb(a){Bb(a,8,!1,!0,!0,function(){},function(a,e,f){a.memory.N(f,a.memory.I(e))})}function Fb(a){Bb(a,16,!1,!0,!0,function(a,e,f){E(a,f,F(a,e))},function(a,e,f){Gb(a.memory,f,Hb(a.memory,e))})}
function Ib(a){if(0!==a.eb){var c=Cb(a,3)+a.P[a.Oa],e=a.w[0]+a.P[a.Na],f=a.P[a.Ma]>>>0;if(!f)return;var g=a.A?4095:3;if(0===(e&g)&&0===(c&g)&&0===(a.e&1024)&&(g=!1,a.A&&(c=Db(a,c),e=D(a,e),1024<f&&(f=1024,g=!0)),!Jb(a.p,c,f)&&!Jb(a.p,e,f))){var k=f<<2;a.P[a.Ma]-=f;a.P[a.Na]+=k;a.P[a.Oa]+=k;c>>=2;a.memory.bb.set(a.memory.bb.subarray(c,c+f),e>>2);g&&(a.k=a.Da);return}}Bb(a,32,!1,!0,!0,function(a,c,e){G(a,e,H(a,c))},function(a,c,e){Kb(a.memory,e,Lb(a.memory,c))})}
function Mb(a){Bb(a,8,!0,!0,!0,function(){},function(a,e,f){zb=a.memory.I(f);Ab=a.memory.I(e)})}function Rb(a){Bb(a,16,!0,!0,!0,function(a,e,f){zb=F(a,f);Ab=F(a,e)},function(a,e,f){zb=Hb(a.memory,f);Ab=Hb(a.memory,e)})}function Sb(a){Bb(a,32,!0,!0,!0,function(a,e,f){zb=H(a,f);Ab=H(a,e)},function(a,e,f){zb=Lb(a.memory,f);Ab=Lb(a.memory,e)})}function Tb(a){var c=a.i[0];Bb(a,8,!1,!1,!0,function(){},function(a,f,g){a.memory.N(g,c)})}
function Ub(a){var c=a.c[0];Bb(a,16,!1,!1,!0,function(a,f,g){E(a,g,c)},function(a,f,g){Gb(a.memory,g,c)})}function Vb(a){var c=a.a[0];Bb(a,32,!1,!1,!0,function(a,f,g){G(a,g,c)},function(a,f,g){Kb(a.memory,g,c)})}function Wb(a){Bb(a,8,!1,!0,!1,function(){},function(a,e){a.i[0]=a.memory.I(e)})}function Xb(a){Bb(a,16,!1,!0,!1,function(a,e){a.c[0]=F(a,e)},function(a,e){a.c[0]=Hb(a.memory,e)})}function Yb(a){Bb(a,32,!1,!0,!1,function(a,e){a.a[0]=H(a,e)},function(a,e){a.a[0]=Lb(a.memory,e)})}
function Zb(a){Bb(a,8,!0,!1,!0,function(){},function(a,e,f){zb=a.memory.I(f)})}function $b(a){Bb(a,16,!0,!1,!0,function(a,e,f){zb=F(a,f)},function(a,e,f){zb=Hb(a.memory,f)})}function ac(a){Bb(a,32,!0,!1,!0,function(a,e,f){zb=H(a,f)},function(a,e,f){zb=Lb(a.memory,f)})}function bc(a){var c=a.c[4];cc(a,c,1);Bb(a,8,!1,!1,!0,function(){},function(a,f,g){a.memory.N(g,dc(a.p,c))})}
function ec(a){var c=a.c[4];cc(a,c,2);Bb(a,16,!1,!1,!0,function(a,f,g){E(a,g,fc(a.p,c))},function(a,f,g){Gb(a.memory,g,fc(a.p,c))})}function gc(a){var c=a.c[4];cc(a,c,4);Bb(a,32,!1,!1,!0,function(a,f,g){G(a,g,hc(a.p,c))},function(a,f,g){Kb(a.memory,g,hc(a.p,c))})}function ic(a){var c=a.c[4];cc(a,c,1);Bb(a,8,!1,!0,!1,function(){},function(a,f){jc(a.p,c,a.memory.I(f))})}function kc(a){var c=a.c[4];cc(a,c,2);Bb(a,16,!1,!0,!1,function(a,f){lc(a.p,c,F(a,f))},function(a,f){lc(a.p,c,Hb(a.memory,f))})}
function mc(a){var c=a.c[4];cc(a,c,4);Bb(a,32,!1,!0,!1,function(a,f){nc(a.p,c,H(a,f))},function(a,f){nc(a.p,c,Lb(a.memory,f))})}"use strict";var J=[],K=[],L=[],M=[];q.prototype.td=J;q.prototype.ud=K;q.prototype.we=L;q.prototype.xe=M;J[0]=K[0]=function(a){var c=z(a),e,f;192>c?(f=D(a,a.g(c)),e=a.memory.I(f)):e=a.i[c<<2&12|c>>2&1];e=a.add(e,a.i[c>>1&12|c>>5&1],7);192>c?a.memory.N(f,e):a.i[c<<2&12|c>>2&1]=e};
J[1]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];e=a.add(e,a.c[c>>2&14],15);192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e};K[1]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];e=a.add(e,a.a[c>>3&7],31);192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=e};
J[2]=K[2]=function(a){var c=z(a),e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];a.i[c>>1&12|c>>5&1]=a.add(a.i[c>>1&12|c>>5&1],e,7)};J[3]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=a.add(a.c[c>>2&14],e,15)};K[3]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=a.add(a.a[c>>3&7],e,31)};J[4]=K[4]=function(a){a.i[0]=a.add(a.i[0],z(a),7)};J[5]=function(a){a.c[0]=a.add(a.c[0],u(a),15)};K[5]=function(a){a.a[0]=a.add(a.a[0],x(a),31)};J[6]=function(a){O(a,a.J[0])};
K[6]=function(a){P(a,a.J[0])};J[7]=function(a){Q(a,0,F(a,sc(a,0)));a.s[a.u]+=2};K[7]=function(a){Q(a,0,F(a,sc(a,0)));a.s[a.u]+=4};J[8]=K[8]=function(a){var c=z(a),e,f;192>c?(f=D(a,a.g(c)),e=a.memory.I(f)):e=a.i[c<<2&12|c>>2&1];e=Na(a,e,a.i[c>>1&12|c>>5&1],7);192>c?a.memory.N(f,e):a.i[c<<2&12|c>>2&1]=e};
J[9]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];e=Na(a,e,a.c[c>>2&14],15);192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e};K[9]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];e=Na(a,e,a.a[c>>3&7],31);192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=e};
J[10]=K[10]=function(a){var c=z(a),e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];a.i[c>>1&12|c>>5&1]=Na(a,a.i[c>>1&12|c>>5&1],e,7)};J[11]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=Na(a,a.c[c>>2&14],e,15)};K[11]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=Na(a,a.a[c>>3&7],e,31)};J[12]=K[12]=function(a){a.i[0]=Na(a,a.i[0],z(a),7)};J[13]=function(a){a.c[0]=Na(a,a.c[0],u(a),15)};K[13]=function(a){a.a[0]=Na(a,a.a[0],x(a),31)};J[14]=function(a){O(a,a.J[1])};
K[14]=function(a){P(a,a.J[1])};J[15]=function(a){a.we[z(a)](a)};K[15]=function(a){a.xe[z(a)](a)};J[16]=K[16]=function(a){var c=z(a),e,f;192>c?(f=D(a,a.g(c)),e=a.memory.I(f)):e=a.i[c<<2&12|c>>2&1];e=Ca(a,e,a.i[c>>1&12|c>>5&1],7);192>c?a.memory.N(f,e):a.i[c<<2&12|c>>2&1]=e};J[17]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];e=Ca(a,e,a.c[c>>2&14],15);192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e};
K[17]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];e=Ca(a,e,a.a[c>>3&7],31);192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=e};J[18]=K[18]=function(a){var c=z(a),e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];a.i[c>>1&12|c>>5&1]=Ca(a,a.i[c>>1&12|c>>5&1],e,7)};J[19]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=Ca(a,a.c[c>>2&14],e,15)};
K[19]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=Ca(a,a.a[c>>3&7],e,31)};J[20]=K[20]=function(a){a.i[0]=Ca(a,a.i[0],z(a),7)};J[21]=function(a){a.c[0]=Ca(a,a.c[0],u(a),15)};K[21]=function(a){a.a[0]=Ca(a,a.a[0],x(a),31)};J[22]=function(a){O(a,a.J[2])};K[22]=function(a){P(a,a.J[2])};J[23]=function(a){Q(a,2,F(a,sc(a,0)));a.s[a.u]+=2};K[23]=function(a){Q(a,2,F(a,sc(a,0)));a.s[a.u]+=4};
J[24]=K[24]=function(a){var c=z(a),e,f;192>c?(f=D(a,a.g(c)),e=a.memory.I(f)):e=a.i[c<<2&12|c>>2&1];e=Da(a,e,a.i[c>>1&12|c>>5&1],7);192>c?a.memory.N(f,e):a.i[c<<2&12|c>>2&1]=e};J[25]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];e=Da(a,e,a.c[c>>2&14],15);192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e};
K[25]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];e=Da(a,e,a.a[c>>3&7],31);192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=e};J[26]=K[26]=function(a){var c=z(a),e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];a.i[c>>1&12|c>>5&1]=Da(a,a.i[c>>1&12|c>>5&1],e,7)};J[27]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=Da(a,a.c[c>>2&14],e,15)};
K[27]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=Da(a,a.a[c>>3&7],e,31)};J[28]=K[28]=function(a){a.i[0]=Da(a,a.i[0],z(a),7)};J[29]=function(a){a.c[0]=Da(a,a.c[0],u(a),15)};K[29]=function(a){a.a[0]=Da(a,a.a[0],x(a),31)};J[30]=function(a){O(a,a.J[3])};K[30]=function(a){P(a,a.J[3])};J[31]=function(a){Q(a,3,F(a,sc(a,0)));a.s[a.u]+=2};K[31]=function(a){Q(a,3,F(a,sc(a,0)));a.s[a.u]+=4};
J[32]=K[32]=function(a){var c=z(a),e,f;192>c?(f=D(a,a.g(c)),e=a.memory.I(f)):e=a.i[c<<2&12|c>>2&1];e=A(a,e,a.i[c>>1&12|c>>5&1],7);192>c?a.memory.N(f,e):a.i[c<<2&12|c>>2&1]=e};J[33]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];e=A(a,e,a.c[c>>2&14],15);192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e};
K[33]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];e=A(a,e,a.a[c>>3&7],31);192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=e};J[34]=K[34]=function(a){var c=z(a),e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];a.i[c>>1&12|c>>5&1]=A(a,a.i[c>>1&12|c>>5&1],e,7)};J[35]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=A(a,a.c[c>>2&14],e,15)};
K[35]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=A(a,a.a[c>>3&7],e,31)};J[36]=K[36]=function(a){a.i[0]=A(a,a.i[0],z(a),7)};J[37]=function(a){a.c[0]=A(a,a.c[0],u(a),15)};K[37]=function(a){a.a[0]=A(a,a.a[0],x(a),31)};J[38]=K[38]=function(a){tc(a,0)};J[39]=K[39]=function(a){var c=a.i[0],e=a.ha(),f=uc(a);a.e&=-18;if(9<(c&15)||f)a.i[0]+=6,a.e|=16;if(153<c||e)a.i[0]+=96,a.e|=1;a.t=a.i[0];a.Q=7;a.ra=a.sa=0;a.l=196};
J[40]=K[40]=function(a){var c=z(a),e,f;192>c?(f=D(a,a.g(c)),e=a.memory.I(f)):e=a.i[c<<2&12|c>>2&1];e=a.sub(e,a.i[c>>1&12|c>>5&1],7);192>c?a.memory.N(f,e):a.i[c<<2&12|c>>2&1]=e};J[41]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];e=a.sub(e,a.c[c>>2&14],15);192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e};
K[41]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];e=a.sub(e,a.a[c>>3&7],31);192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=e};J[42]=K[42]=function(a){var c=z(a),e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];a.i[c>>1&12|c>>5&1]=a.sub(a.i[c>>1&12|c>>5&1],e,7)};J[43]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=a.sub(a.c[c>>2&14],e,15)};
K[43]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=a.sub(a.a[c>>3&7],e,31)};J[44]=K[44]=function(a){a.i[0]=a.sub(a.i[0],z(a),7)};J[45]=function(a){a.c[0]=a.sub(a.c[0],u(a),15)};K[45]=function(a){a.a[0]=a.sub(a.a[0],x(a),31)};J[46]=K[46]=function(a){tc(a,1)};J[47]=K[47]=function(a){var c=a.i[0],e=a.ha();a.e&=-2;9<(c&15)||uc(a)?(a.i[0]-=6,a.e|=16,a.e=a.e&-2|e|a.i[0]>>7):a.e&=-17;if(153<c||e)a.i[0]-=96,a.e|=1;a.t=a.i[0];a.Q=7;a.ra=a.sa=0;a.l=196};
J[48]=K[48]=function(a){var c=z(a),e,f;192>c?(f=D(a,a.g(c)),e=a.memory.I(f)):e=a.i[c<<2&12|c>>2&1];e=Oa(a,e,a.i[c>>1&12|c>>5&1],7);192>c?a.memory.N(f,e):a.i[c<<2&12|c>>2&1]=e};J[49]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];e=Oa(a,e,a.c[c>>2&14],15);192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e};
K[49]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];e=Oa(a,e,a.a[c>>3&7],31);192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=e};J[50]=K[50]=function(a){var c=z(a),e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];a.i[c>>1&12|c>>5&1]=Oa(a,a.i[c>>1&12|c>>5&1],e,7)};J[51]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=Oa(a,a.c[c>>2&14],e,15)};
K[51]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=Oa(a,a.a[c>>3&7],e,31)};J[52]=K[52]=function(a){a.i[0]=Oa(a,a.i[0],z(a),7)};J[53]=function(a){a.c[0]=Oa(a,a.c[0],u(a),15)};K[53]=function(a){a.a[0]=Oa(a,a.a[0],x(a),31)};J[54]=K[54]=function(a){tc(a,2)};J[55]=K[55]=function(a){9<(a.i[0]&15)||uc(a)?(a.c[0]+=6,a.i[1]+=1,a.e|=17):a.e&=-18;a.i[0]&=15;a.l&=-18};J[56]=K[56]=function(a){var c=z(a),e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];a.sub(e,a.i[c>>1&12|c>>5&1],7)};
J[57]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.sub(e,a.c[c>>2&14],15)};K[57]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.sub(e,a.a[c>>3&7],31)};J[58]=K[58]=function(a){var c=z(a),e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];a.sub(a.i[c>>1&12|c>>5&1],e,7)};J[59]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.sub(a.c[c>>2&14],e,15)};K[59]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.sub(a.a[c>>3&7],e,31)};J[60]=K[60]=function(a){a.sub(a.i[0],z(a),7)};
J[61]=function(a){a.sub(a.c[0],u(a),15)};K[61]=function(a){a.sub(a.a[0],x(a),31)};J[62]=K[62]=function(a){tc(a,3)};J[63]=K[63]=function(a){9<(a.i[0]&15)||uc(a)?(a.c[0]-=6,--a.i[1],a.e|=17):a.e&=-18;a.i[0]&=15;a.l&=-18};J[64]=function(a){a.c[0]=Fa(a,a.c[0],15)};K[64]=function(a){a.a[0]=Fa(a,a.a[0],31)};J[65]=function(a){a.c[2]=Fa(a,a.c[2],15)};K[65]=function(a){a.a[1]=Fa(a,a.a[1],31)};J[66]=function(a){a.c[4]=Fa(a,a.c[4],15)};K[66]=function(a){a.a[2]=Fa(a,a.a[2],31)};
J[67]=function(a){a.c[6]=Fa(a,a.c[6],15)};K[67]=function(a){a.a[3]=Fa(a,a.a[3],31)};J[68]=function(a){a.c[8]=Fa(a,a.c[8],15)};K[68]=function(a){a.a[4]=Fa(a,a.a[4],31)};J[69]=function(a){a.c[10]=Fa(a,a.c[10],15)};K[69]=function(a){a.a[5]=Fa(a,a.a[5],31)};J[70]=function(a){a.c[12]=Fa(a,a.c[12],15)};K[70]=function(a){a.a[6]=Fa(a,a.a[6],31)};J[71]=function(a){a.c[14]=Fa(a,a.c[14],15)};K[71]=function(a){a.a[7]=Fa(a,a.a[7],31)};J[72]=function(a){a.c[0]=Ga(a,a.c[0],15)};
K[72]=function(a){a.a[0]=Ga(a,a.a[0],31)};J[73]=function(a){a.c[2]=Ga(a,a.c[2],15)};K[73]=function(a){a.a[1]=Ga(a,a.a[1],31)};J[74]=function(a){a.c[4]=Ga(a,a.c[4],15)};K[74]=function(a){a.a[2]=Ga(a,a.a[2],31)};J[75]=function(a){a.c[6]=Ga(a,a.c[6],15)};K[75]=function(a){a.a[3]=Ga(a,a.a[3],31)};J[76]=function(a){a.c[8]=Ga(a,a.c[8],15)};K[76]=function(a){a.a[4]=Ga(a,a.a[4],31)};J[77]=function(a){a.c[10]=Ga(a,a.c[10],15)};K[77]=function(a){a.a[5]=Ga(a,a.a[5],31)};
J[78]=function(a){a.c[12]=Ga(a,a.c[12],15)};K[78]=function(a){a.a[6]=Ga(a,a.a[6],31)};J[79]=function(a){a.c[14]=Ga(a,a.c[14],15)};K[79]=function(a){a.a[7]=Ga(a,a.a[7],31)};J[80]=function(a){O(a,a.c[0])};K[80]=function(a){P(a,a.a[0])};J[81]=function(a){O(a,a.c[2])};K[81]=function(a){P(a,a.a[1])};J[82]=function(a){O(a,a.c[4])};K[82]=function(a){P(a,a.a[2])};J[83]=function(a){O(a,a.c[6])};K[83]=function(a){P(a,a.a[3])};J[84]=function(a){O(a,a.c[8])};K[84]=function(a){P(a,a.a[4])};
J[85]=function(a){O(a,a.c[10])};K[85]=function(a){P(a,a.a[5])};J[86]=function(a){O(a,a.c[12])};K[86]=function(a){P(a,a.a[6])};J[87]=function(a){O(a,a.c[14])};K[87]=function(a){P(a,a.a[7])};J[88]=function(a){a.c[0]=vc(a)};K[88]=function(a){a.a[0]=S(a)};J[89]=function(a){a.c[2]=vc(a)};K[89]=function(a){a.a[1]=S(a)};J[90]=function(a){a.c[4]=vc(a)};K[90]=function(a){a.a[2]=S(a)};J[91]=function(a){a.c[6]=vc(a)};K[91]=function(a){a.a[3]=S(a)};J[92]=function(a){a.c[8]=vc(a)};K[92]=function(a){a.a[4]=S(a)};
J[93]=function(a){a.c[10]=vc(a)};K[93]=function(a){a.a[5]=S(a)};J[94]=function(a){a.c[12]=vc(a)};K[94]=function(a){a.a[6]=S(a)};J[95]=function(a){a.c[14]=vc(a)};K[95]=function(a){a.a[7]=S(a)};J[96]=function(a){var c=a.c[8];D(a,a.w[2]+c-15|0);O(a,a.c[0]);O(a,a.c[2]);O(a,a.c[4]);O(a,a.c[6]);O(a,c);O(a,a.c[10]);O(a,a.c[12]);O(a,a.c[14])};K[96]=function(a){var c=a.a[4];D(a,a.w[2]+c-31|0);P(a,a.a[0]);P(a,a.a[1]);P(a,a.a[2]);P(a,a.a[3]);P(a,c);P(a,a.a[5]);P(a,a.a[6]);P(a,a.a[7])};
J[97]=function(a){Db(a,a.w[2]+a.s[a.u]+15|0);a.c[14]=vc(a);a.c[12]=vc(a);a.c[10]=vc(a);a.s[a.u]+=2;a.c[6]=vc(a);a.c[4]=vc(a);a.c[2]=vc(a);a.c[0]=vc(a)};K[97]=function(a){Db(a,a.w[2]+a.s[a.u]+31|0);a.a[7]=S(a);a.a[6]=S(a);a.a[5]=S(a);a.s[a.u]+=4;a.a[3]=S(a);a.a[2]=S(a);a.a[1]=S(a);a.a[0]=S(a)};J[98]=K[98]=function(){};
J[99]=K[99]=function(a){var c=z(a);if(a.ca&&!wc(a)){var e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];var k=c>>2&14;a.l&=-65;(e&3)<(a.c[k]&3)?(a.e|=64,e=e&-4|a.c[k]&3):a.e&=-65;192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e}else U(a)};J[100]=K[100]=function(a){tc(a,4)};J[101]=K[101]=function(a){tc(a,5)};J[102]=function(a){a.La=!0;a.table=a.ud;xc(a);a.La=a.qa;za(a)};K[102]=function(a){a.La=!1;a.table=a.td;xc(a);a.La=a.qa;za(a)};
J[103]=K[103]=function(a){a.ib=!a.qa;ya(a);xc(a);a.ib=a.qa;ya(a)};J[104]=function(a){O(a,u(a))};K[104]=function(a){P(a,x(a))};J[105]=function(a){var c=z(a),e=192>c?F(a,a.g(c))<<16>>16:a.da[c<<1&14];a.c[c>>2&14]=Ia(a,u(a)<<16>>16,e)};K[105]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=Ja(a,x(a),e)};J[106]=function(a){O(a,t(a))};K[106]=function(a){P(a,t(a))};J[107]=function(a){var c=z(a),e=192>c?F(a,a.g(c))<<16>>16:a.da[c<<1&14];a.c[c>>2&14]=Ia(a,t(a),e)};
K[107]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=Ja(a,t(a),e)};J[108]=K[108]=function(a){bc(a)};J[109]=function(a){ec(a)};K[109]=function(a){gc(a)};J[110]=K[110]=function(a){ic(a)};J[111]=function(a){kc(a)};K[111]=function(a){mc(a)};J[112]=K[112]=function(a){a.Qa()&&(a.k=a.k+t(a)|0);a.k++;a.F=!0};J[113]=K[113]=function(a){a.Qa()||(a.k=a.k+t(a)|0);a.k++;a.F=!0};J[114]=K[114]=function(a){a.wa()&&(a.k=a.k+t(a)|0);a.k++;a.F=!0};
J[115]=K[115]=function(a){a.wa()||(a.k=a.k+t(a)|0);a.k++;a.F=!0};J[116]=K[116]=function(a){a.ya()&&(a.k=a.k+t(a)|0);a.k++;a.F=!0};J[117]=K[117]=function(a){a.ya()||(a.k=a.k+t(a)|0);a.k++;a.F=!0};J[118]=K[118]=function(a){yc(a)&&(a.k=a.k+t(a)|0);a.k++;a.F=!0};J[119]=K[119]=function(a){yc(a)||(a.k=a.k+t(a)|0);a.k++;a.F=!0};J[120]=K[120]=function(a){a.Ra()&&(a.k=a.k+t(a)|0);a.k++;a.F=!0};J[121]=K[121]=function(a){a.Ra()||(a.k=a.k+t(a)|0);a.k++;a.F=!0};
J[122]=K[122]=function(a){a.xa()&&(a.k=a.k+t(a)|0);a.k++;a.F=!0};J[123]=K[123]=function(a){a.xa()||(a.k=a.k+t(a)|0);a.k++;a.F=!0};J[124]=K[124]=function(a){zc(a)&&(a.k=a.k+t(a)|0);a.k++;a.F=!0};J[125]=K[125]=function(a){zc(a)||(a.k=a.k+t(a)|0);a.k++;a.F=!0};J[126]=K[126]=function(a){Ac(a)&&(a.k=a.k+t(a)|0);a.k++;a.F=!0};J[127]=K[127]=function(a){Ac(a)||(a.k=a.k+t(a)|0);a.k++;a.F=!0};
J[128]=K[128]=function(a){var c=z(a);if(56===(c&56)){var e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];a.sub(e,z(a),7)}else{var f,g,k;192>c?(g=D(a,a.g(c)),e=a.memory.I(g)):e=a.i[c<<2&12|c>>2&1];k=0;f=z(a);switch(c>>3&7){case 0:k=a.add(e,f,7);break;case 1:k=Na(a,e,f,7);break;case 2:k=Ca(a,e,f,7);break;case 3:k=Da(a,e,f,7);break;case 4:k=A(a,e,f,7);break;case 5:k=a.sub(e,f,7);break;case 6:k=Oa(a,e,f,7);break;case 7:k=Bc.bind(this,0)(e,f)}192>c?a.memory.N(g,k):a.i[c<<2&12|c>>2&1]=k}};
J[129]=function(a){var c=z(a);if(56===(c&56)){var e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.sub(e,u(a),15)}else{var f,g,k=0,l;192>c?(e=a.g(c),g=D(a,e),a.A&&4095===(e&4095)?(k=D(a,e+1),e=oc(a,g,k)):e=a.memory.G(g)):e=a.c[c<<1&14];l=0;f=u(a);switch(c>>3&7){case 0:l=a.add(e,f,15);break;case 1:l=Na(a,e,f,15);break;case 2:l=Ca(a,e,f,15);break;case 3:l=Da(a,e,f,15);break;case 4:l=A(a,e,f,15);break;case 5:l=a.sub(e,f,15);break;case 6:l=Oa(a,e,f,15);break;case 7:l=Bc.bind(this,0)(e,f)}192>c?k?pc(a,g,k,l):a.memory.W(g,
l):a.c[c<<1&14]=l}};
K[129]=function(a){var c=z(a);if(56===(c&56)){var e=192>c?H(a,a.g(c)):a.a[c&7];a.sub(e,x(a),31)}else{var f,g,k=0,l;192>c?(e=a.g(c),g=D(a,e),a.A&&4093<=(e&4095)?(k=D(a,e+3),e=qc(a,g,k)):e=N(a.memory,g)):e=a.a[c&7];l=0;f=x(a);switch(c>>3&7){case 0:l=a.add(e,f,31);break;case 1:l=Na(a,e,f,31);break;case 2:l=Ca(a,e,f,31);break;case 3:l=Da(a,e,f,31);break;case 4:l=A(a,e,f,31);break;case 5:l=a.sub(e,f,31);break;case 6:l=Oa(a,e,f,31);break;case 7:l=Bc.bind(this,0)(e,f)}192>c?k?rc(a,g,k,l):a.memory.X(g,l):
a.a[c&7]=l}};J[130]=K[130]=function(a){a.table[128](a)};
J[131]=function(a){var c=z(a);if(56===(c&56)){var e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.sub(e,t(a),15)}else{var f,g,k=0,l;192>c?(e=a.g(c),g=D(a,e),a.A&&4095===(e&4095)?(k=D(a,e+1),e=oc(a,g,k)):e=a.memory.G(g)):e=a.c[c<<1&14];l=0;f=t(a);switch(c>>3&7){case 0:l=a.add(e,f,15);break;case 1:l=Na(a,e,f,15);break;case 2:l=Ca(a,e,f,15);break;case 3:l=Da(a,e,f,15);break;case 4:l=A(a,e,f,15);break;case 5:l=a.sub(e,f,15);break;case 6:l=Oa(a,e,f,15);break;case 7:l=Bc.bind(this,0)(e,f)}192>c?k?pc(a,g,k,l):a.memory.W(g,
l):a.c[c<<1&14]=l}};
K[131]=function(a){var c=z(a);if(56===(c&56)){var e=192>c?H(a,a.g(c)):a.a[c&7];a.sub(e,t(a),31)}else{var f,g,k=0,l;192>c?(e=a.g(c),g=D(a,e),a.A&&4093<=(e&4095)?(k=D(a,e+3),e=qc(a,g,k)):e=N(a.memory,g)):e=a.a[c&7];l=0;f=t(a);switch(c>>3&7){case 0:l=a.add(e,f,31);break;case 1:l=Na(a,e,f,31);break;case 2:l=Ca(a,e,f,31);break;case 3:l=Da(a,e,f,31);break;case 4:l=A(a,e,f,31);break;case 5:l=a.sub(e,f,31);break;case 6:l=Oa(a,e,f,31);break;case 7:l=Bc.bind(this,0)(e,f)}192>c?k?rc(a,g,k,l):a.memory.X(g,l):
a.a[c&7]=l}};J[132]=K[132]=function(a){var c=z(a),e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];A(a,e,a.i[c>>1&12|c>>5&1],7)};J[133]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];A(a,e,a.c[c>>2&14],15)};K[133]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];A(a,e,a.a[c>>3&7],31)};J[134]=K[134]=function(a){var c=z(a),e,f;192>c?(f=D(a,a.g(c)),e=a.memory.I(f)):e=a.i[c<<2&12|c>>2&1];var g=c>>1&12|c>>5&1,k=a.i[g];a.i[g]=e;192>c?a.memory.N(f,k):a.i[c<<2&12|c>>2&1]=k};
J[135]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];var k=c>>2&14,l=a.c[k];a.c[k]=e;192>c?g?pc(a,f,g,l):a.memory.W(f,l):a.c[c<<1&14]=l};K[135]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];var k=c>>3&7,l=a.a[k];a.a[k]=e;192>c?g?rc(a,f,g,l):a.memory.X(f,l):a.a[c&7]=l};
J[136]=K[136]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=a.i[c>>1&12|c>>5&1];192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};J[137]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=a.c[c>>2&14];192>c?E(a,e,f):a.c[c<<1&14]=f};K[137]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=a.a[c>>3&7];192>c?G(a,e,f):a.cb[c&7]=f};J[138]=K[138]=function(a){var c=z(a),e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];a.i[c>>1&12|c>>5&1]=e};J[139]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=e};
K[139]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=e};J[140]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=a.J[c>>3&7];192>c?E(a,e,f):a.c[c<<1&14]=f};K[140]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=a.J[c>>3&7];192>c?G(a,e,f):a.cb[c&7]=f};J[141]=function(a){var c=z(a);192<=c&&U(a);a.Ga=9;a.c[(c>>3&7)<<1]=a.g(c);a.Ga=-1};K[141]=function(a){var c=z(a);192<=c&&U(a);a.Ga=9;a.a[c>>3&7]=a.g(c);a.Ga=-1};
J[142]=K[142]=function(a){var c=z(a),e=c>>3&7,c=192>c?F(a,a.g(c)):a.c[c<<1&14];Q(a,e,c)};J[143]=function(a){var c=z(a),e=F(a,sc(a,0));a.s[a.u]+=2;192>c?(c=a.g(c),a.s[a.u]-=2,E(a,c,e),a.s[a.u]+=2):a.c[c<<1&14]=e};K[143]=function(a){var c=z(a),e=H(a,sc(a,0));a.s[a.u]+=4;192>c?(c=a.g(c),a.s[a.u]-=4,G(a,c,e),a.s[a.u]+=4):a.a[c&7]=e};J[144]=K[144]=function(){};J[145]=function(a){Dc(a,2)};K[145]=function(a){Ec(a,1)};J[146]=function(a){Dc(a,4)};K[146]=function(a){Ec(a,2)};J[147]=function(a){Dc(a,6)};
K[147]=function(a){Ec(a,3)};J[148]=function(a){Dc(a,8)};K[148]=function(a){Ec(a,4)};J[149]=function(a){Dc(a,10)};K[149]=function(a){Ec(a,5)};J[150]=function(a){Dc(a,12)};K[150]=function(a){Ec(a,6)};J[151]=function(a){Dc(a,14)};K[151]=function(a){Ec(a,7)};J[152]=function(a){a.c[0]=a.tb[0]};K[152]=function(a){a.a[0]=a.da[0]};J[153]=function(a){a.c[4]=a.da[0]>>15};K[153]=function(a){a.a[2]=a.a[0]>>31};
J[154]=function(a){var c=u(a),e=u(a);Fc(a,sc(a,-4),4);O(a,a.J[1]);O(a,Gc(a));Q(a,1,e);a.k=a.w[1]+c|0;a.F=!0};K[154]=function(a){var c=x(a),e=u(a);if((!a.ca||wc(a))&&c&4294901760)throw a.debug.L("#GP handler");Fc(a,sc(a,-8),8);P(a,a.J[1]);P(a,Gc(a));Q(a,1,e);a.k=a.w[1]+c|0;a.F=!0};J[155]=K[155]=function(a){10===(a.r[0]&10)&&Hc(a)};J[156]=function(a){a.e&131072&&3>Ic(a)?V(a,0):(Jc(a),O(a,a.e))};K[156]=function(a){a.e&131072&&3>Ic(a)?V(a,0):(Jc(a),P(a,a.e&16580607))};
J[157]=function(a){a.e&131072&&3>Ic(a)&&V(a,0);Kc(a,a.e&-65536|vc(a));Lc(a)};K[157]=function(a){a.e&131072&&3>Ic(a)&&V(a,0);Kc(a,S(a));Lc(a)};J[158]=K[158]=function(a){a.e=a.e&-256|a.i[1];a.e=a.e&4161493|2;a.l=0};J[159]=K[159]=function(a){Jc(a);a.i[1]=a.e};J[160]=K[160]=function(a){var c=B(a,Mc(a));a.i[0]=c};J[161]=function(a){var c=F(a,Mc(a));a.c[0]=c};K[161]=function(a){var c=H(a,Mc(a));a.a[0]=c};J[162]=K[162]=function(a){Cc(a,Mc(a),a.i[0])};J[163]=function(a){E(a,Mc(a),a.c[0])};
K[163]=function(a){G(a,Mc(a),a.a[0])};J[164]=K[164]=function(a){Eb(a)};J[165]=function(a){Fb(a)};K[165]=function(a){Ib(a)};J[166]=K[166]=function(a){Mb(a)};J[167]=function(a){Rb(a)};K[167]=function(a){Sb(a)};J[168]=K[168]=function(a){A(a,a.i[0],z(a),7)};J[169]=function(a){A(a,a.c[0],u(a),15)};K[169]=function(a){A(a,a.a[0],x(a),31)};J[170]=K[170]=function(a){Tb(a)};J[171]=function(a){Ub(a)};K[171]=function(a){Vb(a)};J[172]=K[172]=function(a){Wb(a)};J[173]=function(a){Xb(a)};K[173]=function(a){Yb(a)};
J[174]=K[174]=function(a){Zb(a)};J[175]=function(a){$b(a)};K[175]=function(a){ac(a)};J[176]=K[176]=function(a){a.i[0]=z(a)};J[177]=K[177]=function(a){a.i[4]=z(a)};J[178]=K[178]=function(a){a.i[8]=z(a)};J[179]=K[179]=function(a){a.i[12]=z(a)};J[180]=K[180]=function(a){a.i[1]=z(a)};J[181]=K[181]=function(a){a.i[5]=z(a)};J[182]=K[182]=function(a){a.i[9]=z(a)};J[183]=K[183]=function(a){a.i[13]=z(a)};J[184]=function(a){a.c[0]=u(a)};K[184]=function(a){a.a[0]=x(a)};J[185]=function(a){a.c[2]=u(a)};
K[185]=function(a){a.a[1]=x(a)};J[186]=function(a){a.c[4]=u(a)};K[186]=function(a){a.a[2]=x(a)};J[187]=function(a){a.c[6]=u(a)};K[187]=function(a){a.a[3]=x(a)};J[188]=function(a){a.c[8]=u(a)};K[188]=function(a){a.a[4]=x(a)};J[189]=function(a){a.c[10]=u(a)};K[189]=function(a){a.a[5]=x(a)};J[190]=function(a){a.c[12]=u(a)};K[190]=function(a){a.a[6]=x(a)};J[191]=function(a){a.c[14]=u(a)};K[191]=function(a){a.a[7]=x(a)};
J[192]=K[192]=function(a){var c=z(a),e,f,g,k;192>c?(g=D(a,a.g(c)),f=a.memory.I(g)):f=a.i[c<<2&12|c>>2&1];k=0;e=z(a)&31;switch(c>>3&7){case 0:k=Qa(a,f,e);break;case 1:k=Wa(a,f,e);break;case 2:k=Ta(a,f,e);break;case 3:k=$a(a,f,e);break;case 4:k=cb(a,f,e);break;case 5:k=gb(a,f,e);break;case 6:k=cb(a,f,e);break;case 7:k=jb(a,f,e)}192>c?a.memory.N(g,k):a.i[c<<2&12|c>>2&1]=k};
J[193]=function(a){var c=z(a),e,f,g,k=0,l;192>c?(e=a.g(c),g=D(a,e),a.A&&4095===(e&4095)?(k=D(a,e+1),f=oc(a,g,k)):f=a.memory.G(g)):f=a.c[c<<1&14];l=0;e=z(a)&31;switch(c>>3&7){case 0:l=Ra(a,f,e);break;case 1:l=Ya(a,f,e);break;case 2:l=Ua(a,f,e);break;case 3:l=ab(a,f,e);break;case 4:l=db(a,f,e);break;case 5:l=hb(a,f,e);break;case 6:l=db(a,f,e);break;case 7:l=kb(a,f,e)}192>c?k?pc(a,g,k,l):a.memory.W(g,l):a.c[c<<1&14]=l};
K[193]=function(a){var c=z(a),e,f,g,k=0,l;192>c?(e=a.g(c),g=D(a,e),a.A&&4093<=(e&4095)?(k=D(a,e+3),f=qc(a,g,k)):f=N(a.memory,g)):f=a.a[c&7];l=0;e=z(a)&31;switch(c>>3&7){case 0:l=Sa(a,f,e);break;case 1:l=Za(a,f,e);break;case 2:l=Va(a,f,e);break;case 3:l=bb(a,f,e);break;case 4:l=eb(a,f,e);break;case 5:l=ib(a,f,e);break;case 6:l=eb(a,f,e);break;case 7:l=lb(a,f,e)}192>c?k?rc(a,g,k,l):a.memory.X(g,l):a.a[c&7]=l};J[194]=function(a){var c=u(a);a.k=a.w[1]+vc(a)|0;a.s[a.u]+=c;a.F=!0};
K[194]=function(a){var c=u(a);a.k=a.w[1]+S(a)|0;a.s[a.u]+=c;a.F=!0};J[195]=function(a){a.k=a.w[1]+vc(a)|0;a.F=!0};K[195]=function(a){a.k=a.w[1]+S(a)|0;a.F=!0};J[196]=function(a){var c=z(a);192<=c&&U(a);Nc(a,0,a.g(c),c>>2&14)};K[196]=function(a){var c=z(a);192<=c&&U(a);Oc(a,0,a.g(c),c>>3&7)};J[197]=function(a){var c=z(a);192<=c&&U(a);Nc(a,3,a.g(c),c>>2&14)};K[197]=function(a){var c=z(a);192<=c&&U(a);Oc(a,3,a.g(c),c>>3&7)};
J[198]=K[198]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=z(a);192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};J[199]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=u(a);192>c?E(a,e,f):a.c[c<<1&14]=f};K[199]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=x(a);192>c?G(a,e,f):a.cb[c&7]=f};J[200]=function(a){var c=u(a),e=z(a)&31,f,g;O(a,a.c[10]);f=a.c[8];if(0<e){g=a.c[5];for(var k=1;k<e;k++)g-=2,O(a,F(a,a.w[2]+g|0));O(a,f)}a.c[10]=f;a.c[8]-=c};
K[200]=function(a){var c=u(a),e=z(a)&31,f,g;P(a,a.a[5]);f=a.a[4];if(0<e){g=a.a[5];for(var k=1;k<e;k++)g-=4,P(a,H(a,a.w[2]+g|0));P(a,f)}a.a[5]=f;a.a[4]-=c};J[201]=function(a){a.s[a.u]=a.s[a.ub];a.c[10]=vc(a)};K[201]=function(a){a.s[a.u]=a.s[a.ub];a.a[5]=S(a)};J[202]=function(a){Db(a,a.w[2]+a.s[a.u]+4);var c=u(a),e=vc(a);Q(a,1,vc(a));a.k=a.w[1]+e|0;a.s[a.u]+=c;a.F=!0};K[202]=function(a){Db(a,a.w[2]+a.s[a.u]+8);var c=u(a),e=S(a);Q(a,1,S(a)&65535);a.k=a.w[1]+e|0;a.s[a.u]+=c;a.F=!0};
J[203]=function(a){Db(a,a.w[2]+a.s[a.u]+4);var c=vc(a);Q(a,1,vc(a));a.k=a.w[1]+c|0;a.F=!0};K[203]=function(a){Db(a,a.w[2]+a.s[a.u]+8);var c=S(a);Q(a,1,S(a)&65535);a.k=a.w[1]+c|0;a.F=!0};J[204]=K[204]=function(a){Pc(a,3,!0,!1)};J[205]=K[205]=function(a){var c=z(a);Pc(a,c,!0,!1)};J[206]=K[206]=function(a){a.fc()&&Pc(a,4,!0,!1)};
J[207]=function(a){if(!a.ca||wc(a)&&3===Ic(a)){var c=vc(a),e=vc(a),f=vc(a);Q(a,1,e);a.k=c+a.w[1]|0;Kc(a,a.e&-65536|f);Lc(a)}else throw wc(a)&&V(a,0),a.debug.L("16 bit iret in protected mode");a.F=!0};
K[207]=function(a){a:if(!a.ca||wc(a)&&3===Ic(a)){var c=S(a);if(c&4294901760)throw a.debug.L("#GP handler");Q(a,1,S(a)&65535);var e=S(a);a.k=c+a.w[1]|0;Kc(a,e);Lc(a)}else{wc(a)&&V(a,0);a.k=S(a);a.J[1]=S(a);e=S(a);if(e&131072){if(0===a.K){Kc(a,e);a.e|=131072;Q(a,1,a.J[1]);a.k=(a.k&65535)+a.w[1]|0;var c=S(a),f=S(a);Q(a,0,S(a)&65535);Q(a,3,S(a)&65535);Q(a,4,S(a)&65535);Q(a,5,S(a)&65535);a.a[4]=c;Q(a,2,f&65535);a.K=3;a.Ka=-1;Qc(a,!1);break a}e&=-131073}var g=Rc(a,a.J[1]);if(g.ab)throw a.debug.L("is null");
if(!g.kb)throw a.debug.L("not present");if(!g.Bb)throw a.debug.L("not exec");if(g.vb<a.K)throw a.debug.L("rpl < cpl");if(g.yb&&g.ja>g.vb)throw a.debug.L("conforming and dpl > rpl");g.vb>a.K?(c=S(a),f=S(a),a.a[4]=c,Kc(a,e),a.K||(a.e=a.e&-1572865|e&1572864),a.K=g.vb,a.Ka=-1,Q(a,2,f&65535)):(Kc(a,e),a.K||(a.e=a.e&-1572865|e&1572864));g.size!==a.qa&&Qc(a,g.size);a.va[1]=g.zb;a.w[1]=g.Ib;a.k=a.k+a.w[1]|0;Lc(a);a.F=!0}};
J[208]=K[208]=function(a){var c=z(a),e,f,g;192>c?(f=D(a,a.g(c)),e=a.memory.I(f)):e=a.i[c<<2&12|c>>2&1];g=0;switch(c>>3&7){case 0:g=Qa(a,e,1);break;case 1:g=Wa(a,e,1);break;case 2:g=Ta(a,e,1);break;case 3:g=$a(a,e,1);break;case 4:g=cb(a,e,1);break;case 5:g=gb(a,e,1);break;case 6:g=cb(a,e,1);break;case 7:g=jb(a,e,1)}192>c?a.memory.N(f,g):a.i[c<<2&12|c>>2&1]=g};
J[209]=function(a){var c=z(a),e,f,g=0,k;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];k=0;switch(c>>3&7){case 0:k=Ra(a,e,1);break;case 1:k=Ya(a,e,1);break;case 2:k=Ua(a,e,1);break;case 3:k=ab(a,e,1);break;case 4:k=db(a,e,1);break;case 5:k=hb(a,e,1);break;case 6:k=db(a,e,1);break;case 7:k=kb(a,e,1)}192>c?g?pc(a,f,g,k):a.memory.W(f,k):a.c[c<<1&14]=k};
K[209]=function(a){var c=z(a),e,f,g=0,k;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];k=0;switch(c>>3&7){case 0:k=Sa(a,e,1);break;case 1:k=Za(a,e,1);break;case 2:k=Va(a,e,1);break;case 3:k=bb(a,e,1);break;case 4:k=eb(a,e,1);break;case 5:k=ib(a,e,1);break;case 6:k=eb(a,e,1);break;case 7:k=lb(a,e,1)}192>c?g?rc(a,f,g,k):a.memory.X(f,k):a.a[c&7]=k};
J[210]=K[210]=function(a){var c=z(a),e,f,g,k;192>c?(g=D(a,a.g(c)),f=a.memory.I(g)):f=a.i[c<<2&12|c>>2&1];k=0;e=a.i[4]&31;switch(c>>3&7){case 0:k=Qa(a,f,e);break;case 1:k=Wa(a,f,e);break;case 2:k=Ta(a,f,e);break;case 3:k=$a(a,f,e);break;case 4:k=cb(a,f,e);break;case 5:k=gb(a,f,e);break;case 6:k=cb(a,f,e);break;case 7:k=jb(a,f,e)}192>c?a.memory.N(g,k):a.i[c<<2&12|c>>2&1]=k};
J[211]=function(a){var c=z(a),e,f,g,k=0,l;192>c?(e=a.g(c),g=D(a,e),a.A&&4095===(e&4095)?(k=D(a,e+1),f=oc(a,g,k)):f=a.memory.G(g)):f=a.c[c<<1&14];l=0;e=a.i[4]&31;switch(c>>3&7){case 0:l=Ra(a,f,e);break;case 1:l=Ya(a,f,e);break;case 2:l=Ua(a,f,e);break;case 3:l=ab(a,f,e);break;case 4:l=db(a,f,e);break;case 5:l=hb(a,f,e);break;case 6:l=db(a,f,e);break;case 7:l=kb(a,f,e)}192>c?k?pc(a,g,k,l):a.memory.W(g,l):a.c[c<<1&14]=l};
K[211]=function(a){var c=z(a),e,f,g,k=0,l;192>c?(e=a.g(c),g=D(a,e),a.A&&4093<=(e&4095)?(k=D(a,e+3),f=qc(a,g,k)):f=N(a.memory,g)):f=a.a[c&7];l=0;e=a.i[4]&31;switch(c>>3&7){case 0:l=Sa(a,f,e);break;case 1:l=Za(a,f,e);break;case 2:l=Va(a,f,e);break;case 3:l=bb(a,f,e);break;case 4:l=eb(a,f,e);break;case 5:l=ib(a,f,e);break;case 6:l=eb(a,f,e);break;case 7:l=lb(a,f,e)}192>c?k?rc(a,g,k,l):a.memory.X(g,l):a.a[c&7]=l};
J[212]=K[212]=function(a){var c=z(a);if(0===c)Sc(a);else{var e=a.i[0];a.i[1]=e/c;a.i[0]=e%c;a.t=a.i[0];a.l=196;a.e&=-2066}};J[213]=K[213]=function(a){var c=z(a);a.t=a.i[0]+a.i[1]*c&255;a.c[0]=a.t;a.Q=7;a.l=196;a.e&=-2066};J[214]=K[214]=function(a){a.i[0]=-a.ha()};J[215]=K[215]=function(a){a.i[0]=a.ib?B(a,Cb(a,3)+a.a[3]+a.i[0]):B(a,Cb(a,3)+a.c[6]+a.i[0])};
J[216]=K[216]=function(a){var c=z(a);a.r[0]&12&&Hc(a);if(192>c){var e=a.ga;a=a.g(c);c=c>>3&7;a=Tc(e,a);var f=Uc(e);switch(c){case 0:e.d[e.b]=f+a;break;case 1:e.d[e.b]=f*a;break;case 2:Vc(e,a);break;case 3:Vc(e,a);e.pop();break;case 4:e.d[e.b]=f-a;break;case 5:e.d[e.b]=a-f;break;case 6:e.d[e.b]=f/a;break;case 7:e.d[e.b]=a/f}}else switch(e=a.ga,a=c>>3&7,c=W(e,c&7),f=Uc(e),a){case 0:e.d[e.b]=f+c;break;case 1:e.d[e.b]=f*c;break;case 2:Vc(e,c);break;case 3:Vc(e,c);e.pop();break;case 4:e.d[e.b]=f-c;break;
case 5:e.d[e.b]=c-f;break;case 6:e.d[e.b]=f/c;break;case 7:e.d[e.b]=c/f}};
J[217]=K[217]=function(a){var c=z(a);a.r[0]&12&&Hc(a);if(192>c){var e=a.ga;a=a.g(c);switch(c>>3&7){case 0:c=Tc(e,a);e.push(c);break;case 1:Wc(e);break;case 2:c=Uc(e);e.H[0]=c;G(e.n,a,e.O[0]);break;case 3:c=Uc(e);e.H[0]=c;G(e.n,a,e.O[0]);e.pop();break;case 4:Xc(e,a);break;case 5:e.D=F(e.n,a);break;case 6:Yc(e,a);break;case 7:E(e.n,a,e.D)}}else switch(e=a.ga,a=c&7,c>>3&7){case 0:c=W(e,a);e.push(c);break;case 1:c=W(e,a);e.d[e.b+a&7]=Uc(e);e.d[e.b]=c;break;case 2:switch(a){case 0:break;default:Wc(e)}break;
case 3:Wc(e);break;case 4:c=Uc(e);switch(a){case 0:e.d[e.b]=-c;break;case 1:e.d[e.b]=Math.abs(c);break;case 4:e.h&=-18177;isNaN(c)?e.h|=17664:0===c?e.h|=16384:0>c&&(e.h|=256);break;case 5:e.h&=-18177;e.h|=e.sign(0)<<9;e.h=e.j>>e.b&1?e.h|16640:isNaN(c)?e.h|256:0===c?e.h|16384:Infinity===c||-Infinity===c?e.h|1280:e.h|1024;break;default:Wc(e)}break;case 5:e.push(e.ua[a]);break;case 6:c=Uc(e);switch(a){case 0:e.d[e.b]=Math.pow(2,c)-1;break;case 1:e.d[e.b+1&7]=W(e,1)*Math.log(c)/Math.LN2;e.pop();break;
case 2:e.d[e.b]=Math.tan(c);e.push(1);break;case 3:e.d[e.b+1&7]=Math.atan2(W(e,1),c);e.pop();break;case 4:Wc(e);break;case 5:e.d[e.b]=c%W(e,1);break;case 6:e.b=e.b-1&7;e.h&=-513;break;case 7:e.b=e.b+1&7,e.h&=-513}break;case 7:switch(c=Uc(e),a){case 0:e.d[e.b]=c%W(e,1);break;case 1:e.d[e.b+1&7]=W(e,1)*Math.log(c+1)/Math.LN2;e.pop();break;case 2:e.d[e.b]=Math.sqrt(c);break;case 3:e.d[e.b]=Math.sin(c);e.push(Math.cos(c));break;case 4:e.d[e.b]=Zc(e,c);break;case 5:e.d[e.b]=c*Math.pow(2,$c(W(e,1)));break;
case 6:e.d[e.b]=Math.sin(c);break;case 7:e.d[e.b]=Math.cos(c)}}};
J[218]=K[218]=function(a){var c=z(a);a.r[0]&12&&Hc(a);if(192>c){var e=a.ga;a=a.g(c);c=c>>3&7;a=H(e.n,a);var f=Uc(e);switch(c){case 0:e.d[e.b]=f+a;break;case 1:e.d[e.b]=f*a;break;case 2:Vc(e,a);break;case 3:Vc(e,a);e.pop();break;case 4:e.d[e.b]=f-a;break;case 5:e.d[e.b]=a-f;break;case 6:e.d[e.b]=f/a;break;case 7:e.d[e.b]=a/f}}else switch(e=a.ga,a=c&7,c>>3&7){case 0:e.n.wa()&&(e.d[e.b]=W(e,a),e.j&=~(1<<e.b));break;case 1:e.n.ya()&&(e.d[e.b]=W(e,a),e.j&=~(1<<e.b));break;case 2:yc(e.n)&&(e.d[e.b]=W(e,
a),e.j&=~(1<<e.b));break;case 3:e.n.xa()&&(e.d[e.b]=W(e,a),e.j&=~(1<<e.b));break;case 5:1===a?(c=W(e,1),Vc(e,c),e.pop(),e.pop()):Wc(e);break;default:Wc(e)}};
J[219]=K[219]=function(a){var c=z(a);a.r[0]&12&&Hc(a);if(192>c){var e=a.ga;a=a.g(c);switch(c>>3&7){case 0:c=H(e.n,a);e.push(c);break;case 2:c=Zc(e,Uc(e));2147483647>=c&&-2147483648<=c?G(e.n,a,c):(ad(e),G(e.n,a,-2147483648));break;case 3:c=Zc(e,Uc(e));2147483647>=c&&-2147483648<=c?G(e.n,a,c):(ad(e),G(e.n,a,-2147483648));e.pop();break;case 5:e.push(dd(e,a));break;case 7:Fc(e.n,a,10);ed(e,a,0);e.pop();break;default:Wc(e)}}else switch(e=a.ga,a=c&7,c>>3&7){case 0:e.n.wa()||(e.d[e.b]=W(e,a),e.j&=~(1<<e.b));
break;case 1:e.n.ya()||(e.d[e.b]=W(e,a),e.j&=~(1<<e.b));break;case 2:yc(e.n)||(e.d[e.b]=W(e,a),e.j&=~(1<<e.b));break;case 3:e.n.xa()||(e.d[e.b]=W(e,a),e.j&=~(1<<e.b));break;case 4:227===c?fd(e):228!==c&&225!==c&&(226===c?e.h=0:Wc(e));break;case 5:c=W(e,a);gd(e,c);break;case 6:gd(e,W(e,a));break;default:Wc(e)}};
J[220]=K[220]=function(a){var c=z(a);a.r[0]&12&&Hc(a);if(192>c){var e=a.ga,f=a.g(c);a=c>>3&7;c=hd(e,f);f=Uc(e);switch(a){case 0:e.d[e.b]=f+c;break;case 1:e.d[e.b]=f*c;break;case 2:Vc(e,c);break;case 3:Vc(e,c);e.pop();break;case 4:e.d[e.b]=f-c;break;case 5:e.d[e.b]=c-f;break;case 6:e.d[e.b]=f/c;break;case 7:e.d[e.b]=c/f}}else{e=a.ga;a=c>>3&7;var f=c&7,c=e.b+f&7,f=W(e,f),g=Uc(e);switch(a){case 0:e.d[c]=f+g;break;case 1:e.d[c]=f*g;break;case 2:Vc(e,f);break;case 3:Vc(e,f);e.pop();break;case 4:e.d[c]=
g-f;break;case 5:e.d[c]=f-g;break;case 6:e.d[c]=g/f;break;case 7:e.d[c]=f/g}}};
J[221]=K[221]=function(a){var c=z(a);a.r[0]&12&&Hc(a);if(192>c){var e=a.ga;a=a.g(c);switch(c>>3&7){case 0:c=hd(e,a);e.push(c);break;case 1:Wc(e);break;case 2:id(e,a);break;case 3:id(e,a);e.pop();break;case 4:c=a;Xc(e,c);c+=28;for(a=0;8>a;a++)e.d[a]=dd(e,c),c+=10;break;case 5:Wc(e);break;case 6:c=a;Fc(e.n,c,108);Yc(e,c);c+=28;for(a=0;8>a;a++)ed(e,c,a-e.b&7),c+=10;fd(e);break;case 7:E(e.n,a,e.h&-14337|e.b<<11)}}else switch(e=a.ga,a=c&7,c>>3&7){case 0:e.j|=1<<(e.b+a&7);break;case 2:e.d[e.b+a&7]=Uc(e);
break;case 3:0!==a&&(e.d[e.b+a&7]=Uc(e));e.pop();break;case 4:c=W(e,a);Vc(e,c);break;case 5:c=W(e,a);Vc(e,c);e.pop();break;default:Wc(e)}};
J[222]=K[222]=function(a){var c=z(a);a.r[0]&12&&Hc(a);if(192>c){var e=a.ga,f=a.g(c);a=c>>3&7;c=F(e.n,f)<<16>>16;f=Uc(e);switch(a){case 0:e.d[e.b]=f+c;break;case 1:e.d[e.b]=f*c;break;case 2:Vc(e,c);break;case 3:Vc(e,c);e.pop();break;case 4:e.d[e.b]=f-c;break;case 5:e.d[e.b]=c-f;break;case 6:e.d[e.b]=f/c;break;case 7:e.d[e.b]=c/f}}else{e=a.ga;a=c>>3&7;var c=c&7,f=e.b+c&7,g=W(e,c),k=Uc(e);switch(a){case 0:e.d[f]=g+k;break;case 1:e.d[f]=g*k;break;case 2:Vc(e,g);break;case 3:1===c?(Vc(e,e.d[f]),e.pop()):
Wc(e);break;case 4:e.d[f]=k-g;break;case 5:e.d[f]=g-k;break;case 6:e.d[f]=k/g;break;case 7:e.d[f]=g/k}e.pop()}};
J[223]=K[223]=function(a){var c=z(a);a.r[0]&12&&Hc(a);if(192>c){var e=a.ga;a=a.g(c);switch(c>>3&7){case 0:a=F(e.n,a)<<16>>16;e.push(a);break;case 1:Wc(e);break;case 2:c=Zc(e,Uc(e));32767>=c&&-32768<=c?E(e.n,a,c):(ad(e),E(e.n,a,32768));break;case 3:c=Zc(e,Uc(e));32767>=c&&-32768<=c?E(e.n,a,c):(ad(e),E(e.n,a,32768));e.pop();break;case 4:Wc(e);break;case 5:c=H(e.n,a)>>>0;a=H(e.n,a+4);e.push(c+4294967296*a);break;case 6:Wc(e);break;case 7:Fc(e.n,a,8);var c=Zc(e,Uc(e)),f,g;0x7fffffffffffffff>c&&-9223372036854775808<=
c?(f=c|0,g=c/4294967296|0,0===g&&0>c&&(g=-1)):(f=0,g=-2147483648,ad(e));G(e.n,a,f);G(e.n,a+4,g);e.pop()}}else switch(e=a.ga,a=c&7,c>>3&7){case 4:224===c?e.n.c[0]=e.h&-14337|e.b<<11:Wc(e);break;case 5:a=W(e,a);gd(e,a);e.pop();break;case 6:gd(e,W(e,a));e.pop();break;default:Wc(e)}};J[224]=K[224]=function(a){if(--a.P[a.Ma]&&!a.jb()){var c=t(a);a.k=a.k+c|0}else a.k++;a.F=!0};J[225]=K[225]=function(a){if(--a.P[a.Ma]&&a.jb()){var c=t(a);a.k=a.k+c|0}else a.k++;a.F=!0};J[226]=K[226]=function(a){a.loop()};
J[227]=K[227]=function(a){var c=t(a);0===a.P[a.Ma]&&(a.k=a.k+c|0);a.F=!0};J[228]=K[228]=function(a){var c=z(a);cc(a,c,1);a.i[0]=dc(a.p,c)};J[229]=function(a){var c=z(a);cc(a,c,2);a.c[0]=fc(a.p,c)};K[229]=function(a){var c=z(a);cc(a,c,4);a.a[0]=hc(a.p,c)};J[230]=K[230]=function(a){var c=z(a);cc(a,c,1);jc(a.p,c,a.i[0])};J[231]=function(a){var c=z(a);cc(a,c,2);lc(a.p,c,a.c[0])};K[231]=function(a){var c=z(a);cc(a,c,4);nc(a.p,c,a.a[0])};J[232]=function(a){var c=u(a)<<16>>16;O(a,Gc(a));jd(a,c);a.F=!0};
K[232]=function(a){var c=x(a);P(a,Gc(a));a.k=a.k+c|0;a.F=!0};J[233]=function(a){var c=u(a)<<16>>16;jd(a,c);a.F=!0};K[233]=function(a){var c=x(a);a.k=a.k+c|0;a.F=!0};J[234]=function(a){var c=u(a);Q(a,1,u(a));a.k=c+a.w[1]|0;a.F=!0};K[234]=function(a){var c=x(a);Q(a,1,u(a));a.k=c+a.w[1]|0;a.F=!0};J[235]=K[235]=function(a){var c=t(a);a.k=a.k+c|0;a.F=!0};J[236]=K[236]=function(a){var c=a.c[4];cc(a,c,1);a.i[0]=dc(a.p,c)};J[237]=function(a){var c=a.c[4];cc(a,c,2);a.c[0]=fc(a.p,c)};
K[237]=function(a){var c=a.c[4];cc(a,c,4);a.a[0]=hc(a.p,c)};J[238]=K[238]=function(a){var c=a.c[4];cc(a,c,1);jc(a.p,c,a.i[0])};J[239]=function(a){var c=a.c[4];cc(a,c,2);lc(a.p,c,a.c[0])};K[239]=function(a){var c=a.c[4];cc(a,c,4);nc(a.p,c,a.a[0])};J[240]=K[240]=function(a){xc(a)};J[241]=K[241]=function(a){throw a.debug.L("int1 instruction");};J[242]=K[242]=function(a){a.eb=1;xc(a);a.eb=0};J[243]=K[243]=function(a){a.eb=2;xc(a);a.eb=0};
J[244]=K[244]=function(a){a.K&&V(a,0);if(0===(a.e&512))throw a.debug.show("cpu halted"),"HALT";a.gc=!0;throw 233495534;};J[245]=K[245]=function(a){a.e=(a.e|1)^a.ha();a.l&=-2};
J[246]=K[246]=function(a){var c=z(a);switch(c>>3&7){case 0:var e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];A(a,e,z(a),7);break;case 1:e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];A(a,e,z(a),7);break;case 2:var f;192>c?(f=D(a,a.g(c)),e=a.memory.I(f)):e=a.i[c<<2&12|c>>2&1];e=~e;192>c?a.memory.N(f,e):a.i[c<<2&12|c>>2&1]=e;break;case 3:192>c?(f=D(a,a.g(c)),e=a.memory.I(f)):e=a.i[c<<2&12|c>>2&1];e=Ha(a,e,7);192>c?a.memory.N(f,e):a.i[c<<2&12|c>>2&1]=e;break;case 4:e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];c=e*a.i[0];
a.c[0]=c;a.e=256>c?a.e&-2050:a.e|2049;a.l=0;break;case 5:192>c?e=B(a,a.g(c))<<24>>24:e=a.tb[c<<2&12|c>>2&1];c=e*a.tb[0];a.c[0]=c;a.e=127<c||-128>c?a.e|2049:a.e&-2050;a.l=0;break;case 6:c=e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];f=a.c[0];e=f/c|0;256<=e||0===c?Sc(a):(a.i[0]=e,a.i[1]=f%c);break;case 7:192>c?e=B(a,a.g(c))<<24>>24:e=a.tb[c<<2&12|c>>2&1],c=e,f=a.da[0],e=f/c|0,128<=e||-129>=e||0===c?Sc(a):(a.i[0]=e,a.i[1]=f%c)}};
J[247]=function(a){var c=z(a);switch(c>>3&7){case 0:var e=192>c?F(a,a.g(c)):a.c[c<<1&14];A(a,e,u(a),15);break;case 1:e=192>c?F(a,a.g(c)):a.c[c<<1&14];A(a,e,u(a),15);break;case 2:var f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];e=~e;192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e;break;case 3:g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];e=Ha(a,e,15);192>c?g?pc(a,f,g,e):a.memory.W(f,
e):a.c[c<<1&14]=e;break;case 4:e=192>c?F(a,a.g(c)):a.c[c<<1&14];c=e*a.c[0];f=c>>>16;a.c[0]=c;a.c[4]=f;a.e=0===f?a.e&-2050:a.e|2049;a.l=0;break;case 5:192>c?e=F(a,a.g(c))<<16>>16:e=a.da[c<<1&14];c=e*a.da[0];a.c[0]=c;a.c[4]=c>>16;a.e=32767<c||-32768>c?a.e|2049:a.e&-2050;a.l=0;break;case 6:c=e=192>c?F(a,a.g(c)):a.c[c<<1&14];f=(a.c[0]|a.c[4]<<16)>>>0;g=f/c|0;65536<=g||0>g||0===c?Sc(a):(a.c[0]=g,a.c[4]=f%c);break;case 7:192>c?e=F(a,a.g(c))<<16>>16:e=a.da[c<<1&14],c=e,f=a.c[0]|a.c[4]<<16,g=f/c|0,32768<=
g||-32769>=g||0===c?Sc(a):(a.c[0]=g,a.c[4]=f%c)}};
K[247]=function(a){var c=z(a);switch(c>>3&7){case 0:var e=192>c?H(a,a.g(c)):a.a[c&7];A(a,e,x(a),31);break;case 1:e=192>c?H(a,a.g(c)):a.a[c&7];A(a,e,x(a),31);break;case 2:var f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];e=~e;192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=e;break;case 3:g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];e=Ha(a,e,31);192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=
e;break;case 4:192>c?e=H(a,a.g(c))>>>0:e=a.cb[c&7];f=a.a[0];c=f&65535;f=f>>>16;var k=e&65535,e=e>>>16,g=c*k,k=(g>>>16)+(f*k|0)|0,l=k>>>16,k=(k&65535)+(c*e|0)|0,l=((k>>>16)+(f*e|0)|0)+l|0;a.a[0]=k<<16|g&65535;a.a[2]=l;a.e=0===l?a.e&-2050:a.e|2049;a.l=0;break;case 5:g=e=192>c?H(a,a.g(c)):a.a[c&7];f=a.a[0];c=!1;0>f&&(c=!0,f=-f|0);0>g&&(c=!c,g=-g|0);e=f&65535;f=f>>>16;var l=g&65535,g=g>>>16,k=e*l,l=(k>>>16)+(f*l|0)|0,p=l>>>16,l=(l&65535)+(e*g|0)|0,k=l<<16|k&65535,p=((l>>>16)+(f*g|0)|0)+p|0;c&&(k=-k|0,
p=~p+!k|0);a.a[0]=k;a.a[2]=p;a.e=p===k>>31?a.e&-2050:a.e|2049;a.l=0;break;case 6:192>c?e=H(a,a.g(c))>>>0:e=a.cb[c&7];c=e;f=a.cb[0];g=a.cb[2];(g>=c||!c)&&Sc(a);e=0;if(1048576<g){k=32;for(l=c;l>g;)l>>>=1,k--;for(;1048576<g;)g>=l&&(g-=l,p=c<<k>>>0,p>f&&g--,f=f-p>>>0,e|=1<<k),k--,l>>=1;e>>>=0}f+=4294967296*g;g=f%c;e+=f/c|0;4294967296<=e||0===c?Sc(a):(a.a[0]=e,a.a[2]=g);break;case 7:c=e=192>c?H(a,a.g(c)):a.a[c&7];k=a.cb[0];l=a.a[2];f=e=!1;0>c&&(f=!0,c=-c);0>l&&(e=!0,f=!f,k=-k>>>0,l=~l+!k);(l>=c||!c)&&
Sc(a);g=0;if(1048576<l){for(var p=32,w=c;w>l;)w>>>=1,p--;for(;1048576<l;){if(l>=w){var l=l-w,y=c<<p>>>0;y>k&&l--;k=k-y>>>0;g|=1<<p}p--;w>>=1}g>>>=0}k+=4294967296*l;l=k%c;g+=k/c|0;f&&(g=-g|0);e&&(l=-l|0);2147483648<=g||-2147483649>=g||0===c?Sc(a):(a.a[0]=g,a.a[2]=l)}};J[248]=K[248]=function(a){a.e&=-2;a.l&=-2};J[249]=K[249]=function(a){a.e|=1;a.l&=-2};J[250]=K[250]=function(a){!a.ca||(a.e&131072?3===Ic(a):Ic(a)>=a.K)?a.e&=-513:3>Ic(a)&&(a.e&131072?a.r[4]&1:3===a.K&&a.r[4]&2)?a.e&=-524289:V(a,0)};
J[251]=K[251]=function(a){!a.ca||(a.e&131072?3===Ic(a):Ic(a)>=a.K)?(a.e|=512,kd(a),Lc(a)):3>Ic(a)&&0===(a.e&1048576)&&(a.e&131072?a.r[4]&1:3===a.K&&a.r[4]&2)?a.e|=524288:V(a,0)};J[252]=K[252]=function(a){a.e&=-1025};J[253]=K[253]=function(a){a.e|=1024};
J[254]=K[254]=function(a){var c=z(a),e=c&56;if(0===e){var f;192>c?(f=D(a,a.g(c)),e=a.memory.I(f)):e=a.i[c<<2&12|c>>2&1];e=Fa(a,e,7);192>c?a.memory.N(f,e):a.i[c<<2&12|c>>2&1]=e}else 8===e?(192>c?(f=D(a,a.g(c)),e=a.memory.I(f)):e=a.i[c<<2&12|c>>2&1],e=Ga(a,e,7),192>c?a.memory.N(f,e):a.i[c<<2&12|c>>2&1]=e):U(a)};
J[255]=function(a){var c=z(a);switch(c>>3&7){case 0:var e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];e=Fa(a,e,15);192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e;break;case 1:g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];e=Ga(a,e,15);192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e;break;case 2:e=192>c?F(a,a.g(c)):a.c[c<<1&14];O(a,Gc(a));a.k=a.w[1]+e|0;a.F=!0;break;case 3:192<=
c&&U(a);e=a.g(c);c=F(a,e+2);f=F(a,e);Fc(a,sc(a,-4),4);O(a,a.J[1]);O(a,Gc(a));Q(a,1,c);a.k=a.w[1]+f|0;a.F=!0;break;case 4:e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.k=a.w[1]+e|0;a.F=!0;break;case 5:192<=c&&U(a);e=a.g(c);c=F(a,e+2);f=F(a,e);Q(a,1,c);a.k=a.w[1]+f|0;a.F=!0;break;case 6:e=192>c?F(a,a.g(c)):a.c[c<<1&14];O(a,e);break;case 7:U(a)}};
K[255]=function(a){var c=z(a);switch(c>>3&7){case 0:var e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];e=Fa(a,e,31);192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=e;break;case 1:g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];e=Ga(a,e,31);192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=e;break;case 2:e=192>c?H(a,a.g(c)):a.a[c&7];P(a,Gc(a));a.k=a.w[1]+e|0;a.F=!0;break;case 3:192<=c&&U(a);e=a.g(c);
c=F(a,e+4);f=H(a,e);Fc(a,sc(a,-8),8);P(a,a.J[1]);P(a,Gc(a));Q(a,1,c);a.k=a.w[1]+f|0;a.F=!0;break;case 4:e=192>c?H(a,a.g(c)):a.a[c&7];a.k=a.w[1]+e|0;a.F=!0;break;case 5:192<=c&&U(a);e=a.g(c);c=F(a,e+4);f=H(a,e);Q(a,1,c);a.k=a.w[1]+f|0;a.F=!0;break;case 6:e=192>c?H(a,a.g(c)):a.a[c&7];P(a,e);break;case 7:U(a)}};
L[0]=M[0]=function(a){var c=z(a);a.ca&&!wc(a)||U(a);a.K&&V(a,0);switch(c>>3&7){case 0:if(192>c)var e=a.g(c);var f=a.J[7];192>c?E(a,e,f):a.c[c<<1&14]=f;break;case 1:192>c&&(e=a.g(c));f=a.J[6];192>c?E(a,e,f):a.c[c<<1&14]=f;break;case 2:c=f=192>c?F(a,a.g(c)):a.c[c<<1&14];e=Rc(a,c);if(e.ab)a.w[7]=0,a.va[7]=0;else{if(!e.Pd)throw a.debug.L("LDTR can only be loaded from GDT");if(!e.kb)throw a.debug.L("#GP handler");if(!e.Qb)throw a.debug.L("#GP handler");if(2!==e.type)throw a.debug.L("#GP handler");a.w[7]=
e.Ib;a.va[7]=e.zb;a.J[7]=c}break;case 3:c=f=192>c?F(a,a.g(c)):a.c[c<<1&14];e=Rc(a,c);if(!e.Pd)throw a.debug.L("TR can only be loaded from GDT");if(e.ab)throw a.debug.L("#GP handler");if(!e.kb)throw a.debug.L("#GP handler");if(!e.Qb)throw a.debug.L("#GP handler");if(9!==e.type)throw a.debug.L("#GP handler");a.w[6]=e.Ib;a.va[6]=e.zb;a.J[6]=c;a.memory.N(e.vd+5,a.memory.I(e.vd+5)|2);break;default:U(a)}};
L[1]=M[1]=function(a){var c=z(a);a.K&&V(a,0);var e=c>>3&7;if(4===e){if(192>c)var f=a.g(c);e=a.r[0];192>c?E(a,f,e):a.c[c<<1&14]=e}else if(6===e)e=192>c?F(a,a.g(c)):a.c[c<<1&14],a.r[0]=a.r[0]&-16|e&15,a.ca&&(a.r[0]|=1),ld(a);else switch(192<=c&&U(a),2!==e&&3!==e||!a.ca||(a.Ga=9),f=a.g(c),a.Ga=-1,e){case 0:Fc(a,f,6);E(a,f,a.Ic);G(a,f+2,a.Nb);break;case 1:Fc(a,f,6);E(a,f,a.Kc);G(a,f+2,a.Pb);break;case 2:c=F(a,f);f=H(a,f+2);a.Ic=c;a.Nb=f;a.La||(a.Nb&=16777215);break;case 3:c=F(a,f);f=H(a,f+2);a.Kc=c;a.Pb=
f;a.La||(a.Pb&=16777215);break;case 7:f=f>>>12;a.Xa[f]=0;a.Xb[f]=0;a.Ka=-1;break;default:U(a)}};L[2]=function(a){var c=z(a);a.ca&&!wc(a)||U(a);var e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=md(a,e,a.c[c>>2&14])};M[2]=function(a){var c=z(a);a.ca&&!wc(a)||U(a);var e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.a[c>>3&7]=md(a,e,a.a[c>>3&7])};L[3]=function(a){var c=z(a);a.ca&&!wc(a)||U(a);var e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=nd(a,e,a.c[c>>2&14])};
M[3]=function(a){var c=z(a);a.ca&&!wc(a)||U(a);var e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.a[c>>3&7]=nd(a,e,a.a[c>>3&7])};L[4]=M[4]=function(a){U(a)};L[5]=M[5]=function(a){U(a)};L[6]=M[6]=function(a){a.K?V(a,0):a.r[0]&=-9};L[7]=M[7]=function(a){U(a)};L[8]=M[8]=function(a){U(a)};L[9]=M[9]=function(a){a.K&&V(a,0)};L[10]=M[10]=function(a){U(a)};L[11]=M[11]=function(a){U(a)};L[12]=M[12]=function(a){U(a)};L[13]=M[13]=function(a){U(a)};L[14]=M[14]=function(a){U(a)};L[15]=M[15]=function(a){U(a)};
L[16]=M[16]=function(a){U(a)};L[17]=M[17]=function(a){U(a)};L[18]=M[18]=function(a){U(a)};L[19]=M[19]=function(a){U(a)};L[20]=M[20]=function(a){U(a)};L[21]=M[21]=function(a){U(a)};L[22]=M[22]=function(a){U(a)};L[23]=M[23]=function(a){U(a)};L[24]=M[24]=function(a){var c=z(a);192>c&&a.g(c)};L[25]=M[25]=function(a){U(a)};L[26]=M[26]=function(a){U(a)};L[27]=M[27]=function(a){U(a)};L[28]=M[28]=function(a){U(a)};L[29]=M[29]=function(a){U(a)};L[30]=M[30]=function(a){U(a)};L[31]=M[31]=function(a){U(a)};
L[32]=M[32]=function(a){var c=z(a);a.K&&V(a,0);switch(c>>3&7){case 0:a.a[c&7]=a.r[0];break;case 2:a.a[c&7]=a.r[2];break;case 3:a.a[c&7]=a.r[3];break;case 4:a.a[c&7]=a.r[4];break;default:U(a)}};L[33]=M[33]=function(a){var c=z(a);a.K&&V(a,0);a.a[c&7]=a.ec[c>>3&7]};
L[34]=M[34]=function(a){var c=z(a);a.K&&V(a,0);var e=a.a[c&7];switch(c>>3&7){case 0:a.r[0]=e;if(-2147483648===(a.r[0]&-2147483647))throw a.debug.L("#GP handler");ld(a);break;case 2:a.r[2]=e;break;case 3:a.r[3]=e;od(a);break;case 4:e&-3565568&&V(a,0);(a.r[4]^e)&128&&(e&128?od(a):Aa(a));a.r[4]=e;a.rd=a.r[4]&16?128:0;if(a.r[4]&32)throw a.debug.L("PAE");break;default:U(a)}};L[35]=M[35]=function(a){var c=z(a);a.K&&V(a,0);a.ec[c>>3&7]=a.a[c&7]};L[36]=M[36]=function(a){U(a)};L[37]=M[37]=function(a){U(a)};
L[38]=M[38]=function(a){U(a)};L[39]=M[39]=function(a){U(a)};L[40]=M[40]=function(a){U(a)};L[41]=M[41]=function(a){U(a)};L[42]=M[42]=function(a){U(a)};L[43]=M[43]=function(a){U(a)};L[44]=M[44]=function(a){U(a)};L[45]=M[45]=function(a){U(a)};L[46]=M[46]=function(a){U(a)};L[47]=M[47]=function(a){U(a)};L[48]=M[48]=function(a){a.K&&V(a,0);var c=a.a[0];switch(a.a[1]){case 372:a.rc=c&65535;break;case 374:a.Sc=c;break;case 373:a.Tc=c}};
L[49]=M[49]=function(a){if(a.K&&a.r[4]&4)V(a,0);else{var c=Ba()-a.wd;a.a[0]=8192*c;a.a[2]=1.9073486328125E-6*c}};L[50]=M[50]=function(a){a.K&&V(a,0);var c=0;switch(a.a[1]){case 372:c=a.rc;break;case 374:c=a.Sc;break;case 373:c=a.Tc}a.a[0]=c;a.a[2]=0};L[51]=M[51]=function(a){U(a)};
L[52]=M[52]=function(a){var c=a.rc&65532;a.ca&&0!==c||V(a,0);a.e&=-131585;a.k=a.Sc;a.a[4]=a.Tc;a.J[1]=c;a.wb[1]=0;a.va[1]=-1;a.w[1]=0;a.qa||Qc(a,!0);a.K=0;a.Ka=-1;a.J[2]=c+8;a.wb[2]=0;a.va[2]=-1;a.w[2]=0;a.Fb=!0;console.log("stack_reg <- 32");a.s=a.a;a.u=4;a.ub=5};
L[53]=M[53]=function(a){var c=a.rc&65532;a.ca&&!a.K&&0!==c||V(a,0);a.k=a.a[2];a.a[4]=a.a[1];a.J[1]=c+16|3;a.wb[1]=0;a.va[1]=-1;a.w[1]=0;a.qa||Qc(a,!0);a.K=3;a.Ka=-1;a.J[2]=c+24|3;a.wb[2]=0;a.va[2]=-1;a.w[2]=0;a.Fb=!0;console.log("stack_reg <- 32");a.s=a.a;a.u=4;a.ub=5};L[54]=M[54]=function(a){U(a)};L[55]=M[55]=function(a){U(a)};L[56]=M[56]=function(a){U(a)};L[57]=M[57]=function(a){U(a)};L[58]=M[58]=function(a){U(a)};L[59]=M[59]=function(a){U(a)};L[60]=M[60]=function(a){U(a)};L[61]=M[61]=function(a){U(a)};
L[62]=M[62]=function(a){U(a)};L[63]=M[63]=function(a){U(a)};L[64]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.Qa()&&(a.c[c>>2&14]=e)};M[64]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.Qa()&&(a.a[c>>3&7]=e)};L[65]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.Qa()||(a.c[c>>2&14]=e)};M[65]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.Qa()||(a.a[c>>3&7]=e)};L[66]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.wa()&&(a.c[c>>2&14]=e)};
M[66]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.wa()&&(a.a[c>>3&7]=e)};L[67]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.wa()||(a.c[c>>2&14]=e)};M[67]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.wa()||(a.a[c>>3&7]=e)};L[68]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.ya()&&(a.c[c>>2&14]=e)};M[68]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.ya()&&(a.a[c>>3&7]=e)};
L[69]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.ya()||(a.c[c>>2&14]=e)};M[69]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.ya()||(a.a[c>>3&7]=e)};L[70]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];yc(a)&&(a.c[c>>2&14]=e)};M[70]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];yc(a)&&(a.a[c>>3&7]=e)};L[71]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];yc(a)||(a.c[c>>2&14]=e)};
M[71]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];yc(a)||(a.a[c>>3&7]=e)};L[72]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.Ra()&&(a.c[c>>2&14]=e)};M[72]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.Ra()&&(a.a[c>>3&7]=e)};L[73]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.Ra()||(a.c[c>>2&14]=e)};M[73]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.Ra()||(a.a[c>>3&7]=e)};
L[74]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.xa()&&(a.c[c>>2&14]=e)};M[74]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.xa()&&(a.a[c>>3&7]=e)};L[75]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.xa()||(a.c[c>>2&14]=e)};M[75]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.xa()||(a.a[c>>3&7]=e)};L[76]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];zc(a)&&(a.c[c>>2&14]=e)};
M[76]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];zc(a)&&(a.a[c>>3&7]=e)};L[77]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];zc(a)||(a.c[c>>2&14]=e)};M[77]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];zc(a)||(a.a[c>>3&7]=e)};L[78]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];Ac(a)&&(a.c[c>>2&14]=e)};M[78]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];Ac(a)&&(a.a[c>>3&7]=e)};
L[79]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];Ac(a)||(a.c[c>>2&14]=e)};M[79]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];Ac(a)||(a.a[c>>3&7]=e)};L[80]=M[80]=function(a){U(a)};L[81]=M[81]=function(a){U(a)};L[82]=M[82]=function(a){U(a)};L[83]=M[83]=function(a){U(a)};L[84]=M[84]=function(a){U(a)};L[85]=M[85]=function(a){U(a)};L[86]=M[86]=function(a){U(a)};L[87]=M[87]=function(a){U(a)};L[88]=M[88]=function(a){U(a)};L[89]=M[89]=function(a){U(a)};L[90]=M[90]=function(a){U(a)};
L[91]=M[91]=function(a){U(a)};L[92]=M[92]=function(a){U(a)};L[93]=M[93]=function(a){U(a)};L[94]=M[94]=function(a){U(a)};L[95]=M[95]=function(a){U(a)};L[96]=M[96]=function(a){U(a)};L[97]=M[97]=function(a){U(a)};L[98]=M[98]=function(a){U(a)};L[99]=M[99]=function(a){U(a)};L[100]=M[100]=function(a){U(a)};L[101]=M[101]=function(a){U(a)};L[102]=M[102]=function(a){U(a)};L[103]=M[103]=function(a){U(a)};L[104]=M[104]=function(a){U(a)};L[105]=M[105]=function(a){U(a)};L[106]=M[106]=function(a){U(a)};
L[107]=M[107]=function(a){U(a)};L[108]=M[108]=function(a){U(a)};L[109]=M[109]=function(a){U(a)};L[110]=M[110]=function(a){U(a)};L[111]=M[111]=function(a){U(a)};L[112]=M[112]=function(a){U(a)};L[113]=M[113]=function(a){U(a)};L[114]=M[114]=function(a){U(a)};L[115]=M[115]=function(a){U(a)};L[116]=M[116]=function(a){U(a)};L[117]=M[117]=function(a){U(a)};L[118]=M[118]=function(a){U(a)};L[119]=M[119]=function(a){U(a)};L[120]=M[120]=function(a){U(a)};L[121]=M[121]=function(a){U(a)};L[122]=M[122]=function(a){U(a)};
L[123]=M[123]=function(a){U(a)};L[124]=M[124]=function(a){U(a)};L[125]=M[125]=function(a){U(a)};L[126]=M[126]=function(a){U(a)};L[127]=M[127]=function(a){U(a)};L[128]=function(a){pd(a,a.Qa())};M[128]=function(a){qd(a,a.Qa())};L[129]=function(a){pd(a,!a.Qa())};M[129]=function(a){qd(a,!a.Qa())};L[130]=function(a){pd(a,a.wa())};M[130]=function(a){qd(a,a.wa())};L[131]=function(a){pd(a,!a.wa())};M[131]=function(a){qd(a,!a.wa())};L[132]=function(a){pd(a,a.ya())};M[132]=function(a){qd(a,a.ya())};
L[133]=function(a){pd(a,!a.ya())};M[133]=function(a){qd(a,!a.ya())};L[134]=function(a){pd(a,yc(a))};M[134]=function(a){qd(a,yc(a))};L[135]=function(a){pd(a,!yc(a))};M[135]=function(a){qd(a,!yc(a))};L[136]=function(a){pd(a,a.Ra())};M[136]=function(a){qd(a,a.Ra())};L[137]=function(a){pd(a,!a.Ra())};M[137]=function(a){qd(a,!a.Ra())};L[138]=function(a){pd(a,a.xa())};M[138]=function(a){qd(a,a.xa())};L[139]=function(a){pd(a,!a.xa())};M[139]=function(a){qd(a,!a.xa())};L[140]=function(a){pd(a,zc(a))};
M[140]=function(a){qd(a,zc(a))};L[141]=function(a){pd(a,!zc(a))};M[141]=function(a){qd(a,!zc(a))};L[142]=function(a){pd(a,Ac(a))};M[142]=function(a){qd(a,Ac(a))};L[143]=function(a){pd(a,!Ac(a))};M[143]=function(a){qd(a,!Ac(a))};L[144]=M[144]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!a.Qa()^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};L[145]=M[145]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!!a.Qa()^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};
L[146]=M[146]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!a.wa()^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};L[147]=M[147]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!!a.wa()^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};L[148]=M[148]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!a.ya()^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};L[149]=M[149]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!!a.ya()^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};
L[150]=M[150]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!yc(a)^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};L[151]=M[151]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!!yc(a)^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};L[152]=M[152]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!a.Ra()^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};L[153]=M[153]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!!a.Ra()^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};
L[154]=M[154]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!a.xa()^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};L[155]=M[155]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!!a.xa()^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};L[156]=M[156]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!zc(a)^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};L[157]=M[157]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!!zc(a)^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};
L[158]=M[158]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!Ac(a)^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};L[159]=M[159]=function(a){var c=z(a);if(192>c)var e=a.g(c);var f=!!Ac(a)^1;192>c?Cc(a,e,f):a.i[c<<2&12|c>>2&1]=f};L[160]=function(a){O(a,a.J[4])};M[160]=function(a){P(a,a.J[4])};L[161]=function(a){Q(a,4,F(a,sc(a,0)));a.s[a.u]+=2};M[161]=function(a){Q(a,4,F(a,sc(a,0)));a.s[a.u]+=4};
L[162]=M[162]=function(a){var c=0,e=0,f=0,g=0;switch(a.a[0]){case 0:c=5;g=1970169159;f=1231384169;e=1818588270;break;case 1:c=3939;g=0;e=8388608;f=(a.ga?1:0)|43322;break;case 2:c=1717260289;e=g=0;f=8024064;break;case 4:switch(a.a[1]){case 0:c=289;g=29360191;e=63;f=1;break;case 1:c=290;g=29360191;e=63;f=1;break;case 2:c=323,g=96469055,e=4095,f=1}break;case -2147483648:c=5}a.a[0]=c;a.a[1]=e;a.a[2]=f;a.a[3]=g};
L[163]=function(a){var c=z(a);192>c?ub(a,a.g(c),a.da[c>>2&14]):qb(a,a.c[c<<1&14],a.c[c>>2&14]&15)};M[163]=function(a){var c=z(a);192>c?ub(a,a.g(c),a.a[c>>3&7]):qb(a,a.a[c&7],a.a[c>>3&7]&31)};L[164]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];e=ob(a,e,a.c[c>>2&14],z(a)&31);192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e};
M[164]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];e=pb(a,e,a.a[c>>3&7],z(a)&31);192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=e};L[165]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];e=ob(a,e,a.c[c>>2&14],a.i[4]&31);192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e};
M[165]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];e=pb(a,e,a.a[c>>3&7],a.i[4]&31);192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=e};L[166]=M[166]=function(a){U(a)};L[167]=M[167]=function(a){U(a)};L[168]=function(a){O(a,a.J[5])};M[168]=function(a){P(a,a.J[5])};L[169]=function(a){Q(a,5,F(a,sc(a,0)));a.s[a.u]+=2};M[169]=function(a){Q(a,5,F(a,sc(a,0)));a.s[a.u]+=4};L[170]=M[170]=function(a){U(a)};
L[171]=function(a){var c=z(a);192>c?xb(a,a.g(c),a.da[c>>2&14]):a.c[c<<1&14]=sb(a,a.c[c<<1&14],a.da[c>>2&14]&15)};M[171]=function(a){var c=z(a);192>c?xb(a,a.g(c),a.a[c>>3&7]):a.a[c&7]=sb(a,a.a[c&7],a.a[c>>3&7]&31)};L[172]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];e=mb(a,e,a.c[c>>2&14],z(a)&31);192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e};
M[172]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];e=nb(a,e,a.a[c>>3&7],z(a)&31);192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=e};L[173]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];e=mb(a,e,a.c[c>>2&14],a.i[4]&31);192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e};
M[173]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];e=nb(a,e,a.a[c>>3&7],a.i[4]&31);192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=e};L[174]=M[174]=function(a){switch(z(a)>>3&7){case 6:break;default:U(a)}};L[175]=function(a){var c=z(a),e=192>c?F(a,a.g(c))<<16>>16:a.da[c<<1&14];a.c[c>>2&14]=Ia(a,a.da[c>>2&14],e)};M[175]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=Ja(a,a.a[c>>3&7],e)};
L[176]=M[176]=function(a){var c=z(a);if(192>c){var e=a.g(c);Fc(a,e,1);var f=B(a,e)}else f=a.i[c<<2&12|c>>2&1];a.sub(f,a.i[0],7);a.jb()?192>c?Cc(a,e,a.i[c>>1&12|c>>5&1]):a.i[c<<2&12|c>>2&1]=a.i[c>>1&12|c>>5&1]:a.i[0]=f};L[177]=function(a){var c=z(a);if(192>c){var e=a.g(c);Fc(a,e,2);var f=F(a,e)}else f=a.c[c<<1&14];a.sub(f,a.c[0],15);a.jb()?192>c?E(a,e,a.c[c>>2&14]):a.c[c<<1&14]=a.c[c>>2&14]:a.c[0]=f};
M[177]=function(a){var c=z(a);if(192>c){var e=a.g(c);Fc(a,e,4);var f=H(a,e)}else f=a.a[c&7];a.sub(f,a.a[0],31);a.jb()?192>c?G(a,e,a.a[c>>3&7]):a.a[c&7]=a.a[c>>3&7]:a.a[0]=f};L[178]=function(a){var c=z(a);192<=c&&U(a);Nc(a,2,a.g(c),c>>2&14)};M[178]=function(a){var c=z(a);192<=c&&U(a);Oc(a,2,a.g(c),c>>3&7)};L[179]=function(a){var c=z(a);192>c?wb(a,a.g(c),a.da[c>>2&14]):a.c[c<<1&14]=tb(a,a.c[c<<1&14],a.da[c>>2&14]&15)};
M[179]=function(a){var c=z(a);192>c?wb(a,a.g(c),a.a[c>>3&7]):a.a[c&7]=tb(a,a.a[c&7],a.a[c>>3&7]&31)};L[180]=function(a){var c=z(a);192<=c&&U(a);Nc(a,4,a.g(c),c>>2&14)};M[180]=function(a){var c=z(a);192<=c&&U(a);Oc(a,4,a.g(c),c>>3&7)};L[181]=function(a){var c=z(a);192<=c&&U(a);Nc(a,5,a.g(c),c>>2&14)};M[181]=function(a){var c=z(a);192<=c&&U(a);Oc(a,5,a.g(c),c>>3&7)};L[182]=function(a){var c=z(a),e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];a.c[c>>2&14]=e};
M[182]=function(a){var c=z(a),e=192>c?B(a,a.g(c)):a.i[c<<2&12|c>>2&1];a.a[c>>3&7]=e};L[183]=M[183]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.a[c>>3&7]=e};L[184]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=yb(a,e)};M[184]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=yb(a,e)};L[185]=M[185]=function(a){U(a)};
L[186]=function(a){var c=z(a);switch(c>>3&7){case 4:192>c?ub(a,a.g(c),z(a)&15):qb(a,a.c[c<<1&14],z(a)&15);break;case 5:192>c?xb(a,a.g(c),z(a)):a.c[c<<1&14]=sb(a,a.c[c<<1&14],z(a)&15);break;case 6:192>c?wb(a,a.g(c),z(a)):a.c[c<<1&14]=tb(a,a.c[c<<1&14],z(a)&15);break;case 7:192>c?vb(a,a.g(c),z(a)):a.c[c<<1&14]=rb(a,a.c[c<<1&14],z(a)&15);break;default:U(a)}};
M[186]=function(a){var c=z(a);switch(c>>3&7){case 4:192>c?ub(a,a.g(c),z(a)&31):qb(a,a.a[c&7],z(a)&31);break;case 5:192>c?xb(a,a.g(c),z(a)):a.a[c&7]=sb(a,a.a[c&7],z(a)&31);break;case 6:192>c?wb(a,a.g(c),z(a)):a.a[c&7]=tb(a,a.a[c&7],z(a)&31);break;case 7:192>c?vb(a,a.g(c),z(a)):a.a[c&7]=rb(a,a.a[c&7],z(a)&31);break;default:U(a)}};L[187]=function(a){var c=z(a);192>c?vb(a,a.g(c),a.da[c>>2&14]):a.c[c<<1&14]=rb(a,a.c[c<<1&14],a.da[c>>2&14]&15)};
M[187]=function(a){var c=z(a);192>c?vb(a,a.g(c),a.a[c>>3&7]):a.a[c&7]=rb(a,a.a[c&7],a.a[c>>3&7]&31)};L[188]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14],f=a.c;var g=a.c[c>>2&14];a.l=0;0===e?(a.e|=64,a=g):(a.e&=-65,a=rd(-e&e));f[c>>2&14]=a};M[188]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7],f=a.a;var g=a.a[c>>3&7];a.l=0;0===e?(a.e|=64,a=g):(a.e&=-65,a=rd((-e&e)>>>0));f[c>>3&7]=a};
L[189]=function(a){var c=z(a),e=192>c?F(a,a.g(c)):a.c[c<<1&14],f=a.c;var g=a.c[c>>2&14];a.l=0;0===e?(a.e|=64,a=g):(a.e&=-65,a=rd(e));f[c>>2&14]=a};M[189]=function(a){var c=z(a),e=192>c?H(a,a.g(c)):a.a[c&7],f=a.a;var g=a.a[c>>3&7];a.l=0;0===e?(a.e|=64,a=g):(a.e&=-65,a=rd(e>>>0));f[c>>3&7]=a};L[190]=function(a){var c=z(a),e=192>c?B(a,a.g(c))<<24>>24:a.tb[c<<2&12|c>>2&1];a.c[c>>2&14]=e};M[190]=function(a){var c=z(a),e=192>c?B(a,a.g(c))<<24>>24:a.tb[c<<2&12|c>>2&1];a.a[c>>3&7]=e};
L[191]=M[191]=function(a){var c=z(a),e=192>c?F(a,a.g(c))<<16>>16:a.da[c<<1&14];a.a[c>>3&7]=e};L[192]=M[192]=function(a){var c=z(a),e,f;192>c?(f=D(a,a.g(c)),e=a.memory.I(f)):e=a.i[c<<2&12|c>>2&1];var g=c>>1&12|c>>5&1,k=a.i[g];a.i[g]=e;e=a.add(e,k,7);192>c?a.memory.N(f,e):a.i[c<<2&12|c>>2&1]=e};
L[193]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4095===(e&4095)?(g=D(a,e+1),e=oc(a,f,g)):e=a.memory.G(f)):e=a.c[c<<1&14];var k=c>>2&14,l=a.c[k];a.c[k]=e;e=a.add(e,l,15);192>c?g?pc(a,f,g,e):a.memory.W(f,e):a.c[c<<1&14]=e};M[193]=function(a){var c=z(a),e,f,g=0;192>c?(e=a.g(c),f=D(a,e),a.A&&4093<=(e&4095)?(g=D(a,e+3),e=qc(a,f,g)):e=N(a.memory,f)):e=a.a[c&7];var k=c>>3&7,l=a.a[k];a.a[k]=e;e=a.add(e,l,31);192>c?g?rc(a,f,g,e):a.memory.X(f,e):a.a[c&7]=e};L[194]=M[194]=function(a){U(a)};
L[195]=M[195]=function(a){U(a)};L[196]=M[196]=function(a){U(a)};L[197]=M[197]=function(a){U(a)};L[198]=M[198]=function(a){U(a)};L[199]=M[199]=function(a){var c=z(a);192<=c&&U(a);c=a.g(c);Fc(a,c,8);var e=H(a,c),f=H(a,c+4);a.a[0]===e&&a.a[2]===f?(a.e|=64,G(a,c,a.a[3]),G(a,c+4,a.a[1])):(a.e&=-65,a.a[0]=e,a.a[2]=f);a.l&=-65};L[200]=M[200]=function(a){sd(a,0)};L[201]=M[201]=function(a){sd(a,1)};L[202]=M[202]=function(a){sd(a,2)};L[203]=M[203]=function(a){sd(a,3)};L[204]=M[204]=function(a){sd(a,4)};
L[205]=M[205]=function(a){sd(a,5)};L[206]=M[206]=function(a){sd(a,6)};L[207]=M[207]=function(a){sd(a,7)};L[208]=M[208]=function(a){U(a)};L[209]=M[209]=function(a){U(a)};L[210]=M[210]=function(a){U(a)};L[211]=M[211]=function(a){U(a)};L[212]=M[212]=function(a){U(a)};L[213]=M[213]=function(a){U(a)};L[214]=M[214]=function(a){U(a)};L[215]=M[215]=function(a){U(a)};L[216]=M[216]=function(a){U(a)};L[217]=M[217]=function(a){U(a)};L[218]=M[218]=function(a){U(a)};L[219]=M[219]=function(a){U(a)};
L[220]=M[220]=function(a){U(a)};L[221]=M[221]=function(a){U(a)};L[222]=M[222]=function(a){U(a)};L[223]=M[223]=function(a){U(a)};L[224]=M[224]=function(a){U(a)};L[225]=M[225]=function(a){U(a)};L[226]=M[226]=function(a){U(a)};L[227]=M[227]=function(a){U(a)};L[228]=M[228]=function(a){U(a)};L[229]=M[229]=function(a){U(a)};L[230]=M[230]=function(a){U(a)};L[231]=M[231]=function(a){U(a)};L[232]=M[232]=function(a){U(a)};L[233]=M[233]=function(a){U(a)};L[234]=M[234]=function(a){U(a)};L[235]=M[235]=function(a){U(a)};
L[236]=M[236]=function(a){U(a)};L[237]=M[237]=function(a){U(a)};L[238]=M[238]=function(a){U(a)};L[239]=M[239]=function(a){U(a)};L[240]=M[240]=function(a){U(a)};L[241]=M[241]=function(a){U(a)};L[242]=M[242]=function(a){U(a)};L[243]=M[243]=function(a){U(a)};L[244]=M[244]=function(a){U(a)};L[245]=M[245]=function(a){U(a)};L[246]=M[246]=function(a){U(a)};L[247]=M[247]=function(a){U(a)};L[248]=M[248]=function(a){U(a)};L[249]=M[249]=function(a){U(a)};L[250]=M[250]=function(a){U(a)};L[251]=M[251]=function(a){U(a)};
L[252]=M[252]=function(a){U(a)};L[253]=M[253]=function(a){U(a)};L[254]=M[254]=function(a){U(a)};L[255]=M[255]=function(a){U(a)};"use strict";function jd(a,c){var e=a.w[1];a.k-=e;a.k=a.k+c&65535;a.k=a.k+e|0;a.F=!0}function pd(a,c){c?jd(a,u(a)):a.k=a.k+2|0;a.F=!0}function qd(a,c){if(c){var e=x(a);a.k=a.k+e|0}else a.k=a.k+4|0;a.F=!0}m=q.prototype;m.loop=function(){if(--this.P[this.Ma]){var a=t(this);this.k=this.k+a|0}else this.k++;this.F=!0};
m.ha=function(){return this.l&1?(this.ra^(this.ra^this.sa)&(this.sa^this.h))>>>this.Q&1:this.e&1};m.Rd=function(){return this.l&4?154020>>((this.t^this.t>>4)&15)&4:this.e&4};function uc(a){return a.l&16?(a.ra^a.sa^a.h)&16:a.e&16}m.jb=function(){return this.l&64?(~this.t&this.t-1)>>>this.Q&1:this.e&64};m.Jc=function(){return this.l&128?this.t>>>this.Q&1:this.e&128};m.fc=function(){return this.l&2048?((this.ra^this.h)&(this.sa^this.h))>>>this.Q&1:this.e&2048};m.Qa=q.prototype.fc;m.wa=q.prototype.ha;
m.ya=q.prototype.jb;m.Ra=q.prototype.Jc;m.xa=q.prototype.Rd;function yc(a){return a.ha()||a.jb()}function zc(a){return!a.Jc()!==!a.fc()}function Ac(a){return a.jb()||!a.Jc()!==!a.fc()}function O(a,c){var e=sc(a,-2);E(a,e,c);a.s[a.u]-=2}function P(a,c){var e=sc(a,-4);G(a,e,c);a.s[a.u]-=4}function vc(a){var c=F(a,a.w[2]+a.s[a.u]|0);a.s[a.u]+=2;return c}function S(a){var c=H(a,a.w[2]+a.s[a.u]|0);a.s[a.u]+=4;return c}function Dc(a,c){var e=a.c[0];a.c[0]=a.c[c];a.c[c]=e}
function Ec(a,c){var e=a.a[0];a.a[0]=a.a[c];a.a[c]=e}function Nc(a,c,e,f){var g=F(a,e);e=F(a,e+2|0);Q(a,c,e);a.c[f]=g}function Oc(a,c,e,f){var g=H(a,e);e=F(a,e+4|0);Q(a,c,e);a.a[f]=g}function sd(a,c){var e=a.a[c];a.a[c]=e>>>24|e<<24|e>>8&65280|e<<8&16711680}m.Kd=function(a){if(233495534===a)this.q=!1,this.eb=0,this.Ga=-1,this.ib=this.qa,ya(this),this.La=this.qa,za(this);else throw console.log(a),console.log(a.stack),a;};
function td(a){a.wb=new Uint8Array(8);a.va=new Uint32Array(8);a.w=new Int32Array(8);Aa(a);a.a=new Int32Array(8);a.cb=new Uint32Array(a.a.buffer);a.da=new Int16Array(a.a.buffer);a.c=new Uint16Array(a.a.buffer);a.tb=new Int8Array(a.a.buffer);a.i=new Uint8Array(a.a.buffer);a.J=new Uint16Array(8);a.ec=new Int32Array(8);a.ca=!1;a.Kc=0;a.Pb=0;a.Ic=0;a.Nb=0;a.q=!1;a.r[0]=1610612752;a.r[2]=0;a.r[3]=0;a.r[4]=0;a.ec[6]=-61456;a.ec[7]=1024;a.K=0;a.A=!1;a.rd=0;a.qa=!1;a.La=!1;a.Fb=!1;a.ib=!1;a.Ka=-1;za(a);ya(a);
a.s=a.c;a.u=8;a.ub=10;a.j=2147483648;a.Da=0;a.gc=!1;a.rc=0;a.Tc=0;a.Sc=0;a.Ga=-1;a.eb=0;a.e=2;a.l=0;a.t=0;a.h=0;a.ra=0;a.sa=0;a.Q=0;a.wd=Ba();a.k=1048560;Q(a,2,48);a.c[8]=256}
m.Ca=function(a,c){this.ic=a.ic||67108864;this.memory=new ud(this.ic);td(this);var e=new vd(this.memory);this.p=e;this.xb.be=a.xb;this.xb.mb=a.qg;wd(this);var f=0;X(e,146,this,function(){return f});Y(e,146,this,function(a){f=a});this.C={};a.gf&&(this.C.M=new xd(this),this.C.Ea=new yd(this),zd(this,a),this.C.Nc=new Ad(this),this.C.dc=new Bd(this),this.C.xg=new Cd,this.C.mb=new Dd(this,c,a.Sa||8388608),this.ga=new Ed(this),this.C.Oc=new Fd(this,c),this.C.Xg=new Gd(this,1016,c),this.C.Hg=new Hd(this,
a.Ld,a.Md),a.Kb&&(this.C.Kb=new Id(this,a.Kb,!0,1,c)),a.Ob&&(this.C.Ob=new Id(this,a.Ob,!1,0,c)),this.C.he=new Jd(this),a.Ye&&(this.C.Sg=new Kd(this,c)),a.qb&&(this.C.Zg=new Ld(this,c,a.qb)))};function zd(a,c){var e=c.Je||531;a.C.Ea.Ia[56]=1|e>>4&240;a.C.Ea.Ia[61]=e&255;e=a.ic-16777216;a.C.Ea.Ia[52]=e>>16&255;a.C.Ea.Ia[53]=e>>24&255;a.C.Ea.Ia[91]=0;a.C.Ea.Ia[92]=0;a.C.Ea.Ia[93]=0;a.C.Ea.Ia[20]=45}
function wd(a){var c=a.xb.be,e=a.xb.mb;if(c){var f=new Uint8Array(c);a.memory.b.set(f,1048576-c.byteLength);e&&(f=new Uint8Array(e),a.memory.b.set(f,786432));Md(a.p,4293918720,1048576,function(a){return this.memory.b[a&1048575]}.bind(a),function(a,c){this.memory.b[a&1048575]=c}.bind(a))}}m.Jd=function(){var a=Date.now(),c=a;for(this.C.mb.za();33>c-a;){this.C.he.za(c,!1);this.C.Ea.za(c,!1);Lc(this);for(c=11001;c--;)kd(this);c=Date.now()}};
"undefined"!==typeof window&&(window.b=q.prototype.Jd,window.d=q.prototype.Kd,window.h=q.prototype.D);function kd(a){a.j++;a.Da=a.k;var c=z(a);a.table[c](a)}function xc(a){a.table[z(a)](a)}q.prototype.D=function(){var a,c,e=Date.now();c=this.C.he.za(e,!1);a=this.C.Ea.za(e,!1);this.C.mb.za(e);return this.gc?Math.ceil(Math.min(100,c,a)):0};function ld(a){var c=-2147483648===(a.r[0]&-2147483648);a.ga||(a.r[0]|=4);a.r[0]|=16;c!==a.A&&(a.A=c,Aa(a))}
function z(a){a.k&-4096^a.Ka&&(a.v=Db(a,a.k)^a.k,a.Ka=a.k&-4096);var c=a.memory.b[a.v^a.k]|0;a.k=a.k+1|0;return c}function t(a){return z(a)<<24>>24}function u(a){if(4094<(a.k^a.Ka)>>>0)return z(a)|z(a)<<8;var c=a.memory.G(a.v^a.k);a.k=a.k+2|0;return c}function x(a){if(4092<(a.k^a.Ka)>>>0)return u(a)|u(a)<<16;var c=N(a.memory,a.v^a.k);a.k=a.k+4|0;return c}function oc(a,c,e){return a.memory.I(c)|a.memory.I(e)<<8}
function qc(a,c,e){var f;f=c&1?c&2?Hb(a.memory,e-2>>1):Hb(a.memory,c+1>>1):oc(a,c+1,e-1);return a.memory.I(c)|f<<8|a.memory.I(e)<<24}function pc(a,c,e,f){a.memory.N(c,f);a.memory.N(e,f>>8)}function rc(a,c,e,f){a.memory.N(c,f);a.memory.N(e,f>>24);c&1?c&2?(a.memory.N(e-2,f>>8),a.memory.N(e-1,f>>16)):(a.memory.N(c+1,f>>8),a.memory.N(c+2,f>>16)):(a.memory.N(c+1,f>>8),a.memory.N(e-1,f>>16))}function B(a,c){return a.memory.I(Db(a,c))}
function F(a,c){return a.A&&4095===(c&4095)?B(a,c)|B(a,c+1)<<8:a.memory.G(Db(a,c))}function H(a,c){return a.A&&4093<=(c&4095)?F(a,c)|F(a,c+2)<<16:N(a.memory,Db(a,c))}function Cc(a,c,e){a.memory.N(D(a,c),e)}function E(a,c,e){var f=D(a,c);4095===(c&4095)?pc(a,f,D(a,c+1),e):a.memory.W(f,e)}function G(a,c,e){var f=D(a,c);4093<=(c&4095)?rc(a,f,D(a,c+3),e):a.memory.X(f,e)}function Mc(a){return a.ib?Cb(a,3)+x(a)|0:Cb(a,3)+u(a)|0}function Ic(a){return a.e>>12&3}function wc(a){return!!(a.e&131072)}
function Jc(a){a.e=a.e&-2262|!!a.ha()|!!a.Rd()<<2|!!uc(a)<<4|!!a.jb()<<6|!!a.Jc()<<7|!!a.fc()<<11;a.l=0}function Kc(a,c){var e=1769472,f=2588629;a.e&131072?(e|=12288,f|=1572864):a.K&&(e|=12288,a.K>Ic(a)&&(e|=512));a.e=(c^(a.e^c)&e)&f|2;a.l=0}function sc(a,c){return a.w[2]+a.s[a.u]+c|0}function Gc(a){return a.k-a.w[1]|0}
function Pc(a,c,e,f){a.gc=!1;if(a.ca){if(wc(a)&&a.r[4]&1)throw a.debug.L("VME");wc(a)&&e&&3>Ic(a)&&V(a,0);if((c<<3|7)>a.Kc)throw a.debug.L("#GP handler");var g=a.Pb+(c<<3)|0;a.A&&(g=Nd(a,g));var k=a.memory.G(g)|a.memory.G(g+6)<<16,l=a.memory.G(g+2),p=a.memory.I(g+5),w=p>>5&3,g=!1;if(0===(p&128))throw a.debug.L("#NP handler");e&&w<a.K&&V(a,c<<3|2);p&=31;if(14===p)g=c=!1;else if(15===p)c=!0,g=!1;else{if(5===p)throw a.debug.L("call int to task gate");if(6===p)throw a.debug.L("16 bit interrupt gate");
if(7===p)g=c=!0;else throw a.debug.L("#GP handler");}e=Rc(a,l);if(e.ab)throw a.debug.L("#GP handler");if(!e.Bb||e.ja>a.K)throw a.debug.L("#GP handler");if(!e.kb)throw a.debug.L("#NP handler");Jc(a);p=a.e;if(!e.yb&&e.ja<a.K){var y=(e.ja<<3)+4;if(y+5>a.va[6])throw a.debug.L("#TS handler");y=y+a.w[6]|0;a.A&&(y=Nd(a,y));var w=N(a.memory,y),y=a.memory.G(y+4),C=Rc(a,y);if(C.ab)throw a.debug.L("#TS handler");if(C.vb!==e.ja)throw a.debug.L("#TS handler");if(C.ja!==e.ja||!C.Rc)throw a.debug.L("#TS handler");
if(!C.kb)throw a.debug.L("#TS handler");var C=a.a[4],I=a.J[2];a.K=e.ja;a.Ka=-1;a.qa!==e.size&&Qc(a,e.size);a.e&=-196609;Q(a,2,y);a.s[a.u]=w;p&131072?g?(Fc(a,sc(a,-20),20),O(a,a.J[5]),O(a,a.J[4]),O(a,a.J[3]),O(a,a.J[0])):(Fc(a,sc(a,-40),40),P(a,a.J[5]),P(a,a.J[4]),P(a,a.J[3]),P(a,a.J[0])):g?Fc(a,sc(a,-12),12):Fc(a,sc(a,-24),24);g?(O(a,I),O(a,C)):(P(a,I),P(a,C))}else if(e.yb||e.ja===a.K)g?Fc(a,sc(a,-8),8):Fc(a,sc(a,-16),16),a.e&131072&&V(a,l&-4);else throw a.debug.L("#GP handler");g?(O(a,p),O(a,a.J[1]),
O(a,Gc(a)),!1!==f&&O(a,f),k&=65535):(P(a,p),P(a,a.J[1]),P(a,Gc(a)),!1!==f&&P(a,f));p&131072&&(Q(a,5,0),Q(a,4,0),Q(a,3,0),Q(a,0,0));a.J[1]=l&-4|a.K;a.qa!==e.size&&Qc(a,e.size);a.va[1]=e.zb;a.w[1]=e.Ib;a.k=a.w[1]+k|0;c||(a.e&=-513)}else Fc(a,sc(a,-6),6),k=c<<2,f=a.memory.G(k),k=a.memory.G(k+2),Jc(a),O(a,a.e),O(a,a.J[1]),O(a,Gc(a)),a.e&=-513,Q(a,1,k),a.k=a.w[1]+f|0;a.F=!0}function Sc(a){a.k=a.Da;Pc(a,0,!1,!1);throw 233495534;}function U(a){a.k=a.Da;Pc(a,6,!1,!1);throw 233495534;}
function Hc(a){a.k=a.Da;Pc(a,7,!1,!1);throw 233495534;}function V(a,c){a.k=a.Da;Pc(a,13,!1,c);throw 233495534;}function tc(a,c){a.Ga=c;a.table[z(a)](a);a.Ga=-1}function r(a){return Cb(a,3)}function v(a){return Cb(a,2)}function Cb(a,c){return-1===a.Ga?a.w[c]:9===a.Ga?0:a.w[a.Ga]}function Lc(a){a.C.M&&a.e&512&&!a.q&&a.C.M.Dc()}
function cc(a,c,e){if(a.ca&&(a.K>Ic(a)||a.e&131072)){var f=a.va[6],g=a.w[6];if(103<=f){var k=a.memory.G(Nd(a,g+100+2));if(f>=k+(c+e-1>>3)&&(e=(1<<e)-1<<(c&7),c=Nd(a,g+k+(c>>3)),!((e&65280?a.memory.G(c):a.memory.I(c))&e)))return}V(a,0)}}function Qc(a,c){a.qa=a.La=a.ib=c;za(a);ya(a)}function za(a){a.table=a.La?a.ud:a.td}function ya(a){a.ib?(a.P=a.a,a.Ma=1,a.Oa=6,a.Na=7):(a.P=a.c,a.Ma=2,a.Oa=12,a.Na=14)}
function Rc(a,c){var e=0===(c&4),f=c&-8,g,k;g={vb:c&3,Pd:e,ab:!1,hc:!0,Ib:0,hb:0,e:0,type:0,ja:0,Qb:!1,kb:!1,Bb:!1,Rc:!1,yb:!1,size:!1,zb:0,Yd:!1,Xd:!1,vd:0};e?(e=a.Nb,k=a.Ic):(e=a.w[7],k=a.va[7]);if(0===f)return g.ab=!0,g;if((c|7)>k)return g.hc=!1,g;e=e+f|0;a.A&&(e=Nd(a,e));g.vd=e;g.Ib=a.memory.G(e+2)|a.memory.I(e+4)<<16|a.memory.I(e+7)<<24;g.hb=a.memory.I(e+5);g.e=a.memory.I(e+6)>>4;g.type=g.hb&15;g.ja=g.hb>>5&3;g.Qb=0===(g.hb&16);g.kb=128===(g.hb&128);g.Bb=8===(g.hb&8);g.Rc=2===(g.hb&2);g.yb=4===
(g.hb&4);g.size=4===(g.e&4);f=a.memory.G(e)|(a.memory.I(e+6)&15)<<16;g.zb=g.e&8?(f<<12|4095)>>>0:f;g.Yd=g.Rc&&!g.Bb;g.Xd=g.Rc||!g.Bb;return g}
function Q(a,c,e){1===c&&(a.ca=1===(a.r[0]&1));if(!a.ca||wc(a))a.J[c]=e,a.wb[c]=0,a.w[c]=e<<4,2===c&&a.Fb&&(a.Fb=!1,a.s=a.c,a.u=8,a.ub=10);else{var f=Rc(a,e);if(2===c){if(f.ab){V(a,0);return}if(!f.hc||f.Qb||f.vb!==a.K||!f.Yd||f.ja!==a.K){V(a,e&-4);return}if(!f.kb)throw a.k=a.Da,Pc(a,12,!1,e&-4),233495534;(a.Fb=f.size)?(a.s=a.a,a.u=4,a.ub=5):(a.s=a.c,a.u=8,a.ub=10)}else if(1===c){if(!f.Bb)throw a.debug.L("#GP handler");if(f.Qb)throw a.debug.L("load system segment descriptor, type = "+(f.hb&15));if(f.vb!==
a.K)throw a.debug.L("privilege change");if(!f.yb&&f.ja<a.K)throw a.debug.L("inter privilege call");if(!f.yb&&f.ja!==a.K)throw a.debug.L("#GP handler");f.size!==a.qa&&Qc(a,f.size)}else{if(f.ab){a.J[c]=e;a.wb[c]=1;return}if(!f.hc||f.Qb||!f.Xd||(!f.Bb||!f.yb)&&f.vb>f.ja&&a.K>f.ja){V(a,e&-4);return}if(!f.kb)throw a.k=a.Da,Pc(a,11,!1,e&-4),233495534;}a.wb[c]=0;a.va[c]=f.zb;a.w[c]=f.Ib;a.J[c]=e}}
function md(a,c,e){c=Rc(a,c);a.l&=-65;if(c.ab||!c.hc||58817>>c.type&1)return a.e&=-65,e;a.e|=64;return c.type<<8|c.size<<12|c.ja<<13|c.kb<<15|c.e<<20}function nd(a,c,e){c=Rc(a,c);a.l&=-65;if(c.ab||!c.hc||62833>>c.type&1)return a.e&=-65,e;a.e|=64;return c.zb|0}function od(a){a.Ka=-1;a.Xa.set(a.Xb)}function Aa(a){for(var c=new Int32Array(a.Xb.buffer),e=0;262144>e;)c[e++]=c[e++]=c[e++]=c[e++]=0;od(a)}
function Db(a,c){var e;a.A?3===a.K?(e=c>>>12,e=a.Xa[e]&4?a.m[e]^c:Od(a,c,0,1)|c&4095):e=Nd(a,c):e=c;return e}function D(a,c){var e;a.A?3===a.K?(e=c>>>12,e=a.Xa[e]&8?a.m[e]^c:Od(a,c,1,1)|c&4095):(e=c>>>12,e=a.Xa[e]&2?a.m[e]^c:Od(a,c,1,0)|c&4095):e=c;return e}function Nd(a,c){var e=c>>>12;return a.Xa[e]&1?a.m[e]^c:Od(a,c,0,0)|c&4095}
function Od(a,c,e,f){var g=c>>>12,k=(a.r[3]>>>2)+(g>>10),l=a.memory.bb[k],p=!0,w=!0;l&1||(a.r[2]=c,Pd(a,e,f,0));0===(l&2)&&(p=!1,e&&(f||a.r[0]&65536)&&(a.r[2]=c,Pd(a,e,f,1)));0===(l&4)&&(w=!1,f&&(a.r[2]=c,Pd(a,e,f,1)));if(l&a.rd)a.memory.bb[k]=l|32|e<<6,c=l&4290772992|c&4190208,l=l&256;else{var y=((l&4294963200)>>>2)+(g&1023),C=a.memory.bb[y];0===(C&1)&&(a.r[2]=c,Pd(a,e,f,0));0===(C&2)&&(p=!1,e&&(f||a.r[0]&65536)&&(a.r[2]=c,Pd(a,e,f,1)));0===(C&4)&&(w=!1,f&&(a.r[2]=c,Pd(a,e,f,1)));a.memory.bb[k]=
l|32;a.memory.bb[y]=C|32|e<<6;c=C&4294963200;l=C&256}a.m[g]=c^g<<12;p=w?p?15:5:p?3:1;a.Xa[g]=p;l&&a.r[4]&128&&(a.Xb[g]=p);return c}function Fc(a,c,e){if(a.A){var f=3===a.K?1:0,g=f?8:2,k=c>>>12;0===(a.Xa[k]&g)&&Od(a,c,1,f);4096<=(c&4095)+e-1&&0===(a.Xa[k+1]&g)&&Od(a,c+e-1,1,f)}}function Pd(a,c,e,f){if(a.q)throw a.debug.L("Double fault");var g=a.r[2]>>>12;a.Xa[g]=0;a.Xb[g]=0;a.k=a.Da;a.q=!0;Pc(a,14,!1,e<<2|c<<1|f);throw 233495534;};function vd(a){this.b=[];this.C=Array(65536);this.memory=a;for(var c=0;65536>c;c++)this.b[c]={I:this.Xe,G:this.Ve,ne:this.We,N:this.kd,W:this.kd,X:this.kd,na:void 0};for(var e=a.size,c=0;c<<17<e;c++)a.h[c]=a.j[c]=void 0,a.m[c]=a.q[c]=void 0;Md(this,e,4294967296-e,function(){return 255},function(){},function(){return-1},function(){});this.aa=[this.b,this.C,this.memory]}m=vd.prototype;m.Xe=function(){return 255};m.Ve=function(){return 65535};m.We=function(){return-1};m.kd=function(){};
function X(a,c,e,f,g,k){f&&(a.b[c].I=f);g&&(a.b[c].G=g);k&&(a.b[c].ne=k);a.b[c].na=e}function Y(a,c,e,f,g,k){f&&(a.b[c].N=f);g&&(a.b[c].W=g);k&&(a.b[c].X=k);a.b[c].na=e}m.qe=function(a,c,e,f,g,k){function l(){return e.call(this)|f.call(this)<<8}function p(){return g.call(this)|k.call(this)<<8}function w(){return e.call(this)|f.call(this)<<8|g.call(this)<<16|k.call(this)<<24}g&&k?(X(this,a,c,e,l,w),X(this,a+1,c,f),X(this,a+2,c,g,p),X(this,a+3,c,k)):(X(this,a,c,e,l),X(this,a+1,c,f))};
m.nc=function(a,c,e,f,g,k){function l(a){e.call(this,a&255);f.call(this,a>>8&255)}function p(a){g.call(this,a&255);k.call(this,a>>8&255)}function w(a){e.call(this,a&255);f.call(this,a>>8&255);g.call(this,a>>16&255);k.call(this,a>>>24)}g&&k?(Y(this,a,c,e,l,w),Y(this,a+1,c,f),Y(this,a+2,c,g,p),Y(this,a+3,c,k)):(Y(this,a,c,e,l),Y(this,a+1,c,f))};function Jb(a,c,e){c>>>=0;e=c+(e>>>0);if(e>=a.memory.size)return!0;for(c&=-131072;c<e;){if(a.memory.d[c>>17])return!0;c+=131072}return!1}
m.hf=function(a){var c=this.memory.h[a>>>17];return c(a)|c(a+1)<<8|c(a+2)<<16|c(a+3)<<24};m.jf=function(a,c){var e=this.memory.j[a>>>17];e(a,c&255);e(a+1,c>>8&255);e(a+2,c>>16&255);e(a+3,c>>>24)};function Md(a,c,e,f,g,k,l){k||(k=a.hf.bind(a));l||(l=a.jf.bind(a));for(c>>>=17;0<e;c++)a.memory.d[c]=1,a.memory.h[c]=f,a.memory.j[c]=g,a.memory.m[c]=k,a.memory.q[c]=l,e-=131072}function jc(a,c,e){a=a.b[c];a.N.call(a.na,e)}function lc(a,c,e){a=a.b[c];a.W.call(a.na,e)}
function nc(a,c,e){a=a.b[c];a.X.call(a.na,e)}function dc(a,c){var e=a.b[c];return e.I.call(e.na)}function fc(a,c){var e=a.b[c];return e.G.call(e.na)}function hc(a,c){var e=a.b[c];return e.ne.call(e.na)};function Qd(a){this.m=!0;this.h=this.d=!1;this.n=new q;this.o=a;a.register("cpu-init",this.Ca,this);a.register("cpu-run",this.j,this);a.register("cpu-stop",this.v,this);this.b=function(){console.assert(!1)};this.q=function(){console.assert(!1)}}Qd.prototype.j=function(){this.d||this.b()};function Rd(a){if(a.h)a.h=a.d=!1;else{a.d=!0;var c;a:{var e=a.n;try{if(e.gc){c=e.D();break a}e.Jd()}catch(f){e.Kd(f)}c=0}a.q(c)}}Qd.prototype.v=function(){this.d&&(this.h=!0)};
Qd.prototype.Ca=function(a){this.m&&(this.m=!1,Sd(this));this.n.Ca(a,this.o);this.o.send("emulator-ready")};
function Sd(a){"undefined"!==typeof setImmediate?a.b=function(){setImmediate(function(){Rd(a)})}:"undefined"!==typeof window&&"undefined"!==typeof postMessage?(window.addEventListener("message",function(c){c.source===window&&43605===c.data&&Rd(a)},!1),a.b=function(){window.postMessage(43605,"*")}):a.b=function(){setTimeout(function(){Rd(a)},0)};a.q="undefined"!==typeof document&&"boolean"===typeof document.hidden?function(c){4>c||document.hidden?this.b():setTimeout(function(){Rd(a)},c)}:function(c){setTimeout(function(){Rd(a)},
c)}}var Ba="object"===typeof performance&&performance.now?function(){return performance.now()}:Date.now;var rd,Td,Ud,Vd,Wd,Xd;function Yd(a){for(a=(a=(a?a.toString(16):"").toUpperCase())?a+"":"";1>a.length;)a="0"+a;return"0x"+a}function Zd(a){this.buffer=a;this.byteLength=a.byteLength;this.onprogress=this.onload=void 0}Zd.prototype.load=function(){this.onload&&this.onload({buffer:this.buffer})};Zd.prototype.get=function(a,c,e){e(new Uint8Array(this.buffer,a,c))};Zd.prototype.set=function(a,c,e){(new Uint8Array(this.buffer,a,c.byteLength)).set(c);e()};
(function(){for(var a=new Int8Array(256),c=0,e=-2;256>c;c++)c&c-1||e++,a[c]=e;Td=function(c){return a[c]};rd=function(c){var e=c>>>16;if(e){var k=e>>>8;return k?24+a[k]:16+a[e]}return(k=c>>>8)?8+a[k]:a[c]}})();function $d(a){var c=new Uint8Array(a),e,f;this.length=0;this.push=function(e){this.length!==a&&this.length++;c[f]=e;f=f+1&a-1};this.shift=function(){if(this.length){var f=c[e];e=e+1&a-1;this.length--;return f}return-1};this.clear=function(){this.length=f=e=0};this.clear()};function Ed(a){this.n=a;this.d=new Float64Array(8);this.Za();this.j=255;this.b=0;this.D=895;this.ka=this.S=this.Z=this.la=this.V=this.h=0;this.ba=NaN;this.ua=new Float64Array([1,Math.log(10)/Math.LN2,Math.LOG2E,Math.PI,Math.log(2)/Math.LN10,Math.LN2,0])}
Ed.prototype.Za=function(){this.H=new Float32Array(1);this.Fa=new Uint8Array(this.H.buffer);this.O=new Int32Array(this.H.buffer);this.v=new Float64Array(1);this.q=new Uint8Array(this.v.buffer);this.m=new Int32Array(this.v.buffer);this.ma=new Uint8Array(this.d.buffer);this.Ha=new Int32Array(this.d.buffer);this.aa=[this.n,this.H,this.Fa,this.O,this.v,this.q,this.m,this.ma,this.Ha]};function Wc(a){U(a.n)}function ad(a){a.h|=1}
function Vc(a,c){var e=Uc(a);a.h&=-18177;e>c||(a.h=c>e?a.h|256:e===c?a.h|16384:a.h|17664)}function gd(a,c){var e=a.d[a.b];a.n.l&=-70;a.n.e&=-70;e>c||(a.n.e=c>e?a.n.e|1:e===c?a.n.e|64:a.n.e|69)}function fd(a){a.D=895;a.h=0;a.V=0;a.S=0;a.Z=0;a.j=255;a.b=0}
function Yc(a,c){if(a.n.La){Fc(a.n,c,26);E(a.n,c,a.D);E(a.n,c+4,a.h&-14337|a.b<<11);for(var e=0,f,g=0;8>g;g++)f=a.d[g],a.j>>g&1?e|=3<<(g<<1):0===f?e|=1<<(g<<1):isFinite(f)||(e|=2<<(g<<1));E(a.n,c+8,e);G(a.n,c+12,a.V);E(a.n,c+16,a.la);E(a.n,c+18,a.Z);G(a.n,c+20,a.S);E(a.n,c+24,a.ka)}else Wc(a)}
function Xc(a,c){if(a.n.La){a.D=F(a.n,c);var e=F(a.n,c+4);a.h=e&-14337;a.b=e>>11&7;for(var e=F(a.n,c+8),f=a.j=0;8>f;f++)a.j|=e>>f&e>>f+1&1<<f;a.V=H(a.n,c+12);a.la=F(a.n,c+16);a.Z=F(a.n,c+18);a.S=H(a.n,c+20);a.ka=F(a.n,c+24)}else Wc(a)}function Zc(a,c){var e=a.D>>10&3;return 0===e?(e=Math.round(c),.5===e-c&&e%2&&e--,e):1===e||3===e&&0<c?Math.floor(c):Math.ceil(c)}function $c(a){return 0<a?Math.floor(a):Math.ceil(a)}
Ed.prototype.push=function(a){this.b=this.b-1&7;this.j>>this.b&1?(this.h&=-513,this.j&=~(1<<this.b),this.d[this.b]=a):(this.h|=512,this.h|=65,this.d[this.b]=this.ba)};Ed.prototype.pop=function(){this.j|=1<<this.b;this.b=this.b+1&7};function W(a,c){c=c+a.b&7;return a.j>>c&1?(a.h&=-513,a.h|=65,a.ba):a.d[c]}function Uc(a){return a.j>>a.b&1?(a.h&=-513,a.h|=65,a.ba):a.d[a.b]}
function dd(a,c){var e=F(a.n,c+8),f,g=H(a.n,c)>>>0,k=H(a.n,c+4)>>>0;f=e>>15;e&=-32769;if(0===e)return 0;if(!(32767>e))return a.q[7]=127|f<<7,a.q[6]=240|k>>30<<3&8,a.q[5]=0,a.q[4]=0,a.m[0]=0,a.v[0];g+=4294967296*k;f&&(g=-g);return g*Math.pow(2,e-16383-63)}
function ed(a,c,e){a.v[0]=a.d[a.b+e&7];e=a.q[7]&128;var f=(a.q[7]&127)<<4|a.q[6]>>4,g,k;2047===f?(f=32767,g=0,k=2147483648|(a.m[1]&524288)<<11):0===f?k=g=0:(f+=15360,g=a.m[0]<<11,k=2147483648|(a.m[1]&1048575)<<11|a.m[0]>>>21);G(a.n,c,g);G(a.n,c+4,k);E(a.n,c+8,e<<8|f)}function hd(a,c){var e=H(a.n,c),f=H(a.n,c+4);a.m[0]=e;a.m[1]=f;return a.v[0]}function id(a,c){Fc(a.n,c,8);a.v[0]=W(a,0);G(a.n,c,a.m[0]);G(a.n,c+4,a.m[1])}function Tc(a,c){a.O[0]=H(a.n,c);return a.H[0]}
Ed.prototype.sign=function(a){return this.ma[(this.b+a&7)<<3|7]>>7};function Id(a,c,e,f,g){this.o=g;0===f?(this.m=496,this.Fa=14,this.Cb=240):(this.m=496,this.Fa=14,this.Cb=248);this.ob=f;this.ua=this.m|516;this.M=a.C.M;this.memory=a.memory;this.buffer=c;this.v=e?2048:512;this.la=e;this.H=this.Z=this.S=this.j=0;this.buffer&&(this.j=this.buffer.byteLength/this.v,this.j!==(this.j|0)&&(this.j=Math.ceil(this.j)),e?(this.S=1,this.Z=0):(this.S=16,this.Z=63),a.C.Ea.Ia[57]=1,this.H=this.j/this.S/this.Z,this.H!==(this.H|0)&&(this.H=Math.floor(this.H)),16383<this.H&&(this.H=
16383));this.$={ue:0,ve:0,Ed:0,Fd:0,$d:!1};this.Vb=[134,128,32,58,5,0,160,2,0,143,1,1,0,0,0,0,this.m&255|1,this.m>>8,0,0,this.ua&255|1,this.ua>>8,0,0,0,0,0,0,0,0,0,0,1,192,0,0,0,0,0,0,0,0,0,0,67,16,212,130,0,0,0,0,0,0,0,0,0,0,0,0,this.Fa,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.Ub=[{size:8},{size:4},!1,!1,{size:16}];ae(a.C.Nc,this);X(a.p,
this.m|7,this,this.pe);X(a.p,this.ua|2,this,this.pe);Y(a.p,this.ua|2,this,this.sg);this.nb=2;this.q=0;this.b=new Uint8Array(0);this.jd=this.head=this.fa=this.T=this.V=this.O=this.h=this.od=0;this.status=80;this.gb=1;this.ka=this.ba=this.pb=0;this.D=new Uint8Array(0);this.Ha=0;this.Ya=-1;this.d=this.ma=0;X(a.p,this.m|0,this,this.dg,this.bg,this.cg);X(a.p,this.m|1,this,this.fg);X(a.p,this.m|2,this,this.ag);X(a.p,this.m|3,this,this.hg);X(a.p,this.m|4,this,function(){return this.T&255});X(a.p,this.m|
5,this,function(){return this.fa&255});X(a.p,this.m|6,this,function(){return this.jd});Y(a.p,this.m|0,this,this.Hb,this.tg,this.ug);Y(a.p,this.m|1,this,this.vg);Y(a.p,this.m|2,this,this.rg);Y(a.p,this.m|3,this,this.wg);Y(a.p,this.m|4,this,function(a){this.T=(this.T<<8|a)&65535});Y(a.p,this.m|5,this,function(a){this.fa=(this.fa<<8|a)&65535});Y(a.p,this.m|6,this,function(a){a&16||(this.jd=a,this.od=a>>6&1,this.head=a&15)});Y(a.p,this.m|7,this,this.Ie);X(a.p,49156,this,void 0,void 0,this.Oe);Y(a.p,49156,
this,void 0,void 0,this.Se);X(a.p,49152,this,this.Qe,void 0,this.Pe);Y(a.p,49152,this,this.Ue,void 0,this.Te);X(a.p,49154,this,this.Re);Y(a.p,49154,this,this.Id);this.aa=[this.memory,this.M,this.$,this.buffer,this.o]}m=Id.prototype;m.B=function(){0===(this.nb&2)&&(this.d|=4,this.M.B(this.Fa))};
m.Ie=function(a){switch(a){case 0:this.B();this.status=80;break;case 8:this.q=0;this.b=new Uint8Array(0);this.status=80;this.B();break;case 16:this.B();break;case 39:this.B();this.b=new Uint8Array([0,0,0,0,this.buffer.byteLength&255,this.buffer.byteLength>>8&255,this.buffer.byteLength>>16&255,this.buffer.byteLength>>24&255,0,0,0,0]);this.status=88;break;case 32:case 41:case 36:case 196:be(this,a);break;case 48:case 52:case 57:a:{if(48===a){a=this.h&255;var c=this.od?ce(this):de(this);0===a&&(a=256)}else if(52===
a||57===a)a=this.h,c=ee(this),0===a&&(a=65536);else break a;var e=a*this.v,c=c*this.v;this.T+=a;c+e>this.buffer.byteLength?this.status=255:(this.status=88,fe(this,e),this.pb=c,this.Ha=1);this.B()}break;case 144:this.B();this.V=257;this.status=80;break;case 145:this.B();break;case 160:this.la&&(this.status=88,fe(this,12),this.Ha=2,this.h=1,this.B());break;case 161:this.la?(ge(this),this.status=88):this.status=80;this.B();break;case 198:this.gb=this.h;this.B();break;case 200:ke(this);break;case 202:le(this);
break;case 225:this.B();break;case 236:if(this.la)break;ge(this);this.status=88;this.B();break;case 234:this.B();break;case 239:this.B();break;default:this.V=4}};m.hd=function(){this.status=80;this.buffer.set(this.pb,this.D.subarray(0,this.ba),function(){this.B()}.bind(this));me(this,this.ba)};m.pe=function(){var a=this.status;0<=this.Ya&&(this.status=this.Ya,this.Ya=-1);return a};
m.sg=function(a){this.nb=a;a&4&&(this.la?(this.status=81,this.O=this.V=this.h=1,this.T=20,this.fa=235):(this.status=81,this.O=this.V=this.h=1,this.T=60,this.fa=195))};function fe(a,c){c>a.D.length&&(a.D=new Uint8Array(c));a.ba=c;a.ka=0}
function ne(a,c){var e=(c[7]<<8|c[8])*a.v,f=(a.fa&255)<<8|a.T&255,g=(c[2]<<24|c[3]<<16|c[4]<<8|c[5])*a.v;f||(f=32768);f=Math.min(e,f);a.T=f&255;a.fa=f>>8&255;g>=a.buffer.byteLength?(a.status=255,a.B()):(e=Math.min(e,a.buffer.byteLength-g),a.status=128,oe(a),a.buffer.get(g,e,function(a){this.b=a;this.status=88;this.q=0;this.B();pe(this,e)}.bind(a)))}
function qe(a,c){var e=(c[7]<<8|c[8])*a.v,f=(c[2]<<24|c[3]<<16|c[4]<<8|c[5])*a.v;f>=a.buffer.byteLength?(a.status=255,a.B()):(e=Math.min(e,a.buffer.byteLength-f),a.status=128,oe(a),a.buffer.get(f,e,function(a){var c=this.ma,f=0;do{var p=N(this.memory,c),w=this.memory.G(c+4),y=this.memory.I(c+7)&128;w||(w=65536);this.memory.b.set(a.subarray(f,f+w),p);f+=w;c+=8}while(!y);this.status=80;this.d&=-4;this.d|=4;this.B();pe(this,e)}.bind(a)))}m.dg=function(){return re(this)};
m.bg=function(){return re(this)|re(this)<<8};m.cg=function(){return re(this)|re(this)<<8|re(this)<<16|re(this)<<24};m.fg=function(){return this.V&255};m.ag=function(){return this.h&255};m.hg=function(){return this.O&255};function re(a){if(a.q<a.b.length){0!==(a.q+1)%(512*a.gb)&&a.q+1!==a.b.length||a.B();a.T?a.T--:a.fa&&(a.fa--,a.T=255);if(!a.T&&!a.fa){var c=a.b.length-a.q-1;65536<=c?(a.fa=240,a.T=0):(a.fa=c>>8,a.T=c)}a.q+1>=a.b.length&&(a.status=80);return a.b[a.q++]}a.q++;return 0}
m.Hb=function(a){if(!(this.ka>=this.ba)&&(this.D[this.ka++]=a,0===this.ka%(512*this.gb)&&this.B(),this.ka===this.ba))switch(this.Ha){case 1:this.hd();break;case 2:switch(this.h=2,this.D[0]){case 0:this.status=64;this.T=8;this.fa=0;this.B();break;case 3:this.b=new Uint8Array(Math.min(this.D[4],15));this.status=88;this.b[0]=240;this.b[7]=8;this.q=0;this.h=2;this.T=8;this.fa=0;this.B();break;case 18:this.b=new Uint8Array(Math.min(this.D[4],36));this.status=88;this.b.set([5,128,1,49,0,0,0,0,83,79,78,
89,32,32,32,32,67,68,45,82,79,77,32,67,68,85,45,49,48,48,48,32,49,46,49,97]);this.q=0;this.h=2;this.B();break;case 30:this.b=new Uint8Array(0);this.status=80;this.q=0;this.h=2;this.B();break;case 37:this.b=new Uint8Array([this.j>>24&255,this.j>>16&255,this.j>>8&255,this.j&255,0,0,this.v>>8&255,this.v&255]);this.status=88;this.q=0;this.h=2;this.T=8;this.fa=0;this.B();break;case 40:this.V&1?qe(this,this.D):ne(this,this.D);break;case 67:this.b=new Uint8Array(2048);this.b[0]=0;this.b[1]=10;this.b[2]=
1;this.b[3]=1;this.status=88;this.q=0;this.h=2;this.fa=8;this.T=0;this.B();break;case 70:this.b=new Uint8Array(this.D[8]|this.D[7]<<8);this.status=88;this.q=0;this.h=2;this.B();break;case 74:this.b=new Uint8Array(this.D[8]|this.D[7]<<8);this.status=88;this.q=0;this.h=2;this.B();break;case 81:this.b=new Uint8Array(0);this.status=80;this.q=0;this.h=2;this.B();break;case 90:this.B();this.status=80;break;default:this.status=80}}};m.tg=function(a){this.Hb(a&255);this.Hb(a>>8&255)};
m.ug=function(a){this.Hb(a&255);this.Hb(a>>8&255);this.Hb(a>>16&255);this.Hb(a>>24&255)};m.vg=function(a){this.V=(this.V<<8|a)&65535};m.rg=function(a){this.h=(this.h<<8|a)&65535};m.wg=function(a){this.O=(this.O<<8|a)&65535};
function be(a,c){if(32===c||196===c){var e=a.h&255,f=a.od?ce(a):de(a);0===e&&(e=256)}else if(36===c||41===c)e=a.h,f=ee(a),0===e&&(e=65536);else return;var g=e*a.v,f=f*a.v;a.T+=e;f+g>a.buffer.byteLength?(a.status=255,a.B()):(a.status=128,oe(a),a.buffer.get(f,g,function(a){this.b=a;this.status=88;this.q=0;this.B();pe(this,g)}.bind(a)))}
function ke(a){var c=a.h&255,e=c*a.v,f=ce(a)*a.v;a.T+=c;f+e>a.buffer.byteLength?(a.status=255,a.B()):(a.status=128,a.d|=1,oe(a),a.buffer.get(f,e,function(a){var c=this.ma,f=0;do{var p=N(this.memory,c),w=this.memory.G(c+4),y=this.memory.I(c+7)&128;w||(w=65536);this.memory.b.set(a.subarray(f,f+w),p);f+=w;c+=8}while(!y);this.status=80;this.d&=-4;this.d|=4;this.B();pe(this,e)}.bind(a)))}
function le(a){var c=a.h&255,e=c*a.v,f=ce(a)*a.v;a.T+=c;if(f+e>a.buffer.byteLength)a.status=255,a.B();else{a.status=128;a.d|=1;var c=a.ma,g=0,k=0,l=0;do{var p=N(a.memory,c),w=a.memory.G(c+4),y=a.memory.I(c+7)&128;w||(w=65536);a.buffer.set(f+l,a.memory.b.subarray(p,p+w),function(){k++;k===g&&(this.status=80,this.B(),this.d&=-4,this.d|=4)}.bind(a));l+=w;c+=8;g++}while(!y);k===g&&(a.status=80,a.B(),a.d&=-4,a.d|=4);me(a,e)}}function de(a){return((a.T&255|a.fa<<8&65280)*a.S+a.head)*a.Z+(a.O&255)-1}
function ce(a){return a.O&255|a.T<<8&65280|a.fa<<16&16711680|a.head<<24}function ee(a){return(a.O&255|a.T<<8&65280|a.fa<<16&16711680|a.O>>8<<24&4278190080)>>>0}
function ge(a){a.q=0;a.jd&16?a.b=new Uint8Array(0):(a.b=new Uint8Array([64,a.la?133:0,a.H,a.H>>8,0,0,a.S,a.S>>8,0,0,0,0,a.Z,a.Z>>8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,2,4,0,0,0,0,0,0,0,0,0,56,118,32,54,68,72,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,255,0,1,0,0,3,0,0,0,2,0,2,7,0,a.H,a.H>>8,a.S,a.S>>8,a.Z,0,a.j&255,a.j>>8&255,a.j>>16&255,a.j>>24&255,0,0,a.j&255,a.j>>8&255,a.j>>16&255,a.j>>24&255,0,0,0,4,0,0,30,0,30,0,
30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,126,0,0,0,0,0,0,116,0,64,0,64,0,116,0,64,0,0,0,0,0,0,0,0,0,0,1,96,0,0,0,0,0,0,0,0,0,0,0,0,a.j&255,a.j>>8&255,a.j>>16&255,a.j>>24&255]),16383<a.H&&(a.b[2]=a.b[108]=255,a.b[3]=a.b[109]=63))}m.Oe=function(){return this.ma};m.Se=function(a){this.ma=a};m.Re=function(){return this.d};m.Id=function(a){this.d&=~a};m.Pe=function(){return 1|this.d<<16};m.Qe=function(){return 1};m.Te=function(a){a&1&&this.B();this.Id(a>>16&255)};m.Ue=function(a){a&1&&this.B()};
function oe(a){a.$.$d=!0;a.o.send("ide-read-start")}function pe(a,c){a.$.$d=!1;var e=c/a.v|0;a.$.ue+=e;a.$.Ed+=c;a.o.send("ide-read-end",[a.ob,c,e])}function me(a,c){var e=c/a.v|0;a.$.ve+=e;a.$.Fd+=c;a.o.send("ide-write-end",[a.ob,c,e])};function Ad(a){this.Va=new Uint8Array(4);this.mc=new Uint8Array(4);this.kc=new Uint8Array(4);this.lc=new Uint8Array(4);new Int32Array(this.Va.buffer);this.mf=new Int32Array(this.mc.buffer);this.fe=new Int32Array(this.kc.buffer);this.ge=new Int32Array(this.lc.buffer);this.Gc=Array(65536);this.C=Array(65536);a.p.nc(3324,this,function(a){this.mc[0]=a},function(a){this.mc[1]=a},function(a){this.mc[2]=a},function(a){this.mc[3]=a;var e=this.Va[2]<<8|this.Va[1];a=this.Va[0]&252;var f=this.Gc[e],e=this.C[e];
if(f&&16<=a&&40>a){var g=this.mf[0],k=a-16>>2,l=e.Ub[k];f[a>>2]=l?-1===g?l.size|3:e.Gd[k]:0}});a.p.qe(3324,this,function(){return this.kc[0]},function(){return this.kc[1]},function(){return this.kc[2]},function(){return this.kc[3]});a.p.qe(3320,this,function(){return this.lc[0]},function(){return this.lc[1]},function(){return this.lc[2]},function(){return this.lc[3]});a.p.nc(3320,this,function(a){this.Va[0]=a},function(a){this.Va[1]=a},function(a){this.Va[2]=a},function(a){this.Va[3]=a;a=this.Va[0]&
252;var e=this.Gc[this.Va[2]<<8|this.Va[1]];void 0!==e?(this.ge[0]=-2147483648,this.fe[0]=a<e.byteLength?e[a>>2]:-1):(this.fe[0]=-1,this.ge[0]=0)});ae(this,{Cb:0,Vb:[134,128,55,18,0,0,0,0,2,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Ub:[]});ae(this,{Cb:8,Vb:[134,128,0,112,7,0,0,2,0,0,1,6,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Ub:[]});this.aa=[this.C,this.Gc]}
function ae(a,c){var e=c.Cb,f=new Int32Array((new Uint8Array(c.Vb)).buffer);a.Gc[e]=f;a.C[e]=c;c.Gd=new Int32Array(6);c.Gd.set(f.subarray(4,10))};function Hd(a,c,e){this.p=a.p;this.M=a.C.M;this.dc=a.C.dc;this.d=0;this.Z=new Uint8Array(10);this.ba=0;this.j=null;this.b=new Uint8Array(10);this.D=this.q=this.m=0;this.v=c;this.S=e;this.h=this.H=0;this.aa=[this.p,this.M,this.dc];this.S&&this.aa.push(this.S);if(c){this.aa.push(this.v);this.D=c.byteLength;if((e={160:{type:1,fb:40,Wa:8,Ua:1},180:{type:1,fb:40,Wa:9,Ua:1},200:{type:1,fb:40,Wa:10,Ua:1},320:{type:1,fb:40,Wa:8,Ua:2},360:{type:1,fb:40,Wa:9,Ua:2},400:{type:1,fb:40,Wa:10,Ua:2},720:{type:3,
fb:80,Wa:9,Ua:2},1200:{type:2,fb:80,Wa:15,Ua:2},1440:{type:4,fb:80,Wa:18,Ua:2},1722:{type:5,fb:82,Wa:21,Ua:2},2880:{type:5,fb:80,Wa:36,Ua:2}}[this.D>>10])&&0===(this.D&1023))a.C.Ea.Ia[16]=e.type<<4,a=e.Wa,c=e.Ua;else throw"Unknown floppy size: "+Yd(c.byteLength);this.O=a;this.V=c;X(this.p,1008,this,this.Jf);X(this.p,1010,this,this.Kf);X(this.p,1012,this,this.Mf);X(this.p,1013,this,this.Nf);X(this.p,1015,this,this.Pf);Y(this.p,1010,this,this.Lf);Y(this.p,1013,this,this.Of)}else a.C.Ea.Ia[16]=64}
m=Hd.prototype;m.Jf=function(){return 0};m.Mf=function(){var a=128;this.m<this.q&&(a|=80);0===(this.h&8)&&(a|=32);return a};m.Pf=function(){return 0};m.Nf=function(){return this.m<this.q?this.b[this.m++]:255};
m.Of=function(a){if(0<this.d)this.Z[this.ba++]=a,this.d--,0===this.d&&this.j.call(this,this.Z);else{switch(a){case 3:this.j=this.Ze;this.d=2;break;case 4:this.j=this.Me;this.d=1;break;case 5:case 197:this.j=function(a){se(this,!0,a)};this.d=8;break;case 230:this.j=function(a){se(this,!1,a)};this.d=8;break;case 7:this.j=this.Le;this.d=1;break;case 8:this.m=0;this.q=2;this.b[0]=32;this.b[1]=this.H;break;case 74:this.j=this.gg;this.d=1;break;case 15:this.d=2;this.j=this.ze;break;case 14:this.b[0]=128,
this.m=0,this.q=1,this.d=0}this.ba=0}};m.Kf=function(){return this.h};m.Lf=function(a){4===(a&4)&&0===(this.h&4)&&this.M.B(6);this.h=a};m.Me=function(){this.m=0;this.q=1;this.b[0]=32};m.ze=function(a){this.H=a[1];this.h&8&&this.M.B(6)};m.Le=function(){this.h&8&&this.M.B(6)};function se(a,c,e){var f=e[2],g=e[1],k=e[3],l=128<<e[4],p=e[5]-e[3]+1,w=((f+a.V*g)*a.O+k-1)*l;c?a.dc.hd(a.v,w,p*l,2,a.done.bind(a,e,g,f,k)):te(a.dc,a.v,w,a.done.bind(a,e,g,f,k))}
m.done=function(a,c,e,f,g){g||(f++,f>this.O&&(f=1,e++,e>=this.V&&(e=0,a++)),this.H=a,this.m=0,this.q=7,this.b[0]=e<<2|32,this.b[1]=0,this.b[2]=0,this.b[3]=a,this.b[4]=e,this.b[5]=f,this.b[6]=c[4],this.h&8&&this.M.B(6))};m.Ze=function(){};m.gg=function(){this.m=0;this.q=7;this.b[0]=0;this.b[1]=0;this.b[2]=0;this.b[3]=0;this.b[4]=0;this.b[5]=0;this.b[6]=0;this.h&8&&this.M.B(6)};function ud(a){this.size=a;this.d=new Uint8Array(32768);this.h=[];this.j=[];this.m=[];this.q=[];this.buffer=new ArrayBuffer(a);this.Za()}m=ud.prototype;m.Za=function(){this.b=new Uint8Array(this.buffer);this.v=new Uint16Array(this.buffer);this.bb=new Int32Array(this.buffer);this.aa=[this.b,this.v,this.bb,this.d,this.h,this.m,this.j,this.q]};function ue(a,c){var e=a.h[c>>>17];return e(c)|e(c+1)<<8}function ve(a,c,e){a=a.j[c>>>17];a(c,e&255);a(c+1,e>>8&255)}
m.I=function(a){return this.d[a>>>17]?this.h[a>>>17](a):this.b[a]};m.G=function(a){return this.d[a>>>17]?ue(this,a):this.b[a]|this.b[a+1]<<8};function Hb(a,c){return a.d[c>>>16]?ue(a,c<<1):a.v[c]}function N(a,c){return a.d[c>>>17]?a.m[c>>>17](c):a.b[c]|a.b[c+1]<<8|a.b[c+2]<<16|a.b[c+3]<<24}function Lb(a,c){var e;a.d[c>>>15]?(e=c<<2,e=a.m[e>>>17](e)):e=a.bb[c];return e}m.N=function(a,c){if(this.d[a>>>17])this.j[a>>>17](a,c);else this.b[a]=c};
m.W=function(a,c){this.d[a>>>17]?ve(this,a,c):(this.b[a]=c,this.b[a+1]=c>>8)};function Gb(a,c,e){a.d[c>>>16]?ve(a,c<<1,e):a.v[c]=e}m.X=function(a,c){if(this.d[a>>>17])this.q[a>>>17](a,c);else this.b[a]=c,this.b[a+1]=c>>8,this.b[a+2]=c>>16,this.b[a+3]=c>>24};function Kb(a,c,e){a.d[c>>>15]?(c=c<<2,a.q[c>>>17](c,e)):a.bb[c]=e};function Bd(a){this.memory=a.memory;this.b=[{Aa:0,count:0},{Aa:0,count:0},{Aa:0,count:0},{Aa:0,count:0}];this.d=0;a=a.p;Y(a,4,this,this.ke.bind(this,4));Y(a,5,this,this.ke.bind(this,5));Y(a,10,this,this.Vf);Y(a,11,this,this.Wf);Y(a,12,this,this.Xf);Y(a,129,this,this.Uf);this.aa=[this.memory]}m=Bd.prototype;m.ke=function(a,c){if(8>a){var e=a>>1;a&1?this.b[e].count=we(this,this.b[e].count,c):this.b[e].Aa=we(this,this.b[e].Aa,c)}};m.Vf=function(){};m.Wf=function(){};m.Xf=function(){this.d=0};
m.Uf=function(a){this.b[2].Aa=this.b[2].Aa&65535|a<<16};function te(a,c,e,f){var g=a.b[2].count+1,k=a.b[2].Aa;if(e+g>c.byteLength)f(!0);else{var l=a.memory;a.b[2].Aa+=g;c.get(e,g,function(a){l.b.set(a,k);f(!1)})}}m.hd=function(a,c,e,f,g){e=this.b[f].count;var k=this.b[f].Aa;c+e>a.byteLength?g(!0):(this.b[f].Aa+=e,a.set(c,new Uint8Array(this.memory.buffer,k,e+1),function(){g(!1)}))};function we(a,c,e){a.d^=1;return a.d?c&-256|e:c&-65281|e<<8};function Jd(a){this.M=a.C.M;this.q=Date.now();this.h=new Uint8Array(4);this.j=new Uint8Array(4);this.m=new Uint8Array(4);this.H=new Uint8Array(4);this.v=new Uint8Array(4);this.D=new Uint16Array(3);this.d=new Uint16Array(3);this.b=new Uint16Array(3);this.Lb=0;X(a.p,97,this,function(){return(66.66666666666667*Ba()&1)<<4|this.Lb<<5});X(a.p,64,this,function(){return xe(this,0)});X(a.p,65,this,function(){return xe(this,1)});X(a.p,66,this,function(){return xe(this,2)});Y(a.p,64,this,function(a){ye(this,
0,a)});Y(a.p,65,this,function(a){ye(this,1,a)});Y(a.p,66,this,function(a){ye(this,2,a)});Y(a.p,67,this,this.O);this.aa=[this.M]}
Jd.prototype.za=function(a,c){var e,f,g=1193.1816666*(a-this.q)>>>0;if(!g)return 0;this.q+=g/1193.1816666;var k=100;if(!c&&this.j[0])if(e=this.b[0]-=g,0>=e)if(k=0,this.M.B(0),f=this.m[0],0===f)this.j[0]=0,this.b[0]=0;else{if(3===f||2===f)this.b[0]=this.d[0]+e%this.d[0]}else k=e/1193.1816666;this.j[2]&&(e=this.b[2]-=g,0>=e&&(f=this.m[2],0===f?(this.Lb=1,this.j[2]=0,this.b[2]=0):2===f?(this.Lb=1,this.b[2]=this.d[2]+e%this.d[2]):3===f&&(this.Lb^=1,this.b[2]=this.d[2]+e%this.d[2])));return k};
function xe(a,c){var e=a.v[c];if(e)return a.v[c]--,2===e?a.D[c]&255:a.D[c]>>8;e=a.h[c];3===a.m[c]&&(a.h[c]^=1);return e?a.b[c]&255:a.b[c]>>8}function ye(a,c,e){a.d[c]=a.h[c]?a.d[c]&-256|e:a.d[c]&255|e<<8;3===a.H[c]&&a.h[c]||(a.d[c]||(a.d[c]=65535),a.b[c]=a.d[c],a.j[c]=!0);3===a.H[c]&&(a.h[c]^=1)}Jd.prototype.O=function(a){var c=a>>1&7,e=a>>6&3;a=a>>4&3;3!==e&&(0===a?(this.v[e]=2,this.D[e]=this.b[e]):(6<=c&&(c&=-5),this.h[e]=1===a?0:1,this.m[e]=c,this.H[e]=a,2===e&&(this.Lb=0===c?0:1)))};function Dd(a,c,e){this.o=c;this.Sa=e;this.S=0;this.Vc=14;this.Uc=15;this.Ha=80;this.zc=25;this.Z=this.Ya=this.V=0;this.nb=!0;this.ba=this.gb=!1;this.q=new Int32Array(256);this.H=this.m=this.Fa=this.ua=this.ma=this.la=0;this.Cc=80;this.D=!1;this.Bc=this.j=0;this.Vb=[222,16,32,10,7,0,0,0,162,0,0,3,0,0,128,0,8,0,0,224,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,1,0,0];this.Cb=144;this.Ub=[];ae(a.C.Nc,this);this.$={Wd:!1,re:0,se:0,Dd:0};this.wc=this.ka=0;this.v=
-1;this.Wc=new Uint8Array(16);this.Ac=-1;this.h=15;this.zd=0;this.yc=-1;this.Yc=this.Xc=this.Zc=0;this.b=255;this.xd=0;this.$c=this.yd=255;a=a.p;Y(a,960,this,this.rf);X(a,960,this,this.ie,this.qf);X(a,961,this,this.je);Y(a,962,this,this.sf);a.nc(964,this,this.uf,this.wf);X(a,964,this,this.tf);X(a,965,this,this.vf);a.nc(974,this,this.Cf,this.Ef);X(a,974,this,this.Bf);X(a,975,this,this.Df);Y(a,967,this,this.xf);Y(a,968,this,this.yf);Y(a,969,this,this.zf);X(a,972,this,this.Af);a.nc(980,this,this.Ff,
this.Hf);X(a,981,this,this.Gf);X(a,986,this,this.If);this.xc=-1;this.ob=0;Y(a,462,this,void 0,this.nf);Y(a,463,this,void 0,this.pf);X(a,463,this,void 0,this.of);void 0===this.Sa||262144>this.Sa?this.Sa=262144:this.Sa&65535&&(this.Sa|=65535,this.Sa++);this.d=new Uint8Array(this.Sa);this.Za();var f=this;Md(a,655360,131072,function(a){a-=655360;!f.gb||f.nb?a=f.O[a]:(a&=65535,f.la=f.pb[a],f.ma=f.Yb[a],f.ua=f.Zb[a],f.Fa=f.$b[a],a=f.O[f.Zc<<16|a]);return a},function(a,c){var e;e=a-655360;if(f.gb)if(f.nb){var p=
e,w=p<<2,y=f.q[c];f.o.send("screen-put-pixel-linear",[w|2,y>>16&255]);f.o.send("screen-put-pixel-linear",[w|1,y>>8&255]);f.o.send("screen-put-pixel-linear",[w,y&255]);f.O[p]=c}else{if(!(65535<e)){var C,I=f.Xc&3;0===I?p=w=y=C=c:2===I&&(f.h&1&&(p=f.la&~f.b|(c&1?255:0)&f.b),f.h&2&&(w=f.ma&~f.b|(c&2?255:0)&f.b),f.h&4&&(y=f.ua&~f.b|(c&4?255:0)&f.b),f.h&8&&(C=f.Fa&~f.b|(c&8?255:0)&f.b));if(0===I||2===I){switch(f.Yc&24){case 8:p&=f.la;w&=f.ma;y&=f.ua;C&=f.Fa;break;case 16:p|=f.la;w|=f.ma;y|=f.ua;C|=f.Fa;
break;case 24:p^=f.la,w^=f.ma,y^=f.ua,C^=f.Fa}f.h&1&&(p=f.la&~f.b|p&f.b);f.h&2&&(w=f.ma&~f.b|w&f.b);f.h&4&&(y=f.ua&~f.b|y&f.b);f.h&8&&(C=f.Fa&~f.b|C&f.b)}else 1===I&&(p=f.la,w=f.ma,y=f.ua,C=f.Fa);f.h&1?f.pb[e]=p:p=f.pb[e];f.h&2?f.Yb[e]=w:w=f.Yb[e];f.h&4?f.Zb[e]=y:y=f.Zb[e];f.h&8?f.$b[e]=C:C=f.$b[e];if(!(e>=f.V*f.Ya<<3))for(w<<=1,y<<=2,C<<=3,e=(e<<3|7)<<2,I=0;8>I;I++){var R=f.q[f.Wc[p>>I&1|w>>I&2|y>>I&4|C>>I&8]];f.o.send("screen-put-pixel-linear",[e|2,R>>16]);f.o.send("screen-put-pixel-linear",[e|
1,R>>8&255]);f.o.send("screen-put-pixel-linear",[e,R&255]);e-=4}}}else p=e,98304>p||(y=(p-98304>>1)-f.Z,w=y/f.Ha|0,y%=f.Ha,p&1?(e=c,C=f.O[p&-2]):(C=c,e=f.O[p|1]),f.o.send("screen-put-char",[w,y,C,f.q[e>>4&15],f.q[e&15]]),f.O[p]=c)});Md(a,3758096384,this.Sa,function(a){return f.d[a&268435455]},function(a,c){ze(f,a,c)},function(a){a&=268435455;return a&3?f.d[a]|f.d[a+1]<<8|f.d[a+2]<<16|f.d[a+3]<<24:f.ad[a>>2]},function(a,c){var e;e=a&268435455;if(e&3||32!==f.j)ze(f,e,c&255),ze(f,e+1,c>>8&255),ze(f,
e+2,c>>16&255),ze(f,e+3,c>>24&255);else if(f.ad[e>>2]=c,f.D&&(e-=f.Bc,!(0>e)))switch(f.j){case 32:f.o.send("screen-put-pixel-linear32",[e,c])}})}m=Dd.prototype;
m.Za=function(){this.Ad=new Uint16Array(this.d.buffer);this.ad=new Int32Array(this.d.buffer);this.O=new Uint8Array(this.d.buffer,0,262144);this.pb=new Uint8Array(this.d.buffer,0,65536);this.Yb=new Uint8Array(this.d.buffer,65536,65536);this.Zb=new Uint8Array(this.d.buffer,131072,65536);this.$b=new Uint8Array(this.d.buffer,196608,65536);this.aa=[this.o,this.Ad,this.ad,this.O,this.pb,this.Yb,this.Zb,this.$b];this.o.send("screen-set-mode",this.gb||this.D);this.gb||this.D?this.pc(this.m,this.H,this.j):
(this.Eb(this.Ha,this.zc),this.uc(),this.tc());this.ba=!0};m.tc=function(){var a=(this.S-this.Z)/this.Ha|0,c=(this.S-this.Z)%this.Ha,a=Math.min(this.zc-1,a);this.o.send("screen-update-cursor",[a,c])};
function ze(a,c,e){c&=268435455;a.d[c]=e;if(a.D&&(c-=a.Bc,!(0>c)))switch(a.j){case 32:3!==(c&3)&&a.o.send("screen-put-pixel-linear",[c,e]);break;case 24:a.o.send("screen-put-pixel-linear",[(c<<2)/3|0,e]);break;case 16:if(c&1){var f=a.Ad[c>>1],g;g=255*(e>>3&31)/31|0;e=255*(f>>5&63)/63|0;f=255*(f&31)/31|0;c<<=1;a.o.send("screen-put-pixel-linear",[c,f]);a.o.send("screen-put-pixel-linear",[c-1,e]);a.o.send("screen-put-pixel-linear",[c-2,g])}break;case 8:f=a.q[e],c=c<<2,a.o.send("screen-put-pixel-linear",
[c,f>>16&255]),a.o.send("screen-put-pixel-linear",[c|1,f>>8&255]),a.o.send("screen-put-pixel-linear",[c|2,f&255])}}
m.za=function(){if(this.ba)if(this.ba=!1,this.D){var a=this.Bc,c=this.H*this.m,e=0;if(32===this.j)for(var f=new Int32Array(this.d.buffer),a=a>>2,c=c<<2;e<c;)this.o.send("screen-put-pixel-linear32",[e,f[a++]]),e+=4;else if(24===this.j)for(c<<=2;e<c;)this.o.send("screen-put-pixel-linear",[e++,this.d[a++]]),this.o.send("screen-put-pixel-linear",[e++,this.d[a++]]),this.o.send("screen-put-pixel-linear",[e++,this.d[a++]]),e++}else if(this.gb){if(!this.nb)for(c=a=0;c<this.Ya;c++)for(e=0;e<this.V;e+=8){for(f=
0;8>f;f++)this.o.send("screen-put-pixel-linear32",[c*this.V+e<<2,this.q[this.Wc[this.pb[a]>>f&1|this.Yb[a]>>f<<1&2|this.Zb[a]>>f<<2&4|this.$b[a]>>f<<3&8]]]);a++}}else for(a=98304|this.Z<<1,f=0;f<this.zc;f++)for(var g=0;g<this.Ha;g++)c=this.O[a],e=this.O[a|1],this.o.send("screen-put-char",[f,g,c,this.q[e>>4&15],this.q[e&15]]),a+=2};m.Ta=function(){};m.Eb=function(a,c){this.Ha=a;this.zc=c;this.o.send("screen-set-size-text",[a,c])};m.pc=function(a,c,e){this.o.send("screen-set-size-graphical",[a,c,e])};
m.uc=function(){this.o.send("screen-update-cursor-scanline",[this.Vc,this.Uc])};function Ae(a,c){var e=!1;switch(c){case 3:a.Eb(a.Cc,25);break;case 16:a.V=640;a.Ya=350;e=!0;a.nb=!1;break;case 18:a.V=640;a.Ya=480;e=!0;a.nb=!1;break;case 19:a.V=320,a.Ya=200,e=!0,a.nb=!0}a.o.send("screen-set-mode",e);if(a.$.Wd=e)a.pc(a.V,a.Ya,8),a.$.re=a.V,a.$.se=a.Ya,a.$.Dd=8;a.gb=e}m.rf=function(a){-1===this.v?this.v=a:(16>this.v&&(this.Wc[this.v]=a),this.v=-1)};m.ie=function(){var a=this.v;this.v=-1;return a};
m.qf=function(){return this.ie()&255|this.je()<<8&65280};m.je=function(){return this.v=-1};m.sf=function(a){this.yd=a;103===a?Ae(this,3):227===a?Ae(this,18):99===a?Ae(this,19):163===a?Ae(this,16):Ae(this,3)};m.uf=function(a){this.Ac=a};m.tf=function(){return this.Ac};m.wf=function(a){switch(this.Ac){case 2:this.h=a;break;case 4:this.zd=a}};m.vf=function(){switch(this.Ac){case 2:return this.h;case 4:return this.zd;case 6:return 18}return 0};m.xf=function(){};m.yf=function(a){this.wc=3*a};
m.zf=function(a){var c=this.wc/3|0,e=this.wc%3,f=this.q[c];a=255*a/63&255;this.q[c]=0===e?f&-16711681|a<<16:1===e?f&-65281|a<<8:f&-256|a;this.wc++;this.ba=!0};m.Af=function(){return this.yd};m.Cf=function(a){this.yc=a};m.Bf=function(){return this.yc};m.Ef=function(a){switch(this.yc){case 3:this.Yc=a;break;case 4:this.Zc=a;break;case 5:this.Xc=a;break;case 8:this.b=a}};m.Df=function(){switch(this.yc){case 3:return this.Yc;case 4:return this.Zc;case 5:return this.Xc;case 8:return this.b}return 0};
m.Ff=function(a){this.ka=a};m.Hf=function(a){switch(this.ka){case 2:this.Cc=a;break;case 9:this.xd=a;7===(a&31)?this.Eb(this.Cc,50):this.Eb(this.Cc,25);break;case 10:this.Vc=a;this.uc();break;case 11:this.Uc=a;this.uc();break;case 12:this.Z=this.Z&255|a<<8;this.ba=!0;break;case 13:this.Z=this.Z&65280|a;this.ba=!0;break;case 14:this.S=this.S&255|a<<8;this.tc();break;case 15:this.S=this.S&65280|a,this.tc()}};
m.Gf=function(){return 9===this.ka?this.xd:10===this.ka?this.Vc:11===this.ka?this.Uc:14===this.ka?this.S>>8:15===this.ka?this.S&255:0};m.If=function(){this.$c^=8;this.v=-1;return this.$c};m.nf=function(a){this.xc=a};
m.pf=function(a){switch(this.xc){case 1:this.m=a;2560<this.m&&(this.m=2560);break;case 2:this.H=a;1600<this.H&&(this.H=1600);break;case 3:this.j=a;break;case 4:this.D=1===(a&1);this.ob=a;break;case 9:this.Bc=this.m*(15===this.j?16:this.j)/8*a,this.ba=!0}!this.D||this.m&&this.H||(this.D=!1);this.D&&4===this.xc&&(this.pc(this.m,this.H,this.j),this.o.send("screen-set-mode",!0),this.$.Dd=this.j,this.$.Wd=!0,this.$.re=this.m,this.$.se=this.H)};m.of=function(){return Be(this,this.xc)};
function Be(a,c){switch(c){case 0:return 45248;case 1:return a.ob&2?2560:a.m;case 2:return a.ob&2?1600:a.H;case 3:return a.ob&2?32:a.j;case 4:return a.ob;case 6:return a.m;case 10:return a.Sa/65536|0}return 255};function Fd(a,c){this.M=a.C.M;this.n=a;this.o=c;this.vc=this.Mb=!1;this.jc=this.sb=this.rb=0;this.H=this.D=this.m=this.v=this.O=this.q=this.Hc=!1;this.U=new $d(32);this.j=0;this.oc=100;this.Qc=4;this.h=!1;this.Zd=-1;this.b=new $d(32);this.o.register("keyboard-code",function(a){this.Hc&&(this.U.push(a),Ce(this))},this);this.o.register("mouse-click",function(a){this.vc&&(this.jc=a[0]|a[2]<<1|a[1]<<2,this.Mb&&De(this,0,0))},this);this.o.register("mouse-delta",function(a){var c=a[1];if(this.vc){var g=
this.Qc*this.oc/80;this.rb+=a[0]*g;this.sb+=c*g;this.Mb&&(a=this.rb|0,c=this.sb|0,!a&&!c||Date.now()-this.Zd<1E3/this.oc||(this.rb-=a,this.sb-=c,De(this,a,c)))}},this);this.o.register("mouse-wheel",function(){},this);this.d=5;this.S=this.V=!1;X(a.p,96,this,this.Qf);X(a.p,100,this,this.Sf);Y(a.p,96,this,this.Rf);Y(a.p,100,this,this.Tf);this.aa=[this.o,this.M,this.n]}function Ee(a){a.d&2&&a.M.B(12)}function Ce(a){a.d&1&&a.M.B(1)}
function De(a,c,e){var f=(0>e)<<5|(0>c)<<4|8|a.jc;a.Zd=Date.now();a.h&&(c=Fe(c),e=Fe(e));a.b.push(f);a.b.push(c);a.b.push(e);Ee(a)}function Fe(a){var c=a>>31;switch(Math.abs(a)){case 0:case 1:case 3:return a;case 2:return c;case 4:return 6*c;case 5:return 9*c;default:return a<<1}}m=Fd.prototype;m.Ta=function(){};
m.Qf=function(){if(!this.U.length&&!this.b.length)return this.j;(this.U.length&&this.b.length?0!==(this.M.R&2):this.U.length)?(this.j=this.U.shift(),1<=this.U.length&&Ce(this)):(this.j=this.b.shift(),1<=this.b.length&&Ee(this));return this.j};m.Sf=function(){var a=16;if(this.b.length||this.U.length)a|=1;this.b.length&&(a|=32);return a};
m.Rf=function(a){if(this.S)Ce(this),this.d=a,this.S=!1;else if(this.V)this.V=!1,this.b.clear(),this.b.push(a),Ee(this);else if(this.O)this.O=!1,this.b.clear(),this.b.push(250),this.oc=a,Ee(this);else if(this.H)this.H=!1,this.b.clear(),this.b.push(250),this.Qc=3<a?4:1<<a,Ee(this);else if(this.v)this.v=!1,this.U.push(250),Ce(this);else if(this.m)this.m=!1,this.U.push(250),Ce(this),a||this.U.push(2);else if(this.D)this.D=!1,this.U.push(250),Ce(this);else if(this.q){this.q=!1;this.U.clear();this.b.clear();
this.b.push(250);switch(a){case 230:this.h=!1;break;case 231:this.h=!0;break;case 232:this.H=!0;break;case 233:De(this,0,0);break;case 242:this.b.push(0);this.b.push(0);this.jc=this.rb=this.sb=0;break;case 243:this.O=!0;break;case 244:this.vc=this.Mb=!0;this.o.send("mouse-enable",!0);this.jc=this.rb=this.sb=0;break;case 245:this.Mb=!1;break;case 246:this.Mb=!1;this.oc=100;this.h=!1;this.Qc=4;break;case 255:this.b.push(170),this.b.push(0),this.vc=!0,this.o.send("mouse-enable",!0),this.Mb=!1,this.oc=
100,this.h=!1,this.Qc=4,this.jc=this.rb=this.sb=0}Ee(this)}else{this.b.clear();this.U.clear();this.U.push(250);switch(a){case 237:this.v=!0;break;case 240:this.m=!0;break;case 242:this.U.push(171);this.U.push(83);break;case 243:this.D=!0;break;case 244:this.Hc=!0;break;case 245:this.Hc=!1;break;case 255:this.U.clear(),this.U.push(250),this.U.push(170)}Ce(this)}};
m.Tf=function(a){switch(a){case 32:this.U.clear();this.b.clear();this.U.push(this.d);break;case 96:this.S=!0;break;case 211:this.V=!0;break;case 212:this.q=!0;break;case 167:this.d|=32;break;case 168:this.d&=-33;break;case 169:this.U.clear();this.b.clear();this.U.push(0);break;case 170:this.U.clear();this.b.clear();this.U.push(85);break;case 171:this.U.clear();this.b.clear();this.U.push(0);break;case 173:this.d|=16;break;case 174:this.d&=-17;break;case 254:throw a=this.n,td(a),wd(a),233495534;}};function xd(a,c){this.Ja=this.R=this.nd=this.Lc=0;this.d=void 0===c;this.b=void 0;this.ld=!1;this.state=0;this.dd=this.oe=1;this.d?(this.b=new xd(a,this),this.Dc=function(){var c=this.Ja&this.Lc;if(!c)return this.b.Dc();c&=-c;if(this.R&&(this.R&-this.R)<=c)return!1;var e=Td(c),c=1<<e;this.Ja&=~c;if(4===c)return this.b.Dc();this.dd||(this.R|=c);a.Da=a.k;Pc(a,this.nd|e,!1,!1);return!0}):this.Dc=function(){var e=this.Ja&this.Lc;if(!e)return!1;e&=-e;if(this.R&&(this.R&-this.R)<=e)return!1;var g=Td(e),
e=1<<g;this.Ja&=~e;this.R|=e;a.Da=a.k;Pc(a,this.nd|g,!1,!1);this.Ja&&c.B(2);this.dd||(this.R&=~e);return!0};this.h=function(){this.d&&this.b.h()};var e;e=this.d?32:160;Y(a.p,e,this,function(a){if(a&16)this.ld=a&1,this.state=1;else if(a&8)this.oe=a&1;else{var c=a>>5;1===c?this.R&=this.R-1:3===c&&(this.R&=~(1<<(a&7)))}});X(a.p,e,this,function(){return this.oe?this.Ja:this.R});Y(a.p,e|1,this,function(a){0===this.state?this.ld?(this.ld=!1,this.dd=a&2):this.Lc=~a:1===this.state?(this.nd=a,this.state++):
2===this.state&&(this.state=0)});X(a.p,e|1,this,function(){return~this.Lc&255});this.B=this.d?function(c){8<=c&&(this.b.B(c-8),c=2);this.Ja|=1<<c;Lc(a)}:function(a){this.Ja|=1<<a}};function yd(a){this.n=a;this.M=a.C.M;this.Ec=0;this.Ia=new Uint8Array(256);this.D=this.b=Date.now();this.d=0;this.q=!0;this.H=!1;this.v=.9765625;this.j=38;this.h=2;this.m=0;Y(a.p,112,this,function(a){this.Ec=a&127});Y(a.p,113,this,this.S);X(a.p,113,this,this.O);this.aa=[this.n,this.M]}yd.prototype.za=function(a){this.b+=a-this.D;this.D=a;return this.H&&this.q&&this.d<a?(this.q=!1,this.M.B(8),this.m|=64,this.d+=this.v*Math.ceil((a-this.d)/this.v),Math.max(0,a-this.d)):100};
function Ge(a,c){var e;if(a.h&4)e=c;else{e=c;for(var f=0,g=0,k;e;)k=e%10,g|=k<<4*f,f++,e=(e-k)/10;e=g}return e}
yd.prototype.O=function(){switch(this.Ec){case 0:return Ge(this,(new Date(this.b)).getUTCSeconds());case 2:return Ge(this,(new Date(this.b)).getUTCMinutes());case 4:return Ge(this,(new Date(this.b)).getUTCHours());case 7:return Ge(this,(new Date(this.b)).getUTCDate());case 8:return Ge(this,(new Date(this.b)).getUTCMonth()+1);case 9:return Ge(this,(new Date(this.b)).getUTCFullYear()%100);case 10:return this.j;case 11:return this.h;case 12:return this.q=!0,this.m;case 13:return 255;case 50:return Ge(this,
(new Date(this.b)).getUTCFullYear()/100|0);default:return this.Ia[this.Ec]}};yd.prototype.S=function(a){switch(this.Ec){case 10:this.j=a&127;this.v=1E3/(32768>>(this.j&15)-1);break;case 11:this.h=a,this.h&64&&(this.d=Date.now())}this.H=64===(this.h&64)&&0<(this.j&15)};function Gd(a,c,e){this.o=e;this.M=a.C.M;this.Ab=this.Rb=this.Jb=this.$a=0;this.Ba=1;this.b=this.te=this.kf=this.ee=0;this.input=new $d(4096);this.Fc="";if(1E3===c||1016===c)this.b=4;else if(1E3===c||1E3===c)this.b=3;else return;this.o.register("serial0-input",function(a){this.input.push(a);this.$a|=4096;this.Ab&1&&He(this)},this);a=a.p;Y(a,c,this,function(a){if(this.Rb&128)this.Jb=this.Jb&-256|a;else if(Ie(this),255!==a){a=String.fromCharCode(a);this.o.send("serial0-output-char",a);var c;c=this.o;
c.b?(c=c.b.Sb["serial0-output-line"],c=void 0!==c&&0<c.length):c=!1;c&&(this.Fc+=a,"\n"===a&&(this.o.send("serial0-output-line",this.Fc),this.Fc=""))}});Y(a,c|1,this,function(a){this.Rb&128?this.Jb=this.Jb&255|a<<8:(this.Ab=a,Je(this))});X(a,c,this,function(){if(this.Rb&128)return this.Jb&255;var a=this.input.shift();this.input.length&&He(this);return a});X(a,c|1,this,function(){return this.Rb&128?this.Jb>>8:this.Ab});X(a,c|2,this,function(){var a=this.Ba&15|192;2===this.Ba?Ke(this,2):12===this.Ba&&
Ke(this,12);return a});Y(a,c|2,this,function(){});X(a,c|3,this,function(){return this.Rb});Y(a,c|3,this,function(a){this.Rb=a});X(a,c|4,this,function(){return this.ee});Y(a,c|4,this,function(a){this.ee=a});X(a,c|5,this,function(){var a=0;this.input.length&&(a|=1);return a|96});Y(a,c|5,this,function(){});X(a,c|6,this,function(){return this.kf});Y(a,c|6,this,function(){});X(a,c|7,this,function(){return this.te});Y(a,c|7,this,function(a){this.te=a});this.aa=[this.o,this.M]}Gd.prototype.B=function(){this.M.B(this.b)};
function Ke(a,c){a.$a&=~(1<<c);a.Ba=1;c===a.Ba&&Je(a)}function He(a){a.$a|=4096;a.Ab&1&&6!=a.Ba&&4!=a.Ba&&(a.Ba=12,a.B())}function Ie(a){a.$a|=4;a.Ab&2&&(a.Ba&1||0==a.Ba||2==a.Ba)&&(a.Ba=2,a.B())}function Je(a){a.$a&4096&&a.Ab&1?He(a):a.$a&4&&a.Ab&2?Ie(a):a.Ba=1};function Cd(){};function Le(a){this.message=a}Le.prototype=Error();
function Me(a,c){if("object"!==typeof a||null===a||a instanceof Array)return a;if(a.constructor===Object){for(var e=Object.keys(a),f={},g=0;g<e.length;g++){var k=e[g];f[k]=Me(a[k],c)}return f}if(a.BYTES_PER_ELEMENT)return{Bd:a.constructor.name,ed:c.push(a.buffer)-1};if(a instanceof ArrayBuffer)return{Bd:"ArrayBuffer",ed:c.push(a)-1};var l;a.aa&&(l=a.aa.slice(),l.push(a.aa));e=Object.keys(a);f={};g=0;a:for(;g<e.length;g++){var k=e[g],p=a[k];if("function"!==typeof p){if(l&&"object"===typeof p&&p)for(var w=
0;w<l.length;w++)if(l[w]===p)continue a;f[k]=Me(p,c)}}return f}
function Ne(a,c,e){if("object"!==typeof c||c instanceof Array||null===c)return c;var f=c.Bd;if(void 0===f){for(var f=Object.keys(c),g=0;g<f.length;g++){var k=f[g];a[k]=Ne(a[k],c[k],e)}a.Za&&a.Za();return a}if("ArrayBuffer"===f)return c=e.Ud[c.ed],a&&a.byteLength===c.length&&(new Uint8Array(a)).set(new Uint8Array(e.md,c.offset,c.length)),a;f={Uint8Array:Uint8Array,Int8Array:Int8Array,Uint16Array:Uint16Array,Int16Array:Int16Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Float32Array:Float32Array,
Float64Array:Float64Array}[f];c=e.Ud[c.ed];return a&&a.constructor===f&&0===a.byteOffset&&a.byteLength===c.length?((new Uint8Array(a.buffer)).set(new Uint8Array(e.md,c.offset,c.length),a.byteOffset),a):new f(e.md.slice(c.offset,c.offset+c.length))}
function Oe(a,c){var e=c.byteLength;if(16>e)throw new Le("Invalid length: "+e);var f=new Int32Array(c,0,4);if(-2039052682!==f[0])throw new Le("Invalid header: "+Yd(f[0]>>>0));if(0!==f[1])throw new Le("Version mismatch: dump="+f[1]+" we=0");if(f[2]!==e)throw new Le("Length doesn't match header: real="+e+" header="+f[2]);f=f[3];if(0>f||f+12>=e||f%2)throw new Le("Invalid info block length: "+f);for(var g=f/2,k=new Uint16Array(c,16,g),l="",e=0;e<g-8;)l+=String.fromCharCode(k[e++],k[e++],k[e++],k[e++],
k[e++],k[e++],k[e++],k[e++]);for(;e<g;)l+=String.fromCharCode(k[e++]);g=JSON.parse(l);f=16+f;k=g.Ke;console.assert(g.state.memory.size===a.memory.size,"Memory size must match");for(e=0;e<k.length;e++)k[e].offset+=f;Ne(a,g.state,{md:c,Ud:k})};function Kd(a,c){this.M=a.C.M;this.o=c;this.o.register("net0-receive",function(a){if(!(this.r&1)){this.o.send("eth-receive-end",[a.length]);if(60>a.length){var c=a;a=new Uint8Array(60);a.set(c)}var c=this.cc<<8,e=a.length+4,f=c+4,w=this.cc+1+(e>>8);if(c+e>this.memory.length){var y=this.memory.length-f;this.memory.set(a.subarray(0,y),f);this.memory.set(a.subarray(y),76)}else this.memory.set(a,f);w>=this.Db&&(w+=this.Pc-this.Db);this.memory[c]=1;this.memory[c+1]=w;this.memory[c+2]=e;this.memory[c+3]=
e>>8;this.cc=w;Pe(this,1)}},this);this.Vb=[236,16,41,128,3,1,0,0,0,0,0,2,0,0,0,0,1,184,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,0,17,0,0,184,254,0,0,0,0,0,0,0,0,11,1,0,0];this.Cb=40;this.Ub=[{size:2048}];ae(a.C.Nc,this);this.Td=this.R=0;this.r=1;this.ye=this.sc=this.lb=this.gd=0;this.memory=new Uint8Array(32768);for(var e=[0,34,21,255*Math.random()|0,255*Math.random()|0,255*Math.random()|0],f=0;6>f;f++)this.memory[f<<1]=this.memory[f<<1|1]=e[f];this.Pa=0;this.Pc=64;this.Db=128;this.Cd=
this.cc=76;e=a.p;X(e,47104,this,function(){return this.r});Y(e,47104,this,function(a){this.r=a&-5;!(this.r&1)&&a&4&&(a=this.ye<<8,a=this.memory.subarray(a,a+this.sc),this.o.send("net0-send",a),this.o.send("eth-transmit-end",[a.length]),Pe(this,2),0===this.lb&&Pe(this,64))});X(e,47117,this,function(){return 0});X(e,47118,this,function(){return 0});X(e,47119,this,function(){return 0});X(e,47135,this,function(){0===(this.r&192)&&Pe(this,128);return 0});Y(e,47135,this,function(){});Y(e,47105,this,function(a){0===
(this.r&192)&&(this.Pc=a)});Y(e,47106,this,function(a){0===(this.r&192)&&(this.Db=a)});X(e,47111,this,function(){return 0===(this.r&192)?this.R:this.cc});Y(e,47111,this,function(a){0===(this.r&192)?this.R&=~a:this.cc=a});Y(e,47117,this,function(){});Y(e,47118,this,function(a){0===(this.r&192)&&(this.gd=a)});Y(e,47114,this,function(a){0===(this.r&192)&&(this.lb=this.lb&65280|a&255)});Y(e,47115,this,function(a){0===(this.r&192)&&(this.lb=this.lb&255|a<<8&65280)});Y(e,47112,this,function(a){0===(this.r&
192)&&(this.Pa=this.Pa&65280|a&255)});Y(e,47113,this,function(a){0===(this.r&192)&&(this.Pa=this.Pa&255|a<<8&65280)});Y(e,47119,this,function(a){0===(this.r&192)&&(this.Td=a)});X(e,47107,this,function(){return 0===(this.r&192)?this.Cd:0});Y(e,47107,this,function(a){0===(this.r&192)&&(this.Cd=a)});X(e,47108,this,function(){return 0===(this.r&192)?35:0});Y(e,47108,this,function(a){0===(this.r&192)&&(this.ye=a)});Y(e,47109,this,function(a){0===(this.r&192)&&(this.sc=this.sc&-256|a)});Y(e,47110,this,
function(a){0===(this.r&192)&&(this.sc=this.sc&255|a<<8)});X(e,47116,this,function(){return 0===(this.r&192)?9:0});X(e,47120,this,this.b,this.b,this.h);Y(e,47120,this,this.d,this.d,this.j);this.aa=[this.o,this.M]}function Pe(a,c){a.R|=c;a.Td&c&&a.M.B(11)}function Qe(a,c){a.lb--;a.memory[a.Pa++]=c;a.Pa>=a.Db<<8&&(a.Pa+=a.Pc-a.Db<<8);0===a.lb&&Pe(a,64)}Kd.prototype.d=function(a){Qe(this,a);this.gd&1&&Qe(this,a>>8)};Kd.prototype.j=function(a){Qe(this,a);Qe(this,a>>8);Qe(this,a>>16);Qe(this,a>>24)};
function Re(a){var c=a.memory[a.Pa++];a.lb--;a.Pa>=a.Db<<8&&(a.Pa+=a.Pc-a.Db<<8);0===a.lb&&Pe(a,64);return c}Kd.prototype.b=function(){return this.gd&1?Re(this)|Re(this)<<8:Re(this)};Kd.prototype.h=function(){return Re(this)|Re(this)<<8|Re(this)<<16|Re(this)<<24};function Ld(a,c,e){this.Vb=[244,26,9,16,7,5,16,0,0,0,2,0,0,0,0,0,1,168,0,0,0,16,191,254,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,9,0,0,0,0,0,64,0,0,0,0,0,0,0,12,1,0,0];this.Cb=48;this.Ub=[{size:2048}];ae(a.C.Nc,this);var f=a.p;X(f,43008,this,void 0,void 0,function(){return 1});Y(f,43012,this,void 0,void 0,function(){});Y(f,43022,this,void 0,function(a){this.me=a},void 0);X(f,43020,this,void 0,function(){return this.sd},void 0);X(f,43016,this,void 0,void 0,function(){return 0===this.me?this.Wb:
0});Y(f,43016,this,void 0,void 0,function(a){this.Wb=a});Y(f,43026,this,function(a){this.Hd=a});X(f,43026,this,function(){return this.Hd});X(f,43027,this,function(){var a=this.R;this.R=0;return a});Y(f,43024,this,void 0,function(){var a=(this.Wb<<12)+16*this.sd,c=a+4;this.memory.G(a);for(var a=this.memory.G(a+2),e=this.sd-1,a=a&e;this.Mc!==a;){var f=this.memory.G(c+2*this.Mc);Se(this,f);this.Mc=this.Mc+1&e}});this.M=a.C.M;this.o=c;this.Mc=this.R=this.Hd=this.me=0;this.sd=32;this.Wb=0;this.memory=
a.memory;for(a=0;128>a;a++)X(f,43028+a,this,function(a){return this.na.H[a]}.bind(this,a),void 0,void 0),Y(f,43028+a,this,function(){}.bind(this,a),void 0,void 0);this.na=new ba(e,c);this.na.h=this.b.bind(this);this.aa=[this.memory,this.M,this.o];this.Za=function(){this.na.h=this.b.bind(this)}}
function Se(a,c){var e=c,f=a.Wb<<12,g=0,k=[];do{var l=f+16*e,p=a.memory.G(l+12);if(p&2)break;var w=N(a.memory,l),e=N(a.memory,l+4),y=N(a.memory,l+8)>>>0;k.push({bd:w,He:e,pd:y});if(p&1)e=a.memory.G(l+14);else{e=-1;break}}while(1);var C=-1,I=0;ea(a.na,{start:c,next:e},function(){if(I>=C){if(g===k.length)return 0;var a=k[g++];w=a.bd;C=a.pd;I=0}return this.memory.I(w+I++)}.bind(a))}
Ld.prototype.b=function(a){if(-1!==a.next){var c=this.na.D,e=a.next,f=this.Wb<<12,g=0,k=[];do{var e=f+16*e,l=this.memory.G(e+12);if(0===(l&2))break;var p=N(this.memory,e),w=N(this.memory,e+4),y=N(this.memory,e+8)>>>0;k.push({bd:p,He:w,pd:y});if(l&1)e=this.memory.G(e+14);else break}while(1);l=-1;for(f=w=0;f<c;f++){e=this.na.j[f];if(w>=l){if(g===k.length)return 0;l=k[g++];p=l.bd;l=l.pd;w=0}this.memory.N(p+w++,e)}g=(this.Wb<<12)+580;g=g+4095&-4096;this.memory.G(g);k=this.memory.G(g+2);this.memory.W(g+
2,k+1);g=g+4+8*(k&31);this.memory.X(g,a.start);this.memory.X(g+4,c);this.R|=1;this.M.B(12)}};function Te(){this.Sb={};this.b=void 0}Te.prototype.register=function(a,c,e){var f=this.Sb[a];void 0===f&&(f=this.Sb[a]=[]);f.push({Od:c,pg:e})};function Ue(a,c,e){var f=a.Sb[c];void 0!==f&&(a.Sb[c]=f.filter(function(a){return a.Od!==e}))}Te.prototype.send=function(a,c){if(this.b){var e=this.b.Sb[a];if(void 0!==e)for(var f=0;f<e.length;f++){var g=e[f];g.Od.call(g.pg,c)}}};function Ve(){var a=new Te,c=new Te;a.b=c;c.b=a;return[a,c]};[[1,""],[2,"CPU"],[32768,"DISK"],[4,"FPU"],[8,"MEM"],[16,"DMA"],[32,"IO"],[64,"PS2"],[128,"PIC"],[256,"VGA"],[512,"PIT"],[1024,"MOUS"],[2048,"PCI"],[4096,"BIOS"],[8192,"CD"],[16384,"SERI"],[65536,"RTC"],[131072,"HPET"],[262144,"ACPI"],[524288,"APIC"],[1048576,"NET"],[2097152,"VIO"],[4194304,"9P"]].reduce(function(a,c){a[c[0]]=c[1];return a},{});function Bc(){};function We(a){function c(a){return a.shiftKey&&a.ctrlKey&&74===a.keyCode||!w.b?!1:a.target?"phone_keyboard"===a.target.className||"INPUT"!==a.target.nodeName&&"TEXTAREA"!==a.target.nodeName:!0}function e(a){if(c(a)){var e=a.keyCode;if(!p[e])return!1;p[e]=!1;k(e,!1)||a.preventDefault()}}function f(a){if(c(a)){var e=a.keyCode;p[e]&&k(e,!1);p[e]=!0;k(e,!0)||a.preventDefault()}}function g(){for(var a=Object.keys(p),c,e=0;e<a.length;e++)c=+a[e],p[c]&&k(c,!1);p={}}function k(a,c){if(w.o){if(a>=y.length||
0===y[a])return console.log("Missing char in map: "+a.toString(16)),!0;var e=y[a];c||(e|=128);255<e?(l(e>>8),l(e&255)):l(e);return!1}}function l(a){w.o.send("keyboard-code",a)}var p={},w=this;this.b=!0;var y=new Uint16Array([0,0,0,0,0,0,0,0,14,15,0,0,0,28,0,0,42,29,56,0,58,0,0,0,0,0,0,1,0,0,0,0,57,57417,57425,57423,57415,57419,57416,57421,80,0,0,0,0,82,83,0,11,2,3,4,5,6,7,8,9,10,0,39,0,13,0,0,0,30,48,46,32,18,33,34,35,23,36,37,38,50,49,24,25,16,19,31,20,22,47,17,45,21,44,57435,57436,57437,0,0,82,
79,80,81,75,76,77,71,72,73,0,0,0,0,0,0,59,60,61,62,63,64,65,66,67,68,87,88,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,39,13,51,12,52,53,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,43,27,40,0,57435,57400,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);this.o=a;this.Ta=function(){window.removeEventListener("keyup",e,!1);window.removeEventListener("keydown",f,!1);window.removeEventListener("blur",g,!1)};this.Ca=function(){"undefined"!==
typeof window&&(this.Ta(),window.addEventListener("keyup",e,!1),window.addEventListener("keydown",f,!1),window.addEventListener("blur",g,!1))};this.Ca()};function Xe(a){function c(a){return C.enabled&&C.b&&(!a.target||"mousemove"===a.type||"INPUT"!==a.target.nodeName&&"TEXTAREA"!==a.target.nodeName)}function e(a){if(C.o&&c(a)){var e;e=a.webkitMovementX||a.mozMovementX||0;a=a.webkitMovementY||a.mozMovementY||0;a=-(.15*a);C.o.send("mouse-delta",[.15*e,a])}}function f(a){c(a)&&a.preventDefault()}function g(a){c(a)&&l(a,!0)}function k(a){c(a)&&l(a,!1)}function l(a,c){C.o&&(1===a.which?p=c:2===a.which?y=c:3===a.which?w=c:console.log("Unknown event.which: "+
a.which),C.o.send("mouse-click",[p,y,w]),a.preventDefault())}var p=!1,w=!1,y=!1,C=this;this.enabled=!1;this.b=!0;this.o=a;this.o.register("mouse-enable",function(a){this.enabled=a},this);this.Ta=function(){window.removeEventListener("mousemove",e,!1);document.removeEventListener("contextmenu",f,!1);window.removeEventListener("mousedown",g,!1);window.removeEventListener("mouseup",k,!1)};this.Ca=function(){"undefined"!==typeof window&&(this.Ta(),window.addEventListener("mousemove",e,!1),document.addEventListener("contextmenu",
f,!1),window.addEventListener("mousedown",g,!1),window.addEventListener("mouseup",k,!1))};this.Ca()};function Ye(a,c){function e(a){k.o&&k.enabled&&(k.b(a.which),a.preventDefault())}function f(a){8===a.which&&(k.b(127),a.preventDefault())}function g(a){for(var c=a.clipboardData.getData("text/plain"),e=0;e<c.length;e++)k.b(c.charCodeAt(e));a.preventDefault()}var k=this;this.enabled=!0;this.o=c;this.o.register("serial0-output-char",function(a){this.og(a)},this);this.Ta=function(){a.removeEventListener("keypress",e,!1);a.removeEventListener("keydown",f,!1);a.removeEventListener("paste",g,!1)};this.Ca=
function(){this.Ta();a.addEventListener("keypress",e,!1);a.addEventListener("keydown",f,!1);a.addEventListener("paste",g,!1)};this.Ca();this.og=function(c){"\b"===c?(c=a.value,a.value=c.substr(0,c.length-1)):"\r"!==c&&(a.value+=c,"\n"===c&&(a.scrollTop=1E9))};this.b=function(a){k.o&&k.o.send("serial0-input",a)}};function Ze(a,c){this.o=c;this.b=void 0;this.d=[];this.url=a;this.h=Date.now()-1E4;this.o.register("net0-send",function(a){this.send(a)},this)}m=Ze.prototype;m.bf=function(a){this.o&&this.o.send("net0-receive",new Uint8Array(a.data))};m.Sd=function(){this.fd();setTimeout(this.fd.bind(this),1E4)};m.cf=function(){for(var a=0;a<this.d.length;a++)this.send(this.d[a]);this.d=[]};m.af=function(){};m.Ta=function(){this.b&&this.b.close()};
m.fd=function(){if(this.b){var a=this.b.readyState;if(0===a||1===a)return}if(!(this.h+1E4>Date.now())){this.h=Date.now();try{this.b=new WebSocket(this.url)}catch(c){this.Sd()}this.b.binaryType="arraybuffer";this.b.onopen=this.cf.bind(this);this.b.onmessage=this.bf.bind(this);this.b.onclose=this.Sd.bind(this);this.b.onerror=this.af.bind(this)}};m.send=function(a){this.b&&1===this.b.readyState?this.b.send(a):(this.d.push(a),128<this.d.length&&(this.d=this.d.slice(-64)),this.fd())};(function(){function a(a,c){var e=new XMLHttpRequest;e.open(c.method||"get",a,!0);c.cd||(e.responseType="arraybuffer");if(c.headers)for(var f=Object.keys(c.headers),w=0;w<f.length;w++){var y=f[w];e.setRequestHeader(y,c.headers[y])}e.onload=function(){4===e.readyState&&(200!==e.status&&206!==e.status?console.log("Loading the image `"+a+"` failed"):e.response&&c.done&&c.done(e.response,e))};c.le&&(e.onprogress=function(a){c.le(a)});e.send(null)}function c(a,c){this.h=a;this.b=256;this.byteLength=c;
this.d={};this.onprogress=this.onload=void 0}function e(a){this.b=a;this.byteLength=a.size;1073741824<a.size&&console.warn("SyncFileBuffer: Allocating buffer of "+(a.size>>20)+" MB ...");this.buffer=new ArrayBuffer(a.size);this.onprogress=this.onload=void 0}function f(a){this.h=a;this.byteLength=a.size;this.b=256;this.d={};this.onprogress=this.onload=void 0}Ud=a;Vd=c;Wd=f;Xd=e;c.prototype.load=function(){void 0!==this.byteLength?this.onload&&this.onload({}):a(this.h,{done:function(a,c){var e=(c.getResponseHeader("Content-Range")||
"").match(/\/(\d+)\s*$/);e?(this.byteLength=+e[1],this.onload&&this.onload({})):console.assert(!1,"Cannot use: "+this.h+". `Range: bytes=...` header not supported")}.bind(this),headers:{Range:"bytes=0-0"}})};c.prototype.get=function(c,e,f){console.assert(0===c%this.b);console.assert(0===e%this.b);console.assert(e);a(this.h,{done:function(a){a=new Uint8Array(a);this.j(c,e,a);f(a)}.bind(this),headers:{Range:"bytes="+c+"-"+(c+e-1)}})};c.prototype.set=function(a,c,e){console.assert(a+c.byteLength<=this.byteLength);
var f=c.length;console.assert(0===a%this.b);console.assert(0===f%this.b);console.assert(f);a/=this.b;for(var f=f/this.b,w=0;w<f;w++){var y=this.d[a+w];void 0===y&&(y=this.d[a+w]=new Uint8Array(this.b));var C=c.subarray(w*this.b,(w+1)*this.b);y.set(C);console.assert(y.byteLength===C.length)}e()};c.prototype.j=function(a,c,e){a/=this.b;c/=this.b;for(var f=0;f<c;f++){var w=this.d[a+f];w&&e.set(w,f*this.b)}};e.prototype.load=function(){this.d(0)};e.prototype.d=function(a){var c=new FileReader;c.onload=
function(c){c=new Uint8Array(c.target.result);(new Uint8Array(this.buffer,a)).set(c);this.d(a+4194304)}.bind(this);if(this.onprogress)this.onprogress({loaded:a,total:this.byteLength,lengthComputable:!0});if(a<this.byteLength){var e=Math.min(a+4194304,this.byteLength);c.readAsArrayBuffer(this.b.slice(a,e))}else this.b=void 0,this.onload&&this.onload({buffer:this.buffer})};e.prototype.get=function(a,c,e){console.assert(a+c<=this.byteLength);e(new Uint8Array(this.buffer,a,c))};e.prototype.set=function(a,
c,e){console.assert(a+c.byteLength<=this.byteLength);(new Uint8Array(this.buffer,a,c.byteLength)).set(c);e()};f.prototype.load=function(){this.onload&&this.onload({})};f.prototype.get=function(a,c,e){console.assert(0===a%this.b);console.assert(0===c%this.b);console.assert(c);var f=new FileReader;f.onload=function(f){f=new Uint8Array(f.target.result);this.j(a,c,f);e(f)}.bind(this);f.readAsArrayBuffer(this.h.slice(a,a+c))};f.prototype.set=c.prototype.set;f.prototype.j=c.prototype.j})();function Z(a){function c(a,c){switch(a){case "hda":w.Ob=c;break;case "hdb":w.Ng=c;break;case "cdrom":w.Kb=c;break;case "fda":w.Ld=c;break;case "fdb":w.Md=c;break;case "bios":w.xb=c.buffer;break;case "vga_bios":w.qg=c.buffer;break;case "initial_state":w.Vd=c.buffer;break;case "fs9p_json":w.Qd=c.buffer}}function e(a,c){if(c){c={buffer:c.buffer,async:c.async,url:c.url,size:c.size};if("bios"===a||"vga_bios"===a||"initial_state"===a)c.async=!1;if(c.buffer instanceof ArrayBuffer){var e=new Zd(c.buffer);
y.push({name:a,Tb:e})}else c.buffer instanceof File?(void 0===c.async&&(c.async=16777216>c.buffer.size),e=c.async?new Xd(c.buffer):new Wd(c.buffer),y.push({name:a,Tb:e})):c.url&&(c.async?(e=new Vd(c.url,c.size),y.push({name:a,Tb:e})):y.push({name:a,url:c.url,size:c.size}))}}function f(a){if(a===R)setTimeout(g,0);else{var e=y[a];e.Tb?(e.Tb.onload=function(){c(e.name,e.Tb);f(a+1)},e.Tb.load()):Ud(e.url,{done:function(g){c(e.name,new Zd(g));f(a+1)},le:function(c){I.m.send("download-progress",{Jg:a,Ig:R,
Kg:e.url,lengthComputable:c.lengthComputable,total:e.size||c.total,loaded:c.loaded})},cd:e.cd})}}function g(){p.Ca(w);setTimeout(function(){w.Vd&&Oe(p.n,w.Vd);setTimeout(function(){w.qb&&w.Qd&&$e(w.qb,w.Qd);a.autostart&&p.j()},0)},0)}var k=Ve(),l=this.o=k[0];this.m=k[1];var p=this.b=new Qd(k[1]),w={gf:!0};w.ic=a.memory_size||67108864;w.Sa=a.vga_memory_size||8388608;w.Je=a.boot_order||531;w.Ld=void 0;w.Md=void 0;a.network_relay_url&&(new Ze(a.network_relay_url,l),w.Ye=!0);a.disable_keyboard||(this.h=
new We(l));a.disable_mouse||(this.j=new Xe(l));a.screen_container&&(this.d=new aa(a.screen_container,l));a.serial_container&&new Ye(a.serial_container,l);for(var y=[],k="bios vga_bios cdrom hda hdb fda fdb initial_state".split(" "),l=0;l<k.length;l++)e(k[l],a[k[l]]);if(a.filesystem&&(k=a.filesystem.basefs,l=a.filesystem.baseurl,this.qb=new af(l),w.qb=this.qb,k)){console.assert(l,"Filesystem: baseurl must be specified");var C;"object"===typeof k&&(C=k.size,k=k.url);y.push({name:"fs9p_json",url:k,size:C,
cd:!0})}var I=this,R=y.length;f(0)}m=Z.prototype;m.De=function(){this.b.j()};m.Fe=function(){this.b.v()};m.Be=function(){var a=this.b;td(a.n);wd(a.n)};m.Ge=function(a,c){this.o.register(a,c,this)};m.ig=function(a,c){Ue(this.o,a,c)};m.Ce=function(a){Oe(this.b.n,a)};
m.Ee=function(a){var c=this;setTimeout(function(){try{for(var e=[],f=Me(c.b.n,e),g=[],k=0,l=0;l<e.length;l++){var p=e[l].byteLength;g[l]={offset:k,length:p};k+=p;k=k+3&-4}var w=JSON.stringify({Ke:g,state:f}),y=16+2*w.length,f=y+k,C=new ArrayBuffer(f),I=new Int32Array(C,0,4),R=new Uint16Array(C,16,w.length),T=new Uint8Array(C,y);I[0]=-2039052682;I[1]=0;I[2]=f;I[3]=2*w.length;for(l=0;l<w.length;l++)R[l]=w.charCodeAt(l);for(l=0;l<e.length;l++)T.set(new Uint8Array(e[l]),g[l].offset);a(null,C)}catch(Ea){a(Ea,
null)}},0)};m.$e=function(){var a={n:{Og:this.b.n.j}},c=this.b.n.C;c.Ob&&(a.Ob=c.Ob.$);c.Kb&&(a.Kb=c.Kb.$);c.Oc&&(a.Rg={enabled:c.Oc.vc});c.mb&&(a.mb=c.mb.$);return a};m.df=function(){return this.b.d};m.ef=function(a){for(var c=this.b.n.C.Oc,e=0;e<a.length;e++){var f=c;f.Hc&&(f.U.push(a[e]),Ce(f))}};m.kg=function(){this.d&&this.d.h()};m.lg=function(a,c){this.d&&this.d.b(a,c)};
m.jg=function(){if(this.d){var a=document.getElementById("screen_container");if(a){var c=a.requestFullScreen||a.webkitRequestFullscreen||a.mozRequestFullScreen||a.msRequestFullScreen;c&&(c.call(a),(a=document.getElementsByClassName("phone_keyboard")[0])&&a.focus());this.ae()}}};m.ae=function(){var a=document.body,c=a.requestPointerLock||a.mozRequestPointerLock||a.webkitRequestPointerLock;c&&c.call(a)};m.lf=function(a){this.j&&(this.j.b=a)};m.ff=function(a){this.h&&(this.h.b=a)};
m.mg=function(a){for(var c=0;c<a.length;c++)this.o.send("serial0-input",a.charCodeAt(c))};m.Ne=function(a,c,e){var f=this.qb;if(f){var g=a.split("/"),g=g[g.length-1];a=bf(f,a).Y;var k=""===g||-1===a;k||cf(f,g,a,c);e&&setTimeout(function(){k?e(new df):e(null)},0)}};m.eg=function(a,c){var e=this.qb;if(e){var f=bf(e,a).id;-1===f?c(new df,null):(ha(e,f),ia(e,f,function(){c(null,e.d[f])}))}};function df(a){this.message=a||"File not found"}df.prototype=Error.prototype;
"undefined"!==typeof window?window.V86Starter=Z:"undefined"!==typeof module&&"undefined"!==typeof module.exports?module.exports.V86Starter=Z:"function"===typeof importScripts&&(self.V86Starter=Z);Z.prototype.run=Z.prototype.De;Z.prototype.stop=Z.prototype.Fe;Z.prototype.restart=Z.prototype.Be;Z.prototype.add_listener=Z.prototype.Ge;Z.prototype.remove_listener=Z.prototype.ig;Z.prototype.restore_state=Z.prototype.Ce;Z.prototype.save_state=Z.prototype.Ee;Z.prototype.get_statistics=Z.prototype.$e;
Z.prototype.is_running=Z.prototype.df;Z.prototype.keyboard_send_scancodes=Z.prototype.ef;Z.prototype.screen_make_screenshot=Z.prototype.kg;Z.prototype.screen_set_scale=Z.prototype.lg;Z.prototype.screen_go_fullscreen=Z.prototype.jg;Z.prototype.lock_mouse=Z.prototype.ae;Z.prototype.mouse_set_status=Z.prototype.lf;Z.prototype.keyboard_set_status=Z.prototype.ff;Z.prototype.serial0_send=Z.prototype.mg;Z.prototype.create_file=Z.prototype.Ne;Z.prototype.read_file=Z.prototype.eg;var oa=16384;function af(a){this.b=[];this.h=[];this.q=a;this.j=this.v=0;this.m=function(){};this.d={};na(this,"",-1);this.aa=[]}function ia(a,c,e){0==a.b[c].status?e():a.h.push({id:c,Ae:e})}function ef(a,c){0==a.j&&(a.m=function(){});for(var e=a.h.length-1;0<=e;e--)a.h[e].id==c&&(a.h[e].Ae(),a.h.splice(e,1))}
function $e(a,c){var e=JSON.parse(c).fsroot;if(e[0]&&"undefined"===typeof e[0].length)throw"The filesystem JSON format has changed. Please update your fs2json (https://github.com/copy/fs2json) and recreate the filesystem JSON.";setTimeout(function(){for(var c=0;c<e.length;c++)ff(a,e[c],0);a.m=function(){}},0)}
function ff(a,c,e){var f=ja(a);f.name=c[0];f.oa=c[4]||0;f.uid=c[5]||0;f.bc=c[2];f.qd=f.bc;f.ac=f.bc;f.Y=e;f.mode=c[3];f.size=c[1];e=f.mode&61440;if(e===oa)for(c=c[6],f.Gb=!0,e=a.b.length,ka(a,f),f=0;f<c.length;f++)ff(a,c[f],e);else 32768===e?(f.status=2,ka(a,f)):40960===e&&(f.qc=c[6],ka(a,f))}function gf(a,c){var e=a.b[c];2==e.status&&(e.status=3,a.j++,a.q&&hf(a.q+jf(a,e.Nd),function(a){a=this.d[c]=new Uint8Array(a);e.size=a.length;e.status=0;this.j--;ef(this,c)}.bind(a),function(a){throw a;}))}
function ka(a,c){if(-1!=c.Y){a.b.push(c);c.Nd=a.b.length-1;var e=a.b[c.Y];e.Gb=!0;c.ta=e.pa;e.pa=a.b.length-1}else 0==a.b.length&&a.b.push(c)}function kf(a){this.Gb=!1;this.ta=this.pa=this.Y=-1;this.status=0;this.name="";this.de=this.ce=this.qd=this.ac=this.bc=this.Nd=this.oa=this.uid=this.size=0;this.qc="";this.mode=493;this.ia={type:0,version:0,path:a};this.ea=void 0}function ja(a){return new kf(++a.v)}
function na(a,c,e){var f=ja(a);f.name=c;f.Y=e;f.mode=511|oa;0<=e&&(f.uid=a.b[e].uid,f.oa=a.b[e].oa,f.mode=a.b[e].mode&511|oa);f.ia.type=oa>>8;ka(a,f);return a.b.length-1}function pa(a,c,e){var f=ja(a);f.name=c;f.Y=e;f.uid=a.b[e].uid;f.oa=a.b[e].oa;f.ia.type=128;f.mode=a.b[e].mode&438|32768;ka(a,f);return a.b.length-1}function ma(a,c,e,f,g){var k=ja(a);k.name=c;k.Y=e;k.ce=f;k.de=g;k.uid=a.b[e].uid;k.oa=a.b[e].oa;k.ia.type=192;k.mode=a.b[e].mode&438;ka(a,k);return a.b.length-1}
function la(a,c,e,f){var g=ja(a);g.name=c;g.Y=e;g.uid=a.b[e].uid;g.oa=a.b[e].oa;g.ia.type=160;g.qc=f;g.mode=40960;ka(a,g);return a.b.length-1}function cf(a,c,e,f){c=pa(a,c,e);e=a.b[c];(a.d[c]=new Uint8Array(f.length)).set(f);e.size=f.length}
function ha(a,c){var e=ga(a,c);if((e.mode&61440)==oa){var f=ga(a,c);if(f.Gb){var g=f.Y;-1==g&&(g=0);for(var k=0,l=a.b[c].pa;-1!=l;)k+=24+lf(a.b[l].name),l=a.b[l].ta;var k=k+25+26,p=a.d[c]=new Uint8Array(k);f.size=k;k=0;k+=ca(["Q","d","b","s"],[a.b[c].ia,k+13+8+1+2+1,a.b[c].mode>>12,"."],p,k);k+=ca(["Q","d","b","s"],[a.b[g].ia,k+13+8+1+2+2,a.b[g].mode>>12,".."],p,k);for(l=a.b[c].pa;-1!=l;)k+=ca(["Q","d","b","s"],[a.b[l].ia,k+13+8+1+2+lf(a.b[l].name),a.b[l].mode>>12,a.b[l].name],p,k),l=a.b[l].ta;f.Gb=
!1}}return 2==e.status?(gf(a,c),!1):!0}function wa(a,c){var e=ga(a,c);4==e.status&&(-1==e.status,delete a.d[c],e.size=0)}function ta(a,c,e,f,g){if(c==f&&e==g)return!0;e=ua(a,c,e);if(-1==e)return!1;var k=ua(a,f,g);-1!=k&&va(a,k);k=a.b[e];if(a.b[k.Y].pa==e)a.b[k.Y].pa=k.ta;else{var l=mf(a,e);a.b[l].ta=k.ta}k.Y=f;k.name=g;k.ia.version++;k.ta=a.b[k.Y].pa;a.b[k.Y].pa=e;a.b[c].Gb=!0;return a.b[f].Gb=!0}
function sa(a,c,e,f,g){var k=a.b[c],l=a.d[c];!l||l.length<e+f?(qa(a,c,Math.floor(3*(e+f)/2)),k.size=e+f,l=a.d[c]):k.size<e+f&&(k.size=e+f);for(a=0;a<f;a++)l[e+a]=g()}function ua(a,c,e){for(c=a.b[c].pa;-1!=c;){if(a.b[c].name==e)return c;c=a.b[c].ta}return-1}function jf(a,c){for(var e="";0!=c;)e="/"+a.b[c].name+e,c=a.b[c].Y;return e.substring(1)}function mf(a,c){for(var e=ga(a,c),e=a.b[e.Y].pa;-1!=e&&a.b[e].ta!=c;)e=a.b[e].ta;return e}
function va(a,c){if(0==c)return!1;var e=ga(a,c);if((e.mode&61440)==oa&&-1!=e.pa)return!1;if(a.b[e.Y].pa==c)a.b[e.Y].pa=e.ta;else{var f=mf(a,c);a.b[f].ta=e.ta}a.b[e.Y].Gb=!0;e.status=4;e.ta=-1;e.pa=-1;e.Y=-1;return!0}function ga(a,c){return isNaN(c)||0>c||c>a.b.length?0:a.b[c]}function qa(a,c,e){var f=ga(a,c),g=a.d[c];if(e!=f.size&&(a=a.d[c]=new Uint8Array(e),f.size=e,g))for(e=Math.min(g.length,f.size),f=0;f<e;f++)a[f]=g[f]}
function bf(a,c){c=c.replace("//","/");var e=c.split("/"),f=e.length;0==e[f-1].length&&e.pop();0==e[0].length&&e.shift();for(var f=e.length,g=0,k=-1,l=0;l<f;l++){k=ua(a,g,e[l]);if(-1==k)return l<f-1?{id:-1,Y:-1,name:e[l]}:{id:-1,Y:g,name:e[l]};g=k}return{id:k,Y:g,name:e[l]}}function xa(a,c){var e=ga(a,c);if(e.ea)return e.ea.length;e.ea=new Uint8Array(12);e.ea[0]=0;e.ea[1]=0;e.ea[2]=0;e.ea[3]=1;e.ea[4]=0;e.ea[5]=0;e.ea[6]=0;e.ea[7]=0;e.ea[8]=0;e.ea[9]=0;e.ea[10]=0;e.ea[11]=0;return e.ea.length};function hf(a,c,e){var f=new XMLHttpRequest;f.open("GET",a,!0);f.responseType="arraybuffer";f.onreadystatechange=function(){if(4==f.readyState)if(200!=f.status&&0!=f.status)e("Error: Could not load file "+a);else{var g=f.response;g?c(g):e("Error: No data received from: "+a)}};f.send(null)};function ca(a,c,e,f){for(var g,k=0,l=0;l<a.length;l++)switch(g=c[l],a[l]){case "w":e[f++]=g&255;e[f++]=g>>8&255;e[f++]=g>>16&255;e[f++]=g>>24&255;k+=4;break;case "d":e[f++]=g&255;e[f++]=g>>8&255;e[f++]=g>>16&255;e[f++]=g>>24&255;e[f++]=0;e[f++]=0;e[f++]=0;e[f++]=0;k+=8;break;case "h":e[f++]=g&255;e[f++]=g>>8;k+=2;break;case "b":e[f++]=g;k+=1;break;case "s":var p=f,w=0;e[f++]=0;e[f++]=0;var k=k+2,y;for(y in g)nf(g.charCodeAt(y)).forEach(function(a){e[f++]=a;k+=1;w++});e[p+0]=w&255;e[p+1]=w>>8&255;
break;case "Q":ca(["b","w","d"],[g.type,g.version,g.path],e,f),f+=13,k+=13}return k}
function fa(a,c){for(var e=[],f=0;f<a.length;f++)switch(a[f]){case "w":var g=c(),g=g+(c()<<8),g=g+(c()<<16),g=g+(c()<<24>>>0);e.push(g);break;case "d":g=c();g+=c()<<8;g+=c()<<16;g+=c()<<24>>>0;c();c();c();c();e.push(g);break;case "h":g=c();e.push(g+(c()<<8));break;case "b":e.push(c());break;case "s":for(var g=c(),g=g+(c()<<8),k="",l=new of,p=0;p<g;p++){var w=l.h(c());-1!=w&&(k+=String.fromCharCode(w))}e.push(k)}return e};function of(){this.b=new Uint8Array(5);this.d=0;this.h=function(a){this.b[this.d]=a;this.d++;switch(this.d){case 1:if(128>this.b[0])return this.d=0,this.b[0];break;case 2:if(192==(this.b[0]&224)&&128==(this.b[1]&192))return this.d=0,(this.b[0]&31)<<6|this.b[1]&63}return-1}}function nf(a){if(128>a)return[a];if(2048>a)return[192|a>>6&31,128|a&63]}function lf(a){for(var c=0,e=0;e<a.length;e++)c+=128>a.charCodeAt(e)?1:2;return c};})();