// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';var aa,ba,da,ea,fa,ga,s,ha,ia,ja,ka,la,ma,na,y,oa,ra,sa,ta,ua,wa,xa,ya,Ca,C,Da,Ea,Fa,Ga,Ha,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za,$a,ab,bb,cb,db,eb,fb,gb,hb,lb,mb,nb,ob,pb,qb,rb,sb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,Ob,Pb,Qb,Rb,Q,Sb,Tb={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(e){return e.__proto__}:function(e){return e.constructor.prototype});
(function(){function e(B,d,a,k){this.set(B,d,a,k)}function p(){this.Oa=this.Na=this.Qa=this.Pa=this.Ya=this.Xa=this.ra=this.qa=0}function b(B,d,a,k){B<d?a<k?(m=B<a?B:a,l=d>k?d:k):(m=B<k?B:k,l=d>a?d:a):a<k?(m=d<a?d:a,l=B>k?B:k):(m=d<k?d:k,l=B>a?B:a)}function n(){this.items=this.hd=null;this.vf=0;d&&(this.hd=new Set);this.Uf=[];this.Sd=!0}function c(B){r[x++]=B}function a(){this.Ca=this.nj=this.y=this.Pj=0}function h(B){this.Ta=[];this.Ih=this.Kh=this.Lh=this.Jh=0;this.kh(B)}function t(B,d){this.mq=
B;this.lq=d;this.cells={}}function f(B,d,a){var r;return k.length?(r=k.pop(),r.Zr=B,r.x=d,r.y=a,r):new ba(B,d,a)}function g(d,a,k){this.Zr=d;this.x=a;this.y=k;this.Vg=new da}ea=function(d){window.console&&window.console.log&&window.console.log(d)};aa=function(d){return d};fa=function(d){return"undefined"===typeof d};ga=function(d){return"number"===typeof d};s=function(d){return"string"===typeof d};ha=function(d){return 0<d&&0===(d-1&d)};ia=function(d){--d;for(var a=1;32>a;a<<=1)d|=d>>a;return d+1};
ja=function(d){return 0>d?-d:d};ka=function(d,a){return d>a?d:a};la=function(d,a){return d<a?d:a};ma=Math.PI;na=function(d){return d+0.5|0};y=function(d){return 0<=d?d|0:(d|0)-1};oa=function(d){var a=d|0;return a===d?a:a+1};ra=function(d,a,k,r,f,v,x,h){var g,c,t,b;d<k?(c=d,g=k):(c=k,g=d);f<x?(b=f,t=x):(b=x,t=f);if(g<b||c>t)return!1;a<r?(c=a,g=r):(c=r,g=a);v<h?(b=v,t=h):(b=h,t=v);if(g<b||c>t)return!1;g=f-d+x-k;c=v-a+h-r;d=k-d;a=r-a;f=x-f;v=h-v;h=ja(a*f-v*d);return ja(f*c-v*g)>h?!1:ja(d*c-a*g)<=h};
e.prototype.set=function(d,a,k,r){this.left=d;this.top=a;this.right=k;this.bottom=r};e.prototype.qq=function(d){this.left=d.left;this.top=d.top;this.right=d.right;this.bottom=d.bottom};e.prototype.width=function(){return this.right-this.left};e.prototype.height=function(){return this.bottom-this.top};e.prototype.offset=function(d,a){this.left+=d;this.top+=a;this.right+=d;this.bottom+=a;return this};e.prototype.normalize=function(){var d=0;this.left>this.right&&(d=this.left,this.left=this.right,this.right=
d);this.top>this.bottom&&(d=this.top,this.top=this.bottom,this.bottom=d)};e.prototype.gs=function(d){return!(d.right<this.left||d.bottom<this.top||d.left>this.right||d.top>this.bottom)};e.prototype.hs=function(d,a,k){return!(d.right+a<this.left||d.bottom+k<this.top||d.left+a>this.right||d.top+k>this.bottom)};e.prototype.Tb=function(d,a){return d>=this.left&&d<=this.right&&a>=this.top&&a<=this.bottom};e.prototype.Nq=function(d){return this.left===d.left&&this.top===d.top&&this.right===d.right&&this.bottom===
d.bottom};sa=e;p.prototype.Kf=function(d){this.qa=d.left;this.ra=d.top;this.Xa=d.right;this.Ya=d.top;this.Pa=d.right;this.Qa=d.bottom;this.Na=d.left;this.Oa=d.bottom};p.prototype.Qo=function(d,a){if(0===a)this.Kf(d);else{var k=Math.sin(a),r=Math.cos(a),f=d.left*k,v=d.top*k,x=d.right*k,k=d.bottom*k,h=d.left*r,g=d.top*r,c=d.right*r,r=d.bottom*r;this.qa=h-v;this.ra=g+f;this.Xa=c-v;this.Ya=g+x;this.Pa=c-k;this.Qa=r+x;this.Na=h-k;this.Oa=r+f}};p.prototype.offset=function(d,a){this.qa+=d;this.ra+=a;this.Xa+=
d;this.Ya+=a;this.Pa+=d;this.Qa+=a;this.Na+=d;this.Oa+=a;return this};var m=0,l=0;p.prototype.Pm=function(d){b(this.qa,this.Xa,this.Pa,this.Na);d.left=m;d.right=l;b(this.ra,this.Ya,this.Qa,this.Oa);d.top=m;d.bottom=l};p.prototype.Tb=function(d,a){var k=this.Xa-this.qa,r=this.Ya-this.ra,f=this.Pa-this.qa,v=this.Qa-this.ra,x=d-this.qa,h=a-this.ra,g=k*k+r*r,c=k*f+r*v,r=k*x+r*h,t=f*f+v*v,b=f*x+v*h,l=1/(g*t-c*c),k=(t*r-c*b)*l,g=(g*b-c*r)*l;if(0<=k&&0<g&&1>k+g)return!0;k=this.Na-this.qa;r=this.Oa-this.ra;
g=k*k+r*r;c=k*f+r*v;r=k*x+r*h;l=1/(g*t-c*c);k=(t*r-c*b)*l;g=(g*b-c*r)*l;return 0<=k&&0<g&&1>k+g};p.prototype.Yc=function(d,a){if(a)switch(d){case 0:return this.qa;case 1:return this.Xa;case 2:return this.Pa;case 3:return this.Na;case 4:return this.qa;default:return this.qa}else switch(d){case 0:return this.ra;case 1:return this.Ya;case 2:return this.Qa;case 3:return this.Oa;case 4:return this.ra;default:return this.ra}};p.prototype.Vn=function(){return(this.qa+this.Xa+this.Pa+this.Na)/4};p.prototype.Wn=
function(){return(this.ra+this.Ya+this.Qa+this.Oa)/4};p.prototype.Bn=function(d){var a=d.Vn(),k=d.Wn();if(this.Tb(a,k))return!0;a=this.Vn();k=this.Wn();if(d.Tb(a,k))return!0;var r,f,v,x,g,h,c,t;for(c=0;4>c;c++)for(t=0;4>t;t++)if(a=this.Yc(c,!0),k=this.Yc(c,!1),r=this.Yc(c+1,!0),f=this.Yc(c+1,!1),v=d.Yc(t,!0),x=d.Yc(t,!1),g=d.Yc(t+1,!0),h=d.Yc(t+1,!1),ra(a,k,r,f,v,x,g,h))return!0;return!1};ta=p;ua=function(d,a){for(var k in a)a.hasOwnProperty(k)&&(d[k]=a[k]);return d};wa=function(d,a){var k,r;a=y(a);
if(!(0>a||a>=d.length))if(0===a)d.shift();else if(a===d.length-1)d.pop();else{k=a;for(r=d.length-1;k<r;k++)d[k]=d[k+1];d.length=r}};xa=function(d,a){d.length=a.length;var k,r;k=0;for(r=a.length;k<r;k++)d[k]=a[k]};ya=function(d,a){d.push.apply(d,a)};Ca=function(d,a){var k=d.indexOf(a);-1!==k&&wa(d,k)};C=function(d){return d/(180/ma)};Da=function(d){return 180/ma*d};Ea=function(d){d%=360;0>d&&(d+=360);return d};Fa=function(d){d%=2*ma;0>d&&(d+=2*ma);return d};Ga=function(d){return Ea(Da(d))};Ha=function(d){return Fa(C(d))};
La=function(d,a,k,r){return Math.atan2(r-a,k-d)};Ma=function(d,a){if(d===a)return 0;var k=Math.sin(d),r=Math.cos(d),f=Math.sin(a),v=Math.cos(a),k=k*f+r*v;return 1<=k?0:-1>=k?ma:Math.acos(k)};Na=function(d,a,k){var r=Math.sin(d),f=Math.cos(d),v=Math.sin(a),x=Math.cos(a);return Math.acos(r*v+f*x)>k?0<f*v-r*x?Fa(d+k):Fa(d-k):Fa(a)};Oa=function(d,a){var k=Math.sin(d),r=Math.cos(d),f=Math.sin(a),v=Math.cos(a);return 0>=r*f-k*v};Pa=function(d,a,k,r,f,v){if(0===k)return v?d:a;var x=Math.sin(k);k=Math.cos(k);
d-=r;a-=f;var g=d*x;d=d*k-a*x;a=a*k+g;return v?d+r:a+f};Qa=function(d,a,k,r){d=k-d;a=r-a;return Math.sqrt(d*d+a*a)};Ra=function(d,a){return!d!==!a};Sa=function(d){for(var a in d)if(d.hasOwnProperty(a))return!0;return!1};Ta=function(d){for(var a in d)d.hasOwnProperty(a)&&delete d[a]};var A=+new Date;Ua=function(){if("undefined"!==typeof window.performance){var d=window.performance;if("undefined"!==typeof d.now)return d.now();if("undefined"!==typeof d.webkitNow)return d.webkitNow();if("undefined"!==
typeof d.mozNow)return d.mozNow();if("undefined"!==typeof d.msNow)return d.msNow()}return Date.now()-A};var d=("undefined"===typeof window||!window.c2ejecta)&&"undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;n.prototype.contains=function(a){return this.Oc()?!1:d?this.hd.has(a):this.items&&this.items.hasOwnProperty(a)};n.prototype.add=function(a){if(d)this.hd.has(a)||(this.hd.add(a),this.Sd=!1);else{var k=a.toString(),r=this.items;r?r.hasOwnProperty(k)||(r[k]=a,this.vf++,this.Sd=
!1):(this.items={},this.items[k]=a,this.vf=1,this.Sd=!1)}};n.prototype.remove=function(a){if(!this.Oc())if(d)this.hd.has(a)&&(this.hd["delete"](a),this.Sd=!1);else if(this.items){a=a.toString();var k=this.items;k.hasOwnProperty(a)&&(delete k[a],this.vf--,this.Sd=!1)}};n.prototype.clear=function(){this.Oc()||(d?this.hd.clear():(this.items=null,this.vf=0),this.Uf.length=0,this.Sd=!0)};n.prototype.Oc=function(){return 0===this.count()};n.prototype.count=function(){return d?this.hd.size:this.vf};var r=
null,x=0;n.prototype.pt=function(){if(!this.Sd){if(d)this.Uf.length=this.hd.size,r=this.Uf,x=0,this.hd.forEach(c),r=null,x=0;else{var a=this.Uf;a.length=this.vf;var k,q=0,f=this.items;if(f)for(k in f)f.hasOwnProperty(k)&&(a[q++]=f[k])}this.Sd=!0}};n.prototype.Tf=function(){this.pt();return this.Uf};da=n;a.prototype.add=function(d){this.y=d-this.Pj;this.nj=this.Ca+this.y;this.Pj=this.nj-this.Ca-this.y;this.Ca=this.nj};a.prototype.reset=function(){this.Ca=this.nj=this.y=this.Pj=0};Va=a;Wa=function(d){return d.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,
"\\$&")};h.prototype.kh=function(d){this.Bo=d;this.Sc=d.length/2;this.Ta.length=d.length;this.Oh=this.Ph=-1;this.Rm=0};h.prototype.sf=function(){return!this.Bo.length};h.prototype.Ma=function(){for(var d=this.Ta,a=d[0],k=a,r=d[1],f=r,v,x,g=1,h=this.Sc;g<h;++g)x=2*g,v=d[x],x=d[x+1],v<a&&(a=v),v>k&&(k=v),x<r&&(r=x),x>f&&(f=x);this.Jh=a;this.Kh=k;this.Lh=r;this.Ih=f};h.prototype.Kf=function(d,a,k){this.Ta.length=8;this.Sc=4;var r=this.Ta;r[0]=d.left-a;r[1]=d.top-k;r[2]=d.right-a;r[3]=d.top-k;r[4]=d.right-
a;r[5]=d.bottom-k;r[6]=d.left-a;r[7]=d.bottom-k;this.Ph=d.right-d.left;this.Oh=d.bottom-d.top;this.Ma()};h.prototype.Jf=function(d,a,k,r,f){this.Ta.length=8;this.Sc=4;var v=this.Ta;v[0]=d.qa-a;v[1]=d.ra-k;v[2]=d.Xa-a;v[3]=d.Ya-k;v[4]=d.Pa-a;v[5]=d.Qa-k;v[6]=d.Na-a;v[7]=d.Oa-k;this.Ph=r;this.Oh=f;this.Ma()};h.prototype.Po=function(d){this.Sc=d.Sc;xa(this.Ta,d.Ta);this.Jh=d.Jh;this.Lh-d.Lh;this.Kh=d.Kh;this.Ih=d.Ih};h.prototype.ff=function(d,a,k){if(this.Ph!==d||this.Oh!==a||this.Rm!==k){this.Ph=d;
this.Oh=a;this.Rm=k;var r,v,f,x,g,h=0,c=1,t=this.Bo,b=this.Ta;0!==k&&(h=Math.sin(k),c=Math.cos(k));k=0;for(f=this.Sc;k<f;k++)r=2*k,v=r+1,x=t[r]*d,g=t[v]*a,b[r]=x*c-g*h,b[v]=g*c+x*h;this.Ma()}};h.prototype.Tb=function(d,a){var k=this.Ta;if(d===k[0]&&a===k[1])return!0;var r,v,f,x=this.Sc,g=this.Jh-110,h=this.Lh-101,c=this.Kh+131,t=this.Ih+120,b,l,e=0,m=0;for(r=0;r<x;r++)v=2*r,f=(r+1)%x*2,b=k[v],v=k[v+1],l=k[f],f=k[f+1],ra(g,h,d,a,b,v,l,f)&&e++,ra(c,t,d,a,b,v,l,f)&&m++;return 1===e%2||1===m%2};h.prototype.wg=
function(d,a,k){var r=d.Ta,v=this.Ta;if(this.Tb(r[0]+a,r[1]+k)||d.Tb(v[0]-a,v[1]-k))return!0;var f,x,g,h,c,t,b,l,e,m,A,n;f=0;for(h=this.Sc;f<h;f++)for(x=2*f,g=(f+1)%h*2,l=v[x],x=v[x+1],e=v[g],m=v[g+1],g=0,b=d.Sc;g<b;g++)if(c=2*g,t=(g+1)%b*2,A=r[c]+a,c=r[c+1]+k,n=r[t]+a,t=r[t+1]+k,ra(l,x,e,m,A,c,n,t))return!0;return!1};Xa=h;t.prototype.rk=function(d,a,k){var r;r=this.cells[d];return r?(r=r[a])?r:k?(r=f(this,d,a),this.cells[d][a]=r):null:k?(r=f(this,d,a),this.cells[d]={},this.cells[d][a]=r):null};t.prototype.Dh=
function(d){return y(d/this.mq)};t.prototype.Eh=function(d){return y(d/this.lq)};t.prototype.update=function(d,a,r){var v,f,x,g,h;if(a)for(v=a.left,f=a.right;v<=f;++v)for(x=a.top,g=a.bottom;x<=g;++x)if(!r||!r.Tb(v,x))if(h=this.rk(v,x,!1))h.remove(d),h.Oc()&&(h.Vg.clear(),1E3>k.length&&k.push(h),this.cells[v][x]=null);if(r)for(v=r.left,f=r.right;v<=f;++v)for(x=r.top,g=r.bottom;x<=g;++x)a&&a.Tb(v,x)||this.rk(v,x,!0).es(d)};t.prototype.Do=function(d,a){var k,r,v,f,x,g;k=this.Dh(d.left);v=this.Eh(d.top);
r=this.Dh(d.right);for(x=this.Eh(d.bottom);k<=r;++k)for(f=v;f<=x;++f)(g=this.rk(k,f,!1))&&g.Jq(a)};Ya=t;var k=[];g.prototype.Oc=function(){return this.Vg.Oc()};g.prototype.es=function(d){this.Vg.add(d)};g.prototype.remove=function(d){this.Vg.remove(d)};g.prototype.Jq=function(d){ya(d,this.Vg.Tf())};ba=g;var v="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");Za=function(d){return 0>=d||11<=d?"source-over":v[d-1]};$a=function(d,
a,k){if(k)switch(d.sb=k.ONE,d.qb=k.ONE_MINUS_SRC_ALPHA,a){case 1:d.sb=k.ONE;d.qb=k.ONE;break;case 3:d.sb=k.ONE;d.qb=k.ZERO;break;case 4:d.sb=k.ONE_MINUS_DST_ALPHA;d.qb=k.ONE;break;case 5:d.sb=k.DST_ALPHA;d.qb=k.ZERO;break;case 6:d.sb=k.ZERO;d.qb=k.SRC_ALPHA;break;case 7:d.sb=k.ONE_MINUS_DST_ALPHA;d.qb=k.ZERO;break;case 8:d.sb=k.ZERO;d.qb=k.ONE_MINUS_SRC_ALPHA;break;case 9:d.sb=k.DST_ALPHA;d.qb=k.ONE_MINUS_SRC_ALPHA;break;case 10:d.sb=k.ONE_MINUS_DST_ALPHA,d.qb=k.SRC_ALPHA}};ab=function(d){return na(1E6*
d)/1E6};bb=function(d,a){return"string"!==typeof d||"string"!==typeof a||d.length!==a.length?!1:d===a?!0:d.toLowerCase()===a.toLowerCase()}})();var Ub="undefined"!==typeof Float32Array?Float32Array:Array;function Vb(e){var p=new Ub(3);e&&(p[0]=e[0],p[1]=e[1],p[2]=e[2]);return p}function Wb(e){var p=new Ub(16);e&&(p[0]=e[0],p[1]=e[1],p[2]=e[2],p[3]=e[3],p[4]=e[4],p[5]=e[5],p[6]=e[6],p[7]=e[7],p[8]=e[8],p[9]=e[9],p[10]=e[10],p[11]=e[11],p[12]=e[12],p[13]=e[13],p[14]=e[14],p[15]=e[15]);return p}
function Xb(e,p){p[0]=e[0];p[1]=e[1];p[2]=e[2];p[3]=e[3];p[4]=e[4];p[5]=e[5];p[6]=e[6];p[7]=e[7];p[8]=e[8];p[9]=e[9];p[10]=e[10];p[11]=e[11];p[12]=e[12];p[13]=e[13];p[14]=e[14];p[15]=e[15]}function Yb(e,p){var b=p[0],n=p[1];p=p[2];e[0]*=b;e[1]*=b;e[2]*=b;e[3]*=b;e[4]*=n;e[5]*=n;e[6]*=n;e[7]*=n;e[8]*=p;e[9]*=p;e[10]*=p;e[11]*=p}
function Zb(e,p,b,n){n||(n=Wb());var c,a,h,t,f,g,m,l,A=e[0],d=e[1];e=e[2];a=b[0];h=b[1];c=b[2];b=p[1];g=p[2];A===p[0]&&d===b&&e===g?(e=n,e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1):(b=A-p[0],g=d-p[1],m=e-p[2],l=1/Math.sqrt(b*b+g*g+m*m),b*=l,g*=l,m*=l,p=h*m-c*g,c=c*b-a*m,a=a*g-h*b,(l=Math.sqrt(p*p+c*c+a*a))?(l=1/l,p*=l,c*=l,a*=l):a=c=p=0,h=g*a-m*c,t=m*p-b*a,f=b*c-g*p,(l=Math.sqrt(h*h+t*t+f*f))?(l=1/l,h*=l,t*=l,f*=l):f=t=h=0,
n[0]=p,n[1]=h,n[2]=b,n[3]=0,n[4]=c,n[5]=t,n[6]=g,n[7]=0,n[8]=a,n[9]=f,n[10]=m,n[11]=0,n[12]=-(p*A+c*d+a*e),n[13]=-(h*A+t*d+f*e),n[14]=-(b*A+g*d+m*e),n[15]=1)}
(function(){function e(a){this.Pk=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.Sm=Vb([0,0,100]);this.Tn=Vb([0,0,0]);this.gp=Vb([0,1,0]);this.km=Vb([1,1,1]);this.an=!0;this.jl=Wb();this.Cc=Wb();this.Ln=Wb();this.ak=Wb();this.q=a;this.xn()}function p(a,h,c){this.q=a;this.mh=h;this.name=c;this.Bc=a.getAttribLocation(h,"aPos");this.fe=a.getAttribLocation(h,"aTex");this.Rn=a.getUniformLocation(h,"matP");this.yf=a.getUniformLocation(h,"matMV");this.zf=
a.getUniformLocation(h,"opacity");this.Sn=a.getUniformLocation(h,"samplerFront");this.Og=a.getUniformLocation(h,"samplerBack");this.Oe=a.getUniformLocation(h,"destStart");this.Ne=a.getUniformLocation(h,"destEnd");this.fl=a.getUniformLocation(h,"seconds");this.el=a.getUniformLocation(h,"pixelWidth");this.dl=a.getUniformLocation(h,"pixelHeight");this.Ng=a.getUniformLocation(h,"layerScale");this.Mg=a.getUniformLocation(h,"layerAngle");this.Pg=a.getUniformLocation(h,"viewOrigin");this.bs=!!(this.el||
this.dl||this.fl||this.Og||this.Oe||this.Ne||this.Ng||this.Mg||this.Pg);this.zf&&a.uniform1f(this.zf,1);this.Sn&&a.uniform1i(this.Sn,0);this.Og&&a.uniform1i(this.Og,1);this.Oe&&a.uniform2f(this.Oe,0,0);this.Ne&&a.uniform2f(this.Ne,1,1);this.Ng&&a.uniform1f(this.Ng,1);this.Mg&&a.uniform1f(this.Mg,0);this.Pg&&a.uniform2f(this.Pg,0,0);this.Ee=!1}function b(a,h){this.type=a;this.B=h;this.q=h.q;this.zc=this.oc=this.lo=0;this.fa=this.Vc=null;this.Ro=[]}e.prototype.xn=function(){var a=this.q,h;this.Mn=1;
this.Ke=this.Je=null;this.Xm=1;a.clearColor(0,0,0,0);a.clear(a.COLOR_BUFFER_BIT);a.enable(a.BLEND);a.blendFunc(a.ONE,a.ONE_MINUS_SRC_ALPHA);a.disable(a.CULL_FACE);a.disable(a.DEPTH_TEST);this.Nn=a.ONE;this.Kn=a.ONE_MINUS_SRC_ALPHA;this.Bl=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.Bl);this.wh=Array(4);this.ph=Array(4);for(h=0;4>h;h++)this.wh[h]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.wh[h]),this.ph[h]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.ph[h]);this.td=0;this.ds=a.createBuffer();
a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.ds);this.im=new Float32Array(16E3);this.Yl=new Float32Array(16E3);this.yo=new Float32Array(32E3);for(var c=new Uint16Array(12E3),f=h=0;12E3>h;)c[h++]=f,c[h++]=f+1,c[h++]=f+2,c[h++]=f,c[h++]=f+2,c[h++]=f+3,f+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,c,a.STATIC_DRAW);this.Hf=this.md=0;this.Wa=[];h=this.Yj({src:"varying mediump vec2 vTex;\nuniform lowp float opacity;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, vTex);\n\tgl_FragColor *= opacity;\n}"},
"attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}","<default>");this.Wa.push(h);h=this.Yj({src:"uniform mediump sampler2D samplerFront;\nvarying lowp float opacity;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, gl_PointCoord);\n\tgl_FragColor *= opacity;\n}"},"attribute vec4 aPos;\nvarying float opacity;\nuniform mat4 matP;\nuniform mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tgl_PointSize = aPos.z;\n\topacity = aPos.w;\n}",
"<point>");this.Wa.push(h);for(var g in $b)$b.hasOwnProperty(g)&&this.Wa.push(this.Yj($b[g],"attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}",g));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.sd=[];this.Zc=0;this.Vb=this.Kb=!1;this.Ym=this.Cg=-1;this.fg=null;this.mr=a.createFramebuffer();
this.Go=null;this.re=Vb([0,0,0]);a=a.getParameter(a.ALIASED_POINT_SIZE_RANGE);this.xs=a[0];this.kl=a[1];2048<this.kl&&(this.kl=2048);this.kd(0)};e.prototype.Yj=function(a,h,c){var f=this.q,g=f.createShader(f.FRAGMENT_SHADER);f.shaderSource(g,a.src);f.compileShader(g);if(!f.getShaderParameter(g,f.COMPILE_STATUS))return f.deleteShader(g),null;var b=f.createShader(f.VERTEX_SHADER);f.shaderSource(b,h);f.compileShader(b);if(!f.getShaderParameter(b,f.COMPILE_STATUS))return f.deleteShader(g),f.deleteShader(b),
null;h=f.createProgram();f.attachShader(h,g);f.attachShader(h,b);f.linkProgram(h);if(!f.getProgramParameter(h,f.LINK_STATUS))return f.deleteShader(g),f.deleteShader(b),f.deleteProgram(h),null;f.useProgram(h);f.deleteShader(g);f.deleteShader(b);c=new p(f,h,c);c.ik=a.ik||0;c.jk=a.jk||0;c.Wm=!!a.Wm;c.Mm=!!a.Mm;c.I=a.I||[];a=0;for(g=c.I.length;a<g;a++)c.I[a][1]=f.getUniformLocation(h,c.I[a][0]),f.uniform1f(c.I[a][1],0);return c};e.prototype.xk=function(a){var h,c;h=0;for(c=this.Wa.length;h<c;h++)if(this.Wa[h].name===
a)return h;return-1};e.prototype.Ao=function(a,h,c){var f=this.Cc,g=this.jl,b=[0,0,0,0,0,0,0,0];b[0]=f[0]*a+f[4]*h+f[12];b[1]=f[1]*a+f[5]*h+f[13];b[2]=f[2]*a+f[6]*h+f[14];b[3]=f[3]*a+f[7]*h+f[15];b[4]=g[0]*b[0]+g[4]*b[1]+g[8]*b[2]+g[12]*b[3];b[5]=g[1]*b[0]+g[5]*b[1]+g[9]*b[2]+g[13]*b[3];b[6]=g[2]*b[0]+g[6]*b[1]+g[10]*b[2]+g[14]*b[3];b[7]=-b[2];0!==b[7]&&(b[7]=1/b[7],b[4]*=b[7],b[5]*=b[7],b[6]*=b[7],c[0]=(0.5*b[4]+0.5)*this.width,c[1]=(0.5*b[5]+0.5)*this.height)};e.prototype.me=function(a,h,c){if(this.width!==
a||this.height!==h||c){this.Yd();this.width=a;this.height=h;this.q.viewport(0,0,a,h);h=a/h;var f=this.jl,g;g=1*Math.tan(45*Math.PI/360);h*=g;a=-h;c=-g;f||(f=Wb());var b=h-a,l=g-c;f[0]=2/b;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=2/l;f[6]=0;f[7]=0;f[8]=(h+a)/b;f[9]=(g+c)/l;f[10]=-1001/999;f[11]=-1;f[12]=0;f[13]=0;f[14]=-2E3/999;f[15]=0;Zb(this.Sm,this.Tn,this.gp,this.Cc);a=[0,0];h=[0,0];this.Ao(0,0,a);this.Ao(1,1,h);this.km[0]=1/(h[0]-a[0]);this.km[1]=-1/(h[1]-a[1]);a=0;for(h=this.Wa.length;a<h;a++)c=this.Wa[a],
c.Ee=!1,c.Rn&&(this.q.useProgram(c.mh),this.q.uniformMatrix4fv(c.Rn,!1,this.jl));this.q.useProgram(this.Wa[this.Cg].mh);this.q.bindTexture(this.q.TEXTURE_2D,null);this.q.activeTexture(this.q.TEXTURE1);this.q.bindTexture(this.q.TEXTURE_2D,null);this.q.activeTexture(this.q.TEXTURE0);this.Ke=this.Je=null}};e.prototype.je=function(){Zb(this.Sm,this.Tn,this.gp,this.Cc);Yb(this.Cc,this.km)};e.prototype.translate=function(a,h){if(0!==a||0!==h){this.re[0]=a;this.re[1]=h;this.re[2]=0;var c=this.Cc,f=this.re,
g=f[0],b=f[1],f=f[2];c[12]=c[0]*g+c[4]*b+c[8]*f+c[12];c[13]=c[1]*g+c[5]*b+c[9]*f+c[13];c[14]=c[2]*g+c[6]*b+c[10]*f+c[14];c[15]=c[3]*g+c[7]*b+c[11]*f+c[15]}};e.prototype.scale=function(a,c){if(1!==a||1!==c)this.re[0]=a,this.re[1]=c,this.re[2]=1,Yb(this.Cc,this.re)};e.prototype.Ho=function(a){if(0!==a){var c=this.Cc,b,f=Math.sin(a);a=Math.cos(a);var g=c[0],e=c[1],l=c[2],A=c[3],d=c[4],r=c[5],x=c[6],k=c[7];b?c!==b&&(b[8]=c[8],b[9]=c[9],b[10]=c[10],b[11]=c[11],b[12]=c[12],b[13]=c[13],b[14]=c[14],b[15]=
c[15]):b=c;b[0]=g*a+d*f;b[1]=e*a+r*f;b[2]=l*a+x*f;b[3]=A*a+k*f;b[4]=g*-f+d*a;b[5]=e*-f+r*a;b[6]=l*-f+x*a;b[7]=A*-f+k*a}};e.prototype.te=function(){for(var a=!1,c=0;16>c;c++)if(this.Ln[c]!==this.Cc[c]){a=!0;break}a&&(a=this.Hc(),a.type=5,a.fa?Xb(this.Cc,a.fa):a.fa=Wb(this.Cc),Xb(this.Cc,this.Ln),this.Vb=this.Kb=!1)};b.prototype.Fq=function(){this.q.bindTexture(this.q.TEXTURE_2D,this.Vc)};b.prototype.Gq=function(){var a=this.q;a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,this.Vc);a.activeTexture(a.TEXTURE0)};
b.prototype.Cq=function(){var a=this.lo,c=this.B;c.Xm=a;c=c.fg;c.zf&&this.q.uniform1f(c.zf,a)};b.prototype.zq=function(){this.q.drawElements(this.q.TRIANGLES,this.zc,this.q.UNSIGNED_SHORT,2*this.oc)};b.prototype.Bq=function(){this.q.blendFunc(this.oc,this.zc)};b.prototype.Hq=function(){var a,c,b,f=this.B.Wa,g=this.B.Ym;a=0;for(c=f.length;a<c;a++)b=f[a],a===g&&b.yf?(this.q.uniformMatrix4fv(b.yf,!1,this.fa),b.Ee=!0):b.Ee=!1;Xb(this.fa,this.B.ak)};b.prototype.Aq=function(){var a=this.q,c=this.B;this.Vc?
(c.Ke===this.Vc&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,null),c.Ke=null,a.activeTexture(a.TEXTURE0)),a.bindFramebuffer(a.FRAMEBUFFER,c.mr),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.Vc,0)):(a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};b.prototype.xq=function(){var a=this.q;0===this.oc?(a.clearColor(this.fa[0],this.fa[1],this.fa[2],this.fa[3]),a.clear(a.COLOR_BUFFER_BIT)):(a.enable(a.SCISSOR_TEST),
a.scissor(this.fa[0],this.fa[1],this.fa[2],this.fa[3]),a.clearColor(0,0,0,0),a.clear(this.q.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST))};b.prototype.yq=function(){var a=this.q,c=this.B,b=c.Wa[1];a.useProgram(b.mh);!b.Ee&&b.yf&&(a.uniformMatrix4fv(b.yf,!1,c.ak),b.Ee=!0);a.enableVertexAttribArray(b.Bc);a.bindBuffer(a.ARRAY_BUFFER,c.Bl);a.vertexAttribPointer(b.Bc,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.oc/4,this.zc);b=c.fg;a.useProgram(b.mh);0<=b.Bc&&(a.enableVertexAttribArray(b.Bc),a.bindBuffer(a.ARRAY_BUFFER,
c.wh[c.td]),a.vertexAttribPointer(b.Bc,2,a.FLOAT,!1,0,0));0<=b.fe&&(a.enableVertexAttribArray(b.fe),a.bindBuffer(a.ARRAY_BUFFER,c.ph[c.td]),a.vertexAttribPointer(b.fe,2,a.FLOAT,!1,0,0))};b.prototype.Dq=function(){var a=this.q,c=this.B,b=c.Wa[this.oc];c.Ym=this.oc;c.fg=b;a.useProgram(b.mh);!b.Ee&&b.yf&&(a.uniformMatrix4fv(b.yf,!1,c.ak),b.Ee=!0);b.zf&&a.uniform1f(b.zf,c.Xm);0<=b.Bc&&(a.enableVertexAttribArray(b.Bc),a.bindBuffer(a.ARRAY_BUFFER,c.wh[c.td]),a.vertexAttribPointer(b.Bc,2,a.FLOAT,!1,0,0));
0<=b.fe&&(a.enableVertexAttribArray(b.fe),a.bindBuffer(a.ARRAY_BUFFER,c.ph[c.td]),a.vertexAttribPointer(b.fe,2,a.FLOAT,!1,0,0))};b.prototype.Eq=function(){var a,c,b=this.B.fg,f=this.q;a=this.fa;b.Og&&this.B.Ke!==this.Vc&&(f.activeTexture(f.TEXTURE1),f.bindTexture(f.TEXTURE_2D,this.Vc),this.B.Ke=this.Vc,f.activeTexture(f.TEXTURE0));b.el&&f.uniform1f(b.el,a[0]);b.dl&&f.uniform1f(b.dl,a[1]);b.Oe&&f.uniform2f(b.Oe,a[2],a[3]);b.Ne&&f.uniform2f(b.Ne,a[4],a[5]);b.Ng&&f.uniform1f(b.Ng,a[6]);b.Mg&&f.uniform1f(b.Mg,
a[7]);b.Pg&&f.uniform2f(b.Pg,a[8],a[9]);b.fl&&f.uniform1f(b.fl,Ua()/1E3);if(b.I.length)for(a=0,c=b.I.length;a<c;a++)f.uniform1f(b.I[a][1],this.Ro[a])};e.prototype.Hc=function(){this.Zc===this.sd.length&&this.sd.push(new b(0,this));return this.sd[this.Zc++]};e.prototype.Yd=function(){if(0!==this.Zc&&!this.q.isContextLost()){var a=this.q;0<this.Hf&&(a.bindBuffer(a.ARRAY_BUFFER,this.Bl),a.bufferData(a.ARRAY_BUFFER,this.yo.subarray(0,this.Hf),a.STREAM_DRAW),c&&0<=c.Bc&&"<point>"===c.name&&a.vertexAttribPointer(c.Bc,
4,a.FLOAT,!1,0,0));if(0<this.md){var c=this.fg;a.bindBuffer(a.ARRAY_BUFFER,this.wh[this.td]);a.bufferData(a.ARRAY_BUFFER,this.im.subarray(0,this.md),a.STREAM_DRAW);c&&0<=c.Bc&&"<point>"!==c.name&&a.vertexAttribPointer(c.Bc,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.ph[this.td]);a.bufferData(a.ARRAY_BUFFER,this.Yl.subarray(0,this.md),a.STREAM_DRAW);c&&0<=c.fe&&"<point>"!==c.name&&a.vertexAttribPointer(c.fe,2,a.FLOAT,!1,0,0)}for(var b,a=0,c=this.Zc;a<c;a++)switch(b=this.sd[a],b.type){case 1:b.zq();
break;case 2:b.Fq();break;case 3:b.Cq();break;case 4:b.Bq();break;case 5:b.Hq();break;case 6:b.Aq();break;case 7:b.xq();break;case 8:b.yq();break;case 9:b.Dq();break;case 10:b.Eq();break;case 11:b.Gq()}this.Hf=this.md=this.Zc=0;this.Vb=this.Kb=!1;this.td++;4<=this.td&&(this.td=0)}};e.prototype.le=function(a){if(a!==this.Mn){var c=this.Hc();c.type=3;this.Mn=c.lo=a;this.Vb=this.Kb=!1}};e.prototype.Nb=function(a){if(a!==this.Je){var c=this.Hc();c.type=2;this.Je=c.Vc=a;this.Vb=this.Kb=!1}};e.prototype.ke=
function(a,c){if(a!==this.Nn||c!==this.Kn){var b=this.Hc();b.type=4;b.oc=a;b.zc=c;this.Nn=a;this.Kn=c;this.Vb=this.Kb=!1}};e.prototype.Lo=function(){this.ke(this.q.ONE,this.q.ONE_MINUS_SRC_ALPHA)};e.prototype.fh=function(a,c,b,f,g,e,l,A){15992<=this.md&&this.Yd();var d=this.md,r=this.im,x=this.Yl;if(this.Kb)this.sd[this.Zc-1].zc+=6;else{var k=this.Hc();k.type=1;k.oc=d/4*3;k.zc=6;this.Kb=!0;this.Vb=!1}r[d]=a;x[d++]=0;r[d]=c;x[d++]=0;r[d]=b;x[d++]=1;r[d]=f;x[d++]=0;r[d]=g;x[d++]=1;r[d]=e;x[d++]=1;r[d]=
l;x[d++]=0;r[d]=A;x[d++]=1;this.md=d};e.prototype.fd=function(a,c,b,f,g,e,l,A,d){15992<=this.md&&this.Yd();var r=this.md,x=this.im,k=this.Yl;if(this.Kb)this.sd[this.Zc-1].zc+=6;else{var v=this.Hc();v.type=1;v.oc=r/4*3;v.zc=6;this.Kb=!0;this.Vb=!1}var v=d.left,B=d.top,G=d.right;d=d.bottom;x[r]=a;k[r++]=v;x[r]=c;k[r++]=B;x[r]=b;k[r++]=G;x[r]=f;k[r++]=B;x[r]=g;k[r++]=G;x[r]=e;k[r++]=d;x[r]=l;k[r++]=v;x[r]=A;k[r++]=d;this.md=r};e.prototype.Is=function(a,c,b,f){7996<=this.Hf&&this.Yd();var g=this.Hf,e=
this.yo;if(this.Vb)this.sd[this.Zc-1].zc++;else{var l=this.Hc();l.type=8;l.oc=g;l.zc=1;this.Vb=!0;this.Kb=!1}e[g++]=a;e[g++]=c;e[g++]=b;e[g++]=f;this.Hf=g};e.prototype.kd=function(a){if(this.Cg!==a){if(!this.Wa[a]){if(0===this.Cg)return;a=0}var c=this.Hc();c.type=9;this.Cg=c.oc=a;this.Vb=this.Kb=!1}};e.prototype.dh=function(a){a=this.Wa[a];return!(!a.Oe&&!a.Ne)};e.prototype.El=function(a){a=this.Wa[a];return!!(a.Oe||a.Ne||a.Wm)};e.prototype.Ns=function(a){a=this.Wa[a];return 0!==a.ik||0!==a.jk};e.prototype.Ir=
function(a){return this.Wa[a].ik};e.prototype.Jr=function(a){return this.Wa[a].jk};e.prototype.Kr=function(a,c){return this.Wa[a].I[c][2]};e.prototype.Yi=function(a){return this.Wa[a].Mm};e.prototype.If=function(a,c,b,f,g,e,l,A,d,r,x,k){var v=this.Wa[this.Cg],B,G;if(v.bs||k.length){B=this.Hc();B.type=10;B.fa?Xb(this.Cc,B.fa):B.fa=Wb();G=B.fa;G[0]=c;G[1]=b;G[2]=f;G[3]=g;G[4]=e;G[5]=l;G[6]=A;G[7]=d;G[8]=r;G[9]=x;B.Vc=v.Og?a:null;if(k.length)for(b=B.Ro,b.length=k.length,a=0,c=k.length;a<c;a++)b[a]=k[a];
this.Vb=this.Kb=!1}};e.prototype.clear=function(a,c,b,f){var g=this.Hc();g.type=7;g.oc=0;g.fa||(g.fa=Wb());g.fa[0]=a;g.fa[1]=c;g.fa[2]=b;g.fa[3]=f;this.Vb=this.Kb=!1};e.prototype.clearRect=function(a,c,b,f){if(!(0>b||0>f)){var g=this.Hc();g.type=7;g.oc=1;g.fa||(g.fa=Wb());g.fa[0]=a;g.fa[1]=c;g.fa[2]=b;g.fa[3]=f;this.Vb=this.Kb=!1}};e.prototype.Ms=function(){this.Yd();this.q.flush()};var n=[],c={};e.prototype.ee=function(a,b,e,f){b=!!b;e=!!e;var g=a.src+","+b+","+e+(b?",undefined":""),m=null;if("undefined"!==
typeof a.src&&c.hasOwnProperty(g))return m=c[g],m.Nh++,m;this.Yd();var l=this.q,A=ha(a.width)&&ha(a.height),m=l.createTexture();l.bindTexture(l.TEXTURE_2D,m);l.pixelStorei(l.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var d=l.RGBA,r=l.RGBA,x=l.UNSIGNED_BYTE;if(f&&!this.Pk)switch(f){case 1:r=d=l.RGB;break;case 2:x=l.UNSIGNED_SHORT_4_4_4_4;break;case 3:x=l.UNSIGNED_SHORT_5_5_5_1;break;case 4:r=d=l.RGB,x=l.UNSIGNED_SHORT_5_6_5}if(!A&&b){f=document.createElement("canvas");f.width=ia(a.width);f.height=ia(a.height);
var k=f.getContext("2d");k.webkitImageSmoothingEnabled=e;k.mozImageSmoothingEnabled=e;k.msImageSmoothingEnabled=e;k.imageSmoothingEnabled=e;k.drawImage(a,0,0,a.width,a.height,0,0,f.width,f.height);l.texImage2D(l.TEXTURE_2D,0,d,r,x,f)}else l.texImage2D(l.TEXTURE_2D,0,d,r,x,a);b?(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_S,l.REPEAT),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_T,l.REPEAT)):(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_S,l.CLAMP_TO_EDGE),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_T,
l.CLAMP_TO_EDGE));e?(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MAG_FILTER,l.LINEAR),A&&this.an?(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,l.LINEAR_MIPMAP_LINEAR),l.generateMipmap(l.TEXTURE_2D)):l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,l.LINEAR)):(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MAG_FILTER,l.NEAREST),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,l.NEAREST));l.bindTexture(l.TEXTURE_2D,null);this.Je=null;m.cg=a.width;m.bg=a.height;m.Nh=1;m.Qm=g;n.push(m);return c[g]=m};e.prototype.Vd=
function(a,c,b){var f;this.Yd();var g=this.q;this.Pk&&(f=!1);var e=g.createTexture();g.bindTexture(g.TEXTURE_2D,e);g.texImage2D(g.TEXTURE_2D,0,g.RGBA,a,c,0,g.RGBA,f?g.UNSIGNED_SHORT_4_4_4_4:g.UNSIGNED_BYTE,null);g.texParameteri(g.TEXTURE_2D,g.TEXTURE_WRAP_S,g.CLAMP_TO_EDGE);g.texParameteri(g.TEXTURE_2D,g.TEXTURE_WRAP_T,g.CLAMP_TO_EDGE);g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MAG_FILTER,b?g.LINEAR:g.NEAREST);g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MIN_FILTER,b?g.LINEAR:g.NEAREST);g.bindTexture(g.TEXTURE_2D,
null);this.Je=null;e.cg=a;e.bg=c;n.push(e);return e};e.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.Nh&&1<a.Nh?a.Nh--:(this.Yd(),a===this.Je&&(this.q.bindTexture(this.q.TEXTURE_2D,null),this.Je=null),a===this.Ke&&(this.q.activeTexture(this.q.TEXTURE1),this.q.bindTexture(this.q.TEXTURE_2D,null),this.q.activeTexture(this.q.TEXTURE0),this.Ke=null),Ca(n,a),"undefined"!==typeof a.Qm&&delete c[a.Qm],this.q.deleteTexture(a)))};e.prototype.jd=function(a){if(a!==this.Go){var c=this.Hc();
c.type=6;this.Go=c.Vc=a;this.Vb=this.Kb=!1}};cb=e})();
(function(){function e(d){if(d&&(d.getContext||d.dc)&&!d.c2runtime){d.c2runtime=this;var a=this;this.ti=/crosswalk/i.test(navigator.userAgent)||/xwalk/i.test(navigator.userAgent)||!("undefined"===typeof window.c2isCrosswalk||!window.c2isCrosswalk);this.He=!this.ti&&"undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap);this.xb=!!d.dc;this.qf="undefined"!==typeof window.AppMobi||this.xb;this.Ac=!!window.c2cocoonjs;this.Ad=!!window.c2ejecta;
this.Ac&&(CocoonJS.App.onSuspended.addEventListener(function(){a.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){a.setSuspended(!1)}));this.Ad&&(document.addEventListener("pagehide",function(){a.setSuspended(!0)}),document.addEventListener("pageshow",function(){a.setSuspended(!1)}),document.addEventListener("resize",function(){a.setSize(window.innerWidth,window.innerHeight)}));this.bb=this.xb||this.Ac||this.Ad;this.Fn=/tizen/i.test(navigator.userAgent);this.Ok=/android/i.test(navigator.userAgent)&&
!this.Fn;this.Pk=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.Yk=/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent);this.In=/ipad/i.test(navigator.userAgent);this.yi=this.Yk||this.In||this.Ad;this.rs=this.Yk&&/os\s6/i.test(navigator.userAgent);this.xg=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent);this.js=/amazonwebappplatform/i.test(navigator.userAgent);this.Dn=/firefox/i.test(navigator.userAgent);this.En=!this.xg&&/safari/i.test(navigator.userAgent);
this.ns=/windows/i.test(navigator.userAgent);this.be="undefined"!==typeof window.c2nodewebkit||/nodewebkit/i.test(navigator.userAgent);this.ps=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.qs=!("undefined"===typeof window.c2isWindows8Capable||!window.c2isWindows8Capable);this.Vk=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.Wk=!("undefined"===typeof window.c2isWindowsPhone81||!window.c2isWindowsPhone81);this.Gn=this.ps||this.qs||this.Wk;
this.ks=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.Cn=this.Ok&&!this.xg&&!this.Dn&&!this.js&&!this.bb;this.devicePixelRatio=1;this.ae=this.He||this.ti||this.qf||this.Ac||this.Ok||this.yi||this.Vk||this.Wk||this.ks||this.Fn||this.Ad;this.ae||(this.ae=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));"undefined"===typeof cr_is_preview||this.be||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)||
(this.be=!0);this.ls="undefined"!==typeof cr_is_preview&&-1<window.location.search.indexOf("debug");this.canvas=d;this.Tm=document.getElementById("c2canvasdiv");this.ja=this.B=this.q=null;this.mk="";this.hi=!1;this.co=this.eo=0;this.canvas.oncontextmenu=function(d){d.preventDefault&&d.preventDefault();return!1};this.canvas.onselectstart=function(d){d.preventDefault&&d.preventDefault();return!1};this.xb&&(window.c2runtime=this);this.be&&(window.vu=function(d){d.preventDefault();return!1},window.wu=
function(d){d.preventDefault();return!1},require("nw.gui").App.clearCache());this.width=d.width;this.height=d.height;this.T=this.width;this.S=this.height;this.Yh=this.width;this.Xh=this.height;this.Eg=window.innerWidth;this.Dg=window.innerHeight;this.ga=!0;this.zg=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.u=[];this.Fa=[];this.cl={};this.Qc=[];this.hk={};this.vd=[];this.Wf=[];this.uj=[];this.cq=[];this.dq=[];this.bd=new da;this.Qk=!1;this.jc=0;this.Tk=!1;
this.Hb=[];this.Cd=this.Bb=this.Hi=this.Ql="";this.nh=this.Uo=!1;this.Vj=this.Qg=this.Xd=this.Ae=0;this.Rf=1;this.kc=new Va;this.Di=0;this.Un=!0;this.Mi=this.ji=this.lf=this.Qf=this.Fg=this.lk=0;this.Sj=null;this.ek=[];this.gk=[];this.ei=-1;this.gl=[[]];this.cm=this.Ki=0;this.Zi(null);this.il=[];this.Li=-1;this.ig=this.Zn=this.Ug=0;this.oh=[];this.sj=this.$i=-1;this.Ai=!0;this.xf=0;this.yg=!1;this.ct=0;this.$r=!1;this.Zk=0;this.dd=this.Bk=this.Gl=!1;this.rl=new da;this.sl=new da;this.Il=[];this.Uc=
new Xa([]);this.Xl=new Xa([]);this.ef=[];this.sg={};this.hf={};this.df={};this.Vf={};this.Om={};this.Qn=this.Gi=this.Wb=this.lc=this.Pn=this.Fi=this.la=null;this.Sf=this.Xk=!1;this.nk=[null,null];this.Ce=0;this.ge={};this.ij=this.wf=null;this.load();this.devicePixelRatio=(this.Ie=(!this.bb||this.Ad)&&this.qt&&!this.Cn)?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.pb();var c,k=this.Lj&&!(this.be||this.Gn||this.Vk||this.ti);
0<this.Ub&&this.setSize(window.innerWidth,window.innerHeight,!0);try{this.Lq&&(this.Ac||this.Ad||!this.bb)&&(c={alpha:k,depth:!1,antialias:!1,failIfMajorPerformanceCaveat:!0},this.q=d.getContext("webgl",c)||d.getContext("experimental-webgl",c))}catch(v){}if(this.q){this.bb||(this.kb=document.createElement("canvas"),jQuery(this.kb).appendTo(this.canvas.parentNode),this.kb.oncontextmenu=function(){return!1},this.kb.onselectstart=function(){return!1},this.kb.width=this.Yh,this.kb.height=this.Xh,jQuery(this.kb).css({width:this.Yh+
"px",height:this.Xh+"px"}),this.zo(),this.zl=this.kb.getContext("2d"));this.B=new cb(this.q,this.ae);this.B.me(d.width,d.height);this.B.an=0!==this.Iq;this.ja=null;this.canvas.addEventListener("webglcontextlost",function(d){d.preventDefault();a.zs();console.log("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){a.B.xn();a.B.me(a.B.width,a.B.height,!0);a.lc=null;a.Wb=null;a.nk[0]=null;a.nk[1]=null;a.As();a.ga=!0;console.log("[Construct 2] WebGL context restored");
window.cr_setSuspended(!1)},!1);var f,b,g,h,l,e;d=0;for(c=this.u.length;d<c;d++)for(b=this.u[d],k=0,f=b.K.length;k<f;k++)h=b.K[k],h.lb=this.B.xk(h.id),this.Sf=this.Sf||this.B.dh(h.lb);d=0;for(c=this.Qc.length;d<c;d++){l=this.Qc[d];k=0;for(f=l.K.length;k<f;k++)h=l.K[k],h.lb=this.B.xk(h.id);k=0;for(f=l.Y.length;k<f;k++)for(e=l.Y[k],b=0,g=e.K.length;b<g;b++)h=e.K[b],h.lb=this.B.xk(h.id),this.Sf=this.Sf||this.B.dh(h.lb)}}else{if(0<this.Ub&&this.xb){this.canvas=null;document.oncontextmenu=function(){return!1};
document.onselectstart=function(){return!1};this.ja=AppMobi.canvas.getContext("2d");try{this.ja.samplingMode=this.U?"smooth":"sharp",this.ja.globalScale=1,this.ja.HTML5CompatibilityMode=!0,this.ja.imageSmoothingEnabled=this.U}catch(A){}0!==this.width&&0!==this.height&&(this.ja.width=this.width,this.ja.height=this.height)}this.ja||(c=this.Ac?{antialias:!!this.U,alpha:k}:{alpha:k},this.ja=d.getContext("2d",c),this.ja.webkitImageSmoothingEnabled=this.U,this.ja.mozImageSmoothingEnabled=this.U,this.ja.msImageSmoothingEnabled=
this.U,this.ja.imageSmoothingEnabled=this.U);this.zl=this.kb=null}this.qj=function(){a.mb(!1)};window==window.top||this.bb||this.Gn||this.Vk||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.Ac&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(ea("Reloading for continuous preview"),this.Hi="__c2_continuouspreview",
this.nh=!0),this.Hs&&!this.ae&&(jQuery(window).focus(function(){a.setSuspended(!1)}),jQuery(window).blur(function(){a.setSuspended(!0)})));0===this.Ub&&this.Ie&&1<this.devicePixelRatio&&this.setSize(this.fb,this.eb,!0);this.cp();this.go();this.M={}}}function p(d){d.target.result.createObjectStore("saves",{keyPath:"slot"})}function b(d,a,c,k){var v=indexedDB.open("_C2SaveStates");v.onupgradeneeded=p;v.onerror=k;v.onsuccess=function(v){v=v.target.result;v.onerror=k;v.transaction(["saves"],"readwrite").objectStore("saves").put({slot:d,
data:a}).onsuccess=c}}function n(d,a,c){var k=indexedDB.open("_C2SaveStates");k.onupgradeneeded=p;k.onerror=c;k.onsuccess=function(k){k=k.target.result;k.onerror=c;var f=k.transaction(["saves"]).objectStore("saves").get(d);f.onsuccess=function(){f.result?a(f.result.data):a(null)}}}function c(){ea("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location+="?continuous"}function a(d){var a,c=
{};for(a in d)!d.hasOwnProperty(a)||d[a]instanceof da||d[a]&&"undefined"!==typeof d[a].mu||(c[a]=d[a]);return c}e.prototype.setSize=function(d,a,c){var k=0,f=0,b=0,g=0,g=0,q=this.rs&&this.En&&!navigator.standalone&&!this.bb&&!this.He;q&&(a+=60);if(this.Eg!==d||this.Dg!==a||c){this.Eg=d;this.Dg=a;var h=this.Ub,l=document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.yg;if(l||0!==this.Ub||c)l&&0<this.Ce&&(h=this.Ce),4<=h?(c=this.fb/this.eb,d/a>
c?(b=a*c,5===h?(g=b/this.fb,1<g?g=Math.floor(g):1>g&&(g=1/Math.ceil(1/g)),b=this.fb*g,g*=this.eb,k=(d-b)/2,f=(a-g)/2,d=b,a=g):(k=(d-b)/2,d=b)):(g=d/c,5===h?(g/=this.eb,1<g?g=Math.floor(g):1>g&&(g=1/Math.ceil(1/g)),b=this.fb*g,g*=this.eb,k=(d-b)/2,f=(a-g)/2,d=b):f=(a-g)/2,a=g),l&&!this.be&&(f=k=0),k=Math.floor(k),f=Math.floor(f),d=Math.floor(d),a=Math.floor(a)):this.be&&this.yg&&0===this.jn&&(k=Math.floor((d-this.fb)/2),f=Math.floor((a-this.eb)/2),d=this.fb,a=this.eb),2>h&&(this.ag=this.devicePixelRatio),
this.Ie&&this.In&&1<this.devicePixelRatio&&(1024<=d&&(d=1023),1024<=a&&(a=1023)),l=this.devicePixelRatio,this.Yh=d,this.Xh=a,this.width=Math.round(d*l),this.height=Math.round(a*l),this.ga=!0,this.np?(this.T=this.width,this.S=this.height,this.yc=!0):this.width<this.fb&&this.height<this.eb||1===h?(this.T=this.width,this.S=this.height,this.yc=!0):(this.T=this.fb,this.S=this.eb,this.yc=!1,2===h?(c=this.fb/this.eb,h=this.Eg/this.Dg,h<c?this.T=this.S*h:h>c&&(this.S=this.T/h)):3===h&&(c=this.fb/this.eb,
h=this.Eg/this.Dg,h>c?this.T=this.S*h:h<c&&(this.S=this.T/h))),this.Tm&&!this.bb&&(jQuery(this.Tm).css({width:d+"px",height:a+"px","margin-left":k,"margin-top":f}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:d+"px",height:a+"px"})),this.canvas&&(this.canvas.width=Math.round(d*l),this.canvas.height=Math.round(a*l),this.Ad?(this.canvas.style.left=k+"px",this.canvas.style.top=f+"px",this.canvas.style.width=d+"px",this.canvas.style.height=a+"px"):this.Ie&&!this.bb&&jQuery(this.canvas).css({width:d+
"px",height:a+"px"})),this.kb&&(this.kb.width=d,this.kb.height=a,jQuery(this.kb).css({width:d+"px",height:a+"px"})),this.B&&this.B.me(Math.round(d*l),Math.round(a*l)),this.xb&&this.ja&&(this.ja.width=d,this.ja.height=a),this.ja&&(this.ja.webkitImageSmoothingEnabled=this.U,this.ja.mozImageSmoothingEnabled=this.U,this.ja.msImageSmoothingEnabled=this.U,this.ja.imageSmoothingEnabled=this.U),this.cp(),this.bb||!q&&!this.Yk||window.setTimeout(function(){window.scrollTo(0,1)},100)}};e.prototype.cp=function(){if(this.fq&&
0!==this.xl){var d="portrait";2===this.xl&&(d="landscape");screen.lockOrientation?screen.lockOrientation(d):screen.webkitLockOrientation?screen.webkitLockOrientation(d):screen.mozLockOrientation?screen.mozLockOrientation(d):screen.msLockOrientation&&screen.msLockOrientation(d)}};e.prototype.zs=function(){this.Xk=!0;var d,a,c;d=0;for(a=this.u.length;d<a;d++)c=this.u[d],c.Wg&&c.Wg()};e.prototype.As=function(){this.Xk=!1;var d,a,c;d=0;for(a=this.u.length;d<a;d++)c=this.u[d],c.Xg&&c.Xg()};e.prototype.zo=
function(){if(!this.bb){var d=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.yg?jQuery(this.canvas).offset():jQuery(this.canvas).position();d.position="absolute";jQuery(this.kb).css(d)}};var h=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;e.prototype.setSuspended=function(d){var a;if(d&&!this.zg)for(ea("[Construct 2] Suspending"),
this.zg=!0,-1!==this.$i&&h&&h(this.$i),-1!==this.sj&&clearTimeout(this.sj),d=0,a=this.oh.length;d<a;d++)this.oh[d](!0);else if(!d&&this.zg){ea("[Construct 2] Resuming");this.zg=!1;this.Di=Ua();this.Fg=Ua();d=this.Qg=this.ji=0;for(a=this.oh.length;d<a;d++)this.oh[d](!1);this.mb(!1)}};e.prototype.Jm=function(d){this.oh.push(d)};e.prototype.load=function(){var d=ac();this.name=d[0];this.hn=d[1];this.Ub=d[11];this.jn=d[11];this.fb=d[9];this.eb=d[10];this.so=this.fb/2;this.uo=this.eb/2;this.bb&&!this.Ad&&
(4<=d[11]||0===d[11])&&(ea("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.jn=this.Ub=3);this.gm=d[17];this.Lg=d[18];0===this.Lg&&(this.wf=new Image,this.wf.src="loading-logo.png");this.Ug=d[20];this.ld=new T(this);var a,c,k,f,b,g,q,h,l;a=0;for(c=d[2].length;a<c;a++)q=d[2][a],db(q),l=new q[0](this),l.gj=q[1],l.de=q[2],l.Xn=q[9],l.aa&&l.aa(),this.plugins.push(l);d=ac();a=0;for(c=d[3].length;a<c;a++){q=d[3][a];b=q[1];l=null;k=
0;for(f=this.plugins.length;k<f;k++)if(this.plugins[k]instanceof b){l=this.plugins[k];break}var e=new l.wa(l);e.name=q[0];e.D=q[2];e.Mk=q[3].slice(0);e.ut=q[3].length;e.gq=q[4];e.pr=q[5];e.W=q[11];e.D?(e.Bf=[],e.wd=this.ig++,e.ta=null):(e.Bf=null,e.wd=-1,e.ta=[]);e.fi=null;e.mf=null;e.cn=null;e.yb=!1;e.Sb=null;q[6]?(e.qh=q[6][0],e.oj=q[6][1],e.Ve=q[6][2]):(e.qh=null,e.oj=0,e.Ve=0);e.Qb=q[7]?q[7]:null;e.index=a;e.c=[];e.ai=[];e.pe=[new eb(e)];e.ud=0;e.vc=null;e.vq=0;e.Nf=!0;e.vj=fb;e.Cr=gb;e.Hr=hb;
e.L=lb;e.eh=mb;e.Ed=nb;e.Gc=ob;e.ki=pb;e.qk=qb;e.uk=rb;e.cc=sb;e.nn=tb;e.Vh=new Ya(this.fb,this.eb);e.Fh=!0;e.Gh=!1;e.M={};e.toString=ub;e.Fa=[];k=0;for(f=q[8].length;k<f;k++){h=q[8][k];var A=h[1],n=null;b=0;for(g=this.Fa.length;b<g;b++)if(this.Fa[b]instanceof A){n=this.Fa[b];break}n||(n=new A(this),n.Yn=[],n.pl=new da,n.aa&&n.aa(),this.Fa.push(n));-1===n.Yn.indexOf(e)&&n.Yn.push(e);b=new n.wa(n,e);b.name=h[0];b.W=h[2];b.aa();e.Fa.push(b)}e.global=q[9];e.Sk=q[10];e.K=[];k=0;for(f=q[12].length;k<f;k++)e.K.push({id:q[12][k][0],
name:q[12][k][1],lb:-1,Za:!0,index:k});e.Cu=q[13];this.gm&&!e.D&&!e.Sk&&l.de||e.aa();e.name&&(this.types[e.name]=e);this.u.push(e);l.gj&&(k=new l.pa(e),k.uid=this.Ug++,k.Co=this.Zn++,k.Fe=0,k.pg=vb,k.toString=wb,k.V=q[14],k.aa(),e.c.push(k),this.ge[k.uid.toString()]=k)}a=0;for(c=d[4].length;a<c;a++)for(b=d[4][a],g=this.u[b[0]],k=1,f=b.length;k<f;k++)q=this.u[b[k]],q.ta.push(g),g.Bf.push(q);a=0;for(c=d[24].length;a<c;a++){b=d[24][a];g=[];k=0;for(f=b.length;k<f;k++)g.push(this.u[b[k]]);k=0;for(f=g.length;k<
f;k++)g[k].yb=!0,g[k].Sb=g}if(0<this.ig)for(a=0,c=this.u.length;a<c;a++)if(q=this.u[a],!q.D&&q.ta.length){q.fi=Array(this.ig);q.mf=Array(this.ig);q.cn=Array(this.ig);e=[];k=n=A=h=0;for(f=q.ta.length;k<f;k++)for(l=q.ta[k],q.fi[l.wd]=h,h+=l.ut,q.mf[l.wd]=A,A+=l.gq,q.cn[l.wd]=n,n+=l.pr,b=0,g=l.K.length;b<g;b++)e.push(ua({},l.K[b]));q.K=e.concat(q.K);k=0;for(f=q.K.length;k<f;k++)q.K[k].index=k}a=0;for(c=d[5].length;a<c;a++)q=d[5][a],k=new xb(this,q),this.cl[k.name]=k,this.Qc.push(k);a=0;for(c=d[6].length;a<
c;a++)q=d[6][a],k=new yb(this,q),this.hk[k.name]=k,this.vd.push(k);a=0;for(c=this.vd.length;a<c;a++)this.vd[a].Ba();a=0;for(c=this.vd.length;a<c;a++)this.vd[a].ip();a=0;for(c=this.uj.length;a<c;a++)this.uj[a].Ba();this.uj.length=0;this.Fc=d[8];this.ag=1;this.Lq=d[12];this.U=d[13];this.Lj=d[14];this.qt=d[16];this.xl=d[19];this.fq=0<this.xl;this.Hs=d[21];this.yc=this.np=d[22];this.Iq=d[23];this.mj=Date.now()};var t=!1;e.prototype.wj=function(d){d.onerror=function(a){t=d.iq=!0;console&&console.error&&
console.error("Error loading image '"+d.src+"': ",a)};this.Wf.push(d)};e.prototype.nr=function(d){var a,c;a=0;for(c=this.Wf.length;a<c;a++)if(this.Wf[a].rq===d)return this.Wf[a];return null};e.prototype.Nm=function(){var d=0,a=0,c=!0,k,f,b;k=0;for(f=this.Wf.length;k<f;k++){b=this.Wf[k];var g=b.Wj;if(!g||0>=g)g=5E4;d+=g;!b.complete&&!b.loaded||b.iq?c=!1:a+=g}this.Se=0==d?0:a/d;return c};e.prototype.go=function(){if(this.ja||this.B){var d=this.ja||this.zl;this.kb&&this.zo();this.Se=0;this.On=-1;if(this.Nm())this.Yr();
else{var a=Date.now()-this.mj;if(d){var c=this.width,k=this.height,f=this.devicePixelRatio;this.kb&&(c=this.Yh,k=this.Xh,f=1);if(3!==this.Lg&&(this.Ac||500<=a&&this.On!=this.Se)){d.clearRect(0,0,c,k);var a=c/2,k=k/2,c=0===this.Lg&&this.wf.complete,b=40*f,g=0,q=80*f,h;c&&(q=this.wf.width*f,h=this.wf.height*f,b=q/2,g=h/2,d.drawImage(this.wf,y(a-b),y(k-g),q,h));1>=this.Lg?(a=y(a-b)+0.5,k=y(k+(g+(c?12*f:0)))+0.5,d.fillStyle=t?"red":"DodgerBlue",d.fillRect(a,k,Math.floor(q*this.Se),6*f),d.strokeStyle=
"black",d.strokeRect(a,k,q,6*f),d.strokeStyle="white",d.strokeRect(a-1*f,k-1*f,q+2*f,8*f)):2===this.Lg&&(d.font=this.Ad?"12pt ArialMT":"12pt Arial",d.fillStyle=t?"#f00":"#999",d.Bu="middle",f=Math.round(100*this.Se)+"%",c=d.measureText?d.measureText(f):null,d.fillText(f,a-(c?c.width:0)/2,k))}this.On=this.Se}setTimeout(function(d){return function(){d.go()}}(this),this.Ac?10:100)}}};e.prototype.Yr=function(){this.kb&&(this.canvas.parentNode.removeChild(this.kb),this.kb=this.zl=null);this.mj=Date.now();
this.Fg=Ua();var d,a,c;if(this.gm)for(d=0,a=this.u.length;d<a;d++)c=this.u[d],c.D||c.Sk||!c.da.de||c.aa();else this.Ai=!1;d=0;for(a=this.Qc.length;d<a;d++)this.Qc[d].sq();2<=this.Ub&&(d=this.fb/this.eb,a=this.width/this.height,this.ag=2!==this.Ub&&a>d||2===this.Ub&&a<d?this.height/this.eb:this.width/this.fb);this.hn?this.cl[this.hn].Vl():this.Qc[0].Vl();this.gm||(this.xf=1,this.trigger(T.prototype.d.rm,null));navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide();d=0;for(a=
this.u.length;d<a;d++)c=this.u[d],c.ys&&c.ys();this.mb(!1);this.xb&&AppMobi.webview.execute("onGameReady();")};var f=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;e.prototype.mb=function(d){if(this.la){var a=Ua();if(this.$r&&this.Gl&&29>a-this.Zk)this.Gl=!1,this.Zk=a,f?this.$i=f(this.qj,this.canvas):this.sj=setTimeout(this.qj,this.ae?1:16);else{this.Gl=!0;this.Zk=a;var c=this.Ub,k=document.mozFullScreen||
document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement;(k||this.yg)&&0<this.Ce&&(c=this.Ce);if(0<c&&(!this.yi||window.self!==window.top)){var c=window.innerWidth,b=window.innerHeight;this.Eg===c&&this.Dg===b||this.setSize(c,b)}this.bb||(k?(this.hi||(this.mk=jQuery(this.canvas).css("margin")||"0",this.hi=!0),this.xg||this.be||jQuery(this.canvas).css({"margin-left":""+Math.floor((screen.width-this.width/this.devicePixelRatio)/2)+"px","margin-top":""+Math.floor((screen.height-
this.height/this.devicePixelRatio)/2)+"px"})):this.hi?(this.xg||this.be||jQuery(this.canvas).css("margin",this.mk),this.mk="",this.hi=!1,0===this.Ub&&this.setSize(Math.round(this.eo/this.devicePixelRatio),Math.round(this.co/this.devicePixelRatio),!0)):(this.eo=this.width,this.co=this.height));this.Ai&&(k=this.Nm(),this.xf=this.Se,k&&(this.Ai=!1,this.Se=1,this.trigger(T.prototype.d.rm,null)));this.vs();!this.ga&&!this.Ac||this.Xk||this.nh||d||(this.ga=!1,this.B?this.Ib():this.xc(),this.ij&&(this.canvas&&
this.canvas.toDataURL&&(this.canvas.toDataURL(this.ij[0],this.ij[1]),this.trigger(T.prototype.d.Fp,null)),this.ij=null));this.uu||(this.Qf++,this.lf++,this.ji++);this.Qg+=Ua()-a;this.zg||d||(f?this.$i=f(this.qj,this.canvas):this.sj=setTimeout(this.qj,this.ae?1:16))}}};e.prototype.vs=function(){var d,a,c,k,f,b,g,q,h;d=Ua();1E3<=d-this.Fg&&(this.Fg+=1E3,this.lk=this.ji,this.ji=0,this.Vj=this.Qg,this.Qg=0);this.Un&&(0!==this.Di&&(a=d-this.Di,0!==a||this.ls?(this.Xd=a/1E3,0.5<this.Xd?this.Xd=0:0.1<this.Xd&&
(this.Xd=0.1)):(10<=this.Du&&(this.Un=!1),this.Xd=1/60)),this.Di=d);this.Ae=this.Xd*this.Rf;this.kc.add(this.Ae);d=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.yg;2<=this.Ub||d&&0<this.Ce?(a=this.fb/this.eb,c=this.width/this.height,k=this.Ub,d&&0<this.Ce&&(k=this.Ce),this.ag=2!==k&&c>a||2===k&&c<a?this.height/this.eb:this.width/this.fb,this.la&&(this.la.Jo(this.la.scrollX),this.la.Ko(this.la.scrollY))):this.ag=this.Ie?this.devicePixelRatio:
1;this.pb();this.jc++;this.ld.Rs();this.jc--;this.pb();this.jc++;d=0;for(a=this.u.length;d<a;d++)if(g=this.u[d],!g.D&&(g.Fa.length||g.ta.length))for(c=0,k=g.c.length;c<k;c++)for(q=g.c[c],f=0,b=q.P.length;f<b;f++)q.P[f].mb();d=0;for(a=this.u.length;d<a;d++)if(g=this.u[d],!g.D&&(g.Fa.length||g.ta.length))for(c=0,k=g.c.length;c<k;c++)for(q=g.c[c],f=0,b=q.P.length;f<b;f++)h=q.P[f],h.Ls&&h.Ls();c=this.rl.Tf();d=0;for(a=c.length;d<a;d++)c[d].mb();this.jc--;this.as();for(d=0;this.Sj&&10>d++;)this.$m(this.Sj);
d=0;for(a=this.vd.length;d<a;d++)this.vd[d].Dk=!1;this.la.gg&&this.la.gg.La();this.Il.length=0;this.jc++;d=0;for(a=this.u.length;d<a;d++)if(g=this.u[d],!g.D&&(g.Fa.length||g.ta.length))for(c=0,k=g.c.length;c<k;c++)for(q=g.c[c],f=0,b=q.P.length;f<b;f++)h=q.P[f],h.Zl&&h.Zl();c=this.sl.Tf();d=0;for(a=c.length;d<a;d++)c[d].Zl();this.jc--};e.prototype.$m=function(d){var a=this.la;this.la.dt();var c,k,f,b,g,q,h;if(this.B)for(c=0,k=this.u.length;c<k;c++)g=this.u[c],g.D||!g.sh||g.global&&0!==g.c.length||
-1!==d.vg.indexOf(g)||g.sh();a==d&&(this.ld.Ob.length=0);d.Vl();c=0;for(k=this.u.length;c<k;c++)if(g=this.u[c],g.global||g.da.gj)for(d=0,a=g.c.length;d<a;d++)if(q=g.c[d],q.ul&&q.ul(),q.P)for(f=0,b=q.P.length;f<b;f++)h=q.P[f],h.ul&&h.ul();this.ga=!0;this.pb()};e.prototype.rj=function(d){this.rl.add(d)};e.prototype.ht=function(d){this.sl.add(d)};e.prototype.sk=function(d){return d&&-1!==d.Tg?this.Xd*d.Tg:this.Ae};e.prototype.xc=function(){this.la.xc(this.ja);this.xb&&this.ja.present()};e.prototype.Ib=
function(){this.la.Ib(this.B);this.B.Ms()};e.prototype.Hm=function(d){d&&this.ek.push(d)};e.prototype.ni=function(d){d=d.toString();return this.ge.hasOwnProperty(d)?this.ge[d]:null};e.prototype.Ld=function(d){var a,c;if(!this.bd.contains(d)){this.bd.add(d);if(d.yb)for(a=0,c=d.siblings.length;a<c;a++)this.Ld(d.siblings[a]);this.Qk&&this.bd.Uf.push(d);this.jc++;this.trigger(Object.getPrototypeOf(d.type.da).d.pm,d);this.jc--}};e.prototype.pb=function(){var d,a,c,k,f,b,g,q,h,l;this.Qk=!0;k=0;for(b=this.Hb.length;k<
b;k++)for(d=this.Hb[k],a=d.type,a.c.push(d),f=0,g=a.ta.length;f<g;f++)a.ta[f].c.push(d),a.ta[f].Nf=!0;this.Hb.length=0;b=this.bd.Tf();for(k=0;k<b.length;k++){d=b[k];a=d.type;c=a.c;f=0;for(g=this.ek.length;f<g;f++)this.ek[f](d);Ca(c,d);0===c.length&&(a.Gh=!1);d.Uh&&a.Vh.update(d,d.Uh,null);d.k&&(wa(d.k.c,d.ic()),d.k.$b=!0);f=0;for(g=a.ta.length;f<g;f++)Ca(a.ta[f].c,d),a.ta[f].Nf=!0;if(d.P)for(f=0,g=d.P.length;f<g;f++)c=d.P[f],c.Qe&&c.Qe(),c.behavior.pl.remove(d);this.rl.remove(d);this.sl.remove(d);
f=0;for(g=this.ld.Ob.length;f<g;f++)if(h=this.ld.Ob[f],h.Db.hasOwnProperty(a.index)&&Ca(h.Db[a.index].zd,d),!a.D)for(c=0,q=a.ta.length;c<q;c++)l=a.ta[c],h.Db.hasOwnProperty(l.index)&&Ca(h.Db[l.index].zd,d);d.Qe&&d.Qe();this.ge.hasOwnProperty(d.uid.toString())&&delete this.ge[d.uid.toString()];this.Mi--;64>a.ai.length&&a.ai.push(d);a.Nf=!0}this.bd.Oc()||(this.ga=!0);this.bd.clear();this.Qk=!1};e.prototype.Xj=function(d,a,c,k){if(d.D){var f=y(Math.random()*d.Bf.length);return this.Xj(d.Bf[f],a,c,k)}return d.vc?
this.Wd(d.vc,a,!1,c,k,!1):null};var g=[];e.prototype.Wd=function(d,a,c,k,f,b){var h,q,l,e;if(!d)return null;var n=this.u[d[1]],A=n.da.de;if(this.Ai&&A&&!n.Sk||A&&!this.B&&11===d[0][11])return null;var t=a;A||(a=null);var m;n.ai.length?(m=n.ai.pop(),m.nc=!0,n.da.pa.call(m,n)):(m=new n.da.pa(n),m.nc=!1);m.uid=c&&!b?d[2]:this.Ug++;this.ge[m.uid.toString()]=m;m.Co=this.Zn++;m.Fe=n.c.length;h=0;for(q=this.Hb.length;h<q;++h)this.Hb[h].type===n&&m.Fe++;m.pg=vb;l=d[3];if(m.nc)Ta(m.M);else{m.M={};if("undefined"!==
typeof cr_is_preview)for(m.An=[],m.An.length=l.length,h=0,q=l.length;h<q;h++)m.An[h]=l[h][1];m.Sa=[];m.Sa.length=l.length}h=0;for(q=l.length;h<q;h++)m.Sa[h]=l[h][0];if(A){var p=d[0];m.x=fa(k)?p[0]:k;m.y=fa(f)?p[1]:f;m.z=p[2];m.width=p[3];m.height=p[4];m.depth=p[5];m.j=p[6];m.opacity=p[7];m.ub=p[8];m.wb=p[9];m.Fb=p[10];h=p[11];!this.B&&n.K.length&&(m.Fb=h);m.dg=Za(m.Fb);this.q&&$a(m,m.Fb,this.q);if(m.nc){h=0;for(q=p[12].length;h<q;h++)for(l=0,e=p[12][h].length;l<e;l++)m.ya[h][l]=p[12][h][l];m.Ea.set(0,
0,0,0);m.Uh.set(0,0,-1,-1);m.Gb.Kf(m.Ea);m.Oj.length=0}else{m.ya=p[12].slice(0);h=0;for(q=m.ya.length;h<q;h++)m.ya[h]=p[12][h].slice(0);m.ba=[];m.Od=[];m.Od.length=n.K.length;m.Ea=new sa(0,0,0,0);m.Uh=new sa(0,0,-1,-1);m.Gb=new ta;m.Oj=[];m.Va=zb;m.bq=Ab;m.Tb=Bb;m.Ma=Cb;m.fm=Db;m.ic=Eb}m.rh=!1;m.kt=0;m.jt=0;m.it=null;14===p.length&&(m.rh=!0,m.kt=p[13][0],m.jt=p[13][1],m.it=p[13][2]);h=0;for(q=n.K.length;h<q;h++)m.Od[h]=!0;m.Jd=Fb;m.Jd();m.kp=!!m.ba.length;m.Mh=!0;m.Qj=!0;n.Fh=!0;m.visible=!0;m.Tg=
-1;m.k=a;m.Xe=a.c.length;"undefined"===typeof m.ca&&(m.ca=null);this.ga=m.xe=!0}m.toString=wb;var z;h=g.length=0;for(q=n.ta.length;h<q;h++)g.push.apply(g,n.ta[h].Fa);g.push.apply(g,n.Fa);if(m.nc)for(h=0,q=g.length;h<q;h++){var w=g[h];z=m.P[h];z.nc=!0;w.behavior.pa.call(z,w,m);p=d[4][h];l=0;for(e=p.length;l<e;l++)z.V[l]=p[l];z.aa();w.behavior.pl.add(m)}else for(m.P=[],h=0,q=g.length;h<q;h++)w=g[h],z=new w.behavior.pa(w,m),z.nc=!1,z.V=d[4][h].slice(0),z.aa(),m.P.push(z),w.behavior.pl.add(m);p=d[5];
if(m.nc)for(h=0,q=p.length;h<q;h++)m.V[h]=p[h];else m.V=p.slice(0);this.Hb.push(m);a&&(a.c.push(m),1!==a.Dc||1!==a.Ec)&&(n.Gh=!0);this.Mi++;if(n.yb){if(m.yb=!0,m.nc?m.siblings.length=0:m.siblings=[],!c&&!b){h=0;for(q=n.Sb.length;h<q;h++)if(n.Sb[h]!==n){if(!n.Sb[h].vc)return null;m.siblings.push(this.Wd(n.Sb[h].vc,t,!1,A?m.x:k,A?m.y:f,!0))}h=0;for(q=m.siblings.length;h<q;h++)for(m.siblings[h].siblings.push(m),l=0;l<q;l++)h!==l&&m.siblings[h].siblings.push(m.siblings[l])}}else m.yb=!1,m.siblings=null;
m.aa();h=0;for(q=m.P.length;h<q;h++)m.P[h].Ks&&m.P[h].Ks();return m};e.prototype.vk=function(d){var a,c;a=0;for(c=this.la.Y.length;a<c;a++){var k=this.la.Y[a];if(bb(k.name,d))return k}return null};e.prototype.mg=function(d){d=y(d);0>d&&(d=0);d>=this.la.Y.length&&(d=this.la.Y.length-1);return this.la.Y[d]};e.prototype.Tj=function(d){var a,c;a=0;for(c=d.length;a<c;a++)d[a].L().N=!0};e.prototype.eh=function(d){var a,c;a=0;for(c=d.length;a<c;a++)d[a].eh()};e.prototype.Ed=function(d){var a,c;a=0;for(c=
d.length;a<c;a++)d[a].Ed()};e.prototype.Gc=function(d){var a,c;a=0;for(c=d.length;a<c;a++)d[a].Gc()};e.prototype.hp=function(d){if(d.Fh){var a,c,k=d.c;a=0;for(c=k.length;a<c;++a)k[a].fm();k=this.Hb;a=0;for(c=k.length;a<c;++a)k[a].type===d&&k[a].fm();d.Fh=!1}};e.prototype.wr=function(d,a,c,k){var f,b,g=d?1!==d.Dc||1!==d.Ec:!1;if(a.D)for(d=0,f=a.Bf.length;d<f;++d)b=a.Bf[d],g||b.Gh?ya(k,b.c):(this.hp(b),b.Vh.Do(c,k));else g||a.Gh?ya(k,a.c):(this.hp(a),a.Vh.Do(c,k))};e.prototype.et=function(d,a,c){var k=
d.L(),f,b,g,h,l,e;if(k.N)for(k.N=!1,f=k.c.length=0,h=d.c.length;f<h;f++)g=d.c[f],g.Ma(),l=g.k.Rb(a,c,!0),e=g.k.Rb(a,c,!1),g.Tb(l,e)&&k.c.push(g);else{f=b=0;for(h=k.c.length;f<h;f++)g=k.c[f],g.Ma(),l=g.k.Rb(a,c,!0),e=g.k.Rb(a,c,!1),g.Tb(l,e)&&(k.c[b]=k.c[f],b++);k.c.length=b}d.cc();return k.Ck()};e.prototype.gt=function(d,a){if(!(d&&a&&d!==a&&d.xe&&a.xe))return!1;d.Ma();a.Ma();var c=d.k,k=a.k,f,b,g,h,l,e,m,n;if(c===k||c.Dc===k.Dc&&k.Ec===k.Ec&&c.scale===k.scale&&c.j===k.j&&c.Wc===k.Wc){if(!d.Ea.gs(a.Ea)||
!d.Gb.Bn(a.Gb)||d.rh&&a.rh)return!1;if(d.rh)return this.Xo(d,a);if(a.rh)return this.Xo(a,d);m=d.ca&&!d.ca.sf();f=a.ca&&!a.ca.sf();if(!m&&!f)return!0;m?(d.ca.ff(d.width,d.height,d.j),m=d.ca):(this.Uc.Jf(d.Gb,d.x,d.y,d.width,d.height),m=this.Uc);f?(a.ca.ff(a.width,a.height,a.j),n=a.ca):(this.Uc.Jf(a.Gb,a.x,a.y,a.width,a.height),n=this.Uc);return m.wg(n,a.x-d.x,a.y-d.y)}m=d.ca&&!d.ca.sf();f=a.ca&&!a.ca.sf();m?(d.ca.ff(d.width,d.height,d.j),this.Uc.Po(d.ca)):this.Uc.Jf(d.Gb,d.x,d.y,d.width,d.height);
m=this.Uc;f?(a.ca.ff(a.width,a.height,a.j),this.Xl.Po(a.ca)):this.Xl.Jf(a.Gb,a.x,a.y,a.width,a.height);n=this.Xl;f=0;for(b=m.Sc;f<b;f++)g=2*f,h=g+1,l=m.Ta[g],e=m.Ta[h],m.Ta[g]=c.zb(l+d.x,e+d.y,!0),m.Ta[h]=c.zb(l+d.x,e+d.y,!1);m.Ma();f=0;for(b=n.Sc;f<b;f++)g=2*f,h=g+1,l=n.Ta[g],e=n.Ta[h],n.Ta[g]=k.zb(l+a.x,e+a.y,!0),n.Ta[h]=k.zb(l+a.x,e+a.y,!1);n.Ma();return m.wg(n,0,0)};var m=new ta;new sa(0,0,0,0);var l=[];e.prototype.Xo=function(a,c){var f,k,b,g,h=c.Ea,q=a.x,e=a.y;a.qu(h,l);var n=c.ca&&!c.ca.sf();
f=0;for(k=l.length;f<k;++f)if(b=l[f],g=b.yu,h.hs(g,q,e)&&(m.Kf(g),m.offset(q,e),m.Bn(c.Gb)))if(n)if(c.ca.ff(c.width,c.height,c.j),b.Cl){if(b.Cl.wg(c.ca,c.x-(q+g.left),c.y-(e+g.top)))return l.length=0,!0}else{if(this.Uc.Jf(m,0,0,g.right-g.left,g.bottom-g.top),this.Uc.wg(c.ca,c.x,c.y))return l.length=0,!0}else if(b.Cl){if(this.Uc.Jf(c.Gb,0,0,c.width,c.height),b.Cl.wg(this.Uc,-(q+g.left),-(e+g.top)))return l.length=0,!0}else return l.length=0,!0;l.length=0;return!1};e.prototype.dp=function(a,c){if(!c)return!1;
var f,k,b,g,h;f=0;for(k=a.Fa.length;f<k;f++)if(a.Fa[f].behavior instanceof c)return!0;if(!a.D)for(f=0,k=a.ta.length;f<k;f++)for(h=a.ta[f],b=0,g=h.Fa.length;b<g;b++)if(h.Fa[b].behavior instanceof c)return!0;return!1};e.prototype.ep=function(a){return this.dp(a,Tb.St)};e.prototype.em=function(a){return this.dp(a,Tb.Tt)};e.prototype.oq=function(a,c){var f,k,b;f=0;for(k=this.Il.length;f<k;f++)if(b=this.Il[f],b[0]==a&&b[1]==c||b[0]==c&&b[1]==a)return!0;return!1};var A=-1;e.prototype.trigger=function(a,
c,f){if(!this.la)return!1;var k=this.la.gg;if(!k)return!1;var b=!1,g,h,q;A++;var l=k.ck;h=0;for(q=l.length;h<q;++h)g=this.$o(a,c,l[h],f),b=b||g;g=this.$o(a,c,k,f);A--;return b||g};e.prototype.$o=function(a,c,f,k){var b=!1,g,h,q,l;if(c)for(q=this.am(a,c,c.type.name,f,k),b=b||q,l=c.type.ta,g=0,h=l.length;g<h;++g)q=this.am(a,c,l[g].name,f,k),b=b||q;else q=this.am(a,c,"system",f,k),b=b||q;return b};e.prototype.am=function(a,c,f,k,b){var g,h=!1,q=!1,q="undefined"!==typeof b,l=(q?k.en:k.bp)[f];if(!l)return h;
var e=null;k=0;for(g=l.length;k<g;++k)if(l[k].method==a){e=l[k].hg;break}if(!e)return h;a=q?e[b]:e;if(!a)return null;k=0;for(g=a.length;k<g;k++)b=a[k][0],q=a[k][1],q=this.lr(c,f,b,q),h=h||q;return h};e.prototype.lr=function(a,c,f,k){var b,g,h=!1;this.cm++;var q=this.Ja().Ha;q&&this.eh(q.ne);var l=1<this.cm;this.eh(f.ne);l&&this.Os();var e=this.Zi(f);e.Ha=f;a&&(b=this.types[c].L(),b.N=!1,b.c.length=1,b.c[0]=a,this.types[c].cc());a=!0;if(f.parent){c=e.Wo;for(b=f.parent;b;)c.push(b),b=b.parent;c.reverse();
b=0;for(g=c.length;b<g;b++)if(!c[b].Ts()){a=!1;break}}a&&(this.lf++,f.Rc?f.Ss(k):f.La(),h=h||e.Le);this.Vi();l&&this.Js();this.Gc(f.ne);q&&this.Gc(q.ne);0!==this.jc||0!==A||this.Tk||this.bd.Oc()&&!this.Hb.length||this.pb();this.cm--;return h};e.prototype.li=function(){var a=this.Ja();return a.Ha.Ra[a.Ga]};e.prototype.Ar=function(){var a=this.Ja();return a.Ha.qc[a.Eb]};e.prototype.Os=function(){this.Ki++;this.Ki>=this.gl.length&&this.gl.push([])};e.prototype.Js=function(){this.Ki--};e.prototype.ln=
function(){return this.gl[this.Ki]};e.prototype.Zi=function(a){this.ei++;this.ei>=this.gk.length&&this.gk.push(new Gb);var c=this.Ja();c.reset(a);return c};e.prototype.Vi=function(){this.ei--};e.prototype.Ja=function(){return this.gk[this.ei]};e.prototype.Fl=function(a){this.Li++;this.Li>=this.il.length&&this.il.push(aa({name:a,index:0,va:!1}));var c=this.Br();c.name=a;c.index=0;c.va=!1;return c};e.prototype.Dl=function(){this.Li--};e.prototype.Br=function(){return this.il[this.Li]};e.prototype.mn=
function(a,c){for(var f,k,b,g,h,q;c;){f=0;for(k=c.Ic.length;f<k;f++)if(q=c.Ic[f],q instanceof Hb&&bb(a,q.name))return q;c=c.parent}f=0;for(k=this.vd.length;f<k;f++)for(h=this.vd[f],b=0,g=h.Zd.length;b<g;b++)if(q=h.Zd[b],q instanceof Hb&&bb(a,q.name))return q;return null};e.prototype.on=function(a){var c,f;c=0;for(f=this.Qc.length;c<f;c++)if(this.Qc[c].W===a)return this.Qc[c];return null};e.prototype.oi=function(a){var c,f;c=0;for(f=this.u.length;c<f;c++)if(this.u[c].W===a)return this.u[c];return null};
e.prototype.Dr=function(a){var c,f;c=0;for(f=this.ef.length;c<f;c++)if(this.ef[c].W===a)return this.ef[c];return null};e.prototype.as=function(){var a=this,f=this.Ql,g=this.Cd,k=this.Hi,h=!1;this.Uo&&(h=!0,f="__c2_continuouspreview",this.Uo=!1);if(f.length){this.pb();g=this.Xs();if(window.indexedDB&&!this.Ac)b(f,g,function(){ea("Saved state to IndexedDB storage ("+g.length+" bytes)");a.Cd=g;a.trigger(T.prototype.d.Fj,null);a.Cd="";h&&c()},function(k){try{localStorage.setItem("__c2save_"+f,g),ea("Saved state to WebStorage ("+
g.length+" bytes)"),a.Cd=g,a.trigger(T.prototype.d.Fj,null),a.Cd="",h&&c()}catch(b){ea("Failed to save game state: "+k+"; "+b)}});else try{localStorage.setItem("__c2save_"+f,g),ea("Saved state to WebStorage ("+g.length+" bytes)"),a.Cd=g,this.trigger(T.prototype.d.Fj,null),a.Cd="",h&&c()}catch(l){ea("Error saving to WebStorage: "+l)}this.Bb=this.Hi=this.Ql=""}k.length&&(window.indexedDB&&!this.Ac?n(k,function(c){c?(a.Bb=c,ea("Loaded state from IndexedDB storage ("+a.Bb.length+" bytes)")):(a.Bb=localStorage.getItem("__c2save_"+
k)||"",ea("Loaded state from WebStorage ("+a.Bb.length+" bytes)"));a.nh=!1;a.Bb.length||a.trigger(T.prototype.d.Ej,null)},function(){a.Bb=localStorage.getItem("__c2save_"+k)||"";ea("Loaded state from WebStorage ("+a.Bb.length+" bytes)");a.nh=!1;a.Bb.length||a.trigger(T.prototype.d.Ej,null)}):(this.Bb=localStorage.getItem("__c2save_"+k)||"",ea("Loaded state from WebStorage ("+this.Bb.length+" bytes)"),this.nh=!1,a.Bb.length||a.trigger(T.prototype.d.Ej,null)),this.Ql=this.Hi="");this.Bb.length&&(this.pb(),
this.us(this.Bb),this.Cd=this.Bb,this.trigger(T.prototype.d.Hp,null),this.Bb=this.Cd="")};e.prototype.Xs=function(){var d,c,f,k,b,g,h,q={c2save:!0,version:1,rt:{time:this.kc.Ca,timescale:this.Rf,tickcount:this.Qf,execcount:this.lf,next_uid:this.Ug,running_layout:this.la.W,start_time_offset:Date.now()-this.mj},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};d=0;for(c=this.u.length;d<c;d++)if(b=this.u[d],!b.D&&!this.ep(b)){g={instances:[]};Sa(b.M)&&(g.ex=a(b.M));f=0;for(k=b.c.length;f<
k;f++)g.instances.push(this.Pl(b.c[f]));q.types[b.W.toString()]=g}d=0;for(c=this.Qc.length;d<c;d++)f=this.Qc[d],q.layouts[f.W.toString()]=f.Mb();k=q.events.groups;d=0;for(c=this.ef.length;d<c;d++)f=this.ef[d],k[f.W.toString()]=this.sg[f.rg].qg;c=q.events.cnds;for(h in this.hf)this.hf.hasOwnProperty(h)&&(d=this.hf[h],Sa(d.M)&&(c[h]={ex:a(d.M)}));c=q.events.acts;for(h in this.df)this.df.hasOwnProperty(h)&&(d=this.df[h],Sa(d.M)&&(c[h]={ex:d.M}));c=q.events.vars;for(h in this.Vf)this.Vf.hasOwnProperty(h)&&
(d=this.Vf[h],d.vi||d.parent&&!d.Bg||(c[h]=d.data));q.system=this.ld.Mb();return JSON.stringify(q)};e.prototype.Fo=function(){var a,c,f,k,b,g;this.ge={};a=0;for(c=this.u.length;a<c;a++)if(f=this.u[a],!f.D)for(k=0,b=f.c.length;k<b;k++)g=f.c[k],this.ge[g.uid.toString()]=g};e.prototype.us=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){var c=a.rt;this.kc.reset();this.kc.Ca=c.time;this.Rf=c.timescale;this.Qf=c.tickcount;this.mj=Date.now()-c.start_time_offset;var f=c.running_layout;if(f!==this.la.W)if(f=
this.on(f))this.$m(f);else return;var k,b,g,h,q,l,e;l=a.types;for(b in l)if(l.hasOwnProperty(b)&&(h=this.oi(parseInt(b,10)))&&!h.D&&!this.ep(h)){l[b].ex?h.M=l[b].ex:Ta(h.M);q=h.c;g=l[b].instances;f=0;for(k=la(q.length,g.length);f<k;f++)this.Ii(q[f],g[f]);f=g.length;for(k=q.length;f<k;f++)this.Ld(q[f]);f=q.length;for(k=g.length;f<k;f++){q=null;if(h.da.de&&(q=this.la.mi(g[f].w.l),!q))continue;q=this.Wd(h.vc,q,!1,0,0,!0);this.Ii(q,g[f])}h.Nf=!0}this.pb();this.Fo();k=a.layouts;for(b in k)k.hasOwnProperty(b)&&
(f=this.on(parseInt(b,10)))&&f.mc(k[b]);k=a.events.groups;for(b in k)k.hasOwnProperty(b)&&(f=this.Dr(parseInt(b,10)))&&this.sg[f.rg]&&(this.sg[f.rg].qg=k[b]);f=a.events.cnds;for(b in f)f.hasOwnProperty(b)&&this.hf.hasOwnProperty(b)&&(this.hf[b].M=f[b].ex);f=a.events.acts;for(b in f)f.hasOwnProperty(b)&&this.df.hasOwnProperty(b)&&(this.df[b].M=f[b].ex);f=a.events.vars;for(b in f)f.hasOwnProperty(b)&&this.Vf.hasOwnProperty(b)&&(this.Vf[b].data=f[b]);this.Ug=c.next_uid;this.ld.mc(a.system);f=0;for(k=
this.u.length;f<k;f++)if(h=this.u[f],!h.D)for(b=0,a=h.c.length;b<a;b++){q=h.c[b];if(h.yb)for(l=q.pg(),c=q.siblings.length=0,g=h.Sb.length;c<g;c++)e=h.Sb[c],h!==e&&q.siblings.push(e.c[l]);q.pd&&q.pd();if(q.P)for(c=0,g=q.P.length;c<g;c++)l=q.P[c],l.pd&&l.pd()}this.ga=!0}};e.prototype.Pl=function(d,c){var f,k,b,g,h;g=d.type;b=g.da;var l={};c?l.c2=!0:l.uid=d.uid;Sa(d.M)&&(l.ex=a(d.M));if(d.Sa&&d.Sa.length)for(l.ivs={},f=0,k=d.Sa.length;f<k;f++)l.ivs[d.type.Mk[f].toString()]=d.Sa[f];if(b.de){b={x:d.x,
y:d.y,w:d.width,h:d.height,l:d.k.W,zi:d.ic()};0!==d.j&&(b.a=d.j);1!==d.opacity&&(b.o=d.opacity);0.5!==d.ub&&(b.hX=d.ub);0.5!==d.wb&&(b.hY=d.wb);0!==d.Fb&&(b.bm=d.Fb);d.visible||(b.v=d.visible);d.xe||(b.ce=d.xe);-1!==d.Tg&&(b.mts=d.Tg);if(g.K.length)for(b.fx=[],f=0,k=g.K.length;f<k;f++)h=g.K[f],b.fx.push({name:h.name,active:d.Od[h.index],params:d.ya[h.index]});l.w=b}if(d.P&&d.P.length)for(l.behs={},f=0,k=d.P.length;f<k;f++)g=d.P[f],g.Mb&&(l.behs[g.type.W.toString()]=g.Mb());d.Mb&&(l.data=d.Mb());return l};
e.prototype.Fr=function(a,c){var f,k;f=0;for(k=a.Mk.length;f<k;f++)if(a.Mk[f]===c)return f;return-1};e.prototype.ur=function(a,c){var f,k;f=0;for(k=a.P.length;f<k;f++)if(a.P[f].type.W===c)return f;return-1};e.prototype.Ii=function(a,c,f){var k,b,g,h,l;l=a.type;g=l.da;if(f){if(!c.c2)return}else a.uid=c.uid;c.ex?a.M=c.ex:Ta(a.M);if(b=c.ivs)for(k in b)b.hasOwnProperty(k)&&(f=this.Fr(l,parseInt(k,10)),0>f||f>=a.Sa.length||(a.Sa[f]=b[k]));if(g.de){g=c.w;a.k.W!==g.l&&(f=a.k,a.k=this.la.mi(g.l),a.k?(a.k.c.push(a),
a.k.$b=!0,Ca(f.c,a),f.$b=!0):(a.k=f,this.Ld(a)));a.x=g.x;a.y=g.y;a.width=g.w;a.height=g.h;a.Xe=g.zi;a.j=g.hasOwnProperty("a")?g.a:0;a.opacity=g.hasOwnProperty("o")?g.o:1;a.ub=g.hasOwnProperty("hX")?g.hX:0.5;a.wb=g.hasOwnProperty("hY")?g.hY:0.5;a.visible=g.hasOwnProperty("v")?g.v:!0;a.xe=g.hasOwnProperty("ce")?g.ce:!0;a.Tg=g.hasOwnProperty("mts")?g.mts:-1;a.Fb=g.hasOwnProperty("bm")?g.bm:0;a.dg=Za(a.Fb);this.q&&$a(a,a.Fb,this.q);a.Va();if(g.hasOwnProperty("fx"))for(f=0,b=g.fx.length;f<b;f++)h=l.uk(g.fx[f].name),
0>h||(a.Od[h]=g.fx[f].active,a.ya[h]=g.fx[f].params);a.Jd()}if(l=c.behs)for(k in l)l.hasOwnProperty(k)&&(g=this.ur(a,parseInt(k,10)),0>g||a.P[g].mc(l[k]));c.data&&a.mc(c.data)};Ib=function(a){return new e(document.getElementById(a))};Jb=function(a,c){return new e({dc:!0,width:a,height:c})};window.cr_createRuntime=Ib;window.cr_createDCRuntime=Jb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var a=document.createElement("screencanvas")||document.createElement("canvas");a.Au=!0;document.body.appendChild(a);
a=new e(a);window.c2runtime=a;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a};window.createEjectaRuntime=function(){var a=new e(document.getElementById("canvas"));window.c2runtime=a;window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a}})();
window.cr_getC2Runtime=function(){var e=document.getElementById("c2canvas");return e?e.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_sizeCanvas=function(e,p){if(0!==e&&0!==p){var b=window.cr_getC2Runtime();b&&b.setSize(e,p)}};window.cr_setSuspended=function(e){var p=window.cr_getC2Runtime();p&&p.setSuspended(e)};
(function(){function e(c,a){this.b=c;this.gg=null;this.scrollX=this.b.fb/2;this.scrollY=this.b.eb/2;this.scale=1;this.j=0;this.kg=!0;this.name=a[0];this.width=a[1];this.height=a[2];this.fp=a[3];this.So=a[4];this.W=a[5];var b=a[6],e,f;this.Y=[];this.vg=[];e=0;for(f=b.length;e<f;e++){var g=new Kb(this,b[e]);g.ao=e;this.Y.push(g)}b=a[7];this.Ge=[];e=0;for(f=b.length;e<f;e++){var g=b[e],m=this.b.u[g[1]];m.vc||(m.vc=g);this.Ge.push(g);-1===this.vg.indexOf(m)&&this.vg.push(m)}this.K=[];this.ba=[];this.ya=
[];e=0;for(f=a[8].length;e<f;e++)this.K.push({id:a[8][e][0],name:a[8][e][1],lb:-1,Za:!0,index:e}),this.ya.push(a[8][e][2].slice(0));this.Jd();this.gh=new sa(0,0,1,1);this.Hl=new sa(0,0,1,1);this.he={}}function p(c,a){this.na=c;this.b=c.b;this.c=[];this.scale=1;this.j=0;this.ze=!1;this.Id=new sa(0,0,0,0);this.Zo=new ta;this.Yb=this.ob=this.Zb=this.nb=0;this.$b=!1;this.name=a[0];this.index=a[1];this.W=a[2];this.visible=a[3];this.Rd=a[4];this.We=a[5];this.Dc=a[6];this.Ec=a[7];this.opacity=a[8];this.kk=
a[9];this.Wc=a[10];this.Fb=a[11];this.Kq=a[12];this.dg="source-over";this.qb=this.sb=0;this.ie=!1;var b=a[13],e,f;this.pf=[];e=0;for(f=b.length;e<f;e++){var g=b[e],m=this.b.u[g[1]];m.vc||(m.vc=g,m.vq=this.index);this.pf.push(g);-1===this.na.vg.indexOf(m)&&this.na.vg.push(m)}this.K=[];this.ba=[];this.ya=[];e=0;for(f=a[14].length;e<f;e++)this.K.push({id:a[14][e][0],name:a[14][e][1],lb:-1,Za:!0,index:e}),this.ya.push(a[14][e][2].slice(0));this.Jd();this.gh=new sa(0,0,1,1);this.Hl=new sa(0,0,1,1)}function b(c,
a){return c.Xe-a.Xe}e.prototype.Ws=function(c){var a=c.type.W.toString();this.he.hasOwnProperty(a)||(this.he[a]=[]);this.he[a].push(this.b.Pl(c))};e.prototype.tn=function(){var c=this.Y[0];return!c.We&&1===c.opacity&&!c.kk&&c.visible};e.prototype.Jd=function(){this.ba.length=0;var c,a,b;c=0;for(a=this.K.length;c<a;c++)b=this.K[c],b.Za&&this.ba.push(b)};e.prototype.tk=function(c){var a,b,e;a=0;for(b=this.K.length;a<b;a++)if(e=this.K[a],e.name===c)return e;return null};var n=[];e.prototype.Vl=function(){this.So&&
(this.gg=this.b.hk[this.So],this.gg.ip());this.b.la=this;this.scrollX=this.b.fb/2;this.scrollY=this.b.eb/2;var c,a,h,e,f,g,m;c=0;for(h=this.b.u.length;c<h;c++)if(a=this.b.u[c],!a.D)for(f=a.c,a=0,e=f.length;a<e;a++)if(g=f[a],g.k){var l=g.k.ao;l>=this.Y.length&&(l=this.Y.length-1);g.k=this.Y[l];g.k.c.push(g);g.k.$b=!0}n.length=0;this.hq();c=0;for(h=this.Y.length;c<h;c++)g=this.Y[c],g.tq(),g.ze=!0,a=g.Rb(0,0,!0,!0),e=g.Rb(0,0,!1,!0),g.ze=!1,this.b.Fc&&(a=a+0.5|0,e=e+0.5|0),g.Ml(a,e,null);f=!1;if(!this.kg){for(m in this.he)if(this.he.hasOwnProperty(m)&&
(a=this.b.oi(parseInt(m,10)))&&!a.D&&this.b.em(a)){e=this.he[m];c=0;for(h=e.length;c<h;c++){g=null;if(a.da.de&&(g=this.mi(e[c].w.l),!g))continue;g=this.b.Wd(a.vc,g,!1,0,0,!0);this.b.Ii(g,e[c]);f=!0;n.push(g)}e.length=0}c=0;for(h=this.Y.length;c<h;c++)this.Y[c].c.sort(b),this.Y[c].$b=!0}f&&(this.b.pb(),this.b.Fo());for(c=0;c<n.length;c++)if(g=n[c],g.type.yb)for(h=g.pg(),a=0,e=g.type.Sb.length;a<e;a++)m=g.type.Sb[a],g.type!==m&&(m.c.length>h?g.siblings.push(m.c[h]):m.vc&&(f=this.b.Wd(m.vc,g.k,!0,g.x,
g.y,!0),this.b.pb(),m.vj(),g.siblings.push(f),n.push(f)));c=0;for(h=this.Ge.length;c<h;c++)this.b.Wd(this.Ge[c],null,!0);this.b.Sj=null;this.b.pb();if(this.b.ja&&!this.b.bb)for(c=0,h=this.b.u.length;c<h;c++)m=this.b.u[c],!m.D&&m.c.length&&m.bh&&m.bh(this.b.ja);c=0;for(h=n.length;c<h;c++)g=n[c],this.b.trigger(Object.getPrototypeOf(g.type.da).d.Xf,g);n.length=0;this.b.trigger(T.prototype.d.qm,null);this.kg=!1};e.prototype.sq=function(){var c,a,b,e,f;a=c=0;for(b=this.Ge.length;c<b;c++)e=this.Ge[c],f=
this.b.u[e[1]],f.global?this.b.Wd(e,null,!0):(this.Ge[a]=e,a++);this.Ge.length=a};e.prototype.dt=function(){this.b.trigger(T.prototype.d.Gp,null);this.b.ld.Ob.length=0;var c,a,b,e,f,g;c=0;for(a=this.Y.length;c<a;c++){f=this.Y[c].c;b=0;for(e=f.length;b<e;b++)g=f[b],g.type.global||(this.b.em(g.type)&&this.Ws(g),this.b.Ld(g));this.b.pb();f.length=0;this.Y[c].$b=!0}c=0;for(a=this.b.u.length;c<a;c++)if(f=this.b.u[c],!(f.global||f.da.de||f.da.gj||f.D)){b=0;for(e=f.c.length;b<e;b++)this.b.Ld(f.c[b]);this.b.pb()}};
e.prototype.xc=function(c){var a,b=c,e=!1,f=!this.b.yc;f&&(this.b.Gi||(this.b.Gi=document.createElement("canvas"),a=this.b.Gi,a.width=this.b.T,a.height=this.b.S,this.b.Qn=a.getContext("2d"),e=!0),a=this.b.Gi,b=this.b.Qn,a.width!==this.b.T&&(a.width=this.b.T,e=!0),a.height!==this.b.S&&(a.height=this.b.S,e=!0),e&&(b.webkitImageSmoothingEnabled=this.b.U,b.mozImageSmoothingEnabled=this.b.U,b.msImageSmoothingEnabled=this.b.U,b.imageSmoothingEnabled=this.b.U));b.globalAlpha=1;b.globalCompositeOperation=
"source-over";this.b.Lj&&!this.tn()&&b.clearRect(0,0,this.b.T,this.b.S);var g,m,e=0;for(g=this.Y.length;e<g;e++)m=this.Y[e],m.visible&&0<m.opacity&&11!==m.Fb&&m.xc(b);f&&c.drawImage(a,0,0,this.b.width,this.b.height)};e.prototype.Ib=function(c){var a=0<this.ba.length||this.b.Sf||!this.b.yc;if(a){this.b.Wb||(this.b.Wb=c.Vd(this.b.T,this.b.S,this.b.U));if(this.b.Wb.cg!==this.b.T||this.b.Wb.bg!==this.b.S)c.deleteTexture(this.b.Wb),this.b.Wb=c.Vd(this.b.T,this.b.S,this.b.U);c.jd(this.b.Wb);this.b.yc||
c.me(this.b.T,this.b.S)}else this.b.Wb&&(c.jd(null),c.deleteTexture(this.b.Wb),this.b.Wb=null);this.b.Lj&&!this.tn()&&c.clear(0,0,0,0);var b,e;b=0;for(e=this.Y.length;b<e;b++)this.Y[b].visible&&0<this.Y[b].opacity&&this.Y[b].Ib(c);a&&(0===this.ba.length||1===this.ba.length&&this.b.yc?(1===this.ba.length?(a=this.ba[0].index,c.kd(this.ba[0].lb),c.If(null,1/this.b.T,1/this.b.S,0,0,1,1,this.scale,this.j,0,0,this.ya[a]),c.Yi(this.ba[0].lb)&&(this.b.ga=!0)):c.kd(0),this.b.yc||c.me(this.b.width,this.b.height),
c.jd(null),c.le(1),c.Nb(this.b.Wb),c.Lo(),c.je(),c.te(),a=this.b.width/2,b=this.b.height/2,c.fh(-a,b,a,b,a,-b,-a,-b),c.Nb(null)):this.Jl(c,null,null,null))};e.prototype.ng=function(){return 0<this.ba.length||this.b.Sf||!this.b.yc?this.b.Wb:null};e.prototype.pn=function(){var c=this.Y[0].hc(),a,b,e;a=1;for(b=this.Y.length;a<b;a++)e=this.Y[a],(0!==e.Dc||0!==e.Ec)&&e.hc()<c&&(c=e.hc());return c};e.prototype.Jo=function(c){if(!this.fp){var a=1/this.pn()*this.b.T/2;c>this.width-a&&(c=this.width-a);c<a&&
(c=a)}this.scrollX!==c&&(this.scrollX=c,this.b.ga=!0)};e.prototype.Ko=function(c){if(!this.fp){var a=1/this.pn()*this.b.S/2;c>this.height-a&&(c=this.height-a);c<a&&(c=a)}this.scrollY!==c&&(this.scrollY=c,this.b.ga=!0)};e.prototype.hq=function(){this.Jo(this.scrollX);this.Ko(this.scrollY)};e.prototype.Jl=function(c,a,b,e){var f=b?b.ba:a?a.ba:this.ba,g=1,m=0,l=0,n=0;b?(g=b.k.hc(),m=b.k.ab(),l=b.k.nb,n=b.k.ob):a&&(g=a.hc(),m=a.ab(),l=a.nb,n=a.ob);var d=this.b.nk,r,p,k,v,B=0,G=1,q,P=this.b.T,M=this.b.S,
L=P/2,D=M/2,O=a?a.gh:this.gh,I=a?a.Hl:this.Hl,E=0,z=0,w=0,N=0,F=P,J=P,u=M,K=M,H=k=0,X=b?b.k.ab():0;if(b){r=0;for(p=f.length;r<p;r++)k+=c.Ir(f[r].lb),H+=c.Jr(f[r].lb);v=b.Ea;E=a.zb(v.left,v.top,!0,!0);w=a.zb(v.left,v.top,!1,!0);F=a.zb(v.right,v.bottom,!0,!0);u=a.zb(v.right,v.bottom,!1,!0);0!==X&&(r=a.zb(v.right,v.top,!0,!0),p=a.zb(v.right,v.top,!1,!0),z=a.zb(v.left,v.bottom,!0,!0),N=a.zb(v.left,v.bottom,!1,!0),v=Math.min(E,F,r,z),F=Math.max(E,F,r,z),E=v,v=Math.min(w,u,p,N),u=Math.max(w,u,p,N),w=v);
E-=k;w-=H;F+=k;u+=H;I.left=E/P;I.top=1-w/M;I.right=F/P;I.bottom=1-u/M;z=E=y(E);N=w=y(w);J=F=oa(F);K=u=oa(u);z-=k;N-=H;J+=k;K+=H;0>E&&(E=0);0>w&&(w=0);F>P&&(F=P);u>M&&(u=M);0>z&&(z=0);0>N&&(N=0);J>P&&(J=P);K>M&&(K=M);O.left=E/P;O.top=1-w/M;O.right=F/P;O.bottom=1-u/M}else O.left=I.left=0,O.top=I.top=0,O.right=I.right=1,O.bottom=I.bottom=1;H=b&&((b.j||X)&&c.dh(f[0].lb)||0!==k||0!==H||1!==b.opacity||b.type.da.Xn)||a&&!b&&1!==a.opacity;c.Lo();if(H){d[B]||(d[B]=c.Vd(P,M,this.b.U));if(d[B].cg!==P||d[B].bg!==
M)c.deleteTexture(d[B]),d[B]=c.Vd(P,M,this.b.U);c.kd(0);c.jd(d[B]);q=K-N;c.clearRect(z,M-N-q,J-z,q);b?b.Ib(c):(c.Nb(this.b.lc),c.le(a.opacity),c.je(),c.translate(-L,-D),c.te(),c.fd(E,u,F,u,F,w,E,w,O));I.left=I.top=0;I.right=I.bottom=1;b&&(v=O.top,O.top=O.bottom,O.bottom=v);B=1;G=0}c.le(1);k=f.length-1;var X=c.El(f[k].lb)||!a&&!b&&!this.b.yc,R=0;r=0;for(p=f.length;r<p;r++){d[B]||(d[B]=c.Vd(P,M,this.b.U));if(d[B].cg!==P||d[B].bg!==M)c.deleteTexture(d[B]),d[B]=c.Vd(P,M,this.b.U);c.kd(f[r].lb);R=f[r].index;
c.Yi(f[r].lb)&&(this.b.ga=!0);0!=r||H?(c.If(e,1/P,1/M,I.left,I.top,I.right,I.bottom,g,m,l,n,b?b.ya[R]:a?a.ya[R]:this.ya[R]),c.Nb(null),r!==k||X?(c.jd(d[B]),q=K-N,v=M-N-q,c.clearRect(z,v,J-z,q)):(b?c.ke(b.sb,b.qb):a&&c.ke(a.sb,a.qb),c.jd(e)),c.Nb(d[G]),c.je(),c.translate(-L,-D),c.te(),c.fd(E,u,F,u,F,w,E,w,O),r!==k||X||c.Nb(null)):(c.jd(d[B]),q=K-N,v=M-N-q,c.clearRect(z,v,J-z,q),b?(c.If(e,1/b.width,1/b.height,I.left,I.top,I.right,I.bottom,g,m,l,n,b.ya[R]),b.Ib(c)):(c.If(e,1/P,1/M,0,0,1,1,g,m,l,n,a?
a.ya[R]:this.ya[R]),c.Nb(a?this.b.lc:this.b.Wb),c.je(),c.translate(-L,-D),c.te(),c.fd(E,u,F,u,F,w,E,w,O)),I.left=I.top=0,I.right=I.bottom=1,b&&!X&&(v=u,u=w,w=v));B=0===B?1:0;G=0===B?1:0}X&&(c.kd(0),b?c.ke(b.sb,b.qb):a?c.ke(a.sb,a.qb):this.b.yc||(c.me(this.b.width,this.b.height),L=this.b.width/2,D=this.b.height/2,w=E=0,F=this.b.width,u=this.b.height),c.jd(e),c.Nb(d[G]),c.je(),c.translate(-L,-D),c.te(),b&&1===f.length&&!H?c.fd(E,w,F,w,F,u,E,u,O):c.fd(E,u,F,u,F,w,E,w,O),c.Nb(null))};e.prototype.mi=function(c){var a,
b;a=0;for(b=this.Y.length;a<b;a++)if(this.Y[a].W===c)return this.Y[a];return null};e.prototype.Mb=function(){var c,a,b,e={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.j,w:this.width,h:this.height,fv:this.kg,persist:this.he,fx:[],layers:{}};c=0;for(a=this.K.length;c<a;c++)b=this.K[c],e.fx.push({name:b.name,active:b.Za,params:this.ya[b.index]});c=0;for(a=this.Y.length;c<a;c++)b=this.Y[c],e.layers[b.W.toString()]=b.Mb();return e};e.prototype.mc=function(c){var a,b,e,f;this.scrollX=c.sx;this.scrollY=
c.sy;this.scale=c.s;this.j=c.a;this.width=c.w;this.height=c.h;this.he=c.persist;"undefined"!==typeof c.fv&&(this.kg=c.fv);var g=c.fx;a=0;for(b=g.length;a<b;a++)if(e=this.tk(g[a].name))e.Za=g[a].active,this.ya[e.index]=g[a].params;this.Jd();a=c.layers;for(f in a)a.hasOwnProperty(f)&&(c=this.mi(parseInt(f,10)))&&c.mc(a[f])};xb=e;p.prototype.Jd=function(){this.ba.length=0;var c,a,b;c=0;for(a=this.K.length;c<a;c++)b=this.K[c],b.Za&&this.ba.push(b)};p.prototype.tk=function(c){var a,b,e;a=0;for(b=this.K.length;a<
b;a++)if(e=this.K[a],e.name===c)return e;return null};p.prototype.tq=function(){var c,a,b,e,f,g;a=c=0;for(b=this.pf.length;c<b;c++){e=this.pf[c];f=this.b.u[e[1]];g=this.b.em(f);f=!0;if(!g||this.na.kg)e=this.b.Wd(e,this,!0),n.push(e),e.type.global&&(f=!1);f&&(this.pf[a]=this.pf[c],a++)}this.pf.length=a;this.b.pb();!this.b.B&&this.K.length&&(this.Fb=this.Kq);this.dg=Za(this.Fb);this.b.q&&$a(this,this.Fb,this.b.q)};p.prototype.ot=function(){if(this.$b){var c,a;c=0;for(a=this.c.length;c<a;c++)this.c[c].Xe=
c;this.$b=!1}};p.prototype.hc=function(c){return this.Gr()*(this.b.yc||c?this.b.ag:1)};p.prototype.Gr=function(){return(this.scale*this.na.scale-1)*this.Wc+1};p.prototype.ab=function(){return this.ze?0:Fa(this.na.j+this.j)};p.prototype.xc=function(c){this.ie=this.kk||1!==this.opacity||0!==this.Fb;var a=this.b.canvas,b=c,e=!1;this.ie&&(this.b.Fi||(this.b.Fi=document.createElement("canvas"),a=this.b.Fi,a.width=this.b.T,a.height=this.b.S,this.b.Pn=a.getContext("2d"),e=!0),a=this.b.Fi,b=this.b.Pn,a.width!==
this.b.T&&(a.width=this.b.T,e=!0),a.height!==this.b.S&&(a.height=this.b.S,e=!0),e&&(b.webkitImageSmoothingEnabled=this.b.U,b.mozImageSmoothingEnabled=this.b.U,b.msImageSmoothingEnabled=this.b.U,b.imageSmoothingEnabled=this.b.U),this.We&&b.clearRect(0,0,this.b.T,this.b.S));b.globalAlpha=1;b.globalCompositeOperation="source-over";this.We||(b.fillStyle="rgb("+this.Rd[0]+","+this.Rd[1]+","+this.Rd[2]+")",b.fillRect(0,0,this.b.T,this.b.S));b.save();this.ze=!0;var e=this.Rb(0,0,!0,!0),f=this.Rb(0,0,!1,
!0);this.ze=!1;this.b.Fc&&(e=e+0.5|0,f=f+0.5|0);this.Ml(e,f,b);var g=this.hc();b.scale(g,g);b.translate(-e,-f);for(var m,e=0,f=this.c.length;e<f;e++)g=this.c[e],g.visible&&0!==g.width&&0!==g.height&&(g.Ma(),m=g.Ea,m.right<this.nb||m.bottom<this.ob||m.left>this.Zb||m.top>this.Yb||(b.globalCompositeOperation=g.dg,g.xc(b)));b.restore();this.ie&&(c.globalCompositeOperation=this.dg,c.globalAlpha=this.opacity,c.drawImage(a,0,0))};p.prototype.Ml=function(c,a,b){var e=this.hc();this.nb=c;this.ob=a;this.Zb=
c+1/e*this.b.T;this.Yb=a+1/e*this.b.S;c=this.ab();0!==c&&(b&&(b.translate(this.b.T/2,this.b.S/2),b.rotate(-c),b.translate(this.b.T/-2,this.b.S/-2)),this.Id.set(this.nb,this.ob,this.Zb,this.Yb),this.Id.offset((this.nb+this.Zb)/-2,(this.ob+this.Yb)/-2),this.Zo.Qo(this.Id,c),this.Zo.Pm(this.Id),this.Id.offset((this.nb+this.Zb)/2,(this.ob+this.Yb)/2),this.nb=this.Id.left,this.ob=this.Id.top,this.Zb=this.Id.right,this.Yb=this.Id.bottom)};p.prototype.Ib=function(c){var a=this.b.T,b=this.b.S,e=0,f=0;if(this.ie=
this.kk||1!==this.opacity||0<this.ba.length||0!==this.Fb){this.b.lc||(this.b.lc=c.Vd(this.b.T,this.b.S,this.b.U));if(this.b.lc.cg!==this.b.T||this.b.lc.bg!==this.b.S)c.deleteTexture(this.b.lc),this.b.lc=c.Vd(this.b.T,this.b.S,this.b.U);c.jd(this.b.lc);this.We&&c.clear(0,0,0,0)}this.We||c.clear(this.Rd[0]/255,this.Rd[1]/255,this.Rd[2]/255,1);this.ze=!0;var f=this.Rb(0,0,!0,!0),g=this.Rb(0,0,!1,!0);this.ze=!1;this.b.Fc&&(f=f+0.5|0,g=g+0.5|0);this.Ml(f,g,null);g=this.hc();c.je();c.scale(g,g);c.Ho(-this.ab());
c.translate((this.nb+this.Zb)/-2,(this.ob+this.Yb)/-2);c.te();var m,l,n;m=0;for(l=this.c.length;m<l;m++)if(n=this.c[m],n.visible&&0!==n.width&&0!==n.height&&(n.Ma(),e=n.Ea,!(e.right<this.nb||e.bottom<this.ob||e.left>this.Zb||e.top>this.Yb)))if(n.kp)if(e=n.ba[0].lb,f=n.ba[0].index,1!==n.ba.length||c.El(e)||c.Ns(e)||(n.j||n.k.ab())&&c.dh(e)||1!==n.opacity||n.type.da.Xn)this.na.Jl(c,this,n,this.ie?this.b.lc:this.na.ng()),c.je(),c.scale(g,g),c.Ho(-this.ab()),c.translate((this.nb+this.Zb)/-2,(this.ob+
this.Yb)/-2),c.te();else{c.kd(e);c.ke(n.sb,n.qb);c.Yi(e)&&(this.b.ga=!0);var d=0,r=0,p=0,k=0;c.dh(e)&&(e=n.Ea,d=this.zb(e.left,e.top,!0,!0),r=this.zb(e.left,e.top,!1,!0),p=this.zb(e.right,e.bottom,!0,!0),e=this.zb(e.right,e.bottom,!1,!0),d/=a,r=1-r/b,p/=a,k=1-e/b);c.If(this.ie?this.b.lc:this.na.ng(),1/n.width,1/n.height,d,r,p,k,this.hc(),this.ab(),this.nb,this.ob,n.ya[f]);n.Ib(c)}else c.kd(0),c.ke(n.sb,n.qb),n.Ib(c);this.ie&&(e=this.ba.length?this.ba[0].lb:0,f=this.ba.length?this.ba[0].index:0,0===
this.ba.length||1===this.ba.length&&!c.El(e)&&1===this.opacity?(1===this.ba.length?(c.kd(e),c.If(this.na.ng(),1/this.b.T,1/this.b.S,0,0,1,1,this.hc(),this.ab(),this.nb,this.ob,this.ya[f]),c.Yi(e)&&(this.b.ga=!0)):c.kd(0),c.jd(this.na.ng()),c.le(this.opacity),c.Nb(this.b.lc),c.ke(this.sb,this.qb),c.je(),c.te(),a=this.b.T/2,b=this.b.S/2,c.fh(-a,b,a,b,a,-b,-a,-b),c.Nb(null)):this.na.Jl(c,this,null,this.na.ng()))};p.prototype.Rb=function(c,a,b,e){var f=this.b.devicePixelRatio;this.b.Ie&&(c*=f,a*=f);var f=
this.b.so,g=this.b.uo,f=(this.na.scrollX-f)*this.Dc+f,g=(this.na.scrollY-g)*this.Ec+g,m=1/this.hc(!e);e?(f-=this.b.T*m/2,g-=this.b.S*m/2):(f-=this.b.width*m/2,g-=this.b.height*m/2);f+=c*m;g+=a*m;a=this.ab();0!==a&&(f-=this.na.scrollX,g-=this.na.scrollY,c=Math.cos(a),a=Math.sin(a),e=f*c-g*a,g=g*c+f*a,f=e+this.na.scrollX,g+=this.na.scrollY);return b?f:g};p.prototype.zb=function(c,a,b,e){var f=this.ab();if(0!==f){c-=this.na.scrollX;a-=this.na.scrollY;var g=Math.cos(-f),f=Math.sin(-f),m=c*g-a*f;a=a*g+
c*f;c=m+this.na.scrollX;a+=this.na.scrollY}g=this.b.so;f=this.b.uo;g=(this.na.scrollX-g)*this.Dc+g;f=(this.na.scrollY-f)*this.Ec+f;m=1/this.hc(!e);e?(g-=this.b.T*m/2,f-=this.b.S*m/2):(g-=this.b.width*m/2,f-=this.b.height*m/2);g=(c-g)/m;f=(a-f)/m;c=this.b.devicePixelRatio;this.b.Ie&&(g/=c,f/=c);return b?g:f};p.prototype.Mb=function(){var c,a,b,e={s:this.scale,a:this.j,vl:this.nb,vt:this.ob,vr:this.Zb,vb:this.Yb,v:this.visible,bc:this.Rd,t:this.We,px:this.Dc,py:this.Ec,o:this.opacity,zr:this.Wc,fx:[],
instances:[]};c=0;for(a=this.K.length;c<a;c++)b=this.K[c],e.fx.push({name:b.name,active:b.Za,params:this.ya[b.index]});return e};p.prototype.mc=function(c){var a,e;this.scale=c.s;this.j=c.a;this.nb=c.vl;this.ob=c.vt;this.Zb=c.vr;this.Yb=c.vb;this.visible=c.v;this.Rd=c.bc;this.We=c.t;this.Dc=c.px;this.Ec=c.py;this.opacity=c.o;this.Wc=c.zr;var n=c.fx;c=0;for(a=n.length;c<a;c++)if(e=this.tk(n[c].name))e.Za=n[c].active,this.ya[e.index]=n[c].params;this.Jd();this.c.sort(b);this.$b=!0};Kb=p})();
(function(){function e(a,d){var b,c=a.length;switch(c){case 0:return!0;case 1:return a[0]===d[0];case 2:return a[0]===d[0]&&a[1]===d[1];default:for(b=0;b<c;b++)if(a[b]!==d[b])return!1;return!0}}function p(a,d){return a.index-d.index}function b(a){var b,c,f,g;2===a.length?a[0].index>a[1].index&&(b=a[0],a[0]=a[1],a[1]=b):2<a.length&&a.sort(p);a.length>=d.length&&(d.length=a.length+1);d[a.length]||(d[a.length]=[]);g=d[a.length];b=0;for(c=g.length;b<c;b++)if(f=g[b],e(a,f))return f;g.push(a);return a}
function n(a,d){this.b=a;this.bp={};this.en={};this.Dk=!1;this.wn=new da;this.ck=[];this.Mj=[];this.name=d[0];var b=d[1];this.Zd=[];var c,f;c=0;for(f=b.length;c<f;c++)this.yn(b[c],null,this.Zd)}function c(a){this.type=a;this.c=[];this.Z=[];this.N=!0}function a(a,d,b){this.sheet=a;this.parent=d;this.b=a.b;this.O=[];this.ne=[];this.un=this.tj=this.$l=this.Ik=this.group=this.Ul=!1;this.Ra=[];this.qc=[];this.Ic=[];this.rg="";this.qg=this.Ik=this.group=!1;this.Vm=null;b[1]&&(this.rg=b[1][1].toLowerCase(),
this.group=!0,this.Ik=!!b[1][0],this.Vm=[],this.qg=this.Ik,this.b.ef.push(this),this.b.sg[this.rg]=this);this.Rc=b[2];this.W=b[4];this.group||(this.b.Om[this.W.toString()]=this);var c=b[5];a=0;for(d=c.length;a<d;a++){var f=new Lb(this,c[a]);f.index=a;this.Ra.push(f);this.Im(f.type)}c=b[6];a=0;for(d=c.length;a<d;a++)f=new Mb(this,c[a]),f.index=a,this.qc.push(f);if(8===b.length)for(b=b[7],a=0,d=b.length;a<d;a++)this.sheet.yn(b[a],this,this.Ic);this.wi=!1;this.Ra.length&&(this.wi=null==this.Ra[0].type&&
this.Ra[0].jb==T.prototype.d.Aj)}function h(a,d){var b,c,f;if(a&&(-1===d.indexOf(a)&&d.push(a),a.yb))for(b=0,c=a.Sb.length;b<c;b++)f=a.Sb[b],a!==f&&-1===d.indexOf(f)&&d.push(f)}function t(a,d){this.ec=a;this.sheet=a.sheet;this.b=a.b;this.I=[];this.ma=[];this.M={};this.index=-1;this.$f=!1;this.jb=d[1];this.trigger=0<d[3];this.dn=2===d[3];this.Dd=d[4];this.Nk=d[5];this.ss=d[6];this.W=d[7];this.b.hf[this.W.toString()]=this;-1===d[0]?(this.type=null,this.La=this.Ol,this.we=null,this.rc=-1):(this.type=
this.b.u[d[0]],this.La=this.ss?this.Us:this.Nl,d[2]?(this.we=this.type.ki(d[2]),this.rc=this.type.qk(d[2])):(this.we=null,this.rc=-1),this.ec.parent&&this.ec.parent.fj());this.dn&&(this.La=this.Vs);if(10===d.length){var b,c,f=d[9];b=0;for(c=f.length;b<c;b++){var g=new Nb(this,f[b]);this.I.push(g)}this.ma.length=f.length}}function f(a,d){this.ec=a;this.sheet=a.sheet;this.b=a.b;this.I=[];this.ma=[];this.M={};this.index=-1;this.$f=!1;this.jb=d[1];-1===d[0]?(this.type=null,this.La=this.Ol,this.we=null,
this.rc=-1):(this.type=this.b.u[d[0]],this.La=this.Nl,d[2]?(this.we=this.type.ki(d[2]),this.rc=this.type.qk(d[2])):(this.we=null,this.rc=-1));this.W=d[3];this.b.df[this.W.toString()]=this;if(6===d.length){var b,c,f=d[5];b=0;for(c=f.length;b<c;b++){var g=new Nb(this,f[b]);this.I.push(g)}this.ma.length=f.length}}function g(a,d){this.n=a;this.ec=a.ec;this.sheet=a.sheet;this.b=a.b;this.type=d[0];this.cd=null;this.oe=0;this.get=null;this.Um=0;this.na=null;this.key=0;this.object=null;this.index=0;this.uh=
this.Te=this.uh=this.Te=this.gn=this.Be=this.vh=null;this.Jc=!1;var b,c,f;switch(d[0]){case 0:case 7:this.cd=new Ob(this,d[1]);this.oe=0;this.get=this.Pr;break;case 1:this.cd=new Ob(this,d[1]);this.oe=0;this.get=this.Qr;break;case 5:this.cd=new Ob(this,d[1]);this.oe=0;this.get=this.Ur;break;case 3:case 8:this.Um=d[1];this.get=this.Nr;break;case 6:this.na=this.b.cl[d[1]];this.get=this.Vr;break;case 9:this.key=d[1];this.get=this.Tr;break;case 4:this.object=this.b.u[d[1]];this.get=this.Wr;this.ec.Im(this.object);
this.n instanceof Mb?this.ec.fj():this.ec.parent&&this.ec.parent.fj();break;case 10:this.index=d[1];a.type.D?(this.get=this.Rr,this.Jc=!0):this.get=this.Sr;break;case 11:this.vh=d[1];this.Be=null;this.get=this.Or;break;case 2:case 12:this.gn=d[1];this.get=this.Mr;break;case 13:for(this.get=this.Xr,this.Te=[],this.uh=[],b=1,c=d.length;b<c;b++)f=new Nb(this.n,d[b]),this.Te.push(f),this.uh.push(0)}}function m(a,d,b){this.sheet=a;this.parent=d;this.b=a.b;this.O=[];this.name=b[1];this.Hk=b[3];this.Bg=
!!b[4];this.vi=!!b[5];this.W=b[6];this.b.Vf[this.W.toString()]=this;this.data=this.Hk;this.parent?(this.Pe=this.Bg||this.vi?-1:this.b.ct++,this.b.dq.push(this)):(this.Pe=-1,this.b.cq.push(this))}function l(a,d,b){this.sheet=a;this.parent=d;this.b=a.b;this.O=[];this.ug=null;this.cs=b[1];this.Za=!0}function A(){this.Wo=[];this.reset(null)}var d=[];n.prototype.toString=function(){return this.name};n.prototype.yn=function(a,d,b){switch(a[0]){case 0:a=new Pb(this,d,a);if(a.Rc)for(b.push(a),b=0,d=a.Ra.length;b<
d;b++)a.Ra[b].trigger&&this.zn(a,b);else a.Hn()?this.zn(a,0):b.push(a);break;case 1:a=new Hb(this,d,a);b.push(a);break;case 2:a=new Qb(this,d,a),b.push(a)}};n.prototype.Ba=function(){var a,d;a=0;for(d=this.Zd.length;a<d;a++)this.Zd[a].Ba(a<d-1&&this.Zd[a+1].wi)};n.prototype.ip=function(){this.ck.length=0;this.Mj.length=0;this.Gm(this);this.Mj.length=0};n.prototype.Gm=function(a){var d,b,c,f,g=a.ck,e=a.Mj,l=this.wn.Tf();d=0;for(b=l.length;d<b;++d)c=l[d],f=c.ug,!c.Za||a===f||-1<e.indexOf(f)||(e.push(f),
f.Gm(a),g.push(f))};n.prototype.La=function(a){this.b.zu||(this.Dk=!0,a||(this.b.Tk=!0));var d,b;d=0;for(b=this.Zd.length;d<b;d++){var c=this.Zd[d];c.La();this.b.Tj(c.O);this.b.bd.Oc()&&!this.b.Hb.length||this.b.pb()}a||(this.b.Tk=!1)};n.prototype.zn=function(a,d){a.Rc||this.b.uj.push(a);var b,c,f=a.Ra[d],g;g=f.type?f.type.name:"system";var e=(b=f.dn)?this.en:this.bp;e[g]||(e[g]=[]);g=e[g];e=f.jb;if(b){if(f.I.length&&(f=f.I[0],1===f.type&&2===f.cd.type)){f=f.cd.value.toLowerCase();b=0;for(c=g.length;b<
c;b++)if(g[b].method==e){b=g[b].hg;b[f]?b[f].push([a,d]):b[f]=[[a,d]];return}b={};b[f]=[[a,d]];g.push({method:e,hg:b})}}else{b=0;for(c=g.length;b<c;b++)if(g[b].method==e){g[b].hg.push([a,d]);return}U&&e===U.prototype.d.$e?g.unshift({method:e,hg:[[a,d]]}):g.push({method:e,hg:[[a,d]]})}};yb=n;c.prototype.Ck=function(){return this.N?this.type.c.length:this.c.length};c.prototype.Jb=function(){return this.N?this.type.c:this.c};c.prototype.Gf=function(a){a&&(a.b.Ja().Ha.Rc?(this.N&&(this.c.length=0,xa(this.Z,
a.type.c),this.N=!1),a=this.Z.indexOf(a),-1!==a&&(this.c.push(this.Z[a]),this.Z.splice(a,1))):(this.N=!1,this.c.length=1,this.c[0]=a))};eb=c;window._c2hh_="0185CA76C467F7C9FB6F9A0A2E5945D989F7C317";a.prototype.Ba=function(a){var d,c=this.parent;if(this.group)for(this.tj=!0;c;){if(!c.group){this.tj=!1;break}c=c.parent}this.$l=!this.Hn()&&(!this.parent||this.parent.group&&this.parent.tj);this.un=!!a;this.ne=this.O.slice(0);for(c=this.parent;c;){a=0;for(d=c.O.length;a<d;a++)this.aq(c.O[a]);c=c.parent}this.O=
b(this.O);this.ne=b(this.ne);a=0;for(d=this.Ra.length;a<d;a++)this.Ra[a].Ba();a=0;for(d=this.qc.length;a<d;a++)this.qc[a].Ba();a=0;for(d=this.Ic.length;a<d;a++)this.Ic[a].Ba(a<d-1&&this.Ic[a+1].wi)};a.prototype.Im=function(a){h(a,this.O)};a.prototype.aq=function(a){h(a,this.ne)};a.prototype.fj=function(){this.Ul=!0;this.parent&&this.parent.fj()};a.prototype.Hn=function(){return this.Ra.length?this.Ra[0].trigger:!1};a.prototype.La=function(){var a,d=!1,b,c=this.b,f=this.b.Ja();f.Ha=this;var g=this.Ra;
this.wi||(f.fk=!1);if(this.Rc){0===g.length&&(d=!0);f.Ga=0;for(a=g.length;f.Ga<a;f.Ga++)g[f.Ga].trigger||(b=g[f.Ga].La())&&(d=!0);(f.Le=d)&&this.cj()}else{f.Ga=0;for(a=g.length;f.Ga<a;f.Ga++)if(b=g[f.Ga].La(),!b){f.Le=!1;!this.$l||c.bd.Oc()&&!c.Hb.length||c.pb();return}f.Le=!0;this.cj()}this.Mq(f)};a.prototype.Mq=function(a){a.Le&&this.un&&(a.fk=!0);!this.$l||this.b.bd.Oc()&&!this.b.Hb.length||this.b.pb()};a.prototype.Ss=function(a){this.b.Ja().Ha=this;this.Ra[a].La()&&(this.cj(),this.b.Ja().Le=!0)};
a.prototype.cj=function(){var a=this.b.Ja(),d;a.Eb=0;for(d=this.qc.length;a.Eb<d;a.Eb++)if(this.qc[a.Eb].La())return;this.Io()};a.prototype.Qs=function(){var a=this.b.Ja(),d;for(d=this.qc.length;a.Eb<d;a.Eb++)if(this.qc[a.Eb].La())return;this.Io()};a.prototype.Io=function(){if(this.Ic.length){var a,d,b,c,f=this.Ic.length-1;this.b.Zi(this);if(this.Ul)for(a=0,d=this.Ic.length;a<d;a++)b=this.Ic[a],(c=!this.tj||!this.group&&a<f)&&this.b.Ed(b.O),b.La(),c?this.b.Gc(b.O):this.b.Tj(b.O);else for(a=0,d=this.Ic.length;a<
d;a++)this.Ic[a].La();this.b.Vi()}};a.prototype.Ts=function(){var a=this.b.Ja();a.Ha=this;var d=!1,b;a.Ga=0;for(b=this.Ra.length;a.Ga<b;a.Ga++)if(this.Ra[a.Ga].La())d=!0;else if(!this.Rc)return!1;return this.Rc?d:!0};a.prototype.gd=function(){this.b.lf++;var a=this.b.Ja().Ga,d=this.b.Zi(this);if(!this.Rc)for(d.Ga=a+1,a=this.Ra.length;d.Ga<a;d.Ga++)if(!this.Ra[d.Ga].La())return this.b.Vi(),!1;this.cj();this.b.Vi();return!0};a.prototype.ms=function(a){var d=a.index;if(0===d)return!0;for(--d;0<=d;--d)if(this.Ra[d].type===
a.type)return!1;return!0};Pb=a;t.prototype.Ba=function(){var a,d,b;a=0;for(d=this.I.length;a<d;a++)b=this.I[a],b.Ba(),b.Jc&&(this.$f=!0)};t.prototype.Vs=function(){return!0};t.prototype.Ol=function(){var a,d;a=0;for(d=this.I.length;a<d;a++)this.ma[a]=this.I[a].get();return Ra(this.jb.apply(this.b.ld,this.ma),this.Nk)};t.prototype.Us=function(){var a,d;a=0;for(d=this.I.length;a<d;a++)this.ma[a]=this.I[a].get();a=this.jb.apply(this.we?this.we:this.type,this.ma);this.type.cc();return a};t.prototype.Nl=
function(){var a,d,b,c,f,g,e,l,h=this.type,m=h.L(),n=this.ec.Rc&&!this.trigger;d=0;var r=h.yb,A=h.D,p=h.wd,x=this.rc,t=-1<x,J=this.$f,u=this.I,K=this.ma,H=this.Nk,X=this.jb,R;if(J)for(d=0,f=u.length;d<f;++d)g=u[d],g.Jc||(K[d]=g.get(0));else for(d=0,f=u.length;d<f;++d)K[d]=u[d].get(0);if(m.N){m.c.length=0;m.Z.length=0;R=h.c;a=0;for(c=R.length;a<c;++a){l=R[a];if(J)for(d=0,f=u.length;d<f;++d)g=u[d],g.Jc&&(K[d]=g.get(a));t?(d=0,A&&(d=l.type.mf[p]),d=X.apply(l.P[x+d],K)):d=X.apply(l,K);(e=Ra(d,H))?m.c.push(l):
n&&m.Z.push(l)}h.finish&&h.finish(!0);m.N=!1;h.cc();return m.Ck()}b=0;R=(e=n&&!this.ec.ms(this))?m.Z:m.c;var ca=!1;a=0;for(c=R.length;a<c;++a){l=R[a];if(J)for(d=0,f=u.length;d<f;++d)g=u[d],g.Jc&&(K[d]=g.get(a));t?(d=0,A&&(d=l.type.mf[p]),d=X.apply(l.P[x+d],K)):d=X.apply(l,K);if(Ra(d,H))if(ca=!0,e){if(m.c.push(l),r)for(d=0,f=l.siblings.length;d<f;d++)g=l.siblings[d],g.type.L().c.push(g)}else{R[b]=l;if(r)for(d=0,f=l.siblings.length;d<f;d++)g=l.siblings[d],g.type.L().c[b]=g;b++}else if(e){R[b]=l;if(r)for(d=
0,f=l.siblings.length;d<f;d++)g=l.siblings[d],g.type.L().Z[b]=g;b++}else if(n&&(m.Z.push(l),r))for(d=0,f=l.siblings.length;d<f;d++)g=l.siblings[d],g.type.L().Z.push(g)}R.length=b;if(r)for(A=h.Sb,a=0,c=A.length;a<c;a++)l=A[a].L(),e?l.Z.length=b:l.c.length=b;b=ca;if(e&&!ca)for(a=0,c=m.c.length;a<c;a++){l=m.c[a];if(J)for(d=0,f=u.length;d<f;d++)g=u[d],g.Jc&&(K[d]=g.get(a));d=t?X.apply(l.P[x],K):X.apply(l,K);if(Ra(d,H)){ca=!0;break}}h.finish&&h.finish(b||n);return n?ca:m.Ck()};Lb=t;f.prototype.Ba=function(){var a,
d,b;a=0;for(d=this.I.length;a<d;a++)b=this.I[a],b.Ba(),b.Jc&&(this.$f=!0)};f.prototype.Ol=function(){var a,d;a=0;for(d=this.I.length;a<d;a++)this.ma[a]=this.I[a].get();return this.jb.apply(this.b.ld,this.ma)};f.prototype.Nl=function(){var a=this.type.L().Jb(),d=this.type.D,b=this.type.wd,c=this.rc,f=-1<c,g=this.$f,e=this.I,l=this.ma,h=this.jb,m,n,r,A,p,x;if(g)for(n=0,A=e.length;n<A;++n)p=e[n],p.Jc||(l[n]=p.get(0));else for(n=0,A=e.length;n<A;++n)l[n]=e[n].get(0);m=0;for(r=a.length;m<r;++m){x=a[m];
if(g)for(n=0,A=e.length;n<A;++n)p=e[n],p.Jc&&(l[n]=p.get(m));f?(n=0,d&&(n=x.type.mf[b]),h.apply(x.P[c+n],l)):h.apply(x,l)}return!1};Mb=f;var r=[],x=-1;g.prototype.Ba=function(){var a,d;if(11===this.type)this.Be=this.b.mn(this.vh,this.ec.parent);else if(13===this.type)for(a=0,d=this.Te.length;a<d;a++)this.Te[a].Ba();this.cd&&this.cd.Ba()};g.prototype.ws=function(a){this.Jc||!a||a.da.gj||(this.Jc=!0)};g.prototype.Oo=function(){this.Jc=!0};g.prototype.Ua=function(){x++;r.length===x&&r.push(new Rb);return r[x]};
g.prototype.Ka=function(){x--};g.prototype.Pr=function(a){this.oe=a||0;a=this.Ua();this.cd.get(a);this.Ka();return a.data};g.prototype.Qr=function(a){this.oe=a||0;a=this.Ua();this.cd.get(a);this.Ka();return s(a.data)?a.data:""};g.prototype.Wr=function(){return this.object};g.prototype.Nr=function(){return this.Um};g.prototype.Ur=function(a){this.oe=a||0;a=this.Ua();this.cd.get(a);this.Ka();return a.cb()?this.b.mg(a.data):this.b.vk(a.data)};g.prototype.Vr=function(){return this.na};g.prototype.Tr=
function(){return this.key};g.prototype.Sr=function(){return this.index};g.prototype.Rr=function(a){a=a||0;var d=this.n.type,b=null,b=d.L(),c=b.Jb();if(c.length)b=c[a%c.length].type;else if(b.Z.length)b=b.Z[a%b.Z.length].type;else if(d.c.length)b=d.c[a%d.c.length].type;else return 0;return this.index+b.fi[d.wd]};g.prototype.Or=function(){return this.Be};g.prototype.Mr=function(){return this.gn};g.prototype.Xr=function(){var a,d;a=0;for(d=this.Te.length;a<d;a++)this.uh[a]=this.Te[a].get();return this.uh};
Nb=g;m.prototype.Ba=function(){this.O=b(this.O)};m.prototype.bt=function(a){var d=this.b.ln();this.parent&&!this.Bg&&d?(this.Pe>=d.length&&(d.length=this.Pe+1),d[this.Pe]=a):this.data=a};m.prototype.Lr=function(){var a=this.b.ln();return!this.parent||this.Bg||!a||this.vi?this.data:this.Pe>=a.length||"undefined"===typeof a[this.Pe]?this.Hk:a[this.Pe]};m.prototype.La=function(){!this.parent||this.Bg||this.vi||this.bt(this.Hk)};Hb=m;l.prototype.toString=function(){return"include:"+this.ug.toString()};
l.prototype.Ba=function(){this.ug=this.b.hk[this.cs];this.sheet.wn.add(this);this.O=b(this.O);for(var a=this.parent;a;)a.group&&a.Vm.push(this),a=a.parent;this.lt()};l.prototype.La=function(){this.parent&&this.b.eh(this.b.u);this.ug.Dk||this.ug.La(!0);this.parent&&this.b.Gc(this.b.u)};l.prototype.lt=function(){for(var a=this.parent;a;){if(a.group&&!a.qg){this.Za=!1;return}a=a.parent}this.Za=!0};Qb=l;A.prototype.reset=function(a){this.Ha=a;this.Eb=this.Ga=0;this.Wo.length=0;this.fk=this.Le=!1};A.prototype.Rk=
function(){return this.Ha.Ul?!0:this.Ga<this.Ha.Ra.length-1?!!this.Ha.O.length:!1};Gb=A})();
(function(){function e(b,e){this.n=b;this.b=b.b;this.type=e[0];this.get=[this.Yq,this.Uq,this.hr,this.kr,this.Oq,this.ir,this.cr,this.Rq,this.br,this.fr,this.Pq,this.er,this.Sq,this.dr,this.Zq,this.$q,this.Vq,this.Wq,this.Qq,this.jr,this.bn,this.Xq,this.bn,this.Tq][this.type];var c=null;this.Lb=this.I=this.ma=this.jb=this.pj=this.ib=this.first=this.value=null;this.rc=-1;this.yd=null;this.hm=-1;this.Be=this.vh=null;this.hh=!1;switch(this.type){case 0:case 1:case 2:this.value=e[1];break;case 3:this.first=
new Ob(b,e[1]);break;case 18:this.first=new Ob(b,e[1]);this.ib=new Ob(b,e[2]);this.pj=new Ob(b,e[3]);break;case 19:this.jb=e[1];this.jb!==T.prototype.i.random&&this.jb!==T.prototype.i.pq||this.n.Oo();this.ma=[];this.I=[];3===e.length?(c=e[2],this.ma.length=c.length+1):this.ma.length=1;break;case 20:this.Lb=this.b.u[e[1]];this.rc=-1;this.jb=e[2];this.hh=e[3];V&&this.jb===V.prototype.i.qp&&this.n.Oo();this.yd=e[4]?new Ob(b,e[4]):null;this.ma=[];this.I=[];6===e.length?(c=e[5],this.ma.length=c.length+
1):this.ma.length=1;break;case 21:this.Lb=this.b.u[e[1]];this.hh=e[2];this.yd=e[3]?new Ob(b,e[3]):null;this.hm=e[4];break;case 22:this.Lb=this.b.u[e[1]];this.Lb.ki(e[2]);this.rc=this.Lb.qk(e[2]);this.jb=e[3];this.hh=e[4];this.yd=e[5]?new Ob(b,e[5]):null;this.ma=[];this.I=[];7===e.length?(c=e[6],this.ma.length=c.length+1):this.ma.length=1;break;case 23:this.vh=e[1],this.Be=null}this.n.ws(this.Lb);4<=this.type&&17>=this.type&&(this.first=new Ob(b,e[1]),this.ib=new Ob(b,e[2]));if(c){var a,h;a=0;for(h=
c.length;a<h;a++)this.I.push(new Ob(b,c[a]))}}function p(b,e){this.type=b||Q.Ze;this.data=e||0;this.Cf=null;this.type==Q.Ze&&(this.data=Math.floor(this.data))}e.prototype.Ba=function(){23===this.type&&(this.Be=this.n.b.mn(this.vh,this.n.ec.parent));this.first&&this.first.Ba();this.ib&&this.ib.Ba();this.pj&&this.pj.Ba();this.yd&&this.yd.Ba();if(this.I){var b,e;b=0;for(e=this.I.length;b<e;b++)this.I[b].Ba()}};e.prototype.jr=function(b){this.ma[0]=b;b=this.n.Ua();var e,c;e=0;for(c=this.I.length;e<c;e++)this.I[e].get(b),
this.ma[e+1]=b.data;this.n.Ka();this.jb.apply(this.b.ld,this.ma)};e.prototype.bn=function(b){var e=this.Lb.L(),c=e.Jb();if(!c.length)if(e.Z.length)c=e.Z;else{this.hh?b.rb(""):b.ha(0);return}this.ma[0]=b;b.Cf=this.Lb;b=this.n.Ua();var a,e=0;for(a=this.I.length;e<a;e++)this.I[e].get(b),this.ma[e+1]=b.data;e=this.n.oe;this.yd&&(this.yd.get(b),b.cb()&&(e=b.data,c=this.Lb.c));this.n.Ka();e%=c.length;0>e&&(e+=c.length);c=c[e];-1<this.rc?(b=0,this.Lb.D&&(b=c.type.mf[this.Lb.wd]),this.jb.apply(c.P[this.rc+
b],this.ma)):this.jb.apply(c,this.ma)};e.prototype.Xq=function(b){var e=this.Lb.L(),c=e.Jb();if(!c.length)if(e.Z.length)c=e.Z;else{this.hh?b.rb(""):b.ha(0);return}e=this.n.oe;if(this.yd){var a=this.n.Ua();this.yd.get(a);if(a.cb()){e=a.data;c=this.Lb.c;e%=c.length;0>e&&(e+=c.length);c=c[e].Sa[this.hm];s(c)?b.rb(c):b.G(c);this.n.Ka();return}this.n.Ka()}e%=c.length;0>e&&(e+=c.length);c=c[e];e=0;this.Lb.D&&(e=c.type.fi[this.Lb.wd]);c=c.Sa[this.hm+e];s(c)?b.rb(c):b.G(c)};e.prototype.Yq=function(b){b.type=
Q.Ze;b.data=this.value};e.prototype.Uq=function(b){b.type=Q.Ye;b.data=this.value};e.prototype.hr=function(b){b.type=Q.Ch;b.data=this.value};e.prototype.kr=function(b){this.first.get(b);b.cb()&&(b.data=-b.data)};e.prototype.Oq=function(b){this.first.get(b);var e=this.n.Ua();this.ib.get(e);b.cb()&&e.cb()&&(b.data+=e.data,e.tf()&&b.Af());this.n.Ka()};e.prototype.ir=function(b){this.first.get(b);var e=this.n.Ua();this.ib.get(e);b.cb()&&e.cb()&&(b.data-=e.data,e.tf()&&b.Af());this.n.Ka()};e.prototype.cr=
function(b){this.first.get(b);var e=this.n.Ua();this.ib.get(e);b.cb()&&e.cb()&&(b.data*=e.data,e.tf()&&b.Af());this.n.Ka()};e.prototype.Rq=function(b){this.first.get(b);var e=this.n.Ua();this.ib.get(e);b.cb()&&e.cb()&&(b.data/=e.data,b.Af());this.n.Ka()};e.prototype.br=function(b){this.first.get(b);var e=this.n.Ua();this.ib.get(e);b.cb()&&e.cb()&&(b.data%=e.data,e.tf()&&b.Af());this.n.Ka()};e.prototype.fr=function(b){this.first.get(b);var e=this.n.Ua();this.ib.get(e);b.cb()&&e.cb()&&(b.data=Math.pow(b.data,
e.data),e.tf()&&b.Af());this.n.Ka()};e.prototype.Pq=function(b){this.first.get(b);var e=this.n.Ua();this.ib.get(e);b.cb()?e.xi()?b.rb(b.data.toString()+e.data):b.data&&e.data?b.ha(1):b.ha(0):b.xi()&&(b.data=e.xi()?b.data+e.data:b.data+(Math.round(1E10*e.data)/1E10).toString());this.n.Ka()};e.prototype.er=function(b){this.first.get(b);var e=this.n.Ua();this.ib.get(e);b.cb()&&e.cb()&&(b.data||e.data?b.ha(1):b.ha(0));this.n.Ka()};e.prototype.Qq=function(b){this.first.get(b);b.data?this.ib.get(b):this.pj.get(b)};
e.prototype.Sq=function(b){this.first.get(b);var e=this.n.Ua();this.ib.get(e);b.ha(b.data===e.data?1:0);this.n.Ka()};e.prototype.dr=function(b){this.first.get(b);var e=this.n.Ua();this.ib.get(e);b.ha(b.data!==e.data?1:0);this.n.Ka()};e.prototype.Zq=function(b){this.first.get(b);var e=this.n.Ua();this.ib.get(e);b.ha(b.data<e.data?1:0);this.n.Ka()};e.prototype.$q=function(b){this.first.get(b);var e=this.n.Ua();this.ib.get(e);b.ha(b.data<=e.data?1:0);this.n.Ka()};e.prototype.Vq=function(b){this.first.get(b);
var e=this.n.Ua();this.ib.get(e);b.ha(b.data>e.data?1:0);this.n.Ka()};e.prototype.Wq=function(b){this.first.get(b);var e=this.n.Ua();this.ib.get(e);b.ha(b.data>=e.data?1:0);this.n.Ka()};e.prototype.Tq=function(b){var e=this.Be.Lr();ga(e)?b.G(e):b.rb(e)};Ob=e;p.prototype.tf=function(){return this.type===Q.Ye};p.prototype.cb=function(){return this.type===Q.Ze||this.type===Q.Ye};p.prototype.xi=function(){return this.type===Q.Ch};p.prototype.Af=function(){this.tf()||(this.xi()&&(this.data=parseFloat(this.data)),
this.type=Q.Ye)};p.prototype.ha=function(b){this.type=Q.Ze;this.data=Math.floor(b)};p.prototype.G=function(b){this.type=Q.Ye;this.data=b};p.prototype.rb=function(b){this.type=Q.Ch;this.data=b};p.prototype.Sl=function(b){ga(b)?(this.type=Q.Ye,this.data=b):s(b)?(this.type=Q.Ch,this.data=b.toString()):(this.type=Q.Ze,this.data=0)};Rb=p;Q={Ze:0,Ye:1,Ch:2}})();function T(e){this.b=e;this.Ob=[]}
T.prototype.Mb=function(){var e={},p,b,n,c,a,h,t,f;e.waits=[];var g=e.waits,m;p=0;for(b=this.Ob.length;p<b;p++){h=this.Ob[p];m={t:h.time,ev:h.kf.W,sm:[],sols:{}};h.kf.qc[h.Eb]&&(m.act=h.kf.qc[h.Eb].W);n=0;for(c=h.O.length;n<c;n++)m.sm.push(h.O[n].W);for(a in h.Db)if(h.Db.hasOwnProperty(a)){t=this.b.u[parseInt(a,10)];f={sa:h.Db[a].dj,insts:[]};n=0;for(c=h.Db[a].zd.length;n<c;n++)f.insts.push(h.Db[a].zd[n].uid);m.sols[t.W.toString()]=f}g.push(m)}return e};
T.prototype.mc=function(e){e=e.waits;var p,b,n,c,a,h,t,f,g,m,l;p=this.Ob.length=0;for(b=e.length;p<b;p++)if(h=e[p],f=this.b.Om[h.ev.toString()]){g=-1;n=0;for(c=f.qc.length;n<c;n++)if(f.qc[n].W===h.act){g=n;break}if(-1!==g){t={Db:{},O:[],dk:!1};t.time=h.t;t.kf=f;t.Eb=g;n=0;for(c=h.sm.length;n<c;n++)(f=this.b.oi(h.sm[n]))&&t.O.push(f);for(a in h.sols)if(h.sols.hasOwnProperty(a)&&(f=this.b.oi(parseInt(a,10)))){g=h.sols[a];m={dj:g.sa,zd:[]};n=0;for(c=g.insts.length;n<c;n++)(l=this.b.ni(g.insts[n]))&&
m.zd.push(l);t.Db[f.index.toString()]=m}this.Ob.push(t)}}};
(function(){function e(){}function p(){}function b(){}var n=T.prototype;e.prototype.vp=function(){return!0};e.prototype.qm=function(){return!0};e.prototype.Gp=function(){return!0};e.prototype.tb=function(a,b,c){return Sb(a,b,c)};e.prototype.Tp=function(){var a=this.b.Ja(),b=a.Ha,c=a.Rk(),a=this.b.Fl();if(c)for(c=0;!a.va;c++)this.b.Ed(b.O),a.index=c,b.gd()||(a.va=!0),this.b.Gc(b.O);else for(c=0;!a.va;c++)a.index=c,b.gd()||(a.va=!0);this.b.Dl();return!1};e.prototype.wp=function(a,b,c){var e=this.b.Ja(),
h=e.Ha,e=e.Rk();a=this.b.Fl(a);if(c<b)if(e)for(;b>=c&&!a.va;--b)this.b.Ed(h.O),a.index=b,h.gd(),this.b.Gc(h.O);else for(;b>=c&&!a.va;--b)a.index=b,h.gd();else if(e)for(;b<=c&&!a.va;++b)this.b.Ed(h.O),a.index=b,h.gd(),this.b.Gc(h.O);else for(;b<=c&&!a.va;++b)a.index=b,h.gd();this.b.Dl();return!1};var c=[],a=-1;e.prototype.Md=function(b){var g=b.L();a++;c.length===a&&c.push([]);var e=c[a];xa(e,g.Jb());var l=this.b.Ja(),h=l.Ha,d=l.Rk(),l=this.b.Fl(),r,p,k,n,B,G,q=b.yb;if(d)for(d=0,r=e.length;d<r&&!l.va;d++){this.b.Ed(h.O);
n=e[d];g=b.L();g.N=!1;g.c.length=1;g.c[0]=n;if(q)for(p=0,k=n.siblings.length;p<k;p++)B=n.siblings[p],G=B.type.L(),G.N=!1,G.c.length=1,G.c[0]=B;l.index=d;h.gd();this.b.Gc(h.O)}else for(g.N=!1,g.c.length=1,d=0,r=e.length;d<r&&!l.va;d++){n=e[d];g.c[0]=n;if(q)for(p=0,k=n.siblings.length;p<k;p++)B=n.siblings[p],G=B.type.L(),G.N=!1,G.c.length=1,G.c[0]=B;l.index=d;h.gd()}e.length=0;this.b.Dl();a--;return!1};e.prototype.Yf=function(b,g,e,l){var h,d,r,p;if(b){a++;c.length===a&&c.push([]);var k=c[a],n=b.L();
xa(k,n.Jb());n.N&&(n.Z.length=0);var B=this.b.li();r=h=0;for(d=k.length;h<d;h++)p=k[h],k[r]=p,g=B.I[1].get(h),l=B.I[3].get(h),Sb(g,e,l)?r++:n.Z.push(p);k.length=r;n.N=!1;xa(n.c,k);k.length=0;a--;b.cc();return!!n.c.length}};e.prototype.up=function(a){var b=this.b.li(),c=b.M.yh||0,e=this.b.kc.Ca;"undefined"===typeof b.M.Bj&&(b.M.Bj=a);var h=b.M.Bj;if(e>=c+h)return b.M.yh=c+h,e>=b.M.yh+0.04&&(b.M.yh=e),b.M.Bj=a,!0;e<c-0.1&&(b.M.yh=e);return!1};e.prototype.Op=function(a){if(!a)return!1;var b=a.L(),c=
b.Jb(),e=y(Math.random()*c.length);if(e>=c.length)return!1;b.Gf(c[e]);a.cc();return!0};e.prototype.zh=function(a){return(a=this.b.sg[a.toLowerCase()])&&a.qg};e.prototype.Aj=function(){var a=this.b.Ja();return a.fk?!1:!a.Le};e.prototype.rm=function(){return!0};e.prototype.Fp=function(){return!0};e.prototype.Fj=function(){return!0};e.prototype.Hp=function(){return!0};e.prototype.Ej=function(){return!0};n.d=new e;p.prototype.tp=function(a,b,c,e){if(b&&a&&(b=this.b.Xj(a,b,c,e))){this.b.jc++;var h;this.b.trigger(Object.getPrototypeOf(a.da).d.Xf,
b);if(b.yb)for(c=0,e=b.siblings.length;c<e;c++)h=b.siblings[c],this.b.trigger(Object.getPrototypeOf(h.type.da).d.Xf,h);this.b.jc--;a=a.L();a.N=!1;a.c.length=1;a.c[0]=b;if(b.yb)for(c=0,e=b.siblings.length;c<e;c++)h=b.siblings[c],a=h.type.L(),a.N=!1,a.c.length=1,a.c[0]=h}};var h=[],t=[];p.prototype.Ij=function(a){if(!(0>a)){var b,c,e,p=this.b.Ja(),d;d=h.length?h.pop():{Db:{},O:[]};d.dk=!1;d.time=this.b.kc.Ca+a;d.kf=p.Ha;d.Eb=p.Eb+1;a=0;for(b=this.b.u.length;a<b;a++)e=this.b.u[a],c=e.L(),c.N&&-1===p.Ha.O.indexOf(e)||
(d.O.push(e),e=void 0,e=t.length?t.pop():{zd:[]},e.dj=!1,e.dj=c.N,xa(e.zd,c.c),d.Db[a.toString()]=e);this.Ob.push(d);return!0}};n.e=new p;b.prototype["int"]=function(a,b){s(b)?(a.ha(parseInt(b,10)),isNaN(a.data)&&(a.data=0)):a.ha(b)};b.prototype["float"]=function(a,b){s(b)?(a.G(parseFloat(b)),isNaN(a.data)&&(a.data=0)):a.G(b)};b.prototype.Hd=function(a,b){s(b)?a.rb(b):a.rb(b.toString())};b.prototype.random=function(a,b,c){void 0===c?a.G(Math.random()*b):a.G(Math.random()*(c-b)+b)};b.prototype.sqrt=
function(a,b){a.G(Math.sqrt(b))};b.prototype.round=function(a,b){a.ha(Math.round(b))};b.prototype.floor=function(a,b){a.ha(Math.floor(b))};b.prototype.ceil=function(a,b){a.ha(Math.ceil(b))};b.prototype.sin=function(a,b){a.G(Math.sin(C(b)))};b.prototype.cos=function(a,b){a.G(Math.cos(C(b)))};b.prototype.tan=function(a,b){a.G(Math.tan(C(b)))};b.prototype.acos=function(a,b){a.G(Da(Math.acos(b)))};b.prototype.exp=function(a,b){a.G(Math.exp(b))};b.prototype.max=function(a){var b=arguments[1],c,e;c=2;for(e=
arguments.length;c<e;c++)b<arguments[c]&&(b=arguments[c]);a.G(b)};b.prototype.min=function(a){var b=arguments[1],c,e;c=2;for(e=arguments.length;c<e;c++)b>arguments[c]&&(b=arguments[c]);a.G(b)};b.prototype.Ae=function(a){a.G(this.b.Ae)};b.prototype.Rf=function(a){a.G(this.b.Rf)};b.prototype.time=function(a){a.G(this.b.kc.Ca)};b.prototype.Qf=function(a){a.ha(this.b.Qf)};b.prototype.Mi=function(a){a.ha(this.b.Mi)};b.prototype.lk=function(a){a.ha(this.b.lk)};b.prototype.j=function(a,b,c,e,h){a.G(Da(La(b,
c,e,h)))};b.prototype.left=function(a,b,c){a.rb(s(b)?b.substr(0,c):"")};b.prototype.right=function(a,b,c){a.rb(s(b)?b.substr(b.length-c):"")};b.prototype.replace=function(a,b,c,e){s(b)&&s(c)&&s(e)?a.rb(b.replace(new RegExp(Wa(c),"gi"),e)):a.rb(s(b)?b:"")};b.prototype.pq=function(a){var b=y(Math.random()*(arguments.length-1));a.Sl(arguments[b+1])};b.prototype.Vj=function(a){a.G(this.b.Vj/1E3)};b.prototype.xf=function(a){a.G(this.b.xf)};n.i=new b;n.Rs=function(){var a,b,c,e,p,d,r=this.b.Ja();a=0;for(c=
this.Ob.length;a<c;a++)if(e=this.Ob[a],!(e.time>this.b.kc.Ca)){r.Ha=e.kf;r.Eb=e.Eb;r.Ga=0;for(b in e.Db)e.Db.hasOwnProperty(b)&&(p=this.b.u[parseInt(b,10)].L(),d=e.Db[b],p.N=d.dj,xa(p.c,d.zd),p=d,p.zd.length=0,t.push(p));e.kf.Qs();this.b.Tj(e.O);e.dk=!0}b=a=0;for(c=this.Ob.length;a<c;a++)e=this.Ob[a],this.Ob[b]=e,e.dk?(Ta(e.Db),e.O.length=0,h.push(e)):b++;this.Ob.length=b}})();
(function(){db=function(e){var b=e[0].prototype,n=e[1],c=e[3],a=e[4],h=e[5],t=e[6],f=e[7];e=e[8];b.d||(b.d={});b.e||(b.e={});b.i||(b.i={});var g=b.d,m=b.e,b=b.i;c&&(g.rp=function(a,b){return Sb(this.x,a,b)},g.Ft=function(a,b){return Sb(this.y,a,b)},g.lm=function(){var a=this.k;this.Ma();var b=this.Ea;return!(b.right<a.nb||b.bottom<a.ob||b.left>a.Zb||b.top>a.Yb)},g.Kt=function(){this.Ma();var a=this.Ea,b=this.b.la;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},g.Ut=function(a,b,d){var c=
this.L(),e=c.Jb();if(!e.length)return!1;var f=e[0],g=f,h=Qa(f.x,f.y,b,d),m,q,p;m=1;for(q=e.length;m<q;m++)if(f=e[m],p=Qa(f.x,f.y,b,d),0===a&&p<h||1===a&&p>h)h=p,g=f;c.Gf(g);return!0},m.Am=function(a){this.x!==a&&(this.x=a,this.Va())},m.iu=function(a){this.y!==a&&(this.y=a,this.Va())},m.Bh=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.Va()},m.gu=function(a,b){var d=a.Hr(this);if(d){var c;d.De?(c=d.De(b,!0),d=d.De(b,!1)):(c=d.x,d=d.y);if(this.x!==c||this.y!==d)this.x=c,this.y=d,this.Va()}},
m.mm=function(a){0!==a&&(this.x+=Math.cos(this.j)*a,this.y+=Math.sin(this.j)*a,this.Va())},m.Ot=function(a,b){0!==b&&(this.x+=Math.cos(C(a))*b,this.y+=Math.sin(C(a))*b,this.Va())},b.pc=function(a){a.G(this.x)},b.od=function(a){a.G(this.y)},b.Ae=function(a){a.G(this.b.sk(this))});a&&(g.Et=function(a,b){return Sb(this.width,a,b)},g.Ct=function(a,b){return Sb(this.height,a,b)},m.hu=function(a){this.width!==a&&(this.width=a,this.Va())},m.eu=function(a){this.height!==a&&(this.height=a,this.Va())},m.Qp=
function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.Va()},b.Up=function(a){a.G(this.width)},b.xp=function(a){a.G(this.height)},b.zt=function(a){this.Ma();a.G(this.Ea.left)},b.Bt=function(a){this.Ma();a.G(this.Ea.top)},b.At=function(a){this.Ma();a.G(this.Ea.right)},b.yt=function(a){this.Ma();a.G(this.Ea.bottom)});h&&(g.xt=function(a,b){return Ma(this.j,C(b))<=C(a)},g.It=function(a){return Oa(this.j,C(a))},g.Ht=function(a,b){var d=Ha(a),c=Ha(b),e=Fa(this.j);return Oa(c,
d)?Oa(e,d)&&!Oa(e,c):!(!Oa(e,d)&&Oa(e,c))},m.Ah=function(a){a=C(Ea(a));isNaN(a)||this.j===a||(this.j=a,this.Va())},m.Yt=function(a){0===a||isNaN(a)||(this.j+=C(a),this.j=Fa(this.j),this.Va())},m.Zt=function(a){0===a||isNaN(a)||(this.j-=C(a),this.j=Fa(this.j),this.Va())},m.$t=function(a,b){var d=Na(this.j,C(b),C(a));isNaN(d)||this.j===d||(this.j=d,this.Va())},m.au=function(a,b,d){a=Na(this.j,Math.atan2(d-this.y,b-this.x),C(a));isNaN(a)||this.j===a||(this.j=a,this.Va())},m.Gj=function(a,b){var d=Math.atan2(b-
this.y,a-this.x);isNaN(d)||this.j===d||(this.j=d,this.Va())},b.pp=function(a){a.G(Ga(this.j))});n||(g.Kd=function(a,b,d){return Sb(this.Sa[a],b,d)},g.Ap=function(a){return this.Sa[a]},g.Vt=function(a,b){var d=this.L(),c=d.Jb();if(!c.length)return!1;var e=c[0],f=e,g=e.Sa[b],h,m,q;h=1;for(m=c.length;h<m;h++)if(e=c[h],q=e.Sa[b],0===a&&q<g||1===a&&q>g)g=q,f=e;d.Gf(f);return!0},g.bf=function(a){var b,d,c,e,f;if(this.b.li().Nk){f=this.L();if(f.N)for(f.N=!1,f.c.length=0,f.Z.length=0,c=this.c,b=0,d=c.length;b<
d;b++)e=c[b],e.uid===a?f.Z.push(e):f.c.push(e);else{c=b=0;for(d=f.c.length;b<d;b++)e=f.c[b],f.c[c]=e,e.uid===a?f.Z.push(e):c++;f.c.length=c}this.cc();return!!f.c.length}e=this.b.ni(a);if(!e)return!1;f=this.L();if(!f.N&&-1===f.c.indexOf(e))return!1;if(this.D)for(a=e.type.ta,b=0,d=a.length;b<d;b++){if(a[b]===this)return f.Gf(e),this.cc(),!0}else if(e.type===this)return f.Gf(e),this.cc(),!0;return!1},g.Xf=function(){return!0},g.pm=function(){return!0},m.ea=function(a,b){var d=this.Sa;ga(d[a])?d[a]=ga(b)?
b:parseFloat(b):s(d[a])&&(d[a]=s(b)?b:b.toString())},m.op=function(a,b){var d=this.Sa;ga(d[a])?d[a]=ga(b)?d[a]+b:d[a]+parseFloat(b):s(d[a])&&(d[a]=s(b)?d[a]+b:d[a]+b.toString())},m.Cm=function(a,b){var d=this.Sa;ga(d[a])&&(d[a]=ga(b)?d[a]-b:d[a]-parseFloat(b))},m.Pp=function(a,b){this.Sa[a]=b?1:0},m.ju=function(a){this.Sa[a]=1-this.Sa[a]},m.Kc=function(){this.b.Ld(this)},m.Dp||(m.Dp=function(a){var b,d;try{b=JSON.parse(a)}catch(c){return}this.b.Ii(this,b,!0);this.pd&&this.pd();if(this.P)for(a=0,b=
this.P.length;a<b;++a)d=this.P[a],d.pd&&d.pd()}),b.sp=function(a){var b=a.Cf.c.length,d,c,e;d=0;for(c=this.b.Hb.length;d<c;d++)e=this.b.Hb[d],a.Cf.D?0<=e.type.ta.indexOf(a.Cf)&&b++:e.type===a.Cf&&b++;a.ha(b)},b.Xt=function(a){a.ha(a.Cf.L().Jb().length)},b.Pb=function(a){a.ha(this.uid)},b.Gt=function(a){a.ha(this.pg())},b.xh||(b.xh=function(a){a.rb(JSON.stringify(this.b.Pl(this,!0)))}));t&&(g.Lt=function(){return this.visible},m.Da=function(a){!a!==!this.visible&&(this.visible=a,this.b.ga=!0)},g.Dt=
function(a,b){return Sb(ab(100*this.opacity),a,b)},m.fu=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.ga=!0)},b.Opacity=function(a){a.G(ab(100*this.opacity))});f&&(g.Jt=function(a){return a?this.k===a:!1},g.Wt=function(a){var b=this.L(),d=b.Jb();if(!d.length)return!1;var c=d[0],e=c,f,g;f=1;for(g=d.length;f<g;f++)if(c=d[f],0===a){if(c.k.index>e.k.index||c.k.index===e.k.index&&c.ic()>e.ic())e=c}else if(c.k.index<e.k.index||c.k.index===e.k.index&&c.ic()<e.ic())e=c;b.Gf(e);
return!0},m.Rt=function(){var a=this.ic();a!==this.k.c.length-1&&(wa(this.k.c,a),this.k.c.push(this),this.b.ga=!0,this.k.$b=!0)},m.Pt=function(){var a=this.ic();0!==a&&(wa(this.k.c,a),this.k.c.unshift(this),this.b.ga=!0,this.k.$b=!0)},m.Qt=function(a){a&&a!=this.k&&(wa(this.k.c,this.ic()),this.k.$b=!0,this.k=a,this.Xe=a.c.length,a.c.push(this),this.b.ga=!0)},m.lu=function(a,b){var d=0===a;if(b){var c=b.Cr(this);if(c&&c.uid!==this.uid){this.k.index!==c.k.index&&(wa(this.k.c,this.ic()),this.k.$b=!0,
this.k=c.k,this.Xe=c.k.c.length,c.k.c.push(this));var e=this.ic(),c=c.ic();wa(this.k.c,e);e<c&&c--;d&&c++;c===this.k.c.length?this.k.c.push(this):this.k.c.splice(c,0,this);this.k.$b=!0;this.b.ga=!0}}},b.Nt=function(a){a.ha(this.k.ao)},b.Mt=function(a){a.rb(this.k.name)},b.ku=function(a){a.ha(this.ic())});e&&(m.cu=function(a,b){if(this.b.B){var d=this.type.uk(b);if(!(0>d)){var c=1===a;this.Od[d]!==c&&(this.Od[d]=c,this.Jd(),this.b.ga=!0)}}},m.du=function(a,b,d){if(this.b.B){var c=this.type.uk(a);0>
c||(a=this.type.K[c],c=this.ya[c],b=Math.floor(b),0>b||b>=c.length||(1===this.b.B.Kr(a.lb,b)&&(d/=100),c[b]!==d&&(c[b]=d,a.Za&&(this.b.ga=!0))))}})};zb=function(){this.Qj=this.Mh=!0;this.type.Fh=!0;this.b.ga=!0;var e,b,n=this.Oj;e=0;for(b=n.length;e<b;++e)n[e](this)};Ab=function(e){e&&this.Oj.push(e)};Cb=function(){if(this.Mh){var e=this.Ea,b=this.Gb;e.set(this.x,this.y,this.x+this.width,this.y+this.height);e.offset(-this.ub*this.width,-this.wb*this.height);this.j?(e.offset(-this.x,-this.y),b.Qo(e,
this.j),b.offset(this.x,this.y),b.Pm(e)):b.Kf(e);e.normalize();this.Mh=!1}};var e=new sa(0,0,0,0);Db=function(){if(this.Qj&&this.xe){this.Ma();var p=this.type.Vh,b=this.Uh,n=this.Ea;e.set(p.Dh(n.left),p.Eh(n.top),p.Dh(n.right),p.Eh(n.bottom));b.Nq(e)||(b.right<b.left?p.update(this,null,e):p.update(this,b,e),b.qq(e),this.Qj=!1)}};Bb=function(e,b){return this.Ea.Tb(e,b)&&this.Gb.Tb(e,b)?this.ca&&!this.ca.sf()?(this.ca.ff(this.width,this.height,this.j),this.ca.Tb(e-this.x,b-this.y)):!0:!1};vb=function(){this.type.vj();
return this.Fe};Eb=function(){this.k.ot();return this.Xe};Fb=function(){this.ba.length=0;var e,b;e=0;for(b=this.Od.length;e<b;e++)this.Od[e]&&this.ba.push(this.type.K[e]);this.kp=!!this.ba.length};wb=function(){return"Inst"+this.Co};gb=function(e){if(e&&e.yb&&e.type!=this){var b,n,c;b=0;for(n=e.siblings.length;b<n;b++)if(c=e.siblings[b],c.type==this)return c}e=this.L().Jb();return e.length?e[0]:null};hb=function(e){var b=this.L().Jb();return b.length?b[e.pg()%b.length]:null};fb=function(){if(this.Nf&&
!this.D){var e,b;e=0;for(b=this.c.length;e<b;e++)this.c[e].Fe=e;var n=e,c=this.b.Hb;e=0;for(b=c.length;e<b;++e)c[e].type===this&&(c[e].Fe=n++);this.Nf=!1}};tb=function(e){if(e<this.c.length)return this.c[e];e-=this.c.length;var b=this.b.Hb,n,c;n=0;for(c=b.length;n<c;++n)if(b[n].type===this){if(0===e)return b[n];--e}return null};lb=function(){return this.pe[this.ud]};mb=function(){this.ud++;this.ud===this.pe.length?this.pe.push(new eb(this)):this.pe[this.ud].N=!0};nb=function(){this.ud++;this.ud===
this.pe.length&&this.pe.push(new eb(this));var e=this.pe[this.ud],b=this.pe[this.ud-1];b.N?e.N=!0:(e.N=!1,xa(e.c,b.c),xa(e.Z,b.Z))};ob=function(){this.ud--};pb=function(e){var b,n,c,a,h,t=0;if(!this.D)for(b=0,n=this.ta.length;b<n;b++)for(h=this.ta[b],c=0,a=h.Fa.length;c<a;c++){if(e===h.Fa[c].name)return this.M.Jn=t,h.Fa[c];t++}b=0;for(n=this.Fa.length;b<n;b++){if(e===this.Fa[b].name)return this.M.Jn=t,this.Fa[b];t++}return null};qb=function(e){return this.ki(e)?this.M.Jn:-1};rb=function(e){var b,
n;b=0;for(n=this.K.length;b<n;b++)if(this.K[b].name===e)return b;return-1};sb=function(){if(this.yb&&!this.D){var e,b,n,c,a,h,t;this.vj();h=this.L();var f=h.N,g=(e=this.b.Ja())&&e.Ha&&e.Ha.Rc;e=0;for(b=this.Sb.length;e<b;e++)if(a=this.Sb[e],a!==this&&(a.vj(),t=a.L(),t.N=f,!f)){t.c.length=h.c.length;n=0;for(c=h.c.length;n<c;n++)t.c[n]=a.nn(h.c[n].Fe);if(g)for(t.Z.length=h.Z.length,n=0,c=h.Z.length;n<c;n++)t.Z[n]=a.nn(h.Z[n].Fe)}}};ub=function(){return"Type"+this.W};Sb=function(e,b,n){if("undefined"===
typeof e||"undefined"===typeof n)return!1;switch(b){case 0:return e===n;case 1:return e!==n;case 2:return e<n;case 3:return e<=n;case 4:return e>n;case 5:return e>=n;default:return!1}}})();var $b={};function bc(e){this.b=e}
(function(){function e(){return t.length?t.pop():[]}function p(a){var b,c;b=0;for(c=a.length;b<c;b++)Array.isArray(a[b])&&p(a[b]);a.length=0;t.push(a)}function b(){}function n(){}function c(){}var a=bc.prototype;a.wa=function(a){this.da=a;this.b=a.b};a.wa.prototype.aa=function(){};a.pa=function(a){this.type=a;this.b=a.b};var h=a.pa.prototype,t=[];Array.isArray||(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)});h.aa=function(){this.uc=this.V[0];this.Nc=this.V[1];
this.ad=this.V[2];this.nc||(this.rd=e());var a=this.rd;a.length=this.uc;var b,c,h;for(b=0;b<this.uc;b++)for(a[b]||(a[b]=e()),a[b].length=this.Nc,c=0;c<this.Nc;c++)for(a[b][c]||(a[b][c]=e()),a[b][c].length=this.ad,h=0;h<this.ad;h++)a[b][c][h]=0};h.Qe=function(){var a;for(a=0;a<this.uc;a++)p(this.rd[a]);this.rd.length=0};h.Yc=function(a,b,c){a=Math.floor(a);b=Math.floor(b);c=Math.floor(c);return isNaN(a)||0>a||a>this.uc-1||isNaN(b)||0>b||b>this.Nc-1||isNaN(c)||0>c||c>this.ad-1?0:this.rd[a][b][c]};h.set=
function(a,b,c,e){a=Math.floor(a);b=Math.floor(b);c=Math.floor(c);isNaN(a)||0>a||a>this.uc-1||isNaN(b)||0>b||b>this.Nc-1||isNaN(c)||0>c||c>this.ad-1||(this.rd[a][b][c]=e)};h.sr=function(){return JSON.stringify({c2array:!0,size:[this.uc,this.Nc,this.ad],data:this.rd})};h.Mb=function(){return{size:[this.uc,this.Nc,this.ad],data:this.rd}};h.mc=function(a){var b=a.size;this.uc=b[0];this.Nc=b[1];this.ad=b[2];this.rd=a.data};h.me=function(a,b,c){0>a&&(a=0);0>b&&(b=0);0>c&&(c=0);if(this.uc!==a||this.Nc!==
b||this.ad!==c){this.uc=a;this.Nc=b;this.ad=c;var h,n,d=this.rd;d.length=a;for(a=0;a<this.uc;a++)for(fa(d[a])&&(d[a]=e()),d[a].length=b,h=0;h<this.Nc;h++)for(fa(d[a][h])&&(d[a][h]=e()),d[a][h].length=c,n=0;n<this.ad;n++)fa(d[a][h][n])&&(d[a][h][n]=0)}};b.prototype.rp=function(a,b,c){return Sb(this.Yc(a,0,0),b,c)};h.nu=function(a){this.b.Ed(a.O);a.gd();this.b.Gc(a.O)};a.d=new b;n.prototype.Qp=function(a,b,c){this.me(a,b,c)};n.prototype.Am=function(a,b){this.set(a,0,0,b)};a.e=new n;c.prototype.Up=function(a){a.ha(this.uc)};
c.prototype.xp=function(a){a.ha(this.Nc)};c.prototype.xh=function(a){a.rb(this.sr())};a.i=new c})();function cc(e){this.b=e}
(function(){function e(a){0>a&&(a=0);1<a&&(a=1);return Math.log(a)/Math.log(10)*20}function p(a){a=a.toLowerCase();return S.hasOwnProperty(a)&&S[a].length?S[a][0].gc():u.destination}function b(){return u.createGain?u.createGain():u.createGainNode()}function n(a){return u.createDelay?u.createDelay(a):u.createDelayNode(a)}function c(a){a.start?a.start(0):a.noteOn(0)}function a(a,b,d){a.start?a.start(0,b):a.noteGrainOn(0,b,d-b)}function h(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(b){}}function t(a,
d,c,e,f,g){this.type="filter";this.hb=[a,d,c,e,f,g];this.X=b();this.J=b();this.J.gain.value=g;this.H=b();this.H.gain.value=1-g;this.Ia=u.createBiquadFilter();this.Ia.type="number"===typeof this.Ia.type?a:lc[a];this.Ia.frequency.value=d;this.Ia.detune&&(this.Ia.detune.value=c);this.Ia.Q.value=e;this.Ia.gain.value=f;this.X.connect(this.Ia);this.X.connect(this.H);this.Ia.connect(this.J)}function f(a,d,c){this.type="delay";this.hb=[a,d,c];this.X=b();this.J=b();this.J.gain.value=c;this.H=b();this.H.gain.value=
1-c;this.Rg=b();this.wc=n(a);this.wc.delayTime.value=a;this.bi=b();this.bi.gain.value=d;this.X.connect(this.Rg);this.X.connect(this.H);this.Rg.connect(this.J);this.Rg.connect(this.wc);this.wc.connect(this.bi);this.bi.connect(this.Rg)}function g(a,d,c,e){this.type="convolve";this.hb=[d,c,e];this.X=b();this.J=b();this.J.gain.value=c;this.H=b();this.H.gain.value=1-c;this.ye=u.createConvolver();a&&(this.ye.normalize=d,this.ye.buffer=a);this.X.connect(this.ye);this.X.connect(this.H);this.ye.connect(this.J)}
function m(a,d,e,f,g){this.type="flanger";this.hb=[a,d,e,f,g];this.X=b();this.H=b();this.H.gain.value=1-g/2;this.J=b();this.J.gain.value=g/2;this.gi=b();this.gi.gain.value=f;this.wc=n(a+d);this.wc.delayTime.value=a;this.gb=u.createOscillator();this.gb.frequency.value=e;this.Xb=b();this.Xb.gain.value=d;this.X.connect(this.wc);this.X.connect(this.H);this.wc.connect(this.J);this.wc.connect(this.gi);this.gi.connect(this.wc);this.gb.connect(this.Xb);this.Xb.connect(this.wc.delayTime);c(this.gb)}function l(a,
d,e,f,g,h){this.type="phaser";this.hb=[a,d,e,f,g,h];this.X=b();this.H=b();this.H.gain.value=1-h/2;this.J=b();this.J.gain.value=h/2;this.Ia=u.createBiquadFilter();this.Ia.type="number"===typeof this.Ia.type?7:"allpass";this.Ia.frequency.value=a;this.Ia.detune&&(this.Ia.detune.value=d);this.Ia.Q.value=e;this.gb=u.createOscillator();this.gb.frequency.value=g;this.Xb=b();this.Xb.gain.value=f;this.X.connect(this.Ia);this.X.connect(this.H);this.Ia.connect(this.J);this.gb.connect(this.Xb);this.Xb.connect(this.Ia.frequency);
c(this.gb)}function A(a){this.type="gain";this.hb=[a];this.$=b();this.$.gain.value=a}function d(a,d){this.type="tremolo";this.hb=[a,d];this.$=b();this.$.gain.value=1-d/2;this.gb=u.createOscillator();this.gb.frequency.value=a;this.Xb=b();this.Xb.gain.value=d/2;this.gb.connect(this.Xb);this.Xb.connect(this.$.gain);c(this.gb)}function r(a,d){this.type="ringmod";this.hb=[a,d];this.X=b();this.J=b();this.J.gain.value=d;this.H=b();this.H.gain.value=1-d;this.ih=b();this.ih.gain.value=0;this.gb=u.createOscillator();
this.gb.frequency.value=a;this.gb.connect(this.ih.gain);c(this.gb);this.X.connect(this.ih);this.X.connect(this.H);this.ih.connect(this.J)}function x(a,d,c,e,f){this.type="distortion";this.hb=[a,d,c,e,f];this.X=b();this.Xi=b();this.Wi=b();this.Ys(c,Math.pow(10,e/20));this.J=b();this.J.gain.value=f;this.H=b();this.H.gain.value=1-f;this.xj=u.createWaveShaper();this.$h=new Float32Array(65536);this.qr(a,d);this.xj.$h=this.$h;this.X.connect(this.Xi);this.X.connect(this.H);this.Xi.connect(this.xj);this.xj.connect(this.Wi);
this.Wi.connect(this.J)}function k(a,b,d,c,e){this.type="compressor";this.hb=[a,b,d,c,e];this.$=u.createDynamicsCompressor();try{this.$.threshold.value=a,this.$.knee.value=b,this.$.ratio.value=d,this.$.attack.value=c,this.$.release.value=e}catch(f){}}function v(a,b){this.type="analyser";this.hb=[a,b];this.$=u.createAnalyser();this.$.fftSize=a;this.$.smoothingTimeConstant=b;this.or=new Float32Array(this.$.frequencyBinCount);this.To=new Uint8Array(a);this.ah=0}function B(){this.R=null;this.Ji=0;this.qe=
[];this.ol=this.Ci=this.Bi=0}function G(a,d){this.src=a;this.ka=J;this.Pc=d;this.Km=!1;var c=this;this.ml=this.yl=null;this.Ff=[];this.ej=0;this.Vo=this.Si=!1;J===w&&d&&(this.ka=z,this.yl=b());this.Hh=this.ua=null;var e;switch(this.ka){case z:this.ua=new Audio;J!==w||!u.createMediaElementSource||D.Dn||/wiiu/i.test(navigator.userAgent)||(this.Vo=!0,this.ua.addEventListener("canplay",function(){c.ml||(c.ml=u.createMediaElementSource(c.ua),c.ml.connect(c.yl))}));this.ua.autoplay=!1;this.ua.xu="auto";
this.ua.src=a;break;case w:e=new XMLHttpRequest;e.open("GET",a,!0);e.responseType="arraybuffer";e.onload=function(){c.Hh=e.response;c.uq()};e.send();break;case N:this.ua=!0;break;case F:this.ua=!0}}function q(a,d){var c=this;this.tag=d;this.va=this.$d=!0;this.src=a.src;this.buffer=a;this.ka=J;this.Pc=a.Pc;this.playbackRate=1;this.Al=!0;this.Bd=this.Fd=!1;this.Tc=0;this.Ag=this.uf=this.Dd=!1;this.Sg=this.volume=1;this.startTime=D.kc.Ca;this.Aa=this.$a=null;this.ed=!1;this.za=null;this.po=this.oo=this.no=
this.mo=this.ro=this.qo=0;this.m=null;var e=!1;this.ka!==w||this.buffer.ka!==z||this.buffer.Vo||(this.ka=z);switch(this.ka){case z:this.Pc?(this.m=a.ua,e=!a.Km,a.Km=!0):(this.m=new Audio,this.m.autoplay=!1,this.m.src=a.ua.src,e=!0);e&&this.m.addEventListener("ended",function(){I=c.tag;c.va=!0;D.trigger(cc.prototype.d.Dj,O)});break;case w:this.$a=b();this.$a.connect(p(d));this.buffer.ka===w?a.ua&&(this.m=u.createBufferSource(),this.m.buffer=a.ua,this.m.connect(this.$a)):(this.m=this.buffer.ua,this.buffer.yl.connect(this.$a));
break;case N:this.m=new window.Media(E+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(c.Al=!0,c.va=!0,I=c.tag,D.trigger(cc.prototype.d.Dj,O))});break;case F:this.m=!0}}function P(a,b){S.hasOwnProperty(a)?S[a].push(b):S[a]=[b];var d,c,e,f,g=u.destination;if(S.hasOwnProperty(a)&&(e=S[a],e.length))for(g=e[0].gc(),d=0,c=e.length;d<c;d++)f=e[d],d+1===c?f.tc(u.destination):f.tc(e[d+1].gc());za.length=0;if(a.length)for(d=0,c=H.length;d<c;d++)e=H[d],bb(a,e.tag)&&za.push(e);else X&&!X.tg()&&
(za.length=1,za[0]=X);d=0;for(c=za.length;d<c;d++)za[d].Ps(g);va&&ib===a&&(va.disconnect(),va.connect(g))}function M(){}var L=cc.prototype;L.wa=function(a){this.da=a;this.b=a.b};L.wa.prototype.aa=function(){};var D=null,O=null,I="",E="",z=0,w=1,N=2,F=3,J=z,u=null,K=[],H=[],X=null,R=0,ca=!1,pa=1,Aa=0,Ba=0,jb=1,kb=1,hc=10,ic=1E4,jc=1,va=null,ib="",Ia=!1,Ja=[],S={},lc="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");t.prototype.tc=function(a){this.J.disconnect();this.J.connect(a);
this.H.disconnect();this.H.connect(a)};t.prototype.remove=function(){this.X.disconnect();this.Ia.disconnect();this.J.disconnect();this.H.disconnect()};t.prototype.gc=function(){return this.X};f.prototype.tc=function(a){this.J.disconnect();this.J.connect(a);this.H.disconnect();this.H.connect(a)};f.prototype.remove=function(){this.X.disconnect();this.Rg.disconnect();this.wc.disconnect();this.bi.disconnect();this.J.disconnect();this.H.disconnect()};f.prototype.gc=function(){return this.X};g.prototype.tc=
function(a){this.J.disconnect();this.J.connect(a);this.H.disconnect();this.H.connect(a)};g.prototype.remove=function(){this.X.disconnect();this.ye.disconnect();this.J.disconnect();this.H.disconnect()};g.prototype.gc=function(){return this.X};m.prototype.tc=function(a){this.H.disconnect();this.H.connect(a);this.J.disconnect();this.J.connect(a)};m.prototype.remove=function(){this.X.disconnect();this.wc.disconnect();this.gb.disconnect();this.Xb.disconnect();this.H.disconnect();this.J.disconnect();this.gi.disconnect()};
m.prototype.gc=function(){return this.X};l.prototype.tc=function(a){this.H.disconnect();this.H.connect(a);this.J.disconnect();this.J.connect(a)};l.prototype.remove=function(){this.X.disconnect();this.Ia.disconnect();this.gb.disconnect();this.Xb.disconnect();this.H.disconnect();this.J.disconnect()};l.prototype.gc=function(){return this.X};A.prototype.tc=function(a){this.$.disconnect();this.$.connect(a)};A.prototype.remove=function(){this.$.disconnect()};A.prototype.gc=function(){return this.$};d.prototype.tc=
function(a){this.$.disconnect();this.$.connect(a)};d.prototype.remove=function(){this.gb.disconnect();this.Xb.disconnect();this.$.disconnect()};d.prototype.gc=function(){return this.$};r.prototype.tc=function(a){this.J.disconnect();this.J.connect(a);this.H.disconnect();this.H.connect(a)};r.prototype.remove=function(){this.gb.disconnect();this.ih.disconnect();this.X.disconnect();this.J.disconnect();this.H.disconnect()};r.prototype.gc=function(){return this.X};x.prototype.Ys=function(a,b){0.01>a&&(a=
0.01);this.Xi.gain.value=a;this.Wi.gain.value=Math.pow(1/a,0.6)*b};x.prototype.shape=function(a,b,d){var c=1.05*d*b-b;d=0>a?-1:1;a=0>a?-a:a;b=a<b?a:b+c*(1-Math.exp(-(1/c)*(a-b)));return b*d};x.prototype.qr=function(a,b){for(var d=Math.pow(10,a/20),c=Math.pow(10,b/20),e=0,f=0;32768>f;++f)e=f/32768,e=this.shape(e,d,c),this.$h[32768+f]=e,this.$h[32768-f-1]=-e};x.prototype.tc=function(a){this.J.disconnect();this.J.connect(a);this.H.disconnect();this.H.connect(a)};x.prototype.remove=function(){this.X.disconnect();
this.Xi.disconnect();this.xj.disconnect();this.Wi.disconnect();this.J.disconnect();this.H.disconnect()};x.prototype.gc=function(){return this.X};k.prototype.tc=function(a){this.$.disconnect();this.$.connect(a)};k.prototype.remove=function(){this.$.disconnect()};k.prototype.gc=function(){return this.$};v.prototype.mb=function(){this.$.getFloatFrequencyData(this.or);this.$.getByteTimeDomainData(this.To);for(var a=this.$.fftSize,b=0,d=this.ah=0,c=0;b<a;b++)c=(this.To[b]-128)/128,0>c&&(c=-c),this.ah<
c&&(this.ah=c),d+=c*c;this.ah=e(this.ah);e(Math.sqrt(d/a))};v.prototype.tc=function(a){this.$.disconnect();this.$.connect(a)};v.prototype.remove=function(){this.$.disconnect()};v.prototype.gc=function(){return this.$};B.prototype.jh=function(a){if(this.R=a)this.Bi=this.R.x,this.Ci=this.R.y;this.qe.length=0};B.prototype.ri=function(){return!!this.R};B.prototype.mb=function(a){this.R&&0!==a&&(this.ol=La(this.Bi,this.Ci,this.R.x,this.R.y),a=Qa(this.Bi,this.Ci,this.R.x,this.R.y)/a,4>this.qe.length||this.qe.shift(),
this.qe.push(a),this.Bi=this.R.x,this.Ci=this.R.y)};B.prototype.qn=function(){if(!this.qe.length)return 0;var a,b,d=0;a=0;for(b=this.qe.length;a<b;a++)d+=this.qe[a];return d/this.qe.length};B.prototype.yk=function(){return Math.cos(this.ol)*this.qn()};B.prototype.zk=function(){return Math.sin(this.ol)*this.qn()};var kc=!1;G.prototype.uq=function(){if(!this.ua&&this.Hh){var a=this;if(u.decodeAudioData)u.decodeAudioData(this.Hh,function(b){a.ua=b;var d,c,e;if(fa(a.Ti)||ca)fa(a.Wh)||(d=a.Wh.ye,d.normalize=
a.$n,d.buffer=b);else if(a.Ff.length){d=0;for(c=a.Ff.length;d<c;d++){b=a.Ff[d];e=new q(a,b.Yo);e.Mo(!0);if("undefined"!==typeof b.bo&&(b.R=D.ni(b.bo),!b.R))continue;if(b.R){var f=Pa(b.R.x,b.R.y,-b.R.k.ab(),Aa,Ba,!0),g=Pa(b.R.x,b.R.y,-b.R.k.ab(),Aa,Ba,!1);e.Rl(f,g,Da(b.R.j-b.R.k.ab()),b.Ek,b.ql,b.tl);e.jh(b.R)}else e.Rl(b.x,b.y,b.Xp,b.Ek,b.ql,b.tl);e.play(a.hl,a.jm,a.ej);a.Si&&e.pause();H.push(e)}a.Ff.length=0}else e=new q(a,a.Ti),e.play(a.hl,a.jm,a.ej),a.Si&&e.pause(),H.push(e)});else if(this.ua=
u.createBuffer(this.Hh,!1),fa(this.Ti)||ca)fa(this.Wh)||(b=this.Wh.ye,b.normalize=this.$n,b.buffer=this.ua);else{var b=new q(this,this.Ti);b.play(this.hl,this.jm,this.ej);this.Si&&b.pause();H.push(b)}}};q.prototype.tg=function(){switch(this.ka){case z:return this.m.ended;case w:return this.buffer.ka===w?!this.$d&&!this.va&&this.m.loop||this.Bd?!1:D.kc.Ca-this.startTime>this.buffer.ua.duration:this.m.ended;case N:return this.Al;case F:!0}return!0};q.prototype.kq=function(){return this.$d||this.va?
!0:this.tg()};q.prototype.Mo=function(a){J===w&&(!this.ed&&a?this.$a&&(this.Aa||(this.Aa=u.createPanner(),this.Aa.panningModel="number"===typeof this.Aa.panningModel?jb:["equalpower","HRTF","soundfield"][jb],this.Aa.distanceModel="number"===typeof this.Aa.distanceModel?kb:["linear","inverse","exponential"][kb],this.Aa.refDistance=hc,this.Aa.maxDistance=ic,this.Aa.rolloffFactor=jc),this.$a.disconnect(),this.$a.connect(this.Aa),this.Aa.connect(p(this.tag)),this.ed=!0):this.ed&&!a&&this.$a&&(this.Aa.disconnect(),
this.$a.disconnect(),this.$a.connect(p(this.tag)),this.ed=!1))};q.prototype.Rl=function(a,b,d,c,e,f){this.ed&&J===w&&(this.Aa.setPosition(a,b,0),this.Aa.setOrientation(Math.cos(C(d)),Math.sin(C(d)),0),this.Aa.coneInnerAngle=c,this.Aa.coneOuterAngle=e,this.Aa.coneOuterGain=f,this.qo=a,this.ro=b,this.mo=d,this.no=c,this.oo=e,this.po=f)};q.prototype.jh=function(a){this.ed&&J===w&&(this.za||(this.za=new B),this.za.jh(a))};q.prototype.mb=function(a){if(this.ed&&J===w&&this.za&&this.za.ri()&&this.rf()){this.za.mb(a);
a=this.za.R;var b=Pa(a.x,a.y,-a.k.ab(),Aa,Ba,!0),d=Pa(a.x,a.y,-a.k.ab(),Aa,Ba,!1);this.Aa.setPosition(b,d,0);b=0;"undefined"!==typeof this.za.R.j&&(b=a.j-a.k.ab(),this.Aa.setOrientation(Math.cos(b),Math.sin(b),0));b=Pa(this.za.yk(),this.za.zk(),-a.k.ab(),0,0,!0);d=Pa(this.za.yk(),this.za.zk(),-a.k.ab(),0,0,!1);this.Aa.setVelocity(b,d,0)}};q.prototype.play=function(b,d,e){var f=this.m;this.Dd=b;this.volume=d;e=e||0;switch(this.ka){case z:1!==f.playbackRate&&(f.playbackRate=1);f.volume!==d*pa&&(f.volume=
d*pa);f.loop!==b&&(f.loop=b);f.muted&&(f.muted=!1);if(f.currentTime!==e)try{f.currentTime=e}catch(g){}if(this.Pc&&Ia&&!D.dd)Ja.push(this);else try{this.m.play()}catch(h){}break;case w:this.muted=!1;this.Sg=1;if(this.buffer.ka===w)this.$d||(this.m=u.createBufferSource(),this.m.buffer=this.buffer.ua,this.m.connect(this.$a)),this.m.loop=b,this.$a.gain.value=d*pa,0===e?c(this.m):a(this.m,e,this.nf());else{1!==f.playbackRate&&(f.playbackRate=1);f.loop!==b&&(f.loop=b);this.$a.gain.value=d*pa;if(f.currentTime!==
e)try{f.currentTime=e}catch(k){}this.Pc&&Ia&&!D.dd?Ja.push(this):f.play()}break;case N:(!this.$d&&this.va||0!==e)&&f.seekTo(e);f.play();this.Al=!1;break;case F:D.xb?AppMobi.context.playSound(this.src,b):AppMobi.player.playSound(this.src,b)}this.playbackRate=1;this.startTime=D.kc.Ca-e;this.Bd=this.va=this.$d=!1};q.prototype.stop=function(){switch(this.ka){case z:this.m.paused||this.m.pause();break;case w:this.buffer.ka===w?h(this.m):this.m.paused||this.m.pause();break;case N:this.m.stop();break;case F:D.xb&&
AppMobi.context.stopSound(this.src)}this.va=!0;this.Bd=!1};q.prototype.pause=function(){if(!(this.$d||this.va||this.tg()||this.Bd)){switch(this.ka){case z:this.m.paused||this.m.pause();break;case w:this.buffer.ka===w?(this.Tc=this.wk(),this.Dd&&(this.Tc%=this.nf()),h(this.m)):this.m.paused||this.m.pause();break;case N:this.m.pause();break;case F:D.xb&&AppMobi.context.stopSound(this.src)}this.Bd=!0}};q.prototype.Ps=function(a){this.ka===w&&(this.ed?(this.Aa.disconnect(),this.Aa.connect(a)):(this.$a.disconnect(),
this.$a.connect(a)))};q.prototype.nf=function(){switch(this.ka){case z:if("undefined"!==typeof this.m.duration)return this.m.duration;break;case w:return this.buffer.ua.duration;case N:return this.m.getDuration();case F:if(D.xb)return AppMobi.context.getDurationSound(this.src)}return 0};q.prototype.wk=function(){var a=this.nf(),b=0;switch(this.ka){case z:"undefined"!==typeof this.m.currentTime&&(b=this.m.currentTime);break;case w:if(this.buffer.ka===w){if(this.Bd)return this.Tc;b=D.kc.Ca-this.startTime}else"undefined"!==
typeof this.m.currentTime&&(b=this.m.currentTime);break;case F:D.xb&&(b=AppMobi.context.getPlaybackTimeSound(this.src))}!this.Dd&&b>a&&(b=a);return b};q.prototype.rf=function(){return!this.Bd&&!this.$d&&!this.va&&!this.tg()};q.prototype.nt=function(){var a=this.volume*pa;switch(this.ka){case z:this.m.volume&&this.m.volume!==a&&(this.m.volume=a);break;case w:this.$a.gain.value=a*this.Sg}};q.prototype.di=function(a){switch(this.ka){case z:this.m.muted!==!!a&&(this.m.muted=!!a);break;case w:this.Sg=
a?0:1,this.$a.gain.value=pa*this.volume*this.Sg}};q.prototype.Zs=function(){this.uf=!0;this.di(this.uf||this.Ag)};q.prototype.No=function(a){this.Ag=!!a;this.di(this.uf||this.Ag)};q.prototype.jp=function(){var a=this.playbackRate;if(1===R&&!this.Pc||2===R)a*=D.Rf;switch(this.ka){case z:this.m.playbackRate!==a&&(this.m.playbackRate=a);break;case w:this.buffer.ka===w?this.m.playbackRate.value!==a&&(this.m.playbackRate.value=a):this.m.playbackRate!==a&&(this.m.playbackRate=a)}};q.prototype.$s=function(b){switch(this.ka){case z:b?
this.rf()?(this.m.pause(),this.Fd=!0):this.Fd=!1:this.Fd&&this.m.play();break;case w:b?this.rf()?(this.buffer.ka===w?(this.Tc=this.wk(),this.Dd&&(this.Tc%=this.nf()),h(this.m)):this.m.pause(),this.Fd=!0):this.Fd=!1:this.Fd&&(this.buffer.ka===w?(this.m=u.createBufferSource(),this.m.buffer=this.buffer.ua,this.m.connect(this.$a),this.m.loop=this.Dd,this.$a.gain.value=pa*this.volume*this.Sg,this.startTime=D.kc.Ca-this.Tc,a(this.m,this.Tc,this.nf())):this.m.play());break;case N:b?this.rf()?(this.m.pause(),
this.Fd=!0):this.Fd=!1:this.Fd&&this.m.play()}};L.pa=function(a){this.type=a;D=this.b=a.b;O=this;this.Ab=null;this.Jg=-600;!(this.b.yi||this.b.Ok&&(this.b.xg||this.b.Cn))||this.b.ti||this.b.bb||(Ia=!0);u=null;"undefined"!==typeof AudioContext?(J=w,u=new AudioContext):"undefined"!==typeof webkitAudioContext&&(J=w,u=new webkitAudioContext);(this.b.yi&&J===w||Ia)&&document.addEventListener("touchstart",function(){var a,b,d;!kc&&u&&(a=u.createBuffer(1,1,22050),b=u.createBufferSource(),b.buffer=a,b.connect(u.destination),
c(b),kc=!0);if(Ia){if(!ca)for(a=0,b=Ja.length;a<b;++a)d=Ja[a],d.va||d.Bd||d.m.play();Ja.length=0}},!0);J!==w&&(this.b.He?J=N:this.b.qf&&(J=F));J===N&&(E=location.href,a=E.lastIndexOf("/"),-1<a&&(E=E.substr(0,a+1)),E=E.replace("file://",""));if(this.b.En&&this.b.ns&&"undefined"===typeof Audio)alert("It looks like you're using Safari for Windows without Quicktime.  Audio cannot be played until Quicktime is installed."),this.b.Ld(this);else{if(!this.b.xb)try{new Audio}catch(b){}this.b.rj(this)}};var qa=
L.pa.prototype;qa.aa=function(){R=this.V[0];this.Gd=this.V[1];jb=this.V[2];kb=this.V[3];this.Jg=-this.V[4];hc=this.V[5];ic=this.V[6];jc=this.V[7];this.Ab=new B;J===w&&(u.listener.speedOfSound=this.V[8],u.listener.dopplerFactor=this.V[9],u.listener.setPosition(this.b.T/2,this.b.S/2,this.Jg),u.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=function(a,b){va&&va.disconnect();ib=b.toLowerCase();va=u.createMediaStreamSource(a);va.connect(p(ib))});this.b.Jm(function(a){O.Gs(a)});var a=this;
this.b.Hm(function(b){a.Bs(b)})};qa.Bs=function(a){var b,d,c;b=0;for(d=H.length;b<d;b++)c=H[b],c.za&&c.za.R===a&&(c.za.R=null,c.ed&&c.rf()&&c.Dd&&c.stop());this.Ab.R===a&&(this.Ab.R=null)};qa.Mb=function(){var a={silent:ca,masterVolume:pa,listenerZ:this.Jg,listenerUid:this.Ab.ri()?this.Ab.R.uid:-1,playing:[],effects:{}},b=a.playing,d,c,e,f,g,h;d=0;for(c=H.length;d<c;d++)e=H[d],!e.rf()||3===this.Gd||e.Pc&&1===this.Gd||!e.Pc&&2===this.Gd||(f=e.wk(),e.Dd&&(f%=e.nf()),f={tag:e.tag,buffersrc:e.buffer.src,
is_music:e.Pc,playbackTime:f,volume:e.volume,looping:e.Dd,muted:e.uf,playbackRate:e.playbackRate,paused:e.Bd,resume_position:e.Tc},e.ed&&(f.pan={},h=f.pan,e.za&&e.za.ri()?h.objUid=e.za.R.uid:(h.x=e.qo,h.y=e.ro,h.a=e.mo),h.ia=e.no,h.oa=e.oo,h.og=e.po),b.push(f));b=a.effects;for(g in S)if(S.hasOwnProperty(g)){e=[];d=0;for(c=S[g].length;d<c;d++)e.push({type:S[g][d].type,params:S[g][d].hb});b[g]=e}return a};var Ka=[];qa.mc=function(a){var b=a.silent;pa=a.masterVolume;this.Jg=a.listenerZ;this.Ab.jh(null);
var c=a.listenerUid;-1!==c&&(this.Ab.Ji=c,Ka.push(this.Ab));var c=a.playing,e,h,q,n,p,G,M,L,w,u,z;if(3!==this.Gd)for(e=0,h=H.length;e<h;e++)w=H[e],w.Pc&&1===this.Gd||(w.Pc||2!==this.Gd)&&w.stop();for(p in S)if(S.hasOwnProperty(p))for(e=0,h=S[p].length;e<h;e++)S[p][e].remove();Ta(S);for(p in a.effects)if(a.effects.hasOwnProperty(p))for(G=a.effects[p],e=0,h=G.length;e<h;e++)switch(q=G[e].type,u=G[e].params,q){case "filter":P(p,new t(u[0],u[1],u[2],u[3],u[4],u[5]));break;case "delay":P(p,new f(u[0],
u[1],u[2]));break;case "convolve":q=u[2];w=this.pk(q,!1);w.ua?q=new g(w.ua,u[0],u[1],q):(q=new g(null,u[0],u[1],q),w.$n=u[0],w.Wh=q);P(p,q);break;case "flanger":P(p,new m(u[0],u[1],u[2],u[3],u[4]));break;case "phaser":P(p,new l(u[0],u[1],u[2],u[3],u[4],u[5]));break;case "gain":P(p,new A(u[0]));break;case "tremolo":P(p,new d(u[0],u[1]));break;case "ringmod":P(p,new r(u[0],u[1]));break;case "distortion":P(p,new x(u[0],u[1],u[2],u[3],u[4]));break;case "compressor":P(p,new k(u[0],u[1],u[2],u[3],u[4]));
break;case "analyser":P(p,new v(u[0],u[1]))}e=0;for(h=c.length;e<h;e++)3===this.Gd||(a=c[e],q=a.buffersrc,n=a.is_music,p=a.tag,G=a.playbackTime,M=a.looping,L=a.volume,z=(u=a.pan)&&u.hasOwnProperty("objUid")?u.objUid:-1,n&&1===this.Gd)||!n&&2===this.Gd||((w=this.tr(q,p,n,M,L))?(w.Tc=a.resume_position,w.Mo(!!u),w.play(M,L,G),w.jp(),w.nt(),w.di(w.uf||w.Ag),a.paused&&w.pause(),a.muted&&w.Zs(),w.di(w.uf||w.Ag),u&&(-1!==z?(w.za=w.za||new B,w.za.Ji=z,Ka.push(w.za)):w.Rl(u.x,u.y,u.a,u.ia,u.oa,u.og))):(w=
this.pk(q,n),w.ej=G,w.Si=a.paused,u&&(-1!==z?w.Ff.push({bo:z,Ek:u.ia,ql:u.oa,tl:u.og,Yo:p}):w.Ff.push({x:u.x,y:u.y,Xp:u.a,Ek:u.ia,ql:u.oa,tl:u.og,Yo:p}))));if(b&&!ca){e=0;for(h=H.length;e<h;e++)H[e].No(!0);ca=!0}else if(!b&&ca){e=0;for(h=H.length;e<h;e++)H[e].No(!1);ca=!1}};qa.pd=function(){var a,b,d,c;a=0;for(b=Ka.length;a<b;a++)d=Ka[a],c=this.b.ni(d.Ji),d.jh(c),d.Ji=-1,c&&(Aa=c.x,Ba=c.y);Ka.length=0};qa.Gs=function(a){var b,d;b=0;for(d=H.length;b<d;b++)H[b].$s(a)};qa.mb=function(){var a=this.b.Ae,
b,d,c;b=0;for(d=H.length;b<d;b++)c=H[b],c.mb(a),c.ka===z||c.ka===F||c.$d||c.va||!c.tg()||(c.va=!0,I=c.tag,D.trigger(cc.prototype.d.Dj,O)),0!==R&&c.jp();var e,f;for(e in S)if(S.hasOwnProperty(e))for(c=S[e],b=0,d=c.length;b<d;b++)f=c[b],f.mb&&f.mb();J===w&&this.Ab.ri()&&(this.Ab.mb(a),Aa=this.Ab.R.x,Ba=this.Ab.R.y,u.listener.setPosition(this.Ab.R.x,this.Ab.R.y,this.Jg),u.listener.setVelocity(this.Ab.yk(),this.Ab.zk(),0))};qa.pk=function(a,b){var d,c,e,f=null;d=0;for(c=K.length;d<c;d++)if(e=K[d],e.src===
a){f=e;break}f||(f=new G(a,b),K.push(f));return f};qa.tr=function(a,b,d,c,e){var f,g,h;f=0;for(g=H.length;f<g;f++)if(h=H[f],h.src===a&&(h.kq()||d))return h.tag=b,h;a=this.pk(a,d);if(!a.ua)return"<preload>"!==b&&(a.Ti=b,a.hl=c,a.jm=e),null;h=new q(a,b);H.push(h);return h};var za=[];M.prototype.Dj=function(a){return bb(I,a)};L.d=new M;L.e=new function(){};L.i=new function(){}})();function W(e){this.b=e}
(function(){function e(){}var p=W.prototype;p.wa=function(b){this.da=b;this.b=b.b};p.wa.prototype.aa=function(){};p.pa=function(b){this.type=b;this.b=b.b};p.pa.prototype.aa=function(){var b=this;window.addEventListener("resize",function(){b.b.trigger(W.prototype.d.Mp,b)});"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){b.b.trigger(W.prototype.d.Jp,b)}),window.addEventListener("offline",function(){b.b.trigger(W.prototype.d.Ip,b)}));"undefined"!==typeof window.applicationCache&&
(window.applicationCache.addEventListener("updateready",function(){b.b.xf=1;b.b.trigger(W.prototype.d.ym,b)}),window.applicationCache.addEventListener("progress",function(e){b.b.xf=e.loaded/e.total}));this.b.xb||(document.addEventListener("appMobi.device.update.available",function(){b.b.trigger(W.prototype.d.ym,b)}),document.addEventListener("backbutton",function(){b.b.trigger(W.prototype.d.Cj,b)}),document.addEventListener("menubutton",function(){b.b.trigger(W.prototype.d.tm,b)}),document.addEventListener("searchbutton",
function(){b.b.trigger(W.prototype.d.Np,b)}),document.addEventListener("tizenhwkey",function(e){var c;switch(e.keyName){case "back":c=b.b.trigger(W.prototype.d.Cj,b);!c&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(c=b.b.trigger(W.prototype.d.tm,b))||e.preventDefault()}}));this.b.Wk&&(WinJS.Application.onbackclick=function(){return!!b.b.trigger(W.prototype.d.Cj,b)});this.b.Jm(function(e){e?b.b.trigger(W.prototype.d.Kp,b):b.b.trigger(W.prototype.d.Lp,b)})};
e.prototype.Jp=function(){return!0};e.prototype.Ip=function(){return!0};e.prototype.ym=function(){return!0};e.prototype.Lp=function(){return!0};e.prototype.Kp=function(){return!0};e.prototype.Mp=function(){return!0};e.prototype.Cj=function(){return!0};e.prototype.tm=function(){return!0};e.prototype.Np=function(){return!0};p.d=new e;p.e=new function(){};p.i=new function(){}})();function dc(e){this.b=e}
(function(){function e(){}var p=dc.prototype;p.wa=function(b){this.da=b;this.b=b.b};p.wa.prototype.aa=function(){};p.pa=function(b){this.type=b;this.b=b.b};var b=p.pa.prototype;b.aa=function(){this.ci={}};b.Mb=function(){return this.ci};b.mc=function(b){this.ci=b;for(var c in this.ci);};p.d=new function(){};p.e=new function(){};e.prototype.xh=function(b){b.rb(JSON.stringify({c2dictionary:!0,data:this.ci}))};p.i=new e})();function V(e){this.b=e}
(function(){function e(){this.name="";this.Ll=0;this.hb=[]}function p(){t++;t===h.length&&h.push(new e);return h[t]}function b(){}function n(){}function c(){}var a=V.prototype;a.wa=function(a){this.da=a;this.b=a.b};a.wa.prototype.aa=function(){};a.pa=function(a){this.type=a;this.b=a.b};var h=[],t=-1;a.pa.prototype.aa=function(){};b.prototype.Lc=function(a){var b=0>t?null:h[t];return b?bb(a,b.name):!1};b.prototype.ue=function(a,b,c){var e=0>t?null:h[t];if(!e)return!1;a=y(a);return 0>a||a>=e.hb.length?
!1:Sb(e.hb[a],b,c)};a.d=new b;n.prototype.CallFunction=function(a,b){var c=p();c.name=a.toLowerCase();c.Ll=0;xa(c.hb,b);this.b.trigger(V.prototype.d.Lc,this,c.name);t--};a.e=new n;c.prototype.ac=function(a,b){b=y(b);var c=0>t?null:h[t];c?0<=b&&b<c.hb.length?a.Sl(c.hb[b]):a.ha(0):a.ha(0)};c.prototype.qp=function(a,b){var c=p();c.name=b.toLowerCase();c.Ll=0;c.hb.length=0;var e,h;e=2;for(h=arguments.length;e<h;e++)c.hb.push(arguments[e]);this.b.trigger(V.prototype.d.Lc,this,c.name);t--;a.Sl(c.Ll)};a.i=
new c})();function ec(e){this.b=e}
(function(){function e(a){this.n=a;this.Za=!1;this.j=this.speed=this.y=this.x=0;this.opacity=1;this.Pd=this.of=this.size=this.pi=0}function p(){}var b=ec.prototype;b.wa=function(a){this.da=a;this.b=a.b};var n=b.wa.prototype;n.aa=function(){this.D||(this.A=new Image,this.A.idtkLoadDisposed=!0,this.A.src=this.qh,this.A.Wj=this.oj,this.C=null,this.b.wj(this.A))};n.Wg=function(){this.D||(this.C=null)};n.Xg=function(){this.D||!this.c.length||this.C||(this.C=this.b.B.ee(this.A,!0,this.b.U,this.Ve))};n.Kg=
function(){this.D||this.C||!this.b.B||(this.C=this.b.B.ee(this.A,!0,this.b.U,this.Ve))};n.sh=function(){this.D||this.c.length||!this.C||(this.b.B.deleteTexture(this.C),this.C=null)};n.bh=function(a){a.drawImage(this.A,0,0)};e.prototype.init=function(){var a=this.n;this.x=a.x-a.yj/2+Math.random()*a.yj;this.y=a.y-a.zj/2+Math.random()*a.zj;this.speed=a.Lk-a.jj/2+Math.random()*a.jj;this.j=a.j-a.kj/2+Math.random()*a.kj;this.opacity=a.Jk;this.size=a.Kk-a.hj/2+Math.random()*a.hj;this.pi=a.Ak-a.qi/2+Math.random()*
a.qi;this.Pd=this.of=0};e.prototype.mb=function(a){var b=this.n;this.x+=Math.cos(this.j)*this.speed*a;this.y+=Math.sin(this.j)*this.speed*a;this.y+=this.of*a;this.speed+=b.Jj*a;this.size+=this.pi*a;this.of+=b.ok*a;this.Pd+=a;1>this.size?this.Za=!1:(0!==b.Gg&&(this.j+=Math.random()*b.Gg*a-b.Gg*a/2),0!==b.Ig&&(this.speed+=Math.random()*b.Ig*a-b.Ig*a/2),0!==b.Hg&&(this.opacity+=Math.random()*b.Hg*a-b.Hg*a/2,0>this.opacity?this.opacity=0:1<this.opacity&&(this.opacity=1)),1>=b.jf&&this.Pd>=b.timeout&&
(this.Za=!1),2===b.jf&&0>=this.speed&&(this.Za=!1))};e.prototype.xc=function(a){var b=this.n.opacity*this.opacity;if(0!==b){0===this.n.jf&&(b*=1-this.Pd/this.n.timeout);a.globalAlpha=b;var b=this.x-this.size/2,c=this.y-this.size/2;this.n.b.Fc&&(b=b+0.5|0,c=c+0.5|0);a.drawImage(this.n.type.A,b,c,this.size,this.size)}};e.prototype.Ib=function(a){var b=this.n.opacity*this.opacity;0===this.n.jf&&(b*=1-this.Pd/this.n.timeout);var c=this.size,e=c*this.n.vo,g=this.x-c/2,m=this.y-c/2;this.n.b.Fc&&(g=g+0.5|
0,m=m+0.5|0);1>e||0===b||(e<a.xs||e>a.kl?(a.le(b),a.fh(g,m,g+c,m,g+c,m+c,g,m+c)):a.Is(this.x,this.y,e,b))};e.prototype.left=function(){return this.x-this.size/2};e.prototype.right=function(){return this.x+this.size/2};e.prototype.top=function(){return this.y-this.size/2};e.prototype.bottom=function(){return this.y+this.size/2};b.pa=function(a){this.type=a;this.b=a.b};var n=b.pa.prototype,c=[];n.aa=function(){var a=this.V;this.aj=a[0];this.kj=C(a[1]);this.Lf=a[2];this.lj=!0;this.Lk=a[3];this.Kk=a[4];
this.Jk=a[5]/100;this.Ak=a[6];this.yj=a[7];this.zj=a[8];this.jj=a[9];this.hj=a[10];this.qi=a[11];this.Jj=a[12];this.ok=a[13];this.Gg=a[14];this.Ig=a[15];this.Hg=a[16];this.jf=a[17];this.timeout=a[18];this.Re=0;this.vo=1;this.Pi=this.x;this.Ri=this.y;this.Qi=this.x;this.Oi=this.y;this.bq(function(a){a.Ea.set(a.Pi,a.Ri,a.Qi,a.Oi);a.Gb.Kf(a.Ea);a.Mh=!1;a.fm()});this.nc||(this.Cb=[]);this.b.rj(this);this.type.Kg();if(1===this.Lf)for(a=0;a<this.aj;a++)this.Kj().opacity=0;this.ii=!0};n.Mb=function(){var a=
{r:this.aj,sc:this.kj,st:this.Lf,s:this.lj,isp:this.Lk,isz:this.Kk,io:this.Jk,gr:this.Ak,xr:this.yj,yr:this.zj,spr:this.jj,szr:this.hj,grnd:this.qi,acc:this.Jj,g:this.ok,lar:this.Gg,lsr:this.Ig,lor:this.Hg,dm:this.jf,to:this.timeout,pcc:this.Re,ft:this.ii,p:[]},b,c,e,g=a.p;b=0;for(c=this.Cb.length;b<c;b++)e=this.Cb[b],g.push([e.x,e.y,e.speed,e.j,e.opacity,e.pi,e.size,e.of,e.Pd]);return a};n.mc=function(a){this.aj=a.r;this.kj=a.sc;this.Lf=a.st;this.lj=a.s;this.Lk=a.isp;this.Kk=a.isz;this.Jk=a.io;this.Ak=
a.gr;this.yj=a.xr;this.zj=a.yr;this.jj=a.spr;this.hj=a.szr;this.qi=a.grnd;this.Jj=a.acc;this.ok=a.g;this.Gg=a.lar;this.Ig=a.lsr;this.Hg=a.lor;this.jf=a.dm;this.timeout=a.to;this.Re=a.pcc;this.ii=a.ft;c.push.apply(c,this.Cb);this.Cb.length=0;var b,e,f,g=a.p;a=0;for(b=g.length;a<b;a++)e=this.Kj(),f=g[a],e.x=f[0],e.y=f[1],e.speed=f[2],e.j=f[3],e.opacity=f[4],e.pi=f[5],e.size=f[6],e.of=f[7],e.Pd=f[8]};n.Qe=function(){c.push.apply(c,this.Cb);this.Cb.length=0};n.Kj=function(){var a;c.length?(a=c.pop(),
a.n=this):a=new e(this);this.Cb.push(a);a.Za=!0;return a};n.mb=function(){var a=this.b.sk(this),b,e,f,g;if(0===this.Lf&&this.lj)for(this.Re+=a*this.aj,e=y(this.Re),this.Re-=e,b=0;b<e;b++)f=this.Kj(),f.init();this.Pi=this.x;this.Ri=this.y;this.Qi=this.x;this.Oi=this.y;g=b=0;for(e=this.Cb.length;b<e;b++)f=this.Cb[b],this.Cb[g]=f,this.b.ga=!0,1===this.Lf&&this.ii&&f.init(),f.mb(a),f.Za?(f.left()<this.Pi&&(this.Pi=f.left()),f.right()>this.Qi&&(this.Qi=f.right()),f.top()<this.Ri&&(this.Ri=f.top()),f.bottom()>
this.Oi&&(this.Oi=f.bottom()),g++):c.push(f);this.Cb.length=g;this.Va();this.ii=!1;1===this.Lf&&0===this.Cb.length&&this.b.Ld(this)};n.xc=function(a){var b,c,e,g=this.k;b=0;for(c=this.Cb.length;b<c;b++)e=this.Cb[b],e.right()>=g.nb&&e.bottom()>=g.ob&&e.left()<=g.Zb&&e.top()<=g.Yb&&e.xc(a)};n.Ib=function(a){this.vo=this.k.hc();a.Nb(this.type.C);var b,c,e,g=this.k;b=0;for(c=this.Cb.length;b<c;b++)e=this.Cb[b],e.right()>=g.nb&&e.bottom()>=g.ob&&e.left()<=g.Zb&&e.top()<=g.Yb&&e.Ib(a)};p.prototype.Cp=function(){return this.lj};
b.d=new p;b.e=new function(){};b.i=new function(){}})();function U(e){this.b=e}
(function(){function e(){if(0===this.bk.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.Mf?b.drawImage(this.A,this.Df,this.Ef,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.A,0,0,this.width,this.height);this.bk=a.toDataURL("image/png")}return this.bk}function p(){}function b(a){a[0]=0;a[1]=0;a[2]=0;d.push(a)}function n(a,b){return a<b?""+a+","+b:""+b+","+a}function c(a,b,c,e){b=b.uid;c=c.uid;var f=n(b,c);if(a.hasOwnProperty(f))a[f][2]=
e;else{var g=d.length?d.pop():[0,0,0];g[0]=b;g[1]=c;g[2]=e;a[f]=g}}function a(a,d,c){d=n(d.uid,c.uid);a.hasOwnProperty(d)&&(b(a[d]),delete a[d])}function h(a,b,d){b=n(b.uid,d.uid);if(a.hasOwnProperty(b))return r=a[b][2],!0;r=-2;return!1}function t(){}function f(){}var g=U.prototype;g.wa=function(a){this.da=a;this.b=a.b};var m=g.wa.prototype;m.aa=function(){if(!this.D){var a,b,d,c,f,g,h,k,l;this.Mc=[];this.si=!1;a=0;for(b=this.Qb.length;a<b;a++){f=this.Qb[a];h={};h.name=f[0];h.speed=f[1];h.loop=f[2];
h.Kl=f[3];h.bj=f[4];h.wo=f[5];h.W=f[6];h.frames=[];d=0;for(c=f[7].length;d<c;d++)g=f[7][d],k={},k.qh=g[0],k.oj=g[1],k.Df=g[2],k.Ef=g[3],k.width=g[4],k.height=g[5],k.duration=g[6],k.ub=g[7],k.wb=g[8],k.Fk=g[9],k.Ui=g[10],k.xo=g[11],k.Mf=0!==k.width,k.bk="",k.ru=e,l={left:0,top:0,right:1,bottom:1},k.Tl=l,k.C=null,(l=this.b.nr(g[0]))?k.A=l:(k.A=new Image,k.A.idtkLoadDisposed=!0,k.A.src=g[0],k.A.rq=g[0],k.A.Wj=g[1],k.A.jq=null,this.b.wj(k.A)),h.frames.push(k),this.Mc.push(k);this.Qb[a]=h}}};m.mt=function(){var a,
b,d;a=0;for(b=this.c.length;a<b;a++)d=this.c[a],d.Zh=d.fc.C};m.Wg=function(){if(!this.D){var a,b,d;a=0;for(b=this.Mc.length;a<b;++a)d=this.Mc[a],d.A.jq=null,d.C=null}};m.Xg=function(){if(!this.D&&this.c.length){var a,b,d;a=0;for(b=this.Mc.length;a<b;++a)d=this.Mc[a],d.C=this.b.B.ee(d.A,!1,this.b.U,d.xo);this.mt()}};m.Kg=function(){if(!this.D&&!this.si&&this.b.B){var a,b,d;a=0;for(b=this.Mc.length;a<b;++a)d=this.Mc[a],d.C=this.b.B.ee(d.A,!1,this.b.U,d.xo);this.si=!0}};m.sh=function(){if(!this.D&&!this.c.length&&
this.si){var a,b,d;a=0;for(b=this.Mc.length;a<b;++a)d=this.Mc[a],this.b.B.deleteTexture(d.C),d.C=null;this.si=!1}};var l=[];m.bh=function(a){var b,d,c;b=l.length=0;for(d=this.Mc.length;b<d;++b)c=this.Mc[b].A,-1===l.indexOf(c)&&(a.drawImage(c,0,0),l.push(c))};g.pa=function(a){this.type=a;this.b=a.b;a=this.type.Qb[0].frames[0].Ui;this.nc?this.ca.kh(a):this.ca=new Xa(a)};var A=g.pa.prototype;A.aa=function(){this.visible=0===this.V[0];this.Gk=this.Uk=!1;this.xe=0!==this.V[3];1===this.type.Qb.length&&
1===this.type.Qb[0].frames.length||0===this.type.Qb[0].speed||(this.b.rj(this),this.Uk=!0);this.xa=this.kn(this.V[1])||this.type.Qb[0];this.F=this.V[2];0>this.F&&(this.F=0);this.F>=this.xa.frames.length&&(this.F=this.xa.frames.length-1);var a=this.xa.frames[this.F];this.ca.kh(a.Ui);this.ub=a.ub;this.wb=a.wb;this.eg=this.xa.speed;this.nc?this.Xc.reset():this.Xc=new Va;this.xd=this.Xc.Ca;this.Qd=!0;this.qd=0;this.ve=!0;this.Rj=this.Lm="";this.nq=0;this.Qh=-1;this.type.Kg();var b,d,c,e,f,g,k,a=0;for(b=
this.type.Qb.length;a<b;a++)for(e=this.type.Qb[a],d=0,c=e.frames.length;d<c;d++)f=e.frames[d],0===f.width&&(f.width=f.A.width,f.height=f.A.height),f.Mf&&(k=f.A,g=f.Tl,g.left=f.Df/k.width,g.top=f.Ef/k.height,g.right=(f.Df+f.width)/k.width,g.bottom=(f.Ef+f.height)/k.height,0===f.Df&&0===f.Ef&&f.width===k.width&&f.height===k.height&&(f.Mf=!1));this.fc=this.xa.frames[this.F];this.Zh=this.fc.C};A.Mb=function(){var a={a:this.xa.W,f:this.F,cas:this.eg,fs:this.xd,ar:this.qd,at:this.Xc.Ca};this.Qd||(a.ap=
this.Qd);this.ve||(a.af=this.ve);return a};A.mc=function(a){var b=this.rr(a.a);b&&(this.xa=b);this.F=a.f;0>this.F&&(this.F=0);this.F>=this.xa.frames.length&&(this.F=this.xa.frames.length-1);this.eg=a.cas;this.xd=a.fs;this.qd=a.ar;this.Xc.reset();this.Xc.Ca=a.at;this.Qd=a.hasOwnProperty("ap")?a.ap:!0;this.ve=a.hasOwnProperty("af")?a.af:!0;this.fc=this.xa.frames[this.F];this.Zh=this.fc.C;this.ca.kh(this.fc.Ui);this.ub=this.fc.ub;this.wb=this.fc.wb};A.Nj=function(a){this.F=a?0:this.xa.frames.length-
1;this.Qd=!1;this.Lm=this.xa.name;this.Gk=!0;this.b.trigger(U.prototype.d.Ep,this);this.b.trigger(U.prototype.d.nm,this);this.Gk=!1;this.qd=0};A.tu=function(){return this.Xc.Ca};A.mb=function(){this.Xc.add(this.b.sk(this));this.Rj.length&&this.wq();0<=this.Qh&&this.Zm();var a=this.Xc.Ca,b=this.xa,d=b.frames[this.F],c=d.duration/this.eg;this.Qd&&a>=this.xd+c&&(this.ve?this.F++:this.F--,this.xd+=c,this.F>=b.frames.length&&(b.wo?(this.ve=!1,this.F=b.frames.length-2):b.loop?this.F=b.bj:(this.qd++,this.qd>=
b.Kl?this.Nj(!1):this.F=b.bj)),0>this.F&&(b.wo?(this.F=1,this.ve=!0,b.loop||(this.qd++,this.qd>=b.Kl&&this.Nj(!0))):b.loop?this.F=b.bj:(this.qd++,this.qd>=b.Kl?this.Nj(!0):this.F=b.bj)),0>this.F?this.F=0:this.F>=b.frames.length&&(this.F=b.frames.length-1),a>this.xd+b.frames[this.F].duration/this.eg&&(this.xd=a),a=b.frames[this.F],this.$e(d,a),this.b.ga=!0)};A.kn=function(a){var b,d,c;b=0;for(d=this.type.Qb.length;b<d;b++)if(c=this.type.Qb[b],bb(c.name,a))return c;return null};A.rr=function(a){var b,
d,c;b=0;for(d=this.type.Qb.length;b<d;b++)if(c=this.type.Qb[b],c.W===a)return c;return null};A.wq=function(){var a=this.xa.frames[this.F],b=this.kn(this.Rj);this.Rj="";!b||bb(b.name,this.xa.name)&&this.Qd||(this.xa=b,this.eg=b.speed,0>this.F&&(this.F=0),this.F>=this.xa.frames.length&&(this.F=this.xa.frames.length-1),1===this.nq&&(this.F=0),this.Qd=!0,this.xd=this.Xc.Ca,this.ve=!0,this.$e(a,this.xa.frames[this.F]),this.b.ga=!0)};A.Zm=function(){var a=this.xa.frames[this.F],b=this.F;this.F=y(this.Qh);
0>this.F&&(this.F=0);this.F>=this.xa.frames.length&&(this.F=this.xa.frames.length-1);b!==this.F&&(this.$e(a,this.xa.frames[this.F]),this.xd=this.Xc.Ca,this.b.ga=!0);this.Qh=-1};A.$e=function(a,b){var d=a.width,c=a.height,e=b.width,f=b.height;d!=e&&(this.width*=e/d);c!=f&&(this.height*=f/c);this.ub=b.ub;this.wb=b.wb;this.ca.kh(b.Ui);this.Va();this.fc=b;this.Zh=b.C;d=0;for(c=this.P.length;d<c;d++)e=this.P[d],e.Fs&&e.Fs(a,b);this.b.trigger(U.prototype.d.$e,this)};A.xc=function(a){a.globalAlpha=this.opacity;
var b=this.fc,d=b.Mf,c=b.A,e=this.x,f=this.y,g=this.width,k=this.height;if(0===this.j&&0<=g&&0<=k)e-=this.ub*g,f-=this.wb*k,this.b.Fc&&(e=e+0.5|0,f=f+0.5|0),d?a.drawImage(c,b.Df,b.Ef,b.width,b.height,e,f,g,k):a.drawImage(c,e,f,g,k);else{this.b.Fc&&(e=e+0.5|0,f=f+0.5|0);a.save();var h=0<g?1:-1,l=0<k?1:-1;a.translate(e,f);1===h&&1===l||a.scale(h,l);a.rotate(this.j*h*l);e=0-this.ub*ja(g);f=0-this.wb*ja(k);d?a.drawImage(c,b.Df,b.Ef,b.width,b.height,e,f,ja(g),ja(k)):a.drawImage(c,e,f,ja(g),ja(k));a.restore()}};
A.Ib=function(a){a.Nb(this.Zh);a.le(this.opacity);var b=this.fc,d=this.Gb;if(this.b.Fc){var c=(this.x+0.5|0)-this.x,e=(this.y+0.5|0)-this.y;b.Mf?a.fd(d.qa+c,d.ra+e,d.Xa+c,d.Ya+e,d.Pa+c,d.Qa+e,d.Na+c,d.Oa+e,b.Tl):a.fh(d.qa+c,d.ra+e,d.Xa+c,d.Ya+e,d.Pa+c,d.Qa+e,d.Na+c,d.Oa+e)}else b.Mf?a.fd(d.qa,d.ra,d.Xa,d.Ya,d.Pa,d.Qa,d.Na,d.Oa,b.Tl):a.fh(d.qa,d.ra,d.Xa,d.Ya,d.Pa,d.Qa,d.Na,d.Oa)};A.Er=function(a){var b=this.fc,d,c;d=0;for(c=b.Fk.length;d<c;d++)if(bb(a,b.Fk[d][0]))return d;return-1};A.De=function(a,
b){var d=this.fc,c=d.Fk,e;e=s(a)?this.Er(a):a-1;e=y(e);if(0>e||e>=c.length)return b?this.x:this.y;var f=(c[e][1]-d.ub)*this.width,c=c[e][2],c=(c-d.wb)*this.height,d=Math.cos(this.j);e=Math.sin(this.j);var g=f*d-c*e,c=c*d+f*e,f=g+this.x,c=c+this.y;return b?f:c};var d=[],r=-2,x=[];p.prototype.om=function(d){if(!d)return!1;var e=this.b,f=e.li(),g=f.type;f.M.Uj||(f.M.Uj={},e.Hm(function(a){return function(d){d=d.uid;var c,e;for(c in a)a.hasOwnProperty(c)&&(e=a[c],e[0]===d||e[1]===d)&&(b(a[c]),delete a[c])}}(f.M.Uj)));
var f=f.M.Uj,k=g.L(),l=d.L(),k=k.Jb(),m,n,p,A,v,t,N,F=this.b.Qf,J=F-1,u=e.Ja().Ha;for(n=0;n<k.length;n++){p=k[n];l.N?(p.Ma(),this.b.wr(p.k,d,p.Ea,x),m=x):m=l.Jb();for(A=0;A<m.length;A++)v=m[A],e.gt(p,v)||e.oq(p,v)?(t=h(f,p,v),t=!t||r<J,c(f,p,v,F),t&&(e.Ed(u.O),t=g.L(),N=d.L(),t.N=!1,N.N=!1,g===d?(t.c.length=2,t.c[0]=p,t.c[1]=v,g.cc()):(t.c.length=1,N.c.length=1,t.c[0]=p,N.c[0]=v,g.cc(),d.cc()),u.gd(),e.Gc(u.O))):a(f,p,v);x.length=0}return!1};var k=new da,v=!1;m.finish=function(a){if(v){if(a){var b=
this.b.Ja().Ha.Rc;a=null.L();var d=k.Tf(),c,e;if(a.N){a.N=!1;a.c.length=d.length;c=0;for(e=d.length;c<e;c++)a.c[c]=d[c];if(b)for(c=a.Z.length=0,e=null.c.length;c<e;c++)d=null.c[c],k.contains(d)||a.Z.push(d)}else if(b)for(b=a.c.length,a.c.length=b+d.length,c=0,e=d.length;c<e;c++)a.c[b+c]=d[c],Ca(a.Z,d[c]);else xa(a.c,d);null.cc()}k.clear();v=!1}};p.prototype.nm=function(a){return bb(this.Lm,a)};p.prototype.Ep=function(){return!0};p.prototype.$e=function(){return!0};g.d=new p;t.prototype.cf=function(a,
b,d){if(a&&b&&(b=this.b.Xj(a,b,this.De(d,!0),this.De(d,!1)))){"undefined"!==typeof b.j&&(b.j=this.j,b.Va());this.b.jc++;var c,e,f;this.b.trigger(Object.getPrototypeOf(a.da).d.Xf,b);if(b.yb)for(c=0,e=b.siblings.length;c<e;c++)f=b.siblings[c],this.b.trigger(Object.getPrototypeOf(f.type.da).d.Xf,f);this.b.jc--;c=this.b.Ar();d=!1;if(fa(c.M.Bm)||c.M.Bm<this.b.lf)d=!0,c.M.Bm=this.b.lf;if(a!=this.type&&(a=a.L(),a.N=!1,d?(a.c.length=1,a.c[0]=b):a.c.push(b),b.yb))for(c=0,e=b.siblings.length;c<e;c++)f=b.siblings[c],
a=f.type.L(),a.N=!1,d?(a.c.length=1,a.c[0]=f):a.c.push(f)}};t.prototype.Hj=function(){this.Qd=!1};t.prototype.nd=function(a){this.Qh=a;this.Uk||(this.b.rj(this),this.Uk=!0);this.Gk||this.Zm()};t.prototype.zm=function(a){var b=this.fc,d=b.width*a*(0>this.width?-1:1);a=b.height*a*(0>this.height?-1:1);if(this.width!==d||this.height!==a)this.width=d,this.height=a,this.Va()};g.e=new t;f.prototype.yp=function(a,b){a.G(this.De(b,!0))};f.prototype.zp=function(a,b){a.G(this.De(b,!1))};g.i=new f})();
function Y(e){this.b=e}
(function(){function e(a,b){return a.length?a.pop():new b}function p(a,b,c){if(c){var e;c=0;for(e=b.length;c<e;c++)a.length<h&&a.push(b[c]);b.length=0}else for(e in b)Object.prototype.hasOwnProperty.call(b,e)&&(a.length<h&&a.push(b[e]),delete b[e])}function b(a,b,c){var f=a.Me;c=c.replace(/\s\s*$/,"");b>=f.length&&f.push(e(t,Object));b=f[b];b.text=c;b.width=a.ll(c);a.Of=ka(a.Of,b.width)}function n(){}var c=Y.prototype;c.aa=function(){};c.wa=function(a){this.da=a;this.b=a.b};var a=c.wa.prototype;a.aa=
function(){this.D||(this.A=new Image,this.A.idtkLoadDisposed=!0,this.A.src=this.qh,this.b.wj(this.A),this.C=null)};a.Wg=function(){this.D||(this.C=null)};a.Xg=function(){if(!this.D&&this.c.length){this.C||(this.C=this.b.B.ee(this.A,!1,this.b.U,this.Ve));var a,b;a=0;for(b=this.c.length;a<b;a++)this.c[a].C=this.C}};a.sh=function(){this.D||this.c.length||!this.C||(this.b.B.deleteTexture(this.C),this.C=null)};a.bh=function(a){a.drawImage(this.A,0,0)};c.pa=function(a){this.type=a;this.b=a.b};a=c.pa.prototype;
a.Qe=function(){p(t,this.Me,!0);p(f,this.Sh,!1);p(g,this.Th,!1);Ta(this.Ud)};a.aa=function(){this.A=this.type.A;this.Rh=this.V[0];this.Td=this.V[1];this.characterSet=this.V[2];this.text=this.V[3];this.$c=this.V[4];this.visible=0===this.V[5];this.sn=this.V[6]/2;this.lp=this.V[7]/2;this.wt=0===this.V[9];this.gf=this.V[10];this.lineHeight=this.V[11];this.Ue=this.Of=0;this.nc?(this.Me.length=0,Ta(this.Sh),Ta(this.Th),Ta(this.Ud)):(this.Me=[],this.Sh={},this.Th={},this.Ud={});this.Pf=!0;this.$k=this.width;
this.b.B&&(this.type.C||(this.type.C=this.b.B.ee(this.type.A,!1,this.b.U,this.type.Ve)),this.C=this.type.C);this.Rp()};a.Mb=function(){var a={t:this.text,csc:this.$c,csp:this.gf,lh:this.lineHeight,tw:this.Of,th:this.Ue,lrt:this.ts,cw:{}},b;for(b in this.Ud)a.cw[b]=this.Ud[b];return a};a.mc=function(a){this.text=a.t;this.$c=a.csc;this.gf=a.csp;this.lineHeight=a.lh;this.Of=a.tw;this.Ue=a.th;this.ts=a.lrt;for(var b in a.cw)this.Ud[b]=a.cw[b];this.Pf=!0;this.$k=this.width};var h=1E3,t=[],f=[],g=[];a.Rp=
function(){for(var a=this.A,b=a.width,c=a.height,a=this.Rh,h=this.Td,k=a/b,l=h/c,m=this.characterSet,b=Math.floor(b/a),c=Math.floor(c/h),n=0;n<m.length&&!(n>=b*c);n++){var q=n%b,p=Math.floor(n/b),t=m.charAt(n);if(this.b.B){var L=this.Th,D=q*k,O=p*l,q=(q+1)*k,p=(p+1)*l;void 0===L[t]&&(L[t]=e(g,sa));L[t].left=D;L[t].top=O;L[t].right=q;L[t].bottom=p}else L=this.Sh,q*=a,p*=h,D=a,O=h,void 0===L[t]&&(L[t]=e(f,Object)),L[t].x=q,L[t].y=p,L[t].mp=D,L[t].rn=O}};var m=[];c.Sp=function(a){m.length=0;for(var b=
"",c,e=0;e<a.length;)if(c=a.charAt(e),"\n"===c)b.length&&(m.push(b),b=""),m.push("\n"),++e;else if(" "===c||"\t"===c||"-"===c){do b+=a.charAt(e),e++;while(e<a.length&&(" "===a.charAt(e)||"\t"===a.charAt(e)));m.push(b);b=""}else e<a.length&&(b+=c,e++);b.length&&m.push(b)};c.Vp=function(a){var b=a.text,c=a.Me;if(b&&b.length){var f=a.width;if(2>=f)p(t,c,!0);else{var g=a.$c,h=a.gf;if(b.length*(a.Rh*g+h)-h<=f&&-1===b.indexOf("\n")&&(h=a.ll(b),h<=f)){p(t,c,!0);c.push(e(t,Object));c[0].text=b;c[0].width=
h;a.Of=h;a.Ue=a.Td*g+a.lineHeight;return}this.Wp(a);a.Ue=c.length*(a.Td*g+a.lineHeight)}}else p(t,c,!0)};c.Wp=function(a){var d=a.wt,c=a.text,e=a.Me,f=a.width;d&&(this.Sp(c),c=m);var g="",l,n,q,p=0,M=!1;for(q=0;q<c.length;q++)"\n"===c[q]?(!0===M?M=!1:(b(a,p,g),p++),g=""):(M=!1,l=g,g+=c[q],n=a.ll(g.replace(/\s\s*$/,"")),n>f&&(""===l?(b(a,p,g),g="",M=!0):(b(a,p,l),g=c[q]),p++,d||" "!==g||(g="")));g.replace(/\s\s*$/,"").length&&(b(a,p,g),p++);for(q=p;q<e.length;q++)t.length<h&&t.push(e[q]);e.length=
p};a.ll=function(a){for(var b=this.gf,c=a.length,e=0,f=0;f<c;f++)e+=this.lg(a.charAt(f))*this.$c+b;return e-(0<e?b:0)};a.lg=function(a){var b=this.Ud;return void 0!==b[a]?b[a]:this.Rh};a.Eo=function(){if(this.Pf||this.width!==this.$k)this.Ue=this.Of=0,this.type.da.Vp(this),this.Pf=!1,this.$k=this.width};a.xc=function(a){var b=this.A;if(""!==this.text&&null!=b&&(this.Eo(),!(this.height<this.Td*this.$c+this.lineHeight))){a.globalAlpha=this.opacity;var b=this.x,c=this.y;this.b.Fc&&(b=b+0.5|0,c=c+0.5|
0);a.save();a.translate(b,c);a.rotate(this.j);for(var b=this.sn,c=this.$c,e=this.Td*c,f=this.lineHeight,g=this.gf,h=this.Me,l,m=-(this.ub*this.width),n=-(this.wb*this.height),n=n+this.lp*ka(0,this.height-this.Ue),p,t,D=0;D<h.length;D++){var O=h[D].text;l=b*ka(0,this.width-h[D].width);l=m+l;for(var n=n+f,I=0;I<O.length;I++){var E=O.charAt(I),z=this.Sh[E];if(l+this.lg(E)*c>this.width+1E-5)break;void 0!==z&&(p=l,t=n,0===this.j&&(p=Math.round(p),t=Math.round(t)),a.drawImage(this.A,z.x,z.y,z.mp,z.rn,p,
t,z.mp*c,z.rn*c));l+=this.lg(E)*c+g}n+=e;if(n+e+f>this.height)break}a.restore()}};var l=new ta;a.Ib=function(a){a.Nb(this.C);a.le(this.opacity);if(""!==this.text&&(this.Eo(),!(this.height<this.Td*this.$c+this.lineHeight))){this.Ma();var b=this.Gb,c=0,e=0;this.b.Fc&&(c=(this.x+0.5|0)-this.x,e=(this.y+0.5|0)-this.y);var f=this.j,g=this.sn,h=this.lp,n=this.$c,m=this.Td*n,p=this.lineHeight,t=this.gf,L=this.Me,D=this.Ue,O,I;0!==f&&(O=Math.cos(f),I=Math.sin(f));for(var E,c=b.qa+c,b=b.ra+e,h=h*ka(0,this.height-
D),z,w,D=0;D<L.length;D++){e=L[D].text;E=g*ka(0,this.width-L[D].width);for(var h=h+p,N=0;N<e.length;N++){var F=e.charAt(N),J=this.Th[F];if(E+this.lg(F)*n>this.width+1E-5)break;if(void 0!==J){var u=this.Rh*n,K=this.Td*n;z=E;w=h;0===f&&(z=Math.round(z),w=Math.round(w));l.qa=z;l.ra=w;l.Xa=z+u;l.Ya=w;l.Na=z;l.Oa=w+K;l.Pa=z+u;l.Qa=w+K;0!==f&&(z=l,w=O,u=I,K=void 0,K=z.qa*w-z.ra*u,z.ra=z.ra*w+z.qa*u,z.qa=K,K=z.Xa*w-z.Ya*u,z.Ya=z.Ya*w+z.Xa*u,z.Xa=K,K=z.Na*w-z.Oa*u,z.Oa=z.Oa*w+z.Na*u,z.Na=K,K=z.Pa*w-z.Qa*
u,z.Qa=z.Qa*w+z.Pa*u,z.Pa=K);l.offset(c,b);a.fd(l.qa,l.ra,l.Xa,l.Ya,l.Pa,l.Qa,l.Na,l.Oa,J)}E+=this.lg(F)*n+t}h+=m;if(h+m+p>this.height)break}}};c.d=new function(){};n.prototype.Zf=function(a){ga(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.Pf=!0,this.b.ga=!0)};n.prototype.zm=function(a){a!==this.$c&&(this.$c=a,this.Pf=!0,this.b.ga=!0)};a.bu=function(a,b){var c=parseInt(b,10);this.Ud[a]!==c&&(this.Ud[a]=c,this.Pf=!0,this.b.ga=!0)};c.e=new n;c.i=new function(){}})();
function fc(e){this.b=e}
(function(){var e=fc.prototype;e.wa=function(b){this.da=b;this.b=b.b};var p=e.wa.prototype;p.aa=function(){this.D||(this.A=new Image,this.A.idtkLoadDisposed=!0,this.A.src=this.qh,this.A.Wj=this.oj,this.b.wj(this.A),this.C=this.pattern=null)};p.Wg=function(){this.D||(this.C=null)};p.Xg=function(){if(!this.D&&this.c.length){this.C||(this.C=this.b.B.ee(this.A,!0,this.b.U,this.Ve));var b,e;b=0;for(e=this.c.length;b<e;b++)this.c[b].C=this.C}};p.Kg=function(){this.D||this.C||!this.b.B||(this.C=this.b.B.ee(this.A,
!0,this.b.U,this.Ve))};p.sh=function(){this.D||this.c.length||!this.C||(this.b.B.deleteTexture(this.C),this.C=null)};p.bh=function(b){b.drawImage(this.A,0,0)};e.pa=function(b){this.type=b;this.b=b.b};p=e.pa.prototype;p.aa=function(){this.visible=0===this.V[0];this.gh=new sa(0,0,0,0);this.vn=!1;this.A=this.type.A;this.b.B?(this.type.Kg(),this.C=this.type.C):(this.type.pattern||(this.type.pattern=this.b.ja.createPattern(this.type.A,"repeat")),this.pattern=this.type.pattern)};p.pd=function(){this.vn=
!1;this.A=this.type.A};p.Qe=function(){this.b.B&&this.vn&&this.C&&(this.b.B.deleteTexture(this.C),this.C=null)};p.xc=function(b){b.globalAlpha=this.opacity;b.save();b.fillStyle=this.pattern;var e=this.x,c=this.y;this.b.Fc&&(e=e+0.5|0,c=c+0.5|0);var a=-(this.ub*this.width),h=-(this.wb*this.height),p=a%this.A.width,f=h%this.A.height;0>p&&(p+=this.A.width);0>f&&(f+=this.A.height);b.translate(e,c);b.rotate(this.j);b.translate(p,f);b.fillRect(a-p,h-f,this.width,this.height);b.restore()};p.Ib=function(b){b.Nb(this.C);
b.le(this.opacity);var e=this.gh;e.right=this.width/this.A.width;e.bottom=this.height/this.A.height;var c=this.Gb;if(this.b.Fc){var a=(this.x+0.5|0)-this.x,h=(this.y+0.5|0)-this.y;b.fd(c.qa+a,c.ra+h,c.Xa+a,c.Ya+h,c.Pa+a,c.Qa+h,c.Na+a,c.Oa+h,e)}else b.fd(c.qa,c.ra,c.Xa,c.Ya,c.Pa,c.Qa,c.Na,c.Oa,e)};e.d=new function(){};e.e=new function(){};e.i=new function(){}})();function Z(e){this.b=e}
(function(){function e(a){t=a.x;f=a.y;g=a.z}function p(a){m=a.x;l=a.y;A=a.z}function b(){}function n(){}var c=Z.prototype;c.wa=function(a){this.da=a;this.b=a.b};c.wa.prototype.aa=function(){};c.pa=function(a){this.type=a;this.b=a.b;this.touches=[];this.nl=!1};var a=c.pa.prototype,h={left:0,top:0};a.jg=function(a){var b,c;b=0;for(c=this.touches.length;b<c;b++)if(this.touches[b].id===a)return b;return-1};var t=0,f=0,g=0,m=0,l=0,A=0;a.aa=function(){this.os=!("undefined"===typeof window.c2isWindows8||
!window.c2isWindows8);this.se=this.$j=this.Zj=this.Fm=this.Em=this.Dm=this.$p=this.Zp=this.Yp=this.$g=this.Zg=this.Yg=0;this.tt=0!==this.V[0];var a=0<this.b.Ub?document:this.b.canvas,b=document;this.b.xb?b=a=window.Canvas:this.b.Ac&&(b=a=window);var c=this;window.navigator.pointerEnabled?(a.addEventListener("pointerdown",function(a){c.ho(a)},!1),a.addEventListener("pointermove",function(a){c.fo(a)},!1),b.addEventListener("pointerup",function(a){c.Ni(a)},!1),b.addEventListener("pointercancel",function(a){c.Ni(a)},
!1),this.b.canvas&&(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),this.b.canvas.addEventListener("gesturehold",function(a){a.preventDefault()},!1),document.addEventListener("gesturehold",function(a){a.preventDefault()},!1))):window.navigator.msPointerEnabled?(a.addEventListener("MSPointerDown",function(a){c.ho(a)},!1),a.addEventListener("MSPointerMove",function(a){c.fo(a)},!1),b.addEventListener("MSPointerUp",
function(a){c.Ni(a)},!1),b.addEventListener("MSPointerCancel",function(a){c.Ni(a)},!1),this.b.canvas&&(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1))):(a.addEventListener("touchstart",function(a){c.ko(a)},!1),a.addEventListener("touchmove",function(a){c.jo(a)},!1),b.addEventListener("touchend",function(a){c.wl(a)},!1),b.addEventListener("touchcancel",function(a){c.wl(a)},!1));if(this.os){var f=
function(a){a=a.reading;c.Dm=a.accelerationX;c.Em=a.accelerationY;c.Fm=a.accelerationZ},g=function(a){a=a.reading;c.Yg=a.yawDegrees;c.Zg=a.pitchDegrees;c.$g=a.rollDegrees},h=Windows.Devices.Sensors.Accelerometer.getDefault();h&&(h.reportInterval=Math.max(h.minimumReportInterval,16),h.addEventListener("readingchanged",f));var l=Windows.Devices.Sensors.Inclinometer.getDefault();l&&(l.reportInterval=Math.max(l.minimumReportInterval,16),l.addEventListener("readingchanged",g));document.addEventListener("visibilitychange",
function(){document.hidden||document.msHidden?(h&&h.removeEventListener("readingchanged",f),l&&l.removeEventListener("readingchanged",g)):(h&&h.addEventListener("readingchanged",f),l&&l.addEventListener("readingchanged",g))},!1)}else window.addEventListener("deviceorientation",function(a){c.Yg=a.alpha||0;c.Zg=a.beta||0;c.$g=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(c.Yp=a.accelerationIncludingGravity.x||0,c.Zp=a.accelerationIncludingGravity.y||
0,c.$p=a.accelerationIncludingGravity.z||0);a.acceleration&&(c.Dm=a.acceleration.x||0,c.Em=a.acceleration.y||0,c.Fm=a.acceleration.z||0)},!1);this.tt&&!this.b.bb&&(jQuery(document).mousemove(function(a){c.Ds(a)}),jQuery(document).mousedown(function(a){c.Cs(a)}),jQuery(document).mouseup(function(a){c.Es(a)}));this.b.qf&&!this.b.xb&&AppMobi.accelerometer.watchAcceleration(e,{frequency:40,adjustForRotation:!0});this.b.He&&navigator.accelerometer&&navigator.accelerometer.watchAcceleration&&navigator.accelerometer.watchAcceleration(p,
null,{frequency:40});this.b.ht(this)};a.fo=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var b=this.jg(a.pointerId),c=Ua();if(0<=b){var e=this.b.bb?h:jQuery(this.b.canvas).offset(),b=this.touches[b];2>c-b.time||(b.Ei=b.time,b.al=b.x,b.bl=b.y,b.time=c,b.x=a.pageX-e.left,b.y=a.pageY-e.top)}}};a.ho=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var b=this.b.bb?
h:jQuery(this.b.canvas).offset(),c=a.pageX-b.left,b=a.pageY-b.top,e=Ua();this.se=this.touches.length;this.touches.push({time:e,x:c,y:b,Ei:e,al:c,bl:b,id:a.pointerId,Wl:this.se});this.b.dd=!0;this.b.trigger(Z.prototype.d.vm,this);this.b.trigger(Z.prototype.d.xm,this);this.Zj=c;this.$j=b;this.b.trigger(Z.prototype.d.Nd,this);this.b.dd=!1}};a.Ni=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType&&(a.preventDefault&&a.preventDefault(),a=this.jg(a.pointerId),this.se=0<=a?this.touches[a].Wl:
-1,this.b.dd=!0,this.b.trigger(Z.prototype.d.um,this),this.b.trigger(Z.prototype.d.wm,this),this.b.dd=!1,0<=a&&this.touches.splice(a,1))};a.jo=function(a){a.preventDefault&&a.preventDefault();var b=Ua(),c,e,f,g;c=0;for(e=a.changedTouches.length;c<e;c++)if(f=a.changedTouches[c],g=this.jg(f.identifier),0<=g){var l=this.b.bb?h:jQuery(this.b.canvas).offset();g=this.touches[g];2>b-g.time||(g.Ei=g.time,g.al=g.x,g.bl=g.y,g.time=b,g.x=f.pageX-l.left,g.y=f.pageY-l.top)}};a.ko=function(a){a.preventDefault&&
a.preventDefault();var b=this.b.bb?h:jQuery(this.b.canvas).offset(),c=Ua();this.b.dd=!0;var e,f,g,l;e=0;for(f=a.changedTouches.length;e<f;e++)if(g=a.changedTouches[e],l=this.jg(g.identifier),-1===l){l=g.pageX-b.left;var m=g.pageY-b.top;this.se=this.touches.length;this.touches.push({time:c,x:l,y:m,Ei:c,al:l,bl:m,id:g.identifier,Wl:this.se});this.b.trigger(Z.prototype.d.vm,this);this.b.trigger(Z.prototype.d.xm,this);this.Zj=l;this.$j=m;this.b.trigger(Z.prototype.d.Nd,this)}this.b.dd=!1};a.wl=function(a){a.preventDefault&&
a.preventDefault();this.b.dd=!0;var b,c,e;b=0;for(c=a.changedTouches.length;b<c;b++)e=a.changedTouches[b],e=this.jg(e.identifier),0<=e&&(this.se=this.touches[e].Wl,this.b.trigger(Z.prototype.d.um,this),this.b.trigger(Z.prototype.d.wm,this),this.touches.splice(e,1));this.b.dd=!1};a.ou=function(){return this.b.qf&&0===this.Yg&&0!==g?90*g:this.b.He&&0===this.Yg&&0!==A?90*A:this.Yg};a.pu=function(){return this.b.qf&&0===this.Zg&&0!==f?-90*f:this.b.He&&0===this.Zg&&0!==l?-90*l:this.Zg};a.su=function(){return this.b.qf&&
0===this.$g&&0!==t?90*t:this.b.He&&0===this.$g&&0!==m?90*m:this.$g};a.Cs=function(a){a.preventDefault&&this.b.Bk&&!this.b.ae&&a.preventDefault();this.ko({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.nl=!0};a.Ds=function(a){this.nl&&this.jo({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};a.Es=function(a){a.preventDefault&&this.b.Bk&&!this.b.ae&&a.preventDefault();this.b.Bk=!0;this.wl({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.nl=!1};a.Zl=
function(){var a,b,c,e=Ua();a=0;for(b=this.touches.length;a<b;a++)c=this.touches[a],c.time<=e-50&&(c.Ei=e)};b.prototype.xm=function(){return!0};b.prototype.wm=function(){return!0};b.prototype.Bp=function(){return this.touches.length};b.prototype.Nd=function(a){return a?this.b.et(a,this.Zj,this.$j):!1};b.prototype.vm=function(a){a=Math.floor(a);return a===this.se};b.prototype.um=function(a){a=Math.floor(a);return a===this.se};c.d=new b;n.prototype.pc=function(a,b){if(this.touches.length){var c,e,f,
g,h;fa(b)?(c=this.b.mg(0),e=c.scale,f=c.Wc,g=c.Dc,h=c.j,c.scale=this.b.la.scale,c.Wc=1,c.Dc=1,c.j=this.b.la.j,a.G(c.Rb(this.touches[0].x,this.touches[0].y,!0)),c.scale=e,c.Wc=f,c.Dc=g,c.j=h):(c=ga(b)?this.b.mg(b):this.b.vk(b))?a.G(c.Rb(this.touches[0].x,this.touches[0].y,!0)):a.G(0)}else a.G(0)};n.prototype.od=function(a,b){if(this.touches.length){var c,e,f,g,h;fa(b)?(c=this.b.mg(0),e=c.scale,f=c.Wc,g=c.Ec,h=c.j,c.scale=this.b.la.scale,c.Wc=1,c.Ec=1,c.j=this.b.la.j,a.G(c.Rb(this.touches[0].x,this.touches[0].y,
!1)),c.scale=e,c.Wc=f,c.Ec=g,c.j=h):(c=ga(b)?this.b.mg(b):this.b.vk(b))?a.G(c.Rb(this.touches[0].x,this.touches[0].y,!1)):a.G(0)}else a.G(0)};c.i=new n})();function gc(e){this.b=e}
(function(){function e(){}var p=gc.prototype;p.wa=function(a){this.da=a;this.b=a.b};p.wa.prototype.aa=function(){};p.pa=function(a){this.type=a;this.b=a.b};var b=p.pa.prototype,n="",c="undefined"!==typeof window.is_scirra_arcade;c&&(n="arcade"+window.scirra_arcade_id);b.aa=function(){};p.d=new function(){};p.e=new function(){};e.prototype.xh=function(a){var b={},e,f,g;e=0;for(f=localStorage.length;e<f;e++)g=localStorage.key(e),c?g.substr(0,n.length)===n&&(b[g.substr(n.length)]=localStorage.getItem(g)):
b[g]=localStorage.getItem(g);a.rb(JSON.stringify({c2dictionary:!0,data:b}))};p.i=new e})();
function ac(){return[null,null,[[cc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[bc,!1,!1,!1,!1,!1,!1,!1,!1,!1],[W,!0,!1,!1,!1,!1,!1,!1,!1,!1],[dc,!1,!1,!1,!1,!1,!1,!1,!1,!1],[V,!0,!1,!1,!1,!1,!1,!1,!1,!1],[Y,!1,!0,!0,!0,!0,!0,!0,!0,!0],[ec,!1,!0,!0,!1,!0,!0,!0,!0,!0],[U,!1,!0,!0,!0,!0,!0,!0,!0,!1],[fc,!1,!0,!0,!0,!0,!0,!0,!0,!0],[Z,!0,!1,!1,!1,!1,!1,!1,!1,!1],[gc,!0,!1,!1,!1,!1,!1,!1,!1,!1]],[["t0",gc,!1,[],0,0,null,null,[],!1,!1,5348170403011429,[],null,[]],["t1",Z,!1,[],0,0,null,null,[],!1,!1,5360238741765463,
[],null,[1]],["t2",W,!1,[],0,0,null,null,[],!1,!1,0x8126f96920bbe,[],null,[]],["t3",cc,!1,[],0,0,null,null,[],!1,!1,432376389717995,[],null,[0,0,1,1,600,600,1E4,1,5E3,1]],["t4",U,!1,[5077326286344181,5328199190700224],0,0,null,[["Default",5,!1,1,0,!1,8488435606656154,[["images/playership-sheet0.png",419,0,0,50,50,1,0.5,0.5,[["Jets",0.05999999865889549,0.5199999809265137],["Beam",1.019999980926514,0.5199999809265137]],[0.1200000047683716,-0.1200000047683716,0.5,0,0.1399999856948853,0.1399999856948853,
-0.4600000083446503,0.4599999785423279,-0.4000000059604645,0,-0.4600000083446503,-0.4600000083446503,0,-0.199999988079071],0]]]],[],!1,!1,0xdd096a3294cd,[],null],["t5",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7539593678923391,[["images/opadd-sheet0.png",1180,0,0,89,71,1,0.5056179761886597,0.5070422291755676,[],[-0.5056179761886597,-0.5070422291755676,0.4943820238113403,-0.5070422291755676,0.4943820238113403,0.4929577708244324,-0.01123598217964172,0.4929577708244324,-0.3258429765701294,0.4929577708244324],
0]]]],[],!1,!1,4113636591671,[],null],["t6",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,779736045262335,[["images/opsub-sheet0.png",937,0,0,89,71,1,0.5056179761886597,0.5070422291755676,[],[-0.5056179761886597,-0.5070422291755676,0.4943820238113403,-0.5070422291755676,0.303371012210846,0.4929577708244324,-0.01123598217964172,0.4929577708244324,-0.5056179761886597,0.4929577708244324],0]]]],[],!1,!1,8601200191924169,[],null],["t7",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,6252136506213015,[["images/opdivide-sheet0.png",
4269,0,0,64,64,1,0.5,0.5,[],[-0.328125,-0.328125,0,-0.46875,0.328125,-0.328125,0.46875,0,0.328125,0.328125,0,0.46875,-0.328125,0.328125,-0.46875,0],0]]]],[],!1,!1,0xea2a4cafed730,[],null],["t8",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,805424135989977,[["images/opmulti-sheet0.png",4941,0,0,64,64,1,0.5,0.5,[],[-0.328125,-0.328125,0,-0.46875,0.328125,-0.328125,0.46875,0,0.328125,0.328125,0,0.46875,-0.328125,0.328125,-0.46875,0],0]]]],[],!1,!1,6417603630672021,[],null],["t9",U,!1,[0x75ad587541bfc,0x854bc0b462621,
7072599322974838,7336213003418646,8901740544793939,0xb118b6418a510,0x5b6034a9d45b9,0xc308accb80f8f],0,0,null,[["Default",5,!1,1,0,!1,0xe8a7c2598eba4,[["images/opequals-sheet0.png",1579,0,0,130,90,1,0.5076923370361328,0.5,[],[-0.3384613394737244,-0.4444443881511688,-0.007692337036132813,-0.4555555880069733,0.3076926469802856,-0.4444443881511688,0.4461536407470703,0.4333329796791077,-0.461538553237915,0.4333329796791077],0]]]],[],!1,!1,0x44ad78485f424,[],null],["t10",fc,!1,[],0,0,["images/background.png",
156,4],null,[],!1,!1,0xee49fffe444bf,[],null],["t11",bc,!1,[],0,0,null,null,[],!0,!1,7368810350718891,[],null],["t12",Y,!1,[0x96827a8483067],0,0,["images/targetnum.png",4099,0],null,[],!1,!1,4929187747818447,[],null],["t13",U,!1,[7744814506638663,4662946680371879,0x8132383c5d634,9436942958393108,9072371603056960,0xcce95cfad8ff1,7273605861585727,5805292557752242,0x50bdc4767dbef,6399342224294043],0,0,null,[["Default",5,!1,1,0,!1,5175866124228627,[["images/enemy1-sheet0.png",737,0,0,64,64,1,0.5,0.5,
[["TargetNumZone",-0.4375,0.96875],["ShotPoint",0.6875,0.5]],[0.375,-0.375,-0.03125,0,0.375,0.375,0,0.40625,-0.375,0.375,-0.46875,0,-0.375,-0.375,0,-0.40625],0]]]],[],!1,!1,0x758ded7febc2,[],null],["t14",U,!1,[7744814506638663,4662946680371879,0x8132383c5d634,9436942958393108,9072371603056960,0xcce95cfad8ff1,7273605861585727,5805292557752242,0x50bdc4767dbef,6399342224294043],0,0,null,[["Default",5,!1,1,0,!1,0xd0369a750a94c,[["images/enemy2-sheet0.png",666,0,0,64,64,1,0.5,0.5,[["TargetNumZone",-0.5625,
1.0625],["ShotPoint",0.734375,0.5]],[0.21875,-0.21875,0.15625,0,0.21875,0.21875,0,0.46875,-0.21875,0.21875,-0.25,0,-0.21875,-0.21875,0,-0.46875],0]]]],[],!1,!1,388451258846403,[],null],["t15",U,!1,[7744814506638663,4662946680371879,0x8132383c5d634,9436942958393108,9072371603056960,0xcce95cfad8ff1,7273605861585727,5805292557752242,0x50bdc4767dbef,6399342224294043],0,0,null,[["Default",5,!1,1,0,!1,4895219169677511,[["images/enemy3-sheet0.png",682,0,0,64,64,1,0.5,0.5,[["TargetNumZone",-0.53125,1],["ShotPoint",
0.53125,0.5]],[0.421875,-0.421875,-0.0625,0,0.421875,0.421875,-0.375,0.375,-0.421875,0,-0.375,-0.375],0]]]],[],!1,!1,9080533590641338,[],null],["t16",U,!1,[7744814506638663,4662946680371879,0x8132383c5d634,9436942958393108,9072371603056960,0xcce95cfad8ff1,7273605861585727,5805292557752242,0x50bdc4767dbef,6399342224294043],0,0,null,[["Default",5,!1,1,0,!1,5871602444937722,[["images/enemy4-sheet0.png",4206,0,0,96,96,1,0.5,0.5,[],[0.375,-0.375,0.21875,0,0.375,0.375,0,0.1874999403953552,-0.15625,0.15625,
-0.4583333134651184,0,-0.15625,-0.15625,0,-0.1875],0]]]],[],!1,!1,0x554a78b9162ce,[],null],["t17",U,!1,[7744814506638663,4662946680371879,0x8132383c5d634,9436942958393108,9072371603056960,0xcce95cfad8ff1,7273605861585727,5805292557752242,0x50bdc4767dbef,6399342224294043],0,0,null,[["Default",5,!1,1,0,!1,9296810631428612,[["images/enemy5-sheet0.png",5310,0,0,128,128,1,0.5,0.5,[],[0.2421879768371582,-0.2421869933605194,0.0546879768371582,0,0.2421879768371582,0.2421879768371582,0,0.453125,-0.3515619933605194,
0.3515629768371582,-0.2734369933605194,0,-0.3515619933605194,-0.3515619933605194,0,-0.453125],0]]]],[],!1,!1,8036120762265043,[],null],["t18",Y,!1,[],0,0,["images/targetnum.png",4099,0],null,[],!1,!1,4917847438227615,[],null],["t19",Y,!1,[],0,0,["images/targetnum.png",4099,0],null,[],!1,!1,746816399814875,[],null],["t20",V,!1,[],0,0,null,null,[],!1,!1,6276257427509137,[],null,[]],["t21",dc,!1,[],0,0,null,null,[],!0,!1,9888620494543216,[],null],["t22",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7551422527137974,
[["images/tgbkg1-sheet0.png",1656,0,0,89,47,1,0.5057471394538879,0.5111111402511597,[],[-0.459770143032074,-0.4222222566604614,-0.01149412989616394,-0.5111111402511597,0.4482758641242981,-0.4222222566604614,0.4942528605461121,-0.0222221314907074,0.4482758641242981,0.3999998569488525,-0.01149412989616394,0.4888888597488403,-0.459770143032074,0.3999998569488525,-0.5057471394538879,-0.0222221314907074],0],["images/tgbkg1-sheet0.png",1656,0,47,88,46,1,0.5,0.5,[],[],0]]]],[],!1,!1,0xa8fbf2a936087,[],null],
["t23",Y,!1,[],0,0,["images/targetnum.png",4099,0],null,[],!1,!1,0xfb25e9cd9f408,[],null],["t24",Y,!1,[],0,0,["images/targetnum.png",4099,0],null,[],!1,!1,5873657662775854,[],null],["t25",Y,!1,[],0,0,["images/targetnum.png",4099,0],null,[],!1,!1,6427752207029628,[],null],["t26",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,5206235500930878,[["images/tgbkg1-sheet0.png",1656,0,0,89,47,1,0.5057471394538879,0.5111111402511597,[],[-0.459770143032074,-0.4222222566604614,-0.01149412989616394,-0.5111111402511597,
0.4482758641242981,-0.4222222566604614,0.4942528605461121,-0.0222221314907074,0.4482758641242981,0.3999998569488525,-0.01149412989616394,0.4888888597488403,-0.459770143032074,0.3999998569488525,-0.5057471394538879,-0.0222221314907074],0],["images/tgbkg1-sheet0.png",1656,0,47,88,46,1,0.5,0.5,[],[],0]]]],[],!1,!1,0x40df0a40afba2,[],null],["t27",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,9725026911705026,[["images/tgbkg1-sheet0.png",1656,0,0,89,47,1,0.5057471394538879,0.5111111402511597,[],[-0.459770143032074,
-0.4222222566604614,-0.01149412989616394,-0.5111111402511597,0.4482758641242981,-0.4222222566604614,0.4942528605461121,-0.0222221314907074,0.4482758641242981,0.3999998569488525,-0.01149412989616394,0.4888888597488403,-0.459770143032074,0.3999998569488525,-0.5057471394538879,-0.0222221314907074],0],["images/tgbkg1-sheet0.png",1656,0,47,88,46,1,0.5,0.5,[],[],0]]]],[],!1,!1,6452929546794952,[],null],["t28",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x4dc1bde924206,[["images/targetring-sheet0.png",794,
0,0,32,32,1,0.5,0.5,[],[-0.3125,-0.3125,0,-0.4375,0.3125,-0.3125,0.4374999403953552,0,0.3125,0.3125,0,0.4374999403953552,-0.3125,0.3125,-0.4375,0],0]]]],[],!1,!1,0x70a8765e06e4,[],null],["t29",U,!1,[0xaea4b5bcbe80b],0,0,null,[["Default",5,!1,1,0,!1,740359561301571,[["images/spawnpoint-sheet0.png",147,0,0,32,32,1,0.5,0.5,[],[],0]]]],[],!1,!1,8523272285797899,[],null],["t30",U,!1,[5349340262868243,6527202278591814,9324360697244646,8963846312009337,347413682953273,0xc6d7d92fb7f3f],0,0,null,[["Default",
20,!0,1,0,!1,0xc8d35be978c28,[["images/mathbeam-sheet0.png",21081,0,0,93,55,1,0.5054945349693298,0.5094339847564697,[],[-0.2417585253715515,-0.05660399794578552,0.3186814785003662,-0.2075469791889191,0.362637460231781,-0.01886799931526184,0.3186814785003662,0.188679039478302,-0.01098954677581787,0.07547199726104736,-0.230769544839859,0.01886802911758423,-0.318681538105011,-0.01886799931526184],0],["images/mathbeam-sheet0.png",21081,93,0,93,55,1,0.5054945349693298,0.5094339847564697,[],[-0.2417585253715515,
-0.05660399794578552,0.3186814785003662,-0.2075469791889191,0.362637460231781,-0.01886799931526184,0.3186814785003662,0.188679039478302,-0.01098954677581787,0.07547199726104736,-0.230769544839859,0.01886802911758423,-0.318681538105011,-0.01886799931526184],0],["images/mathbeam-sheet0.png",21081,0,55,93,55,1,0.5054945349693298,0.5094339847564697,[],[-0.2417585253715515,-0.05660399794578552,0.3186814785003662,-0.2075469791889191,0.362637460231781,-0.01886799931526184,0.3186814785003662,0.188679039478302,
-0.01098954677581787,0.07547199726104736,-0.230769544839859,0.01886802911758423,-0.318681538105011,-0.01886799931526184],0],["images/mathbeam-sheet0.png",21081,93,55,93,55,1,0.5054945349693298,0.5094339847564697,[],[-0.2417585253715515,-0.05660399794578552,0.3186814785003662,-0.2075469791889191,0.362637460231781,-0.01886799931526184,0.3186814785003662,0.188679039478302,-0.01098954677581787,0.07547199726104736,-0.230769544839859,0.01886802911758423,-0.318681538105011,-0.01886799931526184],0],["images/mathbeam-sheet0.png",
21081,0,110,93,55,1,0.5054945349693298,0.5094339847564697,[],[-0.2417585253715515,-0.05660399794578552,0.3186814785003662,-0.2075469791889191,0.362637460231781,-0.01886799931526184,0.3186814785003662,0.188679039478302,-0.01098954677581787,0.07547199726104736,-0.230769544839859,0.01886802911758423,-0.318681538105011,-0.01886799931526184],0],["images/mathbeam-sheet0.png",21081,93,110,93,55,1,0.5054945349693298,0.5094339847564697,[],[-0.2417585253715515,-0.05660399794578552,0.3186814785003662,-0.2075469791889191,
0.362637460231781,-0.01886799931526184,0.3186814785003662,0.188679039478302,-0.01098954677581787,0.07547199726104736,-0.230769544839859,0.01886802911758423,-0.318681538105011,-0.01886799931526184],0],["images/mathbeam-sheet0.png",21081,0,165,93,55,1,0.5054945349693298,0.5094339847564697,[],[-0.2417585253715515,-0.05660399794578552,0.3186814785003662,-0.2075469791889191,0.362637460231781,-0.01886799931526184,0.3186814785003662,0.188679039478302,-0.01098954677581787,0.07547199726104736,-0.230769544839859,
0.01886802911758423,-0.318681538105011,-0.01886799931526184],0]]]],[],!1,!1,8662338109625771,[],null],["t31",ec,!1,[],0,0,["images/enemyblast.png",264,0],null,[],!1,!1,5669198803040054,[],null],["t32",U,!1,[],0,0,null,[["Default",16,!1,1,0,!1,8372850934585942,[["images/explosion64-sheet0.png",20203,0,0,66,66,1,0.5,0.5,[],[-0.078125,-0.078125,0,-0.125,0.09375,-0.09375,0.140625,0,0.09375,0.09375,0,0.125,-0.078125,0.078125,-0.109375,0],0],["images/explosion64-sheet0.png",20203,66,0,66,66,1,0.5,0.5,[],
[],0],["images/explosion64-sheet0.png",20203,132,0,66,66,1,0.5,0.5,[],[],0],["images/explosion64-sheet0.png",20203,0,66,66,66,1,0.5,0.5,[],[],0],["images/explosion64-sheet0.png",20203,66,66,66,66,1,0.5,0.5,[],[],0],["images/explosion64-sheet0.png",20203,132,66,66,66,1,0.5,0.5,[],[],0],["images/explosion64-sheet0.png",20203,0,132,66,66,1,0.5,0.5,[],[],0],["images/explosion64-sheet0.png",20203,66,132,66,66,1,0.5,0.5,[],[],0],["images/explosion64-sheet0.png",20203,132,132,66,66,1,0.5,0.5,[],[],0],["images/explosion64-sheet1.png",
30207,0,0,66,66,1,0.5,0.5,[],[],0],["images/explosion64-sheet1.png",30207,66,0,66,66,1,0.5,0.5,[],[],0],["images/explosion64-sheet1.png",30207,132,0,66,66,1,0.5,0.5,[],[],0],["images/explosion64-sheet1.png",30207,0,66,66,66,1,0.5,0.5,[],[],0],["images/explosion64-sheet1.png",30207,66,66,66,66,1,0.5,0.5,[],[],0],["images/explosion64-sheet1.png",30207,132,66,66,66,1,0.5,0.5,[],[],0],["images/explosion64-sheet1.png",30207,0,132,66,66,1,0.5,0.5,[],[],0]]]],[],!1,!1,0x802ccafb1d9f3,[],null],["t33",U,!1,
[],0,0,null,[["Default",5,!1,1,0,!1,5898422158904895,[["images/enemyblast1-sheet0.png",1062,0,0,26,20,1,0.5,0.5,[],[0.2307689785957336,-0.1500000059604645,0.2692310214042664,0,0.2307689785957336,0.1499999761581421,0,0.300000011920929,-0.2692310214042664,0.199999988079071,-0.3076919913291931,0,-0.230769008398056,-0.1500000059604645,0,-0.300000011920929],0]]]],[],!1,!1,4545448974399999,[],null],["t34",U,!1,[],0,0,null,[["Default",24,!0,1,0,!1,6243978603828177,[["images/jetfire-sheet0.png",8415,0,0,
66,66,1,0.5,0.5,[],[],0],["images/jetfire-sheet0.png",8415,66,0,66,66,1,0.5,0.5,[],[],0],["images/jetfire-sheet0.png",8415,132,0,66,66,1,0.5,0.5,[],[],0],["images/jetfire-sheet0.png",8415,0,66,66,66,1,0.5,0.5,[],[],0],["images/jetfire-sheet0.png",8415,66,66,66,66,1,0.5,0.5,[],[],0],["images/jetfire-sheet0.png",8415,132,66,66,66,1,0.5,0.5,[],[],0],["images/jetfire-sheet0.png",8415,0,132,66,66,1,0.5,0.5,[],[],0],["images/jetfire-sheet0.png",8415,66,132,66,66,1,0.5,0.5,[],[],0],["images/jetfire-sheet0.png",
8415,132,132,66,66,1,0.5,0.5,[],[],0],["images/jetfire-sheet1.png",4504,0,0,66,66,1,0.5,0.5,[],[],0],["images/jetfire-sheet1.png",4504,66,0,66,66,1,0.5,0.5,[],[],0],["images/jetfire-sheet1.png",4504,132,0,66,66,1,0.5,0.5,[],[],0],["images/jetfire-sheet1.png",4504,0,66,66,66,1,0.5,0.5,[],[],0]]]],[],!1,!1,8874564086478702,[],null],["t35",U,!0,[7744814506638663,4662946680371879,0x8132383c5d634,9436942958393108,9072371603056960,0xcce95cfad8ff1,7273605861585727,5805292557752242,0x50bdc4767dbef,6399342224294043],
0,0,null,null,[],!1,!1,9654539264860844,[],null]],[[35,13,14,15,16,17]],[["Gameplay",320,568,!1,"Gameplay",0xe38cfd1e7d65c,[["BKG",0,5219311130234725,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[0,0,0,320,568,0,0,1,0,0,0,0,[]],10,10,[],[],[0,0]],[[153.7927703857422,438.2926635742188,0,64,64,0,0,1,0.5,0.5,0,0,[]],34,48,[],[],[0,"Default",0,1]]],[]],["Sprites",1,8361553372716129,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[[[169,375.5701599121094,0,50,50,0,0,1,0.5,0.5,0,0,[]],4,4,[[160],[100]],[],[0,"Default",0,1]],
[[-332,116,0,64,64,0,0,1,0.5,0.5,0,0,[]],14,14,[[0],[0],[400],[0],[0],[0],[0],[0],[10],[0]],[],[0,"Default",0,1]],[[-157,111,0,64,64,0,0,1,0.5,0.5,0,0,[]],13,13,[[0],[0],[400],[0],[0],[0],[0],[0],[5],[0]],[],[0,"Default",0,1]]],[]],["UIbkg",2,6636493490753418,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[[[55,29,0,87,45,0,0,1,0.5057471394538879,0.5111111402511597,0,0,[]],22,23,[],[],[0,"Default",0,1]],[[160,29,0,87,45,0,0,1,0.5057471394538879,0.5111111402511597,0,0,[]],26,24,[],[],[0,"Default",0,1]],[[264,
29,0,87,45,0,0,1,0.5057471394538879,0.5111111402511597,0,0,[]],27,25,[],[],[0,"Default",0,1]],[[-212,484,0,32,32,0,0,1,0.5,0.5,0,0,[]],28,29,[],[],[0,"Default",0,1]]],[]],["UI",3,6311760230765151,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[[[260,522,0,89,71,0,0,1,0.5056179761886597,0.5070422291755676,0,0,[]],5,5,[],[],[0,"Default",0,1]],[[60,522,0,89,71,0,0,1,0.5056179761886597,0.5070422291755676,0,0,[]],6,6,[],[],[0,"Default",0,1]],[[-335.3371276855469,434.7424621582031,0,64,64,0,0,1,0.5,0.5,0,0,[]],7,7,
[],[],[0,"Default",0,1]],[[-334.0793151855469,506.2786254882813,0,64,64,0,0,1,0.5,0.5,0,0,[]],8,8,[],[],[0,"Default",0,1]],[[160,522,0,130,90,0,0,1,0.5076923370361328,0.5,0,0,[]],9,9,[[0],[0],[""],[0],[0],[0],[""],[0]],[],[0,"Default",0,1]],[[-242,118,0,64,64,0,0,1,0.5,0.5,0,0,[]],15,15,[[0],[0],[400],[0],[0],[0],[0],[0],[8],[0]],[],[0,"Default",0,1]],[[-313,254,0,96,96,0,0,1,0.5,0.5,0,0,[]],16,16,[[0],[0],[400],[0],[0],[0],[0],[0],[4],[0]],[],[0,"Default",0,1]],[[-166,258,0,128,128,0,0,1,0.5,0.5,
0,0,[]],17,17,[[0],[0],[400],[0],[0],[0],[0],[0],[3],[0]],[],[0,"Default",0,1]],[[1,243,0,318,91,0,0,1,0,0,0,0,[]],18,18,[],[],[34,35,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#\"'&()[]|`\\/@\u00b0+=*$\u00a3\u20ac<>","Round 1",1,0,1,1,0,0,-8,0]],[[1.660079956054688,404.5274047851563,0,316.4534912109375,73,0,0,1,0,0,0,0,[]],19,19,[],[],[34,35,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#\"'&()[]|`\\/@\u00b0+=*$\u00a3\u20ac<>","",1,0,1,1,0,0,
-10,0]],[[-181.1279754638672,-39.82440185546875,0,82,67,0,0,1,0,0,0,0,[]],12,12,[[0]],[],[34,35,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#\"'&()[]|`\\/@\u00b0+=*$\u00a3\u20ac<>","30",0.75,0,1,1,0,0,-11,0]],[[13.13984680175781,6.227096557617188,0,93,45,0,0,1,0,0,0,0,[]],23,26,[],[],[34,35,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#\"'&()[]|`\\/@\u00b0+=*$\u00a3\u20ac<>","10",1,0,1,1,0,0,-20,0]],[[119,6.227096557617188,0,93,45,0,0,1,0,0,0,
0,[]],24,27,[],[],[34,35,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#\"'&()[]|`\\/@\u00b0+=*$\u00a3\u20ac<>","10",1,0,1,1,0,0,-20,0]],[[221,6.227096557617188,0,93,45,0,0,1,0,0,0,0,[]],25,28,[],[],[34,35,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#\"'&()[]|`\\/@\u00b0+=*$\u00a3\u20ac<>","10",1,0,1,1,0,0,-20,0]],[[63.34613800048828,220,0,32,32,0,0,1,0.5,0.5,0,0,[]],29,30,[[0]],[],[0,"Default",0,1]],[[152.9056091308594,219.9771423339844,0,32,
32,0,0,1,0.5,0.5,0,0,[]],29,31,[[0]],[],[0,"Default",0,1]],[[247.1463317871094,219.9771423339844,0,32,32,0,0,1,0.5,0.5,0,0,[]],29,32,[[0]],[],[0,"Default",0,1]],[[45,161.9046478271484,0,32,32,0,0,1,0.5,0.5,0,0,[]],29,33,[[0]],[],[0,"Default",0,1]],[[121,161.9046478271484,0,32,32,0,0,1,0.5,0.5,0,0,[]],29,34,[[0]],[],[0,"Default",0,1]],[[197,161.9046478271484,0,32,32,0,0,1,0.5,0.5,0,0,[]],29,35,[[0]],[],[0,"Default",0,1]],[[272,161.9046478271484,0,32,32,0,0,1,0.5,0.5,0,0,[]],29,36,[[0]],[],[0,"Default",
0,1]],[[62,99.24803161621094,0,32,32,0,0,1,0.5,0.5,0,0,[]],29,37,[[0]],[],[0,"Default",0,1]],[[155,99.24803161621094,0,32,32,0,0,1,0.5,0.5,0,0,[]],29,38,[[0]],[],[0,"Default",0,1]],[[247,99.24803161621094,0,32,32,0,0,1,0.5,0.5,0,0,[]],29,39,[[0]],[],[0,"Default",0,1]],[[689.3821411132812,293.3115844726563,0,91,53,0,0,1,0.5054945349693298,0.5094339847564697,0,0,[]],30,40,[[0],[0],[0],[0],[0],[0]],[],[0,"Default",0,1]],[[628.197509765625,28.17691040039063,0,128,128,0,0,1,0,0.5,1,0,[]],31,41,[],[],[180,
360,1,200,32,100,0,0,0,0,0,0,-150,0,0,800,0,0,1]],[[719.5305786132812,204.6371612548828,0,64,64,0,0,1,0.5,0.5,0,0,[]],32,42,[],[],[0,"Default",0,1]],[[719.087646484375,142.1231689453125,0,26,20,0,0,1,0.5,0.5,0,0,[]],33,43,[],[],[0,"Default",0,1]],[[46,276,0,32,32,0,0,1,0.5,0.5,0,0,[]],29,44,[[0]],[],[0,"Default",0,1]],[[124,276,0,32,32,0,0,1,0.5,0.5,0,0,[]],29,45,[[0]],[],[0,"Default",0,1]],[[200,276,0,32,32,0,0,1,0.5,0.5,0,0,[]],29,46,[[0]],[],[0,"Default",0,1]],[[274,276,0,32,32,0,0,1,0.5,0.5,0,
0,[]],29,47,[[0]],[],[0,"Default",0,1]]],[]]],[[null,11,11,[],[],[0,0,0]],[null,21,21,[],[],[]]],[]]],[["Gameplay",[[0,[!0,"System / Cycle"],!1,null,4547692560157627,[[-1,T.prototype.d.zh,null,0,!1,!1,!1,4547692560157627,!1,[[1,[2,"System / Cycle"]]]]],[],[[0,null,!1,null,5395550109919491,[[-1,T.prototype.d.qm,null,1,!1,!1,!1,0xf1db4d58f7874,!1]],[[4,U.prototype.e.Ah,null,7971631399795975,!1,[[0,[0,270]]]],[18,Y.prototype.e.Da,null,7179865777328774,!1,[[3,0]]],[20,V.prototype.e.CallFunction,null,
0xe3922f6b69341,!1,[[1,[2,"HideMathButtons"]],[13]]],[34,U.prototype.e.Bh,null,9850639991133596,!1,[[0,[20,4,U.prototype.i.pc,!1,null]],[0,[20,4,U.prototype.i.od,!1,null]]]],[23,Y.prototype.e.Da,null,0x4373b11856734,!1,[[3,0]]],[24,Y.prototype.e.Da,null,9786639729110796,!1,[[3,0]]],[25,Y.prototype.e.Da,null,0x62eebde2f4001,!1,[[3,0]]],[22,U.prototype.e.Hj,null,0xdb225db652f1d,!1],[26,U.prototype.e.Hj,null,1657481619976,!1],[27,U.prototype.e.Hj,null,0xa004df24c249f,!1],[22,U.prototype.e.nd,null,0x9e52b2f403aa5,
!1,[[0,[0,0]]]],[26,U.prototype.e.nd,null,9169221547245894,!1,[[0,[0,0]]]],[27,U.prototype.e.nd,null,0xa182d8e42584,!1,[[0,[0,0]]]]],[[0,null,!1,null,5008210858606764,[[-1,T.prototype.d.Md,null,0,!0,!1,!1,8043650707990216,!1,[[4,35]]]],[[35,U.prototype.e.Kc,null,7023809191731327,!1]]],[0,null,!1,null,0xe4dc1e1ba7b36,[[-1,T.prototype.d.Md,null,0,!0,!1,!1,0xaec41f8cdb49d,!1,[[4,29]]]],[[29,U.prototype.e.Da,null,29761082533518,!1,[[3,0]]]]]]],[0,null,!1,null,7736391165359639,[[-1,T.prototype.d.vp,null,
0,!1,!1,!1,0xea5907c668e21,!1]],[[4,U.prototype.e.Am,null,8278739544278128,!1,[[0,[5,[20,4,U.prototype.i.pc,!1,null],[7,[5,[20,4,U.prototype.i.pc,!1,null],[21,4,!1,null,0]],[0,5]]]]]],[34,U.prototype.e.Bh,null,7257506101844642,!1,[[0,[20,4,U.prototype.i.pc,!1,null]],[0,[4,[20,4,U.prototype.i.od,!1,null],[0,20]]]]]],[[0,null,!1,null,8641519682362202,[[-1,T.prototype.d.Md,null,0,!0,!1,!1,9292632062113374,!1,[[4,35]]]],[],[[0,null,!1,null,0x8676e1df8d317,[[29,U.prototype.d.bf,null,0,!1,!1,!0,8437891749126312,
!1,[[0,[21,35,!1,null,6]]]]],[[35,U.prototype.e.Bh,null,0x3f851e9edb558,!1,[[0,[5,[20,35,U.prototype.i.pc,!1,null],[7,[5,[20,35,U.prototype.i.pc,!1,null],[20,29,U.prototype.i.pc,!1,null]],[0,10]]]],[0,[5,[20,35,U.prototype.i.od,!1,null],[7,[5,[20,35,U.prototype.i.od,!1,null],[20,29,U.prototype.i.od,!1,null]],[0,10]]]]]]]]]],[0,null,!1,null,7284859088717104,[[-1,T.prototype.d.Md,null,0,!0,!1,!1,0x5881380808cba,!1,[[4,12]]]],[],[[0,null,!1,null,0x8c33a22cc4bef,[[35,U.prototype.d.bf,null,0,!1,!1,!0,
0xb42f966e824c9,!1,[[0,[21,12,!1,null,0]]]]],[[12,Y.prototype.e.Bh,null,0xc9f86c9024643,!1,[[0,[20,35,U.prototype.i.yp,!1,null,[[0,1]]]],[0,[20,35,U.prototype.i.zp,!1,null,[[0,1]]]]]]]]]],[0,null,!1,null,0x69a340779e57,[[-1,T.prototype.d.Md,null,0,!0,!1,!1,6836573640273531,!1,[[4,30]]]],[[30,U.prototype.e.mm,null,4590235884982011,!1,[[0,[0,4]]]]]],[0,null,!1,null,7257072446375047,[[-1,T.prototype.d.Md,null,0,!0,!1,!1,0xdaa6b20939751,!1,[[4,33]]]],[[33,U.prototype.e.mm,null,6006095683537985,!1,[[0,
[0,2]]]]]]]],[0,null,!1,null,0x7c8dae896b384,[[-1,T.prototype.d.up,null,0,!1,!1,!1,903844098380881,!1,[[0,[0,1]]]]],[[20,V.prototype.e.CallFunction,null,6826970131737077,!1,[[1,[2,"ResetTargetNums"]],[13,[7,[19,T.prototype.i.floor,[[19,T.prototype.i.random,[[0,1],[0,4]]]]]]]]]],[[0,null,!1,null,0xdf466fd7ec50c,[[-1,T.prototype.d.tb,null,0,!1,!1,!1,862139114956037,!1,[[7,[20,35,U.prototype.i.sp,!1,null]],[8,3],[7,[0,1]]]]],[[18,Y.prototype.e.Da,null,0xfe5a2aaf378ff,!1,[[3,1]]],[23,Y.prototype.e.Da,
null,4583305994146824,!1,[[3,1]]],[24,Y.prototype.e.Da,null,0x598a5d0de963c,!1,[[3,1]]],[25,Y.prototype.e.Da,null,6628406625646259,!1,[[3,1]]],[20,V.prototype.e.CallFunction,null,917228143701488,!1,[[1,[2,"ResetTargetNums"]],[13,[7,[0,0]]]]],[18,Y.prototype.e.Da,null,0xa70b06e56a80d,!1,[[3,0]]]],[[0,null,!1,null,7907637190488544,[[-1,T.prototype.d.wp,null,0,!0,!1,!1,5657191289766443,!1,[[1,[2,"Spawner"]],[0,[0,1]],[0,[0,3]]]]],[[-1,T.prototype.e.tp,null,7845489928086681,!1,[[4,14],[5,[0,1]],[0,[6,
[19,T.prototype.i.random,[[0,6],[0,24]]],[0,10]]],[0,[0,-64]]]],[20,V.prototype.e.CallFunction,null,0xefdc62019d6ce,!1,[[1,[2,"SpawnEnemy"]],[13,[7,[20,14,U.prototype.i.Pb,!1,null]]]]]]]]],[0,null,!1,null,5681733171384673,[[-1,T.prototype.d.Md,null,0,!0,!1,!1,8147752091904504,!1,[[4,35]]]],[[35,U.prototype.e.Cm,null,9214268900928360,!1,[[10,9],[7,[0,1]]]]],[[0,null,!1,null,7791692755472761,[[35,U.prototype.d.Kd,null,0,!1,!1,!1,9246282152853408,!1,[[10,9],[8,3],[7,[0,0]]]]],[[35,U.prototype.e.ea,null,
4917496044766336,!1,[[10,9],[7,[19,T.prototype.i.ceil,[[19,T.prototype.i.random,[[0,1],[21,35,!1,null,8]]]]]]]],[35,U.prototype.e.cf,null,0xaca37792c9826,!1,[[4,33],[5,[0,2]],[7,[0,2]]]],[33,U.prototype.e.Gj,null,777541564682171,!1,[[0,[20,4,U.prototype.i.pc,!1,null]],[0,[20,4,U.prototype.i.od,!1,null]]]],[33,U.prototype.e.Ah,null,0xbef3ffefcd1ae,!1,[[0,[4,[20,33,U.prototype.i.pp,!1,null],[19,T.prototype.i.random,[[0,-15],[0,15]]]]]]]]]]]]]]],[0,[!0,"Touch / Controls"],!1,null,6125348483141094,[[-1,
T.prototype.d.zh,null,0,!1,!1,!1,6125348483141094,!1,[[1,[2,"Touch / Controls"]]]]],[],[[0,null,!1,null,8261369288345646,[[1,Z.prototype.d.Nd,null,1,!1,!1,!1,0x8cf35348ee57f,!1,[[4,5]]]],[[20,V.prototype.e.CallFunction,null,0x4dc982cbd3b51,!1,[[1,[2,"AppendValue"]],[13,[7,[2,"+"]]]]],[20,V.prototype.e.CallFunction,null,0xd3258d8f89d1b,!1,[[1,[2,"HideMathButtons"]],[13]]]]],[0,null,!1,null,695557693302215,[[1,Z.prototype.d.Nd,null,1,!1,!1,!1,0x693e59bac47b9,!1,[[4,7]]]],[[20,V.prototype.e.CallFunction,
null,0x5ceff89409d73,!1,[[1,[2,"AppendValue"]],[13,[7,[2,"/"]]]]],[20,V.prototype.e.CallFunction,null,7171898736304615,!1,[[1,[2,"HideMathButtons"]],[13]]]]],[0,null,!1,null,7673542496697876,[[1,Z.prototype.d.Nd,null,1,!1,!1,!1,4682329472497209,!1,[[4,6]]]],[[20,V.prototype.e.CallFunction,null,0x5d7f82ac3f978,!1,[[1,[2,"AppendValue"]],[13,[7,[2,"-"]]]]],[20,V.prototype.e.CallFunction,null,0x76b950e87e5a,!1,[[1,[2,"HideMathButtons"]],[13]]]]],[0,null,!1,null,7177660340215586,[[1,Z.prototype.d.Nd,null,
1,!1,!1,!1,9360981246730398,!1,[[4,8]]]],[[20,V.prototype.e.CallFunction,null,8422948084532944,!1,[[1,[2,"AppendValue"]],[13,[7,[2,"*"]]]]],[20,V.prototype.e.CallFunction,null,6487434360423084,!1,[[1,[2,"HideMathButtons"]],[13]]]]],[0,null,!1,null,0x5103dfa3cb49d,[[1,Z.prototype.d.Nd,null,1,!1,!1,!1,759039683153575,!1,[[4,9]]]],[],[[0,null,!1,null,9888659829706698,[[-1,T.prototype.d.tb,null,0,!1,!1,!1,9735522919301552,!1,[[7,[21,9,!1,null,0]],[8,0],[7,[21,9,!1,null,3]]]]],[[20,V.prototype.e.CallFunction,
null,8530507798137074,!1,[[1,[2,"EnemyLocked"]],[13]]],[22,U.prototype.e.nd,null,9659468213272680,!1,[[0,[0,1]]]],[-1,T.prototype.e.Ij,null,0xea11eefb319f6,!1,[[0,[1,0.75]]]],[22,U.prototype.e.nd,null,0xe087d4136cf92,!1,[[0,[0,0]]]]]],[0,null,!1,null,0xc3abe8a541f8a,[[-1,T.prototype.d.tb,null,0,!1,!1,!1,9156332079128608,!1,[[7,[21,9,!1,null,0]],[8,0],[7,[21,9,!1,null,4]]]]],[[20,V.prototype.e.CallFunction,null,0x98b0422768e55,!1,[[1,[2,"EnemyLocked"]],[13]]],[26,U.prototype.e.nd,null,0xae2444d263cb5,
!1,[[0,[0,1]]]],[-1,T.prototype.e.Ij,null,6311004142173106,!1,[[0,[1,0.75]]]],[26,U.prototype.e.nd,null,8470125313845497,!1,[[0,[0,0]]]]]],[0,null,!1,null,9658506145559364,[[-1,T.prototype.d.tb,null,0,!1,!1,!1,7926229020587423,!1,[[7,[21,9,!1,null,0]],[8,0],[7,[21,9,!1,null,5]]]]],[[20,V.prototype.e.CallFunction,null,7398543235524517,!1,[[1,[2,"EnemyLocked"]],[13]]],[27,U.prototype.e.nd,null,0xbce4bff603e95,!1,[[0,[0,1]]]],[-1,T.prototype.e.Ij,null,0xde7ac51de3d22,!1,[[0,[1,0.75]]]],[27,U.prototype.e.nd,
null,0xb328dcd6ed045,!1,[[0,[0,0]]]]]]]],[0,null,!1,null,0x7da77aebbf493,[[1,Z.prototype.d.Bp,null,0,!1,!1,!1,692783765775879,!1]],[[4,U.prototype.e.ea,null,0x6db19c668cf93,!1,[[10,0],[7,[20,1,Z.prototype.i.pc,!1,null]]]]]],[0,null,!1,null,391038836684481,[[1,Z.prototype.d.Nd,null,1,!1,!1,!1,7013713611755167,!1,[[4,35]]]],[[9,U.prototype.e.op,null,9853410290526104,!1,[[10,7],[7,[0,1]]]]],[[0,null,!1,null,5694681739603207,[[35,U.prototype.d.Ap,null,0,!1,!0,!1,0x6a8975dab270e,!1,[[10,4]]],[12,Y.prototype.d.bf,
null,0,!1,!1,!0,0xf3fedcdbcbf18,!1,[[0,[21,35,!1,null,5]]]]],[[20,V.prototype.e.CallFunction,null,5936126555431919,!1,[[1,[2,"AppendValue"]],[13,[7,[19,T.prototype.i.Hd,[[21,35,!1,null,0]]]]]]],[20,V.prototype.e.CallFunction,null,0xbc571d3428071,!1,[[1,[2,"ShowMathButtons"]],[13]]],[35,U.prototype.e.cf,null,7268891161316534,!1,[[4,28],[5,[0,2]],[7,[0,0]]]],[35,U.prototype.e.Pp,null,0x85aa9e39dab3e,!1,[[10,4],[3,1]]],[35,U.prototype.e.ea,null,0x544420a5c08fc,!1,[[10,7],[7,[21,9,!1,null,7]]]],[12,Y.prototype.e.Da,
null,9713661072258376,!1,[[3,0]]]]]]]]],[0,[!0,"Destruction"],!1,null,9869777486611002,[[-1,T.prototype.d.zh,null,0,!1,!1,!1,9869777486611002,!1,[[1,[2,"Destruction"]]]]],[],[[0,null,!1,null,0x4b8b0c8988221,[[32,U.prototype.d.nm,null,1,!1,!1,!1,0xc99a627c5de79,!1,[[1,[2,"Default"]]]]],[[32,U.prototype.e.Kc,null,0xcb8de7445fd19,!1]]],[0,null,!1,null,0xc2de503ced23,[[31,ec.prototype.d.Cp,null,0,!1,!0,!1,9346566301651002,!1]],[[31,ec.prototype.e.Kc,null,5442325684537351,!1]]],[0,null,!1,null,7623769791545848,
[[30,U.prototype.d.om,null,0,!1,!1,!0,7963242587869266,!1,[[4,35]]]],[],[[0,null,!1,null,8468924976312528,[[-1,T.prototype.d.tb,null,0,!1,!1,!1,8162765187843216,!1,[[7,[21,30,!1,null,1]],[8,0],[7,[20,35,U.prototype.i.Pb,!1,null]]]]],[[35,U.prototype.e.Kc,null,0xdde86f4b1c2bd,!1]],[[0,null,!1,null,0x66c324c8664ed,[[30,U.prototype.d.Kd,null,0,!1,!1,!1,5978214999143911,!1,[[10,2],[8,1],[7,[0,0]]]]],[[20,V.prototype.e.CallFunction,null,0x9c3e3f76784ee,!1,[[1,[2,"NextEnemy"]],[13,[7,[21,30,!1,null,2]]]]]]]]],
[0,null,!1,null,7687944537492253,[[-1,T.prototype.d.tb,null,0,!1,!1,!1,0x89d1a137d5287,!1,[[7,[21,30,!1,null,2]],[8,0],[7,[20,35,U.prototype.i.Pb,!1,null]]]]],[[35,U.prototype.e.Kc,null,8079774163598356,!1]],[[0,null,!1,null,5111183001110682,[[30,U.prototype.d.Kd,null,0,!1,!1,!1,0x4643a180f7d7e,!1,[[10,3],[8,1],[7,[0,0]]]]],[[20,V.prototype.e.CallFunction,null,8411270199910099,!1,[[1,[2,"NextEnemy"]],[13,[7,[21,30,!1,null,3]]]]]]]]],[0,null,!1,null,91308910909679,[[-1,T.prototype.d.tb,null,0,!1,!1,
!1,8593805018906587,!1,[[7,[21,30,!1,null,3]],[8,0],[7,[20,35,U.prototype.i.Pb,!1,null]]]]],[[35,U.prototype.e.Kc,null,6901424654775239,!1]],[[0,null,!1,null,6087639930952312,[[30,U.prototype.d.Kd,null,0,!1,!1,!1,5171173390769213,!1,[[10,4],[8,1],[7,[0,0]]]]],[[20,V.prototype.e.CallFunction,null,8769624483019467,!1,[[1,[2,"NextEnemy"]],[13,[7,[21,30,!1,null,4]]]]]]]]],[0,null,!1,null,9190912957892992,[[-1,T.prototype.d.tb,null,0,!1,!1,!1,9010204688352964,!1,[[7,[21,30,!1,null,4]],[8,0],[7,[20,35,
U.prototype.i.Pb,!1,null]]]]],[[35,U.prototype.e.Kc,null,7144057718342552,!1]],[[0,null,!1,null,5121794480610873,[[30,U.prototype.d.Kd,null,0,!1,!1,!1,8147948414920722,!1,[[10,5],[8,1],[7,[0,0]]]]],[[20,V.prototype.e.CallFunction,null,0x85c4573403d8d,!1,[[1,[2,"NextEnemy"]],[13,[7,[21,30,!1,null,5]]]]]]]]]]],[0,null,!1,null,401669201099521,[[30,U.prototype.d.lm,null,0,!1,!0,!1,338858546657919,!1]],[[30,U.prototype.e.Kc,null,8428979338356644,!1]]],[0,null,!1,null,0xa7c6bc5a1d353,[[35,U.prototype.d.pm,
null,1,!1,!1,!1,5875227197160826,!1]],[[35,U.prototype.e.cf,null,5021195061096614,!1,[[4,31],[5,[0,1]],[7,[0,0]]]],[35,U.prototype.e.cf,null,7128406052735864,!1,[[4,32],[5,[0,2]],[7,[0,0]]]],[32,U.prototype.e.zm,null,5197487812194398,!1,[[0,[19,T.prototype.i.random,[[0,1],[0,2]]]]]]],[[0,null,!1,null,329264161983682,[[29,U.prototype.d.bf,null,0,!1,!1,!0,8838720036051667,!1,[[0,[21,35,!1,null,6]]]]],[[29,U.prototype.e.ea,null,5414390029330286,!1,[[10,0],[7,[0,0]]]]]]]]]],[0,[!0,"Functions"],!1,null,
7731022664567573,[[-1,T.prototype.d.zh,null,0,!1,!1,!1,7731022664567573,!1,[[1,[2,"Functions"]]]]],[],[[0,null,!1,null,297891787569896,[[20,V.prototype.d.Lc,null,2,!1,!1,!1,5534660910843735,!1,[[1,[2,"DisplayString"]]]]],[[19,Y.prototype.e.Zf,null,9864047333382472,!1,[[7,[21,9,!0,null,2]]]]]],[0,null,!1,null,0xd82fca981c0af,[[20,V.prototype.d.Lc,null,2,!1,!1,!1,8112289498096251,!1,[[1,[2,"AppendValue"]]]]],[[9,U.prototype.e.ea,null,0xb8e5e45b8be20,!1,[[10,2],[7,[10,[10,[21,9,!0,null,2],[2," "]],[20,
20,V.prototype.i.ac,!1,null,[[0,0]]]]]]],[20,V.prototype.e.CallFunction,null,6030803679913291,!1,[[1,[2,"DisplayString"]],[13]]]],[[0,null,!1,null,4823059562592025,[[-1,T.prototype.d.tb,null,0,!1,!0,!1,7325059407023321,!1,[[7,[19,T.prototype.i.Hd,[[20,20,V.prototype.i.ac,!1,null,[[0,0]]]]]],[8,0],[7,[2,"+"]]]],[-1,T.prototype.d.tb,null,0,!1,!0,!1,9863694589959224,!1,[[7,[19,T.prototype.i.Hd,[[20,20,V.prototype.i.ac,!1,null,[[0,0]]]]]],[8,0],[7,[2,"*"]]]],[-1,T.prototype.d.tb,null,0,!1,!0,!1,0xdc7737c2d962,
!1,[[7,[19,T.prototype.i.Hd,[[20,20,V.prototype.i.ac,!1,null,[[0,0]]]]]],[8,0],[7,[2,"-"]]]],[-1,T.prototype.d.tb,null,0,!1,!0,!1,4704672408280424,!1,[[7,[19,T.prototype.i.Hd,[[20,20,V.prototype.i.ac,!1,null,[[0,0]]]]]],[8,0],[7,[2,"/"]]]]],[],[[0,null,!1,null,6998254787629495,[[9,U.prototype.d.Kd,null,0,!1,!1,!1,8095202362512694,!1,[[10,0],[8,0],[7,[0,0]]]]],[[9,U.prototype.e.ea,null,6768343455949278,!1,[[10,0],[7,[19,T.prototype.i["int"],[[20,20,V.prototype.i.ac,!1,null,[[0,0]]]]]]]],[20,V.prototype.e.CallFunction,
null,0x90151b419a7d6,!1,[[1,[2,"DebugTotal"]],[13]]]]],[0,null,!1,null,0xf84fd83182696,[[-1,T.prototype.d.Aj,null,0,!1,!1,!1,8865574958973865,!1]],[],[[0,null,!1,null,8757507961174863,[[-1,T.prototype.d.tb,null,0,!1,!1,!1,6052601260284307,!1,[[7,[21,9,!0,null,6]],[8,0],[7,[2,"+"]]]]],[[9,U.prototype.e.ea,null,6465885124350261,!1,[[10,0],[7,[4,[21,9,!1,null,0],[19,T.prototype.i["int"],[[20,20,V.prototype.i.ac,!1,null,[[0,0]]]]]]]]],[20,V.prototype.e.CallFunction,null,7999248320781916,!1,[[1,[2,"DebugTotal"]],
[13]]]]],[0,null,!1,null,9118929912119808,[[-1,T.prototype.d.tb,null,0,!1,!1,!1,0x3a5960d9c7a50,!1,[[7,[21,9,!0,null,6]],[8,0],[7,[2,"-"]]]]],[[9,U.prototype.e.ea,null,8620684921620809,!1,[[10,0],[7,[5,[21,9,!1,null,0],[19,T.prototype.i["int"],[[20,20,V.prototype.i.ac,!1,null,[[0,0]]]]]]]]],[20,V.prototype.e.CallFunction,null,7661636196667563,!1,[[1,[2,"DebugTotal"]],[13]]]]],[0,null,!1,null,0xb95eba5588e54,[[-1,T.prototype.d.tb,null,0,!1,!1,!1,4981199115561453,!1,[[7,[21,9,!0,null,6]],[8,0],[7,[2,
"*"]]]]],[[9,U.prototype.e.ea,null,5034381618831867,!1,[[10,0],[7,[6,[21,9,!1,null,0],[19,T.prototype.i["int"],[[20,20,V.prototype.i.ac,!1,null,[[0,0]]]]]]]]],[20,V.prototype.e.CallFunction,null,9900414486461142,!1,[[1,[2,"DebugTotal"]],[13]]]]],[0,null,!1,null,0x9e50e7a8da630,[[-1,T.prototype.d.tb,null,0,!1,!1,!1,0xb1a04c9c45ae0,!1,[[7,[21,9,!0,null,6]],[8,0],[7,[2,"/"]]]]],[[9,U.prototype.e.ea,null,0x5ce62ca55eac,!1,[[10,0],[7,[7,[21,9,!1,null,0],[19,T.prototype.i["int"],[[20,20,V.prototype.i.ac,
!1,null,[[0,0]]]]]]]]],[20,V.prototype.e.CallFunction,null,5071518158099763,!1,[[1,[2,"DebugTotal"]],[13]]]]]]]]],[0,null,!1,null,6017855801998759,[[-1,T.prototype.d.Aj,null,0,!1,!1,!1,0x5c6dc85abc6ce,!1]],[[9,U.prototype.e.ea,null,923987926598637,!1,[[10,6],[7,[20,20,V.prototype.i.ac,!1,null,[[0,0]]]]]]]]]],[0,null,!1,null,5166914838095407,[[20,V.prototype.d.Lc,null,2,!1,!1,!1,705496401048575,!1,[[1,[2,"HideMathButtons"]]]]],[[6,U.prototype.e.Da,null,0x7e525ddab0f20,!1,[[3,0]]],[5,U.prototype.e.Da,
null,0x38ed629529e4e,!1,[[3,0]]],[7,U.prototype.e.Da,null,6925971459486804,!1,[[3,0]]],[8,U.prototype.e.Da,null,0x9240788520e85,!1,[[3,0]]],[9,U.prototype.e.Da,null,0xb08475a313d1f,!1,[[3,0]]]]],[0,null,!1,null,0x9d42d6faf0cff,[[20,V.prototype.d.Lc,null,2,!1,!1,!1,0xd2a2b5e5a57f7,!1,[[1,[2,"ShowMathButtons"]]]]],[[6,U.prototype.e.Da,null,6918743256001801,!1,[[3,1]]],[5,U.prototype.e.Da,null,8161879436949029,!1,[[3,1]]],[7,U.prototype.e.Da,null,6193192894622086,!1,[[3,1]]],[8,U.prototype.e.Da,null,
8986663820893588,!1,[[3,1]]],[9,U.prototype.e.Da,null,5555300652298733,!1,[[3,1]]]]],[0,null,!1,null,6606654414109253,[[20,V.prototype.d.Lc,null,2,!1,!1,!1,0x3d77a0ebbfbef,!1,[[1,[2,"ResetTargetNums"]]]]],[],[[0,null,!0,null,9037739545286084,[[20,V.prototype.d.ue,null,0,!1,!1,!1,6355650614431583,!1,[[0,[0,0]],[8,0],[7,[0,0]]]],[20,V.prototype.d.ue,null,0,!1,!1,!1,9975947889773564,!1,[[0,[0,0]],[8,0],[7,[0,1]]]]],[[9,U.prototype.e.ea,null,0x84f70073e6585,!1,[[10,3],[7,[19,T.prototype.i.floor,[[19,
T.prototype.i.random,[[0,0],[0,20]]]]]]]],[23,Y.prototype.e.Zf,null,0xe05d6a3612342,!1,[[7,[19,T.prototype.i.Hd,[[21,9,!1,null,3]]]]]]]],[0,null,!0,null,4842384148693728,[[20,V.prototype.d.ue,null,0,!1,!1,!1,8317685044616238,!1,[[0,[0,0]],[8,0],[7,[0,0]]]],[20,V.prototype.d.ue,null,0,!1,!1,!1,5034043980411652,!1,[[0,[0,0]],[8,0],[7,[0,2]]]]],[[9,U.prototype.e.ea,null,686924754385101,!1,[[10,4],[7,[19,T.prototype.i.floor,[[19,T.prototype.i.random,[[0,0],[0,20]]]]]]]],[24,Y.prototype.e.Zf,null,0x5e7f7c7300075,
!1,[[7,[19,T.prototype.i.Hd,[[21,9,!1,null,4]]]]]]]],[0,null,!0,null,5340423550256434,[[20,V.prototype.d.ue,null,0,!1,!1,!1,0x8bbe9801cc009,!1,[[0,[0,0]],[8,0],[7,[0,0]]]],[20,V.prototype.d.ue,null,0,!1,!1,!1,5406399118844739,!1,[[0,[0,0]],[8,0],[7,[0,3]]]]],[[9,U.prototype.e.ea,null,6729169205929609,!1,[[10,5],[7,[19,T.prototype.i.floor,[[19,T.prototype.i.random,[[0,0],[0,20]]]]]]]],[25,Y.prototype.e.Zf,null,9731149137548152,!1,[[7,[19,T.prototype.i.Hd,[[21,9,!1,null,5]]]]]]]],[0,null,!1,null,0xcb903dddf7211,
[[20,V.prototype.d.ue,null,0,!1,!1,!1,832031825484367,!1,[[0,[0,0]],[8,0],[7,[0,0]]]]],[[9,U.prototype.e.ea,null,489654878633739,!1,[[10,0],[7,[0,0]]]],[9,U.prototype.e.ea,null,0xae1f21a5e479a,!1,[[10,2],[7,[2,""]]]],[9,U.prototype.e.ea,null,8338789583700344,!1,[[10,1],[7,[0,0]]]]]]]],[0,null,!1,null,6542486916715595,[[20,V.prototype.d.Lc,null,2,!1,!1,!1,7226072243458271,!1,[[1,[2,"SpawnEnemy"]]]]],[],[[0,null,!1,null,0x4454410bdf309,[[35,U.prototype.d.bf,null,0,!1,!1,!0,9492270319792612,!1,[[0,[20,
20,V.prototype.i.ac,!1,null,[[0,0]]]]]]],[[35,U.prototype.e.ea,null,0x5251f7ffabe23,!1,[[10,9],[7,[19,T.prototype.i.ceil,[[19,T.prototype.i.random,[[0,1],[21,35,!1,null,8]]]]]]]],[35,U.prototype.e.ea,null,793736630767102,!1,[[10,3],[7,[19,T.prototype.i.random,[[0,1],[0,3]]]]]],[35,U.prototype.e.ea,null,7116803172515791,!1,[[10,0],[7,[19,T.prototype.i.floor,[[19,T.prototype.i.random,[[0,1],[0,9]]]]]]]],[35,U.prototype.e.Ah,null,0x63be9ddae3e26,!1,[[0,[0,90]]]],[35,U.prototype.e.cf,null,0x77dd5dfb69e37,
!1,[[4,12],[5,[0,3]],[7,[0,1]]]],[35,U.prototype.e.ea,null,0x67ca7284396f2,!1,[[10,5],[7,[20,12,Y.prototype.i.Pb,!1,null]]]],[12,Y.prototype.e.ea,null,8980303702976254,!1,[[10,0],[7,[20,35,U.prototype.i.Pb,!1,null]]]],[12,Y.prototype.e.Ah,null,4605792381792585,!1,[[0,[0,0]]]],[12,Y.prototype.e.Zf,null,9868168762996084,!1,[[7,[19,T.prototype.i.Hd,[[21,35,!1,null,0]]]]]]],[[0,null,!1,null,6133310387086697,[[-1,T.prototype.d.Tp,null,0,!0,!1,!1,9522647312524592,!1],[35,U.prototype.d.Kd,null,0,!1,!1,!1,
5795234636541718,!1,[[10,6],[8,0],[7,[0,0]]]]],[],[[0,null,!1,null,5142991374897019,[[-1,T.prototype.d.Op,null,0,!1,!1,!1,780285768513437,!1,[[4,29]]]],[],[[0,null,!1,null,9922757524708424,[[29,U.prototype.d.Kd,null,0,!1,!1,!1,0xc17d6cfa025bb,!1,[[10,0],[8,0],[7,[0,0]]]]],[[29,U.prototype.e.ea,null,8676951787604569,!1,[[10,0],[7,[20,35,U.prototype.i.Pb,!1,null]]]],[35,U.prototype.e.ea,null,4626765970329357,!1,[[10,6],[7,[20,29,U.prototype.i.Pb,!1,null]]]]]]]]]]]]]],[0,null,!1,null,5133661556408496,
[[20,V.prototype.d.Lc,null,2,!1,!1,!1,0xdbb4a4030d27a,!1,[[1,[2,"DebugTotal"]]]]],[]],[0,null,!1,null,0xc69a235a7a496,[[20,V.prototype.d.Lc,null,2,!1,!1,!1,6717537762084719,!1,[[1,[2,"EnemyLocked"]]]]],[[4,U.prototype.e.cf,null,7432779264101052,!1,[[4,30],[5,[0,2]],[7,[0,1]]]],[9,U.prototype.e.ea,null,0x5f25bc43c5f49,!1,[[10,7],[7,[0,0]]]]],[[0,null,!1,null,9822266127645486,[[-1,T.prototype.d.Md,null,0,!0,!1,!1,7728069396745338,!1,[[4,28]]]],[[28,U.prototype.e.Kc,null,9774282183658908,!1]]],[0,null,
!1,null,5577869082627799,[[-1,T.prototype.d.Yf,null,0,!1,!1,!1,0x9a4efe4559e82,!1,[[4,35],[7,[21,35,!1,null,7]],[8,0],[7,[0,1]]]]],[[30,U.prototype.e.Gj,null,5803694530348734,!1,[[0,[20,35,U.prototype.i.pc,!1,null]],[0,[20,35,U.prototype.i.od,!1,null]]]],[30,U.prototype.e.ea,null,0x83f6905f0e770,!1,[[10,1],[7,[20,35,U.prototype.i.Pb,!1,null]]]]]],[0,null,!1,null,4694515341496567,[[-1,T.prototype.d.Yf,null,0,!1,!1,!1,8351463420844411,!1,[[4,35],[7,[21,35,!1,null,7]],[8,0],[7,[0,2]]]]],[[30,U.prototype.e.ea,
null,6741955178310522,!1,[[10,2],[7,[20,35,U.prototype.i.Pb,!1,null]]]]]],[0,null,!1,null,284804875192111,[[-1,T.prototype.d.Yf,null,0,!1,!1,!1,0xae555934c0b06,!1,[[4,35],[7,[21,35,!1,null,7]],[8,0],[7,[0,3]]]]],[[30,U.prototype.e.ea,null,7651888324952605,!1,[[10,3],[7,[20,35,U.prototype.i.Pb,!1,null]]]]]],[0,null,!1,null,4915468202931257,[[-1,T.prototype.d.Yf,null,0,!1,!1,!1,7215175656492432,!1,[[4,35],[7,[21,35,!1,null,7]],[8,0],[7,[0,4]]]]],[[30,U.prototype.e.ea,null,5267984744912129,!1,[[10,4],
[7,[20,35,U.prototype.i.Pb,!1,null]]]]]],[0,null,!1,null,5193608762117096,[[-1,T.prototype.d.Yf,null,0,!1,!1,!1,0xf99b22163e2c6,!1,[[4,35],[7,[21,35,!1,null,7]],[8,0],[7,[0,5]]]]],[[30,U.prototype.e.ea,null,0xd952acef5ca0c,!1,[[10,5],[7,[20,35,U.prototype.i.Pb,!1,null]]]]]]]],[0,null,!1,null,6796447783062232,[[20,V.prototype.d.Lc,null,2,!1,!1,!1,6717601675762479,!1,[[1,[2,"NextEnemy"]]]]],[],[[0,null,!1,null,0x7d5f151ef65de,[[35,U.prototype.d.bf,null,0,!1,!1,!0,5641386802862769,!1,[[0,[20,20,V.prototype.i.ac,
!1,null,[[0,0]]]]]]],[[30,U.prototype.e.Gj,null,0xe2922eaefdf65,!1,[[0,[20,35,U.prototype.i.pc,!1,null]],[0,[20,35,U.prototype.i.od,!1,null]]]]]]]]]],[0,null,!1,null,0x5074552cab155,[[33,U.prototype.d.lm,null,0,!1,!0,!1,0x3e894af3dc8bd,!1]],[[33,U.prototype.e.Kc,null,5449174536943103,!1]]],[0,null,!1,null,894297173711786,[[33,U.prototype.d.om,null,0,!1,!1,!0,6027936543897306,!1,[[4,4]]]],[[4,U.prototype.e.Cm,null,8543655571839895,!1,[[10,1],[7,[0,5]]]],[33,U.prototype.e.Kc,null,9229815013419792,!1]]]]]],
"media/",!1,320,568,4,!0,!0,!1,"1.0",!0,!1,0,1,49,!0,!0,1,[]]};
