From bfdba283b1aa10c696fb9471ba6fc3a2fa5c1570 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Wed, 21 Oct 2015 10:52:12 -0700 Subject: [PATCH] Updated Windows 95 blog page --- blog/2015/09/21/README.md | 5 +- docs/pcjs/demos/pc-dbg.js | 1276 +++++++++++++++++++------------------ docs/pcjs/demos/pc.js | 911 +++++++++++++------------- 3 files changed, 1097 insertions(+), 1095 deletions(-) diff --git a/blog/2015/09/21/README.md b/blog/2015/09/21/README.md index d55f40c84b..ecd81053fe 100644 --- a/blog/2015/09/21/README.md +++ b/blog/2015/09/21/README.md @@ -1,4 +1,4 @@ -Some Success With Windows 95 +Success With Windows 95 --- Today, the last serious bug preventing a successful boot of Windows 95 was fixed. I won't bore you with @@ -16,8 +16,7 @@ Windows 95 startup screen. The machine is still a bit finicky. It easily gets confused about the state of its shift keys if you switch away from the browser and then back again. And Explorer windows don't open in the correct view; for example, both -**My Computer** and **Recycle Bin** open the same (incorrect) view. And if you close an Explorer window, reopen it, -and click around on the menus, a crash will likely result. +**My Computer** and **Recycle Bin** open the same (incorrect) view. The adventure continues. diff --git a/docs/pcjs/demos/pc-dbg.js b/docs/pcjs/demos/pc-dbg.js index ed46993a51..92ee7b601f 100644 --- a/docs/pcjs/demos/pc-dbg.js +++ b/docs/pcjs/demos/pc-dbg.js @@ -1,26 +1,26 @@ (function(){var g,aa,ba={163840:[40,1,8],184320:[40,1,9],327680:[40,2,8],368640:[40,2,9],737280:[80,2,9],1228800:[80,2,15],1474560:[80,2,18],2949120:[80,2,36]}; -function da(a,b){var c;if(a){b||(b=16);if("$"==a.charAt(0))b=16,a=a.substr(1);else if("0x"==a.substr(0,2))b=16,a=a.substr(2);else{var d=a.charAt(a.length-1).toLowerCase();"h"==d?(b=16,d=null):"."==d&&(b=10,d=null);null==d&&(a=a.substr(0,a.length-1))}var e,d=a,f=b;(f&&10!=f?16==f?null!==d.match(/^[0-9a-f]+$/i):2==f&&null!==d.match(/^[01]+$/i):null!==d.match(/^[0-9]+$/))&&!isNaN(e=parseInt(a,b))&&(c=e|0)}return c} -function ea(a){var b=8,c="";void 0===b?b=32:32>=1;return c}function l(a,b){var c="";void 0===b?b=8:8=d?48:55),c=String.fromCharCode(d)+c;a>>=4}return c}function fa(a){return"0x"+l(a,2)}function ga(a){return"0x"+l(a,4)} -function ia(a,b){var c=a,d=a.lastIndexOf("/");0<=d&&(c=a.substr(d+1));d=c.indexOf("&");0":">",'"':""","'":"'"};function na(a){return a.replace(/[&<>"']/g,function(a){return ma[a]})} -function oa(a,b){return a+" ".substr(0,b-a.length)}function pa(a){return String.prototype.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}function qa(a,b,c){var d=0,e=a.length,f=0;for(void 0===c&&(c=function(a,b){return a>b?1:a>1,k;k=c(b,a[h]);0a?"0":"")+a}var b=new Date;return b.getFullYear()+"-"+a(b.getMonth()+1)+"-"+a(b.getDate())+" "+a(b.getHours())+":"+a(b.getMinutes())+":"+a(b.getSeconds())}var ta=[31,28,31,30,31,30,31,31,30,31,30,31];function ua(a,b){var c=0,d=1,e;for(e in a){if(d>=arguments.length)break;var f=a[e],h=arguments[d++],c=c&~f.Kh|h<>a.shift} -function ya(a,b){var c;if(Array.prototype.indexOf)return a.indexOf(b,c);c=c||0;0>c&&(c+=a.length);0>c&&(c=0);for(var d=a.length;c>=1;return c}function fa(a,b){var c="";if(!b||4>=8;return c}function k(a,b){var c="";void 0===b?b=8:8=d?48:55),c=String.fromCharCode(d)+c;a>>=4}return c}function ga(a){return"0x"+k(a,2)} +function ia(a){return"0x"+k(a,4)}function ja(a,b){var c=a,d=a.lastIndexOf("/");0<=d&&(c=a.substr(d+1));d=c.indexOf("&");0":">",'"':""","'":"'"};function oa(a){return a.replace(/[&<>"']/g,function(a){return na[a]})} +function pa(a,b){return a+" ".substr(0,b-a.length)}function qa(a){return String.prototype.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}function ra(a,b,c){var d=0,e=a.length,f=0;for(void 0===c&&(c=function(a,b){return a>b?1:a>1,m;m=c(b,a[h]);0a?"0":"")+a}var b=new Date;return b.getFullYear()+"-"+a(b.getMonth()+1)+"-"+a(b.getDate())+" "+a(b.getHours())+":"+a(b.getMinutes())+":"+a(b.getSeconds())}var ua=[31,28,31,30,31,30,31,31,30,31,30,31];function wa(a,b){var c=0,d=1,e;for(e in a){if(d>=arguments.length)break;var f=a[e],h=arguments[d++],c=c&~f.Lh|h<>a.shift} +function Aa(a,b){var c;if(Array.prototype.indexOf)return a.indexOf(b,c);c=c||0;0>c&&(c+=a.length);0>c&&(c=0);for(var d=a.length;c=this.x&&a=this.y&&b=c>>2);d?(b=new yb(a.x,a.y,a.Uc,a.A*b/c|0),a.y+=b.A,a.A-=b.A):(b=new yb(a.x,a.y,a.Uc*b/c|0,a.A),a.x+=b.Uc,a.Uc-=b.Uc);return b}g=ub.prototype;g.Wb=function(a,b,c){return this.qa&&this.qa.Wb(a,b,c)||this.O&&this.O.Wb(a,b,c)||this.P&&this.P.Wb(a,b,c)||this.fa&&this.fa.Wb(a,b,c)?!0:this.parent.Wb.call(this,a,b,c)}; -g.Kc=function(a,b,c,d){this.qa=a;this.na=b;this.O=c;this.fa=d;this.P=Ab(a,"Keyboard")};g.rc=function(a,b){b||Bb();return!0};g.qc=function(){return!0};g.Le=function(a,b){a.button||(this.ea=b?0:-1,Cb(this,a,b))};g.xf=function(a){Cb(this,a)}; -function Cb(a,b,c){var d=1280/null.offsetWidth,e=720/null.offsetHeight,f=null.getBoundingClientRect(),d=(b.clientX-f.left)*d|0;b=(b.clientY-f.top)*e|0;null==c&&(a.ea||(a.ea=Math.abs(a.X-d)>Math.abs(a.S-b)?1:2),1==a.ea?b=a.S:2==a.ea&&(d=a.X));a.X=d;a.S=b;if(0<=d&&1280>d&&0<=b&&720>b){a:{c=d;if(960>c&&a.A&&a.A.Ge)for(f=0;fd&&(f=d);c=f;break a}c=n}if(c!==n&&(c&=-16,c!=a.Ha)){b=c;if(a.context&&a.ja&&a.pa){e=a.ja.width;a.pa.fillStyle="black";a.pa.fillRect(0,360,e,360);Eb(a,378,a.ja,a.pa);a.ra=a.Ja.width/24|0;if(null==b)Fb(a,"Mouse over memory to dump");else for(Fb(a,"0x"+l(b),null,0,1),f=1;16>=f;f++){d="";for(h=1;8>=h;h++){var k=Gb(a.na,b++);Fb(a,l(k,2),null,1);d+=32<=k&&128>k?String.fromCharCode(k):"."}Fb(a,d,null,0,1)}a.context.drawImage(a.ja,0,360,e,360,a.pb,a.wb,a.Va,a.$a)}a.Ha=c}}}g.kd=function(){}; -function Hb(a,b,c,d){a.A.rf[a.A.mj++]={xk:b,Hd:c,type:d};return ua(Db,b,c,0,d)}function Eb(a,b,c,d){var e,f=null.style.color,h=a.Pa=10;a.B=h;a.Y=b;a.wa=a.Da=18;e||(e=a.Aa||a.Da+"px Monaco, Lucida Console, Courier New");a.ga=a.Aa=e;c&&(a.Ja=c);d&&(a.R=d,a.La=f||"white")} -function Fb(a,b,c,d,e){a.R.font=a.ga;a.R.fillStyle=a.La;a.R.fillText(b,a.B,a.Y);a.B+=a.ra;null!=c&&(16!=a.kb?b=c.toString():(b=8>a.Oa?"0x":"",b+=l(c,a.Oa)),a.R.fillText(b,a.B,a.Y),a.B+=a.ra);d&&(a.B+=a.ra*d);e&&(a.B=a.Pa,a.Y+=(a.wa+2)*(e||1))}function Bb(){for(var a=!1,b=kb(window.document,"pcjs","panel"),c=0;c=this.R?12:24>=this.R?14:15;this.Lb=1<>2;this.A=this.Lb-1;this.qa=this.wa/this.Lb|0;this.Y=this.qa-1;this.B=[];this.P=[];this.S=this.na=!1;this.aa=[];this.ea=[];a=new Jb;Kb(a,this.fa);this.va=Array(this.qa);for(b=0;b>>a.Ra;0a.Lb?a.Lb:c;if(h&&h.size){if(h.type==d&&h.controller==e){if(b+c<=h.Sa)return h.Ee+=h.Sa-b,h.Sa=b,!0;if(b>=h.Sa+h.Ee){q=h.size-(b-k);q>c&&(q=c);h.Ee=b-h.Sa+q;c-=q;b=k+a.Lb;continue}}return Rb(1,b,c)}h=a.va[f];b=new Jb(b,q,a.Lb,d,e);Kb(b,a.fa,h);a.va[f++]=b;b=k+a.Lb;c-=q}return 0>>this.Ra;0>>a.Ra;0>>=a.Ra;0>>a.Ra;0>>this.Ra].yc(a&this.A,a)};function Gb(a,b){return a.va[(b&a.Pb)>>>a.Ra].jf(b&a.A,b)} -function dc(a,b){var c=b&a.A,d=(b&a.Pb)>>>a.Ra;return c!=a.A?a.va[d].dh(c,b):a.va[d++].jf(c,b)|a.va[d&a.Y].jf(0,b+1)<<8}g.mb=function(a){var b=a&this.A,c=(a&this.Pb)>>>this.Ra;if(b>>this.Ra].Ac(a&this.A,b&255,a)}; -g.Ib=function(a,b){var c=a&this.A,d=(a&this.Pb)>>>this.Ra;c!=this.A?this.va[d].Uf(c,b&65535,a):(this.va[d++].Ac(c,b&255,a),this.va[d&this.Y].Ac(0,b>>8&255,a+1))};function ec(a,b,c){var d=b&a.A,e=(b&a.Pb)>>>a.Ra;d!=a.A?a.va[e].ej(d,c&65535,b):(a.va[e++].Tf(d,c&255,b),a.va[e&a.Y].Tf(0,c>>8&255,b+1))}g.Dj=function(){return null};function fc(a,b){if(void 0===b)return a.S=!a.S,a.S;void 0===a.B[b]&&(a.B[b]=[null,!1]);a.B[b][1]=!a.B[b][1];return a.B[b][1]} -function gc(a,b,c,d){void 0===d&&(d=0);for(var e in c){var f=a,h=+e+d,k=c[e].bind(b);if(void 0!==k)for(var q=+e+d;q<=h;q++)void 0!==f.B[q]?Ca("Input port "+ga(q)+" already registered"):f.B[q]=[k,!1]}}function hc(a,b,c,d){for(var e=0,f=0;0>>=f)&q;if(void 0!==h){if(h[0])h[0](b,q,e);a.fa&&a.na!=h[1]&&mc(a.fa,b,q)}else a.fa&&(lb(a.fa,a,b,q,e),a.na&&mc(a.fa,b,q));f+=k<<3;b+=k;c-=k}}function Rb(a,b,c){Ca("Memory block error ("+a+","+l(b)+","+l(c)+")");return!1}var nc;if(sb){var oc=new ArrayBuffer(2);(new DataView(oc)).setUint16(0,256,!0);nc=256===(new Uint16Array(oc))[0]}else nc=!1;var $b=nc; -function Jb(a,b,c,d,e,f){this.id=pc+=2;this.ia=null;this.A=0;this.Sa=a;this.Ee=b;this.size=c||0;this.type=d||qc;this.na=d==Wb;this.controller=null;this.O=f;this.gb=this.yj=!1;rc(this);Kb(this);if(c)if(e)this.controller=e,a=e.Cj(a),this.ia=a[0],this.A=a[1],Ub(this,e.Fh());else if(sb)this.qa=new ArrayBuffer(c),this.Y=new DataView(this.qa,0,c),this.B=new Uint8Array(this.qa,0,c),this.ga=new Uint16Array(this.qa,0,c>>1),this.ia=new Int32Array(this.qa,0,c>>2),Ub(this,$b?ac:bc);else{this.ia=Array(c>>2);for(e= -0;e>8&65280|a>>>24);return a} -Jb.prototype={constructor:Jb,parent:null,save:function(){var a,b;if(this.controller)a=null;else if(sb)for(a=Array(this.size>>2),b=0;b>8,c)},pa:function(a,b,c){this.Ac(a++,b&255, +function xb(a){Wa.call(this,"Panel",a,xb);this.X=this.S=this.ea=-1}gb(xb);function yb(a,b,c,d){this.A=[a,b,c,d];this.B=null;void 0===a&&(this.A[0]=256*Math.random()|0,this.A[1]=256*Math.random()|0,this.A[2]=256*Math.random()|0,this.A[3]=255,this.B=null)}yb.prototype.toString=function(){this.B||(this.B="#"+k(this.A[0],2)+k(this.A[1],2)+k(this.A[2],2));return this.B};function zb(a,b,c,d){this.x=a;this.y=b;this.Vc=c;this.A=d} +zb.prototype.contains=function(a,b){return a>=this.x&&a=this.y&&b=c>>2);d?(b=new zb(a.x,a.y,a.Vc,a.A*b/c|0),a.y+=b.A,a.A-=b.A):(b=new zb(a.x,a.y,a.Vc*b/c|0,a.A),a.x+=b.Vc,a.Vc-=b.Vc);return b}g=xb.prototype;g.Xb=function(a,b,c){return this.qa&&this.qa.Xb(a,b,c)||this.O&&this.O.Xb(a,b,c)||this.P&&this.P.Xb(a,b,c)||this.fa&&this.fa.Xb(a,b,c)?!0:this.parent.Xb.call(this,a,b,c)}; +g.Kc=function(a,b,c,d){this.qa=a;this.na=b;this.O=c;this.fa=d;this.P=Bb(a,"Keyboard")};g.rc=function(a,b){b||Cb();return!0};g.qc=function(){return!0};g.Me=function(a,b){a.button||(this.ea=b?0:-1,Db(this,a,b))};g.yf=function(a){Db(this,a)}; +function Db(a,b,c){var d=1280/null.offsetWidth,e=720/null.offsetHeight,f=null.getBoundingClientRect(),d=(b.clientX-f.left)*d|0;b=(b.clientY-f.top)*e|0;null==c&&(a.ea||(a.ea=Math.abs(a.X-d)>Math.abs(a.S-b)?1:2),1==a.ea?b=a.S:2==a.ea&&(d=a.X));a.X=d;a.S=b;if(0<=d&&1280>d&&0<=b&&720>b){a:{c=d;if(960>c&&a.A&&a.A.He)for(f=0;fd&&(f=d);c=f;break a}c=n}if(c!==n&&(c&=-16,c!=a.Ha)){b=c;if(a.context&&a.ja&&a.oa){e=a.ja.width;a.oa.fillStyle="black";a.oa.fillRect(0,360,e,360);Fb(a,378,a.ja,a.oa);a.ra=a.Ja.width/24|0;if(null==b)Gb(a,"Mouse over memory to dump");else for(Gb(a,"0x"+k(b),null,0,1),f=1;16>=f;f++){d="";for(h=1;8>=h;h++){var m=Hb(a.na,b++);Gb(a,k(m,2),null,1);d+=32<=m&&128>m?String.fromCharCode(m):"."}Gb(a,d,null,0,1)}a.context.drawImage(a.ja,0,360,e,360,a.lb,a.wb,a.Va,a.$a)}a.Ha=c}}}g.kd=function(){}; +function Ib(a,b,c,d){a.A.sf[a.A.mj++]={wk:b,Hd:c,type:d};return wa(Eb,b,c,0,d)}function Fb(a,b,c,d){var e,f=null.style.color,h=a.Pa=10;a.B=h;a.Y=b;a.va=a.Da=18;e||(e=a.xa||a.Da+"px Monaco, Lucida Console, Courier New");a.ga=a.xa=e;c&&(a.Ja=c);d&&(a.R=d,a.La=f||"white")} +function Gb(a,b,c,d,e){a.R.font=a.ga;a.R.fillStyle=a.La;a.R.fillText(b,a.B,a.Y);a.B+=a.ra;null!=c&&(16!=a.kb?b=c.toString():(b=8>a.Oa?"0x":"",b+=k(c,a.Oa)),a.R.fillText(b,a.B,a.Y),a.B+=a.ra);d&&(a.B+=a.ra*d);e&&(a.B=a.Pa,a.Y+=(a.va+2)*(e||1))}function Cb(){for(var a=!1,b=mb(window.document,"pcjs","panel"),c=0;c=this.R?12:24>=this.R?14:15;this.Lb=1<>2;this.A=this.Lb-1;this.qa=this.va/this.Lb|0;this.Y=this.qa-1;this.B=[];this.P=[];this.S=this.na=!1;this.aa=[];this.ea=[];a=new Kb;Lb(a,this.fa);this.wa=Array(this.qa);for(b=0;b>>a.Ra;0a.Lb?a.Lb:c;if(h&&h.size){if(h.type==d&&h.controller==e){if(b+c<=h.Sa)return h.Fe+=h.Sa-b,h.Sa=b,!0;if(b>=h.Sa+h.Fe){q=h.size-(b-m);q>c&&(q=c);h.Fe=b-h.Sa+q;c-=q;b=m+a.Lb;continue}}return Sb(1,b,c)}h=a.wa[f];b=new Kb(b,q,a.Lb,d,e);Lb(b,a.fa,h);a.wa[f++]=b;b=m+a.Lb;c-=q}return 0>>this.Ra;0>>a.Ra;0>>=a.Ra;0>>a.Ra;0>>this.Ra].yc(a&this.A,a)};function Hb(a,b){return a.wa[(b&a.Pb)>>>a.Ra].kf(b&a.A,b)} +function ec(a,b){var c=b&a.A,d=(b&a.Pb)>>>a.Ra;return c!=a.A?a.wa[d].dh(c,b):a.wa[d++].kf(c,b)|a.wa[d&a.Y].kf(0,b+1)<<8}g.nb=function(a){var b=a&this.A,c=(a&this.Pb)>>>this.Ra;if(b>>this.Ra].Ac(a&this.A,b&255,a)}; +g.Ib=function(a,b){var c=a&this.A,d=(a&this.Pb)>>>this.Ra;c!=this.A?this.wa[d].Uf(c,b&65535,a):(this.wa[d++].Ac(c,b&255,a),this.wa[d&this.Y].Ac(0,b>>8&255,a+1))};function fc(a,b,c){var d=b&a.A,e=(b&a.Pb)>>>a.Ra;d!=a.A?a.wa[e].fj(d,c&65535,b):(a.wa[e++].Tf(d,c&255,b),a.wa[e&a.Y].Tf(0,c>>8&255,b+1))}g.Dj=function(){return null};function gc(a,b){if(void 0===b)return a.S=!a.S,a.S;void 0===a.B[b]&&(a.B[b]=[null,!1]);a.B[b][1]=!a.B[b][1];return a.B[b][1]} +function hc(a,b,c,d){void 0===d&&(d=0);for(var e in c){var f=a,h=+e+d,m=c[e].bind(b);if(void 0!==m)for(var q=+e+d;q<=h;q++)void 0!==f.B[q]?Da("Input port "+ia(q)+" already registered"):f.B[q]=[m,!1]}}function ic(a,b,c,d){for(var e=0,f=0;0>>=f)&q;if(void 0!==h){if(h[0])h[0](b,q,e);a.fa&&a.na!=h[1]&&nc(a.fa,b,q)}else a.fa&&(nb(a.fa,a,b,q,e),a.na&&nc(a.fa,b,q));f+=m<<3;b+=m;c-=m}}function Sb(a,b,c){Da("Memory block error ("+a+","+k(b)+","+k(c)+")");return!1}var oc;if(ub){var pc=new ArrayBuffer(2);(new DataView(pc)).setUint16(0,256,!0);oc=256===(new Uint16Array(pc))[0]}else oc=!1;var ac=oc; +function Kb(a,b,c,d,e,f){this.id=qc+=2;this.ia=null;this.A=0;this.Sa=a;this.Fe=b;this.size=c||0;this.type=d||rc;this.na=d==$b;this.controller=null;this.O=f;this.gb=this.yj=!1;sc(this);Lb(this);if(c)if(e)this.controller=e,a=e.Cj(a),this.ia=a[0],this.A=a[1],Vb(this,e.Gh());else if(ub)this.qa=new ArrayBuffer(c),this.Y=new DataView(this.qa,0,c),this.B=new Uint8Array(this.qa,0,c),this.ga=new Uint16Array(this.qa,0,c>>1),this.ia=new Int32Array(this.qa,0,c>>2),Vb(this,ac?bc:cc);else{this.ia=Array(c>>2);for(e= +0;e>8&65280|a>>>24);return a} +Kb.prototype={constructor:Kb,parent:null,save:function(){var a,b;if(this.controller)a=null;else if(ub)for(a=Array(this.size>>2),b=0;b>8,c)},oa:function(a,b,c){this.Ac(a++,b&255, c++);this.Ac(a++,b>>8&255,c++);this.Ac(a++,b>>16&255,c++);this.Ac(a,b>>>24,c)},Ma:function(a){return this.ia[a>>2]>>>((a&3)<<3)&255},vb:function(a){var b=a>>2;a=(a&3)<<3;var c=this.ia[b]>>a;return 24>a?c&65535:c&255|(this.ia[b+1]&255)<<8},$a:function(a){var b=a>>2;a=(a&3)<<3;var c=this.ia[b];a&&(c=c>>>a|this.ia[b+1]<<32-a);return c},jc:function(a,b){var c=a>>2,d=(a&3)<<3;this.ia[c]=this.ia[c]&~(255<>2,d=(a&3)<<3;24>d?this.ia[c]=this.ia[c]&~(65535<>8);this.gb=!0},Pc:function(a,b){var c=a>>2,d=(a&3)<<3;if(d){var e=-1<>>32-d}else this.ia[c]=b;this.gb=!0},Ja:function(a,b){this.fa&&Cc(this.fa,b)||this.O&&Dc(this.O,b,1,!1);return this.jf(a,b)},kb:function(a,b){this.fa&&Cc(this.fa,b,2)||this.O&&Dc(this.O,b,2,!1);return this.dh(a,b)},Va:function(a,b){this.fa&&Cc(this.fa,b,4)||this.O&&Dc(this.O,b,4,!1);return this.$i(a, -b)},Tb:function(a,b,c){this.fa&&Ec(this.fa,c)||this.O&&Dc(this.O,c,1,!0);this.na?this.wa(a,b,c):this.Tf(a,b,c)},nd:function(a,b,c){this.fa&&Ec(this.fa,c,2)||this.O&&Dc(this.O,c,2,!0);this.na?this.wa(a,b,c):this.ej(a,b,c)},Nc:function(a,b,c){this.fa&&Ec(this.fa,c,4)||this.O&&Dc(this.O,c,4,!0);this.na?this.wa(a,b,c):this.Ea(a,b,c)},Na:function(a,b){this.P.ia[this.X]|=this.za;this.R.ia[this.S]|=this.za;return this.me.yc(a,b)},wb:function(a,b){this.P.ia[this.X]|=this.za;this.R.ia[this.S]|=this.za;return this.me.bh(a, -b)},fb:function(a,b){this.P.ia[this.X]|=this.za;this.R.ia[this.S]|=this.za;return this.me.Qd(a,b)},Bc:function(a,b,c){this.P.ia[this.X]|=this.za;this.R.ia[this.S]|=this.ja;this.me.Ac(a,b,c)},zd:function(a,b,c){this.P.ia[this.X]|=this.za;this.R.ia[this.S]|=this.ja;this.me.Uf(a,b,c)},cd:function(a,b,c){this.P.ia[this.X]|=this.za;this.R.ia[this.S]|=this.ja;this.me.mh(a,b,c)},Oa:function(a,b){return Fc(this.O,b,!1).yc(a,b)},Bb:function(a,b){return Fc(this.O,b,!1).bh(a,b)},Gc:function(a,b){return Fc(this.O, -b,!1).Qd(a,b)},Mc:function(a,b,c){Fc(this.O,c,!0).Ac(a,b,c)},Ad:function(a,b,c){Fc(this.O,c,!0).Uf(a,b,c)},md:function(a,b,c){Fc(this.O,c,!0).mh(a,b,c)},Ha:function(a){return this.B[a]},La:function(a){return this.B[a]},jb:function(a){return this.Y.getUint16(a,!0)},pb:function(a){return a&1?this.B[a]|this.B[a+1]<<8:this.ga[a>>1]},Pa:function(a){return this.Y.getInt32(a,!0)},Za:function(a){return a&3?this.B[a]|this.B[a+1]<<8|this.B[a+2]<<16|this.B[a+3]<<24:this.ia[a>>2]},Nb:function(a,b){this.B[a]= -b;this.gb=!0},Yb:function(a,b){this.B[a]=b;this.gb=!0},ld:function(a,b){this.Y.setUint16(a,b,!0);this.gb=!0},pd:function(a,b){a&1?(this.B[a]=b,this.B[a+1]=b>>8):this.ga[a>>1]=b;this.gb=!0},Vd:function(a,b){this.Y.setInt32(a,b,!0);this.gb=!0},Oc:function(a,b){a&3?(this.B[a]=b,this.B[a+1]=b>>8,this.B[a+2]=b>>16,this.B[a+3]=b>>24):this.ia[a>>2]=b;this.gb=!0}};function Kb(a,b,c){a.fa=b;a.aa=a.ea=0;c&&(c.O&&(a.O=c.O),(a.aa=c.aa)&&vc(a,wc,!1),(a.ea=c.ea)&&yc(a,wc,!1))} -function Gc(a,b){b?0===--a.ea&&(a.Ac=a.na?a.wa:a.Tf,a.Uf=a.na?a.ra:a.ej,a.mh=a.na?a.pa:a.Ea):0===--a.aa&&(a.yc=a.jf,a.bh=a.dh,a.Qd=a.$i)}function rc(a,b,c,d,e,f){a.me=b;a.P=c;a.X=d>>2;a.R=e;a.S=f>>2;a.ja=b?uc(Hc|Ic):0;a.za=b?uc(Hc):0}function yc(a,b,c){c&&a.ea||(a.Ac=!a.na&&b[3]||a.wa,a.Uf=!a.na&&b[4]||a.ra,a.mh=!a.na&&b[5]||a.pa);if(c||void 0===c)a.Tf=b[3]||a.wa,a.ej=b[4]||a.ra,a.Ea=b[5]||a.pa} -function vc(a,b,c){c&&a.aa||(a.yc=b[0]||a.Aa,a.bh=b[1]||a.Da,a.Qd=b[2]||a.ua);if(c||void 0===c)a.jf=b[0]||a.Aa,a.dh=b[1]||a.Da,a.$i=b[2]||a.ua}function Ub(a,b,c){b||(b=5==a.type?Jc:6==a.type?Kc:Lc);vc(a,b,c);yc(a,b,c)} -var Lc=[],cc=[Jb.prototype.Ma,Jb.prototype.vb,Jb.prototype.$a,Jb.prototype.jc,Jb.prototype.qd,Jb.prototype.Pc],wc=[Jb.prototype.Ja,Jb.prototype.kb,Jb.prototype.Va,Jb.prototype.Tb,Jb.prototype.nd,Jb.prototype.Nc],Kc=[Jb.prototype.Na,Jb.prototype.wb,Jb.prototype.fb,Jb.prototype.Bc,Jb.prototype.zd,Jb.prototype.cd],Jc=[Jb.prototype.Oa,Jb.prototype.Bb,Jb.prototype.Gc,Jb.prototype.Mc,Jb.prototype.Ad,Jb.prototype.md]; -if(sb)var bc=[Jb.prototype.Ha,Jb.prototype.jb,Jb.prototype.Pa,Jb.prototype.Nb,Jb.prototype.ld,Jb.prototype.Vd],ac=[Jb.prototype.La,Jb.prototype.pb,Jb.prototype.Za,Jb.prototype.Yb,Jb.prototype.pd,Jb.prototype.Oc]; -function Mc(a,b){Va.call(this,"CPU",a,Mc,1);var c=a.cycles||b,d=a.multiplier||1;this.Z={};this.Z.Bd=c;this.Z.Md=d;this.Z.fg=Math.round(this.Z.Bd/1E4)/100;this.Z.we=this.Z.fg*this.Z.Md;this.oa.Hb=!1;this.oa.Dh=!1;this.oa.zh=a.autoStart;this.oa.zj=!1;c=Ya.autostart;void 0!==c&&(this.oa.zh="true"==c?!0:"false"==c?!1:null);this.oa.Oe=!1;this.Z.yf=this.Z.Ze=0;this.Z.zf=a.csStart;this.Z.Ye=a.csInterval;this.Z.$e=a.csStop;this.cd=[];var e=this;this.fj=function(){e.Be()};pb(this)}cb(Mc);g=Mc.prototype; -g.Kc=function(a,b,c,d){this.na=b;this.fa=d;this.qa=a;for(b=null;b=Ab(a,"Video",b);)this.cd.push(b);this.X=Ab(a,"ChipSet");pb(this)};g.reset=function(){};g.save=function(){return null};g.restore=function(){return!1};g.rc=function(a,b){if(!b){if(a&&this.restore){Nc(this);if(!this.restore(a))return!1;Oc(this)}else this.reset();this.fa?this.fa.Al():this.V("No debugger detected")}Pc(this);return!0};g.qc=function(a){return a&&this.save?this.save():!0}; -function Qc(a){(!0===a.oa.zh||null===a.oa.zh&&!a.fa&&void 0===a.za.run)&&a.Be()}g.Bj=function(){return 0};function Oc(a){void 0===a.Z.zf&&(a.Z.zf=0);void 0===a.Z.Ye&&(a.Z.Ye=-1);void 0===a.Z.$e&&(a.Z.$e=-1);a.oa.Oe=0<=a.Z.zf&&0=a.Z.Ze&&(a.Z.Ze+=a.Z.Ye,c=!0);0<=a.Z.$e&&a.Z.$e<=Uc(a)&&(a.Z.Ye=a.Z.$e=-1,Oc(a),a.Xb(),c=!0);c&&a.V(Uc(a)+" cycles: checksum="+l(a.Z.yf))}} +b<>8);this.gb=!0},Pc:function(a,b){var c=a>>2,d=(a&3)<<3;if(d){var e=-1<>>32-d}else this.ia[c]=b;this.gb=!0},Ja:function(a,b){this.fa&&Dc(this.fa,b)||this.O&&Ec(this.O,b,1,!1);return this.kf(a,b)},kb:function(a,b){this.fa&&Dc(this.fa,b,2)||this.O&&Ec(this.O,b,2,!1);return this.dh(a,b)},Va:function(a,b){this.fa&&Dc(this.fa,b,4)||this.O&&Ec(this.O,b,4,!1);return this.aj(a, +b)},Tb:function(a,b,c){this.fa&&Fc(this.fa,c)||this.O&&Ec(this.O,c,1,!0);this.na?this.va(a,b,c):this.Tf(a,b,c)},nd:function(a,b,c){this.fa&&Fc(this.fa,c,2)||this.O&&Ec(this.O,c,2,!0);this.na?this.va(a,b,c):this.fj(a,b,c)},Nc:function(a,b,c){this.fa&&Fc(this.fa,c,4)||this.O&&Ec(this.O,c,4,!0);this.na?this.va(a,b,c):this.Ea(a,b,c)},Na:function(a,b){this.P.ia[this.X]|=this.Aa;this.R.ia[this.S]|=this.Aa;return this.me.yc(a,b)},wb:function(a,b){this.P.ia[this.X]|=this.Aa;this.R.ia[this.S]|=this.Aa;return this.me.bh(a, +b)},fb:function(a,b){this.P.ia[this.X]|=this.Aa;this.R.ia[this.S]|=this.Aa;return this.me.Qd(a,b)},Bc:function(a,b,c){this.P.ia[this.X]|=this.Aa;this.R.ia[this.S]|=this.ja;this.me.Ac(a,b,c)},rd:function(a,b,c){this.P.ia[this.X]|=this.Aa;this.R.ia[this.S]|=this.ja;this.me.Uf(a,b,c)},Qc:function(a,b,c){this.P.ia[this.X]|=this.Aa;this.R.ia[this.S]|=this.ja;this.me.mh(a,b,c)},Oa:function(a,b){return Gc(this.O,b,!1).yc(a,b)},Bb:function(a,b){return Gc(this.O,b,!1).bh(a,b)},Gc:function(a,b){return Gc(this.O, +b,!1).Qd(a,b)},Mc:function(a,b,c){Gc(this.O,c,!0).Ac(a,b,c)},Ad:function(a,b,c){Gc(this.O,c,!0).Uf(a,b,c)},md:function(a,b,c){Gc(this.O,c,!0).mh(a,b,c)},Ha:function(a){return this.B[a]},La:function(a){return this.B[a]},jb:function(a){return this.Y.getUint16(a,!0)},lb:function(a){return a&1?this.B[a]|this.B[a+1]<<8:this.ga[a>>1]},Pa:function(a){return this.Y.getInt32(a,!0)},Za:function(a){return a&3?this.B[a]|this.B[a+1]<<8|this.B[a+2]<<16|this.B[a+3]<<24:this.ia[a>>2]},Nb:function(a,b){this.B[a]= +b;this.gb=!0},Zb:function(a,b){this.B[a]=b;this.gb=!0},ld:function(a,b){this.Y.setUint16(a,b,!0);this.gb=!0},pd:function(a,b){a&1?(this.B[a]=b,this.B[a+1]=b>>8):this.ga[a>>1]=b;this.gb=!0},Vd:function(a,b){this.Y.setInt32(a,b,!0);this.gb=!0},Oc:function(a,b){a&3?(this.B[a]=b,this.B[a+1]=b>>8,this.B[a+2]=b>>16,this.B[a+3]=b>>24):this.ia[a>>2]=b;this.gb=!0}};function Lb(a,b,c){a.fa=b;a.aa=a.ea=0;c&&(c.O&&(a.O=c.O),(a.aa=c.aa)&&wc(a,yc,!1),(a.ea=c.ea)&&Cc(a,yc,!1))} +function Hc(a,b){b?0===--a.ea&&(a.Ac=a.na?a.va:a.Tf,a.Uf=a.na?a.ra:a.fj,a.mh=a.na?a.oa:a.Ea):0===--a.aa&&(a.yc=a.kf,a.bh=a.dh,a.Qd=a.aj)}function sc(a,b,c,d,e,f){a.me=b;a.P=c;a.X=d>>2;a.R=e;a.S=f>>2;a.ja=b?vc(Ic|Jc):0;a.Aa=b?vc(Ic):0}function Cc(a,b,c){c&&a.ea||(a.Ac=!a.na&&b[3]||a.va,a.Uf=!a.na&&b[4]||a.ra,a.mh=!a.na&&b[5]||a.oa);if(c||void 0===c)a.Tf=b[3]||a.va,a.fj=b[4]||a.ra,a.Ea=b[5]||a.oa} +function wc(a,b,c){c&&a.aa||(a.yc=b[0]||a.xa,a.bh=b[1]||a.Da,a.Qd=b[2]||a.ua);if(c||void 0===c)a.kf=b[0]||a.xa,a.dh=b[1]||a.Da,a.aj=b[2]||a.ua}function Vb(a,b,c){b||(b=5==a.type?Kc:6==a.type?Lc:Mc);wc(a,b,c);Cc(a,b,c)} +var Mc=[],dc=[Kb.prototype.Ma,Kb.prototype.vb,Kb.prototype.$a,Kb.prototype.jc,Kb.prototype.qd,Kb.prototype.Pc],yc=[Kb.prototype.Ja,Kb.prototype.kb,Kb.prototype.Va,Kb.prototype.Tb,Kb.prototype.nd,Kb.prototype.Nc],Lc=[Kb.prototype.Na,Kb.prototype.wb,Kb.prototype.fb,Kb.prototype.Bc,Kb.prototype.rd,Kb.prototype.Qc],Kc=[Kb.prototype.Oa,Kb.prototype.Bb,Kb.prototype.Gc,Kb.prototype.Mc,Kb.prototype.Ad,Kb.prototype.md]; +if(ub)var cc=[Kb.prototype.Ha,Kb.prototype.jb,Kb.prototype.Pa,Kb.prototype.Nb,Kb.prototype.ld,Kb.prototype.Vd],bc=[Kb.prototype.La,Kb.prototype.lb,Kb.prototype.Za,Kb.prototype.Zb,Kb.prototype.pd,Kb.prototype.Oc]; +function Nc(a,b){Wa.call(this,"CPU",a,Nc,1);var c=a.cycles||b,d=a.multiplier||1;this.Z={};this.Z.Bd=c;this.Z.Md=d;this.Z.fg=Math.round(this.Z.Bd/1E4)/100;this.Z.we=this.Z.fg*this.Z.Md;this.pa.Hb=!1;this.pa.Eh=!1;this.pa.Ah=a.autoStart;this.pa.zj=!1;c=$a.autostart;void 0!==c&&(this.pa.Ah="true"==c?!0:"false"==c?!1:null);this.pa.Pe=!1;this.Z.zf=this.Z.$e=0;this.Z.Af=a.csStart;this.Z.Ze=a.csInterval;this.Z.af=a.csStop;this.md=[];var e=this;this.oh=function(){e.Ce()};rb(this)}gb(Nc);g=Nc.prototype; +g.Kc=function(a,b,c,d){this.na=b;this.fa=d;this.qa=a;for(b=null;b=Bb(a,"Video",b);)this.md.push(b);this.X=Bb(a,"ChipSet");rb(this)};g.reset=function(){};g.save=function(){return null};g.restore=function(){return!1};g.rc=function(a,b){if(!b){if(a&&this.restore){Oc(this);if(!this.restore(a))return!1;Pc(this)}else this.reset();this.fa?this.fa.zl():this.V("No debugger detected")}Qc(this);return!0};g.qc=function(a){return a&&this.save?this.save():!0}; +function Tc(a){(!0===a.pa.Ah||null===a.pa.Ah&&!a.fa&&void 0===a.Aa.run)&&a.Ce()}g.Bj=function(){return 0};function Pc(a){void 0===a.Z.Af&&(a.Z.Af=0);void 0===a.Z.Ze&&(a.Z.Ze=-1);void 0===a.Z.af&&(a.Z.af=-1);a.pa.Pe=0<=a.Z.Af&&0=a.Z.$e&&(a.Z.$e+=a.Z.Ze,c=!0);0<=a.Z.af&&a.Z.af<=Vc(a)&&(a.Z.Ze=a.Z.af=-1,Pc(a),a.Yb(),c=!0);c&&a.V(Vc(a)+" cycles: checksum="+k(a.Z.zf))}} g.kd=function(){this.qa&&this.qa.Pd&&this.qa.Pd.kd()}; -function Vc(a,b){for(var c=0;c>>d.Ra;f=f+h-1>>>d.Ra;e.yh=0;for(e.Hd=0;k<=f;)h=d.va[k],e.yh+=h.size,h.size&&(e.ph.push(ua(Db,k,0,0,h.type)),e.Hd++),k++;c.A=e;c.Ea=c.A.Hd*c.na.Lb/691200;d=0;c.A.mj=0;c.A.rf||(c.A.rf=[]);var e=-1,k=0,q=-1;for(f=0;f>1),q=h.y+(h.A>>1),r=h.A,h.Uc< -h.A&&(r=h.Uc,k.ua=!0,k.R.save(),k.R.translate(f,q),k.R.rotate(-Math.PI/2),f=q=0),r>1,k.Y+=(k.wa>>1)-2,Fb(k,e),k.ua&&(k.R.restore(),k.ua=!1)}}else Fb(c,"This space intentionally left blank");c.context.drawImage(c.aa,0,0,c.aa.width,c.aa.height,c.vb,c.Bb,c.Za,c.fb);c.Na=!1}}g.$c=function(){this.cd.length&&this.cd[0].$c()}; -g.Wb=function(a,b,c){var d=this;a=!1;switch(b){case "run":this.za[b]=c;c.onclick=function(){var a;if(a=d.qa)if(a=d.qa,a.oa.oc)a=!0;else{var b=null,c,k=fb(a.id);for(c=0;cc&&(c=60);2>c&&(c=2);var d=1;b&&1a.Z.fg&&(c=Math.round(c/a.Z.Md));return c}function Nc(a){a.Z.de=0;a.jc=a.Yb=a.jb=a.A=0;Oc(a);Yc(a,1)} -function Yc(a,b,c){var d=!1;if(void 0!==b){.8>a.Z.de/a.Z.we?b=1:d=!0;a.Z.Md=b;b=a.Z.fg*a.Z.Md;if(a.Z.we!=b){a.Z.we=b;b=a.Z.we.toFixed(2)+"Mhz";var e=a.za.setSpeed;e&&(e.textContent=b);a.V("target speed: "+b)}c&&a.$c()}dd(a,a.Yb);a.Yb=0;a.Z.Xe=ra();a.Z.xe=0;ed(a);return d} -g.Be=function(a){if(mb(this,!0)){if(!this.oa.Hb){Yc(this);this.qa&&this.qa.start(this.Z.Xe,Uc(this));this.oa.Hb=!0;this.oa.Dh=!0;this.X&&fd(this.X);var b=this.za.run;b&&(b.textContent="Halt");this.kd(!0);a&&this.$c()}this.Z.Qh>=this.Z.Bd&&ed(this,!0);this.Z.Cf=0;this.Z.gg=ra();this.Z.xe&&(a=this.Z.gg-this.Z.xe,a>this.Z.Gj&&(this.Z.Xe+=a,this.Z.Xe>this.Z.gg&&(this.Z.Xe=this.Z.gg)));try{do{var c=this.oa.Oe?1:this.Z.Nl;if(this.X){gd(this.X);var d=this.X;a=c;var e=d.X[0];if(e.pe){var f=(Uc(d.O,d.ua)- -e.ud)/d.pb|0,h=hd(d,0)-f;6==e.mode&&(h-=f);var k=h*d.pb|0;6==e.mode&&(k>>=1);a>k&&(a=k)}var c=a,q=this.X;a=c;if(q.A&&q.A[11]&64){var r=q.Ja-Uc(q.O,q.ua);0r&&(a=r)}c=a}try{this.nf(c)}catch(x){if("number"!=typeof x)throw x;}var C=this.jb-this.A;this.Yb+=C;this.Z.Cf+=C;dd(this,0,!0);Tc(this,C);this.Z.Bf-=C;0>=this.Z.Bf&&(this.Z.Bf+=this.Z.Ij,Vc(this));this.Z.Af-=C;0>=this.Z.Af&&(this.Z.Af+=this.Z.Hj,this.kd());this.Z.af-=C;if(0>=this.Z.af){this.Z.af+=this.Z.Ph;break}}while(this.oa.Hb)}catch(z){this.Xb(); -Pc(this);this.qa&&this.qa.stop(ra(),Uc(this));mb(this,!1);rb(this,z.stack||z.message);return}c=setTimeout;d=this.fj;this.Z.xe=ra();e=this.Z.Gj;this.Z.Cf&&(e=Math.round(e*this.Z.Cf/this.Z.Ph));e-=this.Z.xe-this.Z.gg;if(f=this.Z.xe-this.Z.Xe)this.Z.de=Math.round(this.Yb/(10*f))/100,864E5<=f&&(this.jc=0,this.X&&gd(this.X,!0),Yc(this));if(0>e||this.Z.dethis.id&&p.call(e,13,a&65532)}return n};g.Jl=function(a){var b=this.O;a=b.fd+(a<<2);var c=b.xa(a);this.jh=2;b.ca&=-769;return this.load(b.xa(a+2))+c|0}; -g.Il=function(a){var b=this.O;a<<=3;var c=b.fd+a|0;if(7<=(b.Xd-c|0))return this.P=!0,a=md(this,c,a),a!==n&&(a+=this.Jf),a;p.call(b,13,a|2);return n};g.pj=function(a){return this.Fa+a|0};g.rj=function(a){return this.Fa+a|0};g.oj=function(a,b){return(a>>>0)+b<=this.cc?this.Fa+a|0:this.$f()};g.lk=function(a,b){return(a>>>0)+b>this.cc?this.Fa+a|0:this.$f()};g.$f=function(){p.call(this.O,13,0);return n};g.qj=function(a,b){return(a>>>0)+b<=this.cc?this.Fa+a|0:this.ag()}; -g.mk=function(a,b){return(a>>>0)+b>this.cc?this.Fa+a|0:this.ag()};g.ag=function(){p.call(this.O,13,0);return n};function nd(a,b,c){var d=a.O,e=d.xa(b+2),f=d.xa(b)|(e&255)<<16,d=d.xa(b+4);a.da=c;a.Fa=f;a.Wa=d;a.cc=(d>>>0)+1;a.Cb=e;a.type=e&7936;a.ext=0;a.ac=b;kd(a,!0)} -function md(a,b,c,d){var e=a.O;if(!d&&c===a.A.da)return a.da=c,a.Fa=a.A.Fa,a.Wa=a.A.Wa,a.cc=(a.A.Wa>>>0)+1,a.Cb=a.A.Cb,a.type=a.A.type,a.ext=a.A.ext,a.ac=a.A.ac,a.A.da=0,kd(a,!0,!0,!1),a.Fa;a.A.da=0;var f=e.xa(b+0),h=e.xa(b+4),k=h&7936,q=e.xa(b+2)|(h&255)<<16,r=e.xa(b+6),x=c&65528;if(80386<=e.sa){var C=f,q=q|(r&65280)<<16,f=f|(r&15)<<16;r&128&&(f=f<<12|4095)}switch(a.id){case jd:a.Te=!1;a.jh=a.ha;var z=a.P;if(z&&1==c&&a.B.length){var N=a.B[a.Jf-1];if(N&&!N())return n}var N=c&3,I=(h&24576)>>13,J,W, -O;if(x&&!(h&32768))return 6>a.id&&p.call(e,11,c&65532),n;if(6144<=k){N=c&3;if(N>a.Vb){if(!1!==z&&!(I==a.Vb||k&1024&&I<=a.Vb))return n;J=od(e);pd(e,od(e),!0);t(e,J);a.Te=!0}J=0}else{if(256==k||2304==k)return qd(a,c,z)?a.Fa:n;if(1024==k)J=2,O=0,Na.id&&p.call(e,13,c&65532|(W?2:0)),n;break;case 2:if(x){if(4096>k||2048==(k&2560))return 6>a.id&&p.call(e,13,c&65532),n;if(!(h&32768))return 6>a.id&&p.call(e,11,c&65532),n}break;case 3:if(!(h&32768))return 6>a.id&&p.call(e,12,c&65532),n;if(!x||4096>k||512!=(k&2560))return 6>a.id&&p.call(e,13,c&65532,!0),n;break;case 4:z=k&-513;if(!x||256!=z&&2304!=z)return 6>a.id&&p.call(e,13,c&65532,!0),n;2304==z&&(a.ij= -q+e.xa(q+100+2)|0,a.ik=q+a.Wa|0);break;case 6:if(!(k&4096)&&768>>0)+1,a.Cb=h,a.type=k,a.ext=r,a.ac=b,kd(a,!0,!0,!1));return q} -function qd(a,b,c){var d=a.O,e=a.Vb,f=d.Ya.da,h=d.Ya.Fa;if(!c){if(!(d.Ya.type&512))return p.call(d,13,b&65532,!0),!1;d.Ib(d.Ya.ac+4,d.Ya.Cb&=-513)}if(d.Ya.load(b)===n)return!1;var k=d.Ya.Fa;if(!1!==c){if(d.Ya.type&512)return p.call(d,13,b&65532,!0),!1;d.Ib(d.Ya.ac+4,d.Ya.Cb|=512)}d.Ya.type=d.Ya.type&-513|d.Ya.Cb&512;256==d.Ya.type||768==d.Ya.type?(d.Ib(h+14,v(d)),d.Ib(h+16,xd(d)),d.Ib(h+18,d.F),d.Ib(h+20,d.G),d.Ib(h+22,d.H),d.Ib(h+24,d.D),d.Ib(h+26,u(d)),d.Ib(h+28,d.L),d.Ib(h+30,d.K),d.Ib(h+32,d.J), -d.Ib(h+34,d.eb.da),d.Ib(h+36,d.Ca.da),d.Ib(h+38,d.ya.da),d.Ib(h+40,d.Ab.da),d.Fc.load(d.xa(k+42)),Bd(d,d.xa(k+16)|(c?16384:0)),d.F=d.xa(k+18),d.G=d.xa(k+20),d.H=d.xa(k+22),d.D=d.xa(k+24),d.L=d.xa(k+28),d.K=d.xa(k+30),d.J=d.xa(k+32),d.eb.load(d.xa(k+34)),d.Ab.load(d.xa(k+40)),Cd(d,d.xa(k+14),d.xa(k+36)),b=38,h=26,a.Vb>>0)+1)}; -function kd(a,b,c,d){void 0===c&&(c=!!(a.O.ob&1));a.Wc=!1;if(c)if(a.load=a.eg,a.Fj=a.Il,a.Cc=a.oj,a.uc=a.qj,void 0===d&&(d=!!(a.O.ca&131072)),d)a.load=a.na,a.Cc=a.X,a.uc=a.S,a.Vb=a.Dc=3,a.ha=a.ad=2,a.C=a.Ga=65535,a.Wa=65535,a.cc=a.Wa+1,a.ad=a.ha,a.ac=n,a.Te=!1;else{if(!(a.da&-4))a.Cc=a.$f,a.uc=a.ag;else if(a.type&4096){6144==(a.type&6656)&&(a.Cc=a.$f);if(a.type&2048||!(a.type&512))a.uc=a.ag;1024==(a.type&3072)&&(a.Cc==a.oj&&(a.Cc=a.lk),a.uc==a.qj&&(a.uc=a.mk),a.Wc=!0);b&&6>a.id&&a.da&-4&&a.ac!==n&& -(c=a.ac+5,a.O.tc(c,a.O.Xa(c)|1))}b&&(a.Vb=a.da&3,a.Dc=(a.Cb&24576)>>13,80386>a.O.sa||!(a.ext&64)?(a.ha=2,a.C=65535):(a.ha=4,a.C=-1),a.ad=a.ha,a.Ga=a.C)}else a.load=a.Jh,a.Fj=a.Jl,a.Cc=a.pj,a.uc=a.rj,a.Vb=a.Dc=0,a.ac=n,a.Te=!1} -function Ed(a){this.sa=a.model||8088;var b=0;switch(this.sa){default:b=4772727;break;case 80286:b=6E6;break;case 80386:b=16E6}Mc.call(this,a,b);this.Nf=61442;this.Mc=1792;this.Lf=28672;this.zd=4;this.Da=255;this.B=80386==this.sa?Fd:80286==this.sa?Ld:Md;this.ea=Nd;this.Of=Od;this.Sf=Pd;this.kh=Qd;if(80186<=this.sa&&(this.ea=Nd.slice(),this.Of=Od.slice(),this.Sf=Pd.slice(),this.Da=31,this.ea[15]=Rd,this.ea[96]=Sd,this.ea[97]=Td,this.ea[98]=Ud,this.ea[99]=Rd,this.ea[100]=Rd,this.ea[101]=Rd,this.ea[102]= -Rd,this.ea[103]=Rd,this.ea[104]=Vd,this.ea[105]=Wd,this.ea[106]=Xd,this.ea[107]=Yd,this.ea[108]=Zd,this.ea[109]=$d,this.ea[110]=ae,this.ea[111]=be,this.ea[192]=ce,this.ea[193]=de,this.ea[200]=ee,this.ea[201]=he,this.ea[241]=ie,this.Of[7]=je,this.Sf[7]=je,80286<=this.sa)){this.Nf=2;this.Mc|=28672;this.zd=0;this.ea[15]=ke;this.ld=le.slice();for(a=0;a>>20,f=a.Hc[(a.Ed+e&a.Pb)>>>a.Ra],h=f.Qd(e);if(!(h&1))return d||Be.call(a,b,!1,c),a.nd;if(!(h&4)&&3==a.ua)return d||Be.call(a,b,!0,c),a.nd;var k=(b&4190208)>>>10,h=a.Hc[((h&-4096)+k&a.Pb)>>>a.Ra],q=h.Qd(k);if(!(q&1))return d||Be.call(a,b,!1,c),a.nd;if(!(q&4)&&3==a.ua)return d||Be.call(a,b,!0,c),a.nd;c=a.Hc[((q&-4096)+(b&4095)&a.Pb)>>>a.Ra];if(d)return c;d=b>>>a.Ra;q=a.va[d];b=new Jb(b&-4096,0,0,6);rc(b,c,f,e,h,k);Kb(b,a.fa,q);a.va[d]=b;a.ae.push(d);return b} -function Ce(a){a.va!=a.Hc&&(a.va=a.Hc,a.se=null,a.ae=null,a.nd=null)}g=Ed.prototype;g.reset=function(){this.oa.Hb&&this.Xb();ze(this);Nc(this);this.oa.rd=!1};function De(a,b){var c;switch(b){case 0:c=a.F;break;case 1:c=a.G;break;case 2:c=a.H;break;case 3:c=a.D;break;case 4:c=u(a);break;case 5:c=a.L;break;case 6:c=a.K;break;case 7:c=a.J}return c} -function Ee(a,b,c){switch(b){case 0:a.F=c;break;case 1:a.G=c;break;case 2:a.H=c;break;case 3:a.D=c;break;case 4:t(a,c);break;case 5:a.L=c;break;case 6:a.K=c;break;case 7:a.J=c}} -function ze(a){a.F=0;a.D=0;a.G=0;a.H=0;a.kb=0;a.L=0;a.K=0;a.J=0;a.La=!1;a.ra=a.Ma=0;a.Bb=0;a.re=0;a.ob=65520;a.fd=0;a.Xd=1023;a.ca=a.$a=0;a.Oc=a.qd=a.Nc=a.Pc=0;a.pb=-1;a.Ha=a.ja=n;a.Ca=new id(a,jd,"CS");a.Ab=new id(a,2,"DS");a.eb=new id(a,2,"ES");a.ya=new id(a,3,"SS");t(a,0);pd(a,0);80386<=a.sa&&(a.H=772,a.ob=16,a.aj=0,a.he=0,a.Ed=0,a.Oa=[0,0,0,0,null,null,0,0],a.ze=[null,null,null,null,null,null,0,0],a.Rb=new id(a,2,"FS"),a.Sb=new id(a,2,"GS"),Ce(a));a.nh=new id(a,0,"NULL");a.R=a.Ab;a.S=a.ya;a.W= -a.Y=0;a.P=a.aa=n;a.Aa=0;Cd(a,0,65535);if(80286<=a.sa){a.ed=0;a.Wd=65535;a.Fc=new id(a,5,"LDT",!0);a.Ya=new id(a,4,"TSS",!0);a.Ja=new id(a,6,"VER",!0);Cd(a,65520,61440);var b,c=v(a);b=a.Ca;var d=-65536;80386>b.O.sa&&(d&=16777215);b=b.Fa=d;a.Ba=b+c|0;a.ve=b+a.Ca.Wa|0}Bd(a,0);rd(a)}function Fe(a,b){b.da&65528&&b.Dc>16,e=0;4>e;e++){if(c&3){var f=!!(d&1),h=a.Oa[e],h=h&~(d>>2&3);b?a.va[h>>>a.Ra].Gd(h&a.Pa,f,a):Gc(a.va[h>>>a.Ra],f)}c>>=2;d>>=4}} -function Dc(a,b,c,d){if(!(a.W&8192)&&a.Oa[7]&255){c--;var e=a.Oa[7],f=e>>16;d=d?1:0==d?3:0;for(var h=0;4>h;h++){if(e&3&&(f&3)==d){var k=f>>2;if(b+c>=a.Oa[h]&&b<=a.Oa[h]+k){a.Oa[6]|=1<>=2;f>>=4}}}function rd(a,b,c){void 0===b&&(b=!!(a.ob&1));void 0===c&&(c=!!(a.ca&131072));a.kh=b&&!c?Ve:Qd;kd(a.Ca,!1,b,c);kd(a.Ab,!1,b,c);kd(a.ya,!1,b,c);kd(a.eb,!1,b,c);80386<=a.sa&&(kd(a.Rb,!1,b,c),kd(a.Sb,!1,b,c),td(a))} -g.save=function(){var a=new We(this);Xe(a,0,[this.F,this.D,this.G,this.H,u(this),this.L,this.K,this.J]);var b=v(this),c=this.Ca.save(),d=this.Ab.save(),e=this.ya.save(),f=this.eb.save(),h;null!=this.ed?(h=[this.ob,this.ed,this.Wd,this.fd,this.Xd,this.Fc.save(),this.Ya.save(),this.$a],80386<=this.sa&&(h.push(this.aj),h.push(this.he),h.push(this.Ed),h.push(this.Oa),h.push(this.ze))):h=null;b=[b,c,d,e,f,h,xd(this)];80386<=this.sa&&(b.push(this.Rb.save()),b.push(this.Sb.save()));Xe(a,1,b);Xe(a,2,[this.R.dc, -this.S.dc,this.W,this.Y,this.Aa,this.P,this.aa]);Xe(a,3,[0,this.jc,this.Z.Md]);b=this.na;c=0;d=[];(e=!b.X&&b.ig==b.Pb)||Pb(b,!0);for(f=0;fc&&0<=(a.ve^a.Ba)&&(8088>=a.sa||a.Ca.Wa==a.Ca.Ga?E(a,a.Ba-a.Ca.Fa):-1>c&&p.call(a,13,0))}function u(a){return a.kb&~a.ya.Ga|a.pa-a.ya.Fa}function t(a,b){a.kb=b;a.pa=a.ya.Fa+(b&a.ya.Ga)|0}function af(a,b,c,d,e,f){if(63!=(e&63)&&e!=a.resultType){var h=(e^a.resultType)&a.resultType;h&&(h&1&&bf(a),h&2&&cf(a),h&4&&df(a),h&8&&ef(a),h&16&&ff(a),h&32&&gf(a))}f?(a.Oc=d,a.Nc=b):(a.Oc=b,a.Nc=d);a.qd=c;a.Pc=d;a.resultType=e} -function hf(a,b,c,d,e){a.resultType=c|26;a.Pc=b;d?jf(a):kf(a);e?lf(a):mf(a);return b}function nf(a,b,c,d){c&d?jf(a):kf(a);(b^c)&d?lf(a):mf(a)}function of(a){return bf(a)?1:0}function bf(a){a.resultType&1&&(a.ca&=-2,(a.Oc^(a.Oc^a.qd)&(a.qd^a.Nc))&a.resultType&-2147450752&&(a.ca|=1),a.resultType&=-2);return a.ca&1}function cf(a){a.resultType&2&&(a.ca&=-5,38505>>((a.Pc^a.Pc>>4)&15)&1&&(a.ca|=4),a.resultType&=-3);return a.ca&4} -function df(a){a.resultType&4&&(a.ca&=-17,(a.Nc^a.Oc^a.qd)&16&&(a.ca|=16),a.resultType&=-5);return a.ca&16}function ef(a){a.resultType&8&&(a.ca&=-65,a.Pc&((a.resultType&-2147450752)-1|a.resultType&-2147450752)||(a.ca|=64),a.resultType&=-9);return a.ca&64}function ff(a){a.resultType&16&&(a.ca&=-129,a.Pc&a.resultType&-2147450752&&(a.ca|=128),a.resultType&=-17);return a.ca&128} -function gf(a){a.resultType&32&&(a.ca&=-2049,(a.Oc^a.Nc)&(a.qd^a.Nc)&a.resultType&-2147450752&&(a.ca|=2048),a.resultType&=-33);return a.ca&2048}function kf(a){a.resultType&=-2;a.ca&=-2}function pf(a){a.resultType&=-5;a.ca&=-17}function qf(a){a.resultType&=-9;a.ca&=-65}function mf(a){a.resultType&=-33;a.ca&=-2049}function jf(a){a.resultType&=-2;a.ca|=1}function rf(a){a.resultType&=-5;a.ca|=16}function sf(a){a.resultType&=-9;a.ca|=64}function lf(a){a.resultType&=-33;a.ca|=2048} -function xd(a){return a.ca&-2262|bf(a)|cf(a)|df(a)|ef(a)|ff(a)|gf(a)}function tf(a,b){b=b|a.ob&1|65520;a.ob=a.ob&-65536|b&65535;a.ob&1&&rd(a,!0)}function Bd(a,b,c){a.ob&1||(b&=~a.Lf);void 0===c&&(c=a.ua);c?b=b&-12289|a.ca&12288:a.$a=(b&12288)>>12;c>a.$a&&(b=b&-513|a.ca&512);a.resultType=128;a.ca=a.ca&~(a.Mc|2261)|b&(a.Mc|2261)|a.Nf;a.ca&256&&(a.Aa|=2,a.W|=4)} -function uf(a,b,c,d){var e=0;if(a.ob&1&&(a.ua>a.$a||a.ca&131072)&&a.Ya.ij)for(var f=a.Ya.ij+(b>>>3),e=(1<>>=8,f++;return e?(a.ta(256)&&a.wa("checkIOPM("+ga(b)+","+c+","+(d?"input":"output")+"): trapped",!0,!0),p.call(a,13,0,!1),!1):!0} -g.Wb=function(a,b,c){var d=!1;switch(b){case "EAX":case "EBX":case "ECX":case "EDX":case "ESP":case "EBP":case "ESI":case "EDI":case "EIP":case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "IP":case "PC":case "CS":case "DS":case "SS":case "ES":case "FS":case "GS":case "CR0":case "CR2":case "CR3":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "V":this.za[b]=c;this.lh++;d=!0;break;default:d=this.parent.Wb.call(this,a,b,c)}return d}; -function vf(a,b,c,d){(d=(!1===d?a.Hc:a.va)[(b&a.vb)>>>a.Ra])&&5==d.type&&(d=Fc(a,b,!1,!0));if(d)switch(a=b&a.Pa,c){default:return d.jf(a,b);case 2:return d.dh(a,b);case 4:return d.$i(a,b)}return null}g.Xa=function(a){return this.va[(a&this.vb)>>>this.Ra].yc(a&this.Pa,a)};g.xa=function(a){var b=a&this.Pa,c=(a&this.vb)>>>this.Ra;this.A-=this.B.Hf;if(b>>this.Ra;if(b>>this.Ra].Ac(a&this.Pa,b&255,a)};g.Ib=function(a,b){var c=a&this.Pa,d=(a&this.vb)>>>this.Ra;this.A-=this.B.Hf;c>8&255,a+1))}; -g.Ub=function(a,b){var c=a&this.Pa,d=(a&this.vb)>>>this.Ra;this.A-=this.B.Hf;if(c>>=8}};function wf(a,b,c){a.Nb=b;a.P=b.Cc(a.wb=c,1);return a.W&1?0:a.Xa(a.P)}function F(a,b){return wf(a,a.R,b&a.Ga)}function G(a,b){return wf(a,a.S,b&a.Ga)}function xf(a,b,c){a.Nb=b;a.P=b.Cc(a.wb=c,a.ha);return a.W&1?0:a.pc(a.P)}function H(a,b){return xf(a,a.R,b&a.Ga)} -function K(a,b){return xf(a,a.S,b&a.Ga)}function yf(a,b,c){a.Nb=b;a.aa=a.P=b.Cc(a.wb=c,1);return a.W&1?0:a.Xa(a.P)}function L(a,b){return yf(a,a.R,b&a.Ga)}function M(a,b){return yf(a,a.S,b&a.Ga)}function zf(a,b,c){a.Nb=b;a.aa=a.P=b.Cc(a.wb=c,a.ha);return a.W&1?0:a.pc(a.P)}function P(a,b){return zf(a,a.R,b&a.Ga)}function Q(a,b){return zf(a,a.S,b&a.Ga)}function R(a,b){a.W&2||a.tc(a.Nb.uc(a.wb,1),b)}function S(a,b){a.W&2||a.Bc(a.Nb.uc(a.wb,a.ha),b)}function sd(a,b,c){return a.pc(b.Cc(c,a.ha))} -g.ba=function(){var a=this.Xa(this.Ba);$e(this,1);return a};function Af(a){var b=a.xa(a.Ba);$e(a,2);return b}function T(a){var b=a.bc(a.Ba);$e(a,a.ad);return b}g.Qa=function(){var a=this.pc(this.Ba);$e(this,this.ha);return a};g.M=function(){var a=this.Xa(this.Ba)<<24>>24;$e(this,1);return a};function U(a,b){var c=a.Xa(a.Ba);$e(a,1);return Bf[c].call(a,b)} -function od(a){var b=a.pc(a.pa);a.pa=a.pa+a.ha|0;var c=a.gh-a.pa|0;0>c&&0<=(a.gh^a.pa)&&(8088>=a.sa||!a.ya.Wc&&a.ya.Wa==a.ya.Ga||a.ya.Wc&&!a.ya.Wa?t(a,a.pa-a.ya.Fa&a.ya.Ga):-1>c&&p.call(a,12,0));return b}function Cf(a,b,c){var d=a.pa-c|0;0>(d-a.pd|0)&&0<=(a.pd^d)&&(8088>=a.sa||!a.ya.Wc&&a.ya.Wa==a.ya.Ga||a.ya.Wc&&!a.ya.Wa?(t(a,d-a.ya.Fa&a.ya.Ga),d=a.pa):p.call(a,12,0));2==c?a.Ib(d,b):a.Ub(d,b);a.pa=d} -function ud(a,b){var c=a.pa-a.ha|0;0>(c-a.pd|0)&&0<=(a.pd^c)&&(8088>=a.sa||!a.ya.Wc&&a.ya.Wa==a.ya.Ga||a.ya.Wc&&!a.ya.Wa?(t(a,c-a.ya.Fa&a.ya.Ga),c=a.pa):p.call(a,12,0));a.Bc(c,b);a.pa=c}function Df(a,b,c){var d=4;1==b.length&&(d=1,c=c?1:0);if(80386>a.sa)2this.sa?0:1,e=0;2>e;e++){switch(d){case 0:if(this.Aa&1&&this.ca&512){var f=Ff(this.X);if(-1<=f&&(this.Aa&=-2,0<=f)){this.Aa&=-5;Gf.call(this, -this.pb=f,null,11);d=!0;break a}}break;case 1:if(this.Aa&2){this.Aa&=-3;80386<=this.sa&&(this.Oa[6]|=16384);Gf.call(this,this.pb=1,null,11);d=!0;break a}}d=1-d}if(d=this.Aa&8){d=this.X;e=!1;for(f=0;f>16,c=c<<16>>16,d=d<<16>>16);this.A-=this.B.Wh;(bd)&&p.call(this,5);this.W|=2;return a}function Zf(a,b){var c=0;if(b){qf(this);for(var d=1;d&this.C;){if(b&d){a=c;break}d<<=1;c++}}else sf(this);this.A-=11+3*c;return a} -function $f(a,b){var c=0;if(b){qf(this);for(var d=2==this.ha?15:31,e=1<>>=1;c++;d--}}else sf(this);this.A-=11+3*c;return a}function ag(a,b){a&1<<(b&(2==this.ha?15:31))?jf(this):kf(this);this.A-=this.P===n?3:6;this.W|=2;return a}function bg(a,b){var c=1<<(b&(2==this.ha?15:31));a&c?jf(this):kf(this);this.A-=this.P===n?6:8;return a^c}function cg(a,b){var c=1<<(b&(2==this.ha?15:31));a&c?jf(this):kf(this);this.A-=this.P===n?6:8;return a&~c} -function dg(a,b){var c=1<<(b&(2==this.ha?15:31));a&c?jf(this):kf(this);this.A-=this.P===n?6:8;return a|c}function eg(a,b){if(this.P===n)return ag.call(this,a,b);var c=this.ha<<3;if(b>=c||b<-c)a=xf(this,this.Nb,this.wb+(b>>(2==this.ha?4:5))*this.ha);b=1<<(b&(2==this.ha?15:31));a&b?jf(this):kf(this);this.A-=6;this.W|=2;return a} -function fg(a,b){if(this.P===n)return bg.call(this,a,b);var c=this.ha<<3;if(b>=c||b<-c)a=xf(this,this.Nb,this.wb+(b>>(2==this.ha?4:5))*this.ha);b=1<<(b&(2==this.ha?15:31));a&b?jf(this):kf(this);this.A-=8;return a^b}function gg(a,b){if(this.P===n)return cg.call(this,a,b);var c=this.ha<<3;if(b>=c||b<-c)a=xf(this,this.Nb,this.wb+(b>>(2==this.ha?4:5))*this.ha);b=1<<(b&(2==this.ha?15:31));a&b?jf(this):kf(this);this.A-=8;return a&~b} -function hg(a,b){if(this.P===n)return dg.call(this,a,b);var c=this.ha<<3;if(b>=c||b<-c)a=xf(this,this.Nb,this.wb+(b>>(2==this.ha?4:5))*this.ha);b=1<<(b&(2==this.ha?15:31));a&b?jf(this):kf(this);this.A-=8;return a|b}function ig(a,b){this.ja=this.pa;var c=this.Ca.da,d=v(this),e=this.ha;null!=Cd(this,a,b,!0)&&(Cf(this,c,e),Cf(this,d,e));this.ja=n}function jg(a,b){af(this,a,b,a-b|0,191,!0);this.A-=this.aa===n?this.P===n?this.B.hc:this.B.rg:this.B.Qb;this.W|=2;return a} -function kg(a,b){af(this,a,b,a-b|0,this.Na|63,!0);this.A-=this.aa===n?this.P===n?this.B.hc:this.B.rg:this.B.Qb;this.W|=2;return a}function lg(a){var b=a-1|0;af(this,a,1,b,this.Na|62,!0);this.A-=2;return a&~this.C|b&this.C}function mg(a,b){var c=a[1]-b[1];c||(c=a[0]-b[0]);return c} -function ng(a,b,c){this.La=!1;if((c>>>=0)&&!(c<=b>>>0)){var d=0,e=1;c=[c>>>0,0];for(a=[a>>>0,b>>>0];0>>=0,b[1]++);e+=e}do 0<=mg(a,c)&&(b=a,f=c,b[0]-=f[0],b[1]-=f[1],0>b[0]&&(b[0]>>>=0,b[1]--),d+=e),b=c,b[0]>>>=1,b[1]&1&&(b[0]=(b[0]|2147483648)>>>0),b[1]>>>=1,e>>>=1;while(e);this.ra=d;this.Ma=a[0];this.La=!0}}function og(a){return a} -function pg(a,b){a=this.M();var c=(b<<16>>16)*a|0;32767c?(jf(this),lf(this)):(kf(this),mf(this));this.A-=this.P===n?21:24;return c&65535}function qg(a,b){var c,d;a=this.Qa();2==this.ha?(d=(b<<16>>16)*(a<<16>>16)|0,c=32767d):(d=b*a,c=2147483647d);c?(jf(this),lf(this)):(kf(this),mf(this));d&=this.C;this.A-=this.P===n?21:24;return d} -function rg(a,b){var c=(a<<16>>16)*(b<<16>>16)|0;32767c?(jf(this),lf(this)):(kf(this),mf(this));this.A-=this.P===n?9:12;return c&65535}function sg(a,b){var c=a*b;2147483647c?(jf(this),lf(this)):(kf(this),mf(this));this.A-=this.P===n?9:12;return c|0}function tg(a){var b=a+1|0;af(this,a,1,b,this.Na|62);this.A-=2;return a&~this.C|b&this.C} -function Gf(a,b,c){this.A-=this.B.ri+c;c=xd(this);var d=this.Ca.da,e=v(this);a=this.Ca.Fj(a);if(a!==n){var f=this.Ca.jh;Cf(this,c,f);Cf(this,d,f);Cf(this,e,f);null!=b&&Cf(this,b,f);this.pb=-1;td(this);this.Ba=a;this.ve=this.Ca.Fa+this.Ca.Wa|0;this.ua=this.Ca.Vb}}function ug(a,b){this.A-=14+(this.P===n?0:2);qf(this);this.Ja.load(b)!==n&&this.Ja.Dc>=this.ua&&this.Ja.Dc>=(b&3)&&(sf(this),a=this.Ja.Cb&-256,2=this.ua)&&this.Ja.Dc>=(b&3))return sf(this),this.Ja.Wa;qf(this);return a} -function Cg(a,b){if(this.P===n)return me.call(this),a;pd(this,this.xa(this.P+this.ha));this.A-=this.B.ye;return b}function Dg(a,b){this.A-=this.aa===n?this.P===n?this.B.Gi:this.B.Fi:this.B.Di;return b}function Eg(a,b){return b}function Fg(){this.aa!==n&&Pe(this);return Dg.call(this,0,this.Bb)}function Gg(a,b){var c=b&65535,d=b>>>16,e=a&65535,f=a>>>16,h=c*e,e=(h>>>16)+d*e,k=e>>>16,e=(e&65535)+c*f;this.La=!0;this.ra=e<<16|h&65535;this.Ma=k+((e>>>16)+d*f)|0} -function Hg(a,b){this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return hf(this,a|b,128)}function Ig(a,b){this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return hf(this,a|b,this.Na)&this.C}function Jg(a){this.ja=this.pa;var b=od(this),c=od(this);a&&t(this,u(this)+a);Cd(this,b,c,!1)&&(a&&t(this,u(this)+a),Fe(this,this.Ab),Fe(this,this.eb),80386<=this.sa&&(Fe(this,this.Rb),Fe(this,this.Sb)));2==a&&this.te&&Te(this,this.Ba);this.ja=n} -function Kg(a,b){var c=a-b-of(this)|0;af(this,a,b,c,191,!0);this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return c&255}function Lg(a,b){var c=a-b-of(this)|0;af(this,a,b,c,this.Na|63,!0);this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return c&this.C}function Mg(a){this.W|=1;this.fb[this.ba()].call(this,a);this.A-=this.P===n?4:5}function Ng(){return gf(this)?1:0}function Og(){return bf(this)?1:0}function Pg(){return bf(this)?0:1}function Qg(){return ef(this)?1:0} -function Rg(){return ef(this)?0:1}function Sg(){return bf(this)||ef(this)?1:0}function Tg(){return bf(this)||ef(this)?0:1}function Ug(){return ff(this)?1:0}function Vg(){return ff(this)?0:1}function Wg(){return cf(this)?1:0}function Xg(){return cf(this)?0:1}function Yg(){return!ff(this)!=!gf(this)?1:0}function Zg(){return!ff(this)!=!gf(this)?0:1}function $g(){return ef(this)||!ff(this)!=!gf(this)?1:0}function ah(){return ef(this)||!ff(this)!=!gf(this)?0:1} -function bh(a,b,c){if(c){16>>16-c)&65535;hf(this,a,32768,d&32768)}return a}function ch(a,b,c){if(c){var d=a<>>32-c;hf(this,a,-2147483648,d&-2147483648)}return a}function dh(a,b){return bh.call(this,a,b,this.ba())}function eh(a,b){return ch.call(this,a,b,this.ba())}function fh(a,b){return bh.call(this,a,b,this.G&31)}function gh(a,b){return ch.call(this,a,b,this.G&31)} -function hh(a,b,c){if(c){16>>c-1;a=(d>>>1|b<<16-c)&65535;hf(this,a,32768,d&1)}return a}function ih(a,b,c){if(c){var d=a>>>c-1;a=d>>>1|b<<32-c;hf(this,a,-2147483648,d&1)}return a}function jh(a,b){return hh.call(this,a,b,this.ba())}function kh(a,b){return ih.call(this,a,b,this.ba())}function lh(a,b){return hh.call(this,a,b,this.G&31)}function mh(a,b){return ih.call(this,a,b,this.G&31)} -function nh(a,b){var c=a-b|0;af(this,a,b,c,191,!0);this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return c&255}function oh(a,b){var c=a-b|0;af(this,a,b,c,this.Na|63,!0);this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return c&this.C}function ph(a,b){hf(this,a&b,128);this.A-=this.aa===n?this.P===n?this.B.Tg:this.B.gf:this.B.gf;this.W|=2;return a}function qh(a,b){hf(this,a&b,this.Na);this.A-=this.aa===n?this.P===n?this.B.Tg:this.B.gf:this.B.gf;this.W|=2;return a} -function rh(a,b){if(this.P===n){switch(this.re&7){case 0:this.F=this.F&-256|a;break;case 1:this.G=this.G&-256|a;break;case 2:this.H=this.H&-256|a;break;case 3:this.D=this.D&-256|a;break;case 4:this.F=this.F&-65281|a<<8;break;case 5:this.G=this.G&-65281|a<<8;break;case 6:this.H=this.H&-65281|a<<8;break;case 7:this.D=this.D&-65281|a<<8}this.A-=this.B.Vg}else this.aa=this.P,R(this,a),this.A-=this.B.Ug;return b} -function sh(a,b){if(this.P===n){switch(this.re&7){case 0:this.F=this.F&~this.C|a;break;case 1:this.G=this.G&~this.C|a;break;case 2:this.H=this.H&~this.C|a;break;case 3:this.D=this.D&~this.C|a;break;case 4:t(this,u(this)&~this.C|a);break;case 5:this.L=this.D&~this.C|a;break;case 6:this.K=this.K&~this.C|a;break;case 7:this.J=this.J&~this.C|a}this.A-=this.B.Vg}else this.aa=this.P,S(this,a),this.A-=this.B.Ug;return b} -function th(a,b){var c=a^b;hf(this,c,128);this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return c}function uh(a,b){this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return hf(this,a^b,this.Na)&this.C}function Mh(a){p.call(this,13,0);return a}function je(a){p.call(this,6);return a}function Nh(a){me.call(this);return a}function Oh(){p.call(this,0,null,!1,2)}function Ph(){this.A-=this.P===n?2:this.B.Ti;return 1} -function Qh(){var a=this.G&255;this.A-=(this.P===n?this.B.Mg:this.B.Lg)+(a<this.pb?(td(this),E(this,this.Ha-this.Ca.Fa),this.ja!=n&&(t(this,this.kb&~this.ya.Ga|this.ja-this.ya.Fa),this.ja=n),e=!0):8!=this.pb?(b=0,a=8,e=!0):(a=-1,b=0,ze(this),c=!1)):(td(this),E(this,this.Ha-this.Ca.Fa));var f=a,h=b,k=32,q=vf(this,this.Ba);204!=q||this.Xd||(c=!1);this.ca&131072&&(6==f&&99==q||13==f&&205==q)&&(c=!1);14==f&&207==q&&(c=!0);!1===c&&(k|=1);983040<=this.Ba&&1048575>=this.Ba&&(c=!1);this.ta(k|-2147483648)&&(c=!0);if(this.ta(k)|| -c){var r=this.oa.Hb,f="Fault "+fa(f)+(null!=h?" ("+ga(h)+")":"")+" on opcode "+fa(q);c&&r&&(f+=" (blocked by PCjs Debugger)");this.wa(f,c||k,!0)?c&&(c=r,this.fa.Xb()):(this.Ta(f),this.Xb())}c&&(e=!1);if(e)throw this.pb=a,Gf.call(this,a,b,d||0),this.Ha=this.Ba,this.W=1==a?this.W|8192:this.W|4096,a;}function Be(a,b,c){this.he=a;a=0;b&&(a|=1);c&&(a|=2);3==this.ua&&(a|=4);p.call(this,14,a)}function ke(){this.ld[this.ba()].call(this)}function ne(){ud(this,u(this)&this.C);this.A-=this.B.Ec} -function Sd(){this.ja=this.pa;var a=u(this)&this.C;ud(this,this.F&this.C);ud(this,this.G&this.C);ud(this,this.H&this.C);ud(this,this.D&this.C);ud(this,a);ud(this,this.L&this.C);ud(this,this.K&this.C);ud(this,this.J&this.C);this.A-=this.B.Ni;this.ja=n} -function Td(){this.ja=this.pa;this.J=this.J&~this.C|od(this);this.K=this.K&~this.C|od(this);this.L=this.L&~this.C|od(this);t(this,u(this)+this.ha);this.D=this.D&~this.C|od(this);this.H=this.H&~this.C|od(this);this.G=this.G&~this.C|od(this);this.F=this.F&~this.C|od(this);this.A-=this.B.Li;this.ja=n}function Ud(){this.ga[this.ba()].call(this,Yf)}function oe(){!(this.ob&1)||this.ca&131072?p.call(this,6):this.Ea[this.ba()].call(this,Xf)} -function pe(){this.W|=20;this.R=this.S=this.Rb;this.A-=this.B.Yc}function qe(){this.W|=20;this.R=this.S=this.Sb;this.A-=this.B.Yc}function xe(){this.W|=1024;this.Y&1024||(this.ha^=6,this.C^=-65536,Qe(this));this.A-=this.B.Yc}function ye(){this.W|=2048;this.Y&2048||(this.ad^=6,this.Ga^=-65536,Ge(this));this.A-=this.B.Yc}function Vd(){ud(this,this.Qa());this.A-=this.B.Ec}function Wd(){this.ga[this.ba()].call(this,qg)}function Xd(){ud(this,this.M());this.A-=this.B.Ec} -function Yd(){this.ga[this.ba()].call(this,pg)}function Zd(){var a=1,b=0,c=this.Ga,d=5;this.Y&192&&(a=this.G&c,b=1,this.Y&256&&(d=4));if(a--){var e=this.H&65535;uf(this,e,1,!0)&&(e=hc(this.na,e,1,this.Ba-b-1),this.tc(this.eb.uc(this.J&c,1),e),this.W&4096||(this.J=this.J&~c|this.J+(this.ca&1024?-1:1)&c,this.G=this.G&~c|this.G-b&c,this.A-=d,a&&(this.Ba=this.Ha,this.W|=256)))}} -function $d(){var a=1,b=0,c=this.Ga,d=5;this.Y&192&&(a=this.G&c,b=1,this.Y&256&&(d=4));if(a--){var e=this.H&65535;uf(this,e,this.ha,!0)&&(e=hc(this.na,e,this.ha,this.Ba-b-1),this.Bc(this.eb.uc(this.J&c,this.ha),e),this.W&4096||(this.J=this.J&~c|this.J+(this.ca&1024?-this.ha:this.ha)&c,this.G=this.G&~c|this.G-b&c,this.A-=d,a&&(this.Ba=this.Ha,this.W|=256)))}} -function ae(){var a=1,b=0,c=this.Ga,d=5;this.Y&192&&(a=this.G&c,b=1,this.Y&256&&(d=4));if(a--){var e=this.H&65535;if(uf(this,e,1,!1)){var f=this.Xa(this.Ab.Cc(this.K&c,1));this.W&4096||(lc(this.na,e,1,f,this.Ba-b-1),this.K=this.K&~c|this.K+(this.ca&1024?-1:1)&c,this.G=this.G&~c|this.G-b&c,this.A-=d,a&&(this.Ba=this.Ha,this.W|=256))}}} -function be(){var a=1,b=0,c=this.Ga,d=5;this.Y&192&&(a=this.G&c,b=1,this.Y&256&&(d=4));if(a--){var e=sd(this,this.Ab,this.K&c);if(!(this.W&4096)){var f=this.H&65535;uf(this,f,this.ha,!1)&&(lc(this.na,f,this.ha,e,this.Ba-b-1),this.K=this.K&~c|this.K+(this.ca&1024?-this.ha:this.ha)&c,this.G=this.G&~c|this.G-b&c,this.A-=d,a&&(this.Ba=this.Ha,this.W|=256))}}}function Uh(){var a=this.M();gf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb} -function Vh(){var a=this.M();gf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}function Wh(){var a=this.M();bf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb}function Xh(){var a=this.M();bf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}function Yh(){var a=this.M();ef(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb}function Zh(){var a=this.M();ef(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)} -function $h(){var a=this.M();bf(this)||ef(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb}function ai(){var a=this.M();bf(this)||ef(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}function bi(){var a=this.M();ff(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb}function ci(){var a=this.M();ff(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}function di(){var a=this.M();cf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb} -function ei(){var a=this.M();cf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}function fi(){var a=this.M();!ff(this)!=!gf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb}function gi(){var a=this.M();!ff(this)==!gf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb}function hi(){var a=this.M();ef(this)||!ff(this)!=!gf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb} -function ii(){var a=this.M();ef(this)||!ff(this)!=!gf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}function ji(){this.Tb[this.ba()].call(this,ki,this.ba);this.A-=this.aa===n?1:this.B.Ff}function ce(){this.Tb[this.ba()].call(this,li,Rh)}function de(){this.Va[this.ba()].call(this,2==this.ha?mi:ni,Rh)}function oi(){var a=Af(this),b=od(this);E(this,b);a&&t(this,u(this)+a);this.A-=this.B.Si}function pi(){var a=od(this);E(this,a);this.A-=this.B.Pi} -function ee(){this.ja=this.pa;var a=Af(this),b=this.ba()&31;this.A-=11;ud(this,this.L);var c=u(this)&this.C;if(0>8&255;9<(c&15)||df(this)?(c=c+6&15,d=d+1&255,a=b=1):a=b=0;this.F=this.F&-65536|d<<8|c;a?jf(this):kf(this); -b?rf(this):pf(this);this.A-=this.B.ee},function(){this.fb[this.ba()].call(this,jg)},function(){this.Ea[this.ba()].call(this,kg)},function(){this.Za[this.ba()].call(this,jg)},function(){this.ga[this.ba()].call(this,kg)},function(){jg.call(this,this.F&255,this.ba());this.A--},function(){kg.call(this,this.F&this.C,this.Qa());this.A--},function(){this.W|=20;this.R=this.S=this.Ab;this.A-=this.B.Yc},function(){var a,b,c=this.F&255,d=this.F>>8&255;9<(c&15)||df(this)?(c=c-6&15,d=d-1&255,a=b=1):a=b=0;this.F= -this.F&-65536|d<<8|c;a?jf(this):kf(this);b?rf(this):pf(this);this.A-=this.B.ee},function(){this.F=tg.call(this,this.F)},function(){this.G=tg.call(this,this.G)},function(){this.H=tg.call(this,this.H)},function(){this.D=tg.call(this,this.D)},function(){t(this,tg.call(this,u(this)))},function(){this.L=tg.call(this,this.L)},function(){this.K=tg.call(this,this.K)},function(){this.J=tg.call(this,this.J)},function(){this.F=lg.call(this,this.F)},function(){this.G=lg.call(this,this.G)},function(){this.H=lg.call(this, -this.H)},function(){this.D=lg.call(this,this.D)},function(){t(this,lg.call(this,u(this)))},function(){this.L=lg.call(this,this.L)},function(){this.K=lg.call(this,this.K)},function(){this.J=lg.call(this,this.J)},function(){ud(this,this.F&this.C);this.A-=this.B.Ec},function(){ud(this,this.G&this.C);this.A-=this.B.Ec},function(){ud(this,this.H&this.C);this.A-=this.B.Ec},function(){ud(this,this.D&this.C);this.A-=this.B.Ec},function(){ud(this,u(this)-2&65535);this.A-=this.B.Ec},function(){ud(this,this.L& -this.C);this.A-=this.B.Ec},function(){ud(this,this.K&this.C);this.A-=this.B.Ec},function(){ud(this,this.J&this.C);this.A-=this.B.Ec},function(){this.F=this.F&~this.C|od(this);this.A-=this.B.ic},function(){this.G=this.G&~this.C|od(this);this.A-=this.B.ic},function(){this.H=this.H&~this.C|od(this);this.A-=this.B.ic},function(){this.D=this.D&~this.C|od(this);this.A-=this.B.ic},function(){t(this,u(this)&~this.C|od(this));this.A-=this.B.ic},function(){this.L=this.L&~this.C|od(this);this.A-=this.B.ic}, -function(){this.K=this.K&~this.C|od(this);this.A-=this.B.ic},function(){this.J=this.J&~this.C|od(this);this.A-=this.B.ic},Uh,Vh,Wh,Xh,Yh,Zh,$h,ai,bi,ci,di,ei,fi,gi,hi,ii,Uh,Vh,Wh,Xh,Yh,Zh,$h,ai,bi,ci,di,ei,fi,gi,hi,ii,ji,function(){this.Va[this.ba()].call(this,ui,this.Qa);this.A-=this.aa===n?1:this.B.Ff},ji,function(){this.Va[this.ba()].call(this,ui,this.M);this.A-=this.aa===n?1:this.B.Ff},function(){this.fb[this.ba()].call(this,ph)},function(){this.Ea[this.ba()].call(this,qh)},function(){this.Za[this.re= -this.ba()].call(this,rh)},function(){this.ga[this.re=this.ba()].call(this,sh)},function(){this.W|=1;this.fb[this.ba()].call(this,Dg)},function(){this.W|=1;this.Ea[this.ba()].call(this,Dg)},function(){this.Za[this.ba()].call(this,Dg)},function(){this.ga[this.ba()].call(this,Dg)},function(){var a=this.ba();switch((a&56)>>3){case 0:this.Bb=this.eb.da;break;case 1:this.Bb=this.Ca.da;break;case 2:this.Bb=this.ya.da;break;case 3:this.Bb=this.Ab.da;break;case 4:if(80386<=this.sa){this.Bb=this.Rb.da;break}p.call(this, -6);return;case 5:if(80386<=this.sa){this.Bb=this.Sb.da;break}default:p.call(this,6);return}this.W|=1;this.Ea[a].call(this,Fg)},function(){this.W|=1;this.R=this.S=this.nh;this.ga[this.ba()].call(this,xg)},function(){var a,b;b=this.ba();var c=(b&56)>>3;switch(c){case 0:a=this.F;break;case 2:a=this.H;break;case 3:a=this.D;break;default:if(80286==this.sa||80386==this.sa&&4!=c&&5!=c){p.call(this,6);return}switch(c){case 1:a=this.G;break;case 4:a=u(this);break;case 5:a=this.L;break;case 6:a=this.K;break; -case 7:a=this.J}}this.ga[b].call(this,Dg);switch(c){case 0:b=this.F;this.F=a;wd(this,b);break;case 1:b=this.G;this.G=a;Ze(this,b);break;case 2:b=this.H;this.H=a;pd(this,b);break;case 3:b=this.D;this.D=a;vd(this,b);break;case 4:b=u(this);t(this,a);80386<=this.sa?this.Rb.load(b):wd(this,b);break;case 5:b=this.L;this.L=a;80386<=this.sa?this.Sb.load(b):Ze(this,b);break;case 6:b=this.K;this.K=a;pd(this,b);break;case 7:b=this.J,this.J=a,vd(this,b)}},function(){this.W|=1;this.Bb=od(this);this.Va[this.ba()].call(this, -vi,Th)},function(){this.A-=3},function(){var a=this.F;this.F=this.F&~this.C|this.G&this.C;this.G=this.G&~this.C|a&this.C;this.A-=3},function(){var a=this.F;this.F=this.F&~this.C|this.H&this.C;this.H=this.H&~this.C|a&this.C;this.A-=3},function(){var a=this.F;this.F=this.F&~this.C|this.D&this.C;this.D=this.D&~this.C|a&this.C;this.A-=3},function(){var a=this.F,b=u(this);this.F=this.F&~this.C|b&this.C;t(this,b&~this.C|a&this.C);this.A-=3},function(){var a=this.F;this.F=this.F&~this.C|this.L&this.C;this.L= -this.L&~this.C|a&this.C;this.A-=3},function(){var a=this.F;this.F=this.F&~this.C|this.K&this.C;this.K=this.K&~this.C|a&this.C;this.A-=3},function(){var a=this.F;this.F=this.F&~this.C|this.J&this.C;this.J=this.J&~this.C|a&this.C;this.A-=3},function(){this.F=2==this.ha?this.F&-65536|this.F<<24>>24&65535:this.F<<16>>16;this.A-=2},function(){this.H=2==this.ha?this.H&-65536|(this.F&32768?65535:0):this.F&-2147483648?-1:0;this.A-=this.B.Yh},function(){ig.call(this,this.Qa(),Af(this));this.A-=this.B.ai}, -function(){this.wa("WAIT not implemented");this.A--},function(){var a=xd(this);a&131072&&3>this.$a?p.call(this,13,0):(ud(this,a&-196609),this.A-=this.B.Ec)},function(){if(this.ca&131072&&3>this.$a)p.call(this,13,0);else{var a=od(this),a=a&65535|this.ca&-65536;Bd(this,a);this.A-=this.B.ic}},function(){var a=this.F>>8&255;a&1?jf(this):kf(this);a&4?(this.resultType&=-3,this.ca|=4):(this.resultType&=-3,this.ca&=-5);a&16?rf(this):pf(this);a&64?sf(this):qf(this);a&128?(this.resultType&=-17,this.ca|=128): -(this.resultType&=-17,this.ca&=-129);this.A-=this.B.Zb},function(){this.F=this.F&-65281|(xd(this)&213)<<8;this.A-=this.B.Zb},function(){var a=this.F&-256,b;b=T(this);b=this.Xa(this.R.Cc(b,1));this.F=a|b;this.A-=this.B.Bg},function(){this.F=this.F&~this.C|sd(this,this.R,T(this));this.A-=this.B.Bg},function(){var a=T(this),b=this.F;this.tc(this.R.uc(a,1),b);this.A-=this.B.Cg},function(){var a=T(this),b=this.F;this.Bc(this.R.uc(a,this.ha),b);this.A-=this.B.Cg},function(){var a=1,b=0,c=this.Ga,d=this.B.Dg; -this.Y&192&&(a=this.G&c,b=1,d=this.B.Fg,this.Y&256||(this.A-=this.B.Eg));if(a--){var e=this.Xa(this.R.Cc(this.K&c,1));this.tc(this.eb.uc(this.J&c,1),e);this.W&4096||(e=this.ca&1024?-1:1,this.K=this.K&~c|this.K+e&c,this.J=this.J&~c|this.J+e&c,this.A-=d,this.G=this.G&~c|this.G-b&c,a&&(this.Ba=this.Ha,this.W|=256))}},function(){var a=1,b=0,c=this.Ga,d=this.B.Dg;this.Y&192&&(a=this.G&c,b=1,d=this.B.Fg,this.Y&256||(this.A-=this.B.Eg));if(a--){var e=sd(this,this.R,this.K&c);this.Bc(this.eb.uc(this.J&c, -this.ha),e);this.W&4096||(e=this.ca&1024?-this.ha:this.ha,this.K=this.K&~c|this.K+e&c,this.J=this.J&~c|this.J+e&c,this.A-=d,this.G=this.G&~c|this.G-b&c,a&&(this.Ba=this.Ha,this.W|=256))}},function(){var a=1,b=0,c=this.Ga,d=this.B.og;this.Y&192&&(a=this.G&c,b=1,d=this.B.qg,this.Y&256||(this.A-=this.B.pg));if(a--){var e=wf(this,this.R,this.K&c),f=yf(this,this.eb,this.J&c);this.W&4096||(jg.call(this,e,f),e=this.ca&1024?-1:1,this.K=this.K&~c|this.K+e&c,this.J=this.J&~c|this.J+e&c,this.G=this.G&~c|this.G- -b&c,this.A-=d-this.B.Qb,a&&ef(this)==(this.Y&64)&&(this.Ba=this.Ha,this.W|=256))}},function(){var a=1,b=0,c=this.Ga,d=this.B.og;this.Y&192&&(a=this.G&c,b=1,d=this.B.qg,this.Y&256||(this.A-=this.B.pg));if(a--){var e=xf(this,this.R,this.K&c),f=zf(this,this.eb,this.J&c);this.W&4096||(kg.call(this,e,f),e=this.ca&1024?-this.ha:this.ha,this.K=this.K&~c|this.K+e&c,this.J=this.J&~c|this.J+e&c,this.G=this.G&~c|this.G-b&c,this.A-=d-this.B.Qb,a&&ef(this)==(this.Y&64)&&(this.Ba=this.Ha,this.W|=256))}},function(){hf(this, -this.F&this.ba(),128);this.A-=this.B.ee},function(){hf(this,this.F&this.Qa(),this.Na);this.A-=this.B.ee},function(){var a=1,b=0,c=this.Ga,d=this.B.Og;this.Y&192&&(a=this.G&c,b=1,d=this.B.Qg,this.Y&256||(this.A-=this.B.Pg));if(a--){var e=this.F;this.tc(this.eb.uc(this.J&c,1),e);this.W&4096||(this.J=this.J&~c|this.J+(this.ca&1024?-1:1)&c,this.G=this.G&~c|this.G-b&c,this.A-=d,a&&(this.Ba=this.Ha,this.W|=256))}},function(){var a=1,b=0,c=this.Ga,d=this.B.Og;this.Y&192&&(a=this.G&c,b=1,d=this.B.Qg,this.Y& -256||(this.A-=this.B.Pg));if(a--){var e=this.F;this.Bc(this.eb.uc(this.J&c,this.ha),e);this.W&4096||(this.J=this.J&~c|this.J+(this.ca&1024?-this.ha:this.ha)&c,this.G=this.G&~c|this.G-b&c,this.A-=d,a&&(this.Ba=this.Ha,this.W|=256))}},function(){var a=1,b=0,c=this.Ga,d=this.B.vg;this.Y&192&&(a=this.G&c,b=1,d=this.B.xg,this.Y&256||(this.A-=this.B.wg));if(a--){var e=this.Xa(this.R.Cc(this.K&c,1));this.W&4096||(this.F=this.F&-256|e,this.K=this.K&~c|this.K+(this.ca&1024?-1:1)&c,this.G=this.G&~c|this.G- -b&c,this.A-=d,a&&(this.Ba=this.Ha,this.W|=256))}},function(){var a=1,b=0,c=this.Ga,d=this.B.vg;this.Y&192&&(a=this.G&c,b=1,d=this.B.xg,this.Y&256||(this.A-=this.B.wg));if(a--){var e=sd(this,this.R,this.K&c);this.W&4096||(this.F=this.F&~this.C|e,this.K=this.K&~c|this.K+(this.ca&1024?-this.ha:this.ha)&c,this.G=this.G&~c|this.G-b&c,this.A-=d,a&&(this.Ba=this.Ha,this.W|=256))}},function(){var a=1,b=0,c=this.Ga,d=this.B.Ig;this.Y&192&&(a=this.G&c,b=1,d=this.B.Kg,this.Y&256||(this.A-=this.B.Jg));a--&&(jg.call(this, -this.F&255,yf(this,this.eb,this.J&c)),this.W&4096||(this.J=this.J&~c|this.J+(this.ca&1024?-1:1)&c,this.G=this.G&~c|this.G-b&c,this.A-=d-this.B.Qb,a&&ef(this)==(this.Y&64)&&(this.Ba=this.Ha,this.W|=256)))},function(){var a=1,b=0,c=this.Ga,d=this.B.Ig;this.Y&192&&(a=this.G&c,b=1,d=this.B.Kg,this.Y&256||(this.A-=this.B.Jg));a--&&(kg.call(this,this.F&this.C,zf(this,this.eb,this.J&c)),this.W&4096||(this.J=this.J&~c|this.J+(this.ca&1024?-this.ha:this.ha)&c,this.G=this.G&~c|this.G-b&c,this.A-=d-this.B.Qb, -a&&ef(this)==(this.Y&64)&&(this.Ba=this.Ha,this.W|=256)))},function(){this.F=this.F&-256|this.ba();this.A-=this.B.Zb},function(){this.G=this.G&-256|this.ba();this.A-=this.B.Zb},function(){this.H=this.H&-256|this.ba();this.A-=this.B.Zb},function(){this.D=this.D&-256|this.ba();this.A-=this.B.Zb},function(){this.F=this.F&-65281|this.ba()<<8;this.A-=this.B.Zb},function(){this.G=this.G&-65281|this.ba()<<8;this.A-=this.B.Zb},function(){this.H=this.H&-65281|this.ba()<<8;this.A-=this.B.Zb},function(){this.D= -this.D&-65281|this.ba()<<8;this.A-=this.B.Zb},function(){this.F=this.F&~this.C|this.Qa();this.A-=this.B.Zb},function(){this.G=this.G&~this.C|this.Qa();this.A-=this.B.Zb},function(){this.H=this.H&~this.C|this.Qa();this.A-=this.B.Zb},function(){this.D=this.D&~this.C|this.Qa();this.A-=this.B.Zb},function(){t(this,u(this)&~this.C|this.Qa());this.A-=this.B.Zb},function(){this.L=this.L&~this.C|this.Qa();this.A-=this.B.Zb},function(){this.K=this.K&~this.C|this.Qa();this.A-=this.B.Zb},function(){this.J=this.J& -~this.C|this.Qa();this.A-=this.B.Zb},oi,pi,oi,pi,function(){this.ga[this.ba()].call(this,yg)},function(){this.ga[this.ba()].call(this,wg)},function(){this.W|=1;this.Tb[this.ba()].call(this,wi,this.ba)},function(){this.W|=1;this.Va[this.ba()].call(this,wi,this.Qa)},qi,ri,qi,ri,function(){this.ca&131072&&3>this.$a?p.call(this,13,0):(this.pb=-1,Gf.call(this,3,null,this.B.si))},function(){var a=this.ba();if(this.ca&131072&&3>this.$a)p.call(this,13,0);else{var b;a:{b=this.ce[a];if(void 0!==b)for(var c= -0;cthis.$a?p.call(this,13,0):(this.pb=-1,Gf.call(this,4,null,this.B.ti)):this.A-=this.B.ui},function(){if(this.ca&131072&&3>this.$a)p.call(this,13,0);else{this.ja=this.pa;this.A-=this.B.pi;if(this.ob&1&&this.ca&16384){var a=this.xa(this.Ya.Fa+0);qd(this.Ca,a,!1)}else{var a=this.ua,b=od(this),c=od(this),d=od(this);if(this.ca& -131072)d=d&131071|this.ca&-131072;else if(d&131072){var e=od(this),f=od(this),h=od(this),k=od(this),q=od(this),r=od(this);rd(this,!0,!0);pd(this,f);t(this,e);wd(this,h);vd(this,k);this.Rb.load(q);this.Sb.load(r)}null!=Cd(this,b,c,!1)&&(Bd(this,d,a),this.te&&Te(this,this.Ba))}this.ja=n}},function(){this.Tb[this.ba()].call(this,li,Ph)},function(){this.Va[this.ba()].call(this,2==this.ha?mi:ni,Ph)},function(){this.Tb[this.ba()].call(this,li,Qh)},function(){this.Va[this.ba()].call(this,2==this.ha?mi:ni, -Qh)},function(){var a=this.ba();if(a){var b=this.F&255;this.F=this.F&-65536|b/a<<8|b%a;hf(this,this.F,128);this.A-=this.B.Vh}},function(){var a=this.ba();this.F=this.F&-65536|(this.F>>8&255)*a+this.F&255;hf(this,this.F,128);this.A-=this.B.Uh},function(){this.F=this.F&-256|(bf(this)?255:0);this.A-=2},function(){this.F=this.F&-256|wf(this,this.R,this.D+(this.F&255)&65535);this.A-=this.B.Ui},si,si,si,si,si,si,si,si,function(){var a=this.M(),b=this.G-1&this.Ga;this.G=this.G&~this.Ga|b;b&&!ef(this)?(E(this, -v(this)+a),this.A-=this.B.Bi):this.A-=this.B.yg},function(){var a=this.M(),b=this.G-1&this.Ga;this.G=this.G&~this.Ga|b;b&&ef(this)?(E(this,v(this)+a),this.A-=this.B.zg):this.A-=this.B.Ag},function(){var a=this.M(),b=this.G-1&this.Ga;this.G=this.G&~this.Ga|b;b?(E(this,v(this)+a),this.A-=this.B.Ai):this.A-=this.B.yg},function(){var a=this.M();this.G&this.Ga?this.A-=this.B.Ag:(E(this,v(this)+a),this.A-=this.B.zg)},function(){var a=this.ba();uf(this,a,1,!0)&&(this.F=this.F&-256|hc(this.na,a,1,this.Ba- -2)&255,this.A-=this.B.tg)},function(){var a=this.ba();uf(this,a,this.ha,!0)&&(this.F=this.F&~this.C|hc(this.na,a,this.ha,this.Ba-2)&this.C,this.A-=this.B.tg)},function(){var a=this.ba();uf(this,a,1,!1)&&(lc(this.na,a,1,this.F&255,this.Ba-2),this.A-=this.B.Hg)},function(){var a=this.ba();uf(this,a,this.ha,!1)&&(lc(this.na,a,this.ha,this.F&this.C,this.Ba-2),this.A-=this.B.Hg)},function(){var a=this.Qa(),b=v(this),a=b+a;ud(this,b);E(this,a);this.A-=this.B.Zh},function(){var a=this.Qa();E(this,v(this)+ -a);this.A-=this.B.ug},function(){Cd(this,this.Qa(),Af(this));this.A-=this.B.wi},function(){var a=this.M();E(this,v(this)+a);this.A-=this.B.ug},function(){var a=this.H&65535;uf(this,a,1,!0)&&(this.F=this.F&-256|hc(this.na,a,1,this.Ba-1)&255,this.A-=this.B.sg)},function(){var a=this.H&65535;uf(this,a,this.ha,!0)&&(this.F=this.F&~this.C|hc(this.na,a,this.ha,this.Ba-1)&this.C,this.A-=this.B.sg)},function(){var a=this.H&65535;uf(this,a,1,!1)&&(lc(this.na,a,1,this.F&255,this.Ba-1),this.A-=this.B.Gg)},function(){var a= -this.H&65535;uf(this,a,2,!1)&&(lc(this.na,a,this.ha,this.F&this.C,this.Ba-1),this.A-=this.B.Gg)},ti,ti,function(){this.W|=132;this.A-=this.B.Yc},function(){this.W|=68;this.A-=this.B.Yc},function(){this.ca&131072?p.call(this,13,0):(this.Aa|=4,this.A-=2,this.fa&&this.ta(-2147483648)?(this.Ba=this.Ba+-1|0,this.Xb()):this.ca&512||(this.fa&&(this.Ba=this.Ba+-1|0),this.Xb()))},function(){bf(this)?kf(this):jf(this);this.A-=2},function(){this.La=!1;this.Tb[this.ba()].call(this,yi,Sh);this.La&&(this.F=this.F& -~this.C|this.ra&this.C)},function(){this.La=!1;this.Va[this.ba()].call(this,zi,Sh);this.La&&(this.F=this.F&~this.C|this.ra&this.C,this.H=this.H&~this.C|this.Ma&this.C)},function(){kf(this);this.A-=2},function(){jf(this);this.A-=2},function(){this.ua>this.$a?p.call(this,13,0):(this.ca&=-513,this.A-=this.B.Xh)},function(){this.ua>this.$a?p.call(this,13,0):(this.ca|=512,this.W|=4,this.A-=2)},function(){this.ca&=-1025;this.A-=2},function(){this.ca|=1024;this.A-=2},function(){this.Tb[this.ba()].call(this, -Od,Sh)},function(){this.Va[this.ba()].call(this,Pd,Sh)}],ki=[Tf,Hg,Jf,Kg,Vf,nh,th,jg],ui=[Uf,Ig,Sf,Lg,Wf,oh,uh,kg],vi=[function(a,b){this.A-=this.aa===n?this.B.ic:this.B.Mi;return b},Mh,Mh,Mh,Mh,Mh,Mh,Mh],wi=[function(a,b){this.A-=this.aa===n?this.B.Ei:this.B.Ci;return b},Nh,Nh,Nh,Nh,Nh,Nh,Nh],li=[function(a,b){var c=a,d=b&this.Da;if(d){var e;(d&=7)?(e=a<>8-d)&255):e=a<<7;nf(this,c,e,128)}return c},function(a,b){var c=a,d=b&this.Da;if(d){var e;(d&=7)?(e=a<<8-d,c=(a>>>d|e)&255):e=a; -nf(this,c,e,128)}return c},function(a,b){var c=a,d=b&this.Da;if(d){var e=of(this);(d%=9)?(c=(a<>9-d)&255,e=a<>d|e<<8-d|a<<9-d)&255,e=a<<8-d):e<<=7;nf(this,c,e,128)}return c},function(a,b){var c=a,d=b&this.Da;if(d){var e=0;8>>c-1,a=c>>>1&255,hf(this,a,128,c&1,a&128));return a}, -Nh,function(a,b){var c=b&this.Da;c&&(9>24>>c-1,a=c>>1&255,hf(this,a,128,c&1));return a}],mi=[function(a,b){var c=a,d=b&this.Da;if(d){var e;(d&=15)?(e=a<>16-d)&65535):e=a<<15;nf(this,c,e,32768)}return c},function(a,b){var c=a,d=b&this.Da;if(d){var e;(d&=15)?(e=a<<16-d,c=(a>>>d|e)&65535):e=a;nf(this,c,e,32768)}return c},function(a,b){var c=a,d=b&this.Da;if(d){var e=of(this);(d%=17)?(c=(a<>17-d)&65535,e=a<>d|e<<16-d|a<<17-d)&65535,e=a<<16-d):e<<=15;nf(this,c,e,32768)}return c},function(a,b){var c=a,d=b&this.Da;if(d){var e=0;16>>c-1,a=c>>>1&65535,hf(this,a,32768,c&1,a&32768));return a},Nh,function(a,b){var c=b&this.Da;c&&(17>16>>c-1,a=c>>1&65535,hf(this,a,32768,c&1));return a}],ni=[function(a,b){var c= -a,d=b&this.Da;d&&(c=a<>>32-d,nf(this,c,a<>>d|e;nf(this,c,e,-2147483648)}return c},function(a,b){var c=a,d=b&this.Da;d&&(c=of(this),c=a<>>32-d>>>1,nf(this,c,a<>>d|c<<32-d|a<<32-d<<1,nf(this,c,a<<32-d,-2147483648));return c},function(a,b){var c=a,d=b&this.Da;d&&(d=a<>>c-1,a=c>>>1,hf(this,a,-2147483648,c&1,a&-2147483648));return a},Nh,function(a,b){var c=b&this.Da;c&&(c=a>>c-1,a=c>>1,hf(this,a,-2147483648,c&1));return a}],yi=[function(a,b){b=this.ba();hf(this,a&b,128);this.A-=this.P===n?this.B.Sg:this.B.Rg;this.W|=2;return a},Nh,function(a){this.A-=this.P===n?this.B.ff:this.B.ef;return a^255},function(a){var b=-a|0;af(this,0,a,b,191,!0);this.A-=this.P===n?this.B.ff:this.B.ef;return b&255},function(a){this.La= -!0;this.ra=(this.F&255)*a&65535;this.ra&65280?(jf(this),lf(this)):(kf(this),mf(this));this.A-=this.P===n?this.B.Ii:this.B.Hi;this.W|=2;return a},function(a){var b=(this.F<<24>>24)*(a<<24>>24)|0;this.La=!0;this.ra=b&65535;127b?(jf(this),lf(this)):(kf(this),mf(this));this.A-=this.P===n?this.B.mi:this.B.li;this.W|=2;return a},function(a,b){if(!a)return Oh.call(this),a;var c=(b=this.F&65535)/a;if(255>24,d=(b=this.F<<16>>16)/c|0;if(d!=d<<24>>24||8086==this.sa&&-128==d)return Oh.call(this),a;this.La=!0;this.ra=d&255|(b%c&255)<<8;this.A-=this.P===n?this.B.ii:this.B.hi;this.W|=2;return a}],zi=[function(a,b){b=this.Qa();hf(this,a&b,this.Na);this.A-=this.P===n?this.B.Sg:this.B.Rg;this.W|=2;return a},Nh,function(a){this.A-=this.P===n?this.B.ff:this.B.ef;return a^this.C},function(a){var b=-a|0;af(this,0,a,b,this.Na| -63,!0);this.A-=this.P===n?this.B.ff:this.B.ef;return b&this.C},function(a,b){if(2==this.ha){b=this.F&65535;var c=b*a|0;this.La=!0;this.ra=c&65535;this.Ma=c>>16&65535}else Gg.call(this,a,this.F);this.Ma?(jf(this),lf(this)):(kf(this),mf(this));this.A-=this.P===n?this.B.Ki:this.B.Ji;this.W|=2;return a},function(a,b){var c;if(2==this.ha)b=this.F&65535,c=(b<<16>>16)*(a<<16>>16)|0,this.La=!0,this.ra=c&65535,this.Ma=c>>16&65535,c=32767c;else{c=a;var d=this.F,e=!1;0>d&&(d=-d|0,e=!e);0>c&&(c=-c| -0,e=!e);Gg.call(this,c,d);e&&(this.ra=~this.ra+1|0,this.Ma=~this.Ma+(this.ra?0:1)|0);c=this.Ma!=this.ra>>31}c?(jf(this),lf(this)):(kf(this),mf(this));this.A-=this.P===n?this.B.oi:this.B.ni;this.W|=2;return a},function(a,b){if(2==this.ha){if(!a)return Oh.call(this),a;b=65536*(this.H&65535)+(this.F&65535);var c=b/a|0;if(65536<=c)return Oh.call(this),a;this.La=!0;this.ra=c&65535;this.Ma=b%a&65535}else{ng.call(this,this.F,this.H,a);if(!this.La)return Oh.call(this),a;this.ra|=0;this.Ma|=0}this.A-=this.P=== -n?this.B.gi:this.B.fi;this.W|=2;return a},function(a,b){if(2==this.ha){if(!a)return Oh.call(this),a;var c=a<<16>>16,d=(b=this.H<<16|this.F&65535)/c|0;if(d!=d<<16>>16||8086==this.sa&&-32768==d)return Oh.call(this),a;this.La=!0;this.ra=d&65535;this.Ma=b%c&65535}else{var c=this.F,d=this.H,e=a,f=!1,h=!1;0>e&&(e=-e|0,f=!f);0>d&&(c=-c|0,d=~d+(c?0:1)|0,h=!0,f=!f);ng.call(this,c,d,e);2147483647 -this.sa&&(b=a));ud(this,b);this.A-=this.P===n?this.B.Ec:this.B.Oi;this.W|=2;return a},Mh],le=Array(256);le[0]=function(){var a=this.ba();16>(a&56)&&(this.W|=1);this.Va[a].call(this,this.kh,Sh)};le[1]=function(){var a=this.ba();a&16||(this.W|=1);this.Va[a].call(this,Ai,Sh)};le[2]=function(){!(this.ob&1)||this.ca&131072?p.call(this,6):this.ga[this.ba()].call(this,ug)};le[3]=function(){!(this.ob&1)||this.ca&131072?p.call(this,6):this.ga[this.ba()].call(this,Bg)}; -le[5]=function(){this.ua?p.call(this,13,0,!0):(tf(this,this.xa(2054)),this.J=this.xa(2086),this.K=this.xa(2088),this.L=this.xa(2090),this.D=this.xa(2094),this.H=this.xa(2096),this.G=this.xa(2098),this.F=this.xa(2100),nd(this.eb,2102,this.xa(2084)),nd(this.Ca,2108,this.xa(2082)),nd(this.ya,2114,this.xa(2080)),nd(this.Ab,2120,this.xa(2078)),Bd(this,this.xa(2072)),E(this,this.xa(2074)),t(this,this.xa(2092)),this.ed=this.xa(2126)|this.Xa(2128)<<16,this.Wd=this.ed+this.xa(2130),nd(this.Fc,2132,this.xa(2076)), -this.fd=this.xa(2138)|this.Xa(2140)<<16,this.Xd=this.fd+this.xa(2142),nd(this.Ya,2144,this.xa(2070)),this.A-=195)};le[6]=function(){this.ua?p.call(this,13,0):(this.ob&=-9,this.A-=2)};le[11]=Rd;le[166]=Rd;le[255]=Rd;var w=[];w[5]=Rd;w[7]=function(){this.ua?p.call(this,13,0,!0):(me.call(this),this.A-=100)}; -w[32]=function(){if(this.ua)p.call(this,13,0);else{var a,b=this.ba();switch((b&56)>>3){case 0:a=this.ob;break;case 2:a=this.he;break;case 3:a=this.Ed;break;default:me.call(this);return}Ee(this,b&7,a);this.A-=6}};w[33]=function(){if(this.ua)p.call(this,13,0);else{var a=this.ba(),b=(a&56)>>3;4==b||5==b?me.call(this):(Ee(this,a&7,this.Oa[b]),this.A-=22)}}; -w[34]=function(){if(this.ua)p.call(this,13,0);else{var a=this.ba(),b=De(this,a&7);switch((a&56)>>3){case 0:vg.call(this,b);this.A-=10;break;case 2:this.he=b;this.A-=4;break;case 3:Dd.call(this,b);this.A-=5;break;default:me.call(this)}}};w[35]=function(){if(this.ua)p.call(this,13,0);else{var a=this.ba(),b=(a&56)>>3;4==b||5==b?me.call(this):(a=De(this,a&7),a!=this.Oa[b]&&(Ue(this,!1),this.Oa[b]=a,Ue(this,!0)),this.A-=4>b?22:14)}}; -w[36]=function(){if(this.ua)p.call(this,13,0);else{var a=this.ba(),b=(a&56)>>3;6>b?me.call(this):(Ee(this,a&7,this.ze[b]),this.A-=12)}};w[38]=function(){if(this.ua)p.call(this,13,0);else{var a=this.ba(),b=(a&56)>>3;6>b?me.call(this):(this.ze[b]=De(this,a&7),this.A-=12)}};w[128]=function(){var a=this.Qa();gf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[129]=function(){var a=this.Qa();gf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}; -w[130]=function(){var a=this.Qa();bf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[131]=function(){var a=this.Qa();bf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)};w[132]=function(){var a=this.Qa();ef(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[133]=function(){var a=this.Qa();ef(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)};w[134]=function(){var a=this.Qa();bf(this)||ef(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb}; -w[135]=function(){var a=this.Qa();bf(this)||ef(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)};w[136]=function(){var a=this.Qa();ff(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[137]=function(){var a=this.Qa();ff(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)};w[138]=function(){var a=this.Qa();cf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[139]=function(){var a=this.Qa();cf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}; -w[140]=function(){var a=this.Qa();!ff(this)!=!gf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[141]=function(){var a=this.Qa();!ff(this)==!gf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[142]=function(){var a=this.Qa();ef(this)||!ff(this)!=!gf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[143]=function(){var a=this.Qa();ef(this)||!ff(this)!=!gf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)};w[144]=function(){Mg.call(this,Ng)}; -w[145]=function(){Mg.call(this,Ng)};w[146]=function(){Mg.call(this,Og)};w[147]=function(){Mg.call(this,Pg)};w[148]=function(){Mg.call(this,Qg)};w[149]=function(){Mg.call(this,Rg)};w[150]=function(){Mg.call(this,Sg)};w[151]=function(){Mg.call(this,Tg)};w[152]=function(){Mg.call(this,Ug)};w[153]=function(){Mg.call(this,Vg)};w[154]=function(){Mg.call(this,Wg)};w[155]=function(){Mg.call(this,Xg)};w[156]=function(){Mg.call(this,Yg)};w[157]=function(){Mg.call(this,Zg)};w[158]=function(){Mg.call(this,$g)}; -w[159]=function(){Mg.call(this,ah)};w[160]=function(){ud(this,this.Rb.da);this.A-=this.B.fe};w[161]=function(){this.ja=this.pa;var a=od(this);this.Rb.load(a);this.A-=this.B.ic;this.ja=n};w[163]=function(){this.Ea[this.ba()].call(this,eg);this.P!==n&&(this.A-=6)};w[164]=function(){this.Ea[this.ba()].call(this,2==this.ha?dh:eh);this.A-=this.P===n?3:7};w[165]=function(){this.Ea[this.ba()].call(this,2==this.ha?fh:gh);this.A-=this.P===n?3:7};w[168]=function(){ud(this,this.Sb.da);this.A-=this.B.fe}; -w[169]=function(){this.ja=this.pa;var a=od(this);this.Sb.load(a);this.A-=this.B.ic;this.ja=n};w[171]=function(){this.Ea[this.ba()].call(this,hg);this.P!==n&&(this.A-=5)};w[172]=function(){this.Ea[this.ba()].call(this,2==this.ha?jh:kh);this.A-=this.P===n?3:7};w[173]=function(){this.Ea[this.ba()].call(this,2==this.ha?lh:mh);this.A-=this.P===n?3:7};w[175]=function(){this.ga[this.ba()].call(this,2==this.ha?rg:sg)};w[178]=function(){this.ga[this.ba()].call(this,Cg)}; -w[179]=function(){this.Ea[this.ba()].call(this,gg);this.P!==n&&(this.A-=5)};w[180]=function(){this.ga[this.ba()].call(this,zg)};w[181]=function(){this.ga[this.ba()].call(this,Ag)}; -w[182]=function(){var a,b=this.ba(),c=(b&56)>>3;switch(c){case 4:a=this.F;break;case 5:a=this.G;break;case 6:a=this.H;break;case 7:a=this.D}this.Za[b].call(this,Eg);switch(c){case 0:this.F=this.F&~this.C|this.F&255;break;case 1:this.G=this.G&~this.C|this.G&255;break;case 2:this.H=this.H&~this.C|this.H&255;break;case 3:this.D=this.D&~this.C|this.D&255;break;case 4:this.kb=this.kb&~this.C|this.F>>8&255;this.F=a;break;case 5:this.L=this.L&~this.C|this.G>>8&255;this.G=a;break;case 6:this.K=this.K&~this.C| -this.H>>8&255;this.H=a;break;case 7:this.J=this.J&~this.C|this.D>>8&255,this.D=a}this.A-=this.P===n?3:6};w[183]=function(){var a=this.ba();Pe(this);this.ga[a].call(this,Eg);switch((a&56)>>3){case 0:this.F=this.F&65535;break;case 1:this.G=this.G&65535;break;case 2:this.H=this.H&65535;break;case 3:this.D=this.D&65535;break;case 4:this.kb=this.kb&65535;break;case 5:this.L=this.L&65535;break;case 6:this.K=this.K&65535;break;case 7:this.J=this.J&65535}this.A-=this.P===n?3:6}; -w[186]=function(){this.Va[this.ba()].call(this,Bi,this.ba)};w[187]=function(){this.Ea[this.ba()].call(this,fg);this.P!==n&&(this.A-=5)};w[188]=function(){this.ga[this.ba()].call(this,Zf)};w[189]=function(){this.ga[this.ba()].call(this,$f)}; -w[190]=function(){var a,b=this.ba(),c=(b&56)>>3;switch(c){case 4:a=this.F;break;case 5:a=this.G;break;case 6:a=this.H;break;case 7:a=this.D}this.Za[b].call(this,Eg);switch(c){case 0:this.F=this.F&~this.C|(this.F&255)<<24>>24&this.C;break;case 1:this.G=this.G&~this.C|(this.G&255)<<24>>24&this.C;break;case 2:this.H=this.H&~this.C|(this.H&255)<<24>>24&this.C;break;case 3:this.D=this.D&~this.C|(this.D&255)<<24>>24&this.C;break;case 4:this.kb=this.kb&~this.C|this.F<<16>>24&this.C;this.F=a;break;case 5:this.L= +function Wc(a,b){for(var c=0;c>>d.Ra;f=f+h-1>>>d.Ra;e.zh=0;for(e.Hd=0;m<=f;)h=d.wa[m],e.zh+=h.size,h.size&&(e.qh.push(wa(Eb,m,0,0,h.type)),e.Hd++),m++;c.A=e;c.Ea=c.A.Hd*c.na.Lb/691200;d=0;c.A.mj=0;c.A.sf||(c.A.sf=[]);var e=-1,m=0,q=-1;for(f=0;f>1),q=h.y+(h.A>>1),r=h.A,h.Vc< +h.A&&(r=h.Vc,m.ua=!0,m.R.save(),m.R.translate(f,q),m.R.rotate(-Math.PI/2),f=q=0),r>1,m.Y+=(m.va>>1)-2,Gb(m,e),m.ua&&(m.R.restore(),m.ua=!1)}}else Gb(c,"This space intentionally left blank");c.context.drawImage(c.aa,0,0,c.aa.width,c.aa.height,c.vb,c.Bb,c.Za,c.fb);c.Na=!1}}g.ad=function(){this.md.length&&this.md[0].ad()}; +g.Xb=function(a,b,c){var d=this;a=!1;switch(b){case "run":this.Aa[b]=c;c.onclick=function(){var a;if(a=d.qa)if(a=d.qa,a.pa.oc)a=!0;else{var b=null,c,m=hb(a.id);for(c=0;cc&&(c=60);2>c&&(c=2);var d=1;b&&1a.Z.fg&&(c=Math.round(c/a.Z.Md));return c}function Oc(a){a.Z.de=0;a.jc=a.Zb=a.jb=a.A=0;Pc(a);cd(a,1)} +function cd(a,b,c){var d=!1;if(void 0!==b){.8>a.Z.de/a.Z.we?b=1:d=!0;a.Z.Md=b;b=a.Z.fg*a.Z.Md;if(a.Z.we!=b){a.Z.we=b;b=a.Z.we.toFixed(2)+"Mhz";var e=a.Aa.setSpeed;e&&(e.textContent=b);a.V("target speed: "+b)}c&&a.ad()}ed(a,a.Zb);a.Zb=0;a.Z.Ye=sa();a.Z.xe=0;fd(a);return d} +g.Ce=function(a){if(ob(this,!0)){if(!this.pa.Hb){cd(this);this.qa&&this.qa.start(this.Z.Ye,Vc(this));this.pa.Hb=!0;this.pa.Eh=!0;this.X&&gd(this.X);var b=this.Aa.run;b&&(b.textContent="Halt");this.kd(!0);a&&this.ad()}this.Z.Rh>=this.Z.Bd&&fd(this,!0);this.Z.Df=0;this.Z.gg=sa();this.Z.xe&&(a=this.Z.gg-this.Z.xe,a>this.Z.Gj&&(this.Z.Ye+=a,this.Z.Ye>this.Z.gg&&(this.Z.Ye=this.Z.gg)));try{do{var c=this.pa.Pe?1:this.Z.Ml;if(this.X){hd(this.X);var d=this.X;a=c;var e=d.X[0];if(e.pe){var f=(Vc(d.O,d.ua)- +e.vd)/d.lb|0,h=id(d,0)-f;6==e.mode&&(h-=f);var m=h*d.lb|0;6==e.mode&&(m>>=1);a>m&&(a=m)}var c=a,q=this.X;a=c;if(q.A&&q.A[11]&64){var r=q.Ja-Vc(q.O,q.ua);0r&&(a=r)}c=a}try{this.of(c)}catch(x){if("number"!=typeof x)throw x;}var C=this.jb-this.A;this.Zb+=C;this.Z.Df+=C;ed(this,0,!0);Uc(this,C);this.Z.Cf-=C;0>=this.Z.Cf&&(this.Z.Cf+=this.Z.Ij,Wc(this));this.Z.Bf-=C;0>=this.Z.Bf&&(this.Z.Bf+=this.Z.Hj,this.kd());this.Z.bf-=C;if(0>=this.Z.bf){this.Z.bf+=this.Z.Qh;break}}while(this.pa.Hb)}catch(z){this.Yb(); +Qc(this);this.qa&&this.qa.stop(sa(),Vc(this));ob(this,!1);tb(this,z.stack||z.message);return}c=setTimeout;d=this.oh;this.Z.xe=sa();e=this.Z.Gj;this.Z.Df&&(e=Math.round(e*this.Z.Df/this.Z.Qh));e-=this.Z.xe-this.Z.gg;if(f=this.Z.xe-this.Z.Ye)this.Z.de=Math.round(this.Zb/(10*f))/100,864E5<=f&&(this.jc=0,this.X&&hd(this.X,!0),cd(this));if(0>e||this.Z.dethis.id&&p.call(e,13,a&65532)}return n};g.Il=function(a){var b=this.O;a=b.fd+(a<<2);var c=b.ya(a);b.ca&=-769;return this.load(b.ya(a+2))+c|0};g.Hl=function(a){var b=this.O;a<<=3;var c=b.fd+a|0;if(7<=(b.Xd-c|0))return this.P=!0,a=nd(this,c,a),a!==n&&(a+=this.Kf),a;p.call(b,13,a|2);return n}; +g.pj=function(a){return this.Fa+a|0};g.rj=function(a){return this.Fa+a|0};g.oj=function(a,b){return(a>>>0)+b<=this.dc?this.Fa+a|0:this.$f()};g.kk=function(a,b){return(a>>>0)+b>this.dc?this.Fa+a|0:this.$f()};g.$f=function(){p.call(this.O,13,0);return n};g.qj=function(a,b){return(a>>>0)+b<=this.dc?this.Fa+a|0:this.ag()};g.lk=function(a,b){return(a>>>0)+b>this.dc?this.Fa+a|0:this.ag()};g.ag=function(){p.call(this.O,13,0);return n}; +function od(a,b,c){var d=a.O,e=d.ya(b+2),f=d.ya(b)|(e&255)<<16,d=d.ya(b+4);a.da=c;a.Fa=f;a.Wa=d;a.dc=(d>>>0)+1;a.Cb=e;a.type=e&7936;a.ext=0;a.bc=b;ld(a,!0)} +function nd(a,b,c,d){var e=a.O;if(!d&&c===a.A.da)return a.da=c,a.Fa=a.A.Fa,a.Wa=a.A.Wa,a.dc=(a.A.Wa>>>0)+1,a.Cb=a.A.Cb,a.type=a.A.type,a.ext=a.A.ext,a.bc=a.A.bc,a.A.da=-1,ld(a,!0,!0,!1),a.Fa;a.A.da=-1;var f=e.ya(b+0),h=e.ya(b+4),m=h&7936,q=e.ya(b+2)|(h&255)<<16,r=e.ya(b+6),x=c&65528;if(80386<=e.sa){var C=f,q=q|(r&65280)<<16,f=f|(r&15)<<16;r&128&&(f=f<<12|4095)}switch(a.id){case kd:var z=a.P;a.Ue=!1;if(z&&1==c&&a.B.length){var N=a.B[a.Kf-1];if(N&&!N())return n}var N=c&3,I=(h&24576)>>13,J,W,O;if(x&& +!(h&32768))return 6>a.id&&p.call(e,11,c&65532),n;if(6144<=m){N=c&3;if(N>a.Vb){if(!1!==z&&!(I==a.Vb||m&1024&&I<=a.Vb))return n;J=pd(e);qd(e,pd(e),!0);t(e,J);a.Ue=!0}J=0}else{if(256==m||2304==m)return rd(a,c,z)?a.Fa:n;if(1024==m)J=2,O=0,Na.id&&p.call(e,13,c&65532|(W?2:0)),n;break;case 2:if(x){if(4096>m||2048==(m&2560))return 6>a.id&&p.call(e,13,c&65532),n;if(!(h&32768))return 6>a.id&&p.call(e,11,c&65532),n}break;case 3:if(!(h&32768))return 6>a.id&&p.call(e,12,c&65532),n;if(!x||4096>m||512!=(m&2560))return 6>a.id&&p.call(e,13,c&65532),n;break;case 4:z=m&-513;if(!x||256!=z&&2304!=z)return 6>a.id&&p.call(e,13,c&65532),n;2304==z&&(a.ij=q+e.ya(q+ +100+2)|0,a.hk=q+a.Wa|0);break;case 6:if(!(m&4096)&&768>>0)+1,a.Cb=h,a.type=m,a.ext=r,a.bc=b,ld(a,!0,!0,!1));return q} +function rd(a,b,c){var d=a.O,e=a.Vb,f=d.Ya.da,h=d.Ya.Fa;if(!c){if(!(d.Ya.type&512))return p.call(d,13,b&65532),!1;d.Ib(d.Ya.bc+4,d.Ya.Cb&=-513)}if(d.Ya.load(b)===n)return!1;var m=d.Ya.Fa;if(!1!==c){if(d.Ya.type&512)return p.call(d,13,b&65532),!1;d.Ib(d.Ya.bc+4,d.Ya.Cb|=512)}d.Ya.type=d.Ya.type&-513|d.Ya.Cb&512;256==d.Ya.type||768==d.Ya.type?(d.Ib(h+14,v(d)),d.Ib(h+16,Bd(d)),d.Ib(h+18,d.F),d.Ib(h+20,d.G),d.Ib(h+22,d.H),d.Ib(h+24,d.D),d.Ib(h+26,u(d)),d.Ib(h+28,d.L),d.Ib(h+30,d.K),d.Ib(h+32,d.J),d.Ib(h+ +34,d.eb.da),d.Ib(h+36,d.Ca.da),d.Ib(h+38,d.za.da),d.Ib(h+40,d.Ab.da),d.Fc.load(d.ya(m+42)),Cd(d,d.ya(m+16)|(c?16384:0)),d.F=d.ya(m+18),d.G=d.ya(m+20),d.H=d.ya(m+22),d.D=d.ya(m+24),d.L=d.ya(m+28),d.K=d.ya(m+30),d.J=d.ya(m+32),d.eb.load(d.ya(m+34)),d.Ab.load(d.ya(m+40)),Dd(d,d.ya(m+14),d.ya(m+36)),b=38,h=26,a.Vb>>0)+1)}; +function ld(a,b,c,d){void 0===c&&(c=!!(a.O.pb&1));a.Xc=!1;if(c)if(a.load=a.eg,a.Fj=a.Hl,a.Cc=a.oj,a.uc=a.qj,void 0===d&&(d=!!(a.O.ca&131072)),d)a.load=a.na,a.Cc=a.X,a.uc=a.S,a.Vb=a.Dc=3,a.ha=a.bd=2,a.C=a.Ga=65535,a.Wa=65535,a.dc=a.Wa+1,a.bd=a.ha,a.bc=n,a.Ue=!1;else{if(!(a.da&-4))a.Cc=a.$f,a.uc=a.ag;else if(a.type&4096){6144==(a.type&6656)&&(a.Cc=a.$f);if(a.type&2048||!(a.type&512))a.uc=a.ag;1024==(a.type&3072)&&(a.Cc==a.oj&&(a.Cc=a.kk),a.uc==a.qj&&(a.uc=a.lk),a.Xc=!0);b&&6>a.id&&a.da&-4&&a.bc!==n&& +(c=a.bc+5,a.O.tc(c,a.O.Xa(c)|1))}b&&(a.Vb=a.da&3,a.Dc=(a.Cb&24576)>>13,80386>a.O.sa||!(a.ext&64)?(a.ha=2,a.C=65535):(a.ha=4,a.C=-1),a.bd=a.ha,a.Ga=a.C)}else a.load=a.Kh,a.Fj=a.Il,a.Cc=a.pj,a.uc=a.rj,a.Vb=a.Dc=0,a.bc=n,a.Ue=!1} +function Kd(a){this.sa=a.model||8088;var b=0;switch(this.sa){default:b=4772727;break;case 80286:b=6E6;break;case 80386:b=16E6}Nc.call(this,a,b);this.Of=61442;this.Mc=1792;this.Nf=28672;this.Ad=4;this.Da=255;this.B=80386==this.sa?Ld:80286==this.sa?Md:Nd;this.ea=Od;this.Sf=Pd;this.jh=Qd;this.kh=Rd;if(80186<=this.sa&&(this.ea=Od.slice(),this.Sf=Pd.slice(),this.jh=Qd.slice(),this.Da=31,this.ea[15]=Sd,this.ea[96]=Td,this.ea[97]=Ud,this.ea[98]=Vd,this.ea[99]=Sd,this.ea[100]=Sd,this.ea[101]=Sd,this.ea[102]= +Sd,this.ea[103]=Sd,this.ea[104]=Wd,this.ea[105]=Xd,this.ea[106]=Yd,this.ea[107]=Zd,this.ea[108]=$d,this.ea[109]=ae,this.ea[110]=be,this.ea[111]=ce,this.ea[192]=de,this.ea[193]=ee,this.ea[200]=he,this.ea[201]=ie,this.ea[241]=je,this.Sf[7]=ke,this.jh[7]=ke,80286<=this.sa)){this.Of=2;this.Mc|=28672;this.Ad=0;this.ea[15]=le;this.nd=me.slice();for(a=0;a>>20,f=a.Hc[(a.Ed+e&a.Pb)>>>a.Ra],h=f.Qd(e);if(!(h&1))return d||Ce.call(a,b,!1,c),a.pd;if(!(h&4)&&3==a.xa)return d||Ce.call(a,b,!0,c),a.pd;var m=(b&4190208)>>>10,h=a.Hc[((h&-4096)+m&a.Pb)>>>a.Ra],q=h.Qd(m);if(!(q&1))return d||Ce.call(a,b,!1,c),a.pd;if(!(q&4)&&3==a.xa)return d||Ce.call(a,b,!0,c),a.pd;c=a.Hc[((q&-4096)+(b&4095)&a.Pb)>>>a.Ra];if(d)return c;d=b>>>a.Ra;q=a.wa[d];b=new Kb(b&-4096,0,0,6);sc(b,c,f,e,h,m);Lb(b,a.fa,q);a.wa[d]=b;a.ce.push(d);return b} +function De(a){a.wa!=a.Hc&&(a.wa=a.Hc,a.te=null,a.ce=null,a.pd=null)}g=Kd.prototype;g.reset=function(){this.pa.Hb&&this.Yb();Ae(this);Oc(this);this.pa.sd=!1};function Ee(a,b){var c;switch(b){case 0:c=a.F;break;case 1:c=a.G;break;case 2:c=a.H;break;case 3:c=a.D;break;case 4:c=u(a);break;case 5:c=a.L;break;case 6:c=a.K;break;case 7:c=a.J}return c} +function Fe(a,b,c){switch(b){case 0:a.F=c;break;case 1:a.G=c;break;case 2:a.H=c;break;case 3:a.D=c;break;case 4:t(a,c);break;case 5:a.L=c;break;case 6:a.K=c;break;case 7:a.J=c}} +function Ae(a){a.F=0;a.D=0;a.G=0;a.H=0;a.lb=0;a.L=0;a.K=0;a.J=0;a.Ha=!1;a.oa=a.La=0;a.Bb=0;a.se=0;a.pb=65520;a.fd=0;a.Xd=1023;a.ca=a.$a=0;a.Pc=a.rd=a.Oc=a.Qc=0;a.kb=-1;a.Nc=-1;a.Ja=a.ja=n;a.Ca=new jd(a,kd,"CS");a.Ab=new jd(a,2,"DS");a.eb=new jd(a,2,"ES");a.za=new jd(a,3,"SS");t(a,0);qd(a,0);80386<=a.sa&&(a.H=772,a.pb=16,a.bj=0,a.he=0,a.Ed=0,a.Oa=[0,0,0,0,null,null,0,0],a.Ae=[null,null,null,null,null,null,0,0],a.Rb=new jd(a,2,"FS"),a.Sb=new jd(a,2,"GS"),De(a));a.nh=new jd(a,0,"NULL");a.R=a.Ab;a.S= +a.za;a.W=a.Y=0;a.P=a.aa=n;a.ua=0;Dd(a,0,65535);if(80286<=a.sa){a.ed=0;a.Wd=65535;a.Fc=new jd(a,5,"LDT",!0);a.Ya=new jd(a,4,"TSS",!0);a.Ma=new jd(a,6,"VER",!0);Dd(a,65520,61440);var b,c=v(a);b=a.Ca;var d=-65536;80386>b.O.sa&&(d&=16777215);b=b.Fa=d;a.Ba=b+c|0;a.ze=b+a.Ca.Wa|0}Cd(a,0);sd(a)}function Ge(a,b){b.da&65528&&b.Dc>16,e=0;4>e;e++){if(c&3){var f=!!(d&1),h=a.Oa[e],h=h&~(d>>2&3);b?a.wa[h>>>a.Ra].Gd(h&a.Pa,f,a):Hc(a.wa[h>>>a.Ra],f)}c>>=2;d>>=4}} +function Ec(a,b,c,d){if(!(a.W&8192)&&a.Oa[7]&255){c--;var e=a.Oa[7],f=e>>16;d=d?1:0==d?3:0;for(var h=0;4>h;h++){if(e&3&&(f&3)==d){var m=f>>2;if(b+c>=a.Oa[h]&&b<=a.Oa[h]+m){a.Oa[6]|=1<>=2;f>>=4}}}function sd(a,b,c){void 0===b&&(b=!!(a.pb&1));void 0===c&&(c=!!(a.ca&131072));a.kh=b&&!c?We:Rd;ld(a.Ca,!1,b,c);ld(a.Ab,!1,b,c);ld(a.za,!1,b,c);ld(a.eb,!1,b,c);80386<=a.sa&&(ld(a.Rb,!1,b,c),ld(a.Sb,!1,b,c),Re(a))} +g.save=function(){var a=new Xe(this);Ye(a,0,[this.F,this.D,this.G,this.H,u(this),this.L,this.K,this.J]);var b=v(this),c=this.Ca.save(),d=this.Ab.save(),e=this.za.save(),f=this.eb.save(),h;null!=this.ed?(h=[this.pb,this.ed,this.Wd,this.fd,this.Xd,this.Fc.save(),this.Ya.save(),this.$a],80386<=this.sa&&(h.push(this.bj),h.push(this.he),h.push(this.Ed),h.push(this.Oa),h.push(this.Ae))):h=null;b=[b,c,d,e,f,h,Bd(this)];80386<=this.sa&&(b.push(this.Rb.save()),b.push(this.Sb.save()));Ye(a,1,b);Ye(a,2,[this.R.ec, +this.S.ec,this.W,this.Y,this.ua,this.P,this.aa]);Ye(a,3,[0,this.jc,this.Z.Md]);b=this.na;c=0;d=[];(e=!b.X&&b.ig==b.Pb)||Qb(b,!0);for(f=0;fc&&0<=(a.ze^a.Ba)&&(8088>=a.sa||a.Ca.Wa==a.Ca.Ga?E(a,a.Ba-a.Ca.Fa):-1>c&&p.call(a,13,0))}function u(a){return a.lb&~a.za.Ga|a.ra-a.za.Fa}function t(a,b){a.lb=b;a.ra=a.za.Fa+(b&a.za.Ga)|0}function bf(a,b,c,d,e,f){if(63!=(e&63)&&e!=a.resultType){var h=(e^a.resultType)&a.resultType;h&&(h&1&&cf(a),h&2&&df(a),h&4&&ef(a),h&8&&ff(a),h&16&&gf(a),h&32&&hf(a))}f?(a.Pc=d,a.Oc=b):(a.Pc=b,a.Oc=d);a.rd=c;a.Qc=d;a.resultType=e} +function jf(a,b,c,d,e){a.resultType=c|26;a.Qc=b;d?kf(a):lf(a);e?mf(a):nf(a);return b}function of(a,b,c,d){c&d?kf(a):lf(a);(b^c)&d?mf(a):nf(a)}function pf(a){return cf(a)?1:0}function cf(a){a.resultType&1&&(a.ca&=-2,(a.Pc^(a.Pc^a.rd)&(a.rd^a.Oc))&a.resultType&-2147450752&&(a.ca|=1),a.resultType&=-2);return a.ca&1}function df(a){a.resultType&2&&(a.ca&=-5,38505>>((a.Qc^a.Qc>>4)&15)&1&&(a.ca|=4),a.resultType&=-3);return a.ca&4} +function ef(a){a.resultType&4&&(a.ca&=-17,(a.Oc^a.Pc^a.rd)&16&&(a.ca|=16),a.resultType&=-5);return a.ca&16}function ff(a){a.resultType&8&&(a.ca&=-65,a.Qc&((a.resultType&-2147450752)-1|a.resultType&-2147450752)||(a.ca|=64),a.resultType&=-9);return a.ca&64}function gf(a){a.resultType&16&&(a.ca&=-129,a.Qc&a.resultType&-2147450752&&(a.ca|=128),a.resultType&=-17);return a.ca&128} +function hf(a){a.resultType&32&&(a.ca&=-2049,(a.Pc^a.Oc)&(a.rd^a.Oc)&a.resultType&-2147450752&&(a.ca|=2048),a.resultType&=-33);return a.ca&2048}function lf(a){a.resultType&=-2;a.ca&=-2}function qf(a){a.resultType&=-5;a.ca&=-17}function rf(a){a.resultType&=-9;a.ca&=-65}function nf(a){a.resultType&=-33;a.ca&=-2049}function kf(a){a.resultType&=-2;a.ca|=1}function sf(a){a.resultType&=-5;a.ca|=16}function tf(a){a.resultType&=-9;a.ca|=64}function mf(a){a.resultType&=-33;a.ca|=2048} +function Bd(a){return a.ca&-2262|cf(a)|df(a)|ef(a)|ff(a)|gf(a)|hf(a)}function uf(a,b){b=b|a.pb&1|65520;a.pb=a.pb&-65536|b&65535;a.pb&1&&sd(a,!0)}function Cd(a,b,c){a.pb&1||(b&=~a.Nf);void 0===c&&(c=a.xa);c?b=b&-12289|a.ca&12288:a.$a=(b&12288)>>12;c>a.$a&&(b=b&-513|a.ca&512);a.resultType=128;a.ca=a.ca&~(a.Mc|2261)|b&(a.Mc|2261)|a.Of;a.ca&256&&(a.ua|=2,a.W|=4)} +function vf(a,b,c,d){var e=0;if(a.pb&1&&(a.xa>a.$a||a.ca&131072)&&a.Ya.ij)for(var f=a.Ya.ij+(b>>>3),e=(1<>>=8,f++;return e?(a.ta(256)&&a.va("checkIOPM("+ia(b)+","+c+","+(d?"input":"output")+"): trapped",!0,!0),p.call(a,13,0),!1):!0} +g.Xb=function(a,b,c){var d=!1;switch(b){case "EAX":case "EBX":case "ECX":case "EDX":case "ESP":case "EBP":case "ESI":case "EDI":case "EIP":case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "IP":case "PC":case "CS":case "DS":case "SS":case "ES":case "FS":case "GS":case "CR0":case "CR2":case "CR3":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "V":this.Aa[b]=c;this.lh++;d=!0;break;default:d=this.parent.Xb.call(this,a,b,c)}return d}; +function wf(a,b,c,d){(d=(!1===d?a.Hc:a.wa)[(b&a.vb)>>>a.Ra])&&5==d.type&&(d=Gc(a,b,!1,!0));if(d)switch(a=b&a.Pa,c){default:return d.kf(a,b);case 2:return d.dh(a,b);case 4:return d.aj(a,b)}return null}g.Xa=function(a){return this.wa[(a&this.vb)>>>this.Ra].yc(a&this.Pa,a)};g.ya=function(a){var b=a&this.Pa,c=(a&this.vb)>>>this.Ra;this.A-=this.B.If;if(b>>this.Ra;if(b>>this.Ra].Ac(a&this.Pa,b&255,a)};g.Ib=function(a,b){var c=a&this.Pa,d=(a&this.vb)>>>this.Ra;this.A-=this.B.If;c>8&255,a+1))}; +g.Ub=function(a,b){var c=a&this.Pa,d=(a&this.vb)>>>this.Ra;this.A-=this.B.If;if(c>>=8}};function xf(a,b,c){a.Nb=b;a.P=b.Cc(a.wb=c,1);return a.W&1?0:a.Xa(a.P)}function F(a,b){return xf(a,a.R,b&a.Ga)}function G(a,b){return xf(a,a.S,b&a.Ga)}function yf(a,b,c){a.Nb=b;a.P=b.Cc(a.wb=c,a.ha);return a.W&1?0:a.pc(a.P)}function H(a,b){return yf(a,a.R,b&a.Ga)} +function K(a,b){return yf(a,a.S,b&a.Ga)}function zf(a,b,c){a.Nb=b;a.aa=a.P=b.Cc(a.wb=c,1);return a.W&1?0:a.Xa(a.P)}function L(a,b){return zf(a,a.R,b&a.Ga)}function M(a,b){return zf(a,a.S,b&a.Ga)}function Af(a,b,c){a.Nb=b;a.aa=a.P=b.Cc(a.wb=c,a.ha);return a.W&1?0:a.pc(a.P)}function P(a,b){return Af(a,a.R,b&a.Ga)}function Q(a,b){return Af(a,a.S,b&a.Ga)}function R(a,b){a.W&2||a.tc(a.Nb.uc(a.wb,1),b)}function S(a,b){a.W&2||a.Bc(a.Nb.uc(a.wb,a.ha),b)}function ud(a,b,c){return a.pc(b.Cc(c,a.ha))} +g.ba=function(){var a=this.Xa(this.Ba);af(this,1);return a};function Bf(a){var b=a.ya(a.Ba);af(a,2);return b}function T(a){var b=a.cc(a.Ba);af(a,a.bd);return b}g.Qa=function(){var a=this.pc(this.Ba);af(this,this.ha);return a};g.M=function(){var a=this.Xa(this.Ba)<<24>>24;af(this,1);return a};function U(a,b){var c=a.Xa(a.Ba);af(a,1);return Cf[c].call(a,b)} +function pd(a){var b=a.pc(a.ra);a.ra=a.ra+a.ha|0;var c=a.gh-a.ra|0;0>c&&0<=(a.gh^a.ra)&&(8088>=a.sa||!a.za.Xc&&a.za.Wa==a.za.Ga||a.za.Xc&&!a.za.Wa?t(a,a.ra-a.za.Fa&a.za.Ga):-1>c&&p.call(a,12,0));return b}function Df(a,b,c){var d=a.ra-c|0;0>(d-a.qd|0)&&0<=(a.qd^d)&&(8088>=a.sa||!a.za.Xc&&a.za.Wa==a.za.Ga||a.za.Xc&&!a.za.Wa?(t(a,d-a.za.Fa&a.za.Ga),d=a.ra):p.call(a,12,0));2==c?a.Ib(d,b):a.Ub(d,b);a.ra=d} +function vd(a,b){var c=a.ra-a.ha|0;0>(c-a.qd|0)&&0<=(a.qd^c)&&(8088>=a.sa||!a.za.Xc&&a.za.Wa==a.za.Ga||a.za.Xc&&!a.za.Wa?(t(a,c-a.za.Fa&a.za.Ga),c=a.ra):p.call(a,12,0));a.Bc(c,b);a.ra=c}function Ef(a,b,c){var d=4;1==b.length&&(d=1,c=c?1:0);if(80386>a.sa)2this.sa?0:1,e=0;2>e;e++){switch(d){case 0:if(this.ua&1&&this.ca&512){var f=Gf(this.X);if(-1<=f&&(this.ua&=-2,0<=f)){this.ua&=-5;Hf.call(this, +this.kb=f,null,11);d=!0;break a}}break;case 1:if(this.ua&2){this.ua&=-3;80386<=this.sa&&(this.Oa[6]|=16384);Hf.call(this,this.kb=1,null,11);d=!0;break a}}d=1-d}if(d=this.ua&8){d=this.X;e=!1;for(f=0;f>16,c=c<<16>>16,d=d<<16>>16);this.A-=this.B.Xh;(bd)&&p.call(this,5);this.W|=2;return a}function $f(a,b){var c=0;if(b){rf(this);for(var d=1;d&this.C;){if(b&d){a=c;break}d<<=1;c++}}else tf(this);this.A-=11+3*c;return a} +function ag(a,b){var c=0;if(b){rf(this);for(var d=2==this.ha?15:31,e=1<>>=1;c++;d--}}else tf(this);this.A-=11+3*c;return a}function bg(a,b){a&1<<(b&(2==this.ha?15:31))?kf(this):lf(this);this.A-=this.P===n?3:6;this.W|=2;return a}function cg(a,b){var c=1<<(b&(2==this.ha?15:31));a&c?kf(this):lf(this);this.A-=this.P===n?6:8;return a^c}function dg(a,b){var c=1<<(b&(2==this.ha?15:31));a&c?kf(this):lf(this);this.A-=this.P===n?6:8;return a&~c} +function eg(a,b){var c=1<<(b&(2==this.ha?15:31));a&c?kf(this):lf(this);this.A-=this.P===n?6:8;return a|c}function fg(a,b){if(this.P===n)return bg.call(this,a,b);var c=this.ha<<3;if(b>=c||b<-c)a=yf(this,this.Nb,this.wb+(b>>(2==this.ha?4:5))*this.ha);b=1<<(b&(2==this.ha?15:31));a&b?kf(this):lf(this);this.A-=6;this.W|=2;return a} +function gg(a,b){if(this.P===n)return cg.call(this,a,b);var c=this.ha<<3;if(b>=c||b<-c)a=yf(this,this.Nb,this.wb+(b>>(2==this.ha?4:5))*this.ha);b=1<<(b&(2==this.ha?15:31));a&b?kf(this):lf(this);this.A-=8;return a^b}function hg(a,b){if(this.P===n)return dg.call(this,a,b);var c=this.ha<<3;if(b>=c||b<-c)a=yf(this,this.Nb,this.wb+(b>>(2==this.ha?4:5))*this.ha);b=1<<(b&(2==this.ha?15:31));a&b?kf(this):lf(this);this.A-=8;return a&~b} +function ig(a,b){if(this.P===n)return eg.call(this,a,b);var c=this.ha<<3;if(b>=c||b<-c)a=yf(this,this.Nb,this.wb+(b>>(2==this.ha?4:5))*this.ha);b=1<<(b&(2==this.ha?15:31));a&b?kf(this):lf(this);this.A-=8;return a|b}function jg(a,b){this.Nc=this.Ca.da;this.ja=this.ra;var c=v(this),d=this.ha;null!=Dd(this,a,b,!0)&&(Df(this,this.Nc,d),Df(this,c,d));this.ja=n;this.Nc=-1}function kg(a,b){bf(this,a,b,a-b|0,191,!0);this.A-=this.aa===n?this.P===n?this.B.hc:this.B.rg:this.B.Qb;this.W|=2;return a} +function lg(a,b){bf(this,a,b,a-b|0,this.Na|63,!0);this.A-=this.aa===n?this.P===n?this.B.hc:this.B.rg:this.B.Qb;this.W|=2;return a}function mg(a){var b=a-1|0;bf(this,a,1,b,this.Na|62,!0);this.A-=2;return a&~this.C|b&this.C}function ng(a,b){var c=a[1]-b[1];c||(c=a[0]-b[0]);return c} +function og(a,b,c){this.Ha=!1;if((c>>>=0)&&!(c<=b>>>0)){var d=0,e=1;c=[c>>>0,0];for(a=[a>>>0,b>>>0];0>>=0,b[1]++);e+=e}do 0<=ng(a,c)&&(b=a,f=c,b[0]-=f[0],b[1]-=f[1],0>b[0]&&(b[0]>>>=0,b[1]--),d+=e),b=c,b[0]>>>=1,b[1]&1&&(b[0]=(b[0]|2147483648)>>>0),b[1]>>>=1,e/=2;while(1<=e);this.oa=d;this.La=a[0];this.Ha=!0}}function pg(a){return a} +function qg(a,b){a=this.M();var c=(b<<16>>16)*a|0;32767c?(kf(this),mf(this)):(lf(this),nf(this));this.A-=this.P===n?21:24;return c&65535}function rg(a,b){var c,d;a=this.Qa();2==this.ha?(d=(b<<16>>16)*(a<<16>>16)|0,c=32767d):(d=b*a,c=2147483647d);c?(kf(this),mf(this)):(lf(this),nf(this));d&=this.C;this.A-=this.P===n?21:24;return d} +function sg(a,b){var c=!1;0>b&&(b=-b|0,c=!c);0>a&&(a=-a|0,c=!c);tg.call(this,a,b);c&&(this.oa=~this.oa+1|0,this.La=~this.La+(this.oa?0:1)|0)}function ug(a,b){var c=(a<<16>>16)*(b<<16>>16)|0;32767c?(kf(this),mf(this)):(lf(this),nf(this));this.A-=this.P===n?9:12;return c&65535}function vg(a,b){sg.call(this,a,b);this.La!=this.oa>>31?(kf(this),mf(this)):(lf(this),nf(this));this.A-=this.P===n?9:12;return this.oa} +function wg(a){var b=a+1|0;bf(this,a,1,b,this.Na|62);this.A-=2;return a&~this.C|b&this.C}function Hf(a,b,c){this.A-=this.B.si+(c||0);c=Bd(this);var d=this.Ca.da,e=v(this);a=this.Ca.Fj(a);a!==n&&(vd(this,c),vd(this,d),vd(this,e),null!=b&&vd(this,b),this.kb=-1,Re(this),this.Ba=a,this.ze=this.Ca.Fa+this.Ca.Wa|0,this.xa=this.Ca.Vb)} +function xg(a,b){this.A-=14+(this.P===n?0:2);rf(this);this.Ma.load(b)!==n&&this.Ma.Dc>=this.xa&&this.Ma.Dc>=(b&3)&&(tf(this),a=this.Ma.Cb&-256,2=this.xa)&&this.Ma.Dc>=(b&3))return tf(this),this.Ma.Wa;rf(this);return a}function Fg(a,b){if(this.P===n)return ne.call(this),a;qd(this,this.ya(this.P+this.ha));this.A-=this.B.ye;return b}function Gg(a,b){this.A-=this.aa===n?this.P===n?this.B.Hi:this.B.Gi:this.B.Ei;return b}function Hg(a,b){return b}function Ig(){this.aa!==n&&td(this,2);return Gg.call(this,0,this.Bb)} +function tg(a,b){if(a&-65536||b&-65536){var c=b&65535,d=b>>>16,e=a&65535,f=a>>>16,h=c*e,e=(h>>>16)+d*e,m=e>>>16,e=(e&65535)+c*f;this.Ha=!0;this.oa=e<<16|h&65535;this.La=m+((e>>>16)+d*f)|0}else this.Ha=!0,this.oa=a*b|0,this.La=0}function Jg(a,b){this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return jf(this,a|b,128)}function Kg(a,b){this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return jf(this,a|b,this.Na)&this.C} +function Lg(a){this.ja=this.ra;var b=pd(this),c=pd(this);a&&t(this,u(this)+a);Dd(this,b,c,!1)&&(a&&t(this,u(this)+a),Ge(this,this.Ab),Ge(this,this.eb),80386<=this.sa&&(Ge(this,this.Rb),Ge(this,this.Sb)));2==a&&this.ve&&Ue(this,this.Ba);this.ja=n}function Mg(a,b){var c=a-b-pf(this)|0;bf(this,a,b,c,191,!0);this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return c&255} +function Ng(a,b){var c=a-b-pf(this)|0;bf(this,a,b,c,this.Na|63,!0);this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return c&this.C}function Og(a){this.W|=1;this.fb[this.ba()].call(this,a);this.A-=this.P===n?4:5}function Pg(){return hf(this)?1:0}function Qg(){return cf(this)?1:0}function Rg(){return cf(this)?0:1}function Sg(){return ff(this)?1:0}function Tg(){return ff(this)?0:1}function Ug(){return cf(this)||ff(this)?1:0}function Vg(){return cf(this)||ff(this)?0:1} +function Wg(){return gf(this)?1:0}function Xg(){return gf(this)?0:1}function Yg(){return df(this)?1:0}function Zg(){return df(this)?0:1}function $g(){return!gf(this)!=!hf(this)?1:0}function ah(){return!gf(this)!=!hf(this)?0:1}function bh(){return ff(this)||!gf(this)!=!hf(this)?1:0}function ch(){return ff(this)||!gf(this)!=!hf(this)?0:1}function dh(a,b,c){if(c){16>>16-c)&65535;jf(this,a,32768,d&32768)}return a} +function eh(a,b,c){if(c){var d=a<>>32-c;jf(this,a,-2147483648,d&-2147483648)}return a}function fh(a,b){return dh.call(this,a,b,this.ba())}function gh(a,b){return eh.call(this,a,b,this.ba())}function hh(a,b){return dh.call(this,a,b,this.G&31)}function ih(a,b){return eh.call(this,a,b,this.G&31)}function jh(a,b,c){if(c){16>>c-1;a=(d>>>1|b<<16-c)&65535;jf(this,a,32768,d&1)}return a} +function kh(a,b,c){if(c){var d=a>>>c-1;a=d>>>1|b<<32-c;jf(this,a,-2147483648,d&1)}return a}function lh(a,b){return jh.call(this,a,b,this.ba())}function mh(a,b){return kh.call(this,a,b,this.ba())}function nh(a,b){return jh.call(this,a,b,this.G&31)}function oh(a,b){return kh.call(this,a,b,this.G&31)}function ph(a,b){var c=a-b|0;bf(this,a,b,c,191,!0);this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return c&255} +function qh(a,b){var c=a-b|0;bf(this,a,b,c,this.Na|63,!0);this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return c&this.C}function rh(a,b){jf(this,a&b,128);this.A-=this.aa===n?this.P===n?this.B.Tg:this.B.hf:this.B.hf;this.W|=2;return a}function sh(a,b){jf(this,a&b,this.Na);this.A-=this.aa===n?this.P===n?this.B.Tg:this.B.hf:this.B.hf;this.W|=2;return a} +function th(a,b){if(this.P===n){switch(this.se&7){case 0:this.F=this.F&-256|a;break;case 1:this.G=this.G&-256|a;break;case 2:this.H=this.H&-256|a;break;case 3:this.D=this.D&-256|a;break;case 4:this.F=this.F&-65281|a<<8;break;case 5:this.G=this.G&-65281|a<<8;break;case 6:this.H=this.H&-65281|a<<8;break;case 7:this.D=this.D&-65281|a<<8}this.A-=this.B.Vg}else this.aa=this.P,R(this,a),this.A-=this.B.Ug;return b} +function Lh(a,b){if(this.P===n){switch(this.se&7){case 0:this.F=this.F&~this.C|a;break;case 1:this.G=this.G&~this.C|a;break;case 2:this.H=this.H&~this.C|a;break;case 3:this.D=this.D&~this.C|a;break;case 4:t(this,u(this)&~this.C|a);break;case 5:this.L=this.D&~this.C|a;break;case 6:this.K=this.K&~this.C|a;break;case 7:this.J=this.J&~this.C|a}this.A-=this.B.Vg}else this.aa=this.P,S(this,a),this.A-=this.B.Ug;return b} +function Mh(a,b){var c=a^b;jf(this,c,128);this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return c}function Nh(a,b){this.A-=this.aa===n?this.P===n?this.B.hc:this.B.Qb:this.B.xc;return jf(this,a^b,this.Na)&this.C}function Oh(a){p.call(this,13,0);return a}function ke(a){p.call(this,6);return a}function Ph(a){ne.call(this);return a}function Qh(){8086==this.sa?(this.kb=-1,Hf.call(this,0,null,2)):p.call(this,0,null,2)}function Rh(){this.A-=this.P===n?2:this.B.Ui;return 1} +function Sh(){var a=this.G&255;this.A-=(this.P===n?this.B.Mg:this.B.Lg)+(a<this.kb?(Re(this),-1!=this.Nc&&($e(this,this.Nc),this.Nc=-1),E(this,this.Ja-this.Ca.Fa),this.ja!=n&&(t(this,this.lb&~this.za.Ga|this.ja-this.za.Fa),this.ja=n),e=!0):8!=this.kb?(b=0,a=8,e=!0):(a=-1,b=0,Ae(this),d=!1)):(Re(this),E(this,this.Ja-this.Ca.Fa));var f=a,h=b,m=32,q=wf(this,this.Ba);204!=q||this.Xd||(d=!1);this.ca&131072&&(6==f&&99==q||13==f&&205==q)&&(d=!1);14==f&&207==q&&(d=!0);!1===d&&(m|=1);983040<=this.Ba&&1048575>=this.Ba&& +(d=!1);this.ta(m|-2147483648)&&(d=!0);if(this.ta(m)||d){var r=this.pa.Hb,f="Fault "+ga(f)+(null!=h?" ("+ia(h)+")":"")+" on opcode "+ga(q);d&&r&&(f+=" (blocked by PCjs Debugger)");this.va(f,d||m,!0)?d&&(d=r,this.fa.Yb()):(this.Ta(f),this.Yb())}d&&(e=!1);if(e)throw this.kb=a,Hf.call(this,a,b,c),this.Ja=this.Ba,this.W=1==a?this.W|8192:this.W|4096,a;}function Ce(a,b,c){this.he=a;a=0;b&&(a|=1);c&&(a|=2);3==this.xa&&(a|=4);p.call(this,14,a)}function le(){this.nd[this.ba()].call(this)} +function oe(){vd(this,u(this)&this.C);this.A-=this.B.Ec}function Td(){this.ja=this.ra;var a=u(this)&this.C;vd(this,this.F&this.C);vd(this,this.G&this.C);vd(this,this.H&this.C);vd(this,this.D&this.C);vd(this,a);vd(this,this.L&this.C);vd(this,this.K&this.C);vd(this,this.J&this.C);this.A-=this.B.Oi;this.ja=n} +function Ud(){this.ja=this.ra;this.J=this.J&~this.C|pd(this);this.K=this.K&~this.C|pd(this);this.L=this.L&~this.C|pd(this);t(this,u(this)+this.ha);this.D=this.D&~this.C|pd(this);this.H=this.H&~this.C|pd(this);this.G=this.G&~this.C|pd(this);this.F=this.F&~this.C|pd(this);this.A-=this.B.Mi;this.ja=n}function Vd(){this.ga[this.ba()].call(this,Zf)}function pe(){!(this.pb&1)||this.ca&131072?p.call(this,6):this.Ea[this.ba()].call(this,Yf)} +function qe(){this.W|=20;this.R=this.S=this.Rb;this.A-=this.B.Zc}function xe(){this.W|=20;this.R=this.S=this.Sb;this.A-=this.B.Zc}function ye(){this.W|=1024;this.Y&1024||(this.ha^=6,this.C^=-65536,Qe(this));this.A-=this.B.Zc}function ze(){this.W|=2048;this.Y&2048||(this.bd^=6,this.Ga^=-65536,He(this));this.A-=this.B.Zc}function Wd(){vd(this,this.Qa());this.A-=this.B.Ec}function Xd(){this.ga[this.ba()].call(this,rg)}function Yd(){vd(this,this.M());this.A-=this.B.Ec} +function Zd(){this.ga[this.ba()].call(this,qg)}function $d(){var a=1,b=0,c=this.Ga,d=5;this.Y&192&&(a=this.G&c,b=1,this.Y&256&&(d=4));if(a--){var e=this.H&65535;vf(this,e,1,!0)&&(e=ic(this.na,e,1,this.Ba-b-1),this.tc(this.eb.uc(this.J&c,1),e),this.W&4096||(this.J=this.J&~c|this.J+(this.ca&1024?-1:1)&c,this.G=this.G&~c|this.G-b&c,this.A-=d,a&&(this.Ba=this.Ja,this.W|=256)))}} +function ae(){var a=1,b=0,c=this.Ga,d=5;this.Y&192&&(a=this.G&c,b=1,this.Y&256&&(d=4));if(a--){var e=this.H&65535;vf(this,e,this.ha,!0)&&(e=ic(this.na,e,this.ha,this.Ba-b-1),this.Bc(this.eb.uc(this.J&c,this.ha),e),this.W&4096||(this.J=this.J&~c|this.J+(this.ca&1024?-this.ha:this.ha)&c,this.G=this.G&~c|this.G-b&c,this.A-=d,a&&(this.Ba=this.Ja,this.W|=256)))}} +function be(){var a=1,b=0,c=this.Ga,d=5;this.Y&192&&(a=this.G&c,b=1,this.Y&256&&(d=4));if(a--){var e=this.H&65535;if(vf(this,e,1,!1)){var f=this.Xa(this.Ab.Cc(this.K&c,1));this.W&4096||(mc(this.na,e,1,f,this.Ba-b-1),this.K=this.K&~c|this.K+(this.ca&1024?-1:1)&c,this.G=this.G&~c|this.G-b&c,this.A-=d,a&&(this.Ba=this.Ja,this.W|=256))}}} +function ce(){var a=1,b=0,c=this.Ga,d=5;this.Y&192&&(a=this.G&c,b=1,this.Y&256&&(d=4));if(a--){var e=ud(this,this.Ab,this.K&c);if(!(this.W&4096)){var f=this.H&65535;vf(this,f,this.ha,!1)&&(mc(this.na,f,this.ha,e,this.Ba-b-1),this.K=this.K&~c|this.K+(this.ca&1024?-this.ha:this.ha)&c,this.G=this.G&~c|this.G-b&c,this.A-=d,a&&(this.Ba=this.Ja,this.W|=256))}}}function Wh(){var a=this.M();hf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb} +function Xh(){var a=this.M();hf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}function Yh(){var a=this.M();cf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb}function Zh(){var a=this.M();cf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}function $h(){var a=this.M();ff(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb}function ai(){var a=this.M();ff(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)} +function bi(){var a=this.M();cf(this)||ff(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb}function ci(){var a=this.M();cf(this)||ff(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}function di(){var a=this.M();gf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb}function ei(){var a=this.M();gf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}function fi(){var a=this.M();df(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb} +function gi(){var a=this.M();df(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}function hi(){var a=this.M();!gf(this)!=!hf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb}function ii(){var a=this.M();!gf(this)==!hf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb}function ji(){var a=this.M();ff(this)||!gf(this)!=!hf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb} +function ki(){var a=this.M();ff(this)||!gf(this)!=!hf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}function li(){this.Tb[this.ba()].call(this,mi,this.ba);this.A-=this.aa===n?1:this.B.Gf}function de(){this.Tb[this.ba()].call(this,ni,Th)}function ee(){this.Va[this.ba()].call(this,2==this.ha?oi:pi,Th)}function qi(){var a=Bf(this),b=pd(this);E(this,b);a&&t(this,u(this)+a);this.A-=this.B.Ti}function ri(){var a=pd(this);E(this,a);this.A-=this.B.Qi} +function he(){this.ja=this.ra;var a=Bf(this),b=this.ba()&31;this.A-=11;vd(this,this.L);var c=u(this)&this.C;if(0>8&255;9<(c&15)||ef(this)?(c=c+6&15,d=d+1&255,a=b=1):a=b=0;this.F=this.F&-65536|d<<8|c;a?kf(this):lf(this); +b?sf(this):qf(this);this.A-=this.B.ee},function(){this.fb[this.ba()].call(this,kg)},function(){this.Ea[this.ba()].call(this,lg)},function(){this.Za[this.ba()].call(this,kg)},function(){this.ga[this.ba()].call(this,lg)},function(){kg.call(this,this.F&255,this.ba());this.A--},function(){lg.call(this,this.F&this.C,this.Qa());this.A--},function(){this.W|=20;this.R=this.S=this.Ab;this.A-=this.B.Zc},function(){var a,b,c=this.F&255,d=this.F>>8&255;9<(c&15)||ef(this)?(c=c-6&15,d=d-1&255,a=b=1):a=b=0;this.F= +this.F&-65536|d<<8|c;a?kf(this):lf(this);b?sf(this):qf(this);this.A-=this.B.ee},function(){this.F=wg.call(this,this.F)},function(){this.G=wg.call(this,this.G)},function(){this.H=wg.call(this,this.H)},function(){this.D=wg.call(this,this.D)},function(){t(this,wg.call(this,u(this)))},function(){this.L=wg.call(this,this.L)},function(){this.K=wg.call(this,this.K)},function(){this.J=wg.call(this,this.J)},function(){this.F=mg.call(this,this.F)},function(){this.G=mg.call(this,this.G)},function(){this.H=mg.call(this, +this.H)},function(){this.D=mg.call(this,this.D)},function(){t(this,mg.call(this,u(this)))},function(){this.L=mg.call(this,this.L)},function(){this.K=mg.call(this,this.K)},function(){this.J=mg.call(this,this.J)},function(){vd(this,this.F&this.C);this.A-=this.B.Ec},function(){vd(this,this.G&this.C);this.A-=this.B.Ec},function(){vd(this,this.H&this.C);this.A-=this.B.Ec},function(){vd(this,this.D&this.C);this.A-=this.B.Ec},function(){vd(this,u(this)-2&65535);this.A-=this.B.Ec},function(){vd(this,this.L& +this.C);this.A-=this.B.Ec},function(){vd(this,this.K&this.C);this.A-=this.B.Ec},function(){vd(this,this.J&this.C);this.A-=this.B.Ec},function(){this.F=this.F&~this.C|pd(this);this.A-=this.B.ic},function(){this.G=this.G&~this.C|pd(this);this.A-=this.B.ic},function(){this.H=this.H&~this.C|pd(this);this.A-=this.B.ic},function(){this.D=this.D&~this.C|pd(this);this.A-=this.B.ic},function(){t(this,u(this)&~this.C|pd(this));this.A-=this.B.ic},function(){this.L=this.L&~this.C|pd(this);this.A-=this.B.ic}, +function(){this.K=this.K&~this.C|pd(this);this.A-=this.B.ic},function(){this.J=this.J&~this.C|pd(this);this.A-=this.B.ic},Wh,Xh,Yh,Zh,$h,ai,bi,ci,di,ei,fi,gi,hi,ii,ji,ki,Wh,Xh,Yh,Zh,$h,ai,bi,ci,di,ei,fi,gi,hi,ii,ji,ki,li,function(){this.Va[this.ba()].call(this,wi,this.Qa);this.A-=this.aa===n?1:this.B.Gf},li,function(){this.Va[this.ba()].call(this,wi,this.M);this.A-=this.aa===n?1:this.B.Gf},function(){this.fb[this.ba()].call(this,rh)},function(){this.Ea[this.ba()].call(this,sh)},function(){this.Za[this.se= +this.ba()].call(this,th)},function(){this.ga[this.se=this.ba()].call(this,Lh)},function(){this.W|=1;this.fb[this.ba()].call(this,Gg)},function(){this.W|=1;this.Ea[this.ba()].call(this,Gg)},function(){this.Za[this.ba()].call(this,Gg)},function(){this.ga[this.ba()].call(this,Gg)},function(){var a=this.ba();switch((a&56)>>3){case 0:this.Bb=this.eb.da;break;case 1:this.Bb=this.Ca.da;break;case 2:this.Bb=this.za.da;break;case 3:this.Bb=this.Ab.da;break;case 4:if(80386<=this.sa){this.Bb=this.Rb.da;break}p.call(this, +6);return;case 5:if(80386<=this.sa){this.Bb=this.Sb.da;break}default:p.call(this,6);return}this.W|=1;this.Ea[a].call(this,Ig)},function(){this.W|=1;this.R=this.S=this.nh;this.ga[this.ba()].call(this,Ag)},function(){var a,b;b=this.ba();var c=(b&56)>>3;switch(c){case 0:a=this.F;break;case 2:a=this.H;break;case 3:a=this.D;break;default:if(80286==this.sa||80386==this.sa&&4!=c&&5!=c){p.call(this,6);return}switch(c){case 1:a=this.G;break;case 4:a=u(this);break;case 5:a=this.L;break;case 6:a=this.K;break; +case 7:a=this.J}}this.ga[b].call(this,Gg);switch(c){case 0:b=this.F;this.F=a;Ad(this,b);break;case 1:b=this.G;this.G=a;$e(this,b);break;case 2:b=this.H;this.H=a;qd(this,b);break;case 3:b=this.D;this.D=a;wd(this,b);break;case 4:b=u(this);t(this,a);80386<=this.sa?this.Rb.load(b):Ad(this,b);break;case 5:b=this.L;this.L=a;80386<=this.sa?this.Sb.load(b):$e(this,b);break;case 6:b=this.K;this.K=a;qd(this,b);break;case 7:b=this.J,this.J=a,wd(this,b)}},function(){this.W|=1;this.Bb=pd(this);this.Va[this.ba()].call(this, +xi,Vh)},function(){this.A-=3},function(){var a=this.F;this.F=this.F&~this.C|this.G&this.C;this.G=this.G&~this.C|a&this.C;this.A-=3},function(){var a=this.F;this.F=this.F&~this.C|this.H&this.C;this.H=this.H&~this.C|a&this.C;this.A-=3},function(){var a=this.F;this.F=this.F&~this.C|this.D&this.C;this.D=this.D&~this.C|a&this.C;this.A-=3},function(){var a=this.F,b=u(this);this.F=this.F&~this.C|b&this.C;t(this,b&~this.C|a&this.C);this.A-=3},function(){var a=this.F;this.F=this.F&~this.C|this.L&this.C;this.L= +this.L&~this.C|a&this.C;this.A-=3},function(){var a=this.F;this.F=this.F&~this.C|this.K&this.C;this.K=this.K&~this.C|a&this.C;this.A-=3},function(){var a=this.F;this.F=this.F&~this.C|this.J&this.C;this.J=this.J&~this.C|a&this.C;this.A-=3},function(){this.F=2==this.ha?this.F&-65536|this.F<<24>>24&65535:this.F<<16>>16;this.A-=2},function(){this.H=2==this.ha?this.H&-65536|(this.F&32768?65535:0):this.F&-2147483648?-1:0;this.A-=this.B.Zh},function(){jg.call(this,this.Qa(),Bf(this));this.A-=this.B.bi}, +function(){this.va("WAIT not implemented");this.A--},function(){var a=Bd(this);a&131072&&3>this.$a?p.call(this,13,0):(vd(this,a&-196609),this.A-=this.B.Ec)},function(){if(this.ca&131072&&3>this.$a)p.call(this,13,0);else{var a=pd(this),a=a&65535|this.ca&-65536;Cd(this,a);this.A-=this.B.ic}},function(){var a=this.F>>8&255;a&1?kf(this):lf(this);a&4?(this.resultType&=-3,this.ca|=4):(this.resultType&=-3,this.ca&=-5);a&16?sf(this):qf(this);a&64?tf(this):rf(this);a&128?(this.resultType&=-17,this.ca|=128): +(this.resultType&=-17,this.ca&=-129);this.A-=this.B.$b},function(){this.F=this.F&-65281|(Bd(this)&213)<<8;this.A-=this.B.$b},function(){var a=this.F&-256,b;b=T(this);b=this.Xa(this.R.Cc(b,1));this.F=a|b;this.A-=this.B.Bg},function(){this.F=this.F&~this.C|ud(this,this.R,T(this));this.A-=this.B.Bg},function(){var a=T(this),b=this.F;this.tc(this.R.uc(a,1),b);this.A-=this.B.Cg},function(){var a=T(this),b=this.F;this.Bc(this.R.uc(a,this.ha),b);this.A-=this.B.Cg},function(){var a=1,b=0,c=this.Ga,d=this.B.Dg; +this.Y&192&&(a=this.G&c,b=1,d=this.B.Fg,this.Y&256||(this.A-=this.B.Eg));if(a--){var e=this.Xa(this.R.Cc(this.K&c,1));this.tc(this.eb.uc(this.J&c,1),e);this.W&4096||(e=this.ca&1024?-1:1,this.K=this.K&~c|this.K+e&c,this.J=this.J&~c|this.J+e&c,this.A-=d,this.G=this.G&~c|this.G-b&c,a&&(this.Ba=this.Ja,this.W|=256))}},function(){var a=1,b=0,c=this.Ga,d=this.B.Dg;this.Y&192&&(a=this.G&c,b=1,d=this.B.Fg,this.Y&256||(this.A-=this.B.Eg));if(a--){var e=ud(this,this.R,this.K&c);this.Bc(this.eb.uc(this.J&c, +this.ha),e);this.W&4096||(e=this.ca&1024?-this.ha:this.ha,this.K=this.K&~c|this.K+e&c,this.J=this.J&~c|this.J+e&c,this.A-=d,this.G=this.G&~c|this.G-b&c,a&&(this.Ba=this.Ja,this.W|=256))}},function(){var a=1,b=0,c=this.Ga,d=this.B.og;this.Y&192&&(a=this.G&c,b=1,d=this.B.qg,this.Y&256||(this.A-=this.B.pg));if(a--){var e=xf(this,this.R,this.K&c),f=zf(this,this.eb,this.J&c);this.W&4096||(kg.call(this,e,f),e=this.ca&1024?-1:1,this.K=this.K&~c|this.K+e&c,this.J=this.J&~c|this.J+e&c,this.G=this.G&~c|this.G- +b&c,this.A-=d-this.B.Qb,a&&ff(this)==(this.Y&64)&&(this.Ba=this.Ja,this.W|=256))}},function(){var a=1,b=0,c=this.Ga,d=this.B.og;this.Y&192&&(a=this.G&c,b=1,d=this.B.qg,this.Y&256||(this.A-=this.B.pg));if(a--){var e=yf(this,this.R,this.K&c),f=Af(this,this.eb,this.J&c);this.W&4096||(lg.call(this,e,f),e=this.ca&1024?-this.ha:this.ha,this.K=this.K&~c|this.K+e&c,this.J=this.J&~c|this.J+e&c,this.G=this.G&~c|this.G-b&c,this.A-=d-this.B.Qb,a&&ff(this)==(this.Y&64)&&(this.Ba=this.Ja,this.W|=256))}},function(){jf(this, +this.F&this.ba(),128);this.A-=this.B.ee},function(){jf(this,this.F&this.Qa(),this.Na);this.A-=this.B.ee},function(){var a=1,b=0,c=this.Ga,d=this.B.Og;this.Y&192&&(a=this.G&c,b=1,d=this.B.Qg,this.Y&256||(this.A-=this.B.Pg));if(a--){var e=this.F;this.tc(this.eb.uc(this.J&c,1),e);this.W&4096||(this.J=this.J&~c|this.J+(this.ca&1024?-1:1)&c,this.G=this.G&~c|this.G-b&c,this.A-=d,a&&(this.Ba=this.Ja,this.W|=256))}},function(){var a=1,b=0,c=this.Ga,d=this.B.Og;this.Y&192&&(a=this.G&c,b=1,d=this.B.Qg,this.Y& +256||(this.A-=this.B.Pg));if(a--){var e=this.F;this.Bc(this.eb.uc(this.J&c,this.ha),e);this.W&4096||(this.J=this.J&~c|this.J+(this.ca&1024?-this.ha:this.ha)&c,this.G=this.G&~c|this.G-b&c,this.A-=d,a&&(this.Ba=this.Ja,this.W|=256))}},function(){var a=1,b=0,c=this.Ga,d=this.B.vg;this.Y&192&&(a=this.G&c,b=1,d=this.B.xg,this.Y&256||(this.A-=this.B.wg));if(a--){var e=this.Xa(this.R.Cc(this.K&c,1));this.W&4096||(this.F=this.F&-256|e,this.K=this.K&~c|this.K+(this.ca&1024?-1:1)&c,this.G=this.G&~c|this.G- +b&c,this.A-=d,a&&(this.Ba=this.Ja,this.W|=256))}},function(){var a=1,b=0,c=this.Ga,d=this.B.vg;this.Y&192&&(a=this.G&c,b=1,d=this.B.xg,this.Y&256||(this.A-=this.B.wg));if(a--){var e=ud(this,this.R,this.K&c);this.W&4096||(this.F=this.F&~this.C|e,this.K=this.K&~c|this.K+(this.ca&1024?-this.ha:this.ha)&c,this.G=this.G&~c|this.G-b&c,this.A-=d,a&&(this.Ba=this.Ja,this.W|=256))}},function(){var a=1,b=0,c=this.Ga,d=this.B.Ig;this.Y&192&&(a=this.G&c,b=1,d=this.B.Kg,this.Y&256||(this.A-=this.B.Jg));a--&&(kg.call(this, +this.F&255,zf(this,this.eb,this.J&c)),this.W&4096||(this.J=this.J&~c|this.J+(this.ca&1024?-1:1)&c,this.G=this.G&~c|this.G-b&c,this.A-=d-this.B.Qb,a&&ff(this)==(this.Y&64)&&(this.Ba=this.Ja,this.W|=256)))},function(){var a=1,b=0,c=this.Ga,d=this.B.Ig;this.Y&192&&(a=this.G&c,b=1,d=this.B.Kg,this.Y&256||(this.A-=this.B.Jg));a--&&(lg.call(this,this.F&this.C,Af(this,this.eb,this.J&c)),this.W&4096||(this.J=this.J&~c|this.J+(this.ca&1024?-this.ha:this.ha)&c,this.G=this.G&~c|this.G-b&c,this.A-=d-this.B.Qb, +a&&ff(this)==(this.Y&64)&&(this.Ba=this.Ja,this.W|=256)))},function(){this.F=this.F&-256|this.ba();this.A-=this.B.$b},function(){this.G=this.G&-256|this.ba();this.A-=this.B.$b},function(){this.H=this.H&-256|this.ba();this.A-=this.B.$b},function(){this.D=this.D&-256|this.ba();this.A-=this.B.$b},function(){this.F=this.F&-65281|this.ba()<<8;this.A-=this.B.$b},function(){this.G=this.G&-65281|this.ba()<<8;this.A-=this.B.$b},function(){this.H=this.H&-65281|this.ba()<<8;this.A-=this.B.$b},function(){this.D= +this.D&-65281|this.ba()<<8;this.A-=this.B.$b},function(){this.F=this.F&~this.C|this.Qa();this.A-=this.B.$b},function(){this.G=this.G&~this.C|this.Qa();this.A-=this.B.$b},function(){this.H=this.H&~this.C|this.Qa();this.A-=this.B.$b},function(){this.D=this.D&~this.C|this.Qa();this.A-=this.B.$b},function(){t(this,u(this)&~this.C|this.Qa());this.A-=this.B.$b},function(){this.L=this.L&~this.C|this.Qa();this.A-=this.B.$b},function(){this.K=this.K&~this.C|this.Qa();this.A-=this.B.$b},function(){this.J=this.J& +~this.C|this.Qa();this.A-=this.B.$b},qi,ri,qi,ri,function(){this.ga[this.ba()].call(this,Bg)},function(){this.ga[this.ba()].call(this,zg)},function(){this.W|=1;this.Tb[this.ba()].call(this,yi,this.ba)},function(){this.W|=1;this.Va[this.ba()].call(this,yi,this.Qa)},si,ti,si,ti,function(){if(this.ca&131072&&3>this.$a)p.call(this,13,0);else{var a=this.B.ti;this.kb=-1;Hf.call(this,3,null,a)}},function(){var a=this.ba();if(this.ca&131072&&3>this.$a)p.call(this,13,0);else{var b;a:{b=this.qe[a];if(void 0!== +b)for(var c=0;cthis.$a)p.call(this,13,0);else{var a=this.B.ui;this.kb=-1;Hf.call(this,4,null,a)}else this.A-=this.B.vi},function(){if(this.ca&131072&&3>this.$a)p.call(this,13,0);else{this.ja=this.ra;this.A-=this.B.ri;if(this.pb&1&&this.ca&16384){var a=this.ya(this.Ya.Fa+0);rd(this.Ca,a,!1)}else{var a=this.xa, +b=pd(this),c=pd(this),d=pd(this);if(this.ca&131072)d=d&131071|this.ca&-131072;else if(d&131072){var e=pd(this),f=pd(this),h=pd(this),m=pd(this),q=pd(this),r=pd(this);sd(this,!0,!0);qd(this,f);t(this,e);Ad(this,h);wd(this,m);this.Rb.load(q);this.Sb.load(r)}null!=Dd(this,b,c,!1)&&(Cd(this,d,a),this.ve&&Ue(this,this.Ba))}this.ja=n}},function(){this.Tb[this.ba()].call(this,ni,Rh)},function(){this.Va[this.ba()].call(this,2==this.ha?oi:pi,Rh)},function(){this.Tb[this.ba()].call(this,ni,Sh)},function(){this.Va[this.ba()].call(this, +2==this.ha?oi:pi,Sh)},function(){var a=this.ba();if(a){var b=this.F&255;this.F=this.F&-65536|b/a<<8|b%a;jf(this,this.F,128);this.A-=this.B.Wh}},function(){var a=this.ba();this.F=this.F&-65536|(this.F>>8&255)*a+this.F&255;jf(this,this.F,128);this.A-=this.B.Vh},function(){this.F=this.F&-256|(cf(this)?255:0);this.A-=2},function(){this.F=this.F&-256|xf(this,this.R,this.D+(this.F&255)&65535);this.A-=this.B.Vi},ui,ui,ui,ui,ui,ui,ui,ui,function(){var a=this.M(),b=this.G-1&this.Ga;this.G=this.G&~this.Ga| +b;b&&!ff(this)?(E(this,v(this)+a),this.A-=this.B.Ci):this.A-=this.B.yg},function(){var a=this.M(),b=this.G-1&this.Ga;this.G=this.G&~this.Ga|b;b&&ff(this)?(E(this,v(this)+a),this.A-=this.B.zg):this.A-=this.B.Ag},function(){var a=this.M(),b=this.G-1&this.Ga;this.G=this.G&~this.Ga|b;b?(E(this,v(this)+a),this.A-=this.B.Bi):this.A-=this.B.yg},function(){var a=this.M();this.G&this.Ga?this.A-=this.B.Ag:(E(this,v(this)+a),this.A-=this.B.zg)},function(){var a=this.ba();vf(this,a,1,!0)&&(this.F=this.F&-256| +ic(this.na,a,1,this.Ba-2)&255,this.A-=this.B.tg)},function(){var a=this.ba();vf(this,a,this.ha,!0)&&(this.F=this.F&~this.C|ic(this.na,a,this.ha,this.Ba-2)&this.C,this.A-=this.B.tg)},function(){var a=this.ba();vf(this,a,1,!1)&&(mc(this.na,a,1,this.F&255,this.Ba-2),this.A-=this.B.Hg)},function(){var a=this.ba();vf(this,a,this.ha,!1)&&(mc(this.na,a,this.ha,this.F&this.C,this.Ba-2),this.A-=this.B.Hg)},function(){var a=this.Qa(),b=v(this),a=b+a;vd(this,b);E(this,a);this.A-=this.B.$h},function(){var a= +this.Qa();E(this,v(this)+a);this.A-=this.B.ug},function(){Dd(this,this.Qa(),Bf(this));this.A-=this.B.xi},function(){var a=this.M();E(this,v(this)+a);this.A-=this.B.ug},function(){var a=this.H&65535;vf(this,a,1,!0)&&(this.F=this.F&-256|ic(this.na,a,1,this.Ba-1)&255,this.A-=this.B.sg)},function(){var a=this.H&65535;vf(this,a,this.ha,!0)&&(this.F=this.F&~this.C|ic(this.na,a,this.ha,this.Ba-1)&this.C,this.A-=this.B.sg)},function(){var a=this.H&65535;vf(this,a,1,!1)&&(mc(this.na,a,1,this.F&255,this.Ba- +1),this.A-=this.B.Gg)},function(){var a=this.H&65535;vf(this,a,2,!1)&&(mc(this.na,a,this.ha,this.F&this.C,this.Ba-1),this.A-=this.B.Gg)},vi,vi,function(){this.W|=132;this.A-=this.B.Zc},function(){this.W|=68;this.A-=this.B.Zc},function(){this.ca&131072?p.call(this,13,0):(this.ua|=4,this.A-=2,this.fa&&this.ta(-2147483648)?(this.Ba=this.Ba+-1|0,this.fa.Yb()):this.ca&512||(this.fa&&(this.Ba=this.Ba+-1|0),this.Yb()))},function(){cf(this)?lf(this):kf(this);this.A-=2},function(){this.Ha=!1;this.Tb[this.ba()].call(this, +Ai,Uh);this.Ha&&(this.F=this.F&~this.C|this.oa&this.C)},function(){this.Ha=!1;this.Va[this.ba()].call(this,Bi,Uh);this.Ha&&(this.F=this.F&~this.C|this.oa&this.C,this.H=this.H&~this.C|this.La&this.C)},function(){lf(this);this.A-=2},function(){kf(this);this.A-=2},function(){this.xa>this.$a?p.call(this,13,0):(this.ca&=-513,this.A-=this.B.Yh)},function(){this.xa>this.$a?p.call(this,13,0):(this.ca|=512,this.W|=4,this.A-=2)},function(){this.ca&=-1025;this.A-=2},function(){this.ca|=1024;this.A-=2},function(){this.Tb[this.ba()].call(this, +Pd,Uh)},function(){this.Va[this.ba()].call(this,Qd,Uh)}],mi=[Uf,Jg,Sf,Mg,Wf,ph,Mh,kg],wi=[Vf,Kg,Tf,Ng,Xf,qh,Nh,lg],xi=[function(a,b){this.A-=this.aa===n?this.B.ic:this.B.Ni;return b},Oh,Oh,Oh,Oh,Oh,Oh,Oh],yi=[function(a,b){this.A-=this.aa===n?this.B.Fi:this.B.Di;return b},Ph,Ph,Ph,Ph,Ph,Ph,Ph],ni=[function(a,b){var c=a,d=b&this.Da;if(d){var e;(d&=7)?(e=a<>8-d)&255):e=a<<7;of(this,c,e,128)}return c},function(a,b){var c=a,d=b&this.Da;if(d){var e;(d&=7)?(e=a<<8-d,c=(a>>>d|e)&255):e=a; +of(this,c,e,128)}return c},function(a,b){var c=a,d=b&this.Da;if(d){var e=pf(this);(d%=9)?(c=(a<>9-d)&255,e=a<>d|e<<8-d|a<<9-d)&255,e=a<<8-d):e<<=7;of(this,c,e,128)}return c},function(a,b){var c=a,d=b&this.Da;if(d){var e=0;8>>c-1,a=c>>>1&255,jf(this,a,128,c&1,a&128));return a}, +Ph,function(a,b){var c=b&this.Da;c&&(9>24>>c-1,a=c>>1&255,jf(this,a,128,c&1));return a}],oi=[function(a,b){var c=a,d=b&this.Da;if(d){var e;(d&=15)?(e=a<>16-d)&65535):e=a<<15;of(this,c,e,32768)}return c},function(a,b){var c=a,d=b&this.Da;if(d){var e;(d&=15)?(e=a<<16-d,c=(a>>>d|e)&65535):e=a;of(this,c,e,32768)}return c},function(a,b){var c=a,d=b&this.Da;if(d){var e=pf(this);(d%=17)?(c=(a<>17-d)&65535,e=a<>d|e<<16-d|a<<17-d)&65535,e=a<<16-d):e<<=15;of(this,c,e,32768)}return c},function(a,b){var c=a,d=b&this.Da;if(d){var e=0;16>>c-1,a=c>>>1&65535,jf(this,a,32768,c&1,a&32768));return a},Ph,function(a,b){var c=b&this.Da;c&&(17>16>>c-1,a=c>>1&65535,jf(this,a,32768,c&1));return a}],pi=[function(a,b){var c= +a,d=b&this.Da;d&&(c=a<>>32-d,of(this,c,a<>>d|e;of(this,c,e,-2147483648)}return c},function(a,b){var c=a,d=b&this.Da;d&&(c=pf(this),c=a<>>32-d>>>1,of(this,c,a<>>d|c<<32-d|a<<32-d<<1,of(this,c,a<<32-d,-2147483648));return c},function(a,b){var c=a,d=b&this.Da;d&&(d=a<>>c-1,a=c>>>1,jf(this,a,-2147483648,c&1,a&-2147483648));return a},Ph,function(a,b){var c=b&this.Da;c&&(c=a>>c-1,a=c>>1,jf(this,a,-2147483648,c&1));return a}],Ai=[function(a,b){b=this.ba();jf(this,a&b,128);this.A-=this.P===n?this.B.Sg:this.B.Rg;this.W|=2;return a},Ph,function(a){this.A-=this.P===n?this.B.gf:this.B.ff;return a^255},function(a){var b=-a|0;bf(this,0,a,b,191,!0);this.A-=this.P===n?this.B.gf:this.B.ff;return b&255},function(a){this.Ha= +!0;this.oa=(this.F&255)*a&65535;this.oa&65280?(kf(this),mf(this)):(lf(this),nf(this));this.A-=this.P===n?this.B.Ji:this.B.Ii;this.W|=2;return a},function(a){var b=(this.F<<24>>24)*(a<<24>>24)|0;this.Ha=!0;this.oa=b&65535;127b?(kf(this),mf(this)):(lf(this),nf(this));this.A-=this.P===n?this.B.ni:this.B.mi;this.W|=2;return a},function(a,b){if(!a)return Qh.call(this),a;var c=(b=this.F&65535)/a;if(255>24,d=(b=this.F<<16>>16)/c|0;if(d!=d<<24>>24||8086==this.sa&&-128==d)return Qh.call(this),a;this.Ha=!0;this.oa=d&255|(b%c&255)<<8;this.A-=this.P===n?this.B.ji:this.B.ii;this.W|=2;return a}],Bi=[function(a,b){b=this.Qa();jf(this,a&b,this.Na);this.A-=this.P===n?this.B.Sg:this.B.Rg;this.W|=2;return a},Ph,function(a){this.A-=this.P===n?this.B.gf:this.B.ff;return a^this.C},function(a){var b=-a|0;bf(this,0,a,b,this.Na| +63,!0);this.A-=this.P===n?this.B.gf:this.B.ff;return b&this.C},function(a,b){if(2==this.ha){b=this.F&65535;var c=b*a|0;this.Ha=!0;this.oa=c&65535;this.La=c>>16&65535}else tg.call(this,a,this.F);this.La?(kf(this),mf(this)):(lf(this),nf(this));this.A-=this.P===n?this.B.Li:this.B.Ki;this.W|=2;return a},function(a,b){var c;2==this.ha?(b=this.F&65535,c=(b<<16>>16)*(a<<16>>16)|0,this.Ha=!0,this.oa=c&65535,this.La=c>>16&65535,c=32767c):(sg.call(this,a,this.F),c=this.La!=this.oa>>31);c?(kf(this), +mf(this)):(lf(this),nf(this));this.A-=this.P===n?this.B.pi:this.B.oi;this.W|=2;return a},function(a,b){if(2==this.ha){if(!a)return Qh.call(this),a;b=65536*(this.H&65535)+(this.F&65535);var c=b/a|0;if(65536<=c)return Qh.call(this),a;this.Ha=!0;this.oa=c&65535;this.La=b%a&65535}else{og.call(this,this.F,this.H,a);if(!this.Ha)return Qh.call(this),a;this.oa|=0;this.La|=0}this.A-=this.P===n?this.B.hi:this.B.gi;this.W|=2;return a},function(a,b){if(2==this.ha){if(!a)return Qh.call(this),a;var c=a<<16>>16, +d=(b=this.H<<16|this.F&65535)/c|0;if(d!=d<<16>>16||8086==this.sa&&-32768==d)return Qh.call(this),a;this.Ha=!0;this.oa=d&65535;this.La=b%c&65535}else{var c=this.F,d=this.H,e=a,f=!1,h=!1;0>e&&(e=-e|0,f=!f);0>d&&(c=-c|0,d=~d+(c?0:1)|0,h=!0,f=!f);og.call(this,c,d,e);2147483647this.sa&&(b=a));vd(this,b);this.A-=this.P===n?this.B.Ec:this.B.Pi;this.W|=2;return a},Oh],me=Array(256); +me[0]=function(){var a=this.ba();16>(a&56)&&(this.W|=1);this.Va[a].call(this,this.kh,Uh)};me[1]=function(){var a=this.ba();a&16||(this.W|=1);this.Va[a].call(this,Ci,Uh)};me[2]=function(){!(this.pb&1)||this.ca&131072?p.call(this,6):this.ga[this.ba()].call(this,xg)};me[3]=function(){!(this.pb&1)||this.ca&131072?p.call(this,6):this.ga[this.ba()].call(this,Eg)}; +me[5]=function(){this.xa?p.call(this,13,0,0,!0):(uf(this,this.ya(2054)),this.J=this.ya(2086),this.K=this.ya(2088),this.L=this.ya(2090),this.D=this.ya(2094),this.H=this.ya(2096),this.G=this.ya(2098),this.F=this.ya(2100),od(this.eb,2102,this.ya(2084)),od(this.Ca,2108,this.ya(2082)),od(this.za,2114,this.ya(2080)),od(this.Ab,2120,this.ya(2078)),Cd(this,this.ya(2072)),E(this,this.ya(2074)),t(this,this.ya(2092)),this.ed=this.ya(2126)|this.Xa(2128)<<16,this.Wd=this.ed+this.ya(2130),od(this.Fc,2132,this.ya(2076)), +this.fd=this.ya(2138)|this.Xa(2140)<<16,this.Xd=this.fd+this.ya(2142),od(this.Ya,2144,this.ya(2070)),this.A-=195)};me[6]=function(){this.xa?p.call(this,13,0):(this.pb&=-9,this.A-=2)};me[11]=Sd;me[166]=Sd;me[255]=Sd;var w=[];w[5]=Sd;w[7]=function(){this.xa?p.call(this,13,0,0,!0):(ne.call(this),this.A-=100)}; +w[32]=function(){if(this.xa)p.call(this,13,0);else{var a,b=this.ba();switch((b&56)>>3){case 0:a=this.pb;break;case 2:a=this.he;break;case 3:a=this.Ed;break;default:ne.call(this);return}Fe(this,b&7,a);this.A-=6}};w[33]=function(){if(this.xa)p.call(this,13,0);else{var a=this.ba(),b=(a&56)>>3;4==b||5==b?ne.call(this):(Fe(this,a&7,this.Oa[b]),this.A-=22)}}; +w[34]=function(){if(this.xa)p.call(this,13,0);else{var a=this.ba(),b=Ee(this,a&7);switch((a&56)>>3){case 0:yg.call(this,b);this.A-=10;break;case 2:this.he=b;this.A-=4;break;case 3:Jd.call(this,b);this.A-=5;break;default:ne.call(this)}}};w[35]=function(){if(this.xa)p.call(this,13,0);else{var a=this.ba(),b=(a&56)>>3;4==b||5==b?ne.call(this):(a=Ee(this,a&7),a!=this.Oa[b]&&(Ve(this,!1),this.Oa[b]=a,Ve(this,!0)),this.A-=4>b?22:14)}}; +w[36]=function(){if(this.xa)p.call(this,13,0);else{var a=this.ba(),b=(a&56)>>3;6>b?ne.call(this):(Fe(this,a&7,this.Ae[b]),this.A-=12)}};w[38]=function(){if(this.xa)p.call(this,13,0);else{var a=this.ba(),b=(a&56)>>3;6>b?ne.call(this):(this.Ae[b]=Ee(this,a&7),this.A-=12)}};w[128]=function(){var a=this.Qa();hf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[129]=function(){var a=this.Qa();hf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}; +w[130]=function(){var a=this.Qa();cf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[131]=function(){var a=this.Qa();cf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)};w[132]=function(){var a=this.Qa();ff(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[133]=function(){var a=this.Qa();ff(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)};w[134]=function(){var a=this.Qa();cf(this)||ff(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb}; +w[135]=function(){var a=this.Qa();cf(this)||ff(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)};w[136]=function(){var a=this.Qa();gf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[137]=function(){var a=this.Qa();gf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)};w[138]=function(){var a=this.Qa();df(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[139]=function(){var a=this.Qa();df(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)}; +w[140]=function(){var a=this.Qa();!gf(this)!=!hf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[141]=function(){var a=this.Qa();!gf(this)==!hf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[142]=function(){var a=this.Qa();ff(this)||!gf(this)!=!hf(this)?(E(this,v(this)+a),this.A-=this.B.bb):this.A-=this.B.cb};w[143]=function(){var a=this.Qa();ff(this)||!gf(this)!=!hf(this)?this.A-=this.B.cb:(E(this,v(this)+a),this.A-=this.B.bb)};w[144]=function(){Og.call(this,Pg)}; +w[145]=function(){Og.call(this,Pg)};w[146]=function(){Og.call(this,Qg)};w[147]=function(){Og.call(this,Rg)};w[148]=function(){Og.call(this,Sg)};w[149]=function(){Og.call(this,Tg)};w[150]=function(){Og.call(this,Ug)};w[151]=function(){Og.call(this,Vg)};w[152]=function(){Og.call(this,Wg)};w[153]=function(){Og.call(this,Xg)};w[154]=function(){Og.call(this,Yg)};w[155]=function(){Og.call(this,Zg)};w[156]=function(){Og.call(this,$g)};w[157]=function(){Og.call(this,ah)};w[158]=function(){Og.call(this,bh)}; +w[159]=function(){Og.call(this,ch)};w[160]=function(){vd(this,this.Rb.da);this.A-=this.B.fe};w[161]=function(){this.ja=this.ra;var a=pd(this);this.Rb.load(a);this.A-=this.B.ic;this.ja=n};w[163]=function(){this.Ea[this.ba()].call(this,fg);this.P!==n&&(this.A-=6)};w[164]=function(){this.Ea[this.ba()].call(this,2==this.ha?fh:gh);this.A-=this.P===n?3:7};w[165]=function(){this.Ea[this.ba()].call(this,2==this.ha?hh:ih);this.A-=this.P===n?3:7};w[168]=function(){vd(this,this.Sb.da);this.A-=this.B.fe}; +w[169]=function(){this.ja=this.ra;var a=pd(this);this.Sb.load(a);this.A-=this.B.ic;this.ja=n};w[171]=function(){this.Ea[this.ba()].call(this,ig);this.P!==n&&(this.A-=5)};w[172]=function(){this.Ea[this.ba()].call(this,2==this.ha?lh:mh);this.A-=this.P===n?3:7};w[173]=function(){this.Ea[this.ba()].call(this,2==this.ha?nh:oh);this.A-=this.P===n?3:7};w[175]=function(){this.ga[this.ba()].call(this,2==this.ha?ug:vg)};w[178]=function(){this.ga[this.ba()].call(this,Fg)}; +w[179]=function(){this.Ea[this.ba()].call(this,hg);this.P!==n&&(this.A-=5)};w[180]=function(){this.ga[this.ba()].call(this,Cg)};w[181]=function(){this.ga[this.ba()].call(this,Dg)}; +w[182]=function(){var a,b=this.ba(),c=(b&56)>>3;switch(c){case 4:a=this.F;break;case 5:a=this.G;break;case 6:a=this.H;break;case 7:a=this.D}this.Za[b].call(this,Hg);switch(c){case 0:this.F=this.F&~this.C|this.F&255;break;case 1:this.G=this.G&~this.C|this.G&255;break;case 2:this.H=this.H&~this.C|this.H&255;break;case 3:this.D=this.D&~this.C|this.D&255;break;case 4:this.lb=this.lb&~this.C|this.F>>8&255;this.F=a;break;case 5:this.L=this.L&~this.C|this.G>>8&255;this.G=a;break;case 6:this.K=this.K&~this.C| +this.H>>8&255;this.H=a;break;case 7:this.J=this.J&~this.C|this.D>>8&255,this.D=a}this.A-=this.P===n?3:6};w[183]=function(){var a=this.ba();td(this,2);this.ga[a].call(this,Hg);switch((a&56)>>3){case 0:this.F=this.F&65535;break;case 1:this.G=this.G&65535;break;case 2:this.H=this.H&65535;break;case 3:this.D=this.D&65535;break;case 4:this.lb=this.lb&65535;break;case 5:this.L=this.L&65535;break;case 6:this.K=this.K&65535;break;case 7:this.J=this.J&65535}this.A-=this.P===n?3:6}; +w[186]=function(){this.Va[this.ba()].call(this,Di,this.ba)};w[187]=function(){this.Ea[this.ba()].call(this,gg);this.P!==n&&(this.A-=5)};w[188]=function(){this.ga[this.ba()].call(this,$f)};w[189]=function(){this.ga[this.ba()].call(this,ag)}; +w[190]=function(){var a,b=this.ba(),c=(b&56)>>3;switch(c){case 4:a=this.F;break;case 5:a=this.G;break;case 6:a=this.H;break;case 7:a=this.D}this.Za[b].call(this,Hg);switch(c){case 0:this.F=this.F&~this.C|(this.F&255)<<24>>24&this.C;break;case 1:this.G=this.G&~this.C|(this.G&255)<<24>>24&this.C;break;case 2:this.H=this.H&~this.C|(this.H&255)<<24>>24&this.C;break;case 3:this.D=this.D&~this.C|(this.D&255)<<24>>24&this.C;break;case 4:this.lb=this.lb&~this.C|this.F<<16>>24&this.C;this.F=a;break;case 5:this.L= this.L&~this.C|this.G<<16>>24&this.C;this.G=a;break;case 6:this.K=this.K&~this.C|this.H<<16>>24&this.C;this.H=a;break;case 7:this.J=this.J&~this.C|this.D<<16>>24&this.C,this.D=a}this.A-=this.P===n?3:6}; -w[191]=function(){var a=this.ba();Pe(this);this.ga[a].call(this,Eg);switch((a&56)>>3){case 0:this.F=this.F<<16>>16;break;case 1:this.G=this.G<<16>>16;break;case 2:this.H=this.H<<16>>16;break;case 3:this.D=this.D<<16>>16;break;case 4:this.kb=this.kb<<16>>16;break;case 5:this.L=this.L<<16>>16;break;case 6:this.K=this.K<<16>>16;break;case 7:this.J=this.J<<16>>16}this.A-=this.P===n?3:6}; -var Ve=[function(){this.A-=2+(this.P===n?0:1);return this.Fc.da},function(){this.A-=2+(this.P===n?0:1);return this.Ya.da},function(a){this.W|=2;this.Fc.load(a);this.A-=17+(this.P===n?0:2);return a},function(a){this.W|=2;this.Ya.load(a)!==n&&(this.Ib(this.Ya.ac+4,this.Ya.Cb|=512),this.Ya.type|=512);this.A-=17+(this.P===n?0:2);return a},function(a){this.W|=2;this.A-=14+(this.P===n?0:2);if(this.Ja.load(a)!==n&&2048!=(this.Ja.Cb&2560)&&(this.Ja.Dc>=this.ua&&this.Ja.Dc>=(a&3)||7168==(this.Ja.Cb&7168)))return sf(this), -a;qf(this);return a},function(a){this.W|=2;this.A-=14+(this.P===n?0:2);if(this.Ja.load(a)!==n&&512==(this.Ja.Cb&2560)&&this.Ja.Dc>=this.ua&&this.Ja.Dc>=(a&3))return sf(this),a;qf(this);return a},Nh,Nh],Qd=[je,je,je,je,je,je,Nh,Nh],Ai=[function(a){if(this.P===n)p.call(this,6);else{a=this.Wd-this.ed;var b=this.ed;80286==this.sa?b|=-16777216:80386<=this.sa&&(2==this.ha?b&=16777215:a|=b<<16);this.Ub(this.P+2,b);this.A-=11}return a},function(a){if(this.P===n)p.call(this,6);else{a=this.Xd-this.fd;var b= -this.fd;80286==this.sa?b|=-16777216:80386<=this.sa&&(2==this.ha?b&=16777215:a|=b<<16);this.Ub(this.P+2,b);this.A-=12}return a},function(a){this.P===n||this.ca&131072?p.call(this,6):(this.ed=this.mb(this.P+2)&(this.C|this.C<<8),a&=65535,this.Wd=this.ed+a,this.W|=2,this.A-=11);return a},function(a){this.P===n||this.ca&131072?p.call(this,6):(this.fd=this.mb(this.P+2)&(this.C|this.C<<8),a&=65535,this.Xd=this.fd+a,this.W|=2,this.A-=12);return a},function(){this.A-=2+(this.P===n?0:1);return this.ob},Nh, -function(a){this.ca&131072?p.call(this,6):(tf(this,a),this.A-=this.P===n?3:6,this.W|=2);return a},Nh],Bi=[Nh,Nh,Nh,Nh,ag,dg,cg,bg],y=[function(a){a=a.call(this,this.F&255,F(this,this.D+this.K));this.F=this.F&-256|a;this.A-=this.B.ka},function(a){a=a.call(this,this.F&255,F(this,this.D+this.J));this.F=this.F&-256|a;this.A-=this.B.la},function(a){a=a.call(this,this.F&255,G(this,this.L+this.K));this.F=this.F&-256|a;this.A-=this.B.la},function(a){a=a.call(this,this.F&255,G(this,this.L+this.J));this.F= +w[191]=function(){var a=this.ba();td(this,2);this.ga[a].call(this,Hg);switch((a&56)>>3){case 0:this.F=this.F<<16>>16;break;case 1:this.G=this.G<<16>>16;break;case 2:this.H=this.H<<16>>16;break;case 3:this.D=this.D<<16>>16;break;case 4:this.lb=this.lb<<16>>16;break;case 5:this.L=this.L<<16>>16;break;case 6:this.K=this.K<<16>>16;break;case 7:this.J=this.J<<16>>16}this.A-=this.P===n?3:6}; +var We=[function(){this.A-=2+(this.P===n?0:1);return this.Fc.da},function(){this.A-=2+(this.P===n?0:1);return this.Ya.da},function(a){this.W|=2;this.Fc.load(a);this.A-=17+(this.P===n?0:2);return a},function(a){this.W|=2;this.Ya.load(a)!==n&&(this.Ib(this.Ya.bc+4,this.Ya.Cb|=512),this.Ya.type|=512);this.A-=17+(this.P===n?0:2);return a},function(a){this.W|=2;this.A-=14+(this.P===n?0:2);if(this.Ma.load(a)!==n&&2048!=(this.Ma.Cb&2560)&&(this.Ma.Dc>=this.xa&&this.Ma.Dc>=(a&3)||7168==(this.Ma.Cb&7168)))return tf(this), +a;rf(this);return a},function(a){this.W|=2;this.A-=14+(this.P===n?0:2);if(this.Ma.load(a)!==n&&512==(this.Ma.Cb&2560)&&this.Ma.Dc>=this.xa&&this.Ma.Dc>=(a&3))return tf(this),a;rf(this);return a},Ph,Ph],Rd=[ke,ke,ke,ke,ke,ke,Ph,Ph],Ci=[function(a){if(this.P===n)p.call(this,6);else{a=this.Wd-this.ed;var b=this.ed;80286==this.sa?b|=-16777216:80386<=this.sa&&(2==this.ha?b&=16777215:a|=b<<16);this.Ub(this.P+2,b);this.A-=11}return a},function(a){if(this.P===n)p.call(this,6);else{a=this.Xd-this.fd;var b= +this.fd;80286==this.sa?b|=-16777216:80386<=this.sa&&(2==this.ha?b&=16777215:a|=b<<16);this.Ub(this.P+2,b);this.A-=12}return a},function(a){this.P===n||this.ca&131072?p.call(this,6):(this.ed=this.nb(this.P+2)&(this.C|this.C<<8),a&=65535,this.Wd=this.ed+a,this.W|=2,this.A-=11);return a},function(a){this.P===n||this.ca&131072?p.call(this,6):(this.fd=this.nb(this.P+2)&(this.C|this.C<<8),a&=65535,this.Xd=this.fd+a,this.W|=2,this.A-=12);return a},function(){this.A-=2+(this.P===n?0:1);return this.pb},Ph, +function(a){this.ca&131072?p.call(this,6):(uf(this,a),this.A-=this.P===n?3:6,this.W|=2);return a},Ph],Di=[Ph,Ph,Ph,Ph,bg,eg,dg,cg],y=[function(a){a=a.call(this,this.F&255,F(this,this.D+this.K));this.F=this.F&-256|a;this.A-=this.B.ka},function(a){a=a.call(this,this.F&255,F(this,this.D+this.J));this.F=this.F&-256|a;this.A-=this.B.la},function(a){a=a.call(this,this.F&255,G(this,this.L+this.K));this.F=this.F&-256|a;this.A-=this.B.la},function(a){a=a.call(this,this.F&255,G(this,this.L+this.J));this.F= this.F&-256|a;this.A-=this.B.ka},function(a){a=a.call(this,this.F&255,F(this,this.K));this.F=this.F&-256|a;this.A-=this.B.N},function(a){a=a.call(this,this.F&255,F(this,this.J));this.F=this.F&-256|a;this.A-=this.B.N},function(a){a=a.call(this,this.F&255,F(this,T(this)));this.F=this.F&-256|a;this.A-=this.B.ma},function(a){a=a.call(this,this.F&255,F(this,this.D));this.F=this.F&-256|a;this.A-=this.B.N},function(a){a=a.call(this,this.G&255,F(this,this.D+this.K));this.G=this.G&-256|a;this.A-=this.B.ka}, function(a){a=a.call(this,this.G&255,F(this,this.D+this.J));this.G=this.G&-256|a;this.A-=this.B.la},function(a){a=a.call(this,this.G&255,G(this,this.L+this.K));this.G=this.G&-256|a;this.A-=this.B.la},function(a){a=a.call(this,this.G&255,G(this,this.L+this.J));this.G=this.G&-256|a;this.A-=this.B.ka},function(a){a=a.call(this,this.G&255,F(this,this.K));this.G=this.G&-256|a;this.A-=this.B.N},function(a){a=a.call(this,this.G&255,F(this,this.J));this.G=this.G&-256|a;this.A-=this.B.N},function(a){a=a.call(this, this.G&255,F(this,T(this)));this.G=this.G&-256|a;this.A-=this.B.ma},function(a){a=a.call(this,this.G&255,F(this,this.D));this.G=this.G&-256|a;this.A-=this.B.N},function(a){a=a.call(this,this.H&255,F(this,this.D+this.K));this.H=this.H&-256|a;this.A-=this.B.ka},function(a){a=a.call(this,this.H&255,F(this,this.D+this.J));this.H=this.H&-256|a;this.A-=this.B.la},function(a){a=a.call(this,this.H&255,G(this,this.L+this.K));this.H=this.H&-256|a;this.A-=this.B.la},function(a){a=a.call(this,this.H&255,G(this, @@ -294,7 +295,7 @@ this.F>>8&255,this.F&255);this.F=this.F&-65281|a<<8},function(a){a=a.call(this,t -65281|a<<8},function(a){a=a.call(this,this.G>>8&255,this.G>>8&255);this.G=this.G&-65281|a<<8},function(a){a=a.call(this,this.G>>8&255,this.H>>8&255);this.G=this.G&-65281|a<<8},function(a){a=a.call(this,this.G>>8&255,this.D>>8&255);this.G=this.G&-65281|a<<8},function(a){a=a.call(this,this.H>>8&255,this.F&255);this.H=this.H&-65281|a<<8},function(a){a=a.call(this,this.H>>8&255,this.G&255);this.H=this.H&-65281|a<<8},function(a){a=a.call(this,this.H>>8&255,this.H&255);this.H=this.H&-65281|a<<8},function(a){a= a.call(this,this.H>>8&255,this.D&255);this.H=this.H&-65281|a<<8},function(a){a=a.call(this,this.H>>8&255,this.F>>8&255);this.H=this.H&-65281|a<<8},function(a){a=a.call(this,this.H>>8&255,this.G>>8&255);this.H=this.H&-65281|a<<8},function(a){a=a.call(this,this.H>>8&255,this.H>>8&255);this.H=this.H&-65281|a<<8},function(a){a=a.call(this,this.H>>8&255,this.D>>8&255);this.H=this.H&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.F&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>> 8&255,this.G&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.H&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.D&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.F>>8&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.G>>8&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.H>>8&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.D>>8&255); -this.D=this.D&-65281|a<<8}],He=[function(a){a=a.call(this,L(this,this.D+this.K),this.F&255);R(this,a);this.A-=this.B.ka},function(a){a=a.call(this,L(this,this.D+this.J),this.F&255);R(this,a);this.A-=this.B.la},function(a){a=a.call(this,M(this,this.L+this.K),this.F&255);R(this,a);this.A-=this.B.la},function(a){a=a.call(this,M(this,this.L+this.J),this.F&255);R(this,a);this.A-=this.B.ka},function(a){a=a.call(this,L(this,this.K),this.F&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this, +this.D=this.D&-65281|a<<8}],Ie=[function(a){a=a.call(this,L(this,this.D+this.K),this.F&255);R(this,a);this.A-=this.B.ka},function(a){a=a.call(this,L(this,this.D+this.J),this.F&255);R(this,a);this.A-=this.B.la},function(a){a=a.call(this,M(this,this.L+this.K),this.F&255);R(this,a);this.A-=this.B.la},function(a){a=a.call(this,M(this,this.L+this.J),this.F&255);R(this,a);this.A-=this.B.ka},function(a){a=a.call(this,L(this,this.K),this.F&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this, this.J),this.F&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,T(this)),this.F&255);R(this,a);this.A-=this.B.ma},function(a){a=a.call(this,L(this,this.D),this.F&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.D+this.K),this.G&255);R(this,a);this.A-=this.B.ka},function(a){a=a.call(this,L(this,this.D+this.J),this.G&255);R(this,a);this.A-=this.B.la},function(a){a=a.call(this,M(this,this.L+this.K),this.G&255);R(this,a);this.A-=this.B.la},function(a){a=a.call(this, M(this,this.L+this.J),this.G&255);R(this,a);this.A-=this.B.ka},function(a){a=a.call(this,L(this,this.K),this.G&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.J),this.G&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,T(this)),this.G&255);R(this,a);this.A-=this.B.ma},function(a){a=a.call(this,L(this,this.D),this.G&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.D+this.K),this.H&255);R(this,a);this.A-=this.B.ka},function(a){a=a.call(this, L(this,this.D+this.J),this.H&255);R(this,a);this.A-=this.B.la},function(a){a=a.call(this,M(this,this.L+this.K),this.H&255);R(this,a);this.A-=this.B.la},function(a){a=a.call(this,M(this,this.L+this.J),this.H&255);R(this,a);this.A-=this.B.ka},function(a){a=a.call(this,L(this,this.K),this.H&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.J),this.H&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,T(this)),this.H&255);R(this,a);this.A-=this.B.ma},function(a){a=a.call(this, @@ -329,7 +330,7 @@ a);this.A-=this.B.U},function(a){a=a.call(this,M(this,this.L+this.J+T(this)),thi a.call(this,L(this,this.D+this.K+T(this)),this.H>>8&255);R(this,a);this.A-=this.B.T},function(a){a=a.call(this,L(this,this.D+this.J+T(this)),this.H>>8&255);R(this,a);this.A-=this.B.U},function(a){a=a.call(this,M(this,this.L+this.K+T(this)),this.H>>8&255);R(this,a);this.A-=this.B.U},function(a){a=a.call(this,M(this,this.L+this.J+T(this)),this.H>>8&255);R(this,a);this.A-=this.B.T},function(a){a=a.call(this,L(this,this.K+T(this)),this.H>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this, this.J+T(this)),this.H>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,M(this,this.L+T(this)),this.H>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this,this.D+T(this)),this.H>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this,this.D+this.K+T(this)),this.D>>8&255);R(this,a);this.A-=this.B.T},function(a){a=a.call(this,L(this,this.D+this.J+T(this)),this.D>>8&255);R(this,a);this.A-=this.B.U},function(a){a=a.call(this,M(this,this.L+this.K+T(this)),this.D>> 8&255);R(this,a);this.A-=this.B.U},function(a){a=a.call(this,M(this,this.L+this.J+T(this)),this.D>>8&255);R(this,a);this.A-=this.B.T},function(a){a=a.call(this,L(this,this.K+T(this)),this.D>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this,this.J+T(this)),this.D>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,M(this,this.L+T(this)),this.D>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this,this.D+T(this)),this.D>>8&255);R(this,a);this.A-=this.B.I}, -y[192],y[200],y[208],y[216],y[224],y[232],y[240],y[248],y[193],y[201],y[209],y[217],y[225],y[233],y[241],y[249],y[194],y[202],y[210],y[218],y[226],y[234],y[242],y[250],y[195],y[203],y[211],y[219],y[227],y[235],y[243],y[251],y[196],y[204],y[212],y[220],y[228],y[236],y[244],y[252],y[197],y[205],y[213],y[221],y[229],y[237],y[245],y[253],y[198],y[206],y[214],y[222],y[230],y[238],y[246],y[254],y[199],y[207],y[215],y[223],y[231],y[239],y[247],y[255]],Ie=[function(a,b){var c=a[0].call(this,L(this,this.D+ +y[192],y[200],y[208],y[216],y[224],y[232],y[240],y[248],y[193],y[201],y[209],y[217],y[225],y[233],y[241],y[249],y[194],y[202],y[210],y[218],y[226],y[234],y[242],y[250],y[195],y[203],y[211],y[219],y[227],y[235],y[243],y[251],y[196],y[204],y[212],y[220],y[228],y[236],y[244],y[252],y[197],y[205],y[213],y[221],y[229],y[237],y[245],y[253],y[198],y[206],y[214],y[222],y[230],y[238],y[246],y[254],y[199],y[207],y[215],y[223],y[231],y[239],y[247],y[255]],Je=[function(a,b){var c=a[0].call(this,L(this,this.D+ this.K),b.call(this));R(this,c);this.A-=this.B.ka},function(a,b){var c=a[0].call(this,L(this,this.D+this.J),b.call(this));R(this,c);this.A-=this.B.la},function(a,b){var c=a[0].call(this,M(this,this.L+this.K),b.call(this));R(this,c);this.A-=this.B.la},function(a,b){var c=a[0].call(this,M(this,this.L+this.J),b.call(this));R(this,c);this.A-=this.B.ka},function(a,b){var c=a[0].call(this,L(this,this.K),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,L(this,this.J),b.call(this)); R(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,L(this,T(this)),b.call(this));R(this,c);this.A-=this.B.ma},function(a,b){var c=a[0].call(this,L(this,this.D),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,L(this,this.D+this.K),b.call(this));R(this,c);this.A-=this.B.ka},function(a,b){var c=a[1].call(this,L(this,this.D+this.J),b.call(this));R(this,c);this.A-=this.B.la},function(a,b){var c=a[1].call(this,M(this,this.L+this.K),b.call(this));R(this,c);this.A-= this.B.la},function(a,b){var c=a[1].call(this,M(this,this.L+this.J),b.call(this));R(this,c);this.A-=this.B.ka},function(a,b){var c=a[1].call(this,L(this,this.K),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,L(this,this.J),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,L(this,T(this)),b.call(this));R(this,c);this.A-=this.B.ma},function(a,b){var c=a[1].call(this,L(this,this.D),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c= @@ -430,7 +431,7 @@ u(this)&this.C,u(this)&this.C);t(this,u(this)&~this.C|a)},function(a){a=a.call(t this.H&this.C);this.L=this.L&~this.C|a},function(a){a=a.call(this,this.L&this.C,this.D&this.C);this.L=this.L&~this.C|a},function(a){a=a.call(this,this.L&this.C,u(this)&this.C);this.L=this.L&~this.C|a},function(a){a=a.call(this,this.L&this.C,this.L&this.C);this.L=this.L&~this.C|a},function(a){a=a.call(this,this.L&this.C,this.K&this.C);this.L=this.L&~this.C|a},function(a){a=a.call(this,this.L&this.C,this.J&this.C);this.L=this.L&~this.C|a},function(a){a=a.call(this,this.K&this.C,this.F&this.C);this.K= this.K&~this.C|a},function(a){a=a.call(this,this.K&this.C,this.G&this.C);this.K=this.K&~this.C|a},function(a){a=a.call(this,this.K&this.C,this.H&this.C);this.K=this.K&~this.C|a},function(a){a=a.call(this,this.K&this.C,this.D&this.C);this.K=this.K&~this.C|a},function(a){a=a.call(this,this.K&this.C,u(this)&this.C);this.K=this.K&~this.C|a},function(a){a=a.call(this,this.K&this.C,this.L&this.C);this.K=this.K&~this.C|a},function(a){a=a.call(this,this.K&this.C,this.K&this.C);this.K=this.K&~this.C|a},function(a){a= a.call(this,this.K&this.C,this.J&this.C);this.K=this.K&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.F&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.G&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.H&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.D&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,u(this)&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C, -this.L&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.K&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.J&this.C);this.J=this.J&~this.C|a}],Je=[function(a){a=a.call(this,P(this,this.D+this.K),this.F&this.C);S(this,a);this.A-=this.B.ka},function(a){a=a.call(this,P(this,this.D+this.J),this.F&this.C);S(this,a);this.A-=this.B.la},function(a){a=a.call(this,Q(this,this.L+this.K),this.F&this.C);S(this,a);this.A-=this.B.la},function(a){a=a.call(this, +this.L&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.K&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.J&this.C);this.J=this.J&~this.C|a}],Ke=[function(a){a=a.call(this,P(this,this.D+this.K),this.F&this.C);S(this,a);this.A-=this.B.ka},function(a){a=a.call(this,P(this,this.D+this.J),this.F&this.C);S(this,a);this.A-=this.B.la},function(a){a=a.call(this,Q(this,this.L+this.K),this.F&this.C);S(this,a);this.A-=this.B.la},function(a){a=a.call(this, Q(this,this.L+this.J),this.F&this.C);S(this,a);this.A-=this.B.ka},function(a){a=a.call(this,P(this,this.K),this.F&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.J),this.F&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,T(this)),this.F&this.C);S(this,a);this.A-=this.B.ma},function(a){a=a.call(this,P(this,this.D),this.F&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.D+this.K),this.G&this.C);S(this,a);this.A-=this.B.ka},function(a){a= a.call(this,P(this,this.D+this.J),this.G&this.C);S(this,a);this.A-=this.B.la},function(a){a=a.call(this,Q(this,this.L+this.K),this.G&this.C);S(this,a);this.A-=this.B.la},function(a){a=a.call(this,Q(this,this.L+this.J),this.G&this.C);S(this,a);this.A-=this.B.ka},function(a){a=a.call(this,P(this,this.K),this.G&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.J),this.G&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,T(this)),this.G&this.C);S(this,a);this.A-= this.B.ma},function(a){a=a.call(this,P(this,this.D),this.G&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.D+this.K),this.H&this.C);S(this,a);this.A-=this.B.ka},function(a){a=a.call(this,P(this,this.D+this.J),this.H&this.C);S(this,a);this.A-=this.B.la},function(a){a=a.call(this,Q(this,this.L+this.K),this.H&this.C);S(this,a);this.A-=this.B.la},function(a){a=a.call(this,Q(this,this.L+this.J),this.H&this.C);S(this,a);this.A-=this.B.ka},function(a){a=a.call(this,P(this,this.K), @@ -466,7 +467,7 @@ Q(this,this.L+this.J+T(this)),this.L&this.C);S(this,a);this.A-=this.B.T},functio this.C);S(this,a);this.A-=this.B.T},function(a){a=a.call(this,P(this,this.D+this.J+T(this)),this.K&this.C);S(this,a);this.A-=this.B.U},function(a){a=a.call(this,Q(this,this.L+this.K+T(this)),this.K&this.C);S(this,a);this.A-=this.B.U},function(a){a=a.call(this,Q(this,this.L+this.J+T(this)),this.K&this.C);S(this,a);this.A-=this.B.T},function(a){a=a.call(this,P(this,this.K+T(this)),this.K&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,this.J+T(this)),this.K&this.C);S(this,a);this.A-= this.B.I},function(a){a=a.call(this,Q(this,this.L+T(this)),this.K&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,this.D+T(this)),this.K&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,this.D+this.K+T(this)),this.J&this.C);S(this,a);this.A-=this.B.T},function(a){a=a.call(this,P(this,this.D+this.J+T(this)),this.J&this.C);S(this,a);this.A-=this.B.U},function(a){a=a.call(this,Q(this,this.L+this.K+T(this)),this.J&this.C);S(this,a);this.A-=this.B.U},function(a){a= a.call(this,Q(this,this.L+this.J+T(this)),this.J&this.C);S(this,a);this.A-=this.B.T},function(a){a=a.call(this,P(this,this.K+T(this)),this.J&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,this.J+T(this)),this.J&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,Q(this,this.L+T(this)),this.J&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,this.D+T(this)),this.J&this.C);S(this,a);this.A-=this.B.I},A[192],A[200],A[208],A[216],A[224],A[232],A[240], -A[248],A[193],A[201],A[209],A[217],A[225],A[233],A[241],A[249],A[194],A[202],A[210],A[218],A[226],A[234],A[242],A[250],A[195],A[203],A[211],A[219],A[227],A[235],A[243],A[251],A[196],A[204],A[212],A[220],A[228],A[236],A[244],A[252],A[197],A[205],A[213],A[221],A[229],A[237],A[245],A[253],A[198],A[206],A[214],A[222],A[230],A[238],A[246],A[254],A[199],A[207],A[215],A[223],A[231],A[239],A[247],A[255]],Ke=[function(a,b){var c=a[0].call(this,P(this,this.D+this.K),b.call(this));S(this,c);this.A-=this.B.ka}, +A[248],A[193],A[201],A[209],A[217],A[225],A[233],A[241],A[249],A[194],A[202],A[210],A[218],A[226],A[234],A[242],A[250],A[195],A[203],A[211],A[219],A[227],A[235],A[243],A[251],A[196],A[204],A[212],A[220],A[228],A[236],A[244],A[252],A[197],A[205],A[213],A[221],A[229],A[237],A[245],A[253],A[198],A[206],A[214],A[222],A[230],A[238],A[246],A[254],A[199],A[207],A[215],A[223],A[231],A[239],A[247],A[255]],Le=[function(a,b){var c=a[0].call(this,P(this,this.D+this.K),b.call(this));S(this,c);this.A-=this.B.ka}, function(a,b){var c=a[0].call(this,P(this,this.D+this.J),b.call(this));S(this,c);this.A-=this.B.la},function(a,b){var c=a[0].call(this,Q(this,this.L+this.K),b.call(this));S(this,c);this.A-=this.B.la},function(a,b){var c=a[0].call(this,Q(this,this.L+this.J),b.call(this));S(this,c);this.A-=this.B.ka},function(a,b){var c=a[0].call(this,P(this,this.K),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,P(this,this.J),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c= a[0].call(this,P(this,T(this)),b.call(this));S(this,c);this.A-=this.B.ma},function(a,b){var c=a[0].call(this,P(this,this.D),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,P(this,this.D+this.K),b.call(this));S(this,c);this.A-=this.B.ka},function(a,b){var c=a[1].call(this,P(this,this.D+this.J),b.call(this));S(this,c);this.A-=this.B.la},function(a,b){var c=a[1].call(this,Q(this,this.L+this.K),b.call(this));S(this,c);this.A-=this.B.la},function(a,b){var c=a[1].call(this, Q(this,this.L+this.J),b.call(this));S(this,c);this.A-=this.B.ka},function(a,b){var c=a[1].call(this,P(this,this.K),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,P(this,this.J),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,P(this,T(this)),b.call(this));S(this,c);this.A-=this.B.ma},function(a,b){var c=a[1].call(this,P(this,this.D),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[2].call(this,P(this,this.D+this.K),b.call(this)); @@ -564,7 +565,7 @@ a.call(this,this.F>>8&255,this.G&255);this.F=this.F&-65281|a<<8},function(a){a=a 8&255,this.D>>8&255);this.F=this.F&-65281|a<<8},function(a){a=a.call(this,this.G>>8&255,this.F&255);this.G=this.G&-65281|a<<8},function(a){a=a.call(this,this.G>>8&255,this.G&255);this.G=this.G&-65281|a<<8},function(a){a=a.call(this,this.G>>8&255,this.H&255);this.G=this.G&-65281|a<<8},function(a){a=a.call(this,this.G>>8&255,this.D&255);this.G=this.G&-65281|a<<8},function(a){a=a.call(this,this.G>>8&255,this.F>>8&255);this.G=this.G&-65281|a<<8},function(a){a=a.call(this,this.G>>8&255,this.G>>8&255); this.G=this.G&-65281|a<<8},function(a){a=a.call(this,this.G>>8&255,this.H>>8&255);this.G=this.G&-65281|a<<8},function(a){a=a.call(this,this.G>>8&255,this.D>>8&255);this.G=this.G&-65281|a<<8},function(a){a=a.call(this,this.H>>8&255,this.F&255);this.H=this.H&-65281|a<<8},function(a){a=a.call(this,this.H>>8&255,this.G&255);this.H=this.H&-65281|a<<8},function(a){a=a.call(this,this.H>>8&255,this.H&255);this.H=this.H&-65281|a<<8},function(a){a=a.call(this,this.H>>8&255,this.D&255);this.H=this.H&-65281| a<<8},function(a){a=a.call(this,this.H>>8&255,this.F>>8&255);this.H=this.H&-65281|a<<8},function(a){a=a.call(this,this.H>>8&255,this.G>>8&255);this.H=this.H&-65281|a<<8},function(a){a=a.call(this,this.H>>8&255,this.H>>8&255);this.H=this.H&-65281|a<<8},function(a){a=a.call(this,this.H>>8&255,this.D>>8&255);this.H=this.H&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.F&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.G&255);this.D=this.D&-65281|a<<8},function(a){a= -a.call(this,this.D>>8&255,this.H&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.D&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.F>>8&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.G>>8&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.H>>8&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.D>>8&255);this.D=this.D&-65281|a<<8}],Le=[function(a){a=a.call(this, +a.call(this,this.D>>8&255,this.H&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.D&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.F>>8&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.G>>8&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.H>>8&255);this.D=this.D&-65281|a<<8},function(a){a=a.call(this,this.D>>8&255,this.D>>8&255);this.D=this.D&-65281|a<<8}],Me=[function(a){a=a.call(this, L(this,this.F),this.F&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.G),this.F&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.H),this.F&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.D),this.F&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,U(this,0)),this.F&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,T(this)),this.F&255);R(this,a);this.A-=this.B.ma},function(a){a=a.call(this,L(this,this.K), this.F&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.J),this.F&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.F),this.G&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.G),this.G&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.H),this.G&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.D),this.G&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,U(this,0)),this.G&255); R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,T(this)),this.G&255);R(this,a);this.A-=this.B.ma},function(a){a=a.call(this,L(this,this.K),this.G&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.J),this.G&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.F),this.H&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.G),this.H&255);R(this,a);this.A-=this.B.N},function(a){a=a.call(this,L(this,this.H),this.H&255);R(this,a);this.A-= @@ -599,7 +600,7 @@ L(this,U(this,2)+T(this)),this.G>>8&255);R(this,a);this.A-=this.B.I},function(a) R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this,this.H+T(this)),this.H>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this,this.D+T(this)),this.H>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this,U(this,2)+T(this)),this.H>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,M(this,this.L+T(this)),this.H>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this,this.K+T(this)),this.H>>8&255);R(this,a);this.A-=this.B.I},function(a){a= a.call(this,L(this,this.J+T(this)),this.H>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this,this.F+T(this)),this.D>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this,this.G+T(this)),this.D>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this,this.H+T(this)),this.D>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this,this.D+T(this)),this.D>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this,U(this,2)+T(this)),this.D>> 8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,M(this,this.L+T(this)),this.D>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this,this.K+T(this)),this.D>>8&255);R(this,a);this.A-=this.B.I},function(a){a=a.call(this,L(this,this.J+T(this)),this.D>>8&255);R(this,a);this.A-=this.B.I},B[192],B[200],B[208],B[216],B[224],B[232],B[240],B[248],B[193],B[201],B[209],B[217],B[225],B[233],B[241],B[249],B[194],B[202],B[210],B[218],B[226],B[234],B[242],B[250],B[195],B[203],B[211],B[219], -B[227],B[235],B[243],B[251],B[196],B[204],B[212],B[220],B[228],B[236],B[244],B[252],B[197],B[205],B[213],B[221],B[229],B[237],B[245],B[253],B[198],B[206],B[214],B[222],B[230],B[238],B[246],B[254],B[199],B[207],B[215],B[223],B[231],B[239],B[247],B[255]],Me=[function(a,b){var c=a[0].call(this,L(this,this.F),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,L(this,this.G),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,L(this,this.H),b.call(this)); +B[227],B[235],B[243],B[251],B[196],B[204],B[212],B[220],B[228],B[236],B[244],B[252],B[197],B[205],B[213],B[221],B[229],B[237],B[245],B[253],B[198],B[206],B[214],B[222],B[230],B[238],B[246],B[254],B[199],B[207],B[215],B[223],B[231],B[239],B[247],B[255]],Ne=[function(a,b){var c=a[0].call(this,L(this,this.F),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,L(this,this.G),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,L(this,this.H),b.call(this)); R(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,L(this,this.D),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,L(this,U(this,0)),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,L(this,T(this)),b.call(this));R(this,c);this.A-=this.B.ma},function(a,b){var c=a[0].call(this,L(this,this.K),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,L(this,this.J),b.call(this));R(this,c);this.A-=this.B.N},function(a, b){var c=a[1].call(this,L(this,this.F),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,L(this,this.G),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,L(this,this.H),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,L(this,this.D),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,L(this,U(this,0)),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,L(this,T(this)), b.call(this));R(this,c);this.A-=this.B.ma},function(a,b){var c=a[1].call(this,L(this,this.K),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,L(this,this.J),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[2].call(this,L(this,this.F),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[2].call(this,L(this,this.G),b.call(this));R(this,c);this.A-=this.B.N},function(a,b){var c=a[2].call(this,L(this,this.H),b.call(this));R(this,c);this.A-=this.B.N}, @@ -697,7 +698,7 @@ a.call(this,u(this)&this.C,this.D&this.C);t(this,u(this)&~this.C|a)},function(a) this.L&this.C,this.G&this.C);this.L=this.L&~this.C|a},function(a){a=a.call(this,this.L&this.C,this.H&this.C);this.L=this.L&~this.C|a},function(a){a=a.call(this,this.L&this.C,this.D&this.C);this.L=this.L&~this.C|a},function(a){a=a.call(this,this.L&this.C,u(this)&this.C);this.L=this.L&~this.C|a},function(a){a=a.call(this,this.L&this.C,this.L&this.C);this.L=this.L&~this.C|a},function(a){a=a.call(this,this.L&this.C,this.K&this.C);this.L=this.L&~this.C|a},function(a){a=a.call(this,this.L&this.C,this.J& this.C);this.L=this.L&~this.C|a},function(a){a=a.call(this,this.K&this.C,this.F&this.C);this.K=this.K&~this.C|a},function(a){a=a.call(this,this.K&this.C,this.G&this.C);this.K=this.K&~this.C|a},function(a){a=a.call(this,this.K&this.C,this.H&this.C);this.K=this.K&~this.C|a},function(a){a=a.call(this,this.K&this.C,this.D&this.C);this.K=this.K&~this.C|a},function(a){a=a.call(this,this.K&this.C,u(this)&this.C);this.K=this.K&~this.C|a},function(a){a=a.call(this,this.K&this.C,this.L&this.C);this.K=this.K& ~this.C|a},function(a){a=a.call(this,this.K&this.C,this.K&this.C);this.K=this.K&~this.C|a},function(a){a=a.call(this,this.K&this.C,this.J&this.C);this.K=this.K&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.F&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.G&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.H&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.D&this.C);this.J=this.J&~this.C|a},function(a){a= -a.call(this,this.J&this.C,u(this)&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.L&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.K&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.J&this.C);this.J=this.J&~this.C|a}],Ne=[function(a){a=a.call(this,P(this,this.F),this.F&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.G),this.F&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this, +a.call(this,this.J&this.C,u(this)&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.L&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.K&this.C);this.J=this.J&~this.C|a},function(a){a=a.call(this,this.J&this.C,this.J&this.C);this.J=this.J&~this.C|a}],Oe=[function(a){a=a.call(this,P(this,this.F),this.F&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.G),this.F&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this, P(this,this.H),this.F&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.D),this.F&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,U(this,0)),this.F&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,T(this)),this.F&this.C);S(this,a);this.A-=this.B.ma},function(a){a=a.call(this,P(this,this.K),this.F&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.J),this.F&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this, P(this,this.F),this.G&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.G),this.G&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.H),this.G&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.D),this.G&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,U(this,0)),this.G&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,T(this)),this.G&this.C);S(this,a);this.A-=this.B.ma},function(a){a=a.call(this, P(this,this.K),this.G&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.J),this.G&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.F),this.H&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.G),this.H&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.H),this.H&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this,P(this,this.D),this.H&this.C);S(this,a);this.A-=this.B.N},function(a){a=a.call(this, @@ -732,7 +733,7 @@ function(a){a=a.call(this,P(this,this.D+T(this)),this.L&this.C);S(this,a);this.A T(this)),this.K&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,this.G+T(this)),this.K&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,this.H+T(this)),this.K&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,this.D+T(this)),this.K&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,U(this,2)+T(this)),this.K&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,Q(this,this.L+T(this)),this.K&this.C);S(this,a);this.A-= this.B.I},function(a){a=a.call(this,P(this,this.K+T(this)),this.K&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,this.J+T(this)),this.K&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,this.F+T(this)),this.J&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,this.G+T(this)),this.J&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,this.H+T(this)),this.J&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this, this.D+T(this)),this.J&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,U(this,2)+T(this)),this.J&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,Q(this,this.L+T(this)),this.J&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,this.K+T(this)),this.J&this.C);S(this,a);this.A-=this.B.I},function(a){a=a.call(this,P(this,this.J+T(this)),this.J&this.C);S(this,a);this.A-=this.B.I},D[192],D[200],D[208],D[216],D[224],D[232],D[240],D[248],D[193],D[201],D[209], -D[217],D[225],D[233],D[241],D[249],D[194],D[202],D[210],D[218],D[226],D[234],D[242],D[250],D[195],D[203],D[211],D[219],D[227],D[235],D[243],D[251],D[196],D[204],D[212],D[220],D[228],D[236],D[244],D[252],D[197],D[205],D[213],D[221],D[229],D[237],D[245],D[253],D[198],D[206],D[214],D[222],D[230],D[238],D[246],D[254],D[199],D[207],D[215],D[223],D[231],D[239],D[247],D[255]],Oe=[function(a,b){var c=a[0].call(this,P(this,this.F),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this, +D[217],D[225],D[233],D[241],D[249],D[194],D[202],D[210],D[218],D[226],D[234],D[242],D[250],D[195],D[203],D[211],D[219],D[227],D[235],D[243],D[251],D[196],D[204],D[212],D[220],D[228],D[236],D[244],D[252],D[197],D[205],D[213],D[221],D[229],D[237],D[245],D[253],D[198],D[206],D[214],D[222],D[230],D[238],D[246],D[254],D[199],D[207],D[215],D[223],D[231],D[239],D[247],D[255]],Pe=[function(a,b){var c=a[0].call(this,P(this,this.F),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this, P(this,this.G),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,P(this,this.H),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,P(this,this.D),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,P(this,U(this,0)),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,P(this,T(this)),b.call(this));S(this,c);this.A-=this.B.ma},function(a,b){var c=a[0].call(this,P(this,this.K),b.call(this));S(this, c);this.A-=this.B.N},function(a,b){var c=a[0].call(this,P(this,this.J),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,P(this,this.F),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,P(this,this.G),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,P(this,this.H),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,P(this,this.D),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c= a[1].call(this,P(this,U(this,0)),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,P(this,T(this)),b.call(this));S(this,c);this.A-=this.B.ma},function(a,b){var c=a[1].call(this,P(this,this.K),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[1].call(this,P(this,this.J),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[2].call(this,P(this,this.F),b.call(this));S(this,c);this.A-=this.B.N},function(a,b){var c=a[2].call(this,P(this,this.G),b.call(this)); @@ -781,7 +782,7 @@ this.J=this.J&~this.C|c},function(a,b){var c=a[5].call(this,this.F&this.C,b.call this.L&this.C,b.call(this));this.L=this.L&~this.C|c},function(a,b){var c=a[5].call(this,this.K&this.C,b.call(this));this.K=this.K&~this.C|c},function(a,b){var c=a[5].call(this,this.J&this.C,b.call(this));this.J=this.J&~this.C|c},function(a,b){var c=a[6].call(this,this.F&this.C,b.call(this));this.F=this.F&~this.C|c},function(a,b){var c=a[6].call(this,this.G&this.C,b.call(this));this.G=this.G&~this.C|c},function(a,b){var c=a[6].call(this,this.H&this.C,b.call(this));this.H=this.H&~this.C|c},function(a, b){var c=a[6].call(this,this.D&this.C,b.call(this));this.D=this.D&~this.C|c},function(a,b){var c=a[6].call(this,u(this)&this.C,b.call(this));t(this,u(this)&~this.C|c)},function(a,b){var c=a[6].call(this,this.L&this.C,b.call(this));this.L=this.L&~this.C|c},function(a,b){var c=a[6].call(this,this.K&this.C,b.call(this));this.K=this.K&~this.C|c},function(a,b){var c=a[6].call(this,this.J&this.C,b.call(this));this.J=this.J&~this.C|c},function(a,b){var c=a[7].call(this,this.F&this.C,b.call(this));this.F= this.F&~this.C|c},function(a,b){var c=a[7].call(this,this.G&this.C,b.call(this));this.G=this.G&~this.C|c},function(a,b){var c=a[7].call(this,this.H&this.C,b.call(this));this.H=this.H&~this.C|c},function(a,b){var c=a[7].call(this,this.D&this.C,b.call(this));this.D=this.D&~this.C|c},function(a,b){var c=a[7].call(this,u(this)&this.C,b.call(this));t(this,u(this)&~this.C|c)},function(a,b){var c=a[7].call(this,this.L&this.C,b.call(this));this.L=this.L&~this.C|c},function(a,b){var c=a[7].call(this,this.K& -this.C,b.call(this));this.K=this.K&~this.C|c},function(a,b){var c=a[7].call(this,this.J&this.C,b.call(this));this.J=this.J&~this.C|c}],Bf=[function(){return this.F+this.F},function(){return this.G+this.F},function(){return this.H+this.F},function(){return this.D+this.F},function(){this.R=this.S;return u(this)+this.F},function(a){return(a?(this.R=this.S,this.L):T(this))+this.F},function(){return this.K+this.F},function(){return this.J+this.F},function(){return this.F+this.G},function(){return this.G+ +this.C,b.call(this));this.K=this.K&~this.C|c},function(a,b){var c=a[7].call(this,this.J&this.C,b.call(this));this.J=this.J&~this.C|c}],Cf=[function(){return this.F+this.F},function(){return this.G+this.F},function(){return this.H+this.F},function(){return this.D+this.F},function(){this.R=this.S;return u(this)+this.F},function(a){return(a?(this.R=this.S,this.L):T(this))+this.F},function(){return this.K+this.F},function(){return this.J+this.F},function(){return this.F+this.G},function(){return this.G+ this.G},function(){return this.H+this.G},function(){return this.D+this.G},function(){this.R=this.S;return u(this)+this.G},function(a){return(a?(this.R=this.S,this.L):T(this))+this.G},function(){return this.K+this.G},function(){return this.J+this.G},function(){return this.F+this.H},function(){return this.G+this.H},function(){return this.H+this.H},function(){return this.D+this.H},function(){this.R=this.S;return u(this)+this.H},function(a){return(a?(this.R=this.S,this.L):T(this))+this.H},function(){return this.K+ this.H},function(){return this.J+this.H},function(){return this.F+this.D},function(){return this.G+this.D},function(){return this.H+this.D},function(){return this.D+this.D},function(){this.R=this.S;return u(this)+this.D},function(a){return(a?(this.R=this.S,this.L):T(this))+this.D},function(){return this.K+this.D},function(){return this.J+this.D},function(){return this.F},function(){return this.G},function(){return this.H},function(){return this.D},function(){this.R=this.S;return u(this)},function(a){return a? (this.R=this.S,this.L):T(this)},function(){return this.K},function(){return this.J},function(){return this.F+this.L},function(){return this.G+this.L},function(){return this.H+this.L},function(){return this.D+this.L},function(){this.R=this.S;return u(this)+this.L},function(a){return(a?(this.R=this.S,this.L):T(this))+this.L},function(){return this.K+this.L},function(){return this.J+this.L},function(){return this.F+this.K},function(){return this.G+this.K},function(){return this.H+this.K},function(){return this.D+ @@ -802,411 +803,412 @@ function(){return this.F},function(){return this.G},function(){return this.H},fu (this.D<<3)},function(a){return(a?(this.R=this.S,this.L):T(this))+(this.D<<3)},function(){return this.K+(this.D<<3)},function(){return this.J+(this.D<<3)},function(){return this.F},function(){return this.G},function(){return this.H},function(){return this.D},function(){this.R=this.S;return u(this)},function(a){return a?(this.R=this.S,this.L):T(this)},function(){return this.K},function(){return this.J},function(){return this.F+(this.L<<3)},function(){return this.G+(this.L<<3)},function(){return this.H+ (this.L<<3)},function(){return this.D+(this.L<<3)},function(){this.R=this.S;return u(this)+(this.L<<3)},function(a){return(a?(this.R=this.S,this.L):T(this))+(this.L<<3)},function(){return this.K+(this.L<<3)},function(){return this.J+(this.L<<3)},function(){return this.F+(this.K<<3)},function(){return this.G+(this.K<<3)},function(){return this.H+(this.K<<3)},function(){return this.D+(this.K<<3)},function(){this.R=this.S;return u(this)+(this.K<<3)},function(a){return(a?(this.R=this.S,this.L):T(this))+ (this.K<<3)},function(){return this.K+(this.K<<3)},function(){return this.J+(this.K<<3)},function(){return this.F+(this.J<<3)},function(){return this.G+(this.J<<3)},function(){return this.H+(this.J<<3)},function(){return this.D+(this.J<<3)},function(){this.R=this.S;return u(this)+(this.J<<3)},function(a){return(a?(this.R=this.S,this.L):T(this))+(this.J<<3)},function(){return this.K+(this.J<<3)},function(){return this.J+(this.J<<3)}]; -function Ci(a){Va.call(this,"ChipSet",a,Ci,32768);this.sa=(this.sa=a.model)&&Di[this.sa]||Ei;this.S=0;var b=a.sw1;if(b)this.S=Fi(b,Gi|Hi.fk);else{this.ra=[360,360];(b=a.floppies)&&b.length&&(this.ra=b);if(b=this.ra.length)this.S|=Ii.oh,b--,this.S|=(b&3)<=Ji&&(this.jb=this.Ma=2);this.ua=a.scaleTimers||!1;this.jc=a.rtcDate;this.Nb=!1; -a.sound&&(this.wb=this.Na=null,window&&(this.wb=window.AudioContext||window.webkitAudioContext),this.wb&&(this.Na=new this.wb));this.reset(!0);pb(this)}cb(Ci);var Ei=5150,Ji=5170,Di={5150:Ei,5160:5160,5170:Ji,deskpro386:5180},Ki={none:0,tv:1,color:2,mono:3,ega:0,vga:0},Ii={oh:1,ONE:0,Cn:64,An:128,dn:192,of:192,pf:6},Gi=12,Hi={Bn:16,Xm:32,fk:48,of:48,pf:4};g=Ci.prototype; -g.Wb=function(a,b,c){switch(b){case "sw1":return this.za[b]=c,Li(this,b,c,this.S,{0:this.sa==Ei?"Bootable Floppy Drive":"Loop on POST",1:this.sa==Ei?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.sa==Ei)return this.za[b]=c,Li(this,b,c,this.Aa,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.za[b]=c,!0}return!1}; -g.Kc=function(a,b,c,d){this.na=b;this.O=c;this.fa=d;this.qa=a;this.P=Ab(a,"Keyboard");this.pb=c.Z.Bd/1193181;gc(b,this,Mi);kc(b,this,Ni);this.sab;b++){var c=13>=b?Ui(e,b):e.A[b];a&&(a+="\n");a+="CMOS["+fa(b)+"]: "+fa(c)}e.fa.V(a)})}Re(c,26,this.Dl.bind(this))};g.rc=function(a,b){if(!b)if(!a)this.reset();else if(!this.restore(a))return!1;return!0};g.qc=function(a){return a&&this.save?this.save():!0}; -g.reset=function(a){var b;this.ea=this.S;this.Ea=this.Aa;Vi(this);this.R=Array(this.jb);for(b=0;b=Ji){this.B=16;this.ja=0;this.ga=16;this.Pa=0;this.pa=160;512<=Zi(this)&&(this.pa|=16);3==$i(this)&&(this.pa|=64);5180==this.sa&&(this.pa|=12);this.Va=3;this.Ha=Array(8); -this.Da=0;a&&(this.A=Array(64));aj(this,this.jc);for(a=21;24>=a;a++)this.A[a]=0;for(a=14;46>a;a++)void 0===this.A[a]&&(this.A[a]=0);this.A[20]=this.ea&(Hi.of|2|Ii.oh|Ii.of);this.A[16]=bj(this,0)<<4|bj(this,1);cj(this)}}; -function aj(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.V("CMOS date invalid ("+b+"), using "+c)):b&&a.V("CMOS date: "+c);a.A[0]=c.getSeconds();a.A[1]=0;a.A[2]=c.getMinutes();a.A[3]=0;a.A[4]=c.getHours();a.A[5]=0;a.A[6]=c.getDay()+1;a.A[7]=c.getDate();a.A[8]=c.getMonth()+1;c=c.getFullYear();a.A[9]=c%100;c/=100;a.A[50]=c%10|c/10<<4;a.A[10]=38;a.A[11]=2;a.A[12]=0;a.A[13]=128;a.Oa=a.Ja=0;a.Tb=a.kb=null} -function Ui(a,b){var c=a.A[b];if(10>b){var d=!1;4!=b&&5!=b||a.A[11]&2||(12>c?c=c?c:12:c=(c-=12)?c+128:140,d=!0);a.A[11]&4||(d&&128c;c++)b+=a.A[c];a.A[47]=b&255;a.A[46]=b>>8} -g.save=function(){var a=new We(this);Xe(a,0,[this.S,this.Aa,this.ea,this.Ea]);for(var b=[],c=0;c=Ji&&(Xe(a,5,[this.B,this.ja,this.ga,this.Pa,this.pa,this.Va]),Xe(a,6,[this.Ha[7],this.Ha,this.Da,this.A,this.Oa,this.Ja]));return a.data()}; -g.restore=function(a){var b,c;b=a[0];this.S=b[0];this.Aa=b[1];this.ea=b[2];this.Ea=b[3];b=a[1];for(c=0;c>2)+1)*a.Yb+32*((b?a.Aa:a.Ea)&15)} -function kj(a,b){var c=b?a.S:a.ea;return a.sa!=Ei||c&Ii.oh?((c&Ii.of)>>Ii.pf)+1:0}function bj(a,b){if(b>Hi.pf} -function Li(a,b,c,d,e){for(var f="",h=1;8>=h;h++){var k="pcjs-bitCell";h||(k+=" pcjs-bitCellLeft");f+='
'+h+"
\n"}c.innerHTML=f;b=kb(c,"pcjs-bitCell");c=null;for(h=0;hh.yb[0]&&(h.yb[0]=255,h.yb[1]--,0>h.yb[1]&&(h.yb[1]=255)));return k}function pj(a,b,c,d,e,f){var h=a.R[b];a.ta(768)&&m(a,d,e,f,"DMA"+b+".CHANNEL"+c+".COUNT["+h.Jb+"]",null,!0);a=h.ec[c];a.yb[h.Jb]=a.vc[h.Jb]=e;h.Jb^=1}function qj(a,b,c,d){var e=a.R[b],f=e.gd|1;e.gd&=-16;a.ta(768)&&m(a,c,null,d,"DMA"+b+".STATUS",f,!0);return f} -function rj(a,b,c,d,e){var f=a.R[b];a.ta(768)&&m(a,c,d,e,"DMA"+b+".REQ",null,!0);a=d&3;f.gd=f.gd&~(16<>2].ec[b&3],c,d,e)} -function tj(a,b,c){b=a.R[b>>2].ec[b&3];b.bg&&b.Eh&&b.Xg?(c&&(b.done=c),b.Ld||Hf(a,b,!0)):c&&c(!0)}function Hf(a,b,c){c&&(b.count=b.yb[1]<<8|b.yb[0],b.type=b.mode&12,b.Aj=b.rd=!1);for(var d=!1;0<=b.count&&(c=b.Xf<<16|b.Db[1]<<8|b.Db[0],4==b.type?(d=!0,function(c){b.Eh.call(b.bg,b.Xg,-1,function(f,h){0>f&&(b.Aj||(b.Aj=!0),f=255);b.Ld||a.na.tc(c,f);(d=h)&&setTimeout(function(){Bj(b)||Hf(a,b)},0)})}(c)):8==b.type?(c=a.na.Xa(c),0>b.Eh.call(b.bg,b.Xg,c)&&(b.rd=!0)):0!=b.type&&(b.rd=!0)),!d&&!Bj(b););} -function Bj(a){if(!a.rd&&0<=--a.count&&(a.mode&32?(a.Db[0]--,0>a.Db[0]&&(a.Db[0]=255,a.Db[1]--,0>a.Db[1]&&(a.Db[1]=255))):(a.Db[0]++,255>3];b=1<<(b&7);d.fc&b||(d.fc|=b,d.bf=c||0,Ej(a))}function Ij(a,b){var c=a.kc[b>>3],d=1<<(b&7);c.fc&d&&(c.fc&=~d,Ej(a))}function Ej(a,b){var c,d=-1;1>=1),cd(a.O,d))),2==b&&fd(a))}g=Ci.prototype;g.ll=function(a,b){m(this,a,null,b,"PIT1_CTRL",null,2048);return this.$a}; -g.Fm=function(a,b,c){this.$a=b;m(this,a,b,c,"PIT1_CTRL",null,2048);a=b&192;if(192==a){if(!(b&16))for(a=0;2>=a;a++)b&2<=a;a++)b&2<>=6;c=b&1;var d=b&14;b&=48;if(0==b)Nj(this,a);else{var e=a,f=this.X[e];f.Qf=b;f.mode=d;f.xh=c;f.vc=[0,0];f.yb=[0,0];f.ne=[0,0];f.sd=!1;f.Pe=!1;f.pe=!1;f.Ue=!1;Kj(this,e);0==a&&Ij(this,0);2==a&&255==this.kc[0].wd&&77==this.aa&&(a=this.X[0], -a.Tc[0]=a.vc[0],a.Tc[1]=a.vc[1],a.ud=Uc(this.O,this.ua))}}};function Mj(a,b){var c=a.X[b],d=c.vc[1]<<8|c.vc[0];d||(d=1==c.hd?256:65536);return d}function hd(a,b){var c=a.X[b],d=c.Tc[1]<<8|c.Tc[0];d||(d=1==c.hd?256:65536);return d}function Nj(a,b){Ti(a,b);var c=a.X[b];c.ne[0]=c.yb[0];c.ne[1]=c.yb[1];c.Pe=!0;Kj(a,b)}function Kj(a,b){var c=a.X[b];c.yd=32==c.Qf?1:0;c.hd=48==c.Qf?2:1} -function Ti(a,b,c){var d=a.X[b];if(d.pe&&(2!=b||a.aa&1)){var e=Uc(a.O,a.ua),f=(e-d.ud)/a.pb|0;0>f&&(d.ud=e,f=0);var h=Mj(a,b),k=hd(a,b)-f;0==d.mode?(0>=k&&(k=0),k||(d.sd=!0,d.pe=!1,b||Hj(a,0))):4==d.mode?(d.sd=1!=k,0>=k&&(k=h+k,0>=k&&(k=h),d.Tc[0]=k&255,d.Tc[1]=k>>8&255,d.ud=e,!b&&d.sd&&Hj(a,0))):6==d.mode&&(k-=f,0>=k&&(d.sd=!d.sd,k=h+k,0>=k&&(k=h),d.Tc[0]=k&255,d.Tc[1]=k>>8&255,d.ud=e,!b&&d.sd&&Hj(a,0)));d.yb[0]=k&255;d.yb[1]=k>>8&255;c&&(a.ud=0)}return d} -function gd(a,b){for(var c=0;c=Ji){var c=a.O.Z.Bd,d=Uc(a.O,a.ua);null==a.kb&&(a.Oa=Uc(a.O,a.ua),a.Tb=1024,a.kb=Math.floor(a.O.Z.Bd/a.Tb),dj(a));d>=a.Ja&&(a.A[12]|=64,a.A[11]&64&&(a.A[12]|=128,Hj(a,8)),a.Ja=d+a.kb);a.A[0]==a.A[1]&&a.A[2]==a.A[3]&&a.A[4]==a.A[5]&&(a.A[12]|=32,a.A[11]&32&&(a.A[12]|=128,Hj(a,8)));var e=d-a.Oa,f=Math.floor(e/c);if(f&&!(a.A[11]&128)){for(;f--;)if(60<=++a.A[0]&&(a.A[0]=0,60<=++a.A[2]&&(a.A[2]=0,24<=++a.A[4]))){a.A[4]=0;a.A[6]=a.A[6]%7+1; -var h;h=a.A[9];var k=ta[a.A[8]-1];28==k&&0===h%4&&(h%100||0===h%400)&&k++;h=k;++a.A[7]>h&&(a.A[7]=1,12<++a.A[8]&&(a.A[8]=1,a.A[9]=(a.A[9]+1)%100))}a.A[12]|=16;a.A[11]&16&&(a.A[12]|=128,Hj(a,8))}a.Oa=d-e%c}}g.ml=function(a,b){var c=this.fb;if(this.La&16)if(this.aa&128)c=this.ea;else if(this.P){var c=this.P,d=0;c.A.length&&(d=c.A[0]);c.ta()&&c.wa("scan code "+fa(d)+" delivered");c=d}m(this,a,null,b,"PPI_A",c);return c};g.Gm=function(a,b,c){m(this,a,b,c,"PPI_A");this.fb=b}; -g.nl=function(a,b){var c=this.aa;m(this,a,null,b,"PPI_B",c);return c};g.Hm=function(a,b,c){m(this,a,b,c,"PPI_B");Oj(this,b)};function Oj(a,b){var c=!!(b&2),d=!!(a.aa&2);a.aa=b;a.P&&Pj(a.P,!(b&128),!!(b&64));c!=d&&fd(a,c)}g.ol=function(a,b){var c=0,c=this.sa==Ei?this.aa&4?c|this.Ea&15:c|this.Ea>>4&1:this.aa&8?c|this.ea>>4:c|this.ea&15;this.aa&1&&Ti(this,2).sd&&(c=this.aa&2?c|32:c|16);m(this,a,null,b,"PPI_C",c,32896);return c};g.Im=function(a,b,c){m(this,a,b,c,"PPI_C");this.vb=b}; -g.pl=function(a,b){var c=this.La;m(this,a,null,b,"PPI_CTRL",c);return c};g.Jm=function(a,b,c){m(this,a,b,c,"PPI_CTRL");this.La=b};g.Ck=function(a,b){var c=this.Pa;m(this,a,null,b,"8042_OUTBUFF",c,16384);this.B&=-258;this.P&&Qj(this.P);return c};g.Ul=function(a,b,c){m(this,a,b,c,"8042_INBUF.DATA",null,16384);if(this.B&8)switch(this.ja){case 96:Rj(this,b);break;case 209:Sj(this,b);break;default:if(Rj(this,this.ga&-17),this.P){a=-1;switch(b){case 255:a=250,Tj(this.P)}Uj(this,a)}}this.ja=b;this.B&=-9}; -g.Dk=function(a,b){var c=this.aa&-209|(Uc(this.O)&64?16:0);m(this,a,null,b,"8042_RWREG",c,16384);return c};g.Vl=function(a,b,c){m(this,a,b,c,"8042_RWREG",null,16384);Oj(this,b)};g.Ek=function(a,b){m(this,a,null,b,"8042_STATUS",this.B,16384);var c=this.B&255;this.B&256&&(this.B|=1,this.B&=-257);return c}; -g.Tl=function(a,b,c){m(this,a,b,c,"8042_INBUFF.CMD",null,16384);this.ja=b;this.B|=8;a=0;240<=this.ja&&(a=this.ja^15,this.ja=240);switch(this.ja){case 32:Uj(this,this.ga);break;case 173:Rj(this,this.ga|16);break;case 174:Rj(this,this.ga&-17);this.P&&Qj(this.P);break;case 170:this.P&&(a=this.P,a.A=[],a.ta()&&a.wa("scan codes flushed"));Rj(this,this.ga|16);Uj(this,85);Sj(this,3);break;case 171:Uj(this,0);break;case 192:Uj(this,this.pa);break;case 208:Uj(this,this.Va);break;case 224:Uj(this,this.ga&16? -0:1);break;case 240:a&1&&ze(this.O)}};function Rj(a,b){a.ga=b;a.B=a.B&-5|b&4;a.P&&Pj(a.P,!!(b&8),!(b&16))}function Uj(a,b,c){0<=b&&(a.Pa=b,c?a.B|=1:(a.B&=-2,a.B|=256))}function Sj(a,b){a.Va=b;Pb(a.na,!!(b&2));b&1||ze(a.O)}function Vj(a,b){a.sa=c?Ui(this,c):this.A[c];this.ta(4352)&&m(this,a,null,b,"CMOS.DATA["+fa(c)+"]",d,!0);null!=b&&12==c&&(this.A[c]&=15,d&128&&Ij(this,8),d&64&&this.A[11]&64&&dj(this));return d}; -g.jm=function(a,b,c){var d=this.Da&63;this.ta(4352)&&m(this,a,b,c,"CMOS.DATA["+fa(d)+"]",null,!0);a=b^this.A[d];if(13>=d){if(c=b,10>d){var e=!1;this.A[11]&4||(c=10*(c>>4)+(c&15),e=!0);if(4==d||5==d)e&&23=c?c=12==c?0:c:(c-=116,c=24==c?12:c))}}else c=b;this.A[d]=c;11==d&&a&64&&b&64&&dj(this)};g.Em=function(a,b,c){m(this,a,b,c,"NMI");this.Za=b};g.km=function(a,b,c){m(this,a,b,c,"COPROC.CLEAR")};g.lm=function(a,b,c){m(this,a,b,c,"COPROC.RESET")}; -g.Dl=function(a){if(this.ta(16)&&xi(this.fa,26,a)){var b=this.O.F>>8;Se(this.O,a,function(a,d){return function(e){d=Uc(a.O)-d;var f,h=a.O.H&255,k=a.O.H>>8,q=a.O.H&255,r=a.O.H>>8;if(2==b||3==b)f=" CH(hour)="+ga(k)+" CL(min)="+fa(h)+" DH(sec)="+fa(r);else if(4==b||5==b)f=" CX(year)="+ga(a.O.G)+" DH(month)="+fa(r)+" DL(day)="+fa(q);h=a.fa;k=d;h.message("INT "+fa(26)+": C="+(bf(h.O)?1:0)+(f||"")+" (cycles="+k+(e?",level="+(e+1):"")+")")}}(this,Uc(this.O)))}return!0}; -function Fi(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4>>4,0,this.S,this.P,this.Fd),delete this.Fd);return!0};Xj.prototype.qc=function(){return!0}; -Xj.prototype.qa=function(a,b,c){if(c)this.Ta("Unable to load system ROM (error "+c+")");else{if("["==b.charAt(0)||"{"==b.charAt(0))try{var d=eval("("+b+")"),e=d.bytes,f=d.data;if(e)this.A=e;else if(f)for(this.A=Array(4*f.length),c=b=0;b>8&255,this.A[c++]=f[b]>>16&255,this.A[c++]=f[b]>>24&255;else this.A=d;this.Fd=d.symbols;if(!this.A.length){Ca("Empty ROM: "+a);return}if(1==this.A.length){Ca(this.A[0]);return}}catch(h){this.Ta("ROM data error: "+ -h.message);return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.A=Array(a.length),d=0;d>>d.Ra].Tf(e&d.A,a.A[c]&255,e)}b=!0}else b=!1;if(b){b=[];"number"==typeof a.R?b.push(a.R):null!=a.R&&a.R.length&&(b=a.R);for(c=0;c=Li&&(this.jb=this.Ma=2);this.ua=a.scaleTimers||!1;this.jc=a.rtcDate;this.Nb=!1; +a.sound&&(this.wb=this.Na=null,window&&(this.wb=window.AudioContext||window.webkitAudioContext),this.wb&&(this.Na=new this.wb));this.reset(!0);rb(this)}gb(Ei);var Gi=5150,Li=5170,Fi={5150:Gi,5160:5160,5170:Li,deskpro386:5180},Mi={none:0,tv:1,color:2,mono:3,ega:0,vga:0},Ki={ph:1,ONE:0,Bn:64,zn:128,cn:192,pf:192,qf:6},Ii=12,Ji={An:16,Wm:32,ek:48,pf:48,qf:4};g=Ei.prototype; +g.Xb=function(a,b,c){switch(b){case "sw1":return this.Aa[b]=c,Ni(this,b,c,this.S,{0:this.sa==Gi?"Bootable Floppy Drive":"Loop on POST",1:this.sa==Gi?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.sa==Gi)return this.Aa[b]=c,Ni(this,b,c,this.xa,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.Aa[b]=c,!0}return!1}; +g.Kc=function(a,b,c,d){this.na=b;this.O=c;this.fa=d;this.qa=a;this.P=Bb(a,"Keyboard");this.lb=c.Z.Bd/1193181;hc(b,this,Oi);lc(b,this,Pi);this.sab;b++){var c=13>=b?Wi(e,b):e.A[b];a&&(a+="\n");a+="CMOS["+ga(b)+"]: "+ga(c)}e.fa.V(a)})}Se(c,26,this.Cl.bind(this))};g.rc=function(a,b){if(!b)if(!a)this.reset();else if(!this.restore(a))return!1;return!0};g.qc=function(a){return a&&this.save?this.save():!0}; +g.reset=function(a){var b;this.ea=this.S;this.Ea=this.xa;Xi(this);this.R=Array(this.jb);for(b=0;b=Li){this.B=16;this.ja=0;this.ga=16;this.Pa=0;this.oa=160;512<=aj(this)&&(this.oa|=16);3==bj(this)&&(this.oa|=64);5180==this.sa&&(this.oa|=12);this.Va=3;this.Ha=Array(8); +this.Da=0;a&&(this.A=Array(64));cj(this,this.jc);for(a=21;24>=a;a++)this.A[a]=0;for(a=14;46>a;a++)void 0===this.A[a]&&(this.A[a]=0);this.A[20]=this.ea&(Ji.pf|2|Ki.ph|Ki.pf);this.A[16]=dj(this,0)<<4|dj(this,1);ej(this)}}; +function cj(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.V("CMOS date invalid ("+b+"), using "+c)):b&&a.V("CMOS date: "+c);a.A[0]=c.getSeconds();a.A[1]=0;a.A[2]=c.getMinutes();a.A[3]=0;a.A[4]=c.getHours();a.A[5]=0;a.A[6]=c.getDay()+1;a.A[7]=c.getDate();a.A[8]=c.getMonth()+1;c=c.getFullYear();a.A[9]=c%100;c/=100;a.A[50]=c%10|c/10<<4;a.A[10]=38;a.A[11]=2;a.A[12]=0;a.A[13]=128;a.Oa=a.Ja=0;a.Tb=a.kb=null} +function Wi(a,b){var c=a.A[b];if(10>b){var d=!1;4!=b&&5!=b||a.A[11]&2||(12>c?c=c?c:12:c=(c-=12)?c+128:140,d=!0);a.A[11]&4||(d&&128c;c++)b+=a.A[c];a.A[47]=b&255;a.A[46]=b>>8} +g.save=function(){var a=new Xe(this);Ye(a,0,[this.S,this.xa,this.ea,this.Ea]);for(var b=[],c=0;c=Li&&(Ye(a,5,[this.B,this.ja,this.ga,this.Pa,this.oa,this.Va]),Ye(a,6,[this.Ha[7],this.Ha,this.Da,this.A,this.Oa,this.Ja]));return a.data()}; +g.restore=function(a){var b,c;b=a[0];this.S=b[0];this.xa=b[1];this.ea=b[2];this.Ea=b[3];b=a[1];for(c=0;c>2)+1)*a.Zb+32*((b?a.xa:a.Ea)&15)} +function mj(a,b){var c=b?a.S:a.ea;return a.sa!=Gi||c&Ki.ph?((c&Ki.pf)>>Ki.qf)+1:0}function dj(a,b){if(b>Ji.qf} +function Ni(a,b,c,d,e){for(var f="",h=1;8>=h;h++){var m="pcjs-bitCell";h||(m+=" pcjs-bitCellLeft");f+='
'+h+"
\n"}c.innerHTML=f;b=mb(c,"pcjs-bitCell");c=null;for(h=0;hh.yb[0]&&(h.yb[0]=255,h.yb[1]--,0>h.yb[1]&&(h.yb[1]=255)));return m}function rj(a,b,c,d,e,f){var h=a.R[b];a.ta(768)&&l(a,d,e,f,"DMA"+b+".CHANNEL"+c+".COUNT["+h.Jb+"]",null,!0);a=h.fc[c];a.yb[h.Jb]=a.vc[h.Jb]=e;h.Jb^=1}function sj(a,b,c,d){var e=a.R[b],f=e.gd|1;e.gd&=-16;a.ta(768)&&l(a,c,null,d,"DMA"+b+".STATUS",f,!0);return f} +function tj(a,b,c,d,e){var f=a.R[b];a.ta(768)&&l(a,c,d,e,"DMA"+b+".REQ",null,!0);a=d&3;f.gd=f.gd&~(16<>2].fc[b&3],c,d,e)} +function vj(a,b,c){b=a.R[b>>2].fc[b&3];b.bg&&b.Fh&&b.Wg?(c&&(b.done=c),b.Ld||If(a,b,!0)):c&&c(!0)}function If(a,b,c){c&&(b.count=b.yb[1]<<8|b.yb[0],b.type=b.mode&12,b.Aj=b.sd=!1);for(var d=!1;0<=b.count&&(c=b.Xf<<16|b.Db[1]<<8|b.Db[0],4==b.type?(d=!0,function(c){b.Fh.call(b.bg,b.Wg,-1,function(f,h){0>f&&(b.Aj||(b.Aj=!0),f=255);b.Ld||a.na.tc(c,f);(d=h)&&setTimeout(function(){Dj(b)||If(a,b)},0)})}(c)):8==b.type?(c=a.na.Xa(c),0>b.Fh.call(b.bg,b.Wg,c)&&(b.sd=!0)):0!=b.type&&(b.sd=!0)),!d&&!Dj(b););} +function Dj(a){if(!a.sd&&0<=--a.count&&(a.mode&32?(a.Db[0]--,0>a.Db[0]&&(a.Db[0]=255,a.Db[1]--,0>a.Db[1]&&(a.Db[1]=255))):(a.Db[0]++,255>3];b=1<<(b&7);d.gc&b||(d.gc|=b,d.cf=c||0,Gj(a))}function Kj(a,b){var c=a.kc[b>>3],d=1<<(b&7);c.gc&d&&(c.gc&=~d,Gj(a))}function Gj(a,b){var c,d=-1;1>=1),dd(a.O,d))),2==b&&gd(a))}g=Ei.prototype;g.kl=function(a,b){l(this,a,null,b,"PIT1_CTRL",null,2048);return this.$a}; +g.Em=function(a,b,c){this.$a=b;l(this,a,b,c,"PIT1_CTRL",null,2048);a=b&192;if(192==a){if(!(b&16))for(a=0;2>=a;a++)b&2<=a;a++)b&2<>=6;c=b&1;var d=b&14;b&=48;if(0==b)Pj(this,a);else{var e=a,f=this.X[e];f.Qf=b;f.mode=d;f.yh=c;f.vc=[0,0];f.yb=[0,0];f.ne=[0,0];f.td=!1;f.Qe=!1;f.pe=!1;f.Ve=!1;Mj(this,e);0==a&&Kj(this,0);2==a&&255==this.kc[0].xd&&77==this.aa&&(a=this.X[0], +a.Uc[0]=a.vc[0],a.Uc[1]=a.vc[1],a.vd=Vc(this.O,this.ua))}}};function Oj(a,b){var c=a.X[b],d=c.vc[1]<<8|c.vc[0];d||(d=1==c.hd?256:65536);return d}function id(a,b){var c=a.X[b],d=c.Uc[1]<<8|c.Uc[0];d||(d=1==c.hd?256:65536);return d}function Pj(a,b){Vi(a,b);var c=a.X[b];c.ne[0]=c.yb[0];c.ne[1]=c.yb[1];c.Qe=!0;Mj(a,b)}function Mj(a,b){var c=a.X[b];c.zd=32==c.Qf?1:0;c.hd=48==c.Qf?2:1} +function Vi(a,b,c){var d=a.X[b];if(d.pe&&(2!=b||a.aa&1)){var e=Vc(a.O,a.ua),f=(e-d.vd)/a.lb|0;0>f&&(d.vd=e,f=0);var h=Oj(a,b),m=id(a,b)-f;0==d.mode?(0>=m&&(m=0),m||(d.td=!0,d.pe=!1,b||Jj(a,0))):4==d.mode?(d.td=1!=m,0>=m&&(m=h+m,0>=m&&(m=h),d.Uc[0]=m&255,d.Uc[1]=m>>8&255,d.vd=e,!b&&d.td&&Jj(a,0))):6==d.mode&&(m-=f,0>=m&&(d.td=!d.td,m=h+m,0>=m&&(m=h),d.Uc[0]=m&255,d.Uc[1]=m>>8&255,d.vd=e,!b&&d.td&&Jj(a,0)));d.yb[0]=m&255;d.yb[1]=m>>8&255;c&&(a.vd=0)}return d} +function hd(a,b){for(var c=0;c=Li){var c=a.O.Z.Bd,d=Vc(a.O,a.ua);null==a.kb&&(a.Oa=Vc(a.O,a.ua),a.Tb=1024,a.kb=Math.floor(a.O.Z.Bd/a.Tb),fj(a));d>=a.Ja&&(a.A[12]|=64,a.A[11]&64&&(a.A[12]|=128,Jj(a,8)),a.Ja=d+a.kb);a.A[0]==a.A[1]&&a.A[2]==a.A[3]&&a.A[4]==a.A[5]&&(a.A[12]|=32,a.A[11]&32&&(a.A[12]|=128,Jj(a,8)));var e=d-a.Oa,f=Math.floor(e/c);if(f&&!(a.A[11]&128)){for(;f--;)if(60<=++a.A[0]&&(a.A[0]=0,60<=++a.A[2]&&(a.A[2]=0,24<=++a.A[4]))){a.A[4]=0;a.A[6]=a.A[6]%7+1; +var h;h=a.A[9];var m=ua[a.A[8]-1];28==m&&0===h%4&&(h%100||0===h%400)&&m++;h=m;++a.A[7]>h&&(a.A[7]=1,12<++a.A[8]&&(a.A[8]=1,a.A[9]=(a.A[9]+1)%100))}a.A[12]|=16;a.A[11]&16&&(a.A[12]|=128,Jj(a,8))}a.Oa=d-e%c}}g.ll=function(a,b){var c=this.fb;if(this.La&16)if(this.aa&128)c=this.ea;else if(this.P){var c=this.P,d=0;c.A.length&&(d=c.A[0]);c.ta()&&c.va("scan code "+ga(d)+" delivered");c=d}l(this,a,null,b,"PPI_A",c);return c};g.Fm=function(a,b,c){l(this,a,b,c,"PPI_A");this.fb=b}; +g.ml=function(a,b){var c=this.aa;l(this,a,null,b,"PPI_B",c);return c};g.Gm=function(a,b,c){l(this,a,b,c,"PPI_B");Qj(this,b)};function Qj(a,b){var c=!!(b&2),d=!!(a.aa&2);a.aa=b;a.P&&Rj(a.P,!(b&128),!!(b&64));c!=d&&gd(a,c)}g.nl=function(a,b){var c=0,c=this.sa==Gi?this.aa&4?c|this.Ea&15:c|this.Ea>>4&1:this.aa&8?c|this.ea>>4:c|this.ea&15;this.aa&1&&Vi(this,2).td&&(c=this.aa&2?c|32:c|16);l(this,a,null,b,"PPI_C",c,32896);return c};g.Hm=function(a,b,c){l(this,a,b,c,"PPI_C");this.vb=b}; +g.ol=function(a,b){var c=this.La;l(this,a,null,b,"PPI_CTRL",c);return c};g.Im=function(a,b,c){l(this,a,b,c,"PPI_CTRL");this.La=b};g.Bk=function(a,b){var c=this.Pa;l(this,a,null,b,"8042_OUTBUFF",c,16384);this.B&=-258;this.P&&Sj(this.P);return c};g.Tl=function(a,b,c){l(this,a,b,c,"8042_INBUF.DATA",null,16384);if(this.B&8)switch(this.ja){case 96:Tj(this,b);break;case 209:Uj(this,b);break;default:if(Tj(this,this.ga&-17),this.P){a=-1;switch(b){case 255:a=250,Vj(this.P)}Wj(this,a)}}this.ja=b;this.B&=-9}; +g.Ck=function(a,b){var c=this.aa&-209|(Vc(this.O)&64?16:0);l(this,a,null,b,"8042_RWREG",c,16384);return c};g.Ul=function(a,b,c){l(this,a,b,c,"8042_RWREG",null,16384);Qj(this,b)};g.Dk=function(a,b){l(this,a,null,b,"8042_STATUS",this.B,16384);var c=this.B&255;this.B&256&&(this.B|=1,this.B&=-257);return c}; +g.Sl=function(a,b,c){l(this,a,b,c,"8042_INBUFF.CMD",null,16384);this.ja=b;this.B|=8;a=0;240<=this.ja&&(a=this.ja^15,this.ja=240);switch(this.ja){case 32:Wj(this,this.ga);break;case 173:Tj(this,this.ga|16);break;case 174:Tj(this,this.ga&-17);this.P&&Sj(this.P);break;case 170:this.P&&(a=this.P,a.A=[],a.ta()&&a.va("scan codes flushed"));Tj(this,this.ga|16);Wj(this,85);Uj(this,3);break;case 171:Wj(this,0);break;case 192:Wj(this,this.oa);break;case 208:Wj(this,this.Va);break;case 224:Wj(this,this.ga&16? +0:1);break;case 240:a&1&&Ae(this.O)}};function Tj(a,b){a.ga=b;a.B=a.B&-5|b&4;a.P&&Rj(a.P,!!(b&8),!(b&16))}function Wj(a,b,c){0<=b&&(a.Pa=b,c?a.B|=1:(a.B&=-2,a.B|=256))}function Uj(a,b){a.Va=b;Qb(a.na,!!(b&2));b&1||Ae(a.O)}function Xj(a,b){a.sa=c?Wi(this,c):this.A[c];this.ta(4352)&&l(this,a,null,b,"CMOS.DATA["+ga(c)+"]",d,!0);null!=b&&12==c&&(this.A[c]&=15,d&128&&Kj(this,8),d&64&&this.A[11]&64&&fj(this));return d}; +g.im=function(a,b,c){var d=this.Da&63;this.ta(4352)&&l(this,a,b,c,"CMOS.DATA["+ga(d)+"]",null,!0);a=b^this.A[d];if(13>=d){if(c=b,10>d){var e=!1;this.A[11]&4||(c=10*(c>>4)+(c&15),e=!0);if(4==d||5==d)e&&23=c?c=12==c?0:c:(c-=116,c=24==c?12:c))}}else c=b;this.A[d]=c;11==d&&a&64&&b&64&&fj(this)};g.Dm=function(a,b,c){l(this,a,b,c,"NMI");this.Za=b};g.jm=function(a,b,c){l(this,a,b,c,"COPROC.CLEAR")};g.km=function(a,b,c){l(this,a,b,c,"COPROC.RESET")}; +g.Cl=function(a){if(this.ta(16)&&zi(this.fa,26,a)){var b=this.O.F>>8;Te(this.O,a,function(a,d){return function(e){d=Vc(a.O)-d;var f,h=a.O.H&255,m=a.O.H>>8,q=a.O.H&255,r=a.O.H>>8;if(2==b||3==b)f=" CH(hour)="+ia(m)+" CL(min)="+ga(h)+" DH(sec)="+ga(r);else if(4==b||5==b)f=" CX(year)="+ia(a.O.G)+" DH(month)="+ga(r)+" DL(day)="+ga(q);h=a.fa;m=d;h.message("INT "+ga(26)+": C="+(cf(h.O)?1:0)+(f||"")+" (cycles="+m+(e?",level="+(e+1):"")+")")}}(this,Vc(this.O)))}return!0}; +function Hi(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4>>4,0,this.S,this.P,this.Fd),delete this.Fd);return!0};Zj.prototype.qc=function(){return!0}; +Zj.prototype.qa=function(a,b,c){if(c)this.Ta("Unable to load system ROM (error "+c+")");else{if("["==b.charAt(0)||"{"==b.charAt(0))try{var d=eval("("+b+")"),e=d.bytes,f=d.data;if(e)this.A=e;else if(f)for(this.A=Array(4*f.length),c=b=0;b>8&255,this.A[c++]=f[b]>>16&255,this.A[c++]=f[b]>>24&255;else this.A=d;this.Fd=d.symbols;if(!this.A.length){Da("Empty ROM: "+a);return}if(1==this.A.length){Da(this.A[0]);return}}catch(h){this.Ta("ROM data error: "+ +h.message);return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.A=Array(a.length),d=0;d>>d.Ra].Tf(e&d.A,a.A[c]&255,e)}b=!0}else b=!1;if(b){b=[];"number"==typeof a.R?b.push(a.R):null!=a.R&&a.R.length&&(b=a.R);for(c=0;cthis.B?21:23,c=a.A[b]|a.A[b+1]<<8,c=c+(this.A>>10);a.A[b]=c&255;a.A[b+ -1]=c>>8;cj(a)}}else Ca("No RAM allocated")};g.save=function(){var a=new We(this);this.controller&&Xe(a,0,this.controller.save());return a.data()};g.restore=function(a){return this.controller?this.controller.restore(a[0]):!0};function dk(a){this.R=a;this.P=fk;this.fa=gk;this.B=hk;this.A=null}var ek=-2134900736,fk=65535,gk=2575,hk=2,ik=[null,0],jk=[function(a){return this.controller.Xa(a)},null,null,function(a,b){this.controller.tc(a,b)},null,null];g=dk.prototype;g.save=function(){return[this.P,this.B]}; -g.restore=function(a){this.tc(0,a[0]&255);this.tc(2,a[1]&255);return!0};g.Xa=function(a){var b=255;2>a?b=a&1?this.fa>>8:this.fa&255:4>a&&(b=a&1?this.B>>8:this.B&255);return b};g.tc=function(a,b){if(a)2==a&&(this.B=this.B&-256|b);else if(b!=(this.P&255)){var c=this.R.na;if(b&1)this.A&&(Sb(c,917504,131072,this.A),this.A=null);else{this.A||(this.A=Tb(c,917504,131072));var d=Tb(c,16646144,131072);Sb(c,917504,131072,d,b&2?1:Wb)}this.P=this.P&-256|b}};g.Cj=function(){return ik};g.Fh=function(){return jk}; -Ra(function(){for(var a=kb(window.document,"pcjs","ram"),b=0;b":62,"?":63,"@":64,Um:65,Vm:66,Wm:67,an:68,E:69,bn:70,en:71,fn:72,gn:73,hn:74,jn:75,kn:76,mn:77,nn:78,on:79,pn:80,Q:81,qn:82,un:83,zn:84,Dn:85,En:86,Fn:87,Hn:88,In:89,Jn:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,Kn:97,Ln:98,On:99,d:100,e:101,Pn:102,Qn:103,Rn:104,Sn:105,Tn:106,k:107,Un:108, -Vn:109,n:110,Xn:111,p:112,q:113,r:114,Yn:115,t:116,$n:117,ao:118,bo:119,x:120,y:121,z:122,"{":123,"|":124,"}":125,"~":126},lk={};lk[186]=V[";"];lk[187]=V["="];lk[188]=V[","];lk[189]=V["-"];lk[190]=V["."];lk[191]=V["/"];lk[192]=V["`"];lk[219]=V["["];lk[220]=V["\\"];lk[221]=V["]"];lk[222]=V["'"];lk[173]=V["-"];var mk={};mk[V["1"]]=V["!"];mk[V["2"]]=V["@"];mk[V["3"]]=V["#"];mk[V["4"]]=V.$;mk[V["5"]]=V["%"];mk[V["6"]]=V["^"];mk[V["7"]]=V["&"];mk[V["8"]]=V["*"];mk[V["9"]]=V["("];mk[V["0"]]=V[")"]; -mk[186]=V[":"];mk[187]=V["+"];mk[188]=V["<"];mk[189]=V._;mk[190]=V[">"];mk[191]=V["?"];mk[192]=V["~"];mk[219]=V["{"];mk[220]=V["|"];mk[221]=V["}"];mk[222]=V['"'];mk[173]=V._;mk[61]=V["+"];mk[59]=V[":"]; -var nk={3016:1,1016:2,1017:8,1018:32,1091:128,1093:64,1224:128,1020:512,1144:1024,1145:2048},ok={TAB:1009,ESC:1027,F1:1112,F2:1113,F3:1114,F4:1115,F5:1116,F6:1117,F7:1118,F8:1119,F9:1120,F10:1121,LEFT:1037,UP:1038,RIGHT:1039,DOWN:1040,CTRL_C:4003,CTRL_BREAK:4008,CTRL_ALT_DEL:4046},pk={esc:1027,1:V["1"],2:V["2"],3:V["3"],4:V["4"],5:V["5"],6:V["6"],7:V["7"],8:V["8"],9:V["9"],0:V["0"],"-":V["-"],"=":V["="],bs:1008,tab:1009,q:81,w:87,e:69,r:82,t:84,y:89,u:85,i:73,o:79,p:80,"[":V["["],"]":V["]"],enter:13, +g.reset=function(){if(!this.B&&!this.R&&this.X){var a=1024*aj(this.X);this.A&&a!=this.A&&(Wb(this.na,this.B,this.A),this.P=!1);this.A=a}!this.P&&this.A&&Rb(this.na,this.B,this.A,1)&&(this.P=!0,this.status(Math.floor(this.A/1024)+"Kb allocated"),"ramCPQ"==this.Vd&&(this.controller=new fk(this),Rb(this.na,gk,4,4,this.controller)));if(this.P){if(this.S||fc(this.na,1138,4660),"ramCPQ"!=this.Vd&&this.X&&(a=this.X,a.A)){var b=1048576>this.B?21:23,c=a.A[b]|a.A[b+1]<<8,c=c+(this.A>>10);a.A[b]=c&255;a.A[b+ +1]=c>>8;ej(a)}}else Da("No RAM allocated")};g.save=function(){var a=new Xe(this);this.controller&&Ye(a,0,this.controller.save());return a.data()};g.restore=function(a){return this.controller?this.controller.restore(a[0]):!0};function fk(a){this.R=a;this.P=hk;this.fa=ik;this.B=jk;this.A=null}var gk=-2134900736,hk=65535,ik=2575,jk=2,kk=[null,0],lk=[function(a){return this.controller.Xa(a)},null,null,function(a,b){this.controller.tc(a,b)},null,null];g=fk.prototype;g.save=function(){return[this.P,this.B]}; +g.restore=function(a){this.tc(0,a[0]&255);this.tc(2,a[1]&255);return!0};g.Xa=function(a){var b=255;2>a?b=a&1?this.fa>>8:this.fa&255:4>a&&(b=a&1?this.B>>8:this.B&255);return b};g.tc=function(a,b){if(a)2==a&&(this.B=this.B&-256|b);else if(b!=(this.P&255)){var c=this.R.na;if(b&1)this.A&&(Tb(c,917504,131072,this.A),this.A=null);else{this.A||(this.A=Ub(c,917504,131072));var d=Ub(c,16646144,131072);Tb(c,917504,131072,d,b&2?1:$b)}this.P=this.P&-256|b}};g.Cj=function(){return kk};g.Gh=function(){return lk}; +Sa(function(){for(var a=mb(window.document,"pcjs","ram"),b=0;b":62,"?":63,"@":64,Tm:65,Um:66,Vm:67,$m:68,E:69,an:70,dn:71,en:72,fn:73,gn:74,hn:75,jn:76,kn:77,mn:78,nn:79,on:80,Q:81,pn:82,tn:83,yn:84,Cn:85,Dn:86,En:87,Gn:88,Hn:89,In:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,Jn:97,Kn:98,Nn:99,d:100,e:101,On:102,Pn:103,Qn:104,Rn:105,Sn:106,k:107,Tn:108, +Un:109,n:110,Wn:111,p:112,q:113,r:114,Xn:115,t:116,Zn:117,$n:118,ao:119,x:120,y:121,z:122,"{":123,"|":124,"}":125,"~":126},nk={};nk[186]=V[";"];nk[187]=V["="];nk[188]=V[","];nk[189]=V["-"];nk[190]=V["."];nk[191]=V["/"];nk[192]=V["`"];nk[219]=V["["];nk[220]=V["\\"];nk[221]=V["]"];nk[222]=V["'"];nk[173]=V["-"];var ok={};ok[V["1"]]=V["!"];ok[V["2"]]=V["@"];ok[V["3"]]=V["#"];ok[V["4"]]=V.$;ok[V["5"]]=V["%"];ok[V["6"]]=V["^"];ok[V["7"]]=V["&"];ok[V["8"]]=V["*"];ok[V["9"]]=V["("];ok[V["0"]]=V[")"]; +ok[186]=V[":"];ok[187]=V["+"];ok[188]=V["<"];ok[189]=V._;ok[190]=V[">"];ok[191]=V["?"];ok[192]=V["~"];ok[219]=V["{"];ok[220]=V["|"];ok[221]=V["}"];ok[222]=V['"'];ok[173]=V._;ok[61]=V["+"];ok[59]=V[":"]; +var pk={3016:1,1016:2,1017:8,1018:32,1091:128,1093:64,1224:128,1020:512,1144:1024,1145:2048},qk={TAB:1009,ESC:1027,F1:1112,F2:1113,F3:1114,F4:1115,F5:1116,F6:1117,F7:1118,F8:1119,F9:1120,F10:1121,LEFT:1037,UP:1038,RIGHT:1039,DOWN:1040,CTRL_C:4003,CTRL_BREAK:4008,CTRL_ALT_DEL:4046},rk={esc:1027,1:V["1"],2:V["2"],3:V["3"],4:V["4"],5:V["5"],6:V["6"],7:V["7"],8:V["8"],9:V["9"],0:V["0"],"-":V["-"],"=":V["="],bs:1008,tab:1009,q:81,w:87,e:69,r:82,t:84,y:89,u:85,i:73,o:79,p:80,"[":V["["],"]":V["]"],enter:13, ctrl:1017,a:65,s:83,d:68,f:70,g:71,h:72,j:74,k:75,l:76,";":V[";"],quote:V["'"],"`":V["`"],shift:1016,"\\":V["\\"],z:90,x:88,c:67,v:86,b:66,n:78,m:77,",":V[","],".":V["."],"/":V["/"],"right-shift":3016,prtsc:1044,alt:1018,space:V[" "],"caps-lock":1020,f1:1112,f2:1113,f3:1114,f4:1115,f5:1116,f6:1117,f7:1118,f8:1119,f9:1120,f10:1121,"num-lock":1144,"scroll-lock":1145,"num-home":1036,"num-up":1038,"num-pgup":1033,"num-sub":1109,"num-left":1037,"num-center":1101,"num-right":1039,"num-add":1107,"num-end":1035, -"num-down":1040,"num-pgdn":1034,"num-ins":1045,"num-del":1046},qk={"caps-lock":512,"num-lock":1024,"scroll-lock":2048},X={1027:1};X[V["1"]]=2;X[V["!"]]=10754;X[V["2"]]=3;X[V["@"]]=10755;X[V["3"]]=4;X[V["#"]]=10756;X[V["4"]]=5;X[V.$]=10757;X[V["5"]]=6;X[V["%"]]=10758;X[V["6"]]=7;X[V["^"]]=10759;X[V["7"]]=8;X[V["&"]]=10760;X[V["8"]]=9;X[V["*"]]=10761;X[V["9"]]=10;X[V["("]]=10762;X[V["0"]]=11;X[V[")"]]=10763;X[V["-"]]=12;X[V._]=10764;X[V["="]]=13;X[V["+"]]=10765;X[1008]=14;X[1009]=15;X[113]=16; +"num-down":1040,"num-pgdn":1034,"num-ins":1045,"num-del":1046},sk={"caps-lock":512,"num-lock":1024,"scroll-lock":2048},X={1027:1};X[V["1"]]=2;X[V["!"]]=10754;X[V["2"]]=3;X[V["@"]]=10755;X[V["3"]]=4;X[V["#"]]=10756;X[V["4"]]=5;X[V.$]=10757;X[V["5"]]=6;X[V["%"]]=10758;X[V["6"]]=7;X[V["^"]]=10759;X[V["7"]]=8;X[V["&"]]=10760;X[V["8"]]=9;X[V["*"]]=10761;X[V["9"]]=10;X[V["("]]=10762;X[V["0"]]=11;X[V[")"]]=10763;X[V["-"]]=12;X[V._]=10764;X[V["="]]=13;X[V["+"]]=10765;X[1008]=14;X[1009]=15;X[113]=16; X[81]=10768;X[119]=17;X[87]=10769;X[101]=18;X[69]=10770;X[114]=19;X[82]=10771;X[116]=20;X[84]=10772;X[121]=21;X[89]=10773;X[117]=22;X[85]=10774;X[105]=23;X[73]=10775;X[111]=24;X[79]=10776;X[112]=25;X[80]=10777;X[V["["]]=26;X[V["{"]]=10778;X[V["]"]]=27;X[V["}"]]=10779;X[13]=28;X[1017]=29;X[97]=30;X[65]=10782;X[115]=31;X[83]=10783;X[100]=32;X[68]=10784;X[102]=33;X[70]=10785;X[103]=34;X[71]=10786;X[104]=35;X[72]=10787;X[106]=36;X[74]=10788;X[107]=37;X[75]=10789;X[108]=38;X[76]=10790;X[V[";"]]=39; X[V[":"]]=10791;X[V["'"]]=40;X[V['"']]=10792;X[V["`"]]=41;X[V["~"]]=10793;X[1016]=42;X[V["\\"]]=43;X[V["|"]]=10795;X[122]=44;X[90]=10796;X[120]=45;X[88]=10797;X[99]=46;X[67]=10798;X[118]=47;X[86]=10799;X[98]=48;X[66]=10800;X[110]=49;X[78]=10801;X[109]=50;X[77]=10802;X[V[","]]=51;X[V["<"]]=10803;X[V["."]]=52;X[V[">"]]=10804;X[V["/"]]=53;X[V["?"]]=10805;X[3016]=54;X[1044]=55;X[1018]=56;X[V[" "]]=57;X[1020]=58;X[1112]=59;X[1113]=60;X[1114]=61;X[1115]=62;X[1116]=63;X[1117]=64;X[1118]=65;X[1119]=66; -X[1120]=67;X[1121]=68;X[1144]=69;X[1145]=70;X[1036]=71;X[1038]=72;X[1033]=73;X[1109]=74;X[1037]=75;X[1101]=76;X[1039]=77;X[1107]=78;X[1035]=79;X[1040]=80;X[1034]=81;X[1045]=82;X[1046]=83;X[1122]=87;X[1123]=88;X[1091]=91;X[1093]=93;X[1224]=91;X[4003]=7470;X[4008]=7494;X[4046]=3677523;g=kk.prototype; -g.Wb=function(a,b,c){var d=this,e=a+"-"+b;if(void 0===this.za[e])switch(b){case "kbd":return c.onkeydown=function(a){return rk(d,a,!0)},c.onkeypress=function(a){a=a||window.event;a=a.which||a.keyCode;var b=!X[a]||!!(d.mc&128);b||sk(d,a,!0);return b},c.onkeyup=function(a){return rk(d,a,!1)},!0;case "caps-lock":return this.za[e]=c,c.onclick=function(){d.O&&d.O.$c();sk(d,1020,!0)},!0;case "num-lock":return this.za[e]=c,c.onclick=function(){d.O&&d.O.$c();sk(d,1144,!0)},!0;case "scroll-lock":return this.za[e]= -c,c.onclick=function(){d.O&&d.O.$c();sk(d,1145,!0)},!0;default:var f=b.toUpperCase().replace(/-/g,"_");if(void 0!==ok[f]&&"button"==a)return this.za[e]=c,c.onclick=function(a,b,c){return function(){a.O&&a.O.$c();tk(a,c,!0);sk(a,c,!0)}}(this,f,ok[f]),!0;if(void 0!==pk[b])return this.aa++,this.za[e]=c,a=function(a,b,c){return function(){sk(a,c)}}(this,b,pk[b]),b=function(a,b,c){return function(){uk(a,c)}}(this,b,pk[b]),"ontouchstart"in window?(c.ontouchstart=a,c.ontouchend=b):(c.onmousedown=a,c.onmouseup= -c.onmouseout=b),!0}return!1};function vk(a,b,c){if(a.aa){for(var d in mk)if(b==mk[d]){b=+d;(d=lk[d])&&(b=d);break}for(var e in pk)if((d=pk[e]==b)||(d=b,97<=d&&122>=d&&(d-=32),d=pk[e]==d),d){(a=a.za["key-"+e])&&void 0!==c&&(a.style.color=c?"#ffffff":"#000000",a.style.backgroundColor=c?"#000000":"#ffffff");break}}}g.Kc=function(a,b,c,d){this.na=b;this.O=c;this.fa=d;this.X=Ab(a,"ChipSet")};function Tj(a,b){a.wa("keyboard reset",65792);a.A=[170];a.R=!0;b&&a.X&&Vj(a.X,a.A[0])} -function Pj(a,b,c){a.Y!==c&&(a.Y=a.qa=c)&&(a.R=!0);a.S!==b&&(a.S=b)&&!a.qa&&Wj(a,!0);a.S&&a.qa&&(Tj(a,!0),a.qa=!1)}function Qj(a){var b=0;a.A.length&&a.R&&(b=a.A[0],a.X&&Vj(a.X,b));a.ta()&&a.wa("scan code "+fa(b)+" available")}function Wj(a,b){0>=1);if(b&3584){if(!1===d)return!0;d=null}null==d?d=!((c?a.P:a.mc)&b):d||b&255&&(b=255);if(c){a.P&=~b;d&&(a.P|=b);c=b;var f,h;for(h in qk)d="led-"+h,e=qk[h],c&&c!=e||!(f=a.za[d])||(f.style.backgroundColor=a.P&e?"#00ff00":"#000000")}else a.mc&=~b,d&&(a.mc|=b);return!0}}return!1} -function sk(a,b,c){if(X[b]&&a.O&&a.O.oa.Hb){nk[b]&&a.B.length&&0e||(e==a.B.length&&(d={},d.De=b,d.mc=a.mc,vk(a,b,!0),e++),0b.Cd){if(!b.uf){uk(a,b.De);return}b.uf=!1;c=a.pa}else c=1==b.Cd++?500:100;b.Tj=setTimeout(function(a){return function(){xk(a,b)}}(a),c)}}else uk(a,b.De,!0)} -function zk(a,b,c){var d=b;if(65<=b&&90>=b)!(a.mc&515)==c&&(d=b+32);else if(97<=b&&122>=b)!!(a.mc&515)==c&&(d=b-32);else if(!!(a.mc&3)==c){if(a=mk[b])d=a}else if(a=lk[b])d=a;return d}g.Yg=function(a){a||(this.mc&=-256)}; -function rk(a,b,c){var d=!0,e=!1,f=!1,h=b.keyCode,k=zk(a,h,!0);a.Bh&&k==V["`"]&&(h=k=27);if(X[h+1E3])if(k+=1E3,2==b.location&&(k+=2E3),tk(a,k,!1,c)){if(20==h||144==h||145==h)a.ja||(c=e=!0);if(!(c||91!=h&&93!=h))for(var q=0;q=b||97<=b&&122>=b;d>>>=8;){var h=0,k=d&255;224==f||225==f?e.push(f|(c?0:128)):(42==k?a.P&3||a.P&512&&b||(h=k):29==k?a.P&12||(h=k):56==k?a.P&48||(h=k):e.push(f|(c?0:128)),h&&(c?e.unshift(h):e.push(h|128)))}for(c=0;cd.A.length?(d.ta()&&d.wa("scan code "+fa(f)+" buffered"),d.A.push(f),1==d.A.length&&d.X&&Vj(d.X,f)):(20== -d.A.length&&d.A.push(255),d.wa("scan code buffer overflow")))}}Ra(function(){for(var a=kb(window.document,"pcjs","keyboard"),b=0;bc.length)c=[!1,0,null,null,0,Array(5>b?Sk:Tk)];this.fa=a.fa;this.type=e[0];this.port=e[1];this.nb=b;this.qb=e[2];this.$b=e[3];this.xd=d||e[4];65536<=this.xd&&720896<=this.qb&&(this.$b=Math.min(this.xd>>2,32768));this.wc=c[0];this.Zc=c[1];this.kf=c[2];this.Ka=c[3];this.sc=c[4]&255;this.eh=c[4]>>8&255;this.ub=c[5];this.Lh=Sk;this.Wf=Uk;if(5<=b){this.Lh=Tk;this.Wf=Vk;b=c[6];void 0===b&&(b=[!1,0,Array(20), -0,3==f?0:1,0,0,Array(5),0,0,0,Array(9),0,[this.qb,this.$b,this.xd],Array(this.xd>>2),-2147478512,0,-1,0,-1,0,-1,0,0,0,0,1,255,0,0,0,Array(256)]);this.Ne=b[0];this.Dd=b[1];this.Lc=b[2];this.rh=Wk;this.hh=b[3];this.mf=b[4];this.Pf=b[5];this.Td=b[6];this.Ae=b[7];this.th=Xk;this.Nj=b[8];this.Oj=b[9];this.Sd=b[10];this.Rd=b[11];this.sh=Yk;this.Eb=b[12];d=b[13];"number"==typeof d&&(d=[this.qb,this.$b,d]);this.qb=d[0];this.$b=d[1];d=this.xd>>2;if((this.od=b[14])&&this.od.length>this.controller.Vi&255};$k[17408]=function(a){return(this.controller.Eb=this.ia[(a&-4)+this.A])>>((a&3)<<3)&255};$k[5120]=function(a){a+=this.A;var b=this.controller.Eb=this.ia[a&-2];return(a&1?b>>8:b)&255};$k[1280]=function(a){a+=this.A;a=this.controller.Eb=this.ia[a];for(var b=this.controller.Nh,c=this.controller.Mh&b,d=0,e=128;e;)(a&b)==c&&(d|=e),c>>>=1,b>>>=1,e>>=1;return d}; -$k[0]=function(a,b){var c=a+this.A,d;d=(b|b<<8|b<<16|b<<24)&this.controller.Od|this.controller.ge;d=d&this.controller.Kb|this.controller.Eb&~this.controller.Kb;d=d&this.controller.tb|this.ia[c]&~this.controller.tb;this.ia[c]!=d&&(this.ia[c]=d,this.gb=!0)}; -$k[32]=function(a,b){var c=a+this.A;b=b>>this.controller.Xc|b<<8-this.controller.Xc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.Od|this.controller.ge;d=d&this.controller.Kb|this.controller.Eb&~this.controller.Kb;d=d&this.controller.tb|this.ia[c]&~this.controller.tb;this.ia[c]!=d&&(this.ia[c]=d,this.gb=!0)}; -$k[96]=function(a,b){var c=a+this.A;b=b>>this.controller.Xc|b<<8-this.controller.Xc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.Od|this.controller.ge;d&=this.controller.Eb;d=d&this.controller.Kb|this.controller.Eb&~this.controller.Kb;d=d&this.controller.tb|this.ia[c]&~this.controller.tb;this.ia[c]!=d&&(this.ia[c]=d,this.gb=!0)}; -$k[160]=function(a,b){var c=a+this.A;b=b>>this.controller.Xc|b<<8-this.controller.Xc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.Od|this.controller.ge;d|=this.controller.Eb;d=d&this.controller.Kb|this.controller.Eb&~this.controller.Kb;d=d&this.controller.tb|this.ia[c]&~this.controller.tb;this.ia[c]!=d&&(this.ia[c]=d,this.gb=!0)}; -$k[224]=function(a,b){var c=a+this.A;b=b>>this.controller.Xc|b<<8-this.controller.Xc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.Od|this.controller.ge;d^=this.controller.Eb;d=d&this.controller.Kb|this.controller.Eb&~this.controller.Kb;d=d&this.controller.tb|this.ia[c]&~this.controller.tb;this.ia[c]!=d&&(this.ia[c]=d,this.gb=!0)};$k[4]=function(a,b){var c=(a&-4)+this.A,d=(a&3)<<3,d=b<>this.controller.Xc|b<<8-this.controller.Xc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.Kb;d=this.controller.Gf&d|this.controller.Eb&~d;d=d&this.controller.tb|this.ia[c]&~this.controller.tb;this.ia[c]!=d&&(this.ia[c]=d,this.gb=!0)}; -function al(a){var b=[];if(void 0!==a.nb){b[0]=a.wc;b[1]=a.Zc;b[2]=a.kf;b[3]=a.Ka;b[4]=a.sc|a.eh<<8;b[5]=a.ub;if(5<=a.nb){var c=[];c[0]=a.Ne;c[1]=a.Dd;c[2]=a.Lc;c[3]=a.hh;c[4]=a.mf;c[5]=a.Pf;c[6]=a.Td;c[7]=a.Ae;c[8]=a.Nj;c[9]=a.Oj;c[10]=a.Sd;c[11]=a.Rd;c[12]=a.Eb;c[13]=[a.qb,a.$b,a.xd];var d;a:if(d=a.od){var e=0,f=[];if(void 0!==d[0])for(var h=0;2>h;h++)for(var k=h;k>1;f[e++]=q;k=r}if(f.length>3;for(c=0;c=d&&(N=d,C=!0);break;case "p":0<= -d&&3>=d&&(I=d);break;case "w":d=b.qb&&(f-=b.qb);a="";for(c=0;cI?l(O):ea(O>>(I<<3)));C&&(f+=J-N);a&&(a+="\n");a+=W}a&&b.fa.V(a);b.B=f}else b.fa.V("no buffer")}else e.fa.V("BIOSMODE: "+fa(e.Pa)),b=e.B,bl(b,"CRTC",b.sc,b.ub,b.Wf),5<=b.nb&&(bl(b," GRC",b.Sd,b.Rd,b.sh),bl(b," SEQ",b.Td,b.Ae,b.th),bl(b," ATC",b.Dd,b.Lc,b.rh),bl(b," ATCINDX", -b.Dd),b.fa.V(" ATCDATA: "+b.Ne),bl(b," FEAT",b.Pf),bl(b," MISC",b.mf),bl(b," STATUS0",b.hh)),bl(b," STATUS1",b.Ka),b.nb!=Bk&&3!=b.nb||bl(b," MODEREG",b.Zc),3==b.nb&&bl(b," COLOR",b.kf),5<=b.nb&&(b.fa.V(" LATCHES: 0x"+l(b.Eb)),b.fa.V(" ACCESS: "+ga(b.hg)),b.fa.V("Use 'dump video [addr]' to dump video memory"));else e.fa.V("no active video card")})}if((this.P=Ab(a,"Keyboard"))&&this.ua){for(var f in this.za)0c&&(a=Math.round(c/b*100)+"%")}this.te?(this.ua.style.width=a,this.ua.style.width=a,this.ua.style.display="block",this.ua.style.margin="auto"):(this.ja.style.width=a,this.ja.style.height="auto");this.ja.style.backgroundColor="black";this.ja.Me();a=!0}this.$c()}return a}; -function Fk(a,b){!b&&a.ja&&(a.te?a.ua.style.width=a.ua.style.height="":a.ja.style.width=a.ja.style.height="");a.wa("notifyFullScreen("+b+")",!0);a.P&&(a.P.Bh=b)}g.ue=function(a){var b=!1;this.S&&(a?this.S.ue&&(this.S.ue(),this.Y&&this.Y.If(!0),b=!0):this.S.Uj&&(this.S.Uj(),this.Y&&this.Y.If(!1),b=!0),this.$c());return b};g.If=function(a){this.Y&&(this.Y.If(a),this.P&&(this.P.Bh=a));var b=this.za.lockPointer;b&&(b.textContent=a?"Press Esc to Unlock Pointer":this.Zj)}; -function kl(a,b){var c=a.S;c&&!a.Ad&&(c.addEventListener("touchstart",function(b){ll(a,b,!0)},!1),c.addEventListener("touchmove",function(b){ll(a,b)},!0),c.addEventListener("touchend",function(b){ll(a,b,!1)},!1),a.Ad=b,a.jc=a.Bc=a.Of=-1)}g.Yg=function(a){this.qe=a;this.P&&this.P.Yg(a)}; -function ll(a,b,c){var d,e;a.qe&&b.preventDefault();var f=0,h=0;e=a.ua;do isNaN(e.offsetLeft)||(f+=e.offsetLeft,h+=e.offsetTop);while(e=e.offsetParent);var k=a.Da/a.ua.offsetWidth,q=a.La/a.ua.offsetHeight;b.targetTouches&&b.targetTouches.length?(d=b.targetTouches[0].pageX,e=b.targetTouches[0].pageY):(d=b.pageX,e=b.pageY);d=(d-f)*k;e=(e-h)*q;if(1==a.Ad)d=d/(a.Da/3)|0,e=e/(a.La/3)|0,1!=e?e?sk(a.P,1040,!0):sk(a.P,1038,!0):1!=d&&(d?sk(a.P,1039,!0):sk(a.P,1037,!0));else if(a.Y){!0===c&&(a.Of=b.timeStamp); -if(!1===c&&(b=b.timeStamp-a.Of,a.V("processTouchEvent(false,"+b+")"),200>b)){a.Y.Le(ml,!0);a.Y.Le(ml,!1);return}if(c||0>a.jc||0>a.Bc)a.jc=d,a.Bc=e;c=Math.round(d-a.jc);b=Math.round(e-a.Bc);a.jc=d;a.Bc=e;a.Y.xf(c,b,a.jc,a.Bc)}}g.rc=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};g.qc=function(a){return a&&this.save?this.save():!0}; -g.reset=function(){var a=!0,b=0;this.X&&(b=$i(this.X));this.sa||(this.nb=3==b?Bk:3);this.Ea=3;switch(this.nb){case bk:b=7;break;case 5:var c=Hk[this.Nc];c&&(b=c[0]);b||(b=4);break;case Bk:b=3;this.Ea=Dk;break;default:b=2}this.Ha!==b&&(this.Ha=b,a=!0);this.B=null;this.Aa=this.ld=new Qk(this,Bk);this.ea=this.Oc=new Qk(this,3);5>this.nb?this.A=new Qk:(this.A=new Qk(this,this.nb,null,this.xd),nl(this));ol(this);this.Pa=null;this.fb=this.ra=-1;this.Za=0;pl(this,this.Ea);if(this.B.qb&&a){a=this.B.qb+this.Nb; -for(b=this.B.qb;b>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8);ec(this.na,b,c|d<<8)}Wc(this,!0)}};function nl(a){a.A.mf&1?(a.Aa=a.ld,a.ea=a.A):(a.Aa=a.A,a.ea=a.Oc)}g.save=function(){var a=new We(this);Xe(a,0,al(this.ld));Xe(a,1,al(this.Oc));Xe(a,2,[this.Ha,this.Ea,this.Pa]);Xe(a,3,al(this.A));return a.data()}; -g.restore=function(a){var b=a[2];this.Ha=b[0];this.Ea=b[1];this.Pa=b[2];this.B=null;this.Aa=this.ld=new Qk(this,Bk,a[0]);this.ea=this.Oc=new Qk(this,3,a[1]);this.A=new Qk(this,this.nb,a[3],this.xd);this.A.wc&&nl(this);ol(this);if(!ql(this))return!1;rl(this);return!0}; -g.Rl=function(a,b,c){if(c)this.Ta("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){Ca("Empty font ROM image: "+a);return}if(1==d.length){Ca(d[0]);return}if(8192==d.length)ak(this,d,[6144,0]);else{this.Ta("Unrecognized font data length ("+d.length+")");return}}catch(e){this.Ta("Font ROM data error: "+e.message);return}(this.pa||this.fa)&&pb(this)}}; -function sl(a,b){if(1==b)return a.Ja[0]=Kk[0],a.Ja[1]=Kk[7],a.Ja;if(2==b){var c=a.B.kf;if(a.B===a.A){var d=a.A.Lc[0],c=d&7;d&16&&(c|=8);18!=a.A.Lc[1]&&(c|=32)}a.Ja[0]=Kk[c&15];c=c&32?Mk:Lk;for(d=0;df;f++)h=d[f]||0,k=h<<2&252,q=h>>4&252,h=h>>10&252,a.Ja[f]=[k,q,h,255];else{var r=d&&d[255];e=null!=c.Lc[15]?c.Lc:Nk;for(f=0;16>f;f++)h=e[f]&63,r?(h|= -(c.Lc[20]&12)<<4,c.Lc[16]&128&&(h&=-49,h|=(c.Lc[20]&3)<<4),h=d[h],k=h<<2&252,q=h>>4&252,h=h>>10&252):(k=(h&4?170:0)|(h&32?85:0),q=(h&2?170:0)|(h&16?85:0),h=(h&1?170:0)|(h&8?85:0)),a.Ja[f]=[k,q,h,255]}a.vb=!0}return a.Ja}function ak(a,b,c,d){a.Mc=b;a.md=c;a.pb=d} -function ol(a,b){var c=!1;if(window&&a.Mc&&(!b||a.qa)){var d=0,e=a.pb?a.pb:8,f=sl(a);tl(a,3,a.md[0],d,e,8,a.Mc,f)&&(c=!0);d=a.pb?0:2048;e=a.pb?a.pb:9;tl(a,1,a.md[1],d,e,14,a.Mc,Ik,Jk)&&(c=!0);a.pb&&tl(a,a.nb,a.md[1],0,a.pb,14,a.Mc,f)&&(c=!0)}return c}function tl(a,b,c,d,e,f,h,k,q){var r=!1;null!=c&&(ul(a,b,c,d,e,f,h,k,q)&&(r=!0),a.nh&&ul(a,b<<1,c,d,e,f,h,k,q)&&(r=!0));return r} -function ul(a,b,c,d,e,f,h,k,q){var r=!1,x=b&1?0:1,C=a.Va[b],z=16>k.length?k.length:16;C||(C={Ic:e<ca||!O?ca:8,Sc=xa.createImageData(r.Ic,r.Jc),Fa=0;256>Fa;Fa++){for(ha= -0;ha=ca-2,xc=la[ha>(8<=vb&&192<=Fa&&223>=Fa?7:vb)?N:za;vl(Sc,fe,Ad,ge);J&&vl(Sc,fe+1,Ad,ge)}xa.putImageData(Sc,(Fa&15)*r.Ic,(Fa>>4)*r.Jc)}r.Fe[I]="#"+l(N[0],2)+l(N[1],2)+l(N[2],2);r.hj[I]=N;r.qh[I]=va;r=!0}}a.Va[b]=C;return r}function wl(a){0a.fb&&(a.fb=0):a.fb=-1} -function rl(a){if(a.qa){for(var b=10;15>=b;b++)if(null==a.B.ub[b])return;var c=a.B.ub[10],b=c&31,d=a.B.ub[11]&31,e=a.B.ub[9]&31,f=!1;a.B===a.A&&(f=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!f||b>e)xl(a);else{c=a.B.ub[15]+((a.B.ub[14]&63)<<8);a.ra!=c&&(xl(a),a.ra=c);d=d-b+1;if(a.Sf!=b||a.re!=d)a.Sf=b,a.re=d;a.$a=e+1;wl(a)}}} -function xl(a){if(0<=a.ra){if(void 0!==a.ga){var b=a.ga[a.ra];if(b&131072){var b=b&-131073,c=a.ra%a.R,d=a.ra/a.R|0;a.qa&&a.Va[a.qa]&&(a.kb&&yl(a,c,d,b,a.kb),yl(a,c,d,b));a.ga[a.ra]=b}}a.ra=-1}} -function zl(a){var b,c=a.B;a.se=!1;var d=c.Rd[5];if(null!=d){b=1024;var e=0,f=c.Rd[3]&31;switch(d&3){case 0:if(f){e=32;switch(f&24){case 8:e=96;break;case 16:e=160;break;case 24:e=224}c.Xc=f&7}break;case 1:e=1;break;case 2:switch(f&24){default:e=2;break;case 8:e=98;break;case 16:e=162;break;case 24:e=226}break;case 3:a.nb==bk&&(e=3,c.Xc=f&7)}d&8&&(b=1280);c=c.Ae[4];null!=c&&(c&4||(b|=4096,e|=16),d&64&&(c&8&&(b|=16384,e|=4),a.se=!0));b|=e}return b} -function Al(a,b){var c=a.B;c&&null!=b&&b!=c.hg&&(c.ih(b),a.na.ih(c.qb,c.$b,c.Fh()))} -function ql(a,b){var c,d=a.Pa,e=a.B;if(e)if(e.nb==Bk)d=Dk;else if(5<=e.nb){var d=null,f=e.xd>>2,h=32768=e.ub[18]?19:20:21:h&128||350>f?d=c?13:14:480<=f&&(d=3==a.Ha?17:18):d=c?7-d:6:d-=c?2:0);c=zl(a)}}else e.Zc&8&&(e.Zc&2?(d=e.Zc&16?6:5,e.Zc&4||--d):(d=e.Zc&1?3:1,e.Zc&4&&--d));else a.Pa=null,null==d&&(d=a.Ea);if(!pl(a,d,b))return!1;Al(a,c);return!0} -function pl(a,b,c){if(null!=b&&(b!=a.Pa||c)){a.kh=0;a.Pa=b;a.vb=!1;b=a.B||(b==Dk?a.Aa:a.ea);if(b!=a.B||b.qb!=a.qb||b.$b!=a.$b){xl(a);if(a.qb){if(!Vb(a.na,a.qb,a.$b))return!1;a.B&&(a.B.wc=!1)}a.B=b;b.wc=!0;a.qb=b.qb;a.$b=b.$b;if(!Qb(a.na,b.qb,b.$b,3,b===a.A?b:null))return!1}a.qa=0;a.R=a.cd;a.aa=a.zd;a.Bb=a.R;a.Pc=Ck[Dk][2];b=0;if(c=Ck[a.Pa])a.R=c[0],a.aa=c[1],a.Pc=c[2],b=c[3],a.qa=c[4],4!=a.Ha&&7!=a.Ha||a.B!==a.A||3!=a.qa||(7==a.A.ub[9]?a.aa=43:a.qa=a.nb);a.ze=a.R*a.aa|0;a.ve=a.ze/a.Pc|0;a.Nb=a.ve; -a.nd=0;void 0!==b&&(a.Nb=(a.Nb<<1)+b|0,a.nd=a.Nb+b>>1);a.Va.length&&(a.Na=a.Da/a.R|0,a.Oa=a.La/a.aa|0,a.qa?(b=a.Va[a.qa],c=a.Va[a.qa<<1],a.fj&&80==a.R?c&&a.Na>=3*c.Ic>>2&&(a.qa<<=1,b=c):(c&&a.Na>=c.Ic&&(a.qa<<=1,b=c),b&&(a.Na=b.Ic,a.Oa=b.Jc)),a.Tb=a.Yb=0,b&&(a.Tb=a.R*b.Ic,a.Yb=a.aa*b.Jc)):(a.Na=a.Oa=1,a.Tb=a.R,a.Yb=a.aa),a.wb=a.pa.createImageData(a.Tb,a.Yb),a.jb=window.document.createElement("canvas"),a.jb.width=a.Tb,a.jb.height=a.Yb,a.kb=a.jb.getContext("2d"),a.ae=a.ce=0,a.pd=a.Da,a.qd=a.La,b=a.Da- -a.R*a.Na,c=a.La-a.aa*a.Oa,0>1,a.pd-=b),0>1,a.qd-=c),b||c)&&(a.pa.fillStyle=a.ua.style.backgroundColor,a.pa.fillRect(0,0,a.Da,a.La));Bl(a,!0);Wc(a)}return!0}function vl(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Cl(a){a.Za=-1;a.Ma=!1;var b=a.ve;if(void 0===a.ga||a.ga.length!=b)a.ga=Array(b)}function Bl(a,b){b||(a.vb=!1);Cl(a)} -function yl(a,b,c,d,e){var f=d&255,h=d>>8;d=h&15;var k=a.Va[a.qa];k.qf&&(d=k.qf[d]);var q=h>>4&15;k.qf&&(q=k.qf[q]);e?(b*=k.Ic,c*=k.Jc,e.fillStyle=k.Fe[q],e.fillRect(b,c,k.Ic,k.Jc)):(b=b*a.Na+a.ae,c=c*a.Oa+a.ce,a.pa.fillStyle=k.Fe[q],a.pa.fillRect(b,c,a.Na,a.Oa));h&256&&(q=(f&15)*k.Ic,f=(f>>4)*k.Jc,e?e.drawImage(k.qh[d],q,f,k.Ic,k.Jc,b,c,k.Ic,k.Jc):a.pa.drawImage(k.qh[d],q,f,k.Ic,k.Jc,b,c,a.Na,a.Oa));h&512&&(f=a.Sf,h=a.re,e?(a.$a&&a.$a!==k.Jc&&(f=f*k.Jc/a.$a|0,h=h*k.Jc/a.$a|0),e.fillStyle=k.Fe[d], -e.fillRect(b,c+f,k.Ic,h)):(a.$a&&a.$a!==a.Oa&&(f=f*a.Oa/a.$a|0,h=h*a.Oa/a.$a|0),a.pa.fillStyle=k.Fe[d],a.pa.fillRect(b,c+f,a.Na,h)))} -function Wc(a,b){if(a.oa.oc){var c=!1,d=a.B;d&&(d!==a.A?d.Zc&8&&(c=!0):d.Dd&32&&(c=!0));if(c||b){if(b)Cl(a);else if(void 0===a.ga)return;var e=!1;!(b||++a.kh&15)&&0<=a.fb&&(a.fb++,e=!0);var f=0,h=a.ze,k=a.qb,c=k,q=c+a.$b;19<=a.Pa&&(k=c=655360,q=c+65536);if(dm(a,d)&8||d.hf&&d.hfq&&(r=q-c,0>r&&(r=0));q=c+ -r;if(d=!b&&a.Ma){for(var d=a.na,x=!0,C=c>>>d.Ra;0a.ra)return;f=a.ra;h=f+1}}if(a.qa){if(a.Va[a.qa]){e=0;k=a.Za=0;d=1048575;r=a.B.Zc&32;5<=a.nb&&(r=a.B.Lc[16]&8);r&&(k=32768,d&=~k,a.fb&2||(d&=-65537));for(c+=f<<1;c>8|(z&255)<<8;var O=k,Z=16;x>=d))>>(Z-=d);vl(a.wb,x++,C,r[la])}x>I&&(I=x);C=W&&(W=C+1)}q+=2;f++;if(x>=a.R){x=0;C+=2;if(C>a.aa)break;C==a.aa&&(C=1,q=c+a.nd)}}a.Ma=!0;Na.R?a.Bb-a.R-z>>3:0;c>=8;r>N&&(N=r);x=J&&(J=x+1)}c+=W;if(r>=a.R){r=0;if(++x>a.aa)break;c+=O}}z||(a.Ma=!0);Ca.R?a.Bb-a.R-J>>3:0;cO&&(Z=O)):(z<<=J,Z-=J,a.Ma=!1):(a.Ma&&z===a.ga[f]?(d+=Z,Z=0):a.ga[f]=z,f++);if(Z){dC&&(C=d);r=I&&(I=r+1)}if(d>=a.R){d=0;if(++r>a.aa)break;c+=W}}J||(a.Ma=!0);xd&&(b.Th=d,d=-d|0);d%b.Oh>b.Ml&&(c|=1);d%b.Rh>b.Ol&&(c|=9);b.Wi=d/b.Rh|0;return c}g.hl=function(a,b){return em(this,this.Aa,a,b)};g.Bm=function(a,b,c){var d=this.Aa;d.eh=d.sc;d.sc=b&31;m(this,a,b,c,"CRTC.INDX")};g.gl=function(a,b){return fm(this,this.Aa,a,b)};g.Am=function(a,b,c){gm(this,this.Aa,a,b,c)};g.il=function(a,b){return hm(this,this.Aa,b)};g.Cm=function(a,b,c){a=this.Aa;m(this,a.port+4,b,c,"MODE");a.Zc=b;ql(this,!1)}; -g.jl=function(a,b){return im(this,this.Aa,b)};g.Mj=function(a,b,c){this.A.Pf=this.A.Pf&-4|b&3;m(this,a,b,c,"FEAT")};g.Jk=function(a,b){var c=this.A.Dd;b&&!this.ta()||m(this,960,null,b,"ATC.INDX",c);return c};g.gk=function(a,b){var c=this.A.Lc[this.A.Dd&31];b&&!this.ta()||m(this,960,null,b,"ATC."+this.A.rh[this.A.Dd&31],c);return c}; -g.Lj=function(a,b,c){var d=this.A,e=d.Dd&32;if(d.Ne){d.Ne=!1;var f=d.Dd&31;if(16<=f||!e)c&&!this.ta()||m(this,a,b,c,"ATC."+d.rh[f]),d.Lc[f]=b,Bl(this,!1)}else d.Dd=b,m(this,a,b,c,"ATC.INDX"),d.Ne=!0,b&32&&!e&&ol(this,!0)&&Wc(this,!0),d.Kf=(d.ub[12]<<8)+d.ub[13]|0,d.hf=0};g.tl=function(a,b){var c=0;if(5==this.nb)c=3-((this.A.mf&12)>>2),c=(this.Nc&1<>this.A.zc&63;b&&!this.ta()||m(this,969,null,b,"DAC.DATA["+fa(this.A.jd)+"]["+fa(this.A.zc)+"]",c);this.A.zc+=6;12Missing <canvas> support. Please try a newer web browser.";break}e.setAttribute("class","pcjs-canvas");e.setAttribute("width",d.screenWidth);e.setAttribute("height",d.screenHeight);e.style.backgroundColor=d.screenColor;e.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(c.onresize= -function(a,b,c,d){return function(){b.style.height=(a.clientWidth*d/c|0)+"px"}}(c,e,d.screenWidth,d.screenHeight),c.onresize());c.appendChild(e);var f=window.document.createElement("textarea");Ja("iOS")&&(f.setAttribute("autocapitalize","off"),f.setAttribute("autocorrect","off"));c.appendChild(f);var h=e.getContext("2d"),d=new Y(d,e,h,f,c);jb(d,c)}}); -function jm(a){this.ua=a.adapter;switch(this.ua){case 1:this.ja=1016;this.aa=4;break;case 2:this.ja=760;this.aa=3;break;default:Ca("Unrecognized serial adapter #"+this.ua);return}this.S=null;Va.call(this,"SerialPort",a,jm,4194304);var b=a.binding,c;a=km;b&&(void 0===c&&(c="Panel"),(c=hb(c,this.id))&&(b=c.za[b])&&this.Wb(null,a,b))}cb(jm);var km="buffer";g=jm.prototype;g.jj=function(a,b){return a==this.Vd?(this.Y=b,this):null}; -g.Wb=function(a,b,c){var d=this;switch(b){case km:return this.za[b]=this.S=c,c.onkeydown=function(a){a=a||window.event;var b=a.keyCode;if(8===b||a.ctrlKey&&65<=b&&90>=b)a.preventDefault&&a.preventDefault(),64>8:this.ea;m(this,a,null,b,this.B&128?"DLM":"IER",c);return c};g.cl=function(a,b){var c=this.R;m(this,a,null,b,"IIR",c);return c}; -g.dl=function(a,b){var c=this.B;m(this,a,null,b,"LCR",c);return c};g.fl=function(a,b){var c=this.P;m(this,a,null,b,"MCR",c);return c};g.el=function(a,b){var c=this.A;m(this,a,null,b,"LSR",c);return c};g.kl=function(a,b){var c=this.pa;m(this,a,null,b,"MSR",c);return c}; -g.Mm=function(a,b,c){m(this,a,b,c,this.B&128?"DLL":"THR");this.B&128?this.qa=this.qa&-256|b:(this.ra=b,this.A&=-97,this.S?(13!=b&&(8==b?this.S.value=this.S.value.slice(0,-1):(this.S.value+=String.fromCharCode(b),this.S.scrollTop=this.S.scrollHeight)),a=!0):a=!1,a&&(this.A|=96))};g.xm=function(a,b,c){m(this,a,b,c,this.B&128?"DLM":"IER");this.B&128?this.qa=this.qa&255|b<<8:this.ea=b};g.ym=function(a,b,c){m(this,a,b,c,"LCR");this.B=b}; -g.zm=function(a,b,c){var d=this.P;m(this,a,b,c,"MCR");this.P=b;this.Y&&(d^b)&3&&(a=this.Y,b=this.P,(c=3==(b&3))?a.wc||(d=!1,a.P&2||(a.reset(),a.wa("serial mouse reset"),d=!0),a.P&1||(a.wa("serial mouse ID requested"),d=!0),d&&(lm(a.R,[77,77]),a.wa("serial mouse ID sent")),qm(a),a.wc=c):a.wc&&(a.wa("serial mouse inactive"),rm(a),a.wc=c),a.P=b)}; -var mm={0:jm.prototype.ql,1:jm.prototype.bl,2:jm.prototype.cl,3:jm.prototype.dl,4:jm.prototype.fl,5:jm.prototype.el,6:jm.prototype.kl},nm={0:jm.prototype.Mm,1:jm.prototype.xm,3:jm.prototype.ym,4:jm.prototype.zm};Ra(function(){for(var a=kb(window.document,"pcjs","serial"),b=0;ba.X||0>a.S)a.X=b.clientX,a.S=b.clientY;a.ja?(c=b.movementX||b.mozMovementX||b.webkitMovementX||0,d=b.movementY||b.mozMovementY||b.webkitMovementY||0):(c=b.clientX-a.X,d=b.clientY-a.S);a.X=b.clientX;a.S=b.clientY;a.xf(c,d,a.X,a.S)}} -g.Le=function(a,b){if(this.wc&&this.O&&this.O.oa.Hb){var c="mouse button"+a+" "+(b?"dn":"up");switch(a){case ml:this.ea!=b&&(this.ea=b,wm(this,c));break;case 2:this.ga!=b&&(this.ga=b,wm(this,c))}}};g.xf=function(a,b,c,d){this.wc&&this.O&&this.O.oa.Hb&&(a||b)&&(this.Y=a,this.aa=b,wm(this,null,c,d))}; -function wm(a,b,c,d){var e=64|(a.ea?32:0)|(a.ga?16:0)|(a.aa&192)>>4|(a.Y&192)>>6,f=a.Y&63,h=a.aa&63;a.ta(4194304)&&a.wa((b?b+": ":"")+(void 0!==d?"mouse ("+c+","+d+"): ":"")+"serial packet ["+fa(e)+","+fa(f)+","+fa(h)+"]",0,!0);lm(a.R,[e,f,h]);a.Y=a.aa=0}Ra(function(){for(var a=kb(window.document,"pcjs","mouse"),b=0;b>9]);if(f){if(e+c<=f.length)return Pm(f,e,c);for(e=d=0;c--;)d|=Nm(a,b++,1)<=e.Xi&&a<=e.Kj){d=a-=e.Xi;var f,h;for(h in e.je){var k=e.je[h],q=a-k[0];if(!q){c=this.Rf+"!"+k[1];break}b&&0>2;var e=d=0,a=new DataView(a,0,c);h.A=Array(h.Mb);for(c=0;cb.indexOf("/api/v1/dump")&&(a=ja(b),"json"==a?f=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(f=Um(this,b),this.cg=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"):ka(b,"/")&&(c="dir"),f=Ba()+"/api/v1/dump?"+c+"="+ -encodeURIComponent(b)+(this.Se?"":d)+"&format=json")),Aa(f,!0,null,this,this.sk,b)}; -g.sk=function(a,b,c,d){var e=null;this.Ve=!1;var f=0>c&&this.qa&&!this.qa.oa.oc;this.ra=a;if(this.cg)c?this.controller.Ta('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",f):(this.R=!0,Vm(this),e=this);else if(c)this.controller.Ta('Unable to load disk "'+this.X+'" (error '+c+")",f);else try{if(0h&&0b.indexOf("0x")&&'["'!=b.substr(0,2)?JSON.parse(b.replace(/([a-z]+):/gm,'"$1":').replace(/\/\/[^\n]*/gm,"")):eval("("+b+")");if(k.length)if(1==k.length)Ca(k[0]);else{this.Mb=k.length;this.Gb=k[0].length;this.sb=k[0][0].length;var q=k[0][0][0];this.ab=q&&q.length||512;for(b=a=0;b>2,x=q.pattern;void 0===x&&(x=q.pattern=0);var C=q.data;if(void 0===C){var z=q.bytes; -if(void 0!==z&&z.length){for(var f=r<<2,N=z.length;Nb;b++){if(128==Pm(e,c+0,1)){d.Mf=Pm(e,c+8,4);(e=Om(a,d.Mf))&&(f=!0);break}c+=16}if(!f)return}d.wf||(d.wf=Pm(e,19,2)||Pm(e,32,4),d.vf=Pm(e,14,2),d.Ih=d.vf+Pm(e,22,2)*Pm(e,16,1),d.Sh=Pm(e,17,2),d.jg=Pm(e,13,1));d.Gh=d.Ih+((32*d.Sh+(d.ab-1))/d.ab|0);d.Ll=(d.wf-d.Gh)/d.jg|0;d.lg=4084>=d.Ll?12:16;d.zk=12==d.lg?4086:65526;b=[];for(e=d.Ih;e>8;f+=2;if(q)for(;r--;)Nm(d,f,1),254>=q?(x=q,C=Nm(d,f+1),f+=3):(x=Nm(d,f+3,1),C=Nm(d,f+4),f+=6),d.vd[x]&&(d.vd[x].je[k]=[C]),d.A[k]=[x,C],k++;else k+=r}(h=Qm(e,Km,c))&&Rm(e,h+c);h=Qm(e,Lm,c);k=Qm(e,Im,c);h&&k&&Rm(e,h,h+k)}}}} -function Ym(a,b,c,d,e){var f,h=a.P.length,k=b.ab/32|0;b.Zn=d+"\\";for(var q=0;qI)break;for(var J=z.Gh+(I-2)*z.jg,W=0;W>3,1),d?e=16==b.lg?e<<8:c&7?e<<4:(e&15)<<8:c&7&&(e>>=4));return e} -function Om(a,b){var c=a.Gb*a.sb,d=b%c;return a.seek(b/c|0,d/a.sb|0,d%a.sb+1)}function Pm(a,b,c){for(var d=0,e=0;c--;){var f=$m(a,b++);if(0>f)break;d|=f<=e)break;d+=String.fromCharCode(e)}return d}function Tm(a,b,c,d,e,f){a||(a={sector:d,length:e,data:[],pattern:f});a.Ak=b;a.Bk=c;a.td=a.Sc=0;a.gb=!1;return a} -function Um(a,b){var c;c="action=open&volume="+b+("&mode="+a.mode);c+="&chs="+a.Mb+":"+a.Gb+":"+a.sb+":"+a.ab;c+="&machine="+a.controller.We();c+="&user="+a.controller.be();return Ba()+"/api/v1/disk?"+c}function an(a,b,c,d,e,f,h){if(a.R){var k;k="action=read&volume="+a.wa;k+="&chs="+a.Mb+":"+a.Gb+":"+a.sb+":"+a.ab;k=k+("&addr="+b+":"+c+":"+d+":"+e)+("&machine="+a.controller.We());k+="&user="+a.controller.be();Aa(Ba()+"/api/v1/disk?"+k,f,null,a,a.vk,[b,c,d,e,f,h])}else h&&h(-1,!1)} -g.vk=function(a,b,c,d){var e=!1;a=d[0];var f=d[1],h=d[2],k=d[3];if(!c){b=JSON.parse(b);for(e=0;k--;){var q=this.seek(a,f,h,!0);if(!q)break;Wm(q,b,e);e+=q.length;h++}e=d[4]}(d=d[5])&&d(c,e)};g.wk=function(a,b,c,d){a=d[0];b=d[1];var e=d[2],f=d[3];d=d[4];this.ga=!1;if(0<=a&&ab&&(b=0);2E3=d&&(d-=32),d=rk[e]==d),d){(a=a.Aa["key-"+e])&&void 0!==c&&(a.style.color=c?"#ffffff":"#000000",a.style.backgroundColor=c?"#000000":"#ffffff");break}}}g.Kc=function(a,b,c,d){this.na=b;this.O=c;this.fa=d;this.X=Bb(a,"ChipSet")};function Vj(a,b){a.va("keyboard reset",65792);a.A=[170];a.R=!0;b&&a.X&&Xj(a.X,a.A[0])} +function Rj(a,b,c){a.Y!==c&&(a.Y=a.qa=c)&&(a.R=!0);a.S!==b&&(a.S=b)&&!a.qa&&Yj(a,!0);a.S&&a.qa&&(Vj(a,!0),a.qa=!1)}function Sj(a){var b=0;a.A.length&&a.R&&(b=a.A[0],a.X&&Xj(a.X,b));a.ta()&&a.va("scan code "+ga(b)+" available")}function Yj(a,b){0>=1);if(b&3584){if(!1===d)return!0;d=null}null==d?d=!((c?a.P:a.mc)&b):d||b&255&&(b=255);if(c){a.P&=~b;d&&(a.P|=b);c=b;var f,h;for(h in sk)d="led-"+h,e=sk[h],c&&c!=e||!(f=a.Aa[d])||(f.style.backgroundColor=a.P&e?"#00ff00":"#000000")}else a.mc&=~b,d&&(a.mc|=b);return!0}}return!1} +function uk(a,b,c){if(X[b]&&a.O&&a.O.pa.Hb){pk[b]&&a.B.length&&0e||(e==a.B.length&&(d={},d.Ee=b,d.mc=a.mc,xk(a,b,!0),e++),0b.Cd){if(!b.vf){wk(a,b.Ee);return}b.vf=!1;c=a.oa}else c=1==b.Cd++?500:100;b.Tj=setTimeout(function(a){return function(){zk(a,b)}}(a),c)}}else wk(a,b.Ee,!0)} +function Bk(a,b,c){var d=b;if(65<=b&&90>=b)!(a.mc&515)==c&&(d=b+32);else if(97<=b&&122>=b)!!(a.mc&515)==c&&(d=b-32);else if(!!(a.mc&3)==c){if(a=ok[b])d=a}else if(a=nk[b])d=a;return d}g.Xg=function(a){a||(this.mc&=-256)}; +function tk(a,b,c){var d=!0,e=!1,f=!1,h=b.keyCode,m=Bk(a,h,!0);a.Ch&&m==V["`"]&&(h=m=27);if(X[h+1E3])if(m+=1E3,2==b.location&&(m+=2E3),vk(a,m,!1,c)){if(20==h||144==h||145==h)a.ja||(c=e=!0);if(!(c||91!=h&&93!=h))for(var q=0;q=b||97<=b&&122>=b;d>>>=8;){var h=0,m=d&255;224==f||225==f?e.push(f|(c?0:128)):(42==m?a.P&3||a.P&512&&b||(h=m):29==m?a.P&12||(h=m):56==m?a.P&48||(h=m):e.push(f|(c?0:128)),h&&(c?e.unshift(h):e.push(h|128)))}for(c=0;cd.A.length?(d.ta()&&d.va("scan code "+ga(f)+" buffered"),d.A.push(f),1==d.A.length&&d.X&&Xj(d.X,f)):(20== +d.A.length&&d.A.push(255),d.va("scan code buffer overflow")))}}Sa(function(){for(var a=mb(window.document,"pcjs","keyboard"),b=0;bc.length)c=[!1,0,null,null,0,Array(5>b?Uk:Vk)];this.fa=a.fa;this.type=e[0];this.port=e[1];this.ob=b;this.qb=e[2];this.ac=e[3];this.yd=d||e[4];65536<=this.yd&&720896<=this.qb&&(this.ac=Math.min(this.yd>>2,32768));this.wc=c[0];this.$c=c[1];this.lf=c[2];this.Ka=c[3];this.sc=c[4]&255;this.eh=c[4]>>8&255;this.ub=c[5];this.Mh=Uk;this.Wf=Wk;if(5<=b){this.Mh=Vk;this.Wf=Xk;b=c[6];void 0===b&&(b=[!1,0,Array(20), +0,3==f?0:1,0,0,Array(5),0,0,0,Array(9),0,[this.qb,this.ac,this.yd],Array(this.yd>>2),-2147478512,0,-1,0,-1,0,-1,0,0,0,0,1,255,0,0,0,Array(256)]);this.Oe=b[0];this.Dd=b[1];this.Lc=b[2];this.sh=Yk;this.hh=b[3];this.nf=b[4];this.Pf=b[5];this.Td=b[6];this.Be=b[7];this.uh=Zk;this.Nj=b[8];this.Oj=b[9];this.Sd=b[10];this.Rd=b[11];this.th=$k;this.Eb=b[12];d=b[13];"number"==typeof d&&(d=[this.qb,this.ac,d]);this.qb=d[0];this.ac=d[1];d=this.yd>>2;if((this.od=b[14])&&this.od.length>this.controller.Wi&255};bl[17408]=function(a){return(this.controller.Eb=this.ia[(a&-4)+this.A])>>((a&3)<<3)&255};bl[5120]=function(a){a+=this.A;var b=this.controller.Eb=this.ia[a&-2];return(a&1?b>>8:b)&255};bl[1280]=function(a){a+=this.A;a=this.controller.Eb=this.ia[a];for(var b=this.controller.Oh,c=this.controller.Nh&b,d=0,e=128;e;)(a&b)==c&&(d|=e),c>>>=1,b>>>=1,e>>=1;return d}; +bl[0]=function(a,b){var c=a+this.A,d;d=(b|b<<8|b<<16|b<<24)&this.controller.Od|this.controller.ge;d=d&this.controller.Kb|this.controller.Eb&~this.controller.Kb;d=d&this.controller.tb|this.ia[c]&~this.controller.tb;this.ia[c]!=d&&(this.ia[c]=d,this.gb=!0)}; +bl[32]=function(a,b){var c=a+this.A;b=b>>this.controller.Yc|b<<8-this.controller.Yc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.Od|this.controller.ge;d=d&this.controller.Kb|this.controller.Eb&~this.controller.Kb;d=d&this.controller.tb|this.ia[c]&~this.controller.tb;this.ia[c]!=d&&(this.ia[c]=d,this.gb=!0)}; +bl[96]=function(a,b){var c=a+this.A;b=b>>this.controller.Yc|b<<8-this.controller.Yc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.Od|this.controller.ge;d&=this.controller.Eb;d=d&this.controller.Kb|this.controller.Eb&~this.controller.Kb;d=d&this.controller.tb|this.ia[c]&~this.controller.tb;this.ia[c]!=d&&(this.ia[c]=d,this.gb=!0)}; +bl[160]=function(a,b){var c=a+this.A;b=b>>this.controller.Yc|b<<8-this.controller.Yc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.Od|this.controller.ge;d|=this.controller.Eb;d=d&this.controller.Kb|this.controller.Eb&~this.controller.Kb;d=d&this.controller.tb|this.ia[c]&~this.controller.tb;this.ia[c]!=d&&(this.ia[c]=d,this.gb=!0)}; +bl[224]=function(a,b){var c=a+this.A;b=b>>this.controller.Yc|b<<8-this.controller.Yc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.Od|this.controller.ge;d^=this.controller.Eb;d=d&this.controller.Kb|this.controller.Eb&~this.controller.Kb;d=d&this.controller.tb|this.ia[c]&~this.controller.tb;this.ia[c]!=d&&(this.ia[c]=d,this.gb=!0)};bl[4]=function(a,b){var c=(a&-4)+this.A,d=(a&3)<<3,d=b<>this.controller.Yc|b<<8-this.controller.Yc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.Kb;d=this.controller.Hf&d|this.controller.Eb&~d;d=d&this.controller.tb|this.ia[c]&~this.controller.tb;this.ia[c]!=d&&(this.ia[c]=d,this.gb=!0)}; +function cl(a){var b=[];if(void 0!==a.ob){b[0]=a.wc;b[1]=a.$c;b[2]=a.lf;b[3]=a.Ka;b[4]=a.sc|a.eh<<8;b[5]=a.ub;if(5<=a.ob){var c=[];c[0]=a.Oe;c[1]=a.Dd;c[2]=a.Lc;c[3]=a.hh;c[4]=a.nf;c[5]=a.Pf;c[6]=a.Td;c[7]=a.Be;c[8]=a.Nj;c[9]=a.Oj;c[10]=a.Sd;c[11]=a.Rd;c[12]=a.Eb;c[13]=[a.qb,a.ac,a.yd];var d;a:if(d=a.od){var e=0,f=[];if(void 0!==d[0])for(var h=0;2>h;h++)for(var m=h;m>1;f[e++]=q;m=r}if(f.length>3;for(c=0;c=d&&(N=d,C=!0);break;case "p":0<= +d&&3>=d&&(I=d);break;case "w":d=b.qb&&(f-=b.qb);a="";for(c=0;cI?k(O):ea(O>>(I<<3)));C&&(f+=J-N);a&&(a+="\n");a+=W}a&&b.fa.V(a);b.B=f}else b.fa.V("no buffer")}else e.fa.V("BIOSMODE: "+ga(e.Pa)),b=e.B,dl(b,"CRTC",b.sc,b.ub,b.Wf),5<=b.ob&&(dl(b," GRC",b.Sd,b.Rd,b.th),dl(b," SEQ",b.Td,b.Be,b.uh),dl(b," ATC",b.Dd,b.Lc,b.sh),dl(b," ATCINDX", +b.Dd),b.fa.V(" ATCDATA: "+b.Oe),dl(b," FEAT",b.Pf),dl(b," MISC",b.nf),dl(b," STATUS0",b.hh)),dl(b," STATUS1",b.Ka),b.ob!=Dk&&3!=b.ob||dl(b," MODEREG",b.$c),3==b.ob&&dl(b," COLOR",b.lf),5<=b.ob&&(b.fa.V(" LATCHES: 0x"+k(b.Eb)),b.fa.V(" ACCESS: "+ia(b.hg)),b.fa.V("Use 'dump video [addr]' to dump video memory"));else e.fa.V("no active video card")})}if((this.P=Bb(a,"Keyboard"))&&this.ua){for(var f in this.Aa)0c&&(a=Math.round(c/b*100)+"%")}this.te?(this.ua.style.width=a,this.ua.style.width=a,this.ua.style.display="block",this.ua.style.margin="auto"):(this.ja.style.width=a,this.ja.style.height="auto");this.ja.style.backgroundColor="black";this.ja.Ne();a=!0}this.ad()}return a}; +function Hk(a,b){!b&&a.ja&&(a.te?a.ua.style.width=a.ua.style.height="":a.ja.style.width=a.ja.style.height="");a.va("notifyFullScreen("+b+")",!0);a.P&&(a.P.Ch=b)}g.ue=function(a){var b=!1;this.S&&(a?this.S.ue&&(this.S.ue(),this.Y&&this.Y.Jf(!0),b=!0):this.S.Uj&&(this.S.Uj(),this.Y&&this.Y.Jf(!1),b=!0),this.ad());return b};g.Jf=function(a){this.Y&&(this.Y.Jf(a),this.P&&(this.P.Ch=a));var b=this.Aa.lockPointer;b&&(b.textContent=a?"Press Esc to Unlock Pointer":this.oh)}; +function ml(a,b){var c=a.S;c&&!a.Ad&&(c.addEventListener("touchstart",function(b){nl(a,b,!0)},!1),c.addEventListener("touchmove",function(b){nl(a,b)},!0),c.addEventListener("touchend",function(b){nl(a,b,!1)},!1),a.Ad=b,a.jc=a.Bc=a.Of=-1)}g.Xg=function(a){this.qe=a;this.P&&this.P.Xg(a)}; +function nl(a,b,c){var d,e;a.qe&&b.preventDefault();var f=0,h=0;e=a.ua;do isNaN(e.offsetLeft)||(f+=e.offsetLeft,h+=e.offsetTop);while(e=e.offsetParent);var m=a.Da/a.ua.offsetWidth,q=a.La/a.ua.offsetHeight;b.targetTouches&&b.targetTouches.length?(d=b.targetTouches[0].pageX,e=b.targetTouches[0].pageY):(d=b.pageX,e=b.pageY);d=(d-f)*m;e=(e-h)*q;if(1==a.Ad)d=d/(a.Da/3)|0,e=e/(a.La/3)|0,1!=e?e?uk(a.P,1040,!0):uk(a.P,1038,!0):1!=d&&(d?uk(a.P,1039,!0):uk(a.P,1037,!0));else if(a.Y){!0===c&&(a.Of=b.timeStamp); +if(!1===c&&(b=b.timeStamp-a.Of,a.V("processTouchEvent(false,"+b+")"),200>b)){a.Y.Me(ol,!0);a.Y.Me(ol,!1);return}if(c||0>a.jc||0>a.Bc)a.jc=d,a.Bc=e;c=Math.round(d-a.jc);b=Math.round(e-a.Bc);a.jc=d;a.Bc=e;a.Y.yf(c,b,a.jc,a.Bc)}}g.rc=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};g.qc=function(a){return a&&this.save?this.save():!0}; +g.reset=function(){var a=!0,b=0;this.X&&(b=bj(this.X));this.sa||(this.ob=3==b?Dk:3);this.Ea=3;switch(this.ob){case dk:b=7;break;case 5:var c=Jk[this.Nc];c&&(b=c[0]);b||(b=4);break;case Dk:b=3;this.Ea=Fk;break;default:b=2}this.Ha!==b&&(this.Ha=b,a=!0);this.B=null;this.xa=this.ld=new Sk(this,Dk);this.ea=this.Oc=new Sk(this,3);5>this.ob?this.A=new Sk:(this.A=new Sk(this,this.ob,null,this.yd),pl(this));ql(this);this.Pa=null;this.fb=this.ra=-1;this.Za=0;rl(this,this.Ea);if(this.B.qb&&a){a=this.B.qb+this.Nb; +for(b=this.B.qb;b>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8);fc(this.na,b,c|d<<8)}Xc(this,!0)}};function pl(a){a.A.nf&1?(a.xa=a.ld,a.ea=a.A):(a.xa=a.A,a.ea=a.Oc)}g.save=function(){var a=new Xe(this);Ye(a,0,cl(this.ld));Ye(a,1,cl(this.Oc));Ye(a,2,[this.Ha,this.Ea,this.Pa]);Ye(a,3,cl(this.A));return a.data()}; +g.restore=function(a){var b=a[2];this.Ha=b[0];this.Ea=b[1];this.Pa=b[2];this.B=null;this.xa=this.ld=new Sk(this,Dk,a[0]);this.ea=this.Oc=new Sk(this,3,a[1]);this.A=new Sk(this,this.ob,a[3],this.yd);this.A.wc&&pl(this);ql(this);if(!sl(this))return!1;tl(this);return!0}; +g.Ql=function(a,b,c){if(c)this.Ta("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){Da("Empty font ROM image: "+a);return}if(1==d.length){Da(d[0]);return}if(8192==d.length)ck(this,d,[6144,0]);else{this.Ta("Unrecognized font data length ("+d.length+")");return}}catch(e){this.Ta("Font ROM data error: "+e.message);return}(this.oa||this.fa)&&rb(this)}}; +function ul(a,b){if(1==b)return a.Ja[0]=Mk[0],a.Ja[1]=Mk[7],a.Ja;if(2==b){var c=a.B.lf;if(a.B===a.A){var d=a.A.Lc[0],c=d&7;d&16&&(c|=8);18!=a.A.Lc[1]&&(c|=32)}a.Ja[0]=Mk[c&15];c=c&32?Ok:Nk;for(d=0;df;f++)h=d[f]||0,m=h<<2&252,q=h>>4&252,h=h>>10&252,a.Ja[f]=[m,q,h,255];else{var r=d&&d[255];e=null!=c.Lc[15]?c.Lc:Pk;for(f=0;16>f;f++)h=e[f]&63,r?(h|= +(c.Lc[20]&12)<<4,c.Lc[16]&128&&(h&=-49,h|=(c.Lc[20]&3)<<4),h=d[h],m=h<<2&252,q=h>>4&252,h=h>>10&252):(m=(h&4?170:0)|(h&32?85:0),q=(h&2?170:0)|(h&16?85:0),h=(h&1?170:0)|(h&8?85:0)),a.Ja[f]=[m,q,h,255]}a.vb=!0}return a.Ja}function ck(a,b,c,d){a.Mc=b;a.md=c;a.lb=d} +function ql(a,b){var c=!1;if(window&&a.Mc&&(!b||a.qa)){var d=0,e=a.lb?a.lb:8,f=ul(a);vl(a,3,a.md[0],d,e,8,a.Mc,f)&&(c=!0);d=a.lb?0:2048;e=a.lb?a.lb:9;vl(a,1,a.md[1],d,e,14,a.Mc,Kk,Lk)&&(c=!0);a.lb&&vl(a,a.ob,a.md[1],0,a.lb,14,a.Mc,f)&&(c=!0)}return c}function vl(a,b,c,d,e,f,h,m,q){var r=!1;null!=c&&(wl(a,b,c,d,e,f,h,m,q)&&(r=!0),a.lh&&wl(a,b<<1,c,d,e,f,h,m,q)&&(r=!0));return r} +function wl(a,b,c,d,e,f,h,m,q){var r=!1,x=b&1?0:1,C=a.Va[b],z=16>m.length?m.length:16;C||(C={Ic:e<da||!O?da:8,Sc=xa.createImageData(r.Ic,r.Jc),Fa=0;256>Fa;Fa++){for(ha= +0;ha=da-2,xc=la[ha>(8<=wb&&192<=Fa&&223>=Fa?7:wb)?N:za;xl(Sc,fe,zd,ge);J&&xl(Sc,fe+1,zd,ge)}xa.putImageData(Sc,(Fa&15)*r.Ic,(Fa>>4)*r.Jc)}r.Ge[I]="#"+k(N[0],2)+k(N[1],2)+k(N[2],2);r.hj[I]=N;r.rh[I]=va;r=!0}}a.Va[b]=C;return r}function yl(a){0a.fb&&(a.fb=0):a.fb=-1} +function tl(a){if(a.qa){for(var b=10;15>=b;b++)if(null==a.B.ub[b])return;var c=a.B.ub[10],b=c&31,d=a.B.ub[11]&31,e=a.B.ub[9]&31,f=!1;a.B===a.A&&(f=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!f||b>e)zl(a);else{c=a.B.ub[15]+((a.B.ub[14]&63)<<8);a.ra!=c&&(zl(a),a.ra=c);d=d-b+1;if(a.Sf!=b||a.re!=d)a.Sf=b,a.re=d;a.$a=e+1;yl(a)}}} +function zl(a){if(0<=a.ra){if(void 0!==a.ga){var b=a.ga[a.ra];if(b&131072){var b=b&-131073,c=a.ra%a.R,d=a.ra/a.R|0;a.qa&&a.Va[a.qa]&&(a.kb&&Al(a,c,d,b,a.kb),Al(a,c,d,b));a.ga[a.ra]=b}}a.ra=-1}} +function Bl(a){var b,c=a.B;a.se=!1;var d=c.Rd[5];if(null!=d){b=1024;var e=0,f=c.Rd[3]&31;switch(d&3){case 0:if(f){e=32;switch(f&24){case 8:e=96;break;case 16:e=160;break;case 24:e=224}c.Yc=f&7}break;case 1:e=1;break;case 2:switch(f&24){default:e=2;break;case 8:e=98;break;case 16:e=162;break;case 24:e=226}break;case 3:a.ob==dk&&(e=3,c.Yc=f&7)}d&8&&(b=1280);c=c.Be[4];null!=c&&(c&4||(b|=4096,e|=16),d&64&&(c&8&&(b|=16384,e|=4),a.se=!0));b|=e}return b} +function Cl(a,b){var c=a.B;c&&null!=b&&b!=c.hg&&(c.ih(b),a.na.ih(c.qb,c.ac,c.Gh()))} +function sl(a,b){var c,d=a.Pa,e=a.B;if(e)if(e.ob==Dk)d=Fk;else if(5<=e.ob){var d=null,f=e.yd>>2,h=32768=e.ub[18]?19:20:21:h&128||350>f?d=c?13:14:480<=f&&(d=3==a.Ha?17:18):d=c?7-d:6:d-=c?2:0);c=Bl(a)}}else e.$c&8&&(e.$c&2?(d=e.$c&16?6:5,e.$c&4||--d):(d=e.$c&1?3:1,e.$c&4&&--d));else a.Pa=null,null==d&&(d=a.Ea);if(!rl(a,d,b))return!1;Cl(a,c);return!0} +function rl(a,b,c){if(null!=b&&(b!=a.Pa||c)){a.jh=0;a.Pa=b;a.vb=!1;b=a.B||(b==Fk?a.xa:a.ea);if(b!=a.B||b.qb!=a.qb||b.ac!=a.ac){zl(a);if(a.qb){if(!Wb(a.na,a.qb,a.ac))return!1;a.B&&(a.B.wc=!1)}a.B=b;b.wc=!0;a.qb=b.qb;a.ac=b.ac;if(!Rb(a.na,b.qb,b.ac,3,b===a.A?b:null))return!1}a.qa=0;a.R=a.Qc;a.aa=a.rd;a.Bb=a.R;a.Pc=Ek[Fk][2];b=0;if(c=Ek[a.Pa])a.R=c[0],a.aa=c[1],a.Pc=c[2],b=c[3],a.qa=c[4],4!=a.Ha&&7!=a.Ha||a.B!==a.A||3!=a.qa||(7==a.A.ub[9]?a.aa=43:a.qa=a.ob);a.ze=a.R*a.aa|0;a.ve=a.ze/a.Pc|0;a.Nb=a.ve; +a.nd=0;void 0!==b&&(a.Nb=(a.Nb<<1)+b|0,a.nd=a.Nb+b>>1);a.Va.length&&(a.Na=a.Da/a.R|0,a.Oa=a.La/a.aa|0,a.qa?(b=a.Va[a.qa],c=a.Va[a.qa<<1],a.nh&&80==a.R?c&&a.Na>=3*c.Ic>>2&&(a.qa<<=1,b=c):(c&&a.Na>=c.Ic&&(a.qa<<=1,b=c),b&&(a.Na=b.Ic,a.Oa=b.Jc)),a.Tb=a.Zb=0,b&&(a.Tb=a.R*b.Ic,a.Zb=a.aa*b.Jc)):(a.Na=a.Oa=1,a.Tb=a.R,a.Zb=a.aa),a.wb=a.oa.createImageData(a.Tb,a.Zb),a.jb=window.document.createElement("canvas"),a.jb.width=a.Tb,a.jb.height=a.Zb,a.kb=a.jb.getContext("2d"),a.ae=a.ce=0,a.pd=a.Da,a.qd=a.La,b=a.Da- +a.R*a.Na,c=a.La-a.aa*a.Oa,0>1,a.pd-=b),0>1,a.qd-=c),b||c)&&(a.oa.fillStyle=a.ua.style.backgroundColor,a.oa.fillRect(0,0,a.Da,a.La));Dl(a,!0);Xc(a)}return!0}function xl(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function El(a){a.Za=-1;a.Ma=!1;var b=a.ve;if(void 0===a.ga||a.ga.length!=b)a.ga=Array(b)}function Dl(a,b){b||(a.vb=!1);El(a)} +function Al(a,b,c,d,e){var f=d&255,h=d>>8;d=h&15;var m=a.Va[a.qa];m.rf&&(d=m.rf[d]);var q=h>>4&15;m.rf&&(q=m.rf[q]);e?(b*=m.Ic,c*=m.Jc,e.fillStyle=m.Ge[q],e.fillRect(b,c,m.Ic,m.Jc)):(b=b*a.Na+a.ae,c=c*a.Oa+a.ce,a.oa.fillStyle=m.Ge[q],a.oa.fillRect(b,c,a.Na,a.Oa));h&256&&(q=(f&15)*m.Ic,f=(f>>4)*m.Jc,e?e.drawImage(m.rh[d],q,f,m.Ic,m.Jc,b,c,m.Ic,m.Jc):a.oa.drawImage(m.rh[d],q,f,m.Ic,m.Jc,b,c,a.Na,a.Oa));h&512&&(f=a.Sf,h=a.re,e?(a.$a&&a.$a!==m.Jc&&(f=f*m.Jc/a.$a|0,h=h*m.Jc/a.$a|0),e.fillStyle=m.Ge[d], +e.fillRect(b,c+f,m.Ic,h)):(a.$a&&a.$a!==a.Oa&&(f=f*a.Oa/a.$a|0,h=h*a.Oa/a.$a|0),a.oa.fillStyle=m.Ge[d],a.oa.fillRect(b,c+f,a.Na,h)))} +function Xc(a,b){if(a.pa.oc){var c=!1,d=a.B;d&&(d!==a.A?d.$c&8&&(c=!0):d.Dd&32&&(c=!0));if(c||b){if(b)El(a);else if(void 0===a.ga)return;var e=!1;!(b||++a.jh&15)&&0<=a.fb&&(a.fb++,e=!0);var f=0,h=a.ze,m=a.qb,c=m,q=c+a.ac;19<=a.Pa&&(m=c=655360,q=c+65536);if(Fl(a,d)&8||d.jf&&d.jfq&&(r=q-c,0>r&&(r=0));q=c+ +r;if(d=!b&&a.Ma){for(var d=a.na,x=!0,C=c>>>d.Ra;0a.ra)return;f=a.ra;h=f+1}}if(a.qa){if(a.Va[a.qa]){e=0;m=a.Za=0;d=1048575;r=a.B.$c&32;5<=a.ob&&(r=a.B.Lc[16]&8);r&&(m=32768,d&=~m,a.fb&2||(d&=-65537));for(c+=f<<1;c>8|(z&255)<<8;var O=m,Z=16;x>=d))>>(Z-=d);xl(a.wb,x++,C,r[la])}x>I&&(I=x);C=W&&(W=C+1)}q+=2;f++;if(x>=a.R){x=0;C+=2;if(C>a.aa)break;C==a.aa&&(C=1,q=c+a.nd)}}a.Ma=!0;Na.R?a.Bb-a.R-z>>3:0;c>=8;r>N&&(N=r);x=J&&(J=x+1)}c+=W;if(r>=a.R){r=0;if(++x>a.aa)break;c+=O}}z||(a.Ma=!0);Ca.R?a.Bb-a.R-J>>3:0;cO&&(Z=O)):(z<<=J,Z-=J,a.Ma=!1):(a.Ma&&z===a.ga[f]?(d+=Z,Z=0):a.ga[f]=z,f++);if(Z){dC&&(C=d);r=I&&(I=r+1)}if(d>=a.R){d=0;if(++r>a.aa)break;c+=W}}J||(a.Ma=!0);xd&&(b.Uh=d,d=-d|0);d%b.Ph>b.Ll&&(c|=1);d%b.Sh>b.Nl&&(c|=9);b.Xi=d/b.Sh|0;return c}g.gl=function(a,b){return gm(this,this.xa,a,b)};g.Am=function(a,b,c){var d=this.xa;d.eh=d.sc;d.sc=b&31;l(this,a,b,c,"CRTC.INDX")};g.fl=function(a,b){return hm(this,this.xa,a,b)};g.zm=function(a,b,c){im(this,this.xa,a,b,c)};g.hl=function(a,b){return jm(this,this.xa,b)};g.Bm=function(a,b,c){a=this.xa;l(this,a.port+4,b,c,"MODE");a.$c=b;sl(this,!1)}; +g.il=function(a,b){return km(this,this.xa,b)};g.Mj=function(a,b,c){this.A.Pf=this.A.Pf&-4|b&3;l(this,a,b,c,"FEAT")};g.Ik=function(a,b){var c=this.A.Dd;b&&!this.ta()||l(this,960,null,b,"ATC.INDX",c);return c};g.fk=function(a,b){var c=this.A.Lc[this.A.Dd&31];b&&!this.ta()||l(this,960,null,b,"ATC."+this.A.sh[this.A.Dd&31],c);return c}; +g.Lj=function(a,b,c){var d=this.A,e=d.Dd&32;if(d.Oe){d.Oe=!1;var f=d.Dd&31;if(16<=f||!e)c&&!this.ta()||l(this,a,b,c,"ATC."+d.sh[f]),d.Lc[f]=b,Dl(this,!1)}else d.Dd=b,l(this,a,b,c,"ATC.INDX"),d.Oe=!0,b&32&&!e&&ql(this,!0)&&Xc(this,!0),d.Lf=(d.ub[12]<<8)+d.ub[13]|0,d.jf=0};g.sl=function(a,b){var c=0;if(5==this.ob)c=3-((this.A.nf&12)>>2),c=(this.Nc&1<>this.A.zc&63;b&&!this.ta()||l(this,969,null,b,"DAC.DATA["+ga(this.A.jd)+"]["+ga(this.A.zc)+"]",c);this.A.zc+=6;12Missing <canvas> support. Please try a newer web browser.";break}e.setAttribute("class","pcjs-canvas");e.setAttribute("width",d.screenWidth);e.setAttribute("height",d.screenHeight);e.style.backgroundColor=d.screenColor;e.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(c.onresize= +function(a,b,c,d){return function(){b.style.height=(a.clientWidth*d/c|0)+"px"}}(c,e,d.screenWidth,d.screenHeight),c.onresize());c.appendChild(e);var f=window.document.createElement("textarea");Ka("iOS")&&(f.setAttribute("autocapitalize","off"),f.setAttribute("autocorrect","off"));c.appendChild(f);var h=e.getContext("2d"),d=new Y(d,e,h,f,c);lb(d,c)}}); +function lm(a){this.xa=a.adapter;switch(this.xa){case 1:this.oa=1016;this.ea=4;break;case 2:this.oa=760;this.ea=3;break;default:Da("Unrecognized serial adapter #"+this.xa);return}this.S=this.qa=null;Wa.call(this,"SerialPort",a,lm,4194304);var b=a.binding;if("console"==b)this.qa="";else{var c;a=mm;b&&(void 0===c&&(c="Panel"),(c=jb(c,this.id))&&(b=c.Aa[b])&&this.Xb(null,a,b))}}gb(lm);var mm="buffer";g=lm.prototype;g.jj=function(a,b){return a==this.Vd?(this.Y=b,this):null}; +g.Xb=function(a,b,c){var d=this;switch(b){case mm:return this.Aa[b]=this.S=c,c.onkeydown=function(a){a=a||window.event;var b=a.keyCode;if(8===b||a.ctrlKey&&65<=b&&90>=b)a.preventDefault&&a.preventDefault(),64>8:this.ga;l(this,a,null,b,this.B&128?"DLM":"IER",c);return c};g.bl=function(a,b){var c=this.R;l(this,a,null,b,"IIR",c);return c}; +g.cl=function(a,b){var c=this.B;l(this,a,null,b,"LCR",c);return c};g.el=function(a,b){var c=this.P;l(this,a,null,b,"MCR",c);return c};g.dl=function(a,b){var c=this.A;l(this,a,null,b,"LSR",c);return c};g.jl=function(a,b){var c=this.ra;l(this,a,null,b,"MSR",c);return c}; +g.Lm=function(a,b,c){l(this,a,b,c,this.B&128?"DLL":"THR");if(this.B&128)this.va=this.va&-256|b;else{this.ua=b;this.A&=-97;if(this.S)13!=b&&(8==b?this.S.value=this.S.value.slice(0,-1):(this.S.value+=String.fromCharCode(b),this.S.scrollTop=this.S.scrollHeight)),a=!0;else if(null!=this.qa){if(10==b||1024<=this.qa.length)this.V(this.qa),this.qa="";10!=b&&(this.qa+=String.fromCharCode(b));a=!0}else a=!1;a&&(this.A|=96)}}; +g.wm=function(a,b,c){l(this,a,b,c,this.B&128?"DLM":"IER");this.B&128?this.va=this.va&255|b<<8:this.ga=b};g.xm=function(a,b,c){l(this,a,b,c,"LCR");this.B=b};g.ym=function(a,b,c){var d=this.P;l(this,a,b,c,"MCR");this.P=b;this.Y&&(d^b)&3&&(a=this.Y,b=this.P,(c=3==(b&3))?a.wc||(d=!1,a.P&2||(a.reset(),a.va("serial mouse reset"),d=!0),a.P&1||(a.va("serial mouse ID requested"),d=!0),d&&(nm(a.R,[77,77]),a.va("serial mouse ID sent")),sm(a),a.wc=c):a.wc&&(a.va("serial mouse inactive"),tm(a),a.wc=c),a.P=b)}; +var om={0:lm.prototype.pl,1:lm.prototype.al,2:lm.prototype.bl,3:lm.prototype.cl,4:lm.prototype.el,5:lm.prototype.dl,6:lm.prototype.jl},pm={0:lm.prototype.Lm,1:lm.prototype.wm,3:lm.prototype.xm,4:lm.prototype.ym};Sa(function(){for(var a=mb(window.document,"pcjs","serial"),b=0;ba.X||0>a.S)a.X=b.clientX,a.S=b.clientY;a.ja?(c=b.movementX||b.mozMovementX||b.webkitMovementX||0,d=b.movementY||b.mozMovementY||b.webkitMovementY||0):(c=b.clientX-a.X,d=b.clientY-a.S);a.X=b.clientX;a.S=b.clientY;a.yf(c,d,a.X,a.S)}} +g.Me=function(a,b){if(this.wc&&this.O&&this.O.pa.Hb){var c="mouse button"+a+" "+(b?"dn":"up");switch(a){case ol:this.ea!=b&&(this.ea=b,ym(this,c));break;case 2:this.ga!=b&&(this.ga=b,ym(this,c))}}};g.yf=function(a,b,c,d){this.wc&&this.O&&this.O.pa.Hb&&(a||b)&&(this.Y=a,this.aa=b,ym(this,null,c,d))}; +function ym(a,b,c,d){var e=64|(a.ea?32:0)|(a.ga?16:0)|(a.aa&192)>>4|(a.Y&192)>>6,f=a.Y&63,h=a.aa&63;a.ta(4194304)&&a.va((b?b+": ":"")+(void 0!==d?"mouse ("+c+","+d+"): ":"")+"serial packet ["+ga(e)+","+ga(f)+","+ga(h)+"]",0,!0);nm(a.R,[e,f,h]);a.Y=a.aa=0}Sa(function(){for(var a=mb(window.document,"pcjs","mouse"),b=0;b>9]);if(f){if(e+c<=f.length)return Rm(f,e,c);for(e=d=0;c--;)d|=Pm(a,b++,1)<=e.Yi&&a<=e.Kj){d=a-=e.Yi;var f,h;for(h in e.je){var m=e.je[h],q=a-m[0];if(!q){c=this.Rf+"!"+m[1];break}b&&0>2;var e=d=0,a=new DataView(a,0,c);h.A=Array(h.Mb);for(c=0;cb.indexOf("/api/v1/dump")&&(a=ka(b),"json"==a?f=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(f=Wm(this,b),this.cg=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"):ma(b,"/")&&(c="dir"),f=Ca()+"/api/v1/dump?"+c+"="+ +encodeURIComponent(b)+(this.Te?"":d)+"&format=json")),Ba(f,!0,null,this,this.rk,b)}; +g.rk=function(a,b,c,d){var e=null;this.We=!1;var f=0>c&&this.qa&&!this.qa.pa.oc;this.ra=a;if(this.cg)c?this.controller.Ta('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",f):(this.R=!0,Xm(this),e=this);else if(c)this.controller.Ta('Unable to load disk "'+this.X+'" (error '+c+")",f);else try{if(0h&&0b.indexOf("0x")&&'["'!=b.substr(0,2)?JSON.parse(b.replace(/([a-z]+):/gm,'"$1":').replace(/\/\/[^\n]*/gm,"")):eval("("+b+")");if(m.length)if(1==m.length)Da(m[0]);else{this.Mb=m.length;this.Gb=m[0].length;this.sb=m[0][0].length;var q=m[0][0][0];this.ab=q&&q.length||512;for(b=a=0;b>2,x=q.pattern;void 0===x&&(x=q.pattern=0);var C=q.data;if(void 0===C){var z=q.bytes; +if(void 0!==z&&z.length){for(var f=r<<2,N=z.length;Nb;b++){if(128==Rm(e,c+0,1)){d.Mf=Rm(e,c+8,4);(e=Qm(a,d.Mf))&&(f=!0);break}c+=16}if(!f)return}d.xf||(d.xf=Rm(e,19,2)||Rm(e,32,4),d.wf=Rm(e,14,2),d.Jh=d.wf+Rm(e,22,2)*Rm(e,16,1),d.Th=Rm(e,17,2),d.jg=Rm(e,13,1));d.Hh=d.Jh+((32*d.Th+(d.ab-1))/d.ab|0);d.Kl=(d.xf-d.Hh)/d.jg|0;d.lg=4084>=d.Kl?12:16;d.yk=12==d.lg?4086:65526;b=[];for(e=d.Jh;e>8;f+=2;if(q)for(;r--;)Pm(d,f,1),254>=q?(x=q,C=Pm(d,f+1),f+=3):(x=Pm(d,f+3,1),C=Pm(d,f+4),f+=6),d.wd[x]&&(d.wd[x].je[m]=[C]),d.A[m]=[x,C],m++;else m+=r}(h=Sm(e,Mm,c))&&Tm(e,h+c);h=Sm(e,Nm,c);m=Sm(e,Km,c);h&&m&&Tm(e,h,h+m)}}}} +function $m(a,b,c,d,e){var f,h=a.P.length,m=b.ab/32|0;b.Yn=d+"\\";for(var q=0;qI)break;for(var J=z.Hh+(I-2)*z.jg,W=0;W>3,1),d?e=16==b.lg?e<<8:c&7?e<<4:(e&15)<<8:c&7&&(e>>=4));return e} +function Qm(a,b){var c=a.Gb*a.sb,d=b%c;return a.seek(b/c|0,d/a.sb|0,d%a.sb+1)}function Rm(a,b,c){for(var d=0,e=0;c--;){var f=bn(a,b++);if(0>f)break;d|=f<=e)break;d+=String.fromCharCode(e)}return d}function Vm(a,b,c,d,e,f){a||(a={sector:d,length:e,data:[],pattern:f});a.zk=b;a.Ak=c;a.ud=a.Tc=0;a.gb=!1;return a} +function Wm(a,b){var c;c="action=open&volume="+b+("&mode="+a.mode);c+="&chs="+a.Mb+":"+a.Gb+":"+a.sb+":"+a.ab;c+="&machine="+a.controller.Xe();c+="&user="+a.controller.be();return Ca()+"/api/v1/disk?"+c}function cn(a,b,c,d,e,f,h){if(a.R){var m;m="action=read&volume="+a.va;m+="&chs="+a.Mb+":"+a.Gb+":"+a.sb+":"+a.ab;m=m+("&addr="+b+":"+c+":"+d+":"+e)+("&machine="+a.controller.Xe());m+="&user="+a.controller.be();Ba(Ca()+"/api/v1/disk?"+m,f,null,a,a.uk,[b,c,d,e,f,h])}else h&&h(-1,!1)} +g.uk=function(a,b,c,d){var e=!1;a=d[0];var f=d[1],h=d[2],m=d[3];if(!c){b=JSON.parse(b);for(e=0;m--;){var q=this.seek(a,f,h,!0);if(!q)break;Ym(q,b,e);e+=q.length;h++}e=d[4]}(d=d[5])&&d(c,e)};g.vk=function(a,b,c,d){a=d[0];b=d[1];var e=d[2],f=d[3];d=d[4];this.ga=!1;if(0<=a&&ab&&(b=0);2E3>2,e=Array(d),f=0;f>2,e=a.data;a=a.pattern;for(var f=0;f>8&255;c[d++]=h>>16&255;c[d++]=h>>24&255}return c}function $m(a,b){var c=-1;if(a&&b>2,c=(d>((b&3)<<3)&255;return c} -g.write=function(a,b,c){if(this.Ve)return!1;if(b>2;b=(b&3)<<3;for(var h=d.length;h<=f;h++)d[h]=e;a.Sc?f=a.td+a.Sc&&(a.Sc+=f-(a.td+a.Sc)+1):(a.td=f,a.Sc=1);d[f]=d[f]&~(255<=this.A.length||q>=this.A[k].length||r>=this.A[k][q].length){c="sector (CHS="+k+":"+q+":"+r+") out of range ("+ -b+" changes applied)";b=-1;break}if(this.Ve){c="unable to modify write-protected disk";b=-1;break}e=h[f++];f=h[f++];h=e+f.length;if(k=this.A[k][q][r]){for(q=k.data.length;qb?-2!=b&&this.controller.Ta("Unable to restore disk '"+this.X+": "+c):Vm(this);return b}; +g.seek=function(a,b,c,d,e){var f=null,h=this.B,m=this.A[a];if(m){var q=m[b];if(!q&&h.xh&&b>2,e=Array(d),f=0;f>2,e=a.data;a=a.pattern;for(var f=0;f>8&255;c[d++]=h>>16&255;c[d++]=h>>24&255}return c}function bn(a,b){var c=-1;if(a&&b>2,c=(d>((b&3)<<3)&255;return c} +g.write=function(a,b,c){if(this.We)return!1;if(b>2;b=(b&3)<<3;for(var h=d.length;h<=f;h++)d[h]=e;a.Tc?f=a.ud+a.Tc&&(a.Tc+=f-(a.ud+a.Tc)+1):(a.ud=f,a.Tc=1);d[f]=d[f]&~(255<=this.A.length||q>=this.A[m].length||r>=this.A[m][q].length){c="sector (CHS="+m+":"+q+":"+r+") out of range ("+ +b+" changes applied)";b=-1;break}if(this.We){c="unable to modify write-protected disk";b=-1;break}e=h[f++];f=h[f++];h=e+f.length;if(m=this.A[m][q][r]){for(q=m.data.length;qb?-2!=b&&this.controller.Ta("Unable to restore disk '"+this.X+": "+c):Xm(this);return b}; g.toJSON=function(){var a=JSON.stringify(this.A,function(a,c){return"file"==a?void 0:c}),a=a.replace(/,"length":512/gm,"").replace(/,"pattern":0/gm,""),a=a.replace(/"(sector|length|data|pattern)":/gm,"$1:"),a=a.replace(/,"[^"]*":([0-9]+|true|false)/gm,""),a=a.replace(/(sector|length|data|pattern):/gm,'"$1":');return a=a.replace(/([\]}]),/gm,"$1,\n")}; -function en(a){Va.call(this,"FDC",a,en,524288);this.dmaRead=this.ak;this.dmaWrite=this.bk;this.dmaFormat=this.pk;this.aa=null;if(a.autoMount&&(this.aa=a.autoMount,"string"==typeof this.aa))try{this.aa=eval("("+a.autoMount+")")}catch(b){Ca("FDC auto-mount error: "+b.message+" ("+a.autoMount+")"),this.aa=null}this.B=[];this.pa=!Ja("Mobi")&&window&&"FileReader"in window}cb(en);aa={}; -var fn={3:{Id:3,$d:0,name:aa.yn},4:{Id:2,$d:1,name:aa.wn},5:{Id:9,$d:7,name:aa.Gn},6:{Id:9,$d:7,name:aa.rn},7:{Id:2,$d:0,name:aa.tn},8:{Id:1,$d:2,name:aa.xn},10:{Id:2,$d:7,name:aa.sn},13:{Id:6,$d:7,name:aa.cn},15:{Id:3,$d:0,name:aa.vn}};g=en.prototype; -g.Wb=function(a,b,c){var d=this;switch(b){case "listDisks":return this.za[b]=c,c.onchange=function(){var a=d.za.descDisk,b=c.options[c.selectedIndex];if(a&&b){var h={};if(b=b.getAttribute("data-value"))try{h=eval("({"+b+"})")}catch(k){Ca("FDC option error: "+k.message)}b=h.desc;void 0===b&&(b="");h=h.href;void 0!==h&&(b=''+b+"");a.innerHTML=b}},!0;case "descDisk":case "listDrives":return this.za[b]=c,c.onchange=function(){var a=da(c.value,10);null!=a&&gn(d,a)}, -!0;case "loadDrive":return this.za[b]=c,c.onclick=function(){var a=d.za.listDisks;a&&hn(d,a.options[a.selectedIndex].text,a.value)},!0;case "mountDrive":return this.pa?(this.za[b]=c,c.addEventListener("change",function(){var a=c.children[0];a.children[1].disabled=!a.children[0].files.length}),c.onsubmit=function(a){if(a=a.currentTarget[1].files[0]){var b=a.name;hn(d,ia(b,!0),b,a)}return!1}):c.parentNode.removeChild(c),!0}return!1}; -g.Kc=function(a,b,c,d){this.na=b;this.O=c;this.fa=d;this.qa=a;this.X=Ab(a,"ChipSet");jn(this);gc(b,this,kn);kc(b,this,ln);this.pa&&mn(this,"Local Disk","?");mn(this,"Remote Disk","??");nn(this)||pb(this)}; -g.rc=function(a,b){if(!b){if(!a||!this.restore){if(this.reset(),this.qa.Ch){this.B=[];for(var c=0;ch.Ia.restore(z)&&(k=!1);k&&h.Ia&&void 0!==h.hb&&(h.rb=h.Ia.seek(h.Ob,h.lb,h.xb));k||(e=!1)}a.Y=b[c++]||0;a.ra=b[c]||0;return e}g.sj=function(a){var b;a=this.A[a];if(void 0!==a){b={};for(var c in a)b[c]=a[c]}return b}; -g.Rj=function(a,b,c){if(a.Ia){var d=a.Ia.info(),e=d[2],f=d[1]*e;if(b+c<=d[0]*f)return a.Ob=Math.floor(b/f),b%=f,a.lb=Math.floor(b/e),a.xb=b%e+1,a.Fb=c*d[3],a.zb=0,!0}return!1};function nn(a,b){b||(a.ga=0);if(a.aa)for(var c in a.aa){var d=a.aa[c];if(d.name&&d.path){var e=c.charCodeAt(0)-65;if(0<=e&&ea.Mb||f[1]>a.Gb)&&(this.Ta('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.ib)),b=null);b?(a.Ia=b,a.Qj=c,a.Ce=d,rn(this,c,d,b),f=b.info(),this.Y|=128,this.Ta('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.ib),a.oe||e),a.kg=f[0],a.Df=f[1],a.Ef=f[2]):a.Qe=!1;a.oe&&(a.oe=!1,--this.ga||pb(this));gn(this,a.ib)}; -function mn(a,b,c){if(a=a.za.listDisks){for(var d=0;d=this.P&&(this.Ka&=-81,this.R=this.P=0);return c}; -g.rm=function(a,b,c){this.ta()&&m(this,a,b,c,"DATA["+this.P+"]");this.P=fn[a].Id){b=!1;this.R=0;a=sn(this);var d,e,f,h,k=a&31;switch(k){case 3:sn(this);sn(this);tn(this);break;case 4:c=sn(this);this.ib=c&3;d=this.A[this.ib];tn(this);un(this,(d.zb&-16777216)>>>24);break;case 5:case 6:c=sn(this);b=c>>2&1;this.ib=c&3;d=this.A[this.ib];d.lb=b;c=d.Ob=sn(this);e=sn(this);f=d.xb=sn(this);h=sn(this);d.Fb=128<>2&1;this.ib=c&3;d= -this.A[this.ib];c=d.Ob;e=d.lb=b;f=d.xb=1;h=0;d.zb=0;d.Ia&&(d.rb=d.Ia.seek(d.Ob,d.lb,d.xb))?h=d.rb.length>>8:d.zb=72;vn(this,d,a,b,c,e,f,h);b=!0;break;case 13:c=sn(this);b=c>>2&1;this.ib=c&3;d=this.A[this.ib];c=d.Ob;e=d.lb=b;f=1;h=sn(this);d.Fb=128<>2&1,c=sn(this),d.Ob+=c-d.Yd,0>d.Ob&&(d.Ob=0),d.Ob>=d.Mb&&(d.Ob=d.Mb-1),d.Yd=c,d.zb=32,d.Ob||(d.zb|=268435456),tn(this),b=!0}0>>8);un(a,(b.zb&16711680)>>>16);var q=0;if(e!=b.Ob||f!=b.lb)q=h=1;c&128&&(f^=q,d||(q=0));un(a,e+q);un(a,f);un(a,h);un(a,k)}function sn(a){var b=a.S[a.R];a.R++;return b}function tn(a){a.R=a.P=0}function un(a,b){a.S[a.P++]=b} -g.ak=function(a,b,c){if(void 0===b||0>b){b=-1;var d=null,e=0;if(!a.zb&&a.Ia){do{if(a.rb&&(e=a.hb,0<=(b=$m(a.rb,a.hb++)))){d=a.rb;break}a.rb=a.Ia.seek(a.Ob,a.lb,a.xb);if(!a.rb){a.zb=1088;break}a.hb=0;wn(a)}while(1)}c(b,!1,d,e)}else c(-1,!1)};g.bk=function(a,b){return void 0!==b&&0<=b?xn(a,b):-1}; -g.pk=function(a,b){var c;if(void 0!==b&&0<=b)a:if(c=b,a.zb)c=-1;else{a.dd[a.Ke++]=c;if(a.Ke==a.dd.length){a.Ob=a.dd[0];a.lb=a.dd[1];a.xb=a.dd[2];a.Fb=128<xn(a,a.kj)){c=-1;break a}a.Zf++}a.Zf>=a.Zd&&(c=-1)}else c=-1;return c};function xn(a,b){if(a.zb||!a.Ia)return-1;do{if(a.rb&&a.Ia.write(a.rb,a.hb++,b))break;a.rb=a.Ia.seek(a.Ob,a.lb,a.xb);if(!a.rb){a.zb=8256;b=-1;break}a.hb=0;wn(a)}while(1);return b} -function wn(a){a.xb++;a.xb>=a.Ef+1&&(a.xb=1,a.lb++,a.lb>=a.Df&&(a.lb=0,a.Ob++))}var kn={1012:en.prototype.Zk,1013:en.prototype.Xk,1015:en.prototype.Yk},ln={1010:en.prototype.sm,1013:en.prototype.rm,1015:en.prototype.qm};Ra(function(){for(var a=kb(window.document,"pcjs","fdc"),b=0;bq.Ia.restore(h)&&(N=!1),N&&void 0!==q.hb&&(q.rb=q.Ia.seek(q.Ud,q.lb,q.xb+q.Yf)));N||(e=!1);null!=a.ra&&1>=d&&(a.ra|=(f.type&3)<<(1-d<<1))}0<=a.ib&&(a.B=a.A[a.ib]); -return e}g.sj=function(a){var b;a=this.A[a];if(void 0!==a){b={};for(var c in a)b[c]=a[c]}return b};function Gn(a,b,c){if(b){var d=0,e=0;null==c&&((d=b.He[2])?e=b.He[0]<<8|b.He[1]:c=b.type);null==c||d||(d=zn[a.Aa][c][1],e=zn[a.Aa][c][0]);d&&((c=zn[a.Aa][b.type])&&e!=c[0]&&d!=c[1]&&a.Ta("Warning: drive parameters ("+e+","+d+") do not match drive type "+b.type+" ("+c[0]+","+c[1]+")"),b.Mb=e,b.Gb=d,null==b.Ia&&(b.Ia=new xm(a,b,b.mode)))}} -g.Rj=function(a,b,c){if(a.Ia){var d=a.Ia.info(),e=d[0];if(e){var f=d[2],h=d[1]*f;if(b+c<=e*h)return a.Ud=Math.floor(b/h),b%=h,a.lb=Math.floor(b/f),a.xb=b%f,a.Fb=c*d[3],a.errorCode=0,!0}}return!1}; -function En(a,b){b||(a.ga=0);for(var c=0;c=this.P&&(this.R=this.P=0,this.Ka&=-15);return c}; -g.Om=function(a,b,c){m(this,a,b,c,"DATA["+this.P+"]");this.P=a&&(this.Ka|=2,this.Ka&=-2,Hn(this))};g.zl=function(a,b){var c=this.Ka;m(this,a,null,b,"STATUS",c);this.R=a.B.ab?(a.Ka=128,Jn(a.B,function(b){0<=b?(Kn(a),a.Ka=88):(a.Ka=1,a.aa=16)},!1)):a.Ka=80));return d} -g.ek=function(a,b){return In(this,a,b)|In(this,a,b)<<8};function Ln(a,b,c,d){if(a.B&&a.B.Fb>=a.B.ab)if(0>Mn(a.B,c))a.Ka=1,a.aa=16;else if(1==a.B.hb||a.B.hb==a.B.ab)a.ta(1048832)&&m(a,b,c,d,"DATA["+a.B.hb+"]"),1=a.B.ab&&(a.Ka|=8))}g.Zl=function(a,b,c){Ln(this,a,b&255,c);Ln(this,a,b>>8&255,c)};g.Ik=function(a,b){var c=this.aa;m(this,a,null,b,"ERROR",c);return c};g.dm=function(a,b,c){m(this,a,b,c,"WPREC");this.Pa=b}; -g.Kk=function(a,b){var c=this.ea;m(this,a,null,b,"SECCNT",c);return c};g.bm=function(a,b,c){m(this,a,b,c,"SECCNT");this.ea=b};g.Lk=function(a,b){var c=this.Ha;m(this,a,null,b,"SECNUM",c);return c};g.cm=function(a,b,c){m(this,a,b,c,"SECNUM");this.Ha=b};g.Gk=function(a,b){var c=this.Ea;m(this,a,null,b,"CYLLO",c);return c};g.Yl=function(a,b,c){m(this,a,b,c,"CYLLO");this.Ea=b};g.Fk=function(a,b){var c=this.Da;m(this,a,null,b,"CYLHI",c);return c};g.Xl=function(a,b,c){m(this,a,b,c,"CYLHI");this.Da=b}; -g.Hk=function(a,b){var c=this.ua;m(this,a,null,b,"DRVHD",c);return c};g.$l=function(a,b,c){m(this,a,b,c,"DRVHD");this.ua=b;this.Ka=this.A[this.ua&16?1:0]?this.Ka|80:this.Ka&-65};g.Mk=function(a,b){var c=this.Ka;m(this,a,null,b,"STATUS",c);return c};g.Wl=function(a,b,c){m(this,a,b,c,"COMMAND");this.La=b;this.X&&Ij(this.X,14);Nn(this)};g.am=function(a,b,c){m(this,a,b,c,"FDR");this.ja&4&&!(b&4)&&(this.aa=1);this.ja=b}; -function Nn(a){var b=!1,c=a.La,d=a.ua&16?1:0,e=a.ua&15,f=a.Ea|(a.Da&3)<<8,h=a.Ha,k=a.ea||256;a.ib=-1;a.B=null;a.aa=0;a.Ka=80;var q=a.A[d];q?(q.Ud=f,q.lb=e,q.xb=h,q.Fb=k*q.ab,c=144<=c?c:c&240,q.rb=null,q.hb=0,q.errorCode=0,a.ib=d,a.B=q):c=-1;switch(c&240){case 16:b=!0;break;case 32:a.Ka=128;Jn(q,function(b){0<=b&&a.X?(Kn(a),a.Ka=88):(a.Ka=1,a.aa=16)},!1);break;case 48:a.Ka=8;break;case 64:b=!0;break;case 112:b=!0;break;case 144:a.aa=1;b=!0;break;case 145:q.Gb=e+1,q.sb=k,b=!0}b&&Kn(a)} -function Kn(a){!a.X||a.ja&2||Hj(a.X,14,120)} -function Hn(a){a.R=0;var b=On(a),c=On(a),d=c&32,e=d>>5,f=c&31,h=On(a),k=On(a),q=h<<2&768|k,r=h&63,x=On(a),C=On(a),z=a.A[e];z&&(z.Ud=q,z.lb=f,z.xb=r,z.Fb=x*z.ab);switch(b){case 3:Pn(a,z?z.errorCode:4);Qn(a,c);Qn(a,h);Qn(a,k);Qn(a,0|d);b=-1;break;case 12:for(c=0;0<=(b=On(a));)z&&cb?Jn(a,c):c(-1,!1)};g.dk=function(a,b){return void 0!==b&&0<=b?Mn(a,b):-1}; -g.qk=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.hbMn(a,a.kj)){c=-1;break a}a.Zf++}a.Zf>=a.Zd&&(c=-1)}else c=-1;return c}; -function Rn(a,b,c){b.errorCode=4;if(b.Ia&&(b.rb=null,a.X)){b.errorCode=0;Aj(a.X,3,a,"dmaRead",b);tj(a.X,3,function(a){a||0!=b.errorCode||(b.errorCode=4);c(b.errorCode?2:0)});return}c(b.errorCode?2:0)}function Sn(a,b,c){b.errorCode=4;if(b.Ia&&(b.rb=null,a.X)){b.errorCode=0;Aj(a.X,3,a,"dmaWrite",b);tj(a.X,3,function(a){a||(0==b.errorCode&&(b.errorCode=4),20==b.errorCode&&(b.errorCode=0));c(b.errorCode?2:0)});return}c(b.errorCode?2:0)} -function Tn(a,b,c){b.errorCode=4;b.Ie&&b.Ie.length==b.Fb||(b.Ie=Array(b.Fb));b.hb=0;a.X?(b.errorCode=0,Aj(a.X,3,a,"dmaWriteBuffer",b),tj(a.X,3,function(a){a||0!=b.errorCode||(b.errorCode=4);c(b.errorCode?2:0)})):c(b.errorCode?2:0)} -function Jn(a,b,c){var d=-1,e=null,f=0;if(a.errorCode)return b&&b(d,!1,e,f),d;var h=!1!==c?1:0;if(a.rb&&(f=a.hb,d=$m(a.rb,a.hb),a.hb+=h,0<=d))return e=a.rb,b&&b(d,!1,e,f),d;if(b){if(a.Ia)return a.Ia.seek(a.Ud,a.lb,a.xb+a.Yf,!1,function(c,q){(a.rb=c)?(e=c,f=a.hb=0,Un(a),d=$m(a.rb,a.hb),a.hb+=h):a.errorCode=20;b(d,q,e,f)}),d;a.errorCode=20;b(d,!1,e,f)}return d} -function Mn(a,b){if(a.errorCode)return-1;do{if(a.rb&&a.Ia.write(a.rb,a.hb++,b))break;a.Ia&&a.Ia.seek(a.Ud,a.lb,a.xb+a.Yf,!0,function(b){a.rb=b});if(!a.rb){a.errorCode=20;b=-1;break}a.hb=0;Un(a)}while(1);return b}function Un(a){a.xb++;var b=1-a.Yf;a.xb>=a.sb+b&&(a.xb=b,a.lb++,a.lb>=a.Gb&&(a.lb=0,a.Ud++))}g.Bl=function(){var a=this.O.H&255;!(this.O.F>>8)&&128>8||!this.X)||(a=!(this.X.kc[0].wd&64));return a?!0:!1}; -var Bn={800:yn.prototype.yl,801:yn.prototype.zl,802:yn.prototype.xl},An={496:yn.prototype.ek,497:yn.prototype.Ik,498:yn.prototype.Kk,499:yn.prototype.Lk,500:yn.prototype.Gk,501:yn.prototype.Fk,502:yn.prototype.Hk,503:yn.prototype.Mk},Dn={800:yn.prototype.Om,801:yn.prototype.Rm,802:yn.prototype.Qm,803:yn.prototype.Pm,807:yn.prototype.Yi,811:yn.prototype.Yi,815:yn.prototype.Yi},Cn={496:yn.prototype.Zl,497:yn.prototype.dm,498:yn.prototype.bm,499:yn.prototype.cm,500:yn.prototype.Yl,501:yn.prototype.Xl, -502:yn.prototype.$l,503:yn.prototype.Wl,1014:yn.prototype.am};Ra(function(){for(var a=kb(window.document,"pcjs","hdc"),b=0;b'+b+"");a.innerHTML=b}},!0;case "descDisk":case "listDrives":return this.Aa[b]=c,c.onchange=function(){var a=ca(c.value,10);null!=a&&jn(d,a)}, +!0;case "loadDrive":return this.Aa[b]=c,c.onclick=function(){var a=d.Aa.listDisks;a&&kn(d,a.options[a.selectedIndex].text,a.value)},!0;case "mountDrive":return this.oa?(this.Aa[b]=c,c.addEventListener("change",function(){var a=c.children[0];a.children[1].disabled=!a.children[0].files.length}),c.onsubmit=function(a){if(a=a.currentTarget[1].files[0]){var b=a.name;kn(d,ja(b,!0),b,a)}return!1}):c.parentNode.removeChild(c),!0}return!1}; +g.Kc=function(a,b,c,d){this.na=b;this.O=c;this.fa=d;this.qa=a;this.X=Bb(a,"ChipSet");ln(this);hc(b,this,mn);lc(b,this,nn);this.oa&&on(this,"Local Disk","?");on(this,"Remote Disk","??");pn(this)||rb(this)}; +g.rc=function(a,b){if(!b){if(!a||!this.restore){if(this.reset(),this.qa.Dh){this.B=[];for(var c=0;ch.Ia.restore(z)&&(m=!1);m&&h.Ia&&void 0!==h.hb&&(h.rb=h.Ia.seek(h.Ob,h.mb,h.xb));m||(e=!1)}a.Y=b[c++]||0;a.ra=b[c]||0;return e}g.sj=function(a){var b;a=this.A[a];if(void 0!==a){b={};for(var c in a)b[c]=a[c]}return b}; +g.Rj=function(a,b,c){if(a.Ia){var d=a.Ia.info(),e=d[2],f=d[1]*e;if(b+c<=d[0]*f)return a.Ob=Math.floor(b/f),b%=f,a.mb=Math.floor(b/e),a.xb=b%e+1,a.Fb=c*d[3],a.zb=0,!0}return!1};function pn(a,b){b||(a.ga=0);if(a.aa)for(var c in a.aa){var d=a.aa[c];if(d.name&&d.path){var e=c.charCodeAt(0)-65;if(0<=e&&ea.Mb||f[1]>a.Gb)&&(this.Ta('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.ib)),b=null);b?(a.Ia=b,a.Qj=c,a.De=d,tn(this,c,d,b),f=b.info(),this.Y|=128,this.Ta('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.ib),a.oe||e),a.kg=f[0],a.Ef=f[1],a.Ff=f[2]):a.Re=!1;a.oe&&(a.oe=!1,--this.ga||rb(this));jn(this,a.ib)}; +function on(a,b,c){if(a=a.Aa.listDisks){for(var d=0;d=this.P&&(this.Ka&=-81,this.R=this.P=0);return c}; +g.qm=function(a,b,c){this.ta()&&l(this,a,b,c,"DATA["+this.P+"]");this.P=hn[a].Id){b=!1;this.R=0;a=un(this);var d,e,f,h,m=a&31;switch(m){case 3:un(this);un(this);vn(this);break;case 4:c=un(this);this.ib=c&3;d=this.A[this.ib];vn(this);wn(this,(d.zb&-16777216)>>>24);break;case 5:case 6:c=un(this);b=c>>2&1;this.ib=c&3;d=this.A[this.ib];d.mb=b;c=d.Ob=un(this);e=un(this);f=d.xb=un(this);h=un(this);d.Fb=128<>2&1;this.ib=c&3;d= +this.A[this.ib];c=d.Ob;e=d.mb=b;f=d.xb=1;h=0;d.zb=0;d.Ia&&(d.rb=d.Ia.seek(d.Ob,d.mb,d.xb))?h=d.rb.length>>8:d.zb=72;xn(this,d,a,b,c,e,f,h);b=!0;break;case 13:c=un(this);b=c>>2&1;this.ib=c&3;d=this.A[this.ib];c=d.Ob;e=d.mb=b;f=1;h=un(this);d.Fb=128<>2&1,c=un(this),d.Ob+=c-d.Yd,0>d.Ob&&(d.Ob=0),d.Ob>=d.Mb&&(d.Ob=d.Mb-1),d.Yd=c,d.zb=32,d.Ob||(d.zb|=268435456),vn(this),b=!0}0>>8);wn(a,(b.zb&16711680)>>>16);var q=0;if(e!=b.Ob||f!=b.mb)q=h=1;c&128&&(f^=q,d||(q=0));wn(a,e+q);wn(a,f);wn(a,h);wn(a,m)}function un(a){var b=a.S[a.R];a.R++;return b}function vn(a){a.R=a.P=0}function wn(a,b){a.S[a.P++]=b} +g.$j=function(a,b,c){if(void 0===b||0>b){b=-1;var d=null,e=0;if(!a.zb&&a.Ia){do{if(a.rb&&(e=a.hb,0<=(b=bn(a.rb,a.hb++)))){d=a.rb;break}a.rb=a.Ia.seek(a.Ob,a.mb,a.xb);if(!a.rb){a.zb=1088;break}a.hb=0;yn(a)}while(1)}c(b,!1,d,e)}else c(-1,!1)};g.ak=function(a,b){return void 0!==b&&0<=b?zn(a,b):-1}; +g.nk=function(a,b){var c;if(void 0!==b&&0<=b)a:if(c=b,a.zb)c=-1;else{a.dd[a.Le++]=c;if(a.Le==a.dd.length){a.Ob=a.dd[0];a.mb=a.dd[1];a.xb=a.dd[2];a.Fb=128<zn(a,a.kj)){c=-1;break a}a.Zf++}a.Zf>=a.Zd&&(c=-1)}else c=-1;return c};function zn(a,b){if(a.zb||!a.Ia)return-1;do{if(a.rb&&a.Ia.write(a.rb,a.hb++,b))break;a.rb=a.Ia.seek(a.Ob,a.mb,a.xb);if(!a.rb){a.zb=8256;b=-1;break}a.hb=0;yn(a)}while(1);return b} +function yn(a){a.xb++;a.xb>=a.Ff+1&&(a.xb=1,a.mb++,a.mb>=a.Ef&&(a.mb=0,a.Ob++))}var mn={1012:gn.prototype.Yk,1013:gn.prototype.Wk,1015:gn.prototype.Xk},nn={1010:gn.prototype.rm,1013:gn.prototype.qm,1015:gn.prototype.pm};Sa(function(){for(var a=mb(window.document,"pcjs","fdc"),b=0;bq.Ia.restore(h)&&(N=!1),N&&void 0!==q.hb&&(q.rb=q.Ia.seek(q.Ud,q.mb,q.xb+q.Yf)));N||(e=!1);null!=a.ra&&1>=d&&(a.ra|=(f.type&3)<<(1-d<<1))}0<=a.ib&&(a.B=a.A[a.ib]); +return e}g.sj=function(a){var b;a=this.A[a];if(void 0!==a){b={};for(var c in a)b[c]=a[c]}return b};function In(a,b,c){if(b){var d=0,e=0;null==c&&((d=b.Ie[2])?e=b.Ie[0]<<8|b.Ie[1]:c=b.type);null==c||d||(d=Bn[a.xa][c][1],e=Bn[a.xa][c][0]);d&&((c=Bn[a.xa][b.type])&&e!=c[0]&&d!=c[1]&&a.Ta("Warning: drive parameters ("+e+","+d+") do not match drive type "+b.type+" ("+c[0]+","+c[1]+")"),b.Mb=e,b.Gb=d,null==b.Ia&&(b.Ia=new zm(a,b,b.mode)))}} +g.Rj=function(a,b,c){if(a.Ia){var d=a.Ia.info(),e=d[0];if(e){var f=d[2],h=d[1]*f;if(b+c<=e*h)return a.Ud=Math.floor(b/h),b%=h,a.mb=Math.floor(b/f),a.xb=b%f,a.Fb=c*d[3],a.errorCode=0,!0}}return!1}; +function Gn(a,b){b||(a.ga=0);for(var c=0;c=this.P&&(this.R=this.P=0,this.Ka&=-15);return c}; +g.Nm=function(a,b,c){l(this,a,b,c,"DATA["+this.P+"]");this.P=a&&(this.Ka|=2,this.Ka&=-2,Jn(this))};g.yl=function(a,b){var c=this.Ka;l(this,a,null,b,"STATUS",c);this.R=a.B.ab?(a.Ka=128,Ln(a.B,function(b){0<=b?(Mn(a),a.Ka=88):(a.Ka=1,a.aa=16)},!1)):a.Ka=80));return d} +g.dk=function(a,b){return Kn(this,a,b)|Kn(this,a,b)<<8};function Nn(a,b,c,d){if(a.B&&a.B.Fb>=a.B.ab)if(0>On(a.B,c))a.Ka=1,a.aa=16;else if(1==a.B.hb||a.B.hb==a.B.ab)a.ta(1048832)&&l(a,b,c,d,"DATA["+a.B.hb+"]"),1=a.B.ab&&(a.Ka|=8))}g.Yl=function(a,b,c){Nn(this,a,b&255,c);Nn(this,a,b>>8&255,c)};g.Hk=function(a,b){var c=this.aa;l(this,a,null,b,"ERROR",c);return c};g.cm=function(a,b,c){l(this,a,b,c,"WPREC");this.Pa=b}; +g.Jk=function(a,b){var c=this.ea;l(this,a,null,b,"SECCNT",c);return c};g.am=function(a,b,c){l(this,a,b,c,"SECCNT");this.ea=b};g.Kk=function(a,b){var c=this.Ha;l(this,a,null,b,"SECNUM",c);return c};g.bm=function(a,b,c){l(this,a,b,c,"SECNUM");this.Ha=b};g.Fk=function(a,b){var c=this.Ea;l(this,a,null,b,"CYLLO",c);return c};g.Xl=function(a,b,c){l(this,a,b,c,"CYLLO");this.Ea=b};g.Ek=function(a,b){var c=this.Da;l(this,a,null,b,"CYLHI",c);return c};g.Wl=function(a,b,c){l(this,a,b,c,"CYLHI");this.Da=b}; +g.Gk=function(a,b){var c=this.ua;l(this,a,null,b,"DRVHD",c);return c};g.Zl=function(a,b,c){l(this,a,b,c,"DRVHD");this.ua=b;this.Ka=this.A[this.ua&16?1:0]?this.Ka|80:this.Ka&-65};g.Lk=function(a,b){var c=this.Ka;l(this,a,null,b,"STATUS",c);return c};g.Vl=function(a,b,c){l(this,a,b,c,"COMMAND");this.La=b;this.X&&Kj(this.X,14);Pn(this)};g.$l=function(a,b,c){l(this,a,b,c,"FDR");this.ja&4&&!(b&4)&&(this.aa=1);this.ja=b}; +function Pn(a){var b=!1,c=a.La,d=a.ua&16?1:0,e=a.ua&15,f=a.Ea|(a.Da&3)<<8,h=a.Ha,m=a.ea||256;a.ib=-1;a.B=null;a.aa=0;a.Ka=80;var q=a.A[d];q?(q.Ud=f,q.mb=e,q.xb=h,q.Fb=m*q.ab,c=144<=c?c:c&240,q.rb=null,q.hb=0,q.errorCode=0,a.ib=d,a.B=q):c=-1;switch(c&240){case 16:b=!0;break;case 32:a.Ka=128;Ln(q,function(b){0<=b&&a.X?(Mn(a),a.Ka=88):(a.Ka=1,a.aa=16)},!1);break;case 48:a.Ka=8;break;case 64:b=!0;break;case 112:b=!0;break;case 144:a.aa=1;b=!0;break;case 145:q.Gb=e+1,q.sb=m,b=!0}b&&Mn(a)} +function Mn(a){!a.X||a.ja&2||Jj(a.X,14,120)} +function Jn(a){a.R=0;var b=Qn(a),c=Qn(a),d=c&32,e=d>>5,f=c&31,h=Qn(a),m=Qn(a),q=h<<2&768|m,r=h&63,x=Qn(a),C=Qn(a),z=a.A[e];z&&(z.Ud=q,z.mb=f,z.xb=r,z.Fb=x*z.ab);switch(b){case 3:Rn(a,z?z.errorCode:4);Sn(a,c);Sn(a,h);Sn(a,m);Sn(a,0|d);b=-1;break;case 12:for(c=0;0<=(b=Qn(a));)z&&cb?Ln(a,c):c(-1,!1)};g.ck=function(a,b){return void 0!==b&&0<=b?On(a,b):-1}; +g.pk=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.hbOn(a,a.kj)){c=-1;break a}a.Zf++}a.Zf>=a.Zd&&(c=-1)}else c=-1;return c}; +function Tn(a,b,c){b.errorCode=4;if(b.Ia&&(b.rb=null,a.X)){b.errorCode=0;Cj(a.X,3,a,"dmaRead",b);vj(a.X,3,function(a){a||0!=b.errorCode||(b.errorCode=4);c(b.errorCode?2:0)});return}c(b.errorCode?2:0)}function Un(a,b,c){b.errorCode=4;if(b.Ia&&(b.rb=null,a.X)){b.errorCode=0;Cj(a.X,3,a,"dmaWrite",b);vj(a.X,3,function(a){a||(0==b.errorCode&&(b.errorCode=4),20==b.errorCode&&(b.errorCode=0));c(b.errorCode?2:0)});return}c(b.errorCode?2:0)} +function Vn(a,b,c){b.errorCode=4;b.Je&&b.Je.length==b.Fb||(b.Je=Array(b.Fb));b.hb=0;a.X?(b.errorCode=0,Cj(a.X,3,a,"dmaWriteBuffer",b),vj(a.X,3,function(a){a||0!=b.errorCode||(b.errorCode=4);c(b.errorCode?2:0)})):c(b.errorCode?2:0)} +function Ln(a,b,c){var d=-1,e=null,f=0;if(a.errorCode)return b&&b(d,!1,e,f),d;var h=!1!==c?1:0;if(a.rb&&(f=a.hb,d=bn(a.rb,a.hb),a.hb+=h,0<=d))return e=a.rb,b&&b(d,!1,e,f),d;if(b){if(a.Ia)return a.Ia.seek(a.Ud,a.mb,a.xb+a.Yf,!1,function(c,q){(a.rb=c)?(e=c,f=a.hb=0,Wn(a),d=bn(a.rb,a.hb),a.hb+=h):a.errorCode=20;b(d,q,e,f)}),d;a.errorCode=20;b(d,!1,e,f)}return d} +function On(a,b){if(a.errorCode)return-1;do{if(a.rb&&a.Ia.write(a.rb,a.hb++,b))break;a.Ia&&a.Ia.seek(a.Ud,a.mb,a.xb+a.Yf,!0,function(b){a.rb=b});if(!a.rb){a.errorCode=20;b=-1;break}a.hb=0;Wn(a)}while(1);return b}function Wn(a){a.xb++;var b=1-a.Yf;a.xb>=a.sb+b&&(a.xb=b,a.mb++,a.mb>=a.Gb&&(a.mb=0,a.Ud++))}g.Al=function(){var a=this.O.H&255;!(this.O.F>>8)&&128>8||!this.X)||(a=!(this.X.kc[0].xd&64));return a?!0:!1}; +var Dn={800:An.prototype.xl,801:An.prototype.yl,802:An.prototype.wl},Cn={496:An.prototype.dk,497:An.prototype.Hk,498:An.prototype.Jk,499:An.prototype.Kk,500:An.prototype.Fk,501:An.prototype.Ek,502:An.prototype.Gk,503:An.prototype.Lk},Fn={800:An.prototype.Nm,801:An.prototype.Qm,802:An.prototype.Pm,803:An.prototype.Om,807:An.prototype.Zi,811:An.prototype.Zi,815:An.prototype.Zi},En={496:An.prototype.Yl,497:An.prototype.cm,498:An.prototype.am,499:An.prototype.bm,500:An.prototype.Xl,501:An.prototype.Wl, +502:An.prototype.Zl,503:An.prototype.Vl,1014:An.prototype.$l};Sa(function(){for(var a=mb(window.document,"pcjs","hdc"),b=0;b>2;this.Ga=b.ig;this.Bb=new id(this.O,7,"DBG");this.La=lo;80186<=this.O.sa&&(this.La=lo.slice(),this.La[15]=jo,80286<=this.O.sa&&(this.La[15]=ko,80386<=this.O.sa&&(this.Na=8)));Si(this,64,function(a){oo(d,d.O.Hc,a[0])});Si(this,128,function(a){oo(d,d.O.va,a[0],d.O.va!==d.O.Hc)});Si(this,4,function(a){if(a=a[0]){var b=po(d,a);if(void 0===b)d.V("invalid selector: "+a);else if(a= -qo(d,b,2),d.V("dumpSel("+ga(a?a.da:b)+"): %"+l(a?a.ac:null,d.Ea)),a){var c,b=!1;if(a.type&4096)a.type&2048?(c="code"+(a.type&512?",readable":",execonly"),a.type&1024&&(c+=",conforming")):(c="data"+(a.type&512?",writable":",readonly"),a.type&1024&&(c+=",expdown")),a.type&256&&(c+=",accessed");else{var k=ro[a.type];k&&(c=k[0],b=k[1])}!c||a.Cb&32768||(c+=",not present");d.V((b?"seg="+ga(a.Fa&65535)+" off="+ga(a.Wa):"base="+l(a.Fa,d.Ea)+" limit="+so(a.Wa))+" type="+fa(a.type>>8)+" ("+c+") ext="+ga(a.ext& --65296)+" dpl="+fa(a.Dc))}}else d.V("no selector")});Si(this,8,function(a){a:{if(a=a[0]){var b=po(d,a);if(void 0===b){d.V("invalid task selector: "+a);break a}a=qo(d,b,2)}else a=d.O.Ya;d.V("dumpTSS("+ga(a?a.da:b)+"): %"+l(a?a.Fa:null,d.Ea));if(a){var b="",c=a.type&-513,k=256==c?4:8,q=256==c?to:uo,r,x,C,z;for(z in q)r=q[z],x=a.Fa+r,C=vf(d.O,x,2),2304==c&&(C|=vf(d.O,x+2,2)<<16),b&&(b+="\n"),b+=ga(r)+" "+oa(z+":",11)+l(C,k);if(2304==c)for(z=0,r=C>>>16;rz;){x=a.Fa+r;C=vf(d.O,x,2);x=2;c=""; -if(!x||4>=8;b+="\n"+ga(r)+" ports "+ga(z)+"-"+ga(z+15)+": "+c;z+=16;r+=2}d.V(b)}}});Si(this,134217728,function(a){var b;(a=a[0])&&(b=po(d,a));if(void 0===b)d.V("invalid MCB");else for(d.V("dumpMCB("+ga(b)+")");b;){a=Wn(d,0,b);var c=d.Xa(a,1),k=d.bd(a,2),q=d.bd(a,5);if(77!=c&&90!=c)break;d.V(vo(0,b)+": '"+String.fromCharCode(c)+"' PID="+ga(k)+" LEN="+ga(q)+' "'+wo(d,a,8)+'"');b+=1+q}});this.P=null;this.jb=0;this.Za=!1;Re(this.O,48,this.El.bind(this)); -Re(this.O,65,this.Fl.bind(this));this.ra=null;Re(this.O,104,this.Gl.bind(this));pb(this)};function xo(a,b,c,d,e,f){b=wo(a,b);var h=qo(a,d),h=h?h.Wa+1:0,k=(e?"_CODE":"_DATA")+l(c,2);f&&a.ta(128)&&a.message(b+" "+(e?"code":"data")+"("+l(c,4)+")=#"+l(d,4)+" len "+l(h));e=yo(a,b,c);e[b+k]=0;Zj(a,b,c,d,0,null,h,e)} -function zo(a,b,c,d){var e=a.bd(b,2),f=a.bd(b,2),h=a.mb(b,4),k=a.mb(b,4),q=Wn(a,a.mb(b,4),a.bd(b,2));b=Wn(a,a.mb(b,4),a.bd(b,2));b=wo(a,b).toUpperCase();var q=wo(a,q).toUpperCase(),r=(c?"_CODE":"_DATA")+l(e,2);d&&a.ta(128)&&a.message((b==q?"":b+"!")+q+" "+(c?"code":"data")+"("+l(e,4)+")="+l(f,4)+":"+l(h)+" len "+l(k));c=yo(a,q,e);c[q+r]=h;Zj(a,q,e,f,h,null,k,c)}function Ao(a,b,c){c=wo(a,c).toUpperCase();Bo(a,c,b)} -g.El=function(){var a=this.O;if(null!=this.P&&2752554==a.F){var b=a.H&65535,c=a.K&65535,d=Wn(this,u(a)+12,a.ya.da);switch(this.mb(d)){case 336:zo(this,Wn(this,a.D,b),!c,this.P)}}return!0}; -g.Fl=function(a){var b=this.O,c=b.F&65535,d=b.D&65535,e=b.G&65535,f=b.H&65535,h=b.K&65535,k=b.J&65535,q=b.eb.da;if(null==this.P)return 79==c&&Se(b,a,function(a){return function(){62342!=(b.F&65535)?(b.F=b.F&-65536|62342,a.wa("INT 0x41 handling enabled",128),a.P=!0):(a.wa("INT 0x41 monitoring enabled",128),a.P=!1)}}(this)),!0;switch(c){case 79:this.P&&(b.F=b.F&-65536|62342,this.wa("INT 0x41 handling enabled",128));break;case 80:xo(this,Wn(this,k,q),d+1,e,!(h&1),this.P);break;case 82:Bo(this,null,d); -break;case 127:this.P&&(b.F=b.F&-65536|(this.Za?0:1));break;case 131:this.P&&(a=Wn(this,b.H,e),this.jb++?(this.V("TRAPFAULT failed"),Co(this,this.A,a,!0,!0),this.jb=0,this.Xb()):(this.V("INT 0x41 TRAPFAULT: fault="+ga(d)+" error="+("0x"+l(b.K))+" addr="+Do(a)),this.Gd(this.A,a,!0),Yn(this,!0)));break;case 141:this.P&&(b.F=b.F&-65536|1);break;case 336:zo(this,Wn(this,b.D,f),!h,this.P);break;case 338:Ao(this,d,Wn(this,b.J,f))}this.Za=!1;return!this.P}; -g.Gl=function(a){var b=this.O,c=b.F&255,d=b.F>>8&255,e=b.D&65535,f=b.G&65535,h=b.H&65535,k=b.J&65535,q=b.eb.da;if(null==this.ra){if(67==d){if(609437257==b.mb((b.Ca.da<<4)+10)||1111835735==b.mb((b.Ca.da<<4)+95))return!0;Se(b,a,function(a){return function(){62342!=(b.F&65535)?(b.F=b.F&-65536|62342,a.wa("INT 0x68 handling enabled",128),a.P=a.ra=!0):(a.wa("INT 0x68 monitoring enabled",128),a.ra=!1)}}(this))}return!0}switch(d){case 67:this.ra&&(b.F=b.F&-65536|62342);break;case 68:this.ra&&(a=ld(b.Ca,this.kk.bind(this)))&& -(b.J=a[0],wd(b,a[1]));break;case 72:Bo(this,null,e);break;case 80:32==c?xo(this,Wn(this,k,q),0,f,!0,this.ra):128>c?xo(this,Wn(this,k,q),e+1,c&64?h:f,!(c&1),this.ra):zo(this,Wn(this,k,q),!(c&1),this.ra),this.ra&&(b.F=b.F&-256|1)}return!this.ra};g.kk=function(){var a=this.O;5==(a.F&255)&&(a.G=a.K=0,a.F=a.F&-256|1);return!1}; -g.Wb=function(a,b,c){var d=this;switch(b){case "debugInput":return this.Oa=this.za[b]=c,c.onkeydown=function(a){var b;if(13==a.keyCode){b=c.value;c.value="";var h=Eo(d,b,!0),k;for(k in h)$n(d,h[k])}else 27==a.keyCode?c.value=b="":(38==a.keyCode?d.S>>0)+1;a.Cb=f;a.type=h;a.ext=q;a.ac=d;kd(a,!0,!0,!1)}}return a}g.bc=function(a,b,c){var d=a&&a.Sa;if(null==d&&(d=n,a)){var e=qo(this,a.da,a.type);e&&(b=a.Ua||0,c=c||1,d=e=e.ac===n||e.Wc&&(b>>>0)+c>e.cc||!e.Wc&&(b>>>0)+c<=e.cc?e.Fa+b|0:n,a.Sa=d)}return d};g.Xa=function(a,b){var c=255,d=this.bc(a,!1,1);d!==n&&(c=vf(this.O,d,1,5!=a.type)|0,b&&Go(this,a,b));return c}; -g.pc=function(a,b){return a.gc?this.mb(a,b?4:0):this.bd(a,b?2:0)};g.bd=function(a,b){var c=65535,d=this.bc(a,!1,2);d!==n&&(c=vf(this.O,d,2,5!=a.type),b&&Go(this,a,b));return c};g.mb=function(a,b){var c=-1,d=this.bc(a,!1,4);d!==n&&(c=vf(this.O,d,4,5!=a.type),b&&Go(this,a,b));return c};g.tc=function(a,b,c){var d=this.bc(a,!0,1);d!==n&&(this.O.tc(d,b),c&&Go(this,a,c),Pc(this.O,!0))};g.Ib=function(a,b,c){var d=this.bc(a,!0,2);d!==n&&(this.O.Ib(d,b),c&&Go(this,a,c),Pc(this.O,!0))}; -function Wn(a,b,c,d,e,f,h){return Ho(a,{},b,c,d,e,f,h)}function Ho(a,b,c,d,e,f,h,k){b.Ua=c||0;b.da=d;b.Sa=e;b.type=f||(Fo(a)?2:1);b.gc=null!=h?h:a.O&&4==a.O.Ca.ha;b.nc=null!=k?k:a.O&&4==a.O.Ca.ad;b.Kd=!1;return b}function Io(a){return[a.Ua,a.da,a.Sa,a.Kd,a.gc,a.nc,a.Je,a.Jd]}function Jo(a){return{Ua:a[0],da:a[1],Sa:a[2],Kd:a[3],gc:a[4],nc:a[5],Je:a[6],Jd:a[7]}} -function Ko(a,b,c){if(null!=b.da&&(a=qo(a,b.da,b.type))){var d=b.Ua&a.Ga;if(!a.Wc){if(d>>>0>=a.cc)return!1}else if(d>>>0f?null!=k?(h=No(a,b,void 0),f=null):(f=No(a,b,void 0),null==f&&(h=null)):(k=No(a,b.substring(0,f),void 0),h=No(a,b.substring(f+1),void 0),f=null)}null!=h&&(e=Wn(a,h,k,f,c),d||Ko(a,e,!0)||(a.V("invalid offset: "+Do(e)),e=null));return e}function Oo(a,b,c){c&&(c=c.match(/(['"])(.*?)\1/))&&(b.hk=Eo(a,b.Pj=c[2]))}function Go(a,b,c){c=c||1;null!=b.Sa&&(b.Sa+=c);null!=b.da&&(b.Ua+=c,Ko(a,b)||(b.Ua=0,b.Sa=null))} -function vo(a,b,c){return null!=b?l(b,4)+":"+l(a,a&-65536||c?8:4):l(a)}function Do(a){var b;switch(a.type){case 1:case 3:b="&";break;case 2:b="#";break;case 4:b="%";break;case 5:b="%%";break;default:b=a.da?"":"%"}return null==a.da?b+l(a.Sa):b+vo(a.Ua,a.da,a.nc)}function wo(a,b,c){var d="";for(c=c||256;d.length>>a.O.Ra;h=1}a.V("blockid "+(d?"linear ":"physical")+" blockaddr used size type");a.V("-------- --------- ---------- ------ ------ ----");c=-1;for(var k=0;h--;)(d=b[f])&&5==d.type&&(d=Fc(a.O,e,!1,!0)),d.type==c?k++||a.V("..."):(c=d.type,k=sc[c],6==c&&(d=d.me,k+=" -> "+sc[d.type]),d&&a.V(l(d.id)+" %"+l(f<c&&(c=ya(go,a.substr(b,2))));return c} -function Ro(a,b){var c=0,d=So(a,b);if(void 0!==d)switch(b){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:c=2;break;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 22:case 16:case 17:case 18:case 19:case 20:case 21:c=4;break;case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 56:c=8;break;case 23:c=a.Na}return c?l(d,c):"??"} -function So(a,b){var c;if(0<=b){var d=a.O;switch(b){case 0:c=d.F&255;break;case 1:c=d.G&255;break;case 2:c=d.H&255;break;case 3:c=d.D&255;break;case 4:c=d.F>>8&255;break;case 5:c=d.G>>8&255;break;case 6:c=d.H>>8&255;break;case 7:c=d.D>>8&255;break;case 8:c=d.F&65535;break;case 9:c=d.G&65535;break;case 10:c=d.H&65535;break;case 11:c=d.D&65535;break;case 12:c=u(d)&65535;break;case 13:c=d.L&65535;break;case 14:c=d.K&65535;break;case 15:c=d.J&65535;break;case 22:c=v(d)&65535;break;case 23:c=xd(d);break; -case 16:c=d.eb.da;break;case 17:c=d.Ca.da;break;case 18:c=d.ya.da;break;case 19:c=d.Ab.da;break;default:if(80286==a.O.sa)32==b&&(c=d.ob);else if(80386<=a.O.sa)switch(b){case 24:c=d.F;break;case 25:c=d.G;break;case 26:c=d.H;break;case 27:c=d.D;break;case 28:c=u(d);break;case 29:c=d.L;break;case 30:c=d.K;break;case 31:c=d.J;break;case 32:c=d.ob;break;case 33:c=d.aj;break;case 34:c=d.he;break;case 35:c=d.Ed;break;case 20:c=d.Rb.da;break;case 21:c=d.Sb.da;break;case 56:c=v(d)}}}return c} -function To(a,b){b=Mo(a,b);for(var c=0,d,e;0<=(c=b.indexOf("@",c));)e=Qo(b,c+1),0<=e&&(b=b.substr(0,c)+Ro(a,e)+b.substr(c+1+go[e].length)),c++;for(c=0;0<=(c=b.indexOf("#",c));)e=b.substr(c+1,2),d=da(e,16),null!=d&&32<=d&&128>d?(d=e+" '"+String.fromCharCode(d)+"'",b=b.replace("#"+e,d),c+=d.length):c++;for(c=0;0<=(c=b.indexOf("$",c));)if(e=b.substr(c+1,9),d=Lo(a,e))d=e+' "'+wo(a,d)+'"',b=b.replace("$"+e,d),c+=d.length;for(c=0;0<=(c=b.indexOf("^",c));)if(e=b.substr(c+1,9),d=Lo(a,e))Go(a,d),d=e+' "'+ -wo(a,d,11)+'"',b=b.replace("^"+e,d),c+=d.length;return b}g=Vn.prototype;g.message=function(a,b){b&&(a+=" at "+Do(Wn(this,v(this.O),this.O.Ca.da))+" (%"+l(this.O.Ba)+")");if(!this.Pa||a!=this.Pa)if(this.V(a),this.Pa=a,this.O){this.lc&-2147483648&&this.Xb();var c=this.O;c.Z.af=0;c.jb-=c.A;c.A=0;Pc(c)}}; -function xi(a,b,c,d){var e,f;if(!d&&(d=a.ta(1)&&0>bo.indexOf(b),!d)){var h=ao[b];h&&(d=a.ta(h)?!0:524288==h&&a.ta(h=1048576))}d&&(e=a.O.F>>8&255,f=a.O.H&255,33==b&&11==e||524288==h&&128<=f||1048576==h&&128>f)&&(d=!1);d&&((h=(h=tb[b])&&h[e]||"")&&(h=" "+To(a,h)),a.message("INT "+fa(b)+": AH="+fa(e)+" at "+vo(c-2-a.O.Ca.Fa,a.O.Ca.da)+h));return d} -function lb(a,b,c,d,e,f,h,k){k|=256;if(null==e||(a.lc&k)==k)k=null,null!=e&&(k=a.O.Ca.da,e-=a.O.Ca.Fa),a.message(b.Vd+"."+(null!=d?"outPort":"inPort")+"("+ga(c)+","+(f?f:"unknown")+(null!=d?","+fa(d):"")+")"+(null!=h?": "+fa(h):"")+(null!=e?" at "+vo(e,k):""))}g.Al=function(){this.V("Type ? for help with PCjs Debugger commands");this.kd();if(this.fb){var a=Eo(this,this.fb);this.fb=null;for(var b in a)$n(this,a[b])}}; -function Yn(a,b){var c;if(Ef(a)){if(!a.pa||!a.pa.length){a.pa=Array(1E3);for(c=0;c>>d.Ra],!1)}a.ua=["br"];if(void 0!==a.ja)for(b=1;b>>d.Ra],!0);a.ja=["bw"];a.$a=0} -g.Gd=function(a,b,c){var d=!0;c||Co(this,a,b,!1,!0);if(a!=this.A){var e=this.bc(b);if(e==n)this.V("invalid address: "+Do(b)),d=!1;else{var f=this.O;(5!=b.type?f.va:f.Hc)[e>>>f.Ra].Gd(e&f.Pa,a==this.ja);b.da=null}}d&&(a.push(b),c?(null!=b.Sa&&(b.da=null),b.Kd=!0):(Zo(this,a,a.length-1,"set"),Yn(this)));return d}; -function Co(a,b,c,d,e){for(var f=!1,h=$o(a,a.bc(c)),k=1;k>>c.Ra],b==a.ja));q.Kd||Yn(a);break}}return f}function ap(a,b){for(var c=1;c=eo.length&&(q=a.Xa(b,1),h=no[r-eo.length][q>>3&7]);var r=eo[h[0]],x=h.length-1,C="";if(164<=f&&167>=f||170<=f&&175>=f)x=0,b.gc&&"W"==r.slice(-1)&&(r=r.slice(0,-1)+"D");for(var f=null,z=!0,N=1;N<=x;N++){var I,J;I="";J=h[N];if(void 0!==J){null==f&&(f=J>> -14);var W=J&15;if(0!=W)if(15==W)z=!1;else{var O=J&240;if(128<=O)if(0>q&&(q=a.Xa(b,1)),160>O){I=a;var O=x,W=b,Z="",ca=q>>6,la=q&7;if(3>ca){var za=void 0;if(!ca&&(!W.nc&&6==la||W.nc&&5==la))ca=2;else{if(W.nc)if(4!=la)la+=8;else{var Z=I,za=ca,va=W,xa=Z.Xa(va,1),Fa=xa>>6,vb=xa>>3&7,xa=xa&7,ha="";if(za||5!=xa)ha=ho[xa+8];4!=vb&&(ha&&(ha+="+"),ha+=ho[vb+8],Fa&&(ha+="*"+(1<>24,Z+="-"+l(-za,2)):Z+= -"+"+l(za,2)):2==ca&&(Z&&(Z+="+"),W.nc?(za=I.mb(W,4),Z+=l(za)):(za=I.bd(W,2),Z+=l(za,4)));Z="["+Z+"]";if(1==O){I="";J&=15;4==J&&(J=W.gc?5:3);switch(J){case 7:I="FAR";break;case 1:I="BYTE";break;case 3:I="WORD";break;case 5:I="DWORD"}I&&(Z=I+" "+Z)}}else Z=cp(I,la,J,W);I=Z}else I=160==O?cp(a,q&7,J,b):cp(a,q>>3&7,J,b);else if(16==O)I="1";else if(0==O){I=a;W=J;O=b;J=" ";switch(W&15){case 1:W&12288&&(J=l(I.Xa(O,1),2));break;case 2:J=l(I.Xa(O,1)<<24>>24,O.gc?8:4);break;case 4:case 8:if(O.gc){J=l(I.mb(O, -4));break}case 3:J=l(I.bd(O,2),4);break;case 7:O=Wn(I,I.pc(O,!0),I.bd(O,2),null,O.type,O.gc,O.nc);J=Do(O);I=dp(I,O);I[0]&&(J+=" ("+I[0]+")");break;default:J="imm("+ga(W)+")"}I=J}else 32==O?(b.nc?(I=8,J=a.mb(b,4)):(I=4,J=a.bd(b,2)),I="["+l(J,I)+"]"):48==O?(I=1==W?a.Xa(b,1)<<24>>24:a.pc(b,!0),J=b.Ua+I&(b.gc?-1:65535),I=l(J,b.gc?8:4),J=dp(a,Wn(a,J,b.da)),J[0]&&(I+=" ("+J[0]+")")):96==O?I=cp(a,(J&3840)>>8,J,b):112==O?I=cp(a,(J&3840)>>8,192,b):64==O?I="DS:[SI]":80==O&&(I="ES:[DI]");if(!I||!I.length){C= -"INVALID";break}0a.O.sa)return"??";b+=16}else if(208==e)b+=32;else if(224==e)b+=40;else if(240==e)b+=48;else if(a=c&15,3<=a&&(8>b&&(b+=8),5==a||4==a&&d.gc))b+=16;return go[b]} -function fp(a,b){var c;switch(b){case "V":c=gf(a.O);break;case "D":c=a.O.ca&1024;break;case "I":c=a.O.ca&512;break;case "T":c=a.O.ca&256;break;case "S":c=ff(a.O);break;case "Z":c=ef(a.O);break;case "A":c=df(a.O);break;case "P":c=cf(a.O);break;case "C":c=bf(a.O);break;default:c=0}return b+(c?"1":"0")+" "}function so(a){return l(a,a&-65536?8:4)}function gp(a,b){8<=b&&15>=b&&4a.O.sa&&(d="\n"+d,c+=e,e="");c+="\n"+hp(a,a.O.Ca,b)+" ";80386<=a.O.sa&&(e+="\n",c+=hp(a,a.O.Rb,b)+" "+hp(a,a.O.Sb,b)+"\n");c+=ip(a,"LD",a.O.Fc.da,a.O.Fc.Fa,a.O.Fc.Fa+a.O.Fc.Wa)+" "+ip(a,"GD",null,a.O.ed,a.O.Wd)+" "+ip(a, -"ID",null,a.O.fd,a.O.Xd)+" ";c=c+(d+" "+e)+gp(a,32);80386<=a.O.sa&&(c+=gp(a,34)+gp(a,35))}else 80386<=a.O.sa&&(c+=hp(a,a.O.Rb,b)+" "+hp(a,a.O.Sb,b)+" ");return c+=gp(a,23)+fp(a,"V")+fp(a,"D")+fp(a,"I")+fp(a,"T")+fp(a,"S")+fp(a,"Z")+fp(a,"A")+fp(a,"P")+fp(a,"C")}var kp={"||":0,"&&":1,"|":2,"^":3,"&":4,"!=":5,"==":5,">=":6,">":6,"<=":6,"<":6,">>>":7,">>":7,"<<":7,"-":8,"+":8,"%":9,"/":9,"*":9}; -function lp(a,b,c){for(c=c||-1;c--&&b.length;){var d=b.pop();if(2>a.length)return!1;var e=a.pop(),f=a.pop();switch(d){case "*":d=f*e;break;case "/":if(!e)return!1;d=f/e;break;case "%":if(!e)return!1;d=f%e;break;case "+":d=f+e;break;case "-":d=f-e;break;case "<<":d=f<>":d=f>>e;break;case ">>>":d=f>>>e;break;case "<":d=f":d=f>e?1:0;break;case ">=":d=f>=e?1:0;break;case "==":d=f==e?1:0;break;case "!=":d=f!=e?1:0;break;case "&":d=f&e;break; +57476,4276,4449],175:[72,61572,4276],178:[118,8372,4246],179:[15,57476,4276],180:[104,8372,4246],181:[106,8372,4246],182:[124,57524,4225],183:[124,57525,4227],186:[208,61572,4097],187:[14,57476,4276],188:[11,57524,4228],189:[12,57524,4228],190:[123,57524,4225],191:[123,57525,4227]},po=[[[6,12417,4097],[129,12417,4097],[5,12417,4097],[150,12417,4097],[7,12417,4097],[184,12417,4097],[191,12417,4097],[24,4225,4097]],[[6,12420,4100],[129,12420,4100],[5,12420,4100],[150,12420,4100],[7,12420,4100],[184, +12420,4100],[191,12420,4100],[24,4228,4100]],[[6,12420,4098],[129,12420,4098],[5,12420,4098],[150,12420,4098],[7,12420,4098],[184,12420,4098],[191,12420,4098],[24,4228,4098]],[[145,45185,4097],[146,45185,4097],[139,45185,4097],[140,45185,4097],[170,45185,4097],[172,45185,4097],lo,[149,45185,4097]],[[145,45188,4097],[146,45188,4097],[139,45188,4097],[140,45188,4097],[170,45188,4097],[172,45188,4097],lo,[149,45188,4097]],[[145,12417,4113],[146,12417,4113],[139,12417,4113],[140,12417,4113],[170,12417, +4113],[172,12417,4113],lo,[149,12417,4113]],[[145,12420,4113],[146,12420,4113],[139,12420,4113],[140,12420,4113],[170,12420,4113],[172,12420,4113],lo,[149,12420,4113]],[[145,12417,4449],[146,12417,4449],[139,12417,4449],[140,12417,4449],[170,12417,4449],[172,12417,4449],lo,[149,12417,4449]],[[145,12420,4449],[146,12420,4449],[139,12420,4449],[140,12420,4449],[170,12420,4449],[172,12420,4449],lo,[149,12420,4449]],[[185,4225,4097],lo,[128,12417],[126,12417],[125,4225],[72,12417],[32,4225],[71,12417]], +[[185,4228,4100],lo,[128,12420],[126,12420],[125,4228],[72,12420],[32,4228],[71,12420]],[[74,12417],[31,12417],lo,lo,lo,lo,lo,lo],[[74,12420],[31,12420],[17,4228],[17,4231],[87,4228],[87,4231],[136,4228],lo],[],[[175,41091],[183,41091],[108,36995],[119,36995],[186,36995],[187,36995],lo,lo],[[169,41091],[174,41091],[105,36995],[107,36995],[176,41091],lo,[109,36995],lo],[lo,lo,lo,lo,[13,53380,4097],[16,57476,4097],[15,57476,4097],[14,57476,4097]]];g=Xn.prototype; +g.Kc=function(a,b,c,d){this.na=b;this.O=c;this.qa=a;this.Nb=Bb(a,"FDC");this.vb=Bb(a,"HDC");this.Y=Bb(a,"Mouse");this.Ea=b.R>>2;this.Ga=b.ig;this.Bb=new jd(this.O,7,"DBG");this.La=no;80186<=this.O.sa&&(this.La=no.slice(),this.La[15]=lo,80286<=this.O.sa&&(this.La[15]=mo,80386<=this.O.sa&&(this.Na=8)));Ui(this,64,function(a){qo(d,d.O.Hc,a[0])});Ui(this,128,function(a){qo(d,d.O.wa,a[0],d.O.wa!==d.O.Hc)});Ui(this,4,function(a){if(a=a[0]){var b=ro(d,a);if(void 0===b)d.V("invalid selector: "+a);else if(a= +so(d,b,2),d.V("dumpSel("+ia(a?a.da:b)+"): %"+k(a?a.bc:null,d.Ea)),a){var c,b=!1;if(a.type&4096)a.type&2048?(c="code"+(a.type&512?",readable":",execonly"),a.type&1024&&(c+=",conforming")):(c="data"+(a.type&512?",writable":",readonly"),a.type&1024&&(c+=",expdown")),a.type&256&&(c+=",accessed");else{var m=to[a.type];m&&(c=m[0],b=m[1])}!c||a.Cb&32768||(c+=",not present");d.V((b?"seg="+ia(a.Fa&65535)+" off="+ia(a.Wa):"base="+k(a.Fa,d.Ea)+" limit="+uo(a.Wa))+" type="+ga(a.type>>8)+" ("+c+") ext="+ia(a.ext& +-65296)+" dpl="+ga(a.Dc))}}else d.V("no selector")});Ui(this,8,function(a){a:{if(a=a[0]){var b=ro(d,a);if(void 0===b){d.V("invalid task selector: "+a);break a}a=so(d,b,2)}else a=d.O.Ya;d.V("dumpTSS("+ia(a?a.da:b)+"): %"+k(a?a.Fa:null,d.Ea));if(a){var b="",c=a.type&-513,m=256==c?4:8,q=256==c?vo:wo,r,x,C,z;for(z in q)r=q[z],x=a.Fa+r,C=wf(d.O,x,2),2304==c&&(C|=wf(d.O,x+2,2)<<16),b&&(b+="\n"),b+=ia(r)+" "+pa(z+":",11)+k(C,m);if(2304==c)for(z=0,r=C>>>16;rz;)x=a.Fa+r,C=wf(d.O,x,2),b+="\n"+ia(r)+ +" ports "+ia(z)+"-"+ia(z+15)+": "+fa(C,2),z+=16,r+=2;d.V(b)}}});Ui(this,134217728,function(a){var b;(a=a[0])&&(b=ro(d,a));if(void 0===b)d.V("invalid MCB");else for(d.V("dumpMCB("+ia(b)+")");b;){a=Yn(d,0,b);var c=d.Xa(a,1),m=d.cd(a,2),q=d.cd(a,5);if(77!=c&&90!=c)break;d.V(xo(0,b)+": '"+String.fromCharCode(c)+"' PID="+ia(m)+" LEN="+ia(q)+' "'+yo(d,a,8)+'"');b+=1+q}});this.P=null;this.jb=0;this.Za=!1;Se(this.O,48,this.Dl.bind(this));Se(this.O,65,this.El.bind(this));this.ra=null;Se(this.O,104,this.Fl.bind(this)); +rb(this)};function zo(a,b,c,d,e,f){b=yo(a,b);var h=so(a,d),h=h?h.Wa+1:0,m=(e?"_CODE":"_DATA")+k(c,2);f&&a.ta(128)&&a.message(b+" "+(e?"code":"data")+"("+k(c,4)+")=#"+k(d,4)+" len "+k(h));e=Ao(a,b,c);e[b+m]=0;bk(a,b,c,d,0,null,h,e)} +function Bo(a,b,c,d){var e=a.cd(b,2),f=a.cd(b,2),h=a.nb(b,4),m=a.nb(b,4),q=Yn(a,a.nb(b,4),a.cd(b,2));b=Yn(a,a.nb(b,4),a.cd(b,2));b=yo(a,b).toUpperCase();var q=yo(a,q).toUpperCase(),r=(c?"_CODE":"_DATA")+k(e,2);d&&a.ta(128)&&a.message((b==q?"":b+"!")+q+" "+(c?"code":"data")+"("+k(e,4)+")="+k(f,4)+":"+k(h)+" len "+k(m));c=Ao(a,q,e);c[q+r]=h;bk(a,q,e,f,h,null,m,c)}function Co(a,b,c){c=yo(a,c).toUpperCase();Do(a,c,b)} +g.Dl=function(){var a=this.O;if(null!=this.P&&2752554==a.F){var b=a.H&65535,c=a.K&65535,d=Yn(this,u(a)+12,a.za.da);switch(this.nb(d)){case 336:Bo(this,Yn(this,a.D,b),!c,this.P)}}return!0}; +g.El=function(a){var b=this.O,c=b.F&65535,d=b.D&65535,e=b.G&65535,f=b.H&65535,h=b.K&65535,m=b.J&65535,q=b.eb.da;if(null==this.P)return 79==c&&Te(b,a,function(a){return function(){62342!=(b.F&65535)?(b.F=b.F&-65536|62342,a.va("INT 0x41 handling enabled",128),a.P=!0):(a.va("INT 0x41 monitoring enabled",128),a.P=!1)}}(this)),!0;switch(c){case 79:this.P&&(b.F=b.F&-65536|62342,this.va("INT 0x41 handling enabled",128));break;case 80:zo(this,Yn(this,m,q),d+1,e,!(h&1),this.P);break;case 82:Do(this,null,d); +break;case 127:this.P&&(b.F=b.F&-65536|(this.Za?0:1));break;case 131:this.P&&(a=Yn(this,b.H,e),this.jb++?(this.V("TRAPFAULT failed"),Eo(this,this.A,a,!0,!0),this.jb=0,this.Yb()):(this.V("INT 0x41 TRAPFAULT: fault="+ia(d)+" error="+("0x"+k(b.K))+" addr="+Fo(a)),this.Gd(this.A,a,!0),$n(this,!0)));break;case 141:this.P&&(b.F=b.F&-65536|1);break;case 336:Bo(this,Yn(this,b.D,f),!h,this.P);break;case 338:Co(this,d,Yn(this,b.J,f))}this.Za=!1;return!this.P}; +g.Fl=function(a){var b=this.O,c=b.F&255,d=b.F>>8&255,e=b.D&65535,f=b.G&65535,h=b.H&65535,m=b.J&65535,q=b.eb.da;if(null==this.ra){if(67==d){if(609437257==b.nb((b.Ca.da<<4)+10)||1111835735==b.nb((b.Ca.da<<4)+95))return!0;Te(b,a,function(a){return function(){62342!=(b.F&65535)?(b.F=b.F&-65536|62342,a.va("INT 0x68 handling enabled",128),a.P=a.ra=!0):(a.va("INT 0x68 monitoring enabled",128),a.ra=!1)}}(this))}return!0}switch(d){case 67:this.ra&&(b.F=b.F&-65536|62342);break;case 68:this.ra&&(a=md(b.Ca,this.jk.bind(this)))&& +(b.J=a[0],Ad(b,a[1]));break;case 72:Do(this,null,e);break;case 80:32==c?zo(this,Yn(this,m,q),0,f,!0,this.ra):128>c?zo(this,Yn(this,m,q),e+1,c&64?h:f,!(c&1),this.ra):Bo(this,Yn(this,m,q),!(c&1),this.ra),this.ra&&(b.F=b.F&-256|1)}return!this.ra};g.jk=function(){var a=this.O;5==(a.F&255)&&(a.G=a.K=0,a.F=a.F&-256|1);return!1}; +g.Xb=function(a,b,c){var d=this;switch(b){case "debugInput":return this.Oa=this.Aa[b]=c,c.onkeydown=function(a){var b;if(13==a.keyCode)b=c.value,c.value="",bo(d,b,!0);else if(27==a.keyCode)c.value=b="";else if(38==a.keyCode?d.S>>0)+1;a.Cb=f;a.type=h;a.ext=q;a.bc=d;ld(a,!0,!0,!1)}}return a}g.cc=function(a,b,c){var d=a&&a.Sa;if(null==d&&(d=n,a)){var e=so(this,a.da,a.type);e&&(b=a.Ua||0,c=c||1,d=e=e.bc===n||e.Xc&&(b>>>0)+c>e.dc||!e.Xc&&(b>>>0)+c<=e.dc?e.Fa+b|0:n,a.Sa=d)}return d};g.Xa=function(a,b){var c=255,d=this.cc(a,!1,1);d!==n&&(c=wf(this.O,d,1,5!=a.type)|0,b&&Ho(this,a,b));return c}; +g.pc=function(a,b){return a.Wb?this.nb(a,b?4:0):this.cd(a,b?2:0)};g.cd=function(a,b){var c=65535,d=this.cc(a,!1,2);d!==n&&(c=wf(this.O,d,2,5!=a.type),b&&Ho(this,a,b));return c};g.nb=function(a,b){var c=-1,d=this.cc(a,!1,4);d!==n&&(c=wf(this.O,d,4,5!=a.type),b&&Ho(this,a,b));return c};g.tc=function(a,b,c){var d=this.cc(a,!0,1);d!==n&&(this.O.tc(d,b),c&&Ho(this,a,c),Qc(this.O,!0))};g.Ib=function(a,b,c){var d=this.cc(a,!0,2);d!==n&&(this.O.Ib(d,b),c&&Ho(this,a,c),Qc(this.O,!0))}; +function Yn(a,b,c,d,e,f,h){return Io(a,{},b,c,d,e,f,h)}function Io(a,b,c,d,e,f,h,m){b.Ua=c||0;b.da=d;b.Sa=e;b.type=f||(Go(a)?2:1);b.Wb=null!=h?h:a.O&&4==a.O.Ca.ha;b.nc=null!=m?m:a.O&&4==a.O.Ca.bd;b.Kd=!1;return b}function Jo(a){return[a.Ua,a.da,a.Sa,a.Kd,a.Wb,a.nc,a.Ke,a.Jd]}function Ko(a){return{Ua:a[0],da:a[1],Sa:a[2],Kd:a[3],Wb:a[4],nc:a[5],Ke:a[6],Jd:a[7]}} +function Lo(a,b,c){if(null!=b.da&&(a=so(a,b.da,b.type))){var d=b.Ua&a.Ga;if(!a.Xc){if(d>>>0>=a.dc)return!1}else if(d>>>0f?null!=m?(h=Oo(a,b,void 0),f=null):(f=Oo(a,b,void 0),null==f&&(h=null)):(m=Oo(a,b.substring(0,f),void 0),h=Oo(a,b.substring(f+1),void 0),f=null)}null!=h&&(e=Yn(a,h,m,f,c),d||Lo(a,e,!0)||(a.V("invalid offset: "+Fo(e)),e=null));return e}function Po(a,b,c){c&&(c=c.match(/(['"])(.*?)\1/))&&(b.gk=Qo(a,b.Pj=c[2]))}function Ho(a,b,c){c=c||1;null!=b.Sa&&(b.Sa+=c);null!=b.da&&(b.Ua+=c,Lo(a,b)||(b.Ua=0,b.Sa=null))} +function xo(a,b,c){return null!=b?k(b,4)+":"+k(a,a&-65536||c?8:4):k(a)}function Fo(a){var b;switch(a.type){case 1:case 3:b="&";break;case 2:b="#";break;case 4:b="%";break;case 5:b="%%";break;default:b=a.da?"":"%"}return null==a.da?b+k(a.Sa):b+xo(a.Ua,a.da,a.nc)}function yo(a,b,c){var d="";for(c=c||256;d.length>>a.O.Ra;h=1}a.V("blockid "+(d?"linear ":"physical")+" blockaddr used size type");a.V("-------- --------- ---------- ------ ------ ----");c=-1;for(var m=0;h--;)(d=b[f])&&5==d.type&&(d=Gc(a.O,e,!1,!0)),d.type==c?m++||a.V("..."):(c=d.type,m=tc[c],6==c&&(d=d.me,m+=" -> "+tc[d.type]),d&&a.V(k(d.id)+" %"+k(f<c&&(c=Aa(io,a.substr(b,2))));return c} +function To(a,b){var c=0,d=Uo(a,b);if(void 0!==d)switch(b){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:c=2;break;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 22:case 16:case 17:case 18:case 19:case 20:case 21:c=4;break;case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 56:c=8;break;case 23:c=a.Na}return c?k(d,c):"??"} +function Uo(a,b){var c;if(0<=b){var d=a.O;switch(b){case 0:c=d.F&255;break;case 1:c=d.G&255;break;case 2:c=d.H&255;break;case 3:c=d.D&255;break;case 4:c=d.F>>8&255;break;case 5:c=d.G>>8&255;break;case 6:c=d.H>>8&255;break;case 7:c=d.D>>8&255;break;case 8:c=d.F&65535;break;case 9:c=d.G&65535;break;case 10:c=d.H&65535;break;case 11:c=d.D&65535;break;case 12:c=u(d)&65535;break;case 13:c=d.L&65535;break;case 14:c=d.K&65535;break;case 15:c=d.J&65535;break;case 22:c=v(d)&65535;break;case 23:c=Bd(d);break; +case 16:c=d.eb.da;break;case 17:c=d.Ca.da;break;case 18:c=d.za.da;break;case 19:c=d.Ab.da;break;default:if(80286==a.O.sa)32==b&&(c=d.pb);else if(80386<=a.O.sa)switch(b){case 24:c=d.F;break;case 25:c=d.G;break;case 26:c=d.H;break;case 27:c=d.D;break;case 28:c=u(d);break;case 29:c=d.L;break;case 30:c=d.K;break;case 31:c=d.J;break;case 32:c=d.pb;break;case 33:c=d.bj;break;case 34:c=d.he;break;case 35:c=d.Ed;break;case 20:c=d.Rb.da;break;case 21:c=d.Sb.da;break;case 56:c=v(d)}}}return c} +function Vo(a,b){b=No(a,b);for(var c=0,d,e;0<=(c=b.indexOf("@",c));)e=So(b,c+1),0<=e&&(b=b.substr(0,c)+To(a,e)+b.substr(c+1+io[e].length)),c++;for(c=0;0<=(c=b.indexOf("#",c));)e=b.substr(c+1,2),d=ca(e,16),null!=d&&32<=d&&128>d?(d=e+" '"+String.fromCharCode(d)+"'",b=b.replace("#"+e,d),c+=d.length):c++;for(c=0;0<=(c=b.indexOf("$",c));)if(e=b.substr(c+1,9),d=Mo(a,e))d=e+' "'+yo(a,d)+'"',b=b.replace("$"+e,d),c+=d.length;for(c=0;0<=(c=b.indexOf("^",c));)if(e=b.substr(c+1,9),d=Mo(a,e))Ho(a,d),d=e+' "'+ +yo(a,d,11)+'"',b=b.replace("^"+e,d),c+=d.length;return b}g=Xn.prototype;g.message=function(a,b){b&&(a+=" at "+Fo(Yn(this,v(this.O),this.O.Ca.da))+" (%"+k(this.O.Ba)+")");if(!this.Pa||a!=this.Pa)if(this.V(a),this.Pa=a,this.O){this.lc&-2147483648&&this.Yb();var c=this.O;c.Z.bf=0;c.jb-=c.A;c.A=0;Qc(c)}}; +function zi(a,b,c,d){var e,f;if(!d&&(d=a.ta(1)&&0>eo.indexOf(b),!d)){var h=co[b];h&&(d=a.ta(h)?!0:524288==h&&a.ta(h=1048576))}d&&(e=a.O.F>>8&255,f=a.O.H&255,33==b&&11==e||524288==h&&128<=f||1048576==h&&128>f)&&(d=!1);d&&((h=(h=vb[b])&&h[e]||"")&&(h=" "+Vo(a,h)),a.message("INT "+ga(b)+": AH="+ga(e)+" at "+xo(c-2-a.O.Ca.Fa,a.O.Ca.da)+h));return d} +function nb(a,b,c,d,e,f,h,m){m|=256;if(null==e||(a.lc&m)==m)m=null,null!=e&&(m=a.O.Ca.da,e-=a.O.Ca.Fa),a.message(b.Vd+"."+(null!=d?"outPort":"inPort")+"("+ia(c)+","+(f?f:"unknown")+(null!=d?","+ga(d):"")+")"+(null!=h?": "+ga(h):"")+(null!=e?" at "+xo(e,m):""))}g.zl=function(){this.V("Type ? for help with PCjs Debugger commands");this.kd();if(this.fb){var a=this.fb;this.fb=null;bo(this,a)}}; +function $n(a,b){var c;if(Ff(a)){if(!a.oa||!a.oa.length){a.oa=Array(1E3);for(c=0;c>>d.Ra],!1)}a.ua=["br"];if(void 0!==a.ja)for(b=1;b>>d.Ra],!0);a.ja=["bw"];a.$a=0} +g.Gd=function(a,b,c){var d=!0;c||Eo(this,a,b,!1,!0);if(a!=this.A){var e=this.cc(b);if(e==n)this.V("invalid address: "+Fo(b)),d=!1;else{var f=this.O;(5!=b.type?f.wa:f.Hc)[e>>>f.Ra].Gd(e&f.Pa,a==this.ja);b.da=null}}d&&(a.push(b),c?(null!=b.Sa&&(b.da=null),b.Kd=!0):(ap(this,a,a.length-1,"set"),$n(this)));return d}; +function Eo(a,b,c,d,e){for(var f=!1,h=bp(a,a.cc(c)),m=1;m>>c.Ra],b==a.ja));q.Kd||$n(a);break}}return f}function cp(a,b){for(var c=1;c=go.length&&(q=a.Xa(b,1),h=po[r-go.length][q>>3&7]);var r=go[h[0]],x=h.length-1,C="";if(164<=f&&167>=f||170<=f&&175>=f)x=0,b.Wb&&"W"==r.slice(-1)&&(r=r.slice(0,-1)+"D");for(var f=null,z=!0,N=1;N<=x;N++){var I,J;I="";J=h[N];if(void 0!==J){null==f&&(f=J>> +14);var W=J&15;if(0!=W)if(15==W)z=!1;else{var O=J&240;if(128<=O)if(0>q&&(q=a.Xa(b,1)),160>O){I=a;var O=x,W=b,Z="",da=q>>6,la=q&7;if(3>da){var za=void 0;if(!da&&(!W.nc&&6==la||W.nc&&5==la))da=2;else{if(W.nc)if(4!=la)la+=8;else{var Z=I,za=da,va=W,xa=Z.Xa(va,1),Fa=xa>>6,wb=xa>>3&7,xa=xa&7,ha="";if(za||5!=xa)ha=jo[xa+8];4!=wb&&(ha&&(ha+="+"),ha+=jo[wb+8],Fa&&(ha+="*"+(1<>24,Z+="-"+k(-za,2)):Z+= +"+"+k(za,2)):2==da&&(Z&&(Z+="+"),W.nc?(za=I.nb(W,4),Z+=k(za)):(za=I.cd(W,2),Z+=k(za,4)));Z="["+Z+"]";if(1==O){I="";J&=15;4==J&&(J=W.Wb?5:3);switch(J){case 7:I="FAR";break;case 1:I="BYTE";break;case 3:I="WORD";break;case 5:I="DWORD"}I&&(Z=I+" "+Z)}}else Z=fp(I,la,J,W);I=Z}else I=160==O?fp(a,q&7,J,b):fp(a,q>>3&7,J,b);else if(16==O)I="1";else if(0==O){I=a;W=J;O=b;J=" ";switch(W&15){case 1:W&12288&&(J=k(I.Xa(O,1),2));break;case 2:J=k(I.Xa(O,1)<<24>>24,O.Wb?8:4);break;case 4:case 8:if(O.Wb){J=k(I.nb(O, +4));break}case 3:J=k(I.cd(O,2),4);break;case 7:O=Yn(I,I.pc(O,!0),I.cd(O,2),null,O.type,O.Wb,O.nc);J=Fo(O);I=gp(I,O);I[0]&&(J+=" ("+I[0]+")");break;default:J="imm("+ia(W)+")"}I=J}else 32==O?(b.nc?(I=8,J=a.nb(b,4)):(I=4,J=a.cd(b,2)),I="["+k(J,I)+"]"):48==O?(I=1==W?a.Xa(b,1)<<24>>24:a.pc(b,!0),J=b.Ua+I&(b.Wb?-1:65535),I=k(J,b.Wb?8:4),J=gp(a,Yn(a,J,b.da)),J[0]&&(I+=" ("+J[0]+")")):96==O?I=fp(a,(J&3840)>>8,J,b):112==O?I=fp(a,(J&3840)>>8,192,b):64==O?I="DS:[SI]":80==O&&(I="ES:[DI]");if(!I||!I.length){C= +"INVALID";break}0a.O.sa)return"??";b+=16}else if(208==e)b+=32;else if(224==e)b+=40;else if(240==e)b+=48;else if(a=c&15,3<=a&&(8>b&&(b+=8),5==a||4==a&&d.Wb))b+=16;return io[b]} +function ip(a,b){var c;switch(b){case "V":c=hf(a.O);break;case "D":c=a.O.ca&1024;break;case "I":c=a.O.ca&512;break;case "T":c=a.O.ca&256;break;case "S":c=gf(a.O);break;case "Z":c=ff(a.O);break;case "A":c=ef(a.O);break;case "P":c=df(a.O);break;case "C":c=cf(a.O);break;default:c=0}return b+(c?"1":"0")+" "}function uo(a){return k(a,a&-65536?8:4)}function jp(a,b){8<=b&&15>=b&&4a.O.sa&&(d="\n"+d,c+=e,e="");c+="\n"+kp(a,a.O.Ca,b)+" ";80386<=a.O.sa&&(e+="\n",c+=kp(a,a.O.Rb,b)+" "+kp(a,a.O.Sb,b)+"\n");c+=lp(a,"LD",a.O.Fc.da,a.O.Fc.Fa,a.O.Fc.Fa+a.O.Fc.Wa)+" "+lp(a,"GD",null,a.O.ed,a.O.Wd)+" "+lp(a, +"ID",null,a.O.fd,a.O.Xd)+" ";c=c+(d+" "+e)+jp(a,32);80386<=a.O.sa&&(c+=jp(a,34)+jp(a,35))}else 80386<=a.O.sa&&(c+=kp(a,a.O.Rb,b)+" "+kp(a,a.O.Sb,b)+" ");return c+=jp(a,23)+ip(a,"V")+ip(a,"D")+ip(a,"I")+ip(a,"T")+ip(a,"S")+ip(a,"Z")+ip(a,"A")+ip(a,"P")+ip(a,"C")}var np={"||":0,"&&":1,"|":2,"^":3,"&":4,"!=":5,"==":5,">=":6,">":6,"<=":6,"<":6,">>>":7,">>":7,"<<":7,"-":8,"+":8,"%":9,"/":9,"*":9}; +function op(a,b,c){for(c=c||-1;c--&&b.length;){var d=b.pop();if(2>a.length)return!1;var e=a.pop(),f=a.pop();switch(d){case "*":d=f*e;break;case "/":if(!e)return!1;d=f/e;break;case "%":if(!e)return!1;d=f%e;break;case "+":d=f+e;break;case "-":d=f-e;break;case "<<":d=f<>":d=f>>e;break;case ">>>":d=f>>>e;break;case "<":d=f":d=f>e?1:0;break;case ">=":d=f>=e?1:0;break;case "==":d=f==e?1:0;break;case "!=":d=f!=e?1:0;break;case "&":d=f&e;break; case "^":d=f^e;break;case "|":d=f|e;break;case "&&":d=f&&e?1:0;break;case "||":d=f||e?1:0;break;default:return!1}a.push(d|0)}return!0} -function No(a,b,c){var d;if(b){b=Mo(a,b);for(var e=0,f=!1,h=b,k=[],q=[],r=b.split(/(\|\||&&|\||^|&|!=|==|>=|>>>|>>|>|<=|<<|<|-|\+|%|\/|\*)/);eb[0]?1:a[0]>>0,x],J=qa(N,z,a.kb);0>J&&N.splice(-(J+1),0,z)}I&&(C.a=I.replace(/''/g,'"'))}a.B.push({Rf:b,Pl:c,da:d,Ua:e,Sa:f,Hl:h,Fd:k,gj:r})} -function Bo(a,b,c){for(var d=0;d>>0,f=a.bc(b)>>>0,h=0;h>>0,x=k.Sa;null!=x&&(x>>>=0);var C=k.Hl;48==q&&(q=40);if(q==b.da&&e>=r&&e=x&&fc?(a.V("out of data at address "+Do(b)),x=!0):(a.tc(b,c,1),r++)})})(a,h);a.V(r+" bytes read at "+ +function Oo(a,b,c){var d;if(b){b=No(a,b);for(var e=0,f=!1,h=b,m=[],q=[],r=b.split(/(\|\||&&|\||^|&|!=|==|>=|>>>|>>|>|<=|<<|<|-|\+|%|\/|\*)/);eb[0]?1:a[0]>>0,x],J=ra(N,z,a.kb);0>J&&N.splice(-(J+1),0,z)}I&&(C.a=I.replace(/''/g,'"'))}a.B.push({Rf:b,Ol:c,da:d,Ua:e,Sa:f,Gl:h,Fd:m,gj:r})} +function Do(a,b,c){for(var d=0;d>>0,f=a.cc(b)>>>0,h=0;h>>0,x=m.Sa;null!=x&&(x>>>=0);var C=m.Gl;48==q&&(q=40);if(q==b.da&&e>=r&&e=x&&fc?(a.V("out of data at address "+Fo(b)),x=!0):(a.tc(b,c,1),r++)})})(a,h);a.V(r+" bytes read at "+ c)}else a.V("sector "+e+" request out of range");else a.V("drive "+d+" not loaded");else a.V("invalid drive: "+d)}else a.V("disk controller not present")}}else a.V("list/load commands:"),a.V("\tl [address] [drive #] [sector #] [# sectors]")} -function Vo(a,b){var c;if(b&&"?"==b[1])a.V("register commands:"),a.V("\tr\tdump registers"),a.V("\trp\tdump all registers"),a.V("\trx [#]\tset flag or register x to [#]");else{var d;null==c&&(c=!0);if(null!=b&&1=a.Na&&(q=null);switch(q){case "AL":a.O.F= -a.O.F&-256|k&255;break;case "AH":a.O.F=a.O.F&-65281|k<<8&255;break;case "AX":a.O.F=a.O.F&-65536|k&65535;break;case "BL":a.O.D=a.O.D&-256|k&255;break;case "BH":a.O.D=a.O.D&-65281|k<<8&255;break;case "BX":a.O.D=a.O.D&-65536|k&65535;break;case "CL":a.O.G=a.O.G&-256|k&255;break;case "CH":a.O.G=a.O.G&-65281|k<<8&255;break;case "CX":a.O.G=a.O.G&-65536|k&65535;break;case "DL":a.O.H=a.O.H&-256|k&255;break;case "DH":a.O.H=a.O.H&-65281|k<<8&255;break;case "DX":a.O.H=a.O.H&-65536|k&65535;break;case "SP":t(a.O, -u(a.O)&-65536|k&65535);break;case "BP":a.O.L=a.O.L&-65536|k&65535;break;case "SI":a.O.K=a.O.K&-65536|k&65535;break;case "DI":a.O.J=a.O.J&-65536|k&65535;break;case "DS":vd(a.O,k);break;case "ES":wd(a.O,k);break;case "SS":pd(a.O,k);break;case "CS":Ze(a.O,k);a.ea=Wn(a,v(a.O),a.O.Ca.da);break;case "IP":case "EIP":E(a.O,k);a.ea=Wn(a,v(a.O),a.O.Ca.da);break;case "PC":case "PS":Bd(a.O,k);break;case "C":k?jf(a.O):kf(a.O);break;case "P":k?(e=a.O,e.resultType&=-3,e.ca|=4):(e=a.O,e.resultType&=-3,e.ca&=-5); -break;case "A":k?rf(a.O):pf(a.O);break;case "Z":k?sf(a.O):qf(a.O);break;case "S":k?(e=a.O,e.resultType&=-17,e.ca|=128):(e=a.O,e.resultType&=-17,e.ca&=-129);break;case "I":k?(e=a.O,e.ca|=512):(e=a.O,e.ca&=-513);break;case "D":k?(e=a.O,e.ca|=1024):(e=a.O,e.ca&=-1025);break;case "V":k?lf(a.O):mf(a.O);break;default:var r=!0;if(80286<=a.O.sa)switch(r=!1,q){case "MS":tf(a.O,k);break;case "TR":a.O.Ya.load(k)===n&&(h=!1);break;default:if(r=!0,80386<=a.O.sa)switch(r=!1,q){case "EAX":a.O.F=k;break;case "EBX":a.O.D= -k;break;case "ECX":a.O.G=k;break;case "EDX":a.O.H=k;break;case "ESP":t(a.O,k);break;case "EBP":a.O.L=k;break;case "ESI":a.O.K=k;break;case "EDI":a.O.J=k;break;case "FS":a.O.Rb.load(k);break;case "GS":a.O.Sb.load(k);break;case "CR0":a.O.ob=k;vg.call(a.O,k);break;case "CR2":a.O.he=k;break;case "CR3":a.O.Ed=k;Dd.call(a.O,k);break;default:r=!0}}if(r){a.V("unknown register: "+e);return}}}if(!h){a.V("invalid value: "+f);return}Pc(a.O);a.V("updated registers:")}}a.V(jp(a,d));c&&(a.ea=Wn(a,v(a.O),a.O.Ca.da), -Wo(a,Do(a.ea)))}}function up(a,b){b=pa(b);var c=b.match(/^(['"])(.*?)\1$/);c?a.V(To(a,c[2])):No(a,b,!0)}function vp(a,b,c){for(var d=null,e=b.Ua,f=e,h=1;6>=h&&e;h++){if(2q[0].indexOf("+"))){var r=q[0]+":";q[2]&&(r+=" "+q[2]);a.V(r)}q[3]&&(k=q[3],h=null);h=bp(a,b,k,h);b.Jd||d||d++;a.V(h);a.ea=b;e-=b.Sa-f;c++}}} -function Eo(a,b,c,d){if(c)if(b){0>a.S&&a.X.length&&(a.S=0);if(0>a.S||b!=a.X[a.S])a.X.splice(0,0,b),a.S=0;a.S--}else b=a.X[a.S+1];a=[];if(b){b=b.replace(/""/g,"'");c=0;var e=null;d=d||";";for(var f=0;f<=b.length;f++){var h=b.charAt(f);if('"'==h||"'"==h)e?h==e&&(e=null):e=h;else if(h==d&&!e||!h)a.push(pa(b.substring(c,f))),c=f+1}}return a} -function $n(a,b,c){var d=!0;try{if(!b.length||"end"==b)a.Ha&&(a.V("ended assemble at "+Do(a.Aa)),a.ea=a.Aa,a.Ha=!1),b="";else if(!c){var e=">> ";a.O.ob&1&&(e=a.O.ca&131072?"-- ":"## ");a.V(e+b)}var f=b.charAt(0);if('"'==f||"'"==f)return!0;a.Pa=null;if(qb(a)&&0x||"z">>20,El=a.O.Ed+Dl,Fl=Gd.va[(El&Gd.Pb)>>>Gd.Ra].Qd(Dl),Gl=(re&4190208)>>>10,Hl=(Fl&-4096)+Gl,Il=Gd.va[(Hl& -Gd.Pb)>>>Gd.Ra].Qd(Gl),Qp=(Il&-4096)+(re&4095);a.V("linear PDE addr PDE PTE addr PTE physical");a.V("--------- ---------- -------- ---------- -------- ----------");var Zc="%"+l(re),Zc=Zc+(" %%"+Po(El,Fl)),Zc=Zc+(" %%"+Po(Hl,Il,!0)),Zc=Zc+(" %%"+l(Qp));a.V(Zc)}}else a.V("missing address")}else{if("d"==va){if("disk"==xa){la[0]="l";la[1]="json";tp(a,la);break a}for(za in io)if(la[1]==za){var Jl=a.Va[za];Jl?(la.shift(),la.shift(),Jl(la)):a.V("no dump registered for "+ -xa);break a}xa||(va=a.Yb||"db")}else a.Yb=va;if("dh"==va){var Kl=xa,Ll=Fa,Ml="",Nl=0,db=a.Ja,Xb=a.pa;if(Xb.length){var ob=+Kl||a.wb,Hd=+Ll||10;isNaN(ob)?ob=Hd:Ml="more ";ob>Xb.length&&(a.V("note: only "+Xb.length+" available"),ob=Xb.length);db-=ob;0>db&&(null==Xb[Xb.length-1].da?(ob=db+ob,db=0):db+=Xb.length);var wh=[];"call"==Ll&&(Hd=1E5,wh=["CALL"]);for(void 0!==Kl&&a.V(ob+" instructions earlier:");0=Xb.length&&(db=0);a.wb=ob;Nl++;Hd--}}Nl||(a.V("no "+Ml+"history available"),a.wb=void 0)}else if("di"==va)la.shift(),a.V("no information");else{var Id=Lo(a,xa);if(Id&&(null!=Id.da||null!=Id.Sa)){var Kf=0;Fa&&("l"==Fa.charAt(0)&&(Fa=Fa.substr(1)||vb),Kf=po(a,Fa)>>>0,65536>4||1,xh="dd"==va?4:"dw"==va?2:1,Pl=0;PlAh;Ah++){var Mf=a.Xa(Id,1),Lf=Lf|Mf<<(yh++<<3);yh==xh&&(se+=l(Lf,2*xh),se+=1==xh?7==Ah?"-":" ":" ",Lf=yh=0);zh+=32<=Mf&&128>Mf?String.fromCharCode(Mf):"."}$c&&($c+="\n");$c+=xa+" "+se+" "+zh}$c&&a.V($c);a.pb=Id}}}}}break;case "e":if("else"==h[0])break;var Nf=1,Ql=255,Rl=a.Xa,Sl=a.tc;"ew"==h[0]&&(Nf=2,Ql=65535,Rl=a.bd,Sl=a.Ib);var Tl=Nf<<1,Ul=h[1];if(null==Ul)a.V("edit memory commands:"),a.V("\teb [a] [...] edit bytes at address a"),a.V("\tew [a] [...] edit words at address a"); -else{var Of=Lo(a,Ul);if(Of)for(var Pf=2;PfGh;){for(var Ac=null,Wp=256;zc.Ua>>>0>>0;){Jd.Ua=a.pc(zc,!0);if(null==zc.Sa||!Wp--)break;Jd.da=Wl;if(Ac=vp(a,Jd))break;Jd.da=a.pc(zc);if(Ac=vp(a,Jd,!0)){Wl=a.pc(zc,!0);0Ep){if(d.load(this.P)){this.B=new We(this,Gp,"failsafe");this.B.load()&&(Jp(this,d),a=2,zp(this.B));Xe(this.B,"timestamp",sa());Ap(this.B);var e=this.Gc&&!this.R;if(1==a||Da("Click OK to restore the previous PCjs machine state, or CANCEL to reset the machine.")){if(c=Bp(d)){var f=Cp(d,"code"),h=Cp(d,"data");f&&("ok"==f?d.load(h):("error"==f&&"no machine state"!=h?(this.Ta("Error: "+ -h),"unable to verify user"==h&&(Ia("user",""),this.A=null)):this.V(f+": "+h),zp(d),d.load()?(c=Bp(d),e=!0):c=!1))}e&&Ip(this,c?d:null)}else 2==a&&d.clear()}else Ip(this);delete this.P;delete this.X}e=fb(this.id);for(f=0;fa[1];a=a[2];this.oa.oc=!0;this.Wj||(this.V("PCjs v"+Gp+"\nCopyright \u00a9 2012-2015 Jeff Parsons \nLicense: GPL version 3 or later "),this.Wj=!0);this.O&&(Kp(this,this.O,b,c,a),Qc(this.O));this.Y&&(Jp(this,b),b.clear());!c&&this.B&&(this.B.clear(),delete this.B)}; -function Jp(a,b){if(Da("There may be a problem with your PCjs machine.\n\nTo help us diagnose it, click OK to send this PCjs machine state to http://www.pcjs.org.")){var c=a.aa,d=a.be(),e=b.toString(),f={app:"PCjs"};f.ver=Gp;f.url=c;f.user=d;f.type="bug";f.data=e;Aa("http://www.pcjs.org/api/v1/report",!0,f)}} -function xp(a,b,c){var d,e="none",f=new We(a,Gp),h=new We(a,Gp,"validate"),k=sa();Xe(h,"timestamp",k);Xe(f,"timestamp",k);Xe(f,"version","1.19.8");Xe(f,"url",window?window.location.href:null);Xe(f,"browser",window?window.navigator.userAgent:"");a.O&&a.O.qc&&(c&&a.O.Xb(),d=a.O.qc(b,c),"object"===typeof d&&Xe(f,a.O.id,d),c&&(a.O.oa.oc=!1,!1===d&&(e=null)));for(var k=fb(a.id),q=0;qk.indexOf("/")&&(k=window.location.pathname+k);a=a.replace(/(]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" state=$2"+d+"$2":"")+(k?" url=$2"+k+"$2":""))}k=null;if("<"==a.charAt(0))try{e||(a=a.replace(/\s*/g,"")),window.ActiveXObject||"ActiveXObject"in window?(k=new window.ActiveXObject("Microsoft.XMLDOM"),k.async=!1,k.loadXML(a)):k=(new window.DOMParser).parseFromString(a,"text/xml")}catch(C){k= -null,a=C.message}else a="unrecognized XML: "+(255/g.exec(a)){var e=d[2];b("Loading "+e+"...");Aa(e,!0,null,null,function(f,h,k){if(k||!h)c(a,"unable to resolve XML reference: "+d[0]+" ("+k+")");else{if(f=d[3])if(k=h.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var q=k[0],r,x=/( [a-z]+=)(['"])(.*?)\2/g;r=x.exec(f);)q=0>q.indexOf(r[1])?q.replace(">",r[0]+">"):q.replace(new RegExp(r[1]+"(['\"])(.*?)\\1"),r[0]);k[0]!=q&&(h=h.replace(k[0],q))}else{c(a,"missing <"+d[1]+"> in "+e);return}h=h.replace(/<\?xml[^>]*>[\r\n]*/, -"");a=a.replace(d[0],h);$p(a,b,c)}})}else c(a,null)} -function aq(a,b,c,d){function e(a){if(void 0===k){var b=h&&kb(h,"machine-warning");k=b&&b[0]||h}k&&(k.innerHTML=na(a))}function f(a){e("Error: "+a);q&&(--Np||Ta(!0));q=!1}var h,k,q=!0;Np++;try{if(h=window.document.getElementById(a)){c||(c="/versions/pcjs/1.19.8/components.xsl");var r=function(d,k){if(k){var q=function(d,q){if(q)if(q)if(e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var r=k.transformNode(q);r?(h.outerHTML=r,--Np||Ta(!0)):f("transformNodeToObject failed")}else window.document.implementation&& -window.document.implementation.createDocument?(r=new XSLTProcessor,r.importStylesheet(q),(r=r.transformToFragment(k,window.document))?h.parentNode?(h.parentNode.replaceChild(r,h),--Np||Ta(!0)):f("invalid machine element: "+a):f("transformToFragment failed")):f("unable to transform XML: unsupported browser");else f("failed to load XSL file: "+c);else f(d)};k?Op(c,null,null,!1,e,q):f("failed to load XML file: "+b)}else f(d)};"<"!=b.charAt(0)?Op(b,a,d,!0,e,r):Pp(b,null,a,d,!1,e,r)}else f("missing machine element: "+ -a)}catch(x){f(x.message)}return q}window.embedPC=function(a,b,c,d){Ta(!1);return aq(a,b,c,d)};window.enableEvents=Ta;window.sendEvent=Ua;})(); +function Xo(a,b){var c;if(b&&"?"==b[1])a.V("register commands:"),a.V("\tr\tdump registers"),a.V("\trp\tdump all registers"),a.V("\trx [#]\tset flag or register x to [#]");else{var d;null==c&&(c=!0);if(null!=b&&1=a.Na&&(q=null);switch(q){case "AL":a.O.F= +a.O.F&-256|m&255;break;case "AH":a.O.F=a.O.F&-65281|m<<8&255;break;case "AX":a.O.F=a.O.F&-65536|m&65535;break;case "BL":a.O.D=a.O.D&-256|m&255;break;case "BH":a.O.D=a.O.D&-65281|m<<8&255;break;case "BX":a.O.D=a.O.D&-65536|m&65535;break;case "CL":a.O.G=a.O.G&-256|m&255;break;case "CH":a.O.G=a.O.G&-65281|m<<8&255;break;case "CX":a.O.G=a.O.G&-65536|m&65535;break;case "DL":a.O.H=a.O.H&-256|m&255;break;case "DH":a.O.H=a.O.H&-65281|m<<8&255;break;case "DX":a.O.H=a.O.H&-65536|m&65535;break;case "SP":t(a.O, +u(a.O)&-65536|m&65535);break;case "BP":a.O.L=a.O.L&-65536|m&65535;break;case "SI":a.O.K=a.O.K&-65536|m&65535;break;case "DI":a.O.J=a.O.J&-65536|m&65535;break;case "DS":wd(a.O,m);break;case "ES":Ad(a.O,m);break;case "SS":qd(a.O,m);break;case "CS":$e(a.O,m);a.ea=Yn(a,v(a.O),a.O.Ca.da);break;case "IP":case "EIP":E(a.O,m);a.ea=Yn(a,v(a.O),a.O.Ca.da);break;case "PC":case "PS":Cd(a.O,m);break;case "C":m?kf(a.O):lf(a.O);break;case "P":m?(e=a.O,e.resultType&=-3,e.ca|=4):(e=a.O,e.resultType&=-3,e.ca&=-5); +break;case "A":m?sf(a.O):qf(a.O);break;case "Z":m?tf(a.O):rf(a.O);break;case "S":m?(e=a.O,e.resultType&=-17,e.ca|=128):(e=a.O,e.resultType&=-17,e.ca&=-129);break;case "I":m?(e=a.O,e.ca|=512):(e=a.O,e.ca&=-513);break;case "D":m?(e=a.O,e.ca|=1024):(e=a.O,e.ca&=-1025);break;case "V":m?mf(a.O):nf(a.O);break;default:var r=!0;if(80286<=a.O.sa)switch(r=!1,q){case "MS":uf(a.O,m);break;case "TR":a.O.Ya.load(m)===n&&(h=!1);break;default:if(r=!0,80386<=a.O.sa)switch(r=!1,q){case "EAX":a.O.F=m;break;case "EBX":a.O.D= +m;break;case "ECX":a.O.G=m;break;case "EDX":a.O.H=m;break;case "ESP":t(a.O,m);break;case "EBP":a.O.L=m;break;case "ESI":a.O.K=m;break;case "EDI":a.O.J=m;break;case "FS":a.O.Rb.load(m);break;case "GS":a.O.Sb.load(m);break;case "CR0":a.O.pb=m;yg.call(a.O,m);break;case "CR2":a.O.he=m;break;case "CR3":a.O.Ed=m;Jd.call(a.O,m);break;default:r=!0}}if(r){a.V("unknown register: "+e);return}}}if(!h){a.V("invalid value: "+f);return}Qc(a.O);a.V("updated registers:")}}a.V(mp(a,d));c&&(a.ea=Yn(a,v(a.O),a.O.Ca.da), +Yo(a,Fo(a.ea)))}}function xp(a,b){b=qa(b);var c=b.match(/^(['"])(.*?)\1$/);c?a.V(Vo(a,c[2])):Oo(a,b,!0)}function yp(a,b,c){for(var d=null,e=b.Ua,f=e,h=1;6>=h&&e;h++){if(2q[0].indexOf("+"))){var r=q[0]+":";q[2]&&(r+=" "+q[2]);a.V(r)}q[3]&&(m=q[3],h=null);h=ep(a,b,m,h);b.Jd||d||d++;a.V(h);a.ea=b;e-=b.Sa-f;c++}}} +function Qo(a,b,c,d){if(c)if(b){0>a.S&&a.X.length&&(a.S=0);if(0>a.S||b!=a.X[a.S])a.X.splice(0,0,b),a.S=0;a.S--}else b=a.X[a.S+1];a=[];if(b){b=b.replace(/""/g,"'");c=0;var e=null;d=d||";";for(var f=0;f<=b.length;f++){var h=b.charAt(f);if('"'==h||"'"==h)e?h==e&&(e=null):e=h;else if(h==d&&!e||!h)a.push(qa(b.substring(c,f))),c=f+1}}return a} +function dp(a,b,c){var d=!0;try{if(!b.length||"end"==b)a.Ha&&(a.V("ended assemble at "+Fo(a.xa)),a.ea=a.xa,a.Ha=!1),b="";else if(!c){var e=">> ";a.O.pb&1&&(e=a.O.ca&131072?"-- ":"## ");a.V(e+b)}var f=b.charAt(0);if('"'==f||"'"==f)return!0;a.Pa=null;if(sb(a)&&0x||"z">>20,Hl=a.O.Ed+Gl,Il=Ed.wa[(Hl&Ed.Pb)>>>Ed.Ra].Qd(Gl),Jl=(re&4190208)>>>10,Kl=(Il&-4096)+Jl,Ll=Ed.wa[(Kl& +Ed.Pb)>>>Ed.Ra].Qd(Jl),Tp=(Ll&-4096)+(re&4095);a.V("linear PDE addr PDE PTE addr PTE physical");a.V("--------- ---------- -------- ---------- -------- ----------");var Zc="%"+k(re),Zc=Zc+(" %%"+Ro(Hl,Il)),Zc=Zc+(" %%"+Ro(Kl,Ll,!0)),Zc=Zc+(" %%"+k(Tp));a.V(Zc)}}else a.V("missing address")}else{if("d"==va){if("disk"==xa){la[0]="l";la[1]="json";wp(a,la);break a}for(za in ko)if(la[1]==za){var Ml=a.Va[za];Ml?(la.shift(),la.shift(),Ml(la)):a.V("no dump registered for "+ +xa);break a}xa||(va=a.Zb||"db")}else a.Zb=va;if("dh"==va){var Nl=xa,Ol=Fa,Pl="",Ql=0,eb=a.Ja,Xb=a.oa;if(Xb.length){var pb=+Nl||a.wb,Fd=+Ol||10;isNaN(pb)?pb=Fd:Pl="more ";pb>Xb.length&&(a.V("note: only "+Xb.length+" available"),pb=Xb.length);eb-=pb;0>eb&&(null==Xb[Xb.length-1].da?(pb=eb+pb,eb=0):eb+=Xb.length);var vh=[];"call"==Ol&&(Fd=1E5,vh=["CALL"]);for(void 0!==Nl&&a.V(pb+" instructions earlier:");0=Xb.length&&(eb=0);a.wb=pb;Ql++;Fd--}}Ql||(a.V("no "+Pl+"history available"),a.wb=void 0)}else if("di"==va)la.shift(),a.V("no information");else{var Gd=Mo(a,xa);if(Gd&&(null!=Gd.da||null!=Gd.Sa)){var Jf=0;Fa&&("l"==Fa.charAt(0)&&(Fa=Fa.substr(1)||wb),Jf=ro(a,Fa)>>>0,65536>4||1,wh="dd"==va?4:"dw"==va?2:1,Sl=0;Slzh;zh++){var Lf=a.Xa(Gd,1),Kf=Kf|Lf<<(xh++<<3);xh==wh&&(se+=k(Kf,2*wh),se+=1==wh?7==zh?"-":" ":" ",Kf=xh=0);yh+=32<=Lf&&128>Lf?String.fromCharCode(Lf):"."}$c&&($c+="\n");$c+=xa+" "+se+" "+yh}$c&&a.V($c);a.lb=Gd}}}}}break;case "e":if("else"==h[0])break;var Mf=1,Tl=255,Ul=a.Xa,Vl=a.tc;"ew"==h[0]&&(Mf=2,Tl=65535,Ul=a.cd,Vl=a.Ib);var Wl=Mf<<1,Xl=h[1];if(null==Xl)a.V("edit memory commands:"),a.V("\teb [a] [...] edit bytes at address a"),a.V("\tew [a] [...] edit words at address a"); +else{var Nf=Mo(a,Xl);if(Nf)for(var Of=2;OfFh;){for(var Ac=null,Zp=256;zc.Ua>>>0>>0;){Hd.Ua=a.pc(zc,!0);if(null==zc.Sa||!Zp--)break;Hd.da=Zl;if(Ac=yp(a,Hd))break;Hd.da=a.pc(zc);if(Ac=yp(a,Hd,!0)){Zl=a.pc(zc,!0);0Hp){if(d.load(this.P)){this.B=new Xe(this,Jp,"failsafe");this.B.load()&&(Mp(this,d),a=2,Cp(this.B));Ye(this.B,"timestamp",ta());Dp(this.B);var e=this.Gc&&!this.R;if(1==a||Ea("Click OK to restore the previous PCjs machine state, or CANCEL to reset the machine.")){if(c=Ep(d)){var f=Fp(d,"code"),h=Fp(d,"data");f&&("ok"==f?d.load(h):("error"==f&&"no machine state"!=h?(this.Ta("Error: "+ +h),"unable to verify user"==h&&(Ja("user",""),this.A=null)):this.V(f+": "+h),Cp(d),d.load()?(c=Ep(d),e=!0):c=!1))}e&&Lp(this,c?d:null)}else 2==a&&d.clear()}else Lp(this);delete this.P;delete this.X}e=hb(this.id);for(f=0;fa[1];a=a[2];this.pa.oc=!0;this.Wj||(this.V("PCjs v"+Jp+"\nCopyright \u00a9 2012-2015 Jeff Parsons \nLicense: GPL version 3 or later "),this.Wj=!0);this.O&&(Np(this,this.O,b,c,a),Tc(this.O));this.Y&&(Mp(this,b),b.clear());!c&&this.B&&(this.B.clear(),delete this.B)}; +function Mp(a,b){if(Ea("There may be a problem with your PCjs machine.\n\nTo help us diagnose it, click OK to send this PCjs machine state to http://www.pcjs.org.")){var c=a.aa,d=a.be(),e=b.toString(),f={app:"PCjs"};f.ver=Jp;f.url=c;f.user=d;f.type="bug";f.data=e;Ba("http://www.pcjs.org/api/v1/report",!0,f)}} +function Ap(a,b,c){var d,e="none",f=new Xe(a,Jp),h=new Xe(a,Jp,"validate"),m=ta();Ye(h,"timestamp",m);Ye(f,"timestamp",m);Ye(f,"version","1.19.8");Ye(f,"url",window?window.location.href:null);Ye(f,"browser",window?window.navigator.userAgent:"");a.O&&a.O.qc&&(c&&a.O.Yb(),d=a.O.qc(b,c),"object"===typeof d&&Ye(f,a.O.id,d),c&&(a.O.pa.oc=!1,!1===d&&(e=null)));for(var m=hb(a.id),q=0;qm.indexOf("/")&&(m=window.location.pathname+m);a=a.replace(/(]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" state=$2"+d+"$2":"")+(m?" url=$2"+m+"$2":""))}m=null;if("<"==a.charAt(0))try{e||(a=a.replace(/\s*/g,"")),window.ActiveXObject||"ActiveXObject"in window?(m=new window.ActiveXObject("Microsoft.XMLDOM"),m.async=!1,m.loadXML(a)):m=(new window.DOMParser).parseFromString(a,"text/xml")}catch(C){m= +null,a=C.message}else a="unrecognized XML: "+(255/g.exec(a)){var e=d[2];b("Loading "+e+"...");Ba(e,!0,null,null,function(f,h,m){if(m||!h)c(a,"unable to resolve XML reference: "+d[0]+" ("+m+")");else{if(f=d[3])if(m=h.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var q=m[0],r,x=/( [a-z]+=)(['"])(.*?)\2/g;r=x.exec(f);)q=0>q.indexOf(r[1])?q.replace(">",r[0]+">"):q.replace(new RegExp(r[1]+"(['\"])(.*?)\\1"),r[0]);m[0]!=q&&(h=h.replace(m[0],q))}else{c(a,"missing <"+d[1]+"> in "+e);return}h=h.replace(/<\?xml[^>]*>[\r\n]*/, +"");a=a.replace(d[0],h);cq(a,b,c)}})}else c(a,null)} +function dq(a,b,c,d){function e(a){if(void 0===m){var b=h&&mb(h,"machine-warning");m=b&&b[0]||h}m&&(m.innerHTML=oa(a))}function f(a){e("Error: "+a);q&&(--Qp||Ua(!0));q=!1}var h,m,q=!0;Qp++;try{if(h=window.document.getElementById(a)){c||(c="/versions/pcjs/1.19.8/components.xsl");var r=function(d,m){if(m){var q=function(d,q){if(q)if(q)if(e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var r=m.transformNode(q);r?(h.outerHTML=r,--Qp||Ua(!0)):f("transformNodeToObject failed")}else window.document.implementation&& +window.document.implementation.createDocument?(r=new XSLTProcessor,r.importStylesheet(q),(r=r.transformToFragment(m,window.document))?h.parentNode?(h.parentNode.replaceChild(r,h),--Qp||Ua(!0)):f("invalid machine element: "+a):f("transformToFragment failed")):f("unable to transform XML: unsupported browser");else f("failed to load XSL file: "+c);else f(d)};m?Rp(c,null,null,!1,e,q):f("failed to load XML file: "+b)}else f(d)};"<"!=b.charAt(0)?Rp(b,a,d,!0,e,r):Sp(b,null,a,d,!1,e,r)}else f("missing machine element: "+ +a)}catch(x){f(x.message)}return q}window.embedPC=function(a,b,c,d){Ua(!1);return dq(a,b,c,d)};window.enableEvents=Ua;window.sendEvent=Va;})(); diff --git a/docs/pcjs/demos/pc.js b/docs/pcjs/demos/pc.js index d1c2fa147c..7fc6ad9473 100644 --- a/docs/pcjs/demos/pc.js +++ b/docs/pcjs/demos/pc.js @@ -8,226 +8,227 @@ a,b);w.setRequestHeader("Content-type","application/x-www-form-urlencoded");w.se function xa(){if(null==ua){var a=!1;if(window)try{window.localStorage.setItem("PCjs.localStorage","PCjs.localStorage"),a="PCjs.localStorage"==window.localStorage.getItem("PCjs.localStorage"),window.localStorage.removeItem("PCjs.localStorage")}catch(b){a=!1}ua=a}return ua}function ya(a){var b;if(window)try{b=window.localStorage.getItem(a)}catch(c){}return b}function za(a,b){try{return window.localStorage.setItem(a,b),!0}catch(c){}return!1} function Aa(a){if(window){var b=window?window.navigator.userAgent:"";return"iOS"==a&&b.match(/(iPod|iPhone|iPad)/)&&b.match(/AppleWebKit/)||"MSIE"==a&&b.match(/(MSIE|Trident)/)||0<=b.indexOf(a)?!0:!1}return!1}var Ba={init:[],show:[],exit:[]},Ca=!1,Da=!0;function Ea(a,b){if(window){var c=window[a];window[a]="function"!==typeof c?b:function(){c&&c();b()}}}function Fa(a){Ba.init.push(a)} function Ga(a){if(Da)try{for(var b=0;b=this.x&&a=this.y&&b=c>>2);d?(b=new eb(a.x,a.y,a.sc,a.A*b/c|0),a.y+=b.A,a.A-=b.A):(b=new eb(a.x,a.y,a.sc*b/c|0,a.A),a.x+=b.sc,a.sc-=b.sc);return b}f=cb.prototype; -f.Ib=function(a,b,c){return this.xa&&this.xa.Ib(a,b,c)||this.A&&this.A.Ib(a,b,c)||this.D&&this.D.Ib(a,b,c)?!0:this.parent.Ib.call(this,a,b,c)};f.uc=function(a,b,c,d){this.xa=a;this.ma=b;this.A=c;this.Oa=d;this.D=gb(a,"Keyboard")};f.cc=function(a,b){b||hb();return!0};f.bc=function(){return!0};f.qf=function(a,b){a.button||(this.U=b?0:-1,ib(this,a,b))};f.Pg=function(a){ib(this,a)}; -function ib(a,b,c){var d=1280/null.offsetWidth,e=720/null.offsetHeight,k=null.getBoundingClientRect(),d=(b.clientX-k.left)*d|0;b=(b.clientY-k.top)*e|0;null==c&&(a.U||(a.U=Math.abs(a.K-d)>Math.abs(a.L-b)?1:2),1==a.U?b=a.L:2==a.U&&(d=a.K));a.K=d;a.L=b;if(0<=d&&1280>d&&0<=b&&720>b){a:{c=d;if(960>c&&a.B&&a.B.Pd)for(k=0;kd&& +f.Ib=function(a,b,c){return this.xa&&this.xa.Ib(a,b,c)||this.A&&this.A.Ib(a,b,c)||this.D&&this.D.Ib(a,b,c)?!0:this.parent.Ib.call(this,a,b,c)};f.uc=function(a,b,c,d){this.xa=a;this.ma=b;this.A=c;this.Pa=d;this.D=gb(a,"Keyboard")};f.dc=function(a,b){b||hb();return!0};f.cc=function(){return!0};f.rf=function(a,b){a.button||(this.U=b?0:-1,ib(this,a,b))};f.Pg=function(a){ib(this,a)}; +function ib(a,b,c){var d=1280/null.offsetWidth,e=720/null.offsetHeight,k=null.getBoundingClientRect(),d=(b.clientX-k.left)*d|0;b=(b.clientY-k.top)*e|0;null==c&&(a.U||(a.U=Math.abs(a.K-d)>Math.abs(a.L-b)?1:2),1==a.U?b=a.L:2==a.U&&(d=a.K));a.K=d;a.L=b;if(0<=d&&1280>d&&0<=b&&720>b){a:{c=d;if(960>c&&a.B&&a.B.Qd)for(k=0;kd&& (k=d);c=k;break a}c=g}if(c!==g&&(c&=-16,c!=a.na)){b=c;if(a.context&&a.V&&a.ga){e=a.V.width;a.ga.fillStyle="black";a.ga.fillRect(0,360,e,360);kb(a,378,a.V,a.ga);a.Z=a.pa.width/24|0;if(null==b)lb(a,"Mouse over memory to dump");else for(lb(a,"0x"+da(b),null,0,1),k=1;16>=k;k++){d="";for(l=1;8>=l;l++){var p=mb(a.ma,b++);lb(a,da(p,2),null,1);d+=32<=p&&128>p?String.fromCharCode(p):"."}lb(a,d,null,0,1)}a.context.drawImage(a.V,0,360,e,360,a.Ha,a.Ka,a.ya,a.Ba)}a.na=c}}}f.Md=function(){}; -function nb(a,b,c,d){a.B.Be[a.B.xi++]={yj:b,$c:c,type:d};return na(jb,b,c,0,d)}function kb(a,b,c,d){var e,k=null.style.color,l=a.Na=10;a.F=l;a.O=b;a.P=a.ja=18;e||(e=a.ha||a.ja+"px Monaco, Lucida Console, Courier New");a.Y=a.ha=e;c&&(a.pa=c);d&&(a.I=d,a.qa=k||"white")} +function nb(a,b,c,d){a.B.Ce[a.B.wi++]={yj:b,$c:c,type:d};return na(jb,b,c,0,d)}function kb(a,b,c,d){var e,k=null.style.color,l=a.Na=10;a.F=l;a.O=b;a.P=a.ia=18;e||(e=a.ha||a.ia+"px Monaco, Lucida Console, Courier New");a.Y=a.ha=e;c&&(a.pa=c);d&&(a.I=d,a.qa=k||"white")} function lb(a,b,c,d,e){a.I.font=a.Y;a.I.fillStyle=a.qa;a.I.fillText(b,a.F,a.O);a.F+=a.Z;null!=c&&(16!=a.Ga?b=c.toString():(b=8>a.ua?"0x":"",b+=da(c,a.ua)),a.I.fillText(b,a.F,a.O),a.F+=a.Z);d&&(a.F+=a.Z*d);e&&(a.F=a.Na,a.O+=(a.P+2)*(e||1))}function hb(){for(var a=!1,b=Xa(window.document,"pcjs","panel"),c=0;c=this.D?12:24>=this.D?14:15;this.rb=1<>2;this.B=this.rb-1;this.K=this.P/this.rb|0;this.I=this.K-1;this.L=[];this.O=[];this.T=[];this.U=[];a=new h;qb(a,this.Oa);this.Z=Array(this.K);for(b=0;b>>a.na;0a.rb?a.rb:c;if(l&&l.size){if(l.type==d&&l.controller==e){if(b+c<=l.Ce)return l.pe+=l.Ce-b,l.Ce=b,!0;if(b>=l.Ce+l.pe){q=l.size-(b-p);q>c&&(q=c);l.pe=b-l.Ce+q;c-=q;b=p+a.rb;continue}}return xb(1,b,c)}l=a.Z[k];b=new h(b,q,a.rb,d,e);qb(b,a.Oa,l);a.Z[k++]=b;b=p+a.rb;c-=q}return 0>>this.na;0>>a.na;0>>=a.na;0>>a.na;0>>this.na].jc(a&this.B,a)};function mb(a,b){return a.Z[(b&a.Pa)>>>a.na].ke(b&a.B,b)} -function Hb(a,b){var c=b&a.B,d=(b&a.Pa)>>>a.na;return c!=a.B?a.Z[d].qg(c,b):a.Z[d++].ke(c,b)|a.Z[d&a.I].ke(0,b+1)<<8}f.Ub=function(a){var b=a&this.B,c=(a&this.Pa)>>>this.na;if(b>>this.na].ec(a&this.B,b&255,a)}; -f.Ab=function(a,b){var c=a&this.B,d=(a&this.Pa)>>>this.na;c!=this.B?this.Z[d].$e(c,b&65535,a):(this.Z[d++].ec(c,b&255,a),this.Z[d&this.I].ec(0,b>>8&255,a+1))};function Ib(a,b,c){var d=b&a.B,e=(b&a.Pa)>>>a.na;d!=a.B?a.Z[e].gi(d,c&65535,b):(a.Z[e++].Ze(d,c&255,b),a.Z[e&a.I].Ze(0,c>>8&255,b+1))}function Jb(a,b,c,d){void 0===d&&(d=0);for(var e in c){var k=a,l=+e+d,p=c[e].bind(b);if(void 0!==p)for(var q=+e+d;q<=l;q++)void 0!==k.L[q]?ra("Input port 0x"+da(q,4)+" already registered"):k.L[q]=[p,!1]}} +function pb(a,b,c){Ja.call(this,"Bus",a,pb);this.A=b;this.Pa=c;this.D=a.buswidth||20;this.P=Math.pow(2,this.D);this.V=this.Sa=this.P-1|0;this.na=32==this.D||20>=this.D?12:24>=this.D?14:15;this.rb=1<>2;this.B=this.rb-1;this.K=this.P/this.rb|0;this.I=this.K-1;this.L=[];this.O=[];this.T=[];this.U=[];a=new h;qb(a,this.Pa);this.Z=Array(this.K);for(b=0;b>>a.na;0a.rb?a.rb:c;if(l&&l.size){if(l.type==d&&l.controller==e){if(b+c<=l.De)return l.qe+=l.De-b,l.De=b,!0;if(b>=l.De+l.qe){q=l.size-(b-p);q>c&&(q=c);l.qe=b-l.De+q;c-=q;b=p+a.rb;continue}}return xb(1,b,c)}l=a.Z[k];b=new h(b,q,a.rb,d,e);qb(b,a.Pa,l);a.Z[k++]=b;b=p+a.rb;c-=q}return 0>>this.na;0>>a.na;0>>=a.na;0>>a.na;0>>this.na].jc(a&this.B,a)};function mb(a,b){return a.Z[(b&a.Sa)>>>a.na].le(b&a.B,b)} +function Hb(a,b){var c=b&a.B,d=(b&a.Sa)>>>a.na;return c!=a.B?a.Z[d].rg(c,b):a.Z[d++].le(c,b)|a.Z[d&a.I].le(0,b+1)<<8}f.Vb=function(a){var b=a&this.B,c=(a&this.Sa)>>>this.na;if(b>>this.na].ec(a&this.B,b&255,a)}; +f.Ab=function(a,b){var c=a&this.B,d=(a&this.Sa)>>>this.na;c!=this.B?this.Z[d].af(c,b&65535,a):(this.Z[d++].ec(c,b&255,a),this.Z[d&this.I].ec(0,b>>8&255,a+1))};function Ib(a,b,c){var d=b&a.B,e=(b&a.Sa)>>>a.na;d!=a.B?a.Z[e].gi(d,c&65535,b):(a.Z[e++].$e(d,c&255,b),a.Z[e&a.I].$e(0,c>>8&255,b+1))}function Jb(a,b,c,d){void 0===d&&(d=0);for(var e in c){var k=a,l=+e+d,p=c[e].bind(b);if(void 0!==p)for(var q=+e+d;q<=l;q++)void 0!==k.L[q]?ra("Input port 0x"+da(q,4)+" already registered"):k.L[q]=[p,!1]}} function Kb(a,b,c,d){for(var e=0,k=0;0>>=k)&q;if(void 0!==l&&l[0])l[0](b,q,e);k+=p<<3;b+=p;c-=p}}function xb(a,b,c){ra("Memory block error ("+a+","+da(b)+","+da(c)+")");return!1}var Ob;if(bb){var Pb=new ArrayBuffer(2);(new DataView(Pb)).setUint16(0,256,!0);Ob=256===(new Uint16Array(Pb))[0]}else Ob=!1;var Db=Ob; -function h(a,b,c,d,e,k){this.id=Qb+=2;this.ba=null;this.B=0;this.Ce=a;this.pe=b;this.size=c||0;this.type=d||Rb;this.O=d==Cb;this.controller=null;this.A=k;this.Qa=this.Hi=!1;Sb(this);qb(this);if(c)if(e)this.controller=e,a=e.Mi(a),this.ba=a[0],this.B=a[1],Ab(this,e.Ng());else if(bb)this.U=new ArrayBuffer(c),this.T=new DataView(this.U,0,c),this.D=new Uint8Array(this.U,0,c),this.Z=new Uint16Array(this.U,0,c>>1),this.ba=new Int32Array(this.U,0,c>>2),Ab(this,Db?Eb:Fb);else{this.ba=Array(c>>2);for(e=0;e< -this.ba.length;e++)this.ba[e]=0;Ab(this,Gb)}else Ab(this)}var Rb=0,Cb=2,Tb="NONE RAM ROM VIDEO H/W UNPAGED PAGED".split(" "),Ub=["black","blue","green","cyan"],Qb=0;function Vb(a){bb&&!Db&&(a=a<<24|a<<8&16711680|a>>8&65280|a>>>24);return a} -h.prototype={constructor:h,parent:null,save:function(){var a,b;if(this.controller)a=null;else if(bb)for(a=Array(this.size>>2),b=0;b>8,c)},ma:function(a,b,c){this.ec(a++,b&255,c++);this.ec(a++,b>>8&255,c++);this.ec(a++,b>>16&255,c++);this.ec(a,b>>>24,c)},ta:function(a){return this.ba[a>>2]>>>((a&3)<<3)&255},Va:function(a){var b=a>>2;a=(a&3)<<3;var c=this.ba[b]>>a;return 24>a?c&65535:c&255|(this.ba[b+1]&255)<<8},Ea:function(a){var b=a>>2;a=(a&3)<<3;var c=this.ba[b];a&&(c=c>>>a|this.ba[b+1]<< -32-a);return c},bb:function(a,b){var c=a>>2,d=(a&3)<<3;this.ba[c]=this.ba[c]&~(255<>2,d=(a&3)<<3;24>d?this.ba[c]=this.ba[c]&~(65535<>8);this.Qa=!0},Fb:function(a,b){var c=a>>2,d=(a&3)<<3;if(d){var e=-1<>>32-d}else this.ba[c]=b;this.Qa=!0},qa:function(a,b){this.A&&Wb(this.A,b,1,!1);return this.ke(a,b)},Ia:function(a, -b){this.A&&Wb(this.A,b,2,!1);return this.qg(a,b)},Aa:function(a,b){this.A&&Wb(this.A,b,4,!1);return this.ci(a,b)},Wa:function(a,b,c){this.A&&Wb(this.A,c,1,!0);this.O||this.Ze(a,b,c)},Qb:function(a,b,c){this.A&&Wb(this.A,c,2,!0);this.O||this.gi(a,b,c)},Bb:function(a,b,c){this.A&&Wb(this.A,c,4,!0);this.O||this.na(a,b,c)},ua:function(a,b){this.F.ba[this.K]|=this.P;this.I.ba[this.L]|=this.P;return this.Y.jc(a,b)},Pa:function(a,b){this.F.ba[this.K]|=this.P;this.I.ba[this.L]|=this.P;return this.Y.pg(a, -b)},Fa:function(a,b){this.F.ba[this.K]|=this.P;this.I.ba[this.L]|=this.P;return this.Y.Id(a,b)},lb:function(a,b,c){this.F.ba[this.K]|=this.P;this.I.ba[this.L]|=this.fa;this.Y.ec(a,b,c)},$b:function(a,b,c){this.F.ba[this.K]|=this.P;this.I.ba[this.L]|=this.fa;this.Y.$e(a,b,c)},Jb:function(a,b,c){this.F.ba[this.K]|=this.P;this.I.ba[this.L]|=this.fa;this.Y.xg(a,b,c)},Na:function(a,b){return Xb(this.A,b,!1).jc(a,b)},Sa:function(a,b){return Xb(this.A,b,!1).pg(a,b)},Ga:function(a,b){return Xb(this.A,b,!1).Id(a, -b)},mb:function(a,b,c){Xb(this.A,c,!0).ec(a,b,c)},hc:function(a,b,c){Xb(this.A,c,!0).$e(a,b,c)},Kb:function(a,b,c){Xb(this.A,c,!0).xg(a,b,c)},pa:function(a){return this.D[a]},ra:function(a){return this.D[a]},Ha:function(a){return this.T.getUint16(a,!0)},Ka:function(a){return a&1?this.D[a]|this.D[a+1]<<8:this.Z[a>>1]},ya:function(a){return this.T.getInt32(a,!0)},Ba:function(a){return a&3?this.D[a]|this.D[a+1]<<8|this.D[a+2]<<16|this.D[a+3]<<24:this.ba[a>>2]},Ta:function(a,b){this.D[a]=b;this.Qa=!0}, -ab:function(a,b){this.D[a]=b;this.Qa=!0},lc:function(a,b){this.T.setUint16(a,b,!0);this.Qa=!0},Rb:function(a,b){a&1?(this.D[a]=b,this.D[a+1]=b>>8):this.Z[a>>1]=b;this.Qa=!0},qb:function(a,b){this.T.setInt32(a,b,!0);this.Qa=!0},Cb:function(a,b){a&3?(this.D[a]=b,this.D[a+1]=b>>8,this.D[a+2]=b>>16,this.D[a+3]=b>>24):this.ba[a>>2]=b;this.Qa=!0}};function qb(a,b,c){a.Oa=b;a.V=a.ga=0;c&&(c.A&&(a.A=c.A),(a.V=c.V)&&Yb(a,Zb,!1),(a.ga=c.ga)&&$b(a,Zb,!1))} -function Sb(a,b,c,d,e,k){a.Y=b;a.F=c;a.K=d>>2;a.I=e;a.L=k>>2;a.fa=b?Vb(ac|bc):0;a.P=b?Vb(ac):0}function $b(a,b,c){c&&a.ga||(a.ec=!a.O&&b[3]||a.sa,a.$e=!a.O&&b[4]||a.ha,a.xg=!a.O&&b[5]||a.ma);if(c||void 0===c)a.Ze=b[3]||a.sa,a.gi=b[4]||a.ha,a.na=b[5]||a.ma}function Yb(a,b,c){c&&a.V||(a.jc=b[0]||a.ka,a.pg=b[1]||a.xa,a.Id=b[2]||a.ja);if(c||void 0===c)a.ke=b[0]||a.ka,a.qg=b[1]||a.xa,a.ci=b[2]||a.ja}function Ab(a,b,c){b||(b=5==a.type?cc:6==a.type?dc:ec);Yb(a,b,c);$b(a,b,c)} -var ec=[],Gb=[h.prototype.ta,h.prototype.Va,h.prototype.Ea,h.prototype.bb,h.prototype.Zb,h.prototype.Fb],Zb=[h.prototype.qa,h.prototype.Ia,h.prototype.Aa,h.prototype.Wa,h.prototype.Qb,h.prototype.Bb],dc=[h.prototype.ua,h.prototype.Pa,h.prototype.Fa,h.prototype.lb,h.prototype.$b,h.prototype.Jb],cc=[h.prototype.Na,h.prototype.Sa,h.prototype.Ga,h.prototype.mb,h.prototype.hc,h.prototype.Kb]; -if(bb)var Fb=[h.prototype.pa,h.prototype.Ha,h.prototype.ya,h.prototype.Ta,h.prototype.lc,h.prototype.qb],Eb=[h.prototype.ra,h.prototype.Ka,h.prototype.Ba,h.prototype.ab,h.prototype.Rb,h.prototype.Cb]; -function fc(a,b){Ja.call(this,"CPU",a,fc);var c=a.cycles||b,d=a.multiplier||1;this.W={};this.W.Tc=c;this.W.rd=d;this.W.wf=Math.round(this.W.Tc/1E4)/100;this.W.be=this.W.wf*this.W.rd;this.ia.Lb=!1;this.ia.Ji=!1;this.ia.Ig=a.autoStart;this.ia.Ii=!1;c=Ma.autostart;void 0!==c&&(this.ia.Ig="true"==c?!0:"false"==c?!1:null);this.ia.sf=!1;this.W.yf=this.W.de=0;this.W.zf=a.csStart;this.W.He=a.csInterval;this.W.Ie=a.csStop;this.re=[];var e=this;this.wj=function(){gc(e)};Za(this)}Ra(fc);f=fc.prototype; -f.uc=function(a,b,c,d){this.ma=b;this.Oa=d;this.xa=a;for(b=null;b=gb(a,"Video",b);)this.re.push(b);this.Y=gb(a,"ChipSet");Za(this)};f.reset=function(){};f.save=function(){return null};f.restore=function(){return!1};f.cc=function(a,b){if(!b){if(a&&this.restore){hc(this);if(!this.restore(a))return!1;ic(this)}else this.reset();this.dc("No debugger detected")}jc(this);return!0};f.bc=function(a){return a&&this.save?this.save():!0}; -function kc(a){(!0===a.ia.Ig||null===a.ia.Ig&&void 0===a.sa.run)&&gc(a)}f.Li=function(){return 0};function ic(a){void 0===a.W.zf&&(a.W.zf=0);void 0===a.W.He&&(a.W.He=-1);void 0===a.W.Ie&&(a.W.Ie=-1);a.ia.sf=0<=a.W.zf&&0>>d.na;k=k+l-1>>>d.na;e.Gg=0;for(e.$c=0;p<=k;)l=d.Z[p],e.Gg+=l.size,l.size&&(e.Bg.push(na(jb,p,0,0,l.type)),e.$c++),p++;c.B=e;c.ka=c.B.$c*c.ma.rb/691200;d=0;c.B.xi=0;c.B.Be||(c.B.Be=[]);var e=-1,p=0,q=-1;for(k=0;k>1),q=l.y+(l.A>>1),w=l.A,l.sc>1,p.O+=(p.P>>1)-2,lb(p,e),p.fa&&(p.I.restore(),p.fa=!1)}}else lb(c,"This space intentionally left blank");c.context.drawImage(c.T,0,0,c.T.width,c.T.height,c.Ia,c.Va,c.Aa,c.Ea);c.ta=!1}}f.Zc=function(){this.re.length&&this.re[0].Zc()}; -f.Ib=function(a,b,c){var d=this;a=!1;switch(b){case "run":this.sa[b]=c;c.onclick=function(){var a;if(a=d.xa)if(a=d.xa,a.ia.Yb)a=!0;else{var b=null,c,p=Sa(a.id);for(c=0;cc&&(c=60);2>c&&(c=2);var d=1;b&&1a.W.wf&&(c=Math.round(c/a.W.rd));return c}function hc(a){a.W.qd=0;a.Yc=a.Nc=a.hc=a.A=0;ic(a);pc(a,1)} -function pc(a,b,c){if(void 0!==b){.8>a.W.qd/a.W.be&&(b=1);a.W.rd=b;b=a.W.wf*a.W.rd;if(a.W.be!=b){a.W.be=b;b=a.W.be.toFixed(2)+"Mhz";var d=a.sa.setSpeed;d&&(d.textContent=b);a.dc("target speed: "+b)}c&&a.Zc()}rc(a,a.Nc);a.Nc=0;a.W.ce=ka();a.W.Gd=0;sc(a)} -function gc(a,b){if(Ya(a,!0)){if(!a.ia.Lb){pc(a);a.xa&&a.xa.start(a.W.ce,tc(a));a.ia.Lb=!0;a.ia.Ji=!0;a.Y&&vc(a.Y);var c=a.sa.run;c&&(c.textContent="Halt");a.Md(!0);b&&a.Zc()}a.W.Wg>=a.W.Tc&&sc(a,!0);a.W.Me=0;a.W.xf=ka();a.W.Gd&&(c=a.W.xf-a.W.Gd,c>a.W.Qi&&(a.W.ce+=c,a.W.ce>a.W.xf&&(a.W.ce=a.W.xf)));try{do{var d=a.ia.sf?1:a.W.Gk;if(a.Y){wc(a.Y);var e=a.Y,c=d,k=e.L[0];if(k.Ed){var l=(tc(e.A,e.ha)-k.dd)/e.Ia|0,p=xc(e,0)-l;6==k.mode&&(p-=l);var q=p*e.Ia|0;6==k.mode&&(q>>=1);c>q&&(c=q)}var d=c,w=a.Y,c= -d;if(w.B&&w.B[11]&64){var C=w.pa-tc(w.A,w.ha);0C&&(c=C)}d=c}try{a.$i(d)}catch(G){if("number"!=typeof G)throw G;}var D=a.hc-a.A;a.Nc+=D;a.W.Me+=D;rc(a,0,!0);var c=a,R=D;if(c.ia.sf){var V=!1;c.W.yf=c.W.yf+c.Li()|0;c.W.de-=R;0>=c.W.de&&(c.W.de+=c.W.He,V=!0);0<=c.W.Ie&&c.W.Ie<=tc(c)&&(c.W.He=c.W.Ie=-1,ic(c),nc(c),V=!0);V&&c.dc(tc(c)+" cycles: checksum="+da(c.W.yf))}a.W.Ke-=D;0>=a.W.Ke&&(a.W.Ke+=a.W.Si,lc(a));a.W.Je-=D;0>=a.W.Je&&(a.W.Je+=a.W.Ri,a.Md());a.W.Le-=D;if(0>=a.W.Le){a.W.Le+=a.W.Vg;break}}while(a.ia.Lb)}catch(U){nc(a); -jc(a);a.xa&&a.xa.stop(ka(),tc(a));Ya(a,!1);ab(a,U.stack||U.message);return}d=setTimeout;e=a.wj;a.W.Gd=ka();k=a.W.Qi;a.W.Me&&(k=Math.round(k*a.W.Me/a.W.Vg));k-=a.W.Gd-a.W.xf;if(l=a.W.Gd-a.W.ce)a.W.qd=Math.round(a.Nc/(10*l))/100,864E5<=l&&(a.Yc=0,a.Y&&wc(a.Y,!0),pc(a));if(0>k||a.W.qdthis.id&&m.call(e,13,a&65532)}return g};f.Dk=function(a){var b=this.A;a=b.Qb+(a<<2);var c=b.la(a);this.wg=2;b.T&=-769;return this.load(b.la(a+2))+c|0};f.Ck=function(a){var b=this.A;a<<=3;var c=b.Qb+a|0;if(7<=(b.Wc-c|0))return this.F=!0,a=Bc(this,c,a),a!==g&&(a+=this.Ue),a;m.call(b,13,a|2);return g};f.Ai=function(a){return this.Ca+a|0}; -f.Ci=function(a){return this.Ca+a|0};f.zi=function(a,b){return(a>>>0)+b<=this.D?this.Ca+a|0:this.of()};f.kj=function(a,b){return(a>>>0)+b>this.D?this.Ca+a|0:this.of()};f.of=function(){m.call(this.A,13,0);return g};f.Bi=function(a,b){return(a>>>0)+b<=this.D?this.Ca+a|0:this.pf()};f.lj=function(a,b){return(a>>>0)+b>this.D?this.Ca+a|0:this.pf()};f.pf=function(){m.call(this.A,13,0);return g}; -function Cc(a,b,c){var d=a.A,e=d.la(b+2),k=d.la(b)|(e&255)<<16,d=d.la(b+4);a.oa=c;a.Ca=k;a.Za=d;a.D=(d>>>0)+1;a.nb=e;a.type=e&7936;a.ext=0;a.fc=b;Ac(a,!0)} -function Bc(a,b,c,d){var e=a.A;if(!d&&c===a.B.oa)return a.oa=c,a.Ca=a.B.Ca,a.Za=a.B.Za,a.D=(a.B.Za>>>0)+1,a.nb=a.B.nb,a.type=a.B.type,a.ext=a.B.ext,a.fc=a.B.fc,a.B.oa=0,Ac(a,!0,!0,!1),a.Ca;a.B.oa=0;var k=e.la(b+0),l=e.la(b+4),p=l&7936,q=e.la(b+2)|(l&255)<<16,w=e.la(b+6),C=c&65528;if(80386<=e.ga){var G=k,q=q|(w&65280)<<16,k=k|(w&15)<<16;w&128&&(k=k<<12|4095)}switch(a.id){case zc:a.Yd=!1;a.wg=a.aa;var D=a.F;if(D&&1==c&&a.I.length){var R=a.I[a.Ue-1];if(R&&!R())return g}var R=c&3,V=(l&24576)>>13,U,ta, -ia;if(C&&!(l&32768))return 6>a.id&&m.call(e,11,c&65532),g;if(6144<=p){R=c&3;if(R>a.yb){if(!1!==D&&!(V==a.yb||p&1024&&V<=a.yb))return g;U=n(e);Dc(e,n(e),!0);r(e,U);a.Yd=!0}U=0}else{if(256==p||2304==p)return Ec(a,c,D)?a.Ca:g;if(1024==p)U=2,ia=0,Ra.id&&m.call(e,13,c&65532|(ta?2:0)),g;break;case 2:if(C){if(4096>p||2048==(p&2560))return 6>a.id&&m.call(e,13,c&65532),g;if(!(l&32768))return 6>a.id&&m.call(e,11,c&65532),g}break;case 3:if(!(l&32768))return 6>a.id&&m.call(e,12,c&65532),g;if(!C||4096>p||512!=(p&2560))return 6>a.id&&m.call(e,13,c&65532,!0),g;break;case 4:D=p&-513;if(!C||256!=D&&2304!=D)return 6>a.id&&m.call(e,13,c&65532,!0),g;2304==D&& -(a.si=q+e.la(q+100+2)|0,a.jj=q+a.Za|0);break;case 6:if(!(p&4096)&&768>>0)+1,a.nb=l,a.type=p,a.ext=w,a.fc=b,Ac(a,!0,!0,!1));return q} -function Ec(a,b,c){var d=a.A,e=a.yb,k=d.qa.oa,l=d.qa.Ca;if(!c){if(!(d.qa.type&512))return m.call(d,13,b&65532,!0),!1;d.Ab(d.qa.fc+4,d.qa.nb&=-513)}if(d.qa.load(b)===g)return!1;var p=d.qa.Ca;if(!1!==c){if(d.qa.type&512)return m.call(d,13,b&65532,!0),!1;d.Ab(d.qa.fc+4,d.qa.nb|=512)}d.qa.type=d.qa.type&-513|d.qa.nb&512;256==d.qa.type||768==d.qa.type?(d.Ab(l+14,v(d)),d.Ab(l+16,Kc(d)),d.Ab(l+18,d.G),d.Ab(l+20,d.F),d.Ab(l+22,d.H),d.Ab(l+24,d.D),d.Ab(l+26,t(d)),d.Ab(l+28,d.L),d.Ab(l+30,d.K),d.Ab(l+32,d.I), -d.Ab(l+34,d.ya.oa),d.Ab(l+36,d.ka.oa),d.Ab(l+38,d.fa.oa),d.Ab(l+40,d.Ia.oa),d.Gc.load(d.la(p+42)),Lc(d,d.la(p+16)|(c?16384:0)),d.G=d.la(p+18),d.F=d.la(p+20),d.H=d.la(p+22),d.D=d.la(p+24),d.L=d.la(p+28),d.K=d.la(p+30),d.I=d.la(p+32),d.ya.load(d.la(p+34)),d.Ia.load(d.la(p+40)),Mc(d,d.la(p+14),d.la(p+36)),b=38,l=26,a.yb>>0)+1)}; -function Ac(a,b,c,d){void 0===c&&(c=!!(a.A.Ba&1));a.od=!1;if(c)if(a.load=a.vf,a.Oi=a.Ck,a.gc=a.zi,a.Wb=a.Bi,void 0===d&&(d=!!(a.A.T&131072)),d)a.load=a.P,a.gc=a.L,a.Wb=a.O,a.yb=a.oc=3,a.aa=a.Oc=2,a.C=a.va=65535,a.Za=65535,a.D=a.Za+1,a.Oc=a.aa,a.fc=g,a.Yd=!1;else{if(!(a.oa&-4))a.gc=a.of,a.Wb=a.pf;else if(a.type&4096){6144==(a.type&6656)&&(a.gc=a.of);if(a.type&2048||!(a.type&512))a.Wb=a.pf;1024==(a.type&3072)&&(a.gc==a.zi&&(a.gc=a.kj),a.Wb==a.Bi&&(a.Wb=a.lj),a.od=!0);b&&6>a.id&&a.oa&-4&&a.fc!==g&&(c= -a.fc+5,a.A.Hc(c,a.A.Tb(c)|1))}b&&(a.yb=a.oa&3,a.oc=(a.nb&24576)>>13,80386>a.A.ga||!(a.ext&64)?(a.aa=2,a.C=65535):(a.aa=4,a.C=-1),a.Oc=a.aa,a.va=a.C)}else a.load=a.Pi,a.Oi=a.Dk,a.gc=a.Ai,a.Wb=a.Ci,a.yb=a.oc=0,a.fc=g,a.Yd=!1} -function Oc(a){this.ga=a.model||8088;var b=0;switch(this.ga){default:b=4772727;break;case 80286:b=6E6;break;case 80386:b=16E6}fc.call(this,a,b);this.ji=61442;this.wd=1792;this.ii=28672;this.af=4;this.Ha=255;this.B=80386==this.ga?Pc:80286==this.ga?Qc:Rc;this.ra=Tc;this.li=Uc;this.mi=Vc;this.ni=Wc;if(80186<=this.ga&&(this.ra=Tc.slice(),this.li=Uc.slice(),this.mi=Vc.slice(),this.Ha=31,this.ra[15]=Xc,this.ra[96]=Yc,this.ra[97]=Zc,this.ra[98]=$c,this.ra[99]=Xc,this.ra[100]=Xc,this.ra[101]=Xc,this.ra[102]= -Xc,this.ra[103]=Xc,this.ra[104]=ad,this.ra[105]=bd,this.ra[106]=cd,this.ra[107]=dd,this.ra[108]=ed,this.ra[109]=fd,this.ra[110]=gd,this.ra[111]=hd,this.ra[192]=id,this.ra[193]=jd,this.ra[200]=kd,this.ra[201]=ld,this.ra[241]=md,this.li[7]=nd,this.mi[7]=nd,80286<=this.ga)){this.ji=2;this.wd|=28672;this.af=0;this.ra[15]=od;this.te=pd.slice();for(a=0;a>>20,k=a.Vc[(a.hd+e&a.Pa)>>>a.na],l=k.Id(e);if(!(l&1))return d||zd.call(a,b,!1,c),a.ve;if(!(l&4)&&3==a.Fa)return d||zd.call(a,b,!0,c),a.ve;var p=(b&4190208)>>>10,l=a.Vc[((l&-4096)+p&a.Pa)>>>a.na],q=l.Id(p);if(!(q&1))return d||zd.call(a,b,!1,c),a.ve;if(!(q&4)&&3==a.Fa)return d||zd.call(a,b,!0,c),a.ve;c=a.Vc[((q&-4096)+(b&4095)&a.Pa)>>>a.na];if(d)return c;d=b>>>a.na;q=a.Z[d];b=new h(b&-4096,0,0,6);Sb(b,c,k,e,l,p);qb(b,a.Oa,q);a.Z[d]=b;a.cf.push(d);return b} -function Ad(a){a.Z!=a.Vc&&(a.Z=a.Vc,a.ff=null,a.cf=null,a.ve=null)}f=Oc.prototype;f.reset=function(){this.ia.Lb&&nc(this);xd(this);hc(this);this.ia.Sc=!1};function Bd(a,b){var c;switch(b){case 0:c=a.G;break;case 1:c=a.F;break;case 2:c=a.H;break;case 3:c=a.D;break;case 4:c=t(a);break;case 5:c=a.L;break;case 6:c=a.K;break;case 7:c=a.I}return c} +function h(a,b,c,d,e,k){this.id=Qb+=2;this.aa=null;this.B=0;this.De=a;this.qe=b;this.size=c||0;this.type=d||Rb;this.O=d==Cb;this.controller=null;this.A=k;this.Qa=this.Gi=!1;Sb(this);qb(this);if(c)if(e)this.controller=e,a=e.Mi(a),this.aa=a[0],this.B=a[1],Ab(this,e.Ng());else if(bb)this.U=new ArrayBuffer(c),this.T=new DataView(this.U,0,c),this.D=new Uint8Array(this.U,0,c),this.Z=new Uint16Array(this.U,0,c>>1),this.aa=new Int32Array(this.U,0,c>>2),Ab(this,Db?Eb:Fb);else{this.aa=Array(c>>2);for(e=0;e< +this.aa.length;e++)this.aa[e]=0;Ab(this,Gb)}else Ab(this)}var Rb=0,Cb=2,Tb="NONE RAM ROM VIDEO H/W UNPAGED PAGED".split(" "),Ub=["black","blue","green","cyan"],Qb=0;function Vb(a){bb&&!Db&&(a=a<<24|a<<8&16711680|a>>8&65280|a>>>24);return a} +h.prototype={constructor:h,parent:null,save:function(){var a,b;if(this.controller)a=null;else if(bb)for(a=Array(this.size>>2),b=0;b>8,c)},ma:function(a,b,c){this.ec(a++,b&255,c++);this.ec(a++,b>>8&255,c++);this.ec(a++,b>>16&255,c++);this.ec(a,b>>>24,c)},ta:function(a){return this.aa[a>>2]>>>((a&3)<<3)&255},Oa:function(a){var b=a>>2;a=(a&3)<<3;var c=this.aa[b]>>a;return 24>a?c&65535:c&255|(this.aa[b+1]&255)<<8},Ca:function(a){var b=a>>2;a=(a&3)<<3;var c=this.aa[b];a&&(c=c>>>a|this.aa[b+1]<< +32-a);return c},bb:function(a,b){var c=a>>2,d=(a&3)<<3;this.aa[c]=this.aa[c]&~(255<>2,d=(a&3)<<3;24>d?this.aa[c]=this.aa[c]&~(65535<>8);this.Qa=!0},Fb:function(a,b){var c=a>>2,d=(a&3)<<3;if(d){var e=-1<>>32-d}else this.aa[c]=b;this.Qa=!0},qa:function(a,b){this.A&&Wb(this.A,b,1,!1);return this.le(a,b)},Ia:function(a, +b){this.A&&Wb(this.A,b,2,!1);return this.rg(a,b)},za:function(a,b){this.A&&Wb(this.A,b,4,!1);return this.ci(a,b)},Ua:function(a,b,c){this.A&&Wb(this.A,c,1,!0);this.O||this.$e(a,b,c)},Qb:function(a,b,c){this.A&&Wb(this.A,c,2,!0);this.O||this.gi(a,b,c)},Bb:function(a,b,c){this.A&&Wb(this.A,c,4,!0);this.O||this.na(a,b,c)},ua:function(a,b){this.F.aa[this.K]|=this.P;this.I.aa[this.L]|=this.P;return this.Y.jc(a,b)},Ya:function(a,b){this.F.aa[this.K]|=this.P;this.I.aa[this.L]|=this.P;return this.Y.qg(a, +b)},Fa:function(a,b){this.F.aa[this.K]|=this.P;this.I.aa[this.L]|=this.P;return this.Y.Id(a,b)},lb:function(a,b,c){this.F.aa[this.K]|=this.P;this.I.aa[this.L]|=this.fa;this.Y.ec(a,b,c)},ac:function(a,b,c){this.F.aa[this.K]|=this.P;this.I.aa[this.L]|=this.fa;this.Y.af(a,b,c)},Jb:function(a,b,c){this.F.aa[this.K]|=this.P;this.I.aa[this.L]|=this.fa;this.Y.xg(a,b,c)},Na:function(a,b){return Xb(this.A,b,!1).jc(a,b)},Sa:function(a,b){return Xb(this.A,b,!1).qg(a,b)},Ga:function(a,b){return Xb(this.A,b,!1).Id(a, +b)},mb:function(a,b,c){Xb(this.A,c,!0).ec(a,b,c)},hc:function(a,b,c){Xb(this.A,c,!0).af(a,b,c)},Kb:function(a,b,c){Xb(this.A,c,!0).xg(a,b,c)},pa:function(a){return this.D[a]},ra:function(a){return this.D[a]},Ha:function(a){return this.T.getUint16(a,!0)},Ka:function(a){return a&1?this.D[a]|this.D[a+1]<<8:this.Z[a>>1]},ya:function(a){return this.T.getInt32(a,!0)},Ba:function(a){return a&3?this.D[a]|this.D[a+1]<<8|this.D[a+2]<<16|this.D[a+3]<<24:this.aa[a>>2]},Ta:function(a,b){this.D[a]=b;this.Qa=!0}, +Wa:function(a,b){this.D[a]=b;this.Qa=!0},lc:function(a,b){this.T.setUint16(a,b,!0);this.Qa=!0},Rb:function(a,b){a&1?(this.D[a]=b,this.D[a+1]=b>>8):this.Z[a>>1]=b;this.Qa=!0},qb:function(a,b){this.T.setInt32(a,b,!0);this.Qa=!0},Cb:function(a,b){a&3?(this.D[a]=b,this.D[a+1]=b>>8,this.D[a+2]=b>>16,this.D[a+3]=b>>24):this.aa[a>>2]=b;this.Qa=!0}};function qb(a,b,c){a.Pa=b;a.V=a.ga=0;c&&(c.A&&(a.A=c.A),(a.V=c.V)&&Yb(a,Zb,!1),(a.ga=c.ga)&&$b(a,Zb,!1))} +function Sb(a,b,c,d,e,k){a.Y=b;a.F=c;a.K=d>>2;a.I=e;a.L=k>>2;a.fa=b?Vb(ac|bc):0;a.P=b?Vb(ac):0}function $b(a,b,c){c&&a.ga||(a.ec=!a.O&&b[3]||a.sa,a.af=!a.O&&b[4]||a.ha,a.xg=!a.O&&b[5]||a.ma);if(c||void 0===c)a.$e=b[3]||a.sa,a.gi=b[4]||a.ha,a.na=b[5]||a.ma}function Yb(a,b,c){c&&a.V||(a.jc=b[0]||a.ka,a.qg=b[1]||a.xa,a.Id=b[2]||a.ia);if(c||void 0===c)a.le=b[0]||a.ka,a.rg=b[1]||a.xa,a.ci=b[2]||a.ia}function Ab(a,b,c){b||(b=5==a.type?cc:6==a.type?dc:ec);Yb(a,b,c);$b(a,b,c)} +var ec=[],Gb=[h.prototype.ta,h.prototype.Oa,h.prototype.Ca,h.prototype.bb,h.prototype.Tb,h.prototype.Fb],Zb=[h.prototype.qa,h.prototype.Ia,h.prototype.za,h.prototype.Ua,h.prototype.Qb,h.prototype.Bb],dc=[h.prototype.ua,h.prototype.Ya,h.prototype.Fa,h.prototype.lb,h.prototype.ac,h.prototype.Jb],cc=[h.prototype.Na,h.prototype.Sa,h.prototype.Ga,h.prototype.mb,h.prototype.hc,h.prototype.Kb]; +if(bb)var Fb=[h.prototype.pa,h.prototype.Ha,h.prototype.ya,h.prototype.Ta,h.prototype.lc,h.prototype.qb],Eb=[h.prototype.ra,h.prototype.Ka,h.prototype.Ba,h.prototype.Wa,h.prototype.Rb,h.prototype.Cb]; +function fc(a,b){Ja.call(this,"CPU",a,fc);var c=a.cycles||b,d=a.multiplier||1;this.W={};this.W.Tc=c;this.W.rd=d;this.W.xf=Math.round(this.W.Tc/1E4)/100;this.W.ce=this.W.xf*this.W.rd;this.ja.Lb=!1;this.ja.Ii=!1;this.ja.Ig=a.autoStart;this.ja.Hi=!1;c=Ma.autostart;void 0!==c&&(this.ja.Ig="true"==c?!0:"false"==c?!1:null);this.ja.tf=!1;this.W.zf=this.W.ee=0;this.W.Af=a.csStart;this.W.Ie=a.csInterval;this.W.Je=a.csStop;this.se=[];var e=this;this.wj=function(){gc(e)};Za(this)}Ra(fc);f=fc.prototype; +f.uc=function(a,b,c,d){this.ma=b;this.Pa=d;this.xa=a;for(b=null;b=gb(a,"Video",b);)this.se.push(b);this.Y=gb(a,"ChipSet");Za(this)};f.reset=function(){};f.save=function(){return null};f.restore=function(){return!1};f.dc=function(a,b){if(!b){if(a&&this.restore){hc(this);if(!this.restore(a))return!1;ic(this)}else this.reset();this.Wb("No debugger detected")}jc(this);return!0};f.cc=function(a){return a&&this.save?this.save():!0}; +function kc(a){(!0===a.ja.Ig||null===a.ja.Ig&&void 0===a.sa.run)&&gc(a)}f.Li=function(){return 0};function ic(a){void 0===a.W.Af&&(a.W.Af=0);void 0===a.W.Ie&&(a.W.Ie=-1);void 0===a.W.Je&&(a.W.Je=-1);a.ja.tf=0<=a.W.Af&&0>>d.na;k=k+l-1>>>d.na;e.Gg=0;for(e.$c=0;p<=k;)l=d.Z[p],e.Gg+=l.size,l.size&&(e.Bg.push(na(jb,p,0,0,l.type)),e.$c++),p++;c.B=e;c.ka=c.B.$c*c.ma.rb/691200;d=0;c.B.wi=0;c.B.Ce||(c.B.Ce=[]);var e=-1,p=0,q=-1;for(k=0;k>1),q=l.y+(l.A>>1),w=l.A,l.sc>1,p.O+=(p.P>>1)-2,lb(p,e),p.fa&&(p.I.restore(),p.fa=!1)}}else lb(c,"This space intentionally left blank");c.context.drawImage(c.T,0,0,c.T.width,c.T.height,c.Ia,c.Oa,c.za,c.Ca);c.ta=!1}}f.Zc=function(){this.se.length&&this.se[0].Zc()}; +f.Ib=function(a,b,c){var d=this;a=!1;switch(b){case "run":this.sa[b]=c;c.onclick=function(){var a;if(a=d.xa)if(a=d.xa,a.ja.$b)a=!0;else{var b=null,c,p=Sa(a.id);for(c=0;cc&&(c=60);2>c&&(c=2);var d=1;b&&1a.W.xf&&(c=Math.round(c/a.W.rd));return c}function hc(a){a.W.qd=0;a.Yc=a.Nc=a.hc=a.A=0;ic(a);pc(a,1)} +function pc(a,b,c){if(void 0!==b){.8>a.W.qd/a.W.ce&&(b=1);a.W.rd=b;b=a.W.xf*a.W.rd;if(a.W.ce!=b){a.W.ce=b;b=a.W.ce.toFixed(2)+"Mhz";var d=a.sa.setSpeed;d&&(d.textContent=b);a.Wb("target speed: "+b)}c&&a.Zc()}rc(a,a.Nc);a.Nc=0;a.W.de=ka();a.W.Gd=0;sc(a)} +function gc(a,b){if(Ya(a,!0)){if(!a.ja.Lb){pc(a);a.xa&&a.xa.start(a.W.de,uc(a));a.ja.Lb=!0;a.ja.Ii=!0;a.Y&&vc(a.Y);var c=a.sa.run;c&&(c.textContent="Halt");a.Md(!0);b&&a.Zc()}a.W.Wg>=a.W.Tc&&sc(a,!0);a.W.Ne=0;a.W.yf=ka();a.W.Gd&&(c=a.W.yf-a.W.Gd,c>a.W.Qi&&(a.W.de+=c,a.W.de>a.W.yf&&(a.W.de=a.W.yf)));try{do{var d=a.ja.tf?1:a.W.Gk;if(a.Y){wc(a.Y);var e=a.Y,c=d,k=e.L[0];if(k.Ed){var l=(uc(e.A,e.ha)-k.dd)/e.Ia|0,p=xc(e,0)-l;6==k.mode&&(p-=l);var q=p*e.Ia|0;6==k.mode&&(q>>=1);c>q&&(c=q)}var d=c,w=a.Y,c= +d;if(w.B&&w.B[11]&64){var C=w.pa-uc(w.A,w.ha);0C&&(c=C)}d=c}try{a.$i(d)}catch(G){if("number"!=typeof G)throw G;}var D=a.hc-a.A;a.Nc+=D;a.W.Ne+=D;rc(a,0,!0);var c=a,R=D;if(c.ja.tf){var W=!1;c.W.zf=c.W.zf+c.Li()|0;c.W.ee-=R;0>=c.W.ee&&(c.W.ee+=c.W.Ie,W=!0);0<=c.W.Je&&c.W.Je<=uc(c)&&(c.W.Ie=c.W.Je=-1,ic(c),nc(c),W=!0);W&&c.Wb(uc(c)+" cycles: checksum="+da(c.W.zf))}a.W.Le-=D;0>=a.W.Le&&(a.W.Le+=a.W.Si,lc(a));a.W.Ke-=D;0>=a.W.Ke&&(a.W.Ke+=a.W.Ri,a.Md());a.W.Me-=D;if(0>=a.W.Me){a.W.Me+=a.W.Vg;break}}while(a.ja.Lb)}catch(V){nc(a); +jc(a);a.xa&&a.xa.stop(ka(),uc(a));Ya(a,!1);ab(a,V.stack||V.message);return}d=setTimeout;e=a.wj;a.W.Gd=ka();k=a.W.Qi;a.W.Ne&&(k=Math.round(k*a.W.Ne/a.W.Vg));k-=a.W.Gd-a.W.yf;if(l=a.W.Gd-a.W.de)a.W.qd=Math.round(a.Nc/(10*l))/100,864E5<=l&&(a.Yc=0,a.Y&&wc(a.Y,!0),pc(a));if(0>k||a.W.qdthis.id&&m.call(e,13,a&65532)}return g};f.Dk=function(a){var b=this.A;a=b.Qb+(a<<2);var c=b.la(a);b.T&=-769;return this.load(b.la(a+2))+c|0};f.Ck=function(a){var b=this.A;a<<=3;var c=b.Qb+a|0;if(7<=(b.Wc-c|0))return this.F=!0,a=Bc(this,c,a),a!==g&&(a+=this.Ve),a;m.call(b,13,a|2);return g};f.zi=function(a){return this.Da+a|0}; +f.Bi=function(a){return this.Da+a|0};f.yi=function(a,b){return(a>>>0)+b<=this.D?this.Da+a|0:this.pf()};f.kj=function(a,b){return(a>>>0)+b>this.D?this.Da+a|0:this.pf()};f.pf=function(){m.call(this.A,13,0);return g};f.Ai=function(a,b){return(a>>>0)+b<=this.D?this.Da+a|0:this.qf()};f.lj=function(a,b){return(a>>>0)+b>this.D?this.Da+a|0:this.qf()};f.qf=function(){m.call(this.A,13,0);return g}; +function Cc(a,b,c){var d=a.A,e=d.la(b+2),k=d.la(b)|(e&255)<<16,d=d.la(b+4);a.oa=c;a.Da=k;a.$a=d;a.D=(d>>>0)+1;a.nb=e;a.type=e&7936;a.ext=0;a.fc=b;Ac(a,!0)} +function Bc(a,b,c,d){var e=a.A;if(!d&&c===a.B.oa)return a.oa=c,a.Da=a.B.Da,a.$a=a.B.$a,a.D=(a.B.$a>>>0)+1,a.nb=a.B.nb,a.type=a.B.type,a.ext=a.B.ext,a.fc=a.B.fc,a.B.oa=-1,Ac(a,!0,!0,!1),a.Da;a.B.oa=-1;var k=e.la(b+0),l=e.la(b+4),p=l&7936,q=e.la(b+2)|(l&255)<<16,w=e.la(b+6),C=c&65528;if(80386<=e.ga){var G=k,q=q|(w&65280)<<16,k=k|(w&15)<<16;w&128&&(k=k<<12|4095)}switch(a.id){case zc:var D=a.F;a.Zd=!1;if(D&&1==c&&a.I.length){var R=a.I[a.Ve-1];if(R&&!R())return g}var R=c&3,W=(l&24576)>>13,V,ta,ia;if(C&& +!(l&32768))return 6>a.id&&m.call(e,11,c&65532),g;if(6144<=p){R=c&3;if(R>a.yb){if(!1!==D&&!(W==a.yb||p&1024&&W<=a.yb))return g;V=n(e);Dc(e,n(e),!0);r(e,V);a.Zd=!0}V=0}else{if(256==p||2304==p)return Ec(a,c,D)?a.Da:g;if(1024==p)V=2,ia=0,Ra.id&&m.call(e,13,c&65532|(ta?2:0)),g;break;case 2:if(C){if(4096>p||2048==(p&2560))return 6>a.id&&m.call(e,13,c&65532),g;if(!(l&32768))return 6>a.id&&m.call(e,11,c&65532),g}break;case 3:if(!(l&32768))return 6>a.id&&m.call(e,12,c&65532),g;if(!C||4096>p||512!=(p&2560))return 6>a.id&&m.call(e,13,c&65532),g;break;case 4:D=p&-513;if(!C||256!=D&&2304!=D)return 6>a.id&&m.call(e,13,c&65532),g;2304==D&&(a.ri=q+e.la(q+ +100+2)|0,a.jj=q+a.$a|0);break;case 6:if(!(p&4096)&&768>>0)+1,a.nb=l,a.type=p,a.ext=w,a.fc=b,Ac(a,!0,!0,!1));return q} +function Ec(a,b,c){var d=a.A,e=a.yb,k=d.qa.oa,l=d.qa.Da;if(!c){if(!(d.qa.type&512))return m.call(d,13,b&65532),!1;d.Ab(d.qa.fc+4,d.qa.nb&=-513)}if(d.qa.load(b)===g)return!1;var p=d.qa.Da;if(!1!==c){if(d.qa.type&512)return m.call(d,13,b&65532),!1;d.Ab(d.qa.fc+4,d.qa.nb|=512)}d.qa.type=d.qa.type&-513|d.qa.nb&512;256==d.qa.type||768==d.qa.type?(d.Ab(l+14,v(d)),d.Ab(l+16,Kc(d)),d.Ab(l+18,d.G),d.Ab(l+20,d.F),d.Ab(l+22,d.H),d.Ab(l+24,d.D),d.Ab(l+26,t(d)),d.Ab(l+28,d.L),d.Ab(l+30,d.K),d.Ab(l+32,d.I),d.Ab(l+ +34,d.za.oa),d.Ab(l+36,d.ka.oa),d.Ab(l+38,d.fa.oa),d.Ab(l+40,d.Ia.oa),d.Gc.load(d.la(p+42)),Lc(d,d.la(p+16)|(c?16384:0)),d.G=d.la(p+18),d.F=d.la(p+20),d.H=d.la(p+22),d.D=d.la(p+24),d.L=d.la(p+28),d.K=d.la(p+30),d.I=d.la(p+32),d.za.load(d.la(p+34)),d.Ia.load(d.la(p+40)),Mc(d,d.la(p+14),d.la(p+36)),b=38,l=26,a.yb>>0)+1)}; +function Ac(a,b,c,d){void 0===c&&(c=!!(a.A.Ca&1));a.od=!1;if(c)if(a.load=a.wf,a.Oi=a.Ck,a.gc=a.yi,a.Yb=a.Ai,void 0===d&&(d=!!(a.A.T&131072)),d)a.load=a.P,a.gc=a.L,a.Yb=a.O,a.yb=a.oc=3,a.ba=a.Oc=2,a.C=a.va=65535,a.$a=65535,a.D=a.$a+1,a.Oc=a.ba,a.fc=g,a.Zd=!1;else{if(!(a.oa&-4))a.gc=a.pf,a.Yb=a.qf;else if(a.type&4096){6144==(a.type&6656)&&(a.gc=a.pf);if(a.type&2048||!(a.type&512))a.Yb=a.qf;1024==(a.type&3072)&&(a.gc==a.yi&&(a.gc=a.kj),a.Yb==a.Ai&&(a.Yb=a.lj),a.od=!0);b&&6>a.id&&a.oa&-4&&a.fc!==g&&(c= +a.fc+5,a.A.Hc(c,a.A.Ub(c)|1))}b&&(a.yb=a.oa&3,a.oc=(a.nb&24576)>>13,80386>a.A.ga||!(a.ext&64)?(a.ba=2,a.C=65535):(a.ba=4,a.C=-1),a.Oc=a.ba,a.va=a.C)}else a.load=a.Pi,a.Oi=a.Dk,a.gc=a.zi,a.Yb=a.Bi,a.yb=a.oc=0,a.fc=g,a.Zd=!1} +function Oc(a){this.ga=a.model||8088;var b=0;switch(this.ga){default:b=4772727;break;case 80286:b=6E6;break;case 80386:b=16E6}fc.call(this,a,b);this.ji=61442;this.wd=1792;this.ii=28672;this.bf=4;this.Ha=255;this.B=80386==this.ga?Pc:80286==this.ga?Qc:Rc;this.ra=Tc;this.li=Uc;this.mi=Vc;this.ni=Wc;if(80186<=this.ga&&(this.ra=Tc.slice(),this.li=Uc.slice(),this.mi=Vc.slice(),this.Ha=31,this.ra[15]=Xc,this.ra[96]=Yc,this.ra[97]=Zc,this.ra[98]=$c,this.ra[99]=Xc,this.ra[100]=Xc,this.ra[101]=Xc,this.ra[102]= +Xc,this.ra[103]=Xc,this.ra[104]=ad,this.ra[105]=bd,this.ra[106]=cd,this.ra[107]=dd,this.ra[108]=ed,this.ra[109]=fd,this.ra[110]=gd,this.ra[111]=hd,this.ra[192]=id,this.ra[193]=jd,this.ra[200]=kd,this.ra[201]=ld,this.ra[241]=md,this.li[7]=nd,this.mi[7]=nd,80286<=this.ga)){this.ji=2;this.wd|=28672;this.bf=0;this.ra[15]=od;this.ue=pd.slice();for(a=0;a>>20,k=a.Vc[(a.hd+e&a.Sa)>>>a.na],l=k.Id(e);if(!(l&1))return d||zd.call(a,b,!1,c),a.we;if(!(l&4)&&3==a.Ga)return d||zd.call(a,b,!0,c),a.we;var p=(b&4190208)>>>10,l=a.Vc[((l&-4096)+p&a.Sa)>>>a.na],q=l.Id(p);if(!(q&1))return d||zd.call(a,b,!1,c),a.we;if(!(q&4)&&3==a.Ga)return d||zd.call(a,b,!0,c),a.we;c=a.Vc[((q&-4096)+(b&4095)&a.Sa)>>>a.na];if(d)return c;d=b>>>a.na;q=a.Z[d];b=new h(b&-4096,0,0,6);Sb(b,c,k,e,l,p);qb(b,a.Pa,q);a.Z[d]=b;a.df.push(d);return b} +function Ad(a){a.Z!=a.Vc&&(a.Z=a.Vc,a.gf=null,a.df=null,a.we=null)}f=Oc.prototype;f.reset=function(){this.ja.Lb&&nc(this);xd(this);hc(this);this.ja.Sc=!1};function Bd(a,b){var c;switch(b){case 0:c=a.G;break;case 1:c=a.F;break;case 2:c=a.H;break;case 3:c=a.D;break;case 4:c=t(a);break;case 5:c=a.L;break;case 6:c=a.K;break;case 7:c=a.I}return c} function Cd(a,b,c){switch(b){case 0:a.G=c;break;case 1:a.F=c;break;case 2:a.H=c;break;case 3:a.D=c;break;case 4:r(a,c);break;case 5:a.L=c;break;case 6:a.K=c;break;case 7:a.I=c}} -function xd(a){a.G=0;a.D=0;a.F=0;a.H=0;a.Rb=0;a.L=0;a.K=0;a.I=0;a.Wa=!1;a.Ea=a.ab=0;a.Ec=0;a.ef=0;a.Ba=65520;a.Qb=0;a.Wc=1023;a.T=a.Fb=0;a.qe=a.xe=a.Ad=a.Nd=0;a.$b=-1;a.Sa=a.ua=g;a.ka=new yc(a,zc,"CS");a.Ia=new yc(a,2,"DS");a.ya=new yc(a,2,"ES");a.fa=new yc(a,3,"SS");r(a,0);Dc(a,0);80386<=a.ga&&(a.H=772,a.Ba=16,a.Di=0,a.zd=0,a.hd=0,a.qb=[0,0,0,0,null,null,0,0],a.hf=[null,null,null,null,null,null,0,0],a.lb=new yc(a,2,"FS"),a.mb=new yc(a,2,"GS"),Ad(a));a.Gi=new yc(a,0,"NULL");a.U=a.Ia;a.V=a.fa;a.O= -a.ja=0;a.P=a.pa=g;a.Ga=0;Mc(a,0,65535);if(80286<=a.ga){a.Zb=0;a.yd=65535;a.Gc=new yc(a,5,"LDT",!0);a.qa=new yc(a,4,"TSS",!0);a.Ta=new yc(a,6,"VER",!0);Mc(a,65520,61440);var b,c=v(a);b=a.ka;var d=-65536;80386>b.A.ga&&(d&=16777215);b=b.Ca=d;a.ha=b+c|0;a.gf=b+a.ka.Za|0}Lc(a,0);Fc(a)}function Dd(a,b){b.oa&65528&&b.oc>16,e=0;4>e;e++){if(c&3){var k=!!(d&1),l=a.qb[e],l=l&~(d>>2&3);if(b){var l=a.Z[l>>>a.na],p=a;k?0===l.ga++&&(p&&(l.A=p),$b(l,Zb,!1)):0===l.V++&&(p&&(l.A=p),Yb(l,Zb,!1))}else l=a.Z[l>>>a.na],k?0===--l.ga&&(k=l,k.ec=k.O?k.sa:k.Ze,k.$e=k.O?k.ha:k.gi,k.xg=k.O?k.ma:k.na):0===--l.V&&(k=l,k.jc=k.ke,k.pg=k.qg,k.Id=k.ci)}c>>=2;d>>=4}} -function Wb(a,b,c,d){if(!(a.O&8192)&&a.qb[7]&255){c--;var e=a.qb[7],k=e>>16;d=d?1:0==d?3:0;for(var l=0;4>l;l++){if(e&3&&(k&3)==d){var p=k>>2;if(b+c>=a.qb[l]&&b<=a.qb[l]+p){a.qb[6]|=1<>=2;k>>=4}}}function Fc(a,b,c){void 0===b&&(b=!!(a.Ba&1));void 0===c&&(c=!!(a.T&131072));a.ni=b&&!c?Ud:Wc;Ac(a.ka,!1,b,c);Ac(a.Ia,!1,b,c);Ac(a.fa,!1,b,c);Ac(a.ya,!1,b,c);80386<=a.ga&&(Ac(a.lb,!1,b,c),Ac(a.mb,!1,b,c),Hc(a))} -f.save=function(){var a=new Vd(this);E(a,0,[this.G,this.D,this.F,this.H,t(this),this.L,this.K,this.I]);var b=v(this),c=this.ka.save(),d=this.Ia.save(),e=this.fa.save(),k=this.ya.save(),l;null!=this.Zb?(l=[this.Ba,this.Zb,this.yd,this.Qb,this.Wc,this.Gc.save(),this.qa.save(),this.Fb],80386<=this.ga&&(l.push(this.Di),l.push(this.zd),l.push(this.hd),l.push(this.qb),l.push(this.hf))):l=null;b=[b,c,d,e,k,l,Kc(this)];80386<=this.ga&&(b.push(this.lb.save()),b.push(this.mb.save()));E(a,1,b);E(a,2,[this.U.ug, -this.V.ug,this.O,this.ja,this.Ga,this.P,this.pa]);E(a,3,[0,this.Yc,this.W.rd]);b=this.ma;c=0;d=[];(e=!b.F&&b.V==b.Pa)||vb(b,!0);for(k=0;kb.A.ga&&(d&=16777215);b=b.Da=d;a.ha=b+c|0;a.hf=b+a.ka.$a|0}Lc(a,0);Fc(a)}function Dd(a,b){b.oa&65528&&b.oc>16,e=0;4>e;e++){if(c&3){var k=!!(d&1),l=a.qb[e],l=l&~(d>>2&3);if(b){var l=a.Z[l>>>a.na],p=a;k?0===l.ga++&&(p&&(l.A=p),$b(l,Zb,!1)):0===l.V++&&(p&&(l.A=p),Yb(l,Zb,!1))}else l=a.Z[l>>>a.na],k?0===--l.ga&&(k=l,k.ec=k.O?k.sa:k.$e,k.af=k.O?k.ha:k.gi,k.xg=k.O?k.ma:k.na):0===--l.V&&(k=l,k.jc=k.le,k.qg=k.rg,k.Id=k.ci)}c>>=2;d>>=4}} +function Wb(a,b,c,d){if(!(a.O&8192)&&a.qb[7]&255){c--;var e=a.qb[7],k=e>>16;d=d?1:0==d?3:0;for(var l=0;4>l;l++){if(e&3&&(k&3)==d){var p=k>>2;if(b+c>=a.qb[l]&&b<=a.qb[l]+p){a.qb[6]|=1<>=2;k>>=4}}}function Fc(a,b,c){void 0===b&&(b=!!(a.Ca&1));void 0===c&&(c=!!(a.T&131072));a.ni=b&&!c?Ud:Wc;Ac(a.ka,!1,b,c);Ac(a.Ia,!1,b,c);Ac(a.fa,!1,b,c);Ac(a.za,!1,b,c);80386<=a.ga&&(Ac(a.lb,!1,b,c),Ac(a.mb,!1,b,c),Od(a))} +f.save=function(){var a=new Vd(this);E(a,0,[this.G,this.D,this.F,this.H,t(this),this.L,this.K,this.I]);var b=v(this),c=this.ka.save(),d=this.Ia.save(),e=this.fa.save(),k=this.za.save(),l;null!=this.ac?(l=[this.Ca,this.ac,this.yd,this.Qb,this.Wc,this.Gc.save(),this.qa.save(),this.Fb],80386<=this.ga&&(l.push(this.Fi),l.push(this.Ad),l.push(this.hd),l.push(this.qb),l.push(this.jf))):l=null;b=[b,c,d,e,k,l,Kc(this)];80386<=this.ga&&(b.push(this.lb.save()),b.push(this.mb.save()));E(a,1,b);E(a,2,[this.U.vg, +this.V.vg,this.O,this.ia,this.Fa,this.P,this.pa]);E(a,3,[0,this.Yc,this.W.rd]);b=this.ma;c=0;d=[];(e=!b.F&&b.V==b.Sa)||vb(b,!0);for(k=0;kc&&0<=(a.gf^a.ha)&&(8088>=a.ga||a.ka.Za==a.ka.va?F(a,a.ha-a.ka.Ca):-1>c&&m.call(a,13,0))}function t(a){return a.Rb&~a.fa.va|a.Aa-a.fa.Ca}function r(a,b){a.Rb=b;a.Aa=a.fa.Ca+(b&a.fa.va)|0}function Zd(a,b,c,d,e,k){if(63!=(e&63)&&e!=a.resultType){var l=(e^a.resultType)&a.resultType;l&&(l&1&&$d(a),l&2&&ae(a),l&4&&be(a),l&8&&ce(a),l&16&&de(a),l&32&&ee(a))}k?(a.qe=d,a.Ad=b):(a.qe=b,a.Ad=d);a.xe=c;a.Nd=d;a.resultType=e} -function fe(a,b,c,d,e){a.resultType=c|26;a.Nd=b;d?ge(a):he(a);e?ie(a):je(a);return b}function ke(a,b,c,d){c&d?ge(a):he(a);(b^c)&d?ie(a):je(a)}function le(a){return $d(a)?1:0}function $d(a){a.resultType&1&&(a.T&=-2,(a.qe^(a.qe^a.xe)&(a.xe^a.Ad))&a.resultType&-2147450752&&(a.T|=1),a.resultType&=-2);return a.T&1}function ae(a){a.resultType&2&&(a.T&=-5,38505>>((a.Nd^a.Nd>>4)&15)&1&&(a.T|=4),a.resultType&=-3);return a.T&4} -function be(a){a.resultType&4&&(a.T&=-17,(a.Ad^a.qe^a.xe)&16&&(a.T|=16),a.resultType&=-5);return a.T&16}function ce(a){a.resultType&8&&(a.T&=-65,a.Nd&((a.resultType&-2147450752)-1|a.resultType&-2147450752)||(a.T|=64),a.resultType&=-9);return a.T&64}function de(a){a.resultType&16&&(a.T&=-129,a.Nd&a.resultType&-2147450752&&(a.T|=128),a.resultType&=-17);return a.T&128} -function ee(a){a.resultType&32&&(a.T&=-2049,(a.qe^a.Ad)&(a.xe^a.Ad)&a.resultType&-2147450752&&(a.T|=2048),a.resultType&=-33);return a.T&2048}function he(a){a.resultType&=-2;a.T&=-2}function me(a){a.resultType&=-5;a.T&=-17}function ne(a){a.resultType&=-9;a.T&=-65}function je(a){a.resultType&=-33;a.T&=-2049}function ge(a){a.resultType&=-2;a.T|=1}function oe(a){a.resultType&=-5;a.T|=16}function pe(a){a.resultType&=-9;a.T|=64}function ie(a){a.resultType&=-33;a.T|=2048} -function Kc(a){return a.T&-2262|$d(a)|ae(a)|be(a)|ce(a)|de(a)|ee(a)}function qe(a,b){b=b|a.Ba&1|65520;a.Ba=a.Ba&-65536|b&65535;a.Ba&1&&Fc(a,!0)}function Lc(a,b,c){a.Ba&1||(b&=~a.ii);void 0===c&&(c=a.Fa);c?b=b&-12289|a.T&12288:a.Fb=(b&12288)>>12;c>a.Fb&&(b=b&-513|a.T&512);a.resultType=128;a.T=a.T&~(a.wd|2261)|b&(a.wd|2261)|a.ji;a.T&256&&(a.Ga|=2,a.O|=4)} -function re(a,b,c,d){var e=0;if(a.Ba&1&&(a.Fa>a.Fb||a.T&131072)&&a.qa.si)for(var k=a.qa.si+(b>>>3),e=(1<>>=8,k++;return e?(a.Va(256)&&a.Na("checkIOPM(0x"+da(b,4)+","+c+","+(d?"input":"output")+"): trapped",!0,!0),m.call(a,13,0,!1),!1):!0} -f.Ib=function(a,b,c){var d=!1;switch(b){case "EAX":case "EBX":case "ECX":case "EDX":case "ESP":case "EBP":case "ESI":case "EDI":case "EIP":case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "IP":case "PC":case "CS":case "DS":case "SS":case "ES":case "FS":case "GS":case "CR0":case "CR2":case "CR3":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "V":this.sa[b]=c;this.oi++;d=!0;break;default:d=this.parent.Ib.call(this,a,b,c)}return d}; -function se(a,b){var c=a.Z[(b&a.tc)>>>a.na];c&&5==c.type&&(c=Xb(a,b,!1,!0));if(c){var d=b&a.Jb;switch(void 0){default:return c.ke(d,b);case 2:return c.qg(d,b);case 4:return c.ci(d,b)}}return null}f.Tb=function(a){return this.Z[(a&this.tc)>>>this.na].jc(a&this.Jb,a)};f.la=function(a){var b=a&this.Jb,c=(a&this.tc)>>>this.na;this.A-=this.B.Se;if(b>>this.na;if(b>>this.na].ec(a&this.Jb,b&255,a)};f.Ab=function(a,b){var c=a&this.Jb,d=(a&this.tc)>>>this.na;this.A-=this.B.Se;c>8&255,a+1))}; -f.wb=function(a,b){var c=a&this.Jb,d=(a&this.tc)>>>this.na;this.A-=this.B.Se;if(c>>=8}};function te(a,b,c){a.Fc=b;a.P=b.gc(a.Dc=c,1);return a.O&1?0:a.Tb(a.P)}function H(a,b){return te(a,a.U,b&a.va)}function I(a,b){return te(a,a.V,b&a.va)}function ue(a,b,c){a.Fc=b;a.P=b.gc(a.Dc=c,a.aa);return a.O&1?0:a.Mc(a.P)}function J(a,b){return ue(a,a.U,b&a.va)} -function K(a,b){return ue(a,a.V,b&a.va)}function ve(a,b,c){a.Fc=b;a.pa=a.P=b.gc(a.Dc=c,1);return a.O&1?0:a.Tb(a.P)}function L(a,b){return ve(a,a.U,b&a.va)}function M(a,b){return ve(a,a.V,b&a.va)}function we(a,b,c){a.Fc=b;a.pa=a.P=b.gc(a.Dc=c,a.aa);return a.O&1?0:a.Mc(a.P)}function N(a,b){return we(a,a.U,b&a.va)}function O(a,b){return we(a,a.V,b&a.va)}function P(a,b){a.O&2||a.Hc(a.Fc.Wb(a.Dc,1),b)}function Q(a,b){a.O&2||a.jd(a.Fc.Wb(a.Dc,a.aa),b)}function Gc(a,b,c){return a.Mc(b.gc(c,a.aa))} -f.X=function(){var a=this.Tb(this.ha);Yd(this,1);return a};function xe(a){var b=a.la(a.ha);Yd(a,2);return b}function S(a){var b=a.wi(a.ha);Yd(a,a.Oc);return b}f.Da=function(){var a=this.Mc(this.ha);Yd(this,this.aa);return a};f.M=function(){var a=this.Tb(this.ha)<<24>>24;Yd(this,1);return a};function T(a,b){var c=a.Tb(a.ha);Yd(a,1);return ye[c].call(a,b)} -function n(a){var b=a.Mc(a.Aa);a.Aa=a.Aa+a.aa|0;var c=a.Ag-a.Aa|0;0>c&&0<=(a.Ag^a.Aa)&&(8088>=a.ga||!a.fa.od&&a.fa.Za==a.fa.va||a.fa.od&&!a.fa.Za?r(a,a.Aa-a.fa.Ca&a.fa.va):-1>c&&m.call(a,12,0));return b}function ze(a,b,c){var d=a.Aa-c|0;0>(d-a.we|0)&&0<=(a.we^d)&&(8088>=a.ga||!a.fa.od&&a.fa.Za==a.fa.va||a.fa.od&&!a.fa.Za?(r(a,d-a.fa.Ca&a.fa.va),d=a.Aa):m.call(a,12,0));2==c?a.Ab(d,b):a.wb(d,b);a.Aa=d} -function u(a,b){var c=a.Aa-a.aa|0;0>(c-a.we|0)&&0<=(a.we^c)&&(8088>=a.ga||!a.fa.od&&a.fa.Za==a.fa.va||a.fa.od&&!a.fa.Za?(r(a,c-a.fa.Ca&a.fa.va),c=a.Aa):m.call(a,12,0));a.jd(c,b);a.Aa=c}function Ae(a,b,c){var d=4;1==b.length&&(d=1,c=c?1:0);if(80386>a.ga)2this.ga?0:1;for(var b=0;2>b;b++){switch(a){case 0:if(this.Ga&1&&this.T&512){var c=Be(this.Y);if(-1<=c&&(this.Ga&=-2,0<=c)){this.Ga&=-5;Ce.call(this,this.$b=c,null,11);break a}}break;case 1:if(this.Ga& -2){this.Ga&=-3;80386<=this.ga&&(this.qb[6]|=16384);Ce.call(this,this.$b=1,null,11);break a}}a=1-a}}if(a=this.Ga&8){a=this.Y;b=!1;for(c=0;c>16,c=c<<16>>16,d=d<<16>>16);this.A-=this.B.ah;(bd)&&m.call(this,5);this.O|=2;return a}function Me(a,b){var c=0;if(b){ne(this);for(var d=1;d&this.C;){if(b&d){a=c;break}d<<=1;c++}}else pe(this);this.A-=11+3*c;return a} -function Ne(a,b){var c=0;if(b){ne(this);for(var d=2==this.aa?15:31,e=1<>>=1;c++;d--}}else pe(this);this.A-=11+3*c;return a}function Oe(a,b){a&1<<(b&(2==this.aa?15:31))?ge(this):he(this);this.A-=this.P===g?3:6;this.O|=2;return a}function Pe(a,b){var c=1<<(b&(2==this.aa?15:31));a&c?ge(this):he(this);this.A-=this.P===g?6:8;return a^c}function Qe(a,b){var c=1<<(b&(2==this.aa?15:31));a&c?ge(this):he(this);this.A-=this.P===g?6:8;return a&~c} -function Re(a,b){var c=1<<(b&(2==this.aa?15:31));a&c?ge(this):he(this);this.A-=this.P===g?6:8;return a|c}function Se(a,b){if(this.P===g)return Oe.call(this,a,b);var c=this.aa<<3;if(b>=c||b<-c)a=ue(this,this.Fc,this.Dc+(b>>(2==this.aa?4:5))*this.aa);b=1<<(b&(2==this.aa?15:31));a&b?ge(this):he(this);this.A-=6;this.O|=2;return a} -function Te(a,b){if(this.P===g)return Pe.call(this,a,b);var c=this.aa<<3;if(b>=c||b<-c)a=ue(this,this.Fc,this.Dc+(b>>(2==this.aa?4:5))*this.aa);b=1<<(b&(2==this.aa?15:31));a&b?ge(this):he(this);this.A-=8;return a^b}function Ue(a,b){if(this.P===g)return Qe.call(this,a,b);var c=this.aa<<3;if(b>=c||b<-c)a=ue(this,this.Fc,this.Dc+(b>>(2==this.aa?4:5))*this.aa);b=1<<(b&(2==this.aa?15:31));a&b?ge(this):he(this);this.A-=8;return a&~b} -function Ve(a,b){if(this.P===g)return Re.call(this,a,b);var c=this.aa<<3;if(b>=c||b<-c)a=ue(this,this.Fc,this.Dc+(b>>(2==this.aa?4:5))*this.aa);b=1<<(b&(2==this.aa?15:31));a&b?ge(this):he(this);this.A-=8;return a|b}function We(a,b){this.ua=this.Aa;var c=this.ka.oa,d=v(this),e=this.aa;null!=Mc(this,a,b,!0)&&(ze(this,c,e),ze(this,d,e));this.ua=g}function Xe(a,b){Zd(this,a,b,a-b|0,191,!0);this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.Gf:this.B.vb;this.O|=2;return a} -function Ye(a,b){Zd(this,a,b,a-b|0,this.bb|63,!0);this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.Gf:this.B.vb;this.O|=2;return a}function Ze(a){var b=a-1|0;Zd(this,a,1,b,this.bb|62,!0);this.A-=2;return a&~this.C|b&this.C}function $e(a,b){var c=a[1]-b[1];c||(c=a[0]-b[0]);return c} -function af(a,b,c){this.Wa=!1;if((c>>>=0)&&!(c<=b>>>0)){var d=0,e=1;c=[c>>>0,0];for(a=[a>>>0,b>>>0];0<$e(a,c);){var k=b=c;b[0]+=k[0];b[1]+=k[1];4294967295>>=0,b[1]++);e+=e}do 0<=$e(a,c)&&(b=a,k=c,b[0]-=k[0],b[1]-=k[1],0>b[0]&&(b[0]>>>=0,b[1]--),d+=e),b=c,b[0]>>>=1,b[1]&1&&(b[0]=(b[0]|2147483648)>>>0),b[1]>>>=1,e>>>=1;while(e);this.Ea=d;this.ab=a[0];this.Wa=!0}}function bf(a){return a} -function ef(a,b){a=this.M();var c=(b<<16>>16)*a|0;32767c?(ge(this),ie(this)):(he(this),je(this));this.A-=this.P===g?21:24;return c&65535}function ff(a,b){var c,d;a=this.Da();2==this.aa?(d=(b<<16>>16)*(a<<16>>16)|0,c=32767d):(d=b*a,c=2147483647d);c?(ge(this),ie(this)):(he(this),je(this));d&=this.C;this.A-=this.P===g?21:24;return d} -function gf(a,b){var c=(a<<16>>16)*(b<<16>>16)|0;32767c?(ge(this),ie(this)):(he(this),je(this));this.A-=this.P===g?9:12;return c&65535}function hf(a,b){var c=a*b;2147483647c?(ge(this),ie(this)):(he(this),je(this));this.A-=this.P===g?9:12;return c|0}function jf(a){var b=a+1|0;Zd(this,a,1,b,this.bb|62);this.A-=2;return a&~this.C|b&this.C} -function Ce(a,b,c){this.A-=this.B.wh+c;c=Kc(this);var d=this.ka.oa,e=v(this);a=this.ka.Oi(a);if(a!==g){var k=this.ka.wg;ze(this,c,k);ze(this,d,k);ze(this,e,k);null!=b&&ze(this,b,k);this.$b=-1;Hc(this);this.ha=a;this.gf=this.ka.Ca+this.ka.Za|0;this.Fa=this.ka.yb}}function kf(a,b){this.A-=14+(this.P===g?0:2);ne(this);this.Ta.load(b)!==g&&this.Ta.oc>=this.Fa&&this.Ta.oc>=(b&3)&&(pe(this),a=this.Ta.nb&-256,2=this.Fa)&&this.Ta.oc>=(b&3))return pe(this),this.Ta.Za;ne(this);return a}function rf(a,b){if(this.P===g)return qd.call(this),a;Dc(this,this.la(this.P+this.aa));this.A-=this.B.Hd;return b} -function sf(a,b){this.A-=this.pa===g?this.P===g?this.B.Lh:this.B.Kh:this.B.Ih;return b}function tf(a,b){return b}function uf(){this.pa!==g&&Nd(this);return sf.call(this,0,this.Ec)}function vf(a,b){var c=b&65535,d=b>>>16,e=a&65535,k=a>>>16,l=c*e,e=(l>>>16)+d*e,p=e>>>16,e=(e&65535)+c*k;this.Wa=!0;this.Ea=e<<16|l&65535;this.ab=p+((e>>>16)+d*k)|0}function wf(a,b){this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.ac;return fe(this,a|b,128)} -function xf(a,b){this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.ac;return fe(this,a|b,this.bb)&this.C}function yf(a){this.ua=this.Aa;var b=n(this),c=n(this);a&&r(this,t(this)+a);Mc(this,b,c,!1)&&(a&&r(this,t(this)+a),Dd(this,this.Ia),Dd(this,this.ya),80386<=this.ga&&(Dd(this,this.lb),Dd(this,this.mb)));2==a&&this.zg&&Sd(this,this.ha);this.ua=g}function zf(a,b){var c=a-b-le(this)|0;Zd(this,a,b,c,191,!0);this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.ac;return c&255} -function Af(a,b){var c=a-b-le(this)|0;Zd(this,a,b,c,this.bb|63,!0);this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.ac;return c&this.C}function Bf(a){this.O|=1;this.Kb[this.X()].call(this,a);this.A-=this.P===g?4:5}function Cf(){return ee(this)?1:0}function Df(){return $d(this)?1:0}function Ef(){return $d(this)?0:1}function Ff(){return ce(this)?1:0}function Gf(){return ce(this)?0:1}function Hf(){return $d(this)||ce(this)?1:0}function If(){return $d(this)||ce(this)?0:1} -function Jf(){return de(this)?1:0}function Kf(){return de(this)?0:1}function Lf(){return ae(this)?1:0}function Mf(){return ae(this)?0:1}function Nf(){return!de(this)!=!ee(this)?1:0}function Of(){return!de(this)!=!ee(this)?0:1}function Pf(){return ce(this)||!de(this)!=!ee(this)?1:0}function Qf(){return ce(this)||!de(this)!=!ee(this)?0:1}function Rf(a,b,c){if(c){16>>16-c)&65535;fe(this,a,32768,d&32768)}return a} -function Sf(a,b,c){if(c){var d=a<>>32-c;fe(this,a,-2147483648,d&-2147483648)}return a}function Tf(a,b){return Rf.call(this,a,b,this.X())}function Uf(a,b){return Sf.call(this,a,b,this.X())}function Vf(a,b){return Rf.call(this,a,b,this.F&31)}function Wf(a,b){return Sf.call(this,a,b,this.F&31)}function Xf(a,b,c){if(c){16>>c-1;a=(d>>>1|b<<16-c)&65535;fe(this,a,32768,d&1)}return a} -function Yf(a,b,c){if(c){var d=a>>>c-1;a=d>>>1|b<<32-c;fe(this,a,-2147483648,d&1)}return a}function Zf(a,b){return Xf.call(this,a,b,this.X())}function $f(a,b){return Yf.call(this,a,b,this.X())}function ag(a,b){return Xf.call(this,a,b,this.F&31)}function bg(a,b){return Yf.call(this,a,b,this.F&31)}function cg(a,b){var c=a-b|0;Zd(this,a,b,c,191,!0);this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.ac;return c&255} -function dg(a,b){var c=a-b|0;Zd(this,a,b,c,this.bb|63,!0);this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.ac;return c&this.C}function eg(a,b){fe(this,a&b,128);this.A-=this.pa===g?this.P===g?this.B.hg:this.B.ie:this.B.ie;this.O|=2;return a}function fg(a,b){fe(this,a&b,this.bb);this.A-=this.pa===g?this.P===g?this.B.hg:this.B.ie:this.B.ie;this.O|=2;return a} -function gg(a,b){if(this.P===g){switch(this.ef&7){case 0:this.G=this.G&-256|a;break;case 1:this.F=this.F&-256|a;break;case 2:this.H=this.H&-256|a;break;case 3:this.D=this.D&-256|a;break;case 4:this.G=this.G&-65281|a<<8;break;case 5:this.F=this.F&-65281|a<<8;break;case 6:this.H=this.H&-65281|a<<8;break;case 7:this.D=this.D&-65281|a<<8}this.A-=this.B.jg}else this.pa=this.P,P(this,a),this.A-=this.B.ig;return b} -function hg(a,b){if(this.P===g){switch(this.ef&7){case 0:this.G=this.G&~this.C|a;break;case 1:this.F=this.F&~this.C|a;break;case 2:this.H=this.H&~this.C|a;break;case 3:this.D=this.D&~this.C|a;break;case 4:r(this,t(this)&~this.C|a);break;case 5:this.L=this.D&~this.C|a;break;case 6:this.K=this.K&~this.C|a;break;case 7:this.I=this.I&~this.C|a}this.A-=this.B.jg}else this.pa=this.P,Q(this,a),this.A-=this.B.ig;return b} -function ig(a,b){var c=a^b;fe(this,c,128);this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.ac;return c}function jg(a,b){this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.ac;return fe(this,a^b,this.bb)&this.C}function kg(a){m.call(this,13,0);return a}function nd(a){m.call(this,6);return a}function lg(a){qd.call(this);return a}function mg(){m.call(this,0,null,!1,2)}function ng(){this.A-=this.P===g?2:this.B.Yh;return 1} -function og(){var a=this.F&255;this.A-=(this.P===g?this.B.ag:this.B.$f)+(a<this.$b?(Hc(this),F(this,this.Sa-this.ka.Ca),this.ua!=g&&(r(this,this.Rb&~this.fa.va|this.ua-this.fa.Ca),this.ua=g),e=!0):8!=this.$b?(b=0,a=8,e=!0):(a=-1,b=0,xd(this),c=!1)):(Hc(this),F(this,this.Sa-this.ka.Ca));var k=a,l=b,p=32,q=se(this,this.ha);204!=q||this.Wc||(c=!1);this.T&131072&&(6==k&&99==q||13==k&&205==q)&&(c=!1);14==k&&207==q&&(c=!0);!1===c&&(p|=1);983040<=this.ha&&1048575>=this.ha&&(c=!1);this.Va(p|-2147483648)&&(c=!0);if(this.Va(p)|| -c){var w=this.ia.Lb,k="Fault "+ea(k)+(null!=l?" (0x"+da(l,4)+")":"")+" on opcode "+ea(q);c&&w&&(k+=" (blocked by PCjs Debugger)");this.Na(k,c||p,!0)?c&&(c=w,nc(this.Oa)):(this.Ja(k),nc(this))}c&&(e=!1);if(e)throw this.$b=a,Ce.call(this,a,b,d||0),this.Sa=this.ha,this.O=1==a?this.O|8192:this.O|4096,a;}function zd(a,b,c){this.zd=a;a=0;b&&(a|=1);c&&(a|=2);3==this.Fa&&(a|=4);m.call(this,14,a)}function od(){this.te[this.X()].call(this)}function rd(){u(this,t(this)&this.C);this.A-=this.B.ic} -function Yc(){this.ua=this.Aa;var a=t(this)&this.C;u(this,this.G&this.C);u(this,this.F&this.C);u(this,this.H&this.C);u(this,this.D&this.C);u(this,a);u(this,this.L&this.C);u(this,this.K&this.C);u(this,this.I&this.C);this.A-=this.B.Sh;this.ua=g} -function Zc(){this.ua=this.Aa;this.I=this.I&~this.C|n(this);this.K=this.K&~this.C|n(this);this.L=this.L&~this.C|n(this);r(this,t(this)+this.aa);this.D=this.D&~this.C|n(this);this.H=this.H&~this.C|n(this);this.F=this.F&~this.C|n(this);this.G=this.G&~this.C|n(this);this.A-=this.B.Qh;this.ua=g}function $c(){this.ta[this.X()].call(this,Le)}function sd(){!(this.Ba&1)||this.T&131072?m.call(this,6):this.Ka[this.X()].call(this,Ke)}function td(){this.O|=20;this.U=this.V=this.lb;this.A-=this.B.wc} -function ud(){this.O|=20;this.U=this.V=this.mb;this.A-=this.B.wc}function vd(){this.O|=1024;this.ja&1024||(this.aa^=6,this.C^=-65536,Od(this));this.A-=this.B.wc}function wd(){this.O|=2048;this.ja&2048||(this.Oc^=6,this.va^=-65536,Ed(this));this.A-=this.B.wc}function ad(){u(this,this.Da());this.A-=this.B.ic}function bd(){this.ta[this.X()].call(this,ff)}function cd(){u(this,this.M());this.A-=this.B.ic}function dd(){this.ta[this.X()].call(this,ef)} -function ed(){var a=1,b=0,c=this.va,d=5;this.ja&192&&(a=this.F&c,b=1,this.ja&256&&(d=4));if(a--){var e=this.H&65535;re(this,e,1,!0)&&(e=Kb(this.ma,e,1,this.ha-b-1),this.Hc(this.ya.Wb(this.I&c,1),e),this.O&4096||(this.I=this.I&~c|this.I+(this.T&1024?-1:1)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Sa,this.O|=256)))}} -function fd(){var a=1,b=0,c=this.va,d=5;this.ja&192&&(a=this.F&c,b=1,this.ja&256&&(d=4));if(a--){var e=this.H&65535;re(this,e,this.aa,!0)&&(e=Kb(this.ma,e,this.aa,this.ha-b-1),this.jd(this.ya.Wb(this.I&c,this.aa),e),this.O&4096||(this.I=this.I&~c|this.I+(this.T&1024?-this.aa:this.aa)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Sa,this.O|=256)))}} -function gd(){var a=1,b=0,c=this.va,d=5;this.ja&192&&(a=this.F&c,b=1,this.ja&256&&(d=4));if(a--){var e=this.H&65535;if(re(this,e,1,!1)){var k=this.Tb(this.Ia.gc(this.K&c,1));this.O&4096||(Nb(this.ma,e,1,k,this.ha-b-1),this.K=this.K&~c|this.K+(this.T&1024?-1:1)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Sa,this.O|=256))}}} -function hd(){var a=1,b=0,c=this.va,d=5;this.ja&192&&(a=this.F&c,b=1,this.ja&256&&(d=4));if(a--){var e=Gc(this,this.Ia,this.K&c);if(!(this.O&4096)){var k=this.H&65535;re(this,k,this.aa,!1)&&(Nb(this.ma,k,this.aa,e,this.ha-b-1),this.K=this.K&~c|this.K+(this.T&1024?-this.aa:this.aa)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Sa,this.O|=256))}}}function sg(){var a=this.M();ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma} -function tg(){var a=this.M();ee(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}function ug(){var a=this.M();$d(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma}function vg(){var a=this.M();$d(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}function wg(){var a=this.M();ce(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma}function xg(){var a=this.M();ce(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)} -function yg(){var a=this.M();$d(this)||ce(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma}function zg(){var a=this.M();$d(this)||ce(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}function Ag(){var a=this.M();de(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma}function Bg(){var a=this.M();de(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}function Cg(){var a=this.M();ae(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma} -function Dg(){var a=this.M();ae(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}function Eg(){var a=this.M();!de(this)!=!ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma}function Fg(){var a=this.M();!de(this)==!ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma}function Gg(){var a=this.M();ce(this)||!de(this)!=!ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma} -function Hg(){var a=this.M();ce(this)||!de(this)!=!ee(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}function Ig(){this.Lc[this.X()].call(this,Jg,this.X);this.A-=this.pa===g?1:this.B.Qe}function id(){this.Lc[this.X()].call(this,Kg,pg)}function jd(){this.Bb[this.X()].call(this,2==this.aa?Lg:Mg,pg)}function Ng(){var a=xe(this),b=n(this);F(this,b);a&&r(this,t(this)+a);this.A-=this.B.Xh}function Og(){var a=n(this);F(this,a);this.A-=this.B.Uh} -function kd(){this.ua=this.Aa;var a=xe(this),b=this.X()&31;this.A-=11;u(this,this.L);var c=t(this)&this.C;if(0>8&255;9<(c&15)||be(this)?(c=c+6&15,d=d+1&255,a=b=1):a=b=0;this.G=this.G&-65536|d<<8|c;a?ge(this):he(this);b?oe(this):me(this);this.A-=this.B.sd},function(){this.Kb[this.X()].call(this, -Xe)},function(){this.Ka[this.X()].call(this,Ye)},function(){this.Cb[this.X()].call(this,Xe)},function(){this.ta[this.X()].call(this,Ye)},function(){Xe.call(this,this.G&255,this.X());this.A--},function(){Ye.call(this,this.G&this.C,this.Da());this.A--},function(){this.O|=20;this.U=this.V=this.Ia;this.A-=this.B.wc},function(){var a,b,c=this.G&255,d=this.G>>8&255;9<(c&15)||be(this)?(c=c-6&15,d=d-1&255,a=b=1):a=b=0;this.G=this.G&-65536|d<<8|c;a?ge(this):he(this);b?oe(this):me(this);this.A-=this.B.sd}, -function(){this.G=jf.call(this,this.G)},function(){this.F=jf.call(this,this.F)},function(){this.H=jf.call(this,this.H)},function(){this.D=jf.call(this,this.D)},function(){r(this,jf.call(this,t(this)))},function(){this.L=jf.call(this,this.L)},function(){this.K=jf.call(this,this.K)},function(){this.I=jf.call(this,this.I)},function(){this.G=Ze.call(this,this.G)},function(){this.F=Ze.call(this,this.F)},function(){this.H=Ze.call(this,this.H)},function(){this.D=Ze.call(this,this.D)},function(){r(this,Ze.call(this, +this.O=b[2];this.ia=b[3];this.Fa=b[4];this.P=b[5];this.pa=b[6];b=a[3];this.Yc=b[1];pc(this,b[2]);return d};function Wd(a,b){switch(b){case "CS":return a.ka;case "DS":return a.Ia;case "SS":return a.fa;case "ES":return a.za;case "NULL":return a.Ki;default:return[0,b,0,0,""]}}function Xd(a,b){null!=Mc(a,v(a),b)&&(a.O|=a.bf)}function Ic(a,b){a.Ia.load(b)!==g&&(a.O|=a.bf)} +function Dc(a,b,c){var d=t(a);a.fa.load(b)!==g&&(r(a,d),a.fa.od?(a.Ag=a.fa.Da+a.fa.va|0,a.xe=a.fa.Da+a.fa.$a|0):(a.Ag=a.fa.Da+a.fa.$a|0,a.xe=a.fa.Da),c||(a.O|=4))}function Jc(a,b){a.za.load(b)!==g&&(a.O|=a.bf)}function v(a){return a.ha-a.ka.Da|0}function F(a,b){a.ha=a.ka.Da+(b&a.C)|0}function Mc(a,b,c,d){var e=a.ka;e.Ve=b;e.F=d;b=e.load(c);return b!==g?(Od(a),a.ha=b+(a.ka.Ve&a.C)|0,a.hf=b+a.ka.$a|0,a.Ga=a.ka.yb,a.ka.Zd):null} +function Yd(a,b){a.ha=a.ha+b|0;var c=a.hf-a.ha|0;0>c&&0<=(a.hf^a.ha)&&(8088>=a.ga||a.ka.$a==a.ka.va?F(a,a.ha-a.ka.Da):-1>c&&m.call(a,13,0))}function t(a){return a.Tb&~a.fa.va|a.Ba-a.fa.Da}function r(a,b){a.Tb=b;a.Ba=a.fa.Da+(b&a.fa.va)|0}function Zd(a,b,c,d,e,k){if(63!=(e&63)&&e!=a.resultType){var l=(e^a.resultType)&a.resultType;l&&(l&1&&$d(a),l&2&&ae(a),l&4&&be(a),l&8&&ce(a),l&16&&de(a),l&32&&ee(a))}k?(a.Nd=d,a.re=b):(a.Nd=b,a.re=d);a.ye=c;a.Od=d;a.resultType=e} +function fe(a,b,c,d,e){a.resultType=c|26;a.Od=b;d?ge(a):he(a);e?ie(a):je(a);return b}function ke(a,b,c,d){c&d?ge(a):he(a);(b^c)&d?ie(a):je(a)}function le(a){return $d(a)?1:0}function $d(a){a.resultType&1&&(a.T&=-2,(a.Nd^(a.Nd^a.ye)&(a.ye^a.re))&a.resultType&-2147450752&&(a.T|=1),a.resultType&=-2);return a.T&1}function ae(a){a.resultType&2&&(a.T&=-5,38505>>((a.Od^a.Od>>4)&15)&1&&(a.T|=4),a.resultType&=-3);return a.T&4} +function be(a){a.resultType&4&&(a.T&=-17,(a.re^a.Nd^a.ye)&16&&(a.T|=16),a.resultType&=-5);return a.T&16}function ce(a){a.resultType&8&&(a.T&=-65,a.Od&((a.resultType&-2147450752)-1|a.resultType&-2147450752)||(a.T|=64),a.resultType&=-9);return a.T&64}function de(a){a.resultType&16&&(a.T&=-129,a.Od&a.resultType&-2147450752&&(a.T|=128),a.resultType&=-17);return a.T&128} +function ee(a){a.resultType&32&&(a.T&=-2049,(a.Nd^a.re)&(a.ye^a.re)&a.resultType&-2147450752&&(a.T|=2048),a.resultType&=-33);return a.T&2048}function he(a){a.resultType&=-2;a.T&=-2}function me(a){a.resultType&=-5;a.T&=-17}function ne(a){a.resultType&=-9;a.T&=-65}function je(a){a.resultType&=-33;a.T&=-2049}function ge(a){a.resultType&=-2;a.T|=1}function oe(a){a.resultType&=-5;a.T|=16}function pe(a){a.resultType&=-9;a.T|=64}function ie(a){a.resultType&=-33;a.T|=2048} +function Kc(a){return a.T&-2262|$d(a)|ae(a)|be(a)|ce(a)|de(a)|ee(a)}function qe(a,b){b=b|a.Ca&1|65520;a.Ca=a.Ca&-65536|b&65535;a.Ca&1&&Fc(a,!0)}function Lc(a,b,c){a.Ca&1||(b&=~a.ii);void 0===c&&(c=a.Ga);c?b=b&-12289|a.T&12288:a.Fb=(b&12288)>>12;c>a.Fb&&(b=b&-513|a.T&512);a.resultType=128;a.T=a.T&~(a.wd|2261)|b&(a.wd|2261)|a.ji;a.T&256&&(a.Fa|=2,a.O|=4)} +function re(a,b,c,d){var e=0;if(a.Ca&1&&(a.Ga>a.Fb||a.T&131072)&&a.qa.ri)for(var k=a.qa.ri+(b>>>3),e=(1<>>=8,k++;return e?(a.Ya(256)&&a.Na("checkIOPM(0x"+da(b,4)+","+c+","+(d?"input":"output")+"): trapped",!0,!0),m.call(a,13,0),!1):!0} +f.Ib=function(a,b,c){var d=!1;switch(b){case "EAX":case "EBX":case "ECX":case "EDX":case "ESP":case "EBP":case "ESI":case "EDI":case "EIP":case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "IP":case "PC":case "CS":case "DS":case "SS":case "ES":case "FS":case "GS":case "CR0":case "CR2":case "CR3":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "V":this.sa[b]=c;this.hi++;d=!0;break;default:d=this.parent.Ib.call(this,a,b,c)}return d}; +function se(a,b){var c=a.Z[(b&a.tc)>>>a.na];c&&5==c.type&&(c=Xb(a,b,!1,!0));if(c){var d=b&a.Jb;switch(void 0){default:return c.le(d,b);case 2:return c.rg(d,b);case 4:return c.ci(d,b)}}return null}f.Ub=function(a){return this.Z[(a&this.tc)>>>this.na].jc(a&this.Jb,a)};f.la=function(a){var b=a&this.Jb,c=(a&this.tc)>>>this.na;this.A-=this.B.Te;if(b>>this.na;if(b>>this.na].ec(a&this.Jb,b&255,a)};f.Ab=function(a,b){var c=a&this.Jb,d=(a&this.tc)>>>this.na;this.A-=this.B.Te;c>8&255,a+1))}; +f.wb=function(a,b){var c=a&this.Jb,d=(a&this.tc)>>>this.na;this.A-=this.B.Te;if(c>>=8}};function te(a,b,c){a.Fc=b;a.P=b.gc(a.Dc=c,1);return a.O&1?0:a.Ub(a.P)}function H(a,b){return te(a,a.U,b&a.va)}function I(a,b){return te(a,a.V,b&a.va)}function ue(a,b,c){a.Fc=b;a.P=b.gc(a.Dc=c,a.ba);return a.O&1?0:a.Mc(a.P)}function J(a,b){return ue(a,a.U,b&a.va)} +function K(a,b){return ue(a,a.V,b&a.va)}function ve(a,b,c){a.Fc=b;a.pa=a.P=b.gc(a.Dc=c,1);return a.O&1?0:a.Ub(a.P)}function L(a,b){return ve(a,a.U,b&a.va)}function M(a,b){return ve(a,a.V,b&a.va)}function we(a,b,c){a.Fc=b;a.pa=a.P=b.gc(a.Dc=c,a.ba);return a.O&1?0:a.Mc(a.P)}function N(a,b){return we(a,a.U,b&a.va)}function O(a,b){return we(a,a.V,b&a.va)}function P(a,b){a.O&2||a.Hc(a.Fc.Yb(a.Dc,1),b)}function Q(a,b){a.O&2||a.jd(a.Fc.Yb(a.Dc,a.ba),b)}function Hc(a,b,c){return a.Mc(b.gc(c,a.ba))} +f.X=function(){var a=this.Ub(this.ha);Yd(this,1);return a};function xe(a){var b=a.la(a.ha);Yd(a,2);return b}function S(a){var b=a.xi(a.ha);Yd(a,a.Oc);return b}f.Ea=function(){var a=this.Mc(this.ha);Yd(this,this.ba);return a};f.M=function(){var a=this.Ub(this.ha)<<24>>24;Yd(this,1);return a};function T(a,b){var c=a.Ub(a.ha);Yd(a,1);return ye[c].call(a,b)} +function n(a){var b=a.Mc(a.Ba);a.Ba=a.Ba+a.ba|0;var c=a.Ag-a.Ba|0;0>c&&0<=(a.Ag^a.Ba)&&(8088>=a.ga||!a.fa.od&&a.fa.$a==a.fa.va||a.fa.od&&!a.fa.$a?r(a,a.Ba-a.fa.Da&a.fa.va):-1>c&&m.call(a,12,0));return b}function ze(a,b,c){var d=a.Ba-c|0;0>(d-a.xe|0)&&0<=(a.xe^d)&&(8088>=a.ga||!a.fa.od&&a.fa.$a==a.fa.va||a.fa.od&&!a.fa.$a?(r(a,d-a.fa.Da&a.fa.va),d=a.Ba):m.call(a,12,0));2==c?a.Ab(d,b):a.wb(d,b);a.Ba=d} +function u(a,b){var c=a.Ba-a.ba|0;0>(c-a.xe|0)&&0<=(a.xe^c)&&(8088>=a.ga||!a.fa.od&&a.fa.$a==a.fa.va||a.fa.od&&!a.fa.$a?(r(a,c-a.fa.Da&a.fa.va),c=a.Ba):m.call(a,12,0));a.jd(c,b);a.Ba=c}function Ae(a,b,c){var d=4;1==b.length&&(d=1,c=c?1:0);if(80386>a.ga)2this.ga?0:1;for(var b=0;2>b;b++){switch(a){case 0:if(this.Fa&1&&this.T&512){var c=Be(this.Y);if(-1<=c&&(this.Fa&=-2,0<=c)){this.Fa&=-5;Ce.call(this,this.Rb=c,null,11);break a}}break;case 1:if(this.Fa& +2){this.Fa&=-3;80386<=this.ga&&(this.qb[6]|=16384);Ce.call(this,this.Rb=1,null,11);break a}}a=1-a}}if(a=this.Fa&8){a=this.Y;b=!1;for(c=0;c>16,c=c<<16>>16,d=d<<16>>16);this.A-=this.B.ah;(bd)&&m.call(this,5);this.O|=2;return a}function Me(a,b){var c=0;if(b){ne(this);for(var d=1;d&this.C;){if(b&d){a=c;break}d<<=1;c++}}else pe(this);this.A-=11+3*c;return a} +function Ne(a,b){var c=0;if(b){ne(this);for(var d=2==this.ba?15:31,e=1<>>=1;c++;d--}}else pe(this);this.A-=11+3*c;return a}function Oe(a,b){a&1<<(b&(2==this.ba?15:31))?ge(this):he(this);this.A-=this.P===g?3:6;this.O|=2;return a}function Pe(a,b){var c=1<<(b&(2==this.ba?15:31));a&c?ge(this):he(this);this.A-=this.P===g?6:8;return a^c}function Qe(a,b){var c=1<<(b&(2==this.ba?15:31));a&c?ge(this):he(this);this.A-=this.P===g?6:8;return a&~c} +function Re(a,b){var c=1<<(b&(2==this.ba?15:31));a&c?ge(this):he(this);this.A-=this.P===g?6:8;return a|c}function Se(a,b){if(this.P===g)return Oe.call(this,a,b);var c=this.ba<<3;if(b>=c||b<-c)a=ue(this,this.Fc,this.Dc+(b>>(2==this.ba?4:5))*this.ba);b=1<<(b&(2==this.ba?15:31));a&b?ge(this):he(this);this.A-=6;this.O|=2;return a} +function Te(a,b){if(this.P===g)return Pe.call(this,a,b);var c=this.ba<<3;if(b>=c||b<-c)a=ue(this,this.Fc,this.Dc+(b>>(2==this.ba?4:5))*this.ba);b=1<<(b&(2==this.ba?15:31));a&b?ge(this):he(this);this.A-=8;return a^b}function Ue(a,b){if(this.P===g)return Qe.call(this,a,b);var c=this.ba<<3;if(b>=c||b<-c)a=ue(this,this.Fc,this.Dc+(b>>(2==this.ba?4:5))*this.ba);b=1<<(b&(2==this.ba?15:31));a&b?ge(this):he(this);this.A-=8;return a&~b} +function Ve(a,b){if(this.P===g)return Re.call(this,a,b);var c=this.ba<<3;if(b>=c||b<-c)a=ue(this,this.Fc,this.Dc+(b>>(2==this.ba?4:5))*this.ba);b=1<<(b&(2==this.ba?15:31));a&b?ge(this):he(this);this.A-=8;return a|b}function We(a,b){this.zd=this.ka.oa;this.ua=this.Ba;var c=v(this),d=this.ba;null!=Mc(this,a,b,!0)&&(ze(this,this.zd,d),ze(this,c,d));this.ua=g;this.zd=-1}function Xe(a,b){Zd(this,a,b,a-b|0,191,!0);this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.Hf:this.B.vb;this.O|=2;return a} +function Ye(a,b){Zd(this,a,b,a-b|0,this.bb|63,!0);this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.Hf:this.B.vb;this.O|=2;return a}function Ze(a){var b=a-1|0;Zd(this,a,1,b,this.bb|62,!0);this.A-=2;return a&~this.C|b&this.C}function $e(a,b){var c=a[1]-b[1];c||(c=a[0]-b[0]);return c} +function af(a,b,c){this.Oa=!1;if((c>>>=0)&&!(c<=b>>>0)){var d=0,e=1;c=[c>>>0,0];for(a=[a>>>0,b>>>0];0<$e(a,c);){var k=b=c;b[0]+=k[0];b[1]+=k[1];4294967295>>=0,b[1]++);e+=e}do 0<=$e(a,c)&&(b=a,k=c,b[0]-=k[0],b[1]-=k[1],0>b[0]&&(b[0]>>>=0,b[1]--),d+=e),b=c,b[0]>>>=1,b[1]&1&&(b[0]=(b[0]|2147483648)>>>0),b[1]>>>=1,e/=2;while(1<=e);this.ya=d;this.Ua=a[0];this.Oa=!0}}function df(a){return a} +function ef(a,b){a=this.M();var c=(b<<16>>16)*a|0;32767c?(ge(this),ie(this)):(he(this),je(this));this.A-=this.P===g?21:24;return c&65535}function ff(a,b){var c,d;a=this.Ea();2==this.ba?(d=(b<<16>>16)*(a<<16>>16)|0,c=32767d):(d=b*a,c=2147483647d);c?(ge(this),ie(this)):(he(this),je(this));d&=this.C;this.A-=this.P===g?21:24;return d} +function gf(a,b){var c=!1;0>b&&(b=-b|0,c=!c);0>a&&(a=-a|0,c=!c);hf.call(this,a,b);c&&(this.ya=~this.ya+1|0,this.Ua=~this.Ua+(this.ya?0:1)|0)}function jf(a,b){var c=(a<<16>>16)*(b<<16>>16)|0;32767c?(ge(this),ie(this)):(he(this),je(this));this.A-=this.P===g?9:12;return c&65535}function kf(a,b){gf.call(this,a,b);this.Ua!=this.ya>>31?(ge(this),ie(this)):(he(this),je(this));this.A-=this.P===g?9:12;return this.ya} +function lf(a){var b=a+1|0;Zd(this,a,1,b,this.bb|62);this.A-=2;return a&~this.C|b&this.C}function Ce(a,b,c){this.A-=this.B.wh+(c||0);c=Kc(this);var d=this.ka.oa,e=v(this);a=this.ka.Oi(a);a!==g&&(u(this,c),u(this,d),u(this,e),null!=b&&u(this,b),this.Rb=-1,Od(this),this.ha=a,this.hf=this.ka.Da+this.ka.$a|0,this.Ga=this.ka.yb)} +function mf(a,b){this.A-=14+(this.P===g?0:2);ne(this);this.Wa.load(b)!==g&&this.Wa.oc>=this.Ga&&this.Wa.oc>=(b&3)&&(pe(this),a=this.Wa.nb&-256,2=this.Ga)&&this.Wa.oc>=(b&3))return pe(this),this.Wa.$a;ne(this);return a}function tf(a,b){if(this.P===g)return qd.call(this),a;Dc(this,this.la(this.P+this.ba));this.A-=this.B.Hd;return b}function uf(a,b){this.A-=this.pa===g?this.P===g?this.B.Lh:this.B.Kh:this.B.Ih;return b}function vf(a,b){return b}function wf(){this.pa!==g&&Gc(this,2);return uf.call(this,0,this.Ec)} +function hf(a,b){if(a&-65536||b&-65536){var c=b&65535,d=b>>>16,e=a&65535,k=a>>>16,l=c*e,e=(l>>>16)+d*e,p=e>>>16,e=(e&65535)+c*k;this.Oa=!0;this.ya=e<<16|l&65535;this.Ua=p+((e>>>16)+d*k)|0}else this.Oa=!0,this.ya=a*b|0,this.Ua=0}function xf(a,b){this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.bc;return fe(this,a|b,128)}function yf(a,b){this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.bc;return fe(this,a|b,this.bb)&this.C} +function zf(a){this.ua=this.Ba;var b=n(this),c=n(this);a&&r(this,t(this)+a);Mc(this,b,c,!1)&&(a&&r(this,t(this)+a),Dd(this,this.Ia),Dd(this,this.za),80386<=this.ga&&(Dd(this,this.lb),Dd(this,this.mb)));2==a&&this.zg&&Sd(this,this.ha);this.ua=g}function Af(a,b){var c=a-b-le(this)|0;Zd(this,a,b,c,191,!0);this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.bc;return c&255} +function Bf(a,b){var c=a-b-le(this)|0;Zd(this,a,b,c,this.bb|63,!0);this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.bc;return c&this.C}function Cf(a){this.O|=1;this.Kb[this.X()].call(this,a);this.A-=this.P===g?4:5}function Df(){return ee(this)?1:0}function Ef(){return $d(this)?1:0}function Ff(){return $d(this)?0:1}function Gf(){return ce(this)?1:0}function Hf(){return ce(this)?0:1}function If(){return $d(this)||ce(this)?1:0}function Jf(){return $d(this)||ce(this)?0:1} +function Kf(){return de(this)?1:0}function Lf(){return de(this)?0:1}function Mf(){return ae(this)?1:0}function Nf(){return ae(this)?0:1}function Of(){return!de(this)!=!ee(this)?1:0}function Pf(){return!de(this)!=!ee(this)?0:1}function Qf(){return ce(this)||!de(this)!=!ee(this)?1:0}function Rf(){return ce(this)||!de(this)!=!ee(this)?0:1}function Sf(a,b,c){if(c){16>>16-c)&65535;fe(this,a,32768,d&32768)}return a} +function Tf(a,b,c){if(c){var d=a<>>32-c;fe(this,a,-2147483648,d&-2147483648)}return a}function Uf(a,b){return Sf.call(this,a,b,this.X())}function Vf(a,b){return Tf.call(this,a,b,this.X())}function Wf(a,b){return Sf.call(this,a,b,this.F&31)}function Xf(a,b){return Tf.call(this,a,b,this.F&31)}function Yf(a,b,c){if(c){16>>c-1;a=(d>>>1|b<<16-c)&65535;fe(this,a,32768,d&1)}return a} +function Zf(a,b,c){if(c){var d=a>>>c-1;a=d>>>1|b<<32-c;fe(this,a,-2147483648,d&1)}return a}function $f(a,b){return Yf.call(this,a,b,this.X())}function ag(a,b){return Zf.call(this,a,b,this.X())}function bg(a,b){return Yf.call(this,a,b,this.F&31)}function cg(a,b){return Zf.call(this,a,b,this.F&31)}function dg(a,b){var c=a-b|0;Zd(this,a,b,c,191,!0);this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.bc;return c&255} +function eg(a,b){var c=a-b|0;Zd(this,a,b,c,this.bb|63,!0);this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.bc;return c&this.C}function fg(a,b){fe(this,a&b,128);this.A-=this.pa===g?this.P===g?this.B.ig:this.B.je:this.B.je;this.O|=2;return a}function gg(a,b){fe(this,a&b,this.bb);this.A-=this.pa===g?this.P===g?this.B.ig:this.B.je:this.B.je;this.O|=2;return a} +function hg(a,b){if(this.P===g){switch(this.ff&7){case 0:this.G=this.G&-256|a;break;case 1:this.F=this.F&-256|a;break;case 2:this.H=this.H&-256|a;break;case 3:this.D=this.D&-256|a;break;case 4:this.G=this.G&-65281|a<<8;break;case 5:this.F=this.F&-65281|a<<8;break;case 6:this.H=this.H&-65281|a<<8;break;case 7:this.D=this.D&-65281|a<<8}this.A-=this.B.kg}else this.pa=this.P,P(this,a),this.A-=this.B.jg;return b} +function ig(a,b){if(this.P===g){switch(this.ff&7){case 0:this.G=this.G&~this.C|a;break;case 1:this.F=this.F&~this.C|a;break;case 2:this.H=this.H&~this.C|a;break;case 3:this.D=this.D&~this.C|a;break;case 4:r(this,t(this)&~this.C|a);break;case 5:this.L=this.D&~this.C|a;break;case 6:this.K=this.K&~this.C|a;break;case 7:this.I=this.I&~this.C|a}this.A-=this.B.kg}else this.pa=this.P,Q(this,a),this.A-=this.B.jg;return b} +function jg(a,b){var c=a^b;fe(this,c,128);this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.bc;return c}function kg(a,b){this.A-=this.pa===g?this.P===g?this.B.Mb:this.B.vb:this.B.bc;return fe(this,a^b,this.bb)&this.C}function lg(a){m.call(this,13,0);return a}function nd(a){m.call(this,6);return a}function mg(a){qd.call(this);return a}function ng(){8086==this.ga?(this.Rb=-1,Ce.call(this,0,null,2)):m.call(this,0,null,2)}function og(){this.A-=this.P===g?2:this.B.Yh;return 1} +function pg(){var a=this.F&255;this.A-=(this.P===g?this.B.bg:this.B.ag)+(a<this.Rb?(Od(this),-1!=this.zd&&(Xd(this,this.zd),this.zd=-1),F(this,this.Ta-this.ka.Da),this.ua!=g&&(r(this,this.Tb&~this.fa.va|this.ua-this.fa.Da),this.ua=g),e=!0):8!=this.Rb?(b=0,a=8,e=!0):(a=-1,b=0,xd(this),d=!1)):(Od(this),F(this,this.Ta-this.ka.Da));var k=a,l=b,p=32,q=se(this,this.ha);204!=q||this.Wc||(d=!1);this.T&131072&&(6==k&&99==q||13==k&&205==q)&&(d=!1);14==k&&207==q&&(d=!0);!1===d&&(p|=1);983040<=this.ha&&1048575>=this.ha&&(d= +!1);this.Ya(p|-2147483648)&&(d=!0);if(this.Ya(p)||d){var w=this.ja.Lb,k="Fault "+ea(k)+(null!=l?" (0x"+da(l,4)+")":"")+" on opcode "+ea(q);d&&w&&(k+=" (blocked by PCjs Debugger)");this.Na(k,d||p,!0)?d&&(d=w,nc(this.Pa)):(this.Ja(k),nc(this))}d&&(e=!1);if(e)throw this.Rb=a,Ce.call(this,a,b,c),this.Ta=this.ha,this.O=1==a?this.O|8192:this.O|4096,a;}function zd(a,b,c){this.Ad=a;a=0;b&&(a|=1);c&&(a|=2);3==this.Ga&&(a|=4);m.call(this,14,a)}function od(){this.ue[this.X()].call(this)} +function rd(){u(this,t(this)&this.C);this.A-=this.B.ic}function Yc(){this.ua=this.Ba;var a=t(this)&this.C;u(this,this.G&this.C);u(this,this.F&this.C);u(this,this.H&this.C);u(this,this.D&this.C);u(this,a);u(this,this.L&this.C);u(this,this.K&this.C);u(this,this.I&this.C);this.A-=this.B.Sh;this.ua=g} +function Zc(){this.ua=this.Ba;this.I=this.I&~this.C|n(this);this.K=this.K&~this.C|n(this);this.L=this.L&~this.C|n(this);r(this,t(this)+this.ba);this.D=this.D&~this.C|n(this);this.H=this.H&~this.C|n(this);this.F=this.F&~this.C|n(this);this.G=this.G&~this.C|n(this);this.A-=this.B.Qh;this.ua=g}function $c(){this.ta[this.X()].call(this,Le)}function sd(){!(this.Ca&1)||this.T&131072?m.call(this,6):this.Ka[this.X()].call(this,Ke)}function td(){this.O|=20;this.U=this.V=this.lb;this.A-=this.B.wc} +function ud(){this.O|=20;this.U=this.V=this.mb;this.A-=this.B.wc}function vd(){this.O|=1024;this.ia&1024||(this.ba^=6,this.C^=-65536,Nd(this));this.A-=this.B.wc}function wd(){this.O|=2048;this.ia&2048||(this.Oc^=6,this.va^=-65536,Ed(this));this.A-=this.B.wc}function ad(){u(this,this.Ea());this.A-=this.B.ic}function bd(){this.ta[this.X()].call(this,ff)}function cd(){u(this,this.M());this.A-=this.B.ic}function dd(){this.ta[this.X()].call(this,ef)} +function ed(){var a=1,b=0,c=this.va,d=5;this.ia&192&&(a=this.F&c,b=1,this.ia&256&&(d=4));if(a--){var e=this.H&65535;re(this,e,1,!0)&&(e=Kb(this.ma,e,1,this.ha-b-1),this.Hc(this.za.Yb(this.I&c,1),e),this.O&4096||(this.I=this.I&~c|this.I+(this.T&1024?-1:1)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Ta,this.O|=256)))}} +function fd(){var a=1,b=0,c=this.va,d=5;this.ia&192&&(a=this.F&c,b=1,this.ia&256&&(d=4));if(a--){var e=this.H&65535;re(this,e,this.ba,!0)&&(e=Kb(this.ma,e,this.ba,this.ha-b-1),this.jd(this.za.Yb(this.I&c,this.ba),e),this.O&4096||(this.I=this.I&~c|this.I+(this.T&1024?-this.ba:this.ba)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Ta,this.O|=256)))}} +function gd(){var a=1,b=0,c=this.va,d=5;this.ia&192&&(a=this.F&c,b=1,this.ia&256&&(d=4));if(a--){var e=this.H&65535;if(re(this,e,1,!1)){var k=this.Ub(this.Ia.gc(this.K&c,1));this.O&4096||(Nb(this.ma,e,1,k,this.ha-b-1),this.K=this.K&~c|this.K+(this.T&1024?-1:1)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Ta,this.O|=256))}}} +function hd(){var a=1,b=0,c=this.va,d=5;this.ia&192&&(a=this.F&c,b=1,this.ia&256&&(d=4));if(a--){var e=Hc(this,this.Ia,this.K&c);if(!(this.O&4096)){var k=this.H&65535;re(this,k,this.ba,!1)&&(Nb(this.ma,k,this.ba,e,this.ha-b-1),this.K=this.K&~c|this.K+(this.T&1024?-this.ba:this.ba)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Ta,this.O|=256))}}}function tg(){var a=this.M();ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma} +function ug(){var a=this.M();ee(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}function vg(){var a=this.M();$d(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma}function wg(){var a=this.M();$d(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}function xg(){var a=this.M();ce(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma}function yg(){var a=this.M();ce(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)} +function zg(){var a=this.M();$d(this)||ce(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma}function Ag(){var a=this.M();$d(this)||ce(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}function Bg(){var a=this.M();de(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma}function Cg(){var a=this.M();de(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}function Dg(){var a=this.M();ae(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma} +function Eg(){var a=this.M();ae(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}function Fg(){var a=this.M();!de(this)!=!ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma}function Gg(){var a=this.M();!de(this)==!ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma}function Hg(){var a=this.M();ce(this)||!de(this)!=!ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma} +function Ig(){var a=this.M();ce(this)||!de(this)!=!ee(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}function Jg(){this.Lc[this.X()].call(this,Kg,this.X);this.A-=this.pa===g?1:this.B.Re}function id(){this.Lc[this.X()].call(this,Lg,qg)}function jd(){this.Bb[this.X()].call(this,2==this.ba?Mg:Ng,qg)}function Og(){var a=xe(this),b=n(this);F(this,b);a&&r(this,t(this)+a);this.A-=this.B.Xh}function Pg(){var a=n(this);F(this,a);this.A-=this.B.Uh} +function kd(){this.ua=this.Ba;var a=xe(this),b=this.X()&31;this.A-=11;u(this,this.L);var c=t(this)&this.C;if(0>8&255;9<(c&15)||be(this)?(c=c+6&15,d=d+1&255,a=b=1):a=b=0;this.G=this.G&-65536|d<<8|c;a?ge(this):he(this);b?oe(this):me(this);this.A-=this.B.sd},function(){this.Kb[this.X()].call(this, +Xe)},function(){this.Ka[this.X()].call(this,Ye)},function(){this.Cb[this.X()].call(this,Xe)},function(){this.ta[this.X()].call(this,Ye)},function(){Xe.call(this,this.G&255,this.X());this.A--},function(){Ye.call(this,this.G&this.C,this.Ea());this.A--},function(){this.O|=20;this.U=this.V=this.Ia;this.A-=this.B.wc},function(){var a,b,c=this.G&255,d=this.G>>8&255;9<(c&15)||be(this)?(c=c-6&15,d=d-1&255,a=b=1):a=b=0;this.G=this.G&-65536|d<<8|c;a?ge(this):he(this);b?oe(this):me(this);this.A-=this.B.sd}, +function(){this.G=lf.call(this,this.G)},function(){this.F=lf.call(this,this.F)},function(){this.H=lf.call(this,this.H)},function(){this.D=lf.call(this,this.D)},function(){r(this,lf.call(this,t(this)))},function(){this.L=lf.call(this,this.L)},function(){this.K=lf.call(this,this.K)},function(){this.I=lf.call(this,this.I)},function(){this.G=Ze.call(this,this.G)},function(){this.F=Ze.call(this,this.F)},function(){this.H=Ze.call(this,this.H)},function(){this.D=Ze.call(this,this.D)},function(){r(this,Ze.call(this, t(this)))},function(){this.L=Ze.call(this,this.L)},function(){this.K=Ze.call(this,this.K)},function(){this.I=Ze.call(this,this.I)},function(){u(this,this.G&this.C);this.A-=this.B.ic},function(){u(this,this.F&this.C);this.A-=this.B.ic},function(){u(this,this.H&this.C);this.A-=this.B.ic},function(){u(this,this.D&this.C);this.A-=this.B.ic},function(){u(this,t(this)-2&65535);this.A-=this.B.ic},function(){u(this,this.L&this.C);this.A-=this.B.ic},function(){u(this,this.K&this.C);this.A-=this.B.ic},function(){u(this, this.I&this.C);this.A-=this.B.ic},function(){this.G=this.G&~this.C|n(this);this.A-=this.B.Nb},function(){this.F=this.F&~this.C|n(this);this.A-=this.B.Nb},function(){this.H=this.H&~this.C|n(this);this.A-=this.B.Nb},function(){this.D=this.D&~this.C|n(this);this.A-=this.B.Nb},function(){r(this,t(this)&~this.C|n(this));this.A-=this.B.Nb},function(){this.L=this.L&~this.C|n(this);this.A-=this.B.Nb},function(){this.K=this.K&~this.C|n(this);this.A-=this.B.Nb},function(){this.I=this.I&~this.C|n(this);this.A-= -this.B.Nb},sg,tg,ug,vg,wg,xg,yg,zg,Ag,Bg,Cg,Dg,Eg,Fg,Gg,Hg,sg,tg,ug,vg,wg,xg,yg,zg,Ag,Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,function(){this.Bb[this.X()].call(this,Tg,this.Da);this.A-=this.pa===g?1:this.B.Qe},Ig,function(){this.Bb[this.X()].call(this,Tg,this.M);this.A-=this.pa===g?1:this.B.Qe},function(){this.Kb[this.X()].call(this,eg)},function(){this.Ka[this.X()].call(this,fg)},function(){this.Cb[this.ef=this.X()].call(this,gg)},function(){this.ta[this.ef=this.X()].call(this,hg)},function(){this.O|=1;this.Kb[this.X()].call(this, -sf)},function(){this.O|=1;this.Ka[this.X()].call(this,sf)},function(){this.Cb[this.X()].call(this,sf)},function(){this.ta[this.X()].call(this,sf)},function(){var a=this.X();switch((a&56)>>3){case 0:this.Ec=this.ya.oa;break;case 1:this.Ec=this.ka.oa;break;case 2:this.Ec=this.fa.oa;break;case 3:this.Ec=this.Ia.oa;break;case 4:if(80386<=this.ga){this.Ec=this.lb.oa;break}m.call(this,6);return;case 5:if(80386<=this.ga){this.Ec=this.mb.oa;break}default:m.call(this,6);return}this.O|=1;this.Ka[a].call(this, -uf)},function(){this.O|=1;this.U=this.V=this.Gi;this.ta[this.X()].call(this,mf)},function(){var a,b;b=this.X();var c=(b&56)>>3;switch(c){case 0:a=this.G;break;case 2:a=this.H;break;case 3:a=this.D;break;default:if(80286==this.ga||80386==this.ga&&4!=c&&5!=c){m.call(this,6);return}switch(c){case 1:a=this.F;break;case 4:a=t(this);break;case 5:a=this.L;break;case 6:a=this.K;break;case 7:a=this.I}}this.ta[b].call(this,sf);switch(c){case 0:b=this.G;this.G=a;Jc(this,b);break;case 1:b=this.F;this.F=a;Xd(this, -b);break;case 2:b=this.H;this.H=a;Dc(this,b);break;case 3:b=this.D;this.D=a;Ic(this,b);break;case 4:b=t(this);r(this,a);80386<=this.ga?this.lb.load(b):Jc(this,b);break;case 5:b=this.L;this.L=a;80386<=this.ga?this.mb.load(b):Xd(this,b);break;case 6:b=this.K;this.K=a;Dc(this,b);break;case 7:b=this.I,this.I=a,Ic(this,b)}},function(){this.O|=1;this.Ec=n(this);this.Bb[this.X()].call(this,Ug,rg)},function(){this.A-=3},function(){var a=this.G;this.G=this.G&~this.C|this.F&this.C;this.F=this.F&~this.C|a&this.C; +this.B.Nb},tg,ug,vg,wg,xg,yg,zg,Ag,Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,tg,ug,vg,wg,xg,yg,zg,Ag,Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,Jg,function(){this.Bb[this.X()].call(this,Ug,this.Ea);this.A-=this.pa===g?1:this.B.Re},Jg,function(){this.Bb[this.X()].call(this,Ug,this.M);this.A-=this.pa===g?1:this.B.Re},function(){this.Kb[this.X()].call(this,fg)},function(){this.Ka[this.X()].call(this,gg)},function(){this.Cb[this.ff=this.X()].call(this,hg)},function(){this.ta[this.ff=this.X()].call(this,ig)},function(){this.O|=1;this.Kb[this.X()].call(this, +uf)},function(){this.O|=1;this.Ka[this.X()].call(this,uf)},function(){this.Cb[this.X()].call(this,uf)},function(){this.ta[this.X()].call(this,uf)},function(){var a=this.X();switch((a&56)>>3){case 0:this.Ec=this.za.oa;break;case 1:this.Ec=this.ka.oa;break;case 2:this.Ec=this.fa.oa;break;case 3:this.Ec=this.Ia.oa;break;case 4:if(80386<=this.ga){this.Ec=this.lb.oa;break}m.call(this,6);return;case 5:if(80386<=this.ga){this.Ec=this.mb.oa;break}default:m.call(this,6);return}this.O|=1;this.Ka[a].call(this, +wf)},function(){this.O|=1;this.U=this.V=this.Ki;this.ta[this.X()].call(this,of)},function(){var a,b;b=this.X();var c=(b&56)>>3;switch(c){case 0:a=this.G;break;case 2:a=this.H;break;case 3:a=this.D;break;default:if(80286==this.ga||80386==this.ga&&4!=c&&5!=c){m.call(this,6);return}switch(c){case 1:a=this.F;break;case 4:a=t(this);break;case 5:a=this.L;break;case 6:a=this.K;break;case 7:a=this.I}}this.ta[b].call(this,uf);switch(c){case 0:b=this.G;this.G=a;Jc(this,b);break;case 1:b=this.F;this.F=a;Xd(this, +b);break;case 2:b=this.H;this.H=a;Dc(this,b);break;case 3:b=this.D;this.D=a;Ic(this,b);break;case 4:b=t(this);r(this,a);80386<=this.ga?this.lb.load(b):Jc(this,b);break;case 5:b=this.L;this.L=a;80386<=this.ga?this.mb.load(b):Xd(this,b);break;case 6:b=this.K;this.K=a;Dc(this,b);break;case 7:b=this.I,this.I=a,Ic(this,b)}},function(){this.O|=1;this.Ec=n(this);this.Bb[this.X()].call(this,Vg,sg)},function(){this.A-=3},function(){var a=this.G;this.G=this.G&~this.C|this.F&this.C;this.F=this.F&~this.C|a&this.C; this.A-=3},function(){var a=this.G;this.G=this.G&~this.C|this.H&this.C;this.H=this.H&~this.C|a&this.C;this.A-=3},function(){var a=this.G;this.G=this.G&~this.C|this.D&this.C;this.D=this.D&~this.C|a&this.C;this.A-=3},function(){var a=this.G,b=t(this);this.G=this.G&~this.C|b&this.C;r(this,b&~this.C|a&this.C);this.A-=3},function(){var a=this.G;this.G=this.G&~this.C|this.L&this.C;this.L=this.L&~this.C|a&this.C;this.A-=3},function(){var a=this.G;this.G=this.G&~this.C|this.K&this.C;this.K=this.K&~this.C| -a&this.C;this.A-=3},function(){var a=this.G;this.G=this.G&~this.C|this.I&this.C;this.I=this.I&~this.C|a&this.C;this.A-=3},function(){this.G=2==this.aa?this.G&-65536|this.G<<24>>24&65535:this.G<<16>>16;this.A-=2},function(){this.H=2==this.aa?this.H&-65536|(this.G&32768?65535:0):this.G&-2147483648?-1:0;this.A-=this.B.dh},function(){We.call(this,this.Da(),xe(this));this.A-=this.B.gh},function(){this.Na("WAIT not implemented");this.A--},function(){var a=Kc(this);a&131072&&3>this.Fb?m.call(this,13,0): +a&this.C;this.A-=3},function(){var a=this.G;this.G=this.G&~this.C|this.I&this.C;this.I=this.I&~this.C|a&this.C;this.A-=3},function(){this.G=2==this.ba?this.G&-65536|this.G<<24>>24&65535:this.G<<16>>16;this.A-=2},function(){this.H=2==this.ba?this.H&-65536|(this.G&32768?65535:0):this.G&-2147483648?-1:0;this.A-=this.B.dh},function(){We.call(this,this.Ea(),xe(this));this.A-=this.B.gh},function(){this.Na("WAIT not implemented");this.A--},function(){var a=Kc(this);a&131072&&3>this.Fb?m.call(this,13,0): (u(this,a&-196609),this.A-=this.B.ic)},function(){if(this.T&131072&&3>this.Fb)m.call(this,13,0);else{var a=n(this),a=a&65535|this.T&-65536;Lc(this,a);this.A-=this.B.Nb}},function(){var a=this.G>>8&255;a&1?ge(this):he(this);a&4?(this.resultType&=-3,this.T|=4):(this.resultType&=-3,this.T&=-5);a&16?oe(this):me(this);a&64?pe(this):ne(this);a&128?(this.resultType&=-17,this.T|=128):(this.resultType&=-17,this.T&=-129);this.A-=this.B.Db},function(){this.G=this.G&-65281|(Kc(this)&213)<<8;this.A-=this.B.Db}, -function(){var a=this.G&-256,b;b=S(this);b=this.Tb(this.U.gc(b,1));this.G=a|b;this.A-=this.B.Qf},function(){this.G=this.G&~this.C|Gc(this,this.U,S(this));this.A-=this.B.Qf},function(){var a=S(this),b=this.G;this.Hc(this.U.Wb(a,1),b);this.A-=this.B.Rf},function(){var a=S(this),b=this.G;this.jd(this.U.Wb(a,this.aa),b);this.A-=this.B.Rf},function(){var a=1,b=0,c=this.va,d=this.B.Sf;this.ja&192&&(a=this.F&c,b=1,d=this.B.Uf,this.ja&256||(this.A-=this.B.Tf));if(a--){var e=this.Tb(this.U.gc(this.K&c,1)); -this.Hc(this.ya.Wb(this.I&c,1),e);this.O&4096||(e=this.T&1024?-1:1,this.K=this.K&~c|this.K+e&c,this.I=this.I&~c|this.I+e&c,this.A-=d,this.F=this.F&~c|this.F-b&c,a&&(this.ha=this.Sa,this.O|=256))}},function(){var a=1,b=0,c=this.va,d=this.B.Sf;this.ja&192&&(a=this.F&c,b=1,d=this.B.Uf,this.ja&256||(this.A-=this.B.Tf));if(a--){var e=Gc(this,this.U,this.K&c);this.jd(this.ya.Wb(this.I&c,this.aa),e);this.O&4096||(e=this.T&1024?-this.aa:this.aa,this.K=this.K&~c|this.K+e&c,this.I=this.I&~c|this.I+e&c,this.A-= -d,this.F=this.F&~c|this.F-b&c,a&&(this.ha=this.Sa,this.O|=256))}},function(){var a=1,b=0,c=this.va,d=this.B.Df;this.ja&192&&(a=this.F&c,b=1,d=this.B.Ff,this.ja&256||(this.A-=this.B.Ef));if(a--){var e=te(this,this.U,this.K&c),k=ve(this,this.ya,this.I&c);this.O&4096||(Xe.call(this,e,k),e=this.T&1024?-1:1,this.K=this.K&~c|this.K+e&c,this.I=this.I&~c|this.I+e&c,this.F=this.F&~c|this.F-b&c,this.A-=d-this.B.vb,a&&ce(this)==(this.ja&64)&&(this.ha=this.Sa,this.O|=256))}},function(){var a=1,b=0,c=this.va, -d=this.B.Df;this.ja&192&&(a=this.F&c,b=1,d=this.B.Ff,this.ja&256||(this.A-=this.B.Ef));if(a--){var e=ue(this,this.U,this.K&c),k=we(this,this.ya,this.I&c);this.O&4096||(Ye.call(this,e,k),e=this.T&1024?-this.aa:this.aa,this.K=this.K&~c|this.K+e&c,this.I=this.I&~c|this.I+e&c,this.F=this.F&~c|this.F-b&c,this.A-=d-this.B.vb,a&&ce(this)==(this.ja&64)&&(this.ha=this.Sa,this.O|=256))}},function(){fe(this,this.G&this.X(),128);this.A-=this.B.sd},function(){fe(this,this.G&this.Da(),this.bb);this.A-=this.B.sd}, -function(){var a=1,b=0,c=this.va,d=this.B.cg;this.ja&192&&(a=this.F&c,b=1,d=this.B.eg,this.ja&256||(this.A-=this.B.dg));if(a--){var e=this.G;this.Hc(this.ya.Wb(this.I&c,1),e);this.O&4096||(this.I=this.I&~c|this.I+(this.T&1024?-1:1)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Sa,this.O|=256))}},function(){var a=1,b=0,c=this.va,d=this.B.cg;this.ja&192&&(a=this.F&c,b=1,d=this.B.eg,this.ja&256||(this.A-=this.B.dg));if(a--){var e=this.G;this.jd(this.ya.Wb(this.I&c,this.aa),e);this.O&4096|| -(this.I=this.I&~c|this.I+(this.T&1024?-this.aa:this.aa)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Sa,this.O|=256))}},function(){var a=1,b=0,c=this.va,d=this.B.Kf;this.ja&192&&(a=this.F&c,b=1,d=this.B.Mf,this.ja&256||(this.A-=this.B.Lf));if(a--){var e=this.Tb(this.U.gc(this.K&c,1));this.O&4096||(this.G=this.G&-256|e,this.K=this.K&~c|this.K+(this.T&1024?-1:1)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Sa,this.O|=256))}},function(){var a=1,b=0,c=this.va,d=this.B.Kf;this.ja& -192&&(a=this.F&c,b=1,d=this.B.Mf,this.ja&256||(this.A-=this.B.Lf));if(a--){var e=Gc(this,this.U,this.K&c);this.O&4096||(this.G=this.G&~this.C|e,this.K=this.K&~c|this.K+(this.T&1024?-this.aa:this.aa)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Sa,this.O|=256))}},function(){var a=1,b=0,c=this.va,d=this.B.Xf;this.ja&192&&(a=this.F&c,b=1,d=this.B.Zf,this.ja&256||(this.A-=this.B.Yf));a--&&(Xe.call(this,this.G&255,ve(this,this.ya,this.I&c)),this.O&4096||(this.I=this.I&~c|this.I+(this.T&1024? --1:1)&c,this.F=this.F&~c|this.F-b&c,this.A-=d-this.B.vb,a&&ce(this)==(this.ja&64)&&(this.ha=this.Sa,this.O|=256)))},function(){var a=1,b=0,c=this.va,d=this.B.Xf;this.ja&192&&(a=this.F&c,b=1,d=this.B.Zf,this.ja&256||(this.A-=this.B.Yf));a--&&(Ye.call(this,this.G&this.C,we(this,this.ya,this.I&c)),this.O&4096||(this.I=this.I&~c|this.I+(this.T&1024?-this.aa:this.aa)&c,this.F=this.F&~c|this.F-b&c,this.A-=d-this.B.vb,a&&ce(this)==(this.ja&64)&&(this.ha=this.Sa,this.O|=256)))},function(){this.G=this.G&-256| -this.X();this.A-=this.B.Db},function(){this.F=this.F&-256|this.X();this.A-=this.B.Db},function(){this.H=this.H&-256|this.X();this.A-=this.B.Db},function(){this.D=this.D&-256|this.X();this.A-=this.B.Db},function(){this.G=this.G&-65281|this.X()<<8;this.A-=this.B.Db},function(){this.F=this.F&-65281|this.X()<<8;this.A-=this.B.Db},function(){this.H=this.H&-65281|this.X()<<8;this.A-=this.B.Db},function(){this.D=this.D&-65281|this.X()<<8;this.A-=this.B.Db},function(){this.G=this.G&~this.C|this.Da();this.A-= -this.B.Db},function(){this.F=this.F&~this.C|this.Da();this.A-=this.B.Db},function(){this.H=this.H&~this.C|this.Da();this.A-=this.B.Db},function(){this.D=this.D&~this.C|this.Da();this.A-=this.B.Db},function(){r(this,t(this)&~this.C|this.Da());this.A-=this.B.Db},function(){this.L=this.L&~this.C|this.Da();this.A-=this.B.Db},function(){this.K=this.K&~this.C|this.Da();this.A-=this.B.Db},function(){this.I=this.I&~this.C|this.Da();this.A-=this.B.Db},Ng,Og,Ng,Og,function(){this.ta[this.X()].call(this,nf)}, -function(){this.ta[this.X()].call(this,lf)},function(){this.O|=1;this.Lc[this.X()].call(this,Vg,this.X)},function(){this.O|=1;this.Bb[this.X()].call(this,Vg,this.Da)},Pg,Qg,Pg,Qg,function(){this.T&131072&&3>this.Fb?m.call(this,13,0):(this.$b=-1,Ce.call(this,3,null,this.B.xh))},function(){var a=this.X();if(this.T&131072&&3>this.Fb)m.call(this,13,0);else{var b;a:{b=this.df[a];if(void 0!==b)for(var c=0;cthis.Fb?m.call(this,13,0):(this.$b=-1,Ce.call(this,4,null,this.B.yh)):this.A-=this.B.zh},function(){if(this.T&131072&&3>this.Fb)m.call(this,13,0);else{this.ua=this.Aa;this.A-=this.B.vh;if(this.Ba&1&&this.T&16384){var a=this.la(this.qa.Ca+0);Ec(this.ka,a,!1)}else{var a=this.Fa,b=n(this),c=n(this),d=n(this);if(this.T&131072)d=d&131071|this.T&-131072;else if(d&131072){var e=n(this),k=n(this),l=n(this),p=n(this),q=n(this),w=n(this);Fc(this,!0,!0);Dc(this,k);r(this, -e);Jc(this,l);Ic(this,p);this.lb.load(q);this.mb.load(w)}null!=Mc(this,b,c,!1)&&(Lc(this,d,a),this.zg&&Sd(this,this.ha))}this.ua=g}},function(){this.Lc[this.X()].call(this,Kg,ng)},function(){this.Bb[this.X()].call(this,2==this.aa?Lg:Mg,ng)},function(){this.Lc[this.X()].call(this,Kg,og)},function(){this.Bb[this.X()].call(this,2==this.aa?Lg:Mg,og)},function(){var a=this.X();if(a){var b=this.G&255;this.G=this.G&-65536|b/a<<8|b%a;fe(this,this.G,128);this.A-=this.B.$g}},function(){var a=this.X();this.G= -this.G&-65536|(this.G>>8&255)*a+this.G&255;fe(this,this.G,128);this.A-=this.B.Zg},function(){this.G=this.G&-256|($d(this)?255:0);this.A-=2},function(){this.G=this.G&-256|te(this,this.U,this.D+(this.G&255)&65535);this.A-=this.B.Zh},Rg,Rg,Rg,Rg,Rg,Rg,Rg,Rg,function(){var a=this.M(),b=this.F-1&this.va;this.F=this.F&~this.va|b;b&&!ce(this)?(F(this,v(this)+a),this.A-=this.B.Gh):this.A-=this.B.Nf},function(){var a=this.M(),b=this.F-1&this.va;this.F=this.F&~this.va|b;b&&ce(this)?(F(this,v(this)+a),this.A-= -this.B.Of):this.A-=this.B.Pf},function(){var a=this.M(),b=this.F-1&this.va;this.F=this.F&~this.va|b;b?(F(this,v(this)+a),this.A-=this.B.Fh):this.A-=this.B.Nf},function(){var a=this.M();this.F&this.va?this.A-=this.B.Pf:(F(this,v(this)+a),this.A-=this.B.Of)},function(){var a=this.X();re(this,a,1,!0)&&(this.G=this.G&-256|Kb(this.ma,a,1,this.ha-2)&255,this.A-=this.B.If)},function(){var a=this.X();re(this,a,this.aa,!0)&&(this.G=this.G&~this.C|Kb(this.ma,a,this.aa,this.ha-2)&this.C,this.A-=this.B.If)}, -function(){var a=this.X();re(this,a,1,!1)&&(Nb(this.ma,a,1,this.G&255,this.ha-2),this.A-=this.B.Wf)},function(){var a=this.X();re(this,a,this.aa,!1)&&(Nb(this.ma,a,this.aa,this.G&this.C,this.ha-2),this.A-=this.B.Wf)},function(){var a=this.Da(),b=v(this),a=b+a;u(this,b);F(this,a);this.A-=this.B.eh},function(){var a=this.Da();F(this,v(this)+a);this.A-=this.B.Jf},function(){Mc(this,this.Da(),xe(this));this.A-=this.B.Bh},function(){var a=this.M();F(this,v(this)+a);this.A-=this.B.Jf},function(){var a= -this.H&65535;re(this,a,1,!0)&&(this.G=this.G&-256|Kb(this.ma,a,1,this.ha-1)&255,this.A-=this.B.Hf)},function(){var a=this.H&65535;re(this,a,this.aa,!0)&&(this.G=this.G&~this.C|Kb(this.ma,a,this.aa,this.ha-1)&this.C,this.A-=this.B.Hf)},function(){var a=this.H&65535;re(this,a,1,!1)&&(Nb(this.ma,a,1,this.G&255,this.ha-1),this.A-=this.B.Vf)},function(){var a=this.H&65535;re(this,a,2,!1)&&(Nb(this.ma,a,this.aa,this.G&this.C,this.ha-1),this.A-=this.B.Vf)},Sg,Sg,function(){this.O|=132;this.A-=this.B.wc}, -function(){this.O|=68;this.A-=this.B.wc},function(){this.T&131072?m.call(this,13,0):(this.Ga|=4,this.A-=2,this.T&512||nc(this))},function(){$d(this)?he(this):ge(this);this.A-=2},function(){this.Wa=!1;this.Lc[this.X()].call(this,Wg,qg);this.Wa&&(this.G=this.G&~this.C|this.Ea&this.C)},function(){this.Wa=!1;this.Bb[this.X()].call(this,Xg,qg);this.Wa&&(this.G=this.G&~this.C|this.Ea&this.C,this.H=this.H&~this.C|this.ab&this.C)},function(){he(this);this.A-=2},function(){ge(this);this.A-=2},function(){this.Fa> -this.Fb?m.call(this,13,0):(this.T&=-513,this.A-=this.B.bh)},function(){this.Fa>this.Fb?m.call(this,13,0):(this.T|=512,this.O|=4,this.A-=2)},function(){this.T&=-1025;this.A-=2},function(){this.T|=1024;this.A-=2},function(){this.Lc[this.X()].call(this,Uc,qg)},function(){this.Bb[this.X()].call(this,Vc,qg)}],Jg=[Ge,wf,Ee,zf,Ie,cg,ig,Xe],Tg=[He,xf,Fe,Af,Je,dg,jg,Ye],Ug=[function(a,b){this.A-=this.pa===g?this.B.Nb:this.B.Rh;return b},kg,kg,kg,kg,kg,kg,kg],Vg=[function(a,b){this.A-=this.pa===g?this.B.Jh: -this.B.Hh;return b},lg,lg,lg,lg,lg,lg,lg],Kg=[function(a,b){var c=a,d=b&this.Ha;if(d){var e;(d&=7)?(e=a<>8-d)&255):e=a<<7;ke(this,c,e,128)}return c},function(a,b){var c=a,d=b&this.Ha;if(d){var e;(d&=7)?(e=a<<8-d,c=(a>>>d|e)&255):e=a;ke(this,c,e,128)}return c},function(a,b){var c=a,d=b&this.Ha;if(d){var e=le(this);(d%=9)?(c=(a<>9-d)&255,e=a<>d|e<<8-d|a<<9-d)&255,e=a<< -8-d):e<<=7;ke(this,c,e,128)}return c},function(a,b){var c=a,d=b&this.Ha;if(d){var e=0;8>>c-1,a=c>>>1&255,fe(this,a,128,c&1,a&128));return a},lg,function(a,b){var c=b&this.Ha;c&&(9>24>>c-1,a=c>>1&255,fe(this,a,128,c&1));return a}],Lg=[function(a,b){var c=a,d=b&this.Ha;if(d){var e;(d&=15)?(e=a<>16-d)&65535):e=a<<15;ke(this,c,e,32768)}return c},function(a, -b){var c=a,d=b&this.Ha;if(d){var e;(d&=15)?(e=a<<16-d,c=(a>>>d|e)&65535):e=a;ke(this,c,e,32768)}return c},function(a,b){var c=a,d=b&this.Ha;if(d){var e=le(this);(d%=17)?(c=(a<>17-d)&65535,e=a<>d|e<<16-d|a<<17-d)&65535,e=a<<16-d):e<<=15;ke(this,c,e,32768)}return c},function(a,b){var c=a,d=b&this.Ha;if(d){var e=0;16>>c-1,a=c>>>1&65535,fe(this,a,32768,c&1,a&32768));return a},lg,function(a,b){var c=b&this.Ha;c&&(17>16>>c-1,a=c>>1&65535,fe(this,a,32768,c&1));return a}],Mg=[function(a,b){var c=a,d=b&this.Ha;d&&(c=a<>>32-d,ke(this,c,a<>>d|e;ke(this,c,e,-2147483648)}return c},function(a,b){var c=a,d=b&this.Ha;d&&(c=le(this),c=a<>>32-d>>>1,ke(this,c, -a<>>d|c<<32-d|a<<32-d<<1,ke(this,c,a<<32-d,-2147483648));return c},function(a,b){var c=a,d=b&this.Ha;d&&(d=a<>>c-1,a=c>>>1,fe(this,a,-2147483648,c&1,a&-2147483648));return a},lg,function(a,b){var c=b&this.Ha;c&&(c=a>>c-1,a=c>>1,fe(this,a,-2147483648,c&1));return a}],Wg=[function(a,b){b=this.X();fe(this, -a&b,128);this.A-=this.P===g?this.B.gg:this.B.fg;this.O|=2;return a},lg,function(a){this.A-=this.P===g?this.B.he:this.B.ge;return a^255},function(a){var b=-a|0;Zd(this,0,a,b,191,!0);this.A-=this.P===g?this.B.he:this.B.ge;return b&255},function(a){this.Wa=!0;this.Ea=(this.G&255)*a&65535;this.Ea&65280?(ge(this),ie(this)):(he(this),je(this));this.A-=this.P===g?this.B.Nh:this.B.Mh;this.O|=2;return a},function(a){var b=(this.G<<24>>24)*(a<<24>>24)|0;this.Wa=!0;this.Ea=b&65535;127b?(ge(this),ie(this)): -(he(this),je(this));this.A-=this.P===g?this.B.sh:this.B.rh;this.O|=2;return a},function(a,b){if(!a)return mg.call(this),a;var c=(b=this.G&65535)/a;if(255>24,d=(b=this.G<<16>>16)/c|0;if(d!=d<<24>>24||8086==this.ga&&-128==d)return mg.call(this),a;this.Wa=!0;this.Ea=d&255|(b%c&255)<<8;this.A-=this.P===g?this.B.oh:this.B.nh;this.O|= -2;return a}],Xg=[function(a,b){b=this.Da();fe(this,a&b,this.bb);this.A-=this.P===g?this.B.gg:this.B.fg;this.O|=2;return a},lg,function(a){this.A-=this.P===g?this.B.he:this.B.ge;return a^this.C},function(a){var b=-a|0;Zd(this,0,a,b,this.bb|63,!0);this.A-=this.P===g?this.B.he:this.B.ge;return b&this.C},function(a,b){if(2==this.aa){b=this.G&65535;var c=b*a|0;this.Wa=!0;this.Ea=c&65535;this.ab=c>>16&65535}else vf.call(this,a,this.G);this.ab?(ge(this),ie(this)):(he(this),je(this));this.A-=this.P===g?this.B.Ph: -this.B.Oh;this.O|=2;return a},function(a,b){var c;if(2==this.aa)b=this.G&65535,c=(b<<16>>16)*(a<<16>>16)|0,this.Wa=!0,this.Ea=c&65535,this.ab=c>>16&65535,c=32767c;else{c=a;var d=this.G,e=!1;0>d&&(d=-d|0,e=!e);0>c&&(c=-c|0,e=!e);vf.call(this,c,d);e&&(this.Ea=~this.Ea+1|0,this.ab=~this.ab+(this.Ea?0:1)|0);c=this.ab!=this.Ea>>31}c?(ge(this),ie(this)):(he(this),je(this));this.A-=this.P===g?this.B.uh:this.B.th;this.O|=2;return a},function(a,b){if(2==this.aa){if(!a)return mg.call(this),a;b=65536* -(this.H&65535)+(this.G&65535);var c=b/a|0;if(65536<=c)return mg.call(this),a;this.Wa=!0;this.Ea=c&65535;this.ab=b%a&65535}else{af.call(this,this.G,this.H,a);if(!this.Wa)return mg.call(this),a;this.Ea|=0;this.ab|=0}this.A-=this.P===g?this.B.mh:this.B.lh;this.O|=2;return a},function(a,b){if(2==this.aa){if(!a)return mg.call(this),a;var c=a<<16>>16,d=(b=this.H<<16|this.G&65535)/c|0;if(d!=d<<16>>16||8086==this.ga&&-32768==d)return mg.call(this),a;this.Wa=!0;this.Ea=d&65535;this.ab=b%c&65535}else{var c= -this.G,d=this.H,e=a,k=!1,l=!1;0>e&&(e=-e|0,k=!k);0>d&&(c=-c|0,d=~d+(c?0:1)|0,l=!0,k=!k);af.call(this,c,d,e);2147483647this.ga&&(b=a));u(this,b);this.A-=this.P===g?this.B.ic:this.B.Th;this.O|=2;return a},kg],pd=Array(256);pd[0]=function(){var a=this.X();16>(a&56)&&(this.O|=1);this.Bb[a].call(this,this.ni,qg)}; -pd[1]=function(){var a=this.X();a&16||(this.O|=1);this.Bb[a].call(this,Yg,qg)};pd[2]=function(){!(this.Ba&1)||this.T&131072?m.call(this,6):this.ta[this.X()].call(this,kf)};pd[3]=function(){!(this.Ba&1)||this.T&131072?m.call(this,6):this.ta[this.X()].call(this,qf)}; -pd[5]=function(){this.Fa?m.call(this,13,0,!0):(qe(this,this.la(2054)),this.I=this.la(2086),this.K=this.la(2088),this.L=this.la(2090),this.D=this.la(2094),this.H=this.la(2096),this.F=this.la(2098),this.G=this.la(2100),Cc(this.ya,2102,this.la(2084)),Cc(this.ka,2108,this.la(2082)),Cc(this.fa,2114,this.la(2080)),Cc(this.Ia,2120,this.la(2078)),Lc(this,this.la(2072)),F(this,this.la(2074)),r(this,this.la(2092)),this.Zb=this.la(2126)|this.Tb(2128)<<16,this.yd=this.Zb+this.la(2130),Cc(this.Gc,2132,this.la(2076)), -this.Qb=this.la(2138)|this.Tb(2140)<<16,this.Wc=this.Qb+this.la(2142),Cc(this.qa,2144,this.la(2070)),this.A-=195)};pd[6]=function(){this.Fa?m.call(this,13,0):(this.Ba&=-9,this.A-=2)};pd[11]=Xc;pd[166]=Xc;pd[255]=Xc;var x=[];x[5]=Xc;x[7]=function(){this.Fa?m.call(this,13,0,!0):(qd.call(this),this.A-=100)}; -x[32]=function(){if(this.Fa)m.call(this,13,0);else{var a,b=this.X();switch((b&56)>>3){case 0:a=this.Ba;break;case 2:a=this.zd;break;case 3:a=this.hd;break;default:qd.call(this);return}Cd(this,b&7,a);this.A-=6}};x[33]=function(){if(this.Fa)m.call(this,13,0);else{var a=this.X(),b=(a&56)>>3;4==b||5==b?qd.call(this):(Cd(this,a&7,this.qb[b]),this.A-=22)}}; -x[34]=function(){if(this.Fa)m.call(this,13,0);else{var a=this.X(),b=Bd(this,a&7);switch((a&56)>>3){case 0:this.Ba=b;Fc(this);this.Ba&-2147483648?yd(this):Ad(this);this.A-=10;break;case 2:this.zd=b;this.A-=4;break;case 3:Nc.call(this,b);this.A-=5;break;default:qd.call(this)}}};x[35]=function(){if(this.Fa)m.call(this,13,0);else{var a=this.X(),b=(a&56)>>3;4==b||5==b?qd.call(this):(a=Bd(this,a&7),a!=this.qb[b]&&(Td(this,!1),this.qb[b]=a,Td(this,!0)),this.A-=4>b?22:14)}}; -x[36]=function(){if(this.Fa)m.call(this,13,0);else{var a=this.X(),b=(a&56)>>3;6>b?qd.call(this):(Cd(this,a&7,this.hf[b]),this.A-=12)}};x[38]=function(){if(this.Fa)m.call(this,13,0);else{var a=this.X(),b=(a&56)>>3;6>b?qd.call(this):(this.hf[b]=Bd(this,a&7),this.A-=12)}};x[128]=function(){var a=this.Da();ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[129]=function(){var a=this.Da();ee(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}; -x[130]=function(){var a=this.Da();$d(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[131]=function(){var a=this.Da();$d(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)};x[132]=function(){var a=this.Da();ce(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[133]=function(){var a=this.Da();ce(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)};x[134]=function(){var a=this.Da();$d(this)||ce(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma}; -x[135]=function(){var a=this.Da();$d(this)||ce(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)};x[136]=function(){var a=this.Da();de(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[137]=function(){var a=this.Da();de(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)};x[138]=function(){var a=this.Da();ae(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[139]=function(){var a=this.Da();ae(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}; -x[140]=function(){var a=this.Da();!de(this)!=!ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[141]=function(){var a=this.Da();!de(this)==!ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[142]=function(){var a=this.Da();ce(this)||!de(this)!=!ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[143]=function(){var a=this.Da();ce(this)||!de(this)!=!ee(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)};x[144]=function(){Bf.call(this,Cf)}; -x[145]=function(){Bf.call(this,Cf)};x[146]=function(){Bf.call(this,Df)};x[147]=function(){Bf.call(this,Ef)};x[148]=function(){Bf.call(this,Ff)};x[149]=function(){Bf.call(this,Gf)};x[150]=function(){Bf.call(this,Hf)};x[151]=function(){Bf.call(this,If)};x[152]=function(){Bf.call(this,Jf)};x[153]=function(){Bf.call(this,Kf)};x[154]=function(){Bf.call(this,Lf)};x[155]=function(){Bf.call(this,Mf)};x[156]=function(){Bf.call(this,Nf)};x[157]=function(){Bf.call(this,Of)};x[158]=function(){Bf.call(this,Pf)}; -x[159]=function(){Bf.call(this,Qf)};x[160]=function(){u(this,this.lb.oa);this.A-=this.B.td};x[161]=function(){this.ua=this.Aa;var a=n(this);this.lb.load(a);this.A-=this.B.Nb;this.ua=g};x[163]=function(){this.Ka[this.X()].call(this,Se);this.P!==g&&(this.A-=6)};x[164]=function(){this.Ka[this.X()].call(this,2==this.aa?Tf:Uf);this.A-=this.P===g?3:7};x[165]=function(){this.Ka[this.X()].call(this,2==this.aa?Vf:Wf);this.A-=this.P===g?3:7};x[168]=function(){u(this,this.mb.oa);this.A-=this.B.td}; -x[169]=function(){this.ua=this.Aa;var a=n(this);this.mb.load(a);this.A-=this.B.Nb;this.ua=g};x[171]=function(){this.Ka[this.X()].call(this,Ve);this.P!==g&&(this.A-=5)};x[172]=function(){this.Ka[this.X()].call(this,2==this.aa?Zf:$f);this.A-=this.P===g?3:7};x[173]=function(){this.Ka[this.X()].call(this,2==this.aa?ag:bg);this.A-=this.P===g?3:7};x[175]=function(){this.ta[this.X()].call(this,2==this.aa?gf:hf)};x[178]=function(){this.ta[this.X()].call(this,rf)}; -x[179]=function(){this.Ka[this.X()].call(this,Ue);this.P!==g&&(this.A-=5)};x[180]=function(){this.ta[this.X()].call(this,of)};x[181]=function(){this.ta[this.X()].call(this,pf)}; -x[182]=function(){var a,b=this.X(),c=(b&56)>>3;switch(c){case 4:a=this.G;break;case 5:a=this.F;break;case 6:a=this.H;break;case 7:a=this.D}this.Cb[b].call(this,tf);switch(c){case 0:this.G=this.G&~this.C|this.G&255;break;case 1:this.F=this.F&~this.C|this.F&255;break;case 2:this.H=this.H&~this.C|this.H&255;break;case 3:this.D=this.D&~this.C|this.D&255;break;case 4:this.Rb=this.Rb&~this.C|this.G>>8&255;this.G=a;break;case 5:this.L=this.L&~this.C|this.F>>8&255;this.F=a;break;case 6:this.K=this.K&~this.C| -this.H>>8&255;this.H=a;break;case 7:this.I=this.I&~this.C|this.D>>8&255,this.D=a}this.A-=this.P===g?3:6};x[183]=function(){var a=this.X();Nd(this);this.ta[a].call(this,tf);switch((a&56)>>3){case 0:this.G=this.G&65535;break;case 1:this.F=this.F&65535;break;case 2:this.H=this.H&65535;break;case 3:this.D=this.D&65535;break;case 4:this.Rb=this.Rb&65535;break;case 5:this.L=this.L&65535;break;case 6:this.K=this.K&65535;break;case 7:this.I=this.I&65535}this.A-=this.P===g?3:6}; -x[186]=function(){this.Bb[this.X()].call(this,Zg,this.X)};x[187]=function(){this.Ka[this.X()].call(this,Te);this.P!==g&&(this.A-=5)};x[188]=function(){this.ta[this.X()].call(this,Me)};x[189]=function(){this.ta[this.X()].call(this,Ne)}; -x[190]=function(){var a,b=this.X(),c=(b&56)>>3;switch(c){case 4:a=this.G;break;case 5:a=this.F;break;case 6:a=this.H;break;case 7:a=this.D}this.Cb[b].call(this,tf);switch(c){case 0:this.G=this.G&~this.C|(this.G&255)<<24>>24&this.C;break;case 1:this.F=this.F&~this.C|(this.F&255)<<24>>24&this.C;break;case 2:this.H=this.H&~this.C|(this.H&255)<<24>>24&this.C;break;case 3:this.D=this.D&~this.C|(this.D&255)<<24>>24&this.C;break;case 4:this.Rb=this.Rb&~this.C|this.G<<16>>24&this.C;this.G=a;break;case 5:this.L= +function(){var a=this.G&-256,b;b=S(this);b=this.Ub(this.U.gc(b,1));this.G=a|b;this.A-=this.B.Rf},function(){this.G=this.G&~this.C|Hc(this,this.U,S(this));this.A-=this.B.Rf},function(){var a=S(this),b=this.G;this.Hc(this.U.Yb(a,1),b);this.A-=this.B.Sf},function(){var a=S(this),b=this.G;this.jd(this.U.Yb(a,this.ba),b);this.A-=this.B.Sf},function(){var a=1,b=0,c=this.va,d=this.B.Tf;this.ia&192&&(a=this.F&c,b=1,d=this.B.Vf,this.ia&256||(this.A-=this.B.Uf));if(a--){var e=this.Ub(this.U.gc(this.K&c,1)); +this.Hc(this.za.Yb(this.I&c,1),e);this.O&4096||(e=this.T&1024?-1:1,this.K=this.K&~c|this.K+e&c,this.I=this.I&~c|this.I+e&c,this.A-=d,this.F=this.F&~c|this.F-b&c,a&&(this.ha=this.Ta,this.O|=256))}},function(){var a=1,b=0,c=this.va,d=this.B.Tf;this.ia&192&&(a=this.F&c,b=1,d=this.B.Vf,this.ia&256||(this.A-=this.B.Uf));if(a--){var e=Hc(this,this.U,this.K&c);this.jd(this.za.Yb(this.I&c,this.ba),e);this.O&4096||(e=this.T&1024?-this.ba:this.ba,this.K=this.K&~c|this.K+e&c,this.I=this.I&~c|this.I+e&c,this.A-= +d,this.F=this.F&~c|this.F-b&c,a&&(this.ha=this.Ta,this.O|=256))}},function(){var a=1,b=0,c=this.va,d=this.B.Ef;this.ia&192&&(a=this.F&c,b=1,d=this.B.Gf,this.ia&256||(this.A-=this.B.Ff));if(a--){var e=te(this,this.U,this.K&c),k=ve(this,this.za,this.I&c);this.O&4096||(Xe.call(this,e,k),e=this.T&1024?-1:1,this.K=this.K&~c|this.K+e&c,this.I=this.I&~c|this.I+e&c,this.F=this.F&~c|this.F-b&c,this.A-=d-this.B.vb,a&&ce(this)==(this.ia&64)&&(this.ha=this.Ta,this.O|=256))}},function(){var a=1,b=0,c=this.va, +d=this.B.Ef;this.ia&192&&(a=this.F&c,b=1,d=this.B.Gf,this.ia&256||(this.A-=this.B.Ff));if(a--){var e=ue(this,this.U,this.K&c),k=we(this,this.za,this.I&c);this.O&4096||(Ye.call(this,e,k),e=this.T&1024?-this.ba:this.ba,this.K=this.K&~c|this.K+e&c,this.I=this.I&~c|this.I+e&c,this.F=this.F&~c|this.F-b&c,this.A-=d-this.B.vb,a&&ce(this)==(this.ia&64)&&(this.ha=this.Ta,this.O|=256))}},function(){fe(this,this.G&this.X(),128);this.A-=this.B.sd},function(){fe(this,this.G&this.Ea(),this.bb);this.A-=this.B.sd}, +function(){var a=1,b=0,c=this.va,d=this.B.dg;this.ia&192&&(a=this.F&c,b=1,d=this.B.fg,this.ia&256||(this.A-=this.B.eg));if(a--){var e=this.G;this.Hc(this.za.Yb(this.I&c,1),e);this.O&4096||(this.I=this.I&~c|this.I+(this.T&1024?-1:1)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Ta,this.O|=256))}},function(){var a=1,b=0,c=this.va,d=this.B.dg;this.ia&192&&(a=this.F&c,b=1,d=this.B.fg,this.ia&256||(this.A-=this.B.eg));if(a--){var e=this.G;this.jd(this.za.Yb(this.I&c,this.ba),e);this.O&4096|| +(this.I=this.I&~c|this.I+(this.T&1024?-this.ba:this.ba)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Ta,this.O|=256))}},function(){var a=1,b=0,c=this.va,d=this.B.Lf;this.ia&192&&(a=this.F&c,b=1,d=this.B.Nf,this.ia&256||(this.A-=this.B.Mf));if(a--){var e=this.Ub(this.U.gc(this.K&c,1));this.O&4096||(this.G=this.G&-256|e,this.K=this.K&~c|this.K+(this.T&1024?-1:1)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Ta,this.O|=256))}},function(){var a=1,b=0,c=this.va,d=this.B.Lf;this.ia& +192&&(a=this.F&c,b=1,d=this.B.Nf,this.ia&256||(this.A-=this.B.Mf));if(a--){var e=Hc(this,this.U,this.K&c);this.O&4096||(this.G=this.G&~this.C|e,this.K=this.K&~c|this.K+(this.T&1024?-this.ba:this.ba)&c,this.F=this.F&~c|this.F-b&c,this.A-=d,a&&(this.ha=this.Ta,this.O|=256))}},function(){var a=1,b=0,c=this.va,d=this.B.Yf;this.ia&192&&(a=this.F&c,b=1,d=this.B.$f,this.ia&256||(this.A-=this.B.Zf));a--&&(Xe.call(this,this.G&255,ve(this,this.za,this.I&c)),this.O&4096||(this.I=this.I&~c|this.I+(this.T&1024? +-1:1)&c,this.F=this.F&~c|this.F-b&c,this.A-=d-this.B.vb,a&&ce(this)==(this.ia&64)&&(this.ha=this.Ta,this.O|=256)))},function(){var a=1,b=0,c=this.va,d=this.B.Yf;this.ia&192&&(a=this.F&c,b=1,d=this.B.$f,this.ia&256||(this.A-=this.B.Zf));a--&&(Ye.call(this,this.G&this.C,we(this,this.za,this.I&c)),this.O&4096||(this.I=this.I&~c|this.I+(this.T&1024?-this.ba:this.ba)&c,this.F=this.F&~c|this.F-b&c,this.A-=d-this.B.vb,a&&ce(this)==(this.ia&64)&&(this.ha=this.Ta,this.O|=256)))},function(){this.G=this.G&-256| +this.X();this.A-=this.B.Db},function(){this.F=this.F&-256|this.X();this.A-=this.B.Db},function(){this.H=this.H&-256|this.X();this.A-=this.B.Db},function(){this.D=this.D&-256|this.X();this.A-=this.B.Db},function(){this.G=this.G&-65281|this.X()<<8;this.A-=this.B.Db},function(){this.F=this.F&-65281|this.X()<<8;this.A-=this.B.Db},function(){this.H=this.H&-65281|this.X()<<8;this.A-=this.B.Db},function(){this.D=this.D&-65281|this.X()<<8;this.A-=this.B.Db},function(){this.G=this.G&~this.C|this.Ea();this.A-= +this.B.Db},function(){this.F=this.F&~this.C|this.Ea();this.A-=this.B.Db},function(){this.H=this.H&~this.C|this.Ea();this.A-=this.B.Db},function(){this.D=this.D&~this.C|this.Ea();this.A-=this.B.Db},function(){r(this,t(this)&~this.C|this.Ea());this.A-=this.B.Db},function(){this.L=this.L&~this.C|this.Ea();this.A-=this.B.Db},function(){this.K=this.K&~this.C|this.Ea();this.A-=this.B.Db},function(){this.I=this.I&~this.C|this.Ea();this.A-=this.B.Db},Og,Pg,Og,Pg,function(){this.ta[this.X()].call(this,pf)}, +function(){this.ta[this.X()].call(this,nf)},function(){this.O|=1;this.Lc[this.X()].call(this,Wg,this.X)},function(){this.O|=1;this.Bb[this.X()].call(this,Wg,this.Ea)},Qg,Rg,Qg,Rg,function(){if(this.T&131072&&3>this.Fb)m.call(this,13,0);else{var a=this.B.xh;this.Rb=-1;Ce.call(this,3,null,a)}},function(){var a=this.X();if(this.T&131072&&3>this.Fb)m.call(this,13,0);else{var b;a:{b=this.ef[a];if(void 0!==b)for(var c=0;cthis.Fb)m.call(this,13,0);else{var a=this.B.yh;this.Rb=-1;Ce.call(this,4,null,a)}else this.A-=this.B.zh},function(){if(this.T&131072&&3>this.Fb)m.call(this,13,0);else{this.ua=this.Ba;this.A-=this.B.vh;if(this.Ca&1&&this.T&16384){var a=this.la(this.qa.Da+0);Ec(this.ka,a,!1)}else{var a=this.Ga,b=n(this),c=n(this),d=n(this);if(this.T&131072)d=d&131071|this.T&-131072;else if(d&131072){var e=n(this),k=n(this),l=n(this),p=n(this),q=n(this),w=n(this); +Fc(this,!0,!0);Dc(this,k);r(this,e);Jc(this,l);Ic(this,p);this.lb.load(q);this.mb.load(w)}null!=Mc(this,b,c,!1)&&(Lc(this,d,a),this.zg&&Sd(this,this.ha))}this.ua=g}},function(){this.Lc[this.X()].call(this,Lg,og)},function(){this.Bb[this.X()].call(this,2==this.ba?Mg:Ng,og)},function(){this.Lc[this.X()].call(this,Lg,pg)},function(){this.Bb[this.X()].call(this,2==this.ba?Mg:Ng,pg)},function(){var a=this.X();if(a){var b=this.G&255;this.G=this.G&-65536|b/a<<8|b%a;fe(this,this.G,128);this.A-=this.B.$g}}, +function(){var a=this.X();this.G=this.G&-65536|(this.G>>8&255)*a+this.G&255;fe(this,this.G,128);this.A-=this.B.Zg},function(){this.G=this.G&-256|($d(this)?255:0);this.A-=2},function(){this.G=this.G&-256|te(this,this.U,this.D+(this.G&255)&65535);this.A-=this.B.Zh},Sg,Sg,Sg,Sg,Sg,Sg,Sg,Sg,function(){var a=this.M(),b=this.F-1&this.va;this.F=this.F&~this.va|b;b&&!ce(this)?(F(this,v(this)+a),this.A-=this.B.Gh):this.A-=this.B.Of},function(){var a=this.M(),b=this.F-1&this.va;this.F=this.F&~this.va|b;b&& +ce(this)?(F(this,v(this)+a),this.A-=this.B.Pf):this.A-=this.B.Qf},function(){var a=this.M(),b=this.F-1&this.va;this.F=this.F&~this.va|b;b?(F(this,v(this)+a),this.A-=this.B.Fh):this.A-=this.B.Of},function(){var a=this.M();this.F&this.va?this.A-=this.B.Qf:(F(this,v(this)+a),this.A-=this.B.Pf)},function(){var a=this.X();re(this,a,1,!0)&&(this.G=this.G&-256|Kb(this.ma,a,1,this.ha-2)&255,this.A-=this.B.Jf)},function(){var a=this.X();re(this,a,this.ba,!0)&&(this.G=this.G&~this.C|Kb(this.ma,a,this.ba,this.ha- +2)&this.C,this.A-=this.B.Jf)},function(){var a=this.X();re(this,a,1,!1)&&(Nb(this.ma,a,1,this.G&255,this.ha-2),this.A-=this.B.Xf)},function(){var a=this.X();re(this,a,this.ba,!1)&&(Nb(this.ma,a,this.ba,this.G&this.C,this.ha-2),this.A-=this.B.Xf)},function(){var a=this.Ea(),b=v(this),a=b+a;u(this,b);F(this,a);this.A-=this.B.eh},function(){var a=this.Ea();F(this,v(this)+a);this.A-=this.B.Kf},function(){Mc(this,this.Ea(),xe(this));this.A-=this.B.Bh},function(){var a=this.M();F(this,v(this)+a);this.A-= +this.B.Kf},function(){var a=this.H&65535;re(this,a,1,!0)&&(this.G=this.G&-256|Kb(this.ma,a,1,this.ha-1)&255,this.A-=this.B.If)},function(){var a=this.H&65535;re(this,a,this.ba,!0)&&(this.G=this.G&~this.C|Kb(this.ma,a,this.ba,this.ha-1)&this.C,this.A-=this.B.If)},function(){var a=this.H&65535;re(this,a,1,!1)&&(Nb(this.ma,a,1,this.G&255,this.ha-1),this.A-=this.B.Wf)},function(){var a=this.H&65535;re(this,a,2,!1)&&(Nb(this.ma,a,this.ba,this.G&this.C,this.ha-1),this.A-=this.B.Wf)},Tg,Tg,function(){this.O|= +132;this.A-=this.B.wc},function(){this.O|=68;this.A-=this.B.wc},function(){this.T&131072?m.call(this,13,0):(this.Fa|=4,this.A-=2,this.T&512||nc(this))},function(){$d(this)?he(this):ge(this);this.A-=2},function(){this.Oa=!1;this.Lc[this.X()].call(this,Xg,rg);this.Oa&&(this.G=this.G&~this.C|this.ya&this.C)},function(){this.Oa=!1;this.Bb[this.X()].call(this,Yg,rg);this.Oa&&(this.G=this.G&~this.C|this.ya&this.C,this.H=this.H&~this.C|this.Ua&this.C)},function(){he(this);this.A-=2},function(){ge(this); +this.A-=2},function(){this.Ga>this.Fb?m.call(this,13,0):(this.T&=-513,this.A-=this.B.bh)},function(){this.Ga>this.Fb?m.call(this,13,0):(this.T|=512,this.O|=4,this.A-=2)},function(){this.T&=-1025;this.A-=2},function(){this.T|=1024;this.A-=2},function(){this.Lc[this.X()].call(this,Uc,rg)},function(){this.Bb[this.X()].call(this,Vc,rg)}],Kg=[Ge,xf,Ee,Af,Ie,dg,jg,Xe],Ug=[He,yf,Fe,Bf,Je,eg,kg,Ye],Vg=[function(a,b){this.A-=this.pa===g?this.B.Nb:this.B.Rh;return b},lg,lg,lg,lg,lg,lg,lg],Wg=[function(a,b){this.A-= +this.pa===g?this.B.Jh:this.B.Hh;return b},mg,mg,mg,mg,mg,mg,mg],Lg=[function(a,b){var c=a,d=b&this.Ha;if(d){var e;(d&=7)?(e=a<>8-d)&255):e=a<<7;ke(this,c,e,128)}return c},function(a,b){var c=a,d=b&this.Ha;if(d){var e;(d&=7)?(e=a<<8-d,c=(a>>>d|e)&255):e=a;ke(this,c,e,128)}return c},function(a,b){var c=a,d=b&this.Ha;if(d){var e=le(this);(d%=9)?(c=(a<>9-d)&255,e=a<>d| +e<<8-d|a<<9-d)&255,e=a<<8-d):e<<=7;ke(this,c,e,128)}return c},function(a,b){var c=a,d=b&this.Ha;if(d){var e=0;8>>c-1,a=c>>>1&255,fe(this,a,128,c&1,a&128));return a},mg,function(a,b){var c=b&this.Ha;c&&(9>24>>c-1,a=c>>1&255,fe(this,a,128,c&1));return a}],Mg=[function(a,b){var c=a,d=b&this.Ha;if(d){var e;(d&=15)?(e=a<>16-d)&65535):e=a<<15;ke(this,c,e,32768)}return c}, +function(a,b){var c=a,d=b&this.Ha;if(d){var e;(d&=15)?(e=a<<16-d,c=(a>>>d|e)&65535):e=a;ke(this,c,e,32768)}return c},function(a,b){var c=a,d=b&this.Ha;if(d){var e=le(this);(d%=17)?(c=(a<>17-d)&65535,e=a<>d|e<<16-d|a<<17-d)&65535,e=a<<16-d):e<<=15;ke(this,c,e,32768)}return c},function(a,b){var c=a,d=b&this.Ha;if(d){var e=0;16>>c-1,a=c>>>1&65535,fe(this,a,32768,c&1,a&32768));return a},mg,function(a,b){var c=b&this.Ha;c&&(17>16>>c-1,a=c>>1&65535,fe(this,a,32768,c&1));return a}],Ng=[function(a,b){var c=a,d=b&this.Ha;d&&(c=a<>>32-d,ke(this,c,a<>>d|e;ke(this,c,e,-2147483648)}return c},function(a,b){var c=a,d=b&this.Ha;d&&(c=le(this),c=a<>>32-d>>>1,ke(this,c,a<>>d|c<<32-d|a<<32-d<<1,ke(this,c,a<<32-d,-2147483648));return c},function(a,b){var c=a,d=b&this.Ha;d&&(d=a<>>c-1,a=c>>>1,fe(this,a,-2147483648,c&1,a&-2147483648));return a},mg,function(a,b){var c=b&this.Ha;c&&(c=a>>c-1,a=c>>1,fe(this,a,-2147483648,c&1));return a}],Xg=[function(a, +b){b=this.X();fe(this,a&b,128);this.A-=this.P===g?this.B.hg:this.B.gg;this.O|=2;return a},mg,function(a){this.A-=this.P===g?this.B.ie:this.B.he;return a^255},function(a){var b=-a|0;Zd(this,0,a,b,191,!0);this.A-=this.P===g?this.B.ie:this.B.he;return b&255},function(a){this.Oa=!0;this.ya=(this.G&255)*a&65535;this.ya&65280?(ge(this),ie(this)):(he(this),je(this));this.A-=this.P===g?this.B.Nh:this.B.Mh;this.O|=2;return a},function(a){var b=(this.G<<24>>24)*(a<<24>>24)|0;this.Oa=!0;this.ya=b&65535;127< +b||-128>b?(ge(this),ie(this)):(he(this),je(this));this.A-=this.P===g?this.B.sh:this.B.rh;this.O|=2;return a},function(a,b){if(!a)return ng.call(this),a;var c=(b=this.G&65535)/a;if(255>24,d=(b=this.G<<16>>16)/c|0;if(d!=d<<24>>24||8086==this.ga&&-128==d)return ng.call(this),a;this.Oa=!0;this.ya=d&255|(b%c&255)<<8;this.A-=this.P=== +g?this.B.oh:this.B.nh;this.O|=2;return a}],Yg=[function(a,b){b=this.Ea();fe(this,a&b,this.bb);this.A-=this.P===g?this.B.hg:this.B.gg;this.O|=2;return a},mg,function(a){this.A-=this.P===g?this.B.ie:this.B.he;return a^this.C},function(a){var b=-a|0;Zd(this,0,a,b,this.bb|63,!0);this.A-=this.P===g?this.B.ie:this.B.he;return b&this.C},function(a,b){if(2==this.ba){b=this.G&65535;var c=b*a|0;this.Oa=!0;this.ya=c&65535;this.Ua=c>>16&65535}else hf.call(this,a,this.G);this.Ua?(ge(this),ie(this)):(he(this), +je(this));this.A-=this.P===g?this.B.Ph:this.B.Oh;this.O|=2;return a},function(a,b){var c;2==this.ba?(b=this.G&65535,c=(b<<16>>16)*(a<<16>>16)|0,this.Oa=!0,this.ya=c&65535,this.Ua=c>>16&65535,c=32767c):(gf.call(this,a,this.G),c=this.Ua!=this.ya>>31);c?(ge(this),ie(this)):(he(this),je(this));this.A-=this.P===g?this.B.uh:this.B.th;this.O|=2;return a},function(a,b){if(2==this.ba){if(!a)return ng.call(this),a;b=65536*(this.H&65535)+(this.G&65535);var c=b/a|0;if(65536<=c)return ng.call(this), +a;this.Oa=!0;this.ya=c&65535;this.Ua=b%a&65535}else{af.call(this,this.G,this.H,a);if(!this.Oa)return ng.call(this),a;this.ya|=0;this.Ua|=0}this.A-=this.P===g?this.B.mh:this.B.lh;this.O|=2;return a},function(a,b){if(2==this.ba){if(!a)return ng.call(this),a;var c=a<<16>>16,d=(b=this.H<<16|this.G&65535)/c|0;if(d!=d<<16>>16||8086==this.ga&&-32768==d)return ng.call(this),a;this.Oa=!0;this.ya=d&65535;this.Ua=b%c&65535}else{var c=this.G,d=this.H,e=a,k=!1,l=!1;0>e&&(e=-e|0,k=!k);0>d&&(c=-c|0,d=~d+(c?0:1)| +0,l=!0,k=!k);af.call(this,c,d,e);2147483647this.ga&&(b=a));u(this,b);this.A-=this.P===g?this.B.ic:this.B.Th;this.O|=2;return a},lg],pd=Array(256);pd[0]=function(){var a=this.X();16>(a&56)&&(this.O|=1);this.Bb[a].call(this,this.ni,rg)};pd[1]=function(){var a=this.X();a&16||(this.O|=1);this.Bb[a].call(this,Zg,rg)}; +pd[2]=function(){!(this.Ca&1)||this.T&131072?m.call(this,6):this.ta[this.X()].call(this,mf)};pd[3]=function(){!(this.Ca&1)||this.T&131072?m.call(this,6):this.ta[this.X()].call(this,sf)}; +pd[5]=function(){this.Ga?m.call(this,13,0,0,!0):(qe(this,this.la(2054)),this.I=this.la(2086),this.K=this.la(2088),this.L=this.la(2090),this.D=this.la(2094),this.H=this.la(2096),this.F=this.la(2098),this.G=this.la(2100),Cc(this.za,2102,this.la(2084)),Cc(this.ka,2108,this.la(2082)),Cc(this.fa,2114,this.la(2080)),Cc(this.Ia,2120,this.la(2078)),Lc(this,this.la(2072)),F(this,this.la(2074)),r(this,this.la(2092)),this.ac=this.la(2126)|this.Ub(2128)<<16,this.yd=this.ac+this.la(2130),Cc(this.Gc,2132,this.la(2076)), +this.Qb=this.la(2138)|this.Ub(2140)<<16,this.Wc=this.Qb+this.la(2142),Cc(this.qa,2144,this.la(2070)),this.A-=195)};pd[6]=function(){this.Ga?m.call(this,13,0):(this.Ca&=-9,this.A-=2)};pd[11]=Xc;pd[166]=Xc;pd[255]=Xc;var x=[];x[5]=Xc;x[7]=function(){this.Ga?m.call(this,13,0,0,!0):(qd.call(this),this.A-=100)}; +x[32]=function(){if(this.Ga)m.call(this,13,0);else{var a,b=this.X();switch((b&56)>>3){case 0:a=this.Ca;break;case 2:a=this.Ad;break;case 3:a=this.hd;break;default:qd.call(this);return}Cd(this,b&7,a);this.A-=6}};x[33]=function(){if(this.Ga)m.call(this,13,0);else{var a=this.X(),b=(a&56)>>3;4==b||5==b?qd.call(this):(Cd(this,a&7,this.qb[b]),this.A-=22)}}; +x[34]=function(){if(this.Ga)m.call(this,13,0);else{var a=this.X(),b=Bd(this,a&7);switch((a&56)>>3){case 0:this.Ca=b;Fc(this);this.Ca&-2147483648?yd(this):Ad(this);this.A-=10;break;case 2:this.Ad=b;this.A-=4;break;case 3:Nc.call(this,b);this.A-=5;break;default:qd.call(this)}}};x[35]=function(){if(this.Ga)m.call(this,13,0);else{var a=this.X(),b=(a&56)>>3;4==b||5==b?qd.call(this):(a=Bd(this,a&7),a!=this.qb[b]&&(Td(this,!1),this.qb[b]=a,Td(this,!0)),this.A-=4>b?22:14)}}; +x[36]=function(){if(this.Ga)m.call(this,13,0);else{var a=this.X(),b=(a&56)>>3;6>b?qd.call(this):(Cd(this,a&7,this.jf[b]),this.A-=12)}};x[38]=function(){if(this.Ga)m.call(this,13,0);else{var a=this.X(),b=(a&56)>>3;6>b?qd.call(this):(this.jf[b]=Bd(this,a&7),this.A-=12)}};x[128]=function(){var a=this.Ea();ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[129]=function(){var a=this.Ea();ee(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}; +x[130]=function(){var a=this.Ea();$d(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[131]=function(){var a=this.Ea();$d(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)};x[132]=function(){var a=this.Ea();ce(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[133]=function(){var a=this.Ea();ce(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)};x[134]=function(){var a=this.Ea();$d(this)||ce(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma}; +x[135]=function(){var a=this.Ea();$d(this)||ce(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)};x[136]=function(){var a=this.Ea();de(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[137]=function(){var a=this.Ea();de(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)};x[138]=function(){var a=this.Ea();ae(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[139]=function(){var a=this.Ea();ae(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)}; +x[140]=function(){var a=this.Ea();!de(this)!=!ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[141]=function(){var a=this.Ea();!de(this)==!ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[142]=function(){var a=this.Ea();ce(this)||!de(this)!=!ee(this)?(F(this,v(this)+a),this.A-=this.B.La):this.A-=this.B.Ma};x[143]=function(){var a=this.Ea();ce(this)||!de(this)!=!ee(this)?this.A-=this.B.Ma:(F(this,v(this)+a),this.A-=this.B.La)};x[144]=function(){Cf.call(this,Df)}; +x[145]=function(){Cf.call(this,Df)};x[146]=function(){Cf.call(this,Ef)};x[147]=function(){Cf.call(this,Ff)};x[148]=function(){Cf.call(this,Gf)};x[149]=function(){Cf.call(this,Hf)};x[150]=function(){Cf.call(this,If)};x[151]=function(){Cf.call(this,Jf)};x[152]=function(){Cf.call(this,Kf)};x[153]=function(){Cf.call(this,Lf)};x[154]=function(){Cf.call(this,Mf)};x[155]=function(){Cf.call(this,Nf)};x[156]=function(){Cf.call(this,Of)};x[157]=function(){Cf.call(this,Pf)};x[158]=function(){Cf.call(this,Qf)}; +x[159]=function(){Cf.call(this,Rf)};x[160]=function(){u(this,this.lb.oa);this.A-=this.B.td};x[161]=function(){this.ua=this.Ba;var a=n(this);this.lb.load(a);this.A-=this.B.Nb;this.ua=g};x[163]=function(){this.Ka[this.X()].call(this,Se);this.P!==g&&(this.A-=6)};x[164]=function(){this.Ka[this.X()].call(this,2==this.ba?Uf:Vf);this.A-=this.P===g?3:7};x[165]=function(){this.Ka[this.X()].call(this,2==this.ba?Wf:Xf);this.A-=this.P===g?3:7};x[168]=function(){u(this,this.mb.oa);this.A-=this.B.td}; +x[169]=function(){this.ua=this.Ba;var a=n(this);this.mb.load(a);this.A-=this.B.Nb;this.ua=g};x[171]=function(){this.Ka[this.X()].call(this,Ve);this.P!==g&&(this.A-=5)};x[172]=function(){this.Ka[this.X()].call(this,2==this.ba?$f:ag);this.A-=this.P===g?3:7};x[173]=function(){this.Ka[this.X()].call(this,2==this.ba?bg:cg);this.A-=this.P===g?3:7};x[175]=function(){this.ta[this.X()].call(this,2==this.ba?jf:kf)};x[178]=function(){this.ta[this.X()].call(this,tf)}; +x[179]=function(){this.Ka[this.X()].call(this,Ue);this.P!==g&&(this.A-=5)};x[180]=function(){this.ta[this.X()].call(this,qf)};x[181]=function(){this.ta[this.X()].call(this,rf)}; +x[182]=function(){var a,b=this.X(),c=(b&56)>>3;switch(c){case 4:a=this.G;break;case 5:a=this.F;break;case 6:a=this.H;break;case 7:a=this.D}this.Cb[b].call(this,vf);switch(c){case 0:this.G=this.G&~this.C|this.G&255;break;case 1:this.F=this.F&~this.C|this.F&255;break;case 2:this.H=this.H&~this.C|this.H&255;break;case 3:this.D=this.D&~this.C|this.D&255;break;case 4:this.Tb=this.Tb&~this.C|this.G>>8&255;this.G=a;break;case 5:this.L=this.L&~this.C|this.F>>8&255;this.F=a;break;case 6:this.K=this.K&~this.C| +this.H>>8&255;this.H=a;break;case 7:this.I=this.I&~this.C|this.D>>8&255,this.D=a}this.A-=this.P===g?3:6};x[183]=function(){var a=this.X();Gc(this,2);this.ta[a].call(this,vf);switch((a&56)>>3){case 0:this.G=this.G&65535;break;case 1:this.F=this.F&65535;break;case 2:this.H=this.H&65535;break;case 3:this.D=this.D&65535;break;case 4:this.Tb=this.Tb&65535;break;case 5:this.L=this.L&65535;break;case 6:this.K=this.K&65535;break;case 7:this.I=this.I&65535}this.A-=this.P===g?3:6}; +x[186]=function(){this.Bb[this.X()].call(this,$g,this.X)};x[187]=function(){this.Ka[this.X()].call(this,Te);this.P!==g&&(this.A-=5)};x[188]=function(){this.ta[this.X()].call(this,Me)};x[189]=function(){this.ta[this.X()].call(this,Ne)}; +x[190]=function(){var a,b=this.X(),c=(b&56)>>3;switch(c){case 4:a=this.G;break;case 5:a=this.F;break;case 6:a=this.H;break;case 7:a=this.D}this.Cb[b].call(this,vf);switch(c){case 0:this.G=this.G&~this.C|(this.G&255)<<24>>24&this.C;break;case 1:this.F=this.F&~this.C|(this.F&255)<<24>>24&this.C;break;case 2:this.H=this.H&~this.C|(this.H&255)<<24>>24&this.C;break;case 3:this.D=this.D&~this.C|(this.D&255)<<24>>24&this.C;break;case 4:this.Tb=this.Tb&~this.C|this.G<<16>>24&this.C;this.G=a;break;case 5:this.L= this.L&~this.C|this.F<<16>>24&this.C;this.F=a;break;case 6:this.K=this.K&~this.C|this.H<<16>>24&this.C;this.H=a;break;case 7:this.I=this.I&~this.C|this.D<<16>>24&this.C,this.D=a}this.A-=this.P===g?3:6}; -x[191]=function(){var a=this.X();Nd(this);this.ta[a].call(this,tf);switch((a&56)>>3){case 0:this.G=this.G<<16>>16;break;case 1:this.F=this.F<<16>>16;break;case 2:this.H=this.H<<16>>16;break;case 3:this.D=this.D<<16>>16;break;case 4:this.Rb=this.Rb<<16>>16;break;case 5:this.L=this.L<<16>>16;break;case 6:this.K=this.K<<16>>16;break;case 7:this.I=this.I<<16>>16}this.A-=this.P===g?3:6}; -var Ud=[function(){this.A-=2+(this.P===g?0:1);return this.Gc.oa},function(){this.A-=2+(this.P===g?0:1);return this.qa.oa},function(a){this.O|=2;this.Gc.load(a);this.A-=17+(this.P===g?0:2);return a},function(a){this.O|=2;this.qa.load(a)!==g&&(this.Ab(this.qa.fc+4,this.qa.nb|=512),this.qa.type|=512);this.A-=17+(this.P===g?0:2);return a},function(a){this.O|=2;this.A-=14+(this.P===g?0:2);if(this.Ta.load(a)!==g&&2048!=(this.Ta.nb&2560)&&(this.Ta.oc>=this.Fa&&this.Ta.oc>=(a&3)||7168==(this.Ta.nb&7168)))return pe(this), -a;ne(this);return a},function(a){this.O|=2;this.A-=14+(this.P===g?0:2);if(this.Ta.load(a)!==g&&512==(this.Ta.nb&2560)&&this.Ta.oc>=this.Fa&&this.Ta.oc>=(a&3))return pe(this),a;ne(this);return a},lg,lg],Wc=[nd,nd,nd,nd,nd,nd,lg,lg],Yg=[function(a){if(this.P===g)m.call(this,6);else{a=this.yd-this.Zb;var b=this.Zb;80286==this.ga?b|=-16777216:80386<=this.ga&&(2==this.aa?b&=16777215:a|=b<<16);this.wb(this.P+2,b);this.A-=11}return a},function(a){if(this.P===g)m.call(this,6);else{a=this.Wc-this.Qb;var b= -this.Qb;80286==this.ga?b|=-16777216:80386<=this.ga&&(2==this.aa?b&=16777215:a|=b<<16);this.wb(this.P+2,b);this.A-=12}return a},function(a){this.P===g||this.T&131072?m.call(this,6):(this.Zb=this.Ub(this.P+2)&(this.C|this.C<<8),a&=65535,this.yd=this.Zb+a,this.O|=2,this.A-=11);return a},function(a){this.P===g||this.T&131072?m.call(this,6):(this.Qb=this.Ub(this.P+2)&(this.C|this.C<<8),a&=65535,this.Wc=this.Qb+a,this.O|=2,this.A-=12);return a},function(){this.A-=2+(this.P===g?0:1);return this.Ba},lg,function(a){this.T& -131072?m.call(this,6):(qe(this,a),this.A-=this.P===g?3:6,this.O|=2);return a},lg],Zg=[lg,lg,lg,lg,Oe,Re,Qe,Pe],y=[function(a){a=a.call(this,this.G&255,H(this,this.D+this.K));this.G=this.G&-256|a;this.A-=this.B.ca},function(a){a=a.call(this,this.G&255,H(this,this.D+this.I));this.G=this.G&-256|a;this.A-=this.B.da},function(a){a=a.call(this,this.G&255,I(this,this.L+this.K));this.G=this.G&-256|a;this.A-=this.B.da},function(a){a=a.call(this,this.G&255,I(this,this.L+this.I));this.G=this.G&-256|a;this.A-= +x[191]=function(){var a=this.X();Gc(this,2);this.ta[a].call(this,vf);switch((a&56)>>3){case 0:this.G=this.G<<16>>16;break;case 1:this.F=this.F<<16>>16;break;case 2:this.H=this.H<<16>>16;break;case 3:this.D=this.D<<16>>16;break;case 4:this.Tb=this.Tb<<16>>16;break;case 5:this.L=this.L<<16>>16;break;case 6:this.K=this.K<<16>>16;break;case 7:this.I=this.I<<16>>16}this.A-=this.P===g?3:6}; +var Ud=[function(){this.A-=2+(this.P===g?0:1);return this.Gc.oa},function(){this.A-=2+(this.P===g?0:1);return this.qa.oa},function(a){this.O|=2;this.Gc.load(a);this.A-=17+(this.P===g?0:2);return a},function(a){this.O|=2;this.qa.load(a)!==g&&(this.Ab(this.qa.fc+4,this.qa.nb|=512),this.qa.type|=512);this.A-=17+(this.P===g?0:2);return a},function(a){this.O|=2;this.A-=14+(this.P===g?0:2);if(this.Wa.load(a)!==g&&2048!=(this.Wa.nb&2560)&&(this.Wa.oc>=this.Ga&&this.Wa.oc>=(a&3)||7168==(this.Wa.nb&7168)))return pe(this), +a;ne(this);return a},function(a){this.O|=2;this.A-=14+(this.P===g?0:2);if(this.Wa.load(a)!==g&&512==(this.Wa.nb&2560)&&this.Wa.oc>=this.Ga&&this.Wa.oc>=(a&3))return pe(this),a;ne(this);return a},mg,mg],Wc=[nd,nd,nd,nd,nd,nd,mg,mg],Zg=[function(a){if(this.P===g)m.call(this,6);else{a=this.yd-this.ac;var b=this.ac;80286==this.ga?b|=-16777216:80386<=this.ga&&(2==this.ba?b&=16777215:a|=b<<16);this.wb(this.P+2,b);this.A-=11}return a},function(a){if(this.P===g)m.call(this,6);else{a=this.Wc-this.Qb;var b= +this.Qb;80286==this.ga?b|=-16777216:80386<=this.ga&&(2==this.ba?b&=16777215:a|=b<<16);this.wb(this.P+2,b);this.A-=12}return a},function(a){this.P===g||this.T&131072?m.call(this,6):(this.ac=this.Vb(this.P+2)&(this.C|this.C<<8),a&=65535,this.yd=this.ac+a,this.O|=2,this.A-=11);return a},function(a){this.P===g||this.T&131072?m.call(this,6):(this.Qb=this.Vb(this.P+2)&(this.C|this.C<<8),a&=65535,this.Wc=this.Qb+a,this.O|=2,this.A-=12);return a},function(){this.A-=2+(this.P===g?0:1);return this.Ca},mg,function(a){this.T& +131072?m.call(this,6):(qe(this,a),this.A-=this.P===g?3:6,this.O|=2);return a},mg],$g=[mg,mg,mg,mg,Oe,Re,Qe,Pe],y=[function(a){a=a.call(this,this.G&255,H(this,this.D+this.K));this.G=this.G&-256|a;this.A-=this.B.ca},function(a){a=a.call(this,this.G&255,H(this,this.D+this.I));this.G=this.G&-256|a;this.A-=this.B.da},function(a){a=a.call(this,this.G&255,I(this,this.L+this.K));this.G=this.G&-256|a;this.A-=this.B.da},function(a){a=a.call(this,this.G&255,I(this,this.L+this.I));this.G=this.G&-256|a;this.A-= this.B.ca},function(a){a=a.call(this,this.G&255,H(this,this.K));this.G=this.G&-256|a;this.A-=this.B.N},function(a){a=a.call(this,this.G&255,H(this,this.I));this.G=this.G&-256|a;this.A-=this.B.N},function(a){a=a.call(this,this.G&255,H(this,S(this)));this.G=this.G&-256|a;this.A-=this.B.ea},function(a){a=a.call(this,this.G&255,H(this,this.D));this.G=this.G&-256|a;this.A-=this.B.N},function(a){a=a.call(this,this.F&255,H(this,this.D+this.K));this.F=this.F&-256|a;this.A-=this.B.ca},function(a){a=a.call(this, this.F&255,H(this,this.D+this.I));this.F=this.F&-256|a;this.A-=this.B.da},function(a){a=a.call(this,this.F&255,I(this,this.L+this.K));this.F=this.F&-256|a;this.A-=this.B.da},function(a){a=a.call(this,this.F&255,I(this,this.L+this.I));this.F=this.F&-256|a;this.A-=this.B.ca},function(a){a=a.call(this,this.F&255,H(this,this.K));this.F=this.F&-256|a;this.A-=this.B.N},function(a){a=a.call(this,this.F&255,H(this,this.I));this.F=this.F&-256|a;this.A-=this.B.N},function(a){a=a.call(this,this.F&255,H(this, S(this)));this.F=this.F&-256|a;this.A-=this.B.ea},function(a){a=a.call(this,this.F&255,H(this,this.D));this.F=this.F&-256|a;this.A-=this.B.N},function(a){a=a.call(this,this.H&255,H(this,this.D+this.K));this.H=this.H&-256|a;this.A-=this.B.ca},function(a){a=a.call(this,this.H&255,H(this,this.D+this.I));this.H=this.H&-256|a;this.A-=this.B.da},function(a){a=a.call(this,this.H&255,I(this,this.L+this.K));this.H=this.H&-256|a;this.A-=this.B.da},function(a){a=a.call(this,this.H&255,I(this,this.L+this.I)); @@ -785,263 +786,263 @@ function(){return this.G},function(){return this.F},function(){return this.H},fu (this.D<<3)},function(a){return(a?(this.U=this.V,this.L):S(this))+(this.D<<3)},function(){return this.K+(this.D<<3)},function(){return this.I+(this.D<<3)},function(){return this.G},function(){return this.F},function(){return this.H},function(){return this.D},function(){this.U=this.V;return t(this)},function(a){return a?(this.U=this.V,this.L):S(this)},function(){return this.K},function(){return this.I},function(){return this.G+(this.L<<3)},function(){return this.F+(this.L<<3)},function(){return this.H+ (this.L<<3)},function(){return this.D+(this.L<<3)},function(){this.U=this.V;return t(this)+(this.L<<3)},function(a){return(a?(this.U=this.V,this.L):S(this))+(this.L<<3)},function(){return this.K+(this.L<<3)},function(){return this.I+(this.L<<3)},function(){return this.G+(this.K<<3)},function(){return this.F+(this.K<<3)},function(){return this.H+(this.K<<3)},function(){return this.D+(this.K<<3)},function(){this.U=this.V;return t(this)+(this.K<<3)},function(a){return(a?(this.U=this.V,this.L):S(this))+ (this.K<<3)},function(){return this.K+(this.K<<3)},function(){return this.I+(this.K<<3)},function(){return this.G+(this.I<<3)},function(){return this.F+(this.I<<3)},function(){return this.H+(this.I<<3)},function(){return this.D+(this.I<<3)},function(){this.U=this.V;return t(this)+(this.I<<3)},function(a){return(a?(this.U=this.V,this.L):S(this))+(this.I<<3)},function(){return this.K+(this.I<<3)},function(){return this.I+(this.I<<3)}]; -function $g(a){Ja.call(this,"ChipSet",a,$g);this.ga=(this.ga=a.model)&&ah[this.ga]||bh;this.O=0;var b=a.sw1;if(b)this.O=ch(b,dh|eh.hj);else{this.fa=[360,360];(b=a.floppies)&&b.length&&(this.fa=b);if(b=this.fa.length)this.O|=fh.yg,b--,this.O|=(b&3)<=gh&&(this.Ga=this.ra=2);this.ha=a.scaleTimers||!1;this.bb=a.rtcDate;this.Ta=!1;a.sound&& -(this.Pa=this.ta=null,window&&(this.Pa=window.AudioContext||window.webkitAudioContext),this.Pa&&(this.ta=new this.Pa));this.reset(!0);Za(this)}Ra($g);var bh=5150,gh=5170,ah={5150:bh,5160:5160,5170:gh,deskpro386:5180},hh={none:0,tv:1,color:2,mono:3,ega:0,vga:0},fh={yg:1,ONE:0,rm:64,pm:128,Vl:192,ye:192,ze:6},dh=12,eh={qm:16,Ol:32,hj:48,ye:48,ze:4};f=$g.prototype; -f.Ib=function(a,b,c){switch(b){case "sw1":return this.sa[b]=c,ih(this,b,c,this.O,{0:this.ga==bh?"Bootable Floppy Drive":"Loop on POST",1:this.ga==bh?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.ga==bh)return this.sa[b]=c,ih(this,b,c,this.ja,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.sa[b]=c,!0}return!1}; -f.uc=function(a,b,c,d){this.ma=b;this.A=c;this.Oa=d;this.xa=a;this.D=gb(a,"Keyboard");this.Ia=c.W.Tc/1193181;Jb(b,this,jh);Mb(b,this,kh);this.ga=gh){this.I=16;this.V=0;this.Y=16;this.ya=0;this.Z=160;512<=th(this)&&(this.Z|=16);3==uh(this)&&(this.Z|=64);5180==this.ga&&(this.Z|=12);this.Aa=3;this.K=Array(8);this.na= -0;a&&(this.B=Array(64));vh(this,this.bb);for(a=21;24>=a;a++)this.B[a]=0;for(a=14;46>a;a++)void 0===this.B[a]&&(this.B[a]=0);this.B[20]=this.U&(eh.ye|2|fh.yg|fh.ye);this.B[16]=wh(this,0)<<4|wh(this,1);xh(this)}}; -function vh(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.dc("CMOS date invalid ("+b+"), using "+c)):b&&a.dc("CMOS date: "+c);a.B[0]=c.getSeconds();a.B[1]=0;a.B[2]=c.getMinutes();a.B[3]=0;a.B[4]=c.getHours();a.B[5]=0;a.B[6]=c.getDay()+1;a.B[7]=c.getDate();a.B[8]=c.getMonth()+1;c=c.getFullYear();a.B[9]=c%100;c/=100;a.B[50]=c%10|c/10<<4;a.B[10]=38;a.B[11]=2;a.B[12]=0;a.B[13]=128;a.ua=a.pa=0;a.Wa=a.Ha=null} -function yh(a){var b;void 0===b&&(b=a.Ha);a.pa=tc(a.A,a.ha)+b;a.B[11]&64&&qc(a.A,b)}function xh(a){for(var b=0,c=16;46>c;c++)b+=a.B[c];a.B[47]=b&255;a.B[46]=b>>8} -f.save=function(){var a=new Vd(this);E(a,0,[this.O,this.ja,this.U,this.ka]);for(var b=[],c=0;c=gh&&(E(a,5,[this.I,this.V,this.Y,this.ya,this.Z,this.Aa]),E(a,6,[this.K[7],this.K,this.na,this.B,this.ua,this.pa]));return a.data()}; -f.restore=function(a){var b,c;b=a[0];this.O=b[0];this.ja=b[1];this.U=b[2];this.ka=b[3];b=a[1];for(c=0;c>2)+1)*a.ab+32*((b?a.ja:a.ka)&15)} -function Fh(a,b){var c=b?a.O:a.U;return a.ga!=bh||c&fh.yg?((c&fh.ye)>>fh.ze)+1:0}function wh(a,b){if(b>eh.ze} -function ih(a,b,c,d,e){for(var k="",l=1;8>=l;l++){var p="pcjs-bitCell";l||(p+=" pcjs-bitCellLeft");k+='
'+l+"
\n"}c.innerHTML=k;b=Xa(c,"pcjs-bitCell");c=null;for(l=0;ld.gb[0]&&(d.gb[0]=255,d.gb[1]--,0>d.gb[1]&&(d.gb[1]=255)));return e}function Kh(a,b,c,d){a=a.F[b];c=a.Gb[c];c.gb[a.Hb]=c.Xb[a.Hb]=d;a.Hb^=1} -function Lh(a,b){var c=a.F[b],d=c.Bc|1;c.Bc&=-16;return d}function Mh(a,b,c){a=a.F[b];b=c&3;a.Bc=a.Bc&~(16<>2].Gb[b&3],c,d,e)} -function Oh(a,b,c){b=a.F[b>>2].Gb[b&3];b.rf&&b.Mg&&b.kg?(c&&(b.done=c),b.cd||De(a,b,!0)):c&&c(!0)}function De(a,b,c){c&&(b.count=b.gb[1]<<8|b.gb[0],b.type=b.mode&12,b.Ki=b.Sc=!1);for(var d=!1;0<=b.count&&(c=b.lf<<16|b.fb[1]<<8|b.fb[0],4==b.type?(d=!0,function(c){b.Mg.call(b.rf,b.kg,-1,function(k,l){0>k&&(b.Ki||(b.Ki=!0),k=255);b.cd||a.ma.Hc(c,k);(d=l)&&setTimeout(function(){Xh(b)||De(a,b)},0)})}(c)):8==b.type?(c=a.ma.Tb(c),0>b.Mg.call(b.rf,b.kg,c)&&(b.Sc=!0)):0!=b.type&&(b.Sc=!0)),!d&&!Xh(b););} -function Xh(a){if(!a.Sc&&0<=--a.count&&(a.mode&32?(a.fb[0]--,0>a.fb[0]&&(a.fb[0]=255,a.fb[1]--,0>a.fb[1]&&(a.fb[1]=255))):(a.fb[0]++,255>3];b=1<<(b&7);d.Ob&b||(d.Ob|=b,d.Ne=c||0,$h(a))}function ci(a,b){var c=a.Vb[b>>3],d=1<<(b&7);c.Ob&d&&(c.Ob&=~d,$h(a))} -function $h(a,b){var c,d=-1;1>=1),qc(a.A,c))),2==b&&vc(a))}f=$g.prototype;f.kk=function(){return this.Ea}; -f.wl=function(a,b){this.Ea=b;var c=b&192;if(192==c){if(!(b&16))for(c=0;2>=c;c++)if(b&2<=c;c++)b&2<>6,d=b&1,e=b&14,k=b&48;if(0==k)ii(this,c);else{var l=c,p=this.L[l];p.Ye=k;p.mode=e;p.Fg=d;p.Xb=[0,0];p.gb=[0,0];p.Cd=[0,0];p.Jc=!1;p.Ud=!1;p.Ed=!1;p.Zd=!1;ei(this,l);0==c&&ci(this,0);2==c&&255==this.Vb[0].Pc&&77==this.T&&(c=this.L[0],c.rc[0]=c.Xb[0],c.rc[1]= -c.Xb[1],c.dd=tc(this.A,this.ha))}}};function hi(a,b){var c=a.L[b],d=c.Xb[1]<<8|c.Xb[0];d||(d=1==c.bd?256:65536);return d}function xc(a,b){var c=a.L[b],d=c.rc[1]<<8|c.rc[0];d||(d=1==c.bd?256:65536);return d}function ii(a,b){fi(a,b);var c=a.L[b];c.Cd[0]=c.gb[0];c.Cd[1]=c.gb[1];c.Ud=!0;ei(a,b)}function ei(a,b){var c=a.L[b];c.Rc=32==c.Ye?1:0;c.bd=48==c.Ye?2:1} -function fi(a,b,c){var d=a.L[b];if(d.Ed&&(2!=b||a.T&1)){var e=tc(a.A,a.ha),k=(e-d.dd)/a.Ia|0;0>k&&(d.dd=e,k=0);var l=hi(a,b),p=xc(a,b)-k;0==d.mode?(0>=p&&(p=0),p||(d.Jc=!0,d.Ed=!1,b||bi(a,0))):4==d.mode?(d.Jc=1!=p,0>=p&&(p=l+p,0>=p&&(p=l),d.rc[0]=p&255,d.rc[1]=p>>8&255,d.dd=e,!b&&d.Jc&&bi(a,0))):6==d.mode&&(p-=k,0>=p&&(d.Jc=!d.Jc,p=l+p,0>=p&&(p=l),d.rc[0]=p&255,d.rc[1]=p>>8&255,d.dd=e,!b&&d.Jc&&bi(a,0)));d.gb[0]=p&255;d.gb[1]=p>>8&255;c&&(a.dd=0)}return d} -function wc(a,b){for(var c=0;c=gh){var c=a.A.W.Tc,d=tc(a.A,a.ha);null==a.Ha&&(a.ua=tc(a.A,a.ha),a.Wa=1024,a.Ha=Math.floor(a.A.W.Tc/a.Wa),yh(a));d>=a.pa&&(a.B[12]|=64,a.B[11]&64&&(a.B[12]|=128,bi(a,8)),a.pa=d+a.Ha);a.B[0]==a.B[1]&&a.B[2]==a.B[3]&&a.B[4]==a.B[5]&&(a.B[12]|=32,a.B[11]&32&&(a.B[12]|=128,bi(a,8)));var e=d-a.ua,k=Math.floor(e/c);if(k&&!(a.B[11]&128)){for(;k--;)if(60<=++a.B[0]&&(a.B[0]=0,60<=++a.B[2]&&(a.B[2]=0,24<=++a.B[4]))){a.B[4]=0;a.B[6]=a.B[6]%7+1; -var l;l=a.B[9];var p=ma[a.B[8]-1];28==p&&0===l%4&&(l%100||0===l%400)&&p++;l=p;++a.B[7]>l&&(a.B[7]=1,12<++a.B[8]&&(a.B[8]=1,a.B[9]=(a.B[9]+1)%100))}a.B[12]|=16;a.B[11]&16&&(a.B[12]|=128,bi(a,8))}a.ua=d-e%c}}f.lk=function(){var a=this.Fa;if(this.qa&16)if(this.T&128)a=this.U;else if(this.D){var a=this.D,b=0;a.B.length&&(b=a.B[0]);a.Va()&&a.Na("scan code "+ea(b)+" delivered");a=b}return a};f.xl=function(a,b){this.Fa=b};f.mk=function(){return this.T};f.yl=function(a,b){ji(this,b)}; -function ji(a,b){var c=!!(b&2),d=!!(a.T&2);a.T=b;a.D&&ki(a.D,!(b&128),!!(b&64));c!=d&&vc(a,c)}f.nk=function(){var a=0,a=this.ga==bh?this.T&4?a|this.ka&15:a|this.ka>>4&1:this.T&8?a|this.U>>4:a|this.U&15;this.T&1&&fi(this,2).Jc&&(a=this.T&2?a|32:a|16);return a};f.zl=function(a,b){this.Ka=b};f.pk=function(){return this.qa};f.Al=function(a,b){this.qa=b};f.Bj=function(){var a=this.ya;this.I&=-258;this.D&&li(this.D);return a}; -f.Lk=function(a,b){if(this.I&8)switch(this.V){case 96:mi(this,b);break;case 209:ni(this,b);break;default:if(mi(this,this.Y&-17),this.D){var c=-1;switch(b){case 255:c=250,oi(this.D)}pi(this,c)}}this.V=b;this.I&=-9};f.Cj=function(){return this.T&-209|(tc(this.A)&64?16:0)};f.Mk=function(a,b){ji(this,b)};f.Dj=function(){var a=this.I&255;this.I&256&&(this.I|=1,this.I&=-257);return a}; -f.Kk=function(a,b){this.V=b;this.I|=8;var c=0;240<=this.V&&(c=this.V^15,this.V=240);switch(this.V){case 32:pi(this,this.Y);break;case 173:mi(this,this.Y|16);break;case 174:mi(this,this.Y&-17);this.D&&li(this.D);break;case 170:this.D&&(c=this.D,c.B=[],c.Va()&&c.Na("scan codes flushed"));mi(this,this.Y|16);pi(this,85);ni(this,3);break;case 171:pi(this,0);break;case 192:pi(this,this.Z);break;case 208:pi(this,this.Aa);break;case 224:pi(this,this.Y&16?0:1);break;case 240:c&1&&xd(this.A)}}; -function mi(a,b){a.Y=b;a.I=a.I&-5|b&4;a.D&&ki(a.D,!!(b&8),!(b&16))}function pi(a,b,c){0<=b&&(a.ya=b,c?a.I|=1:(a.I&=-2,a.I|=256))}function ni(a,b){a.Aa=b;vb(a.ma,!!(b&2));b&1||xd(a.A)}function qi(a,b){a.ga=c)if(d=this.B[c],10>c){var e=!1;4!=c&&5!=c||this.B[11]&2||(12>d?d=d?d:12:d=(d-=12)?d+128:140,e=!0);this.B[11]&4||(e&&128=c){if(e=b,10>c){var k=!1;this.B[11]&4||(e=10*(e>>4)+(e&15),k=!0);if(4==c||5==c)k&&23=e?e=12==e?0:e:(e-=116,e=24==e?12:e))}}else e=b;this.B[c]=e;11==c&&d&64&&b&64&&yh(this)};f.vl=function(a,b){this.Ba=b};f.bl=function(){};f.cl=function(){};function ch(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4>>4,0,this.L,this.F,this.O),delete this.O);return!0};si.prototype.bc=function(){return!0}; -si.prototype.T=function(a,b,c){if(c)this.Ja("Unable to load system ROM (error "+c+")");else{if("["==b.charAt(0)||"{"==b.charAt(0))try{var d=eval("("+b+")"),e=d.bytes,k=d.data;if(e)this.B=e;else if(k)for(this.B=Array(4*k.length),c=b=0;b>8&255,this.B[c++]=k[b]>>16&255,this.B[c++]=k[b]>>24&255;else this.B=d;this.O=d.symbols;if(!this.B.length){ra("Empty ROM: "+a);return}if(1==this.B.length){ra(this.B[0]);return}}catch(l){this.Ja("ROM data error: "+l.message); -return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.B=Array(a.length),d=0;d>>d.na].Ze(e&d.B,a.B[c]&255,e)}b=!0}else b=!1;if(b){b=[];"number"==typeof a.I?b.push(a.I):null!=a.I&&a.I.length&&(b=a.I);for(c=0;cthis.D?21:23,c=a.B[b]|a.B[b+1]<<8,c=c+(this.B>>10);a.B[b]=c&255;a.B[b+ -1]=c>>8;xh(a)}}else ra("No RAM allocated")};f.save=function(){var a=new Vd(this);this.controller&&E(a,0,this.controller.save());return a.data()};f.restore=function(a){return this.controller?this.controller.restore(a[0]):!0};function xi(a){this.I=a;this.D=zi;this.F=Ai;this.B=Bi;this.A=null}var yi=-2134900736,zi=65535,Ai=2575,Bi=2,Ci=[null,0],Di=[function(a){return this.controller.Tb(a)},null,null,function(a,b){this.controller.Hc(a,b)},null,null];f=xi.prototype;f.save=function(){return[this.D,this.B]}; -f.restore=function(a){this.Hc(0,a[0]&255);this.Hc(2,a[1]&255);return!0};f.Tb=function(a){var b=255;2>a?b=a&1?this.F>>8:this.F&255:4>a&&(b=a&1?this.B>>8:this.B&255);return b};f.Hc=function(a,b){if(a)2==a&&(this.B=this.B&-256|b);else if(b!=(this.D&255)){var c=this.I.ma;if(b&1)this.A&&(yb(c,917504,131072,this.A),this.A=null);else{this.A||(this.A=zb(c,917504,131072));var d=zb(c,16646144,131072);yb(c,917504,131072,d,b&2?1:Cb)}this.D=this.D&-256|b}};f.Mi=function(){return Ci};f.Ng=function(){return Di}; -Fa(function(){for(var a=Xa(window.document,"pcjs","ram"),b=0;b":62,"?":63,"@":64,Ll:65,Ml:66,Nl:67,Sl:68,E:69,Tl:70,Wl:71,Xl:72,Yl:73,Zl:74,$l:75,am:76,bm:77,cm:78,dm:79,em:80,Q:81,fm:82,jm:83,om:84,sm:85,tm:86,um:87,wm:88,xm:89,ym:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,zm:97,Am:98,Dm:99,d:100,e:101,Em:102,Fm:103,Gm:104,Hm:105,Im:106,k:107,Jm:108, -Km:109,n:110,Mm:111,p:112,q:113,r:114,Nm:115,t:116,Om:117,Pm:118,Qm:119,x:120,y:121,z:122,"{":123,"|":124,"}":125,"~":126},Fi={};Fi[186]=W[";"];Fi[187]=W["="];Fi[188]=W[","];Fi[189]=W["-"];Fi[190]=W["."];Fi[191]=W["/"];Fi[192]=W["`"];Fi[219]=W["["];Fi[220]=W["\\"];Fi[221]=W["]"];Fi[222]=W["'"];Fi[173]=W["-"];var Gi={};Gi[W["1"]]=W["!"];Gi[W["2"]]=W["@"];Gi[W["3"]]=W["#"];Gi[W["4"]]=W.$;Gi[W["5"]]=W["%"];Gi[W["6"]]=W["^"];Gi[W["7"]]=W["&"];Gi[W["8"]]=W["*"];Gi[W["9"]]=W["("];Gi[W["0"]]=W[")"]; -Gi[186]=W[":"];Gi[187]=W["+"];Gi[188]=W["<"];Gi[189]=W._;Gi[190]=W[">"];Gi[191]=W["?"];Gi[192]=W["~"];Gi[219]=W["{"];Gi[220]=W["|"];Gi[221]=W["}"];Gi[222]=W['"'];Gi[173]=W._;Gi[61]=W["+"];Gi[59]=W[":"]; -var Hi={3016:1,1016:2,1017:8,1018:32,1091:128,1093:64,1224:128,1020:512,1144:1024,1145:2048},Ii={TAB:1009,ESC:1027,F1:1112,F2:1113,F3:1114,F4:1115,F5:1116,F6:1117,F7:1118,F8:1119,F9:1120,F10:1121,LEFT:1037,UP:1038,RIGHT:1039,DOWN:1040,CTRL_C:4003,CTRL_BREAK:4008,CTRL_ALT_DEL:4046},Ji={esc:1027,1:W["1"],2:W["2"],3:W["3"],4:W["4"],5:W["5"],6:W["6"],7:W["7"],8:W["8"],9:W["9"],0:W["0"],"-":W["-"],"=":W["="],bs:1008,tab:1009,q:81,w:87,e:69,r:82,t:84,y:89,u:85,i:73,o:79,p:80,"[":W["["],"]":W["]"],enter:13, -ctrl:1017,a:65,s:83,d:68,f:70,g:71,h:72,j:74,k:75,l:76,";":W[";"],quote:W["'"],"`":W["`"],shift:1016,"\\":W["\\"],z:90,x:88,c:67,v:86,b:66,n:78,m:77,",":W[","],".":W["."],"/":W["/"],"right-shift":3016,prtsc:1044,alt:1018,space:W[" "],"caps-lock":1020,f1:1112,f2:1113,f3:1114,f4:1115,f5:1116,f6:1117,f7:1118,f8:1119,f9:1120,f10:1121,"num-lock":1144,"scroll-lock":1145,"num-home":1036,"num-up":1038,"num-pgup":1033,"num-sub":1109,"num-left":1037,"num-center":1101,"num-right":1039,"num-add":1107,"num-end":1035, -"num-down":1040,"num-pgdn":1034,"num-ins":1045,"num-del":1046},Ki={"caps-lock":512,"num-lock":1024,"scroll-lock":2048},X={1027:1};X[W["1"]]=2;X[W["!"]]=10754;X[W["2"]]=3;X[W["@"]]=10755;X[W["3"]]=4;X[W["#"]]=10756;X[W["4"]]=5;X[W.$]=10757;X[W["5"]]=6;X[W["%"]]=10758;X[W["6"]]=7;X[W["^"]]=10759;X[W["7"]]=8;X[W["&"]]=10760;X[W["8"]]=9;X[W["*"]]=10761;X[W["9"]]=10;X[W["("]]=10762;X[W["0"]]=11;X[W[")"]]=10763;X[W["-"]]=12;X[W._]=10764;X[W["="]]=13;X[W["+"]]=10765;X[1008]=14;X[1009]=15;X[113]=16; -X[81]=10768;X[119]=17;X[87]=10769;X[101]=18;X[69]=10770;X[114]=19;X[82]=10771;X[116]=20;X[84]=10772;X[121]=21;X[89]=10773;X[117]=22;X[85]=10774;X[105]=23;X[73]=10775;X[111]=24;X[79]=10776;X[112]=25;X[80]=10777;X[W["["]]=26;X[W["{"]]=10778;X[W["]"]]=27;X[W["}"]]=10779;X[13]=28;X[1017]=29;X[97]=30;X[65]=10782;X[115]=31;X[83]=10783;X[100]=32;X[68]=10784;X[102]=33;X[70]=10785;X[103]=34;X[71]=10786;X[104]=35;X[72]=10787;X[106]=36;X[74]=10788;X[107]=37;X[75]=10789;X[108]=38;X[76]=10790;X[W[";"]]=39; -X[W[":"]]=10791;X[W["'"]]=40;X[W['"']]=10792;X[W["`"]]=41;X[W["~"]]=10793;X[1016]=42;X[W["\\"]]=43;X[W["|"]]=10795;X[122]=44;X[90]=10796;X[120]=45;X[88]=10797;X[99]=46;X[67]=10798;X[118]=47;X[86]=10799;X[98]=48;X[66]=10800;X[110]=49;X[78]=10801;X[109]=50;X[77]=10802;X[W[","]]=51;X[W["<"]]=10803;X[W["."]]=52;X[W[">"]]=10804;X[W["/"]]=53;X[W["?"]]=10805;X[3016]=54;X[1044]=55;X[1018]=56;X[W[" "]]=57;X[1020]=58;X[1112]=59;X[1113]=60;X[1114]=61;X[1115]=62;X[1116]=63;X[1117]=64;X[1118]=65;X[1119]=66; -X[1120]=67;X[1121]=68;X[1144]=69;X[1145]=70;X[1036]=71;X[1038]=72;X[1033]=73;X[1109]=74;X[1037]=75;X[1101]=76;X[1039]=77;X[1107]=78;X[1035]=79;X[1040]=80;X[1034]=81;X[1045]=82;X[1046]=83;X[1122]=87;X[1123]=88;X[1091]=91;X[1093]=93;X[1224]=91;X[4003]=7470;X[4008]=7494;X[4046]=3677523;f=Ei.prototype; -f.Ib=function(a,b,c){var d=this,e=a+"-"+b;if(void 0===this.sa[e])switch(b){case "kbd":return c.onkeydown=function(a){return Li(d,a,!0)},c.onkeypress=function(a){a=a||window.event;a=a.which||a.keyCode;var b=!X[a]||!!(d.Pb&128);b||Mi(d,a,!0);return b},c.onkeyup=function(a){return Li(d,a,!1)},!0;case "caps-lock":return this.sa[e]=c,c.onclick=function(){d.A&&d.A.Zc();Mi(d,1020,!0)},!0;case "num-lock":return this.sa[e]=c,c.onclick=function(){d.A&&d.A.Zc();Mi(d,1144,!0)},!0;case "scroll-lock":return this.sa[e]= -c,c.onclick=function(){d.A&&d.A.Zc();Mi(d,1145,!0)},!0;default:var k=b.toUpperCase().replace(/-/g,"_");if(void 0!==Ii[k]&&"button"==a)return this.sa[e]=c,c.onclick=function(a,b,c){return function(){a.A&&a.A.Zc();Ni(a,c,!0);Mi(a,c,!0)}}(this,k,Ii[k]),!0;if(void 0!==Ji[b])return this.P++,this.sa[e]=c,a=function(a,b,c){return function(){Mi(a,c)}}(this,b,Ji[b]),b=function(a,b,c){return function(){Oi(a,c)}}(this,b,Ji[b]),"ontouchstart"in window?(c.ontouchstart=a,c.ontouchend=b):(c.onmousedown=a,c.onmouseup= -c.onmouseout=b),!0}return!1};function Pi(a,b,c){if(a.P){for(var d in Gi)if(b==Gi[d]){b=+d;(d=Fi[d])&&(b=d);break}for(var e in Ji)if((d=Ji[e]==b)||(d=b,97<=d&&122>=d&&(d-=32),d=Ji[e]==d),d){(a=a.sa["key-"+e])&&void 0!==c&&(a.style.color=c?"#ffffff":"#000000",a.style.backgroundColor=c?"#000000":"#ffffff");break}}}f.uc=function(a,b,c,d){this.ma=b;this.A=c;this.Oa=d;this.Y=gb(a,"ChipSet")};function oi(a,b){a.Na("keyboard reset",65792);a.B=[170];a.I=!0;b&&a.Y&&qi(a.Y,a.B[0])} -function ki(a,b,c){a.L!==c&&(a.L=a.O=c)&&(a.I=!0);a.K!==b&&(a.K=b)&&!a.O&&ri(a,!0);a.K&&a.O&&(oi(a,!0),a.O=!1)}function li(a){var b=0;a.B.length&&a.I&&(b=a.B[0],a.Y&&qi(a.Y,b));a.Va()&&a.Na("scan code "+ea(b)+" available")}function ri(a,b){0>=1);if(b&3584){if(!1===d)return!0;d=null}null==d?d=!((c?a.F:a.Pb)&b):d||b&255&&(b=255);if(c){a.F&=~b;d&&(a.F|=b);c=b;var k,l;for(l in Ki)d="led-"+l,e=Ki[l],c&&c!=e||!(k=a.sa[d])||(k.style.backgroundColor=a.F&e?"#00ff00":"#000000")}else a.Pb&=~b,d&&(a.Pb|=b);return!0}}return!1} -function Mi(a,b,c){if(X[b]&&a.A&&a.A.ia.Lb){Hi[b]&&a.D.length&&0e||(e==a.D.length&&(d={},d.Ld=b,d.Pb=a.Pb,Pi(a,b,!0),e++),0b.Uc){if(!b.Ge){Oi(a,b.Ld);return}b.Ge=!1;c=a.ga}else c=1==b.Uc++?500:100;b.aj=setTimeout(function(a){return function(){Ri(a,b)}}(a),c)}}else Oi(a,b.Ld,!0)} -function Ti(a,b,c){var d=b;if(65<=b&&90>=b)!(a.Pb&515)==c&&(d=b+32);else if(97<=b&&122>=b)!!(a.Pb&515)==c&&(d=b-32);else if(!!(a.Pb&3)==c){if(a=Gi[b])d=a}else if(a=Fi[b])d=a;return d}f.lg=function(a){a||(this.Pb&=-256)}; -function Li(a,b,c){var d=!0,e=!1,k=!1,l=b.keyCode,p=Ti(a,l,!0);a.Kg&&p==W["`"]&&(l=p=27);if(X[l+1E3])if(p+=1E3,2==b.location&&(p+=2E3),Ni(a,p,!1,c)){if(20==l||144==l||145==l)a.V||(c=e=!0);if(!(c||91!=l&&93!=l))for(var q=0;q=b||97<=b&&122>=b;d>>>=8;){var l=0,p=d&255;224==k||225==k?e.push(k|(c?0:128)):(42==p?a.F&3||a.F&512&&b||(l=p):29==p?a.F&12||(l=p):56==p?a.F&48||(l=p):e.push(k|(c?0:128)),l&&(c?e.unshift(l):e.push(l|128)))}for(c=0;cd.B.length?(d.Va()&&d.Na("scan code "+ea(k)+" buffered"),d.B.push(k),1==d.B.length&&d.Y&&qi(d.Y,k)):(20== -d.B.length&&d.B.push(255),d.Na("scan code buffer overflow")))}}Fa(function(){for(var a=Xa(window.document,"pcjs","keyboard"),b=0;b=hh&&(this.Ga=this.ra=2);this.ha=a.scaleTimers||!1;this.bb=a.rtcDate;this.Ta=!1;a.sound&& +(this.Oa=this.ta=null,window&&(this.Oa=window.AudioContext||window.webkitAudioContext),this.Oa&&(this.ta=new this.Oa));this.reset(!0);Za(this)}Ra(ah);var ch=5150,hh=5170,bh={5150:ch,5160:5160,5170:hh,deskpro386:5180},ih={none:0,tv:1,color:2,mono:3,ega:0,vga:0},gh={yg:1,ONE:0,rm:64,pm:128,Vl:192,ze:192,Ae:6},eh=12,fh={qm:16,Ol:32,hj:48,ze:48,Ae:4};f=ah.prototype; +f.Ib=function(a,b,c){switch(b){case "sw1":return this.sa[b]=c,jh(this,b,c,this.O,{0:this.ga==ch?"Bootable Floppy Drive":"Loop on POST",1:this.ga==ch?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.ga==ch)return this.sa[b]=c,jh(this,b,c,this.ia,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.sa[b]=c,!0}return!1}; +f.uc=function(a,b,c,d){this.ma=b;this.A=c;this.Pa=d;this.xa=a;this.D=gb(a,"Keyboard");this.Ia=c.W.Tc/1193181;Jb(b,this,kh);Mb(b,this,lh);this.ga=hh){this.I=16;this.V=0;this.Y=16;this.ya=0;this.Z=160;512<=uh(this)&&(this.Z|=16);3==vh(this)&&(this.Z|=64);5180==this.ga&&(this.Z|=12);this.za=3;this.K=Array(8);this.na= +0;a&&(this.B=Array(64));wh(this,this.bb);for(a=21;24>=a;a++)this.B[a]=0;for(a=14;46>a;a++)void 0===this.B[a]&&(this.B[a]=0);this.B[20]=this.U&(fh.ze|2|gh.yg|gh.ze);this.B[16]=xh(this,0)<<4|xh(this,1);yh(this)}}; +function wh(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.Wb("CMOS date invalid ("+b+"), using "+c)):b&&a.Wb("CMOS date: "+c);a.B[0]=c.getSeconds();a.B[1]=0;a.B[2]=c.getMinutes();a.B[3]=0;a.B[4]=c.getHours();a.B[5]=0;a.B[6]=c.getDay()+1;a.B[7]=c.getDate();a.B[8]=c.getMonth()+1;c=c.getFullYear();a.B[9]=c%100;c/=100;a.B[50]=c%10|c/10<<4;a.B[10]=38;a.B[11]=2;a.B[12]=0;a.B[13]=128;a.ua=a.pa=0;a.Ua=a.Ha=null} +function zh(a){var b;void 0===b&&(b=a.Ha);a.pa=uc(a.A,a.ha)+b;a.B[11]&64&&qc(a.A,b)}function yh(a){for(var b=0,c=16;46>c;c++)b+=a.B[c];a.B[47]=b&255;a.B[46]=b>>8} +f.save=function(){var a=new Vd(this);E(a,0,[this.O,this.ia,this.U,this.ka]);for(var b=[],c=0;c=hh&&(E(a,5,[this.I,this.V,this.Y,this.ya,this.Z,this.za]),E(a,6,[this.K[7],this.K,this.na,this.B,this.ua,this.pa]));return a.data()}; +f.restore=function(a){var b,c;b=a[0];this.O=b[0];this.ia=b[1];this.U=b[2];this.ka=b[3];b=a[1];for(c=0;c>2)+1)*a.Wa+32*((b?a.ia:a.ka)&15)} +function Gh(a,b){var c=b?a.O:a.U;return a.ga!=ch||c&gh.yg?((c&gh.ze)>>gh.Ae)+1:0}function xh(a,b){if(b>fh.Ae} +function jh(a,b,c,d,e){for(var k="",l=1;8>=l;l++){var p="pcjs-bitCell";l||(p+=" pcjs-bitCellLeft");k+='
'+l+"
\n"}c.innerHTML=k;b=Xa(c,"pcjs-bitCell");c=null;for(l=0;ld.gb[0]&&(d.gb[0]=255,d.gb[1]--,0>d.gb[1]&&(d.gb[1]=255)));return e}function Lh(a,b,c,d){a=a.F[b];c=a.Gb[c];c.gb[a.Hb]=c.Zb[a.Hb]=d;a.Hb^=1} +function Mh(a,b){var c=a.F[b],d=c.Bc|1;c.Bc&=-16;return d}function Nh(a,b,c){a=a.F[b];b=c&3;a.Bc=a.Bc&~(16<>2].Gb[b&3],c,d,e)} +function Ph(a,b,c){b=a.F[b>>2].Gb[b&3];b.sf&&b.Mg&&b.lg?(c&&(b.done=c),b.cd||De(a,b,!0)):c&&c(!0)}function De(a,b,c){c&&(b.count=b.gb[1]<<8|b.gb[0],b.type=b.mode&12,b.Ji=b.Sc=!1);for(var d=!1;0<=b.count&&(c=b.mf<<16|b.fb[1]<<8|b.fb[0],4==b.type?(d=!0,function(c){b.Mg.call(b.sf,b.lg,-1,function(k,l){0>k&&(b.Ji||(b.Ji=!0),k=255);b.cd||a.ma.Hc(c,k);(d=l)&&setTimeout(function(){Yh(b)||De(a,b)},0)})}(c)):8==b.type?(c=a.ma.Ub(c),0>b.Mg.call(b.sf,b.lg,c)&&(b.Sc=!0)):0!=b.type&&(b.Sc=!0)),!d&&!Yh(b););} +function Yh(a){if(!a.Sc&&0<=--a.count&&(a.mode&32?(a.fb[0]--,0>a.fb[0]&&(a.fb[0]=255,a.fb[1]--,0>a.fb[1]&&(a.fb[1]=255))):(a.fb[0]++,255>3];b=1<<(b&7);d.Ob&b||(d.Ob|=b,d.Oe=c||0,ai(a))}function di(a,b){var c=a.Xb[b>>3],d=1<<(b&7);c.Ob&d&&(c.Ob&=~d,ai(a))} +function ai(a,b){var c,d=-1;1>=1),qc(a.A,c))),2==b&&vc(a))}f=ah.prototype;f.kk=function(){return this.Ca}; +f.wl=function(a,b){this.Ca=b;var c=b&192;if(192==c){if(!(b&16))for(c=0;2>=c;c++)if(b&2<=c;c++)b&2<>6,d=b&1,e=b&14,k=b&48;if(0==k)ji(this,c);else{var l=c,p=this.L[l];p.Ze=k;p.mode=e;p.Fg=d;p.Zb=[0,0];p.gb=[0,0];p.Cd=[0,0];p.Jc=!1;p.Vd=!1;p.Ed=!1;p.$d=!1;fi(this,l);0==c&&di(this,0);2==c&&255==this.Xb[0].Pc&&77==this.T&&(c=this.L[0],c.rc[0]=c.Zb[0],c.rc[1]= +c.Zb[1],c.dd=uc(this.A,this.ha))}}};function ii(a,b){var c=a.L[b],d=c.Zb[1]<<8|c.Zb[0];d||(d=1==c.bd?256:65536);return d}function xc(a,b){var c=a.L[b],d=c.rc[1]<<8|c.rc[0];d||(d=1==c.bd?256:65536);return d}function ji(a,b){gi(a,b);var c=a.L[b];c.Cd[0]=c.gb[0];c.Cd[1]=c.gb[1];c.Vd=!0;fi(a,b)}function fi(a,b){var c=a.L[b];c.Rc=32==c.Ze?1:0;c.bd=48==c.Ze?2:1} +function gi(a,b,c){var d=a.L[b];if(d.Ed&&(2!=b||a.T&1)){var e=uc(a.A,a.ha),k=(e-d.dd)/a.Ia|0;0>k&&(d.dd=e,k=0);var l=ii(a,b),p=xc(a,b)-k;0==d.mode?(0>=p&&(p=0),p||(d.Jc=!0,d.Ed=!1,b||ci(a,0))):4==d.mode?(d.Jc=1!=p,0>=p&&(p=l+p,0>=p&&(p=l),d.rc[0]=p&255,d.rc[1]=p>>8&255,d.dd=e,!b&&d.Jc&&ci(a,0))):6==d.mode&&(p-=k,0>=p&&(d.Jc=!d.Jc,p=l+p,0>=p&&(p=l),d.rc[0]=p&255,d.rc[1]=p>>8&255,d.dd=e,!b&&d.Jc&&ci(a,0)));d.gb[0]=p&255;d.gb[1]=p>>8&255;c&&(a.dd=0)}return d} +function wc(a,b){for(var c=0;c=hh){var c=a.A.W.Tc,d=uc(a.A,a.ha);null==a.Ha&&(a.ua=uc(a.A,a.ha),a.Ua=1024,a.Ha=Math.floor(a.A.W.Tc/a.Ua),zh(a));d>=a.pa&&(a.B[12]|=64,a.B[11]&64&&(a.B[12]|=128,ci(a,8)),a.pa=d+a.Ha);a.B[0]==a.B[1]&&a.B[2]==a.B[3]&&a.B[4]==a.B[5]&&(a.B[12]|=32,a.B[11]&32&&(a.B[12]|=128,ci(a,8)));var e=d-a.ua,k=Math.floor(e/c);if(k&&!(a.B[11]&128)){for(;k--;)if(60<=++a.B[0]&&(a.B[0]=0,60<=++a.B[2]&&(a.B[2]=0,24<=++a.B[4]))){a.B[4]=0;a.B[6]=a.B[6]%7+1; +var l;l=a.B[9];var p=ma[a.B[8]-1];28==p&&0===l%4&&(l%100||0===l%400)&&p++;l=p;++a.B[7]>l&&(a.B[7]=1,12<++a.B[8]&&(a.B[8]=1,a.B[9]=(a.B[9]+1)%100))}a.B[12]|=16;a.B[11]&16&&(a.B[12]|=128,ci(a,8))}a.ua=d-e%c}}f.lk=function(){var a=this.Fa;if(this.qa&16)if(this.T&128)a=this.U;else if(this.D){var a=this.D,b=0;a.B.length&&(b=a.B[0]);a.Ya()&&a.Na("scan code "+ea(b)+" delivered");a=b}return a};f.xl=function(a,b){this.Fa=b};f.mk=function(){return this.T};f.yl=function(a,b){ki(this,b)}; +function ki(a,b){var c=!!(b&2),d=!!(a.T&2);a.T=b;a.D&&li(a.D,!(b&128),!!(b&64));c!=d&&vc(a,c)}f.nk=function(){var a=0,a=this.ga==ch?this.T&4?a|this.ka&15:a|this.ka>>4&1:this.T&8?a|this.U>>4:a|this.U&15;this.T&1&&gi(this,2).Jc&&(a=this.T&2?a|32:a|16);return a};f.zl=function(a,b){this.Ka=b};f.pk=function(){return this.qa};f.Al=function(a,b){this.qa=b};f.Bj=function(){var a=this.ya;this.I&=-258;this.D&&mi(this.D);return a}; +f.Lk=function(a,b){if(this.I&8)switch(this.V){case 96:ni(this,b);break;case 209:oi(this,b);break;default:if(ni(this,this.Y&-17),this.D){var c=-1;switch(b){case 255:c=250,pi(this.D)}qi(this,c)}}this.V=b;this.I&=-9};f.Cj=function(){return this.T&-209|(uc(this.A)&64?16:0)};f.Mk=function(a,b){ki(this,b)};f.Dj=function(){var a=this.I&255;this.I&256&&(this.I|=1,this.I&=-257);return a}; +f.Kk=function(a,b){this.V=b;this.I|=8;var c=0;240<=this.V&&(c=this.V^15,this.V=240);switch(this.V){case 32:qi(this,this.Y);break;case 173:ni(this,this.Y|16);break;case 174:ni(this,this.Y&-17);this.D&&mi(this.D);break;case 170:this.D&&(c=this.D,c.B=[],c.Ya()&&c.Na("scan codes flushed"));ni(this,this.Y|16);qi(this,85);oi(this,3);break;case 171:qi(this,0);break;case 192:qi(this,this.Z);break;case 208:qi(this,this.za);break;case 224:qi(this,this.Y&16?0:1);break;case 240:c&1&&xd(this.A)}}; +function ni(a,b){a.Y=b;a.I=a.I&-5|b&4;a.D&&li(a.D,!!(b&8),!(b&16))}function qi(a,b,c){0<=b&&(a.ya=b,c?a.I|=1:(a.I&=-2,a.I|=256))}function oi(a,b){a.za=b;vb(a.ma,!!(b&2));b&1||xd(a.A)}function ri(a,b){a.ga=c)if(d=this.B[c],10>c){var e=!1;4!=c&&5!=c||this.B[11]&2||(12>d?d=d?d:12:d=(d-=12)?d+128:140,e=!0);this.B[11]&4||(e&&128=c){if(e=b,10>c){var k=!1;this.B[11]&4||(e=10*(e>>4)+(e&15),k=!0);if(4==c||5==c)k&&23=e?e=12==e?0:e:(e-=116,e=24==e?12:e))}}else e=b;this.B[c]=e;11==c&&d&64&&b&64&&zh(this)};f.vl=function(a,b){this.Ba=b};f.bl=function(){};f.cl=function(){};function dh(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4>>4,0,this.L,this.F,this.O),delete this.O);return!0};ti.prototype.cc=function(){return!0}; +ti.prototype.T=function(a,b,c){if(c)this.Ja("Unable to load system ROM (error "+c+")");else{if("["==b.charAt(0)||"{"==b.charAt(0))try{var d=eval("("+b+")"),e=d.bytes,k=d.data;if(e)this.B=e;else if(k)for(this.B=Array(4*k.length),c=b=0;b>8&255,this.B[c++]=k[b]>>16&255,this.B[c++]=k[b]>>24&255;else this.B=d;this.O=d.symbols;if(!this.B.length){ra("Empty ROM: "+a);return}if(1==this.B.length){ra(this.B[0]);return}}catch(l){this.Ja("ROM data error: "+l.message); +return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.B=Array(a.length),d=0;d>>d.na].$e(e&d.B,a.B[c]&255,e)}b=!0}else b=!1;if(b){b=[];"number"==typeof a.I?b.push(a.I):null!=a.I&&a.I.length&&(b=a.I);for(c=0;cthis.D?21:23,c=a.B[b]|a.B[b+1]<<8,c=c+(this.B>>10);a.B[b]=c&255;a.B[b+ +1]=c>>8;yh(a)}}else ra("No RAM allocated")};f.save=function(){var a=new Vd(this);this.controller&&E(a,0,this.controller.save());return a.data()};f.restore=function(a){return this.controller?this.controller.restore(a[0]):!0};function yi(a){this.I=a;this.D=Ai;this.F=Bi;this.B=Ci;this.A=null}var zi=-2134900736,Ai=65535,Bi=2575,Ci=2,Di=[null,0],Ei=[function(a){return this.controller.Ub(a)},null,null,function(a,b){this.controller.Hc(a,b)},null,null];f=yi.prototype;f.save=function(){return[this.D,this.B]}; +f.restore=function(a){this.Hc(0,a[0]&255);this.Hc(2,a[1]&255);return!0};f.Ub=function(a){var b=255;2>a?b=a&1?this.F>>8:this.F&255:4>a&&(b=a&1?this.B>>8:this.B&255);return b};f.Hc=function(a,b){if(a)2==a&&(this.B=this.B&-256|b);else if(b!=(this.D&255)){var c=this.I.ma;if(b&1)this.A&&(yb(c,917504,131072,this.A),this.A=null);else{this.A||(this.A=zb(c,917504,131072));var d=zb(c,16646144,131072);yb(c,917504,131072,d,b&2?1:Cb)}this.D=this.D&-256|b}};f.Mi=function(){return Di};f.Ng=function(){return Ei}; +Fa(function(){for(var a=Xa(window.document,"pcjs","ram"),b=0;b":62,"?":63,"@":64,Ll:65,Ml:66,Nl:67,Sl:68,E:69,Tl:70,Wl:71,Xl:72,Yl:73,Zl:74,$l:75,am:76,bm:77,cm:78,dm:79,em:80,Q:81,fm:82,jm:83,om:84,sm:85,tm:86,um:87,wm:88,xm:89,ym:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,zm:97,Am:98,Dm:99,d:100,e:101,Em:102,Fm:103,Gm:104,Hm:105,Im:106,k:107,Jm:108, +Km:109,n:110,Mm:111,p:112,q:113,r:114,Nm:115,t:116,Om:117,Pm:118,Qm:119,x:120,y:121,z:122,"{":123,"|":124,"}":125,"~":126},Gi={};Gi[186]=U[";"];Gi[187]=U["="];Gi[188]=U[","];Gi[189]=U["-"];Gi[190]=U["."];Gi[191]=U["/"];Gi[192]=U["`"];Gi[219]=U["["];Gi[220]=U["\\"];Gi[221]=U["]"];Gi[222]=U["'"];Gi[173]=U["-"];var Hi={};Hi[U["1"]]=U["!"];Hi[U["2"]]=U["@"];Hi[U["3"]]=U["#"];Hi[U["4"]]=U.$;Hi[U["5"]]=U["%"];Hi[U["6"]]=U["^"];Hi[U["7"]]=U["&"];Hi[U["8"]]=U["*"];Hi[U["9"]]=U["("];Hi[U["0"]]=U[")"]; +Hi[186]=U[":"];Hi[187]=U["+"];Hi[188]=U["<"];Hi[189]=U._;Hi[190]=U[">"];Hi[191]=U["?"];Hi[192]=U["~"];Hi[219]=U["{"];Hi[220]=U["|"];Hi[221]=U["}"];Hi[222]=U['"'];Hi[173]=U._;Hi[61]=U["+"];Hi[59]=U[":"]; +var Ii={3016:1,1016:2,1017:8,1018:32,1091:128,1093:64,1224:128,1020:512,1144:1024,1145:2048},Ji={TAB:1009,ESC:1027,F1:1112,F2:1113,F3:1114,F4:1115,F5:1116,F6:1117,F7:1118,F8:1119,F9:1120,F10:1121,LEFT:1037,UP:1038,RIGHT:1039,DOWN:1040,CTRL_C:4003,CTRL_BREAK:4008,CTRL_ALT_DEL:4046},Ki={esc:1027,1:U["1"],2:U["2"],3:U["3"],4:U["4"],5:U["5"],6:U["6"],7:U["7"],8:U["8"],9:U["9"],0:U["0"],"-":U["-"],"=":U["="],bs:1008,tab:1009,q:81,w:87,e:69,r:82,t:84,y:89,u:85,i:73,o:79,p:80,"[":U["["],"]":U["]"],enter:13, +ctrl:1017,a:65,s:83,d:68,f:70,g:71,h:72,j:74,k:75,l:76,";":U[";"],quote:U["'"],"`":U["`"],shift:1016,"\\":U["\\"],z:90,x:88,c:67,v:86,b:66,n:78,m:77,",":U[","],".":U["."],"/":U["/"],"right-shift":3016,prtsc:1044,alt:1018,space:U[" "],"caps-lock":1020,f1:1112,f2:1113,f3:1114,f4:1115,f5:1116,f6:1117,f7:1118,f8:1119,f9:1120,f10:1121,"num-lock":1144,"scroll-lock":1145,"num-home":1036,"num-up":1038,"num-pgup":1033,"num-sub":1109,"num-left":1037,"num-center":1101,"num-right":1039,"num-add":1107,"num-end":1035, +"num-down":1040,"num-pgdn":1034,"num-ins":1045,"num-del":1046},Li={"caps-lock":512,"num-lock":1024,"scroll-lock":2048},X={1027:1};X[U["1"]]=2;X[U["!"]]=10754;X[U["2"]]=3;X[U["@"]]=10755;X[U["3"]]=4;X[U["#"]]=10756;X[U["4"]]=5;X[U.$]=10757;X[U["5"]]=6;X[U["%"]]=10758;X[U["6"]]=7;X[U["^"]]=10759;X[U["7"]]=8;X[U["&"]]=10760;X[U["8"]]=9;X[U["*"]]=10761;X[U["9"]]=10;X[U["("]]=10762;X[U["0"]]=11;X[U[")"]]=10763;X[U["-"]]=12;X[U._]=10764;X[U["="]]=13;X[U["+"]]=10765;X[1008]=14;X[1009]=15;X[113]=16; +X[81]=10768;X[119]=17;X[87]=10769;X[101]=18;X[69]=10770;X[114]=19;X[82]=10771;X[116]=20;X[84]=10772;X[121]=21;X[89]=10773;X[117]=22;X[85]=10774;X[105]=23;X[73]=10775;X[111]=24;X[79]=10776;X[112]=25;X[80]=10777;X[U["["]]=26;X[U["{"]]=10778;X[U["]"]]=27;X[U["}"]]=10779;X[13]=28;X[1017]=29;X[97]=30;X[65]=10782;X[115]=31;X[83]=10783;X[100]=32;X[68]=10784;X[102]=33;X[70]=10785;X[103]=34;X[71]=10786;X[104]=35;X[72]=10787;X[106]=36;X[74]=10788;X[107]=37;X[75]=10789;X[108]=38;X[76]=10790;X[U[";"]]=39; +X[U[":"]]=10791;X[U["'"]]=40;X[U['"']]=10792;X[U["`"]]=41;X[U["~"]]=10793;X[1016]=42;X[U["\\"]]=43;X[U["|"]]=10795;X[122]=44;X[90]=10796;X[120]=45;X[88]=10797;X[99]=46;X[67]=10798;X[118]=47;X[86]=10799;X[98]=48;X[66]=10800;X[110]=49;X[78]=10801;X[109]=50;X[77]=10802;X[U[","]]=51;X[U["<"]]=10803;X[U["."]]=52;X[U[">"]]=10804;X[U["/"]]=53;X[U["?"]]=10805;X[3016]=54;X[1044]=55;X[1018]=56;X[U[" "]]=57;X[1020]=58;X[1112]=59;X[1113]=60;X[1114]=61;X[1115]=62;X[1116]=63;X[1117]=64;X[1118]=65;X[1119]=66; +X[1120]=67;X[1121]=68;X[1144]=69;X[1145]=70;X[1036]=71;X[1038]=72;X[1033]=73;X[1109]=74;X[1037]=75;X[1101]=76;X[1039]=77;X[1107]=78;X[1035]=79;X[1040]=80;X[1034]=81;X[1045]=82;X[1046]=83;X[1122]=87;X[1123]=88;X[1091]=91;X[1093]=93;X[1224]=91;X[4003]=7470;X[4008]=7494;X[4046]=3677523;f=Fi.prototype; +f.Ib=function(a,b,c){var d=this,e=a+"-"+b;if(void 0===this.sa[e])switch(b){case "kbd":return c.onkeydown=function(a){return Mi(d,a,!0)},c.onkeypress=function(a){a=a||window.event;a=a.which||a.keyCode;var b=!X[a]||!!(d.Pb&128);b||Ni(d,a,!0);return b},c.onkeyup=function(a){return Mi(d,a,!1)},!0;case "caps-lock":return this.sa[e]=c,c.onclick=function(){d.A&&d.A.Zc();Ni(d,1020,!0)},!0;case "num-lock":return this.sa[e]=c,c.onclick=function(){d.A&&d.A.Zc();Ni(d,1144,!0)},!0;case "scroll-lock":return this.sa[e]= +c,c.onclick=function(){d.A&&d.A.Zc();Ni(d,1145,!0)},!0;default:var k=b.toUpperCase().replace(/-/g,"_");if(void 0!==Ji[k]&&"button"==a)return this.sa[e]=c,c.onclick=function(a,b,c){return function(){a.A&&a.A.Zc();Oi(a,c,!0);Ni(a,c,!0)}}(this,k,Ji[k]),!0;if(void 0!==Ki[b])return this.P++,this.sa[e]=c,a=function(a,b,c){return function(){Ni(a,c)}}(this,b,Ki[b]),b=function(a,b,c){return function(){Pi(a,c)}}(this,b,Ki[b]),"ontouchstart"in window?(c.ontouchstart=a,c.ontouchend=b):(c.onmousedown=a,c.onmouseup= +c.onmouseout=b),!0}return!1};function Qi(a,b,c){if(a.P){for(var d in Hi)if(b==Hi[d]){b=+d;(d=Gi[d])&&(b=d);break}for(var e in Ki)if((d=Ki[e]==b)||(d=b,97<=d&&122>=d&&(d-=32),d=Ki[e]==d),d){(a=a.sa["key-"+e])&&void 0!==c&&(a.style.color=c?"#ffffff":"#000000",a.style.backgroundColor=c?"#000000":"#ffffff");break}}}f.uc=function(a,b,c,d){this.ma=b;this.A=c;this.Pa=d;this.Y=gb(a,"ChipSet")};function pi(a,b){a.Na("keyboard reset",65792);a.B=[170];a.I=!0;b&&a.Y&&ri(a.Y,a.B[0])} +function li(a,b,c){a.L!==c&&(a.L=a.O=c)&&(a.I=!0);a.K!==b&&(a.K=b)&&!a.O&&si(a,!0);a.K&&a.O&&(pi(a,!0),a.O=!1)}function mi(a){var b=0;a.B.length&&a.I&&(b=a.B[0],a.Y&&ri(a.Y,b));a.Ya()&&a.Na("scan code "+ea(b)+" available")}function si(a,b){0>=1);if(b&3584){if(!1===d)return!0;d=null}null==d?d=!((c?a.F:a.Pb)&b):d||b&255&&(b=255);if(c){a.F&=~b;d&&(a.F|=b);c=b;var k,l;for(l in Li)d="led-"+l,e=Li[l],c&&c!=e||!(k=a.sa[d])||(k.style.backgroundColor=a.F&e?"#00ff00":"#000000")}else a.Pb&=~b,d&&(a.Pb|=b);return!0}}return!1} +function Ni(a,b,c){if(X[b]&&a.A&&a.A.ja.Lb){Ii[b]&&a.D.length&&0e||(e==a.D.length&&(d={},d.Ld=b,d.Pb=a.Pb,Qi(a,b,!0),e++),0b.Uc){if(!b.He){Pi(a,b.Ld);return}b.He=!1;c=a.ga}else c=1==b.Uc++?500:100;b.aj=setTimeout(function(a){return function(){Si(a,b)}}(a),c)}}else Pi(a,b.Ld,!0)} +function Ui(a,b,c){var d=b;if(65<=b&&90>=b)!(a.Pb&515)==c&&(d=b+32);else if(97<=b&&122>=b)!!(a.Pb&515)==c&&(d=b-32);else if(!!(a.Pb&3)==c){if(a=Hi[b])d=a}else if(a=Gi[b])d=a;return d}f.mg=function(a){a||(this.Pb&=-256)}; +function Mi(a,b,c){var d=!0,e=!1,k=!1,l=b.keyCode,p=Ui(a,l,!0);a.Kg&&p==U["`"]&&(l=p=27);if(X[l+1E3])if(p+=1E3,2==b.location&&(p+=2E3),Oi(a,p,!1,c)){if(20==l||144==l||145==l)a.V||(c=e=!0);if(!(c||91!=l&&93!=l))for(var q=0;q=b||97<=b&&122>=b;d>>>=8;){var l=0,p=d&255;224==k||225==k?e.push(k|(c?0:128)):(42==p?a.F&3||a.F&512&&b||(l=p):29==p?a.F&12||(l=p):56==p?a.F&48||(l=p):e.push(k|(c?0:128)),l&&(c?e.unshift(l):e.push(l|128)))}for(c=0;cd.B.length?(d.Ya()&&d.Na("scan code "+ea(k)+" buffered"),d.B.push(k),1==d.B.length&&d.Y&&ri(d.Y,k)):(20== +d.B.length&&d.B.push(255),d.Na("scan code buffer overflow")))}}Fa(function(){for(var a=Xa(window.document,"pcjs","keyboard"),b=0;bc.length)c=[!1,0,null,null,0,Array(5>b?lj:mj)];this.hb=b;this.cb=e[2];this.Eb=e[3];this.Qc=d||e[4];65536<=this.Qc&&720896<=this.cb&&(this.Eb=Math.min(this.Qc>>2,32768));this.Sb=c[0];this.yc=c[1];this.We=c[2];this.wa=c[3];this.kc=c[4]&255;this.rg=c[4]>>8&255;this.eb=c[5];this.Rg=lj;if(5<=b){this.Rg=mj;b=c[6];void 0===b&&(b=[!1,0,Array(20),0,3==k?0:1,0,0,Array(5),0,0,0,Array(9),0,[this.cb,this.Eb,this.Qc], -Array(this.Qc>>2),-2147478512,0,-1,0,-1,0,-1,0,0,0,0,1,255,0,0,0,Array(256)]);this.Ee=b[0];this.Jd=b[1];this.xc=b[2];this.ei=b[3];this.Xe=b[4];this.tg=b[5];this.oe=b[6];this.ne=b[7];this.Wi=b[8];this.Xi=b[9];this.me=b[10];this.vd=b[11];this.kb=b[12];d=b[13];"number"==typeof d&&(d=[this.cb,this.Eb,d]);this.cb=d[0];this.Eb=d[1];d=this.Qc>>2;if((this.kd=b[14])&&this.kd.length>this.controller.$h&255};oj[17408]=function(a){return(this.controller.kb=this.ba[(a&-4)+this.B])>>((a&3)<<3)&255};oj[5120]=function(a){a+=this.B;var b=this.controller.kb=this.ba[a&-2];return(a&1?b>>8:b)&255}; -oj[1280]=function(a){a+=this.B;a=this.controller.kb=this.ba[a];for(var b=this.controller.Tg,c=this.controller.Sg&b,d=0,e=128;e;)(a&b)==c&&(d|=e),c>>>=1,b>>>=1,e>>=1;return d};oj[0]=function(a,b){var c=a+this.B,d;d=(b|b<<8|b<<16|b<<24)&this.controller.fd|this.controller.ud;d=d&this.controller.pb|this.controller.kb&~this.controller.pb;d=d&this.controller.$a|this.ba[c]&~this.controller.$a;this.ba[c]!=d&&(this.ba[c]=d,this.Qa=!0)}; -oj[32]=function(a,b){var c=a+this.B;b=b>>this.controller.vc|b<<8-this.controller.vc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.fd|this.controller.ud;d=d&this.controller.pb|this.controller.kb&~this.controller.pb;d=d&this.controller.$a|this.ba[c]&~this.controller.$a;this.ba[c]!=d&&(this.ba[c]=d,this.Qa=!0)}; -oj[96]=function(a,b){var c=a+this.B;b=b>>this.controller.vc|b<<8-this.controller.vc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.fd|this.controller.ud;d&=this.controller.kb;d=d&this.controller.pb|this.controller.kb&~this.controller.pb;d=d&this.controller.$a|this.ba[c]&~this.controller.$a;this.ba[c]!=d&&(this.ba[c]=d,this.Qa=!0)}; -oj[160]=function(a,b){var c=a+this.B;b=b>>this.controller.vc|b<<8-this.controller.vc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.fd|this.controller.ud;d|=this.controller.kb;d=d&this.controller.pb|this.controller.kb&~this.controller.pb;d=d&this.controller.$a|this.ba[c]&~this.controller.$a;this.ba[c]!=d&&(this.ba[c]=d,this.Qa=!0)}; -oj[224]=function(a,b){var c=a+this.B;b=b>>this.controller.vc|b<<8-this.controller.vc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.fd|this.controller.ud;d^=this.controller.kb;d=d&this.controller.pb|this.controller.kb&~this.controller.pb;d=d&this.controller.$a|this.ba[c]&~this.controller.$a;this.ba[c]!=d&&(this.ba[c]=d,this.Qa=!0)};oj[4]=function(a,b){var c=(a&-4)+this.B,d=(a&3)<<3,d=b<>this.controller.vc|b<<8-this.controller.vc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.pb;d=this.controller.Re&d|this.controller.kb&~d;d=d&this.controller.$a|this.ba[c]&~this.controller.$a;this.ba[c]!=d&&(this.ba[c]=d,this.Qa=!0)}; -function pj(a){var b=[];if(void 0!==a.hb){b[0]=a.Sb;b[1]=a.yc;b[2]=a.We;b[3]=a.wa;b[4]=a.kc|a.rg<<8;b[5]=a.eb;if(5<=a.hb){var c=[];c[0]=a.Ee;c[1]=a.Jd;c[2]=a.xc;c[3]=a.ei;c[4]=a.Xe;c[5]=a.tg;c[6]=a.oe;c[7]=a.ne;c[8]=a.Wi;c[9]=a.Xi;c[10]=a.me;c[11]=a.vd;c[12]=a.kb;c[13]=[a.cb,a.Eb,a.Qc];var d;a:if(d=a.kd){var e=0,k=[];if(void 0!==d[0])for(var l=0;2>l;l++)for(var p=l;p>1;k[e++]=q;p=w}if(k.lengthc&&(a=Math.round(c/b*100)+"%")}this.Gc?(this.ha.style.width=a,this.ha.style.width=a,this.ha.style.display="block",this.ha.style.margin="auto"):(this.V.style.width=a,this.V.style.height="auto");this.V.style.backgroundColor="black";this.V.Td();a=!0}this.Zc()}return a}; -function Zi(a,b){!b&&a.V&&(a.Gc?a.ha.style.width=a.ha.style.height="":a.V.style.width=a.V.style.height="");a.Na("notifyFullScreen("+b+")",!0);a.D&&(a.D.Kg=b)}f.Fd=function(a){var b=!1;this.K&&(a?this.K.Fd&&(this.K.Fd(),this.P&&this.P.Te(!0),b=!0):this.K.bj&&(this.K.bj(),this.P&&this.P.Te(!1),b=!0),this.Zc());return b};f.Te=function(a){this.P&&(this.P.Te(a),this.D&&(this.D.Kg=a));var b=this.sa.lockPointer;b&&(b.textContent=a?"Press Esc to Unlock Pointer":this.zd)}; -function yj(a,b){var c=a.K;c&&!a.$b&&(c.addEventListener("touchstart",function(b){zj(a,b,!0)},!1),c.addEventListener("touchmove",function(b){zj(a,b)},!0),c.addEventListener("touchend",function(b){zj(a,b,!1)},!1),a.$b=b,a.ab=a.bb=a.Wc=-1)}f.lg=function(a){this.Dc=a;this.D&&this.D.lg(a)}; -function zj(a,b,c){var d,e;a.Dc&&b.preventDefault();var k=0,l=0;e=a.ha;do isNaN(e.offsetLeft)||(k+=e.offsetLeft,l+=e.offsetTop);while(e=e.offsetParent);var p=a.ka/a.ha.offsetWidth,q=a.qa/a.ha.offsetHeight;b.targetTouches&&b.targetTouches.length?(d=b.targetTouches[0].pageX,e=b.targetTouches[0].pageY):(d=b.pageX,e=b.pageY);d=(d-k)*p;e=(e-l)*q;if(1==a.$b)d=d/(a.ka/3)|0,e=e/(a.qa/3)|0,1!=e?e?Mi(a.D,1040,!0):Mi(a.D,1038,!0):1!=d&&(d?Mi(a.D,1039,!0):Mi(a.D,1037,!0));else if(a.P){!0===c&&(a.Wc=b.timeStamp); -if(!1===c&&(b=b.timeStamp-a.Wc,a.dc("processTouchEvent(false,"+b+")"),200>b)){a.P.qf(Aj,!0);a.P.qf(Aj,!1);return}if(c||0>a.ab||0>a.bb)a.ab=d,a.bb=e;c=Math.round(d-a.ab);b=Math.round(e-a.bb);a.ab=d;a.bb=e;a.P.Pg(c,b,a.ab,a.bb)}}f.cc=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};f.bc=function(a){return a&&this.save?this.save():!0}; -f.reset=function(){var a=!0,b=0;this.Y&&(b=uh(this.Y));this.ga||(this.hb=3==b?Vi:3);this.xa=3;switch(this.hb){case vi:b=7;break;case 5:var c=aj[this.mb];c&&(b=c[0]);b||(b=4);break;case Vi:b=3;this.xa=Xi;break;default:b=2}this.na!==b&&(this.na=b,a=!0);this.F=null;this.ja=this.Jb=new jj(this,Vi);this.T=this.qb=new jj(this,3);5>this.hb?this.B=new jj:(this.B=new jj(this,this.hb,null,this.Qc),Bj(this));Cj(this);this.Ea=null;this.Fa=this.fa=-1;this.Aa=0;Dj(this,this.xa);if(this.F.cb&&a){a=this.F.cb+this.Sa; -for(b=this.F.cb;b>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8);Ib(this.ma,b,c|d<<8)}mc(this,!0)}};function Bj(a){a.B.Xe&1?(a.ja=a.Jb,a.T=a.B):(a.ja=a.B,a.T=a.qb)}f.save=function(){var a=new Vd(this);E(a,0,pj(this.Jb));E(a,1,pj(this.qb));E(a,2,[this.na,this.xa,this.Ea]);E(a,3,pj(this.B));return a.data()}; -f.restore=function(a){var b=a[2];this.na=b[0];this.xa=b[1];this.Ea=b[2];this.F=null;this.ja=this.Jb=new jj(this,Vi,a[0]);this.T=this.qb=new jj(this,3,a[1]);this.B=new jj(this,this.hb,a[3],this.Qc);this.B.Sb&&Bj(this);Cj(this);if(!Ej(this))return!1;Fj(this);return!0}; -f.Ik=function(a,b,c){if(c)this.Ja("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){ra("Empty font ROM image: "+a);return}if(1==d.length){ra(d[0]);return}if(8192==d.length)ui(this,d,[6144,0]);else{this.Ja("Unrecognized font data length ("+d.length+")");return}}catch(e){this.Ja("Font ROM data error: "+e.message);return}(this.Z||this.Oa)&&Za(this)}}; -function Gj(a,b){if(1==b)return a.pa[0]=dj[0],a.pa[1]=dj[7],a.pa;if(2==b){var c=a.F.We;if(a.F===a.B){var d=a.B.xc[0],c=d&7;d&16&&(c|=8);18!=a.B.xc[1]&&(c|=32)}a.pa[0]=dj[c&15];c=c&32?fj:ej;for(d=0;dk;k++)l=d[k]||0,p=l<<2&252,q=l>>4&252,l=l>>10&252,a.pa[k]=[p,q,l,255];else{var w=d&&d[255];e=null!=c.xc[15]?c.xc:gj;for(k=0;16>k;k++)l=e[k]&63,w?(l|= -(c.xc[20]&12)<<4,c.xc[16]&128&&(l&=-49,l|=(c.xc[20]&3)<<4),l=d[l],p=l<<2&252,q=l>>4&252,l=l>>10&252):(p=(l&4?170:0)|(l&32?85:0),q=(l&2?170:0)|(l&16?85:0),l=(l&1?170:0)|(l&8?85:0)),a.pa[k]=[p,q,l,255]}a.Ka=!0}return a.pa}function ui(a,b,c,d){a.lb=b;a.Fb=c;a.Ia=d} -function Cj(a,b){var c=!1;if(window&&a.lb&&(!b||a.L)){var d=0,e=a.Ia?a.Ia:8,k=Gj(a);Hj(a,3,a.Fb[0],d,e,8,a.lb,k)&&(c=!0);d=a.Ia?0:2048;e=a.Ia?a.Ia:9;Hj(a,1,a.Fb[1],d,e,14,a.lb,bj,cj)&&(c=!0);a.Ia&&Hj(a,a.hb,a.Fb[1],0,a.Ia,14,a.lb,k)&&(c=!0)}return c}function Hj(a,b,c,d,e,k,l,p,q){var w=!1;null!=c&&(Ij(a,b,c,d,e,k,l,p,q)&&(w=!0),a.wd&&Ij(a,b<<1,c,d,e,k,l,p,q)&&(w=!0));return w} -function Ij(a,b,c,d,e,k,l,p,q){var w=!1,C=b&1?0:1,G=a.ya[b],D=16>p.length?p.length:16;G||(G={mc:e<wa||!ia?wa:8,cf=Qh.createImageData(w.mc,w.nc),ob=0;256>ob;ob++){for(Lb= -0;Lb=wa-2,ml=Sc[Lb>(8<=uc&&192<=ob&&223>=ob?7:uc)?R:kl;Jj(cf,Rh,Sh,Th);U&&Jj(cf,Rh+1,Sh,Th)}Qh.putImageData(cf,(ob&15)*w.mc,(ob>>4)*w.nc)}w.Od[V]="#"+da(R[0],2)+da(R[1],2)+da(R[2],2);w.pi[V]=R;w.Cg[V]=Pd;w=!0}}a.ya[b]=G;return w}function Kj(a){0a.Fa&&(a.Fa=0):a.Fa=-1} -function Fj(a){if(a.L){for(var b=10;15>=b;b++)if(null==a.F.eb[b])return;var c=a.F.eb[10],b=c&31,d=a.F.eb[11]&31,e=a.F.eb[9]&31,k=!1;a.F===a.B&&(k=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!k||b>e)Lj(a);else{c=a.F.eb[15]+((a.F.eb[14]&63)<<8);a.fa!=c&&(Lj(a),a.fa=c);d=d-b+1;if(a.Yc!=b||a.Ec!=d)a.Yc=b,a.Ec=d;a.Ba=e+1;Kj(a)}}} -function Lj(a){if(0<=a.fa){if(void 0!==a.U){var b=a.U[a.fa];if(b&131072){var b=b&-131073,c=a.fa%a.I,d=a.fa/a.I|0;a.L&&a.ya[a.L]&&(a.Ha&&Mj(a,c,d,b,a.Ha),Mj(a,c,d,b));a.U[a.fa]=b}}a.fa=-1}} -function Nj(a){var b,c=a.F;a.Fc=!1;var d=c.vd[5];if(null!=d){b=1024;var e=0,k=c.vd[3]&31;switch(d&3){case 0:if(k){e=32;switch(k&24){case 8:e=96;break;case 16:e=160;break;case 24:e=224}c.vc=k&7}break;case 1:e=1;break;case 2:switch(k&24){default:e=2;break;case 8:e=98;break;case 16:e=162;break;case 24:e=226}break;case 3:a.hb==vi&&(e=3,c.vc=k&7)}d&8&&(b=1280);c=c.ne[4];null!=c&&(c&4||(b|=4096,e|=16),d&64&&(c&8&&(b|=16384,e|=4),a.Fc=!0));b|=e}return b} -function Oj(a,b){var c=a.F;c&&null!=b&&b!=c.Qg&&(c.vg(b),a.ma.vg(c.cb,c.Eb,c.Ng()))} -function Ej(a,b){var c,d=a.Ea,e=a.F;if(e)if(e.hb==Vi)d=Xi;else if(5<=e.hb){var d=null,k=e.Qc>>2,l=32768=e.eb[18]?19:20:21:l&128||350>k?d=c?13:14:480<=k&&(d=3==a.na?17:18):d=c?7-d:6:d-=c?2:0);c=Nj(a)}}else e.yc&8&&(e.yc&2?(d=e.yc&16?6:5,e.yc&4||--d):(d=e.yc&1?3:1,e.yc&4&&--d));else a.Ea=null,null==d&&(d=a.xa);if(!Dj(a,d,b))return!1;Oj(a,c);return!0} -function Dj(a,b,c){if(null!=b&&(b!=a.Ea||c)){a.hd=0;a.Ea=b;a.Ka=!1;b=a.F||(b==Xi?a.ja:a.T);if(b!=a.F||b.cb!=a.cb||b.Eb!=a.Eb){Lj(a);if(a.cb){if(!Bb(a.ma,a.cb,a.Eb))return!1;a.F&&(a.F.Sb=!1)}a.F=b;b.Sb=!0;a.cb=b.cb;a.Eb=b.Eb;if(!wb(a.ma,b.cb,b.Eb,3,b===a.B?b:null))return!1}a.L=0;a.I=a.Cb;a.O=a.Zb;a.Pa=a.I;a.Bb=Wi[Xi][2];b=0;if(c=Wi[a.Ea])a.I=c[0],a.O=c[1],a.Bb=c[2],b=c[3],a.L=c[4],4!=a.na&&7!=a.na||a.F!==a.B||3!=a.L||(7==a.B.eb[9]?a.O=43:a.L=a.hb);a.Mc=a.I*a.O|0;a.Lc=a.Mc/a.Bb|0;a.Sa=a.Lc;a.Kb=0;void 0!== -b&&(a.Sa=(a.Sa<<1)+b|0,a.Kb=a.Sa+b>>1);a.ya.length&&(a.ta=a.ka/a.I|0,a.ua=a.qa/a.O|0,a.L?(b=a.ya[a.L],c=a.ya[a.L<<1],a.yd&&80==a.I?c&&a.ta>=3*c.mc>>2&&(a.L<<=1,b=c):(c&&a.ta>=c.mc&&(a.L<<=1,b=c),b&&(a.ta=b.mc,a.ua=b.nc)),a.Ta=a.Wa=0,b&&(a.Ta=a.I*b.mc,a.Wa=a.O*b.nc)):(a.ta=a.ua=1,a.Ta=a.I,a.Wa=a.O),a.Va=a.Z.createImageData(a.Ta,a.Wa),a.Ga=window.document.createElement("canvas"),a.Ga.width=a.Ta,a.Ga.height=a.Wa,a.Ha=a.Ga.getContext("2d"),a.hc=a.tc=0,a.Qb=a.ka,a.Rb=a.qa,b=a.ka-a.I*a.ta,c=a.qa-a.O*a.ua, -0>1,a.Qb-=b),0>1,a.Rb-=c),b||c)&&(a.Z.fillStyle=a.ha.style.backgroundColor,a.Z.fillRect(0,0,a.ka,a.qa));Pj(a,!0);mc(a)}return!0}function Jj(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Qj(a){a.Aa=-1;a.ra=!1;var b=a.Lc;if(void 0===a.U||a.U.length!=b)a.U=Array(b)}function Pj(a,b){b||(a.Ka=!1);Qj(a)} -function Mj(a,b,c,d,e){var k=d&255,l=d>>8;d=l&15;var p=a.ya[a.L];p.Ae&&(d=p.Ae[d]);var q=l>>4&15;p.Ae&&(q=p.Ae[q]);e?(b*=p.mc,c*=p.nc,e.fillStyle=p.Od[q],e.fillRect(b,c,p.mc,p.nc)):(b=b*a.ta+a.hc,c=c*a.ua+a.tc,a.Z.fillStyle=p.Od[q],a.Z.fillRect(b,c,a.ta,a.ua));l&256&&(q=(k&15)*p.mc,k=(k>>4)*p.nc,e?e.drawImage(p.Cg[d],q,k,p.mc,p.nc,b,c,p.mc,p.nc):a.Z.drawImage(p.Cg[d],q,k,p.mc,p.nc,b,c,a.ta,a.ua));l&512&&(k=a.Yc,l=a.Ec,e?(a.Ba&&a.Ba!==p.nc&&(k=k*p.nc/a.Ba|0,l=l*p.nc/a.Ba|0),e.fillStyle=p.Od[d],e.fillRect(b, -c+k,p.mc,l)):(a.Ba&&a.Ba!==a.ua&&(k=k*a.ua/a.Ba|0,l=l*a.ua/a.Ba|0),a.Z.fillStyle=p.Od[d],a.Z.fillRect(b,c+k,a.ta,l)))} -function mc(a,b){if(a.ia.Yb){var c=!1,d=a.F;d&&(d!==a.B?d.yc&8&&(c=!0):d.Jd&32&&(c=!0));if(c||b){if(b)Qj(a);else if(void 0===a.U)return;var e=!1;!(b||++a.hd&15)&&0<=a.Fa&&(a.Fa++,e=!0);var k=0,l=a.Mc,p=a.cb,c=p,q=c+a.Eb;19<=a.Ea&&(p=c=655360,q=c+65536);if(Rj(a,d)&8||d.je&&d.jeq&&(w=q-c,0>w&&(w=0));q=c+w;if(d= -!b&&a.ra){for(var d=a.ma,C=!0,G=c>>>d.na;0a.fa)return;k=a.fa;l=k+1}}if(a.L){if(a.ya[a.L]){e=0;p=a.Aa=0;d=1048575;w=a.F.yc&32;5<=a.hb&&(w=a.F.xc[16]&8);w&&(p=32768,d&=~p,a.Fa&2||(d&=-65537));for(c+=k<<1;c>8|(D&255)<<8;var ia=p,va=16;C>=d))>>(va-=d);Jj(a.Va,C++,G,w[Sc])}C>V&&(V=C);G=ta&&(ta=G+1)}q+=2;k++;if(C>=a.I){C=0;G+=2;if(G>a.O)break;G==a.O&&(G=1,q=c+a.Kb)}}a.ra=!0;Ra.I?a.Pa-a.I-D>>3:0;c>=8;w>R&&(R=w);C=U&&(U=C+1)}c+=ta;if(w>=a.I){w=0;if(++C>a.O)break;c+=ia}}D||(a.ra=!0);Ga.I?a.Pa-a.I-U>>3:0;cia&&(va=ia)):(D<<=U,va-=U,a.ra=!1):(a.ra&&D===a.U[k]?(d+=va,va=0):a.U[k]=D,k++);if(va){dG&&(G=d);w=V&&(V=w+1)}if(d>=a.I){d=0;if(++w>a.O)break;c+=ta}}U||(a.ra=!0);Cd&&(b.Yg=d,d=-d|0);d%b.Ug>b.Fk&&(c|=1);d%b.Xg>b.Hk&&(c|=9);b.ai=d/b.Xg|0;return c}f.gk=function(){var a=this.ja,b;a.Sb&&(b=a.kc);return b};f.sl=function(a,b){var c=this.ja;c.rg=c.kc;c.kc=b&31};f.fk=function(){return Sj(this.ja)};f.rl=function(a,b){Tj(this,this.ja,b)};f.hk=function(){return this.ja.yc};f.tl=function(a,b){this.ja.yc=b;Ej(this,!1)};f.ik=function(){return Uj(this,this.ja)};f.Vi=function(a,b){this.B.tg=this.B.tg&-4|b&3};f.Ij=function(){return this.B.Jd}; -f.ij=function(){return this.B.xc[this.B.Jd&31]};f.Ui=function(a,b){var c=this.B,d=c.Jd&32;if(c.Ee){c.Ee=!1;var e=c.Jd&31;if(16<=e||!d)c.xc[e]=b,Pj(this,!1)}else c.Jd=b,c.Ee=!0,b&32&&!d&&Cj(this,!0)&&mc(this,!0),c.Ve=(c.eb[12]<<8)+c.eb[13]|0,c.je=0};f.tk=function(){var a=0;if(5==this.hb)a=3-((this.B.Xe&12)>>2),a=(this.mb&1<>this.B.pc&63;this.B.pc+=6;12c.length)c=[!1,0,null,null,0,Array(5>b?mj:nj)];this.hb=b;this.cb=e[2];this.Eb=e[3];this.Qc=d||e[4];65536<=this.Qc&&720896<=this.cb&&(this.Eb=Math.min(this.Qc>>2,32768));this.Sb=c[0];this.yc=c[1];this.Xe=c[2];this.wa=c[3];this.kc=c[4]&255;this.sg=c[4]>>8&255;this.eb=c[5];this.Rg=mj;if(5<=b){this.Rg=nj;b=c[6];void 0===b&&(b=[!1,0,Array(20),0,3==k?0:1,0,0,Array(5),0,0,0,Array(9),0,[this.cb,this.Eb,this.Qc], +Array(this.Qc>>2),-2147478512,0,-1,0,-1,0,-1,0,0,0,0,1,255,0,0,0,Array(256)]);this.Fe=b[0];this.Jd=b[1];this.xc=b[2];this.ei=b[3];this.Ye=b[4];this.ug=b[5];this.pe=b[6];this.oe=b[7];this.Wi=b[8];this.Xi=b[9];this.ne=b[10];this.vd=b[11];this.kb=b[12];d=b[13];"number"==typeof d&&(d=[this.cb,this.Eb,d]);this.cb=d[0];this.Eb=d[1];d=this.Qc>>2;if((this.kd=b[14])&&this.kd.length>this.controller.$h&255};pj[17408]=function(a){return(this.controller.kb=this.aa[(a&-4)+this.B])>>((a&3)<<3)&255};pj[5120]=function(a){a+=this.B;var b=this.controller.kb=this.aa[a&-2];return(a&1?b>>8:b)&255}; +pj[1280]=function(a){a+=this.B;a=this.controller.kb=this.aa[a];for(var b=this.controller.Tg,c=this.controller.Sg&b,d=0,e=128;e;)(a&b)==c&&(d|=e),c>>>=1,b>>>=1,e>>=1;return d};pj[0]=function(a,b){var c=a+this.B,d;d=(b|b<<8|b<<16|b<<24)&this.controller.fd|this.controller.ud;d=d&this.controller.pb|this.controller.kb&~this.controller.pb;d=d&this.controller.ab|this.aa[c]&~this.controller.ab;this.aa[c]!=d&&(this.aa[c]=d,this.Qa=!0)}; +pj[32]=function(a,b){var c=a+this.B;b=b>>this.controller.vc|b<<8-this.controller.vc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.fd|this.controller.ud;d=d&this.controller.pb|this.controller.kb&~this.controller.pb;d=d&this.controller.ab|this.aa[c]&~this.controller.ab;this.aa[c]!=d&&(this.aa[c]=d,this.Qa=!0)}; +pj[96]=function(a,b){var c=a+this.B;b=b>>this.controller.vc|b<<8-this.controller.vc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.fd|this.controller.ud;d&=this.controller.kb;d=d&this.controller.pb|this.controller.kb&~this.controller.pb;d=d&this.controller.ab|this.aa[c]&~this.controller.ab;this.aa[c]!=d&&(this.aa[c]=d,this.Qa=!0)}; +pj[160]=function(a,b){var c=a+this.B;b=b>>this.controller.vc|b<<8-this.controller.vc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.fd|this.controller.ud;d|=this.controller.kb;d=d&this.controller.pb|this.controller.kb&~this.controller.pb;d=d&this.controller.ab|this.aa[c]&~this.controller.ab;this.aa[c]!=d&&(this.aa[c]=d,this.Qa=!0)}; +pj[224]=function(a,b){var c=a+this.B;b=b>>this.controller.vc|b<<8-this.controller.vc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.fd|this.controller.ud;d^=this.controller.kb;d=d&this.controller.pb|this.controller.kb&~this.controller.pb;d=d&this.controller.ab|this.aa[c]&~this.controller.ab;this.aa[c]!=d&&(this.aa[c]=d,this.Qa=!0)};pj[4]=function(a,b){var c=(a&-4)+this.B,d=(a&3)<<3,d=b<>this.controller.vc|b<<8-this.controller.vc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.pb;d=this.controller.Se&d|this.controller.kb&~d;d=d&this.controller.ab|this.aa[c]&~this.controller.ab;this.aa[c]!=d&&(this.aa[c]=d,this.Qa=!0)}; +function qj(a){var b=[];if(void 0!==a.hb){b[0]=a.Sb;b[1]=a.yc;b[2]=a.Xe;b[3]=a.wa;b[4]=a.kc|a.sg<<8;b[5]=a.eb;if(5<=a.hb){var c=[];c[0]=a.Fe;c[1]=a.Jd;c[2]=a.xc;c[3]=a.ei;c[4]=a.Ye;c[5]=a.ug;c[6]=a.pe;c[7]=a.oe;c[8]=a.Wi;c[9]=a.Xi;c[10]=a.ne;c[11]=a.vd;c[12]=a.kb;c[13]=[a.cb,a.Eb,a.Qc];var d;a:if(d=a.kd){var e=0,k=[];if(void 0!==d[0])for(var l=0;2>l;l++)for(var p=l;p>1;k[e++]=q;p=w}if(k.lengthc&&(a=Math.round(c/b*100)+"%")}this.Gc?(this.ha.style.width=a,this.ha.style.width=a,this.ha.style.display="block",this.ha.style.margin="auto"):(this.V.style.width=a,this.V.style.height="auto");this.V.style.backgroundColor="black";this.V.Ud();a=!0}this.Zc()}return a}; +function $i(a,b){!b&&a.V&&(a.Gc?a.ha.style.width=a.ha.style.height="":a.V.style.width=a.V.style.height="");a.Na("notifyFullScreen("+b+")",!0);a.D&&(a.D.Kg=b)}f.Fd=function(a){var b=!1;this.K&&(a?this.K.Fd&&(this.K.Fd(),this.P&&this.P.Ue(!0),b=!0):this.K.bj&&(this.K.bj(),this.P&&this.P.Ue(!1),b=!0),this.Zc());return b};f.Ue=function(a){this.P&&(this.P.Ue(a),this.D&&(this.D.Kg=a));var b=this.sa.lockPointer;b&&(b.textContent=a?"Press Esc to Unlock Pointer":this.zd)}; +function zj(a,b){var c=a.K;c&&!a.ac&&(c.addEventListener("touchstart",function(b){Aj(a,b,!0)},!1),c.addEventListener("touchmove",function(b){Aj(a,b)},!0),c.addEventListener("touchend",function(b){Aj(a,b,!1)},!1),a.ac=b,a.Wa=a.bb=a.Wc=-1)}f.mg=function(a){this.Dc=a;this.D&&this.D.mg(a)}; +function Aj(a,b,c){var d,e;a.Dc&&b.preventDefault();var k=0,l=0;e=a.ha;do isNaN(e.offsetLeft)||(k+=e.offsetLeft,l+=e.offsetTop);while(e=e.offsetParent);var p=a.ka/a.ha.offsetWidth,q=a.qa/a.ha.offsetHeight;b.targetTouches&&b.targetTouches.length?(d=b.targetTouches[0].pageX,e=b.targetTouches[0].pageY):(d=b.pageX,e=b.pageY);d=(d-k)*p;e=(e-l)*q;if(1==a.ac)d=d/(a.ka/3)|0,e=e/(a.qa/3)|0,1!=e?e?Ni(a.D,1040,!0):Ni(a.D,1038,!0):1!=d&&(d?Ni(a.D,1039,!0):Ni(a.D,1037,!0));else if(a.P){!0===c&&(a.Wc=b.timeStamp); +if(!1===c&&(b=b.timeStamp-a.Wc,a.Wb("processTouchEvent(false,"+b+")"),200>b)){a.P.rf(Bj,!0);a.P.rf(Bj,!1);return}if(c||0>a.Wa||0>a.bb)a.Wa=d,a.bb=e;c=Math.round(d-a.Wa);b=Math.round(e-a.bb);a.Wa=d;a.bb=e;a.P.Pg(c,b,a.Wa,a.bb)}}f.dc=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};f.cc=function(a){return a&&this.save?this.save():!0}; +f.reset=function(){var a=!0,b=0;this.Y&&(b=vh(this.Y));this.ga||(this.hb=3==b?Wi:3);this.xa=3;switch(this.hb){case wi:b=7;break;case 5:var c=bj[this.mb];c&&(b=c[0]);b||(b=4);break;case Wi:b=3;this.xa=Yi;break;default:b=2}this.na!==b&&(this.na=b,a=!0);this.F=null;this.ia=this.Jb=new kj(this,Wi);this.T=this.qb=new kj(this,3);5>this.hb?this.B=new kj:(this.B=new kj(this,this.hb,null,this.Qc),Cj(this));Dj(this);this.Ca=null;this.Fa=this.fa=-1;this.za=0;Ej(this,this.xa);if(this.F.cb&&a){a=this.F.cb+this.Sa; +for(b=this.F.cb;b>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8);Ib(this.ma,b,c|d<<8)}mc(this,!0)}};function Cj(a){a.B.Ye&1?(a.ia=a.Jb,a.T=a.B):(a.ia=a.B,a.T=a.qb)}f.save=function(){var a=new Vd(this);E(a,0,qj(this.Jb));E(a,1,qj(this.qb));E(a,2,[this.na,this.xa,this.Ca]);E(a,3,qj(this.B));return a.data()}; +f.restore=function(a){var b=a[2];this.na=b[0];this.xa=b[1];this.Ca=b[2];this.F=null;this.ia=this.Jb=new kj(this,Wi,a[0]);this.T=this.qb=new kj(this,3,a[1]);this.B=new kj(this,this.hb,a[3],this.Qc);this.B.Sb&&Cj(this);Dj(this);if(!Fj(this))return!1;Gj(this);return!0}; +f.Ik=function(a,b,c){if(c)this.Ja("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){ra("Empty font ROM image: "+a);return}if(1==d.length){ra(d[0]);return}if(8192==d.length)vi(this,d,[6144,0]);else{this.Ja("Unrecognized font data length ("+d.length+")");return}}catch(e){this.Ja("Font ROM data error: "+e.message);return}(this.Z||this.Pa)&&Za(this)}}; +function Hj(a,b){if(1==b)return a.pa[0]=ej[0],a.pa[1]=ej[7],a.pa;if(2==b){var c=a.F.Xe;if(a.F===a.B){var d=a.B.xc[0],c=d&7;d&16&&(c|=8);18!=a.B.xc[1]&&(c|=32)}a.pa[0]=ej[c&15];c=c&32?gj:fj;for(d=0;dk;k++)l=d[k]||0,p=l<<2&252,q=l>>4&252,l=l>>10&252,a.pa[k]=[p,q,l,255];else{var w=d&&d[255];e=null!=c.xc[15]?c.xc:hj;for(k=0;16>k;k++)l=e[k]&63,w?(l|= +(c.xc[20]&12)<<4,c.xc[16]&128&&(l&=-49,l|=(c.xc[20]&3)<<4),l=d[l],p=l<<2&252,q=l>>4&252,l=l>>10&252):(p=(l&4?170:0)|(l&32?85:0),q=(l&2?170:0)|(l&16?85:0),l=(l&1?170:0)|(l&8?85:0)),a.pa[k]=[p,q,l,255]}a.Ka=!0}return a.pa}function vi(a,b,c,d){a.lb=b;a.Fb=c;a.Ia=d} +function Dj(a,b){var c=!1;if(window&&a.lb&&(!b||a.L)){var d=0,e=a.Ia?a.Ia:8,k=Hj(a);Ij(a,3,a.Fb[0],d,e,8,a.lb,k)&&(c=!0);d=a.Ia?0:2048;e=a.Ia?a.Ia:9;Ij(a,1,a.Fb[1],d,e,14,a.lb,cj,dj)&&(c=!0);a.Ia&&Ij(a,a.hb,a.Fb[1],0,a.Ia,14,a.lb,k)&&(c=!0)}return c}function Ij(a,b,c,d,e,k,l,p,q){var w=!1;null!=c&&(Jj(a,b,c,d,e,k,l,p,q)&&(w=!0),a.wd&&Jj(a,b<<1,c,d,e,k,l,p,q)&&(w=!0));return w} +function Jj(a,b,c,d,e,k,l,p,q){var w=!1,C=b&1?0:1,G=a.ya[b],D=16>p.length?p.length:16;G||(G={mc:e<wa||!ia?wa:8,bf=Rh.createImageData(w.mc,w.nc),ob=0;256>ob;ob++){for(Lb= +0;Lb=wa-2,nl=Sc[Lb>(8<=tc&&192<=ob&&223>=ob?7:tc)?R:ll;Kj(bf,Sh,Th,Uh);V&&Kj(bf,Sh+1,Th,Uh)}Rh.putImageData(bf,(ob&15)*w.mc,(ob>>4)*w.nc)}w.Pd[W]="#"+da(R[0],2)+da(R[1],2)+da(R[2],2);w.oi[W]=R;w.Cg[W]=Qd;w=!0}}a.ya[b]=G;return w}function Lj(a){0a.Fa&&(a.Fa=0):a.Fa=-1} +function Gj(a){if(a.L){for(var b=10;15>=b;b++)if(null==a.F.eb[b])return;var c=a.F.eb[10],b=c&31,d=a.F.eb[11]&31,e=a.F.eb[9]&31,k=!1;a.F===a.B&&(k=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!k||b>e)Mj(a);else{c=a.F.eb[15]+((a.F.eb[14]&63)<<8);a.fa!=c&&(Mj(a),a.fa=c);d=d-b+1;if(a.Yc!=b||a.Ec!=d)a.Yc=b,a.Ec=d;a.Ba=e+1;Lj(a)}}} +function Mj(a){if(0<=a.fa){if(void 0!==a.U){var b=a.U[a.fa];if(b&131072){var b=b&-131073,c=a.fa%a.I,d=a.fa/a.I|0;a.L&&a.ya[a.L]&&(a.Ha&&Nj(a,c,d,b,a.Ha),Nj(a,c,d,b));a.U[a.fa]=b}}a.fa=-1}} +function Oj(a){var b,c=a.F;a.Fc=!1;var d=c.vd[5];if(null!=d){b=1024;var e=0,k=c.vd[3]&31;switch(d&3){case 0:if(k){e=32;switch(k&24){case 8:e=96;break;case 16:e=160;break;case 24:e=224}c.vc=k&7}break;case 1:e=1;break;case 2:switch(k&24){default:e=2;break;case 8:e=98;break;case 16:e=162;break;case 24:e=226}break;case 3:a.hb==wi&&(e=3,c.vc=k&7)}d&8&&(b=1280);c=c.oe[4];null!=c&&(c&4||(b|=4096,e|=16),d&64&&(c&8&&(b|=16384,e|=4),a.Fc=!0));b|=e}return b} +function Pj(a,b){var c=a.F;c&&null!=b&&b!=c.Qg&&(c.wg(b),a.ma.wg(c.cb,c.Eb,c.Ng()))} +function Fj(a,b){var c,d=a.Ca,e=a.F;if(e)if(e.hb==Wi)d=Yi;else if(5<=e.hb){var d=null,k=e.Qc>>2,l=32768=e.eb[18]?19:20:21:l&128||350>k?d=c?13:14:480<=k&&(d=3==a.na?17:18):d=c?7-d:6:d-=c?2:0);c=Oj(a)}}else e.yc&8&&(e.yc&2?(d=e.yc&16?6:5,e.yc&4||--d):(d=e.yc&1?3:1,e.yc&4&&--d));else a.Ca=null,null==d&&(d=a.xa);if(!Ej(a,d,b))return!1;Pj(a,c);return!0} +function Ej(a,b,c){if(null!=b&&(b!=a.Ca||c)){a.hd=0;a.Ca=b;a.Ka=!1;b=a.F||(b==Yi?a.ia:a.T);if(b!=a.F||b.cb!=a.cb||b.Eb!=a.Eb){Mj(a);if(a.cb){if(!Bb(a.ma,a.cb,a.Eb))return!1;a.F&&(a.F.Sb=!1)}a.F=b;b.Sb=!0;a.cb=b.cb;a.Eb=b.Eb;if(!wb(a.ma,b.cb,b.Eb,3,b===a.B?b:null))return!1}a.L=0;a.I=a.Cb;a.O=a.Tb;a.Ya=a.I;a.Bb=Xi[Yi][2];b=0;if(c=Xi[a.Ca])a.I=c[0],a.O=c[1],a.Bb=c[2],b=c[3],a.L=c[4],4!=a.na&&7!=a.na||a.F!==a.B||3!=a.L||(7==a.B.eb[9]?a.O=43:a.L=a.hb);a.Mc=a.I*a.O|0;a.Lc=a.Mc/a.Bb|0;a.Sa=a.Lc;a.Kb=0;void 0!== +b&&(a.Sa=(a.Sa<<1)+b|0,a.Kb=a.Sa+b>>1);a.ya.length&&(a.ta=a.ka/a.I|0,a.ua=a.qa/a.O|0,a.L?(b=a.ya[a.L],c=a.ya[a.L<<1],a.yd&&80==a.I?c&&a.ta>=3*c.mc>>2&&(a.L<<=1,b=c):(c&&a.ta>=c.mc&&(a.L<<=1,b=c),b&&(a.ta=b.mc,a.ua=b.nc)),a.Ta=a.Ua=0,b&&(a.Ta=a.I*b.mc,a.Ua=a.O*b.nc)):(a.ta=a.ua=1,a.Ta=a.I,a.Ua=a.O),a.Oa=a.Z.createImageData(a.Ta,a.Ua),a.Ga=window.document.createElement("canvas"),a.Ga.width=a.Ta,a.Ga.height=a.Ua,a.Ha=a.Ga.getContext("2d"),a.hc=a.tc=0,a.Qb=a.ka,a.Rb=a.qa,b=a.ka-a.I*a.ta,c=a.qa-a.O*a.ua, +0>1,a.Qb-=b),0>1,a.Rb-=c),b||c)&&(a.Z.fillStyle=a.ha.style.backgroundColor,a.Z.fillRect(0,0,a.ka,a.qa));Qj(a,!0);mc(a)}return!0}function Kj(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Rj(a){a.za=-1;a.ra=!1;var b=a.Lc;if(void 0===a.U||a.U.length!=b)a.U=Array(b)}function Qj(a,b){b||(a.Ka=!1);Rj(a)} +function Nj(a,b,c,d,e){var k=d&255,l=d>>8;d=l&15;var p=a.ya[a.L];p.Be&&(d=p.Be[d]);var q=l>>4&15;p.Be&&(q=p.Be[q]);e?(b*=p.mc,c*=p.nc,e.fillStyle=p.Pd[q],e.fillRect(b,c,p.mc,p.nc)):(b=b*a.ta+a.hc,c=c*a.ua+a.tc,a.Z.fillStyle=p.Pd[q],a.Z.fillRect(b,c,a.ta,a.ua));l&256&&(q=(k&15)*p.mc,k=(k>>4)*p.nc,e?e.drawImage(p.Cg[d],q,k,p.mc,p.nc,b,c,p.mc,p.nc):a.Z.drawImage(p.Cg[d],q,k,p.mc,p.nc,b,c,a.ta,a.ua));l&512&&(k=a.Yc,l=a.Ec,e?(a.Ba&&a.Ba!==p.nc&&(k=k*p.nc/a.Ba|0,l=l*p.nc/a.Ba|0),e.fillStyle=p.Pd[d],e.fillRect(b, +c+k,p.mc,l)):(a.Ba&&a.Ba!==a.ua&&(k=k*a.ua/a.Ba|0,l=l*a.ua/a.Ba|0),a.Z.fillStyle=p.Pd[d],a.Z.fillRect(b,c+k,a.ta,l)))} +function mc(a,b){if(a.ja.$b){var c=!1,d=a.F;d&&(d!==a.B?d.yc&8&&(c=!0):d.Jd&32&&(c=!0));if(c||b){if(b)Rj(a);else if(void 0===a.U)return;var e=!1;!(b||++a.hd&15)&&0<=a.Fa&&(a.Fa++,e=!0);var k=0,l=a.Mc,p=a.cb,c=p,q=c+a.Eb;19<=a.Ca&&(p=c=655360,q=c+65536);if(Sj(a,d)&8||d.ke&&d.keq&&(w=q-c,0>w&&(w=0));q=c+w;if(d= +!b&&a.ra){for(var d=a.ma,C=!0,G=c>>>d.na;0a.fa)return;k=a.fa;l=k+1}}if(a.L){if(a.ya[a.L]){e=0;p=a.za=0;d=1048575;w=a.F.yc&32;5<=a.hb&&(w=a.F.xc[16]&8);w&&(p=32768,d&=~p,a.Fa&2||(d&=-65537));for(c+=k<<1;c>8|(D&255)<<8;var ia=p,va=16;C>=d))>>(va-=d);Kj(a.Oa,C++,G,w[Sc])}C>W&&(W=C);G=ta&&(ta=G+1)}q+=2;k++;if(C>=a.I){C=0;G+=2;if(G>a.O)break;G==a.O&&(G=1,q=c+a.Kb)}}a.ra=!0;Ra.I?a.Ya-a.I-D>>3:0;c>=8;w>R&&(R=w);C=V&&(V=C+1)}c+=ta;if(w>=a.I){w=0;if(++C>a.O)break;c+=ia}}D||(a.ra=!0);Ga.I?a.Ya-a.I-V>>3:0;cia&&(va=ia)):(D<<=V,va-=V,a.ra=!1):(a.ra&&D===a.U[k]?(d+=va,va=0):a.U[k]=D,k++);if(va){dG&&(G=d);w=W&&(W=w+1)}if(d>=a.I){d=0;if(++w>a.O)break;c+=ta}}V||(a.ra=!0);Cd&&(b.Yg=d,d=-d|0);d%b.Ug>b.Fk&&(c|=1);d%b.Xg>b.Hk&&(c|=9);b.ai=d/b.Xg|0;return c}f.gk=function(){var a=this.ia,b;a.Sb&&(b=a.kc);return b};f.sl=function(a,b){var c=this.ia;c.sg=c.kc;c.kc=b&31};f.fk=function(){return Tj(this.ia)};f.rl=function(a,b){Uj(this,this.ia,b)};f.hk=function(){return this.ia.yc};f.tl=function(a,b){this.ia.yc=b;Fj(this,!1)};f.ik=function(){return Vj(this,this.ia)};f.Vi=function(a,b){this.B.ug=this.B.ug&-4|b&3};f.Ij=function(){return this.B.Jd}; +f.ij=function(){return this.B.xc[this.B.Jd&31]};f.Ui=function(a,b){var c=this.B,d=c.Jd&32;if(c.Fe){c.Fe=!1;var e=c.Jd&31;if(16<=e||!d)c.xc[e]=b,Qj(this,!1)}else c.Jd=b,c.Fe=!0,b&32&&!d&&Dj(this,!0)&&mc(this,!0),c.We=(c.eb[12]<<8)+c.eb[13]|0,c.ke=0};f.tk=function(){var a=0;if(5==this.hb)a=3-((this.B.Ye&12)>>2),a=(this.mb&1<>this.B.pc&63;this.B.pc+=6;12Missing <canvas> support. Please try a newer web browser.";break}e.setAttribute("class","pcjs-canvas");e.setAttribute("width",d.screenWidth);e.setAttribute("height",d.screenHeight);e.style.backgroundColor=d.screenColor;e.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(c.onresize= function(a,b,c,d){return function(){b.style.height=(a.clientWidth*d/c|0)+"px"}}(c,e,d.screenWidth,d.screenHeight),c.onresize());c.appendChild(e);var k=window.document.createElement("textarea");Aa("iOS")&&(k.setAttribute("autocapitalize","off"),k.setAttribute("autocorrect","off"));c.appendChild(k);var l=e.getContext("2d"),d=new Y(d,e,l,k,c);Wa(d,c)}}); -function Vj(a){this.ha=a.adapter;switch(this.ha){case 1:this.ga=1016;this.T=4;break;case 2:this.ga=760;this.T=3;break;default:ra("Unrecognized serial adapter #"+this.ha);return}this.I=null;Ja.call(this,"SerialPort",a,Vj);var b=a.binding,c;a=Wj;b&&(void 0===c&&(c="Panel"),(c=Ua(c,this.id))&&(b=c.sa[b])&&this.Ib(null,a,b))}Ra(Vj);var Wj="buffer";f=Vj.prototype;f.ti=function(a,b){return a==this.ue?(this.P=b,this):null}; -f.Ib=function(a,b,c){var d=this;switch(b){case Wj:return this.sa[b]=this.I=c,c.onkeydown=function(a){a=a||window.event;var b=a.keyCode;if(8===b||a.ctrlKey&&65<=b&&90>=b)a.preventDefault&&a.preventDefault(),64>8:this.U};f.bk=function(){return this.F};f.ck=function(){return this.K};f.ek=function(){return this.D};f.dk=function(){return this.B};f.jk=function(){return this.Z}; -f.Dl=function(a,b){if(this.K&128)this.L=this.L&-256|b;else{this.fa=b;this.B&=-97;var c;this.I?(13!=b&&(8==b?this.I.value=this.I.value.slice(0,-1):(this.I.value+=String.fromCharCode(b),this.I.scrollTop=this.I.scrollHeight)),c=!0):c=!1;c&&(this.B|=96)}};f.ol=function(a,b){this.K&128?this.L=this.L&255|b<<8:this.U=b};f.pl=function(a,b){this.K=b}; -f.ql=function(a,b){var c=this.D;this.D=b;if(this.P&&(c^b)&3){var c=this.P,d=this.D,e=3==(d&3);if(e){if(!c.Sb){var k=!1;c.D&2||(c.reset(),c.Na("serial mouse reset"),k=!0);c.D&1||(c.Na("serial mouse ID requested"),k=!0);k&&(Xj(c.I,[77,77]),c.Na("serial mouse ID sent"));ck(c);c.Sb=e}}else c.Sb&&(c.Na("serial mouse inactive"),dk(c),c.Sb=e);c.D=d}}; -var Yj={0:Vj.prototype.qk,1:Vj.prototype.ak,2:Vj.prototype.bk,3:Vj.prototype.ck,4:Vj.prototype.ek,5:Vj.prototype.dk,6:Vj.prototype.jk},Zj={0:Vj.prototype.Dl,1:Vj.prototype.ol,3:Vj.prototype.pl,4:Vj.prototype.ql};Fa(function(){for(var a=Xa(window.document,"pcjs","serial"),b=0;ba.K||0>a.L)a.K=b.clientX,a.L=b.clientY;a.Y?(c=b.movementX||b.mozMovementX||b.webkitMovementX||0,d=b.movementY||b.mozMovementY||b.webkitMovementY||0):(c=b.clientX-a.K,d=b.clientY-a.L);a.K=b.clientX;a.L=b.clientY;a.Pg(c,d,a.K,a.L)}} -f.qf=function(a,b){if(this.Sb&&this.A&&this.A.ia.Lb)switch(a){case Aj:this.T!=b&&(this.T=b,ik(this));break;case 2:this.U!=b&&(this.U=b,ik(this))}};f.Pg=function(a,b,c,d){this.Sb&&this.A&&this.A.ia.Lb&&(a||b)&&(this.O=a,this.P=b,ik(this,c,d))};function ik(a,b,c){var d=64|(a.T?32:0)|(a.U?16:0)|(a.P&192)>>4|(a.O&192)>>6,e=a.O&63,k=a.P&63;a.Va(4194304)&&a.Na(""+(void 0!==c?"mouse ("+b+","+c+"): ":"")+"serial packet ["+ea(d)+","+ea(e)+","+ea(k)+"]",0,!0);Xj(a.I,[d,e,k]);a.O=a.P=0} -Fa(function(){for(var a=Xa(window.document,"pcjs","mouse"),b=0;b>2;var e=d=0,a=new DataView(a,0,c);l.A=Array(l.tb);for(c=0;cb.indexOf("/api/v1/dump")&&(a=ga(b),"json"==a?k=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(k=ok(this,b),this.tf=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"):-1!==b.indexOf("/",b.length-1)&&(c= -"dir"),k=qa()+"/api/v1/dump?"+c+"="+encodeURIComponent(b)+(this.Xd?"":d)+"&format=json")),pa(k,!0,null,this,this.qj,b)}; -f.qj=function(a,b,c,d){var e=null;this.$d=!1;var k=0>c&&this.xa&&!this.xa.ia.Yb;if(this.tf)c?this.controller.Ja('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",k):(this.F=!0,e=this);else if(c)this.controller.Ja('Unable to load disk "'+this.B+'" (error '+c+")",k);else try{if(0l&&0=b)a.preventDefault&&a.preventDefault(),64>8:this.V};f.bk=function(){return this.F};f.ck=function(){return this.K};f.ek=function(){return this.D};f.dk=function(){return this.B};f.jk=function(){return this.fa}; +f.Dl=function(a,b){if(this.K&128)this.O=this.O&-256|b;else{this.ha=b;this.B&=-97;var c;if(this.I)13!=b&&(8==b?this.I.value=this.I.value.slice(0,-1):(this.I.value+=String.fromCharCode(b),this.I.scrollTop=this.I.scrollHeight)),c=!0;else if(null!=this.L){if(10==b||1024<=this.L.length)this.Wb(this.L),this.L="";10!=b&&(this.L+=String.fromCharCode(b));c=!0}else c=!1;c&&(this.B|=96)}};f.ol=function(a,b){this.K&128?this.O=this.O&255|b<<8:this.V=b};f.pl=function(a,b){this.K=b}; +f.ql=function(a,b){var c=this.D;this.D=b;if(this.P&&(c^b)&3){var c=this.P,d=this.D,e=3==(d&3);if(e){if(!c.Sb){var k=!1;c.D&2||(c.reset(),c.Na("serial mouse reset"),k=!0);c.D&1||(c.Na("serial mouse ID requested"),k=!0);k&&(Yj(c.I,[77,77]),c.Na("serial mouse ID sent"));dk(c);c.Sb=e}}else c.Sb&&(c.Na("serial mouse inactive"),ek(c),c.Sb=e);c.D=d}}; +var Zj={0:Wj.prototype.qk,1:Wj.prototype.ak,2:Wj.prototype.bk,3:Wj.prototype.ck,4:Wj.prototype.ek,5:Wj.prototype.dk,6:Wj.prototype.jk},ak={0:Wj.prototype.Dl,1:Wj.prototype.ol,3:Wj.prototype.pl,4:Wj.prototype.ql};Fa(function(){for(var a=Xa(window.document,"pcjs","serial"),b=0;ba.K||0>a.L)a.K=b.clientX,a.L=b.clientY;a.Y?(c=b.movementX||b.mozMovementX||b.webkitMovementX||0,d=b.movementY||b.mozMovementY||b.webkitMovementY||0):(c=b.clientX-a.K,d=b.clientY-a.L);a.K=b.clientX;a.L=b.clientY;a.Pg(c,d,a.K,a.L)}} +f.rf=function(a,b){if(this.Sb&&this.A&&this.A.ja.Lb)switch(a){case Bj:this.T!=b&&(this.T=b,jk(this));break;case 2:this.U!=b&&(this.U=b,jk(this))}};f.Pg=function(a,b,c,d){this.Sb&&this.A&&this.A.ja.Lb&&(a||b)&&(this.O=a,this.P=b,jk(this,c,d))};function jk(a,b,c){var d=64|(a.T?32:0)|(a.U?16:0)|(a.P&192)>>4|(a.O&192)>>6,e=a.O&63,k=a.P&63;a.Ya(4194304)&&a.Na(""+(void 0!==c?"mouse ("+b+","+c+"): ":"")+"serial packet ["+ea(d)+","+ea(e)+","+ea(k)+"]",0,!0);Yj(a.I,[d,e,k]);a.O=a.P=0} +Fa(function(){for(var a=Xa(window.document,"pcjs","mouse"),b=0;b>2;var e=d=0,a=new DataView(a,0,c);l.A=Array(l.tb);for(c=0;cb.indexOf("/api/v1/dump")&&(a=ga(b),"json"==a?k=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(k=pk(this,b),this.uf=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"):-1!==b.indexOf("/",b.length-1)&&(c= +"dir"),k=qa()+"/api/v1/dump?"+c+"="+encodeURIComponent(b)+(this.Yd?"":d)+"&format=json")),pa(k,!0,null,this,this.qj,b)}; +f.qj=function(a,b,c,d){var e=null;this.ae=!1;var k=0>c&&this.xa&&!this.xa.ja.$b;if(this.uf)c?this.controller.Ja('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",k):(this.F=!0,e=this);else if(c)this.controller.Ja('Unable to load disk "'+this.B+'" (error '+c+")",k);else try{if(0l&&0b.indexOf("0x")&&'["'!=b.substr(0,2)?JSON.parse(b.replace(/([a-z]+):/gm,'"$1":').replace(/\/\/[^\n]*/gm,"")):eval("("+b+")");if(p.length)if(1==p.length)ra(p[0]);else{this.tb=p.length;this.ub=p[0].length;this.zb=p[0][0].length;var q=p[0][0][0];this.ob=q&&q.length||512;for(b=a=0;b>2,C=q.pattern;void 0===C&&(C=q.pattern=0);var G=q.data;if(void 0===G){var D=q.bytes;if(void 0!== -D&&D.length){for(var k=w<<2,R=D.length;Rb&&(b=0);2E3b&&(b=0);2E3>2,e=Array(d),k=0;k>2,e=a.data;a=a.pattern;for(var k=0;k>8&255;c[d++]=l>>16&255;c[d++]=l>>24&255}return c}function uk(a,b){var c=-1;if(a&&b>2,c=(d>((b&3)<<3)&255;return c} -f.write=function(a,b,c){if(this.$d)return!1;if(b>2;b=(b&3)<<3;for(var l=d.length;l<=k;l++)d[l]=e;a.qc?k=a.Kc+a.qc&&(a.qc+=k-(a.Kc+a.qc)+1):(a.Kc=k,a.qc=1);d[k]=d[k]&~(255<=this.A.length||q>=this.A[p].length||w>=this.A[p][q].length){c="sector (CHS="+p+":"+q+":"+w+") out of range ("+ -b+" changes applied)";b=-1;break}if(this.$d){c="unable to modify write-protected disk";b=-1;break}e=l[k++];k=l[k++];l=e+k.length;if(p=this.A[p][q][w]){for(q=p.data.length;qb&&-2!=b&&this.controller.Ja("Unable to restore disk '"+this.B+": "+c);return b}; +f.seek=function(a,b,c,d,e){var k=null,l=this.D,p=this.A[a];if(p){var q=p[b];if(!q&&l.Eg&&b>2,e=Array(d),k=0;k>2,e=a.data;a=a.pattern;for(var k=0;k>8&255;c[d++]=l>>16&255;c[d++]=l>>24&255}return c}function vk(a,b){var c=-1;if(a&&b>2,c=(d>((b&3)<<3)&255;return c} +f.write=function(a,b,c){if(this.ae)return!1;if(b>2;b=(b&3)<<3;for(var l=d.length;l<=k;l++)d[l]=e;a.qc?k=a.Kc+a.qc&&(a.qc+=k-(a.Kc+a.qc)+1):(a.Kc=k,a.qc=1);d[k]=d[k]&~(255<=this.A.length||q>=this.A[p].length||w>=this.A[p][q].length){c="sector (CHS="+p+":"+q+":"+w+") out of range ("+ +b+" changes applied)";b=-1;break}if(this.ae){c="unable to modify write-protected disk";b=-1;break}e=l[k++];k=l[k++];l=e+k.length;if(p=this.A[p][q][w]){for(q=p.data.length;qb&&-2!=b&&this.controller.Ja("Unable to restore disk '"+this.B+": "+c);return b}; f.toJSON=function(){var a=JSON.stringify(this.A,function(a,c){return"file"==a?void 0:c}),a=a.replace(/,"length":512/gm,"").replace(/,"pattern":0/gm,""),a=a.replace(/"(sector|length|data|pattern)":/gm,"$1:"),a=a.replace(/,"[^"]*":([0-9]+|true|false)/gm,""),a=a.replace(/(sector|length|data|pattern):/gm,'"$1":');return a=a.replace(/([\]}]),/gm,"$1,\n")}; -function vk(a){Ja.call(this,"FDC",a,vk);this.dmaRead=this.cj;this.dmaWrite=this.dj;this.dmaFormat=this.nj;this.O=null;if(a.autoMount&&(this.O=a.autoMount,"string"==typeof this.O))try{this.O=eval("("+a.autoMount+")")}catch(b){ra("FDC auto-mount error: "+b.message+" ("+a.autoMount+")"),this.O=null}this.D=[];this.V=!Aa("Mobi")&&window&&"FileReader"in window}Ra(vk);aa={}; -var wk={3:{ad:3,nd:0,name:aa.nm},4:{ad:2,nd:1,name:aa.lm},5:{ad:9,nd:7,name:aa.vm},6:{ad:9,nd:7,name:aa.gm},7:{ad:2,nd:0,name:aa.im},8:{ad:1,nd:2,name:aa.mm},10:{ad:2,nd:7,name:aa.hm},13:{ad:6,nd:7,name:aa.Ul},15:{ad:3,nd:0,name:aa.km}};f=vk.prototype; -f.Ib=function(a,b,c){var d=this;switch(b){case "listDisks":return this.sa[b]=c,c.onchange=function(){var a=d.sa.descDisk,b=c.options[c.selectedIndex];if(a&&b){var l={};if(b=b.getAttribute("data-value"))try{l=eval("({"+b+"})")}catch(p){ra("FDC option error: "+p.message)}b=l.desc;void 0===b&&(b="");l=l.href;void 0!==l&&(b=''+b+"");a.innerHTML=b}},!0;case "descDisk":case "listDrives":return this.sa[b]=c,c.onchange=function(){var a=ca(c.value,10);null!=a&&xk(d,a)}, -!0;case "loadDrive":return this.sa[b]=c,c.onclick=function(){var a=d.sa.listDisks;a&&yk(d,a.options[a.selectedIndex].text,a.value)},!0;case "mountDrive":return this.V?(this.sa[b]=c,c.addEventListener("change",function(){var a=c.children[0];a.children[1].disabled=!a.children[0].files.length}),c.onsubmit=function(a){if(a=a.currentTarget[1].files[0]){var b=a.name;yk(d,fa(b,!0),b,a)}return!1}):c.parentNode.removeChild(c),!0}return!1}; -f.uc=function(a,b,c,d){this.ma=b;this.A=c;this.Oa=d;this.xa=a;this.Y=gb(a,"ChipSet");zk(this);Jb(b,this,Ak);Mb(b,this,Bk);this.V&&Ck(this,"Local Disk","?");Ck(this,"Remote Disk","??");Dk(this)||Za(this)}; -f.cc=function(a,b){if(!b){if(!a||!this.restore){if(this.reset(),this.xa.Lg){this.D=[];for(var c=0;cl.za.restore(D)&&(p=!1);p&&l.za&&void 0!==l.Ua&&(l.Xa=l.za.seek(l.xb,l.Ya,l.jb));p||(e=!1)}a.L=b[c++]||0;a.ga=b[c]||0;return e} -function Dk(a,b){b||(a.T=0);if(a.O)for(var c in a.O){var d=a.O[c];if(d.name&&d.path){var e=c.charCodeAt(0)-65;if(0<=e&&ea.tb||k[1]>a.ub)&&(this.Ja('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.Ra)),b=null);b?(a.za=b,a.Yi=c,a.Kd=d,Hk(this,c,d,b),k=b.info(),this.L|=128,this.Ja('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.Ra),a.Dd||e),a.Af=k[0],a.Oe=k[1],a.Pe=k[2]):a.Vd=!1;a.Dd&&(a.Dd=!1,--this.T||Za(this));xk(this,a.Ra)}; -function Ck(a,b,c){if(a=a.sa.listDisks){for(var d=0;d=this.F&&(this.wa&=-81,this.I=this.F=0);return a}; -f.il=function(a,b){this.F=wk[c].ad){var d=!1;this.I=0;var c=Ik(this),e,k,l,p,q,w=c&31;switch(w){case 3:Ik(this);Ik(this);Jk(this);break;case 4:k=Ik(this);this.Ra=k&3;e=this.B[this.Ra];Jk(this);Kk(this,(e.ib&-16777216)>>>24);break;case 5:case 6:k=Ik(this);d=k>>2&1;this.Ra=k&3;e=this.B[this.Ra];e.Ya=d;k=e.xb=Ik(this);l=Ik(this);p=e.jb=Ik(this);q=Ik(this);e.sb=128<>2&1;this.Ra=k&3;e=this.B[this.Ra];k=e.xb;l=e.Ya=d;p= -e.jb=1;q=0;e.ib=0;e.za&&(e.Xa=e.za.seek(e.xb,e.Ya,e.jb))?q=e.Xa.length>>8:e.ib=72;Lk(this,e,c,d,k,l,p,q);d=!0;break;case 13:k=Ik(this);d=k>>2&1;this.Ra=k&3;e=this.B[this.Ra];k=e.xb;l=e.Ya=d;p=1;q=Ik(this);e.sb=128<>2&1,k=Ik(this),e.xb+= -k-e.ld,0>e.xb&&(e.xb=0),e.xb>=e.tb&&(e.xb=e.tb-1),e.ld=k,e.ib=32,e.xb||(e.ib|=268435456),Jk(this),d=!0}0>>8);Kk(a,(b.ib&16711680)>>>16);var q=0;if(e!=b.xb||k!=b.Ya)q=l=1;c&128&&(k^=q,d||(q=0));Kk(a,e+q);Kk(a,k);Kk(a,l);Kk(a,p)} -function Ik(a){var b=a.K[a.I];a.I++;return b}function Jk(a){a.I=a.F=0}function Kk(a,b){a.K[a.F++]=b}f.cj=function(a,b,c){if(void 0===b||0>b){b=-1;var d=null,e=0;if(!a.ib&&a.za){do{if(a.Xa&&(e=a.Ua,0<=(b=uk(a.Xa,a.Ua++)))){d=a.Xa;break}a.Xa=a.za.seek(a.xb,a.Ya,a.jb);if(!a.Xa){a.ib=1088;break}a.Ua=0;Mk(a)}while(1)}c(b,!1,d,e)}else c(-1,!1)};f.dj=function(a,b){return void 0!==b&&0<=b?Nk(a,b):-1}; -f.nj=function(a,b){var c;if(void 0!==b&&0<=b)a:if(c=b,a.ib)c=-1;else{a.zc[a.Sd++]=c;if(a.Sd==a.zc.length){a.xb=a.zc[0];a.Ya=a.zc[1];a.jb=a.zc[2];a.sb=128<Nk(a,a.ui)){c=-1;break a}a.nf++}a.nf>=a.md&&(c=-1)}else c=-1;return c};function Nk(a,b){if(a.ib||!a.za)return-1;do{if(a.Xa&&a.za.write(a.Xa,a.Ua++,b))break;a.Xa=a.za.seek(a.xb,a.Ya,a.jb);if(!a.Xa){a.ib=8256;b=-1;break}a.Ua=0;Mk(a)}while(1);return b} -function Mk(a){a.jb++;a.jb>=a.Pe+1&&(a.jb=1,a.Ya++,a.Ya>=a.Oe&&(a.Ya=0,a.xb++))}var Ak={1012:vk.prototype.Yj,1013:vk.prototype.Wj,1015:vk.prototype.Xj},Bk={1010:vk.prototype.jl,1013:vk.prototype.il,1015:vk.prototype.hl};Fa(function(){for(var a=Xa(window.document,"pcjs","fdc"),b=0;b'+b+"");a.innerHTML=b}},!0;case "descDisk":case "listDrives":return this.sa[b]=c,c.onchange=function(){var a=ca(c.value,10);null!=a&&yk(d,a)}, +!0;case "loadDrive":return this.sa[b]=c,c.onclick=function(){var a=d.sa.listDisks;a&&zk(d,a.options[a.selectedIndex].text,a.value)},!0;case "mountDrive":return this.V?(this.sa[b]=c,c.addEventListener("change",function(){var a=c.children[0];a.children[1].disabled=!a.children[0].files.length}),c.onsubmit=function(a){if(a=a.currentTarget[1].files[0]){var b=a.name;zk(d,fa(b,!0),b,a)}return!1}):c.parentNode.removeChild(c),!0}return!1}; +f.uc=function(a,b,c,d){this.ma=b;this.A=c;this.Pa=d;this.xa=a;this.Y=gb(a,"ChipSet");Ak(this);Jb(b,this,Bk);Mb(b,this,Ck);this.V&&Dk(this,"Local Disk","?");Dk(this,"Remote Disk","??");Ek(this)||Za(this)}; +f.dc=function(a,b){if(!b){if(!a||!this.restore){if(this.reset(),this.xa.Lg){this.D=[];for(var c=0;cl.Aa.restore(D)&&(p=!1);p&&l.Aa&&void 0!==l.Va&&(l.Xa=l.Aa.seek(l.xb,l.Za,l.jb));p||(e=!1)}a.L=b[c++]||0;a.ga=b[c]||0;return e} +function Ek(a,b){b||(a.T=0);if(a.O)for(var c in a.O){var d=a.O[c];if(d.name&&d.path){var e=c.charCodeAt(0)-65;if(0<=e&&ea.tb||k[1]>a.ub)&&(this.Ja('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.Ra)),b=null);b?(a.Aa=b,a.Yi=c,a.Kd=d,Ik(this,c,d,b),k=b.info(),this.L|=128,this.Ja('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.Ra),a.Dd||e),a.Bf=k[0],a.Pe=k[1],a.Qe=k[2]):a.Wd=!1;a.Dd&&(a.Dd=!1,--this.T||Za(this));yk(this,a.Ra)}; +function Dk(a,b,c){if(a=a.sa.listDisks){for(var d=0;d=this.F&&(this.wa&=-81,this.I=this.F=0);return a}; +f.il=function(a,b){this.F=xk[c].ad){var d=!1;this.I=0;var c=Jk(this),e,k,l,p,q,w=c&31;switch(w){case 3:Jk(this);Jk(this);Kk(this);break;case 4:k=Jk(this);this.Ra=k&3;e=this.B[this.Ra];Kk(this);Lk(this,(e.ib&-16777216)>>>24);break;case 5:case 6:k=Jk(this);d=k>>2&1;this.Ra=k&3;e=this.B[this.Ra];e.Za=d;k=e.xb=Jk(this);l=Jk(this);p=e.jb=Jk(this);q=Jk(this);e.sb=128<>2&1;this.Ra=k&3;e=this.B[this.Ra];k=e.xb;l=e.Za=d;p= +e.jb=1;q=0;e.ib=0;e.Aa&&(e.Xa=e.Aa.seek(e.xb,e.Za,e.jb))?q=e.Xa.length>>8:e.ib=72;Mk(this,e,c,d,k,l,p,q);d=!0;break;case 13:k=Jk(this);d=k>>2&1;this.Ra=k&3;e=this.B[this.Ra];k=e.xb;l=e.Za=d;p=1;q=Jk(this);e.sb=128<>2&1,k=Jk(this),e.xb+= +k-e.ld,0>e.xb&&(e.xb=0),e.xb>=e.tb&&(e.xb=e.tb-1),e.ld=k,e.ib=32,e.xb||(e.ib|=268435456),Kk(this),d=!0}0>>8);Lk(a,(b.ib&16711680)>>>16);var q=0;if(e!=b.xb||k!=b.Za)q=l=1;c&128&&(k^=q,d||(q=0));Lk(a,e+q);Lk(a,k);Lk(a,l);Lk(a,p)} +function Jk(a){var b=a.K[a.I];a.I++;return b}function Kk(a){a.I=a.F=0}function Lk(a,b){a.K[a.F++]=b}f.cj=function(a,b,c){if(void 0===b||0>b){b=-1;var d=null,e=0;if(!a.ib&&a.Aa){do{if(a.Xa&&(e=a.Va,0<=(b=vk(a.Xa,a.Va++)))){d=a.Xa;break}a.Xa=a.Aa.seek(a.xb,a.Za,a.jb);if(!a.Xa){a.ib=1088;break}a.Va=0;Nk(a)}while(1)}c(b,!1,d,e)}else c(-1,!1)};f.dj=function(a,b){return void 0!==b&&0<=b?Ok(a,b):-1}; +f.nj=function(a,b){var c;if(void 0!==b&&0<=b)a:if(c=b,a.ib)c=-1;else{a.zc[a.Td++]=c;if(a.Td==a.zc.length){a.xb=a.zc[0];a.Za=a.zc[1];a.jb=a.zc[2];a.sb=128<Ok(a,a.ti)){c=-1;break a}a.of++}a.of>=a.md&&(c=-1)}else c=-1;return c};function Ok(a,b){if(a.ib||!a.Aa)return-1;do{if(a.Xa&&a.Aa.write(a.Xa,a.Va++,b))break;a.Xa=a.Aa.seek(a.xb,a.Za,a.jb);if(!a.Xa){a.ib=8256;b=-1;break}a.Va=0;Nk(a)}while(1);return b} +function Nk(a){a.jb++;a.jb>=a.Qe+1&&(a.jb=1,a.Za++,a.Za>=a.Pe&&(a.Za=0,a.xb++))}var Bk={1012:wk.prototype.Yj,1013:wk.prototype.Wj,1015:wk.prototype.Xj},Ck={1010:wk.prototype.jl,1013:wk.prototype.il,1015:wk.prototype.hl};Fa(function(){for(var a=Xa(window.document,"pcjs","fdc"),b=0;bq.za.restore(l)&&(R=!1),R&&void 0!==q.Ua&&(q.Xa=q.za.seek(q.xd,q.Ya,q.jb+q.mf)));R||(e=!1);null!=a.fa&&1>=d&&(a.fa|=(k.type&3)<<(1-d<<1))}0<=a.Ra&&(a.D=a.B[a.Ra]);return e} -function Vk(a,b,c){if(b){var d=0,e=0;null==c&&((d=b.Qd[2])?e=b.Qd[0]<<8|b.Qd[1]:c=b.type);null==c||d||(d=Ok[a.Z][c][1],e=Ok[a.Z][c][0]);d&&((c=Ok[a.Z][b.type])&&e!=c[0]&&d!=c[1]&&a.Ja("Warning: drive parameters ("+e+","+d+") do not match drive type "+b.type+" ("+c[0]+","+c[1]+")"),b.tb=e,b.ub=d,null==b.za&&(b.za=new jk(a,b,b.mode)))}} -function Tk(a,b){b||(a.T=0);for(var c=0;c=this.F&&(this.I=this.F=0,this.wa&=-15);return a};f.Fl=function(a,b){this.F=c&&(this.wa|=2,this.wa&=-2,Wk(this))}; -f.zk=function(){var a=this.wa;this.I=a.D.ob?(a.wa=128,Yk(a.D,function(b){0<=b?(Zk(a),a.wa=88):(a.wa=1,a.O=16)},!1)):a.wa=80));return b} -f.gj=function(){return Xk(this)|Xk(this)<<8};function $k(a,b){a.D&&a.D.sb>=a.D.ob&&(0>al(a.D,b)?(a.wa=1,a.O=16):(1==a.D.Ua||a.D.Ua==a.D.ob)&&1=a.D.ob&&(a.wa|=8)))}f.Qk=function(a,b){$k(this,b&255);$k(this,b>>8&255)};f.Hj=function(){return this.O};f.Vk=function(a,b){this.ua=b};f.Jj=function(){return this.P};f.Tk=function(a,b){this.P=b};f.Kj=function(){return this.ka};f.Uk=function(a,b){this.ka=b};f.Fj=function(){return this.ja}; -f.Pk=function(a,b){this.ja=b};f.Ej=function(){return this.ha};f.Ok=function(a,b){this.ha=b};f.Gj=function(){return this.ga};f.Rk=function(a,b){this.ga=b;this.wa=this.B[this.ga&16?1:0]?this.wa|80:this.wa&-65};f.Lj=function(){return this.wa};f.Nk=function(a,b){this.pa=b;this.Y&&ci(this.Y,14);bl(this)};f.Sk=function(a,b){this.U&4&&!(b&4)&&(this.O=1);this.U=b}; -function bl(a){var b=!1,c=a.pa,d=a.ga&16?1:0,e=a.ga&15,k=a.ja|(a.ha&3)<<8,l=a.ka,p=a.P||256;a.Ra=-1;a.D=null;a.O=0;a.wa=80;var q=a.B[d];q?(q.xd=k,q.Ya=e,q.jb=l,q.sb=p*q.ob,c=144<=c?c:c&240,q.Xa=null,q.Ua=0,q.errorCode=0,a.Ra=d,a.D=q):c=-1;switch(c&240){case 16:b=!0;break;case 32:a.wa=128;Yk(q,function(b){0<=b&&a.Y?(Zk(a),a.wa=88):(a.wa=1,a.O=16)},!1);break;case 48:a.wa=8;break;case 64:b=!0;break;case 112:b=!0;break;case 144:a.O=1;b=!0;break;case 145:q.ub=e+1,q.zb=p,b=!0}b&&Zk(a)} -function Zk(a){!a.Y||a.U&2||bi(a.Y,14,120)} -function Wk(a){a.I=0;var b=cl(a),c=cl(a),d=c&32,e=d>>5,k=c&31,l=cl(a),p=cl(a),q=l<<2&768|p,w=l&63,C=cl(a),G=cl(a),D=a.B[e];D&&(D.xd=q,D.Ya=k,D.jb=w,D.sb=C*D.ob);switch(b){case 3:dl(a,D?D.errorCode:4);el(a,c);el(a,l);el(a,p);el(a,0|d);b=-1;break;case 12:for(c=0;0<=(b=cl(a));)D&&cb?Yk(a,c):c(-1,!1)};f.fj=function(a,b){return void 0!==b&&0<=b?al(a,b):-1}; -f.oj=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Uaal(a,a.ui)){c=-1;break a}a.nf++}a.nf>=a.md&&(c=-1)}else c=-1;return c}; -function fl(a,b,c){b.errorCode=4;if(b.za&&(b.Xa=null,a.Y)){b.errorCode=0;Wh(a.Y,3,a,"dmaRead",b);Oh(a.Y,3,function(a){a||0!=b.errorCode||(b.errorCode=4);c(b.errorCode?2:0)});return}c(b.errorCode?2:0)}function gl(a,b,c){b.errorCode=4;if(b.za&&(b.Xa=null,a.Y)){b.errorCode=0;Wh(a.Y,3,a,"dmaWrite",b);Oh(a.Y,3,function(a){a||(0==b.errorCode&&(b.errorCode=4),20==b.errorCode&&(b.errorCode=0));c(b.errorCode?2:0)});return}c(b.errorCode?2:0)} -function hl(a,b,c){b.errorCode=4;b.Rd&&b.Rd.length==b.sb||(b.Rd=Array(b.sb));b.Ua=0;a.Y?(b.errorCode=0,Wh(a.Y,3,a,"dmaWriteBuffer",b),Oh(a.Y,3,function(a){a||0!=b.errorCode||(b.errorCode=4);c(b.errorCode?2:0)})):c(b.errorCode?2:0)} -function Yk(a,b,c){var d=-1,e=null,k=0;if(a.errorCode)return b&&b(d,!1,e,k),d;var l=!1!==c?1:0;if(a.Xa&&(k=a.Ua,d=uk(a.Xa,a.Ua),a.Ua+=l,0<=d))return e=a.Xa,b&&b(d,!1,e,k),d;if(b){if(a.za)return a.za.seek(a.xd,a.Ya,a.jb+a.mf,!1,function(c,q){(a.Xa=c)?(e=c,k=a.Ua=0,il(a),d=uk(a.Xa,a.Ua),a.Ua+=l):a.errorCode=20;b(d,q,e,k)}),d;a.errorCode=20;b(d,!1,e,k)}return d} -function al(a,b){if(a.errorCode)return-1;do{if(a.Xa&&a.za.write(a.Xa,a.Ua++,b))break;a.za&&a.za.seek(a.xd,a.Ya,a.jb+a.mf,!0,function(b){a.Xa=b});if(!a.Xa){a.errorCode=20;b=-1;break}a.Ua=0;il(a)}while(1);return b}function il(a){a.jb++;var b=1-a.mf;a.jb>=a.zb+b&&(a.jb=b,a.Ya++,a.Ya>=a.ub&&(a.Ya=0,a.xd++))}f.Ak=function(){var a=this.A.H&255;!(this.A.G>>8)&&128>8||!this.Y)||(a=!(this.Y.Vb[0].Pc&64));return a?!0:!1}; -var Qk={800:Z.prototype.yk,801:Z.prototype.zk,802:Z.prototype.xk},Pk={496:Z.prototype.gj,497:Z.prototype.Hj,498:Z.prototype.Jj,499:Z.prototype.Kj,500:Z.prototype.Fj,501:Z.prototype.Ej,502:Z.prototype.Gj,503:Z.prototype.Lj},Sk={800:Z.prototype.Fl,801:Z.prototype.Il,802:Z.prototype.Hl,803:Z.prototype.Gl,807:Z.prototype.bi,811:Z.prototype.bi,815:Z.prototype.bi},Rk={496:Z.prototype.Qk,497:Z.prototype.Vk,498:Z.prototype.Tk,499:Z.prototype.Uk,500:Z.prototype.Pk,501:Z.prototype.Ok,502:Z.prototype.Rk,503:Z.prototype.Nk, -1014:Z.prototype.Sk};Fa(function(){for(var a=Xa(window.document,"pcjs","hdc"),b=0;bq.Aa.restore(l)&&(R=!1),R&&void 0!==q.Va&&(q.Xa=q.Aa.seek(q.xd,q.Za,q.jb+q.nf)));R||(e=!1);null!=a.fa&&1>=d&&(a.fa|=(k.type&3)<<(1-d<<1))}0<=a.Ra&&(a.D=a.B[a.Ra]);return e} +function Wk(a,b,c){if(b){var d=0,e=0;null==c&&((d=b.Rd[2])?e=b.Rd[0]<<8|b.Rd[1]:c=b.type);null==c||d||(d=Pk[a.Z][c][1],e=Pk[a.Z][c][0]);d&&((c=Pk[a.Z][b.type])&&e!=c[0]&&d!=c[1]&&a.Ja("Warning: drive parameters ("+e+","+d+") do not match drive type "+b.type+" ("+c[0]+","+c[1]+")"),b.tb=e,b.ub=d,null==b.Aa&&(b.Aa=new kk(a,b,b.mode)))}} +function Uk(a,b){b||(a.T=0);for(var c=0;c=this.F&&(this.I=this.F=0,this.wa&=-15);return a};f.Fl=function(a,b){this.F=c&&(this.wa|=2,this.wa&=-2,Xk(this))}; +f.zk=function(){var a=this.wa;this.I=a.D.ob?(a.wa=128,Zk(a.D,function(b){0<=b?($k(a),a.wa=88):(a.wa=1,a.O=16)},!1)):a.wa=80));return b} +f.gj=function(){return Yk(this)|Yk(this)<<8};function al(a,b){a.D&&a.D.sb>=a.D.ob&&(0>bl(a.D,b)?(a.wa=1,a.O=16):(1==a.D.Va||a.D.Va==a.D.ob)&&1=a.D.ob&&(a.wa|=8)))}f.Qk=function(a,b){al(this,b&255);al(this,b>>8&255)};f.Hj=function(){return this.O};f.Vk=function(a,b){this.ua=b};f.Jj=function(){return this.P};f.Tk=function(a,b){this.P=b};f.Kj=function(){return this.ka};f.Uk=function(a,b){this.ka=b};f.Fj=function(){return this.ia}; +f.Pk=function(a,b){this.ia=b};f.Ej=function(){return this.ha};f.Ok=function(a,b){this.ha=b};f.Gj=function(){return this.ga};f.Rk=function(a,b){this.ga=b;this.wa=this.B[this.ga&16?1:0]?this.wa|80:this.wa&-65};f.Lj=function(){return this.wa};f.Nk=function(a,b){this.pa=b;this.Y&&di(this.Y,14);cl(this)};f.Sk=function(a,b){this.U&4&&!(b&4)&&(this.O=1);this.U=b}; +function cl(a){var b=!1,c=a.pa,d=a.ga&16?1:0,e=a.ga&15,k=a.ia|(a.ha&3)<<8,l=a.ka,p=a.P||256;a.Ra=-1;a.D=null;a.O=0;a.wa=80;var q=a.B[d];q?(q.xd=k,q.Za=e,q.jb=l,q.sb=p*q.ob,c=144<=c?c:c&240,q.Xa=null,q.Va=0,q.errorCode=0,a.Ra=d,a.D=q):c=-1;switch(c&240){case 16:b=!0;break;case 32:a.wa=128;Zk(q,function(b){0<=b&&a.Y?($k(a),a.wa=88):(a.wa=1,a.O=16)},!1);break;case 48:a.wa=8;break;case 64:b=!0;break;case 112:b=!0;break;case 144:a.O=1;b=!0;break;case 145:q.ub=e+1,q.zb=p,b=!0}b&&$k(a)} +function $k(a){!a.Y||a.U&2||ci(a.Y,14,120)} +function Xk(a){a.I=0;var b=dl(a),c=dl(a),d=c&32,e=d>>5,k=c&31,l=dl(a),p=dl(a),q=l<<2&768|p,w=l&63,C=dl(a),G=dl(a),D=a.B[e];D&&(D.xd=q,D.Za=k,D.jb=w,D.sb=C*D.ob);switch(b){case 3:el(a,D?D.errorCode:4);fl(a,c);fl(a,l);fl(a,p);fl(a,0|d);b=-1;break;case 12:for(c=0;0<=(b=dl(a));)D&&cb?Zk(a,c):c(-1,!1)};f.fj=function(a,b){return void 0!==b&&0<=b?bl(a,b):-1}; +f.oj=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Vabl(a,a.ti)){c=-1;break a}a.of++}a.of>=a.md&&(c=-1)}else c=-1;return c}; +function gl(a,b,c){b.errorCode=4;if(b.Aa&&(b.Xa=null,a.Y)){b.errorCode=0;Xh(a.Y,3,a,"dmaRead",b);Ph(a.Y,3,function(a){a||0!=b.errorCode||(b.errorCode=4);c(b.errorCode?2:0)});return}c(b.errorCode?2:0)}function hl(a,b,c){b.errorCode=4;if(b.Aa&&(b.Xa=null,a.Y)){b.errorCode=0;Xh(a.Y,3,a,"dmaWrite",b);Ph(a.Y,3,function(a){a||(0==b.errorCode&&(b.errorCode=4),20==b.errorCode&&(b.errorCode=0));c(b.errorCode?2:0)});return}c(b.errorCode?2:0)} +function il(a,b,c){b.errorCode=4;b.Sd&&b.Sd.length==b.sb||(b.Sd=Array(b.sb));b.Va=0;a.Y?(b.errorCode=0,Xh(a.Y,3,a,"dmaWriteBuffer",b),Ph(a.Y,3,function(a){a||0!=b.errorCode||(b.errorCode=4);c(b.errorCode?2:0)})):c(b.errorCode?2:0)} +function Zk(a,b,c){var d=-1,e=null,k=0;if(a.errorCode)return b&&b(d,!1,e,k),d;var l=!1!==c?1:0;if(a.Xa&&(k=a.Va,d=vk(a.Xa,a.Va),a.Va+=l,0<=d))return e=a.Xa,b&&b(d,!1,e,k),d;if(b){if(a.Aa)return a.Aa.seek(a.xd,a.Za,a.jb+a.nf,!1,function(c,q){(a.Xa=c)?(e=c,k=a.Va=0,jl(a),d=vk(a.Xa,a.Va),a.Va+=l):a.errorCode=20;b(d,q,e,k)}),d;a.errorCode=20;b(d,!1,e,k)}return d} +function bl(a,b){if(a.errorCode)return-1;do{if(a.Xa&&a.Aa.write(a.Xa,a.Va++,b))break;a.Aa&&a.Aa.seek(a.xd,a.Za,a.jb+a.nf,!0,function(b){a.Xa=b});if(!a.Xa){a.errorCode=20;b=-1;break}a.Va=0;jl(a)}while(1);return b}function jl(a){a.jb++;var b=1-a.nf;a.jb>=a.zb+b&&(a.jb=b,a.Za++,a.Za>=a.ub&&(a.Za=0,a.xd++))}f.Ak=function(){var a=this.A.H&255;!(this.A.G>>8)&&128>8||!this.Y)||(a=!(this.Y.Xb[0].Pc&64));return a?!0:!1}; +var Rk={800:Z.prototype.yk,801:Z.prototype.zk,802:Z.prototype.xk},Qk={496:Z.prototype.gj,497:Z.prototype.Hj,498:Z.prototype.Jj,499:Z.prototype.Kj,500:Z.prototype.Fj,501:Z.prototype.Ej,502:Z.prototype.Gj,503:Z.prototype.Lj},Tk={800:Z.prototype.Fl,801:Z.prototype.Il,802:Z.prototype.Hl,803:Z.prototype.Gl,807:Z.prototype.bi,811:Z.prototype.bi,815:Z.prototype.bi},Sk={496:Z.prototype.Qk,497:Z.prototype.Vk,498:Z.prototype.Tk,499:Z.prototype.Uk,500:Z.prototype.Pk,501:Z.prototype.Ok,502:Z.prototype.Rk,503:Z.prototype.Nk, +1014:Z.prototype.Sk};Fa(function(){for(var a=Xa(window.document,"pcjs","hdc"),b=0;bsl){if(d.load(this.F)){this.D=new Vd(this,ul,"failsafe");this.D.load()&&(xl(this,d),a=2,nl(this.D));E(this.D,"timestamp",la());ol(this.D);var e=this.lc&&!this.I;if(1==a||sa("Click OK to restore the previous PCjs machine state, or CANCEL to reset the machine.")){if(c=pl(d)){var k=ql(d,"code"),l=ql(d,"data");k&&("ok"==k?d.load(l):("error"==k&&"no machine state"!=l?(this.Ja("Error: "+ -l),"unable to verify user"==l&&(za("user",""),this.B=null)):this.dc(k+": "+l),nl(d),d.load()?(c=pl(d),e=!0):c=!1))}e&&wl(this,c?d:null)}else 2==a&&d.clear()}else wl(this);delete this.F;delete this.K}e=Sa(this.id);for(k=0;ka[1];a=a[2];this.ia.Yb=!0;this.ri||(this.dc("PCjs v"+ul+"\nCopyright \u00a9 2012-2015 Jeff Parsons \nLicense: GPL version 3 or later "),this.ri=!0);this.A&&(yl(this,this.A,b,c,a),kc(this.A));this.O&&(xl(this,b),b.clear());!c&&this.D&&(this.D.clear(),delete this.D)}; -function xl(a,b){if(sa("There may be a problem with your PCjs machine.\n\nTo help us diagnose it, click OK to send this PCjs machine state to http://www.pcjs.org.")){var c=a.T,d=a.pd(),e=b.toString(),k={app:"PCjs"};k.ver=ul;k.url=c;k.user=d;k.type="bug";k.data=e;pa("http://www.pcjs.org/api/v1/report",!0,k)}} -function zl(a,b,c){var d,e="none",k=new Vd(a,ul),l=new Vd(a,ul,"validate"),p=la();E(l,"timestamp",p);E(k,"timestamp",p);E(k,"version","1.19.8");E(k,"url",window?window.location.href:null);E(k,"browser",window?window.navigator.userAgent:"");a.A&&a.A.bc&&(c&&nc(a.A),d=a.A.bc(b,c),"object"===typeof d&&E(k,a.A.id,d),c&&(a.A.ia.Yb=!1,!1===d&&(e=null)));for(var p=Sa(a.id),q=0;qp.indexOf("/")&&(p=window.location.pathname+p);a=a.replace(/(]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" state=$2"+d+"$2":"")+(p?" url=$2"+p+"$2":""))}p=null;if("<"==a.charAt(0))try{e||(a=a.replace(/\s*/g,"")),window.ActiveXObject||"ActiveXObject"in window?(p=new window.ActiveXObject("Microsoft.XMLDOM"),p.async=!1,p.loadXML(a)):p=(new window.DOMParser).parseFromString(a,"text/xml")}catch(G){p= -null,a=G.message}else a="unrecognized XML: "+(255/g.exec(a)){var e=d[2];b("Loading "+e+"...");pa(e,!0,null,null,function(k,l,p){if(p||!l)c(a,"unable to resolve XML reference: "+d[0]+" ("+p+")");else{if(k=d[3])if(p=l.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var q=p[0],w,C=/( [a-z]+=)(['"])(.*?)\2/g;w=C.exec(k);)q=0>q.indexOf(w[1])?q.replace(">",w[0]+">"):q.replace(new RegExp(w[1]+"(['\"])(.*?)\\1"),w[0]);p[0]!=q&&(l=l.replace(p[0],q))}else{c(a,"missing <"+d[1]+"> in "+e);return}l=l.replace(/<\?xml[^>]*>[\r\n]*/, -"");a=a.replace(d[0],l);Fl(a,b,c)}})}else c(a,null)} -function Gl(a,b,c,d){function e(a){if(void 0===p){var b=l&&Xa(l,"machine-warning");p=b&&b[0]||l}p&&(p.innerHTML=ja(a))}function k(a){e("Error: "+a);q&&(--Cl||Ha(!0));q=!1}var l,p,q=!0;Cl++;try{if(l=window.document.getElementById(a)){c||(c="/versions/pcjs/1.19.8/components.xsl");var w=function(d,p){if(p){var q=function(d,q){if(q)if(q)if(e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var w=p.transformNode(q);w?(l.outerHTML=w,--Cl||Ha(!0)):k("transformNodeToObject failed")}else window.document.implementation&& -window.document.implementation.createDocument?(w=new XSLTProcessor,w.importStylesheet(q),(w=w.transformToFragment(p,window.document))?l.parentNode?(l.parentNode.replaceChild(w,l),--Cl||Ha(!0)):k("invalid machine element: "+a):k("transformToFragment failed")):k("unable to transform XML: unsupported browser");else k("failed to load XSL file: "+c);else k(d)};p?Dl(c,null,null,!1,e,q):k("failed to load XML file: "+b)}else k(d)};"<"!=b.charAt(0)?Dl(b,a,d,!0,e,w):El(b,null,a,d,!1,e,w)}else k("missing machine element: "+ -a)}catch(C){k(C.message)}return q}window.embedPC=function(a,b,c,d){Ha(!1);return Gl(a,b,c,d)};window.enableEvents=Ha;window.sendEvent=Ia;})(); +function sl(a,b,c){Ja.call(this,"Computer",a,sl);this.ja.$b=!1;this.P=a.busWidth||a.buswidth;this.lc=tl;this.F=null;this.I=!1;this.T=b?b.url:null;this.U=(Math.random()+.1).toString(36).substr(2,12);this.B=ul(this);if(this.A=Ua("CPU",this.id)){this.Pa=Ua("Debugger",this.id);this.ma=new pb({id:this.Ci+".bus",buswidth:this.P},this.A,this.Pa);var d,e=Sa(this.id);if((this.gd=Ua("Panel",this.id))&&this.gd.Hg)for(b=0;btl){if(d.load(this.F)){this.D=new Vd(this,vl,"failsafe");this.D.load()&&(yl(this,d),a=2,ol(this.D));E(this.D,"timestamp",la());pl(this.D);var e=this.lc&&!this.I;if(1==a||sa("Click OK to restore the previous PCjs machine state, or CANCEL to reset the machine.")){if(c=ql(d)){var k=rl(d,"code"),l=rl(d,"data");k&&("ok"==k?d.load(l):("error"==k&&"no machine state"!=l?(this.Ja("Error: "+ +l),"unable to verify user"==l&&(za("user",""),this.B=null)):this.Wb(k+": "+l),ol(d),d.load()?(c=ql(d),e=!0):c=!1))}e&&xl(this,c?d:null)}else 2==a&&d.clear()}else xl(this);delete this.F;delete this.K}e=Sa(this.id);for(k=0;ka[1];a=a[2];this.ja.$b=!0;this.vi||(this.Wb("PCjs v"+vl+"\nCopyright \u00a9 2012-2015 Jeff Parsons \nLicense: GPL version 3 or later "),this.vi=!0);this.A&&(zl(this,this.A,b,c,a),kc(this.A));this.O&&(yl(this,b),b.clear());!c&&this.D&&(this.D.clear(),delete this.D)}; +function yl(a,b){if(sa("There may be a problem with your PCjs machine.\n\nTo help us diagnose it, click OK to send this PCjs machine state to http://www.pcjs.org.")){var c=a.T,d=a.pd(),e=b.toString(),k={app:"PCjs"};k.ver=vl;k.url=c;k.user=d;k.type="bug";k.data=e;pa("http://www.pcjs.org/api/v1/report",!0,k)}} +function Al(a,b,c){var d,e="none",k=new Vd(a,vl),l=new Vd(a,vl,"validate"),p=la();E(l,"timestamp",p);E(k,"timestamp",p);E(k,"version","1.19.8");E(k,"url",window?window.location.href:null);E(k,"browser",window?window.navigator.userAgent:"");a.A&&a.A.cc&&(c&&nc(a.A),d=a.A.cc(b,c),"object"===typeof d&&E(k,a.A.id,d),c&&(a.A.ja.$b=!1,!1===d&&(e=null)));for(var p=Sa(a.id),q=0;qp.indexOf("/")&&(p=window.location.pathname+p);a=a.replace(/(]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" state=$2"+d+"$2":"")+(p?" url=$2"+p+"$2":""))}p=null;if("<"==a.charAt(0))try{e||(a=a.replace(/\s*/g,"")),window.ActiveXObject||"ActiveXObject"in window?(p=new window.ActiveXObject("Microsoft.XMLDOM"),p.async=!1,p.loadXML(a)):p=(new window.DOMParser).parseFromString(a,"text/xml")}catch(G){p= +null,a=G.message}else a="unrecognized XML: "+(255/g.exec(a)){var e=d[2];b("Loading "+e+"...");pa(e,!0,null,null,function(k,l,p){if(p||!l)c(a,"unable to resolve XML reference: "+d[0]+" ("+p+")");else{if(k=d[3])if(p=l.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var q=p[0],w,C=/( [a-z]+=)(['"])(.*?)\2/g;w=C.exec(k);)q=0>q.indexOf(w[1])?q.replace(">",w[0]+">"):q.replace(new RegExp(w[1]+"(['\"])(.*?)\\1"),w[0]);p[0]!=q&&(l=l.replace(p[0],q))}else{c(a,"missing <"+d[1]+"> in "+e);return}l=l.replace(/<\?xml[^>]*>[\r\n]*/, +"");a=a.replace(d[0],l);Gl(a,b,c)}})}else c(a,null)} +function Hl(a,b,c,d){function e(a){if(void 0===p){var b=l&&Xa(l,"machine-warning");p=b&&b[0]||l}p&&(p.innerHTML=ja(a))}function k(a){e("Error: "+a);q&&(--Dl||Ha(!0));q=!1}var l,p,q=!0;Dl++;try{if(l=window.document.getElementById(a)){c||(c="/versions/pcjs/1.19.8/components.xsl");var w=function(d,p){if(p){var q=function(d,q){if(q)if(q)if(e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var w=p.transformNode(q);w?(l.outerHTML=w,--Dl||Ha(!0)):k("transformNodeToObject failed")}else window.document.implementation&& +window.document.implementation.createDocument?(w=new XSLTProcessor,w.importStylesheet(q),(w=w.transformToFragment(p,window.document))?l.parentNode?(l.parentNode.replaceChild(w,l),--Dl||Ha(!0)):k("invalid machine element: "+a):k("transformToFragment failed")):k("unable to transform XML: unsupported browser");else k("failed to load XSL file: "+c);else k(d)};p?El(c,null,null,!1,e,q):k("failed to load XML file: "+b)}else k(d)};"<"!=b.charAt(0)?El(b,a,d,!0,e,w):Fl(b,null,a,d,!1,e,w)}else k("missing machine element: "+ +a)}catch(C){k(C.message)}return q}window.embedPC=function(a,b,c,d){Ha(!1);return Hl(a,b,c,d)};window.enableEvents=Ha;window.sendEvent=Ia;})();