// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';function C(){return function(){}}function F(d){return function(){return this[d]}}function L(d){return function(){return d}}var aa,ba,ca,da,ea,N,fa,ga,ha,ia,ja,ma,na,oa,pa,qa,ra,sa,ta,ua,va,ya,O,za,Aa,Ba,Ca,Da,Ea,Ga,Ha,Ia,Ma,Na,Oa,Pa,Qa,Va,Wa,Xa,Ya,Za,$a,ab,bb,cb,eb,fb,gb,hb,ib,jb,kb,lb,mb,nb,ob,pb,qb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Wb,Xb={};
"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(d){return d.__proto__}:function(d){return d.constructor.prototype});
(function(){function d(e,m,a,c){this.set(e,m,a,c)}function l(){this.pb=this.ob=this.rb=this.qb=this.xb=this.wb=this.Fa=this.Ea=0}function f(e,m,a,c){e<m?a<c?(p=e<a?e:a,n=m>c?m:c):(p=e<c?e:c,n=m>a?m:a):a<c?(p=m<a?m:a,n=e>c?e:c):(p=m<c?m:c,n=e>a?e:a)}function h(){this.Id=this.md=null;this.If=0;k&&(this.md=new Set);this.eg=[];this.$d=!0}function b(H){e[m++]=H}function a(){this.Ka=this.Gj=this.y=this.hk=0}function g(e){this.Va=[];this.Wh=this.Yh=this.Zh=this.Xh=0;this.yh(e)}function c(e,m){this.Pq=e;
this.Oq=m;this.cells={}}function q(e,m,a){var c;return x.length?(c=x.pop(),c.Ds=e,c.x=m,c.y=a,c):new aa(e,m,a)}function r(e,m,a){this.Ds=e;this.x=m;this.y=a;this.gh=new ba}ca=function(e){window.console&&window.console.log&&window.console.log(e)};da=function(e){return"undefined"===typeof e};ea=function(e){return"number"===typeof e};N=function(e){return"string"===typeof e};fa=function(e){return 0<e&&0===(e-1&e)};ga=function(e){--e;for(var m=1;32>m;m<<=1)e|=e>>m;return e+1};ha=function(e){return 0>e?
-e:e};ia=function(e,m){return e<m?e:m};ja=Math.PI;ma=function(e){return 0<=e?e|0:(e|0)-1};na=function(e){var m=e|0;return m===e?m:m+1};oa=function(e,m,a,c,u,g,x,b){var q,f,k,r;e<a?(f=e,q=a):(f=a,q=e);u<x?(r=u,k=x):(r=x,k=u);if(q<r||f>k)return!1;m<c?(f=m,q=c):(f=c,q=m);g<b?(r=g,k=b):(r=b,k=g);if(q<r||f>k)return!1;q=u-e+x-a;f=g-m+b-c;e=a-e;m=c-m;u=x-u;g=b-g;b=ha(m*u-g*e);return ha(u*f-g*q)>b?!1:ha(e*f-m*q)<=b};d.prototype.set=function(e,m,a,c){this.left=e;this.top=m;this.right=a;this.bottom=c};d.prototype.copy=
function(e){this.left=e.left;this.top=e.top;this.right=e.right;this.bottom=e.bottom};d.prototype.width=function(){return this.right-this.left};d.prototype.height=function(){return this.bottom-this.top};d.prototype.offset=function(e,m){this.left+=e;this.top+=m;this.right+=e;this.bottom+=m;return this};d.prototype.normalize=function(){var e=0;this.left>this.right&&(e=this.left,this.left=this.right,this.right=e);this.top>this.bottom&&(e=this.top,this.top=this.bottom,this.bottom=e)};d.prototype.Ls=function(e){return!(e.right<
this.left||e.bottom<this.top||e.left>this.right||e.top>this.bottom)};d.prototype.Ms=function(e,m,a){return!(e.right+m<this.left||e.bottom+a<this.top||e.left+m>this.right||e.top+a>this.bottom)};d.prototype.zb=function(e,m){return e>=this.left&&e<=this.right&&m>=this.top&&m<=this.bottom};d.prototype.qr=function(e){return this.left===e.left&&this.top===e.top&&this.right===e.right&&this.bottom===e.bottom};pa=d;l.prototype.xh=function(e){this.Ea=e.left;this.Fa=e.top;this.wb=e.right;this.xb=e.top;this.qb=
e.right;this.rb=e.bottom;this.ob=e.left;this.pb=e.bottom};l.prototype.ip=function(e,m){if(0===m)this.xh(e);else{var a=Math.sin(m),c=Math.cos(m),u=e.left*a,g=e.top*a,x=e.right*a,a=e.bottom*a,b=e.left*c,q=e.top*c,f=e.right*c,c=e.bottom*c;this.Ea=b-g;this.Fa=q+u;this.wb=f-g;this.xb=q+x;this.qb=f-a;this.rb=c+x;this.ob=b-a;this.pb=c+u}};l.prototype.offset=function(e,m){this.Ea+=e;this.Fa+=m;this.wb+=e;this.xb+=m;this.qb+=e;this.rb+=m;this.ob+=e;this.pb+=m;return this};var p=0,n=0;l.prototype.an=function(e){f(this.Ea,
this.wb,this.qb,this.ob);e.left=p;e.right=n;f(this.Fa,this.xb,this.rb,this.pb);e.top=p;e.bottom=n};l.prototype.zb=function(e,m){var a=this.wb-this.Ea,c=this.xb-this.Fa,u=this.qb-this.Ea,g=this.rb-this.Fa,x=e-this.Ea,b=m-this.Fa,q=a*a+c*c,f=a*u+c*g,c=a*x+c*b,k=u*u+g*g,r=u*x+g*b,d=1/(q*k-f*f),a=(k*c-f*r)*d,q=(q*r-f*c)*d;if(0<=a&&0<q&&1>a+q)return!0;a=this.ob-this.Ea;c=this.pb-this.Fa;q=a*a+c*c;f=a*u+c*g;c=a*x+c*b;d=1/(q*k-f*f);a=(k*c-f*r)*d;q=(q*r-f*c)*d;return 0<=a&&0<q&&1>a+q};l.prototype.Xd=function(e,
m){if(m)switch(e){case 0:return this.Ea;case 1:return this.wb;case 2:return this.qb;case 3:return this.ob;case 4:return this.Ea;default:return this.Ea}else switch(e){case 0:return this.Fa;case 1:return this.xb;case 2:return this.rb;case 3:return this.pb;case 4:return this.Fa;default:return this.Fa}};l.prototype.uo=function(){return(this.Ea+this.wb+this.qb+this.ob)/4};l.prototype.vo=function(){return(this.Fa+this.xb+this.rb+this.pb)/4};l.prototype.Tn=function(e){var m=e.uo(),a=e.vo();if(this.zb(m,
a))return!0;m=this.uo();a=this.vo();if(e.zb(m,a))return!0;var c,u,g,x,b,q,f,k;for(f=0;4>f;f++)for(k=0;4>k;k++)if(m=this.Xd(f,!0),a=this.Xd(f,!1),c=this.Xd(f+1,!0),u=this.Xd(f+1,!1),g=e.Xd(k,!0),x=e.Xd(k,!1),b=e.Xd(k+1,!0),q=e.Xd(k+1,!1),oa(m,a,c,u,g,x,b,q))return!0;return!1};qa=l;ra=function(e,m){for(var a in m)m.hasOwnProperty(a)&&(e[a]=m[a]);return e};sa=function(e,m){var a,c;m=ma(m);if(!(0>m||m>=e.length)){a=m;for(c=e.length-1;a<c;a++)e[a]=e[a+1];e.length=c}};ta=function(e,m){e.length=m.length;
var a,c;a=0;for(c=m.length;a<c;a++)e[a]=m[a]};ua=function(e,m){e.push.apply(e,m)};va=function(e,m){var a,c;a=0;for(c=e.length;a<c;++a)if(e[a]===m)return a;return-1};ya=function(e,m){var a=va(e,m);-1!==a&&sa(e,a)};O=function(e){return e/(180/ja)};za=function(e){return e*(180/ja)};Aa=function(e){e%=360;0>e&&(e+=360);return e};Ba=function(e){e%=2*ja;0>e&&(e+=2*ja);return e};Ca=function(e){return Aa(za(e))};Da=function(e){return Ba(O(e))};Ea=function(e,m,a,c){return Math.atan2(c-m,a-e)};Ga=function(e,
m){if(e===m)return 0;var a=Math.sin(e),c=Math.cos(e),u=Math.sin(m),g=Math.cos(m),a=a*u+c*g;return 1<=a?0:-1>=a?ja:Math.acos(a)};Ha=function(e,m,a){var c=Math.sin(e),u=Math.cos(e),g=Math.sin(m),x=Math.cos(m);return Math.acos(c*g+u*x)>a?0<u*g-c*x?Ba(e+a):Ba(e-a):Ba(m)};Ia=function(e,m){var a=Math.sin(e),c=Math.cos(e),u=Math.sin(m),g=Math.cos(m);return 0>=c*u-a*g};Ma=function(e,m,a,c,u,g){if(0===a)return g?e:m;var x=Math.sin(a);a=Math.cos(a);e-=c;m-=u;var b=e*x;e=e*a-m*x;m=m*a+b;return g?e+c:m+u};Na=
function(e,m,a,c){e=a-e;m=c-m;return Math.sqrt(e*e+m*m)};Oa=function(e,m){return!e!==!m};Pa=function(e){for(var m in e)if(e.hasOwnProperty(m))return!0;return!1};Qa=function(e){for(var m in e)e.hasOwnProperty(m)&&delete e[m]};var w=+new Date;Va=function(){if("undefined"!==typeof window.performance){var e=window.performance;if("undefined"!==typeof e.now)return e.now();if("undefined"!==typeof e.webkitNow)return e.webkitNow();if("undefined"!==typeof e.mozNow)return e.mozNow();if("undefined"!==typeof e.msNow)return e.msNow()}return Date.now()-
w};var s=!1,t=s=!1,v=!1;"undefined"!==typeof window&&(s=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent),s=!s&&/safari/i.test(navigator.userAgent),t=/(iphone|ipod|ipad)/i.test(navigator.userAgent),v=window.c2ejecta);var k=!s&&!v&&!t&&"undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;h.prototype.contains=function(e){return this.Nc()?!1:k?this.md.has(e):this.Id&&this.Id.hasOwnProperty(e)};h.prototype.add=function(e){if(k)this.md.has(e)||(this.md.add(e),this.$d=
!1);else{var m=e.toString(),a=this.Id;a?a.hasOwnProperty(m)||(a[m]=e,this.If++,this.$d=!1):(this.Id={},this.Id[m]=e,this.If=1,this.$d=!1)}};h.prototype.remove=function(e){if(!this.Nc())if(k)this.md.has(e)&&(this.md["delete"](e),this.$d=!1);else if(this.Id){e=e.toString();var m=this.Id;m.hasOwnProperty(e)&&(delete m[e],this.If--,this.$d=!1)}};h.prototype.clear=function(){this.Nc()||(k?this.md.clear():(this.Id=null,this.If=0),this.eg.length=0,this.$d=!0)};h.prototype.Nc=function(){return 0===this.count()};
h.prototype.count=function(){return k?this.md.size:this.If};var e=null,m=0;h.prototype.bu=function(){if(!this.$d){if(k)this.eg.length=this.md.size,e=this.eg,m=0,this.md.forEach(b),e=null,m=0;else{var a=this.eg;a.length=this.If;var c,u=0,g=this.Id;if(g)for(c in g)g.hasOwnProperty(c)&&(a[u++]=g[c])}this.$d=!0}};h.prototype.td=function(){this.bu();return this.eg};ba=h;new ba;a.prototype.add=function(e){this.y=e-this.hk;this.Gj=this.Ka+this.y;this.hk=this.Gj-this.Ka-this.y;this.Ka=this.Gj};a.prototype.reset=
function(){this.Ka=this.Gj=this.y=this.hk=0};Wa=a;Xa=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};g.prototype.yh=function(e){this.Uo=e;this.Tc=e.length/2;this.Va.length=e.length;this.ai=this.bi=-1;this.cn=0};g.prototype.Ff=function(){return!this.Uo.length};g.prototype.qa=function(){for(var e=this.Va,m=e[0],a=m,c=e[1],u=c,g,x,b=1,q=this.Tc;b<q;++b)x=2*b,g=e[x],x=e[x+1],g<m&&(m=g),g>a&&(a=g),x<c&&(c=x),x>u&&(u=x);this.Xh=m;this.Yh=a;this.Zh=c;this.Wh=u};g.prototype.xh=function(e,
m,a){this.Va.length=8;this.Tc=4;var c=this.Va;c[0]=e.left-m;c[1]=e.top-a;c[2]=e.right-m;c[3]=e.top-a;c[4]=e.right-m;c[5]=e.bottom-a;c[6]=e.left-m;c[7]=e.bottom-a;this.bi=e.right-e.left;this.ai=e.bottom-e.top;this.qa()};g.prototype.Zf=function(e,m,a,c,u){this.Va.length=8;this.Tc=4;var g=this.Va;g[0]=e.Ea-m;g[1]=e.Fa-a;g[2]=e.wb-m;g[3]=e.xb-a;g[4]=e.qb-m;g[5]=e.rb-a;g[6]=e.ob-m;g[7]=e.pb-a;this.bi=c;this.ai=u;this.qa()};g.prototype.hp=function(e){this.Tc=e.Tc;ta(this.Va,e.Va);this.Xh=e.Xh;this.Zh-e.Zh;
this.Yh=e.Yh;this.Wh=e.Wh};g.prototype.qf=function(e,m,a){if(this.bi!==e||this.ai!==m||this.cn!==a){this.bi=e;this.ai=m;this.cn=a;var c,u,g,x,b,q=0,f=1,k=this.Uo,r=this.Va;0!==a&&(q=Math.sin(a),f=Math.cos(a));a=0;for(g=this.Tc;a<g;a++)c=2*a,u=c+1,x=k[c]*e,b=k[u]*m,r[c]=x*f-b*q,r[u]=b*f+x*q;this.qa()}};g.prototype.zb=function(e,m){var a=this.Va;if(e===a[0]&&m===a[1])return!0;var c,u,g,x=this.Tc,b=this.Xh-110,q=this.Zh-101,f=this.Yh+131,k=this.Wh+120,r,d,n=0,h=0;for(c=0;c<x;c++)u=2*c,g=2*((c+1)%x),
r=a[u],u=a[u+1],d=a[g],g=a[g+1],oa(b,q,e,m,r,u,d,g)&&n++,oa(f,k,e,m,r,u,d,g)&&h++;return 1===n%2||1===h%2};g.prototype.Ig=function(e,m,a){var c=e.Va,u=this.Va;if(this.zb(c[0]+m,c[1]+a)||e.zb(u[0]-m,u[1]-a))return!0;var g,x,b,q,f,k,r,d,n,h,l,p;g=0;for(q=this.Tc;g<q;g++)for(x=2*g,b=2*((g+1)%q),d=u[x],x=u[x+1],n=u[b],h=u[b+1],b=0,r=e.Tc;b<r;b++)if(f=2*b,k=2*((b+1)%r),l=c[f]+m,f=c[f+1]+a,p=c[k]+m,k=c[k+1]+a,oa(d,x,n,h,l,f,p,k))return!0;return!1};Ya=g;c.prototype.Ek=function(e,m,a){var c;c=this.cells[e];
return c?(c=c[m])?c:a?(c=q(this,e,m),this.cells[e][m]=c):null:a?(c=q(this,e,m),this.cells[e]={},this.cells[e][m]=c):null};c.prototype.Sh=function(e){return ma(e/this.Pq)};c.prototype.Th=function(e){return ma(e/this.Oq)};c.prototype.update=function(e,m,a){var c,u,g,b,q;if(m)for(c=m.left,u=m.right;c<=u;++c)for(g=m.top,b=m.bottom;g<=b;++g)if(!a||!a.zb(c,g))if(q=this.Ek(c,g,!1))q.remove(e),q.Nc()&&(q.gh.clear(),1E3>x.length&&x.push(q),this.cells[c][g]=null);if(a)for(c=a.left,u=a.right;c<=u;++c)for(g=
a.top,b=a.bottom;g<=b;++g)m&&m.zb(c,g)||this.Ek(c,g,!0).Ks(e)};c.prototype.Wo=function(e,m){var a,c,u,g,x,b;a=this.Sh(e.left);u=this.Th(e.top);c=this.Sh(e.right);for(x=this.Th(e.bottom);a<=c;++a)for(g=u;g<=x;++g)(b=this.Ek(a,g,!1))&&b.mr(m)};Za=c;var x=[];r.prototype.Nc=function(){return this.gh.Nc()};r.prototype.Ks=function(e){this.gh.add(e)};r.prototype.remove=function(e){this.gh.remove(e)};r.prototype.mr=function(e){ua(e,this.gh.td())};aa=r;var u="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");
$a=function(e){return 0>=e||11<=e?"source-over":u[e-1]};ab=function(e,m,a){if(a)switch(e.ub=a.ONE,e.sb=a.ONE_MINUS_SRC_ALPHA,m){case 1:e.ub=a.ONE;e.sb=a.ONE;break;case 3:e.ub=a.ONE;e.sb=a.ZERO;break;case 4:e.ub=a.ONE_MINUS_DST_ALPHA;e.sb=a.ONE;break;case 5:e.ub=a.DST_ALPHA;e.sb=a.ZERO;break;case 6:e.ub=a.ZERO;e.sb=a.SRC_ALPHA;break;case 7:e.ub=a.ONE_MINUS_DST_ALPHA;e.sb=a.ZERO;break;case 8:e.ub=a.ZERO;e.sb=a.ONE_MINUS_SRC_ALPHA;break;case 9:e.ub=a.DST_ALPHA;e.sb=a.ONE_MINUS_SRC_ALPHA;break;case 10:e.ub=
a.ONE_MINUS_DST_ALPHA,e.sb=a.SRC_ALPHA}};bb=function(e){return Math.round(1E6*e)/1E6};cb=function(e,m){return"string"!==typeof e||"string"!==typeof m||e.length!==m.length?!1:e===m?!0:e.toLowerCase()===m.toLowerCase()};eb=function(e){e=e.target;return!e||e===document||e===window||document&&document.body&&e===document.body||cb(e.tagName,"canvas")?!0:!1}})();var Yb="undefined"!==typeof Float32Array?Float32Array:Array;function Zb(d){var l=new Yb(3);d&&(l[0]=d[0],l[1]=d[1],l[2]=d[2]);return l}
function $b(d){var l=new Yb(16);d&&(l[0]=d[0],l[1]=d[1],l[2]=d[2],l[3]=d[3],l[4]=d[4],l[5]=d[5],l[6]=d[6],l[7]=d[7],l[8]=d[8],l[9]=d[9],l[10]=d[10],l[11]=d[11],l[12]=d[12],l[13]=d[13],l[14]=d[14],l[15]=d[15]);return l}function ac(d,l){l[0]=d[0];l[1]=d[1];l[2]=d[2];l[3]=d[3];l[4]=d[4];l[5]=d[5];l[6]=d[6];l[7]=d[7];l[8]=d[8];l[9]=d[9];l[10]=d[10];l[11]=d[11];l[12]=d[12];l[13]=d[13];l[14]=d[14];l[15]=d[15]}
function bc(d,l){var f=l[0],h=l[1];l=l[2];d[0]*=f;d[1]*=f;d[2]*=f;d[3]*=f;d[4]*=h;d[5]*=h;d[6]*=h;d[7]*=h;d[8]*=l;d[9]*=l;d[10]*=l;d[11]*=l}
function cc(d,l,f,h){h||(h=$b());var b,a,g,c,q,r,p,n,w=d[0],s=d[1];d=d[2];a=f[0];g=f[1];b=f[2];f=l[1];r=l[2];w===l[0]&&s===f&&d===r?(d=h,d[0]=1,d[1]=0,d[2]=0,d[3]=0,d[4]=0,d[5]=1,d[6]=0,d[7]=0,d[8]=0,d[9]=0,d[10]=1,d[11]=0,d[12]=0,d[13]=0,d[14]=0,d[15]=1):(f=w-l[0],r=s-l[1],p=d-l[2],n=1/Math.sqrt(f*f+r*r+p*p),f*=n,r*=n,p*=n,l=g*p-b*r,b=b*f-a*p,a=a*r-g*f,(n=Math.sqrt(l*l+b*b+a*a))?(n=1/n,l*=n,b*=n,a*=n):a=b=l=0,g=r*a-p*b,c=p*l-f*a,q=f*b-r*l,(n=Math.sqrt(g*g+c*c+q*q))?(n=1/n,g*=n,c*=n,q*=n):q=c=g=0,
h[0]=l,h[1]=g,h[2]=f,h[3]=0,h[4]=b,h[5]=c,h[6]=r,h[7]=0,h[8]=a,h[9]=q,h[10]=p,h[11]=0,h[12]=-(l*w+b*s+a*d),h[13]=-(g*w+c*s+q*d),h[14]=-(f*w+r*s+p*d),h[15]=1)}
(function(){function d(a){this.Le=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.dn=Zb([0,0,100]);this.qo=Zb([0,0,0]);this.Hp=Zb([0,1,0]);this.Dm=Zb([1,1,1]);this.tn=!0;this.sl=$b();this.zc=$b();this.io=$b();this.ok=$b();this.p=a;this.Pn()}function l(a,g,c){this.p=a;this.zh=g;this.name=c;this.yc=a.getAttribLocation(g,"aPos");this.ke=a.getAttribLocation(g,"aTex");this.oo=a.getUniformLocation(g,"matP");this.Lf=a.getUniformLocation(g,"matMV");this.Mf=
a.getUniformLocation(g,"opacity");this.po=a.getUniformLocation(g,"samplerFront");this.Zg=a.getUniformLocation(g,"samplerBack");this.Se=a.getUniformLocation(g,"destStart");this.Re=a.getUniformLocation(g,"destEnd");this.pl=a.getUniformLocation(g,"seconds");this.ol=a.getUniformLocation(g,"pixelWidth");this.nl=a.getUniformLocation(g,"pixelHeight");this.Yg=a.getUniformLocation(g,"layerScale");this.Xg=a.getUniformLocation(g,"layerAngle");this.$g=a.getUniformLocation(g,"viewOrigin");this.Gs=!!(this.ol||
this.nl||this.pl||this.Zg||this.Se||this.Re||this.Yg||this.Xg||this.$g);this.Mf&&a.uniform1f(this.Mf,1);this.po&&a.uniform1i(this.po,0);this.Zg&&a.uniform1i(this.Zg,1);this.Se&&a.uniform2f(this.Se,0,0);this.Re&&a.uniform2f(this.Re,1,1);this.Yg&&a.uniform1f(this.Yg,1);this.Xg&&a.uniform1f(this.Xg,0);this.$g&&a.uniform2f(this.$g,0,0);this.He=!1}function f(a,g){this.type=a;this.r=g;this.p=g.p;this.ed=this.Dc=this.Go=0;this.da=this.Xc=null;this.jp=[]}d.prototype.Pn=function(){var a=this.p,g;this.jo=1;
this.Pe=this.ie=null;this.on=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.ko=a.ONE;this.ho=a.ONE_MINUS_SRC_ALPHA;this.Ol=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.Ol);this.Jh=Array(4);this.Dh=Array(4);for(g=0;4>g;g++)this.Jh[g]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.Jh[g]),this.Dh[g]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.Dh[g]);this.zd=0;this.Js=a.createBuffer();
a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.Js);this.Bm=new Float32Array(16E3);this.om=new Float32Array(16E3);this.pt=new Float32Array(32E3);for(var c=new Uint16Array(12E3),b=g=0;12E3>g;)c[g++]=b,c[g++]=b+1,c[g++]=b+2,c[g++]=b,c[g++]=b+2,c[g++]=b+3,b+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,c,a.STATIC_DRAW);this.Pl=this.ud=0;this.Xa=[];g=this.nk({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.Xa.push(g);g=this.nk({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.Xa.push(g);for(var f in dc)dc.hasOwnProperty(f)&&this.Xa.push(this.nk(dc[f],"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}",f));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.Zd=[];this.wd=0;this.Pb=!1;this.pn=this.Qg=-1;this.tg=null;this.Rr=a.createFramebuffer();this.Yo=
null;this.we=Zb([0,0,0]);this.ro=a.getParameter(a.ALIASED_POINT_SIZE_RANGE)[1];2048<this.ro&&(this.ro=2048);this.od(0)};d.prototype.nk=function(a,g,c){var b=this.p,f=b.createShader(b.FRAGMENT_SHADER);b.shaderSource(f,a.src);b.compileShader(f);if(!b.getShaderParameter(f,b.COMPILE_STATUS))return b.deleteShader(f),null;var d=b.createShader(b.VERTEX_SHADER);b.shaderSource(d,g);b.compileShader(d);if(!b.getShaderParameter(d,b.COMPILE_STATUS))return b.deleteShader(f),b.deleteShader(d),null;g=b.createProgram();
b.attachShader(g,f);b.attachShader(g,d);b.linkProgram(g);if(!b.getProgramParameter(g,b.LINK_STATUS))return b.deleteShader(f),b.deleteShader(d),b.deleteProgram(g),null;b.useProgram(g);b.deleteShader(f);b.deleteShader(d);c=new l(b,g,c);c.vk=a.vk||0;c.wk=a.wk||0;c.mn=!!a.mn;c.Ym=!!a.Ym;c.N=a.N||[];a=0;for(f=c.N.length;a<f;a++)c.N[a][1]=b.getUniformLocation(g,c.N[a][0]),b.uniform1f(c.N[a][1],0);return c};d.prototype.Kk=function(a){var g,c;g=0;for(c=this.Xa.length;g<c;g++)if(this.Xa[g].name===a)return g;
return-1};d.prototype.To=function(a,g,c){var b=this.zc,f=this.sl,d=[0,0,0,0,0,0,0,0];d[0]=b[0]*a+b[4]*g+b[12];d[1]=b[1]*a+b[5]*g+b[13];d[2]=b[2]*a+b[6]*g+b[14];d[3]=b[3]*a+b[7]*g+b[15];d[4]=f[0]*d[0]+f[4]*d[1]+f[8]*d[2]+f[12]*d[3];d[5]=f[1]*d[0]+f[5]*d[1]+f[9]*d[2]+f[13]*d[3];d[6]=f[2]*d[0]+f[6]*d[1]+f[10]*d[2]+f[14]*d[3];d[7]=-d[2];0!==d[7]&&(d[7]=1/d[7],d[4]*=d[7],d[5]*=d[7],d[6]*=d[7],c[0]=(0.5*d[4]+0.5)*this.width,c[1]=(0.5*d[5]+0.5)*this.height)};d.prototype.Yf=function(a,g,c){if(this.width!==
a||this.height!==g||c){this.de();this.width=a;this.height=g;this.p.viewport(0,0,a,g);g=a/g;var b=this.sl,f;f=1*Math.tan(45*Math.PI/360);g*=f;a=-g;c=-f;b||(b=$b());var d=g-a,n=f-c;b[0]=2/d;b[1]=0;b[2]=0;b[3]=0;b[4]=0;b[5]=2/n;b[6]=0;b[7]=0;b[8]=(g+a)/d;b[9]=(f+c)/n;b[10]=-1001/999;b[11]=-1;b[12]=0;b[13]=0;b[14]=-2E3/999;b[15]=0;cc(this.dn,this.qo,this.Hp,this.zc);a=[0,0];g=[0,0];this.To(0,0,a);this.To(1,1,g);this.Dm[0]=1/(g[0]-a[0]);this.Dm[1]=-1/(g[1]-a[1]);a=0;for(g=this.Xa.length;a<g;a++)c=this.Xa[a],
c.He=!1,c.oo&&(this.p.useProgram(c.zh),this.p.uniformMatrix4fv(c.oo,!1,this.sl));this.p.useProgram(this.Xa[this.Qg].zh);this.p.bindTexture(this.p.TEXTURE_2D,null);this.p.activeTexture(this.p.TEXTURE1);this.p.bindTexture(this.p.TEXTURE_2D,null);this.p.activeTexture(this.p.TEXTURE0);this.Pe=this.ie=null}};d.prototype.ld=function(){cc(this.dn,this.qo,this.Hp,this.zc);bc(this.zc,this.Dm)};d.prototype.translate=function(a,g){if(0!==a||0!==g){this.we[0]=a;this.we[1]=g;this.we[2]=0;var c=this.zc,b=this.we,
f=b[0],d=b[1],b=b[2];c[12]=c[0]*f+c[4]*d+c[8]*b+c[12];c[13]=c[1]*f+c[5]*d+c[9]*b+c[13];c[14]=c[2]*f+c[6]*d+c[10]*b+c[14];c[15]=c[3]*f+c[7]*d+c[11]*b+c[15]}};d.prototype.scale=function(a,g){if(1!==a||1!==g)this.we[0]=a,this.we[1]=g,this.we[2]=1,bc(this.zc,this.we)};d.prototype.$l=function(a){if(0!==a){var g=this.zc,c,b=Math.sin(a);a=Math.cos(a);var f=g[0],d=g[1],n=g[2],h=g[3],l=g[4],t=g[5],v=g[6],k=g[7];c?g!==c&&(c[8]=g[8],c[9]=g[9],c[10]=g[10],c[11]=g[11],c[12]=g[12],c[13]=g[13],c[14]=g[14],c[15]=
g[15]):c=g;c[0]=f*a+l*b;c[1]=d*a+t*b;c[2]=n*a+v*b;c[3]=h*a+k*b;c[4]=f*-b+l*a;c[5]=d*-b+t*a;c[6]=n*-b+v*a;c[7]=h*-b+k*a}};d.prototype.sd=function(){for(var a=!1,g=0;16>g;g++)if(this.io[g]!==this.zc[g]){a=!0;break}a&&(a=this.Uc(),a.type=5,a.da?ac(this.zc,a.da):a.da=$b(this.zc),ac(this.zc,this.io),this.Pb=!1)};f.prototype.ir=function(){this.p.bindTexture(this.p.TEXTURE_2D,this.Xc)};f.prototype.jr=function(){var a=this.p;a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,this.Xc);a.activeTexture(a.TEXTURE0)};
f.prototype.fr=function(){var a=this.Go,g=this.r;g.on=a;g=g.tg;g.Mf&&this.p.uniform1f(g.Mf,a)};f.prototype.cr=function(){this.p.drawElements(this.p.TRIANGLES,this.ed,this.p.UNSIGNED_SHORT,2*this.Dc)};f.prototype.er=function(){this.p.blendFunc(this.Dc,this.ed)};f.prototype.kr=function(){var a,g,c,b=this.r.Xa,f=this.r.pn;a=0;for(g=b.length;a<g;a++)c=b[a],a===f&&c.Lf?(this.p.uniformMatrix4fv(c.Lf,!1,this.da),c.He=!0):c.He=!1;ac(this.da,this.r.ok)};f.prototype.dr=function(){var a=this.p,g=this.r;this.Xc?
(g.Pe===this.Xc&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,null),g.Pe=null,a.activeTexture(a.TEXTURE0)),a.bindFramebuffer(a.FRAMEBUFFER,g.Rr),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.Xc,0)):(a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};f.prototype.$q=function(){var a=this.p;0===this.Dc?(a.clearColor(this.da[0],this.da[1],this.da[2],this.da[3]),a.clear(a.COLOR_BUFFER_BIT)):(a.enable(a.SCISSOR_TEST),
a.scissor(this.da[0],this.da[1],this.da[2],this.da[3]),a.clearColor(0,0,0,0),a.clear(this.p.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST))};f.prototype.br=function(){var a=this.p,g=this.r,c=g.Xa[1];a.useProgram(c.zh);!c.He&&c.Lf&&(a.uniformMatrix4fv(c.Lf,!1,g.ok),c.He=!0);a.enableVertexAttribArray(c.yc);a.bindBuffer(a.ARRAY_BUFFER,g.Ol);a.vertexAttribPointer(c.yc,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.Dc/4,this.ed);c=g.tg;a.useProgram(c.zh);0<=c.yc&&(a.enableVertexAttribArray(c.yc),a.bindBuffer(a.ARRAY_BUFFER,
g.Jh[g.zd]),a.vertexAttribPointer(c.yc,2,a.FLOAT,!1,0,0));0<=c.ke&&(a.enableVertexAttribArray(c.ke),a.bindBuffer(a.ARRAY_BUFFER,g.Dh[g.zd]),a.vertexAttribPointer(c.ke,2,a.FLOAT,!1,0,0))};f.prototype.gr=function(){var a=this.p,g=this.r,c=g.Xa[this.Dc];g.pn=this.Dc;g.tg=c;a.useProgram(c.zh);!c.He&&c.Lf&&(a.uniformMatrix4fv(c.Lf,!1,g.ok),c.He=!0);c.Mf&&a.uniform1f(c.Mf,g.on);0<=c.yc&&(a.enableVertexAttribArray(c.yc),a.bindBuffer(a.ARRAY_BUFFER,g.Jh[g.zd]),a.vertexAttribPointer(c.yc,2,a.FLOAT,!1,0,0));
0<=c.ke&&(a.enableVertexAttribArray(c.ke),a.bindBuffer(a.ARRAY_BUFFER,g.Dh[g.zd]),a.vertexAttribPointer(c.ke,2,a.FLOAT,!1,0,0))};f.prototype.hr=function(){var a,g,c=this.r.tg,b=this.p;a=this.da;c.Zg&&this.r.Pe!==this.Xc&&(b.activeTexture(b.TEXTURE1),b.bindTexture(b.TEXTURE_2D,this.Xc),this.r.Pe=this.Xc,b.activeTexture(b.TEXTURE0));c.ol&&b.uniform1f(c.ol,a[0]);c.nl&&b.uniform1f(c.nl,a[1]);c.Se&&b.uniform2f(c.Se,a[2],a[3]);c.Re&&b.uniform2f(c.Re,a[4],a[5]);c.Yg&&b.uniform1f(c.Yg,a[6]);c.Xg&&b.uniform1f(c.Xg,
a[7]);c.$g&&b.uniform2f(c.$g,a[8],a[9]);c.pl&&b.uniform1f(c.pl,Va()/1E3);if(c.N.length)for(a=0,g=c.N.length;a<g;a++)b.uniform1f(c.N[a][1],this.jp[a])};d.prototype.Uc=function(){this.wd===this.Zd.length&&this.Zd.push(new f(0,this));return this.Zd[this.wd++]};d.prototype.de=function(){if(0!==this.wd&&!this.p.isContextLost()){var a=this.p;0<this.Pl&&(a.bindBuffer(a.ARRAY_BUFFER,this.Ol),a.bufferData(a.ARRAY_BUFFER,this.pt.subarray(0,this.Pl),a.STREAM_DRAW),b&&0<=b.yc&&"<point>"===b.name&&a.vertexAttribPointer(b.yc,
4,a.FLOAT,!1,0,0));if(0<this.ud){var b=this.tg;a.bindBuffer(a.ARRAY_BUFFER,this.Jh[this.zd]);a.bufferData(a.ARRAY_BUFFER,this.Bm.subarray(0,this.ud),a.STREAM_DRAW);b&&0<=b.yc&&"<point>"!==b.name&&a.vertexAttribPointer(b.yc,2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.Dh[this.zd]);a.bufferData(a.ARRAY_BUFFER,this.om.subarray(0,this.ud),a.STREAM_DRAW);b&&0<=b.ke&&"<point>"!==b.name&&a.vertexAttribPointer(b.ke,2,a.FLOAT,!1,0,0)}for(var c,a=0,b=this.wd;a<b;a++)switch(c=this.Zd[a],c.type){case 1:c.cr();
break;case 2:c.ir();break;case 3:c.fr();break;case 4:c.er();break;case 5:c.kr();break;case 6:c.dr();break;case 7:c.$q();break;case 8:c.br();break;case 9:c.gr();break;case 10:c.hr();break;case 11:c.jr()}this.Pl=this.ud=this.wd=0;this.Pb=!1;this.zd++;4<=this.zd&&(this.zd=0)}};d.prototype.$e=function(a){if(a!==this.jo){var b=this.Uc();b.type=3;this.jo=b.Go=a;this.Pb=!1}};d.prototype.Vb=function(a){if(a!==this.ie){var b=this.Uc();b.type=2;this.ie=b.Xc=a;this.Pb=!1}};d.prototype.pe=function(a,b){if(a!==
this.ko||b!==this.ho){var c=this.Uc();c.type=4;c.Dc=a;c.ed=b;this.ko=a;this.ho=b;this.Pb=!1}};d.prototype.dp=function(){this.pe(this.p.ONE,this.p.ONE_MINUS_SRC_ALPHA)};d.prototype.sj=function(a,b,c,f,d,h,n,l){15992<=this.ud&&this.de();var s=this.ud,t=this.Bm,v=this.om;if(this.Pb)this.Zd[this.wd-1].ed+=6;else{var k=this.Uc();k.type=1;k.Dc=3*(s/4);k.ed=6;this.Pb=!0}t[s]=a;v[s++]=0;t[s]=b;v[s++]=0;t[s]=c;v[s++]=1;t[s]=f;v[s++]=0;t[s]=d;v[s++]=1;t[s]=h;v[s++]=1;t[s]=n;v[s++]=0;t[s]=l;v[s++]=1;this.ud=
s};d.prototype.kd=function(a,b,c,f,d,h,n,l,s){15992<=this.ud&&this.de();var t=this.ud,v=this.Bm,k=this.om;if(this.Pb)this.Zd[this.wd-1].ed+=6;else{var e=this.Uc();e.type=1;e.Dc=3*(t/4);e.ed=6;this.Pb=!0}var e=s.left,m=s.top,x=s.right;s=s.bottom;v[t]=a;k[t++]=e;v[t]=b;k[t++]=m;v[t]=c;k[t++]=x;v[t]=f;k[t++]=m;v[t]=d;k[t++]=x;v[t]=h;k[t++]=s;v[t]=n;k[t++]=e;v[t]=l;k[t++]=s;this.ud=t};d.prototype.od=function(a){if(this.Qg!==a){if(!this.Xa[a]){if(0===this.Qg)return;a=0}var b=this.Uc();b.type=9;this.Qg=
b.Dc=a;this.Pb=!1}};d.prototype.oh=function(a){a=this.Xa[a];return!(!a.Se&&!a.Re)};d.prototype.Sl=function(a){a=this.Xa[a];return!!(a.Se||a.Re||a.mn)};d.prototype.xt=function(a){a=this.Xa[a];return 0!==a.vk||0!==a.wk};d.prototype.hs=function(a){return this.Xa[a].vk};d.prototype.ks=function(a){return this.Xa[a].wk};d.prototype.ls=function(a,b){return this.Xa[a].N[b][2]};d.prototype.pj=function(a){return this.Xa[a].Ym};d.prototype.Xf=function(a,b,c,f,d,h,n,l,s,t,v,k){var e=this.Xa[this.Qg],m,x;if(e.Gs||
k.length){m=this.Uc();m.type=10;m.da?ac(this.zc,m.da):m.da=$b();x=m.da;x[0]=b;x[1]=c;x[2]=f;x[3]=d;x[4]=h;x[5]=n;x[6]=l;x[7]=s;x[8]=t;x[9]=v;m.Xc=e.Zg?a:null;if(k.length)for(c=m.jp,c.length=k.length,a=0,b=k.length;a<b;a++)c[a]=k[a];this.Pb=!1}};d.prototype.clear=function(a,b,c,f){var d=this.Uc();d.type=7;d.Dc=0;d.da||(d.da=$b());d.da[0]=a;d.da[1]=b;d.da[2]=c;d.da[3]=f;this.Pb=!1};d.prototype.clearRect=function(a,b,c,f){if(!(0>c||0>f)){var d=this.Uc();d.type=7;d.Dc=1;d.da||(d.da=$b());d.da[0]=a;d.da[1]=
b;d.da[2]=c;d.da[3]=f;this.Pb=!1}};d.prototype.wt=function(){this.de();this.p.flush()};var h=[],b={};d.prototype.aj=function(a,g,c,f){g=!!g;c=!!c;var d=a.src+","+g+","+c+(g?",undefined":""),l=null;if("undefined"!==typeof a.src&&b.hasOwnProperty(d))return l=b[d],l.$h++,l;this.de();var n=this.p,w=fa(a.width)&&fa(a.height),l=n.createTexture();n.bindTexture(n.TEXTURE_2D,l);n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var s=n.RGBA,t=n.RGBA,v=n.UNSIGNED_BYTE;if(f&&!this.Le)switch(f){case 1:t=s=n.RGB;
break;case 2:v=n.UNSIGNED_SHORT_4_4_4_4;break;case 3:v=n.UNSIGNED_SHORT_5_5_5_1;break;case 4:t=s=n.RGB,v=n.UNSIGNED_SHORT_5_6_5}if(!w&&g){f=document.createElement("canvas");f.width=ga(a.width);f.height=ga(a.height);var k=f.getContext("2d");k.webkitImageSmoothingEnabled=c;k.mozImageSmoothingEnabled=c;k.msImageSmoothingEnabled=c;k.imageSmoothingEnabled=c;k.drawImage(a,0,0,a.width,a.height,0,0,f.width,f.height);n.texImage2D(n.TEXTURE_2D,0,s,t,v,f)}else n.texImage2D(n.TEXTURE_2D,0,s,t,v,a);g?(n.texParameteri(n.TEXTURE_2D,
n.TEXTURE_WRAP_S,n.REPEAT),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.REPEAT)):(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE));c?(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.LINEAR),w&&this.tn?(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR_MIPMAP_LINEAR),n.generateMipmap(n.TEXTURE_2D)):n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR)):(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,
n.NEAREST),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.NEAREST));n.bindTexture(n.TEXTURE_2D,null);this.ie=null;l.pg=a.width;l.ng=a.height;l.$h=1;l.bn=d;h.push(l);return b[d]=l};d.prototype.yd=function(a,b,c,f){this.de();var d=this.p;this.Le&&(f=!1);var l=d.createTexture();d.bindTexture(d.TEXTURE_2D,l);d.texImage2D(d.TEXTURE_2D,0,d.RGBA,a,b,0,d.RGBA,f?d.UNSIGNED_SHORT_4_4_4_4:d.UNSIGNED_BYTE,null);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_S,d.CLAMP_TO_EDGE);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_T,
d.CLAMP_TO_EDGE);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MAG_FILTER,c?d.LINEAR:d.NEAREST);d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MIN_FILTER,c?d.LINEAR:d.NEAREST);d.bindTexture(d.TEXTURE_2D,null);this.ie=null;l.pg=a;l.ng=b;h.push(l);return l};d.prototype.fu=function(a,b,c){this.de();var f=this.p;this.Le&&(c=!1);f.bindTexture(f.TEXTURE_2D,b);f.pixelStorei(f.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);f.texImage2D(f.TEXTURE_2D,0,f.RGBA,f.RGBA,c?f.UNSIGNED_SHORT_4_4_4_4:f.UNSIGNED_BYTE,a);f.bindTexture(f.TEXTURE_2D,
null);this.ie=null};d.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.$h&&1<a.$h?a.$h--:(this.de(),a===this.ie&&(this.p.bindTexture(this.p.TEXTURE_2D,null),this.ie=null),a===this.Pe&&(this.p.activeTexture(this.p.TEXTURE1),this.p.bindTexture(this.p.TEXTURE_2D,null),this.p.activeTexture(this.p.TEXTURE0),this.Pe=null),ya(h,a),"undefined"!==typeof a.bn&&delete b[a.bn],this.p.deleteTexture(a)))};d.prototype.nd=function(a){if(a!==this.Yo){var b=this.Uc();b.type=6;this.Yo=b.Xc=a;this.Pb=!1}};
fb=d})();
(function(){function d(e){if(e&&(e.getContext||e.dc)&&!e.c2runtime){e.c2runtime=this;var m=this;this.Li=/crosswalk/i.test(navigator.userAgent)||/xwalk/i.test(navigator.userAgent)||!("undefined"===typeof window.c2isCrosswalk||!window.c2isCrosswalk);this.Pc=!this.Li&&"undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap)||"undefined"!==typeof window.c2isphonegap&&window.c2isphonegap;this.Ab=!!e.dc;this.Cf="undefined"!==typeof window.AppMobi||
this.Ab;this.jc=!!window.c2cocoonjs;this.Gd=!!window.c2ejecta;this.jc&&(CocoonJS.App.onSuspended.addEventListener(function(){m.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){m.setSuspended(!1)}));this.Gd&&(document.addEventListener("pagehide",function(){m.setSuspended(!0)}),document.addEventListener("pageshow",function(){m.setSuspended(!1)}),document.addEventListener("resize",function(){m.setSize(window.innerWidth,window.innerHeight)}));this.ya=this.Ab||this.jc||this.Gd;this.Le=
/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/iemobile/i.test(navigator.userAgent);this.Yn=/tizen/i.test(navigator.userAgent);this.Ki=/android/i.test(navigator.userAgent)&&!this.Yn&&!this.Le;this.el=(/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent))&&!this.Le;this.co=/ipad/i.test(navigator.userAgent);this.Pi=this.el||this.co||this.Gd;this.Vs=this.el&&/os\s6/i.test(navigator.userAgent);this.Jg=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent);
this.Ns=/amazonwebappplatform/i.test(navigator.userAgent);this.Vn=/firefox/i.test(navigator.userAgent);this.Xn=/safari/i.test(navigator.userAgent)&&!this.Jg&&!this.Le;this.Ts=/windows/i.test(navigator.userAgent);this.ge="undefined"!==typeof window.c2nodewebkit||/nodewebkit/i.test(navigator.userAgent);this.$n=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.Us=!("undefined"===typeof window.c2isWindows8Capable||!window.c2isWindows8Capable);this.cl=!("undefined"===typeof window.c2isWindowsPhone8||
!window.c2isWindowsPhone8);this.ao=!("undefined"===typeof window.c2isWindowsPhone81||!window.c2isWindowsPhone81);this.Zn=this.$n||this.Us||this.ao;this.Os=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.Un=this.Ki&&!this.Jg&&!this.Vn&&!this.Ns&&!this.ya;this.devicePixelRatio=1;this.fd=this.Pc||this.Li||this.Cf||this.jc||this.Ki||this.Pi||this.cl||this.ao||this.Os||this.Yn||this.Gd;this.fd||(this.fd=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));
"undefined"===typeof cr_is_preview||this.ge||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)||(this.ge=!0);this.Ps="undefined"!==typeof cr_is_preview&&-1<window.location.search.indexOf("debug");this.canvas=e;this.gn=document.getElementById("c2canvasdiv");this.fa=this.r=this.p=null;this.Bk="";this.si=!1;this.Eo=this.Fo=0;this.canvas.oncontextmenu=function(e){e.preventDefault&&e.preventDefault();return!1};this.canvas.onselectstart=function(e){e.preventDefault&&e.preventDefault();
return!1};this.Ab&&(window.c2runtime=this);this.ge&&(window.ondragover=function(e){e.preventDefault();return!1},window.ondrop=function(e){e.preventDefault();return!1},require("nw.gui").App.clearCache());this.width=e.width;this.height=e.height;this.P=this.width;this.O=this.height;this.hi=this.width;this.gi=this.height;this.Sg=window.innerWidth;this.Rg=window.innerHeight;this.na=!0;this.Lg=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.q=[];this.La=[];this.il=
{};this.Rc=[];this.uk={};this.Dd=[];this.gg=[];this.Pj=[];this.Fq=[];this.Gq=[];this.eo=this.sp=null;this.$c=new ba;this.Yk=!1;this.Oc=0;this.$k=!1;this.Eb=[];this.Jd=this.Cb=this.Zi=this.fm="";this.Bh=this.qp=!1;this.mk=this.ah=this.be=this.De=0;this.bg=1;this.xc=new Wa;this.Ti=0;this.to=!0;this.fj=this.xi=this.tf=this.qd=this.Tg=this.Ak=0;this.qg=null;this.ni=[];this.tk=[];this.pi=-1;this.ql=[[]];this.vm=this.dj=0;this.rj(null);this.xg=this.zo=this.fh=0;this.Ch=[];this.Mj=this.tj=-1;this.Og=!0;
this.cj=0;this.Kg=!1;this.Rt=0;this.pf=null;this.Es=!1;this.fl=0;this.Qb=this.Nk=this.Vl=!1;this.Do=new ba;this.yl=new ba;this.zl=new ba;this.uj=[];this.Wc=new Ya([]);this.nm=new Ya([]);this.nf=[];this.Gi={};this.rf={};this.lf={};this.fg={};this.$m={};this.no=this.Xi=this.Sb=this.lc=this.mo=this.Wi=this.ja=null;this.dg=this.dl=!1;this.Ck=[null,null];this.Fe=0;this.yk="";this.le={};this.Cj=this.Kf=null;this.load();this.devicePixelRatio=(this.Me=(!this.ya||this.Gd)&&this.cu&&!this.Un)?window.devicePixelRatio||
window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.nb();var a,c=this.bk&&!(this.ge||this.Zn||this.cl||this.Li);0<this.Fb&&this.setSize(window.innerWidth,window.innerHeight,!0);try{this.or&&(this.jc||this.Gd||!this.ya)&&(a={alpha:c,depth:!1,antialias:!1,failIfMajorPerformanceCaveat:!0},this.p=e.getContext("webgl",a)||e.getContext("experimental-webgl",a))}catch(b){}if(this.p){this.ya||(this.ib=document.createElement("canvas"),jQuery(this.ib).appendTo(this.canvas.parentNode),
this.ib.oncontextmenu=L(!1),this.ib.onselectstart=L(!1),this.ib.width=this.hi,this.ib.height=this.gi,jQuery(this.ib).css({width:this.hi+"px",height:this.gi+"px"}),this.Ro(),this.Ml=this.ib.getContext("2d"));this.r=new fb(this.p,this.fd);this.r.Yf(e.width,e.height);this.r.tn=0!==this.lr;this.fa=null;this.canvas.addEventListener("webglcontextlost",function(e){e.preventDefault();m.dt();console.log("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",
function(){m.r.Pn();m.r.Yf(m.r.width,m.r.height,!0);m.lc=null;m.Sb=null;m.Ck[0]=null;m.Ck[1]=null;m.et();m.na=!0;console.log("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);var g,f,d,k,q,n;e=0;for(a=this.q.length;e<a;e++)for(f=this.q[e],c=0,g=f.M.length;c<g;c++)k=f.M[c],k.kb=this.r.Kk(k.id),this.dg=this.dg||this.r.oh(k.kb);e=0;for(a=this.Rc.length;e<a;e++){q=this.Rc[e];c=0;for(g=q.M.length;c<g;c++)k=q.M[c],k.kb=this.r.Kk(k.id);c=0;for(g=q.V.length;c<g;c++)for(n=q.V[c],f=0,
d=n.M.length;f<d;f++)k=n.M[f],k.kb=this.r.Kk(k.id),this.dg=this.dg||this.r.oh(k.kb)}}else{if(0<this.Fb&&this.Ab){this.canvas=null;document.oncontextmenu=L(!1);document.onselectstart=L(!1);this.fa=AppMobi.canvas.getContext("2d");try{this.fa.samplingMode=this.Z?"smooth":"sharp",this.fa.globalScale=1,this.fa.HTML5CompatibilityMode=!0,this.fa.imageSmoothingEnabled=this.Z}catch(h){}0!==this.width&&0!==this.height&&(this.fa.width=this.width,this.fa.height=this.height)}this.fa||(a=this.jc?{antialias:!!this.Z,
alpha:c}:{alpha:c},this.fa=e.getContext("2d",a),this.fa.webkitImageSmoothingEnabled=this.Z,this.fa.mozImageSmoothingEnabled=this.Z,this.fa.msImageSmoothingEnabled=this.Z,this.fa.imageSmoothingEnabled=this.Z);this.Ml=this.ib=null}this.Kj=function(){m.Ya(!1)};window==window.top||this.ya||this.Zn||this.cl||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.jc&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),
-1<window.location.search.indexOf("continuous")&&(ca("Reloading for continuous preview"),this.Zi="__c2_continuouspreview",this.Bh=!0),this.ot&&!this.fd&&(jQuery(window).focus(function(){m.setSuspended(!1)}),jQuery(window).blur(function(){m.setSuspended(!0)})));e=function(e){eb(e)&&document.activeElement&&document.activeElement.blur&&document.activeElement.blur()};window.navigator.pointerEnabled?document.addEventListener("pointerdown",e):window.navigator.msPointerEnabled?document.addEventListener("MSPointerDown",
e):document.addEventListener("touchstart",e);0===this.Fb&&this.Me&&1<this.devicePixelRatio&&this.setSize(this.cb,this.bb,!0);this.Dp();this.Bs();this.go();this.D={}}}function l(e){e.target.result.createObjectStore("saves",{keyPath:"slot"})}function f(e,m,a,c){var b=indexedDB.open("_C2SaveStates");b.onupgradeneeded=l;b.onerror=c;b.onsuccess=function(b){b=b.target.result;b.onerror=c;b.transaction(["saves"],"readwrite").objectStore("saves").put({slot:e,data:m}).onsuccess=a}}function h(e,m,a){var c=indexedDB.open("_C2SaveStates");
c.onupgradeneeded=l;c.onerror=a;c.onsuccess=function(c){c=c.target.result;c.onerror=a;var b=c.transaction(["saves"]).objectStore("saves").get(e);b.onsuccess=function(){b.result?m(b.result.data):m(null)}}}function b(){ca("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location+="?continuous"}function a(e){var m,a={};for(m in e)!e.hasOwnProperty(m)||e[m]instanceof ba||e[m]&&"undefined"!==typeof e[m].ov||
(a[m]=e[m]);return a}d.prototype.setSize=function(e,m,a){var c=0,b=0,g=0,f=0,f=0,d=this.Vs&&this.Xn&&!navigator.standalone&&!this.ya&&!this.Pc;d&&(m+=60);if(this.Sg!==e||this.Rg!==m||a){this.Sg=e;this.Rg=m;var k=this.Fb,q=(document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.Kg)&&!this.Pc;if(q||0!==this.Fb||a)q&&0<this.Fe&&(k=this.Fe),a=this.devicePixelRatio,4<=k?(g=this.cb/this.bb,e/m>g?(g*=m,5===k?(f=g*a/this.cb,1<f?f=Math.floor(f):1>f&&
(f=1/Math.ceil(1/f)),g=this.cb*f/a,f=this.bb*f/a,c=(e-g)/2,b=(m-f)/2,e=g,m=f):(c=(e-g)/2,e=g)):(f=e/g,5===k?(f=f*a/this.bb,1<f?f=Math.floor(f):1>f&&(f=1/Math.ceil(1/f)),g=this.cb*f/a,f=this.bb*f/a,c=(e-g)/2,b=(m-f)/2,e=g):b=(m-f)/2,m=f),q&&!this.ge&&(b=c=0)):this.ge&&this.Kg&&0===this.An&&(c=Math.floor((e-this.cb)/2),b=Math.floor((m-this.bb)/2),e=this.cb,m=this.bb),2>k&&(this.mg=a),this.Me&&this.co&&1<a&&(1024<=e&&(e=1023),1024<=m&&(m=1023)),this.hi=Math.round(e),this.gi=Math.round(m),this.width=
Math.round(e*a),this.height=Math.round(m*a),this.na=!0,this.Op?(this.P=this.width,this.O=this.height,this.wc=!0):this.width<this.cb&&this.height<this.bb||1===k?(this.P=this.width,this.O=this.height,this.wc=!0):(this.P=this.cb,this.O=this.bb,this.wc=!1,2===k?(g=this.cb/this.bb,k=this.Sg/this.Rg,k<g?this.P=this.O*k:k>g&&(this.O=this.P/k)):3===k&&(g=this.cb/this.bb,k=this.Sg/this.Rg,k>g?this.P=this.O*k:k<g&&(this.O=this.P/k))),this.gn&&!this.ya&&(jQuery(this.gn).css({width:Math.round(e)+"px",height:Math.round(m)+
"px","margin-left":Math.floor(c)+"px","margin-top":Math.floor(b)+"px"}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:Math.round(e)+"px",height:Math.round(m)+"px"})),this.canvas&&(this.canvas.width=Math.round(e*a),this.canvas.height=Math.round(m*a),this.Gd?(this.canvas.style.left=Math.floor(c)+"px",this.canvas.style.top=Math.floor(b)+"px",this.canvas.style.width=Math.round(e)+"px",this.canvas.style.height=Math.round(m)+"px"):this.Me&&!this.ya&&jQuery(this.canvas).css({width:Math.round(e)+
"px",height:Math.round(m)+"px"})),this.ib&&(this.ib.width=Math.round(e),this.ib.height=Math.round(m),jQuery(this.ib).css({width:Math.round(e)+"px",height:Math.round(m)+"px"})),this.r&&this.r.Yf(Math.round(e*a),Math.round(m*a)),this.Ab&&this.fa&&(this.fa.width=Math.round(e),this.fa.height=Math.round(m)),this.fa&&(this.fa.webkitImageSmoothingEnabled=this.Z,this.fa.mozImageSmoothingEnabled=this.Z,this.fa.msImageSmoothingEnabled=this.Z,this.fa.imageSmoothingEnabled=this.Z),this.Dp(),this.ya||!d&&!this.el||
window.setTimeout(function(){window.scrollTo(0,1)},100)}};d.prototype.Dp=function(){if(this.Iq&&0!==this.Kl){var e="portrait";2===this.Kl&&(e="landscape");screen.lockOrientation?screen.lockOrientation(e):screen.webkitLockOrientation?screen.webkitLockOrientation(e):screen.mozLockOrientation?screen.mozLockOrientation(e):screen.msLockOrientation&&screen.msLockOrientation(e)}};d.prototype.dt=function(){this.dl=!0;var e,a,c;e=0;for(a=this.q.length;e<a;e++)c=this.q[e],c.gj&&c.gj()};d.prototype.et=function(){this.dl=
!1;var e,a,c;e=0;for(a=this.q.length;e<a;e++)c=this.q[e],c.Jl&&c.Jl()};d.prototype.Ro=function(){if(!this.ya){var e=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.Kg)&&!this.Pc?jQuery(this.canvas).offset():jQuery(this.canvas).position();e.position="absolute";jQuery(this.ib).css(e)}};var g=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;
d.prototype.setSuspended=function(e){var a;if(e&&!this.Lg)for(ca("[Construct 2] Suspending"),this.Lg=!0,-1!==this.tj&&g&&g(this.tj),-1!==this.Mj&&clearTimeout(this.Mj),e=0,a=this.Ch.length;e<a;e++)this.Ch[e](!0);else if(!e&&this.Lg){ca("[Construct 2] Resuming");this.Lg=!1;this.Ti=Va();this.Tg=Va();e=this.ah=this.xi=0;for(a=this.Ch.length;e<a;e++)this.Ch[e](!1);this.Ya(!1)}};d.prototype.Eq=function(e){this.Ch.push(e)};d.prototype.load=function(){var e=ec();this.name=e[0];this.zn=e[1];this.Fb=e[12];
this.An=e[12];this.cb=e[10];this.bb=e[11];this.No=this.cb/2;this.Oo=this.bb/2;this.ya&&!this.Gd&&(4<=e[12]||0===e[12])&&(ca("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.An=this.Fb=3);this.zm=e[18];this.Wg=e[19];0===this.Wg&&(this.Kf=new Image,this.Kf.src="loading-logo.png");this.fh=e[21];this.pd=new R(this);var a,c,b,g,f,d,k,q,n;a=0;for(c=e[2].length;a<c;a++)k=e[2][a],gb(k),n=new k[0](this),n.Bj=k[1],n.he=k[2],n.wo=k[9],
n.S&&n.S(),this.plugins.push(n);e=ec();a=0;for(c=e[3].length;a<c;a++){k=e[3][a];f=k[1];n=null;b=0;for(g=this.plugins.length;b<g;b++)if(this.plugins[b]instanceof f){n=this.plugins[b];break}var h=new n.wa(n);h.name=k[0];h.H=k[2];h.Wk=k[3].slice(0);h.eu=k[3].length;h.Jq=k[4];h.Ur=k[5];h.T=k[11];h.H?(h.Pf=[],h.Ed=this.xg++,h.xa=null):(h.Pf=null,h.Ed=-1,h.xa=[]);h.qi=null;h.wf=null;h.vn=null;h.kc=!1;h.Nb=null;k[6]?(h.pm=k[6][0],h.qm=k[6][1],h.rm=k[6][2]):(h.pm=null,h.qm=0,h.rm=0);h.Mb=k[7]?k[7]:null;h.index=
a;h.e=[];h.li=[];h.se=[new hb(h)];h.Cd=0;h.tc=null;h.Yq=0;h.ag=!0;h.Qj=ib;h.Zr=jb;h.es=kb;h.Y=lb;h.qh=mb;h.qj=nb;h.We=ob;h.Bi=pb;h.Dk=qb;h.Hk=ub;h.pc=vb;h.Gn=wb;h.ei=new Za(this.cb,this.bb);h.Uh=!0;h.Vh=!1;h.D={};h.toString=xb;h.La=[];b=0;for(g=k[8].length;b<g;b++){q=k[8][b];var r=q[1],l=null;f=0;for(d=this.La.length;f<d;f++)if(this.La[f]instanceof r){l=this.La[f];break}l||(l=new r(this),l.ej=[],l.Qf=new ba,l.S&&l.S(),this.La.push(l),Xb.Qt&&l instanceof Xb.Qt&&(this.sp=l),Xb.Xs&&l instanceof Xb.Xs&&
(this.eo=l));-1===l.ej.indexOf(h)&&l.ej.push(h);f=new l.wa(l,h);f.name=q[0];f.T=q[2];f.S();h.La.push(f)}h.global=k[9];h.Zk=k[10];h.M=[];b=0;for(g=k[12].length;b<g;b++)h.M.push({id:k[12][b][0],name:k[12][b][1],kb:-1,ec:!0,index:b});h.Iv=k[13];this.zm&&!h.H&&!h.Zk&&n.he||h.S();h.name&&(this.types[h.name]=h);this.q.push(h);n.Bj&&(b=new n.ea(h),b.uid=this.fh++,b.Vo=this.zo++,b.Ie=0,b.Dg=yb,b.toString=zb,b.C=k[14],b.S(),h.e.push(b),this.le[b.uid.toString()]=b)}a=0;for(c=e[4].length;a<c;a++)for(f=e[4][a],
d=this.q[f[0]],b=1,g=f.length;b<g;b++)k=this.q[f[b]],k.xa.push(d),d.Pf.push(k);a=0;for(c=e[26].length;a<c;a++){f=e[26][a];d=[];b=0;for(g=f.length;b<g;b++)d.push(this.q[f[b]]);b=0;for(g=d.length;b<g;b++)d[b].kc=!0,d[b].Nb=d}if(0<this.xg)for(a=0,c=this.q.length;a<c;a++)if(k=this.q[a],!k.H&&k.xa.length){k.qi=Array(this.xg);k.wf=Array(this.xg);k.vn=Array(this.xg);h=[];b=l=r=q=0;for(g=k.xa.length;b<g;b++)for(n=k.xa[b],k.qi[n.Ed]=q,q+=n.eu,k.wf[n.Ed]=r,r+=n.Jq,k.vn[n.Ed]=l,l+=n.Ur,f=0,d=n.M.length;f<d;f++)h.push(ra({},
n.M[f]));k.M=h.concat(k.M);b=0;for(g=k.M.length;b<g;b++)k.M[b].index=b}a=0;for(c=e[5].length;a<c;a++)k=e[5][a],b=new Ab(this,k),this.il[b.name]=b,this.Rc.push(b);a=0;for(c=e[6].length;a<c;a++)k=e[6][a],b=new Bb(this,k),this.uk[b.name]=b,this.Dd.push(b);a=0;for(c=this.Dd.length;a<c;a++)this.Dd[a].Ja();a=0;for(c=this.Dd.length;a<c;a++)this.Dd[a].Jp();a=0;for(c=this.Pj.length;a<c;a++)this.Pj[a].Ja();this.Pj.length=0;this.Hq=e[7];this.yk=e[8];this.jd=e[9];this.mg=1;this.or=e[13];this.Z=e[14];this.bk=
e[15];this.cu=e[17];this.Kl=e[20];this.Iq=0<this.Kl;this.ot=e[22];this.wc=this.Op=e[23];this.lr=e[24];this.ut=e[25];this.Dj=Date.now()};var c=!1;d.prototype.Np=function(e){e.onerror=function(a){c=e.Lq=!0;console&&console.error&&console.error("Error loading image '"+e.src+"': ",a)};this.gg.push(e)};d.prototype.Sr=function(e){var a,c;a=0;for(c=this.gg.length;a<c;a++)if(this.gg[a].Tq===e)return this.gg[a];return null};var q=0,r=!1;d.prototype.Bs=function(){this.pf&&(q=this.pf.Nt(this.Hq))};d.prototype.Zm=
function(){var e=q,a=0,c=0,b=!0,g,f,c=0;for(g=this.gg.length;c<g;c++){f=this.gg[c];var k=f.kn;if(!k||0>=k)k=5E4;e+=k;!f.complete&&!f.loaded||f.Lq?b=!1:a+=k}b&&this.ut&&this.pf&&(r||(this.pf.St(),r=!0),c=this.pf.gs(),a+=c,c<q&&(b=!1));this.Xe=0==e?0:a/e;return b};d.prototype.go=function(){if(this.fa||this.r){var e=this.fa||this.Ml;this.ib&&this.Ro();this.Xe=0;this.lo=-1;if(this.Zm())this.Cs();else{var a=Date.now()-this.Dj;if(e){var b=this.width,g=this.height,f=this.devicePixelRatio;this.ib&&(b=this.hi,
g=this.gi,f=1);if(3!==this.Wg&&(this.jc||500<=a&&this.lo!=this.Xe)){e.clearRect(0,0,b,g);var a=b/2,g=g/2,b=0===this.Wg&&this.Kf.complete,k=40*f,d=0,h=80*f,n;b&&(h=this.Kf.width*f,n=this.Kf.height*f,k=h/2,d=n/2,e.drawImage(this.Kf,ma(a-k),ma(g-d),h,n));1>=this.Wg?(a=ma(a-k)+0.5,g=ma(g+(d+(b?12*f:0)))+0.5,e.fillStyle=c?"red":"DodgerBlue",e.fillRect(a,g,Math.floor(h*this.Xe),6*f),e.strokeStyle="black",e.strokeRect(a,g,h,6*f),e.strokeStyle="white",e.strokeRect(a-1*f,g-1*f,h+2*f,8*f)):2===this.Wg&&(e.font=
this.Gd?"12pt ArialMT":"12pt Arial",e.fillStyle=c?"#f00":"#999",e.Hv="middle",f=Math.round(100*this.Xe)+"%",b=e.measureText?e.measureText(f):null,e.fillText(f,a-(b?b.width:0)/2,g))}this.lo=this.Xe}setTimeout(function(e){return function(){e.go()}}(this),this.jc?10:100)}}};d.prototype.Cs=function(){this.ib&&(this.canvas.parentNode.removeChild(this.ib),this.ib=this.Ml=null);this.Dj=Date.now();this.Tg=Va();var e,a,c;if(this.zm)for(e=0,a=this.q.length;e<a;e++)c=this.q[e],c.H||c.Zk||!c.ra.he||c.S();else this.Og=
!1;e=0;for(a=this.Rc.length;e<a;e++)this.Rc[e].Uq();2<=this.Fb&&(e=this.cb/this.bb,a=this.width/this.height,this.mg=2!==this.Fb&&a>e||2===this.Fb&&a<e?this.height/this.bb:this.width/this.cb);this.zn?this.il[this.zn].lm():this.Rc[0].lm();this.zm||(this.cj=1,this.trigger(R.prototype.i.Km,null));navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide();e=0;for(a=this.q.length;e<a;e++)c=this.q[e],c.ct&&c.ct();this.Ya(!1);this.Ab&&AppMobi.webview.execute("onGameReady();")};var p=
window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;d.prototype.Ya=function(e){if(this.ja){var a=Va();if(this.Es&&this.Vl&&29>a-this.fl)this.Vl=!1,this.fl=a,p?this.tj=p(this.Kj,this.canvas):this.Mj=setTimeout(this.Kj,this.fd?1:16);else{this.Vl=!0;this.fl=a;var c=this.Fb,b=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement)&&!this.Pc;(b||
this.Kg)&&0<this.Fe&&(c=this.Fe);if(0<c&&(!this.Pi||window.self!==window.top)){var c=window.innerWidth,g=window.innerHeight;this.Sg===c&&this.Rg===g||this.setSize(c,g)}this.ya||(b?(this.si||(this.Bk=jQuery(this.canvas).css("margin")||"0",this.si=!0),this.Jg||this.ge||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.si?(this.Jg||this.ge||jQuery(this.canvas).css("margin",
this.Bk),this.Bk="",this.si=!1,0===this.Fb&&this.setSize(Math.round(this.Fo/this.devicePixelRatio),Math.round(this.Eo/this.devicePixelRatio),!0)):(this.Fo=this.width,this.Eo=this.height));this.Og&&(b=this.Zm(),this.cj=this.Xe,b&&(this.Og=!1,this.Xe=1,this.trigger(R.prototype.i.Km,null)));this.Zs();!this.na&&!this.jc||this.dl||this.Bh||e||(this.na=!1,this.r?this.vc():this.ad(),this.Cj&&(this.canvas&&this.canvas.toDataURL&&(this.canvas.toDataURL(this.Cj[0],this.Cj[1]),this.trigger(R.prototype.i.Up,
null)),this.Cj=null));this.wv||(this.qd++,this.tf++,this.xi++);this.ah+=Va()-a;this.Lg||e||(p?this.tj=p(this.Kj,this.canvas):this.Mj=setTimeout(this.Kj,this.fd?1:16))}}};d.prototype.Zs=function(){var e,a,c,b,g,f,k,d,h;e=Va();1E3<=e-this.Tg&&(this.Tg+=1E3,this.Ak=this.xi,this.xi=0,this.mk=this.ah,this.ah=0);this.to&&(0!==this.Ti&&(a=e-this.Ti,0!==a||this.Ps?(this.be=a/1E3,0.5<this.be?this.be=0:0.1<this.be&&(this.be=0.1)):(10<=this.Kv&&(this.to=!1),this.be=1/60)),this.Ti=e);this.De=this.be*this.bg;
this.xc.add(this.De);e=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.Kg)&&!this.Pc;2<=this.Fb||e&&0<this.Fe?(a=this.cb/this.bb,c=this.width/this.height,b=this.Fb,e&&0<this.Fe&&(b=this.Fe),this.mg=2!==b&&c>a||2===b&&c<a?this.height/this.bb:this.width/this.cb,this.ja&&(this.ja.bp(this.ja.scrollX),this.ja.cp(this.ja.scrollY))):this.mg=this.Me?this.devicePixelRatio:1;this.nb();this.Oc++;this.pd.Et();this.Oc--;this.nb();this.Oc++;c=this.Do.td();
e=0;for(a=c.length;e<a;e++)c[e].Bv();e=0;for(a=this.q.length;e<a;e++)if(k=this.q[e],!k.H&&(k.La.length||k.xa.length))for(c=0,b=k.e.length;c<b;c++)for(d=k.e[c],g=0,f=d.L.length;g<f;g++)d.L[g].Ya();e=0;for(a=this.q.length;e<a;e++)if(k=this.q[e],!k.H&&(k.La.length||k.xa.length))for(c=0,b=k.e.length;c<b;c++)for(d=k.e[c],g=0,f=d.L.length;g<f;g++)h=d.L[g],h.So&&h.So();c=this.yl.td();e=0;for(a=c.length;e<a;e++)c[e].Ya();this.Oc--;this.Fs();for(e=0;this.qg&&10>e++;)this.sn(this.qg);e=0;for(a=this.Dd.length;e<
a;e++)this.Dd[e].Pk=!1;this.ja.vg&&this.ja.vg.Ra();this.uj.length=0;this.Oc++;e=0;for(a=this.q.length;e<a;e++)if(k=this.q[e],!k.H&&(k.La.length||k.xa.length))for(c=0,b=k.e.length;c<b;c++)for(d=k.e[c],g=0,f=d.L.length;g<f;g++)h=d.L[g],h.Jj&&h.Jj();c=this.zl.td();e=0;for(a=c.length;e<a;e++)c[e].Jj();this.Oc--};d.prototype.sn=function(e){var a=this.ja;this.ja.Tt();var c,b,g,f,k,d,h;if(this.r)for(c=0,b=this.q.length;c<b;c++)k=this.q[c],k.H||!k.xm||k.global&&0!==k.e.length||-1!==e.Hg.indexOf(k)||k.xm();
a==e&&(this.pd.$b.length=0);e.lm();c=0;for(b=this.q.length;c<b;c++)if(k=this.q[c],k.global||k.ra.Bj)for(e=0,a=k.e.length;e<a;e++)if(d=k.e[e],d.Fl&&d.Fl(),d.L)for(g=0,f=d.L.length;g<f;g++)h=d.L[g],h.Fl&&h.Fl();this.na=!0;this.nb()};d.prototype.Lj=function(e){this.yl.add(e)};d.prototype.Ut=function(e){this.zl.add(e)};d.prototype.Ci=function(e){return e&&-1!==e.eh?this.be*e.eh:this.De};d.prototype.ad=function(){this.ja.ad(this.fa);this.Ab&&this.fa.present()};d.prototype.vc=function(){this.ja.vc(this.r);
this.r.wt()};d.prototype.ak=function(e){e&&this.ni.push(e)};d.prototype.Bt=function(e){ya(this.ni,e)};d.prototype.zf=function(e){e=e.toString();return this.le.hasOwnProperty(e)?this.le[e]:null};d.prototype.xe=function(e){var a,c;if(!this.$c.contains(e)){this.$c.add(e);if(e.kc)for(a=0,c=e.siblings.length;a<c;a++)this.xe(e.siblings[a]);this.Yk&&this.$c.eg.push(e);this.Oc++;this.trigger(Object.getPrototypeOf(e.type.ra).i.Wp,e);this.Oc--}};d.prototype.nb=function(){var e,a,c,b,g,f,k,d,h,n;this.Yk=!0;
b=0;for(f=this.Eb.length;b<f;b++)for(e=this.Eb[b],a=e.type,a.e.push(e),g=0,k=a.xa.length;g<k;g++)a.xa[g].e.push(e),a.xa[g].ag=!0;this.Eb.length=0;f=this.$c.td();for(b=0;b<f.length;b++){e=f[b];a=e.type;c=a.e;g=0;for(k=this.ni.length;g<k;g++)this.ni[g](e);ya(c,e);0===c.length&&(a.Vh=!1);e.di&&a.ei.update(e,e.di,null);e.j&&(sa(e.j.e,e.Gb()),e.j.ac=!0);g=0;for(k=a.xa.length;g<k;g++)ya(a.xa[g].e,e),a.xa[g].ag=!0;if(e.L)for(g=0,k=e.L.length;g<k;g++)c=e.L[g],c.Uf&&c.Uf(),c.gb.Qf.remove(e);this.Do.remove(e);
this.yl.remove(e);this.zl.remove(e);g=0;for(k=this.pd.$b.length;g<k;g++)if(h=this.pd.$b[g],h.Xb.hasOwnProperty(a.index)&&ya(h.Xb[a.index].Ke,e),!a.H)for(c=0,d=a.xa.length;c<d;c++)n=a.xa[c],h.Xb.hasOwnProperty(n.index)&&ya(h.Xb[n.index].Ke,e);e.Uf&&e.Uf();this.le.hasOwnProperty(e.uid.toString())&&delete this.le[e.uid.toString()];this.fj--;64>a.li.length&&a.li.push(e);a.ag=!0}this.$c.Nc()||(this.na=!0);this.$c.clear();this.Yk=!1};d.prototype.ln=function(e,a,c,b){if(e.H){var g=ma(Math.random()*e.Pf.length);
return this.ln(e.Pf[g],a,c,b)}return e.tc?this.ae(e.tc,a,!1,c,b,!1):null};var n=[];d.prototype.ae=function(e,a,c,b,g,f){var k,d,h,q;if(!e)return null;var r=this.q[e[1]],l=r.ra.he;if(this.Og&&l&&!r.Zk||l&&!this.r&&11===e[0][11])return null;var w=a;l||(a=null);var p;r.li.length?(p=r.li.pop(),p.nc=!0,r.ra.ea.call(p,r)):(p=new r.ra.ea(r),p.nc=!1);p.uid=c&&!f?e[2]:this.fh++;this.le[p.uid.toString()]=p;p.Vo=this.zo++;p.Ie=r.e.length;k=0;for(d=this.Eb.length;k<d;++k)this.Eb[k].type===r&&p.Ie++;p.Dg=yb;h=
e[3];if(p.nc)Qa(p.D);else{p.D={};if("undefined"!==typeof cr_is_preview)for(p.Sn=[],p.Sn.length=h.length,k=0,d=h.length;k<d;k++)p.Sn[k]=h[k][1];p.Ua=[];p.Ua.length=h.length}k=0;for(d=h.length;k<d;k++)p.Ua[k]=h[k][0];if(l){var s=e[0];p.x=da(b)?s[0]:b;p.y=da(g)?s[1]:g;p.z=s[2];p.width=s[3];p.height=s[4];p.depth=s[5];p.m=s[6];p.opacity=s[7];p.Hb=s[8];p.Ib=s[9];p.Db=s[10];k=s[11];!this.r&&r.M.length&&(p.Db=k);p.rg=$a(p.Db);this.p&&ab(p,p.Db,this.p);if(p.nc){k=0;for(d=s[12].length;k<d;k++)for(h=0,q=s[12][k].length;h<
q;h++)p.Da[k][h]=s[12][k][h];p.Ba.set(0,0,0,0);p.di.set(0,0,-1,-1);p.yb.xh(p.Ba);p.gk.length=0}else{p.Da=s[12].slice(0);k=0;for(d=p.Da.length;k<d;k++)p.Da[k]=s[12][k].slice(0);p.X=[];p.Vd=[];p.Vd.length=r.M.length;p.Ba=new pa(0,0,0,0);p.di=new pa(0,0,-1,-1);p.yb=new qa;p.gk=[];p.u=Cb;p.nv=Db;p.zb=Eb;p.qa=Fb;p.Lp=Gb;p.Gb=Hb}p.Eh=!1;p.Xt=0;p.Wt=0;p.Vt=null;14===s.length&&(p.Eh=!0,p.Xt=s[13][0],p.Wt=s[13][1],p.Vt=s[13][2]);k=0;for(d=r.M.length;k<d;k++)p.Vd[k]=!0;p.Qd=Ib;p.Qd();p.Mp=!!p.X.length;p.fk=
!0;p.ik=!0;r.Uh=!0;p.visible=!0;p.eh=-1;p.j=a;p.ef=a.e.length;"undefined"===typeof p.aa&&(p.aa=null);this.na=p.xd=!0}p.toString=zb;var t;k=n.length=0;for(d=r.xa.length;k<d;k++)n.push.apply(n,r.xa[k].La);n.push.apply(n,r.La);if(p.nc)for(k=0,d=n.length;k<d;k++){var v=n[k];t=p.L[k];t.nc=!0;v.gb.ea.call(t,v,p);s=e[4][k];h=0;for(q=s.length;h<q;h++)t.C[h]=s[h];t.S();v.gb.Qf.add(p)}else for(p.L=[],k=0,d=n.length;k<d;k++)v=n[k],t=new v.gb.ea(v,p),t.nc=!1,t.C=e[4][k].slice(0),t.S(),p.L.push(t),v.gb.Qf.add(p);
s=e[5];if(p.nc)for(k=0,d=s.length;k<d;k++)p.C[k]=s[k];else p.C=s.slice(0);this.Eb.push(p);a&&(a.e.push(p),1!==a.Ac||1!==a.Bc)&&(r.Vh=!0);this.fj++;if(r.kc){if(p.kc=!0,p.nc?p.siblings.length=0:p.siblings=[],!c&&!f){k=0;for(d=r.Nb.length;k<d;k++)if(r.Nb[k]!==r){if(!r.Nb[k].tc)return null;p.siblings.push(this.ae(r.Nb[k].tc,w,!1,l?p.x:b,l?p.y:g,!0))}k=0;for(d=p.siblings.length;k<d;k++)for(p.siblings[k].siblings.push(p),h=0;h<d;h++)k!==h&&p.siblings[k].siblings.push(p.siblings[h])}}else p.kc=!1,p.siblings=
null;p.S();k=0;for(d=p.L.length;k<d;k++)p.L[k].tt&&p.L[k].tt();return p};d.prototype.Ik=function(e){var a,c;a=0;for(c=this.ja.V.length;a<c;a++){var b=this.ja.V[a];if(cb(b.name,e))return b}return null};d.prototype.Bg=function(e){e=ma(e);0>e&&(e=0);e>=this.ja.V.length&&(e=this.ja.V.length-1);return this.ja.V[e]};d.prototype.kk=function(e){var a,c;a=0;for(c=e.length;a<c;a++)e[a].Y().ka=!0};d.prototype.qh=function(e){var a,c;a=0;for(c=e.length;a<c;a++)e[a].qh()};d.prototype.qj=function(e){var a,c;a=0;
for(c=e.length;a<c;a++)e[a].qj()};d.prototype.We=function(e){var a,c;a=0;for(c=e.length;a<c;a++)e[a].We()};d.prototype.Ip=function(e){if(e.Uh){var a,c,b=e.e;a=0;for(c=b.length;a<c;++a)b[a].Lp();b=this.Eb;a=0;for(c=b.length;a<c;++a)b[a].type===e&&b[a].Lp();e.Uh=!1}};d.prototype.Dn=function(e,a,c,b){var g,f,k=e?1!==e.Ac||1!==e.Bc:!1;if(a.H)for(e=0,g=a.Pf.length;e<g;++e)f=a.Pf[e],k||f.Vh?ua(b,f.e):(this.Ip(f),f.ei.Wo(c,b));else k||a.Vh?ua(b,a.e):(this.Ip(a),a.ei.Wo(c,b))};d.prototype.Kn=function(e,a,
c,b){var g,f;g=0;for(f=a.length;g<f;++g)this.Dn(e,a[g],c,b)};d.prototype.ns=function(e,a,c){var b=this.sp;b&&this.Kn(e,b.ej,a,c)};d.prototype.cs=function(e,a,c){var b=this.eo;b&&this.Kn(e,b.ej,a,c)};d.prototype.Hj=function(e,a,c){var b=e.Y(),g,f,k,d,h,n;if(b.ka)for(b.ka=!1,g=b.e.length=0,d=e.e.length;g<d;g++)k=e.e[g],k.qa(),h=k.j.Sa(a,c,!0),n=k.j.Sa(a,c,!1),k.zb(h,n)&&b.e.push(k);else{g=f=0;for(d=b.e.length;g<d;g++)k=b.e[g],k.qa(),h=k.j.Sa(a,c,!0),n=k.j.Sa(a,c,!1),k.zb(h,n)&&(b.e[f]=b.e[g],f++);b.e.length=
f}e.pc();return b.Ok()};d.prototype.Gc=function(e,a){if(!(e&&a&&e!==a&&e.xd&&a.xd))return!1;e.qa();a.qa();var c=e.j,b=a.j,g,f,k,d,h,n,q,r;if(c===b||c.Ac===b.Ac&&b.Bc===b.Bc&&c.scale===b.scale&&c.m===b.m&&c.Yc===b.Yc){if(!e.Ba.Ls(a.Ba)||!e.yb.Tn(a.yb)||e.Eh&&a.Eh)return!1;if(e.Eh)return this.vp(e,a);if(a.Eh)return this.vp(a,e);q=e.aa&&!e.aa.Ff();g=a.aa&&!a.aa.Ff();if(!q&&!g)return!0;q?(e.aa.qf(e.width,e.height,e.m),q=e.aa):(this.Wc.Zf(e.yb,e.x,e.y,e.width,e.height),q=this.Wc);g?(a.aa.qf(a.width,a.height,
a.m),r=a.aa):(this.Wc.Zf(a.yb,a.x,a.y,a.width,a.height),r=this.Wc);return q.Ig(r,a.x-e.x,a.y-e.y)}q=e.aa&&!e.aa.Ff();g=a.aa&&!a.aa.Ff();q?(e.aa.qf(e.width,e.height,e.m),this.Wc.hp(e.aa)):this.Wc.Zf(e.yb,e.x,e.y,e.width,e.height);q=this.Wc;g?(a.aa.qf(a.width,a.height,a.m),this.nm.hp(a.aa)):this.nm.Zf(a.yb,a.x,a.y,a.width,a.height);r=this.nm;g=0;for(f=q.Tc;g<f;g++)k=2*g,d=k+1,h=q.Va[k],n=q.Va[d],q.Va[k]=c.za(h+e.x,n+e.y,!0),q.Va[d]=c.za(h+e.x,n+e.y,!1);q.qa();g=0;for(f=r.Tc;g<f;g++)k=2*g,d=k+1,h=r.Va[k],
n=r.Va[d],r.Va[k]=b.za(h+a.x,n+a.y,!0),r.Va[d]=b.za(h+a.x,n+a.y,!1);r.qa();return q.Ig(r,0,0)};var w=new qa;new pa(0,0,0,0);var s=[];d.prototype.vp=function(e,a){var c,b,g,f,k=a.Ba,d=e.x,h=e.y;e.rv(k,s);var q=a.aa&&!a.aa.Ff();c=0;for(b=s.length;c<b;++c)if(g=s[c],f=g.Cv,k.Ms(f,d,h)&&(w.xh(f),w.offset(d,h),w.Tn(a.yb)))if(q)if(a.aa.qf(a.width,a.height,a.m),g.Ql){if(g.Ql.Ig(a.aa,a.x-(d+f.left),a.y-(h+f.top)))return s.length=0,!0}else{if(this.Wc.Zf(w,0,0,f.right-f.left,f.bottom-f.top),this.Wc.Ig(a.aa,
a.x,a.y))return s.length=0,!0}else if(g.Ql){if(this.Wc.Zf(a.yb,0,0,a.width,a.height),g.Ql.Ig(this.Wc,-(d+f.left),-(h+f.top)))return s.length=0,!0}else return s.length=0,!0;s.length=0;return!1};d.prototype.Ep=function(e,a){if(!a)return!1;var c,b,g,f,k;c=0;for(b=e.La.length;c<b;c++)if(e.La[c].gb instanceof a)return!0;if(!e.H)for(c=0,b=e.xa.length;c<b;c++)for(k=e.xa[c],g=0,f=k.La.length;g<f;g++)if(k.La[g].gb instanceof a)return!0;return!1};d.prototype.Fp=function(e){return this.Ep(e,Xb.Iu)};d.prototype.wm=
function(e){return this.Ep(e,Xb.Ju)};var t=[];d.prototype.Lb=function(e){var a,c,b;e.qa();this.ns(e.j,e.Ba,t);a=0;for(c=t.length;a<c;++a)if(b=t[a],b.D.Gv&&this.Gc(e,b))return t.length=0,b;t.length=0;return null};var v=[];d.prototype.ve=function(e,a){var c=null;a&&(c=v,c.length=0);e.qa();this.cs(e.j,e.Ba,t);var b,g,f;b=0;for(g=t.length;b<g;++b)if(f=t[b],f.D.zv&&this.Gc(e,f))if(a)c.push(f);else return t.length=0,f;t.length=0;return c};d.prototype.Cc=function(e,a,c,b,g,f){b=b||50;var k=e.x,d=e.y,h,q=
null,n=null;for(h=0;h<b;h++)if(e.x=k+a*h,e.y=d+c*h,e.u(),!this.Gc(e,q)&&((q=this.Lb(e))&&(n=q),!q&&(g&&(q=f?this.Gc(e,f)?f:null:this.ve(e))&&(n=q),!q)))return n&&this.Tl(e,a,c,n),!0;e.x=k;e.y=d;e.u();return!1};d.prototype.Tl=function(e,a,c,b){var g=2,f,k=!1;f=!1;for(var d=e.x,h=e.y;16>=g;)f=1/g,g*=2,e.x+=a*f*(k?1:-1),e.y+=c*f*(k?1:-1),e.u(),this.Gc(e,b)?f=k=!0:(f=k=!1,d=e.x,h=e.y);f&&(e.x=d,e.y=h,e.u())};d.prototype.zt=function(e,a){var c=da(a)?100:a,b=0,g=e.x,f=e.y,k=0,d=0,h=0,q=this.Lb(e);if(!q)return!0;
for(;b<=c;){switch(k){case 0:d=0;h=-1;b++;break;case 1:d=1;h=-1;break;case 2:d=1;h=0;break;case 3:h=d=1;break;case 4:d=0;h=1;break;case 5:d=-1;h=1;break;case 6:d=-1;h=0;break;case 7:h=d=-1}k=(k+1)%8;e.x=ma(g+d*b);e.y=ma(f+h*b);e.u();if(!this.Gc(e,q)&&(q=this.Lb(e),!q))return!0}e.x=g;e.y=f;e.u();return!1};d.prototype.rh=function(e,a){e.xd&&a.xd&&this.uj.push([e,a])};d.prototype.Rq=function(e,a){var c,b,g;c=0;for(b=this.uj.length;c<b;c++)if(g=this.uj[c],g[0]==e&&g[1]==a||g[0]==a&&g[1]==e)return!0;return!1};
var k=-1;d.prototype.trigger=function(e,a,c){if(!this.ja)return!1;var b=this.ja.vg;if(!b)return!1;var g=!1,f,d,h;k++;var q=b.qk;d=0;for(h=q.length;d<h;++d)f=this.Ap(e,a,q[d],c),g=g||f;f=this.Ap(e,a,b,c);k--;return g||f};d.prototype.Ap=function(e,a,c,b){var g=!1,f,k,d,h;if(a)for(d=this.um(e,a,a.type.name,c,b),g=g||d,h=a.type.xa,f=0,k=h.length;f<k;++f)d=this.um(e,a,h[f].name,c,b),g=g||d;else d=this.um(e,a,"system",c,b),g=g||d;return g};d.prototype.um=function(e,a,c,b,g){var f,k=!1,d=!1,d="undefined"!==
typeof g,h=(d?b.xn:b.Cp)[c];if(!h)return k;var q=null;b=0;for(f=h.length;b<f;++b)if(h[b].method==e){q=h[b].wg;break}if(!q)return k;e=d?q[g]:q;if(!e)return null;b=0;for(f=e.length;b<f;b++)g=e[b][0],d=e[b][1],d=this.Qr(a,c,g,d),k=k||d;return k};d.prototype.Qr=function(e,a,c,b){var g,f,d=!1;this.vm++;var h=this.tb().gc;h&&this.qh(h.qe);var q=1<this.vm;this.qh(c.qe);q&&this.yt();var n=this.rj(c);n.gc=c;e&&(g=this.types[a].Y(),g.ka=!1,g.e.length=1,g.e[0]=e,this.types[a].pc());e=!0;if(c.parent){a=n.up;
for(g=c.parent;g;)a.push(g),g=g.parent;a.reverse();g=0;for(f=a.length;g<f;g++)if(!a[g].Gt()){e=!1;break}}e&&(this.tf++,c.Sc?c.Ft(b):c.Ra(),d=d||n.Qe);this.mj();q&&this.qt();this.We(c.qe);h&&this.We(h.qe);0!==this.Oc||0!==k||this.$k||this.$c.Nc()&&!this.Eb.length||this.nb();this.vm--;return d};d.prototype.Fk=function(){var e=this.tb();return e.gc.Za[e.Ta]};d.prototype.Yr=function(){var e=this.tb();return e.gc.oc[e.cc]};d.prototype.yt=function(){this.dj++;this.dj>=this.ql.length&&this.ql.push([])};
d.prototype.qt=function(){this.dj--};d.prototype.En=function(){return this.ql[this.dj]};d.prototype.rj=function(e){this.pi++;this.pi>=this.tk.length&&this.tk.push(new Jb);var a=this.tb();a.reset(e);return a};d.prototype.mj=function(){this.pi--};d.prototype.tb=function(){return this.tk[this.pi]};d.prototype.Fn=function(e,a){for(var c,b,g,f,k,d;a;){c=0;for(b=a.Fc.length;c<b;c++)if(d=a.Fc[c],d instanceof Kb&&cb(e,d.name))return d;a=a.parent}c=0;for(b=this.Dd.length;c<b;c++)for(k=this.Dd[c],g=0,f=k.ee.length;g<
f;g++)if(d=k.ee[g],d instanceof Kb&&cb(e,d.name))return d;return null};d.prototype.Hn=function(e){var a,c;a=0;for(c=this.Rc.length;a<c;a++)if(this.Rc[a].T===e)return this.Rc[a];return null};d.prototype.Ei=function(e){var a,c;a=0;for(c=this.q.length;a<c;a++)if(this.q[a].T===e)return this.q[a];return null};d.prototype.$r=function(e){var a,c;a=0;for(c=this.nf.length;a<c;a++)if(this.nf[a].T===e)return this.nf[a];return null};d.prototype.Fs=function(){var e=this,a=this.fm,c=this.Jd,g=this.Zi,k=!1;this.qp&&
(k=!0,a="__c2_continuouspreview",this.qp=!1);if(a.length){this.nb();c=this.Kt();if(window.indexedDB&&!this.jc)f(a,c,function(){ca("Saved state to IndexedDB storage ("+c.length+" bytes)");e.Jd=c;e.trigger(R.prototype.i.Yj,null);e.Jd="";k&&b()},function(g){try{localStorage.setItem("__c2save_"+a,c),ca("Saved state to WebStorage ("+c.length+" bytes)"),e.Jd=c,e.trigger(R.prototype.i.Yj,null),e.Jd="",k&&b()}catch(f){ca("Failed to save game state: "+g+"; "+f)}});else try{localStorage.setItem("__c2save_"+
a,c),ca("Saved state to WebStorage ("+c.length+" bytes)"),e.Jd=c,this.trigger(R.prototype.i.Yj,null),e.Jd="",k&&b()}catch(d){ca("Error saving to WebStorage: "+d)}this.Cb=this.Zi=this.fm=""}g.length&&(window.indexedDB&&!this.jc?h(g,function(a){a?(e.Cb=a,ca("Loaded state from IndexedDB storage ("+e.Cb.length+" bytes)")):(e.Cb=localStorage.getItem("__c2save_"+g)||"",ca("Loaded state from WebStorage ("+e.Cb.length+" bytes)"));e.Bh=!1;e.Cb.length||e.trigger(R.prototype.i.Xj,null)},function(){e.Cb=localStorage.getItem("__c2save_"+
g)||"";ca("Loaded state from WebStorage ("+e.Cb.length+" bytes)");e.Bh=!1;e.Cb.length||e.trigger(R.prototype.i.Xj,null)}):(this.Cb=localStorage.getItem("__c2save_"+g)||"",ca("Loaded state from WebStorage ("+this.Cb.length+" bytes)"),this.Bh=!1,e.Cb.length||e.trigger(R.prototype.i.Xj,null)),this.fm=this.Zi="");this.Cb.length&&(this.nb(),this.Ys(this.Cb),this.Jd=this.Cb,this.trigger(R.prototype.i.iq,null),this.Cb=this.Jd="")};d.prototype.Kt=function(){var e,c,b,g,f,k,d,h={c2save:!0,version:1,rt:{time:this.xc.Ka,
timescale:this.bg,tickcount:this.qd,execcount:this.tf,next_uid:this.fh,running_layout:this.ja.T,start_time_offset:Date.now()-this.Dj},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};e=0;for(c=this.q.length;e<c;e++)if(f=this.q[e],!f.H&&!this.Fp(f)){k={instances:[]};Pa(f.D)&&(k.ex=a(f.D));b=0;for(g=f.e.length;b<g;b++)k.instances.push(this.em(f.e[b]));h.types[f.T.toString()]=k}e=0;for(c=this.Rc.length;e<c;e++)b=this.Rc[e],h.layouts[b.T.toString()]=b.Kb();g=h.events.groups;e=0;for(c=this.nf.length;e<
c;e++)b=this.nf[e],g[b.T.toString()]=this.Gi[b.Eg].Fi;c=h.events.cnds;for(d in this.rf)this.rf.hasOwnProperty(d)&&(e=this.rf[d],Pa(e.D)&&(c[d]={ex:a(e.D)}));c=h.events.acts;for(d in this.lf)this.lf.hasOwnProperty(d)&&(e=this.lf[d],Pa(e.D)&&(c[d]={ex:e.D}));c=h.events.vars;for(d in this.fg)this.fg.hasOwnProperty(d)&&(e=this.fg[d],e.Mi||e.parent&&!e.Ng||(c[d]=e.data));h.system=this.pd.Kb();return JSON.stringify(h)};d.prototype.Xo=function(){var e,a,c,b,g,f;this.le={};e=0;for(a=this.q.length;e<a;e++)if(c=
this.q[e],!c.H)for(b=0,g=c.e.length;b<g;b++)f=c.e[b],this.le[f.uid.toString()]=f};d.prototype.Ys=function(e){e=JSON.parse(e);if(e.c2save&&!(1<e.version)){var a=e.rt;this.xc.reset();this.xc.Ka=a.time;this.bg=a.timescale;this.qd=a.tickcount;this.Dj=Date.now()-a.start_time_offset;var c=a.running_layout;if(c!==this.ja.T)if(c=this.Hn(c))this.sn(c);else return;var b,g,f,k,d,h,q;h=e.types;for(g in h)if(h.hasOwnProperty(g)&&(k=this.Ei(parseInt(g,10)))&&!k.H&&!this.Fp(k)){h[g].ex?k.D=h[g].ex:Qa(k.D);d=k.e;
f=h[g].instances;c=0;for(b=ia(d.length,f.length);c<b;c++)this.$i(d[c],f[c]);c=f.length;for(b=d.length;c<b;c++)this.xe(d[c]);c=d.length;for(b=f.length;c<b;c++){d=null;if(k.ra.he&&(d=this.ja.Di(f[c].w.l),!d))continue;d=this.ae(k.tc,d,!1,0,0,!0);this.$i(d,f[c])}k.ag=!0}this.nb();this.Xo();b=e.layouts;for(g in b)b.hasOwnProperty(g)&&(c=this.Hn(parseInt(g,10)))&&c.mc(b[g]);b=e.events.groups;for(g in b)b.hasOwnProperty(g)&&(c=this.$r(parseInt(g,10)))&&this.Gi[c.Eg]&&(this.Gi[c.Eg].Fi=b[g]);c=e.events.cnds;
for(g in c)c.hasOwnProperty(g)&&this.rf.hasOwnProperty(g)&&(this.rf[g].D=c[g].ex);c=e.events.acts;for(g in c)c.hasOwnProperty(g)&&this.lf.hasOwnProperty(g)&&(this.lf[g].D=c[g].ex);c=e.events.vars;for(g in c)c.hasOwnProperty(g)&&this.fg.hasOwnProperty(g)&&(this.fg[g].data=c[g]);this.fh=a.next_uid;this.pd.mc(e.system);c=0;for(b=this.q.length;c<b;c++)if(k=this.q[c],!k.H)for(g=0,e=k.e.length;g<e;g++){d=k.e[g];if(k.kc)for(h=d.Dg(),a=d.siblings.length=0,f=k.Nb.length;a<f;a++)q=k.Nb[a],k!==q&&d.siblings.push(q.e[h]);
d.Zc&&d.Zc();if(d.L)for(a=0,f=d.L.length;a<f;a++)h=d.L[a],h.Zc&&h.Zc()}this.na=!0}};d.prototype.em=function(e,c){var b,g,f,k,d;k=e.type;f=k.ra;var h={};c?h.c2=!0:h.uid=e.uid;Pa(e.D)&&(h.ex=a(e.D));if(e.Ua&&e.Ua.length)for(h.ivs={},b=0,g=e.Ua.length;b<g;b++)h.ivs[e.type.Wk[b].toString()]=e.Ua[b];if(f.he){f={x:e.x,y:e.y,w:e.width,h:e.height,l:e.j.T,zi:e.Gb()};0!==e.m&&(f.a=e.m);1!==e.opacity&&(f.o=e.opacity);0.5!==e.Hb&&(f.hX=e.Hb);0.5!==e.Ib&&(f.hY=e.Ib);0!==e.Db&&(f.bm=e.Db);e.visible||(f.v=e.visible);
e.xd||(f.ce=e.xd);-1!==e.eh&&(f.mts=e.eh);if(k.M.length)for(f.fx=[],b=0,g=k.M.length;b<g;b++)d=k.M[b],f.fx.push({name:d.name,active:e.Vd[d.index],params:e.Da[d.index]});h.w=f}if(e.L&&e.L.length)for(h.behs={},b=0,g=e.L.length;b<g;b++)k=e.L[b],k.Kb&&(h.behs[k.type.T.toString()]=k.Kb());e.Kb&&(h.data=e.Kb());return h};d.prototype.bs=function(e,a){var c,b;c=0;for(b=e.Wk.length;c<b;c++)if(e.Wk[c]===a)return c;return-1};d.prototype.Xr=function(e,a){var c,b;c=0;for(b=e.L.length;c<b;c++)if(e.L[c].type.T===
a)return c;return-1};d.prototype.$i=function(e,a,c){var b,g,f,k,d;d=e.type;f=d.ra;if(c){if(!a.c2)return}else e.uid=a.uid;a.ex?e.D=a.ex:Qa(e.D);if(g=a.ivs)for(b in g)g.hasOwnProperty(b)&&(c=this.bs(d,parseInt(b,10)),0>c||c>=e.Ua.length||(e.Ua[c]=g[b]));if(f.he){f=a.w;e.j.T!==f.l&&(c=e.j,e.j=this.ja.Di(f.l),e.j?(e.j.e.push(e),e.j.ac=!0,ya(c.e,e),c.ac=!0):(e.j=c,this.xe(e)));e.x=f.x;e.y=f.y;e.width=f.w;e.height=f.h;e.ef=f.zi;e.m=f.hasOwnProperty("a")?f.a:0;e.opacity=f.hasOwnProperty("o")?f.o:1;e.Hb=
f.hasOwnProperty("hX")?f.hX:0.5;e.Ib=f.hasOwnProperty("hY")?f.hY:0.5;e.visible=f.hasOwnProperty("v")?f.v:!0;e.xd=f.hasOwnProperty("ce")?f.ce:!0;e.eh=f.hasOwnProperty("mts")?f.mts:-1;e.Db=f.hasOwnProperty("bm")?f.bm:0;e.rg=$a(e.Db);this.p&&ab(e,e.Db,this.p);e.u();if(f.hasOwnProperty("fx"))for(c=0,g=f.fx.length;c<g;c++)k=d.Hk(f.fx[c].name),0>k||(e.Vd[k]=f.fx[c].active,e.Da[k]=f.fx[c].params);e.Qd()}if(d=a.behs)for(b in d)d.hasOwnProperty(b)&&(f=this.Xr(e,parseInt(b,10)),0>f||e.L[f].mc(d[b]));a.data&&
e.mc(a.data)};Lb=function(e){return new d(document.getElementById(e))};Mb=function(e,a){return new d({dc:!0,width:e,height:a})};window.cr_createRuntime=Lb;window.cr_createDCRuntime=Mb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var e=document.createElement("screencanvas")||document.createElement("canvas");e.Fv=!0;document.body.appendChild(e);e=new d(e);window.c2runtime=e;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});
window.c2runtime.setSize(window.innerWidth,window.innerHeight);return e};window.createEjectaRuntime=function(){var e=new d(document.getElementById("canvas"));window.c2runtime=e;window.c2runtime.setSize(window.innerWidth,window.innerHeight);return e}})();window.cr_getC2Runtime=function(){var d=document.getElementById("c2canvas");return d?d.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_sizeCanvas=function(d,l){if(0!==d&&0!==l){var f=window.cr_getC2Runtime();f&&f.setSize(d,l)}};
window.cr_setSuspended=function(d){var l=window.cr_getC2Runtime();l&&l.setSuspended(d)};
(function(){function d(b,a){this.b=b;this.vg=null;this.scrollX=this.b.cb/2;this.scrollY=this.b.bb/2;this.scale=1;this.m=0;this.zg=!0;this.name=a[0];this.width=a[1];this.height=a[2];this.Gp=a[3];this.kp=a[4];this.T=a[5];var g=a[6],c,f;this.V=[];this.Hg=[];c=0;for(f=g.length;c<f;c++){var d=new Nb(this,g[c]);d.Bo=c;this.V.push(d)}g=a[7];this.Je=[];c=0;for(f=g.length;c<f;c++){var d=g[c],h=this.b.q[d[1]];h.tc||(h.tc=d);this.Je.push(d);-1===this.Hg.indexOf(h)&&this.Hg.push(h)}this.M=[];this.X=[];this.Da=
[];c=0;for(f=a[8].length;c<f;c++)this.M.push({id:a[8][c][0],name:a[8][c][1],kb:-1,ec:!0,index:c}),this.Da.push(a[8][c][2].slice(0));this.Qd();this.ne=new pa(0,0,1,1);this.Wl=new pa(0,0,1,1);this.me={}}function l(b,a){this.ma=b;this.b=b.b;this.e=[];this.scale=1;this.m=0;this.Be=!1;this.Pd=new pa(0,0,0,0);this.zp=new qa;this.Yb=this.mb=this.Zb=this.lb=0;this.ac=!1;this.name=a[0];this.index=a[1];this.T=a[2];this.visible=a[3];this.Yd=a[4];this.df=a[5];this.Ac=a[6];this.Bc=a[7];this.opacity=a[8];this.zk=
a[9];this.Yc=a[10];this.Db=a[11];this.nr=a[12];this.rg="source-over";this.sb=this.ub=0;this.oe=!1;var g=a[13],c,f;this.Bf=[];c=0;for(f=g.length;c<f;c++){var d=g[c],h=this.b.q[d[1]];h.tc||(h.tc=d,h.Yq=this.index);this.Bf.push(d);-1===this.ma.Hg.indexOf(h)&&this.ma.Hg.push(h)}this.M=[];this.X=[];this.Da=[];c=0;for(f=a[14].length;c<f;c++)this.M.push({id:a[14][c][0],name:a[14][c][1],kb:-1,ec:!0,index:c}),this.Da.push(a[14][c][2].slice(0));this.Qd();this.ne=new pa(0,0,1,1);this.Wl=new pa(0,0,1,1)}function f(b,
a){return b.ef-a.ef}d.prototype.Jt=function(b){var a=b.type.T.toString();this.me.hasOwnProperty(a)||(this.me[a]=[]);this.me[a].push(this.b.em(b))};d.prototype.Ln=function(){var b=this.V[0];return!b.df&&1===b.opacity&&!b.zk&&b.visible};d.prototype.Qd=function(){this.X.length=0;var b,a,g;b=0;for(a=this.M.length;b<a;b++)g=this.M[b],g.ec&&this.X.push(g)};d.prototype.Gk=function(b){var a,g,c;a=0;for(g=this.M.length;a<g;a++)if(c=this.M[a],c.name===b)return c;return null};var h=[];d.prototype.lm=function(){this.kp&&
(this.vg=this.b.uk[this.kp],this.vg.Jp());this.b.ja=this;this.scrollX=this.b.cb/2;this.scrollY=this.b.bb/2;var b,a,g,c,d,r,l;b=0;for(g=this.b.q.length;b<g;b++)if(a=this.b.q[b],!a.H)for(d=a.e,a=0,c=d.length;a<c;a++)if(r=d[a],r.j){var n=r.j.Bo;n>=this.V.length&&(n=this.V.length-1);r.j=this.V[n];-1===r.j.e.indexOf(r)&&r.j.e.push(r);r.j.ac=!0}h.length=0;this.Kq();b=0;for(g=this.V.length;b<g;b++)r=this.V[b],r.Vq(),r.Be=!0,a=r.Sa(0,0,!0,!0),c=r.Sa(0,0,!1,!0),r.Be=!1,this.b.jd&&(a=a+0.5|0,c=c+0.5|0),r.Zl(a,
c,null);d=!1;if(!this.zg){for(l in this.me)if(this.me.hasOwnProperty(l)&&(a=this.b.Ei(parseInt(l,10)))&&!a.H&&this.b.wm(a)){c=this.me[l];b=0;for(g=c.length;b<g;b++){r=null;if(a.ra.he&&(r=this.Di(c[b].w.l),!r))continue;r=this.b.ae(a.tc,r,!1,0,0,!0);this.b.$i(r,c[b]);d=!0;h.push(r)}c.length=0}b=0;for(g=this.V.length;b<g;b++)this.V[b].e.sort(f),this.V[b].ac=!0}d&&(this.b.nb(),this.b.Xo());for(b=0;b<h.length;b++)if(r=h[b],r.type.kc)for(g=r.Dg(),a=0,c=r.type.Nb.length;a<c;a++)l=r.type.Nb[a],r.type!==l&&
(l.e.length>g?r.siblings.push(l.e[g]):l.tc&&(d=this.b.ae(l.tc,r.j,!0,r.x,r.y,!0),this.b.nb(),l.Qj(),r.siblings.push(d),h.push(d)));b=0;for(g=this.Je.length;b<g;b++)this.b.ae(this.Je[b],null,!0);this.b.qg=null;this.b.nb();if(this.b.fa&&!this.b.ya)for(b=0,g=this.b.q.length;b<g;b++)l=this.b.q[b],!l.H&&l.e.length&&l.Rl&&l.Rl(this.b.fa);b=0;for(g=h.length;b<g;b++)r=h[b],this.b.trigger(Object.getPrototypeOf(r.type.ra).i.Vj,r);h.length=0;this.b.trigger(R.prototype.i.jg,null);this.zg=!1};d.prototype.Uq=function(){var b,
a,g,c,f;a=b=0;for(g=this.Je.length;b<g;b++)c=this.Je[b],f=this.b.q[c[1]],f.global?this.b.ae(c,null,!0):(this.Je[a]=c,a++);this.Je.length=a};d.prototype.Tt=function(){this.b.trigger(R.prototype.i.gq,null);this.b.pd.$b.length=0;var b,a,g,c,f,d;b=0;for(a=this.V.length;b<a;b++){f=this.V[b].e;g=0;for(c=f.length;g<c;g++)d=f[g],d.type.global||(this.b.wm(d.type)&&this.Jt(d),this.b.xe(d));this.b.nb();f.length=0;this.V[b].ac=!0}b=0;for(a=this.b.q.length;b<a;b++)if(f=this.b.q[b],!(f.global||f.ra.he||f.ra.Bj||
f.H)){g=0;for(c=f.e.length;g<c;g++)this.b.xe(f.e[g]);this.b.nb()}};d.prototype.ad=function(b){var a,g=b,c=!1,f=!this.b.wc;f&&(this.b.Xi||(this.b.Xi=document.createElement("canvas"),a=this.b.Xi,a.width=this.b.P,a.height=this.b.O,this.b.no=a.getContext("2d"),c=!0),a=this.b.Xi,g=this.b.no,a.width!==this.b.P&&(a.width=this.b.P,c=!0),a.height!==this.b.O&&(a.height=this.b.O,c=!0),c&&(g.webkitImageSmoothingEnabled=this.b.Z,g.mozImageSmoothingEnabled=this.b.Z,g.msImageSmoothingEnabled=this.b.Z,g.imageSmoothingEnabled=
this.b.Z));g.globalAlpha=1;g.globalCompositeOperation="source-over";this.b.bk&&!this.Ln()&&g.clearRect(0,0,this.b.P,this.b.O);var d,h,c=0;for(d=this.V.length;c<d;c++)h=this.V[c],h.visible&&0<h.opacity&&11!==h.Db&&h.ad(g);f&&b.drawImage(a,0,0,this.b.width,this.b.height)};d.prototype.vc=function(b){var a=0<this.X.length||this.b.dg||!this.b.wc;if(a){this.b.Sb||(this.b.Sb=b.yd(this.b.P,this.b.O,this.b.Z));if(this.b.Sb.pg!==this.b.P||this.b.Sb.ng!==this.b.O)b.deleteTexture(this.b.Sb),this.b.Sb=b.yd(this.b.P,
this.b.O,this.b.Z);b.nd(this.b.Sb);this.b.wc||b.Yf(this.b.P,this.b.O)}else this.b.Sb&&(b.nd(null),b.deleteTexture(this.b.Sb),this.b.Sb=null);this.b.bk&&!this.Ln()&&b.clear(0,0,0,0);var g,c;g=0;for(c=this.V.length;g<c;g++)this.V[g].visible&&0<this.V[g].opacity&&this.V[g].vc(b);a&&(0===this.X.length||1===this.X.length&&this.b.wc?(1===this.X.length?(a=this.X[0].index,b.od(this.X[0].kb),b.Xf(null,1/this.b.P,1/this.b.O,0,0,1,1,this.scale,this.m,0,0,this.Da[a]),b.pj(this.X[0].kb)&&(this.b.na=!0)):b.od(0),
this.b.wc||b.Yf(this.b.width,this.b.height),b.nd(null),b.$e(1),b.Vb(this.b.Sb),b.dp(),b.ld(),b.sd(),a=this.b.width/2,g=this.b.height/2,b.sj(-a,g,a,g,a,-g,-a,-g),b.Vb(null)):this.Xl(b,null,null,null))};d.prototype.Cg=function(){return 0<this.X.length||this.b.dg||!this.b.wc?this.b.Sb:null};d.prototype.In=function(){var b=this.V[0].Ob(),a,g,c;a=1;for(g=this.V.length;a<g;a++)c=this.V[a],(0!==c.Ac||0!==c.Bc)&&c.Ob()<b&&(b=c.Ob());return b};d.prototype.bp=function(b){if(!this.Gp){var a=this.b.P*(1/this.In())/
2;b>this.width-a&&(b=this.width-a);b<a&&(b=a)}this.scrollX!==b&&(this.scrollX=b,this.b.na=!0)};d.prototype.cp=function(b){if(!this.Gp){var a=this.b.O*(1/this.In())/2;b>this.height-a&&(b=this.height-a);b<a&&(b=a)}this.scrollY!==b&&(this.scrollY=b,this.b.na=!0)};d.prototype.Kq=function(){this.bp(this.scrollX);this.cp(this.scrollY)};d.prototype.Xl=function(b,a,g,c){var f=g?g.X:a?a.X:this.X,d=1,h=0,n=0,l=0;g?(d=g.j.Ob(),h=g.j.Pa(),n=g.j.lb,l=g.j.mb):a&&(d=a.Ob(),h=a.Pa(),n=a.lb,l=a.mb);var s=this.b.Ck,
t,v,k,e,m=0,x=1,u,H=this.b.P,K=this.b.O,y=H/2,S=K/2,G=a?a.ne:this.ne,M=a?a.Wl:this.Wl,z=0,T=0,E=0,B=0,J=H,P=H,D=K,A=K,X=k=0,I=g?g.j.Pa():0;if(g){t=0;for(v=f.length;t<v;t++)k+=b.hs(f[t].kb),X+=b.ks(f[t].kb);e=g.Ba;z=a.za(e.left,e.top,!0,!0);E=a.za(e.left,e.top,!1,!0);J=a.za(e.right,e.bottom,!0,!0);D=a.za(e.right,e.bottom,!1,!0);0!==I&&(t=a.za(e.right,e.top,!0,!0),v=a.za(e.right,e.top,!1,!0),T=a.za(e.left,e.bottom,!0,!0),B=a.za(e.left,e.bottom,!1,!0),e=Math.min(z,J,t,T),J=Math.max(z,J,t,T),z=e,e=Math.min(E,
D,v,B),D=Math.max(E,D,v,B),E=e);z-=k;E-=X;J+=k;D+=X;M.left=z/H;M.top=1-E/K;M.right=J/H;M.bottom=1-D/K;T=z=ma(z);B=E=ma(E);P=J=na(J);A=D=na(D);T-=k;B-=X;P+=k;A+=X;0>z&&(z=0);0>E&&(E=0);J>H&&(J=H);D>K&&(D=K);0>T&&(T=0);0>B&&(B=0);P>H&&(P=H);A>K&&(A=K);G.left=z/H;G.top=1-E/K;G.right=J/H;G.bottom=1-D/K}else G.left=M.left=0,G.top=M.top=0,G.right=M.right=1,G.bottom=M.bottom=1;X=g&&((g.m||I)&&b.oh(f[0].kb)||0!==k||0!==X||1!==g.opacity||g.type.ra.wo)||a&&!g&&1!==a.opacity;b.dp();if(X){s[m]||(s[m]=b.yd(H,
K,this.b.Z));if(s[m].pg!==H||s[m].ng!==K)b.deleteTexture(s[m]),s[m]=b.yd(H,K,this.b.Z);b.od(0);b.nd(s[m]);u=A-B;b.clearRect(T,K-B-u,P-T,u);g?g.vc(b):(b.Vb(this.b.lc),b.$e(a.opacity),b.ld(),b.translate(-y,-S),b.sd(),b.kd(z,D,J,D,J,E,z,E,G));M.left=M.top=0;M.right=M.bottom=1;g&&(e=G.top,G.top=G.bottom,G.bottom=e);m=1;x=0}b.$e(1);k=f.length-1;var I=b.Sl(f[k].kb)||!a&&!g&&!this.b.wc,Q=0;t=0;for(v=f.length;t<v;t++){s[m]||(s[m]=b.yd(H,K,this.b.Z));if(s[m].pg!==H||s[m].ng!==K)b.deleteTexture(s[m]),s[m]=
b.yd(H,K,this.b.Z);b.od(f[t].kb);Q=f[t].index;b.pj(f[t].kb)&&(this.b.na=!0);0!=t||X?(b.Xf(c,1/H,1/K,M.left,M.top,M.right,M.bottom,d,h,n,l,g?g.Da[Q]:a?a.Da[Q]:this.Da[Q]),b.Vb(null),t!==k||I?(b.nd(s[m]),u=A-B,e=K-B-u,b.clearRect(T,e,P-T,u)):(g?b.pe(g.ub,g.sb):a&&b.pe(a.ub,a.sb),b.nd(c)),b.Vb(s[x]),b.ld(),b.translate(-y,-S),b.sd(),b.kd(z,D,J,D,J,E,z,E,G),t!==k||I||b.Vb(null)):(b.nd(s[m]),u=A-B,e=K-B-u,b.clearRect(T,e,P-T,u),g?(b.Xf(c,1/g.width,1/g.height,M.left,M.top,M.right,M.bottom,d,h,n,l,g.Da[Q]),
g.vc(b)):(b.Xf(c,1/H,1/K,0,0,1,1,d,h,n,l,a?a.Da[Q]:this.Da[Q]),b.Vb(a?this.b.lc:this.b.Sb),b.ld(),b.translate(-y,-S),b.sd(),b.kd(z,D,J,D,J,E,z,E,G)),M.left=M.top=0,M.right=M.bottom=1,g&&!I&&(e=D,D=E,E=e));m=0===m?1:0;x=0===m?1:0}I&&(b.od(0),g?b.pe(g.ub,g.sb):a?b.pe(a.ub,a.sb):this.b.wc||(b.Yf(this.b.width,this.b.height),y=this.b.width/2,S=this.b.height/2,E=z=0,J=this.b.width,D=this.b.height),b.nd(c),b.Vb(s[x]),b.ld(),b.translate(-y,-S),b.sd(),g&&1===f.length&&!X?b.kd(z,E,J,E,J,D,z,D,G):b.kd(z,D,J,
D,J,E,z,E,G),b.Vb(null))};d.prototype.Di=function(b){var a,g;a=0;for(g=this.V.length;a<g;a++)if(this.V[a].T===b)return this.V[a];return null};d.prototype.Kb=function(){var b,a,g,c={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.m,w:this.width,h:this.height,fv:this.zg,persist:this.me,fx:[],layers:{}};b=0;for(a=this.M.length;b<a;b++)g=this.M[b],c.fx.push({name:g.name,active:g.ec,params:this.Da[g.index]});b=0;for(a=this.V.length;b<a;b++)g=this.V[b],c.layers[g.T.toString()]=g.Kb();return c};d.prototype.mc=
function(b){var a,g,c,f;this.scrollX=b.sx;this.scrollY=b.sy;this.scale=b.s;this.m=b.a;this.width=b.w;this.height=b.h;this.me=b.persist;"undefined"!==typeof b.fv&&(this.zg=b.fv);var d=b.fx;a=0;for(g=d.length;a<g;a++)if(c=this.Gk(d[a].name))c.ec=d[a].active,this.Da[c.index]=d[a].params;this.Qd();a=b.layers;for(f in a)a.hasOwnProperty(f)&&(b=this.Di(parseInt(f,10)))&&b.mc(a[f])};Ab=d;l.prototype.Qd=function(){this.X.length=0;var b,a,g;b=0;for(a=this.M.length;b<a;b++)g=this.M[b],g.ec&&this.X.push(g)};
l.prototype.Gk=function(b){var a,g,c;a=0;for(g=this.M.length;a<g;a++)if(c=this.M[a],c.name===b)return c;return null};l.prototype.Vq=function(){var b,a,g,c,f,d;a=b=0;for(g=this.Bf.length;b<g;b++){c=this.Bf[b];f=this.b.q[c[1]];d=this.b.wm(f);f=!0;if(!d||this.ma.zg)c=this.b.ae(c,this,!0),h.push(c),c.type.global&&(f=!1);f&&(this.Bf[a]=this.Bf[b],a++)}this.Bf.length=a;this.b.nb();!this.b.r&&this.M.length&&(this.Db=this.nr);this.rg=$a(this.Db);this.b.p&&ab(this,this.Db,this.b.p)};l.prototype.au=function(){if(this.ac){var b,
a;b=0;for(a=this.e.length;b<a;b++)this.e[b].ef=b;this.ac=!1}};l.prototype.Ob=function(b){return this.ds()*(this.b.wc||b?this.b.mg:1)};l.prototype.ds=function(){return(this.scale*this.ma.scale-1)*this.Yc+1};l.prototype.Pa=function(){return this.Be?0:Ba(this.ma.m+this.m)};l.prototype.ad=function(b){this.oe=this.zk||1!==this.opacity||0!==this.Db;var a=this.b.canvas,g=b,c=!1;this.oe&&(this.b.Wi||(this.b.Wi=document.createElement("canvas"),a=this.b.Wi,a.width=this.b.P,a.height=this.b.O,this.b.mo=a.getContext("2d"),
c=!0),a=this.b.Wi,g=this.b.mo,a.width!==this.b.P&&(a.width=this.b.P,c=!0),a.height!==this.b.O&&(a.height=this.b.O,c=!0),c&&(g.webkitImageSmoothingEnabled=this.b.Z,g.mozImageSmoothingEnabled=this.b.Z,g.msImageSmoothingEnabled=this.b.Z,g.imageSmoothingEnabled=this.b.Z),this.df&&g.clearRect(0,0,this.b.P,this.b.O));g.globalAlpha=1;g.globalCompositeOperation="source-over";this.df||(g.fillStyle="rgb("+this.Yd[0]+","+this.Yd[1]+","+this.Yd[2]+")",g.fillRect(0,0,this.b.P,this.b.O));g.save();this.Be=!0;var c=
this.Sa(0,0,!0,!0),f=this.Sa(0,0,!1,!0);this.Be=!1;this.b.jd&&(c=c+0.5|0,f=f+0.5|0);this.Zl(c,f,g);var d=this.Ob();g.scale(d,d);g.translate(-c,-f);for(var h,c=0,f=this.e.length;c<f;c++)d=this.e[c],d.visible&&0!==d.width&&0!==d.height&&(d.qa(),h=d.Ba,h.right<this.lb||h.bottom<this.mb||h.left>this.Zb||h.top>this.Yb||(g.globalCompositeOperation=d.rg,d.ad(g)));g.restore();this.oe&&(b.globalCompositeOperation=this.rg,b.globalAlpha=this.opacity,b.drawImage(a,0,0))};l.prototype.Zl=function(b,a,g){var c=
this.Ob();this.lb=b;this.mb=a;this.Zb=b+this.b.P*(1/c);this.Yb=a+this.b.O*(1/c);b=this.Pa();0!==b&&(g&&(g.translate(this.b.P/2,this.b.O/2),g.rotate(-b),g.translate(this.b.P/-2,this.b.O/-2)),this.Pd.set(this.lb,this.mb,this.Zb,this.Yb),this.Pd.offset((this.lb+this.Zb)/-2,(this.mb+this.Yb)/-2),this.zp.ip(this.Pd,b),this.zp.an(this.Pd),this.Pd.offset((this.lb+this.Zb)/2,(this.mb+this.Yb)/2),this.lb=this.Pd.left,this.mb=this.Pd.top,this.Zb=this.Pd.right,this.Yb=this.Pd.bottom)};l.prototype.vc=function(b){var a=
this.b.P,g=this.b.O,c=0,f=0;if(this.oe=this.zk||1!==this.opacity||0<this.X.length||0!==this.Db){this.b.lc||(this.b.lc=b.yd(this.b.P,this.b.O,this.b.Z));if(this.b.lc.pg!==this.b.P||this.b.lc.ng!==this.b.O)b.deleteTexture(this.b.lc),this.b.lc=b.yd(this.b.P,this.b.O,this.b.Z);b.nd(this.b.lc);this.df&&b.clear(0,0,0,0)}this.df||b.clear(this.Yd[0]/255,this.Yd[1]/255,this.Yd[2]/255,1);this.Be=!0;var f=this.Sa(0,0,!0,!0),d=this.Sa(0,0,!1,!0);this.Be=!1;this.b.jd&&(f=f+0.5|0,d=d+0.5|0);this.Zl(f,d,null);d=
this.Ob();b.ld();b.scale(d,d);b.$l(-this.Pa());b.translate((this.lb+this.Zb)/-2,(this.mb+this.Yb)/-2);b.sd();var h,n,l;h=0;for(n=this.e.length;h<n;h++)if(l=this.e[h],l.visible&&0!==l.width&&0!==l.height&&(l.qa(),c=l.Ba,!(c.right<this.lb||c.bottom<this.mb||c.left>this.Zb||c.top>this.Yb)))if(l.Mp)if(c=l.X[0].kb,f=l.X[0].index,1!==l.X.length||b.Sl(c)||b.xt(c)||(l.m||l.j.Pa())&&b.oh(c)||1!==l.opacity||l.type.ra.wo)this.ma.Xl(b,this,l,this.oe?this.b.lc:this.ma.Cg()),b.ld(),b.scale(d,d),b.$l(-this.Pa()),
b.translate((this.lb+this.Zb)/-2,(this.mb+this.Yb)/-2),b.sd();else{b.od(c);b.pe(l.ub,l.sb);b.pj(c)&&(this.b.na=!0);var s=0,t=0,v=0,k=0;b.oh(c)&&(c=l.Ba,s=this.za(c.left,c.top,!0,!0),t=this.za(c.left,c.top,!1,!0),v=this.za(c.right,c.bottom,!0,!0),c=this.za(c.right,c.bottom,!1,!0),s/=a,t=1-t/g,v/=a,k=1-c/g);b.Xf(this.oe?this.b.lc:this.ma.Cg(),1/l.width,1/l.height,s,t,v,k,this.Ob(),this.Pa(),this.lb,this.mb,l.Da[f]);l.vc(b)}else b.od(0),b.pe(l.ub,l.sb),l.vc(b);this.oe&&(c=this.X.length?this.X[0].kb:
0,f=this.X.length?this.X[0].index:0,0===this.X.length||1===this.X.length&&!b.Sl(c)&&1===this.opacity?(1===this.X.length?(b.od(c),b.Xf(this.ma.Cg(),1/this.b.P,1/this.b.O,0,0,1,1,this.Ob(),this.Pa(),this.lb,this.mb,this.Da[f]),b.pj(c)&&(this.b.na=!0)):b.od(0),b.nd(this.ma.Cg()),b.$e(this.opacity),b.Vb(this.b.lc),b.pe(this.ub,this.sb),b.ld(),b.sd(),a=this.b.P/2,g=this.b.O/2,b.sj(-a,g,a,g,a,-g,-a,-g),b.Vb(null)):this.ma.Xl(b,this,null,this.ma.Cg()))};l.prototype.Sa=function(b,a,g,c){var f=this.b.devicePixelRatio;
this.b.Me&&(b*=f,a*=f);var f=this.b.No,d=this.b.Oo,f=(this.ma.scrollX-f)*this.Ac+f,d=(this.ma.scrollY-d)*this.Bc+d,h=1/this.Ob(!c);c?(f-=this.b.P*h/2,d-=this.b.O*h/2):(f-=this.b.width*h/2,d-=this.b.height*h/2);f+=b*h;d+=a*h;a=this.Pa();0!==a&&(f-=this.ma.scrollX,d-=this.ma.scrollY,b=Math.cos(a),a=Math.sin(a),c=f*b-d*a,d=d*b+f*a,f=c+this.ma.scrollX,d+=this.ma.scrollY);return g?f:d};l.prototype.za=function(b,a,g,c){var f=this.Pa();if(0!==f){b-=this.ma.scrollX;a-=this.ma.scrollY;var d=Math.cos(-f),f=
Math.sin(-f),h=b*d-a*f;a=a*d+b*f;b=h+this.ma.scrollX;a+=this.ma.scrollY}d=this.b.No;f=this.b.Oo;d=(this.ma.scrollX-d)*this.Ac+d;f=(this.ma.scrollY-f)*this.Bc+f;h=1/this.Ob(!c);c?(d-=this.b.P*h/2,f-=this.b.O*h/2):(d-=this.b.width*h/2,f-=this.b.height*h/2);d=(b-d)/h;f=(a-f)/h;b=this.b.devicePixelRatio;this.b.Me&&!c&&(d/=b,f/=b);return g?d:f};l.prototype.Kb=function(){var b,a,f,c={s:this.scale,a:this.m,vl:this.lb,vt:this.mb,vr:this.Zb,vb:this.Yb,v:this.visible,bc:this.Yd,t:this.df,px:this.Ac,py:this.Bc,
o:this.opacity,zr:this.Yc,fx:[],instances:[]};b=0;for(a=this.M.length;b<a;b++)f=this.M[b],c.fx.push({name:f.name,active:f.ec,params:this.Da[f.index]});return c};l.prototype.mc=function(b){var a,g;this.scale=b.s;this.m=b.a;this.lb=b.vl;this.mb=b.vt;this.Zb=b.vr;this.Yb=b.vb;this.visible=b.v;this.Yd=b.bc;this.df=b.t;this.Ac=b.px;this.Bc=b.py;this.opacity=b.o;this.Yc=b.zr;var c=b.fx;b=0;for(a=c.length;b<a;b++)if(g=this.Gk(c[b].name))g.ec=c[b].active,this.Da[g.index]=c[b].params;this.Qd();this.e.sort(f);
this.ac=!0};Nb=l})();
(function(){function d(a,e){var c,b=a.length;switch(b){case 0:return!0;case 1:return a[0]===e[0];case 2:return a[0]===e[0]&&a[1]===e[1];default:for(c=0;c<b;c++)if(a[c]!==e[c])return!1;return!0}}function l(a,e){return a.index-e.index}function f(a){var e,c,b,f;2===a.length?a[0].index>a[1].index&&(e=a[0],a[0]=a[1],a[1]=e):2<a.length&&a.sort(l);a.length>=s.length&&(s.length=a.length+1);s[a.length]||(s[a.length]=[]);f=s[a.length];e=0;for(c=f.length;e<c;e++)if(b=f[e],d(a,b))return b;f.push(a);return a}
function h(a,e){this.b=a;this.Cp={};this.xn={};this.Pk=!1;this.On=new ba;this.qk=[];this.ck=[];this.name=e[0];var c=e[1];this.ee=[];var b,f;b=0;for(f=c.length;b<f;b++)this.Qn(c[b],null,this.ee)}function b(a){this.type=a;this.e=[];this.ca=[];this.ka=!0}function a(a,e,c){this.sheet=a;this.parent=e;this.b=a.b;this.Aa=[];this.qe=[];this.Mn=this.Nj=this.tm=this.Vk=this.group=this.rp=!1;this.Za=[];this.oc=[];this.Fc=[];this.Eg="";this.Fi=this.Vk=this.group=!1;this.jn=null;c[1]&&(this.Eg=c[1][1].toLowerCase(),
this.group=!0,this.Vk=!!c[1][0],this.jn=[],this.Fi=this.Vk,this.b.nf.push(this),this.b.Gi[this.Eg]=this);this.Sc=c[2];this.T=c[4];this.group||(this.b.$m[this.T.toString()]=this);var b=c[5];a=0;for(e=b.length;a<e;a++){var f=new Ob(this,b[a]);f.index=a;this.Za.push(f);this.Vm(f.type)}b=c[6];a=0;for(e=b.length;a<e;a++)f=new Pb(this,b[a]),f.index=a,this.oc.push(f);if(8===c.length)for(c=c[7],a=0,e=c.length;a<e;a++)this.sheet.Qn(c[a],this,this.Fc);this.Ni=!1;this.Za.length&&(this.Ni=null==this.Za[0].type&&
this.Za[0].hb==R.prototype.i.Im)}function g(a,e){var c,b,f;if(a&&(-1===e.indexOf(a)&&e.push(a),a.kc))for(c=0,b=a.Nb.length;c<b;c++)f=a.Nb[c],a!==f&&-1===e.indexOf(f)&&e.push(f)}function c(a,e){this.fc=a;this.sheet=a.sheet;this.b=a.b;this.N=[];this.pa=[];this.D={};this.index=-1;this.lg=!1;this.hb=e[1];this.trigger=0<e[3];this.wn=2===e[3];this.Kd=e[4];this.Xk=e[5];this.Ws=e[6];this.T=e[7];this.b.rf[this.T.toString()]=this;-1===e[0]?(this.type=null,this.Ra=this.dm,this.ze=null,this.qc=-1):(this.type=
this.b.q[e[0]],this.Ra=this.Ws?this.Ht:this.cm,e[2]?(this.ze=this.type.Bi(e[2]),this.qc=this.type.Dk(e[2])):(this.ze=null,this.qc=-1),this.fc.parent&&this.fc.parent.zj());this.wn&&(this.Ra=this.It);if(10===e.length){var c,b,f=e[9];c=0;for(b=f.length;c<b;c++){var g=new Qb(this,f[c]);this.N.push(g)}this.pa.length=f.length}}function q(a,e){this.fc=a;this.sheet=a.sheet;this.b=a.b;this.N=[];this.pa=[];this.D={};this.index=-1;this.lg=!1;this.hb=e[1];-1===e[0]?(this.type=null,this.Ra=this.dm,this.ze=null,
this.qc=-1):(this.type=this.b.q[e[0]],this.Ra=this.cm,e[2]?(this.ze=this.type.Bi(e[2]),this.qc=this.type.Dk(e[2])):(this.ze=null,this.qc=-1));this.T=e[3];this.b.lf[this.T.toString()]=this;if(6===e.length){var c,b,f=e[5];c=0;for(b=f.length;c<b;c++){var g=new Qb(this,f[c]);this.N.push(g)}this.pa.length=f.length}}function r(a,e){this.B=a;this.fc=a.fc;this.sheet=a.sheet;this.b=a.b;this.type=e[0];this.bd=null;this.re=0;this.get=null;this.hn=0;this.ma=null;this.key=0;this.object=null;this.index=0;this.Gh=
this.bf=this.Gh=this.bf=this.yn=this.Ee=this.Hh=null;this.Hc=!1;var c,b,f;switch(e[0]){case 0:case 7:this.bd=new Rb(this,e[1]);this.re=0;this.get=this.ss;break;case 1:this.bd=new Rb(this,e[1]);this.re=0;this.get=this.ts;break;case 5:this.bd=new Rb(this,e[1]);this.re=0;this.get=this.xs;break;case 3:case 8:this.hn=e[1];this.get=this.qs;break;case 6:this.ma=this.b.il[e[1]];this.get=this.ys;break;case 9:this.key=e[1];this.get=this.ws;break;case 4:this.object=this.b.q[e[1]];this.get=this.zs;this.fc.Vm(this.object);
this.B instanceof Pb?this.fc.zj():this.fc.parent&&this.fc.parent.zj();break;case 10:this.index=e[1];a.type.H?(this.get=this.us,this.Hc=!0):this.get=this.vs;break;case 11:this.Hh=e[1];this.Ee=null;this.get=this.rs;break;case 2:case 12:this.yn=e[1];this.get=this.os;break;case 13:for(this.get=this.As,this.bf=[],this.Gh=[],c=1,b=e.length;c<b;c++)f=new Qb(this.B,e[c]),this.bf.push(f),this.Gh.push(0)}}function p(a,e,c){this.sheet=a;this.parent=e;this.b=a.b;this.Aa=[];this.name=c[1];this.Ih=c[2];this.Uk=
c[3];this.Ng=!!c[4];this.Mi=!!c[5];this.T=c[6];this.b.fg[this.T.toString()]=this;this.data=this.Uk;this.parent?(this.Te=this.Ng||this.Mi?-1:this.b.Rt++,this.b.Gq.push(this)):(this.Te=-1,this.b.Fq.push(this))}function n(a,e,c){this.sheet=a;this.parent=e;this.b=a.b;this.Aa=[];this.Gg=null;this.Is=c[1];this.ec=!0}function w(){this.up=[];this.reset(null)}var s=[];h.prototype.toString=F("name");h.prototype.Qn=function(a,e,c){switch(a[0]){case 0:a=new Sb(this,e,a);if(a.Sc)for(c.push(a),c=0,e=a.Za.length;c<
e;c++)a.Za[c].trigger&&this.Rn(a,c);else a.bo()?this.Rn(a,0):c.push(a);break;case 1:a=new Kb(this,e,a);c.push(a);break;case 2:a=new Tb(this,e,a),c.push(a)}};h.prototype.Ja=function(){var a,e;a=0;for(e=this.ee.length;a<e;a++)this.ee[a].Ja(a<e-1&&this.ee[a+1].Ni)};h.prototype.Jp=function(){this.qk.length=0;this.ck.length=0;this.Um(this);this.ck.length=0};h.prototype.Um=function(a){var e,c,b,f,g=a.qk,d=a.ck,h=this.On.td();e=0;for(c=h.length;e<c;++e)b=h[e],f=b.Gg,!b.ec||a===f||-1<d.indexOf(f)||(d.push(f),
f.Um(a),g.push(f))};h.prototype.Ra=function(a){this.b.Dv||(this.Pk=!0,a||(this.b.$k=!0));var e,c;e=0;for(c=this.ee.length;e<c;e++){var b=this.ee[e];b.Ra();this.b.kk(b.Aa);this.b.$c.Nc()&&!this.b.Eb.length||this.b.nb()}a||(this.b.$k=!1)};h.prototype.Rn=function(a,e){a.Sc||this.b.Pj.push(a);var c,b,f=a.Za[e],g;g=f.type?f.type.name:"system";var d=(c=f.wn)?this.xn:this.Cp;d[g]||(d[g]=[]);g=d[g];d=f.hb;if(c){if(f.N.length&&(f=f.N[0],1===f.type&&2===f.bd.type)){f=f.bd.value.toLowerCase();c=0;for(b=g.length;c<
b;c++)if(g[c].method==d){c=g[c].wg;c[f]?c[f].push([a,e]):c[f]=[[a,e]];return}c={};c[f]=[[a,e]];g.push({method:d,wg:c})}}else{c=0;for(b=g.length;c<b;c++)if(g[c].method==d){g[c].wg.push([a,e]);return}U&&d===U.prototype.i.kf?g.unshift({method:d,wg:[[a,e]]}):g.push({method:d,wg:[[a,e]]})}};Bb=h;b.prototype.Ok=function(){return this.ka?this.type.e.length:this.e.length};b.prototype.ic=function(){return this.ka?this.type.e:this.e};b.prototype.nh=function(a){a&&(a.b.tb().gc.Sc?(this.ka&&(this.e.length=0,
ta(this.ca,a.type.e),this.ka=!1),a=this.ca.indexOf(a),-1!==a&&(this.e.push(this.ca[a]),this.ca.splice(a,1))):(this.ka=!1,this.e.length=1,this.e[0]=a))};hb=b;window._c2hh_="";a.prototype.Ja=function(a){var e,c=this.parent;if(this.group)for(this.Nj=!0;c;){if(!c.group){this.Nj=!1;break}c=c.parent}this.tm=!this.bo()&&(!this.parent||this.parent.group&&this.parent.Nj);this.Mn=!!a;this.qe=this.Aa.slice(0);for(c=this.parent;c;){a=0;for(e=c.Aa.length;a<e;a++)this.Dq(c.Aa[a]);c=c.parent}this.Aa=f(this.Aa);
this.qe=f(this.qe);a=0;for(e=this.Za.length;a<e;a++)this.Za[a].Ja();a=0;for(e=this.oc.length;a<e;a++)this.oc[a].Ja();a=0;for(e=this.Fc.length;a<e;a++)this.Fc[a].Ja(a<e-1&&this.Fc[a+1].Ni)};a.prototype.Vm=function(a){g(a,this.Aa)};a.prototype.Dq=function(a){g(a,this.qe)};a.prototype.zj=function(){this.rp=!0;this.parent&&this.parent.zj()};a.prototype.bo=function(){return this.Za.length?this.Za[0].trigger:!1};a.prototype.Ra=function(){var a,e=!1,c,b=this.b,f=this.b.tb();f.gc=this;var g=this.Za;this.Ni||
(f.sk=!1);if(this.Sc){0===g.length&&(e=!0);f.Ta=0;for(a=g.length;f.Ta<a;f.Ta++)g[f.Ta].trigger||(c=g[f.Ta].Ra())&&(e=!0);(f.Qe=e)&&this.xj()}else{f.Ta=0;for(a=g.length;f.Ta<a;f.Ta++)if(c=g[f.Ta].Ra(),!c){f.Qe=!1;!this.tm||b.$c.Nc()&&!b.Eb.length||b.nb();return}f.Qe=!0;this.xj()}this.pr(f)};a.prototype.pr=function(a){a.Qe&&this.Mn&&(a.sk=!0);!this.tm||this.b.$c.Nc()&&!this.b.Eb.length||this.b.nb()};a.prototype.Ft=function(a){this.b.tb().gc=this;this.Za[a].Ra()&&(this.xj(),this.b.tb().Qe=!0)};a.prototype.xj=
function(){var a=this.b.tb(),e;a.cc=0;for(e=this.oc.length;a.cc<e;a.cc++)if(this.oc[a.cc].Ra())return;this.Zo()};a.prototype.Ct=function(){var a=this.b.tb(),e;for(e=this.oc.length;a.cc<e;a.cc++)if(this.oc[a.cc].Ra())return;this.Zo()};a.prototype.Zo=function(){if(this.Fc.length){var a,e,c,b,f=this.Fc.length-1;this.b.rj(this);if(this.rp)for(a=0,e=this.Fc.length;a<e;a++)c=this.Fc[a],(b=!this.Nj||!this.group&&a<f)&&this.b.qj(c.Aa),c.Ra(),b?this.b.We(c.Aa):this.b.kk(c.Aa);else for(a=0,e=this.Fc.length;a<
e;a++)this.Fc[a].Ra();this.b.mj()}};a.prototype.Gt=function(){var a=this.b.tb();a.gc=this;var e=!1,c;a.Ta=0;for(c=this.Za.length;a.Ta<c;a.Ta++)if(this.Za[a.Ta].Ra())e=!0;else if(!this.Sc)return!1;return this.Sc?e:!0};a.prototype.Dt=function(){this.b.tf++;var a=this.b.tb().Ta,e=this.b.rj(this);if(!this.Sc)for(e.Ta=a+1,a=this.Za.length;e.Ta<a;e.Ta++)if(!this.Za[e.Ta].Ra()){this.b.mj();return}this.xj();this.b.mj()};a.prototype.Qs=function(a){var e=a.index;if(0===e)return!0;for(--e;0<=e;--e)if(this.Za[e].type===
a.type)return!1;return!0};Sb=a;c.prototype.Ja=function(){var a,e,c;a=0;for(e=this.N.length;a<e;a++)c=this.N[a],c.Ja(),c.Hc&&(this.lg=!0)};c.prototype.It=L(!0);c.prototype.dm=function(){var a,e;a=0;for(e=this.N.length;a<e;a++)this.pa[a]=this.N[a].get();return Oa(this.hb.apply(this.b.pd,this.pa),this.Xk)};c.prototype.Ht=function(){var a,e;a=0;for(e=this.N.length;a<e;a++)this.pa[a]=this.N[a].get();a=this.hb.apply(this.ze?this.ze:this.type,this.pa);this.type.pc();return a};c.prototype.cm=function(){var a,
e,c,b,f,g,d,h,n=this.type,l=n.Y(),q=this.fc.Sc&&!this.trigger;e=0;var r=n.kc,p=n.H,s=n.Ed,t=this.qc,w=-1<t,v=this.lg,D=this.N,A=this.pa,X=this.Xk,I=this.hb,Q;if(v)for(e=0,f=D.length;e<f;++e)g=D[e],g.Hc||(A[e]=g.get(0));else for(e=0,f=D.length;e<f;++e)A[e]=D[e].get(0);if(l.ka){l.e.length=0;l.ca.length=0;Q=n.e;a=0;for(b=Q.length;a<b;++a){h=Q[a];if(v)for(e=0,f=D.length;e<f;++e)g=D[e],g.Hc&&(A[e]=g.get(a));w?(e=0,p&&(e=h.type.wf[s]),e=I.apply(h.L[t+e],A)):e=I.apply(h,A);(d=Oa(e,X))?l.e.push(h):q&&l.ca.push(h)}n.finish&&
n.finish(!0);l.ka=!1;n.pc();return l.Ok()}c=0;Q=(d=q&&!this.fc.Qs(this))?l.ca:l.e;var ka=!1;a=0;for(b=Q.length;a<b;++a){h=Q[a];if(v)for(e=0,f=D.length;e<f;++e)g=D[e],g.Hc&&(A[e]=g.get(a));w?(e=0,p&&(e=h.type.wf[s]),e=I.apply(h.L[t+e],A)):e=I.apply(h,A);if(Oa(e,X))if(ka=!0,d){if(l.e.push(h),r)for(e=0,f=h.siblings.length;e<f;e++)g=h.siblings[e],g.type.Y().e.push(g)}else{Q[c]=h;if(r)for(e=0,f=h.siblings.length;e<f;e++)g=h.siblings[e],g.type.Y().e[c]=g;c++}else if(d){Q[c]=h;if(r)for(e=0,f=h.siblings.length;e<
f;e++)g=h.siblings[e],g.type.Y().ca[c]=g;c++}else if(q&&(l.ca.push(h),r))for(e=0,f=h.siblings.length;e<f;e++)g=h.siblings[e],g.type.Y().ca.push(g)}Q.length=c;if(r)for(p=n.Nb,a=0,b=p.length;a<b;a++)h=p[a].Y(),d?h.ca.length=c:h.e.length=c;c=ka;if(d&&!ka)for(a=0,b=l.e.length;a<b;a++){h=l.e[a];if(v)for(e=0,f=D.length;e<f;e++)g=D[e],g.Hc&&(A[e]=g.get(a));e=w?I.apply(h.L[t],A):I.apply(h,A);if(Oa(e,X)){ka=!0;break}}n.finish&&n.finish(c||q);return q?ka:l.Ok()};Ob=c;q.prototype.Ja=function(){var a,e,c;a=0;
for(e=this.N.length;a<e;a++)c=this.N[a],c.Ja(),c.Hc&&(this.lg=!0)};q.prototype.dm=function(){var a,e;a=0;for(e=this.N.length;a<e;a++)this.pa[a]=this.N[a].get();return this.hb.apply(this.b.pd,this.pa)};q.prototype.cm=function(){var a=this.type.Y().ic(),e=this.type.H,c=this.type.Ed,b=this.qc,f=-1<b,g=this.lg,d=this.N,h=this.pa,n=this.hb,l,q,r,p,s,t;if(g)for(q=0,p=d.length;q<p;++q)s=d[q],s.Hc||(h[q]=s.get(0));else for(q=0,p=d.length;q<p;++q)h[q]=d[q].get(0);l=0;for(r=a.length;l<r;++l){t=a[l];if(g)for(q=
0,p=d.length;q<p;++q)s=d[q],s.Hc&&(h[q]=s.get(l));f?(q=0,e&&(q=t.type.wf[c]),n.apply(t.L[b+q],h)):n.apply(t,h)}return!1};Pb=q;var t=[],v=-1;r.prototype.Ja=function(){var a,e;if(11===this.type)this.Ee=this.b.Fn(this.Hh,this.fc.parent);else if(13===this.type)for(a=0,e=this.bf.length;a<e;a++)this.bf[a].Ja();this.bd&&this.bd.Ja()};r.prototype.bt=function(a){this.Hc||!a||a.ra.Bj||(this.Hc=!0)};r.prototype.fp=function(){this.Hc=!0};r.prototype.Wa=function(){v++;t.length===v&&t.push(new Ub);return t[v]};
r.prototype.Qa=function(){v--};r.prototype.ss=function(a){this.re=a||0;a=this.Wa();this.bd.get(a);this.Qa();return a.data};r.prototype.ts=function(a){this.re=a||0;a=this.Wa();this.bd.get(a);this.Qa();return N(a.data)?a.data:""};r.prototype.zs=F("object");r.prototype.qs=F("hn");r.prototype.xs=function(a){this.re=a||0;a=this.Wa();this.bd.get(a);this.Qa();return a.ab()?this.b.Bg(a.data):this.b.Ik(a.data)};r.prototype.ys=F("ma");r.prototype.ws=F("key");r.prototype.vs=F("index");r.prototype.us=function(a){a=
a||0;var e=this.B.type,c=null,c=e.Y(),b=c.ic();if(b.length)c=b[a%b.length].type;else if(c.ca.length)c=c.ca[a%c.ca.length].type;else if(e.e.length)c=e.e[a%e.e.length].type;else return 0;return this.index+c.qi[e.Ed]};r.prototype.rs=F("Ee");r.prototype.os=F("yn");r.prototype.As=function(){var a,e;a=0;for(e=this.bf.length;a<e;a++)this.Gh[a]=this.bf[a].get();return this.Gh};Qb=r;p.prototype.Ja=function(){this.Aa=f(this.Aa)};p.prototype.Od=function(a){var e=this.b.En();this.parent&&!this.Ng&&e?(this.Te>=
e.length&&(e.length=this.Te+1),e[this.Te]=a):this.data=a};p.prototype.Ge=function(){var a=this.b.En();return!this.parent||this.Ng||!a||this.Mi?this.data:this.Te>=a.length||"undefined"===typeof a[this.Te]?this.Uk:a[this.Te]};p.prototype.Ra=function(){!this.parent||this.Ng||this.Mi||this.Od(this.Uk)};Kb=p;n.prototype.toString=function(){return"include:"+this.Gg.toString()};n.prototype.Ja=function(){this.Gg=this.b.uk[this.Is];this.sheet.On.add(this);this.Aa=f(this.Aa);for(var a=this.parent;a;)a.group&&
a.jn.push(this),a=a.parent;this.Yt()};n.prototype.Ra=function(){this.parent&&this.b.qh(this.b.q);this.Gg.Pk||this.Gg.Ra(!0);this.parent&&this.b.We(this.b.q)};n.prototype.Yt=function(){for(var a=this.parent;a;){if(a.group&&!a.Fi){this.ec=!1;return}a=a.parent}this.ec=!0};Tb=n;w.prototype.reset=function(a){this.gc=a;this.cc=this.Ta=0;this.up.length=0;this.sk=this.Qe=!1};Jb=w})();
(function(){function d(f,d){this.B=f;this.b=f.b;this.type=d[0];this.get=[this.Er,this.Ar,this.Mr,this.Pr,this.rr,this.Nr,this.Ir,this.ur,this.Hr,this.Lr,this.sr,this.Kr,this.xr,this.Jr,this.Fr,this.Gr,this.Br,this.Cr,this.tr,this.Or,this.un,this.Dr,this.un,this.yr][this.type];var b=null;this.Jb=this.N=this.pa=this.hb=this.Ij=this.fb=this.first=this.value=null;this.qc=-1;this.Fd=null;this.Am=-1;this.Ee=this.Hh=null;this.uh=!1;switch(this.type){case 0:case 1:case 2:this.value=d[1];break;case 3:this.first=
new Rb(f,d[1]);break;case 18:this.first=new Rb(f,d[1]);this.fb=new Rb(f,d[2]);this.Ij=new Rb(f,d[3]);break;case 19:this.hb=d[1];this.hb!==R.prototype.Ga.random&&this.hb!==R.prototype.Ga.Sq||this.B.fp();this.pa=[];this.N=[];3===d.length?(b=d[2],this.pa.length=b.length+1):this.pa.length=1;break;case 20:this.Jb=this.b.q[d[1]];this.qc=-1;this.hb=d[2];this.uh=d[3];fc&&this.hb===fc.prototype.Ga.Pp&&this.B.fp();this.Fd=d[4]?new Rb(f,d[4]):null;this.pa=[];this.N=[];6===d.length?(b=d[5],this.pa.length=b.length+
1):this.pa.length=1;break;case 21:this.Jb=this.b.q[d[1]];this.uh=d[2];this.Fd=d[3]?new Rb(f,d[3]):null;this.Am=d[4];break;case 22:this.Jb=this.b.q[d[1]];this.Jb.Bi(d[2]);this.qc=this.Jb.Dk(d[2]);this.hb=d[3];this.uh=d[4];this.Fd=d[5]?new Rb(f,d[5]):null;this.pa=[];this.N=[];7===d.length?(b=d[6],this.pa.length=b.length+1):this.pa.length=1;break;case 23:this.Hh=d[1],this.Ee=null}this.B.bt(this.Jb);4<=this.type&&17>=this.type&&(this.first=new Rb(f,d[1]),this.fb=new Rb(f,d[2]));if(b){var a,g;a=0;for(g=
b.length;a<g;a++)this.N.push(new Rb(f,b[a]))}}function l(f,d){this.type=f||Vb.hf;this.data=d||0;this.Rf=null;this.type==Vb.hf&&(this.data=Math.floor(this.data))}d.prototype.Ja=function(){23===this.type&&(this.Ee=this.B.b.Fn(this.Hh,this.B.fc.parent));this.first&&this.first.Ja();this.fb&&this.fb.Ja();this.Ij&&this.Ij.Ja();this.Fd&&this.Fd.Ja();if(this.N){var f,d;f=0;for(d=this.N.length;f<d;f++)this.N[f].Ja()}};d.prototype.Or=function(f){this.pa[0]=f;f=this.B.Wa();var d,b;d=0;for(b=this.N.length;d<
b;d++)this.N[d].get(f),this.pa[d+1]=f.data;this.B.Qa();this.hb.apply(this.b.pd,this.pa)};d.prototype.un=function(f){var d=this.Jb.Y(),b=d.ic();if(!b.length)if(d.ca.length)b=d.ca;else{this.uh?f.Wb(""):f.ta(0);return}this.pa[0]=f;f.Rf=this.Jb;f=this.B.Wa();var a,d=0;for(a=this.N.length;d<a;d++)this.N[d].get(f),this.pa[d+1]=f.data;d=this.B.re;this.Fd&&(this.Fd.get(f),f.ab()&&(d=f.data,b=this.Jb.e));this.B.Qa();d%=b.length;0>d&&(d+=b.length);b=b[d];-1<this.qc?(f=0,this.Jb.H&&(f=b.type.wf[this.Jb.Ed]),
this.hb.apply(b.L[this.qc+f],this.pa)):this.hb.apply(b,this.pa)};d.prototype.Dr=function(f){var d=this.Jb.Y(),b=d.ic();if(!b.length)if(d.ca.length)b=d.ca;else{this.uh?f.Wb(""):f.ta(0);return}d=this.B.re;if(this.Fd){var a=this.B.Wa();this.Fd.get(a);if(a.ab()){d=a.data;b=this.Jb.e;d%=b.length;0>d&&(d+=b.length);b=b[d].Ua[this.Am];N(b)?f.Wb(b):f.J(b);this.B.Qa();return}this.B.Qa()}d%=b.length;0>d&&(d+=b.length);b=b[d];d=0;this.Jb.H&&(d=b.type.qi[this.Jb.Ed]);b=b.Ua[this.Am+d];N(b)?f.Wb(b):f.J(b)};d.prototype.Er=
function(f){f.type=Vb.hf;f.data=this.value};d.prototype.Ar=function(f){f.type=Vb.gf;f.data=this.value};d.prototype.Mr=function(f){f.type=Vb.Rh;f.data=this.value};d.prototype.Pr=function(f){this.first.get(f);f.ab()&&(f.data=-f.data)};d.prototype.rr=function(f){this.first.get(f);var d=this.B.Wa();this.fb.get(d);f.ab()&&d.ab()&&(f.data+=d.data,d.Gf()&&f.Nf());this.B.Qa()};d.prototype.Nr=function(f){this.first.get(f);var d=this.B.Wa();this.fb.get(d);f.ab()&&d.ab()&&(f.data-=d.data,d.Gf()&&f.Nf());this.B.Qa()};
d.prototype.Ir=function(f){this.first.get(f);var d=this.B.Wa();this.fb.get(d);f.ab()&&d.ab()&&(f.data*=d.data,d.Gf()&&f.Nf());this.B.Qa()};d.prototype.ur=function(f){this.first.get(f);var d=this.B.Wa();this.fb.get(d);f.ab()&&d.ab()&&(f.data/=d.data,f.Nf());this.B.Qa()};d.prototype.Hr=function(f){this.first.get(f);var d=this.B.Wa();this.fb.get(d);f.ab()&&d.ab()&&(f.data%=d.data,d.Gf()&&f.Nf());this.B.Qa()};d.prototype.Lr=function(f){this.first.get(f);var d=this.B.Wa();this.fb.get(d);f.ab()&&d.ab()&&
(f.data=Math.pow(f.data,d.data),d.Gf()&&f.Nf());this.B.Qa()};d.prototype.sr=function(f){this.first.get(f);var d=this.B.Wa();this.fb.get(d);f.ab()?d.Oi()?f.Wb(f.data.toString()+d.data):f.data&&d.data?f.ta(1):f.ta(0):f.Oi()&&(f.data=d.Oi()?f.data+d.data:f.data+(Math.round(1E10*d.data)/1E10).toString());this.B.Qa()};d.prototype.Kr=function(f){this.first.get(f);var d=this.B.Wa();this.fb.get(d);f.ab()&&d.ab()&&(f.data||d.data?f.ta(1):f.ta(0));this.B.Qa()};d.prototype.tr=function(f){this.first.get(f);f.data?
this.fb.get(f):this.Ij.get(f)};d.prototype.xr=function(f){this.first.get(f);var d=this.B.Wa();this.fb.get(d);f.ta(f.data===d.data?1:0);this.B.Qa()};d.prototype.Jr=function(f){this.first.get(f);var d=this.B.Wa();this.fb.get(d);f.ta(f.data!==d.data?1:0);this.B.Qa()};d.prototype.Fr=function(f){this.first.get(f);var d=this.B.Wa();this.fb.get(d);f.ta(f.data<d.data?1:0);this.B.Qa()};d.prototype.Gr=function(f){this.first.get(f);var d=this.B.Wa();this.fb.get(d);f.ta(f.data<=d.data?1:0);this.B.Qa()};d.prototype.Br=
function(f){this.first.get(f);var d=this.B.Wa();this.fb.get(d);f.ta(f.data>d.data?1:0);this.B.Qa()};d.prototype.Cr=function(f){this.first.get(f);var d=this.B.Wa();this.fb.get(d);f.ta(f.data>=d.data?1:0);this.B.Qa()};d.prototype.yr=function(f){var d=this.Ee.Ge();ea(d)?f.J(d):f.Wb(d)};Rb=d;l.prototype.Gf=function(){return this.type===Vb.gf};l.prototype.ab=function(){return this.type===Vb.hf||this.type===Vb.gf};l.prototype.Oi=function(){return this.type===Vb.Rh};l.prototype.Nf=function(){this.Gf()||
(this.Oi()&&(this.data=parseFloat(this.data)),this.type=Vb.gf)};l.prototype.ta=function(f){this.type=Vb.hf;this.data=Math.floor(f)};l.prototype.J=function(f){this.type=Vb.gf;this.data=f};l.prototype.Wb=function(f){this.type=Vb.Rh;this.data=f};l.prototype.gp=function(f){ea(f)?(this.type=Vb.gf,this.data=f):N(f)?(this.type=Vb.Rh,this.data=f.toString()):(this.type=Vb.hf,this.data=0)};Ub=l;Vb={hf:0,gf:1,Rh:2}})();function R(d){this.b=d;this.$b=[]}
R.prototype.Kb=function(){var d={},l,f,h,b,a,g,c,q;d.waits=[];var r=d.waits,p;l=0;for(f=this.$b.length;l<f;l++){g=this.$b[l];p={t:g.time,st:g.Pt,s:g.pp,ev:g.ug.T,sm:[],sols:{}};g.ug.oc[g.cc]&&(p.act=g.ug.oc[g.cc].T);h=0;for(b=g.Aa.length;h<b;h++)p.sm.push(g.Aa[h].T);for(a in g.Xb)if(g.Xb.hasOwnProperty(a)){c=this.b.q[parseInt(a,10)];q={sa:g.Xb[a].$o,insts:[]};h=0;for(b=g.Xb[a].Ke.length;h<b;h++)q.insts.push(g.Xb[a].Ke[h].uid);p.sols[c.T.toString()]=q}r.push(p)}return d};
R.prototype.mc=function(d){d=d.waits;var l,f,h,b,a,g,c,q,r,p,n;l=this.$b.length=0;for(f=d.length;l<f;l++)if(g=d[l],q=this.b.$m[g.ev.toString()]){r=-1;h=0;for(b=q.oc.length;h<b;h++)if(q.oc[h].T===g.act){r=h;break}if(-1!==r){c={Xb:{},Aa:[],qn:!1};c.time=g.t;c.Pt=g.st||"";c.pp=!!g.s;c.ug=q;c.cc=r;h=0;for(b=g.sm.length;h<b;h++)(q=this.b.Ei(g.sm[h]))&&c.Aa.push(q);for(a in g.sols)if(g.sols.hasOwnProperty(a)&&(q=this.b.Ei(parseInt(a,10)))){r=g.sols[a];p={$o:r.sa,Ke:[]};h=0;for(b=r.insts.length;h<b;h++)(n=
this.b.zf(r.insts[h]))&&p.Ke.push(n);c.Xb[q.index.toString()]=p}this.$b.push(c)}}};
(function(){function d(){}function l(){}function f(){}var h=R.prototype;d.prototype.Mh=L(!0);d.prototype.jg=L(!0);d.prototype.gq=L(!0);d.prototype.Lh=function(a){var c=this.b.Fk(),b=c.D.Nh||0,f=this.b.xc.Ka;"undefined"===typeof c.D.Tj&&(c.D.Tj=a);var d=c.D.Tj;if(f>=b+d)return c.D.Nh=b+d,f>=c.D.Nh+0.04&&(c.D.Nh=f),c.D.Tj=a,!0;f<b-0.1&&(c.D.Nh=f);return!1};d.prototype.ff=function(a,c,b){return Wb(a.Ge(),c,b)};d.prototype.Im=function(){var a=this.b.tb();return a.sk?!1:!a.Qe};d.prototype.Km=L(!0);d.prototype.Up=
L(!0);d.prototype.Yj=L(!0);d.prototype.iq=L(!0);d.prototype.Xj=L(!0);h.i=new d;l.prototype.Ic=function(a){this.b.Og||this.b.qg||(this.b.qg=a)};l.prototype.Ph=function(a,c){0===a.Ih?ea(c)?a.Od(c):a.Od(parseFloat(c)):1===a.Ih&&a.Od(c.toString())};l.prototype.Fm=function(a,c){0===a.Ih?ea(c)?a.Od(a.Ge()+c):a.Od(a.Ge()+parseFloat(c)):1===a.Ih&&a.Od(a.Ge()+c.toString())};l.prototype.uq=function(a,c){0===a.Ih&&(ea(c)?a.Od(a.Ge()-c):a.Od(a.Ge()-parseFloat(c)))};var b=[],a=[];h.k=new l;f.prototype["int"]=
function(a,c){N(c)?(a.ta(parseInt(c,10)),isNaN(a.data)&&(a.data=0)):a.ta(c)};f.prototype["float"]=function(a,c){N(c)?(a.J(parseFloat(c)),isNaN(a.data)&&(a.data=0)):a.J(c)};f.prototype.random=function(a,c,b){void 0===b?a.J(Math.random()*c):a.J(Math.random()*(b-c)+c)};f.prototype.sqrt=function(a,c){a.J(Math.sqrt(c))};f.prototype.abs=function(a,c){a.J(Math.abs(c))};f.prototype.round=function(a,c){a.ta(Math.round(c))};f.prototype.floor=function(a,c){a.ta(Math.floor(c))};f.prototype.ceil=function(a,c){a.ta(Math.ceil(c))};
f.prototype.sin=function(a,c){a.J(Math.sin(O(c)))};f.prototype.cos=function(a,c){a.J(Math.cos(O(c)))};f.prototype.tan=function(a,c){a.J(Math.tan(O(c)))};f.prototype.acos=function(a,c){a.J(za(Math.acos(c)))};f.prototype.exp=function(a,c){a.J(Math.exp(c))};f.prototype.max=function(a){var c=arguments[1];"number"!==typeof c&&(c=0);var b,f,d;b=2;for(f=arguments.length;b<f;b++)d=arguments[b],"number"===typeof d&&c<d&&(c=d);a.J(c)};f.prototype.min=function(a){var c=arguments[1];"number"!==typeof c&&(c=0);
var b,f,d;b=2;for(f=arguments.length;b<f;b++)d=arguments[b],"number"===typeof d&&c>d&&(c=d);a.J(c)};f.prototype.De=function(a){a.J(this.b.De)};f.prototype.bg=function(a){a.J(this.b.bg)};f.prototype.time=function(a){a.J(this.b.xc.Ka)};f.prototype.qd=function(a){a.ta(this.b.qd)};f.prototype.fj=function(a){a.ta(this.b.fj)};f.prototype.Ak=function(a){a.ta(this.b.Ak)};f.prototype.m=function(a,c,b,f,d){a.J(za(Ea(c,b,f,d)))};f.prototype.left=function(a,c,b){a.Wb(N(c)?c.substr(0,b):"")};f.prototype.right=
function(a,c,b){a.Wb(N(c)?c.substr(c.length-b):"")};f.prototype.replace=function(a,c,b,f){N(c)&&N(b)&&N(f)?a.Wb(c.replace(RegExp(Xa(b),"gi"),f)):a.Wb(N(c)?c:"")};f.prototype.Sq=function(a){var c=ma(Math.random()*(arguments.length-1));a.gp(arguments[c+1])};f.prototype.mk=function(a){a.J(this.b.mk/1E3)};f.prototype.cj=function(a){a.J(this.b.cj)};h.Ga=new f;h.Et=function(){var f,c,d,h,l,n,w=this.b.tb();f=0;for(d=this.$b.length;f<d;f++){h=this.$b[f];if(-1===h.time){if(!h.pp)continue}else if(h.time>this.b.xc.Ka)continue;
w.gc=h.ug;w.cc=h.cc;w.Ta=0;for(c in h.Xb)h.Xb.hasOwnProperty(c)&&(l=this.b.q[parseInt(c,10)].Y(),n=h.Xb[c],l.ka=n.$o,ta(l.e,n.Ke),l=n,l.Ke.length=0,a.push(l));h.ug.Ct();this.b.kk(h.Aa);h.qn=!0}c=f=0;for(d=this.$b.length;f<d;f++)h=this.$b[f],this.$b[c]=h,h.qn?(Qa(h.Xb),h.Aa.length=0,b.push(h)):c++;this.$b.length=c}})();
(function(){gb=function(d){var f=d[0].prototype,h=d[1],b=d[3],a=d[4],g=d[5],c=d[6],q=d[7];d=d[8];f.i||(f.i={});f.k||(f.k={});f.Ga||(f.Ga={});var r=f.i,p=f.k,f=f.Ga;b&&(r.ru=function(a,c){return Wb(this.x,a,c)},r.Hm=function(a,c){return Wb(this.y,a,c)},r.zu=function(){var a=this.j;this.qa();var c=this.Ba;return!(c.right<a.lb||c.bottom<a.mb||c.left>a.Zb||c.top>a.Yb)},r.Jm=function(){this.qa();var a=this.Ba,c=this.b.ja;return 0>a.right||0>a.bottom||a.left>c.width||a.top>c.height},r.Lu=function(a,c,b){var f=
this.Y(),d=f.ic();if(!d.length)return!1;var g=d[0],e=g,h=Na(g.x,g.y,c,b),l,u,q;l=1;for(u=d.length;l<u;l++)if(g=d[l],q=Na(g.x,g.y,c,b),0===a&&q<h||1===a&&q>h)h=q,e=g;f.nh(e);return!0},p.gv=function(a){this.x!==a&&(this.x=a,this.u())},p.Qh=function(a){this.y!==a&&(this.y=a,this.u())},p.$u=function(a,c){if(this.x!==a||this.y!==c)this.x=a,this.y=c,this.u()},p.av=function(a,c){var b=a.es(this);if(b){var f;b.Ag?(f=b.Ag(c,!0),b=b.Ag(c,!1)):(f=b.x,b=b.y);if(this.x!==f||this.y!==b)this.x=f,this.y=b,this.u()}},
p.Eu=function(a){0!==a&&(this.x+=Math.cos(this.m)*a,this.y+=Math.sin(this.m)*a,this.u())},p.Du=function(a,c){0!==c&&(this.x+=Math.cos(O(a))*c,this.y+=Math.sin(O(a))*c,this.u())},f.yq=function(a){a.J(this.x)},f.$j=function(a){a.J(this.y)},f.De=function(a){a.J(this.b.Ci(this))});a&&(r.qu=function(a,c){return Wb(this.width,a,c)},r.nu=function(a,c){return Wb(this.height,a,c)},p.qq=function(a){this.width!==a&&(this.width=a,this.u())},p.Xu=function(a){this.height!==a&&(this.height=a,this.u())},p.bv=function(a,
c){if(this.width!==a||this.height!==c)this.width=a,this.height=c,this.u()},f.kv=function(a){a.J(this.width)},f.tu=function(a){a.J(this.height)},f.ku=function(a){this.qa();a.J(this.Ba.left)},f.mu=function(a){this.qa();a.J(this.Ba.top)},f.lu=function(a){this.qa();a.J(this.Ba.right)},f.ju=function(a){this.qa();a.J(this.Ba.bottom)});g&&(r.iu=function(a,c){return Ga(this.m,O(c))<=O(a)},r.xu=function(a){return Ia(this.m,O(a))},r.vu=function(a,c){var b=Da(a),f=Da(c),d=Ba(this.m);return Ia(f,b)?Ia(d,b)&&
!Ia(d,f):!(!Ia(d,b)&&Ia(d,f))},p.Tu=function(a){a=O(Aa(a));isNaN(a)||this.m===a||(this.m=a,this.u())},p.Pu=function(a){0===a||isNaN(a)||(this.m+=O(a),this.m=Ba(this.m),this.u())},p.Qu=function(a){0===a||isNaN(a)||(this.m-=O(a),this.m=Ba(this.m),this.u())},p.Ru=function(a,c){var b=Ha(this.m,O(c),O(a));isNaN(b)||this.m===b||(this.m=b,this.u())},p.Su=function(a,c,b){a=Ha(this.m,Math.atan2(b-this.y,c-this.x),O(a));isNaN(a)||this.m===a||(this.m=a,this.u())},p.cv=function(a,c){var b=Math.atan2(c-this.y,
a-this.x);isNaN(b)||this.m===b||(this.m=b,this.u())},f.hu=function(a){a.J(Ca(this.m))});h||(r.ou=function(a,c,b){return Wb(this.Ua[a],c,b)},r.wu=function(a){return this.Ua[a]},r.Mu=function(a,c){var b=this.Y(),f=b.ic();if(!f.length)return!1;var d=f[0],g=d,e=d.Ua[c],h,l,q;h=1;for(l=f.length;h<l;h++)if(d=f[h],q=d.Ua[c],0===a&&q<e||1===a&&q>e)e=q,g=d;b.nh(g);return!0},r.Ku=function(a){var c,b,f,d,g;if(this.b.Fk().Xk){g=this.Y();if(g.ka)for(g.ka=!1,g.e.length=0,g.ca.length=0,f=this.e,c=0,b=f.length;c<
b;c++)d=f[c],d.uid===a?g.ca.push(d):g.e.push(d);else{f=c=0;for(b=g.e.length;c<b;c++)d=g.e[c],g.e[f]=d,d.uid===a?g.ca.push(d):f++;g.e.length=f}this.pc();return!!g.e.length}d=this.b.zf(a);if(!d)return!1;g=this.Y();if(!g.ka&&-1===g.e.indexOf(d))return!1;if(this.H)for(a=d.type.xa,c=0,b=a.length;c<b;c++){if(a[c]===this)return g.nh(d),this.pc(),!0}else if(d.type===this)return g.nh(d),this.pc(),!0;return!1},r.Vj=L(!0),r.Wp=L(!0),p.Yu=function(a,c){var b=this.Ua;ea(b[a])?b[a]=ea(c)?c:parseFloat(c):N(b[a])&&
(b[a]=N(c)?c:c.toString())},p.gu=function(a,c){var b=this.Ua;ea(b[a])?b[a]=ea(c)?b[a]+c:b[a]+parseFloat(c):N(b[a])&&(b[a]=N(c)?b[a]+c:b[a]+c.toString())},p.hv=function(a,c){var b=this.Ua;ea(b[a])&&(b[a]=ea(c)?b[a]-c:b[a]-parseFloat(c))},p.Uu=function(a,c){this.Ua[a]=c?1:0},p.iv=function(a){this.Ua[a]=1-this.Ua[a]},p.Rd=function(){this.b.xe(this)},p.Qp||(p.Qp=function(a){var c,b;try{c=JSON.parse(a)}catch(f){return}this.b.$i(this,c,!0);this.Zc&&this.Zc();if(this.L)for(a=0,c=this.L.length;a<c;++a)b=
this.L[a],b.Zc&&b.Zc()}),f.su=function(a){var c=a.Rf.e.length,b,f,d;b=0;for(f=this.b.Eb.length;b<f;b++)d=this.b.Eb[b],a.Rf.H?0<=d.type.xa.indexOf(a.Rf)&&c++:d.type===a.Rf&&c++;a.ta(c)},f.Ou=function(a){a.ta(a.Rf.Y().ic().length)},f.jv=function(a){a.ta(this.uid)},f.uu=function(a){a.ta(this.Dg())},f.Gm||(f.Gm=function(a){a.Wb(JSON.stringify(this.b.em(this,!0)))}));c&&(r.Au=F("visible"),p.dv=function(a){!a!==!this.visible&&(this.visible=a,this.b.na=!0)},r.pu=function(a,c){return Wb(bb(100*this.opacity),
a,c)},p.Zu=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.na=!0)},f.Opacity=function(a){a.J(bb(100*this.opacity))});q&&(r.yu=function(a){return a?this.j===a:!1},r.Nu=function(a){var c=this.Y(),b=c.ic();if(!b.length)return!1;var f=b[0],d=f,g,e;g=1;for(e=b.length;g<e;g++)if(f=b[g],0===a){if(f.j.index>d.j.index||f.j.index===d.j.index&&f.Gb()>d.Gb())d=f}else if(f.j.index<d.j.index||f.j.index===d.j.index&&f.Gb()<d.Gb())d=f;c.nh(d);return!0},p.Hu=function(){var a=this.Gb();
a!==this.j.e.length-1&&(sa(this.j.e,a),this.j.e.push(this),this.b.na=!0,this.j.ac=!0)},p.Fu=function(){var a=this.Gb();0!==a&&(sa(this.j.e,a),this.j.e.unshift(this),this.b.na=!0,this.j.ac=!0)},p.Gu=function(a){a&&a!=this.j&&(sa(this.j.e,this.Gb()),this.j.ac=!0,this.j=a,this.ef=a.e.length,a.e.push(this),this.b.na=!0)},p.mv=function(a,c){var b=0===a;if(c){var f=c.Zr(this);if(f&&f.uid!==this.uid){this.j.index!==f.j.index&&(sa(this.j.e,this.Gb()),this.j.ac=!0,this.j=f.j,this.ef=f.j.e.length,f.j.e.push(this));
var d=this.Gb(),f=f.Gb();sa(this.j.e,d);d<f&&f--;b&&f++;f===this.j.e.length?this.j.e.push(this):this.j.e.splice(f,0,this);this.j.ac=!0;this.b.na=!0}}},f.Cu=function(a){a.ta(this.j.Bo)},f.Bu=function(a){a.Wb(this.j.name)},f.lv=function(a){a.ta(this.Gb())});d&&(p.Vu=function(a,c){if(this.b.r){var b=this.type.Hk(c);if(!(0>b)){var f=1===a;this.Vd[b]!==f&&(this.Vd[b]=f,this.Qd(),this.b.na=!0)}}},p.Wu=function(a,c,b){if(this.b.r){var f=this.type.Hk(a);0>f||(a=this.type.M[f],f=this.Da[f],c=Math.floor(c),
0>c||c>=f.length||(1===this.b.r.ls(a.kb,c)&&(b/=100),f[c]!==b&&(f[c]=b,a.ec&&(this.b.na=!0))))}})};Cb=function(){this.ik=this.fk=!0;this.type.Uh=!0;this.b.na=!0;var d,f,h=this.gk;d=0;for(f=h.length;d<f;++d)h[d](this)};Db=function(d){d&&this.gk.push(d)};Fb=function(){if(this.fk){var d=this.Ba,f=this.yb;d.set(this.x,this.y,this.x+this.width,this.y+this.height);d.offset(-this.Hb*this.width,-this.Ib*this.height);this.m?(d.offset(-this.x,-this.y),f.ip(d,this.m),f.offset(this.x,this.y),f.an(d)):f.xh(d);
d.normalize();this.fk=!1}};var d=new pa(0,0,0,0);Gb=function(){if(this.ik&&this.xd){this.qa();var l=this.type.ei,f=this.di,h=this.Ba;d.set(l.Sh(h.left),l.Th(h.top),l.Sh(h.right),l.Th(h.bottom));f.qr(d)||(f.right<f.left?l.update(this,null,d):l.update(this,f,d),f.copy(d),this.ik=!1)}};Eb=function(d,f){return this.Ba.zb(d,f)&&this.yb.zb(d,f)?this.aa&&!this.aa.Ff()?(this.aa.qf(this.width,this.height,this.m),this.aa.zb(d-this.x,f-this.y)):!0:!1};yb=function(){this.type.Qj();return this.Ie};Hb=function(){this.j.au();
return this.ef};Ib=function(){this.X.length=0;var d,f;d=0;for(f=this.Vd.length;d<f;d++)this.Vd[d]&&this.X.push(this.type.M[d]);this.Mp=!!this.X.length};zb=function(){return"Inst"+this.Vo};jb=function(d){if(d&&d.kc&&d.type!=this){var f,h,b;f=0;for(h=d.siblings.length;f<h;f++)if(b=d.siblings[f],b.type==this)return b}d=this.Y().ic();return d.length?d[0]:null};kb=function(d){var f=this.Y().ic();return f.length?f[d.Dg()%f.length]:null};ib=function(){if(this.ag&&!this.H){var d,f;d=0;for(f=this.e.length;d<
f;d++)this.e[d].Ie=d;var h=d,b=this.b.Eb;d=0;for(f=b.length;d<f;++d)b[d].type===this&&(b[d].Ie=h++);this.ag=!1}};wb=function(d){if(d<this.e.length)return this.e[d];d-=this.e.length;var f=this.b.Eb,h,b;h=0;for(b=f.length;h<b;++h)if(f[h].type===this){if(0===d)return f[h];--d}return null};lb=function(){return this.se[this.Cd]};mb=function(){this.Cd++;this.Cd===this.se.length?this.se.push(new hb(this)):this.se[this.Cd].ka=!0};nb=function(){this.Cd++;this.Cd===this.se.length&&this.se.push(new hb(this));
var d=this.se[this.Cd],f=this.se[this.Cd-1];f.ka?d.ka=!0:(d.ka=!1,ta(d.e,f.e),ta(d.ca,f.ca))};ob=function(){this.Cd--};pb=function(d){var f,h,b,a,g,c=0;if(!this.H)for(f=0,h=this.xa.length;f<h;f++)for(g=this.xa[f],b=0,a=g.La.length;b<a;b++){if(d===g.La[b].name)return this.D.fo=c,g.La[b];c++}f=0;for(h=this.La.length;f<h;f++){if(d===this.La[f].name)return this.D.fo=c,this.La[f];c++}return null};qb=function(d){return this.Bi(d)?this.D.fo:-1};ub=function(d){var f,h;f=0;for(h=this.M.length;f<h;f++)if(this.M[f].name===
d)return f;return-1};vb=function(){if(this.kc&&!this.H){var d,f,h,b,a,g,c;this.Qj();g=this.Y();var q=g.ka,r=(d=this.b.tb())&&d.gc&&d.gc.Sc;d=0;for(f=this.Nb.length;d<f;d++)if(a=this.Nb[d],a!==this&&(a.Qj(),c=a.Y(),c.ka=q,!q)){c.e.length=g.e.length;h=0;for(b=g.e.length;h<b;h++)c.e[h]=a.Gn(g.e[h].Ie);if(r)for(c.ca.length=g.ca.length,h=0,b=g.ca.length;h<b;h++)c.ca[h]=a.Gn(g.ca[h].Ie)}}};xb=function(){return"Type"+this.T};Wb=function(d,f,h){if("undefined"===typeof d||"undefined"===typeof h)return!1;switch(f){case 0:return d===
h;case 1:return d!==h;case 2:return d<h;case 3:return d<=h;case 4:return d>h;case 5:return d>=h;default:return!1}}})();var dc={};function V(d){this.b=d}
(function(){function d(a){0>a&&(a=0);1<a&&(a=1);return 20*(Math.log(a)/Math.log(10))}function l(a){a=a.toLowerCase();return W.hasOwnProperty(a)&&W[a].length?W[a][0].hc():A.destination}function f(){return A.createGain?A.createGain():A.createGainNode()}function h(a){return A.createDelay?A.createDelay(a):A.createDelayNode(a)}function b(a){a.start?a.start(0):a.noteOn(0)}function a(a,e,c){a.start?a.start(0,e):a.noteGrainOn(0,e,c-e)}function g(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(e){}}function c(a,
e,c,b,d,g){this.type="filter";this.jb=[a,e,c,b,d,g];this.U=f();this.K=f();this.K.gain.value=g;this.F=f();this.F.gain.value=1-g;this.Oa=A.createBiquadFilter();this.Oa.type="number"===typeof this.Oa.type?a:rc[a];this.Oa.frequency.value=e;this.Oa.detune&&(this.Oa.detune.value=c);this.Oa.Q.value=b;this.Oa.gain.value=d;this.U.connect(this.Oa);this.U.connect(this.F);this.Oa.connect(this.K)}function q(a,e,c){this.type="delay";this.jb=[a,e,c];this.U=f();this.K=f();this.K.gain.value=c;this.F=f();this.F.gain.value=
1-c;this.bh=f();this.uc=h(a);this.uc.delayTime.value=a;this.mi=f();this.mi.gain.value=e;this.U.connect(this.bh);this.U.connect(this.F);this.bh.connect(this.K);this.bh.connect(this.uc);this.uc.connect(this.mi);this.mi.connect(this.bh)}function r(a,e,c,b){this.type="convolve";this.jb=[e,c,b];this.U=f();this.K=f();this.K.gain.value=c;this.F=f();this.F.gain.value=1-c;this.Ae=A.createConvolver();a&&(this.Ae.normalize=e,this.Ae.buffer=a);this.U.connect(this.Ae);this.U.connect(this.F);this.Ae.connect(this.K)}
function p(a,e,c,d,g){this.type="flanger";this.jb=[a,e,c,d,g];this.U=f();this.F=f();this.F.gain.value=1-g/2;this.K=f();this.K.gain.value=g/2;this.ri=f();this.ri.gain.value=d;this.uc=h(a+e);this.uc.delayTime.value=a;this.eb=A.createOscillator();this.eb.frequency.value=c;this.Ub=f();this.Ub.gain.value=e;this.U.connect(this.uc);this.U.connect(this.F);this.uc.connect(this.K);this.uc.connect(this.ri);this.ri.connect(this.uc);this.eb.connect(this.Ub);this.Ub.connect(this.uc.delayTime);b(this.eb)}function n(a,
e,c,d,g,h){this.type="phaser";this.jb=[a,e,c,d,g,h];this.U=f();this.F=f();this.F.gain.value=1-h/2;this.K=f();this.K.gain.value=h/2;this.Oa=A.createBiquadFilter();this.Oa.type="number"===typeof this.Oa.type?7:"allpass";this.Oa.frequency.value=a;this.Oa.detune&&(this.Oa.detune.value=e);this.Oa.Q.value=c;this.eb=A.createOscillator();this.eb.frequency.value=g;this.Ub=f();this.Ub.gain.value=d;this.U.connect(this.Oa);this.U.connect(this.F);this.Oa.connect(this.K);this.eb.connect(this.Ub);this.Ub.connect(this.Oa.frequency);
b(this.eb)}function w(a){this.type="gain";this.jb=[a];this.W=f();this.W.gain.value=a}function s(a,e){this.type="tremolo";this.jb=[a,e];this.W=f();this.W.gain.value=1-e/2;this.eb=A.createOscillator();this.eb.frequency.value=a;this.Ub=f();this.Ub.gain.value=e/2;this.eb.connect(this.Ub);this.Ub.connect(this.W.gain);b(this.eb)}function t(a,e){this.type="ringmod";this.jb=[a,e];this.U=f();this.K=f();this.K.gain.value=e;this.F=f();this.F.gain.value=1-e;this.vh=f();this.vh.gain.value=0;this.eb=A.createOscillator();
this.eb.frequency.value=a;this.eb.connect(this.vh.gain);b(this.eb);this.U.connect(this.vh);this.U.connect(this.F);this.vh.connect(this.K)}function v(a,e,c,b,d){this.type="distortion";this.jb=[a,e,c,b,d];this.U=f();this.oj=f();this.nj=f();this.Lt(c,Math.pow(10,b/20));this.K=f();this.K.gain.value=d;this.F=f();this.F.gain.value=1-d;this.Sj=A.createWaveShaper();this.ki=new Float32Array(65536);this.Vr(a,e);this.Sj.ki=this.ki;this.U.connect(this.oj);this.U.connect(this.F);this.oj.connect(this.Sj);this.Sj.connect(this.nj);
this.nj.connect(this.K)}function k(a,e,c,b,d){this.type="compressor";this.jb=[a,e,c,b,d];this.W=A.createDynamicsCompressor();try{this.W.threshold.value=a,this.W.knee.value=e,this.W.ratio.value=c,this.W.attack.value=b,this.W.release.value=d}catch(f){}}function e(a,e){this.type="analyser";this.jb=[a,e];this.W=A.createAnalyser();this.W.fftSize=a;this.W.smoothingTimeConstant=e;this.Tr=new Float32Array(this.W.frequencyBinCount);this.op=new Uint8Array(a);this.mh=0}function m(){this.I=null;this.bj=0;this.te=
[];this.wl=this.Si=this.Ri=0}function x(a,e){this.src=a;this.$=D;this.Qc=e;this.Wm=!1;var c=this;this.tl=this.Ll=null;this.Wf=[];this.yj=0;this.xk=this.tp=this.jj=!1;D===B&&e&&(this.$=E,this.Ll=f());this.of=this.la=null;var b;switch(this.$){case E:this.la=new Audio;D!==B||!A.createMediaElementSource||G.Vn||/wiiu/i.test(navigator.userAgent)||(this.tp=!0,this.la.addEventListener("canplay",function(){c.tl||(c.tl=A.createMediaElementSource(c.la),c.tl.connect(c.Ll))}));this.la.autoplay=!1;this.la.Av="auto";
this.la.src=a;break;case B:b=new XMLHttpRequest;b.open("GET",a,!0);b.responseType="arraybuffer";b.onload=function(){c.of=b.response;c.Wq()};b.onerror=function(){c.xk=!0};b.send();break;case J:this.la=!0;break;case P:this.la=!0}}function u(a,e){var c=this;this.ue=e;this.Ec=this.fe=!0;this.src=a.src;this.buffer=a;this.$=D;this.Qc=a.Qc;this.playbackRate=1;this.Nl=!0;this.Hd=this.Md=!1;this.Vc=0;this.Mg=this.Hf=this.Kd=!1;this.dh=this.volume=1;this.startTime=G.xc.Ka;this.Ia=this.$a=null;this.hd=!1;this.Ha=
null;this.Ko=this.Jo=this.Io=this.Ho=this.Mo=this.Lo=0;this.n=null;var b=!1;this.$!==B||this.buffer.$!==E||this.buffer.tp||(this.$=E);switch(this.$){case E:this.Qc?(this.n=a.la,b=!a.Wm,a.Wm=!0):(this.n=new Audio,this.n.autoplay=!1,this.n.src=a.la.src,b=!0);b&&this.n.addEventListener("ended",function(){z=c.ue;c.Ec=!0;G.trigger(V.prototype.i.Wj,M)});break;case B:this.$a=f();this.$a.connect(l(e));this.buffer.$===B?a.la&&(this.n=A.createBufferSource(),this.n.buffer=a.la,this.n.connect(this.$a)):(this.n=
this.buffer.la,this.buffer.Ll.connect(this.$a));break;case J:this.n=new window.Media(T+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(c.Nl=!0,c.Ec=!0,z=c.ue,G.trigger(V.prototype.i.Wj,M))});break;case P:this.n=!0}}function H(a,e){W.hasOwnProperty(a)?W[a].push(e):W[a]=[e];var c,b,d,f,g=A.destination;if(W.hasOwnProperty(a)&&(d=W[a],d.length))for(g=d[0].hc(),c=0,b=d.length;c<b;c++)f=d[c],c+1===b?f.rc(A.destination):f.rc(d[c+1].hc());Ja.length=0;if(a.length)for(c=0,b=I.length;c<b;c++)d=
I[c],cb(a,d.ue)&&Ja.push(d);else Q&&!Q.Fg()&&(Ja.length=1,Ja[0]=Q);c=0;for(b=Ja.length;c<b;c++)Ja[c].At(g);Fa&&rb===a&&(Fa.disconnect(),Fa.connect(g))}function K(){}function y(){}var S=V.prototype;S.wa=function(a){this.ra=a;this.b=a.b};S.wa.prototype.S=C();var G=null,M=null,z="",T="",E=0,B=1,J=2,P=3,D=E,A=null,X=[],I=[],Q=null,ka=!1,db=0,wa=!1,xa=1,Ka=0,La=0,sb=1,tb=1,mc=10,nc=1E4,oc=1,Fa=null,rb="",Ra=!1,Sa=[],W={},rc="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");
c.prototype.rc=function(a){this.K.disconnect();this.K.connect(a);this.F.disconnect();this.F.connect(a)};c.prototype.remove=function(){this.U.disconnect();this.Oa.disconnect();this.K.disconnect();this.F.disconnect()};c.prototype.hc=F("U");q.prototype.rc=function(a){this.K.disconnect();this.K.connect(a);this.F.disconnect();this.F.connect(a)};q.prototype.remove=function(){this.U.disconnect();this.bh.disconnect();this.uc.disconnect();this.mi.disconnect();this.K.disconnect();this.F.disconnect()};q.prototype.hc=
F("U");r.prototype.rc=function(a){this.K.disconnect();this.K.connect(a);this.F.disconnect();this.F.connect(a)};r.prototype.remove=function(){this.U.disconnect();this.Ae.disconnect();this.K.disconnect();this.F.disconnect()};r.prototype.hc=F("U");p.prototype.rc=function(a){this.F.disconnect();this.F.connect(a);this.K.disconnect();this.K.connect(a)};p.prototype.remove=function(){this.U.disconnect();this.uc.disconnect();this.eb.disconnect();this.Ub.disconnect();this.F.disconnect();this.K.disconnect();
this.ri.disconnect()};p.prototype.hc=F("U");n.prototype.rc=function(a){this.F.disconnect();this.F.connect(a);this.K.disconnect();this.K.connect(a)};n.prototype.remove=function(){this.U.disconnect();this.Oa.disconnect();this.eb.disconnect();this.Ub.disconnect();this.F.disconnect();this.K.disconnect()};n.prototype.hc=F("U");w.prototype.rc=function(a){this.W.disconnect();this.W.connect(a)};w.prototype.remove=function(){this.W.disconnect()};w.prototype.hc=F("W");s.prototype.rc=function(a){this.W.disconnect();
this.W.connect(a)};s.prototype.remove=function(){this.eb.disconnect();this.Ub.disconnect();this.W.disconnect()};s.prototype.hc=F("W");t.prototype.rc=function(a){this.K.disconnect();this.K.connect(a);this.F.disconnect();this.F.connect(a)};t.prototype.remove=function(){this.eb.disconnect();this.vh.disconnect();this.U.disconnect();this.K.disconnect();this.F.disconnect()};t.prototype.hc=F("U");v.prototype.Lt=function(a,e){0.01>a&&(a=0.01);this.oj.gain.value=a;this.nj.gain.value=Math.pow(1/a,0.6)*e};v.prototype.shape=
function(a,e,c){var b=1.05*c*e-e;c=0>a?-1:1;a=0>a?-a:a;e=a<e?a:e+b*(1-Math.exp(-(1/b)*(a-e)));return e*c};v.prototype.Vr=function(a,e){for(var c=Math.pow(10,a/20),b=Math.pow(10,e/20),d=0,f=0;32768>f;++f)d=f/32768,d=this.shape(d,c,b),this.ki[32768+f]=d,this.ki[32768-f-1]=-d};v.prototype.rc=function(a){this.K.disconnect();this.K.connect(a);this.F.disconnect();this.F.connect(a)};v.prototype.remove=function(){this.U.disconnect();this.oj.disconnect();this.Sj.disconnect();this.nj.disconnect();this.K.disconnect();
this.F.disconnect()};v.prototype.hc=F("U");k.prototype.rc=function(a){this.W.disconnect();this.W.connect(a)};k.prototype.remove=function(){this.W.disconnect()};k.prototype.hc=F("W");e.prototype.Ya=function(){this.W.getFloatFrequencyData(this.Tr);this.W.getByteTimeDomainData(this.op);for(var a=this.W.fftSize,e=0,c=this.mh=0,b=0;e<a;e++)b=(this.op[e]-128)/128,0>b&&(b=-b),this.mh<b&&(this.mh=b),c+=b*b;this.mh=d(this.mh);d(Math.sqrt(c/a))};e.prototype.rc=function(a){this.W.disconnect();this.W.connect(a)};
e.prototype.remove=function(){this.W.disconnect()};e.prototype.hc=F("W");m.prototype.wh=function(a){if(this.I=a)this.Ri=this.I.x,this.Si=this.I.y;this.te.length=0};m.prototype.Ii=function(){return!!this.I};m.prototype.Ya=function(a){this.I&&0!==a&&(this.wl=Ea(this.Ri,this.Si,this.I.x,this.I.y),a=Na(this.Ri,this.Si,this.I.x,this.I.y)/a,4>this.te.length||this.te.shift(),this.te.push(a),this.Ri=this.I.x,this.Si=this.I.y)};m.prototype.Jn=function(){if(!this.te.length)return 0;var a,e,c=0;a=0;for(e=this.te.length;a<
e;a++)c+=this.te[a];return c/this.te.length};m.prototype.Lk=function(){return Math.cos(this.wl)*this.Jn()};m.prototype.Mk=function(){return Math.sin(this.wl)*this.Jn()};var pc=!1;x.prototype.Wq=function(){if(!this.la&&this.of){var a=this;if(A.decodeAudioData)A.decodeAudioData(this.of,function(e){a.la=e;var c,b,d;if(da(a.kj)||wa)da(a.fi)||(c=a.fi.Ae,c.normalize=a.Ao,c.buffer=e);else if(a.Wf.length){c=0;for(b=a.Wf.length;c<b;c++){e=a.Wf[c];d=new u(a,e.yp);d.hm(!0);if("undefined"!==typeof e.Co&&(e.I=
G.zf(e.Co),!e.I))continue;if(e.I){var f=Ma(e.I.x,e.I.y,-e.I.j.Pa(),Ka,La,!0),g=Ma(e.I.x,e.I.y,-e.I.j.Pa(),Ka,La,!1);d.gm(f,g,za(e.I.m-e.I.j.Pa()),e.Qk,e.xl,e.Al);d.wh(e.I)}else d.gm(e.x,e.y,e.zq,e.Qk,e.xl,e.Al);d.play(a.rl,a.Cm,a.yj);a.jj&&d.pause();I.push(d)}a.Wf.length=0}else d=new u(a,a.kj),d.play(a.rl,a.Cm,a.yj),a.jj&&d.pause(),I.push(d)},function(){a.xk=!0});else if(this.la=A.createBuffer(this.of,!1),da(this.kj)||wa)da(this.fi)||(e=this.fi.Ae,e.normalize=this.Ao,e.buffer=this.la);else{var e=
new u(this,this.kj);e.play(this.rl,this.Cm,this.yj);this.jj&&e.pause();I.push(e)}}};x.prototype.Rs=function(){switch(this.$){case E:return 4<=this.la.readyState;case B:return!!this.of;case J:return!0;case P:return!0}return!1};x.prototype.Ss=function(){switch(this.$){case E:return 4<=this.la.readyState;case B:return!!this.of&&!!this.la;case J:return!0;case P:return!0}return!1};x.prototype.Hs=function(){switch(this.$){case E:return!!this.la.error;case B:return this.xk}return!1};u.prototype.Fg=function(){switch(this.$){case E:return this.n.ended;
case B:return this.buffer.$===B?!this.fe&&!this.Ec&&this.n.loop||this.Hd?!1:G.xc.Ka-this.startTime>this.buffer.la.duration:this.n.ended;case J:return this.Nl;case P:!0}return!0};u.prototype.Nq=function(){return this.fe||this.Ec?!0:this.Fg()};u.prototype.hm=function(a){D===B&&(!this.hd&&a?this.$a&&(this.Ia||(this.Ia=A.createPanner(),this.Ia.panningModel="number"===typeof this.Ia.panningModel?sb:["equalpower","HRTF","soundfield"][sb],this.Ia.distanceModel="number"===typeof this.Ia.distanceModel?tb:
["linear","inverse","exponential"][tb],this.Ia.refDistance=mc,this.Ia.maxDistance=nc,this.Ia.rolloffFactor=oc),this.$a.disconnect(),this.$a.connect(this.Ia),this.Ia.connect(l(this.ue)),this.hd=!0):this.hd&&!a&&this.$a&&(this.Ia.disconnect(),this.$a.disconnect(),this.$a.connect(l(this.ue)),this.hd=!1))};u.prototype.gm=function(a,e,c,b,d,f){this.hd&&D===B&&(this.Ia.setPosition(a,e,0),this.Ia.setOrientation(Math.cos(O(c)),Math.sin(O(c)),0),this.Ia.coneInnerAngle=b,this.Ia.coneOuterAngle=d,this.Ia.coneOuterGain=
f,this.Lo=a,this.Mo=e,this.Ho=c,this.Io=b,this.Jo=d,this.Ko=f)};u.prototype.wh=function(a){this.hd&&D===B&&(this.Ha||(this.Ha=new m),this.Ha.wh(a))};u.prototype.Ya=function(a){if(this.hd&&D===B&&this.Ha&&this.Ha.Ii()&&this.Df()){this.Ha.Ya(a);a=this.Ha.I;var e=Ma(a.x,a.y,-a.j.Pa(),Ka,La,!0),c=Ma(a.x,a.y,-a.j.Pa(),Ka,La,!1);this.Ia.setPosition(e,c,0);e=0;"undefined"!==typeof this.Ha.I.m&&(e=a.m-a.j.Pa(),this.Ia.setOrientation(Math.cos(e),Math.sin(e),0));e=Ma(this.Ha.Lk(),this.Ha.Mk(),-a.j.Pa(),0,0,
!0);c=Ma(this.Ha.Lk(),this.Ha.Mk(),-a.j.Pa(),0,0,!1);this.Ia.setVelocity(e,c,0)}};u.prototype.play=function(e,c,d){var f=this.n;this.Kd=e;this.volume=c;d=d||0;switch(this.$){case E:1!==f.playbackRate&&(f.playbackRate=1);f.volume!==c*xa&&(f.volume=c*xa);f.loop!==e&&(f.loop=e);f.muted&&(f.muted=!1);if(f.currentTime!==d)try{f.currentTime=d}catch(g){}if(this.Qc&&Ra&&!G.Qb)Sa.push(this);else try{this.n.play()}catch(h){}break;case B:this.muted=!1;this.dh=1;if(this.buffer.$===B)this.fe||(this.n=A.createBufferSource(),
this.n.buffer=this.buffer.la,this.n.connect(this.$a)),this.n.loop=e,this.$a.gain.value=c*xa,0===d?b(this.n):a(this.n,d,this.yf());else{1!==f.playbackRate&&(f.playbackRate=1);f.loop!==e&&(f.loop=e);this.$a.gain.value=c*xa;if(f.currentTime!==d)try{f.currentTime=d}catch(m){}this.Qc&&Ra&&!G.Qb?Sa.push(this):f.play()}break;case J:(!this.fe&&this.Ec||0!==d)&&f.seekTo(d);f.play();this.Nl=!1;break;case P:G.Ab?AppMobi.context.playSound(this.src,e):AppMobi.player.playSound(this.src,e)}this.playbackRate=1;this.startTime=
G.xc.Ka-d;this.Hd=this.Ec=this.fe=!1};u.prototype.stop=function(){switch(this.$){case E:this.n.paused||this.n.pause();break;case B:this.buffer.$===B?g(this.n):this.n.paused||this.n.pause();break;case J:this.n.stop();break;case P:G.Ab&&AppMobi.context.stopSound(this.src)}this.Ec=!0;this.Hd=!1};u.prototype.pause=function(){if(!(this.fe||this.Ec||this.Fg()||this.Hd)){switch(this.$){case E:this.n.paused||this.n.pause();break;case B:this.buffer.$===B?(this.Vc=this.Jk(),this.Kd&&(this.Vc%=this.yf()),g(this.n)):
this.n.paused||this.n.pause();break;case J:this.n.pause();break;case P:G.Ab&&AppMobi.context.stopSound(this.src)}this.Hd=!0}};u.prototype.At=function(a){this.$===B&&(this.hd?(this.Ia.disconnect(),this.Ia.connect(a)):(this.$a.disconnect(),this.$a.connect(a)))};u.prototype.yf=function(){switch(this.$){case E:if("undefined"!==typeof this.n.duration)return this.n.duration;break;case B:return this.buffer.la.duration;case J:return this.n.getDuration();case P:if(G.Ab)return AppMobi.context.getDurationSound(this.src)}return 0};
u.prototype.Jk=function(){var a=this.yf(),e=0;switch(this.$){case E:"undefined"!==typeof this.n.currentTime&&(e=this.n.currentTime);break;case B:if(this.buffer.$===B){if(this.Hd)return this.Vc;e=G.xc.Ka-this.startTime}else"undefined"!==typeof this.n.currentTime&&(e=this.n.currentTime);break;case P:G.Ab&&(e=AppMobi.context.getPlaybackTimeSound(this.src))}!this.Kd&&e>a&&(e=a);return e};u.prototype.Df=function(){return!this.Hd&&!this.fe&&!this.Ec&&!this.Fg()};u.prototype.$t=function(){var a=this.volume*
xa;switch(this.$){case E:this.n.volume&&this.n.volume!==a&&(this.n.volume=a);break;case B:this.$a.gain.value=a*this.dh}};u.prototype.oi=function(a){switch(this.$){case E:this.n.muted!==!!a&&(this.n.muted=!!a);break;case B:this.dh=a?0:1,this.$a.gain.value=xa*this.volume*this.dh}};u.prototype.Mt=function(){this.Hf=!0;this.oi(this.Hf||this.Mg)};u.prototype.ep=function(a){this.Mg=!!a;this.oi(this.Hf||this.Mg)};u.prototype.Kp=function(){var a=this.playbackRate;if(1===db&&!this.Qc||2===db)a*=G.bg;switch(this.$){case E:this.n.playbackRate!==
a&&(this.n.playbackRate=a);break;case B:this.buffer.$===B?this.n.playbackRate.value!==a&&(this.n.playbackRate.value=a):this.n.playbackRate!==a&&(this.n.playbackRate=a)}};u.prototype.Ot=function(e){switch(this.$){case E:e?this.Df()?(this.n.pause(),this.Md=!0):this.Md=!1:this.Md&&this.n.play();break;case B:e?this.Df()?(this.buffer.$===B?(this.Vc=this.Jk(),this.Kd&&(this.Vc%=this.yf()),g(this.n)):this.n.pause(),this.Md=!0):this.Md=!1:this.Md&&(this.buffer.$===B?(this.n=A.createBufferSource(),this.n.buffer=
this.buffer.la,this.n.connect(this.$a),this.n.loop=this.Kd,this.$a.gain.value=xa*this.volume*this.dh,this.startTime=G.xc.Ka-this.Vc,a(this.n,this.Vc,this.yf())):this.n.play());break;case J:e?this.Df()?(this.n.pause(),this.Md=!0):this.Md=!1:this.Md&&this.n.play()}};S.ea=function(a){this.type=a;G=this.b=a.b;M=this;this.Bb=null;this.Vg=-600;!(this.b.Pi||this.b.Ki&&(this.b.Jg||this.b.Un))||this.b.Li||this.b.ya||(Ra=!0);A=null;"undefined"!==typeof AudioContext?(D=B,A=new AudioContext):"undefined"!==typeof webkitAudioContext&&
(D=B,A=new webkitAudioContext);(this.b.Pi&&D===B||Ra)&&document.addEventListener("touchstart",function(){var a,e,c;!pc&&A&&(a=A.createBuffer(1,1,22050),e=A.createBufferSource(),e.buffer=a,e.connect(A.destination),b(e),pc=!0);if(Ra){if(!wa)for(a=0,e=Sa.length;a<e;++a)c=Sa[a],c.Ec||c.Hd||c.n.play();Sa.length=0}},!0);D!==B&&(this.b.Pc&&"undefined"!==typeof window.Media?D=J:this.b.Cf&&(D=P));D===J&&(T=location.href,a=T.lastIndexOf("/"),-1<a&&(T=T.substr(0,a+1)),T=T.replace("file://",""));if(this.b.Xn&&
this.b.Ts&&"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.xe(this);else{if(this.b.Ab)ka=this.b.Ki;else try{ka=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')}catch(e){ka=!1}this.b.Lj(this)}};var la=S.ea.prototype;la.S=function(){this.b.pf=this;db=this.C[0];this.Nd=this.C[1];sb=this.C[2];tb=this.C[3];this.Vg=-this.C[4];mc=this.C[5];nc=this.C[6];oc=this.C[7];this.Bb=new m;D===B&&
(A.listener.speedOfSound=this.C[8],A.listener.dopplerFactor=this.C[9],A.listener.setPosition(this.b.P/2,this.b.O/2,this.Vg),A.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=function(a,e){Fa&&Fa.disconnect();rb=e.toLowerCase();Fa=A.createMediaStreamSource(a);Fa.connect(l(rb))});this.b.Eq(function(a){M.lt(a)});var a=this;this.b.ak(function(e){a.El(e)})};la.El=function(a){var e,c,b;e=0;for(c=I.length;e<c;e++)b=I[e],b.Ha&&b.Ha.I===a&&(b.Ha.I=null,b.hd&&b.Df()&&b.Kd&&b.stop());this.Bb.I===
a&&(this.Bb.I=null)};la.Kb=function(){var a={silent:wa,masterVolume:xa,listenerZ:this.Vg,listenerUid:this.Bb.Ii()?this.Bb.I.uid:-1,playing:[],effects:{}},e=a.playing,c,b,d,f,g,h;c=0;for(b=I.length;c<b;c++)d=I[c],!d.Df()||3===this.Nd||d.Qc&&1===this.Nd||!d.Qc&&2===this.Nd||(f=d.Jk(),d.Kd&&(f%=d.yf()),f={tag:d.ue,buffersrc:d.buffer.src,is_music:d.Qc,playbackTime:f,volume:d.volume,looping:d.Kd,muted:d.Hf,playbackRate:d.playbackRate,paused:d.Hd,resume_position:d.Vc},d.hd&&(f.pan={},h=f.pan,d.Ha&&d.Ha.Ii()?
h.objUid=d.Ha.I.uid:(h.x=d.Lo,h.y=d.Mo,h.a=d.Ho),h.ia=d.Io,h.oa=d.Jo,h.og=d.Ko),e.push(f));e=a.effects;for(g in W)if(W.hasOwnProperty(g)){d=[];c=0;for(b=W[g].length;c<b;c++)d.push({type:W[g][c].type,params:W[g][c].jb});e[g]=d}return a};var Ta=[];la.mc=function(a){var b=a.silent;xa=a.masterVolume;this.Vg=a.listenerZ;this.Bb.wh(null);var d=a.listenerUid;-1!==d&&(this.Bb.bj=d,Ta.push(this.Bb));var d=a.playing,f,g,h,l,u,x,K,S,z,y,G;if(3!==this.Nd)for(f=0,g=I.length;f<g;f++)z=I[f],z.Qc&&1===this.Nd||(z.Qc||
2!==this.Nd)&&z.stop();for(u in W)if(W.hasOwnProperty(u))for(f=0,g=W[u].length;f<g;f++)W[u][f].remove();Qa(W);for(u in a.effects)if(a.effects.hasOwnProperty(u))for(x=a.effects[u],f=0,g=x.length;f<g;f++)switch(h=x[f].type,y=x[f].params,h){case "filter":H(u,new c(y[0],y[1],y[2],y[3],y[4],y[5]));break;case "delay":H(u,new q(y[0],y[1],y[2]));break;case "convolve":h=y[2];z=this.Ai(h,!1);z.la?h=new r(z.la,y[0],y[1],h):(h=new r(null,y[0],y[1],h),z.Ao=y[0],z.fi=h);H(u,h);break;case "flanger":H(u,new p(y[0],
y[1],y[2],y[3],y[4]));break;case "phaser":H(u,new n(y[0],y[1],y[2],y[3],y[4],y[5]));break;case "gain":H(u,new w(y[0]));break;case "tremolo":H(u,new s(y[0],y[1]));break;case "ringmod":H(u,new t(y[0],y[1]));break;case "distortion":H(u,new v(y[0],y[1],y[2],y[3],y[4]));break;case "compressor":H(u,new k(y[0],y[1],y[2],y[3],y[4]));break;case "analyser":H(u,new e(y[0],y[1]))}f=0;for(g=d.length;f<g;f++)3===this.Nd||(a=d[f],h=a.buffersrc,l=a.is_music,u=a.tag,x=a.playbackTime,K=a.looping,S=a.volume,G=(y=a.pan)&&
y.hasOwnProperty("objUid")?y.objUid:-1,l&&1===this.Nd)||!l&&2===this.Nd||((z=this.Cn(h,u,l,K,S))?(z.Vc=a.resume_position,z.hm(!!y),z.play(K,S,x),z.Kp(),z.$t(),z.oi(z.Hf||z.Mg),a.paused&&z.pause(),a.muted&&z.Mt(),z.oi(z.Hf||z.Mg),y&&(-1!==G?(z.Ha=z.Ha||new m,z.Ha.bj=G,Ta.push(z.Ha)):z.gm(y.x,y.y,y.a,y.ia,y.oa,y.og))):(z=this.Ai(h,l),z.yj=x,z.jj=a.paused,y&&(-1!==G?z.Wf.push({Co:G,Qk:y.ia,xl:y.oa,Al:y.og,yp:u}):z.Wf.push({x:y.x,y:y.y,zq:y.a,Qk:y.ia,xl:y.oa,Al:y.og,yp:u}))));if(b&&!wa){f=0;for(g=I.length;f<
g;f++)I[f].ep(!0);wa=!0}else if(!b&&wa){f=0;for(g=I.length;f<g;f++)I[f].ep(!1);wa=!1}};la.Zc=function(){var a,e,c,b;a=0;for(e=Ta.length;a<e;a++)c=Ta[a],b=this.b.zf(c.bj),c.wh(b),c.bj=-1,b&&(Ka=b.x,La=b.y);Ta.length=0};la.lt=function(a){var e,c;e=0;for(c=I.length;e<c;e++)I[e].Ot(a)};la.Ya=function(){var a=this.b.De,e,c,b;e=0;for(c=I.length;e<c;e++)b=I[e],b.Ya(a),b.$===E||b.$===P||b.fe||b.Ec||!b.Fg()||(b.Ec=!0,z=b.ue,G.trigger(V.prototype.i.Wj,M)),0!==db&&b.Kp();var d,f;for(d in W)if(W.hasOwnProperty(d))for(b=
W[d],e=0,c=b.length;e<c;e++)f=b[e],f.Ya&&f.Ya();D===B&&this.Bb.Ii()&&(this.Bb.Ya(a),Ka=this.Bb.I.x,La=this.Bb.I.y,A.listener.setPosition(this.Bb.I.x,this.Bb.I.y,this.Vg),A.listener.setVelocity(this.Bb.Lk(),this.Bb.Mk(),0))};var Ua=[];la.Nt=function(a){var e,c,b,d,f,g=0;e=0;for(c=a.length;e<c;++e)if(b=a[e],d=b[0],b=2*b[1],(f=4<d.length&&".ogg"===d.substr(d.length-4))&&ka||!f&&!ka)Ua.push({filename:d,size:b,I:null}),g+=b;return g};la.St=function(){var a,e,c,b;a=0;for(e=Ua.length;a<e;++a)c=Ua[a],b=this.b.yk+
c.filename,c.I=this.Ai(b,!1)};la.gs=function(){var a=0,e,c,b;e=0;for(c=Ua.length;e<c;++e)b=Ua[e],b.I.Ss()||b.I.Hs()||this.b.ya?a+=b.size:b.I.Rs()&&(a+=Math.floor(b.size/2));return a};la.Ai=function(a,e){var c,b,d,f=null;c=0;for(b=X.length;c<b;c++)if(d=X[c],d.src===a){f=d;break}f||(f=new x(a,e),X.push(f));return f};la.Cn=function(a,e,c,b,d){var f,g,h;f=0;for(g=I.length;f<g;f++)if(h=I[f],h.src===a&&(h.Nq()||c))return h.ue=e,h;a=this.Ai(a,c);if(!a.la)return"<preload>"!==e&&(a.kj=e,a.rl=b,a.Cm=d),null;
h=new u(a,e);I.push(h);return h};var Ja=[];K.prototype.Wj=function(a){return cb(z,a)};S.i=new K;y.prototype.Play=function(a,e,c,b){!wa&&(c=Math.pow(10,c/20),0>c&&(c=0),1<c&&(c=1),Q=this.Cn(this.b.yk+a[0]+(ka?".ogg":".m4a"),b,a[1],0!==e,c))&&(Q.hm(!1),Q.play(0!==e,c))};y.prototype.sq=function(){var a,e;a=0;for(e=I.length;a<e;a++)I[a].stop()};S.k=new y;S.Ga=new (C())})();function fc(d){this.b=d}
(function(){function d(){this.name="";this.sh=0;this.jb=[]}function l(){c++;c===g.length&&g.push(new d);return g[c]}function f(){}function h(){}function b(){}var a=fc.prototype;a.wa=function(a){this.ra=a;this.b=a.b};a.wa.prototype.S=C();a.ea=function(a){this.type=a;this.b=a.b};var g=[],c=-1;a.ea.prototype.S=function(){var a=this;window.c2_callFunction=function(b,d){var f,g,h,t=l();t.name=b.toLowerCase();t.sh=0;if(d)for(t.jb.length=d.length,f=0,g=d.length;f<g;++f)h=d[f],t.jb[f]="number"===typeof h||
"string"===typeof h?h:"boolean"===typeof h?h?1:0:0;else t.jb.length=0;a.b.trigger(fc.prototype.i.Oh,a,t.name);c--;return t.sh}};f.prototype.Oh=function(a){var b=0>c?null:g[c];return b?cb(a,b.name):!1};a.i=new f;h.prototype.CallFunction=function(a,b){var d=l();d.name=a.toLowerCase();d.sh=0;ta(d.jb,b);this.b.trigger(fc.prototype.i.Oh,this,d.name);c--};a.k=new h;b.prototype.Pp=function(a,b){var d=l();d.name=b.toLowerCase();d.sh=0;d.jb.length=0;var f,g;f=2;for(g=arguments.length;f<g;f++)d.jb.push(arguments[f]);
this.b.trigger(fc.prototype.i.Oh,this,d.name);c--;a.gp(d.sh)};a.Ga=new b})();function U(d){this.b=d}
(function(){function d(){if(0===this.pk.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var c=a.getContext("2d");this.$f?c.drawImage(this.R,this.Sf,this.Tf,this.width,this.height,0,0,this.width,this.height):c.drawImage(this.R,0,0,this.width,this.height);this.pk=a.toDataURL("image/png")}return this.pk}function l(){}function f(a){a[0]=0;a[1]=0;a[2]=0;w.push(a)}function h(a,c){return a<c?""+a+","+c:""+c+","+a}function b(a,c,b,d){c=c.uid;b=b.uid;var f=h(c,b);if(a.hasOwnProperty(f))a[f][2]=
d;else{var g=w.length?w.pop():[0,0,0];g[0]=c;g[1]=b;g[2]=d;a[f]=g}}function a(a,c,b){c=h(c.uid,b.uid);a.hasOwnProperty(c)&&(f(a[c]),delete a[c])}function g(a,c,b){c=h(c.uid,b.uid);if(a.hasOwnProperty(c))return s=a[c][2],!0;s=-2;return!1}function c(){}var q=U.prototype;q.wa=function(a){this.ra=a;this.b=a.b};var r=q.wa.prototype;r.S=function(){if(!this.H){var a,c,b,f,g,h,k,l,q;this.Kc=[];this.Ji=!1;a=0;for(c=this.Mb.length;a<c;a++){g=this.Mb[a];k={};k.name=g[0];k.speed=g[1];k.loop=g[2];k.Yl=g[3];k.vj=
g[4];k.Po=g[5];k.T=g[6];k.frames=[];b=0;for(f=g[7].length;b<f;b++)h=g[7][b],l={},l.pm=h[0],l.qm=h[1],l.Sf=h[2],l.Tf=h[3],l.width=h[4],l.height=h[5],l.duration=h[6],l.Hb=h[7],l.Ib=h[8],l.Sk=h[9],l.lj=h[10],l.Qo=h[11],l.$f=0!==l.width,l.pk="",l.sv=d,q={left:0,top:0,right:1,bottom:1},l.im=q,l.ua=null,(q=this.b.Sr(h[0]))?l.R=q:(l.R=new Image,l.R.idtkLoadDisposed=!0,l.R.src=h[0],l.R.Tq=h[0],l.R.kn=h[1],l.R.Mq=null,this.b.Np(l.R)),k.frames.push(l),this.Kc.push(l);this.Mb[a]=k}}};r.Zt=function(){var a,c,
b;a=0;for(c=this.e.length;a<c;a++)b=this.e[a],b.ji=b.sc.ua};r.gj=function(){if(!this.H){var a,c,b;a=0;for(c=this.Kc.length;a<c;++a)b=this.Kc[a],b.R.Mq=null,b.ua=null}};r.Jl=function(){if(!this.H&&this.e.length){var a,c,b;a=0;for(c=this.Kc.length;a<c;++a)b=this.Kc[a],b.ua=this.b.r.aj(b.R,!1,this.b.Z,b.Qo);this.Zt()}};r.ml=function(){if(!this.H&&!this.Ji&&this.b.r){var a,c,b;a=0;for(c=this.Kc.length;a<c;++a)b=this.Kc[a],b.ua=this.b.r.aj(b.R,!1,this.b.Z,b.Qo);this.Ji=!0}};r.xm=function(){if(!this.H&&
!this.e.length&&this.Ji){var a,c,b;a=0;for(c=this.Kc.length;a<c;++a)b=this.Kc[a],this.b.r.deleteTexture(b.ua),b.ua=null;this.Ji=!1}};var p=[];r.Rl=function(a){var c,b,d;c=p.length=0;for(b=this.Kc.length;c<b;++c)d=this.Kc[c].R,-1===p.indexOf(d)&&(a.drawImage(d,0,0),p.push(d))};q.ea=function(a){this.type=a;this.b=a.b;a=this.type.Mb[0].frames[0].lj;this.nc?this.aa.yh(a):this.aa=new Ya(a)};var n=q.ea.prototype;n.S=function(){this.visible=0===this.C[0];this.Tk=this.bl=!1;this.xd=0!==this.C[3];1===this.type.Mb.length&&
1===this.type.Mb[0].frames.length||0===this.type.Mb[0].speed||(this.b.Lj(this),this.bl=!0);this.Ca=this.Bn(this.C[1])||this.type.Mb[0];this.A=this.C[2];0>this.A&&(this.A=0);this.A>=this.Ca.frames.length&&(this.A=this.Ca.frames.length-1);var a=this.Ca.frames[this.A];this.aa.yh(a.lj);this.Hb=a.Hb;this.Ib=a.Ib;this.sg=this.Ca.speed;this.nc?this.Mc.reset():this.Mc=new Wa;this.cd=this.Mc.Ka;this.Wd=!0;this.vd=0;this.ye=!0;this.jk=this.Xm="";this.Qq=0;this.ci=-1;this.type.ml();var c,b,d,f,g,h,k,a=0;for(c=
this.type.Mb.length;a<c;a++)for(f=this.type.Mb[a],b=0,d=f.frames.length;b<d;b++)g=f.frames[b],0===g.width&&(g.width=g.R.width,g.height=g.R.height),g.$f&&(k=g.R,h=g.im,h.left=g.Sf/k.width,h.top=g.Tf/k.height,h.right=(g.Sf+g.width)/k.width,h.bottom=(g.Tf+g.height)/k.height,0===g.Sf&&0===g.Tf&&g.width===k.width&&g.height===k.height&&(g.$f=!1));this.sc=this.Ca.frames[this.A];this.ji=this.sc.ua};n.Kb=function(){var a={a:this.Ca.T,f:this.A,cas:this.sg,fs:this.cd,ar:this.vd,at:this.Mc.Ka};this.Wd||(a.ap=
this.Wd);this.ye||(a.af=this.ye);return a};n.mc=function(a){var c=this.Wr(a.a);c&&(this.Ca=c);this.A=a.f;0>this.A&&(this.A=0);this.A>=this.Ca.frames.length&&(this.A=this.Ca.frames.length-1);this.sg=a.cas;this.cd=a.fs;this.vd=a.ar;this.Mc.reset();this.Mc.Ka=a.at;this.Wd=a.hasOwnProperty("ap")?a.ap:!0;this.ye=a.hasOwnProperty("af")?a.af:!0;this.sc=this.Ca.frames[this.A];this.ji=this.sc.ua;this.aa.yh(this.sc.lj);this.Hb=this.sc.Hb;this.Ib=this.sc.Ib};n.dk=function(a){this.A=a?0:this.Ca.frames.length-
1;this.Wd=!1;this.Xm=this.Ca.name;this.Tk=!0;this.b.trigger(U.prototype.i.Tp,this);this.b.trigger(U.prototype.i.Sp,this);this.Tk=!1;this.vd=0};n.vv=function(){return this.Mc.Ka};n.Ya=function(){this.Mc.add(this.b.Ci(this));this.jk.length&&this.Zq();0<=this.ci&&this.rn();var a=this.Mc.Ka,c=this.Ca,b=c.frames[this.A],d=b.duration/this.sg;this.Wd&&a>=this.cd+d&&(this.ye?this.A++:this.A--,this.cd+=d,this.A>=c.frames.length&&(c.Po?(this.ye=!1,this.A=c.frames.length-2):c.loop?this.A=c.vj:(this.vd++,this.vd>=
c.Yl?this.dk(!1):this.A=c.vj)),0>this.A&&(c.Po?(this.A=1,this.ye=!0,c.loop||(this.vd++,this.vd>=c.Yl&&this.dk(!0))):c.loop?this.A=c.vj:(this.vd++,this.vd>=c.Yl?this.dk(!0):this.A=c.vj)),0>this.A?this.A=0:this.A>=c.frames.length&&(this.A=c.frames.length-1),a>this.cd+c.frames[this.A].duration/this.sg&&(this.cd=a),a=c.frames[this.A],this.kf(b,a),this.b.na=!0)};n.Bn=function(a){var c,b,d;c=0;for(b=this.type.Mb.length;c<b;c++)if(d=this.type.Mb[c],cb(d.name,a))return d;return null};n.Wr=function(a){var c,
b,d;c=0;for(b=this.type.Mb.length;c<b;c++)if(d=this.type.Mb[c],d.T===a)return d;return null};n.Zq=function(){var a=this.Ca.frames[this.A],c=this.Bn(this.jk);this.jk="";!c||cb(c.name,this.Ca.name)&&this.Wd||(this.Ca=c,this.sg=c.speed,0>this.A&&(this.A=0),this.A>=this.Ca.frames.length&&(this.A=this.Ca.frames.length-1),1===this.Qq&&(this.A=0),this.Wd=!0,this.cd=this.Mc.Ka,this.ye=!0,this.kf(a,this.Ca.frames[this.A]),this.b.na=!0)};n.rn=function(){var a=this.Ca.frames[this.A],c=this.A;this.A=ma(this.ci);
0>this.A&&(this.A=0);this.A>=this.Ca.frames.length&&(this.A=this.Ca.frames.length-1);c!==this.A&&(this.kf(a,this.Ca.frames[this.A]),this.cd=this.Mc.Ka,this.b.na=!0);this.ci=-1};n.kf=function(a,c){var b=a.width,d=a.height,f=c.width,g=c.height;b!=f&&(this.width*=f/b);d!=g&&(this.height*=g/d);this.Hb=c.Hb;this.Ib=c.Ib;this.aa.yh(c.lj);this.u();this.sc=c;this.ji=c.ua;b=0;for(d=this.L.length;b<d;b++)f=this.L[b],f.kt&&f.kt(a,c);this.b.trigger(U.prototype.i.kf,this)};n.ad=function(a){a.globalAlpha=this.opacity;
var c=this.sc,b=c.$f,d=c.R,f=this.x,g=this.y,h=this.width,k=this.height;if(0===this.m&&0<=h&&0<=k)f-=this.Hb*h,g-=this.Ib*k,this.b.jd&&(f=f+0.5|0,g=g+0.5|0),b?a.drawImage(d,c.Sf,c.Tf,c.width,c.height,f,g,h,k):a.drawImage(d,f,g,h,k);else{this.b.jd&&(f=f+0.5|0,g=g+0.5|0);a.save();var l=0<h?1:-1,q=0<k?1:-1;a.translate(f,g);1===l&&1===q||a.scale(l,q);a.rotate(this.m*l*q);f=0-this.Hb*ha(h);g=0-this.Ib*ha(k);b?a.drawImage(d,c.Sf,c.Tf,c.width,c.height,f,g,ha(h),ha(k)):a.drawImage(d,f,g,ha(h),ha(k));a.restore()}};
n.vc=function(a){a.Vb(this.ji);a.$e(this.opacity);var c=this.sc,b=this.yb;if(this.b.jd){var d=(this.x+0.5|0)-this.x,f=(this.y+0.5|0)-this.y;c.$f?a.kd(b.Ea+d,b.Fa+f,b.wb+d,b.xb+f,b.qb+d,b.rb+f,b.ob+d,b.pb+f,c.im):a.sj(b.Ea+d,b.Fa+f,b.wb+d,b.xb+f,b.qb+d,b.rb+f,b.ob+d,b.pb+f)}else c.$f?a.kd(b.Ea,b.Fa,b.wb,b.xb,b.qb,b.rb,b.ob,b.pb,c.im):a.sj(b.Ea,b.Fa,b.wb,b.xb,b.qb,b.rb,b.ob,b.pb)};n.as=function(a){var c=this.sc,b,d;b=0;for(d=c.Sk.length;b<d;b++)if(cb(a,c.Sk[b][0]))return b;return-1};n.Ag=function(a,
c){var b=this.sc,d=b.Sk,f;f=N(a)?this.as(a):a-1;f=ma(f);if(0>f||f>=d.length)return c?this.x:this.y;var g=(d[f][1]-b.Hb)*this.width,d=d[f][2],d=(d-b.Ib)*this.height,b=Math.cos(this.m);f=Math.sin(this.m);var h=g*b-d*f,d=d*b+g*f,g=h+this.x,d=d+this.y;return c?g:d};var w=[],s=-2,t=[];l.prototype.jf=function(c){if(!c)return!1;var d=this.b,h=d.Fk(),k=h.type;h.D.lk||(h.D.lk={},d.ak(function(a){return function(c){c=c.uid;var e,b;for(e in a)a.hasOwnProperty(e)&&(b=a[e],b[0]===c||b[1]===c)&&(f(a[e]),delete a[e])}}(h.D.lk)));
var h=h.D.lk,l=k.Y(),q=c.Y(),l=l.ic(),r,n,p,v,z,w,E,B=this.b.qd,J=B-1,P=d.tb().gc;for(n=0;n<l.length;n++){p=l[n];q.ka?(p.qa(),this.b.Dn(p.j,c,p.Ba,t),r=t):r=q.ic();for(v=0;v<r.length;v++)z=r[v],d.Gc(p,z)||d.Rq(p,z)?(w=g(h,p,z),w=!w||s<J,b(h,p,z,B),w&&(d.qj(P.Aa),w=k.Y(),E=c.Y(),w.ka=!1,E.ka=!1,k===c?(w.e.length=2,w.e[0]=p,w.e[1]=z,k.pc()):(w.e.length=1,E.e.length=1,w.e[0]=p,E.e[0]=z,k.pc(),c.pc()),P.Dt(),d.We(P.Aa))):a(h,p,z);t.length=0}return!1};var v=new ba,k=!1;r.finish=function(a){if(k){if(a){var c=
this.b.tb().gc.Sc;a=null.Y();var b=v.td(),d,f;if(a.ka){a.ka=!1;a.e.length=b.length;d=0;for(f=b.length;d<f;d++)a.e[d]=b[d];if(c)for(d=a.ca.length=0,f=null.e.length;d<f;d++)b=null.e[d],v.contains(b)||a.ca.push(b)}else if(c)for(c=a.e.length,a.e.length=c+b.length,d=0,f=b.length;d<f;d++)a.e[c+d]=b[d],ya(a.ca,b[d]);else ta(a.e,b);null.pc()}v.clear();k=!1}};l.prototype.Sp=function(a){return cb(this.Xm,a)};l.prototype.Tp=L(!0);l.prototype.kf=L(!0);q.i=new l;c.prototype.Pm=function(a,c,b){if(a&&c&&(c=this.b.ln(a,
c,this.Ag(b,!0),this.Ag(b,!1)))){"undefined"!==typeof c.m&&(c.m=this.m,c.u());this.b.Oc++;var d,f,g;this.b.trigger(Object.getPrototypeOf(a.ra).i.Vj,c);if(c.kc)for(d=0,f=c.siblings.length;d<f;d++)g=c.siblings[d],this.b.trigger(Object.getPrototypeOf(g.type.ra).i.Vj,g);this.b.Oc--;d=this.b.Yr();b=!1;if(da(d.D.Qm)||d.D.Qm<this.b.tf)b=!0,d.D.Qm=this.b.tf;if(a!=this.type&&(a=a.Y(),a.ka=!1,b?(a.e.length=1,a.e[0]=c):a.e.push(c),c.kc))for(d=0,f=c.siblings.length;d<f;d++)g=c.siblings[d],a=g.type.Y(),a.ka=!1,
b?(a.e.length=1,a.e[0]=g):a.e.push(g)}};c.prototype.rq=function(a){this.Wd=!0;this.cd=this.Mc.Ka;1===a&&0!==this.A&&(this.ci=0,this.Tk||this.rn());this.bl||(this.b.Lj(this),this.bl=!0)};q.k=new c;q.Ga=new (C())})();function gc(d){this.b=d}
(function(){function d(){return g.length?g.pop():{}}function l(a){var b,d;b=0;for(d=a.length;b<d;b++)g.push(a[b]);a.length=0}function f(){}var h=gc.prototype;h.S=function(){h.k.qq=function(a){this.width!==a&&(this.width=a,this.cf=!0,this.u())}};h.wa=function(a){this.ra=a;this.b=a.b};var b=h.wa.prototype;b.S=C();b.gj=function(){if(!this.H){var a,b,d;a=0;for(b=this.e.length;a<b;a++)d=this.e[a],d.gd=null,d.Ve=null,d.Tb=null}};h.ea=function(a){this.type=a;this.b=a.b;this.nc?this.je.length=0:this.je=[];
this.cf=!0};b=h.ea.prototype;b.S=function(){this.text=this.C[0];this.visible=0===this.C[1];this.font=this.C[2];this.color=this.C[3];this.Hi=this.C[4];this.Rj=this.C[5];this.Em=0===this.C[7];this.hl=this.Vi=this.width;this.Ui=this.height;this.jl=this.C[8];this.wi=this.uf="";this.wp=this.xp=this.ph=0;this.nt();this.Tb=this.Ve=this.gd=null;this.yo=!1;this.Ug=this.b.qd;this.nc?this.ne.set(0,0,1,1):this.ne=new pa(0,0,1,1);this.b.r&&this.b.Lj(this)};b.nt=function(){var a=this.font.split(" "),b;for(b=0;b<
a.length;b++)if("pt"===a[b].substr(a[b].length-2,2)){this.ph=parseInt(a[b].substr(0,a[b].length-2));this.Ul=Math.ceil(96*(this.ph/72))+4;0<b&&(this.wi=a[b-1]);this.uf=a[b+1];for(b+=2;b<a.length;b++)this.uf+=" "+a[b];break}};b.Kb=function(){return{t:this.text,f:this.font,c:this.color,ha:this.Hi,va:this.Rj,wr:this.Em,lho:this.jl,fn:this.uf,fs:this.wi,ps:this.ph,pxh:this.Ul,tw:this.xp,th:this.wp,lrt:this.Ug}};b.mc=function(a){this.text=a.t;this.font=a.f;this.color=a.c;this.Hi=a.ha;this.Rj=a.va;this.Em=
a.wr;this.jl=a.lho;this.uf=a.fn;this.wi=a.fs;this.ph=a.ps;this.Ul=a.pxh;this.xp=a.tw;this.wp=a.th;this.Ug=a.lrt;this.cf=!0;this.hl=this.Vi=this.width;this.Ui=this.height};b.Ya=function(){if(this.b.r&&this.Tb&&300<=this.b.qd-this.Ug){var a=this.j;this.qa();var b=this.Ba;if(b.right<a.lb||b.bottom<a.mb||b.left>a.Zb||b.top>a.Yb)this.b.r.deleteTexture(this.Tb),this.gd=this.Ve=this.Tb=null}};b.Uf=function(){this.gd=this.Ve=null;this.b.r&&this.Tb&&this.b.r.deleteTexture(this.Tb);this.Tb=null};b.Jv=function(){this.font=
this.wi+" "+this.ph.toString()+"pt "+this.uf;this.cf=!0;this.b.na=!0};b.ad=function(a,b){a.font=this.font;a.textBaseline="top";a.fillStyle=this.color;a.globalAlpha=b?1:this.opacity;var d=1;b&&(d=this.j.Ob(),a.save(),a.scale(d,d));if(this.cf||this.width!==this.hl)this.type.ra.wq(this.text,this.je,a,this.width,this.Em),this.cf=!1,this.hl=this.width;this.qa();var d=b?0:this.yb.Ea,f=b?0:this.yb.Fa;this.b.jd&&(d=d+0.5|0,f=f+0.5|0);0===this.m||b||(a.save(),a.translate(d,f),a.rotate(this.m),f=d=0);var g=
f+this.height,h=this.Ul,h=h+this.jl,l,t;1===this.Rj?f+=Math.max(this.height/2-this.je.length*h/2,0):2===this.Rj&&(f+=Math.max(this.height-this.je.length*h-2,0));for(t=0;t<this.je.length&&!(l=d,1===this.Hi?l=d+(this.width-this.je[t].width)/2:2===this.Hi&&(l=d+(this.width-this.je[t].width)),a.fillText(this.je[t].text,l,f),f+=h,f>=g-h);t++);(0!==this.m||b)&&a.restore();this.Ug=this.b.qd};b.vc=function(a){if(!(1>this.width||1>this.height)){var b=this.cf||this.yo;this.yo=!1;var d=this.j.Ob(),f=this.j.Pa(),
g=this.ne,h=d*this.width,l=d*this.height,t=Math.ceil(h),v=Math.ceil(l),k=this.b.P/2,e=this.b.O/2;this.Ve||(this.gd=document.createElement("canvas"),this.gd.width=t,this.gd.height=v,this.Vi=t,this.Ui=v,b=!0,this.Ve=this.gd.getContext("2d"));if(t!==this.Vi||v!==this.Ui)this.gd.width=t,this.gd.height=v,this.Tb&&(a.deleteTexture(this.Tb),this.Tb=null),b=!0;b&&(this.Ve.clearRect(0,0,t,v),this.ad(this.Ve,!0),this.Tb||(this.Tb=a.yd(t,v,this.b.Z,this.b.fd)),a.fu(this.gd,this.Tb,this.b.fd));this.Vi=t;this.Ui=
v;a.Vb(this.Tb);a.$e(this.opacity);a.ld();a.translate(-k,-e);a.sd();var m=this.yb,b=this.j.za(m.Ea,m.Fa,!0,!0),k=this.j.za(m.Ea,m.Fa,!1,!0),e=this.j.za(m.wb,m.xb,!0,!0),x=this.j.za(m.wb,m.xb,!1,!0),u=this.j.za(m.qb,m.rb,!0,!0),H=this.j.za(m.qb,m.rb,!1,!0),K=this.j.za(m.ob,m.pb,!0,!0),m=this.j.za(m.ob,m.pb,!1,!0);if(this.b.jd||0===this.m&&0===f)var y=(b+0.5|0)-b,S=(k+0.5|0)-k,b=b+y,k=k+S,e=e+y,x=x+S,u=u+y,H=H+S,K=K+y,m=m+S;0===this.m&&0===f?(e=b+t,x=k,u=e,H=k+v,K=b,m=H,g.right=1,g.bottom=1):(g.right=
h/t,g.bottom=l/v);a.kd(b,k,e,x,u,H,K,m,g);a.ld();a.scale(d,d);a.$l(-this.j.Pa());a.translate((this.j.lb+this.j.Zb)/-2,(this.j.mb+this.j.Yb)/-2);a.sd();this.Ug=this.b.qd}};var a=[];h.vq=function(c){a.length=0;for(var b="",d,f=0;f<c.length;)if(d=c.charAt(f),"\n"===d)b.length&&(a.push(b),b=""),a.push("\n"),++f;else if(" "===d||"\t"===d||"-"===d){do b+=c.charAt(f),f++;while(f<c.length&&(" "===c.charAt(f)||"\t"===c.charAt(f)));a.push(b);b=""}else f<c.length&&(b+=d,f++);b.length&&a.push(b)};var g=[];h.wq=
function(a,b,f,g,h){if(a&&a.length)if(2>=g)l(b);else{if(100>=a.length&&-1===a.indexOf("\n")){var w=f.measureText(a).width;if(w<=g){l(b);b.push(d());b[0].text=a;b[0].width=w;return}}this.xq(a,b,f,g,h)}else l(b)};h.xq=function(c,b,f,h,l){l&&(this.vq(c),c=a);var w="",s,t,v,k=0;for(v=0;v<c.length;v++)"\n"===c[v]?(k>=b.length&&b.push(d()),t=b[k],t.text=w,t.width=f.measureText(w).width,k++,w=""):(s=w,w+=c[v],t=f.measureText(w).width,t>=h&&(k>=b.length&&b.push(d()),t=b[k],t.text=s,t.width=f.measureText(s).width,
k++,w=c[v],l||" "!==w||(w="")));w.length&&(k>=b.length&&b.push(d()),t=b[k],t.text=w,t.width=f.measureText(w).width,k++);for(v=k;v<b.length;v++)g.push(b[v]);b.length=k};h.i=new (C());f.prototype.kg=function(a){ea(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.cf=!0,this.b.na=!0)};h.k=new f;h.Ga=new (C())})();function hc(d){this.b=d}
(function(){var d=hc.prototype;d.wa=function(d){this.ra=d;this.b=d.b};var l=d.wa.prototype;l.S=function(){this.H||(this.R=new Image,this.R.idtkLoadDisposed=!0,this.R.src=this.pm,this.R.kn=this.qm,this.b.Np(this.R),this.ua=this.pattern=null)};l.gj=function(){this.H||(this.ua=null)};l.Jl=function(){if(!this.H&&this.e.length){this.ua||(this.ua=this.b.r.aj(this.R,!0,this.b.Z,this.rm));var d,h;d=0;for(h=this.e.length;d<h;d++)this.e[d].ua=this.ua}};l.ml=function(){this.H||this.ua||!this.b.r||(this.ua=this.b.r.aj(this.R,
!0,this.b.Z,this.rm))};l.xm=function(){this.H||this.e.length||!this.ua||(this.b.r.deleteTexture(this.ua),this.ua=null)};l.Rl=function(d){d.drawImage(this.R,0,0)};d.ea=function(d){this.type=d;this.b=d.b};l=d.ea.prototype;l.S=function(){this.visible=0===this.C[0];this.ne=new pa(0,0,0,0);this.Nn=!1;this.R=this.type.R;this.b.r?(this.type.ml(),this.ua=this.type.ua):(this.type.pattern||(this.type.pattern=this.b.fa.createPattern(this.type.R,"repeat")),this.pattern=this.type.pattern)};l.Zc=function(){this.Nn=
!1;this.R=this.type.R};l.Uf=function(){this.b.r&&this.Nn&&this.ua&&(this.b.r.deleteTexture(this.ua),this.ua=null)};l.ad=function(d){d.globalAlpha=this.opacity;d.save();d.fillStyle=this.pattern;var h=this.x,b=this.y;this.b.jd&&(h=h+0.5|0,b=b+0.5|0);var a=-(this.Hb*this.width),g=-(this.Ib*this.height),c=a%this.R.width,l=g%this.R.height;0>c&&(c+=this.R.width);0>l&&(l+=this.R.height);d.translate(h,b);d.rotate(this.m);d.translate(c,l);d.fillRect(a-c,g-l,this.width,this.height);d.restore()};l.vc=function(d){d.Vb(this.ua);
d.$e(this.opacity);var h=this.ne;h.right=this.width/this.R.width;h.bottom=this.height/this.R.height;var b=this.yb;if(this.b.jd){var a=(this.x+0.5|0)-this.x,g=(this.y+0.5|0)-this.y;d.kd(b.Ea+a,b.Fa+g,b.wb+a,b.xb+g,b.qb+a,b.rb+g,b.ob+a,b.pb+g,h)}else d.kd(b.Ea,b.Fa,b.wb,b.xb,b.qb,b.rb,b.ob,b.pb,h)};d.i=new (C());d.k=new (C());d.Ga=new (C())})();function Y(d){this.b=d}
(function(){function d(a){r=a.x;p=a.y;n=a.z}function l(a){w=a.x;s=a.y;t=a.z}function f(a,c,b,e){var d;d=v.length?v.pop():new h;d.init(a,c,b,e);return d}function h(){this.Ah=this.id=this.y=this.x=this.Fj=this.Ej=this.gl=this.time=this.mm=0;this.Fh=this.Oj=!1}function b(){}function a(){}var g=Y.prototype;g.wa=function(a){this.ra=a;this.b=a.b};g.wa.prototype.S=C();g.ea=function(a){this.type=a;this.b=a.b;this.touches=[];this.ul=!1};var c=g.ea.prototype,q={left:0,top:0};c.yg=function(a){var c,b;c=0;for(b=
this.touches.length;c<b;c++)if(this.touches[c].id===a)return c;return-1};var r=0,p=0,n=0,w=0,s=0,t=0,v=[];h.prototype.init=function(a,c,b,e){var d=Va();this.mm=this.gl=this.time=d;this.Ej=a;this.Fj=c;this.x=a;this.y=c;this.id=b;this.Ah=e;this.Fh=this.Oj=!1};h.prototype.update=function(a,c,b){this.gl=this.time;this.time=a;this.x=c;this.y=b;!this.Fh&&15<=Na(this.Ej,this.Fj,this.x,this.y)&&(this.Fh=!0)};h.prototype.$s=function(a,c){!this.Oj&&500<=Va()-this.mm&&!this.Fh&&15>Na(this.Ej,this.Fj,this.x,
this.y)&&(this.Oj=!0,a.rd=this.Ah,a.cg=this.id,a.Af=c,a.b.trigger(Y.prototype.i.bq,a),a.Ad=this.x,a.Bd=this.y,a.b.trigger(Y.prototype.i.cq,a),a.Af=0)};var k=-1E3,e=-1E3,m=-1E4;h.prototype.so=function(a,c){if(!this.Oj){var b=Va();333>=b-this.mm&&!this.Fh&&15>Na(this.Ej,this.Fj,this.x,this.y)&&(a.rd=this.Ah,a.cg=this.id,a.Af=c,666>=b-m&&25>Na(k,e,this.x,this.y)?(a.b.trigger(Y.prototype.i.Xp,a),a.Ad=this.x,a.Bd=this.y,a.b.trigger(Y.prototype.i.Yp,a),e=k=-1E3,m=-1E4):(a.b.trigger(Y.prototype.i.nq,a),
a.Ad=this.x,a.Bd=this.y,a.b.trigger(Y.prototype.i.oq,a),k=this.x,e=this.y,m=b),a.Af=0)}};c.S=function(){this.Ef=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.Af=this.cg=this.rd=this.Bd=this.Ad=this.Tm=this.Sm=this.Rm=this.Cq=this.Bq=this.Aq=this.lh=this.kh=this.jh=0;this.du=0!==this.C[0];var a=0<this.b.Fb?document:this.b.canvas,c=document;this.b.Ab?c=a=window.Canvas:this.b.jc&&(c=a=window);var b=this;window.navigator.pointerEnabled?(a.addEventListener("pointerdown",function(a){b.ih(a)},
!1),a.addEventListener("pointermove",function(a){b.hh(a)},!1),c.addEventListener("pointerup",function(a){b.Ld(a,!1)},!1),c.addEventListener("pointercancel",function(a){b.Ld(a,!0)},!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){b.ih(a)},!1),a.addEventListener("MSPointerMove",function(a){b.hh(a)},!1),c.addEventListener("MSPointerUp",function(a){b.Ld(a,!1)},!1),c.addEventListener("MSPointerCancel",function(a){b.Ld(a,!0)},!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){b.ij(a)},
!1),a.addEventListener("touchmove",function(a){b.hj(a)},!1),c.addEventListener("touchend",function(a){b.Vf(a,!1)},!1),c.addEventListener("touchcancel",function(a){b.Vf(a,!0)},!1));if(this.Ef){var e=function(a){a=a.reading;b.Rm=a.accelerationX;b.Sm=a.accelerationY;b.Tm=a.accelerationZ},f=function(a){a=a.reading;b.jh=a.yawDegrees;b.kh=a.pitchDegrees;b.lh=a.rollDegrees},g=Windows.Devices.Sensors.Accelerometer.getDefault();g&&(g.reportInterval=Math.max(g.minimumReportInterval,16),g.addEventListener("readingchanged",
e));var h=Windows.Devices.Sensors.Inclinometer.getDefault();h&&(h.reportInterval=Math.max(h.minimumReportInterval,16),h.addEventListener("readingchanged",f));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?(g&&g.removeEventListener("readingchanged",e),h&&h.removeEventListener("readingchanged",f)):(g&&g.addEventListener("readingchanged",e),h&&h.addEventListener("readingchanged",f))},!1)}else window.addEventListener("deviceorientation",function(a){b.jh=a.alpha||
0;b.kh=a.beta||0;b.lh=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(b.Aq=a.accelerationIncludingGravity.x||0,b.Bq=a.accelerationIncludingGravity.y||0,b.Cq=a.accelerationIncludingGravity.z||0);a.acceleration&&(b.Rm=a.acceleration.x||0,b.Sm=a.acceleration.y||0,b.Tm=a.acceleration.z||0)},!1);this.du&&!this.b.ya&&(jQuery(document).mousemove(function(a){b.Hl(a)}),jQuery(document).mousedown(function(a){b.Gl(a)}),jQuery(document).mouseup(function(a){b.Il(a)}));
this.b.Cf&&!this.b.Ab&&AppMobi.accelerometer.watchAcceleration(d,{frequency:40,adjustForRotation:!0});this.b.Pc&&navigator.accelerometer&&navigator.accelerometer.watchAcceleration&&navigator.accelerometer.watchAcceleration(l,null,{frequency:40});this.b.Ut(this)};c.hh=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var c=this.yg(a.pointerId),b=Va();if(0<=c){var e=this.b.ya?q:jQuery(this.b.canvas).offset(),c=this.touches[c];2>b-c.time||
c.update(b,a.pageX-e.left,a.pageY-e.top)}}};c.ih=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&eb(a)&&a.preventDefault();var c=this.b.ya?q:jQuery(this.b.canvas).offset(),b=a.pageX-c.left,c=a.pageY-c.top;Va();this.rd=this.touches.length;this.cg=a.pointerId;this.touches.push(f(b,c,a.pointerId,this.rd));this.b.Qb=!0;this.b.trigger(Y.prototype.i.Mm,this);this.b.trigger(Y.prototype.i.Om,this);this.Ad=b;this.Bd=c;this.b.trigger(Y.prototype.i.Zj,this);
this.b.Qb=!1}};c.Ld=function(a,c){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&eb(a)&&a.preventDefault();var b=this.yg(a.pointerId);this.rd=0<=b?this.touches[b].Ah:-1;this.cg=0<=b?this.touches[b].id:-1;this.b.Qb=!0;this.b.trigger(Y.prototype.i.Lm,this);this.b.trigger(Y.prototype.i.Nm,this);0<=b&&(c||this.touches[b].so(this,b),100>v.length&&v.push(this.touches[b]),this.touches.splice(b,1));this.b.Qb=!1}};c.hj=function(a){a.preventDefault&&a.preventDefault();
var c=Va(),b,e,d,f;b=0;for(e=a.changedTouches.length;b<e;b++)if(d=a.changedTouches[b],f=this.yg(d.identifier),0<=f){var g=this.b.ya?q:jQuery(this.b.canvas).offset();f=this.touches[f];2>c-f.time||f.update(c,d.pageX-g.left,d.pageY-g.top)}};c.ij=function(a){a.preventDefault&&eb(a)&&a.preventDefault();var c=this.b.ya?q:jQuery(this.b.canvas).offset();Va();this.b.Qb=!0;var b,e,d,g;b=0;for(e=a.changedTouches.length;b<e;b++)if(d=a.changedTouches[b],g=this.yg(d.identifier),-1===g){g=d.pageX-c.left;var h=d.pageY-
c.top;this.rd=this.touches.length;this.cg=d.identifier;this.touches.push(f(g,h,d.identifier,this.rd));this.b.trigger(Y.prototype.i.Mm,this);this.b.trigger(Y.prototype.i.Om,this);this.Ad=g;this.Bd=h;this.b.trigger(Y.prototype.i.Zj,this)}this.b.Qb=!1};c.Vf=function(a,c){a.preventDefault&&eb(a)&&a.preventDefault();this.b.Qb=!0;var b,e,d;b=0;for(e=a.changedTouches.length;b<e;b++)d=a.changedTouches[b],d=this.yg(d.identifier),0<=d&&(this.rd=this.touches[d].Ah,this.cg=this.touches[d].id,this.b.trigger(Y.prototype.i.Lm,
this),this.b.trigger(Y.prototype.i.Nm,this),c||this.touches[d].so(this,d),100>v.length&&v.push(this.touches[d]),this.touches.splice(d,1));this.b.Qb=!1};c.pv=function(){return this.b.Cf&&0===this.jh&&0!==n?90*n:this.b.Pc&&0===this.jh&&0!==t?90*t:this.jh};c.qv=function(){return this.b.Cf&&0===this.kh&&0!==p?-90*p:this.b.Pc&&0===this.kh&&0!==s?-90*s:this.kh};c.uv=function(){return this.b.Cf&&0===this.lh&&0!==r?90*r:this.b.Pc&&0===this.lh&&0!==w?90*w:this.lh};c.Gl=function(a){a.preventDefault&&this.b.Nk&&
!this.b.fd&&a.preventDefault();this.ij({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.ul=!0};c.Hl=function(a){this.ul&&this.hj({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};c.Il=function(a){a.preventDefault&&this.b.Nk&&!this.b.fd&&a.preventDefault();this.b.Nk=!0;this.Vf({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.ul=!1};c.Jj=function(){var a,c,b,e=Va();a=0;for(c=this.touches.length;a<c;++a)b=this.touches[a],b.time<=e-50&&(b.gl=e),b.$s(this,
a)};b.prototype.Om=L(!0);b.prototype.Nm=L(!0);b.prototype.Zj=function(a){return a?this.b.Hj(a,this.Ad,this.Bd):!1};var x=[];b.prototype.Sd=function(a){if(!a)return!1;var c=a.Y(),b=c.ic(),e,d,f,g,h,k;f=0;for(g=b.length;f<g;f++){var l=b[f];l.qa();h=0;for(k=this.touches.length;h<k;h++)if(d=this.touches[h],e=l.j.Sa(d.x,d.y,!0),d=l.j.Sa(d.x,d.y,!1),l.zb(e,d)){x.push(l);break}}return x.length?(c.ka=!1,ta(c.e,x),a.pc(),x.length=0,!0):!1};b.prototype.Mm=function(a){a=Math.floor(a);return a===this.rd};b.prototype.Lm=
function(a){a=Math.floor(a);return a===this.rd};b.prototype.bq=L(!0);b.prototype.nq=L(!0);b.prototype.Xp=L(!0);b.prototype.cq=function(a){return a?this.b.Hj(a,this.Ad,this.Bd):!1};b.prototype.oq=function(a){return a?this.b.Hj(a,this.Ad,this.Bd):!1};b.prototype.Yp=function(a){return a?this.b.Hj(a,this.Ad,this.Bd):!1};g.i=new b;a.prototype.yq=function(a,c){var b=this.Af;if(0>b||b>=this.touches.length)a.J(0);else{var e,d,f,g,h;da(c)?(e=this.b.Bg(0),d=e.scale,f=e.Yc,g=e.Ac,h=e.m,e.scale=this.b.ja.scale,
e.Yc=1,e.Ac=1,e.m=this.b.ja.m,a.J(e.Sa(this.touches[b].x,this.touches[b].y,!0)),e.scale=d,e.Yc=f,e.Ac=g,e.m=h):(e=ea(c)?this.b.Bg(c):this.b.Ik(c))?a.J(e.Sa(this.touches[b].x,this.touches[b].y,!0)):a.J(0)}};a.prototype.$j=function(a,c){var b=this.Af;if(0>b||b>=this.touches.length)a.J(0);else{var e,d,f,g,h;da(c)?(e=this.b.Bg(0),d=e.scale,f=e.Yc,g=e.Bc,h=e.m,e.scale=this.b.ja.scale,e.Yc=1,e.Bc=1,e.m=this.b.ja.m,a.J(e.Sa(this.touches[b].x,this.touches[b].y,!1)),e.scale=d,e.Yc=f,e.Bc=g,e.m=h):(e=ea(c)?
this.b.Bg(c):this.b.Ik(c))?a.J(e.Sa(this.touches[b].x,this.touches[b].y,!1)):a.J(0)}};g.Ga=new a})();function ic(d){this.b=d}
(function(){function d(){}function l(){}function f(){}var h=ic.prototype;h.wa=function(a){this.ra=a;this.b=a.b};h.wa.prototype.S=C();h.ea=function(a){this.type=a;this.b=a.b};var b=h.ea.prototype,a="",g="undefined"!==typeof window.is_scirra_arcade;g&&(a="arcade"+window.scirra_arcade_id);b.S=C();d.prototype.Rp=function(c){return null!=localStorage.getItem(a+c)};d.prototype.kq=L(!0);h.i=new d;l.prototype.tq=function(c,b){try{localStorage.setItem(a+c,b)}catch(d){this.b.trigger(ic.prototype.i.kq,this)}};
h.k=new l;f.prototype.Uj=function(c,b){c.Wb(localStorage.getItem(a+b)||"")};f.prototype.Gm=function(c){var b={},d,f,h;d=0;for(f=localStorage.length;d<f;d++)h=localStorage.key(d),g?h.substr(0,a.length)===a&&(b[h.substr(a.length)]=localStorage.getItem(h)):b[h]=localStorage.getItem(h);c.Wb(JSON.stringify({c2dictionary:!0,data:b}))};h.Ga=new f})();function jc(d){this.b=d}
(function(){function d(){}var l=jc.prototype;l.wa=function(b){this.ra=b;this.b=b.b};l.wa.prototype.S=C();l.ea=function(b){this.type=b;this.b=b.b};var f=l.ea.prototype,h=!1;f.S=function(){this.Ef=this.b.$n;this.Bp=0;this.al=0!==this.C[0];this.lp=0!==this.C[1];this.np=0!==this.C[2];this.mp=0!==this.C[3];this.nn=null;var b=this;if(this.Ef){var a=Windows.ApplicationModel.Store;this.nn=this.al?a.CurrentAppSimulator:a.CurrentApp;this.al&&(new Windows.UI.Popups.MessageDialog("Note: this Windows 8 app is in Test Mode, designed for testing purchases. Before publishing, be sure to set Test Mode to 'No' in the Windows 8 object's properties.")).showAsync();
window.addEventListener("resize",function(){b.Bp=Windows.UI.ViewManagement.ApplicationView.value;b.b.trigger(jc.prototype.i.pq,b)});Windows.Storage.ApplicationData.current.addEventListener("datachanged",function(){b.b.trigger(jc.prototype.i.Vp,b)});Windows.ApplicationModel.DataTransfer.DataTransferManager.getForCurrentView().addEventListener("datarequested",function(a){h=!1;b.b.trigger(jc.prototype.i.lq,b);h||a.request.failWithDisplayText("Try selecting a different option before sharing.")});this.nn.licenseInformation.addEventListener("licensechanged",
function(){b.b.trigger(jc.prototype.i.hq,b)});(this.lp||this.np||this.mp)&&WinJS.Application.addEventListener("settings",function(a){var c={};b.lp&&(c.about={title:"About",href:"/about.html"});b.np&&(c.support={title:"Support",href:"/support.html"});b.mp&&(c.privacy={title:"Privacy Policy",href:"/privacy.html"});a.detail.applicationcommands=c;WinJS.UI.SettingsFlyout.populateSettings(a)});this.al&&Windows.ApplicationModel.Package.current.installedLocation.getFileAsync("WindowsStoreProxy.xml").done(function(a){Windows.ApplicationModel.Store.CurrentAppSimulator.reloadSimulatorAsync(a).done(function(){console.log("[Construct 2] Test mode; loaded WindowsStoreProxy.xml")},
function(a){console.log("[Construct 2] Error loading WindowsStoreProxy.xml: "+a)})},function(a){console.log("[Construct 2] Error loading WindowsStoreProxy.xml: "+a)})}};f.Ev=function(){return this.Ef?Windows.Storage.ApplicationData.current.roamingSettings.values:null};d.prototype.ig=F("Ef");d.prototype.pq=function(b){return this.Ef?b===this.Bp:!1};d.prototype.Vp=L(!0);d.prototype.lq=L(!0);d.prototype.hq=L(!0);l.i=new d;l.k=new (C());l.Ga=new (C())})();
function kc(d){this.b=d;var l=this;this.b.ya||(jQuery(document).mousemove(function(d){l.Hl(d)}),jQuery(document).mousedown(function(d){l.Gl(d)}),jQuery(document).mouseup(function(d){l.Il(d)}));d=0<this.b.Fb?document:this.b.canvas;this.b.Ab?d=window.Canvas:this.b.jc&&(d=window);window.navigator.pointerEnabled?(d.addEventListener("pointerdown",function(d){l.ih(d)},!1),d.addEventListener("pointermove",function(d){l.hh(d)},!1),d.addEventListener("pointerup",function(d){l.Ld(d)},!1),d.addEventListener("pointercancel",
function(d){l.Ld(d)},!1)):window.navigator.msPointerEnabled?(d.addEventListener("MSPointerDown",function(d){l.ih(d)},!1),d.addEventListener("MSPointerMove",function(d){l.hh(d)},!1),d.addEventListener("MSPointerUp",function(d){l.Ld(d)},!1),d.addEventListener("MSPointerCancel",function(d){l.Ld(d)},!1)):(d.addEventListener("touchstart",function(d){l.ij(d)},!1),d.addEventListener("touchmove",function(d){l.hj(d)},!1),d.addEventListener("touchend",function(d){l.Vf(d)},!1),d.addEventListener("touchcancel",
function(d){l.Vf(d)},!1))}
(function(){function d(a){var b,c;b=0;for(c=a.L.length;b<c;b++)if(a.L[b]instanceof f.ea)return a.L[b];return null}function l(){}var f=kc.prototype,h={left:0,top:0};f.Gl=function(a){1===a.which&&this.Bl("leftmouse",a.pageX,a.pageY)};f.Hl=function(a){1===a.which&&this.Cl("leftmouse",a.pageX,a.pageY)};f.Il=function(a){1===a.which&&this.Dl("leftmouse")};f.ij=function(a){a.preventDefault&&eb(a)&&a.preventDefault();var b,c,d,f;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],f=d.identifier,
this.Bl(f?f.toString():"<none>",d.pageX,d.pageY)};f.hj=function(a){a.preventDefault&&a.preventDefault();var b,c,d,f;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],f=d.identifier,this.Cl(f?f.toString():"<none>",d.pageX,d.pageY)};f.Vf=function(a){a.preventDefault&&eb(a)&&a.preventDefault();var b,c,d;b=0;for(c=a.changedTouches.length;b<c;b++)d=a.changedTouches[b],d=d.identifier,this.Dl(d?d.toString():"<none>")};f.ih=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType&&
(a.preventDefault&&eb(a)&&a.preventDefault(),this.Bl(a.pointerId.toString(),a.pageX,a.pageY))};f.hh=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType&&(a.preventDefault&&a.preventDefault(),this.Cl(a.pointerId.toString(),a.pageX,a.pageY))};f.Ld=function(a){a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType&&(a.preventDefault&&eb(a)&&a.preventDefault(),this.Dl(a.pointerId.toString()))};f.Bl=function(a,b,c){var f=this.b.ya?h:jQuery(this.b.canvas).offset();b-=f.left;
c-=f.top;var l,p,n,w,f=this.Qf.td(),s,t,v,k=null;s=0;for(t=f.length;s<t;s++)if(v=f[s],l=d(v),l.enabled&&!l.Ce&&(l=v.j.Sa(b,c,!0),p=v.j.Sa(b,c,!1),v.qa(),v.zb(l,p)))k?v.j.index>k.j.index?(k=v,n=l,w=p):v.j.index===k.j.index&&v.Gb()>k.Gb()&&(k=v,n=l,w=p):(k=v,n=l,w=p);k&&d(k).gt(a,n,w)};f.Cl=function(a,b,c){var f=this.b.ya?h:jQuery(this.b.canvas).offset();b-=f.left;c-=f.top;var l,p=this.Qf.td(),n,w,s;n=0;for(w=p.length;n<w;n++)l=p[n],s=d(l),!s.enabled||!s.Ce||s.Ce&&s.rk!==a||(f=l.j.Sa(b,c,!0),l=l.j.Sa(b,
c,!1),s.jt(f,l))};f.Dl=function(a){var b=this.Qf.td(),c,f,h;c=0;for(f=b.length;c<f;c++)h=b[c],h=d(h),h.Ce&&h.rk===a&&h.mt()};f.wa=function(a){this.gb=a;this.b=a.b};f.wa.prototype.S=C();f.ea=function(a,b){this.type=a;this.gb=a.gb;this.d=b;this.b=a.b};var b=f.ea.prototype;b.S=function(){this.Ce=!1;this.ba=this.G=0;this.rk="<none>";this.ek=this.C[0];this.enabled=0!==this.C[1]};b.Kb=function(){return{enabled:this.enabled}};b.mc=function(a){this.enabled=a.enabled;this.Ce=!1};b.gt=function(a,b,c){this.G=
b-this.d.x;this.ba=c-this.d.y;this.Ce=!0;this.rk=a;this.b.Qb=!0;this.b.trigger(kc.prototype.i.Zp,this.d);this.b.Qb=!1};b.jt=function(a,b){var c=a-this.G,d=b-this.ba;if(0===this.ek){if(this.d.x!==c||this.d.y!==d)this.d.x=c,this.d.y=d,this.d.u()}else 1===this.ek?this.d.x!==c&&(this.d.x=c,this.d.u()):2===this.ek&&this.d.y!==d&&(this.d.y=d,this.d.u())};b.mt=function(){this.Ce=!1;this.b.Qb=!0;this.b.trigger(kc.prototype.i.$p,this.d);this.b.Qb=!1};b.Ya=C();l.prototype.Zp=L(!0);l.prototype.$p=L(!0);f.i=
new l;f.k=new (C());f.Ga=new (C())})();function Z(d){this.b=d}
(function(){function d(){}function l(){}var f=Z.prototype;f.wa=function(b){this.gb=b;this.b=b.b};f.wa.prototype.S=C();f.ea=function(b,a){this.type=b;this.gb=b.gb;this.d=a;this.b=b.b;this.Aj=this.km=this.jm=this.Rk=this.Jf=this.Pg=this.wj=this.Yi=!1;this.Rb=null;this.kl=-1;this.Oe=this.Ne=0;this.vi=!1;this.vf=this.Lc=0;this.ti=!0;this.ba=this.G=0};var h=f.ea.prototype;h.ym=function(){this.Ma=Math.cos(this.xf);this.Na=Math.sin(this.xf);this.Ye=Math.cos(this.xf-Math.PI/2);this.Ze=Math.sin(this.xf-Math.PI/
2);this.Ma=bb(this.Ma);this.Na=bb(this.Na);this.Ye=bb(this.Ye);this.Ze=bb(this.Ze);this.yi=this.dd;0>this.dd&&(this.Ma*=-1,this.Na*=-1,this.dd=Math.abs(this.dd))};h.S=function(){this.Of=this.C[0];this.Jc=this.C[1];this.sf=this.C[2];this.Qi=this.C[3];this.yi=this.dd=this.C[4];this.Ue=this.C[5];this.Xq=1===this.C[6];this.enabled=0!==this.C[7];this.hg=!1;this.Kh=this.b.ve(this.d);this.ll=-1;this.xf=O(90);this.ym();var b=this;this.Xq&&!this.b.ya&&(jQuery(document).keydown(function(a){b.ht(a)}),jQuery(document).keyup(function(a){b.it(a)}));
this.nc||(this.xo=function(a){b.El(a)});this.b.ak(this.xo);this.d.D.yv=!0};h.Kb=function(){return{ii:this.Rk,lfx:this.Ne,lfy:this.Oe,lfo:this.Rb?this.Rb.uid:-1,am:this.Lc,en:this.enabled,fall:this.vf,ft:this.ti,dx:this.G,dy:this.ba,ms:this.Of,acc:this.Jc,dec:this.sf,js:this.Qi,g:this.dd,g1:this.yi,mf:this.Ue,wof:this.hg,woj:this.Kh?this.Kh.uid:-1,ga:this.xf}};h.mc=function(b){this.Rk=b.ii;this.Ne=b.lfx;this.Oe=b.lfy;this.kl=b.lfo;this.Lc=b.am;this.enabled=b.en;this.vf=b.fall;this.ti=b.ft;this.G=b.dx;
this.ba=b.dy;this.Of=b.ms;this.Jc=b.acc;this.sf=b.dec;this.Qi=b.js;this.dd=b.g;this.yi=b.g1;this.Ue=b.mf;this.hg=b.wof;this.ll=b.woj;this.xf=b.ga;this.Aj=this.km=this.jm=this.Jf=this.Pg=this.wj=this.Yi=!1;this.ym()};h.Zc=function(){this.Rb=-1===this.kl?null:this.b.zf(this.kl);this.Kh=-1===this.ll?null:this.b.zf(this.ll)};h.El=function(b){this.Rb==b&&(this.Rb=null)};h.Uf=function(){this.Rb=null;this.b.Bt(this.xo)};h.ht=function(b){switch(b.which){case 38:b.preventDefault();this.Pg=!0;break;case 37:b.preventDefault();
this.Yi=!0;break;case 39:b.preventDefault(),this.wj=!0}};h.it=function(b){switch(b.which){case 38:b.preventDefault();this.Jf=this.Pg=!1;break;case 37:b.preventDefault();this.Yi=!1;break;case 39:b.preventDefault(),this.wj=!1}};h.tv=function(){return 0>this.dd?-1:1};h.Wn=function(){var b=null,a=null,d,c;d=this.d.x;c=this.d.y;this.d.x+=this.Ma;this.d.y+=this.Na;this.d.u();if(this.Rb&&this.b.Gc(this.d,this.Rb))return this.d.x=d,this.d.y=c,this.d.u(),this.Rb;(b=this.b.Lb(this.d))||0!==this.vf||(a=this.b.ve(this.d,
!0));this.d.x=d;this.d.y=c;this.d.u();if(b){if(this.b.Gc(this.d,b))return null;this.vi=!1;return b}if(a&&a.length){c=b=0;for(d=a.length;b<d;b++)a[c]=a[b],this.b.Gc(this.d,a[b])||c++;if(1<=c)return this.vi=!0,a[0]}return null};h.Ya=C();h.So=function(){var b=this.b.Ci(this.d),a,d,c,f,h,l,n,w,s;this.Pg||this.Aj||(this.Jf=!1);var t=this.Yi||this.jm;c=this.wj||this.km;var v=(this.Pg||this.Aj)&&!this.Jf;this.Aj=this.km=this.jm=!1;if(this.enabled){this.Rk&&(v=c=t=!1);w=this.Rb;s=!1;this.ti&&((this.b.Lb(this.d)||
this.b.ve(this.d))&&this.b.Cc(this.d,-this.Ma,-this.Na,4,!0),this.ti=!1);!w||0!==this.ba||w.y===this.Oe&&w.x===this.Ne||(a=w.x-this.Ne,d=w.y-this.Oe,this.d.x+=a,this.d.y+=d,this.d.u(),this.Ne=w.x,this.Oe=w.y,s=!0,this.b.Lb(this.d)&&this.b.Cc(this.d,-a,-d,2.5*Math.sqrt(a*a+d*d)));var k=this.Wn();if(d=this.b.Lb(this.d))if(this.d.D.xv)this.b.Cc(this.d,-this.Ma,-this.Na,10,!1);else if(this.b.zt(this.d,Math.max(this.d.width,this.d.height)/2))this.b.rh(this.d,d);else return;k?(0<this.ba&&(this.hg||(this.b.Tl(this.d,
-this.Ma,-this.Na,k),this.hg=!0),this.ba=0),w!=k?(this.Rb=k,this.Ne=k.x,this.Oe=k.y,this.b.rh(this.d,k)):s&&(d=this.b.Lb(this.d))&&(this.b.rh(this.d,d),0!==a&&(0<a?this.b.Cc(this.d,-this.Ye,-this.Ze):this.b.Cc(this.d,this.Ye,this.Ze)),this.b.Cc(this.d,-this.Ma,-this.Na)),v&&(w=this.d.x,s=this.d.y,this.d.x-=this.Ma,this.d.y-=this.Na,this.d.u(),this.b.Lb(this.d)?v=!1:(this.b.trigger(Z.prototype.i.dq,this.d),this.Lc=2,this.ba=-this.Qi,this.Jf=!0),this.d.x=w,this.d.y=s,this.d.u())):(this.Rb=null,this.ba+=
this.dd*b,this.ba>this.Ue&&(this.ba=this.Ue),v&&(this.Jf=!0));this.hg=!!k;t==c&&(0>this.G?(this.G+=this.sf*b,0<this.G&&(this.G=0)):0<this.G&&(this.G-=this.sf*b,0>this.G&&(this.G=0)));t&&!c&&(this.G=0<this.G?this.G-(this.Jc+this.sf)*b:this.G-this.Jc*b);c&&!t&&(this.G=0>this.G?this.G+(this.Jc+this.sf)*b:this.G+this.Jc*b);this.G>this.Of?this.G=this.Of:this.G<-this.Of&&(this.G=-this.Of);t=!1;0!==this.G&&(w=this.d.x,s=this.d.y,a=this.G*b*this.Ye,d=this.G*b*this.Ze,this.d.x+=this.Ye*(1<this.G?1:-1)-this.Ma,
this.d.y+=this.Ze*(1<this.G?1:-1)-this.Na,this.d.u(),f=!1,h=this.b.Lb(this.d),this.d.x=w+a,this.d.y=s+d,this.d.u(),c=this.b.Lb(this.d),!c&&k&&(c=this.b.ve(this.d))&&(this.d.x=w,this.d.y=s,this.d.u(),this.b.Gc(this.d,c)?(c=null,f=!1):f=!0,this.d.x=w+a,this.d.y=s+d,this.d.u()),c?(a=Math.abs(this.G*b)+2,h||!this.b.Cc(this.d,-this.Ma,-this.Na,a,f,c))?(this.b.rh(this.d,c),a=Math.max(Math.abs(2.5*this.G*b),30),this.b.Cc(this.d,this.Ye*(0>this.G?1:-1),this.Ze*(0>this.G?1:-1),a,!1)?!k||f||this.vi||(w=this.d.x,
s=this.d.y,this.d.x+=this.Ma,this.d.y+=this.Na,this.b.Lb(this.d)?this.b.Cc(this.d,-this.Ma,-this.Na,3,!1)||(this.d.x=w,this.d.y=s,this.d.u()):(this.d.x=w,this.d.y=s,this.d.u())):(this.d.x=w,this.d.y=s,this.d.u()),f||(this.G=0)):!h&&!v&&Math.abs(this.ba)<Math.abs(this.Qi/4)&&(this.ba=0,k||(t=!0)):(w=this.Wn(),k&&!w?(d=Math.ceil(Math.abs(this.G*b))+2,w=this.d.x,s=this.d.y,this.d.x+=this.Ma*d,this.d.y+=this.Na*d,this.d.u(),this.b.Lb(this.d)||this.b.ve(this.d)?this.b.Cc(this.d,-this.Ma,-this.Na,d+2,!0):
(this.d.x=w,this.d.y=s,this.d.u())):w&&0===this.ba&&this.b.Tl(this.d,-this.Ma,-this.Na,w)));if(0!==this.ba){w=this.d.x;s=this.d.y;this.d.x+=this.ba*b*this.Ma;this.d.y+=this.ba*b*this.Na;a=this.d.x;c=this.d.y;this.d.u();d=this.b.Lb(this.d);f=!1;if(!d&&0<this.ba&&!k){if((f=0<this.vf?null:this.b.ve(this.d,!0))&&f.length){if(this.Kh){this.d.x=w;this.d.y=s;this.d.u();n=h=0;for(l=f.length;h<l;h++)f[n]=f[h],this.b.Gc(this.d,f[h])||n++;f.length=n;this.d.x=a;this.d.y=c;this.d.u()}1<=f.length&&(d=f[0])}f=!!d}d&&
(this.b.rh(this.d,d),a=f?Math.abs(2.5*this.ba*b+10):Math.max(Math.abs(2.5*this.ba*b+10),30),this.b.Cc(this.d,this.Ma*(0>this.ba?1:-1),this.Na*(0>this.ba?1:-1),a,f,d)?(this.Rb=d,this.Ne=d.x,this.Oe=d.y,(this.vi=f)&&(t=!0),this.ba=0):(this.d.x=w,this.d.y=s,this.d.u(),this.hg=!0,f||(this.ba=0)))}3!==this.Lc&&0<this.ba&&!k&&(this.b.trigger(Z.prototype.i.aq,this.d),this.Lc=3);if(k||t)3===this.Lc||t||v&&0===this.ba?(this.b.trigger(Z.prototype.i.fq,this.d),this.Lc=0===this.G&&0===this.ba?0:1):(0!==this.Lc&&
0===this.G&&0===this.ba&&(this.b.trigger(Z.prototype.i.mq,this.d),this.Lc=0),1===this.Lc||0===this.G&&0===this.ba||v||(this.b.trigger(Z.prototype.i.jq,this.d),this.Lc=1));0<this.vf&&this.vf--;this.Kh=this.b.ve(this.d)}};d.prototype.dq=L(!0);d.prototype.aq=L(!0);d.prototype.mq=L(!0);d.prototype.jq=L(!0);d.prototype.fq=L(!0);f.i=new d;l.prototype.Td=function(b){this.yi!==b&&(this.dd=b,this.ym(),this.b.Lb(this.d)&&(this.b.Cc(this.d,this.Ma,this.Na,10),this.d.x+=2*this.Ma,this.d.y+=2*this.Na,this.d.u()),
this.Rb=null)};l.prototype.Ud=function(b){this.Ue=b;0>this.Ue&&(this.Ue=0)};f.k=new l;f.Ga=new (C())})();function lc(d){this.b=d}
(function(){var d=lc.prototype;d.wa=function(d){this.gb=d;this.b=d.b};d.wa.prototype.S=C();d.ea=function(d,h){this.type=d;this.gb=d.gb;this.d=h;this.b=d.b};var l=d.ea.prototype;l.S=function(){this.speed=O(this.C[0]);this.Jc=O(this.C[1])};l.Kb=function(){return{speed:this.speed,acc:this.Jc}};l.mc=function(d){this.speed=d.speed;this.Jc=d.acc};l.Ya=function(){var d=this.b.Ci(this.d);0!==d&&(0!==this.Jc&&(this.speed+=this.Jc*d),0!==this.speed&&(this.d.m=Ba(this.d.m+this.speed*d),this.d.u()))};d.i=new (C());
d.k=new (C());d.Ga=new (C())})();function qc(d){this.b=d}
(function(){var d=qc.prototype;d.wa=function(d){this.gb=d;this.b=d.b};d.wa.prototype.S=C();d.ea=function(d,f){this.type=d;this.gb=d.gb;this.d=f;this.b=d.b;this.mode=0};d=d.ea.prototype;d.S=function(){this.mode=this.C[0]};d.Ya=C();d.Jj=function(){this.d.qa();var d=this.d.Ba,f=this.d.j.ma,h=!1;0===this.mode?(0>this.d.x&&(this.d.x=0,h=!0),0>this.d.y&&(this.d.y=0,h=!0),this.d.x>f.width&&(this.d.x=f.width,h=!0),this.d.y>f.height&&(this.d.y=f.height,h=!0)):(0>d.left&&(this.d.x-=d.left,h=!0),0>d.top&&(this.d.y-=
d.top,h=!0),d.right>f.width&&(this.d.x-=d.right-f.width,h=!0),d.bottom>f.height&&(this.d.y-=d.bottom-f.height,h=!0));h&&this.d.u()}})();
function ec(){return[null,null,[[fc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[V,!0,!1,!1,!1,!1,!1,!1,!1,!1],[ic,!0,!1,!1,!1,!1,!1,!1,!1,!1],[jc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[gc,!1,!0,!0,!0,!0,!0,!0,!0,!1],[Y,!0,!1,!1,!1,!1,!1,!1,!1,!1],[U,!1,!0,!0,!0,!0,!0,!0,!0,!1],[hc,!1,!0,!0,!0,!0,!0,!0,!0,!0]],[["t0",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,6792270531513993,[["images/sprite-sheet0.png",3841,0,0,480,800,1,0.5,0.5,[],[],1]]]],[],!1,!1,7169423519668497,[],null],["t1",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,
0xa68f95c5f9bc1,[["images/play-sheet0.png",1346,0,0,93,105,1,0.5053763389587402,0.5047619342803955,[],[-0.3225803375244141,-0.3428569436073303,-0.0107523500919342,-0.4952381253242493,0.3118276596069336,-0.3428569436073303,0.4946236610412598,-0.009523928165435791,0.3225806355476379,0.3428570628166199,-0.0107523500919342,0.4952380657196045,-0.3225803375244141,0.3333330750465393,-0.5053763389587402,-0.009523928165435791],0]]]],[],!1,!1,8682971282873045,[],null],["t2",U,!1,[],0,0,null,[["Default",5,!1,
1,0,!1,5338519950423002,[["images/ht-sheet0.png",1256,0,0,93,105,1,0.5053763389587402,0.5047619342803955,[],[-0.3225803375244141,-0.3428569436073303,-0.0107523500919342,-0.4952381253242493,0.3118276596069336,-0.3428569436073303,0.4946236610412598,-0.009523928165435791,0.3225806355476379,0.3428570628166199,-0.0107523500919342,0.4952380657196045,-0.3333333432674408,0.3428570628166199,-0.5053763389587402,-0.009523928165435791],0]]]],[],!1,!1,0xd90fef5c3911c,[],null],["t3",U,!1,[],0,0,null,[["Default",
5,!1,1,0,!1,7769171654452714,[["images/hs-sheet0.png",1394,0,0,93,106,1,0.5053763389587402,0.5,[],[-0.3225803375244141,-0.3396230041980743,-0.0107523500919342,-0.4811320900917053,0.3118276596069336,-0.3396230041980743,0.4946236610412598,0,0.3225806355476379,0.3490570187568665,-0.0107523500919342,0.4905660152435303,-0.3225803375244141,0.339622974395752,-0.5053763389587402,0],0]]]],[],!1,!1,0x9f14be37d02c2,[],null],["t4",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,473816650447619,[["images/ab-sheet0.png",
1136,0,0,93,105,1,0.5053763389587402,0.5047619342803955,[],[-0.3225803375244141,-0.3428569436073303,-0.0107523500919342,-0.4857143461704254,0.3118276596069336,-0.3428569436073303,0.4946236610412598,-0.009523928165435791,0.3333336710929871,0.3523810505867004,-0.0107523500919342,0.4952380657196045,-0.3333333432674408,0.3428570628166199,-0.5053763389587402,-0.009523928165435791],0]]]],[],!1,!1,6046484459542172,[],null],["t5",Y,!1,[],0,0,null,null,[],!1,!1,5871070963561874,[],null,[1]],["t6",U,!1,[],
0,0,null,[["Default",5,!1,1,0,!1,0x76e2c650f87b9,[["images/sprite2-sheet0.png",3117,0,0,480,800,1,0.5,0.5,[],[],1]]]],[],!1,!1,9960236177055520,[],null],["t7",hc,!1,[],0,0,["images/tiledbackground.png",516,0],null,[],!1,!1,7878496105927185,[],null],["t8",hc,!1,[],0,0,["images/tiledbackground2.png",7443,0],null,[],!1,!1,0xb011bc661f626,[],null],["t9",U,!1,[],1,0,null,[["Default",5,!1,1,0,!1,6605431932723785,[["images/sprite3-sheet0.png",1425,0,0,74,75,1,0.5,0.5066666603088379,[],[-0.3541669845581055,
-0.3608336448669434,0,-0.4962499737739563,0.3541669845581055,-0.3608336448669434,0.4895830154418945,-0.006666660308837891,0.3541669845581055,0.3475003242492676,0,0.4829163551330566,-0.3541669845581055,0.3475003242492676,-0.4895833134651184,-0.006666660308837891],0]]]],[["Rotate",lc,0xd7b4afed559dd]],!1,!1,6095958421270487,[],null],["t10",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,4668654029619528,[["images/bugspwn-sheet0.png",168,0,0,250,250,1,0.5,0.5,[],[],3]]]],[],!1,!1,0xc9d0b90f90387,[],null],["t11",
U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,5009779630852759,[["images/bugspwn-sheet0.png",168,0,0,250,250,1,0.5,0.5,[],[],3]]]],[],!1,!1,7354823353785362,[],null],["t12",U,!1,[],2,0,null,[["Default",5,!1,1,0,!1,5288256097740086,[["images/sprite5-sheet0.png",8981,0,0,62,114,1,0.5,0.5,[],[-0.3366819024085999,-0.335692971944809,-4.173219203948975E-4,-0.4827586114406586,0.3383501768112183,-0.3375197350978851,0.4710207581520081,-4.56690788269043E-4,0.3375164866447449,0.3366063237190247,-4.173219203948975E-4,
0.4818452596664429,-0.3366819024085999,0.3356929421424866,-0.4693519473075867,-4.56690788269043E-4],0]]]],[["DragDrop",kc,0x5d433221af349],["BoundToLayout",qc,0x39520ada3089b]],!1,!1,940659138431556,[],null],["t13",U,!1,[],1,0,null,[["Default",5,!1,1,0,!1,9310693914198626,[["images/sprite6-sheet0.png",1086,0,0,60,60,1,0.5,0.5,[],[-0.3245609998703003,0.3113210201263428,-0.4707599878311157,0.003144979476928711,-0.002924025058746338,-0.3930820226669312,0.1900579929351807,-0.1666669845581055,0.4473683834075928,
0.003144979476928711,0.307017982006073,0.2924529910087585,-0.002924025058746338,0.4119496941566467],0]]]],[["Platform",Z,0xc40a38e7b1735]],!1,!1,0x9439917763ca2,[],null],["t14",U,!1,[],1,0,null,[["Default",10,!0,1,0,!1,0xbd9c50ab909a,[["images/sprite7-sheet0.png",738,0,0,72,69,1,0.5,0.5072463750839233,[],[-0.401960700750351,-0.2425403892993927,-0.225490003824234,-0.2425403892993927,0,-0.4974424540996552,0.2549020051956177,-0.262148380279541,0.4509810209274292,-0.3013643622398377,0.3333330154418945,
-0.00724637508392334,0.465686023235321,0.2427536249160767,0.2254899740219116,0.2182435989379883,0,0.4829496145248413,-0.1372550129890442,0.267263650894165,-0.4215683043003082,0.2280476093292236,-0.3137249946594238,-0.00724637508392334],0],["images/sprite7-sheet1.png",738,0,0,72,69,1,0.5,0.5072463750839233,[],[-0.2638888955116272,-0.260869562625885,0,-0.4637681245803833,0.25,-0.2463768124580383,0.4583333134651184,-0.01449275016784668,0.3611111044883728,0.3478260636329651,0,0.4492753744125366,-0.3333333134651184,
0.3188405632972717,-0.4583333432674408,-0.01449275016784668],0]]]],[["Platform",Z,0x3d8ff4b1a1190]],!1,!1,6349701600489546,[],null],["t15",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,5218616024733413,[["images/sprite8-sheet0.png",7562,0,0,480,800,1,0.5,0.5,[],[],1]]]],[],!1,!1,8452436696092572,[],null],["t16",gc,!1,[],0,0,null,null,[],!1,!1,0xae232c009798b,[],null],["t17",gc,!1,[],0,0,null,null,[],!1,!1,4835572275826827,[],null],["t18",gc,!1,[],0,0,null,null,[],!1,!1,4831808571745141,[],null],["t19",
U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,728625368427886,[["images/sprite9-sheet0.png",11637,0,0,480,800,1,0.5,0.5,[],[],1]]]],[],!1,!1,4951475766461021,[],null],["t20",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0xf7999ef1e600d,[["images/menu2-sheet0.png",406,0,0,82,82,1,0.5,0.5,[],[-0.2710840106010437,-0.2682929933071137,-0.006024003028869629,-0.2439019978046417,0.3915659785270691,-0.3902440071105957,0.4277110099792481,0,0.2710840106010437,0.268293023109436,-0.006024003028869629,0.2073169946670532,
-0.2590360045433044,0.2560979723930359,-0.4759036004543304,0],0]]]],[],!1,!1,4749249361352929,[],null],["t21",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,5850630173569139,[["images/sprite12-sheet0.png",2524,0,0,480,800,1,0.5,0.5,[],[],1]]]],[],!1,!1,9135440289410052,[],null],["t22",ic,!1,[],0,0,null,null,[],!1,!1,5147681792906808,[],null,[]],["t23",gc,!1,[],0,0,null,null,[],!1,!1,0xd9e35537b7ba,[],null],["t24",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,7804111875008277,[["images/sprite14-sheet0.png",8935,
0,0,480,800,1,0.5,0.5,[],[],1]]]],[],!1,!1,9721157116314564,[],null],["t25",gc,!1,[],0,0,null,null,[],!1,!1,0xd438fe88924ed,[],null],["t26",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,6541144601818037,[["images/menu2-sheet0.png",406,0,0,82,82,1,0.5,0.5,[],[-0.2710840106010437,-0.2682929933071137,-0.006024003028869629,-0.2439019978046417,0.3915659785270691,-0.3902440071105957,0.4277110099792481,0,0.2710840106010437,0.268293023109436,-0.006024003028869629,0.2073169946670532,-0.2590360045433044,0.2560979723930359,
-0.4759036004543304,0],0]]]],[],!1,!1,5360595431508773,[],null],["t27",fc,!1,[],0,0,null,null,[],!1,!1,5938545833086292,[],null,[]],["t28",V,!1,[],0,0,null,null,[],!1,!1,7449866040800858,[],null,[0,0,1,1,600,600,1E4,1,5E3,1]],["t29",jc,!1,[],0,0,null,null,[],!1,!1,6774114378229121,[],null,[1,1,1,1]],["t30",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,0x718eb8837b1e3,[["images/bugspwn-sheet0.png",168,0,0,250,250,1,0.5,0.5,[],[],3]]]],[],!1,!1,0x718e25a0f0f2f,[],null],["t31",U,!1,[],0,0,null,[["Default",
5,!1,1,0,!1,8102231516417883,[["images/menu2-sheet0.png",406,0,0,82,82,1,0.5,0.5,[],[-0.2710840106010437,-0.2682929933071137,-0.006024003028869629,-0.2439019978046417,0.3915659785270691,-0.3902440071105957,0.4277110099792481,0,0.2710840106010437,0.268293023109436,-0.006024003028869629,0.2073169946670532,-0.2590360045433044,0.2560979723930359,-0.4759036004543304,0],0]]]],[],!1,!1,6584351672969826,[],null],["t32",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,5358790146225142,[["images/play-sheet0.png",1346,
0,0,93,105,1,0.5053763389587402,0.5047619342803955,[],[-0.3225803375244141,-0.3428569436073303,-0.0107523500919342,-0.4952381253242493,0.3118276596069336,-0.3428569436073303,0.4946236610412598,-0.009523928165435791,0.3225806355476379,0.3428570628166199,-0.0107523500919342,0.4952380657196045,-0.3225803375244141,0.3333330750465393,-0.5053763389587402,-0.009523928165435791],0]]]],[],!1,!1,0x9a5cb307cbb05,[],null],["t33",U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,6727177737763251,[["images/menu-sheet0.png",
1288,0,0,93,105,1,0.5053763389587402,0.5047619342803955,[],[-0.3118283450603485,-0.3333329558372498,-0.0107523500919342,-0.4857143461704254,0.3118276596069336,-0.3428569436073303,0.4946236610412598,-0.009523928165435791,0.3333336710929871,0.3523810505867004,-0.0107523500919342,0.4952380657196045,-0.3333333432674408,0.3428570628166199,-0.4946236312389374,-0.009523928165435791],0]]]],[],!1,!1,0x3ef6a9182fe6a,[],null],["t34",U,!1,[],1,0,null,[["Default",5,!1,1,0,!1,7321891281061249,[["images/sprite18-sheet0.png",
2037,0,0,105,106,1,0.5047619342803955,0.5,[],[-0.3428569436073303,-0.3396230041980743,-0.009523928165435791,-0.4905660450458527,0.3333330750465393,-0.3396230041980743,0.4285710453987122,0,0.3523810505867004,0.3584910035133362,-0.009523928165435791,0.4528300166130066,-0.3523809313774109,0.3490570187568665,-0.419047623872757,0],0]]]],[["Rotate",lc,6299438510275809]],!1,!1,9137422245790572,[],null],["t35",hc,!1,[],0,0,["images/tiledbackground3.png",523,0],null,[],!1,!1,7333992455923311,[],null],["t36",
U,!1,[],0,0,null,[["Default",5,!1,1,0,!1,5322761664799114,[["images/sprite10-sheet0.png",292,0,0,272,63,1,0.5,0.5079365372657776,[],[-0.4889706075191498,-0.4603175520896912,0,-0.5079365372657776,0.4889709949493408,-0.4603175520896912,0.4889709949493408,0.444444477558136,0,0.4920634627342224,-0.4889706075191498,0.444444477558136],0]]]],[],!1,!1,6561866582689573,[],null],["t37",U,!1,[],0,0,null,[["Default",10,!0,1,0,!1,0xc9b79d70d57d8,[["images/sprite13-sheet0.png",1600,1,1,404,101,1,0.5,0.5049505233764648,
[],[-0.4579207897186279,-0.3366336822509766,0.4579207897186279,-0.3366336822509766,0.4876237511634827,-0.0099010169506073,0.4727723002433777,0.3861385583877564,-0.4727722704410553,0.3861385583877564,-0.4876237511634827,-0.0099010169506073],0],["images/sprite13-sheet0.png",1600,1,104,404,101,1,0.5,0.5049505233764648,[],[-0.4579207897186279,-0.3366336822509766,0.4579207897186279,-0.3366336822509766,0.4876237511634827,-0.0099010169506073,0.4727723002433777,0.3861385583877564,-0.4727722704410553,0.3861385583877564,
-0.4876237511634827,-0.0099010169506073],0]]]],[],!1,!1,0x3b4445811e127,[],null]],[],[["Menu",480,800,!1,"menu event",6324179786708334,[["Layer 0",0,0xa01901f0ed86,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[238.5,399,0,491,808,0,0,1,0.5,0.5,0,0,[]],0,0,[],[],[0,"Default",0,1]],[[141,481,0,120,119,0,0,1,0.5053763389587402,0.5047619342803955,0,0,[]],1,1,[],[],[0,"Default",0,1]],[[266,480,0,120,119,0,0,1,0.5053763389587402,0.5047619342803955,0,0,[]],2,2,[],[],[0,"Default",0,1]],[[206,574,0,120,119,0,0,1,
0.5053763389587402,0.5,0,0,[]],3,3,[],[],[0,"Default",0,1]],[[329.241455078125,574.0009765625,0,120,119,0,0,1,0.5053763389587402,0.5047619342803955,0,0,[]],4,4,[],[],[0,"Default",0,1]],[[238,310,0,404,101,0,0,1,0.5,0.5049505233764648,0,0,[]],37,28,[],[],[0,"Default",0,1]]],[]]],[],[]],["score",480,800,!1,"score",550075938490035,[["Layer 0",0,7139936474337219,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[241,400,0,486,808,0,0,1,0.5,0.5,0,0,[]],21,39,[],[],[0,"Default",0,1]],[[264,720,0,76,75,0,0,1,0.5,0.5,
0,0,[]],26,48,[],[],[0,"Default",0,1]],[[246,538,0,308,73,0,0,1,0.5,0.5079365372657776,0,0,[]],36,13,[],[],[0,"Default",0,1]],[[92,495,0,306,74,0,0,1,0,0,0,0,[]],23,41,[],[],["",0,"bold 48pt Century Gothic","rgb(253,196,125)",1,1,0,0,0]]],[]]],[],[]],["game",480,800,!1,"game event",8114485750674641,[["Layer 1",0,4849630012925153,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[[[240,400,0,480,800,0,0,1,0.5,0.5,0,0,[]],6,6,[],[],[0,"Default",0,1]],[[233,220,0,159,159,0,0,1,0.5047619342803955,0.5,0,0,[]],34,10,
[],[[-300,0]],[0,"Default",0,1]],[[100,130,0,109,104,0,0,1,0.5,0.5066666603088379,0,0,[]],9,11,[],[[800,0]],[0,"Default",0,1]],[[374,131,0,109,104,0,0,1,0.5,0.5066666603088379,0,0,[]],9,12,[],[[800,0]],[0,"Default",0,1]]],[]],["Layer 0",1,6320591077819642,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[[[1,-81,0,21,997,0,0,1,0,0,0,0,[]],7,8,[],[],[0,0]],[[-448,706,0,421,40,0,0,1,0,0,0,0,[]],8,9,[],[],[0,0]],[[235.7058715820313,615.67236328125,0,70,119,0,0,1,0.5,0.5,0,0,[]],12,21,[],[[0,1],[1]],[0,"Default",0,
1]],[[-81.78947448730469,140.2936096191406,0,94,95,0,-3.063307523727417,1,0.5,0.5,0,0,[]],13,22,[],[[0,0,0,0,52,100,1,1]],[0,"Default",0,1]],[[657.058837890625,25.29728698730469,0,92.7272720336914,101.9076919555664,0,0,1,0.5,0.5072463750839233,0,0,[]],14,23,[],[[0,0,0,0,50,100,1,1]],[0,"Default",0,1]],[[33,6,0,111,51,0,0,1,0,0,0,0,[]],17,24,[],[],["",0,"bold 18pt Century Gothic","rgb(253,196,125)",0,0,0,0,0]],[[305,5,0,148,40,0,0,1,0,0,0,0,[]],18,30,[],[],["",0,"bold 18pt Century Gothic","rgb(253,196,125)",
0,1,0,0,0]],[[457,-105,0,23,997,0,0,1,0,0,0,0,[]],35,7,[],[],[0,0]],[[362,71,0,42,55,0,0,1,0.5,0.5,0,0,[]],10,14,[],[],[0,"Default",0,1]],[[232,165,0,42,55,0,0,1,0.5,0.5,0,0,[]],10,15,[],[],[0,"Default",0,1]],[[92,68,0,42,55,0,0,1,0.5,0.5,0,0,[]],10,16,[],[],[0,"Default",0,1]],[[227,115,0,31,33,0,0,1,0.5,0.5,0,0,[]],11,17,[],[],[0,"Default",0,1]],[[83,260,0,36,34,0,0,1,0.5,0.5,0,0,[]],11,19,[],[],[0,"Default",0,1]],[[373,264,0,39,32,0,0,1,0.5,0.5,0,0,[]],11,20,[],[],[0,"Default",0,1]]],[]]],[],[]],
["death",480,800,!1,"death",349757569474842,[["Layer 0",0,8770881625913396,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[240.5,399.5,0,481,799,0,0,1,0.5,0.5,0,0,[]],15,25,[],[],[0,"Default",0,1]],[[105.6725463867188,564.895263671875,0,263.8721923828125,64.50640869140625,0,0,1,0,0,0,0,[]],16,29,[],[],["",0,"bold 28pt Century Gothic","rgb(241,87,79)",1,1,0,0,0]],[[110.1807250976563,429.6567077636719,0,260.3700256347656,63.5185546875,0,0,1,0,0,0,0,[]],25,45,[],[],["",0,"bold 28pt Century Gothic","rgb(241,87,79)",
1,1,0,0,0]],[[178.3919525146484,301.1203918457031,0,120,119,0,0,1,0.5053763389587402,0.5047619342803955,0,0,[]],32,26,[],[],[0,"Default",0,1]],[[300.8563842773438,298.8679809570313,0,120,119,0,0,1,0.5053763389587402,0.5047619342803955,0,0,[]],33,27,[],[],[0,"Default",0,1]]],[]]],[],[]],["how to play",480,800,!1,"play",8462437584305121,[["Layer 0",0,0x6354dce2f66f7,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[242,401.5,0,489,808,0,0,1,0.5,0.5,0,0,[]],19,31,[],[],[0,"Default",0,1]],[[219,765,0,84,68,0,0,1,
0.5,0.5,0,0,[]],20,35,[],[],[0,"Default",0,1]]],[]]],[],[]],["about",480,800,!1,"about",4831065846796663,[["Layer 0",0,4826684416792667,!0,[255,255,255],!1,1,1,1,!1,1,0,0,[[[240,399,0,482,800,0,0,1,0.5,0.5,0,0,[]],24,42,[],[],[0,"Default",0,1]],[[235,752,0,78,68,0,0,1,0.5,0.5,0,0,[]],31,52,[],[],[0,"Default",0,1]]],[]]],[],[]]],[["menu event",[[0,null,!1,null,0x532fc0aed783e,[[5,Y.prototype.i.Sd,null,0,!1,!1,!1,4567060525835063,!1,[[4,1]]]],[[-1,R.prototype.k.Ic,null,0x6cb7e6a0233dc,!1,[[6,"game"]]]]],
[0,null,!1,null,0xb2680ea668bc5,[[5,Y.prototype.i.Sd,null,0,!1,!1,!1,0xf5462061498d,!1,[[4,2]]]],[[-1,R.prototype.k.Ic,null,7430135929173889,!1,[[6,"how to play"]]]]],[0,null,!1,null,0xc9b89afe9d360,[[5,Y.prototype.i.Sd,null,0,!1,!1,!1,6840676577330489,!1,[[4,3]]]],[[-1,R.prototype.k.Ic,null,4822113613420605,!1,[[6,"score"]]]]],[0,null,!1,null,9377856132177816,[[5,Y.prototype.i.Sd,null,0,!1,!1,!1,0xe2210dd91a667,!1,[[4,4]]]],[[-1,R.prototype.k.Ic,null,7820861581908365,!1,[[6,"about"]]]]],[0,null,
!1,null,5384840417523684,[[-1,R.prototype.i.jg,null,1,!1,!1,!1,0x5cfea60292111,!1]],[[28,V.prototype.k.sq,null,9378420644035572,!1],[28,V.prototype.k.Play,null,8927658474935834,!1,[[2,["8-bit_heart_of_glass_by_blondie-1_converted",!1]],[3,1],[0,[0,0]],[1,[2,""]]]]]],[0,null,!1,null,0xb422fbef04bb9,[[-1,R.prototype.i.Lh,null,0,!1,!1,!1,0x5d776e7df75d5,!1,[[0,[0,1]]]]],[[37,U.prototype.k.rq,null,9473013429147072,!1,[[3,0]]]]]]],["game event",[[1,"HighScore",0,0,!1,!1,5171888135775626,!1],[1,"count",
0,0,!1,!1,7343161993857041,!1],[1,"HEALTH",0,101,!1,!1,8661426405630254,!1],[1,"SCORE",0,0,!1,!1,4918074558315218,!1],[0,null,!1,null,4604477409940965,[[-1,R.prototype.i.jg,null,1,!1,!1,!1,7300022649073234,!1]],[[-1,R.prototype.k.Ph,null,391483713068866,!1,[[11,"count"],[7,[0,0]]]],[-1,R.prototype.k.Ph,null,6563610879396245,!1,[[11,"SCORE"],[7,[0,0]]]],[-1,R.prototype.k.Ph,null,8457975075894766,!1,[[11,"HEALTH"],[7,[0,101]]]]],[[0,null,!1,null,5373081916858853,[[22,ic.prototype.i.Rp,null,0,!1,!1,
!1,0x62a74f45c65ba,!1,[[1,[2,"HighScore"]]]]],[[-1,R.prototype.k.Ph,null,0xa4e8e7c15310e,!1,[[11,"HighScore"],[7,[20,22,ic.prototype.Ga.Uj,!0,null,[[2,"HighScore"]]]]]]]]]],[0,null,!1,null,0xeba04e5c41635,[[-1,R.prototype.i.Lh,null,0,!1,!1,!1,7815572655103827,!1,[[0,[1,1]]]]],[[-1,R.prototype.k.Fm,null,8763646039582179,!1,[[11,"count"],[7,[0,1]]]]]],[0,null,!1,null,0x88fa37d4e7eb5,[[-1,R.prototype.i.Mh,null,0,!1,!1,!1,6288436453340441,!1]],[[7,hc.prototype.k.Qh,null,0x4aa23e530adeb,!1,[[0,[5,[20,
7,hc.prototype.Ga.$j,!1,null],[0,4]]]]],[35,hc.prototype.k.Qh,null,524316314773132,!1,[[0,[5,[20,35,hc.prototype.Ga.$j,!1,null],[0,4]]]]]]],[0,null,!1,null,5407905343243399,[[-1,R.prototype.i.Mh,null,0,!1,!1,!1,9978001745957528,!1]],[[17,gc.prototype.k.kg,null,96447333132769,!1,[[7,[10,[23,"HEALTH"],[2,"%"]]]]],[18,gc.prototype.k.kg,null,5080218061496923,!1,[[7,[10,[2,"Score:"],[23,"SCORE"]]]]]]],[0,null,!1,null,5372727090364181,[[7,hc.prototype.i.Hm,null,0,!1,!1,!1,5152622673421603,!1,[[8,3],[0,
[0,-100]]]]],[[7,hc.prototype.k.Qh,null,0x4681f444f903e,!1,[[0,[0,0]]]]]],[0,null,!1,null,9883135874903416,[[35,hc.prototype.i.Hm,null,0,!1,!1,!1,0xc1c2484e62e98,!1,[[8,3],[0,[0,-100]]]]],[[35,hc.prototype.k.Qh,null,0x891e48ad48397,!1,[[0,[0,0]]]]]],[0,null,!1,null,0xd2f0a4c919fab,[[-1,R.prototype.i.Mh,null,0,!1,!1,!1,5418616355948947,!1],[-1,R.prototype.i.Lh,null,0,!1,!1,!1,0x689ba6cfe687c,!1,[[0,[0,2]]]]],[[10,U.prototype.k.Pm,null,0x9b66adef88543,!1,[[4,13],[5,[0,0]],[7,[0,0]]]]]],[0,null,!1,null,
7400837357111376,[[-1,R.prototype.i.Lh,null,0,!1,!1,!1,0x9982308803113,!1,[[0,[0,3]]]]],[[11,U.prototype.k.Pm,null,4681704471218076,!1,[[4,14],[5,[0,0]],[7,[0,0]]]]]],[0,null,!1,null,9088419757220398,[[9,U.prototype.i.jf,null,0,!1,!1,!0,0x582330475c3cf,!1,[[4,12]]]],[[12,U.prototype.k.Rd,null,8872291043970643,!1],[27,fc.prototype.k.CallFunction,null,6769596229200323,!1,[[1,[2,"gameover"]],[13]]]]],[0,null,!1,null,7594945833762386,[[12,U.prototype.i.jf,null,0,!1,!1,!0,0xdb9fbb3d98469,!1,[[4,13]]]],
[[13,U.prototype.k.Rd,null,0x69eb89c4ff4a3,!1],[-1,R.prototype.k.Fm,null,8329858731729774,!1,[[11,"SCORE"],[7,[0,3]]]],[28,V.prototype.k.Play,null,0xfb23e68a4a3e4,!1,[[2,["hit_hurt45",!1]],[3,0],[0,[0,0]],[1,[2,""]]]]],[[0,null,!1,null,0x65d14b324a907,[[29,jc.prototype.i.ig,null,0,!1,!1,!1,6451974920630586,!1]],[[28,V.prototype.k.Play,null,9453439517698474,!1,[[2,["hit_hurt45",!1]],[3,0],[0,[0,0]],[1,[2,""]]]]]]]],[0,null,!1,null,0xdc3c7978c1151,[[14,U.prototype.i.jf,null,0,!1,!1,!0,6702368536409707,
!1,[[4,12]]]],[[12,U.prototype.k.Rd,null,6337130218894247,!1],[28,V.prototype.k.Play,null,0xb9729cb8346b9,!1,[[2,["randomize13",!1]],[3,0],[0,[0,0]],[1,[2,""]]]],[27,fc.prototype.k.CallFunction,null,0x62147a434e3c5,!1,[[1,[2,"gameover"]],[13]]]],[[0,null,!1,null,0x7427def187e22,[[29,jc.prototype.i.ig,null,0,!1,!1,!1,9302004945354066,!1]],[[28,V.prototype.k.Play,null,4896027154949276,!1,[[2,["randomize13",!1]],[3,0],[0,[0,0]],[1,[2,""]]]]]]]],[0,null,!1,null,4536618117274034,[[13,U.prototype.i.Jm,
null,0,!1,!1,!1,8465993458051856,!1]],[[13,U.prototype.k.Rd,null,0x49f98f369c131,!1],[-1,R.prototype.k.uq,null,872559718991536,!1,[[11,"HEALTH"],[7,[0,1]]]]]],[0,null,!1,null,8557145729260032,[[14,U.prototype.i.Jm,null,0,!1,!1,!1,5383834531131201,!1]],[[14,U.prototype.k.Rd,null,5739296902302851,!1]]],[0,null,!1,null,586529293721059,[[12,U.prototype.i.jf,null,0,!1,!1,!0,5354566471368928,!1,[[4,7]]]],[[12,U.prototype.k.Rd,null,9209644104085324,!1],[28,V.prototype.k.Play,null,7030840160694561,!1,[[2,
["randomize13",!1]],[3,0],[0,[0,0]],[1,[2,""]]]],[27,fc.prototype.k.CallFunction,null,4851091287118624,!1,[[1,[2,"gameover"]],[13]]]],[[0,null,!1,null,5417089093194097,[[29,jc.prototype.i.ig,null,0,!1,!1,!1,5216385535958937,!1]],[[28,V.prototype.k.Play,null,5337358641505667,!1,[[2,["randomize13",!1]],[3,0],[0,[0,0]],[1,[2,""]]]]]]]],[0,null,!1,null,7836747225517992,[[12,U.prototype.i.jf,null,0,!1,!1,!0,7608392289312048,!1,[[4,35]]]],[[12,U.prototype.k.Rd,null,9917412760347092,!1],[28,V.prototype.k.Play,
null,0xe2797d6f967b2,!1,[[2,["randomize13",!1]],[3,0],[0,[0,0]],[1,[2,""]]]],[27,fc.prototype.k.CallFunction,null,5630746274324243,!1,[[1,[2,"gameover"]],[13]]]],[[0,null,!1,null,7943444734934692,[[29,jc.prototype.i.ig,null,0,!1,!1,!1,0x9bc20561e3684,!1]],[[28,V.prototype.k.Play,null,0xa524dff63aede,!1,[[2,["randomize13",!1]],[3,0],[0,[0,0]],[1,[2,""]]]]]]]],[0,null,!1,null,0xf0733ab57720c,[[-1,R.prototype.i.ff,null,0,!1,!1,!1,8337281010031472,!1,[[11,"count"],[8,5],[7,[0,40]]]]],[[13,Z.prototype.k.Ud,
"Platform",7304068161094354,!1,[[0,[0,150]]]],[14,Z.prototype.k.Ud,"Platform",8867345036959448,!1,[[0,[0,150]]]],[13,Z.prototype.k.Td,"Platform",9891738492319484,!1,[[0,[0,62]]]],[14,Z.prototype.k.Td,"Platform",0x603bc94fd8204,!1,[[0,[0,65]]]]]],[0,null,!1,null,5773162598816911,[[-1,R.prototype.i.ff,null,0,!1,!1,!1,5917291566718248,!1,[[11,"count"],[8,5],[7,[0,60]]]]],[[13,Z.prototype.k.Ud,"Platform",9622308255790076,!1,[[0,[0,180]]]],[14,Z.prototype.k.Ud,"Platform",8575539611123328,!1,[[0,[0,190]]]],
[13,Z.prototype.k.Td,"Platform",9105289364406176,!1,[[0,[0,80]]]],[14,Z.prototype.k.Td,"Platform",0xd2b29583e9e39,!1,[[0,[0,85]]]]]],[0,null,!1,null,0x934ef7892e92a,[[-1,R.prototype.i.ff,null,0,!1,!1,!1,540798524645759,!1,[[11,"count"],[8,5],[7,[0,100]]]]],[[13,Z.prototype.k.Ud,"Platform",0xd6ae2643ec195,!1,[[0,[0,240]]]],[14,Z.prototype.k.Ud,"Platform",0x7506e98259e34,!1,[[0,[0,250]]]],[13,Z.prototype.k.Td,"Platform",6349827252013515,!1,[[0,[0,100]]]],[14,Z.prototype.k.Td,"Platform",5072155711334592,
!1,[[0,[0,105]]]]]],[0,null,!1,null,0xa7249d02a3066,[[-1,R.prototype.i.ff,null,0,!1,!1,!1,6045180696525912,!1,[[11,"count"],[8,5],[7,[0,130]]]]],[[13,Z.prototype.k.Ud,"Platform",9739477226923440,!1,[[0,[0,280]]]],[14,Z.prototype.k.Ud,"Platform",0xf410a1220af9f,!1,[[0,[0,300]]]],[13,Z.prototype.k.Td,"Platform",4546545630583589,!1,[[0,[0,115]]]],[14,Z.prototype.k.Td,"Platform",6739528708914554,!1,[[0,[0,120]]]]]],[0,null,!1,null,8078561699693145,[[27,fc.prototype.i.Oh,null,2,!1,!1,!1,9823426166901336,
!1,[[1,[2,"gameover"]]]]],[],[[0,null,!1,null,0xa382014ba2195,[[-1,R.prototype.i.ff,null,0,!1,!1,!1,0xee5de7bfaf118,!1,[[11,"SCORE"],[8,4],[7,[23,"HighScore"]]]]],[[22,ic.prototype.k.tq,null,0xf01b3809db6a2,!1,[[1,[2,"HighScore"]],[7,[23,"SCORE"]]]],[-1,R.prototype.k.Ic,null,0x674261c3b0e93,!1,[[6,"death"]]]]],[0,null,!1,null,819088879574051,[[-1,R.prototype.i.Im,null,0,!1,!1,!1,977144279945872,!1]],[[-1,R.prototype.k.Ic,null,496230088404112,!1,[[6,"death"]]]]]]],[0,null,!1,null,7312536867233092,
[[-1,R.prototype.i.ff,null,0,!1,!1,!1,0x8bbff287c9524,!1,[[11,"HEALTH"],[8,3],[7,[0,0]]]]],[[28,V.prototype.k.Play,null,7344823051426944,!1,[[2,["randomize13",!1]],[3,0],[0,[0,0]],[1,[2,""]]]],[27,fc.prototype.k.CallFunction,null,7748245260356169,!1,[[1,[2,"gameover"]],[13]]]],[[0,null,!1,null,6020933769672284,[[29,jc.prototype.i.ig,null,0,!1,!1,!1,6465615556552863,!1]],[[28,V.prototype.k.Play,null,0xf570ca30dfa9c,!1,[[2,["randomize13",!1]],[3,0],[0,[0,0]],[1,[2,""]]]]]]]],[0,null,!1,null,0xa3621ca7fa3c6,
[[-1,R.prototype.i.Mh,null,0,!1,!1,!1,5570014921021587,!1]],[]],[0,null,!1,null,0xedd36d6ae60fa,[[12,U.prototype.i.jf,null,0,!1,!1,!0,392274848056819,!1,[[4,34]]]],[[12,U.prototype.k.Rd,null,4791509794986623,!1],[28,V.prototype.k.Play,null,0xe49084cf05d86,!1,[[2,["randomize13",!1]],[3,0],[0,[0,0]],[1,[2,""]]]],[27,fc.prototype.k.CallFunction,null,9752413251543406,!1,[[1,[2,"gameover"]],[13]]]]]]],["death",[[0,null,!1,null,8934722637095941,[[5,Y.prototype.i.Sd,null,0,!1,!1,!1,0xa9dc615bb42bb,!1,[[4,
32]]]],[[-1,R.prototype.k.Ic,null,980924117386449,!1,[[6,"game"]]]]],[0,null,!1,null,0x38e5a85eaa7bd,[[5,Y.prototype.i.Sd,null,0,!1,!1,!1,7678387961559714,!1,[[4,33]]]],[[-1,R.prototype.k.Ic,null,0xf2e6162c91ab1,!1,[[6,"Menu"]]]]],[0,null,!1,null,5840269278995681,[[-1,R.prototype.i.jg,null,1,!1,!1,!1,5612932883322062,!1]],[[25,gc.prototype.k.kg,null,9689550402720382,!1,[[7,[23,"SCORE"]]]],[16,gc.prototype.k.kg,null,6758305154433349,!1,[[7,[20,22,ic.prototype.Ga.Uj,!0,null,[[2,"HighScore"]]]]]]]]]],
["play",[[0,null,!1,null,0x38e5a85eaa7bd,[[5,Y.prototype.i.Sd,null,0,!1,!1,!1,374013544402884,!1,[[4,20]]]],[[-1,R.prototype.k.Ic,null,0xf2e6162c91ab1,!1,[[6,"Menu"]]]]]]],["score",[[0,null,!1,null,8410037512236483,[[-1,R.prototype.i.jg,null,1,!1,!1,!1,771537280040464,!1]],[[23,gc.prototype.k.kg,null,0xe792fba162572,!1,[[7,[20,22,ic.prototype.Ga.Uj,!0,null,[[2,"HighScore"]]]]]]]],[0,null,!1,null,0x5d6aa76308981,[[5,Y.prototype.i.Sd,null,0,!1,!1,!1,6333481545904464,!1,[[4,26]]]],[[-1,R.prototype.k.Ic,
null,6838468146136536,!1,[[6,"Menu"]]]]]]],["about",[[0,null,!1,null,0x9bfc039aabbad,[[5,Y.prototype.i.Zj,null,1,!1,!1,!1,536816316449328,!1,[[4,31]]]],[[-1,R.prototype.k.Ic,null,0xe09d1a8ffb492,!1,[[6,"Menu"]]]]]]]],[["hit_hurt45.m4a",2340],["hit_hurt45.ogg",6082],["randomize13.m4a",11009],["randomize13.ogg",18598],["jnk_engine_start.m4a",96700],["jnk_engine_start.ogg",96764],["8-bit_heart_of_glass_by_blondie-1_converted.m4a",828575],["8-bit_heart_of_glass_by_blondie-1_converted.ogg",907969]],"media/",
!1,480,800,4,!0,!0,!0,"1.0.0.0",!0,!1,0,1,53,!1,!0,1,!0,[]]};
