b||(d&&this.$b&&a.xb&&a.xb.right>=a.xb.left&&(a.V(),this.Xa.update(a,a.xb,null),a.xb.set(0,0,-1,-1)),b===this.i.length-1?this.i.pop():(wa(this.i,b),this.eh(b)),this.Jc=!0)};l.prototype.$f=function(a,d){a.Nc= this.i.length;this.i.push(a);d&&this.$b&&a.xb&&a.p();this.Jc=!0};l.prototype.lt=function(a){this.i.unshift(a);this.eh(0)};l.prototype.Rs=function(a,d,b){var g=a.Tc();d=d.Tc();wa(this.i,g);gthis.ea||b.top>this.da||(d.globalCompositeOperation=a.eg,a.Rc(d))}};l.prototype.nj=function(){this.jd=!0;var a=this.Sa(0,0,!0,!0),d=this.Sa(0,0,!1,!0);this.jd=!1;this.b.sd&&(a=Math.round(a),d=Math.round(d));this.Ri(a, d,null)};l.prototype.Ri=function(a,d,b){var g=this.ub();this.W=a;this.X=d;this.ea=a+1/g*this.b.H;this.da=d+1/g*this.b.G;this.W>this.ea&&(a=this.W,this.W=this.ea,this.ea=a);this.X>this.da&&(a=this.X,this.X=this.da,this.da=a);a=this.Eb();0!==a&&(b&&(b.translate(this.b.H/2,this.b.G/2),b.rotate(-a),b.translate(this.b.H/-2,this.b.G/-2)),this.wd.set(this.W,this.X,this.ea,this.da),this.wd.offset((this.W+this.ea)/-2,(this.X+this.da)/-2),this.Oo.yo(this.wd,a),this.Oo.$l(this.wd),this.wd.offset((this.W+this.ea)/ 2,(this.X+this.da)/2),this.W=this.wd.left,this.X=this.wd.top,this.ea=this.wd.right,this.da=this.wd.bottom)};l.prototype.bf=function(a){if(this.Yc=this.Vh){this.b.Ea||(this.b.Ea=a.Qb(this.b.H,this.b.G,this.b.ya));if(this.b.Ea.le!==this.b.H||this.b.Ea.ke!==this.b.G)a.deleteTexture(this.b.Ea),this.b.Ea=a.Qb(this.b.H,this.b.G,this.b.ya);a.qc(this.b.Ea)}this.jd=!0;var d=this.Sa(0,0,!0,!0),b=this.Sa(0,0,!1,!0);this.jd=!1;this.b.sd&&(d=Math.round(d),b=Math.round(b));this.Ri(d,b,null);d=this.ub();a.pc(); a.scale(d,d);a.Si(-this.Eb());a.translate((this.W+this.ea)/-2,(this.X+this.da)/-2);a.Zb();this.$b?(this.Ua.left=this.Xa.mb(this.W),this.Ua.top=this.Xa.nb(this.X),this.Ua.right=this.Xa.mb(this.ea),this.Ua.bottom=this.Xa.nb(this.da),this.Jc||!this.Ua.kg(this.wf)?(t(this.pd),d=this.ek(),this.Jc=!1,this.wf.fg(this.Ua)):d=this.pd):d=this.i;for(var g,f=null,b=d.length-1;0<=b;--b)g=d[b],g!==f&&(this.Rq(d[b],a),f=g);this.$b&&(this.pd=d);this.Lc||(this.Hj=this.b.pe++,a.Vi(this.Hj),a.ro(1,1,1),a.um(),a.ut())}; l.prototype.Sb=function(a){var b=0,f=0;if(this.Yc=this.Vh||1!==this.opacity||0 this.ea||f.top>this.da||(b.Vi(a.pe),a.bp?this.Sq(a,b):(b.yb(0),b.be(a.jb,a.fb),a.Sb(b)))}};l.prototype.Rq=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.V();var f=a.ia;f.right this.ea||f.top>this.da||(a.pe=this.b.pe++,0===a.cb&&1===a.opacity&& a.td&&a.bf&&(b.Vi(a.pe),a.bf(b)))}};l.prototype.Sq=function(a,b){var f=a.R[0].Ca,g=a.R[0].index,e=this.ub();if(1!==a.R.length||b.Wk(f)||b.nt(f)||(a.k||a.j.Eb())&&b.Yg(f)||1!==a.opacity||a.type.ma.Jn)this.Fa.al(b,this,a,this.Yc?this.b.Ea:this.Fa.rg()),b.pc(),b.scale(e,e),b.Si(-this.Eb()),b.translate((this.W+this.ea)/-2,(this.X+this.da)/-2),b.Zb();else{b.yb(f);b.be(a.jb,a.fb);b.Mi(f)&&(this.b.Z=!0);var k=0,n=0,h=0,m=0;b.Yg(f)&&(m=a.ia,k=this.ba(m.left,m.top,!0,!0),n=this.ba(m.left,m.top,!1,!0),h=this.ba(m.right, m.bottom,!0,!0),m=this.ba(m.right,m.bottom,!1,!0),k=k/windowWidth,n=1-n/windowHeight,h=h/windowWidth,m=1-m/windowHeight);var x;a.Ta&&a.Ta.Ra?(x=a.Ta.Ra,f=1/x.width,x=1/x.height):(f=1/a.width,x=1/a.height);b.Kf(this.Yc?this.b.Ea:this.Fa.rg(),f,x,k,n,h,m,e,this.Eb(),this.W,this.X,(this.W+this.ea)/2,(this.X+this.da)/2,this.b.Vb.oa,a.ra[g]);a.Sb(b)}};l.prototype.Sa=function(a,b,f,g){var e=this.b.devicePixelRatio;this.b.xe&&(a*=e,b*=e);var e=this.b.Xn,k=this.b.Yn,e=(this.Fa.scrollX-e)*this.mc+e,k=(this.Fa.scrollY- k)*this.nc+k,n=e,h=k,m=1/this.ub(!g);g?(n-=this.b.H*m/2,h-=this.b.G*m/2):(n-=this.b.width*m/2,h-=this.b.height*m/2);n+=a*m;h+=b*m;b=this.Eb();0!==b&&(n-=e,h-=k,a=Math.cos(b),b=Math.sin(b),g=n*a-h*b,h=h*a+n*b,n=g+e,h+=k);return f?n:h};l.prototype.ba=function(a,b,f,g){var e=this.b.Xn,k=this.b.Yn,n=(this.Fa.scrollX-e)*this.mc+e,h=(this.Fa.scrollY-k)*this.nc+k,k=n,e=h,m=this.Eb();if(0!==m){a-=n;b-=h;var x=Math.cos(-m),m=Math.sin(-m),p=a*x-b*m;b=b*x+a*m;a=p+n;b+=h}n=1/this.ub(!g);g?(k-=this.b.H*n/2,e-= this.b.G*n/2):(k-=this.b.width*n/2,e-=this.b.height*n/2);k=(a-k)/n;e=(b-e)/n;a=this.b.devicePixelRatio;this.b.xe&&!g&&(k/=a,e/=a);return f?k:e};l.prototype.Kb=function(){var a,b,f,g={s:this.scale,a:this.k,vl:this.W,vt:this.X,vr:this.ea,vb:this.da,v:this.visible,bc:this.zc,t:this.Lc,px:this.mc,py:this.nc,o:this.opacity,zr:this.Oc,fx:[],cg:this.hg,instances:[]};a=0;for(b=this.J.length;aa[1].index&&(b=a[0],a[0]=a[1],a[1]=b):2 =v.length&&(v.length=a.length+1);v[a.length]||(v[a.length]=[]);g=v[a.length];b=0;for(c=g.length;b =b.length&&(b.length=this.He+1),b[this.He]=a):this.data=a};d.prototype.bi=function(){var a=this.b.ym();return!this.parent||this.Eg||!a||this.ki?this.data:this.He>=a.length||"undefined"===typeof a[this.He]?this.ei:a[this.He]};d.prototype.Ba=function(){!this.parent||this.Eg||this.ki||this.Oe(this.ei)};Hb=d;r.prototype.toString=function(){return"include:"+this.wg.toString()};r.prototype.za=function(){this.wg=this.b.Qj[this.rs];this.sheet.Gm.add(this); this.na=l(this.na);for(var a=this.parent;a;)a.group&&a.Hh.push(this),a=a.parent;this.Vo()};r.prototype.Ba=function(){this.parent&&this.b.$g(this.b.n);this.wg.jk||this.wg.Ba(!0);this.parent&&this.b.Ke(this.b.n)};r.prototype.Vo=function(){for(var a=this.parent;a;){if(a.group&&!a.tg){this.Ob=!1;return}a=a.parent}this.Ob=!0};Rb=r;g.prototype.reset=function(a){this.Rb=a;this.ac=this.La=0;U(this.Ho);this.Nj=this.Be=!1};Gb=g})(); (function(){function e(b,a){this.lc=b;this.b=b.b;this.type=a[0];this.get=[this.or,this.kr,this.Ar,this.Dr,this.Zq,this.Br,this.sr,this.hr,this.rr,this.yr,this.$q,this.xr,this.ir,this.tr,this.pr,this.qr,this.lr,this.mr,this.gr,this.Cr,this.ur,this.nr,this.fr,this.jr][this.type];var f=null;this.qd=this.N=this.ta=this.Va=this.hj=this.second=this.first=this.value=null;this.Ac=-1;this.Cc=null;this.cp=-1;this.se=this.ph=null;this.If=!1;switch(this.type){case 0:case 1:case 2:this.value=a[1];break;case 3:this.first= new Pb(b,a[1]);break;case 18:this.first=new Pb(b,a[1]);this.second=new Pb(b,a[2]);this.hj=new Pb(b,a[3]);break;case 19:this.Va=this.b.Ad(a[1]);this.Va!==Y.prototype.gb.random&&this.Va!==Y.prototype.gb.oq||this.lc.wo();this.ta=[];this.N=[];3===a.length?(f=a[2],this.ta.length=f.length+1):this.ta.length=1;break;case 20:this.qd=this.b.n[a[1]];this.Ac=-1;this.Va=this.b.Ad(a[2]);this.If=a[3];Tb.Function&&this.Va===Tb.Function.prototype.gb.eu&&this.lc.wo();a[4]?this.Cc=new Pb(b,a[4]):this.Cc=null;this.ta= [];this.N=[];6===a.length?(f=a[5],this.ta.length=f.length+1):this.ta.length=1;break;case 21:this.qd=this.b.n[a[1]];this.If=a[2];a[3]?this.Cc=new Pb(b,a[3]):this.Cc=null;this.cp=a[4];break;case 22:this.qd=this.b.n[a[1]];this.qd.Xh(a[2]);this.Ac=this.qd.Yj(a[2]);this.Va=this.b.Ad(a[3]);this.If=a[4];a[5]?this.Cc=new Pb(b,a[5]):this.Cc=null;this.ta=[];this.N=[];7===a.length?(f=a[6],this.ta.length=f.length+1):this.ta.length=1;break;case 23:this.ph=a[1],this.se=null}this.lc.Qs(this.qd);4<=this.type&&17>= this.type&&(this.first=new Pb(b,a[1]),this.second=new Pb(b,a[2]));if(f){var e,c;e=0;for(c=f.length;e =a||t<=-a)t%=a;0>t&&(t+=a);d.apply(v[t],f)};e.prototype.fr=function(b){var a=this.qd,f=this.ta,e=this.N,c=this.Cc,d=this.Ac,t=this.Va,g=this.lc.ud,v=a.Q(),q=v.Fb();if(!q.length)if(v.O.length)q=v.O;else{this.If?b.Ya(""):b.ca(0);return}f[0]=b;b.Je=a;b=p();l(e,f,b);c&&(c.get(b),b.Pa()&&(g=b.data,q=a.i));--u;e=q.length;if(g>=e||g<=-e)g%=e;0>g&&(g+=e);g=q[g];q=0;a.L&&(q=g.type.ff[a.ld]);t.apply(g.I[d+q],f)};e.prototype.nr=function(b){var a=this.Cc,f=this.qd,e=this.cp,c=this.lc.ud, d=f.Q(),l=d.Fb();if(!l.length)if(d.O.length)l=d.O;else{this.If?b.Ya(""):b.ca(0);return}if(a){d=p();a.get(d);if(d.Pa()){c=d.data;l=f.i;0!==l.length&&(c%=l.length,0>c&&(c+=l.length));c=f.ck(c);f=c.Da[e];O(f)?b.Ya(f):b.F(f);--u;return}--u}a=l.length;if(c>=a||c<=-a)c%=a;0>c&&(c+=a);c=l[c];l=0;f.L&&(l=c.type.Ph[f.ld]);f=c.Da[e+l];O(f)?b.Ya(f):b.F(f)};e.prototype.or=function(b){b.type=W.Ve;b.data=this.value};e.prototype.kr=function(b){b.type=W.Ue;b.data=this.value};e.prototype.Ar=function(b){b.type=W.String; b.data=this.value};e.prototype.Dr=function(b){this.first.get(b);b.Pa()&&(b.data=-b.data)};e.prototype.Zq=function(b){this.first.get(b);var a=p();this.second.get(a);b.Pa()&&a.Pa()&&(b.data+=a.data,a.nf()&&b.yf());--u};e.prototype.Br=function(b){this.first.get(b);var a=p();this.second.get(a);b.Pa()&&a.Pa()&&(b.data-=a.data,a.nf()&&b.yf());--u};e.prototype.sr=function(b){this.first.get(b);var a=p();this.second.get(a);b.Pa()&&a.Pa()&&(b.data*=a.data,a.nf()&&b.yf());--u};e.prototype.hr=function(b){this.first.get(b); var a=p();this.second.get(a);b.Pa()&&a.Pa()&&(b.data/=a.data,b.yf());--u};e.prototype.rr=function(b){this.first.get(b);var a=p();this.second.get(a);b.Pa()&&a.Pa()&&(b.data%=a.data,a.nf()&&b.yf());--u};e.prototype.yr=function(b){this.first.get(b);var a=p();this.second.get(a);b.Pa()&&a.Pa()&&(b.data=Math.pow(b.data,a.data),a.nf()&&b.yf());--u};e.prototype.$q=function(b){this.first.get(b);var a=p();this.second.get(a);a.pf()||b.pf()?this.cr(b,a):this.br(b,a);--u};e.prototype.cr=function(b,a){b.pf()&& a.pf()?this.er(b,a):this.dr(b,a)};e.prototype.er=function(b,a){b.data+=a.data};e.prototype.dr=function(b,a){b.pf()?b.data+=(Math.round(1E10*a.data)/1E10).toString():b.Ya(b.data.toString()+a.data)};e.prototype.br=function(b,a){b.ca(b.data&&a.data?1:0)};e.prototype.xr=function(b){this.first.get(b);var a=p();this.second.get(a);b.Pa()&&a.Pa()&&(b.data||a.data?b.ca(1):b.ca(0));--u};e.prototype.gr=function(b){this.first.get(b);b.data?this.second.get(b):this.hj.get(b)};e.prototype.ir=function(b){this.first.get(b); var a=p();this.second.get(a);b.ca(b.data===a.data?1:0);--u};e.prototype.tr=function(b){this.first.get(b);var a=p();this.second.get(a);b.ca(b.data!==a.data?1:0);--u};e.prototype.pr=function(b){this.first.get(b);var a=p();this.second.get(a);b.ca(b.data a.data?1:0);--u};e.prototype.mr=function(b){this.first.get(b); var a=p();this.second.get(a);b.ca(b.data>=a.data?1:0);--u};e.prototype.jr=function(b){var a=this.se.bi();D(a)?b.F(a):b.Ya(a)};Pb=e;q.prototype.nf=function(){return this.type===W.Ue};q.prototype.Pa=function(){return this.type===W.Ve||this.type===W.Ue};q.prototype.pf=function(){return this.type===W.String};q.prototype.yf=function(){this.nf()||(this.pf()&&(this.data=parseFloat(this.data)),this.type=W.Ue)};q.prototype.ca=function(b){this.type=W.Ve;this.data=Math.floor(b)};q.prototype.F=function(b){this.type= W.Ue;this.data=b};q.prototype.Ya=function(b){this.type=W.String;this.data=b};q.prototype.Gt=function(b){D(b)?(this.type=W.Ue,this.data=b):O(b)?(this.type=W.String,this.data=b.toString()):(this.type=W.Ve,this.data=0)};Ob=q;W={Ve:0,Ue:1,String:2}})();function Y(e){this.b=e;this.Nb=[]} Y.prototype.Kb=function(){var e={},p,l,q,t,u,b,a,f;e.waits=[];var k=e.waits,c;p=0;for(l=this.Nb.length;p =f+c)return a.C.Every_lastTime=f+c,e>=a.C.Every_lastTime+.04&&(a.C.Every_lastTime=e),a.C.Every_seconds= b,!0;e b&&(b=0);this.b.Qf=b};var t=[],u=[];p.prototype.Np=function(){var b,a,f;b=0;for(a=this.b.uj.length;bc&&(a=c);b.F(a)};l.prototype.cf=function(b){b.F(this.b.cf)};l.prototype.Qf=function(b){b.F(this.b.Qf)};l.prototype.time=function(b){b.F(this.b.Vb.oa)};l.prototype.ad=function(b){b.ca(this.b.ad)}; l.prototype.Fi=function(b){b.ca(this.b.Fi)};l.prototype.Vj=function(b){b.ca(this.b.Vj)};l.prototype.k=function(b,a,f,e,c){b.F(Da(Ia(a,f,e,c)))};l.prototype.Ks=function(b){b.ca(this.b.S.width)};l.prototype.Js=function(b){b.ca(this.b.S.height)};l.prototype.left=function(b,a,f){b.Ya(O(a)?a.substr(0,f):"")};l.prototype.right=function(b,a,f){b.Ya(O(a)?a.substr(a.length-f):"")};l.prototype.replace=function(b,a,f,e){O(a)&&O(f)&&O(e)?b.Ya(a.replace(new RegExp(Va(f),"gi"),e)):b.Ya(O(a)?a:"")};l.prototype.trim= function(b,a){b.Ya(O(a)?a.trim():"")};l.prototype.oq=function(b){var a=S(Math.random()*(arguments.length-1));b.Gt(arguments[a+1])};l.prototype.Ij=function(b){b.F(this.b.Ij/1E3)};l.prototype.vi=function(b){b.F(this.b.vi)};q.gb=new l;q.yt=function(){var b,a,f,e,c,d,l=this.b.hb();b=0;for(f=this.Nb.length;b this.b.Vb.oa)continue;l.Rb=e.lg;l.ac=e.ac;l.La=0;for(a in e.Lb)e.Lb.hasOwnProperty(a)&&(c=this.b.n[parseInt(a,10)].Q(),d=e.Lb[a], c.aa=d.no,ya(c.i,d.we),c=d,U(c.we),u.push(c));e.lg.wt();this.b.Gj(e.na);e.km=!0}a=b=0;for(f=this.Nb.length;b a.ea||b.top>a.da)},c.su=function(){this.V();var a=this.ia,b=this.b.S;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},c.Eu=function(a,b,c){var d=this.Q(), h=d.Fb();if(!h.length)return!1;var f=h[0],e=f,k=Ma(f.x,f.y,b,c),l,p,t;l=1;for(p=h.length;l k)k=t,e=f;d.Xg(e);return!0},d.Xu=function(a){this.x!==a&&(this.x=a,this.p())},d.Yu=function(a){this.y!==a&&(this.y=a,this.p())},d.Tu=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.p()},d.Uu=function(a,b){var c=a.Sr(this);if(c){var d;c.bk?(d=c.bk(b,!0),c=c.bk(b,!1)):(d=c.x,c=c.y);if(this.x!==d||this.y!==c)this.x=d,this.y=c,this.p()}},d.xu= function(a){0!==a&&(this.x+=Math.cos(this.k)*a,this.y+=Math.sin(this.k)*a,this.p())},d.wu=function(a,b){0!==b&&(this.x+=Math.cos(V(a))*b,this.y+=Math.sin(V(a))*b,this.p())},r.Xp=function(a){a.F(this.x)},r.Yp=function(a){a.F(this.y)},r.cf=function(a){a.F(this.b.Yh(this))});u&&(c.iu=function(a,b){return Sb(this.width,a,b)},c.fu=function(a,b){return Sb(this.height,a,b)},d.Rp=function(a){this.width!==a&&(this.width=a,this.p())},d.Qu=function(a){this.height!==a&&(this.height=a,this.p())},d.Vu=function(a, b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.p()},r.bv=function(a){a.F(this.width)},r.nu=function(a){a.F(this.height)},r.bu=function(a){this.V();a.F(this.ia.left)},r.du=function(a){this.V();a.F(this.ia.top)},r.cu=function(a){this.V();a.F(this.ia.right)},r.au=function(a){this.V();a.F(this.ia.bottom)});b&&(c.fp=function(a,b){return Ja(this.k,V(b))<=V(a)},c.op=function(a){return La(this.k,V(a))},c.np=function(a,b){var c=Ha(a),d=Ha(b),h=Fa(this.k);return La(d,c)?La(h,c)&&!La(h, d):!(!La(h,c)&&La(h,d))},d.Mu=function(a){a=V(Ea(a));isNaN(a)||this.k===a||(this.k=a,this.p())},d.Iu=function(a){0===a||isNaN(a)||(this.k+=V(a),this.k=Fa(this.k),this.p())},d.Ju=function(a){0===a||isNaN(a)||(this.k-=V(a),this.k=Fa(this.k),this.p())},d.Ku=function(a,b){var c=Ka(this.k,V(b),V(a));isNaN(c)||this.k===c||(this.k=c,this.p())},d.Lu=function(a,b,c){a=Ka(this.k,Math.atan2(c-this.y,b-this.x),V(a));isNaN(a)||this.k===a||(this.k=a,this.p())},d.Wu=function(a,b){var c=Math.atan2(b-this.y,a-this.x); isNaN(c)||this.k===c||(this.k=c,this.p())},r.$t=function(a){a.F(Ga(this.k))});q||(c.gu=function(a,b,c){return Sb(this.Da[a],b,c)},c.pu=function(a){return this.Da[a]},c.Fu=function(a,b){var c=this.Q(),d=c.Fb();if(!d.length)return!1;var h=d[0],f=h,e=h.Da[b],k,l,p;k=1;for(l=d.length;k
e)e=p,f=h;c.Xg(f);return!0},c.Du=function(a){var b,c,d,f,e;if(this.b.Zj().ok){e=this.Q();if(e.aa)for(e.aa=!1,U(e.i),U(e.O),d=this.i,b=0,c=d.length;b a?a=0:1f.j.index||d.j.index===f.j.index&&d.Tc()>f.Tc())f=d}else if(d.j.index c)){var d=1===a;this.Bd[c]!==d&&(this.Bd[c]=d,this.Mc(),this.b.Z=!0)}}},d.Pu=function(a,b,c){if(this.b.u){var d=this.type.ak(a);0>d||(a=this.type.J[d],d=this.ra[d],b=Math.floor(b),0>b||b>=d.length||(1===this.b.u.Vr(a.Ca,b)&&(c/=100),d[b]!==c&&(d[b]=c,a.Ob&&(this.b.Z=!0))))}})};yb=function(){this.Bj=this.xj=!0;this.type.vh=!0;this.b.Z=!0;var e,l,q=this.yj;e=0;for(l=q.length;e q;case 5:return e>=q;default:return!1}}})();var ac={};function ec(e){this.b=e} (function(){function e(){}function p(){}var l=ec.prototype;l.Ka=function(e){this.ma=e;this.b=e.b};l.Ka.prototype.Y=function(){};l.wa=function(e){this.type=e;this.b=e.b};var q=l.wa.prototype;q.Y=function(){this.b.la?z("[Construct 2] Button plugin not supported on this platform - the object will not be created"):(this.kf=1===this.D[0],this.fc=document.createElement("input"),this.U=this.kf?document.createElement("label"):this.fc,this.Hg=null,this.fc.type=this.kf?"checkbox":"button",this.fc.id=this.D[6], jQuery(this.U).appendTo(this.b.Fh?this.b.Fh:"body"),this.kf?(jQuery(this.fc).appendTo(this.U),this.Hg=document.createTextNode(this.D[1]),jQuery(this.U).append(this.Hg),this.fc.checked=0!==this.D[7],jQuery(this.U).css("font-family","sans-serif"),jQuery(this.U).css("display","inline-block"),jQuery(this.U).css("color","black")):this.fc.value=this.D[1],this.U.title=this.D[2],this.fc.disabled=0===this.D[4],this.fq=0!==this.D[5],this.qe=!1,0===this.D[3]&&(jQuery(this.U).hide(),this.visible=!1,this.qe=!0), this.fc.onclick=function(e){return function(l){l.stopPropagation();e.b.Vc=!0;e.b.trigger(ec.prototype.m.El,e);e.b.Vc=!1}}(this),this.U.addEventListener("touchstart",function(e){e.stopPropagation()},!1),this.U.addEventListener("touchmove",function(e){e.stopPropagation()},!1),this.U.addEventListener("touchend",function(e){e.stopPropagation()},!1),jQuery(this.U).mousedown(function(e){e.stopPropagation()}),jQuery(this.U).mouseup(function(e){e.stopPropagation()}),jQuery(this.U).keydown(function(e){e.stopPropagation()}), jQuery(this.U).keyup(function(e){e.stopPropagation()}),this.cn=this.dn=this.Wm=this.$m=this.bn=this.Ym=0,this.Zo(!0),this.b.nl(this))};q.Kb=function(){var e={tooltip:this.U.title,disabled:!!this.fc.disabled};this.kf?(e.checked=!!this.fc.checked,e.text=this.Hg.nodeValue):e.text=this.U.value;return e};q.ic=function(e){this.U.title=e.tooltip;this.fc.disabled=e.disabled;this.kf?(this.fc.checked=e.checked,this.Hg.nodeValue=e.text):this.U.value=e.text};q.Df=function(){this.b.la||(jQuery(this.U).remove(), this.U=null)};q.tc=function(){this.Zo()};q.Zo=function(e){if(!this.b.la){var l=this.j.ba(this.x,this.y,!0),b=this.j.ba(this.x,this.y,!1),a=this.j.ba(this.x+this.width,this.y+this.height,!0),f=this.j.ba(this.x+this.width,this.y+this.height,!1),k=this.b.width/this.b.devicePixelRatio,c=this.b.height/this.b.devicePixelRatio;!this.visible||!this.j.visible||0>=a||0>=f||l>=k||b>=c?(this.qe||jQuery(this.U).hide(),this.qe=!0):(1>l&&(l=1),1>b&&(b=1),a>=k&&(a=k-1),f>=c&&(f=c-1),k=window.innerWidth,c=window.innerHeight, e||this.Ym!==l||this.bn!==b||this.$m!==a||this.Wm!==f||this.dn!==k||this.cn!==c?(this.Ym=l,this.bn=b,this.$m=a,this.Wm=f,this.dn=k,this.cn=c,this.qe&&(jQuery(this.U).show(),this.qe=!1),e=Math.round(l)+jQuery(this.b.canvas).offset().left,k=Math.round(b)+jQuery(this.b.canvas).offset().top,jQuery(this.U).css("position","absolute"),jQuery(this.U).offset({left:e,top:k}),jQuery(this.U).width(Math.round(a-l)),jQuery(this.U).height(Math.round(f-b)),this.fq&&jQuery(this.U).css("font-size",this.j.ub(!0)/this.b.devicePixelRatio- .2+"em")):this.qe&&(jQuery(this.U).show(),this.qe=!1))}};q.Rc=function(){};q.Sb=function(){};e.prototype.El=function(){return!0};l.m=new e;p.prototype.Nl=function(e){this.b.la||(this.kf?this.Hg.nodeValue=e:this.U.value=e)};p.prototype.Ol=function(e){this.b.la||(this.visible=0!==e)};l.xa=new p;l.gb=new function(){}})();function dc(e){this.b=e} (function(){function e(){if(0===this.Lj.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.Mf?b.drawImage(this.Ra,this.Bf,this.Cf,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.Ra,0,0,this.width,this.height);this.Lj=a.toDataURL("image/png")}return this.Lj}function p(){}function l(a){a[0]=0;a[1]=0;a[2]=0;d.push(a)}function q(a,b){return athis.B&&(this.B=0);this.B>=this.ja.frames.length&&(this.B=this.ja.frames.length-1);var a=this.ja.frames[this.B];this.T.gh(a.Ki);this.Gb=a.Gb;this.Hb=a.Hb;this.Ye=this.ja.speed;this.Ld=this.ja.cl;1===this.type.Bb.length&&1===this.type.Bb[0].frames.length||0===this.Ye||this.b.nl(this);this.Xb?this.Pc.reset():this.Pc=new Ua;this.md=this.Pc.oa;this.ie=!0;this.cd=0;this.he=!0;this.Fj=this.Vl="";this.mq=0;this.Ej=-1;this.type.Ms();var b,c,d,f,e,g,k,a=0;for(b=this.type.Bb.length;athis.B&&(this.B=0);this.B>=this.ja.frames.length&&(this.B=this.ja.frames.length-1);this.Ye=a.cas;this.md=a.fs;this.cd=a.ar;this.Pc.reset();this.Pc.oa=a.at;this.ie=a.hasOwnProperty("ap")?a.ap:!0;this.he=a.hasOwnProperty("af")?a.af:!0;a.hasOwnProperty("rt")?this.Ld=a.rt:this.Ld=this.ja.cl;this.Ta=this.ja.frames[this.B];this.Jh=this.Ta.yd;this.T.gh(this.Ta.Ki);this.Gb=this.Ta.Gb;this.Hb=this.Ta.Hb};c.wj=function(a){this.B= a?0:this.ja.frames.length-1;this.ie=!1;this.Vl=this.ja.name;this.b.trigger(dc.prototype.m.vp,this);this.b.trigger(dc.prototype.m.up,this);this.cd=0};c.xh=function(){return this.Pc.oa};c.tc=function(){this.Pc.add(this.b.Yh(this));this.Fj.length&&this.xq();0<=this.Ej&&this.yq();var a=this.Pc.oa,b=this.ja,c=b.frames[this.B],d=c.duration/this.Ye;this.ie&&a>=this.md+d&&(this.he?this.B++:this.B--,this.md+=d,this.B>=b.frames.length&&(b.Zn?(this.he=!1,this.B=b.frames.length-2):b.loop?this.B=this.Ld:(this.cd++, this.cd>=b.bl?this.wj(!1):this.B=this.Ld)),0>this.B&&(b.Zn?(this.B=1,this.he=!0,b.loop||(this.cd++,this.cd>=b.bl&&this.wj(!0))):b.loop?this.B=this.Ld:(this.cd++,this.cd>=b.bl?this.wj(!0):this.B=this.Ld)),0>this.B?this.B=0:this.B>=b.frames.length&&(this.B=b.frames.length-1),a>this.md+b.frames[this.B].duration/this.Ye&&(this.md=a),a=b.frames[this.B],this.We(c,a),this.b.Z=!0)};c.wm=function(a){var b,c,d;b=0;for(c=this.type.Bb.length;b this.B&&(this.B=0),this.B>=this.ja.frames.length&&(this.B=this.ja.frames.length-1),1===this.mq&&(this.B=0),this.ie=!0,this.md=this.Pc.oa,this.he=!0,this.We(a,this.ja.frames[this.B]),this.b.Z=!0)};c.yq=function(){var a=this.ja.frames[this.B], b=this.B;this.B=S(this.Ej);0>this.B&&(this.B=0);this.B>=this.ja.frames.length&&(this.B=this.ja.frames.length-1);b!==this.B&&(this.We(a,this.ja.frames[this.B]),this.md=this.Pc.oa,this.b.Z=!0);this.Ej=-1};c.We=function(a,b){var c=a.width,d=a.height,f=b.width,e=b.height;c!=f&&(this.width*=f/c);d!=e&&(this.height*=e/d);this.Gb=b.Gb;this.Hb=b.Hb;this.T.gh(b.Ki);this.p();this.Ta=b;this.Jh=b.yd;c=0;for(d=this.I.length;c f||f>=d.length)return b?this.x:this.y;var e=(d[f][1]-c.Gb)*this.width,d=d[f][2],d=(d-c.Hb)*this.height,c=Math.cos(this.k);f=Math.sin(this.k);var g=e*c-d*f,d=d*c+e*f,e=g+this.x,d=d+this.y;return b?e:d};var d=[],r=-2,g=[];p.prototype.xp=function(a){if(!a)return!1;var c=this.b,d=c.Zj(),f=d.type,e=null;d.C.collmemory?e=d.C.collmemory:(e={},d.C.collmemory=e); d.C.spriteCreatedDestroyCallback||(d.C.spriteCreatedDestroyCallback=!0,c.Tl(function(a){var b=d.C.collmemory;a=a.uid;var c,f;for(c in b)b.hasOwnProperty(c)&&(f=b[c],f[0]===a||f[1]===a)&&(l(b[c]),delete b[c])}));var k=f.Q(),p=a.Q(),k=k.Fb(),q,v,w,J,L,K,P,H=this.b.ad,M=H-1,ha=c.hb().Rb;for(v=0;v a.ea||b.top>a.da)this.b.u.deleteTexture(this.Ib),this.Wc=this.Ie=this.Ib=null}};u.Df=function(){this.Wc=this.Ie=null;this.b.u&&this.Ib&& this.b.u.deleteTexture(this.Ib);this.Ib=null};u.xh=function(){this.font=this.Uh+" "+this.Zg.toString()+"pt "+this.df;this.Re=!0;this.b.Z=!0};u.Rc=function(a,b){a.font=this.font;a.textBaseline="top";a.fillStyle=this.color;a.globalAlpha=b?1:this.opacity;var c=1;b&&(c=Math.abs(this.j.ub()),a.save(),a.scale(c,c));if(this.Re||this.width!==this.Ak)this.type.ma.Vp(this.text,this.Wd,a,this.width,this.Al),this.Re=!1,this.Ak=this.width;this.V();var c=b?0:this.qb.$a,d=b?0:this.qb.ab;this.b.sd&&(c=c+.5|0,d=d+ .5|0);0===this.k||b||(a.save(),a.translate(c,d),a.rotate(this.k),d=c=0);var e=d+this.height,g=this.Yk,g=g+this.Ck,l,p;1===this.oj?d+=Math.max(this.height/2-this.Wd.length*g/2,0):2===this.oj&&(d+=Math.max(this.height-this.Wd.length*g-2,0));for(p=0;p =e-g);p++);(0!==this.k||b)&&a.restore();this.Jg=this.b.ad};u.Sb=function(a){if(!(1>this.width|| 1>this.height)){var b=this.Re||this.Ln;this.Ln=!1;var c=this.j.ub(),d=this.j.Eb(),e=this.Ff,g=c*this.width,l=c*this.height,p=Math.ceil(g),n=Math.ceil(l),h=Math.abs(p),m=Math.abs(n),t=this.b.H/2,q=this.b.G/2;this.Ie||(this.Wc=document.createElement("canvas"),this.Wc.width=h,this.Wc.height=m,this.pi=h,this.oi=m,b=!0,this.Ie=this.Wc.getContext("2d"));if(h!==this.pi||m!==this.oi)this.Wc.width=h,this.Wc.height=m,this.Ib&&(a.deleteTexture(this.Ib),this.Ib=null),b=!0;b&&(this.Ie.clearRect(0,0,h,m),this.Rc(this.Ie, !0),this.Ib||(this.Ib=a.Qb(h,m,this.b.ya,this.b.Td)),a.Vt(this.Wc,this.Ib,this.b.Td));this.pi=h;this.oi=m;a.Yb(this.Ib);a.Jf(this.opacity);a.pc();a.translate(-t,-q);a.Zb();var u=this.qb,b=this.j.ba(u.$a,u.ab,!0,!0),h=this.j.ba(u.$a,u.ab,!1,!0),m=this.j.ba(u.zb,u.Ab,!0,!0),t=this.j.ba(u.zb,u.Ab,!1,!0),q=this.j.ba(u.rb,u.sb,!0,!0),la=this.j.ba(u.rb,u.sb,!1,!0),Q=this.j.ba(u.ob,u.pb,!0,!0),u=this.j.ba(u.ob,u.pb,!1,!0);if(this.b.sd||0===this.k&&0===d)var X=(b+.5|0)-b,G=(h+.5|0)-h,b=b+X,h=h+G,m=m+X,t= t+G,q=q+X,la=la+G,Q=Q+X,u=u+G;0===this.k&&0===d?(m=b+p,t=h,q=m,la=h+n,Q=b,u=la,e.right=1,e.bottom=1):(e.right=g/p,e.bottom=l/n);a.ae(b,h,m,t,q,la,Q,u,e);a.pc();a.scale(c,c);a.Si(-this.j.Eb());a.translate((this.j.W+this.j.ea)/-2,(this.j.X+this.j.da)/-2);a.Zb();this.Jg=this.b.ad}};var b=[];t.Up=function(a){U(b);for(var e="",c,d=0;d =d)p(b);else{if(100>=a.length&&-1===a.indexOf("\n")){var g=c.measureText(a).width;if(g<=d){p(b);b.push(e());b[0].text=a;b[0].width=g;return}}this.Wp(a,b,c,d,l)}else p(b)};t.Wp=function(f,k,c,d,p){p&&(this.Up(f),f=b);var g="",t,q,n,h=0;for(n=0;n =k.length&&k.push(e()),g=l(g),q=k[h],q.text=g,q.width=c.measureText(g).width,h++,g=""):(t= g,g+=f[n],q=c.measureText(g).width,q>=d&&(h>=k.length&&k.push(e()),t=l(t),q=k[h],q.text=t,q.width=c.measureText(t).width,h++,g=f[n],p||" "!==g||(g="")));g.length&&(h>=k.length&&k.push(e()),g=l(g),q=k[h],q.text=g,q.width=c.measureText(g).width,h++);for(n=h;n a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.Re=!0,this.b.Z=!0)};t.xa=new q;t.gb=new function(){}})(); function Z(e){this.b=e} (function(){function e(a){k=a.x;c=a.y;d=a.z}function p(a,b,c,d){var e;e=r.length?r.pop():new l;e.init(a,b,c,d);return e}function l(){this.kh=this.id=this.Ee=this.De=this.y=this.x=this.bj=this.aj=this.zk=this.time=this.kl=0;this.nh=this.kj=!1}function q(a){return a.sourceCapabilities&&a.sourceCapabilities.firesTouchEvents||a.originalEvent&&a.originalEvent.sourceCapabilities&&a.originalEvent.sourceCapabilities.firesTouchEvents}function t(){}function u(){}var b=Z.prototype;b.Ka=function(a){this.ma=a; this.b=a.b};b.Ka.prototype.Y=function(){};b.wa=function(a){this.type=a;this.b=a.b;this.touches=[];this.Kk=!1};var a=b.wa.prototype,f={left:0,top:0};a.pg=function(a){var b,c;b=0;for(c=this.touches.length;b Ma(this.aj,this.bj,this.x,this.y)&&(this.kj=!0,a.bd=this.kh,a.Rf=this.id,a.jf=b,a.b.trigger(Z.prototype.m.Cp,a),a.gd=this.x,a.hd=this.y,a.b.trigger(Z.prototype.m.Dp,a),a.jf=0)};var g=-1E3,v=-1E3,w=-1E4;l.prototype.Fn=function(a, b){if(!this.kj){var c=Qa();333>=c-this.kl&&!this.nh&&15>Ma(this.aj,this.bj,this.x,this.y)&&(a.bd=this.kh,a.Rf=this.id,a.jf=b,666>=c-w&&25>Ma(g,v,this.x,this.y)?(a.b.trigger(Z.prototype.m.zp,a),a.gd=this.x,a.hd=this.y,a.b.trigger(Z.prototype.m.Ap,a),v=g=-1E3,w=-1E4):(a.b.trigger(Z.prototype.m.Lp,a),a.gd=this.x,a.hd=this.y,a.b.trigger(Z.prototype.m.Mp,a),g=this.x,v=this.y,w=c),a.jf=0)}};a.Y=function(){this.Es=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.jf=this.Rf=this.bd= this.hd=this.gd=this.Rl=this.Ql=this.Pl=this.aq=this.$p=this.Zp=this.Ji=this.Ii=this.Hi=0;this.Tt=0!==this.D[0];var a=0 c-b.time||b.update(c,a.pageX-d.left,a.pageY-d.top,a.width||0,a.height||0,a.pressure||0)}}};a.Sn=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&db(a)&&a.preventDefault();var b=this.b.la?f:jQuery(this.b.canvas).offset(),c=a.pageX-b.left,b=a.pageY-b.top;Qa(); this.bd=this.touches.length;this.Rf=a.pointerId;this.touches.push(p(c,b,a.pointerId,this.bd));this.b.Vc=!0;this.b.trigger(Z.prototype.m.Il,this);this.b.trigger(Z.prototype.m.Ml,this);this.gd=c;this.hd=b;this.b.trigger(Z.prototype.m.Ll,this);this.b.Vc=!1}};a.Gi=function(a,b){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&db(a)&&a.preventDefault();var c=this.pg(a.pointerId);this.bd=0<=c?this.touches[c].kh:-1;this.Rf=0<=c?this.touches[c].id:-1;this.b.Vc=!0;this.b.trigger(Z.prototype.m.Hl, this);this.b.trigger(Z.prototype.m.Kl,this);0<=c&&(b||this.touches[c].Fn(this,c),100>r.length&&r.push(this.touches[c]),this.touches.splice(c,1));this.b.Vc=!1}};a.Un=function(a){a.preventDefault&&a.preventDefault();var b=Qa(),c,d,e,g;c=0;for(d=a.changedTouches.length;c b-g.time||g.update(b,e.pageX-k.left,e.pageY-k.top,2*(e.xv||e.Hv||e.rv||e.uv||0),2*(e.yv||e.Iv||e.sv||e.vv|| 0),e.jv||e.Gv||e.qv||e.tv||0)}};a.Vn=function(a){a.preventDefault&&db(a)&&a.preventDefault();var b=this.b.la?f:jQuery(this.b.canvas).offset();Qa();this.b.Vc=!0;var c,d,e,g;c=0;for(d=a.changedTouches.length;c r.length&&r.push(this.touches[e]),this.touches.splice(e,1));this.b.Vc=!1};a.xh=function(){return this.b.hc&&0===this.Hi&&0!==d?90*d:this.Hi}; a.iv=function(){return this.b.hc&&0===this.Ii&&0!==c?90*c:this.Ii};a.ov=function(){return this.b.hc&&0===this.Ji&&0!==k?90*k:this.Ji};a.Ys=function(a){q(a)||(this.Vn({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]}),this.Kk=!0)};a.Zs=function(a){this.Kk&&!q(a)&&this.Un({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};a.$s=function(a){a.preventDefault&&this.b.Dm&&!this.b.Td&&a.preventDefault();this.b.Dm=!0;q(a)||(this.Pk({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]}), this.Kk=!1)};a.ml=function(){var a,b,c,d=Qa();a=0;for(b=this.touches.length;ac||c>=this.touches.length)a.F(0);else{var d,e,f,g,k;ea(b)?(d=this.b.qg(0),e=d.scale,f=d.Oc,g=d.mc,k=d.k,d.scale=1,d.Oc=1,d.mc=1,d.k=0,a.F(d.Sa(this.touches[c].x,this.touches[c].y,!0)),d.scale=e,d.Oc=f,d.mc=g,d.k=k):(d=D(b)?this.b.qg(b):this.b.dk(b))?a.F(d.Sa(this.touches[c].x,this.touches[c].y,!0)):a.F(0)}};u.prototype.Yp=function(a,b){var c=this.jf;if(0>c||c>=this.touches.length)a.F(0);else{var d,e,f,g,k;ea(b)?(d=this.b.qg(0), e=d.scale,f=d.Oc,g=d.nc,k=d.k,d.scale=1,d.Oc=1,d.nc=1,d.k=0,a.F(d.Sa(this.touches[c].x,this.touches[c].y,!1)),d.scale=e,d.Oc=f,d.nc=g,d.k=k):(d=D(b)?this.b.qg(b):this.b.dk(b))?a.F(d.Sa(this.touches[c].x,this.touches[c].y,!1)):a.F(0)}};b.gb=new u})();function gc(e){this.b=e} (function(){function e(){}function p(){}function l(){}var q=gc.prototype;q.Ka=function(a){this.ma=a;this.b=a.b};q.Ka.prototype.Y=function(){};q.wa=function(a){this.type=a;this.b=a.b};var t=q.wa.prototype,u="",b="undefined"!==typeof window.is_scirra_arcade;b&&(u="arcade"+window.scirra_arcade_id);var a=!1;try{localStorage.getItem("test"),a=!0}catch(f){a=!1}t.Y=function(){a||z("[Construct 2] Webstorage plugin: local storage is not supported on this platform.")};e.prototype.sp=function(b){return a?null!= localStorage.getItem(u+b):!1};e.prototype.Jp=function(){return!0};q.m=new e;p.prototype.Tp=function(b,c){if(a)try{localStorage.setItem(u+b,c)}catch(d){this.b.trigger(gc.prototype.m.Jp,this)}};q.xa=new p;l.prototype.tp=function(b,c){a?b.Ya(localStorage.getItem(u+c)||""):b.Ya("")};l.prototype.Cl=function(e){if(a){var c={},d,f,g;d=0;for(f=localStorage.length;d p&&(p=0),this.q=Math.cos(t)*p,this.A=Math.sin(t)*p);0!==this.Db&&(this.A+=this.Db*e);this.De=this.d.x;this.Ee=this.d.y;if(0!==this.q||0!==this.A)if(this.d.x+=this.q*e,this.d.y+=this.A*e,this.jj+=Ma(0,0,this.q*e,this.A*e),this.hl&&(this.d.k=Ia(0,0,this.q,this.A),this.d.p(),this.tf=this.d.k),this.d.p(),this.iq&&(p=this.b.Za(this.d)))this.b.Gf(this.d,p),p=Ma(0,0,this.q,this.A),t=this.b.lq(this.d,this.De,this.Ee),this.q=Math.cos(t)*p,this.A=Math.sin(t)*p,this.d.x+=this.q*e,this.d.y+=this.A* e,this.d.p(),this.hl&&(this.tf=this.d.k=t,this.d.p()),this.b.oc(this.d,this.q/p,this.A/p,Math.max(2.5*p*e,30))||this.b.jo(this.d,100)}};e.m=new function(){};e.xa=new function(){};e.gb=new function(){}})();function ic(e){this.b=e} (function(){function e(){}function p(){}var l=ic.prototype;l.Ka=function(e){this.behavior=e;this.b=e.b};l.Ka.prototype.Y=function(){};l.wa=function(e,l){this.type=e;this.behavior=e.behavior;this.d=l;this.b=e.b;this.ih=this.Yi=this.Xi=this.kk=this.dg=this.jg=this.rf=this.sf=this.dh=this.Kg=!1;this.kb=null;this.Dk=-1;this.ze=this.ye=0;this.Th=!1;this.ef=this.yc=0;this.Sh=!0;this.A=this.q=0};var q=l.wa.prototype;q.Yo=function(){this.Na=Math.cos(this.hf);this.Oa=Math.sin(this.hf);this.Le=Math.cos(this.hf- Math.PI/2);this.Me=Math.sin(this.hf-Math.PI/2);this.Na=bb(this.Na);this.Oa=bb(this.Oa);this.Le=bb(this.Le);this.Me=bb(this.Me);this.Xj=this.Db;0>this.Db&&(this.Na*=-1,this.Oa*=-1,this.Db=Math.abs(this.Db))};q.Y=function(){this.zf=this.D[0];this.vc=this.D[1];this.$e=this.D[2];this.Gg=this.D[3];this.Xj=this.Db=this.D[4];this.Ci=this.D[5];this.Oj=0!==this.D[6];this.wk=this.D[7]/1E3;this.uq=1===this.D[8];this.enabled=0!==this.D[9];this.Wf=!1;this.Xf=this.b.ee(this.d);this.Ek=-1;this.Qe=0;this.hf=V(90); this.Yo();var e=this;this.uq&&!this.b.la&&(jQuery(document).keydown(function(l){e.Ws(l)}),jQuery(document).keyup(function(l){e.Xs(l)}));this.Xb||(this.Kn=function(l){e.Vs(l)});this.b.Tl(this.Kn);this.d.C.isPlatformBehavior=!0};q.Kb=function(){return{ii:this.kk,lfx:this.ye,lfy:this.ze,lfo:this.kb?this.kb.uid:-1,am:this.yc,en:this.enabled,fall:this.ef,ft:this.Sh,dx:this.q,dy:this.A,ms:this.zf,acc:this.vc,dec:this.$e,js:this.Gg,g:this.Db,g1:this.Xj,mf:this.Ci,wof:this.Wf,woj:this.Xf?this.Xf.uid:-1,ga:this.hf, edj:this.Oj,cdj:this.dg,dj:this.jg,sus:this.wk}};q.ic=function(e){this.kk=e.ii;this.ye=e.lfx;this.ze=e.lfy;this.Dk=e.lfo;this.yc=e.am;this.enabled=e.en;this.ef=e.fall;this.Sh=e.ft;this.q=e.dx;this.A=e.dy;this.zf=e.ms;this.vc=e.acc;this.$e=e.dec;this.Gg=e.js;this.Db=e.g;this.Xj=e.g1;this.Ci=e.mf;this.Wf=e.wof;this.Ek=e.woj;this.hf=e.ga;this.Oj=e.edj;this.dg=e.cdj;this.jg=e.dj;this.wk=e.sus;this.ih=this.Yi=this.Xi=this.rf=this.sf=this.dh=this.Kg=!1;this.Qe=0;this.Yo()};q.Dd=function(){-1===this.Dk? this.kb=null:this.kb=this.b.$h(this.Dk);-1===this.Ek?this.Xf=null:this.Xf=this.b.$h(this.Ek)};q.Vs=function(e){this.kb==e&&(this.kb=null)};q.Df=function(){this.kb=null;this.b.qt(this.Kn)};q.Ws=function(e){switch(e.which){case 38:e.preventDefault();this.sf=!0;break;case 37:e.preventDefault();this.Kg=!0;break;case 39:e.preventDefault(),this.dh=!0}};q.Xs=function(e){switch(e.which){case 38:e.preventDefault();this.rf=this.sf=!1;break;case 37:e.preventDefault();this.Kg=!1;break;case 39:e.preventDefault(), this.dh=!1}};q.Ef=function(){this.sf=this.dh=this.Kg=!1};q.xh=function(){return 0>this.Db?-1:1};q.Om=function(){var e=null,l=null,b,a;b=this.d.x;a=this.d.y;this.d.x+=this.Na;this.d.y+=this.Oa;this.d.p();if(this.kb&&this.b.Mb(this.d,this.kb)&&(!this.b.sl(this.kb.type,cc)||this.kb.C.solidEnabled))return this.d.x=b,this.d.y=a,this.d.p(),this.kb;(e=this.b.Za(this.d))||0!==this.ef||(l=this.b.ee(this.d,!0));this.d.x=b;this.d.y=a;this.d.p();if(e){if(this.b.Mb(this.d,e))return null;this.Th=!1;return e}if(l&& l.length){a=e=0;for(b=l.length;ethis.Ci&&(this.A=this.Ci)),w&&(this.rf=!0));this.Wf=!!n;q==a&&(0>this.q?(this.q+=this.$e*e,0 this.q&&(this.q=0)));q&&!a&&(this.q=0 this.q?this.q+(this.vc+this.$e)*e:this.q+this.vc*e);this.q>this.zf?this.q=this.zf:this.q<-this.zf&&(this.q=-this.zf);q=!1;0!==this.q&& (p=this.d.x,g=this.d.y,l=this.q*e*this.Le,b=this.q*e*this.Me,this.d.x+=this.Le*(1 this.q?1:-1),this.Me*(0>this.q?1:-1),l,!1)?!n||f||this.Th||(p=this.d.x,g=this.d.y,this.d.x+=this.Na,this.d.y+=this.Oa,this.b.Za(this.d)?this.b.oc(this.d,-this.Na,-this.Oa,3,!1)||(this.d.x=p,this.d.y=g,this.d.p()):(this.d.x=p,this.d.y=g,this.d.p())):(this.d.x=p,this.d.y=g,this.d.p()),f||(this.q=0)):!k&&!w&&Math.abs(this.A) this.A?1:-1),this.Oa*(0>this.A?1:-1),l,f,b)?(this.kb=b,this.ye=b.x,this.ze=b.y,(this.Th=f)&&(q=!0),this.A=0):(this.d.x=p,this.d.y=g,this.d.p(),this.Wf=!0,f||(this.A=0)))}3!==this.yc&&0 b?(e.x=u+1-(l.right-e.x),e.p()):l.bottomf&& (e.y=a+1-(l.bottom-e.y),e.p())}})(); function bc(){return[ec,dc,Z,fc,gc,ic,jc,cc,hc,Y.prototype.m.kp,Y.prototype.xa.jp,Y.prototype.gb.random,Y.prototype.gb.Ks,Y.prototype.gb.Js,dc.prototype.m.xp,fc.prototype.xa.Ol,Y.prototype.xa.Pp,Y.prototype.m.ip,Y.prototype.xa.Qp,gc.prototype.xa.Tp,Z.prototype.m.pp,Y.prototype.xa.Np,Y.prototype.xa.Op,Y.prototype.xa.ep,fc.prototype.xa.Nl,Y.prototype.m.Fl,gc.prototype.m.sp,gc.prototype.gb.tp,Y.prototype.m.Dl,Y.prototype.m.lp,ic.prototype.xa.Sp,ec.prototype.m.El,Y.prototype.xa.mp]};