// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';function F(){return function(){}}function G(c){return function(){return this[c]}}function P(c){return function(){return c}}var aa,ba,Q,ca,da,R,ea,fa,ga,ha,ia,ma,T,na,oa,pa,qa,ra,sa,ta,ua,wa,U,xa,Ca,Da,Ea,Fa,Ga,Ha,Ia,Ja,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,Xa,$a,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,pb,qb,rb,sb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,V,Ob,Pb,Qb,Rb,Sb,Tb={};
"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(c){return c.__proto__}:function(c){return c.constructor.prototype});
(function(){function c(k,f,a,q){this.set(k,f,a,q)}function h(){this.ob=this.nb=this.qb=this.pb=this.ub=this.tb=this.Ha=this.Ga=0}function d(k,f,a,q){k<f?a<q?(r=k<a?k:a,l=f>q?f:q):(r=k<q?k:q,l=f>a?f:a):a<q?(r=f<a?f:a,l=k>q?k:q):(r=f<q?f:q,l=k>a?k:a)}function g(){this.$c=this.gd=null;this.sg=0;u?this.gd=new Set:this.$c={};this.me=[];this.re=!0}function b(k){f[s++]=k}function a(){this.Sa=this.Vi=this.y=this.rj=0}function e(k){this.Ya=[];this.mh=this.oh=this.ph=this.nh=0;this.Vg(k)}function m(k,f){this.pp=
k;this.op=f;this.cells={}}function v(k,f,a){var n;return q.length?(n=q.pop(),n.Sq=k,n.x=f,n.y=a,n):new aa(k,f,a)}function t(k,f,a){this.Sq=k;this.x=f;this.y=a;this.Jg=new ba}Q=function(k){window.console&&window.console.log&&window.console.log(k)};ca=function(k){return"undefined"===typeof k};da=function(k){return"number"===typeof k};R=function(k){return"string"===typeof k};ea=function(k){return 0<k&&0===(k-1&k)};fa=function(k){--k;for(var f=1;32>f;f<<=1)k|=k>>f;return k+1};ga=function(k){return 0>
k?-k:k};ha=function(k,f){return k<f?k:f};ia=Math.PI;ma=function(k){return k+0.5|0};T=function(k){return 0<=k?k|0:(k|0)-1};na=function(k){var f=k|0;return f===k?f:f+1};oa=function(k,f,a,q,n,e,s,b){var m,d,v,c;k<a?(d=k,m=a):(d=a,m=k);n<s?(c=n,v=s):(c=s,v=n);if(m<c||d>v)return!1;f<q?(d=f,m=q):(d=q,m=f);e<b?(c=e,v=b):(c=b,v=e);if(m<c||d>v)return!1;m=n-k+s-a;d=e-f+b-q;k=a-k;f=q-f;n=s-n;e=b-e;b=ga(f*n-e*k);return ga(n*d-e*m)>b?!1:ga(k*d-f*m)<=b};c.prototype.set=function(k,f,a,q){this.left=k;this.top=f;
this.right=a;this.bottom=q};c.prototype.copy=function(k){this.left=k.left;this.top=k.top;this.right=k.right;this.bottom=k.bottom};c.prototype.width=function(){return this.right-this.left};c.prototype.height=function(){return this.bottom-this.top};c.prototype.offset=function(k,f){this.left+=k;this.top+=f;this.right+=k;this.bottom+=f;return this};c.prototype.normalize=function(){var k=0;this.left>this.right&&(k=this.left,this.left=this.right,this.right=k);this.top>this.bottom&&(k=this.top,this.top=
this.bottom,this.bottom=k)};c.prototype.Yq=function(k){return!(k.right<this.left||k.bottom<this.top||k.left>this.right||k.top>this.bottom)};c.prototype.Zq=function(k,f,a){return!(k.right+f<this.left||k.bottom+a<this.top||k.left+f>this.right||k.top+a>this.bottom)};c.prototype.nc=function(k,f){return k>=this.left&&k<=this.right&&f>=this.top&&f<=this.bottom};c.prototype.Mp=function(k){return this.left===k.left&&this.top===k.top&&this.right===k.right&&this.bottom===k.bottom};pa=c;h.prototype.Ug=function(k){this.Ga=
k.left;this.Ha=k.top;this.tb=k.right;this.ub=k.top;this.pb=k.right;this.qb=k.bottom;this.nb=k.left;this.ob=k.bottom};h.prototype.Xn=function(k,f){if(0===f)this.Ug(k);else{var a=Math.sin(f),q=Math.cos(f),n=k.left*a,e=k.top*a,b=k.right*a,a=k.bottom*a,s=k.left*q,m=k.top*q,d=k.right*q,q=k.bottom*q;this.Ga=s-e;this.Ha=m+n;this.tb=d-e;this.ub=m+b;this.pb=d-a;this.qb=q+b;this.nb=s-a;this.ob=q+n}};h.prototype.offset=function(k,f){this.Ga+=k;this.Ha+=f;this.tb+=k;this.ub+=f;this.pb+=k;this.qb+=f;this.nb+=
k;this.ob+=f;return this};var r=0,l=0;h.prototype.Rl=function(k){d(this.Ga,this.tb,this.pb,this.nb);k.left=r;k.right=l;d(this.Ha,this.ub,this.qb,this.ob);k.top=r;k.bottom=l};h.prototype.nc=function(k,f){var a=this.tb-this.Ga,q=this.ub-this.Ha,n=this.pb-this.Ga,e=this.qb-this.Ha,b=k-this.Ga,s=f-this.Ha,m=a*a+q*q,d=a*n+q*e,q=a*b+q*s,v=n*n+e*e,c=n*b+e*s,l=1/(m*v-d*d),a=(v*q-d*c)*l,m=(m*c-d*q)*l;if(0<=a&&0<m&&1>a+m)return!0;a=this.nb-this.Ga;q=this.ob-this.Ha;m=a*a+q*q;d=a*n+q*e;q=a*b+q*s;l=1/(m*v-d*
d);a=(v*q-d*c)*l;m=(m*c-d*q)*l;return 0<=a&&0<m&&1>a+m};h.prototype.Nd=function(k,f){if(f)switch(k){case 0:return this.Ga;case 1:return this.tb;case 2:return this.pb;case 3:return this.nb;case 4:return this.Ga;default:return this.Ga}else switch(k){case 0:return this.Ha;case 1:return this.ub;case 2:return this.qb;case 3:return this.ob;case 4:return this.Ha;default:return this.Ha}};h.prototype.mn=function(){return(this.Ga+this.tb+this.pb+this.nb)/4};h.prototype.nn=function(){return(this.Ha+this.ub+
this.qb+this.ob)/4};h.prototype.Lm=function(k){var f=k.mn(),a=k.nn();if(this.nc(f,a))return!0;f=this.mn();a=this.nn();if(k.nc(f,a))return!0;var q,n,e,m,b,s,d,v;for(d=0;4>d;d++)for(v=0;4>v;v++)if(f=this.Nd(d,!0),a=this.Nd(d,!1),q=this.Nd(d+1,!0),n=this.Nd(d+1,!1),e=k.Nd(v,!0),m=k.Nd(v,!1),b=k.Nd(v+1,!0),s=k.Nd(v+1,!1),oa(f,a,q,n,e,m,b,s))return!0;return!1};qa=h;ra=function(k,f){for(var a in f)f.hasOwnProperty(a)&&(k[a]=f[a]);return k};sa=function(k,f){var a,q;f=T(f);if(!(0>f||f>=k.length))if(0===f)k.shift();
else if(f===k.length-1)k.pop();else{a=f;for(q=k.length-1;a<q;a++)k[a]=k[a+1];k.length=q}};ta=function(k,f){k.length=f.length;var a,q;a=0;for(q=f.length;a<q;a++)k[a]=f[a]};ua=function(k,f){k.push.apply(k,f)};wa=function(k,f){var a=k.indexOf(f);-1!==a&&sa(k,a)};U=function(k){return k/(180/ia)};xa=function(k){return k*(180/ia)};Ca=function(k){k%=360;0>k&&(k+=360);return k};Da=function(k){k%=2*ia;0>k&&(k+=2*ia);return k};Ea=function(k){return Ca(xa(k))};Fa=function(k){return Da(U(k))};Ga=function(k,f,
a,q){return Math.atan2(q-f,a-k)};Ha=function(k,f){if(k===f)return 0;var a=Math.sin(k),q=Math.cos(k),n=Math.sin(f),e=Math.cos(f),a=a*n+q*e;return 1<=a?0:-1>=a?ia:Math.acos(a)};Ia=function(k,f,a){var q=Math.sin(k),n=Math.cos(k),e=Math.sin(f),m=Math.cos(f);return Math.acos(q*e+n*m)>a?0<n*e-q*m?Da(k+a):Da(k-a):Da(f)};Ja=function(k,f){var a=Math.sin(k),q=Math.cos(k),n=Math.sin(f),e=Math.cos(f);return 0>=q*n-a*e};Na=function(k,f,a,q,n,e){if(0===a)return e?k:f;var m=Math.sin(a);a=Math.cos(a);k-=q;f-=n;var b=
k*m;k=k*a-f*m;f=f*a+b;return e?k+q:f+n};Oa=function(k,f,a,q){k=a-k;f=q-f;return Math.sqrt(k*k+f*f)};Pa=function(f,a){return!f!==!a};Qa=function(f){for(var a in f)if(f.hasOwnProperty(a))return!0;return!1};Ra=function(f){for(var a in f)f.hasOwnProperty(a)&&delete f[a]};var p=+new Date;Sa=function(){if("undefined"!==typeof window.performance){var f=window.performance;if("undefined"!==typeof f.now)return f.now();if("undefined"!==typeof f.webkitNow)return f.webkitNow();if("undefined"!==typeof f.mozNow)return f.mozNow();
if("undefined"!==typeof f.msNow)return f.msNow()}return Date.now()-p};var u="undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;g.prototype.contains=function(f){return u?this.gd.has(f):this.$c.hasOwnProperty(f.toString())};g.prototype.add=function(f){if(u)this.gd.has(f)||(this.gd.add(f),this.re=!1);else{var a=f.toString();this.$c.hasOwnProperty(a)||(this.$c[a]=f,this.sg++,this.re=!1)}return this};g.prototype.remove=function(f){u?this.gd.has(f)&&(this.gd["delete"](f),this.re=!1):(f=
f.toString(),this.$c.hasOwnProperty(f)&&(delete this.$c[f],this.sg--,this.re=!1));return this};g.prototype.clear=function(){u?this.gd.clear():(this.$c={},this.sg=0);this.me.length=0;this.re=!0;return this};g.prototype.Ud=function(){return u?0===this.gd.size:0===this.sg};var f=null,s=0;g.prototype.vo=function(){if(!this.re){if(u)this.me.length=this.gd.size,f=this.me,s=0,this.gd.forEach(b),f=null,s=0;else{this.me.length=this.sg;var k,a=0;for(k in this.$c)this.$c.hasOwnProperty(k)&&(this.me[a++]=this.$c[k])}this.re=
!0}};g.prototype.as=function(){this.vo();return this.me.slice(0)};g.prototype.Mf=function(){this.vo();return this.me};ba=g;a.prototype.add=function(f){this.y=f-this.rj;this.Vi=this.Sa+this.y;this.rj=this.Vi-this.Sa-this.y;this.Sa=this.Vi};a.prototype.reset=function(){this.Sa=this.Vi=this.y=this.rj=0};Ta=a;Ua=function(f){return f.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};e.prototype.Vg=function(f){this.Nn=f;this.Lc=f.length/2;this.Ya.length=f.length;this.rh=this.sh=-1;this.Tl=0};e.prototype.pf=function(){return!this.Nn.length};
e.prototype.Ka=function(){for(var f=this.Ya,a=f[0],q=a,n=f[1],e=n,m,b,s=1,d=this.Lc;s<d;++s)b=2*s,m=f[b],b=f[b+1],m<a&&(a=m),m>q&&(q=m),b<n&&(n=b),b>e&&(e=b);this.nh=a;this.oh=q;this.ph=n;this.mh=e};e.prototype.Ug=function(f,a,q){this.Ya.length=8;this.Lc=4;var n=this.Ya;n[0]=f.left-a;n[1]=f.top-q;n[2]=f.right-a;n[3]=f.top-q;n[4]=f.right-a;n[5]=f.bottom-q;n[6]=f.left-a;n[7]=f.bottom-q;this.sh=f.right-f.left;this.rh=f.bottom-f.top;this.Ka()};e.prototype.Gf=function(f,a,q,n,e){this.Ya.length=8;this.Lc=
4;var m=this.Ya;m[0]=f.Ga-a;m[1]=f.Ha-q;m[2]=f.tb-a;m[3]=f.ub-q;m[4]=f.pb-a;m[5]=f.qb-q;m[6]=f.nb-a;m[7]=f.ob-q;this.sh=n;this.rh=e;this.Ka()};e.prototype.Wn=function(f){this.Lc=f.Lc;ta(this.Ya,f.Ya);this.nh=f.nh;this.ph-f.ph;this.oh=f.oh;this.mh=f.mh};e.prototype.bf=function(f,a,q){if(this.sh!==f||this.rh!==a||this.Tl!==q){this.sh=f;this.rh=a;this.Tl=q;var n,e,m,b,s,d=0,v=1,c=this.Nn,l=this.Ya;0!==q&&(d=Math.sin(q),v=Math.cos(q));q=0;for(m=this.Lc;q<m;q++)n=2*q,e=n+1,b=c[n]*f,s=c[e]*a,l[n]=b*v-s*
d,l[e]=s*v+b*d;this.Ka()}};e.prototype.nc=function(f,a){var q=this.Ya;if(f===q[0]&&a===q[1])return!0;var n,e,m,b=this.Lc,s=this.nh-110,d=this.ph-101,v=this.oh+131,c=this.mh+120,l,g,t=0,h=0;for(n=0;n<b;n++)e=2*n,m=2*((n+1)%b),l=q[e],e=q[e+1],g=q[m],m=q[m+1],oa(s,d,f,a,l,e,g,m)&&t++,oa(v,c,f,a,l,e,g,m)&&h++;return 1===t%2||1===h%2};e.prototype.jg=function(f,a,q){var n=f.Ya,e=this.Ya;if(this.nc(n[0]+a,n[1]+q)||f.nc(e[0]-a,e[1]-q))return!0;var m,b,s,d,v,c,l,g,t,h,r,u;m=0;for(d=this.Lc;m<d;m++)for(b=2*
m,s=2*((m+1)%d),g=e[b],b=e[b+1],t=e[s],h=e[s+1],s=0,l=f.Lc;s<l;s++)if(v=2*s,c=2*((s+1)%l),r=n[v]+a,v=n[v+1]+q,u=n[c]+a,c=n[c+1]+q,oa(g,b,t,h,r,v,u,c))return!0;return!1};Va=e;m.prototype.Lj=function(f,a,q){var n;n=this.cells[f];return n?(n=n[a])?n:q?(n=v(this,f,a),this.cells[f][a]=n):null:q?(n=v(this,f,a),this.cells[f]={},this.cells[f][a]=n):null};m.prototype.hh=function(f){return T(f/this.pp)};m.prototype.ih=function(f){return T(f/this.op)};m.prototype.update=function(f,a,n){var e,m,b,s,d;if(a)for(e=
a.left,m=a.right;e<=m;++e)for(b=a.top,s=a.bottom;b<=s;++b)if(!n||!n.nc(e,b))if(d=this.Lj(e,b,!1))d.remove(f),d.Ud()&&(d.Jg.clear(),1E3>q.length&&q.push(d),this.cells[e][b]=null);if(n)for(e=n.left,m=n.right;e<=m;++e)for(b=n.top,s=n.bottom;b<=s;++b)a&&a.nc(e,b)||this.Lj(e,b,!0).Xq(f)};m.prototype.Pn=function(f,a){var q,n,e,m,b,s;q=this.hh(f.left);e=this.ih(f.top);n=this.hh(f.right);for(b=this.ih(f.bottom);q<=n;++q)for(m=e;m<=b;++m)(s=this.Lj(q,m,!1))&&s.Ip(a)};Wa=m;var q=[];t.prototype.Ud=function(){return this.Jg.Ud()};
t.prototype.Xq=function(f){this.Jg.add(f)};t.prototype.remove=function(f){this.Jg.remove(f)};t.prototype.Ip=function(f){ua(f,this.Jg.Mf())};aa=t;var n="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");Xa=function(f){return 0>=f||11<=f?"source-over":n[f-1]};$a=function(f,a,q){if(q)switch(f.sb=q.ONE,f.rb=q.ONE_MINUS_SRC_ALPHA,a){case 1:f.sb=q.ONE;f.rb=q.ONE;break;case 3:f.sb=q.ONE;f.rb=q.ZERO;break;case 4:f.sb=q.ONE_MINUS_DST_ALPHA;
f.rb=q.ONE;break;case 5:f.sb=q.DST_ALPHA;f.rb=q.ZERO;break;case 6:f.sb=q.ZERO;f.rb=q.SRC_ALPHA;break;case 7:f.sb=q.ONE_MINUS_DST_ALPHA;f.rb=q.ZERO;break;case 8:f.sb=q.ZERO;f.rb=q.ONE_MINUS_SRC_ALPHA;break;case 9:f.sb=q.DST_ALPHA;f.rb=q.ONE_MINUS_SRC_ALPHA;break;case 10:f.sb=q.ONE_MINUS_DST_ALPHA,f.rb=q.SRC_ALPHA}};ab=function(f){return ma(1E6*f)/1E6};bb=function(f,a){return"string"!==typeof f||"string"!==typeof a||f.length!==a.length?!1:f===a?!0:f.toLowerCase()===a.toLowerCase()}})();
var Ub="undefined"!==typeof Float32Array?Float32Array:Array;function Vb(c){var h=new Ub(3);c&&(h[0]=c[0],h[1]=c[1],h[2]=c[2]);return h}function Wb(c){var h=new Ub(16);c&&(h[0]=c[0],h[1]=c[1],h[2]=c[2],h[3]=c[3],h[4]=c[4],h[5]=c[5],h[6]=c[6],h[7]=c[7],h[8]=c[8],h[9]=c[9],h[10]=c[10],h[11]=c[11],h[12]=c[12],h[13]=c[13],h[14]=c[14],h[15]=c[15]);return h}
function Xb(c,h){h[0]=c[0];h[1]=c[1];h[2]=c[2];h[3]=c[3];h[4]=c[4];h[5]=c[5];h[6]=c[6];h[7]=c[7];h[8]=c[8];h[9]=c[9];h[10]=c[10];h[11]=c[11];h[12]=c[12];h[13]=c[13];h[14]=c[14];h[15]=c[15]}function Yb(c,h){var d=h[0],g=h[1];h=h[2];c[0]*=d;c[1]*=d;c[2]*=d;c[3]*=d;c[4]*=g;c[5]*=g;c[6]*=g;c[7]*=g;c[8]*=h;c[9]*=h;c[10]*=h;c[11]*=h}
function Zb(c,h,d,g){g||(g=Wb());var b,a,e,m,v,t,r,l,p=c[0],u=c[1];c=c[2];a=d[0];e=d[1];b=d[2];d=h[1];t=h[2];p===h[0]&&u===d&&c===t?(c=g,c[0]=1,c[1]=0,c[2]=0,c[3]=0,c[4]=0,c[5]=1,c[6]=0,c[7]=0,c[8]=0,c[9]=0,c[10]=1,c[11]=0,c[12]=0,c[13]=0,c[14]=0,c[15]=1):(d=p-h[0],t=u-h[1],r=c-h[2],l=1/Math.sqrt(d*d+t*t+r*r),d*=l,t*=l,r*=l,h=e*r-b*t,b=b*d-a*r,a=a*t-e*d,(l=Math.sqrt(h*h+b*b+a*a))?(l=1/l,h*=l,b*=l,a*=l):a=b=h=0,e=t*a-r*b,m=r*h-d*a,v=d*b-t*h,(l=Math.sqrt(e*e+m*m+v*v))?(l=1/l,e*=l,m*=l,v*=l):v=m=e=0,
g[0]=h,g[1]=e,g[2]=d,g[3]=0,g[4]=b,g[5]=m,g[6]=t,g[7]=0,g[8]=a,g[9]=v,g[10]=r,g[11]=0,g[12]=-(h*p+b*u+a*c),g[13]=-(e*p+m*u+v*c),g[14]=-(d*p+t*u+r*c),g[15]=1)}
(function(){function c(a){this.Zh=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.Ul=Vb([0,0,100]);this.kn=Vb([0,0,0]);this.ro=Vb([0,1,0]);this.xl=Vb([1,1,1]);this.rk=Wb();this.xc=Wb();this.$m=Wb();this.xj=Wb();this.q=a;this.Hm()}function h(a,e,m){this.q=a;this.Wg=e;this.name=m;this.wc=a.getAttribLocation(e,"aPos");this.$d=a.getAttribLocation(e,"aTex");this.hn=a.getUniformLocation(e,"matP");this.vf=a.getUniformLocation(e,"matMV");this.wf=a.getUniformLocation(e,
"opacity");this.jn=a.getUniformLocation(e,"samplerFront");this.Cg=a.getUniformLocation(e,"samplerBack");this.Me=a.getUniformLocation(e,"destStart");this.Le=a.getUniformLocation(e,"destEnd");this.ok=a.getUniformLocation(e,"seconds");this.nk=a.getUniformLocation(e,"pixelWidth");this.mk=a.getUniformLocation(e,"pixelHeight");this.lk=a.getUniformLocation(e,"layerScale");this.wf&&a.uniform1f(this.wf,1);this.jn&&a.uniform1i(this.jn,0);this.Cg&&a.uniform1i(this.Cg,1);this.Me&&a.uniform2f(this.Me,0,0);this.Le&&
a.uniform2f(this.Le,1,1);this.Be=!1}function d(a,e){this.type=a;this.A=e;this.q=e.q;this.Yc=this.zc=this.zn=0;this.H=this.Pc=null;this.al=[]}c.prototype.Hm=function(){var a=this.q,e;this.an=1;this.Je=this.Yd=null;this.$l=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.bn=a.ONE;this.Zm=a.ONE_MINUS_SRC_ALPHA;this.Gk=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.Gk);this.eh=Array(4);
this.ah=Array(4);for(e=0;4>e;e++)this.eh[e]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.eh[e]),this.ah[e]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.ah[e]);this.sd=0;this.Wq=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.Wq);this.tl=new Float32Array(16E3);this.hl=new Float32Array(16E3);this.sr=new Float32Array(32E3);for(var m=new Uint16Array(12E3),b=e=0;12E3>e;)m[e++]=b,m[e++]=b+1,m[e++]=b+2,m[e++]=b,m[e++]=b+2,m[e++]=b+3,b+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,m,a.STATIC_DRAW);
this.Hk=this.nd=0;this.$a=[];e=this.wj({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.$a.push(e);
e=this.wj({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.$a.push(e);for(var d in $b)$b.hasOwnProperty(d)&&this.$a.push(this.wj($b[d],
"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}",d));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.Pd=[];this.pd=0;this.Kb=!1;this.cm=this.vg=-1;this.Zf=null;this.kq=a.createFramebuffer();this.Rn=null;this.ke=Vb([0,0,0]);this.jd(0)};c.prototype.wj=function(a,e,m){var b=this.q,d=b.createShader(b.FRAGMENT_SHADER);
b.shaderSource(d,a.src);b.compileShader(d);if(!b.getShaderParameter(d,b.COMPILE_STATUS))return b.deleteShader(d),null;var c=b.createShader(b.VERTEX_SHADER);b.shaderSource(c,e);b.compileShader(c);if(!b.getShaderParameter(c,b.COMPILE_STATUS))return b.deleteShader(d),b.deleteShader(c),null;e=b.createProgram();b.attachShader(e,d);b.attachShader(e,c);b.linkProgram(e);if(!b.getProgramParameter(e,b.LINK_STATUS))return b.deleteShader(d),b.deleteShader(c),b.deleteProgram(e),null;b.useProgram(e);b.deleteShader(d);
b.deleteShader(c);m=new h(b,e,m);m.Cj=a.Cj||0;m.Dj=a.Dj||0;m.Zl=!!a.Zl;m.Ol=!!a.Ol;m.F=a.F||[];a=0;for(d=m.F.length;a<d;a++)m.F[a][1]=b.getUniformLocation(e,m.F[a][0]),b.uniform1f(m.F[a][1],0);return m};c.prototype.Qj=function(a){var e,b;e=0;for(b=this.$a.length;e<b;e++)if(this.$a[e].name===a)return e;return-1};c.prototype.Mn=function(a,e,b){var d=this.xc,c=this.rk,g=[0,0,0,0,0,0,0,0];g[0]=d[0]*a+d[4]*e+d[12];g[1]=d[1]*a+d[5]*e+d[13];g[2]=d[2]*a+d[6]*e+d[14];g[3]=d[3]*a+d[7]*e+d[15];g[4]=c[0]*g[0]+
c[4]*g[1]+c[8]*g[2]+c[12]*g[3];g[5]=c[1]*g[0]+c[5]*g[1]+c[9]*g[2]+c[13]*g[3];g[6]=c[2]*g[0]+c[6]*g[1]+c[10]*g[2]+c[14]*g[3];g[7]=-g[2];0!==g[7]&&(g[7]=1/g[7],g[4]*=g[7],g[5]*=g[7],g[6]*=g[7],b[0]=(0.5*g[4]+0.5)*this.width,b[1]=(0.5*g[5]+0.5)*this.height)};c.prototype.Ff=function(a,e,b){if(this.width!==a||this.height!==e||b){this.Rd();this.width=a;this.height=e;this.q.viewport(0,0,a,e);e=a/e;var d=this.rk,c;c=1*Math.tan(45*Math.PI/360);e*=c;a=-e;b=-c;d||(d=Wb());var g=e-a,l=c-b;d[0]=2/g;d[1]=0;d[2]=
0;d[3]=0;d[4]=0;d[5]=2/l;d[6]=0;d[7]=0;d[8]=(e+a)/g;d[9]=(c+b)/l;d[10]=-1001/999;d[11]=-1;d[12]=0;d[13]=0;d[14]=-2E3/999;d[15]=0;Zb(this.Ul,this.kn,this.ro,this.xc);a=[0,0];e=[0,0];this.Mn(0,0,a);this.Mn(1,1,e);this.xl[0]=1/(e[0]-a[0]);this.xl[1]=-1/(e[1]-a[1]);a=0;for(e=this.$a.length;a<e;a++)b=this.$a[a],b.Be=!1,b.hn&&(this.q.useProgram(b.Wg),this.q.uniformMatrix4fv(b.hn,!1,this.rk));this.q.useProgram(this.$a[this.vg].Wg);this.q.bindTexture(this.q.TEXTURE_2D,null);this.q.activeTexture(this.q.TEXTURE1);
this.q.bindTexture(this.q.TEXTURE_2D,null);this.q.activeTexture(this.q.TEXTURE0);this.Je=this.Yd=null}};c.prototype.fd=function(){Zb(this.Ul,this.kn,this.ro,this.xc);Yb(this.xc,this.xl)};c.prototype.translate=function(a,e){if(0!==a||0!==e){this.ke[0]=a;this.ke[1]=e;this.ke[2]=0;var b=this.xc,d=this.ke,c=d[0],g=d[1],d=d[2];b[12]=b[0]*c+b[4]*g+b[8]*d+b[12];b[13]=b[1]*c+b[5]*g+b[9]*d+b[13];b[14]=b[2]*c+b[6]*g+b[10]*d+b[14];b[15]=b[3]*c+b[7]*g+b[11]*d+b[15]}};c.prototype.scale=function(a,e){if(1!==a||
1!==e)this.ke[0]=a,this.ke[1]=e,this.ke[2]=1,Yb(this.xc,this.ke)};c.prototype.Sk=function(a){if(0!==a){var e=this.xc,b,d=Math.sin(a);a=Math.cos(a);var c=e[0],g=e[1],l=e[2],h=e[3],u=e[4],f=e[5],s=e[6],q=e[7];b?e!==b&&(b[8]=e[8],b[9]=e[9],b[10]=e[10],b[11]=e[11],b[12]=e[12],b[13]=e[13],b[14]=e[14],b[15]=e[15]):b=e;b[0]=c*a+u*d;b[1]=g*a+f*d;b[2]=l*a+s*d;b[3]=h*a+q*d;b[4]=c*-d+u*a;b[5]=g*-d+f*a;b[6]=l*-d+s*a;b[7]=h*-d+q*a}};c.prototype.md=function(){for(var a=!1,e=0;16>e;e++)if(this.$m[e]!==this.xc[e]){a=
!0;break}a&&(a=this.Mc(),a.type=5,a.H?Xb(this.xc,a.H):a.H=Wb(this.xc),Xb(this.xc,this.$m),this.Kb=!1)};d.prototype.Fp=function(){this.q.bindTexture(this.q.TEXTURE_2D,this.Pc)};d.prototype.Gp=function(){var a=this.q;a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,this.Pc);a.activeTexture(a.TEXTURE0)};d.prototype.Cp=function(){var a=this.zn,e=this.A;e.$l=a;e=e.Zf;e.wf&&this.q.uniform1f(e.wf,a)};d.prototype.zp=function(){this.q.drawElements(this.q.TRIANGLES,this.Yc,this.q.UNSIGNED_SHORT,2*this.zc)};
d.prototype.Bp=function(){this.q.blendFunc(this.zc,this.Yc)};d.prototype.Hp=function(){var a,e,b,d=this.A.$a,c=this.A.cm;a=0;for(e=d.length;a<e;a++)b=d[a],a===c&&b.vf?(this.q.uniformMatrix4fv(b.vf,!1,this.H),b.Be=!0):b.Be=!1;Xb(this.H,this.A.xj)};d.prototype.Ap=function(){var a=this.q,e=this.A;this.Pc?(e.Je===this.Pc&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,null),e.Je=null,a.activeTexture(a.TEXTURE0)),a.bindFramebuffer(a.FRAMEBUFFER,e.kq),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,
a.TEXTURE_2D,this.Pc,0)):(a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};d.prototype.xp=function(){var a=this.q;0===this.zc?(a.clearColor(this.H[0],this.H[1],this.H[2],this.H[3]),a.clear(a.COLOR_BUFFER_BIT)):(a.enable(a.SCISSOR_TEST),a.scissor(this.H[0],this.H[1],this.H[2],this.H[3]),a.clearColor(0,0,0,0),a.clear(this.q.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST))};d.prototype.yp=function(){var a=this.q,e=this.A,b=e.$a[1];a.useProgram(b.Wg);
!b.Be&&b.vf&&(a.uniformMatrix4fv(b.vf,!1,e.xj),b.Be=!0);a.enableVertexAttribArray(b.wc);a.bindBuffer(a.ARRAY_BUFFER,e.Gk);a.vertexAttribPointer(b.wc,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.zc/4,this.Yc);b=e.Zf;a.useProgram(b.Wg);0<=b.wc&&(a.enableVertexAttribArray(b.wc),a.bindBuffer(a.ARRAY_BUFFER,e.eh[e.sd]),a.vertexAttribPointer(b.wc,2,a.FLOAT,!1,0,0));0<=b.$d&&(a.enableVertexAttribArray(b.$d),a.bindBuffer(a.ARRAY_BUFFER,e.ah[e.sd]),a.vertexAttribPointer(b.$d,2,a.FLOAT,!1,0,0))};d.prototype.Dp=
function(){var a=this.q,b=this.A,d=b.$a[this.zc];b.cm=this.zc;b.Zf=d;a.useProgram(d.Wg);!d.Be&&d.vf&&(a.uniformMatrix4fv(d.vf,!1,b.xj),d.Be=!0);d.wf&&a.uniform1f(d.wf,b.$l);0<=d.wc&&(a.enableVertexAttribArray(d.wc),a.bindBuffer(a.ARRAY_BUFFER,b.eh[b.sd]),a.vertexAttribPointer(d.wc,2,a.FLOAT,!1,0,0));0<=d.$d&&(a.enableVertexAttribArray(d.$d),a.bindBuffer(a.ARRAY_BUFFER,b.ah[b.sd]),a.vertexAttribPointer(d.$d,2,a.FLOAT,!1,0,0))};d.prototype.Ep=function(){var a,b,d=this.A.Zf,c=this.q;d.Cg&&this.A.Je!==
this.Pc&&(c.activeTexture(c.TEXTURE1),c.bindTexture(c.TEXTURE_2D,this.Pc),this.A.Je=this.Pc,c.activeTexture(c.TEXTURE0));d.nk&&c.uniform1f(d.nk,this.H[0]);d.mk&&c.uniform1f(d.mk,this.H[1]);d.Me&&c.uniform2f(d.Me,this.H[2],this.H[3]);d.Le&&c.uniform2f(d.Le,this.H[4],this.H[5]);d.lk&&c.uniform1f(d.lk,this.H[6]);d.ok&&c.uniform1f(d.ok,Sa()/1E3);if(d.F.length)for(a=0,b=d.F.length;a<b;a++)c.uniform1f(d.F[a][1],this.al[a])};c.prototype.Mc=function(){this.pd===this.Pd.length&&this.Pd.push(new d(0,this));
return this.Pd[this.pd++]};c.prototype.Rd=function(){if(0!==this.pd&&!this.q.isContextLost()){var a=this.q;0<this.Hk&&(a.bindBuffer(a.ARRAY_BUFFER,this.Gk),a.bufferData(a.ARRAY_BUFFER,this.sr.subarray(0,this.Hk),a.STREAM_DRAW),b&&0<=b.wc&&"<point>"===b.name&&a.vertexAttribPointer(b.wc,4,a.FLOAT,!1,0,0));if(0<this.nd){var b=this.Zf;a.bindBuffer(a.ARRAY_BUFFER,this.eh[this.sd]);a.bufferData(a.ARRAY_BUFFER,this.tl.subarray(0,this.nd),a.STREAM_DRAW);b&&0<=b.wc&&"<point>"!==b.name&&a.vertexAttribPointer(b.wc,
2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.ah[this.sd]);a.bufferData(a.ARRAY_BUFFER,this.hl.subarray(0,this.nd),a.STREAM_DRAW);b&&0<=b.$d&&"<point>"!==b.name&&a.vertexAttribPointer(b.$d,2,a.FLOAT,!1,0,0)}for(var d,a=0,b=this.pd;a<b;a++)switch(d=this.Pd[a],d.type){case 1:d.zp();break;case 2:d.Fp();break;case 3:d.Cp();break;case 4:d.Bp();break;case 5:d.Hp();break;case 6:d.Ap();break;case 7:d.xp();break;case 8:d.yp();break;case 9:d.Dp();break;case 10:d.Ep();break;case 11:d.Gp()}this.Hk=this.nd=
this.pd=0;this.Kb=!1;this.sd++;4<=this.sd&&(this.sd=0)}};c.prototype.Ue=function(a){if(a!==this.an){var b=this.Mc();b.type=3;this.an=b.zn=a;this.Kb=!1}};c.prototype.Ub=function(a){if(a!==this.Yd){var b=this.Mc();b.type=2;this.Yd=b.Pc=a;this.Kb=!1}};c.prototype.ee=function(a,b){if(a!==this.bn||b!==this.Zm){var d=this.Mc();d.type=4;d.zc=a;d.Yc=b;this.bn=a;this.Zm=b;this.Kb=!1}};c.prototype.Un=function(){this.ee(this.q.ONE,this.q.ONE_MINUS_SRC_ALPHA)};c.prototype.Ii=function(a,b,d,c,g,h,l,p){15992<=
this.nd&&this.Rd();var u=this.nd,f=this.tl,s=this.hl;if(this.Kb)this.Pd[this.pd-1].Yc+=6;else{var q=this.Mc();q.type=1;q.zc=3*(u/4);q.Yc=6;this.Kb=!0}f[u]=a;s[u++]=0;f[u]=b;s[u++]=0;f[u]=d;s[u++]=1;f[u]=c;s[u++]=0;f[u]=g;s[u++]=1;f[u]=h;s[u++]=1;f[u]=l;s[u++]=0;f[u]=p;s[u++]=1;this.nd=u};c.prototype.ed=function(a,b,d,c,g,h,l,p,u){15992<=this.nd&&this.Rd();var f=this.nd,s=this.tl,q=this.hl;if(this.Kb)this.Pd[this.pd-1].Yc+=6;else{var n=this.Mc();n.type=1;n.zc=3*(f/4);n.Yc=6;this.Kb=!0}var n=u.left,
k=u.top,y=u.right;u=u.bottom;s[f]=a;q[f++]=n;s[f]=b;q[f++]=k;s[f]=d;q[f++]=y;s[f]=c;q[f++]=k;s[f]=g;q[f++]=y;s[f]=h;q[f++]=u;s[f]=l;q[f++]=n;s[f]=p;q[f++]=u;this.nd=f};c.prototype.jd=function(a){if(this.vg!==a){if(!this.$a[a]){if(0===this.vg)return;a=0}var b=this.Mc();b.type=9;this.vg=b.zc=a;this.Kb=!1}};c.prototype.Mg=function(a){a=this.$a[a];return!(!a.Me&&!a.Le)};c.prototype.Kk=function(a){a=this.$a[a];return!!(a.Me||a.Le||a.Zl)};c.prototype.yr=function(a){a=this.$a[a];return 0!==a.Cj||0!==a.Dj};
c.prototype.Aq=function(a){return this.$a[a].Cj};c.prototype.Bq=function(a){return this.$a[a].Dj};c.prototype.Cq=function(a,b){return this.$a[a].F[b][2]};c.prototype.Fi=function(a){return this.$a[a].Ol};c.prototype.Ef=function(a,b,d,c,g,h,l,p,u){var f=this.$a[this.vg];if(f.nk||f.mk||f.ok||f.Cg||f.Me||f.Le||f.lk||u.length){var s=this.Mc();s.type=10;s.H?Xb(this.xc,s.H):s.H=Wb();s.H[0]=b;s.H[1]=d;s.H[2]=c;s.H[3]=g;s.H[4]=h;s.H[5]=l;s.H[6]=p;s.Pc=f.Cg?a:null;if(u.length)for(s.al.length=u.length,a=0,b=
u.length;a<b;a++)s.al[a]=u[a];this.Kb=!1}};c.prototype.clear=function(a,b,d,c){var g=this.Mc();g.type=7;g.zc=0;g.H||(g.H=Wb());g.H[0]=a;g.H[1]=b;g.H[2]=d;g.H[3]=c;this.Kb=!1};c.prototype.clearRect=function(a,b,d,c){var g=this.Mc();g.type=7;g.zc=1;g.H||(g.H=Wb());g.H[0]=a;g.H[1]=b;g.H[2]=d;g.H[3]=c;this.Kb=!1};c.prototype.xr=function(){this.Rd();this.q.flush()};var g=[],b={};c.prototype.oi=function(a,e,d,c){e=!!e;d=!!d;var t=a.src+","+e+","+d+(e?",undefined":""),h=null;if("undefined"!==typeof a.src&&
b.hasOwnProperty(t))return h=b[t],h.qh++,h;this.Rd();var l=this.q,p=ea(a.width)&&ea(a.height),h=l.createTexture();l.bindTexture(l.TEXTURE_2D,h);l.pixelStorei(l.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var u=l.RGBA,f=l.RGBA,s=l.UNSIGNED_BYTE;if(c&&!this.Zh)switch(c){case 1:f=u=l.RGB;break;case 2:s=l.UNSIGNED_SHORT_4_4_4_4;break;case 3:s=l.UNSIGNED_SHORT_5_5_5_1;break;case 4:f=u=l.RGB,s=l.UNSIGNED_SHORT_5_6_5}!p&&e?(c=document.createElement("canvas"),c.width=fa(a.width),c.height=fa(a.height),c.getContext("2d").drawImage(a,
0,0,a.width,a.height,0,0,c.width,c.height),l.texImage2D(l.TEXTURE_2D,0,u,f,s,c)):l.texImage2D(l.TEXTURE_2D,0,u,f,s,a);e?(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_S,l.REPEAT),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_T,l.REPEAT)):(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_S,l.CLAMP_TO_EDGE),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_T,l.CLAMP_TO_EDGE));d?(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MAG_FILTER,l.LINEAR),p?(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,l.LINEAR_MIPMAP_LINEAR),
l.generateMipmap(l.TEXTURE_2D)):l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,l.LINEAR)):(l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MAG_FILTER,l.NEAREST),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,l.NEAREST));l.bindTexture(l.TEXTURE_2D,null);this.Yd=null;h.Vf=a.width;h.Uf=a.height;h.qh=1;h.Sl=t;g.push(h);return b[t]=h};c.prototype.rd=function(a,b,d,c){this.Rd();var h=this.q;this.Zh&&(c=!1);var r=h.createTexture();h.bindTexture(h.TEXTURE_2D,r);h.texImage2D(h.TEXTURE_2D,0,h.RGBA,a,b,0,h.RGBA,
c?h.UNSIGNED_SHORT_4_4_4_4:h.UNSIGNED_BYTE,null);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_S,h.CLAMP_TO_EDGE);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_T,h.CLAMP_TO_EDGE);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MAG_FILTER,d?h.LINEAR:h.NEAREST);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MIN_FILTER,d?h.LINEAR:h.NEAREST);h.bindTexture(h.TEXTURE_2D,null);this.Yd=null;r.Vf=a;r.Uf=b;g.push(r);return r};c.prototype.cs=function(a,b,d){this.Rd();var c=this.q;this.Zh&&(d=!1);c.bindTexture(c.TEXTURE_2D,b);c.texImage2D(c.TEXTURE_2D,
0,c.RGBA,c.RGBA,d?c.UNSIGNED_SHORT_4_4_4_4:c.UNSIGNED_BYTE,a);c.bindTexture(c.TEXTURE_2D,null);this.Yd=null};c.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.qh&&1<a.qh?a.qh--:(this.Rd(),a===this.Yd&&(this.q.bindTexture(this.q.TEXTURE_2D,null),this.Yd=null),a===this.Je&&(this.q.activeTexture(this.q.TEXTURE1),this.q.bindTexture(this.q.TEXTURE_2D,null),this.q.activeTexture(this.q.TEXTURE0),this.Je=null),wa(g,a),"undefined"!==typeof a.Sl&&delete b[a.Sl],this.q.deleteTexture(a)))};c.prototype.hd=
function(a){if(a!==this.Rn){var b=this.Mc();b.type=6;this.Rn=b.Pc=a;this.Kb=!1}};cb=c})();
(function(){function c(f){if(f&&(f.getContext||f.dc)&&!f.c2runtime){f.c2runtime=this;var a=this;this.Yj=/crosswalk/i.test(navigator.userAgent)||/xwalk/i.test(navigator.userAgent)||!("undefined"===typeof window.c2isCrosswalk||!window.c2isCrosswalk);this.Qm=!this.Yj&&"undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap);this.Lb=!!f.dc;this.Nm="undefined"!==typeof window.AppMobi||this.Lb;if(this.Zc=!!window.c2cocoonjs)CocoonJS.App.onSuspended.addEventListener(function(){a.setSuspended(!0)}),
CocoonJS.App.onActivated.addEventListener(function(){a.setSuspended(!1)});this.Mb=this.Lb||this.Zc;this.Rm=/tizen/i.test(navigator.userAgent);this.Yh=/android/i.test(navigator.userAgent)&&!this.Rm;this.Zh=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.Wm=/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent);this.Vm=/ipad/i.test(navigator.userAgent);this.dk=this.Wm||this.Vm;this.lg=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent);
this.br=/amazonwebappplatform/i.test(navigator.userAgent);this.Om=/firefox/i.test(navigator.userAgent);this.fr=!this.lg&&/safari/i.test(navigator.userAgent);this.gr=/windows/i.test(navigator.userAgent);this.Wd="undefined"!==typeof window.c2nodewebkit||/nodewebkit/i.test(navigator.userAgent);this.Sm=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.Tm=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.cr=!("undefined"===typeof window.c2isBlackberry10||
!window.c2isBlackberry10);this.Mm=this.Yh&&!this.lg&&!this.Om&&!this.br&&!this.Mb;this.devicePixelRatio=1;this.Vd=this.Qm||this.Yj||this.Nm||this.Zc||this.Yh||this.dk||this.Tm||this.cr||this.Rm;this.Vd||(this.Vd=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet)/i.test(navigator.userAgent));"undefined"===typeof cr_is_preview||this.Wd||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)||(this.Wd=!0);this.dr="undefined"!==typeof cr_is_preview&&-1<window.location.search.indexOf("debug");
this.canvas=f;this.Vl=document.getElementById("c2canvasdiv");this.ja=this.A=this.q=null;this.Gj="";this.Lh=!1;this.wn=this.xn=0;this.canvas.oncontextmenu=function(f){f.preventDefault&&f.preventDefault();return!1};this.canvas.onselectstart=function(f){f.preventDefault&&f.preventDefault();return!1};this.Lb&&(window.c2runtime=this);this.Wd&&(window.Et=function(f){f.preventDefault();return!1},window.Ft=function(f){f.preventDefault();return!1},require("nw.gui").App.clearCache());this.width=f.width;this.height=
f.height;this.S=this.width;this.R=this.height;this.zh=this.width;this.yh=this.height;this.xg=window.innerWidth;this.wg=window.innerHeight;this.ra=!0;this.ng=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.u=[];this.Ma=[];this.hk={};this.Ic=[];this.Bj={};this.xe=[];this.Jd=[];this.aj=[];this.hp=[];this.ip=[];this.Xm=this.bo=null;this.Tc=new ba;this.Zj=!1;this.xd=0;this.ak=!1;this.Ib=[];this.zd=this.zb=this.mi=this.Wk="";this.Zg=this.$n=!1;this.vj=this.Dg=this.Qd=
this.we=0;this.Ve=1;this.vc=new Ta;this.fi=0;this.ln=!0;this.wi=this.Ph=this.ag=this.ld=this.yg=this.Fj=0;this.Wf=null;this.Eh=[];this.Aj=[];this.Hh=-1;this.pk=[[]];this.ol=this.qi=0;this.Hi(null);this.bg=this.rn=this.Ig=0;this.$g=[];this.Zi=this.Ji=0;this.rg=!0;this.uf=0;this.mg=!1;this.Sr=0;this.Tq=!1;this.fk=0;this.nf=this.Nk=!1;this.vk=new ba;this.vn=new ba;this.Ki=[];this.Oc=new Va([]);this.gl=new Va([]);this.Md=[];this.Sf={};this.df={};this.$e={};this.Nf={};this.Ql={};this.gn=this.ki=this.Pb=
this.jc=this.dn=this.ji=this.qa=null;this.Lf=this.ck=!1;this.Hj=[null,null];this.Ae=0;this.lm="";this.Pe={};this.Ti=this.tf=null;this.load();this.devicePixelRatio=(this.Ge=!this.Mb&&this.$r&&!this.Mm)?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.mb();var q,b=this.nj&&!(this.Wd||this.Sm||this.Tm);0<this.gc&&this.setSize(window.innerWidth,window.innerHeight,!0);try{!this.Kp||!this.Zc&&this.Mb||(q={alpha:b,depth:!1,antialias:!1,
failIfMajorPerformanceCaveat:!0},this.q=f.getContext("webgl",q)||f.getContext("experimental-webgl",q))}catch(k){}if(this.q){this.Mb||(this.kb=document.createElement("canvas"),jQuery(this.kb).appendTo(this.canvas.parentNode),this.kb.oncontextmenu=P(!1),this.kb.onselectstart=P(!1),this.kb.width=this.zh,this.kb.height=this.yh,jQuery(this.kb).css({width:this.zh+"px",height:this.yh+"px"}),this.Kn(),this.Ek=this.kb.getContext("2d"));this.A=new cb(this.q,this.Vd);this.A.Ff(f.width,f.height);this.ja=null;
this.canvas.addEventListener("webglcontextlost",function(f){f.preventDefault();a.nr();console.log("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){a.A.Hm();a.A.Ff(a.A.width,a.A.height,!0);a.jc=null;a.Pb=null;a.Hj[0]=null;a.Hj[1]=null;a.or();a.ra=!0;console.log("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);var e,d,m,c,g,l;f=0;for(q=this.u.length;f<q;f++)for(d=this.u[f],b=0,e=d.L.length;b<e;b++)c=
d.L[b],c.lb=this.A.Qj(c.id),this.Lf=this.Lf||this.A.Mg(c.lb);f=0;for(q=this.Ic.length;f<q;f++){g=this.Ic[f];b=0;for(e=g.L.length;b<e;b++)c=g.L[b],c.lb=this.A.Qj(c.id);b=0;for(e=g.Y.length;b<e;b++)for(l=g.Y[b],d=0,m=l.L.length;d<m;d++)c=l.L[d],c.lb=this.A.Qj(c.id),this.Lf=this.Lf||this.A.Mg(c.lb)}}else{if(0<this.gc&&this.Lb){this.canvas=null;document.oncontextmenu=P(!1);document.onselectstart=P(!1);this.ja=AppMobi.canvas.getContext("2d");try{this.ja.samplingMode=this.ca?"smooth":"sharp",this.ja.globalScale=
1,this.ja.HTML5CompatibilityMode=!0,this.ja.imageSmoothingEnabled=this.ca}catch(h){}0!==this.width&&0!==this.height&&(this.ja.width=this.width,this.ja.height=this.height)}this.ja||(q=this.Zc?{antialias:!!this.ca,alpha:b}:{alpha:b},this.ja=f.getContext("2d",q),this.ja.webkitImageSmoothingEnabled=this.ca,this.ja.mozImageSmoothingEnabled=this.ca,this.ja.msImageSmoothingEnabled=this.ca,this.ja.imageSmoothingEnabled=this.ca);this.Ek=this.kb=null}this.Xi=function(){a.Ta()};window==window.top||this.Mb||
this.Sm||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.Zc&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(Q("Reloading for continuous preview"),this.mi="__c2_continuouspreview",this.Zg=!0),this.rr&&!this.Vd&&(jQuery(window).focus(function(){a.setSuspended(!1)}),jQuery(window).blur(function(){a.setSuspended(!0)})));
0===this.gc&&this.Ge&&1<this.devicePixelRatio&&this.setSize(this.gb,this.fb,!0);this.no();this.go();this.fa={}}}function h(f){f.target.result.createObjectStore("saves",{keyPath:"slot"})}function d(f,a,q,b){var k=indexedDB.open("_C2SaveStates");k.onupgradeneeded=h;k.onerror=b;k.onsuccess=function(k){k=k.target.result;k.onerror=b;k.transaction(["saves"],"readwrite").objectStore("saves").put({slot:f,data:a}).onsuccess=q}}function g(f,a,q){var b=indexedDB.open("_C2SaveStates");b.onupgradeneeded=h;b.onerror=
q;b.onsuccess=function(b){b=b.target.result;b.onerror=q;var n=b.transaction(["saves"]).objectStore("saves").get(f);n.onsuccess=function(){n.result?a(n.result.data):a(null)}}}function b(){Q("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location+="?continuous"}function a(f){var a,q={};for(a in f)!f.hasOwnProperty(a)||f[a]instanceof ba||f[a]&&"undefined"!==typeof f[a].yt||(q[a]=f[a]);return q}
c.prototype.setSize=function(f,a,q){var b=0,k=0,e=0,d=0,d=0;if(this.xg!==f||this.wg!==a||q){this.xg=f;this.wg=a;var c=this.gc,m=document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.mg;if(m||0!==this.gc||q)m&&0<this.Ae&&(c=this.Ae),4<=c?(q=this.gb/this.fb,f/a>q?(e=a*q,5===c?(d=e/this.gb,1<d?d=Math.floor(d):1>d&&(d=1/Math.ceil(1/d)),e=this.gb*d,d*=this.fb,b=(f-e)/2,k=(a-d)/2,f=e,a=d):(b=(f-e)/2,f=e)):(d=f/q,5===c?(d/=this.fb,1<d?d=Math.floor(d):
1>d&&(d=1/Math.ceil(1/d)),e=this.gb*d,d*=this.fb,b=(f-e)/2,k=(a-d)/2,f=e):k=(a-d)/2,a=d),m&&!this.Wd&&(k=b=0),b=Math.floor(b),k=Math.floor(k),f=Math.floor(f),a=Math.floor(a)):this.Wd&&this.mg&&0===this.nm&&(b=Math.floor((f-this.gb)/2),k=Math.floor((a-this.fb)/2),f=this.gb,a=this.fb),2>c&&(this.Tf=this.devicePixelRatio),this.Ge&&this.Vm&&1<this.devicePixelRatio&&(1024<=f&&(f=1023),1024<=a&&(a=1023)),m=this.devicePixelRatio,this.zh=f,this.yh=a,this.width=Math.round(f*m),this.height=Math.round(a*m),
this.ra=!0,this.xo?(this.S=this.width,this.R=this.height,this.tc=!0):this.width<this.gb&&this.height<this.fb||1===c?(this.S=this.width,this.R=this.height,this.tc=!0):(this.S=this.gb,this.R=this.fb,this.tc=!1,2===c?(q=this.gb/this.fb,c=this.xg/this.wg,c<q?this.S=this.R*c:c>q&&(this.R=this.S/c)):3===c&&(q=this.gb/this.fb,c=this.xg/this.wg,c>q?this.S=this.R*c:c<q&&(this.R=this.S/c))),this.Vl&&!this.Mb&&(jQuery(this.Vl).css({width:f+"px",height:a+"px","margin-left":b,"margin-top":k}),"undefined"!==typeof cr_is_preview&&
jQuery("#borderwrap").css({width:f+"px",height:a+"px"})),this.canvas&&(this.canvas.width=Math.round(f*m),this.canvas.height=Math.round(a*m),this.Ge&&jQuery(this.canvas).css({width:f+"px",height:a+"px"})),this.kb&&(this.kb.width=f,this.kb.height=a,jQuery(this.kb).css({width:f+"px",height:a+"px"})),this.A&&this.A.Ff(Math.round(f*m),Math.round(a*m)),this.Lb&&this.ja&&(this.ja.width=f,this.ja.height=a),this.ja&&(this.ja.webkitImageSmoothingEnabled=this.ca,this.ja.mozImageSmoothingEnabled=this.ca,this.ja.msImageSmoothingEnabled=
this.ca,this.ja.imageSmoothingEnabled=this.ca),this.no()}};c.prototype.no=function(){if(this.jp&&0!==this.Ck){var f="portrait";2===this.Ck&&(f="landscape");screen.lockOrientation?screen.lockOrientation(f):screen.webkitLockOrientation?screen.webkitLockOrientation(f):screen.mozLockOrientation?screen.mozLockOrientation(f):screen.msLockOrientation&&screen.msLockOrientation(f)}};c.prototype.nr=function(){this.ck=!0;var f,a,b;f=0;for(a=this.u.length;f<a;f++)b=this.u[f],b.xi&&b.xi()};c.prototype.or=function(){this.ck=
!1;var f,a,b;f=0;for(a=this.u.length;f<a;f++)b=this.u[f],b.Bk&&b.Bk()};c.prototype.Kn=function(){if(!this.Mb){var f=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.mg?jQuery(this.canvas).offset():jQuery(this.canvas).position();f.position="absolute";jQuery(this.kb).css(f)}};var e=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;c.prototype.setSuspended=
function(f){var a;if(f&&!this.ng)for(Q("[Construct 2] Suspending"),this.ng=!0,0!==this.Ji&&e&&e(this.Ji),0!==this.Zi&&clearTimeout(this.Zi),f=0,a=this.$g.length;f<a;f++)this.$g[f](!0);else if(!f&&this.ng){Q("[Construct 2] Resuming");this.ng=!1;this.fi=Sa();this.yg=Sa();f=this.Dg=this.Ph=0;for(a=this.$g.length;f<a;f++)this.$g[f](!1);this.Ta()}};c.prototype.Ll=function(f){this.$g.push(f)};c.prototype.load=function(){var f=ac();this.name=f[0];this.mm=f[1];this.gc=f[11];this.nm=f[11];this.gb=f[9];this.fb=
f[10];this.Gn=this.gb/2;this.Hn=this.fb/2;this.Mb&&(4<=f[11]||0===f[11])&&(Q("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.nm=this.gc=3);this.rl=f[17];this.Bg=f[18];0===this.Bg&&(this.tf=new Image,this.tf.src="loading-logo.png");this.Ig=f[20];this.kd=new W(this);var a,b,n,k,e,d,c,m,g;a=0;for(b=f[2].length;a<b;a++)c=f[2][a],db(c),g=new c[0](this),g.el=c[1],g.Xd=c[2],g.on=c[9],g.$&&g.$(),this.plugins.push(g);f=ac();a=0;for(b=
f[3].length;a<b;a++){c=f[3][a];e=c[1];g=null;n=0;for(k=this.plugins.length;n<k;n++)if(this.plugins[n]instanceof e){g=this.plugins[n];break}var l=new g.Da(g);l.name=c[0];l.J=c[2];l.Xj=c[3].slice(0);l.bs=c[3].length;l.kp=c[4];l.nq=c[5];l.V=c[11];l.J?(l.si=[],l.Xc=this.bg++,l.wa=null):(l.si=null,l.Xc=-1,l.wa=[]);l.Jh=null;l.gf=null;l.hm=null;l.Gc=!1;l.Cb=null;c[6]?(l.il=c[6][0],l.jl=c[6][1],l.kl=c[6][2]):(l.il=null,l.jl=0,l.kl=0);l.Hb=c[7]?c[7]:null;l.index=a;l.e=[];l.Ch=[];l.he=[new eb(l)];l.td=0;l.Uc=
null;l.If=!0;l.bj=fb;l.rq=gb;l.zq=hb;l.na=ib;l.Og=jb;l.Gi=kb;l.Qe=pb;l.Qh=qb;l.Kj=rb;l.Nj=sb;l.Sc=tb;l.vm=ub;l.wh=new Wa(this.gb,this.fb);l.jh=!0;l.kh=!1;l.fa={};l.toString=vb;l.Ma=[];n=0;for(k=c[8].length;n<k;n++){m=c[8][n];var h=m[1],v=null;e=0;for(d=this.Ma.length;e<d;e++)if(this.Ma[e]instanceof h){v=this.Ma[e];break}v||(v=new h(this),v.vi=[],v.ti=new ba,v.$&&v.$(),this.Ma.push(v),bc&&v instanceof bc&&(this.bo=v),cc&&v instanceof cc&&(this.Xm=v));-1===v.vi.indexOf(l)&&v.vi.push(l);e=new v.Da(v,
l);e.name=m[0];e.V=m[2];e.$();l.Ma.push(e)}l.global=c[9];l.$j=c[10];l.L=[];n=0;for(k=c[12].length;n<k;n++)l.L.push({id:c[12][n][0],name:c[12][n][1],lb:-1,ec:!0,index:n});l.Lt=c[13];this.rl&&!l.J&&!l.$j&&g.Xd||l.$();l.name&&(this.types[l.name]=l);this.u.push(l);g.el&&(n=new g.ua(l),n.uid=this.Ig++,n.On=this.rn++,n.Ce=0,n.fg=wb,n.toString=xb,n.C=c[14],n.$(),l.e.push(n),this.Pe[n.uid.toString()]=n)}a=0;for(b=f[4].length;a<b;a++)for(e=f[4][a],d=this.u[e[0]],n=1,k=e.length;n<k;n++)c=this.u[e[n]],c.wa.push(d),
d.si.push(c);a=0;for(b=f[23].length;a<b;a++){e=f[23][a];d=[];n=0;for(k=e.length;n<k;n++)d.push(this.u[e[n]]);n=0;for(k=d.length;n<k;n++)d[n].Gc=!0,d[n].Cb=d}if(0<this.bg)for(a=0,b=this.u.length;a<b;a++)if(c=this.u[a],!c.J&&c.wa.length){c.Jh=Array(this.bg);c.gf=Array(this.bg);c.hm=Array(this.bg);l=[];n=v=h=m=0;for(k=c.wa.length;n<k;n++)for(g=c.wa[n],c.Jh[g.Xc]=m,m+=g.bs,c.gf[g.Xc]=h,h+=g.kp,c.hm[g.Xc]=v,v+=g.nq,e=0,d=g.L.length;e<d;e++)l.push(ra({},g.L[e]));c.L=l.concat(c.L);n=0;for(k=c.L.length;n<
k;n++)c.L[n].index=n}a=0;for(b=f[5].length;a<b;a++)c=f[5][a],n=new yb(this,c),this.hk[n.name]=n,this.Ic.push(n);a=0;for(b=f[6].length;a<b;a++)c=f[6][a],n=new zb(this,c),this.Bj[n.name]=n,this.xe.push(n);a=0;for(b=this.xe.length;a<b;a++)this.xe[a].Ja();a=0;for(b=this.aj.length;a<b;a++)this.aj[a].Ja();this.aj.length=0;this.lm=f[7];this.cd=f[8];this.Tf=1;this.Kp=f[12];this.ca=f[13];this.nj=f[14];this.$r=f[16];this.Ck=f[19];this.jp=0<this.Ck;this.rr=f[21];this.tc=this.xo=f[22];this.Ui=Date.now()};c.prototype.lq=
function(f){var a,b;a=0;for(b=this.Jd.length;a<b;a++)if(this.Jd[a].rp===f)return this.Jd[a];return null};c.prototype.Pl=function(){var f=0,a=0,b=!0,n,k;n=0;for(k=this.Jd.length;n<k;n++){var e=this.Jd[n].Yl;if(!e||0>=e)e=5E4;f+=e;this.Jd[n].complete||this.Jd[n].loaded?a+=e:b=!1}this.Re=0==f?0:a/f;return b};c.prototype.go=function(){if(this.ja||this.A){var f=this.ja||this.Ek;this.kb&&this.Kn();this.Re=0;this.cn=-1;if(this.Pl())this.Rq();else{var a=Date.now()-this.Ui;if(f){var b=this.width,n=this.height,
k=this.devicePixelRatio;this.kb&&(b=this.zh,n=this.yh,k=1);if(3!==this.Bg&&500<=a&&this.cn!=this.Re){f.clearRect(0,0,b,n);var a=b/2,n=n/2,b=0===this.Bg&&this.tf.complete,e=40*k,d=0,c=80*k,m;b&&(c=this.tf.width*k,m=this.tf.height*k,e=c/2,d=m/2,f.drawImage(this.tf,T(a-e),T(n-d),c,m));1>=this.Bg?(a=T(a-e)+0.5,n=T(n+(d+(b?12*k:0)))+0.5,f.fillStyle="DodgerBlue",f.fillRect(a,n,Math.floor(c*this.Re),6*k),f.strokeStyle="black",f.strokeRect(a,n,c,6*k),f.strokeStyle="white",f.strokeRect(a-1*k,n-1*k,c+2*k,8*
k)):2===this.Bg&&(f.font="12pt Arial",f.fillStyle="#999",f.Kt="middle",k=Math.round(100*this.Re)+"%",b=f.measureText?f.measureText(k):null,f.fillText(k,a-(b?b.width:0)/2,n))}this.cn=this.Re}setTimeout(function(f){return function(){f.go()}}(this),100)}}};c.prototype.Rq=function(){this.kb&&(this.canvas.parentNode.removeChild(this.kb),this.kb=this.Ek=null);this.Ui=Date.now();this.yg=Sa();var f,a,b;if(this.rl)for(f=0,a=this.u.length;f<a;f++)b=this.u[f],b.J||b.$j||!b.Pa.Xd||b.$();else this.rg=!1;f=0;for(a=
this.Ic.length;f<a;f++)this.Ic[f].sp();2<=this.gc&&(f=this.gb/this.fb,a=this.width/this.height,this.Tf=2!==this.gc&&a>f||2===this.gc&&a<f?this.height/this.fb:this.width/this.gb);this.mm?this.hk[this.mm].fl():this.Ic[0].fl();this.rl||(this.uf=1,this.trigger(W.prototype.k.El,null));navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide();this.Ta();this.Lb&&AppMobi.webview.execute("onGameReady();")};var m=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||
window.msRequestAnimationFrame||window.oRequestAnimationFrame;c.prototype.Ta=function(){if(this.qa){var f=Sa();if(this.Tq&&this.Nk&&29>f-this.fk)this.Nk=!1,this.fk=f,m?this.Ji=m(this.Xi,this.canvas):this.Zi=setTimeout(this.Xi,this.Vd?1:16);else{this.Nk=!0;this.fk=f;var a=this.gc,b=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement;(b||this.mg)&&0<this.Ae&&(a=this.Ae);if(0<a&&!this.Wm){var a=window.innerWidth,n=window.innerHeight;this.xg===a&&this.wg===
n||this.setSize(a,n)}this.Mb||(b?(this.Lh||(this.Gj=jQuery(this.canvas).css("margin")||"0",this.Lh=!0),this.lg||this.Wd||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.Lh?(this.lg||this.Wd||jQuery(this.canvas).css("margin",this.Gj),this.Gj="",this.Lh=!1,0===this.gc&&this.setSize(Math.round(this.xn/this.devicePixelRatio),Math.round(this.wn/this.devicePixelRatio),
!0)):(this.xn=this.width,this.wn=this.height));this.rg&&(b=this.Pl(),this.uf=this.Re,b&&(this.rg=!1,this.Re=1,this.trigger(W.prototype.k.El,null)));this.mr();!this.ra&&!this.Zc||this.ck||this.Zg||(this.ra=!1,this.A?this.rc():this.Vc(),this.Ti&&(this.canvas&&this.canvas.toDataURL&&(this.canvas.toDataURL(this.Ti[0],this.Ti[1]),this.trigger(W.prototype.k.Ho,null)),this.Ti=null));this.Dt||(this.ld++,this.ag++,this.Ph++);this.Dg+=Sa()-f;this.ng||(m?this.Ji=m(this.Xi,this.canvas):this.Zi=setTimeout(this.Xi,
this.Vd?1:16))}}};c.prototype.mr=function(){var f,a,b,n,k,e,d,c,m;f=Sa();1E3<=f-this.yg&&(this.yg+=1E3,this.Fj=this.Ph,this.Ph=0,this.vj=this.Dg,this.Dg=0);this.ln&&(0!==this.fi&&(a=f-this.fi,0!==a||this.dr?(this.Qd=a/1E3,0.5<this.Qd?this.Qd=0:0.1<this.Qd&&(this.Qd=0.1)):(10<=this.Nt&&(this.ln=!1),this.Qd=1/60)),this.fi=f);this.we=this.Qd*this.Ve;this.vc.add(this.we);f=document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.mg;2<=this.gc||f&&
0<this.Ae?(a=this.gb/this.fb,b=this.width/this.height,n=this.gc,f&&0<this.Ae&&(n=this.Ae),this.Tf=2!==n&&b>a||2===n&&b<a?this.height/this.fb:this.width/this.gb,this.qa&&(this.qa.Xk(this.qa.scrollX),this.qa.Yk(this.qa.scrollY))):this.Tf=this.Ge?this.devicePixelRatio:1;this.mb();this.xd++;this.kd.Gr();this.xd--;this.mb();this.xd++;f=0;for(a=this.u.length;f<a;f++)if(d=this.u[f],!d.J&&(d.Ma.length||d.wa.length))for(b=0,n=d.e.length;b<n;b++)for(c=d.e[b],k=0,e=c.P.length;k<e;k++)c.P[k].Ta();f=0;for(a=this.u.length;f<
a;f++)if(d=this.u[f],!d.J&&(d.Ma.length||d.wa.length))for(b=0,n=d.e.length;b<n;b++)for(c=d.e[b],k=0,e=c.P.length;k<e;k++)m=c.P[k],m.Ln&&m.Ln();b=this.vk.Mf();f=0;for(a=b.length;f<a;f++)b[f].Ta();this.xd--;this.Uq();for(f=0;this.Wf&&10>f++;)this.fm(this.Wf);f=0;for(a=this.xe.length;f<a;f++)this.xe[f].Rj=!1;this.qa.Gh&&this.qa.Gh.Ra();this.Ki.length=0;this.xd++;f=0;for(a=this.u.length;f<a;f++)if(d=this.u[f],!d.J&&(d.Ma.length||d.wa.length))for(b=0,n=d.e.length;b<n;b++)for(c=d.e[b],k=0,e=c.P.length;k<
e;k++)m=c.P[k],m.ll&&m.ll();b=this.vn.Mf();f=0;for(a=b.length;f<a;f++)b[f].ll();this.xd--};c.prototype.fm=function(f){var a=this.qa;this.qa.Tr();var b,n,k,e,d,c,m;if(this.A)for(b=0,n=this.u.length;b<n;b++)d=this.u[b],d.J||!d.ql||d.global&&0!==d.e.length||-1!==f.ig.indexOf(d)||d.ql();a==f&&(this.kd.ac.length=0);f.fl();b=0;for(n=this.u.length;b<n;b++)if(d=this.u[b],d.global||d.Pa.el)for(f=0,a=d.e.length;f<a;f++)if(c=d.e[f],c.Ak&&c.Ak(),c.P)for(k=0,e=c.P.length;k<e;k++)m=c.P[k],m.Ak&&m.Ak();this.ra=
!0;this.mb()};c.prototype.Yi=function(f){this.vk.add(f)};c.prototype.Rh=function(f){return f&&-1!==f.Hg?this.Qd*f.Hg:this.we};c.prototype.Vc=function(){this.qa.Vc(this.ja);this.Lb&&this.ja.present()};c.prototype.rc=function(){this.qa.rc(this.A);this.A.xr()};c.prototype.mj=function(f){f&&this.Eh.push(f)};c.prototype.Dr=function(f){wa(this.Eh,f)};c.prototype.dg=function(f){return this.Pe[f.toString()]};c.prototype.ne=function(f){var a,b;if(!this.Tc.contains(f)){this.Tc.add(f);if(f.Gc)for(a=0,b=f.siblings.length;a<
b;a++)this.ne(f.siblings[a]);this.Zj&&this.Tc.me.push(f);this.xd++;this.trigger(Object.getPrototypeOf(f.type.Pa).k.Ko,f);this.xd--}};c.prototype.mb=function(){var f,a,b,n,k,e,d,c,m,l;this.Zj=!0;n=0;for(e=this.Ib.length;n<e;n++)for(f=this.Ib[n],a=f.type,a.e.push(f),k=0,d=a.wa.length;k<d;k++)a.wa[k].e.push(f),a.wa[k].If=!0;this.Ib.length=0;e=this.Tc.Mf();for(n=0;n<e.length;n++){f=e[n];a=f.type;b=a.e;k=0;for(d=this.Eh.length;k<d;k++)this.Eh[k](f);wa(b,f);0===b.length&&(a.kh=!1);f.vh&&a.wh.update(f,f.vh,
null);f.j&&(sa(f.j.e,f.ic()),f.j.cc=!0);k=0;for(d=a.wa.length;k<d;k++)wa(a.wa[k].e,f),a.wa[k].If=!0;if(f.P)for(k=0,d=f.P.length;k<d;k++)b=f.P[k],b.Cf&&b.Cf(),b.O.ti.remove(f);this.vk.remove(f);this.vn.remove(f);k=0;for(d=this.kd.ac.length;k<d;k++)if(m=this.kd.ac[k],m.Vb.hasOwnProperty(a.index)&&wa(m.Vb[a.index].Fe,f),!a.J)for(b=0,c=a.wa.length;b<c;b++)l=a.wa[b],m.Vb.hasOwnProperty(l.index)&&wa(m.Vb[l.index].Fe,f);f.Cf&&f.Cf();this.Pe.hasOwnProperty(f.uid.toString())&&delete this.Pe[f.uid.toString()];
this.wi--;64>a.Ch.length&&a.Ch.push(f);a.If=!0}this.Tc.Ud()||(this.ra=!0);this.Tc.clear();this.Zj=!1};var v=[];c.prototype.ue=function(a,b,e,n,k,d){var c,m,l,g;if(!a)return null;var h=this.u[a[1]],t=h.Pa.Xd;if(this.rg&&t&&!h.$j||t&&!this.A&&11===a[0][11])return null;var u=b;t||(b=null);var p;h.Ch.length?(p=h.Ch.pop(),p.kc=!0,h.Pa.ua.call(p,h)):(p=new h.Pa.ua(h),p.kc=!1);p.uid=e&&!d?a[2]:this.Ig++;this.Pe[p.uid.toString()]=p;p.On=this.rn++;p.Ce=h.e.length;c=0;for(m=this.Ib.length;c<m;++c)this.Ib[c].type===
h&&p.Ce++;p.fg=wb;l=a[3];if(p.kc)Ra(p.fa);else{p.fa={};if("undefined"!==typeof cr_is_preview)for(p.Km=[],p.Km.length=l.length,c=0,m=l.length;c<m;c++)p.Km[c]=l[c][1];p.Wa=[];p.Wa.length=l.length}c=0;for(m=l.length;c<m;c++)p.Wa[c]=l[c][0];if(t){var r=a[0];p.x=ca(n)?r[0]:n;p.y=ca(k)?r[1]:k;p.z=r[2];p.width=r[3];p.height=r[4];p.depth=r[5];p.m=r[6];p.opacity=r[7];p.Eb=r[8];p.Fb=r[9];p.Bb=r[10];c=r[11];!this.A&&h.L.length&&(p.Bb=c);p.Xf=Xa(p.Bb);this.q&&$a(p,p.Bb,this.q);if(p.kc){c=0;for(m=r[12].length;c<
m;c++)for(l=0,g=r[12][c].length;l<g;l++)p.Fa[c][l]=r[12][c][l];p.La.set(0,0,0,0);p.vh.set(0,0,-1,-1);p.wb.Ug(p.La);p.qj.length=0}else{p.Fa=r[12].slice(0);c=0;for(m=p.Fa.length;c<m;c++)p.Fa[c]=r[12][c].slice(0);p.ba=[];p.Ld=[];p.Ld.length=h.L.length;p.La=new pa(0,0,0,0);p.vh=new pa(0,0,-1,-1);p.wb=new qa;p.qj=[];p.D=Ab;p.xt=Bb;p.nc=Cb;p.Ka=Db;p.ic=Eb}p.bh=!1;p.Wr=0;p.Vr=0;p.Ur=null;14===r.length&&(p.bh=!0,p.Wr=r[13][0],p.Vr=r[13][1],p.Ur=r[13][2]);c=0;for(m=h.L.length;c<m;c++)p.Ld[c]=!0;p.Id=Fb;p.Id();
p.wo=!!p.ba.length;p.pj=!0;h.jh=!0;p.visible=!0;p.Hg=-1;p.j=b;p.Xe=b.e.length;"undefined"===typeof p.da&&(p.da=null);this.ra=p.qd=!0}p.toString=xb;var C;c=v.length=0;for(m=h.wa.length;c<m;c++)v.push.apply(v,h.wa[c].Ma);v.push.apply(v,h.Ma);if(p.kc)for(c=0,m=v.length;c<m;c++){var w=v[c];C=p.P[c];C.kc=!0;w.O.ua.call(C,w,p);r=a[4][c];l=0;for(g=r.length;l<g;l++)C.C[l]=r[l];C.$();w.O.ti.add(p)}else for(p.P=[],c=0,m=v.length;c<m;c++)w=v[c],C=new w.O.ua(w,p),C.kc=!1,C.C=a[4][c].slice(0),C.$(),p.P.push(C),
w.O.ti.add(p);r=a[5];if(p.kc)for(c=0,m=r.length;c<m;c++)p.C[c]=r[c];else p.C=r.slice(0);this.Ib.push(p);b&&(b.e.push(p),1!==b.Bd||1!==b.Cd)&&(h.kh=!0);this.wi++;if(h.Gc){if(p.Gc=!0,p.kc?p.siblings.length=0:p.siblings=[],!e&&!d){c=0;for(m=h.Cb.length;c<m;c++)if(h.Cb[c]!==h){if(!h.Cb[c].Uc)return null;p.siblings.push(this.ue(h.Cb[c].Uc,u,!1,t?p.x:n,t?p.y:k,!0))}c=0;for(m=p.siblings.length;c<m;c++)for(p.siblings[c].siblings.push(p),l=0;l<m;l++)c!==l&&p.siblings[c].siblings.push(p.siblings[l])}}else p.Gc=
!1,p.siblings=null;p.$();c=0;for(m=p.P.length;c<m;c++)p.P[c].ur&&p.P[c].ur();return p};c.prototype.wq=function(a){var b,e;b=0;for(e=this.qa.Y.length;b<e;b++){var n=this.qa.Y[b];if(bb(n.name,a))return n}return null};c.prototype.xq=function(a){a=T(a);0>a&&(a=0);a>=this.qa.Y.length&&(a=this.qa.Y.length-1);return this.qa.Y[a]};c.prototype.tj=function(a){var b,e;b=0;for(e=a.length;b<e;b++)a[b].na().Ba=!0};c.prototype.Og=function(a){var b,e;b=0;for(e=a.length;b<e;b++)a[b].Og()};c.prototype.Gi=function(a){var b,
e;b=0;for(e=a.length;b<e;b++)a[b].Gi()};c.prototype.Qe=function(a){var b,e;b=0;for(e=a.length;b<e;b++)a[b].Qe()};c.prototype.so=function(a){if(a.jh){var b,e,n=a.e;b=0;for(e=n.length;b<e;++b)n[b].Ka();a.jh=!1}};c.prototype.qm=function(a,b,e,n){var k,d,c=a?1!==a.Bd||1!==a.Cd:!1;if(b.J)for(a=0,k=b.si.length;a<k;++a)d=b.si[a],c||d.kh?ua(n,d.e):(this.so(d),d.wh.Pn(e,n));else c||b.kh?ua(n,b.e):(this.so(b),b.wh.Pn(e,n))};c.prototype.zm=function(a,b,e,n){var k,d;k=0;for(d=b.length;k<d;++k)this.qm(a,b[k],
e,n)};c.prototype.Dq=function(a,b,e){var n=this.bo;n&&this.zm(a,n.vi,b,e)};c.prototype.vq=function(a,b,e){var n=this.Xm;n&&this.zm(a,n.vi,b,e)};c.prototype.Cc=function(a,b){if(!(a&&b&&a!==b&&a.qd&&b.qd))return!1;a.Ka();b.Ka();var e=a.j,n=b.j,k,d,c,m,l,g,h,p;if(e===n||e.Bd===n.Bd&&n.Cd===n.Cd&&e.scale===n.scale&&e.m===n.m&&e.fh===n.fh){if(!a.La.Yq(b.La)||!a.wb.Lm(b.wb)||a.bh&&b.bh)return!1;if(a.bh)return this.fo(a,b);if(b.bh)return this.fo(b,a);h=a.da&&!a.da.pf();k=b.da&&!b.da.pf();if(!h&&!k)return!0;
h?(a.da.bf(a.width,a.height,a.m),h=a.da):(this.Oc.Gf(a.wb,a.x,a.y,a.width,a.height),h=this.Oc);k?(b.da.bf(b.width,b.height,b.m),p=b.da):(this.Oc.Gf(b.wb,b.x,b.y,b.width,b.height),p=this.Oc);return h.jg(p,b.x-a.x,b.y-a.y)}h=a.da&&!a.da.pf();k=b.da&&!b.da.pf();h?(a.da.bf(a.width,a.height,a.m),this.Oc.Wn(a.da)):this.Oc.Gf(a.wb,a.x,a.y,a.width,a.height);h=this.Oc;k?(b.da.bf(b.width,b.height,b.m),this.gl.Wn(b.da)):this.gl.Gf(b.wb,b.x,b.y,b.width,b.height);p=this.gl;k=0;for(d=h.Lc;k<d;k++)c=2*k,m=c+1,l=
h.Ya[c],g=h.Ya[m],h.Ya[c]=e.Aa(l+a.x,g+a.y,!0),h.Ya[m]=e.Aa(l+a.x,g+a.y,!1);h.Ka();k=0;for(d=p.Lc;k<d;k++)c=2*k,m=c+1,l=p.Ya[c],g=p.Ya[m],p.Ya[c]=n.Aa(l+b.x,g+b.y,!0),p.Ya[m]=n.Aa(l+b.x,g+b.y,!1);p.Ka();return h.jg(p,0,0)};var t=new qa;new pa(0,0,0,0);c.prototype.fo=function(a,b){var e=a.zt,n,k,d,c,m=b.La,l=a.x,g=a.y,h=b.da&&!b.da.pf();n=0;for(k=e.length;n<k;++n)if(d=e[n],c=d.Ht,m.Zq(c,l,g)&&(t.Ug(c),t.offset(l,g),t.Lm(b.wb)))if(h)if(b.da.bf(b.width,b.height,b.m),d.Ik){if(d.Ik.jg(b.da,b.x-(l+c.left),
b.y-(g+c.top)))return!0}else{if(this.Oc.Gf(t,0,0,c.right-c.left,c.bottom-c.top),this.Oc.jg(b.da,b.x,b.y))return!0}else if(d.Ik){if(this.Oc.Gf(b.wb,0,0,b.width,b.height),d.Ik.jg(this.Oc,-(l+c.left),-(g+c.top)))return!0}else return!0;return!1};c.prototype.oo=function(a,b){if(!b)return!1;var e,d,k,c,m;e=0;for(d=a.Ma.length;e<d;e++)if(a.Ma[e].O instanceof b)return!0;if(!a.J)for(e=0,d=a.wa.length;e<d;e++)for(m=a.wa[e],k=0,c=m.Ma.length;k<c;k++)if(m.Ma[k].O instanceof b)return!0;return!1};c.prototype.po=
function(a){return this.oo(a,Tb.Ns)};c.prototype.pl=function(a){return this.oo(a,Tb.Os)};var r=[];c.prototype.Wb=function(a){var b,e,d;a.Ka();this.Dq(a.j,a.La,r);b=0;for(e=r.length;b<e;++b)if(d=r[b],d.fa.Rr&&this.Cc(a,d))return r.length=0,d;r.length=0;return null};var l=[];c.prototype.Gd=function(a,b){var e=null;b&&(e=l,e.length=0);a.Ka();this.vq(a.j,a.La,r);var d,k,c;d=0;for(k=r.length;d<k;++d)if(c=r[d],c.fa.jr&&this.Cc(a,c))if(b)e.push(c);else return r.length=0,c;r.length=0;return e};c.prototype.dd=
function(a,b,e,d,k,c){d=d||50;var m=a.x,l=a.y,g,h=null,p=null;for(g=0;g<d;g++)if(a.x=m+b*g,a.y=l+e*g,a.D(),!this.Cc(a,h)&&((h=this.Wb(a))&&(p=h),!h&&(k&&(h=c?this.Cc(a,c)?c:null:this.Gd(a))&&(p=h),!h)))return p&&this.Lk(a,b,e,p),!0;a.x=m;a.y=l;a.D();return!1};c.prototype.Lk=function(a,b,e,d){var k=2,c,m=!1;c=!1;for(var l=a.x,g=a.y;16>=k;)c=1/k,k*=2,a.x+=b*c*(m?1:-1),a.y+=e*c*(m?1:-1),a.D(),this.Cc(a,d)?c=m=!0:(c=m=!1,l=a.x,g=a.y);c&&(a.x=l,a.y=g,a.D())};c.prototype.Br=function(a,b){var e=ca(b)?100:
b,d=0,k=a.x,c=a.y,m=0,l=0,g=0,h=this.Wb(a);if(!h)return!0;for(;d<=e;){switch(m){case 0:l=0;g=-1;d++;break;case 1:l=1;g=-1;break;case 2:l=1;g=0;break;case 3:g=l=1;break;case 4:l=0;g=1;break;case 5:l=-1;g=1;break;case 6:l=-1;g=0;break;case 7:g=l=-1}m=(m+1)%8;a.x=T(k+l*d);a.y=T(c+g*d);a.D();if(!this.Cc(a,h)&&(h=this.Wb(a),!h))return!0}a.x=k;a.y=c;a.D();return!1};c.prototype.Qg=function(a,b){a.qd&&b.qd&&this.Ki.push([a,b])};c.prototype.qp=function(a,b){var e,d,k;e=0;for(d=this.Ki.length;e<d;e++)if(k=
this.Ki[e],k[0]==a&&k[1]==b||k[0]==b&&k[1]==a)return!0;return!1};var p=[],u=-1;c.prototype.trigger=function(a,b,e){if(!this.qa)return!1;var d=this.qa.Gh;if(!d)return!1;u++;u===p.length?p.push(new ba):p[u].clear();a=this.lo(a,b,d,e);u--;return a};c.prototype.lo=function(a,b,e,d){var k=p[u];if(k.contains(e))return!1;k.add(e);var k=e.Gm.Mf(),c=!1,m,l,g;m=0;for(l=k.length;m<l;m++)k[m].$q()&&(g=this.lo(a,b,k[m].hg,d),c=c||g);if(b)for(g=this.nl(a,b,b.type.name,e,d),c=c||g,m=0,l=b.type.wa.length;m<l;m++)g=
this.nl(a,b,b.type.wa[m].name,e,d),c=c||g;else g=this.nl(a,b,"system",e,d),c=c||g;return c};c.prototype.nl=function(a,b,e,d,k){var c,m=!1,l=!1,l="undefined"!==typeof k,g=(l?d.jm:d.mo)[e];if(!g)return m;var h=null;d=0;for(c=g.length;d<c;d++)if(g[d].method==a){h=g[d].Ih;break}if(!h)return m;a=l?h[k]:h;if(!a)return null;d=0;for(c=a.length;d<c;d++)k=a[d][0],l=a[d][1],l=this.jq(b,e,k,l),m=m||l;return m};c.prototype.jq=function(a,b,e,d){var k,c,m=!1;this.ol++;var l=this.xb().pc;l&&this.Og(l.fe);var g=1<
this.ol;this.Og(e.fe);g&&this.Ar();var h=this.Hi(e);h.pc=e;a&&(k=this.types[b].na(),k.Ba=!1,k.e.length=1,k.e[0]=a,this.types[b].Sc());a=!0;if(e.parent){b=h.eo;for(k=e.parent;k;)b.push(k),k=k.parent;b.reverse();k=0;for(c=b.length;k<c;k++)if(!b[k].Ir()){a=!1;break}}a&&(this.ag++,e.Jc?e.Hr(d):e.Ra(),m=m||h.Ke);this.Ci();g&&this.tr();this.Qe(e.fe);l&&this.Qe(l.fe);0!==this.xd||0!==u||this.ak||this.Tc.Ud()&&!this.Ib.length||this.mb();this.ol--;return m};c.prototype.rm=function(){var a=this.xb();return a.pc.za[a.Ua]};
c.prototype.Ar=function(){this.qi++;this.qi>=this.pk.length&&this.pk.push([])};c.prototype.tr=function(){this.qi--};c.prototype.tm=function(){return this.pk[this.qi]};c.prototype.Hi=function(a){this.Hh++;this.Hh>=this.Aj.length&&this.Aj.push(new Gb);var b=this.xb();b.reset(a);return b};c.prototype.Ci=function(){this.Hh--};c.prototype.xb=function(){return this.Aj[this.Hh]};c.prototype.um=function(a,b){for(var e,d,k,c,m,l;b;){e=0;for(d=b.Bc.length;e<d;e++)if(l=b.Bc[e],l instanceof Hb&&bb(a,l.name))return l;
b=b.parent}e=0;for(d=this.xe.length;e<d;e++)for(m=this.xe[e],k=0,c=m.Sd.length;k<c;k++)if(l=m.Sd[k],l instanceof Hb&&bb(a,l.name))return l;return null};c.prototype.wm=function(a){var b,e;b=0;for(e=this.Ic.length;b<e;b++)if(this.Ic[b].V===a)return this.Ic[b];return null};c.prototype.Th=function(a){var b,e;b=0;for(e=this.u.length;b<e;b++)if(this.u[b].V===a)return this.u[b];return null};c.prototype.sq=function(a){var b,e;b=0;for(e=this.Md.length;b<e;b++)if(this.Md[b].V===a)return this.Md[b];return null};
c.prototype.Uq=function(){var a=this,e=this.Wk,c=this.zd,n=this.mi,k=!1;this.$n&&(k=!0,e="__c2_continuouspreview",this.$n=!1);if(e.length){this.mb();c=this.Mr();if(window.indexedDB&&!this.Zc)d(e,c,function(){Q("Saved state to IndexedDB storage ("+c.length+" bytes)");a.zd=c;a.trigger(W.prototype.k.jj,null);a.zd="";k&&b()},function(d){try{localStorage.setItem("__c2save_"+e,c),Q("Saved state to WebStorage ("+c.length+" bytes)"),a.zd=c,a.trigger(W.prototype.k.jj,null),a.zd="",k&&b()}catch(n){Q("Failed to save game state: "+
d+"; "+n)}});else try{localStorage.setItem("__c2save_"+e,c),Q("Saved state to WebStorage ("+c.length+" bytes)"),a.zd=c,this.trigger(W.prototype.k.jj,null),a.zd="",k&&b()}catch(m){Q("Error saving to WebStorage: "+m)}this.zb=this.mi=this.Wk=""}n.length&&(window.indexedDB&&!this.Zc?g(n,function(b){b?(a.zb=b,Q("Loaded state from IndexedDB storage ("+a.zb.length+" bytes)")):(a.zb=localStorage.getItem("__c2save_"+n)||"",Q("Loaded state from WebStorage ("+a.zb.length+" bytes)"));a.Zg=!1;a.zb.length||a.trigger(W.prototype.k.ij,
null)},function(){a.zb=localStorage.getItem("__c2save_"+n)||"";Q("Loaded state from WebStorage ("+a.zb.length+" bytes)");a.Zg=!1;a.zb.length||a.trigger(W.prototype.k.ij,null)}):(this.zb=localStorage.getItem("__c2save_"+n)||"",Q("Loaded state from WebStorage ("+this.zb.length+" bytes)"),this.Zg=!1,a.zb.length||a.trigger(W.prototype.k.ij,null)),this.Wk=this.mi="");this.zb.length&&(this.mb(),this.lr(this.zb),this.zd=this.zb,this.trigger(W.prototype.k.Ro,null),this.zb=this.zd="")};c.prototype.Mr=function(){var b,
e,d,c,k,m,l,g={c2save:!0,version:1,rt:{time:this.vc.Sa,timescale:this.Ve,tickcount:this.ld,execcount:this.ag,next_uid:this.Ig,running_layout:this.qa.V,start_time_offset:Date.now()-this.Ui},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};b=0;for(e=this.u.length;b<e;b++)if(k=this.u[b],!k.J&&!this.po(k)){m={instances:[]};Qa(k.fa)&&(m.ex=a(k.fa));d=0;for(c=k.e.length;d<c;d++)m.instances.push(this.Vk(k.e[d]));g.types[k.V.toString()]=m}b=0;for(e=this.Ic.length;b<e;b++)d=this.Ic[b],g.layouts[d.V.toString()]=
d.Ab();c=g.events.groups;b=0;for(e=this.Md.length;b<e;b++)d=this.Md[b],c[d.V.toString()]=!!this.Sf[d.kf];e=g.events.cnds;for(l in this.df)this.df.hasOwnProperty(l)&&(b=this.df[l],Qa(b.fa)&&(e[l]={ex:a(b.fa)}));e=g.events.acts;for(l in this.$e)this.$e.hasOwnProperty(l)&&(b=this.$e[l],Qa(b.fa)&&(e[l]={ex:b.fa}));e=g.events.vars;for(l in this.Nf)this.Nf.hasOwnProperty(l)&&(b=this.Nf[l],b.$h||b.parent&&!b.qg||(e[l]=b.data));g.system=this.kd.Ab();return JSON.stringify(g)};c.prototype.Qn=function(){var a,
b,e,d,k,c;this.Pe={};a=0;for(b=this.u.length;a<b;a++)if(e=this.u[a],!e.J)for(d=0,k=e.e.length;d<k;d++)c=e.e[d],this.Pe[c.uid.toString()]=c};c.prototype.lr=function(a){a=JSON.parse(a);if(a.c2save&&!(1<a.version)){var b=a.rt;this.vc.reset();this.vc.Sa=b.time;this.Ve=b.timescale;this.ld=b.tickcount;this.ag=b.execcount;this.Ui=Date.now()-b.start_time_offset;var e=b.running_layout;if(e!==this.qa.V)if(e=this.wm(e))this.fm(e);else return;var d,k,c,m,l,g,h;g=a.types;for(k in g)if(g.hasOwnProperty(k)&&(m=
this.Th(parseInt(k,10)))&&!m.J&&!this.po(m)){g[k].ex?m.fa=g[k].ex:Ra(m.fa);l=m.e;c=g[k].instances;e=0;for(d=ha(l.length,c.length);e<d;e++)this.ni(l[e],c[e]);e=c.length;for(d=l.length;e<d;e++)this.ne(l[e]);e=l.length;for(d=c.length;e<d;e++){l=null;if(m.Pa.Xd&&(l=this.qa.Sh(c[e].w.l),!l))continue;l=this.ue(m.Uc,l,!1,0,0,!0);this.ni(l,c[e])}m.If=!0}this.mb();this.Qn();d=a.layouts;for(k in d)d.hasOwnProperty(k)&&(e=this.wm(parseInt(k,10)))&&e.Qb(d[k]);d=a.events.groups;for(k in d)d.hasOwnProperty(k)&&
(e=this.sq(parseInt(k,10)))&&(this.Sf[e.kf]=d[k]);e=a.events.cnds;for(k in e)e.hasOwnProperty(k)&&this.df.hasOwnProperty(k)&&(this.df[k].fa=e[k].ex);e=a.events.acts;for(k in e)e.hasOwnProperty(k)&&this.$e.hasOwnProperty(k)&&(this.$e[k].fa=e[k].ex);e=a.events.vars;for(k in e)e.hasOwnProperty(k)&&this.Nf.hasOwnProperty(k)&&(this.Nf[k].data=e[k]);this.Ig=b.next_uid;this.kd.Qb(a.system);e=0;for(d=this.u.length;e<d;e++)if(m=this.u[e],!m.J)for(k=0,a=m.e.length;k<a;k++){l=m.e[k];if(m.Gc)for(g=l.fg(),b=l.siblings.length=
0,c=m.Cb.length;b<c;b++)h=m.Cb[b],m!==h&&l.siblings.push(h.e[g]);l.Qc&&l.Qc();if(l.P)for(b=0,c=l.P.length;b<c;b++)g=l.P[b],g.Qc&&g.Qc()}this.ra=!0}};c.prototype.Vk=function(b,e){var d,c,k,m,l;m=b.type;k=m.Pa;var g={};e?g.c2=!0:g.uid=b.uid;Qa(b.fa)&&(g.ex=a(b.fa));if(b.Wa&&b.Wa.length)for(g.ivs={},d=0,c=b.Wa.length;d<c;d++)g.ivs[b.type.Xj[d].toString()]=b.Wa[d];if(k.Xd){k={x:b.x,y:b.y,w:b.width,h:b.height,l:b.j.V,zi:b.ic()};0!==b.m&&(k.a=b.m);1!==b.opacity&&(k.o=b.opacity);0.5!==b.Eb&&(k.hX=b.Eb);
0.5!==b.Fb&&(k.hY=b.Fb);0!==b.Bb&&(k.bm=b.Bb);b.visible||(k.v=b.visible);b.qd||(k.ce=b.qd);-1!==b.Hg&&(k.mts=b.Hg);if(m.L.length)for(k.fx=[],d=0,c=m.L.length;d<c;d++)l=m.L[d],k.fx.push({name:l.name,active:b.Ld[l.index],params:b.Fa[l.index]});g.w=k}if(b.P&&b.P.length)for(g.behs={},d=0,c=b.P.length;d<c;d++)m=b.P[d],m.Ab&&(g.behs[m.type.V.toString()]=m.Ab());b.Ab&&(g.data=b.Ab());return g};c.prototype.uq=function(a,b){var e,d;e=0;for(d=a.Xj.length;e<d;e++)if(a.Xj[e]===b)return e;return-1};c.prototype.qq=
function(a,b){var e,d;e=0;for(d=a.P.length;e<d;e++)if(a.P[e].type.V===b)return e;return-1};c.prototype.ni=function(a,b,e){var d,c,m,l,g;g=a.type;m=g.Pa;if(e){if(!b.c2)return}else a.uid=b.uid;b.ex?a.fa=b.ex:Ra(a.fa);if(c=b.ivs)for(d in c)c.hasOwnProperty(d)&&(e=this.uq(g,parseInt(d,10)),0>e||e>=a.Wa.length||(a.Wa[e]=c[d]));if(m.Xd){m=b.w;a.j.V!==m.l&&(e=a.j,a.j=this.qa.Sh(m.l),a.j?(a.j.e.push(a),a.j.cc=!0,wa(e.e,a),e.cc=!0):(a.j=e,this.ne(a)));a.x=m.x;a.y=m.y;a.width=m.w;a.height=m.h;a.Xe=m.zi;a.m=
m.hasOwnProperty("a")?m.a:0;a.opacity=m.hasOwnProperty("o")?m.o:1;a.Eb=m.hasOwnProperty("hX")?m.hX:0.5;a.Fb=m.hasOwnProperty("hY")?m.hY:0.5;a.visible=m.hasOwnProperty("v")?m.v:!0;a.qd=m.hasOwnProperty("ce")?m.ce:!0;a.Hg=m.hasOwnProperty("mts")?m.mts:-1;a.Bb=m.hasOwnProperty("bm")?m.bm:0;a.Xf=Xa(a.Bb);this.q&&$a(a,a.Bb,this.q);a.D();if(m.hasOwnProperty("fx"))for(e=0,c=m.fx.length;e<c;e++)l=g.Nj(m.fx[e].name),0>l||(a.Ld[l]=m.fx[e].active,a.Fa[l]=m.fx[e].params);a.Id()}if(g=b.behs)for(d in g)g.hasOwnProperty(d)&&
(m=this.qq(a,parseInt(d,10)),0>m||a.P[m].Qb(g[d]));b.data&&a.Qb(b.data)};Ib=function(a){return new c(document.getElementById(a))};Jb=function(a,b){return new c({dc:!0,width:a,height:b})};window.cr_createRuntime=Ib;window.cr_createDCRuntime=Jb;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var a=document.createElement("screencanvas")||document.createElement("canvas");a.Jt=!0;document.body.appendChild(a);a=new c(a);window.c2runtime=a;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,
window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a}})();window.cr_getC2Runtime=function(){var c=document.getElementById("c2canvas");return c?c.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_sizeCanvas=function(c,h){if(0!==c&&0!==h){var d=window.cr_getC2Runtime();d&&d.setSize(c,h)}};window.cr_setSuspended=function(c){var h=window.cr_getC2Runtime();h&&h.setSuspended(c)};
(function(){function c(b,a){this.b=b;this.Gh=null;this.scrollX=this.b.gb/2;this.scrollY=this.b.fb/2;this.scale=1;this.m=0;this.cg=!0;this.name=a[0];this.width=a[1];this.height=a[2];this.qo=a[3];this.Yn=a[4];this.V=a[5];var e=a[6],d,c;this.Y=[];this.ig=[];d=0;for(c=e.length;d<c;d++){var g=new Kb(this,e[d]);g.tn=d;this.Y.push(g)}e=a[7];this.Ee=[];d=0;for(c=e.length;d<c;d++){var g=e[d],h=this.b.u[g[1]];h.Uc||(h.Uc=g);this.Ee.push(g);-1===this.ig.indexOf(h)&&this.ig.push(h)}this.L=[];this.ba=[];this.Fa=
[];d=0;for(c=a[8].length;d<c;d++)this.L.push({id:a[8][d][0],name:a[8][d][1],lb:-1,ec:!0,index:d}),this.Fa.push(a[8][d][2].slice(0));this.Id();this.be=new pa(0,0,1,1);this.Ok=new pa(0,0,1,1);this.ae={}}function h(b,a){this.pa=b;this.b=b.b;this.e=[];this.scale=1;this.m=0;this.ve=!1;this.Hd=new pa(0,0,0,0);this.ko=new qa;this.Xb=this.$b=this.Zb=this.Yb=0;this.cc=!1;this.name=a[0];this.index=a[1];this.V=a[2];this.visible=a[3];this.Od=a[4];this.We=a[5];this.Bd=a[6];this.Cd=a[7];this.opacity=a[8];this.Ej=
a[9];this.fh=a[10];this.Bb=a[11];this.Jp=a[12];this.Xf="source-over";this.rb=this.sb=0;this.de=!1;var e=a[13],d,c;this.lf=[];d=0;for(c=e.length;d<c;d++){var g=e[d],h=this.b.u[g[1]];h.Uc||(h.Uc=g);this.lf.push(g);-1===this.pa.ig.indexOf(h)&&this.pa.ig.push(h)}this.L=[];this.ba=[];this.Fa=[];d=0;for(c=a[14].length;d<c;d++)this.L.push({id:a[14][d][0],name:a[14][d][1],lb:-1,ec:!0,index:d}),this.Fa.push(a[14][d][2].slice(0));this.Id();this.be=new pa(0,0,1,1);this.Ok=new pa(0,0,1,1)}function d(b,a){return b.Xe-
a.Xe}c.prototype.Lr=function(b){var a=b.type.V.toString();this.ae.hasOwnProperty(a)||(this.ae[a]=[]);this.ae[a].push(this.b.Vk(b))};c.prototype.Dm=function(){var b=this.Y[0];return!b.We&&1===b.opacity&&!b.Ej&&b.visible};c.prototype.Id=function(){this.ba.length=0;var b,a,e;b=0;for(a=this.L.length;b<a;b++)e=this.L[b],e.ec&&this.ba.push(e)};c.prototype.Mj=function(b){var a,e,d;a=0;for(e=this.L.length;a<e;a++)if(d=this.L[a],d.name===b)return d;return null};var g=[];c.prototype.fl=function(){this.Yn&&
(this.Gh=this.b.Bj[this.Yn]);this.b.qa=this;this.scrollX=this.b.gb/2;this.scrollY=this.b.fb/2;var b,a,e,c,h,t,r;b=0;for(e=this.b.u.length;b<e;b++)if(a=this.b.u[b],!a.J)for(h=a.e,a=0,c=h.length;a<c;a++)if(t=h[a],t.j){var l=t.j.tn;l>=this.Y.length&&(l=this.Y.length-1);t.j=this.Y[l];t.j.e.push(t);t.j.cc=!0}g.length=0;this.lp();b=0;for(e=this.Y.length;b<e;b++)t=this.Y[b],t.tp(),t.ve=!0,a=t.cf(!0),c=t.cf(!1),t.ve=!1,this.b.cd&&(a=a+0.5|0,c=c+0.5|0),t.Rk(a,c,null);h=!1;if(!this.cg){for(r in this.ae)if(this.ae.hasOwnProperty(r)&&
(a=this.b.Th(parseInt(r,10)))&&!a.J&&this.b.pl(a)){c=this.ae[r];b=0;for(e=c.length;b<e;b++){t=null;if(a.Pa.Xd&&(t=this.Sh(c[b].w.l),!t))continue;t=this.b.ue(a.Uc,t,!1,0,0,!0);this.b.ni(t,c[b]);h=!0;g.push(t)}c.length=0}b=0;for(e=this.Y.length;b<e;b++)this.Y[b].e.sort(d),this.Y[b].cc=!0}h&&(this.b.mb(),this.b.Qn());for(b=0;b<g.length;b++)if(t=g[b],t.type.Gc)for(e=t.fg(),a=0,c=t.type.Cb.length;a<c;a++)r=t.type.Cb[a],t.type!==r&&(r.e.length>e?t.siblings.push(r.e[e]):r.Uc&&(h=this.b.ue(r.Uc,t.j,!0,t.x,
t.y,!0),this.b.mb(),r.bj(),t.siblings.push(h),g.push(h)));b=0;for(e=this.Ee.length;b<e;b++)this.b.ue(this.Ee[b],null,!0);this.b.Wf=null;this.b.mb();if(this.b.ja&&!this.b.Mb)for(b=0,e=this.b.u.length;b<e;b++)r=this.b.u[b],!r.J&&r.e.length&&r.Jk&&r.Jk(this.b.ja);b=0;for(e=g.length;b<e;b++)t=g[b],this.b.trigger(Object.getPrototypeOf(t.type.Pa).k.Jo,t);g.length=0;this.b.trigger(W.prototype.k.Dl,null);this.cg=!1};c.prototype.sp=function(){var b,a,e,d,c;a=b=0;for(e=this.Ee.length;b<e;b++)d=this.Ee[b],c=
this.b.u[d[1]],c.global?this.b.ue(d,null,!0):(this.Ee[a]=d,a++);this.Ee.length=a};c.prototype.Tr=function(){this.b.trigger(W.prototype.k.Qo,null);this.b.kd.ac.length=0;var b,a,e,d,c,g;b=0;for(a=this.Y.length;b<a;b++){c=this.Y[b].e;e=0;for(d=c.length;e<d;e++)g=c[e],g.type.global||(this.b.pl(g.type)&&this.Lr(g),this.b.ne(g));this.b.mb();c.length=0;this.Y[b].cc=!0}b=0;for(a=this.b.u.length;b<a;b++)if(c=this.b.u[b],!(c.global||c.Pa.Xd||c.Pa.el||c.J)){e=0;for(d=c.e.length;e<d;e++)this.b.ne(c.e[e]);this.b.mb()}};
c.prototype.Vc=function(b){var a,e=b,d=!1,c=!this.b.tc;c&&(this.b.ki||(this.b.ki=document.createElement("canvas"),a=this.b.ki,a.width=this.b.S,a.height=this.b.R,this.b.gn=a.getContext("2d"),d=!0),a=this.b.ki,e=this.b.gn,a.width!==this.b.S&&(a.width=this.b.S,d=!0),a.height!==this.b.R&&(a.height=this.b.R,d=!0),d&&(e.webkitImageSmoothingEnabled=this.b.ca,e.mozImageSmoothingEnabled=this.b.ca,e.msImageSmoothingEnabled=this.b.ca,e.imageSmoothingEnabled=this.b.ca));e.globalAlpha=1;e.globalCompositeOperation=
"source-over";this.b.nj&&!this.Dm()&&e.clearRect(0,0,this.b.S,this.b.R);var g,h,d=0;for(g=this.Y.length;d<g;d++)h=this.Y[d],h.visible&&0<h.opacity&&11!==h.Bb&&h.Vc(e);c&&b.drawImage(a,0,0,this.b.width,this.b.height)};c.prototype.rc=function(b){var a=0<this.ba.length||this.b.Lf||!this.b.tc;if(a){this.b.Pb||(this.b.Pb=b.rd(this.b.S,this.b.R,this.b.ca));if(this.b.Pb.Vf!==this.b.S||this.b.Pb.Uf!==this.b.R)b.deleteTexture(this.b.Pb),this.b.Pb=b.rd(this.b.S,this.b.R,this.b.ca);b.hd(this.b.Pb);this.b.tc||
b.Ff(this.b.S,this.b.R)}else this.b.Pb&&(b.hd(null),b.deleteTexture(this.b.Pb),this.b.Pb=null);this.b.nj&&!this.Dm()&&b.clear(0,0,0,0);var e,d;e=0;for(d=this.Y.length;e<d;e++)this.Y[e].visible&&0<this.Y[e].opacity&&this.Y[e].rc(b);a&&(0===this.ba.length||1===this.ba.length&&this.b.tc?(1===this.ba.length?(a=this.ba[0].index,b.jd(this.ba[0].lb),b.Ef(null,1/this.b.S,1/this.b.R,0,0,1,1,this.scale,this.Fa[a]),b.Fi(this.ba[0].lb)&&(this.b.ra=!0)):b.jd(0),this.b.tc||b.Ff(this.b.width,this.b.height),b.hd(null),
b.Ue(1),b.Ub(this.b.Pb),b.Un(),b.fd(),b.md(),a=this.b.width/2,e=this.b.height/2,b.Ii(-a,e,a,e,a,-e,-a,-e),b.Ub(null)):this.Pk(b,null,null,null))};c.prototype.eg=function(){return 0<this.ba.length||this.b.Lf||!this.b.tc?this.b.Pb:null};c.prototype.xm=function(){var b=this.Y[0].Jb(),a,e,d;a=1;for(e=this.Y.length;a<e;a++)d=this.Y[a],(0!==d.Bd||0!==d.Cd)&&d.Jb()<b&&(b=d.Jb());return b};c.prototype.Xk=function(b){if(!this.qo){var a=this.b.S*(1/this.xm())/2;b>this.width-a&&(b=this.width-a);b<a&&(b=a)}this.scrollX!==
b&&(this.scrollX=b,this.b.ra=!0)};c.prototype.Yk=function(b){if(!this.qo){var a=this.b.R*(1/this.xm())/2;b>this.height-a&&(b=this.height-a);b<a&&(b=a)}this.scrollY!==b&&(this.scrollY=b,this.b.ra=!0)};c.prototype.lp=function(){this.Xk(this.scrollX);this.Yk(this.scrollY)};c.prototype.Pk=function(b,a,e,d){var c=e?e.ba:a?a.ba:this.ba,g=e?e.j.Jb():a?a.Jb():1,h=this.b.Hj,l,p,u,f,s=0,q=1,n,k=this.b.S,y=this.b.R,B=k/2,L=y/2,I=a?a.be:this.be,x=a?a.Ok:this.Ok,E=0,D=0,H=0,S=0,A=k,C=k,w=y,N=y,J=u=0,K=e?e.j.Db():
0;if(e){l=0;for(p=c.length;l<p;l++)u+=b.Aq(c[l].lb),J+=b.Bq(c[l].lb);f=e.La;E=a.Aa(f.left,f.top,!0,!0);H=a.Aa(f.left,f.top,!1,!0);A=a.Aa(f.right,f.bottom,!0,!0);w=a.Aa(f.right,f.bottom,!1,!0);0!==K&&(l=a.Aa(f.right,f.top,!0,!0),p=a.Aa(f.right,f.top,!1,!0),D=a.Aa(f.left,f.bottom,!0,!0),S=a.Aa(f.left,f.bottom,!1,!0),f=Math.min(E,A,l,D),A=Math.max(E,A,l,D),E=f,f=Math.min(H,w,p,S),w=Math.max(H,w,p,S),H=f);E-=u;H-=J;A+=u;w+=J;x.left=E/k;x.top=1-H/y;x.right=A/k;x.bottom=1-w/y;D=E=T(E);S=H=T(H);C=A=na(A);
N=w=na(w);D-=u;S-=J;C+=u;N+=J;0>E&&(E=0);0>H&&(H=0);A>k&&(A=k);w>y&&(w=y);0>D&&(D=0);0>S&&(S=0);C>k&&(C=k);N>y&&(N=y);I.left=E/k;I.top=1-H/y;I.right=A/k;I.bottom=1-w/y}else I.left=x.left=0,I.top=x.top=0,I.right=x.right=1,I.bottom=x.bottom=1;J=e&&((e.m||K)&&b.Mg(c[0].lb)||0!==u||0!==J||1!==e.opacity||e.type.Pa.on)||a&&!e&&1!==a.opacity;b.Un();if(J){h[s]||(h[s]=b.rd(k,y,this.b.ca));if(h[s].Vf!==k||h[s].Uf!==y)b.deleteTexture(h[s]),h[s]=b.rd(k,y,this.b.ca);b.jd(0);b.hd(h[s]);n=N-S;b.clearRect(D,y-S-
n,C-D,n);e?e.rc(b):(b.Ub(this.b.jc),b.Ue(a.opacity),b.fd(),b.translate(-B,-L),b.md(),b.ed(E,w,A,w,A,H,E,H,I));x.left=x.top=0;x.right=x.bottom=1;e&&(f=I.top,I.top=I.bottom,I.bottom=f);s=1;q=0}b.Ue(1);u=c.length-1;var K=b.Kk(c[u].lb)||!a&&!e&&!this.b.tc,z=0;l=0;for(p=c.length;l<p;l++){h[s]||(h[s]=b.rd(k,y,this.b.ca));if(h[s].Vf!==k||h[s].Uf!==y)b.deleteTexture(h[s]),h[s]=b.rd(k,y,this.b.ca);b.jd(c[l].lb);z=c[l].index;b.Fi(c[l].lb)&&(this.b.ra=!0);0!=l||J?(b.Ef(d,1/k,1/y,x.left,x.top,x.right,x.bottom,
g,e?e.Fa[z]:a?a.Fa[z]:this.Fa[z]),b.Ub(null),l!==u||K?(b.hd(h[s]),n=N-S,f=y-S-n,b.clearRect(D,f,C-D,n)):(e?b.ee(e.sb,e.rb):a&&b.ee(a.sb,a.rb),b.hd(d)),b.Ub(h[q]),b.fd(),b.translate(-B,-L),b.md(),b.ed(E,w,A,w,A,H,E,H,I),l!==u||K||b.Ub(null)):(b.hd(h[s]),n=N-S,f=y-S-n,b.clearRect(D,f,C-D,n),e?(b.Ef(d,1/e.width,1/e.height,x.left,x.top,x.right,x.bottom,g,e.Fa[z]),e.rc(b)):(b.Ef(d,1/k,1/y,0,0,1,1,g,a?a.Fa[z]:this.Fa[z]),b.Ub(a?this.b.jc:this.b.Pb),b.fd(),b.translate(-B,-L),b.md(),b.ed(E,w,A,w,A,H,E,H,
I)),x.left=x.top=0,x.right=x.bottom=1,e&&!K&&(f=w,w=H,H=f));s=0===s?1:0;q=0===s?1:0}K&&(b.jd(0),e?b.ee(e.sb,e.rb):a?b.ee(a.sb,a.rb):this.b.tc||(b.Ff(this.b.width,this.b.height),B=this.b.width/2,L=this.b.height/2,H=E=0,A=this.b.width,w=this.b.height),b.hd(d),b.Ub(h[q]),b.fd(),b.translate(-B,-L),b.md(),e&&1===c.length&&!J?b.ed(E,H,A,H,A,w,E,w,I):b.ed(E,w,A,w,A,H,E,H,I),b.Ub(null))};c.prototype.Sh=function(b){var a,e;a=0;for(e=this.Y.length;a<e;a++)if(this.Y[a].V===b)return this.Y[a];return null};c.prototype.Ab=
function(){var b,a,e,d={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.m,w:this.width,h:this.height,fv:this.cg,persist:this.ae,fx:[],layers:{}};b=0;for(a=this.L.length;b<a;b++)e=this.L[b],d.fx.push({name:e.name,active:e.ec,params:this.Fa[e.index]});b=0;for(a=this.Y.length;b<a;b++)e=this.Y[b],d.layers[e.V.toString()]=e.Ab();return d};c.prototype.Qb=function(b){var a,e,d,c;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.ae=b.persist;"undefined"!==
typeof b.fv&&(this.cg=b.fv);var g=b.fx;a=0;for(e=g.length;a<e;a++)if(d=this.Mj(g[a].name))d.ec=g[a].active,this.Fa[d.index]=g[a].params;this.Id();a=b.layers;for(c in a)a.hasOwnProperty(c)&&(b=this.Sh(parseInt(c,10)))&&b.Qb(a[c])};yb=c;h.prototype.Id=function(){this.ba.length=0;var b,a,d;b=0;for(a=this.L.length;b<a;b++)d=this.L[b],d.ec&&this.ba.push(d)};h.prototype.Mj=function(b){var a,d,c;a=0;for(d=this.L.length;a<d;a++)if(c=this.L[a],c.name===b)return c;return null};h.prototype.tp=function(){var b,
a,d,c,h,t;a=b=0;for(d=this.lf.length;b<d;b++){c=this.lf[b];h=this.b.u[c[1]];t=this.b.pl(h);h=!0;if(!t||this.pa.cg)c=this.b.ue(c,this,!0),g.push(c),c.type.global&&(h=!1);h&&(this.lf[a]=this.lf[b],a++)}this.lf.length=a;this.b.mb();!this.b.A&&this.L.length&&(this.Bb=this.Jp);this.Xf=Xa(this.Bb);this.b.q&&$a(this,this.Bb,this.b.q)};h.prototype.Zr=function(){if(this.cc){var b,a;b=0;for(a=this.e.length;b<a;b++)this.e[b].Xe=b;this.cc=!1}};h.prototype.Jb=function(b){return this.yq()*(this.b.tc||b?this.b.Tf:
1)};h.prototype.yq=function(){return(this.scale*this.pa.scale-1)*this.fh+1};h.prototype.Db=function(){return this.ve?0:Da(this.pa.m+this.m)};h.prototype.Vc=function(b){this.de=this.Ej||1!==this.opacity||0!==this.Bb;var a=this.b.canvas,d=b,c=!1;b.globalAlpha=1;b.globalCompositeOperation="source-over";this.de&&(this.b.ji||(this.b.ji=document.createElement("canvas"),a=this.b.ji,a.width=this.b.S,a.height=this.b.R,this.b.dn=a.getContext("2d"),c=!0),a=this.b.ji,d=this.b.dn,a.width!==this.b.S&&(a.width=
this.b.S,c=!0),a.height!==this.b.R&&(a.height=this.b.R,c=!0),c&&(d.webkitImageSmoothingEnabled=this.b.ca,d.mozImageSmoothingEnabled=this.b.ca,d.msImageSmoothingEnabled=this.b.ca,d.imageSmoothingEnabled=this.b.ca),this.We&&d.clearRect(0,0,this.b.S,this.b.R));this.We||(d.fillStyle="rgb("+this.Od[0]+","+this.Od[1]+","+this.Od[2]+")",d.fillRect(0,0,this.b.S,this.b.R));d.save();this.ve=!0;var c=this.cf(!0),g=this.cf(!1);this.ve=!1;this.b.cd&&(c=c+0.5|0,g=g+0.5|0);this.Rk(c,g,d);var h=this.Jb();d.scale(h,
h);d.translate(-c,-g);for(var r,c=0,g=this.e.length;c<g;c++)h=this.e[c],h.visible&&0!==h.width&&0!==h.height&&(h.Ka(),r=h.La,r.right<this.Yb||r.bottom<this.$b||r.left>this.Zb||r.top>this.Xb||(d.globalCompositeOperation=h.Xf,h.Vc(d)));d.restore();this.de&&(b.globalCompositeOperation=this.Xf,b.globalAlpha=this.opacity,b.drawImage(a,0,0))};h.prototype.Rk=function(b,a,d){var c=this.Jb();this.Yb=b;this.$b=a;this.Zb=b+this.b.S*(1/c);this.Xb=a+this.b.R*(1/c);b=this.Db();0!==b&&(d&&(d.translate(this.b.S/
2,this.b.R/2),d.rotate(-b),d.translate(this.b.S/-2,this.b.R/-2)),this.Hd.set(this.Yb,this.$b,this.Zb,this.Xb),this.Hd.offset((this.Yb+this.Zb)/-2,(this.$b+this.Xb)/-2),this.ko.Xn(this.Hd,b),this.ko.Rl(this.Hd),this.Hd.offset((this.Yb+this.Zb)/2,(this.$b+this.Xb)/2),this.Yb=this.Hd.left,this.$b=this.Hd.top,this.Zb=this.Hd.right,this.Xb=this.Hd.bottom)};h.prototype.rc=function(b){var a=this.b.S,d=this.b.R,c=0,g=0;if(this.de=this.Ej||1!==this.opacity||0<this.ba.length||0!==this.Bb){this.b.jc||(this.b.jc=
b.rd(this.b.S,this.b.R,this.b.ca));if(this.b.jc.Vf!==this.b.S||this.b.jc.Uf!==this.b.R)b.deleteTexture(this.b.jc),this.b.jc=b.rd(this.b.S,this.b.R,this.b.ca);b.hd(this.b.jc);this.We&&b.clear(0,0,0,0)}this.We||b.clear(this.Od[0]/255,this.Od[1]/255,this.Od[2]/255,1);this.ve=!0;var g=this.cf(!0),h=this.cf(!1);this.ve=!1;this.b.cd&&(g=g+0.5|0,h=h+0.5|0);this.Rk(g,h,null);h=this.Jb();b.fd();b.scale(h,h);b.Sk(-this.Db());b.translate((this.Yb+this.Zb)/-2,(this.$b+this.Xb)/-2);b.md();var r,l,p;r=0;for(l=
this.e.length;r<l;r++)if(p=this.e[r],p.visible&&0!==p.width&&0!==p.height&&(p.Ka(),c=p.La,!(c.right<this.Yb||c.bottom<this.$b||c.left>this.Zb||c.top>this.Xb)))if(p.wo)if(c=p.ba[0].lb,g=p.ba[0].index,1!==p.ba.length||b.Kk(c)||b.yr(c)||(p.m||p.j.Db())&&b.Mg(c)||1!==p.opacity||p.type.Pa.on)this.pa.Pk(b,this,p,this.de?this.b.jc:this.pa.eg()),b.fd(),b.scale(h,h),b.Sk(-this.Db()),b.translate((this.Yb+this.Zb)/-2,(this.$b+this.Xb)/-2),b.md();else{b.jd(c);b.ee(p.sb,p.rb);b.Fi(c)&&(this.b.ra=!0);var u=0,f=
0,s=0,q=0;b.Mg(c)&&(c=p.La,u=this.Aa(c.left,c.top,!0,!0),f=this.Aa(c.left,c.top,!1,!0),s=this.Aa(c.right,c.bottom,!0,!0),c=this.Aa(c.right,c.bottom,!1,!0),u/=a,f=1-f/d,s/=a,q=1-c/d);b.Ef(this.de?this.b.jc:this.pa.eg(),1/p.width,1/p.height,u,f,s,q,this.Jb(),p.Fa[g]);p.rc(b)}else b.jd(0),b.ee(p.sb,p.rb),p.rc(b);this.de&&(c=this.ba.length?this.ba[0].lb:0,g=this.ba.length?this.ba[0].index:0,0===this.ba.length||1===this.ba.length&&!b.Kk(c)&&1===this.opacity?(1===this.ba.length?(b.jd(c),b.Ef(this.pa.eg(),
1/this.b.S,1/this.b.R,0,0,1,1,this.Jb(),this.Fa[g]),b.Fi(c)&&(this.b.ra=!0)):b.jd(0),b.hd(this.pa.eg()),b.Ue(this.opacity),b.Ub(this.b.jc),b.ee(this.sb,this.rb),b.fd(),b.md(),a=this.b.S/2,d=this.b.R/2,b.Ii(-a,d,a,d,a,-d,-a,-d),b.Ub(null)):this.pa.Pk(b,this,null,this.pa.eg()))};h.prototype.cf=function(b){var a=0,d=0,c=this.b.devicePixelRatio;this.b.Ge&&(a*=c,d*=c);var c=this.b.Gn,g=this.b.Hn,c=(this.pa.scrollX-c)*this.Bd+c,g=(this.pa.scrollY-g)*this.Cd+g,h=1/this.Jb(!1),c=c-this.b.S*h/2,g=g-this.b.R*
h/2,c=c+a*h,g=g+d*h,d=this.Db();0!==d&&(c-=this.pa.scrollX,g-=this.pa.scrollY,a=Math.cos(d),d=Math.sin(d),h=c*a-g*d,g=g*a+c*d,c=h+this.pa.scrollX,g+=this.pa.scrollY);return b?c:g};h.prototype.Aa=function(b,a,d,c){var g=this.Db();if(0!==g){b-=this.pa.scrollX;a-=this.pa.scrollY;var h=Math.cos(-g),g=Math.sin(-g),r=b*h-a*g;a=a*h+b*g;b=r+this.pa.scrollX;a+=this.pa.scrollY}h=this.b.Gn;g=this.b.Hn;h=(this.pa.scrollX-h)*this.Bd+h;g=(this.pa.scrollY-g)*this.Cd+g;r=1/this.Jb(!c);c?(h-=this.b.S*r/2,g-=this.b.R*
r/2):(h-=this.b.width*r/2,g-=this.b.height*r/2);h=(b-h)/r;g=(a-g)/r;b=this.b.devicePixelRatio;this.b.Ge&&(h/=b,g/=b);return d?h:g};h.prototype.Ab=function(){var b,a,d,c={s:this.scale,a:this.m,vl:this.Yb,vt:this.$b,vr:this.Zb,vb:this.Xb,v:this.visible,bc:this.Od,t:this.We,px:this.Bd,py:this.Cd,o:this.opacity,zr:this.fh,fx:[],instances:[]};b=0;for(a=this.L.length;b<a;b++)d=this.L[b],c.fx.push({name:d.name,active:d.ec,params:this.Fa[d.index]});return c};h.prototype.Qb=function(b){var a,c;this.scale=
b.s;this.m=b.a;this.Yb=b.vl;this.$b=b.vt;this.Zb=b.vr;this.Xb=b.vb;this.visible=b.v;this.Od=b.bc;this.We=b.t;this.Bd=b.px;this.Cd=b.py;this.opacity=b.o;this.fh=b.zr;var g=b.fx;b=0;for(a=g.length;b<a;b++)if(c=this.Mj(g[b].name))c.ec=g[b].active,this.Fa[c.index]=g[b].params;this.Id();this.e.sort(d);this.cc=!0};Kb=h})();
(function(){function c(a,b){var d,c=a.length;switch(c){case 0:return!0;case 1:return a[0]===b[0];case 2:return a[0]===b[0]&&a[1]===b[1];default:for(d=0;d<c;d++)if(a[d]!==b[d])return!1;return!0}}function h(a,b){return a.index-b.index}function d(a){var b,d,e,f;2===a.length?a[0].index>a[1].index&&(b=a[0],a[0]=a[1],a[1]=b):2<a.length&&a.sort(h);a.length>=u.length&&(u.length=a.length+1);u[a.length]||(u[a.length]=[]);f=u[a.length];b=0;for(d=f.length;b<d;b++)if(e=f[b],c(a,e))return e;f.push(a);return a}
function g(a,b){this.b=a;this.mo={};this.jm={};this.Rj=!1;this.Gm=new ba;this.name=b[0];var d=b[1];this.Sd=[];var c,e;c=0;for(e=d.length;c<e;c++)this.Im(d[c],null,this.Sd)}function b(a){this.type=a;this.e=[];this.ea=[];this.Ba=!0}function a(a,b,d){this.sheet=a;this.parent=b;this.b=a.b;this.Ca=[];this.fe=[];this.Em=this.$i=this.ml=this.Xh=this.group=this.ao=!1;this.za=[];this.Dc=[];this.Bc=[];d[1]?(this.kf=d[1][1].toLowerCase(),this.group=!0,this.Xh=!!d[1][0],this.b.Md.push(this),this.b.Sf[this.kf.toLowerCase()]=
this.Xh):(this.kf="",this.Xh=this.group=!1);this.Jc=d[2];this.V=d[4];this.group||(this.b.Ql[this.V.toString()]=this);var c=d[5];a=0;for(b=c.length;a<b;a++){var e=new Lb(this,c[a]);e.index=a;this.za.push(e);this.Kl(e.type)}c=d[6];a=0;for(b=c.length;a<b;a++)e=new Mb(this,c[a]),e.index=a,this.Dc.push(e);if(8===d.length)for(d=d[7],a=0,b=d.length;a<b;a++)this.sheet.Im(d[a],this,this.Bc);this.ai=!1;this.za.length&&(this.ai=null==this.za[0].type&&this.za[0].Oa==W.prototype.k.Ao)}function e(a,b){var d,c,
e;if(a&&(-1===b.indexOf(a)&&b.push(a),a.Gc))for(d=0,c=a.Cb.length;d<c;d++)e=a.Cb[d],a!==e&&-1===b.indexOf(e)&&b.push(e)}function m(a,b){this.fc=a;this.sheet=a.sheet;this.b=a.b;this.F=[];this.N=[];this.fa={};this.index=-1;this.Oa=b[1];this.trigger=0<b[3];this.im=2===b[3];this.Ad=b[4];this.kg=b[5];this.ir=b[6];this.V=b[7];this.b.df[this.V.toString()]=this;-1===b[0]?(this.type=null,this.Ra=this.Uk,this.qe=null,this.jb=-1):(this.type=this.b.u[b[0]],this.Ra=this.ir?this.Jr:this.Tk,b[2]?(this.qe=this.type.Qh(b[2]),
this.jb=this.type.Kj(b[2])):(this.qe=null,this.jb=-1),this.fc.parent&&this.fc.parent.Pi());this.im&&(this.Ra=this.Kr);if(10===b.length){var d,c,e=b[9];d=0;for(c=e.length;d<c;d++){var f=new Nb(this,e[d]);this.F.push(f)}this.N.length=e.length}}function v(a,b){this.fc=a;this.sheet=a.sheet;this.b=a.b;this.F=[];this.N=[];this.fa={};this.index=-1;this.Oa=b[1];-1===b[0]?(this.type=null,this.Ra=this.Uk,this.qe=null,this.jb=-1):(this.type=this.b.u[b[0]],this.Ra=this.Tk,b[2]?(this.qe=this.type.Qh(b[2]),this.jb=
this.type.Kj(b[2])):(this.qe=null,this.jb=-1));this.V=b[3];this.b.$e[this.V.toString()]=this;if(6===b.length){var d,c,e=b[5];d=0;for(c=e.length;d<c;d++){var f=new Nb(this,e[d]);this.F.push(f)}this.N.length=e.length}}function t(a,b){this.G=a;this.fc=a.fc;this.sheet=a.sheet;this.b=a.b;this.type=b[0];this.Wc=null;this.Xl=this.ge=0;this.pa=null;this.key=0;this.object=null;this.index=0;this.ej=this.Jf=this.km=this.ye=this.dh=null;var d,c,e;switch(b[0]){case 0:case 7:this.Wc=new V(this,b[1]);this.ge=0;
this.get=this.Iq;break;case 1:this.Wc=new V(this,b[1]);this.ge=0;this.get=this.Jq;break;case 5:this.Wc=new V(this,b[1]);this.ge=0;this.get=this.Nq;break;case 3:case 8:this.Xl=b[1];this.get=this.Gq;break;case 6:this.pa=this.b.hk[b[1]];this.get=this.Oq;break;case 9:this.key=b[1];this.get=this.Mq;break;case 4:this.object=this.b.u[b[1]];this.get=this.Pq;this.fc.Kl(this.object);this.G instanceof Mb?this.fc.Pi():this.fc.parent&&this.fc.parent.Pi();break;case 10:this.index=b[1];this.get=a.type.J?this.Kq:
this.Lq;break;case 11:this.dh=b[1];this.ye=null;this.get=this.Hq;break;case 2:case 12:this.km=b[1];this.get=this.Fq;break;case 13:for(this.get=this.Qq,this.Jf=[],this.ej=[],d=1,c=b.length;d<c;d++)e=new Nb(this.G,b[d]),this.Jf.push(e),this.ej.push(0)}}function r(a,b,d){this.sheet=a;this.parent=b;this.b=a.b;this.Ca=[];this.name=d[1];this.Wj=d[3];this.qg=!!d[4];this.$h=!!d[5];this.V=d[6];this.b.Nf[this.V.toString()]=this;this.data=this.Wj;this.parent?(this.Ne=this.qg||this.$h?-1:this.b.Sr++,this.b.ip.push(this)):
(this.Ne=-1,this.b.hp.push(this))}function l(a,b,d){this.sheet=a;this.parent=b;this.b=a.b;this.Ca=[];this.hg=null;this.Vq=d[1]}function p(){this.eo=[];this.reset(null)}var u=[];g.prototype.toString=G("name");g.prototype.Im=function(a,b,d){switch(a[0]){case 0:a=new Ob(this,b,a);if(a.Jc)for(d.push(a),d=0,b=a.za.length;d<b;d++)a.za[d].trigger&&this.Jm(a,d);else a.Um()?this.Jm(a,0):d.push(a);break;case 1:a=new Hb(this,b,a);d.push(a);break;case 2:a=new Pb(this,b,a),d.push(a)}};g.prototype.Ja=function(){var a,
b;a=0;for(b=this.Sd.length;a<b;a++)this.Sd[a].Ja(a<b-1&&this.Sd[a+1].ai)};g.prototype.Ra=function(a){this.b.It||(this.Rj=!0,a||(this.b.ak=!0));var b,d;b=0;for(d=this.Sd.length;b<d;b++){var c=this.Sd[b];c.Ra();this.b.tj(c.Ca);this.b.Tc.Ud()&&!this.b.Ib.length||this.b.mb()}a||(this.b.ak=!1)};g.prototype.Jm=function(a,b){a.Jc||this.b.aj.push(a);var d,c,e=a.za[b],f;f=e.type?e.type.name:"system";var g=(d=e.im)?this.jm:this.mo;g[f]||(g[f]=[]);f=g[f];g=e.Oa;if(d){if(e.F.length&&(e=e.F[0],1===e.type&&2===
e.Wc.type)){e=e.Wc.value.toLowerCase();d=0;for(c=f.length;d<c;d++)if(f[d].method==g){d=f[d].Ih;d[e]?d[e].push([a,b]):d[e]=[[a,b]];return}d={};d[e]=[[a,b]];f.push({method:g,Ih:d})}}else{d=0;for(c=f.length;d<c;d++)if(f[d].method==g){f[d].Ih.push([a,b]);return}f.push({method:g,Ih:[[a,b]]})}};zb=g;b.prototype.Cm=function(){return this.Ba?this.type.e.length:this.e.length};b.prototype.uc=function(){return this.Ba?this.type.e:this.e};b.prototype.Lg=function(a){a&&(a.b.xb().pc.Jc?(this.Ba&&(this.e.length=
0,ta(this.ea,a.type.e),this.Ba=!1),a=this.ea.indexOf(a),-1!==a&&(this.e.push(this.ea[a]),this.ea.splice(a,1))):(this.Ba=!1,this.e.length=1,this.e[0]=a))};eb=b;window._c2hh_="";a.prototype.Ja=function(a){var b,c=this.parent;if(this.group)for(this.$i=!0;c;){if(!c.group){this.$i=!1;break}c=c.parent}this.ml=!this.Um()&&(!this.parent||this.parent.group&&this.parent.$i);this.Em=!!a;this.fe=this.Ca.slice(0);for(c=this.parent;c;){a=0;for(b=c.Ca.length;a<b;a++)this.gp(c.Ca[a]);c=c.parent}this.Ca=d(this.Ca);
this.fe=d(this.fe);a=0;for(b=this.za.length;a<b;a++)this.za[a].Ja();a=0;for(b=this.Dc.length;a<b;a++)this.Dc[a].Ja();a=0;for(b=this.Bc.length;a<b;a++)this.Bc[a].Ja(a<b-1&&this.Bc[a+1].ai)};a.prototype.Kl=function(a){e(a,this.Ca)};a.prototype.gp=function(a){e(a,this.fe)};a.prototype.Pi=function(){this.ao=!0;this.parent&&this.parent.Pi()};a.prototype.Um=function(){return this.za.length?this.za[0].trigger:!1};a.prototype.Ra=function(){var a,b=!1,d,c=this.b.xb();c.pc=this;this.ai||(c.zj=!1);if(this.Jc){0===
this.za.length&&(b=!0);c.Ua=0;for(a=this.za.length;c.Ua<a;c.Ua++)this.za[c.Ua].trigger||(d=this.za[c.Ua].Ra())&&(b=!0);(c.Ke=b)&&this.Ni()}else{c.Ua=0;for(a=this.za.length;c.Ua<a;c.Ua++)if(d=this.za[c.Ua].Ra(),!d){c.Ke=!1;!this.ml||this.b.Tc.Ud()&&!this.b.Ib.length||this.b.mb();return}c.Ke=!0;this.Ni()}this.Lp(c)};a.prototype.Lp=function(a){a.Ke&&this.Em&&(a.zj=!0);!this.ml||this.b.Tc.Ud()&&!this.b.Ib.length||this.b.mb()};a.prototype.Hr=function(a){this.b.xb().pc=this;this.za[a].Ra()&&(this.Ni(),
this.b.xb().Ke=!0)};a.prototype.Ni=function(){var a=this.b.xb(),b;a.lc=0;for(b=this.Dc.length;a.lc<b;a.lc++)if(this.Dc[a.lc].Ra())return;this.Sn()};a.prototype.Er=function(){var a=this.b.xb(),b;for(b=this.Dc.length;a.lc<b;a.lc++)if(this.Dc[a.lc].Ra())return;this.Sn()};a.prototype.Sn=function(){if(this.Bc.length){var a,b,d,c,e=this.Bc.length-1;this.b.Hi(this);if(this.ao)for(a=0,b=this.Bc.length;a<b;a++)d=this.Bc[a],(c=!this.$i||!this.group&&a<e)&&this.b.Gi(d.Ca),d.Ra(),c?this.b.Qe(d.Ca):this.b.tj(d.Ca);
else for(a=0,b=this.Bc.length;a<b;a++)this.Bc[a].Ra();this.b.Ci()}};a.prototype.Ir=function(){var a=this.b.xb();a.pc=this;var b=!1,d;a.Ua=0;for(d=this.za.length;a.Ua<d;a.Ua++)if(this.za[a.Ua].Ra())b=!0;else if(!this.Jc)return!1;return this.Jc?b:!0};a.prototype.Fr=function(){this.b.ag++;var a=this.b.xb().Ua,b=this.b.Hi(this);if(!this.Jc)for(b.Ua=a+1,a=this.za.length;b.Ua<a;b.Ua++)if(!this.za[b.Ua].Ra()){this.b.Ci();return}this.Ni();this.b.Ci()};a.prototype.er=function(a){var b=a.index;if(0===b)return!0;
for(--b;0<=b;--b)if(this.za[b].type===a.type)return!1;return!0};Ob=a;m.prototype.Ja=function(){var a,b;a=0;for(b=this.F.length;a<b;a++)this.F[a].Ja()};m.prototype.Kr=P(!0);m.prototype.Uk=function(){var a,b;a=0;for(b=this.F.length;a<b;a++)this.N[a]=this.F[a].get();return Pa(this.Oa.apply(this.b.kd,this.N),this.kg)};m.prototype.Jr=function(){var a,b;a=0;for(b=this.F.length;a<b;a++)this.N[a]=this.F[a].get(a);a=this.Oa.apply(this.qe?this.qe:this.type,this.N);this.type.Sc();return a};m.prototype.Tk=function(){var a,
b,d,c,e,f,g,l=this.type.na(),m=this.fc.Jc&&!this.trigger,h=0,p=this.type.Gc;if(l.Ba){l.e.length=0;a=l.ea.length=0;for(d=this.type.e.length;a<d;a++){f=this.type.e[a];b=0;for(c=this.F.length;b<c;b++)this.N[b]=this.F[b].get(a);-1<this.jb?(this.type.J&&(h=f.type.gf[this.type.Xc]),b=this.Oa.apply(f.P[this.jb+h],this.N)):b=this.Oa.apply(f,this.N);(e=Pa(b,this.kg))?l.e.push(f):m&&l.ea.push(f)}this.type.finish&&this.type.finish(!0);l.Ba=!1;this.type.Sc();return l.Cm()}var u=0,t=(e=m&&!this.fc.er(this))?l.ea:
l.e,v=!1;a=0;for(d=t.length;a<d;a++){f=t[a];b=0;for(c=this.F.length;b<c;b++)this.N[b]=this.F[b].get(a);-1<this.jb?(this.type.J&&(h=f.type.gf[this.type.Xc]),b=this.Oa.apply(f.P[this.jb+h],this.N)):b=this.Oa.apply(f,this.N);if(Pa(b,this.kg))if(v=!0,e){if(l.e.push(f),p)for(b=0,c=f.siblings.length;b<c;b++)g=f.siblings[b],g.type.na().e.push(g)}else{t[u]=f;if(p)for(b=0,c=f.siblings.length;b<c;b++)g=f.siblings[b],g.type.na().e[u]=g;u++}else if(e){t[u]=f;if(p)for(b=0,c=f.siblings.length;b<c;b++)g=f.siblings[b],
g.type.na().ea[u]=g;u++}else if(m&&(l.ea.push(f),p))for(b=0,c=f.siblings.length;b<c;b++)g=f.siblings[b],g.type.na().ea.push(g)}t.length=u;if(p)for(a=0,d=this.type.Cb.length;a<d;a++)f=this.type.Cb[a].na(),e?f.ea.length=u:f.e.length=u;h=v;if(e&&!v)for(a=0,d=l.e.length;a<d;a++){f=l.e[a];b=0;for(c=this.F.length;b<c;b++)this.N[b]=this.F[b].get(a);b=-1<this.jb?this.Oa.apply(f.P[this.jb],this.N):this.Oa.apply(f,this.N);if(Pa(b,this.kg)){v=!0;break}}this.type.finish&&this.type.finish(h||m);return m?v:l.Cm()};
Lb=m;v.prototype.Ja=function(){var a,b;a=0;for(b=this.F.length;a<b;a++)this.F[a].Ja()};v.prototype.Uk=function(){var a,b;a=0;for(b=this.F.length;a<b;a++)this.N[a]=this.F[a].get();return this.Oa.apply(this.b.kd,this.N)};v.prototype.Tk=function(){var a=this.type.na().uc(),b,d,c,e,f;b=0;for(c=a.length;b<c;b++){f=a[b];d=0;for(e=this.F.length;d<e;d++)this.N[d]=this.F[d].get(b);-1<this.jb?(d=0,this.type.J&&(d=f.type.gf[this.type.Xc]),this.Oa.apply(f.P[this.jb+d],this.N)):this.Oa.apply(f,this.N)}return!1};
Mb=v;var f=[],s=-1;t.prototype.Ja=function(){var a,b;if(11===this.type)this.ye=this.b.um(this.dh,this.fc.parent);else if(13===this.type)for(a=0,b=this.Jf.length;a<b;a++)this.Jf[a].Ja();this.Wc&&this.Wc.Ja()};t.prototype.Za=function(){s++;f.length===s&&f.push(new Qb);return f[s]};t.prototype.Qa=function(){s--};t.prototype.Iq=function(a){this.ge=a||0;a=this.Za();this.Wc.get(a);this.Qa();return a.data};t.prototype.Jq=function(a){this.ge=a||0;a=this.Za();this.Wc.get(a);this.Qa();return R(a.data)?a.data:
""};t.prototype.Pq=G("object");t.prototype.Gq=G("Xl");t.prototype.Nq=function(a){this.ge=a||0;a=this.Za();this.Wc.get(a);this.Qa();return a.eb()?this.b.xq(a.data):this.b.wq(a.data)};t.prototype.Oq=G("pa");t.prototype.Mq=G("key");t.prototype.Lq=G("index");t.prototype.Kq=function(a){var b=this.G.type,d=null,d=b.na(),c=d.uc(),d=c.length?c[a%c.length].type:d.ea[a%d.ea.length].type;return this.index+d.Jh[b.Xc]};t.prototype.Hq=G("ye");t.prototype.Fq=G("km");t.prototype.Qq=function(){var a,b;a=0;for(b=this.Jf.length;a<
b;a++)this.ej[a]=this.Jf[a].get();return this.ej};Nb=t;r.prototype.Ja=function(){this.Ca=d(this.Ca)};r.prototype.Qr=function(a){var b=this.b.tm();this.parent&&!this.qg&&b?(this.Ne>=b.length&&(b.length=this.Ne+1),b[this.Ne]=a):this.data=a};r.prototype.Eq=function(){var a=this.b.tm();return!this.parent||this.qg||!a||this.$h?this.data:this.Ne>=a.length||"undefined"===typeof a[this.Ne]?this.Wj:a[this.Ne]};r.prototype.Ra=function(){!this.parent||this.qg||this.$h||this.Qr(this.Wj)};Hb=r;l.prototype.toString=
function(){return"include:"+this.hg.toString()};l.prototype.Ja=function(){this.hg=this.b.Bj[this.Vq];this.sheet.Gm.add(this);this.Ca=d(this.Ca)};l.prototype.Ra=function(){this.parent&&this.b.Og(this.b.u);this.hg.Rj||this.hg.Ra(!0);this.parent&&this.b.Qe(this.b.u)};l.prototype.$q=function(){for(var a=this.parent;a;){if(a.group&&!this.b.Sf[a.kf.toLowerCase()])return!1;a=a.parent}return!0};Pb=l;p.prototype.reset=function(a){this.pc=a;this.lc=this.Ua=0;this.eo.length=0;this.zj=this.Ke=!1};Gb=p})();
(function(){function c(d,c){this.G=d;this.b=d.b;this.type=c[0];this.get=[this.Xp,this.Tp,this.fq,this.iq,this.Np,this.gq,this.aq,this.Qp,this.$p,this.dq,this.Op,this.cq,this.Rp,this.bq,this.Yp,this.Zp,this.Up,this.Vp,this.Pp,this.hq,this.gm,this.Wp,this.gm,this.Sp][this.type];var b=null;this.Sb=this.F=this.N=this.Oa=this.Wi=this.ib=this.first=this.value=null;this.jb=-1;this.wd=null;this.sl=-1;this.ye=this.dh=null;this.Rg=!1;switch(this.type){case 0:case 1:case 2:this.value=c[1];break;case 3:this.first=
new V(d,c[1]);break;case 18:this.first=new V(d,c[1]);this.ib=new V(d,c[2]);this.Wi=new V(d,c[3]);break;case 19:this.Oa=c[1];this.N=[];this.F=[];3===c.length?(b=c[2],this.N.length=b.length+1):this.N.length=1;break;case 20:this.Sb=this.b.u[c[1]];this.jb=-1;this.Oa=c[2];this.Rg=c[3];this.wd=c[4]?new V(d,c[4]):null;this.N=[];this.F=[];6===c.length?(b=c[5],this.N.length=b.length+1):this.N.length=1;break;case 21:this.Sb=this.b.u[c[1]];this.Rg=c[2];this.wd=c[3]?new V(d,c[3]):null;this.sl=c[4];break;case 22:this.Sb=
this.b.u[c[1]];this.Sb.Qh(c[2]);this.jb=this.Sb.Kj(c[2]);this.Oa=c[3];this.Rg=c[4];this.wd=c[5]?new V(d,c[5]):null;this.N=[];this.F=[];7===c.length?(b=c[6],this.N.length=b.length+1):this.N.length=1;break;case 23:this.dh=c[1],this.ye=null}4<=this.type&&17>=this.type&&(this.first=new V(d,c[1]),this.ib=new V(d,c[2]));if(b){var a,e;a=0;for(e=b.length;a<e;a++)this.F.push(new V(d,b[a]))}}function h(d,c){this.type=d||Rb.Qf;this.data=c||0;this.zf=null;this.type==Rb.Qf&&(this.data=Math.floor(this.data))}c.prototype.Ja=
function(){23===this.type&&(this.ye=this.G.b.um(this.dh,this.G.fc.parent));this.first&&this.first.Ja();this.ib&&this.ib.Ja();this.Wi&&this.Wi.Ja();this.wd&&this.wd.Ja();if(this.F){var d,c;d=0;for(c=this.F.length;d<c;d++)this.F[d].Ja()}};c.prototype.hq=function(d){this.N[0]=d;d=this.G.Za();var c,b;c=0;for(b=this.F.length;c<b;c++)this.F[c].get(d),this.N[c+1]=d.data;this.G.Qa();this.Oa.apply(this.b.kd,this.N)};c.prototype.gm=function(d){var c=this.Sb.na(),b=c.uc();if(!b.length)if(c.ea.length)b=c.ea;
else{this.Rg?d.yc(""):d.ta(0);return}this.N[0]=d;d.zf=this.Sb;d=this.G.Za();var a,c=0;for(a=this.F.length;c<a;c++)this.F[c].get(d),this.N[c+1]=d.data;c=this.G.ge;this.wd&&(this.wd.get(d),d.eb()&&(c=d.data,b=this.Sb.e));this.G.Qa();c%=b.length;0>c&&(c+=b.length);b=b[c];-1<this.jb?(d=0,this.Sb.J&&(d=b.type.gf[this.Sb.Xc]),this.Oa.apply(b.P[this.jb+d],this.N)):this.Oa.apply(b,this.N)};c.prototype.Wp=function(d){var c=this.Sb.na(),b=c.uc();if(!b.length)if(c.ea.length)b=c.ea;else{this.Rg?d.yc(""):d.ta(0);
return}c=this.G.ge;if(this.wd){var a=this.G.Za();this.wd.get(a);if(a.eb()){c=a.data;b=this.Sb.e;c%=b.length;0>c&&(c+=b.length);b=b[c].Wa[this.sl];R(b)?d.yc(b):d.aa(b);this.G.Qa();return}this.G.Qa()}c%=b.length;0>c&&(c+=b.length);b=b[c];c=0;this.Sb.J&&(c=b.type.Jh[this.Sb.Xc]);b=b.Wa[this.sl+c];R(b)?d.yc(b):d.aa(b)};c.prototype.Xp=function(d){d.type=Rb.Qf;d.data=this.value};c.prototype.Tp=function(d){d.type=Rb.Pf;d.data=this.value};c.prototype.fq=function(d){d.type=Rb.lj;d.data=this.value};c.prototype.iq=
function(d){this.first.get(d);d.eb()&&(d.data=-d.data)};c.prototype.Np=function(d){this.first.get(d);var c=this.G.Za();this.ib.get(c);d.eb()&&c.eb()&&(d.data+=c.data,c.qf()&&d.xf());this.G.Qa()};c.prototype.gq=function(d){this.first.get(d);var c=this.G.Za();this.ib.get(c);d.eb()&&c.eb()&&(d.data-=c.data,c.qf()&&d.xf());this.G.Qa()};c.prototype.aq=function(d){this.first.get(d);var c=this.G.Za();this.ib.get(c);d.eb()&&c.eb()&&(d.data*=c.data,c.qf()&&d.xf());this.G.Qa()};c.prototype.Qp=function(d){this.first.get(d);
var c=this.G.Za();this.ib.get(c);d.eb()&&c.eb()&&(d.data/=c.data,d.xf());this.G.Qa()};c.prototype.$p=function(d){this.first.get(d);var c=this.G.Za();this.ib.get(c);d.eb()&&c.eb()&&(d.data%=c.data,c.qf()&&d.xf());this.G.Qa()};c.prototype.dq=function(d){this.first.get(d);var c=this.G.Za();this.ib.get(c);d.eb()&&c.eb()&&(d.data=Math.pow(d.data,c.data),c.qf()&&d.xf());this.G.Qa()};c.prototype.Op=function(d){this.first.get(d);var c=this.G.Za();this.ib.get(c);d.eb()?c.bi()?d.yc(d.data.toString()+c.data):
d.data&&c.data?d.ta(1):d.ta(0):d.bi()&&(d.data=c.bi()?d.data+c.data:d.data+(Math.round(1E10*c.data)/1E10).toString());this.G.Qa()};c.prototype.cq=function(d){this.first.get(d);var c=this.G.Za();this.ib.get(c);d.eb()&&c.eb()&&(d.data||c.data?d.ta(1):d.ta(0));this.G.Qa()};c.prototype.Pp=function(d){this.first.get(d);d.data?this.ib.get(d):this.Wi.get(d)};c.prototype.Rp=function(d){this.first.get(d);var c=this.G.Za();this.ib.get(c);d.ta(d.data===c.data?1:0);this.G.Qa()};c.prototype.bq=function(c){this.first.get(c);
var g=this.G.Za();this.ib.get(g);c.ta(c.data!==g.data?1:0);this.G.Qa()};c.prototype.Yp=function(c){this.first.get(c);var g=this.G.Za();this.ib.get(g);c.ta(c.data<g.data?1:0);this.G.Qa()};c.prototype.Zp=function(c){this.first.get(c);var g=this.G.Za();this.ib.get(g);c.ta(c.data<=g.data?1:0);this.G.Qa()};c.prototype.Up=function(c){this.first.get(c);var g=this.G.Za();this.ib.get(g);c.ta(c.data>g.data?1:0);this.G.Qa()};c.prototype.Vp=function(c){this.first.get(c);var g=this.G.Za();this.ib.get(g);c.ta(c.data>=
g.data?1:0);this.G.Qa()};c.prototype.Sp=function(c){var g=this.ye.Eq();da(g)?c.aa(g):c.yc(g)};V=c;h.prototype.qf=function(){return this.type===Rb.Pf};h.prototype.eb=function(){return this.type===Rb.Qf||this.type===Rb.Pf};h.prototype.bi=function(){return this.type===Rb.lj};h.prototype.xf=function(){this.qf()||(this.bi()&&(this.data=parseFloat(this.data)),this.type=Rb.Pf)};h.prototype.ta=function(c){this.type=Rb.Qf;this.data=Math.floor(c)};h.prototype.aa=function(c){this.type=Rb.Pf;this.data=c};h.prototype.yc=
function(c){this.type=Rb.lj;this.data=c};Qb=h;Rb={Qf:0,Pf:1,lj:2}})();function W(c){this.b=c;this.ac=[]}
W.prototype.Ab=function(){var c={},h,d,g,b,a,e,m,v;c.waits=[];var t=c.waits,r;h=0;for(d=this.ac.length;h<d;h++){e=this.ac[h];r={t:e.time,ev:e.$f.V,sm:[],sols:{}};e.$f.Dc[e.lc]&&(r.act=e.$f.Dc[e.lc].V);g=0;for(b=e.Ca.length;g<b;g++)r.sm.push(e.Ca[g].V);for(a in e.Vb)if(e.Vb.hasOwnProperty(a)){m=this.b.u[parseInt(a,10)];v={sa:e.Vb[a].Tn,insts:[]};g=0;for(b=e.Vb[a].Fe.length;g<b;g++)v.insts.push(e.Vb[a].Fe[g].uid);r.sols[m.V.toString()]=v}t.push(r)}return c};
W.prototype.Qb=function(c){c=c.waits;var h,d,g,b,a,e,m,v,t,r,l;h=this.ac.length=0;for(d=c.length;h<d;h++)if(e=c[h],v=this.b.Ql[e.ev.toString()]){t=-1;g=0;for(b=v.Dc.length;g<b;g++)if(v.Dc[g].V===e.act){t=g;break}if(-1!==t){m={Vb:{},Ca:[],dm:!1};m.time=e.t;m.$f=v;m.lc=t;g=0;for(b=e.sm.length;g<b;g++)(v=this.b.Th(e.sm[g]))&&m.Ca.push(v);for(a in e.sols)if(e.sols.hasOwnProperty(a)&&(v=this.b.Th(parseInt(a,10)))){t=e.sols[a];r={Tn:t.sa,Fe:[]};g=0;for(b=t.insts.length;g<b;g++)(l=this.b.dg(t.insts[g]))&&
r.Fe.push(l);m.Vb[v.index.toString()]=r}this.ac.push(m)}}};
(function(){function c(){}function h(){}function d(){}var g=W.prototype;c.prototype.Dl=P(!0);c.prototype.Qo=P(!0);c.prototype.Ao=function(){var a=this.b.xb();return a.zj?!1:!a.Ke};c.prototype.El=P(!0);c.prototype.Ho=P(!0);c.prototype.jj=P(!0);c.prototype.Ro=P(!0);c.prototype.ij=P(!0);g.k=new c;var b=[],a=[];h.prototype.$o=function(){if(!this.b.rg&&!this.b.Wf&&this.b.qa){this.b.Wf=this.b.qa;var a,b,c;a=0;for(b=this.b.Md.length;a<b;a++)c=this.b.Md[a],this.b.Sf[c.kf.toLowerCase()]=c.Xh}};g.ma=new h;
d.prototype["int"]=function(a,b){R(b)?(a.ta(parseInt(b,10)),isNaN(a.data)&&(a.data=0)):a.ta(b)};d.prototype["float"]=function(a,b){R(b)?(a.aa(parseFloat(b)),isNaN(a.data)&&(a.data=0)):a.aa(b)};d.prototype.random=function(a,b,c){void 0===c?a.aa(Math.random()*b):a.aa(Math.random()*(c-b)+b)};d.prototype.sqrt=function(a,b){a.aa(Math.sqrt(b))};d.prototype.abs=function(a,b){a.aa(Math.abs(b))};d.prototype.round=function(a,b){a.ta(Math.round(b))};d.prototype.floor=function(a,b){a.ta(Math.floor(b))};d.prototype.ceil=
function(a,b){a.ta(Math.ceil(b))};d.prototype.sin=function(a,b){a.aa(Math.sin(U(b)))};d.prototype.cos=function(a,b){a.aa(Math.cos(U(b)))};d.prototype.tan=function(a,b){a.aa(Math.tan(U(b)))};d.prototype.acos=function(a,b){a.aa(xa(Math.acos(b)))};d.prototype.exp=function(a,b){a.aa(Math.exp(b))};d.prototype.max=function(a){var b=arguments[1],c,d;c=2;for(d=arguments.length;c<d;c++)b<arguments[c]&&(b=arguments[c]);a.aa(b)};d.prototype.min=function(a){var b=arguments[1],c,d;c=2;for(d=arguments.length;c<
d;c++)b>arguments[c]&&(b=arguments[c]);a.aa(b)};d.prototype.we=function(a){a.aa(this.b.we)};d.prototype.Ve=function(a){a.aa(this.b.Ve)};d.prototype.time=function(a){a.aa(this.b.vc.Sa)};d.prototype.ld=function(a){a.ta(this.b.ld)};d.prototype.wi=function(a){a.ta(this.b.wi)};d.prototype.Fj=function(a){a.ta(this.b.Fj)};d.prototype.m=function(a,b,c,d,g){a.aa(xa(Ga(b,c,d,g)))};d.prototype.kr=function(a){a.ta(this.b.qa.height)};d.prototype.left=function(a,b,c){a.yc(R(b)?b.substr(0,c):"")};d.prototype.right=
function(a,b,c){a.yc(R(b)?b.substr(b.length-c):"")};d.prototype.replace=function(a,b,c,d){R(b)&&R(c)&&R(d)?a.yc(b.replace(RegExp(Ua(c),"gi"),d)):a.yc(R(b)?b:"")};d.prototype.vj=function(a){a.aa(this.b.vj/1E3)};d.prototype.uf=function(a){a.aa(this.b.uf)};g.sc=new d;g.Gr=function(){var c,d,g,h,r,l,p=this.b.xb();c=0;for(g=this.ac.length;c<g;c++)if(h=this.ac[c],!(h.time>this.b.vc.Sa)){p.pc=h.$f;p.lc=h.lc;p.Ua=0;for(d in h.Vb)h.Vb.hasOwnProperty(d)&&(r=this.b.u[parseInt(d,10)].na(),l=h.Vb[d],r.Ba=l.Tn,
ta(r.e,l.Fe),r=l,r.Fe.length=0,a.push(r));h.$f.Er();this.b.tj(h.Ca);h.dm=!0}d=c=0;for(g=this.ac.length;c<g;c++)h=this.ac[c],this.ac[d]=h,h.dm?(Ra(h.Vb),h.Ca.length=0,b.push(h)):d++;this.ac.length=d}})();
(function(){db=function(c){var d=c[0].prototype,g=c[1],b=c[3],a=c[4],e=c[5],m=c[6],v=c[7];c=c[8];d.k||(d.k={});d.ma||(d.ma={});d.sc||(d.sc={});var t=d.k,r=d.ma,d=d.sc;b&&(t.us=function(a,b){return Sb(this.x,a,b)},t.zo=function(a,b){return Sb(this.y,a,b)},t.Ds=function(){var a=this.j;this.Ka();var b=this.La;return!(b.right<a.Yb||b.bottom<a.$b||b.left>a.Zb||b.top>a.Xb)},t.Es=function(){this.Ka();var a=this.La,b=this.b.qa;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},t.Qs=function(a,
b,c){var d=this.na(),e=d.uc();if(!e.length)return!1;var g=e[0],h=g,k=Oa(g.x,g.y,b,c),m,t,v;m=1;for(t=e.length;m<t;m++)if(g=e[m],v=Oa(g.x,g.y,b,c),0===a&&v<k||1===a&&v>k)k=v,h=g;d.Lg(h);return!0},r.lt=function(a){this.x!==a&&(this.x=a,this.D())},r.mt=function(a){this.y!==a&&(this.y=a,this.D())},r.gt=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.D()},r.ht=function(a,b){var c=a.zq(this);if(c){var d;c.Oj?(d=c.Oj(b,!0),c=c.Oj(b,!1)):(d=c.x,c=c.y);if(this.x!==d||this.y!==c)this.x=d,this.y=
c,this.D()}},r.Js=function(a){0!==a&&(this.x+=Math.cos(this.m)*a,this.y+=Math.sin(this.m)*a,this.D())},r.Is=function(a,b){0!==b&&(this.x+=Math.cos(U(a))*b,this.y+=Math.sin(U(a))*b,this.D())},d.st=function(a){a.aa(this.x)},d.tt=function(a){a.aa(this.y)},d.we=function(a){a.aa(this.b.Rh(this))});a&&(t.ts=function(a,b){return Sb(this.width,a,b)},t.os=function(a,b){return Sb(this.height,a,b)},r.bp=function(a){this.width!==a&&(this.width=a,this.D())},r.ct=function(a){this.height!==a&&(this.height=a,this.D())},
r.it=function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.D()},d.qt=function(a){a.aa(this.width)},d.xs=function(a){a.aa(this.height)},d.ks=function(a){this.Ka();a.aa(this.La.left)},d.ns=function(a){this.Ka();a.aa(this.La.top)},d.ls=function(a){this.Ka();a.aa(this.La.right)},d.hs=function(a){this.Ka();a.aa(this.La.bottom)});e&&(t.gs=function(a,b){return Ha(this.m,U(b))<=U(a)},t.Bs=function(a){return Ja(this.m,U(a))},t.zs=function(a,b){var c=Fa(a),d=Fa(b),e=Da(this.m);return Ja(d,
c)?Ja(e,c)&&!Ja(e,d):!(!Ja(e,c)&&Ja(e,d))},r.Ys=function(a){a=U(Ca(a));isNaN(a)||this.m===a||(this.m=a,this.D())},r.Us=function(a){0===a||isNaN(a)||(this.m+=U(a),this.m=Da(this.m),this.D())},r.Vs=function(a){0===a||isNaN(a)||(this.m-=U(a),this.m=Da(this.m),this.D())},r.Ws=function(a,b){var c=Ia(this.m,U(b),U(a));isNaN(c)||this.m===c||(this.m=c,this.D())},r.Xs=function(a,b,c){a=Ia(this.m,Math.atan2(c-this.y,b-this.x),U(a));isNaN(a)||this.m===a||(this.m=a,this.D())},r.jt=function(a,b){var c=Math.atan2(b-
this.y,a-this.x);isNaN(c)||this.m===c||(this.m=c,this.D())},d.es=function(a){a.aa(Ea(this.m))});g||(t.qs=function(a,b,c){return Sb(this.Wa[a],b,c)},t.As=function(a){return this.Wa[a]},t.Rs=function(a,b){var c=this.na(),d=c.uc();if(!d.length)return!1;var e=d[0],g=e,h=e.Wa[b],k,m,t;k=1;for(m=d.length;k<m;k++)if(e=d[k],t=e.Wa[b],0===a&&t<h||1===a&&t>h)h=t,g=e;c.Lg(g);return!0},t.Ps=function(a){var b,c,d,e,g;if(this.b.rm().kg){g=this.na();if(g.Ba)for(g.Ba=!1,g.e.length=0,g.ea.length=0,d=this.e,b=0,c=
d.length;b<c;b++)e=d[b],e.uid===a?g.ea.push(e):g.e.push(e);else{d=b=0;for(c=g.e.length;b<c;b++)e=g.e[b],g.e[d]=e,e.uid===a?g.ea.push(e):d++;g.e.length=d}this.Sc();return!!g.e.length}e=this.b.dg(a);if(!e)return!1;g=this.na();if(!g.Ba&&-1===g.e.indexOf(e))return!1;if(this.J)for(a=e.type.wa,b=0,c=a.length;b<c;b++){if(a[b]===this)return g.Lg(e),this.Sc(),!0}else if(e.type===this)return g.Lg(e),this.Sc(),!0;return!1},t.Jo=P(!0),t.Ko=P(!0),r.dt=function(a,b){var c=this.Wa;da(c[a])?c[a]=da(b)?b:parseFloat(b):
R(c[a])&&(c[a]=R(b)?b:b.toString())},r.ds=function(a,b){var c=this.Wa;da(c[a])?c[a]=da(b)?c[a]+b:c[a]+parseFloat(b):R(c[a])&&(c[a]=R(b)?c[a]+b:c[a]+b.toString())},r.nt=function(a,b){var c=this.Wa;da(c[a])&&(c[a]=da(b)?c[a]-b:c[a]-parseFloat(b))},r.Zs=function(a,b){this.Wa[a]=b?1:0},r.ot=function(a){this.Wa[a]=1-this.Wa[a]},r.ws=function(){this.b.ne(this)},r.Co||(r.Co=function(a){var b,c;try{b=JSON.parse(a)}catch(d){return}this.b.ni(this,b,!0);this.Qc&&this.Qc();if(this.P)for(a=0,b=this.P.length;a<
b;++a)c=this.P[a],c.Qc&&c.Qc()}),d.vs=function(a){var b=a.zf.e.length,c,d,e;c=0;for(d=this.b.Ib.length;c<d;c++)e=this.b.Ib[c],a.zf.J?0<=e.type.wa.indexOf(a.zf)&&b++:e.type===a.zf&&b++;a.ta(b)},d.Ts=function(a){a.ta(a.zf.na().uc().length)},d.pt=function(a){a.ta(this.uid)},d.ys=function(a){a.ta(this.fg())},d.yo||(d.yo=function(a){a.yc(JSON.stringify(this.b.Vk(this,!0)))}));m&&(t.Fs=G("visible"),r.kt=function(a){!a!==!this.visible&&(this.visible=a,this.b.ra=!0)},t.rs=function(a,b){return Sb(ab(100*this.opacity),
a,b)},r.et=function(a){a/=100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.ra=!0)},d.Opacity=function(a){a.aa(ab(100*this.opacity))});v&&(t.Cs=function(a){return a?this.j===a:!1},t.Ss=function(a){var b=this.na(),c=b.uc();if(!c.length)return!1;var d=c[0],e=d,g,h;g=1;for(h=c.length;g<h;g++)if(d=c[g],0===a){if(d.j.index>e.j.index||d.j.index===e.j.index&&d.ic()>e.ic())e=d}else if(d.j.index<e.j.index||d.j.index===e.j.index&&d.ic()<e.ic())e=d;b.Lg(e);return!0},r.Ms=function(){var a=this.ic();
a!==this.j.e.length-1&&(sa(this.j.e,a),this.j.e.push(this),this.b.ra=!0,this.j.cc=!0)},r.Ks=function(){var a=this.ic();0!==a&&(sa(this.j.e,a),this.j.e.unshift(this),this.b.ra=!0,this.j.cc=!0)},r.Ls=function(a){a&&a!=this.j&&(sa(this.j.e,this.ic()),this.j.cc=!0,this.j=a,this.Xe=a.e.length,a.e.push(this),this.b.ra=!0)},r.wt=function(a,b){var c=0===a;if(b){var d=b.rq(this);if(d&&d.uid!==this.uid){this.j.index!==d.j.index&&(sa(this.j.e,this.ic()),this.j.cc=!0,this.j=d.j,this.Xe=d.j.e.length,d.j.e.push(this));
var e=this.ic(),d=d.ic();sa(this.j.e,e);e<d&&d--;c&&d++;d===this.j.e.length?this.j.e.push(this):this.j.e.splice(d,0,this);this.j.cc=!0;this.b.ra=!0}}},d.Hs=function(a){a.ta(this.j.tn)},d.Gs=function(a){a.yc(this.j.name)},d.ut=function(a){a.ta(this.ic())});c&&(r.$s=function(a,b){if(this.b.A){var c=this.type.Nj(b);if(!(0>c)){var d=1===a;this.Ld[c]!==d&&(this.Ld[c]=d,this.Id(),this.b.ra=!0)}}},r.bt=function(a,b,c){if(this.b.A){var d=this.type.Nj(a);0>d||(a=this.type.L[d],d=this.Fa[d],b=Math.floor(b),
0>b||b>=d.length||(1===this.b.A.Cq(a.lb,b)&&(c/=100),d[b]!==c&&(d[b]=c,a.ec&&(this.b.ra=!0))))}})};Ab=function(){this.pj=!0;this.type.jh=!0;this.b.ra=!0;var c,d,g=this.qj;c=0;for(d=g.length;c<d;++c)g[c](this)};Bb=function(c){c&&this.qj.push(c)};var c=new pa(0,0,0,0);Db=function(){if(this.pj){var h=this.La,d=this.wb;h.set(this.x,this.y,this.x+this.width,this.y+this.height);h.offset(-this.Eb*this.width,-this.Fb*this.height);this.m?(h.offset(-this.x,-this.y),d.Xn(h,this.m),d.offset(this.x,this.y),d.Rl(h)):
d.Ug(h);h.normalize();this.pj=!1;if(this.qd){var d=this.type.wh,g=this.vh;c.set(d.hh(h.left),d.ih(h.top),d.hh(h.right),d.ih(h.bottom));g.Mp(c)||(g.right<g.left?d.update(this,null,c):d.update(this,g,c),g.copy(c))}}};Cb=function(c,d){return this.La.nc(c,d)&&this.wb.nc(c,d)?this.da&&!this.da.pf()?(this.da.bf(this.width,this.height,this.m),this.da.nc(c-this.x,d-this.y)):!0:!1};wb=function(){this.type.bj();return this.Ce};Eb=function(){this.j.Zr();return this.Xe};Fb=function(){this.ba.length=0;var c,d;
c=0;for(d=this.Ld.length;c<d;c++)this.Ld[c]&&this.ba.push(this.type.L[c]);this.wo=!!this.ba.length};xb=function(){return"Inst"+this.On};gb=function(c){if(c&&c.Gc&&c.type!=this){var d,g,b;d=0;for(g=c.siblings.length;d<g;d++)if(b=c.siblings[d],b.type==this)return b}c=this.na().uc();return c.length?c[0]:null};hb=function(c){var d=this.na().uc();return d.length?d[c.fg()%d.length]:null};fb=function(){if(this.If&&!this.J){var c,d;c=0;for(d=this.e.length;c<d;c++)this.e[c].Ce=c;var g=c,b=this.b.Ib;c=0;for(d=
b.length;c<d;++c)b[c].type===this&&(b[c].Ce=g++);this.If=!1}};ub=function(c){if(c<this.e.length)return this.e[c];c-=this.e.length;var d=this.b.Ib,g,b;g=0;for(b=d.length;g<b;++g)if(d[g].type===this){if(0===c)return d[g];--c}return null};ib=function(){return this.he[this.td]};jb=function(){this.td++;this.td===this.he.length?this.he.push(new eb(this)):this.he[this.td].Ba=!0};kb=function(){this.td++;this.td===this.he.length&&this.he.push(new eb(this));var c=this.he[this.td],d=this.he[this.td-1];d.Ba?
c.Ba=!0:(c.Ba=!1,ta(c.e,d.e),ta(c.ea,d.ea))};pb=function(){this.td--};qb=function(c){var d,g,b,a,e,m=0;if(!this.J)for(d=0,g=this.wa.length;d<g;d++)for(e=this.wa[d],b=0,a=e.Ma.length;b<a;b++){if(c===e.Ma[b].name)return this.fa.Ym=m,e.Ma[b];m++}d=0;for(g=this.Ma.length;d<g;d++){if(c===this.Ma[d].name)return this.fa.Ym=m,this.Ma[d];m++}return null};rb=function(c){return this.Qh(c)?this.fa.Ym:-1};sb=function(c){var d,g;d=0;for(g=this.L.length;d<g;d++)if(this.L[d].name===c)return d;return-1};tb=function(){if(this.Gc&&
!this.J){var c,d,g,b,a,e,m;this.bj();e=this.na();var v=e.Ba,t=(c=this.b.xb())&&c.pc&&c.pc.Jc;c=0;for(d=this.Cb.length;c<d;c++)if(a=this.Cb[c],a!==this&&(a.bj(),m=a.na(),m.Ba=v,!v)){m.e.length=e.e.length;g=0;for(b=e.e.length;g<b;g++)m.e[g]=a.vm(e.e[g].Ce);if(t)for(m.ea.length=e.ea.length,g=0,b=e.ea.length;g<b;g++)m.ea[g]=a.vm(e.ea[g].Ce)}}};vb=function(){return"Type"+this.V};Sb=function(c,d,g){if("undefined"===typeof c||"undefined"===typeof g)return!1;switch(d){case 0:return c===g;case 1:return c!==
g;case 2:return c<g;case 3:return c<=g;case 4:return c>g;case 5:return c>=g;default:return!1}}})();var $b={};function dc(c){this.b=c}
(function(){function c(a){0>a&&(a=0);1<a&&(a=1);return 20*(Math.log(a)/Math.log(10))}function h(a){a=a.toLowerCase();return O.hasOwnProperty(a)&&O[a].length?O[a][0].hc():z.destination}function d(){return z.createGain?z.createGain():z.createGainNode()}function g(a){return z.createDelay?z.createDelay(a):z.createDelayNode(a)}function b(a){a.start?a.start(0):a.noteOn(0)}function a(a,b,c){a.start?a.start(0,b):a.noteGrainOn(0,b,c-b)}function e(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(b){}}function m(a,
b,c,e,f,k){this.type="filter";this.Kc=[a,b,c,e,f,k];this.X=d();this.K=d();this.K.gain.value=k;this.I=d();this.I.gain.value=1-k;this.Na=z.createBiquadFilter();this.Na.type="number"===typeof this.Na.type?a:nc[a];this.Na.frequency.value=b;this.Na.detune&&(this.Na.detune.value=c);this.Na.Q.value=e;this.Na.gain.value=f;this.X.connect(this.Na);this.X.connect(this.I);this.Na.connect(this.K)}function v(a,b,c){this.type="delay";this.Kc=[a,b,c];this.X=d();this.K=d();this.K.gain.value=c;this.I=d();this.I.gain.value=
1-c;this.Eg=d();this.qc=g(a);this.qc.delayTime.value=a;this.Dh=d();this.Dh.gain.value=b;this.X.connect(this.Eg);this.X.connect(this.I);this.Eg.connect(this.K);this.Eg.connect(this.qc);this.qc.connect(this.Dh);this.Dh.connect(this.Eg)}function t(a,b,c,e){this.type="convolve";this.Kc=[b,c,e];this.X=d();this.K=d();this.K.gain.value=c;this.I=d();this.I.gain.value=1-c;this.te=z.createConvolver();a&&(this.te.normalize=b,this.te.buffer=a);this.X.connect(this.te);this.X.connect(this.I);this.te.connect(this.K)}
function r(a,c,e,f,k){this.type="flanger";this.Kc=[a,c,e,f,k];this.X=d();this.I=d();this.I.gain.value=1-k/2;this.K=d();this.K.gain.value=k/2;this.Kh=d();this.Kh.gain.value=f;this.qc=g(a+c);this.qc.delayTime.value=a;this.hb=z.createOscillator();this.hb.frequency.value=e;this.Tb=d();this.Tb.gain.value=c;this.X.connect(this.qc);this.X.connect(this.I);this.qc.connect(this.K);this.qc.connect(this.Kh);this.Kh.connect(this.qc);this.hb.connect(this.Tb);this.Tb.connect(this.qc.delayTime);b(this.hb)}function l(a,
c,e,f,k,g){this.type="phaser";this.Kc=[a,c,e,f,k,g];this.X=d();this.I=d();this.I.gain.value=1-g/2;this.K=d();this.K.gain.value=g/2;this.Na=z.createBiquadFilter();this.Na.type="number"===typeof this.Na.type?7:"allpass";this.Na.frequency.value=a;this.Na.detune&&(this.Na.detune.value=c);this.Na.Q.value=e;this.hb=z.createOscillator();this.hb.frequency.value=k;this.Tb=d();this.Tb.gain.value=f;this.X.connect(this.Na);this.X.connect(this.I);this.Na.connect(this.K);this.hb.connect(this.Tb);this.Tb.connect(this.Na.frequency);
b(this.hb)}function p(a){this.type="gain";this.Kc=[a];this.Z=d();this.Z.gain.value=a}function u(a,c){this.type="tremolo";this.Kc=[a,c];this.Z=d();this.Z.gain.value=1-c/2;this.hb=z.createOscillator();this.hb.frequency.value=a;this.Tb=d();this.Tb.gain.value=c/2;this.hb.connect(this.Tb);this.Tb.connect(this.Z.gain);b(this.hb)}function f(a,c){this.type="ringmod";this.Kc=[a,c];this.X=d();this.K=d();this.K.gain.value=c;this.I=d();this.I.gain.value=1-c;this.Sg=d();this.Sg.gain.value=0;this.hb=z.createOscillator();
this.hb.frequency.value=a;this.hb.connect(this.Sg.gain);b(this.hb);this.X.connect(this.Sg);this.X.connect(this.I);this.Sg.connect(this.K)}function s(a,b,c,e,f){this.type="distortion";this.Kc=[a,b,c,e,f];this.X=d();this.Ei=d();this.Di=d();this.Nr(c,Math.pow(10,e/20));this.K=d();this.K.gain.value=f;this.I=d();this.I.gain.value=1-f;this.gj=z.createWaveShaper();this.Bh=new Float32Array(65536);this.oq(a,b);this.gj.Bh=this.Bh;this.X.connect(this.Ei);this.X.connect(this.I);this.Ei.connect(this.gj);this.gj.connect(this.Di);
this.Di.connect(this.K)}function q(a,b,c,d,e){this.type="compressor";this.Kc=[a,b,c,d,e];this.Z=z.createDynamicsCompressor();this.Z.threshold.value=a;this.Z.knee.value=b;this.Z.ratio.value=c;this.Z.attack.value=d;this.Z.release.value=e}function n(a,b){this.type="analyser";this.Kc=[a,b];this.Z=z.createAnalyser();this.Z.fftSize=a;this.Z.smoothingTimeConstant=b;this.mq=new Float32Array(this.Z.frequencyBinCount);this.Zn=new Uint8Array(a);this.Kg=0}function k(){this.T=null;this.pi=0;this.ie=[];this.tk=
this.ei=this.di=0}function y(a,b){this.src=a;this.la=K;this.Hc=b;this.Ml=!1;var c=this;this.sk=this.Dk=null;this.Df=[];this.Oi=0;this.co=this.yi=!1;K===w&&b&&(this.la=C,this.Dk=d());this.lh=this.ya=null;var e;switch(this.la){case C:this.ya=new Audio;K===w&&z.createMediaElementSource&&!D.Om&&(this.co=!0,this.ya.addEventListener("canplay",function(){c.sk||(c.sk=z.createMediaElementSource(c.ya),c.sk.connect(c.Dk))}));this.ya.autoplay=!1;this.ya.Gt="auto";this.ya.src=a;break;case w:e=new XMLHttpRequest;
e.open("GET",a,!0);e.responseType="arraybuffer";e.onload=function(){c.lh=e.response;c.up()};e.send();break;case N:this.ya=!0;break;case J:this.ya=!0}}function B(a,b){var c=this;this.je=b;this.Ac=this.Td=!0;this.src=a.src;this.buffer=a;this.la=K;this.Hc=a.Hc;this.playbackRate=1;this.Fk=!0;this.yd=this.Ed=!1;this.Nc=0;this.pg=this.rf=this.Ad=!1;this.Gg=this.volume=1;this.startTime=D.vc.Sa;this.Ia=this.cb=null;this.bd=!1;this.Xa=null;this.Dn=this.Cn=this.Bn=this.An=this.Fn=this.En=0;this.n=null;var e=
!1;this.la!==w||this.buffer.la!==C||this.buffer.co||(this.la=C);switch(this.la){case C:this.Hc?(this.n=a.ya,e=!a.Ml,a.Ml=!0):(this.n=new Audio,this.n.autoplay=!1,this.n.src=a.ya.src,e=!0);e&&this.n.addEventListener("ended",function(){S=c.je;c.Ac=!0;D.trigger(dc.prototype.k.hj,H)});break;case w:this.cb=d();this.cb.connect(h(b));this.buffer.la===w?a.ya&&(this.n=z.createBufferSource(),this.n.buffer=a.ya,this.n.connect(this.cb)):(this.n=this.buffer.ya,this.buffer.Dk.connect(this.cb));break;case N:this.n=
new window.Media(A+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(c.Fk=!0,c.Ac=!0,S=c.je,D.trigger(dc.prototype.k.hj,H))});break;case J:this.n=!0}}function L(a,b){O.hasOwnProperty(a)?O[a].push(b):O[a]=[b];var c,d,e,f,k=z.destination;if(O.hasOwnProperty(a)&&(e=O[a],e.length))for(k=e[0].hc(),c=0,d=e.length;c<d;c++)f=e[c],c+1===d?f.mc(z.destination):f.mc(e[c+1].hc());ya.length=0;if(a.length)for(c=0,d=M.length;c<d;c++)e=M[c],bb(a,e.je)&&ya.push(e);else za&&!za.gg()&&(ya.length=1,ya[0]=
za);c=0;for(d=ya.length;c<d;c++)ya[c].Cr(k);va&&lb===a&&(va.disconnect(),va.connect(k))}function I(){}function x(){}var E=dc.prototype;E.Da=function(a){this.Pa=a;this.b=a.b};E.Da.prototype.$=F();var D=null,H=null,S="",A="",C=0,w=1,N=2,J=3,K=C,z=null,mb=[],M=[],za=null,Ya=!1,Za=0,ja=!1,ka=1,Aa=0,Ba=0,nb=1,ob=1,hc=10,ic=1E4,jc=1,va=null,lb="",Ka=!1,La=[],O={},nc="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");m.prototype.mc=function(a){this.K.disconnect();this.K.connect(a);
this.I.disconnect();this.I.connect(a)};m.prototype.remove=function(){this.X.disconnect();this.Na.disconnect();this.K.disconnect();this.I.disconnect()};m.prototype.hc=G("X");v.prototype.mc=function(a){this.K.disconnect();this.K.connect(a);this.I.disconnect();this.I.connect(a)};v.prototype.remove=function(){this.X.disconnect();this.Eg.disconnect();this.qc.disconnect();this.Dh.disconnect();this.K.disconnect();this.I.disconnect()};v.prototype.hc=G("X");t.prototype.mc=function(a){this.K.disconnect();this.K.connect(a);
this.I.disconnect();this.I.connect(a)};t.prototype.remove=function(){this.X.disconnect();this.te.disconnect();this.K.disconnect();this.I.disconnect()};t.prototype.hc=G("X");r.prototype.mc=function(a){this.I.disconnect();this.I.connect(a);this.K.disconnect();this.K.connect(a)};r.prototype.remove=function(){this.X.disconnect();this.qc.disconnect();this.hb.disconnect();this.Tb.disconnect();this.I.disconnect();this.K.disconnect();this.Kh.disconnect()};r.prototype.hc=G("X");l.prototype.mc=function(a){this.I.disconnect();
this.I.connect(a);this.K.disconnect();this.K.connect(a)};l.prototype.remove=function(){this.X.disconnect();this.Na.disconnect();this.hb.disconnect();this.Tb.disconnect();this.I.disconnect();this.K.disconnect()};l.prototype.hc=G("X");p.prototype.mc=function(a){this.Z.disconnect();this.Z.connect(a)};p.prototype.remove=function(){this.Z.disconnect()};p.prototype.hc=G("Z");u.prototype.mc=function(a){this.Z.disconnect();this.Z.connect(a)};u.prototype.remove=function(){this.hb.disconnect();this.Tb.disconnect();
this.Z.disconnect()};u.prototype.hc=G("Z");f.prototype.mc=function(a){this.K.disconnect();this.K.connect(a);this.I.disconnect();this.I.connect(a)};f.prototype.remove=function(){this.hb.disconnect();this.Sg.disconnect();this.X.disconnect();this.K.disconnect();this.I.disconnect()};f.prototype.hc=G("X");s.prototype.Nr=function(a,b){0.01>a&&(a=0.01);this.Ei.gain.value=a;this.Di.gain.value=Math.pow(1/a,0.6)*b};s.prototype.shape=function(a,b,c){var d=1.05*c*b-b;c=0>a?-1:1;a=0>a?-a:a;b=a<b?a:b+d*(1-Math.exp(-(1/
d)*(a-b)));return b*c};s.prototype.oq=function(a,b){for(var c=Math.pow(10,a/20),d=Math.pow(10,b/20),e=0,f=0;32768>f;++f)e=f/32768,e=this.shape(e,c,d),this.Bh[32768+f]=e,this.Bh[32768-f-1]=-e};s.prototype.mc=function(a){this.K.disconnect();this.K.connect(a);this.I.disconnect();this.I.connect(a)};s.prototype.remove=function(){this.X.disconnect();this.Ei.disconnect();this.gj.disconnect();this.Di.disconnect();this.K.disconnect();this.I.disconnect()};s.prototype.hc=G("X");q.prototype.mc=function(a){this.Z.disconnect();
this.Z.connect(a)};q.prototype.remove=function(){this.Z.disconnect()};q.prototype.hc=G("Z");n.prototype.Ta=function(){this.Z.getFloatFrequencyData(this.mq);this.Z.getByteTimeDomainData(this.Zn);for(var a=this.Z.fftSize,b=0,d=this.Kg=0,e=0;b<a;b++)e=(this.Zn[b]-128)/128,0>e&&(e=-e),this.Kg<e&&(this.Kg=e),d+=e*e;this.Kg=c(this.Kg);c(Math.sqrt(d/a))};n.prototype.mc=function(a){this.Z.disconnect();this.Z.connect(a)};n.prototype.remove=function(){this.Z.disconnect()};n.prototype.hc=G("Z");k.prototype.Tg=
function(a){if(this.T=a)this.di=this.T.x,this.ei=this.T.y;this.ie.length=0};k.prototype.Vh=function(){return!!this.T};k.prototype.Ta=function(a){this.T&&0!==a&&(this.tk=Ga(this.di,this.ei,this.T.x,this.T.y),a=Oa(this.di,this.ei,this.T.x,this.T.y)/a,4>this.ie.length||this.ie.shift(),this.ie.push(a),this.di=this.T.x,this.ei=this.T.y)};k.prototype.ym=function(){if(!this.ie.length)return 0;var a,b,c=0;a=0;for(b=this.ie.length;a<b;a++)c+=this.ie[a];return c/this.ie.length};k.prototype.Am=function(){return Math.cos(this.tk)*
this.ym()};k.prototype.Bm=function(){return Math.sin(this.tk)*this.ym()};var kc=!1;y.prototype.up=function(){if(!this.ya&&this.lh){var a=this;if(z.decodeAudioData)z.decodeAudioData(this.lh,function(b){a.ya=b;var c,d,e;if(ca(a.Ai)||ja)ca(a.xh)||(c=a.xh.te,c.normalize=a.sn,c.buffer=b);else if(a.Df.length){c=0;for(d=a.Df.length;c<d;c++){b=a.Df[c];e=new B(a,b.jo);e.$k(!0);if("undefined"!==typeof b.un&&(b.T=D.dg(b.un),!b.T))continue;if(b.T){var f=Na(b.T.x,b.T.y,-b.T.j.Db(),Aa,Ba,!0),k=Na(b.T.x,b.T.y,-b.T.j.Db(),
Aa,Ba,!1);e.Zk(f,k,xa(b.T.m-b.T.j.Db()),b.Sj,b.uk,b.wk);e.Tg(b.T)}else e.Zk(b.x,b.y,b.fp,b.Sj,b.uk,b.wk);e.play(a.qk,a.ul,a.Oi);a.yi&&e.pause();M.push(e)}a.Df.length=0}else e=new B(a,a.Ai),e.play(a.qk,a.ul,a.Oi),a.yi&&e.pause(),M.push(e)});else if(this.ya=z.createBuffer(this.lh,!1),ca(this.Ai)||ja)ca(this.xh)||(b=this.xh.te,b.normalize=this.sn,b.buffer=this.ya);else{var b=new B(this,this.Ai);b.play(this.qk,this.ul,this.Oi);this.yi&&b.pause();M.push(b)}}};B.prototype.gg=function(){switch(this.la){case C:return this.n.ended;
case w:return this.buffer.la===w?!this.Td&&!this.Ac&&this.n.loop||this.yd?!1:D.vc.Sa-this.startTime>this.buffer.ya.duration:this.n.ended;case N:return this.Fk;case J:!0}return!0};B.prototype.np=function(){return this.Td||this.Ac?!0:this.gg()};B.prototype.$k=function(a){K===w&&(!this.bd&&a?this.cb&&(this.Ia||(this.Ia=z.createPanner(),this.Ia.panningModel="number"===typeof this.Ia.panningModel?nb:["equalpower","HRTF","soundfield"][nb],this.Ia.distanceModel="number"===typeof this.Ia.distanceModel?ob:
["linear","inverse","exponential"][ob],this.Ia.refDistance=hc,this.Ia.maxDistance=ic,this.Ia.rolloffFactor=jc),this.cb.disconnect(),this.cb.connect(this.Ia),this.Ia.connect(h(this.je)),this.bd=!0):this.bd&&!a&&this.cb&&(this.Ia.disconnect(),this.cb.disconnect(),this.cb.connect(h(this.je)),this.bd=!1))};B.prototype.Zk=function(a,b,c,d,e,f){this.bd&&K===w&&(this.Ia.setPosition(a,b,0),this.Ia.setOrientation(Math.cos(U(c)),Math.sin(U(c)),0),this.Ia.coneInnerAngle=d,this.Ia.coneOuterAngle=e,this.Ia.coneOuterGain=
f,this.En=a,this.Fn=b,this.An=c,this.Bn=d,this.Cn=e,this.Dn=f)};B.prototype.Tg=function(a){this.bd&&K===w&&(this.Xa||(this.Xa=new k),this.Xa.Tg(a))};B.prototype.Ta=function(a){if(this.bd&&K===w&&this.Xa&&this.Xa.Vh()&&this.of()){this.Xa.Ta(a);a=this.Xa.T;var b=Na(a.x,a.y,-a.j.Db(),Aa,Ba,!0),c=Na(a.x,a.y,-a.j.Db(),Aa,Ba,!1);this.Ia.setPosition(b,c,0);b=0;"undefined"!==typeof this.Xa.T.m&&(b=a.m-a.j.Db(),this.Ia.setOrientation(Math.cos(b),Math.sin(b),0));this.Ia.setVelocity(this.Xa.Am(),this.Xa.Bm(),
0)}};B.prototype.play=function(c,d,e){var f=this.n;this.Ad=c;this.volume=d;e=e||0;switch(this.la){case C:1!==f.playbackRate&&(f.playbackRate=1);f.volume!==d*ka&&(f.volume=d*ka);f.loop!==c&&(f.loop=c);f.muted&&(f.muted=!1);if(f.currentTime!==e)try{f.currentTime=e}catch(k){}this.Hc&&Ka&&!D.nf?La.push(this):this.n.play();break;case w:this.muted=!1;this.Gg=1;if(this.buffer.la===w)this.Td||(this.n=z.createBufferSource(),this.n.buffer=this.buffer.ya,this.n.connect(this.cb)),this.n.loop=c,this.cb.gain.value=
d*ka,0===e?b(this.n):a(this.n,e,this.jf());else{1!==f.playbackRate&&(f.playbackRate=1);f.loop!==c&&(f.loop=c);this.cb.gain.value=d*ka;if(f.currentTime!==e)try{f.currentTime=e}catch(g){}this.Hc&&Ka&&!D.nf?La.push(this):f.play()}break;case N:(!this.Td&&this.Ac||0!==e)&&f.seekTo(e);f.play();this.Fk=!1;break;case J:D.Lb?AppMobi.context.playSound(this.src,c):AppMobi.player.playSound(this.src,c)}this.playbackRate=1;this.startTime=D.vc.Sa-e;this.yd=this.Ac=this.Td=!1};B.prototype.stop=function(){switch(this.la){case C:this.n.paused||
this.n.pause();break;case w:this.buffer.la===w?e(this.n):this.n.paused||this.n.pause();break;case N:this.n.stop();break;case J:D.Lb&&AppMobi.context.stopSound(this.src)}this.Ac=!0;this.yd=!1};B.prototype.pause=function(){if(!(this.Td||this.Ac||this.gg()||this.yd)){switch(this.la){case C:this.n.paused||this.n.pause();break;case w:this.buffer.la===w?(this.Nc=this.Pj(),this.Ad&&(this.Nc%=this.jf()),e(this.n)):this.n.paused||this.n.pause();break;case N:this.n.pause();break;case J:D.Lb&&AppMobi.context.stopSound(this.src)}this.yd=
!0}};B.prototype.Cr=function(a){this.la===w&&(this.bd?(this.Ia.disconnect(),this.Ia.connect(a)):(this.cb.disconnect(),this.cb.connect(a)))};B.prototype.jf=function(){switch(this.la){case C:if("undefined"!==typeof this.n.duration)return this.n.duration;break;case w:return this.buffer.ya.duration;case N:return this.n.getDuration();case J:if(D.Lb)return AppMobi.context.getDurationSound(this.src)}return 0};B.prototype.Pj=function(){var a=this.jf(),b=0;switch(this.la){case C:"undefined"!==typeof this.n.currentTime&&
(b=this.n.currentTime);break;case w:if(this.buffer.la===w){if(this.yd)return this.Nc;b=D.vc.Sa-this.startTime}else"undefined"!==typeof this.n.currentTime&&(b=this.n.currentTime);break;case J:D.Lb&&(b=AppMobi.context.getPlaybackTimeSound(this.src))}!this.Ad&&b>a&&(b=a);return b};B.prototype.of=function(){return!this.yd&&!this.Td&&!this.Ac&&!this.gg()};B.prototype.Yr=function(){var a=this.volume*ka;switch(this.la){case C:this.n.volume&&this.n.volume!==a&&(this.n.volume=a);break;case w:this.cb.gain.value=
a*this.Gg}};B.prototype.Fh=function(a){switch(this.la){case C:this.n.muted!==!!a&&(this.n.muted=!!a);break;case w:this.Gg=a?0:1,this.cb.gain.value=ka*this.volume*this.Gg}};B.prototype.Or=function(){this.rf=!0;this.Fh(this.rf||this.pg)};B.prototype.Vn=function(a){this.pg=!!a;this.Fh(this.rf||this.pg)};B.prototype.uo=function(){var a=this.playbackRate;if(1===Za&&!this.Hc||2===Za)a*=D.Ve;switch(this.la){case C:this.n.playbackRate!==a&&(this.n.playbackRate=a);break;case w:this.buffer.la===w?this.n.playbackRate.value!==
a&&(this.n.playbackRate.value=a):this.n.playbackRate!==a&&(this.n.playbackRate=a)}};B.prototype.Pr=function(b){switch(this.la){case C:b?this.of()?(this.n.pause(),this.Ed=!0):this.Ed=!1:this.Ed&&this.n.play();break;case w:b?this.of()?(this.buffer.la===w?(this.Nc=this.Pj(),this.Ad&&(this.Nc%=this.jf()),e(this.n)):this.n.pause(),this.Ed=!0):this.Ed=!1:this.Ed&&(this.buffer.la===w?(this.n=z.createBufferSource(),this.n.buffer=this.buffer.ya,this.n.connect(this.cb),this.n.loop=this.Ad,this.cb.gain.value=
ka*this.volume*this.Gg,this.startTime=D.vc.Sa-this.Nc,a(this.n,this.Nc,this.jf())):this.n.play());break;case N:b?this.of()?(this.n.pause(),this.Ed=!0):this.Ed=!1:this.Ed&&this.n.play()}};E.ua=function(a){this.type=a;D=this.b=a.b;H=this;this.yb=null;this.Ag=-600;!(this.b.dk||this.b.Yh&&(this.b.lg||this.b.Mm))||this.b.Yj||this.b.Mb||(Ka=!0);z=null;"undefined"!==typeof AudioContext?(K=w,z=new AudioContext):"undefined"!==typeof webkitAudioContext&&(K=w,z=new webkitAudioContext);(this.b.dk&&K===w||Ka)&&
document.addEventListener("touchstart",function(){var a,c,d;!kc&&z&&(a=z.createBuffer(1,1,22050),c=z.createBufferSource(),c.buffer=a,c.connect(z.destination),b(c),kc=!0);if(Ka){if(!ja)for(a=0,c=La.length;a<c;++a)d=La[a],d.Ac||d.yd||d.n.play();La.length=0}},!0);K!==w&&(this.b.Qm?K=N:this.b.Nm&&(K=J));K===N&&(A=location.href,a=A.lastIndexOf("/"),-1<a&&(A=A.substr(0,a+1)),A=A.replace("file://",""));if(this.b.fr&&this.b.gr&&"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.ne(this);else{if(this.b.Lb)Ya=this.b.Yh;else try{Ya=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')}catch(c){Ya=!1}this.b.Yi(this)}};var la=E.ua.prototype;la.$=function(){Za=this.C[0];this.Fd=this.C[1];nb=this.C[2];ob=this.C[3];this.Ag=-this.C[4];hc=this.C[5];ic=this.C[6];jc=this.C[7];this.yb=new k;K===w&&(z.listener.speedOfSound=this.C[8],z.listener.dopplerFactor=this.C[9],z.listener.setPosition(this.b.S/2,this.b.R/2,this.Ag),z.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=
function(a,b){va&&va.disconnect();lb=b.toLowerCase();va=z.createMediaStreamSource(a);va.connect(h(lb))});this.b.Ll(function(a){H.pr(a)});var a=this;this.b.mj(function(b){a.xk(b)})};la.xk=function(a){var b,c,d;b=0;for(c=M.length;b<c;b++)d=M[b],d.Xa&&d.Xa.T===a&&(d.Xa.T=null,d.bd&&d.of()&&d.Ad&&d.stop());this.yb.T===a&&(this.yb.T=null)};la.Ab=function(){var a={silent:ja,masterVolume:ka,listenerZ:this.Ag,listenerUid:this.yb.Vh()?this.yb.T.uid:-1,playing:[],effects:{}},b=a.playing,c,d,e,f,k,g;c=0;for(d=
M.length;c<d;c++)e=M[c],!e.of()||3===this.Fd||e.Hc&&1===this.Fd||!e.Hc&&2===this.Fd||(f=e.Pj(),e.Ad&&(f%=e.jf()),f={tag:e.je,buffersrc:e.buffer.src,is_music:e.Hc,playbackTime:f,volume:e.volume,looping:e.Ad,muted:e.rf,playbackRate:e.playbackRate,paused:e.yd,resume_position:e.Nc},e.bd&&(f.pan={},g=f.pan,e.Xa&&e.Xa.Vh()?g.objUid=e.Xa.T.uid:(g.x=e.En,g.y=e.Fn,g.a=e.An),g.ia=e.Bn,g.oa=e.Cn,g.og=e.Dn),b.push(f));b=a.effects;for(k in O)if(O.hasOwnProperty(k)){e=[];c=0;for(d=O[k].length;c<d;c++)e.push({type:O[k][c].type,
params:O[k][c].Kc});b[k]=e}return a};var Ma=[];la.Qb=function(a){var b=a.silent;ka=a.masterVolume;this.Ag=a.listenerZ;this.yb.Tg(null);var c=a.listenerUid;-1!==c&&(this.yb.pi=c,Ma.push(this.yb));var c=a.playing,d,e,g,h,y,B,I,E,w,x,D;if(3!==this.Fd)for(d=0,e=M.length;d<e;d++)w=M[d],w.Hc&&1===this.Fd||(w.Hc||2!==this.Fd)&&w.stop();for(y in O)if(O.hasOwnProperty(y))for(d=0,e=O[y].length;d<e;d++)O[y][d].remove();Ra(O);for(y in a.effects)if(a.effects.hasOwnProperty(y))for(B=a.effects[y],d=0,e=B.length;d<
e;d++)switch(g=B[d].type,x=B[d].params,g){case "filter":L(y,new m(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "delay":L(y,new v(x[0],x[1],x[2]));break;case "convolve":g=x[2];w=this.Jj(g,!1);w.ya?g=new t(w.ya,x[0],x[1],g):(g=new t(null,x[0],x[1],g),w.sn=x[0],w.xh=g);L(y,g);break;case "flanger":L(y,new r(x[0],x[1],x[2],x[3],x[4]));break;case "phaser":L(y,new l(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "gain":L(y,new p(x[0]));break;case "tremolo":L(y,new u(x[0],x[1]));break;case "ringmod":L(y,new f(x[0],
x[1]));break;case "distortion":L(y,new s(x[0],x[1],x[2],x[3],x[4]));break;case "compressor":L(y,new q(x[0],x[1],x[2],x[3],x[4]));break;case "analyser":L(y,new n(x[0],x[1]))}d=0;for(e=c.length;d<e;d++)3===this.Fd||(a=c[d],g=a.buffersrc,h=a.is_music,y=a.tag,B=a.playbackTime,I=a.looping,E=a.volume,D=(x=a.pan)&&x.hasOwnProperty("objUid")?x.objUid:-1,h&&1===this.Fd)||!h&&2===this.Fd||((w=this.pm(g,y,h,I,E))?(w.Nc=a.resume_position,w.$k(!!x),w.play(I,E,B),w.uo(),w.Yr(),w.Fh(w.rf||w.pg),a.paused&&w.pause(),
a.muted&&w.Or(),w.Fh(w.rf||w.pg),x&&(-1!==D?(w.Xa=w.Xa||new k,w.Xa.pi=D,Ma.push(w.Xa)):w.Zk(x.x,x.y,x.a,x.ia,x.oa,x.og))):(w=this.Jj(g,h),w.Oi=B,w.yi=a.paused,x&&(-1!==D?w.Df.push({un:D,Sj:x.ia,uk:x.oa,wk:x.og,jo:y}):w.Df.push({x:x.x,y:x.y,fp:x.a,Sj:x.ia,uk:x.oa,wk:x.og,jo:y}))));if(b&&!ja){d=0;for(e=M.length;d<e;d++)M[d].Vn(!0);ja=!0}else if(!b&&ja){d=0;for(e=M.length;d<e;d++)M[d].Vn(!1);ja=!1}};la.Qc=function(){var a,b,c,d;a=0;for(b=Ma.length;a<b;a++)c=Ma[a],d=this.b.dg(c.pi),c.Tg(d),c.pi=-1,d&&
(Aa=d.x,Ba=d.y);Ma.length=0};la.pr=function(a){var b,c;b=0;for(c=M.length;b<c;b++)M[b].Pr(a)};la.Ta=function(){var a=this.b.we,b,c,d;b=0;for(c=M.length;b<c;b++)d=M[b],d.Ta(a),d.la===C||d.la===J||d.Td||d.Ac||!d.gg()||(d.Ac=!0,S=d.je,D.trigger(dc.prototype.k.hj,H)),0!==Za&&d.uo();var e,f;for(e in O)if(O.hasOwnProperty(e))for(d=O[e],b=0,c=d.length;b<c;b++)f=d[b],f.Ta&&f.Ta();K===w&&this.yb.Vh()&&(this.yb.Ta(a),Aa=this.yb.T.x,Ba=this.yb.T.y,z.listener.setPosition(this.yb.T.x,this.yb.T.y,this.Ag),z.listener.setVelocity(this.yb.Am(),
this.yb.Bm(),0))};la.Jj=function(a,b){var c,d,e,f=null;c=0;for(d=mb.length;c<d;c++)if(e=mb[c],e.src===a){f=e;break}f||(f=new y(a,b),mb.push(f));return f};la.pm=function(a,b,c,d,e){var f,k,g;f=0;for(k=M.length;f<k;f++)if(g=M[f],g.src===a&&(g.np()||c))return g.je=b,g;a=this.Jj(a,c);if(!a.ya)return"<preload>"!==b&&(a.Ai=b,a.qk=d,a.ul=e),null;g=new B(a,b);M.push(g);return g};var ya=[];I.prototype.hj=function(a){return bb(S,a)};E.k=new I;x.prototype.Hl=function(a,b,c,d,e){!ja&&(d=Math.pow(10,d/20),0>d&&
(d=0),1<d&&(d=1),za=this.pm(this.b.lm+b.toLowerCase()+(Ya?".ogg":".m4a"),e,1===a,0!==c,d))&&(za.$k(!1),za.play(0!==c,d))};E.ma=new x;E.sc=new (F())})();function X(c){this.b=c}
(function(){function c(){}function h(){}var d=X.prototype;d.Da=function(c){this.Pa=c;this.b=c.b};d.Da.prototype.$=F();d.ua=function(c){this.type=c;this.b=c.b};d.ua.prototype.$=function(){var c=this;window.addEventListener("resize",function(){c.b.trigger(X.prototype.k.Xo,c)});"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){c.b.trigger(X.prototype.k.Uo,c)}),window.addEventListener("offline",function(){c.b.trigger(X.prototype.k.To,c)}));"undefined"!==typeof window.applicationCache&&
(window.applicationCache.addEventListener("updateready",function(){c.b.uf=1;c.b.trigger(X.prototype.k.Gl,c)}),window.applicationCache.addEventListener("progress",function(b){c.b.uf=b.loaded/b.total}));this.b.Lb||(document.addEventListener("appMobi.device.update.available",function(){c.b.trigger(X.prototype.k.Gl,c)}),document.addEventListener("backbutton",function(){c.b.trigger(X.prototype.k.Bl,c)}),document.addEventListener("menubutton",function(){c.b.trigger(X.prototype.k.Fl,c)}),document.addEventListener("searchbutton",
function(){c.b.trigger(X.prototype.k.Yo,c)}),document.addEventListener("tizenhwkey",function(b){var a;switch(b.keyName){case "back":a=c.b.trigger(X.prototype.k.Bl,c);!a&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(a=c.b.trigger(X.prototype.k.Fl,c))||b.preventDefault()}}));this.b.Ll(function(b){b?c.b.trigger(X.prototype.k.Vo,c):c.b.trigger(X.prototype.k.Wo,c)});this.hr="undefined"!==typeof window.is_scirra_arcade};c.prototype.Uo=P(!0);c.prototype.To=P(!0);
c.prototype.Gl=P(!0);c.prototype.Wo=P(!0);c.prototype.Vo=P(!0);c.prototype.Xo=P(!0);c.prototype.Bl=P(!0);c.prototype.Fl=P(!0);c.prototype.Yo=P(!0);d.k=new c;h.prototype.Bo=function(c){this.b.Zc?CocoonJS.App.openURL(c):this.hr||this.b.Mb||(window.location=c)};d.ma=new h;d.sc=new (F())})();function Y(c){this.b=c}
(function(){function c(){}var h=Y.prototype;h.Da=function(b){this.Pa=b;this.b=b.b};h.Da.prototype.$=F();h.ua=function(b){this.type=b;this.b=b.b;this.ci=Array(256);this.cj=Array(256);this.le=0};var d=h.ua.prototype;d.$=function(){var b=this;this.b.Mb||(jQuery(document).keydown(function(a){b.yk(a)}),jQuery(document).keyup(function(a){b.zk(a)}))};var g=[32,33,34,35,36,37,38,39,40,44];d.yk=function(b){var a=!1;window!=window.top&&-1<g.indexOf(b.which)&&(b.preventDefault(),a=!0,b.stopPropagation());if(this.ci[b.which])this.cj[b.which]&&
!a&&b.preventDefault();else{this.ci[b.which]=!0;this.le=b.which;this.b.nf=!0;this.b.trigger(Y.prototype.k.Fo,this);var c=this.b.trigger(Y.prototype.k.Ye,this),d=this.b.trigger(Y.prototype.k.Mo,this);this.b.nf=!1;if(c||d)this.cj[b.which]=!0,a||b.preventDefault()}};d.zk=function(b){this.ci[b.which]=!1;this.le=b.which;this.b.nf=!0;this.b.trigger(Y.prototype.k.Go,this);var a=this.b.trigger(Y.prototype.k.Oo,this),c=this.b.trigger(Y.prototype.k.No,this);this.b.nf=!1;if(a||c||this.cj[b.which])this.cj[b.which]=
!0,b.preventDefault()};d.Ab=function(){return{triggerKey:this.le}};d.Qb=function(b){this.le=b.triggerKey};c.prototype.gh=function(b){return this.ci[b]};c.prototype.Ye=function(b){return b===this.le};c.prototype.Fo=P(!0);c.prototype.Go=P(!0);c.prototype.Oo=function(b){return b===this.le};c.prototype.Mo=function(b){return b===this.le};c.prototype.No=function(b){return b===this.le};h.k=new c;h.ma=new (F());h.sc=new (F())})();function ec(c){this.b=c}
(function(){function c(){if(0===this.yj.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.Hf?b.drawImage(this.U,this.Af,this.Bf,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.U,0,0,this.width,this.height);this.yj=a.toDataURL("image/png")}return this.yj}function h(){}function d(a){a[0]=0;a[1]=0;a[2]=0;p.push(a)}function g(a,b){return a<b?""+a+","+b:""+b+","+a}function b(a,b,c,d){b=b.uid;c=c.uid;var e=g(b,c);if(a.hasOwnProperty(e))a[e][2]=
d;else{var f=p.length?p.pop():[0,0,0];f[0]=b;f[1]=c;f[2]=d;a[e]=f}}function a(a,b,c){b=g(b.uid,c.uid);a.hasOwnProperty(b)&&(d(a[b]),delete a[b])}function e(a,b,c){b=g(b.uid,c.uid);if(a.hasOwnProperty(b))return u=a[b][2],!0;u=-2;return!1}function m(){}var v=ec.prototype;v.Da=function(a){this.Pa=a;this.b=a.b};var t=v.Da.prototype;t.$=function(){if(!this.J){var a,b,d,e,f,g,m,h,l;this.Ec=[];this.Wh=!1;a=0;for(b=this.Hb.length;a<b;a++){f=this.Hb[a];m={};m.name=f[0];m.speed=f[1];m.loop=f[2];m.Qk=f[3];m.Li=
f[4];m.In=f[5];m.V=f[6];m.frames=[];d=0;for(e=f[7].length;d<e;d++)g=f[7][d],h={},h.il=g[0],h.jl=g[1],h.Af=g[2],h.Bf=g[3],h.width=g[4],h.height=g[5],h.duration=g[6],h.Eb=g[7],h.Fb=g[8],h.Uj=g[9],h.Bi=g[10],h.Jn=g[11],h.Hf=0!==h.width,h.yj="",h.At=c,l={left:0,top:0,right:1,bottom:1},h.dl=l,h.xa=null,(l=this.b.lq(g[0]))?h.U=l:(h.U=new Image,h.U.idtkLoadDisposed=!0,h.U.src=g[0],h.U.rp=g[0],h.U.Yl=g[1],h.U.mp=null,this.b.Jd.push(h.U)),m.frames.push(h),this.Ec.push(h);this.Hb[a]=m}}};t.Xr=function(){var a,
b,c;a=0;for(b=this.e.length;a<b;a++)c=this.e[a],c.Ah=c.oc.xa};t.xi=function(){if(!this.J){var a,b,c;a=0;for(b=this.Ec.length;a<b;++a)c=this.Ec[a],c.U.mp=null,c.xa=null}};t.Bk=function(){if(!this.J&&this.e.length){var a,b,c;a=0;for(b=this.Ec.length;a<b;++a)c=this.Ec[a],c.xa=this.b.A.oi(c.U,!1,this.b.ca,c.Jn);this.Xr()}};t.kk=function(){if(!this.J&&!this.Wh&&this.b.A){var a,b,c;a=0;for(b=this.Ec.length;a<b;++a)c=this.Ec[a],c.xa=this.b.A.oi(c.U,!1,this.b.ca,c.Jn);this.Wh=!0}};t.ql=function(){if(!this.J&&
!this.e.length&&this.Wh){var a,b,c;a=0;for(b=this.Ec.length;a<b;++a)c=this.Ec[a],this.b.A.deleteTexture(c.xa);this.Wh=!1}};var r=[];t.Jk=function(a){var b,c,d;b=r.length=0;for(c=this.Ec.length;b<c;++b)d=this.Ec[b].U,-1===r.indexOf(d)&&(a.drawImage(d,0,0),r.push(d))};v.ua=function(a){this.type=a;this.b=a.b;a=this.type.Hb[0].frames[0].Bi;this.kc?this.da.Vg(a):this.da=new Va(a)};var l=v.ua.prototype;l.$=function(){this.visible=0===this.C[0];this.Vj=this.bk=!1;this.qd=0!==this.C[3];1===this.type.Hb.length&&
1===this.type.Hb[0].frames.length||0===this.type.Hb[0].speed||(this.b.Yi(this),this.bk=!0);this.Ea=this.om(this.C[1])||this.type.Hb[0];this.B=this.C[2];0>this.B&&(this.B=0);this.B>=this.Ea.frames.length&&(this.B=this.Ea.frames.length-1);var a=this.Ea.frames[this.B];this.da.Vg(a.Bi);this.Eb=a.Eb;this.Fb=a.Fb;this.Yf=this.Ea.speed;this.kc?this.Rc.reset():this.Rc=new Ta;this.ud=this.Rc.Sa;this.pe=!0;this.od=0;this.oe=!0;this.uh=this.Nl="";this.Wl=0;this.sj=-1;this.type.kk();var b,c,d,e,f,g,h,a=0;for(b=
this.type.Hb.length;a<b;a++)for(e=this.type.Hb[a],c=0,d=e.frames.length;c<d;c++)f=e.frames[c],0===f.width&&(f.width=f.U.width,f.height=f.U.height),f.Hf&&(h=f.U,g=f.dl,g.left=f.Af/h.width,g.top=f.Bf/h.height,g.right=(f.Af+f.width)/h.width,g.bottom=(f.Bf+f.height)/h.height,0===f.Af&&0===f.Bf&&f.width===h.width&&f.height===h.height&&(f.Hf=!1));this.oc=this.Ea.frames[this.B];this.Ah=this.oc.xa};l.Ab=function(){var a={a:this.Ea.V,f:this.B,cas:this.Yf,fs:this.ud,ar:this.od,at:this.Rc.Sa};this.pe||(a.ap=
this.pe);this.oe||(a.af=this.oe);return a};l.Qb=function(a){var b=this.pq(a.a);b&&(this.Ea=b);this.B=a.f;0>this.B&&(this.B=0);this.B>=this.Ea.frames.length&&(this.B=this.Ea.frames.length-1);this.Yf=a.cas;this.ud=a.fs;this.od=a.ar;this.Rc.reset();this.Rc.Sa=a.at;this.pe=a.hasOwnProperty("ap")?a.ap:!0;this.oe=a.hasOwnProperty("af")?a.af:!0;this.oc=this.Ea.frames[this.B];this.Ah=this.oc.xa;this.da.Vg(this.oc.Bi);this.Eb=this.oc.Eb;this.Fb=this.oc.Fb};l.oj=function(a){this.B=a?0:this.Ea.frames.length-
1;this.pe=!1;this.Nl=this.Ea.name;this.Vj=!0;this.b.trigger(ec.prototype.k.Eo,this);this.b.trigger(ec.prototype.k.Do,this);this.Vj=!1;this.od=0};l.Ct=function(){return this.Rc.Sa};l.Ta=function(){this.Rc.add(this.b.Rh(this));this.uh.length&&this.em();0<=this.sj&&this.wp();var a=this.Rc.Sa,b=this.Ea,c=b.frames[this.B],d=c.duration/this.Yf;this.pe&&a>=this.ud+d&&(this.oe?this.B++:this.B--,this.ud+=d,this.B>=b.frames.length&&(b.In?(this.oe=!1,this.B=b.frames.length-2):b.loop?this.B=b.Li:(this.od++,this.od>=
b.Qk?this.oj(!1):this.B=b.Li)),0>this.B&&(b.In?(this.B=1,this.oe=!0,b.loop||(this.od++,this.od>=b.Qk&&this.oj(!0))):b.loop?this.B=b.Li:(this.od++,this.od>=b.Qk?this.oj(!0):this.B=b.Li)),0>this.B?this.B=0:this.B>=b.frames.length&&(this.B=b.frames.length-1),a>this.ud+b.frames[this.B].duration/this.Yf&&(this.ud=a),a=b.frames[this.B],this.Rf(c,a),this.b.ra=!0)};l.om=function(a){var b,c,d;b=0;for(c=this.type.Hb.length;b<c;b++)if(d=this.type.Hb[b],bb(d.name,a))return d;return null};l.pq=function(a){var b,
c,d;b=0;for(c=this.type.Hb.length;b<c;b++)if(d=this.type.Hb[b],d.V===a)return d;return null};l.em=function(){var a=this.Ea.frames[this.B],b=this.om(this.uh);this.uh="";!b||bb(b.name,this.Ea.name)&&this.pe||(this.Ea=b,this.Yf=b.speed,0>this.B&&(this.B=0),this.B>=this.Ea.frames.length&&(this.B=this.Ea.frames.length-1),1===this.Wl&&(this.B=0),this.pe=!0,this.ud=this.Rc.Sa,this.oe=!0,this.Rf(a,this.Ea.frames[this.B]),this.b.ra=!0)};l.wp=function(){var a=this.Ea.frames[this.B],b=this.B;this.B=T(this.sj);
0>this.B&&(this.B=0);this.B>=this.Ea.frames.length&&(this.B=this.Ea.frames.length-1);b!==this.B&&(this.Rf(a,this.Ea.frames[this.B]),this.ud=this.Rc.Sa,this.b.ra=!0);this.sj=-1};l.Rf=function(a,b){var c=a.width,d=a.height,e=b.width,f=b.height;c!=e&&(this.width*=e/c);d!=f&&(this.height*=f/d);this.Eb=b.Eb;this.Fb=b.Fb;this.da.Vg(b.Bi);this.D();this.oc=b;this.Ah=b.xa;c=0;for(d=this.P.length;c<d;c++)e=this.P[c],e.yn&&e.yn(a,b);this.b.trigger(ec.prototype.k.Rf,this)};l.Vc=function(a){a.globalAlpha=this.opacity;
var b=this.oc,c=b.Hf,d=b.U,e=this.x,f=this.y,g=this.width,h=this.height;if(0===this.m&&0<=g&&0<=h)e-=this.Eb*g,f-=this.Fb*h,this.b.cd&&(e=e+0.5|0,f=f+0.5|0),c?a.drawImage(d,b.Af,b.Bf,b.width,b.height,e,f,g,h):a.drawImage(d,e,f,g,h);else{this.b.cd&&(e=e+0.5|0,f=f+0.5|0);a.save();var m=0<g?1:-1,l=0<h?1:-1;a.translate(e,f);1===m&&1===l||a.scale(m,l);a.rotate(this.m*m*l);e=0-this.Eb*ga(g);f=0-this.Fb*ga(h);c?a.drawImage(d,b.Af,b.Bf,b.width,b.height,e,f,ga(g),ga(h)):a.drawImage(d,e,f,ga(g),ga(h));a.restore()}};
l.rc=function(a){a.Ub(this.Ah);a.Ue(this.opacity);var b=this.oc,c=this.wb;if(this.b.cd){var d=(this.x+0.5|0)-this.x,e=(this.y+0.5|0)-this.y;b.Hf?a.ed(c.Ga+d,c.Ha+e,c.tb+d,c.ub+e,c.pb+d,c.qb+e,c.nb+d,c.ob+e,b.dl):a.Ii(c.Ga+d,c.Ha+e,c.tb+d,c.ub+e,c.pb+d,c.qb+e,c.nb+d,c.ob+e)}else b.Hf?a.ed(c.Ga,c.Ha,c.tb,c.ub,c.pb,c.qb,c.nb,c.ob,b.dl):a.Ii(c.Ga,c.Ha,c.tb,c.ub,c.pb,c.qb,c.nb,c.ob)};l.tq=function(a){var b=this.oc,c,d;c=0;for(d=b.Uj.length;c<d;c++)if(bb(a,b.Uj[c][0]))return c;return-1};l.Oj=function(a,
b){var c=this.oc,d=c.Uj,e;e=R(a)?this.tq(a):a-1;e=T(e);if(0>e||e>=d.length)return b?this.x:this.y;var f=(d[e][1]-c.Eb)*this.width,d=d[e][2],d=(d-c.Fb)*this.height,c=Math.cos(this.m);e=Math.sin(this.m);var g=f*c-d*e,d=d*c+f*e,f=g+this.x,d=d+this.y;return b?f:d};var p=[],u=-2,f=[];h.prototype.Io=function(c){if(!c)return!1;var g=this.b,h=g.rm(),m=h.type;h.fa.uj||(h.fa.uj={},g.mj(function(a){return function(b){b=b.uid;var c,e;for(c in a)a.hasOwnProperty(c)&&(e=a[c],e[0]===b||e[1]===b)&&(d(a[c]),delete a[c])}}(h.fa.uj)));
var h=h.fa.uj,l=m.na(),p=c.na(),l=l.uc(),q,t,v,r,s,A,C,w=this.b.ld,N=w-1,J=g.xb().pc;for(t=0;t<l.length;t++){v=l[t];p.Ba?(v.Ka(),this.b.qm(v.j,c,v.La,f),q=f):q=p.uc();for(r=0;r<q.length;r++)s=q[r],g.Cc(v,s)||g.qp(v,s)?(A=e(h,v,s),A=!A||u<N,b(h,v,s,w),A&&(g.Gi(J.Ca),A=m.na(),C=c.na(),A.Ba=!1,C.Ba=!1,m===c?(A.e.length=2,A.e[0]=v,A.e[1]=s,m.Sc()):(A.e.length=1,C.e.length=1,A.e[0]=v,C.e[0]=s,m.Sc(),c.Sc()),J.Fr(),g.Qe(J.Ca))):a(h,v,s);f.length=0}return!1};var s=new ba,q=!1;t.finish=function(a){if(q){if(a){var b=
this.b.xb().pc.Jc;a=null.na();var c=s.Mf(),d,e;if(a.Ba){a.Ba=!1;a.e.length=c.length;d=0;for(e=c.length;d<e;d++)a.e[d]=c[d];if(b)for(d=a.ea.length=0,e=null.e.length;d<e;d++)c=null.e[d],s.contains(c)||a.ea.push(c)}else if(b)for(b=a.e.length,a.e.length=b+c.length,d=0,e=c.length;d<e;d++)a.e[b+d]=c[d],wa(a.ea,c[d]);else ta(a.e,c);null.Sc()}s.clear();q=!1}};h.prototype.Do=function(a){return bb(this.Nl,a)};h.prototype.Eo=P(!0);h.prototype.Rf=P(!0);v.k=new h;m.prototype.Il=function(a,b){this.uh=a;this.Wl=
b;this.bk||(this.b.Yi(this),this.bk=!0);this.Vj||this.em()};m.prototype.Jl=function(a){a=ga(this.width)*(0===a?-1:1);this.width!==a&&(this.width=a,this.D())};v.ma=new m;v.sc=new (F())})();function fc(c){this.b=c}
(function(){function c(){return a.length?a.pop():{}}function h(b){var c,d;c=0;for(d=b.length;c<d;c++)a.push(b[c]);b.length=0}var d=fc.prototype;d.$=function(){d.ma.bp=function(a){this.width!==a&&(this.width=a,this.Kf=!0,this.D())}};d.Da=function(a){this.Pa=a;this.b=a.b};var g=d.Da.prototype;g.$=F();g.xi=function(){if(!this.J){var a,b,c;a=0;for(b=this.e.length;a<b;a++)c=this.e[a],c.ad=null,c.Oe=null,c.Rb=null}};d.ua=function(a){this.type=a;this.b=a.b;this.kc?this.Zd.length=0:this.Zd=[];this.Kf=!0};
g=d.ua.prototype;g.$=function(){this.text=this.C[0];this.visible=0===this.C[1];this.font=this.C[2];this.color=this.C[3];this.Uh=this.C[4];this.dj=this.C[5];this.yl=0===this.C[7];this.gk=this.hi=this.width;this.gi=this.height;this.ik=this.C[8];this.Oh=this.ff="";this.ho=this.io=this.Ng=0;this.qr();this.Rb=this.Oe=this.ad=null;this.qn=!1;this.zg=this.b.ld;this.kc?this.be.set(0,0,1,1):this.be=new pa(0,0,1,1);this.b.A&&this.b.Yi(this)};g.qr=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.Ng=parseInt(a[b].substr(0,a[b].length-2));this.Mk=Math.ceil(96*(this.Ng/72))+4;0<b&&(this.Oh=a[b-1]);this.ff=a[b+1];for(b+=2;b<a.length;b++)this.ff+=" "+a[b];break}};g.Ab=function(){return{t:this.text,f:this.font,c:this.color,ha:this.Uh,va:this.dj,wr:this.yl,lho:this.ik,fn:this.ff,fs:this.Oh,ps:this.Ng,pxh:this.Mk,tw:this.io,th:this.ho,lrt:this.zg}};g.Qb=function(a){this.text=a.t;this.font=a.f;this.color=a.c;this.Uh=a.ha;this.dj=a.va;this.yl=a.wr;this.ik=a.lho;this.ff=
a.fn;this.Oh=a.fs;this.Ng=a.ps;this.Mk=a.pxh;this.io=a.tw;this.ho=a.th;this.zg=a.lrt;this.Kf=!0;this.gk=this.hi=this.width;this.gi=this.height};g.Ta=function(){if(this.b.A&&this.Rb&&300<=this.b.ld-this.zg){var a=this.j;this.Ka();var b=this.La;if(b.right<a.Yb||b.bottom<a.$b||b.left>a.Zb||b.top>a.Xb)this.b.A.deleteTexture(this.Rb),this.ad=this.Oe=this.Rb=null}};g.Cf=function(){this.ad=this.Oe=null;this.b.A&&this.Rb&&this.b.A.deleteTexture(this.Rb);this.Rb=null};g.Mt=function(){this.font=this.Oh+" "+
this.Ng.toString()+"pt "+this.ff;this.Kf=!0;this.b.ra=!0};g.Vc=function(a,b){a.font=this.font;a.textBaseline="top";a.fillStyle=this.color;a.globalAlpha=b?1:this.opacity;var c=1;b&&(c=this.j.Jb(),a.save(),a.scale(c,c));if(this.Kf||this.width!==this.gk)this.type.Pa.dp(this.text,this.Zd,a,this.width,this.yl),this.Kf=!1,this.gk=this.width;this.Ka();var c=b?0:this.wb.Ga,d=b?0:this.wb.Ha;this.b.cd&&(c=c+0.5|0,d=d+0.5|0);0===this.m||b||(a.save(),a.translate(c,d),a.rotate(this.m),d=c=0);var g=d+this.height,
h=this.Mk,h=h+this.ik,p,u;1===this.dj?d+=Math.max(this.height/2-this.Zd.length*h/2,0):2===this.dj&&(d+=Math.max(this.height-this.Zd.length*h-2,0));for(u=0;u<this.Zd.length&&!(p=c,1===this.Uh?p=c+(this.width-this.Zd[u].width)/2:2===this.Uh&&(p=c+(this.width-this.Zd[u].width)),a.fillText(this.Zd[u].text,p,d),d+=h,d>=g-h);u++);(0!==this.m||b)&&a.restore();this.zg=this.b.ld};g.rc=function(a){if(!(1>this.width||1>this.height)){var b=this.Kf||this.qn;this.qn=!1;var c=this.j.Jb(),d=this.j.Db(),g=this.be,
h=c*this.width,p=c*this.height,u=Math.ceil(h),f=Math.ceil(p),s=this.b.S/2,q=this.b.R/2;this.Oe||(this.ad=document.createElement("canvas"),this.ad.width=u,this.ad.height=f,this.hi=u,this.gi=f,b=!0,this.Oe=this.ad.getContext("2d"));if(u!==this.hi||f!==this.gi)this.ad.width=u,this.ad.height=f,this.Rb&&(a.deleteTexture(this.Rb),this.Rb=null),b=!0;b&&(this.Oe.clearRect(0,0,u,f),this.Vc(this.Oe,!0),this.Rb||(this.Rb=a.rd(u,f,this.b.ca,this.b.Vd)),a.cs(this.ad,this.Rb,this.b.Vd));this.hi=u;this.gi=f;a.Ub(this.Rb);
a.Ue(this.opacity);a.fd();a.translate(-s,-q);a.md();var n=this.wb,k=this.b.devicePixelRatio;this.b.devicePixelRatio=1;var b=this.j.Aa(n.Ga,n.Ha,!0,!0),s=this.j.Aa(n.Ga,n.Ha,!1,!0),q=this.j.Aa(n.tb,n.ub,!0,!0),y=this.j.Aa(n.tb,n.ub,!1,!0),B=this.j.Aa(n.pb,n.qb,!0,!0),L=this.j.Aa(n.pb,n.qb,!1,!0),I=this.j.Aa(n.nb,n.ob,!0,!0),n=this.j.Aa(n.nb,n.ob,!1,!0);this.b.devicePixelRatio=k;if(this.b.cd||0===this.m&&0===d)var k=(b+0.5|0)-b,x=(s+0.5|0)-s,b=b+k,s=s+x,q=q+k,y=y+x,B=B+k,L=L+x,I=I+k,n=n+x;0===this.m&&
0===d?(q=b+u,y=s,B=q,L=s+f,I=b,n=L,g.right=1,g.bottom=1):(g.right=h/u,g.bottom=p/f);a.ed(b,s,q,y,B,L,I,n,g);a.fd();a.scale(c,c);a.Sk(-this.j.Db());a.translate((this.j.Yb+this.j.Zb)/-2,(this.j.$b+this.j.Xb)/-2);a.md();this.zg=this.b.ld}};var b=[];d.cp=function(a){b.length=0;for(var c="",d,g=0;g<a.length;)if(d=a.charAt(g),"\n"===d)c.length&&(b.push(c),c=""),b.push("\n"),++g;else if(" "===d||"\t"===d||"-"===d){do c+=a.charAt(g),g++;while(g<a.length&&(" "===a.charAt(g)||"\t"===a.charAt(g)));b.push(c);
c=""}else g<a.length&&(c+=d,g++);c.length&&b.push(c)};var a=[];d.dp=function(a,b,d,g,r){if(a&&a.length)if(2>=g)h(b);else{if(100>=a.length&&-1===a.indexOf("\n")){var l=d.measureText(a).width;if(l<=g){h(b);b.push(c());b[0].text=a;b[0].width=l;return}}this.ep(a,b,d,g,r)}else h(b)};d.ep=function(d,g,h,t,r){r&&(this.cp(d),d=b);var l="",p,u,f,s=0;for(f=0;f<d.length;f++)"\n"===d[f]?(s>=g.length&&g.push(c()),u=g[s],u.text=l,u.width=h.measureText(l).width,s++,l=""):(p=l,l+=d[f],u=h.measureText(l).width,u>=
t&&(s>=g.length&&g.push(c()),u=g[s],u.text=p,u.width=h.measureText(p).width,s++,l=d[f],r||" "!==l||(l="")));l.length&&(s>=g.length&&g.push(c()),u=g[s],u.text=l,u.width=h.measureText(l).width,s++);for(f=s;f<g.length;f++)a.push(g[f]);g.length=s};d.k=new (F());d.ma=new (F());d.sc=new (F())})();function gc(c){this.b=c}
(function(){var c=gc.prototype;c.Da=function(c){this.Pa=c;this.b=c.b};var h=c.Da.prototype;h.$=function(){this.J||(this.U=new Image,this.U.idtkLoadDisposed=!0,this.U.src=this.il,this.U.Yl=this.jl,this.b.Jd.push(this.U),this.xa=this.pattern=null)};h.xi=function(){this.J||(this.xa=null)};h.Bk=function(){if(!this.J&&this.e.length){this.xa||(this.xa=this.b.A.oi(this.U,!0,this.b.ca,this.kl));var c,g;c=0;for(g=this.e.length;c<g;c++)this.e[c].xa=this.xa}};h.kk=function(){this.J||this.xa||!this.b.A||(this.xa=
this.b.A.oi(this.U,!0,this.b.ca,this.kl))};h.ql=function(){this.J||this.e.length||!this.xa||(this.b.A.deleteTexture(this.xa),this.xa=null)};h.Jk=function(c){c.drawImage(this.U,0,0)};c.ua=function(c){this.type=c;this.b=c.b};h=c.ua.prototype;h.$=function(){this.visible=0===this.C[0];this.be=new pa(0,0,0,0);this.Fm=!1;this.U=this.type.U;this.b.A?(this.type.kk(),this.xa=this.type.xa):(this.type.pattern||(this.type.pattern=this.b.ja.createPattern(this.type.U,"repeat")),this.pattern=this.type.pattern)};
h.Qc=function(){this.Fm=!1;this.U=this.type.U};h.Cf=function(){this.b.A&&this.Fm&&this.xa&&(this.b.A.deleteTexture(this.xa),this.xa=null)};h.Vc=function(c){c.globalAlpha=this.opacity;c.save();c.fillStyle=this.pattern;var g=this.x,b=this.y;this.b.cd&&(g=g+0.5|0,b=b+0.5|0);var a=-(this.Eb*this.width),e=-(this.Fb*this.height),h=a%this.U.width,v=e%this.U.height;0>h&&(h+=this.U.width);0>v&&(v+=this.U.height);c.translate(g,b);c.rotate(this.m);c.translate(h,v);c.fillRect(a-h,e-v,this.width,this.height);
c.restore()};h.rc=function(c){c.Ub(this.xa);c.Ue(this.opacity);var g=this.be;g.right=this.width/this.U.width;g.bottom=this.height/this.U.height;var b=this.wb;if(this.b.cd){var a=(this.x+0.5|0)-this.x,e=(this.y+0.5|0)-this.y;c.ed(b.Ga+a,b.Ha+e,b.tb+a,b.ub+e,b.pb+a,b.qb+e,b.nb+a,b.ob+e,g)}else c.ed(b.Ga,b.Ha,b.tb,b.ub,b.pb,b.qb,b.nb,b.ob,g)};c.k=new (F());c.ma=new (F());c.sc=new (F())})();function Z(c){this.b=c}
(function(){function c(){}function h(){}var d=Z.prototype;d.Da=function(b){this.O=b;this.b=b.b};d.Da.prototype.$=F();d.ua=function(b,a){this.type=b;this.O=b.O;this.d=a;this.b=b.b;this.Yg=this.Si=this.Ri=this.Tj=this.sf=this.tg=this.Mi=this.li=!1;this.Nb=null;this.jk=-1;this.Ie=this.He=0;this.Nh=!1;this.ze=this.Fc=0;this.Mh=!0;this.ka=this.M=0};var g=d.ua.prototype;g.to=function(){this.ab=Math.cos(this.hf);this.bb=Math.sin(this.hf);this.Se=Math.cos(this.hf-Math.PI/2);this.Te=Math.sin(this.hf-Math.PI/
2);this.ab=ab(this.ab);this.bb=ab(this.bb);this.Se=ab(this.Se);this.Te=ab(this.Te);this.Ij=this.vd;0>this.vd&&(this.ab*=-1,this.bb*=-1,this.vd=Math.abs(this.vd))};g.$=function(){this.yf=this.C[0];this.Ze=this.C[1];this.ef=this.C[2];this.ek=this.C[3];this.Ij=this.vd=this.C[4];this.ri=this.C[5];this.vp=1===this.C[6];this.enabled=0!==this.C[7];this.Of=!1;this.fj=this.b.Gd(this.d);this.hf=U(90);this.to();var b=this;this.vp&&!this.b.Mb&&(jQuery(document).keydown(function(a){b.yk(a)}),jQuery(document).keyup(function(a){b.zk(a)}));
this.kc||(this.pn=function(a){b.xk(a)});this.b.mj(this.pn)};g.Ab=function(){return{ii:this.Tj,lfx:this.He,lfy:this.Ie,lfo:this.Nb?this.Nb.uid:-1,am:this.Fc,en:this.enabled,fall:this.ze,ft:this.Mh,dx:this.M,dy:this.ka,ms:this.yf,acc:this.Ze,dec:this.ef,js:this.ek,g:this.vd,g1:this.Ij,mf:this.ri,wof:this.Of,woj:this.fj,ga:this.hf}};g.Qb=function(b){this.Tj=b.ii;this.He=b.lfx;this.Ie=b.lfy;this.jk=b.lfo;this.Fc=b.am;this.enabled=b.en;this.ze=b.fall;this.Mh=b.ft;this.M=b.dx;this.ka=b.dy;this.yf=b.ms;
this.Ze=b.acc;this.ef=b.dec;this.ek=b.js;this.vd=b.g;this.Ij=b.g1;this.ri=b.mf;this.Of=b.wof;this.fj=b.woj;this.hf=b.ga;this.Yg=this.Si=this.Ri=this.sf=this.tg=this.Mi=this.li=!1;this.to()};g.Qc=function(){this.Nb=-1===this.jk?null:this.b.dg(this.jk)};g.xk=function(b){this.Nb==b&&(this.Nb=null)};g.Cf=function(){this.Nb=null;this.b.Dr(this.pn)};g.yk=function(b){switch(b.which){case 38:b.preventDefault();this.tg=!0;break;case 37:b.preventDefault();this.li=!0;break;case 39:b.preventDefault(),this.Mi=
!0}};g.zk=function(b){switch(b.which){case 38:b.preventDefault();this.sf=this.tg=!1;break;case 37:b.preventDefault();this.li=!1;break;case 39:b.preventDefault(),this.Mi=!1}};g.Bt=function(){return 0>this.vd?-1:1};g.Pm=function(){var b=null,a=null,c,d;c=this.d.x;d=this.d.y;this.d.x+=this.ab;this.d.y+=this.bb;this.d.D();if(this.Nb&&this.b.Cc(this.d,this.Nb))return this.d.x=c,this.d.y=d,this.d.D(),this.Nb;(b=this.b.Wb(this.d))||0!==this.ze||(a=this.b.Gd(this.d,!0));this.d.x=c;this.d.y=d;this.d.D();if(b){if(this.b.Cc(this.d,
b))return null;this.Nh=!1;return b}if(a&&a.length){d=b=0;for(c=a.length;b<c;b++)a[d]=a[b],this.b.Cc(this.d,a[b])||d++;if(1<=d)return this.Nh=!0,a[0]}return null};g.Ta=F();g.Ln=function(){var b=this.b.Rh(this.d),a,c,d,g,h,r,l,p,u;this.tg||this.Yg||(this.sf=!1);var f=this.li||this.Ri;d=this.Mi||this.Si;var s=(this.tg||this.Yg)&&!this.sf;this.Yg=this.Si=this.Ri=!1;if(this.enabled){this.Tj&&(s=d=f=!1);p=this.Nb;u=!1;this.Mh&&((this.b.Wb(this.d)||this.b.Gd(this.d))&&this.b.dd(this.d,-this.ab,-this.bb,
4,!0),this.Mh=!1);!p||0!==this.ka||p.y===this.Ie&&p.x===this.He||(a=p.x-this.He,c=p.y-this.Ie,this.d.x+=a,this.d.y+=c,this.d.D(),this.He=p.x,this.Ie=p.y,u=!0,this.b.Wb(this.d)&&this.b.dd(this.d,-a,-c,2.5*Math.sqrt(a*a+c*c)));var q=this.Pm();if(c=this.b.Wb(this.d))if(this.b.Br(this.d,Math.max(this.d.width,this.d.height)/2))this.b.Qg(this.d,c);else return;q?(0<this.ka&&(this.Of||(this.b.Lk(this.d,-this.ab,-this.bb,q),this.Of=!0),this.ka=0),p!=q?(this.Nb=q,this.He=q.x,this.Ie=q.y,this.b.Qg(this.d,q)):
u&&(c=this.b.Wb(this.d))&&(this.b.Qg(this.d,c),0!==a&&(0<a?this.b.dd(this.d,-this.Se,-this.Te):this.b.dd(this.d,this.Se,this.Te)),this.b.dd(this.d,-this.ab,-this.bb)),s&&(p=this.d.x,u=this.d.y,this.d.x-=this.ab,this.d.y-=this.bb,this.d.D(),this.b.Wb(this.d)?s=!1:(this.b.trigger(Z.prototype.k.Cl,this.d),this.Fc=2,this.ka=-this.ek,this.sf=!0),this.d.x=p,this.d.y=u,this.d.D())):(this.Nb=null,this.ka+=this.vd*b,this.ka>this.ri&&(this.ka=this.ri),s&&(this.sf=!0));this.Of=!!q;f==d&&(0>this.M?(this.M+=this.ef*
b,0<this.M&&(this.M=0)):0<this.M&&(this.M-=this.ef*b,0>this.M&&(this.M=0)));f&&!d&&(this.M=0<this.M?this.M-(this.Ze+this.ef)*b:this.M-this.Ze*b);d&&!f&&(this.M=0>this.M?this.M+(this.Ze+this.ef)*b:this.M+this.Ze*b);this.M>this.yf?this.M=this.yf:this.M<-this.yf&&(this.M=-this.yf);f=!1;0!==this.M&&(p=this.d.x,u=this.d.y,a=this.M*b*this.Se,c=this.M*b*this.Te,this.d.x+=this.Se*(1<this.M?1:-1)-this.ab,this.d.y+=this.Te*(1<this.M?1:-1)-this.bb,this.d.D(),g=!1,h=this.b.Wb(this.d),this.d.x=p+a,this.d.y=u+
c,this.d.D(),d=this.b.Wb(this.d),!d&&q&&(d=this.b.Gd(this.d))&&(this.d.x=p,this.d.y=u,this.d.D(),this.b.Cc(this.d,d)?(d=null,g=!1):g=!0,this.d.x=p+a,this.d.y=u+c,this.d.D()),d?(a=Math.abs(this.M*b)+2,h||!this.b.dd(this.d,-this.ab,-this.bb,a,g,d))?(this.b.Qg(this.d,d),a=Math.max(Math.abs(2.5*this.M*b),30),this.b.dd(this.d,this.Se*(0>this.M?1:-1),this.Te*(0>this.M?1:-1),a,!1)?!q||g||this.Nh||(p=this.d.x,u=this.d.y,this.d.x+=this.ab,this.d.y+=this.bb,this.b.Wb(this.d)?this.b.dd(this.d,-this.ab,-this.bb,
3,!1)||(this.d.x=p,this.d.y=u,this.d.D()):(this.d.x=p,this.d.y=u,this.d.D())):(this.d.x=p,this.d.y=u,this.d.D()),g||(this.M=0)):!h&&15>Math.abs(this.ka)&&(this.ka=0,q||(f=!0)):(p=this.Pm(),q&&!p?(c=Math.ceil(Math.abs(this.M*b))+2,p=this.d.x,u=this.d.y,this.d.x+=this.ab*c,this.d.y+=this.bb*c,this.d.D(),this.b.Wb(this.d)||this.b.Gd(this.d)?this.b.dd(this.d,-this.ab,-this.bb,c+2,!0):(this.d.x=p,this.d.y=u,this.d.D())):p&&0===this.ka&&this.b.Lk(this.d,-this.ab,-this.bb,p)));if(0!==this.ka){p=this.d.x;
u=this.d.y;this.d.x+=this.ka*b*this.ab;this.d.y+=this.ka*b*this.bb;a=this.d.x;d=this.d.y;this.d.D();c=this.b.Wb(this.d);g=!1;if(!c&&0<this.ka&&!q){if((g=0<this.ze?null:this.b.Gd(this.d,!0))&&g.length){if(this.fj){this.d.x=p;this.d.y=u;this.d.D();l=h=0;for(r=g.length;h<r;h++)g[l]=g[h],this.b.Cc(this.d,g[h])||l++;g.length=l;this.d.x=a;this.d.y=d;this.d.D()}1<=g.length&&(c=g[0])}g=!!c}c&&(this.b.Qg(this.d,c),a=g?Math.abs(2.5*this.ka*b+10):Math.max(Math.abs(2.5*this.ka*b+10),30),this.b.dd(this.d,this.ab*
(0>this.ka?1:-1),this.bb*(0>this.ka?1:-1),a,g,c)?(this.Nb=c,this.He=c.x,this.Ie=c.y,(this.Nh=g)&&(f=!0),this.ka=0):(this.d.x=p,this.d.y=u,this.d.D(),this.Of=!0,g||(this.ka=0)))}3!==this.Fc&&0<this.ka&&!q&&(this.b.trigger(Z.prototype.k.Lo,this.d),this.Fc=3);if(q||f)3===this.Fc||f||s&&0===this.ka?(this.b.trigger(Z.prototype.k.Po,this.d),this.Fc=0===this.M&&0===this.ka?0:1):(0!==this.Fc&&0===this.M&&0===this.ka&&(this.b.trigger(Z.prototype.k.Zo,this.d),this.Fc=0),1===this.Fc||0===this.M&&0===this.ka||
s||(this.b.trigger(Z.prototype.k.So,this.d),this.Fc=1));0<this.ze&&this.ze--;this.fj=this.b.Gd(this.d)}};c.prototype.Al=function(){return 0!==this.M||0!==this.ka};c.prototype.Cl=P(!0);c.prototype.Lo=P(!0);c.prototype.Zo=P(!0);c.prototype.So=P(!0);c.prototype.Po=P(!0);d.k=new c;h.prototype.kj=function(b){switch(b){case 0:this.Ri=!0;break;case 1:this.Si=!0;break;case 2:this.Yg=!0}};h.prototype.zl=function(){var b=this.d.x,a=this.d.y;this.d.x+=this.ab;this.d.y+=this.bb;this.d.D();var c=this.b.Gd(this.d,
!1);this.d.x=b;this.d.y=a;this.d.D();c&&(this.ze=3,this.Nb=null)};d.ma=new h;d.sc=new (F())})();function lc(c){this.b=c}
(function(){var c=lc.prototype;c.Da=function(a){this.O=a;this.b=a.b};c.Da.prototype.$=F();c.ua=function(a,b){this.type=a;this.O=a.O;this.d=b;this.b=a.b;this.Va=0};var h=c.ua.prototype,d=2*Math.PI,g=Math.PI/2,b=3*Math.PI/2;h.$=function(){this.ec=1===this.C[0];this.Fg=this.C[1];this.wl=this.C[2];this.Dd=this.C[3];this.Dd+=Math.random()*this.C[4];0===this.Dd?this.Va=0:(this.Va=this.C[5]/this.Dd*d,this.Va+=Math.random()*this.C[6]/this.Dd*d);this.Gb=this.C[7];this.Gb+=Math.random()*this.C[8];this.Pg=this.De=
this.W=0;this.init()};h.Ab=function(){return{i:this.Va,a:this.ec,mv:this.Fg,w:this.wl,p:this.Dd,mag:this.Gb,iv:this.W,iv2:this.De,r:this.Pg,lkv:this.Ob,lkv2:this.ug}};h.Qb=function(a){this.Va=a.i;this.ec=a.a;this.Fg=a.mv;this.wl=a.w;this.Dd=a.p;this.Gb=a.mag;this.W=a.iv;this.De=a.iv2||0;this.Pg=a.r;this.Ob=a.lkv;this.ug=a.lkv2||0};h.init=function(){switch(this.Fg){case 0:this.W=this.d.x;break;case 1:this.W=this.d.y;break;case 2:this.W=this.d.width;this.Pg=this.d.height/this.d.width;break;case 3:this.W=
this.d.width;break;case 4:this.W=this.d.height;break;case 5:this.W=this.d.m;this.Gb=U(this.Gb);break;case 6:this.W=this.d.opacity;break;case 7:this.W=0;break;case 8:this.W=this.d.x,this.De=this.d.y}this.Ob=this.W;this.ug=this.De};h.Kd=function(a){a%=d;switch(this.wl){case 0:return Math.sin(a);case 1:return a<=g?a/g:a<=b?1-2*(a-g)/Math.PI:(a-b)/g-1;case 2:return 2*a/d-1;case 3:return-2*a/d+1;case 4:return a<Math.PI?-1:1}return 0};h.Ta=function(){var a=this.b.Rh(this.d);if(this.ec&&0!==a){0===this.Dd?
this.Va=0:(this.Va+=a/this.Dd*d,this.Va%=d);switch(this.Fg){case 0:this.d.x!==this.Ob&&(this.W+=this.d.x-this.Ob);this.d.x=this.W+this.Kd(this.Va)*this.Gb;this.Ob=this.d.x;break;case 1:this.d.y!==this.Ob&&(this.W+=this.d.y-this.Ob);this.d.y=this.W+this.Kd(this.Va)*this.Gb;this.Ob=this.d.y;break;case 2:this.d.width=this.W+this.Kd(this.Va)*this.Gb;this.d.height=this.d.width*this.Pg;break;case 3:this.d.width=this.W+this.Kd(this.Va)*this.Gb;break;case 4:this.d.height=this.W+this.Kd(this.Va)*this.Gb;break;
case 5:this.d.m!==this.Ob&&(this.W=Da(this.W+(this.d.m-this.Ob)));this.d.m=Da(this.W+this.Kd(this.Va)*this.Gb);this.Ob=this.d.m;break;case 6:this.d.opacity=this.W+this.Kd(this.Va)*this.Gb/100;0>this.d.opacity?this.d.opacity=0:1<this.d.opacity&&(this.d.opacity=1);break;case 8:this.d.x!==this.Ob&&(this.W+=this.d.x-this.Ob),this.d.y!==this.ug&&(this.De+=this.d.y-this.ug),this.d.x=this.W+Math.cos(this.d.m)*this.Kd(this.Va)*this.Gb,this.d.y=this.De+Math.sin(this.d.m)*this.Kd(this.Va)*this.Gb,this.Ob=this.d.x,
this.ug=this.d.y}this.d.D()}};h.yn=function(a,b){switch(this.Fg){case 2:this.W*=b.width/a.width;this.Pg=b.height/b.width;break;case 3:this.W*=b.width/a.width;break;case 4:this.W*=b.height/a.height}};c.k=new (F());c.ma=new (F());c.sc=new (F())})();function cc(c){this.b=c}
(function(){var c=cc.prototype;c.Da=function(c){this.O=c;this.b=c.b};c.Da.prototype.$=F();c.ua=function(c,g){this.type=c;this.O=c.O;this.d=g;this.b=c.b};var h=c.ua.prototype;h.$=function(){this.d.fa.jr=0!==this.C[0]};h.Ta=F();c.k=new (F());c.ma=new (F())})();function mc(c){this.b=c;this.cl=this.Qi=this.Xg=this.bl=0}
(function(){var c=mc.prototype;c.Da=function(c){this.O=c;this.b=c.b};c.Da.prototype.$=F();c.ua=function(c,g){this.type=c;this.O=c.O;this.d=g;this.b=c.b};var h=c.ua.prototype;h.$=function(){this.enabled=0!==this.C[0]};h.Ab=function(){return{smg:this.O.bl,ss:this.O.Xg,se:this.O.Qi,smd:this.O.cl}};h.Qb=function(c){this.O.bl=c.smg;this.O.Xg=c.ss;this.O.Qi=c.se;this.O.cl=c.smd};h.Ta=F();h.ll=function(){if(this.enabled){var c=this.O.ti.as(),g=0,b=0,a,e;a=0;for(e=c.length;a<e;a++)g+=c[a].x,b+=c[a].y;a=this.d.j.pa;
var h=this.b.vc.Sa,v=e=0;h>=this.O.Xg&&h<this.O.Qi&&(e=this.O.bl*Math.min(this.b.Ve,1),0===this.O.cl&&(e*=1-(h-this.O.Xg)/(this.O.Qi-this.O.Xg)),h=2*Math.random()*Math.PI,v=Math.random()*e,e=Math.cos(h)*v,v*=Math.sin(h));a.Xk(g/c.length+e);a.Yk(b/c.length+v)}};c.ma=new (F())})();function bc(c){this.b=c}
(function(){var c=bc.prototype;c.Da=function(c){this.O=c;this.b=c.b};c.Da.prototype.$=F();c.ua=function(c,g){this.type=c;this.O=c.O;this.d=g;this.b=c.b};var h=c.ua.prototype;h.$=function(){this.d.fa.Rr=0!==this.C[0]};h.Ta=F();c.k=new (F());c.ma=new (F())})();
function ac(){return[null,null,[[dc,!0,!1,!1,!1,!1,!1,!1,!1,!1],[X,!0,!1,!1,!1,!1,!1,!1,!1,!1],[Y,!0,!1,!1,!1,!1,!1,!1,!1,!1],[ec,!1,!0,!0,!0,!0,!0,!0,!0,!1],[fc,!1,!0,!0,!0,!0,!0,!0,!0,!1],[gc,!1,!0,!0,!0,!0,!0,!0,!0,!0]],[["t0",gc,!1,[],0,0,["images/backgroundtile.png",470656,1],null,[],!1,!1,8462981739375507,[],null],["t1",ec,!1,[],2,0,null,[["idle",5,!1,1,0,!1,0xae089cccfb69a,[["images/player-sheet2.png",167839,0,0,500,491,1,0.5019999742507935,0.4989816844463348,[],[],1]]],["moving",5,!1,1,0,
!1,0x77561da0712e8,[["images/player-sheet0.png",51251,0,0,500,492,1,0.5,0.5,[],[],0],["images/player-sheet1.png",54793,0,0,500,492,1,0.5,0.5,[],[],0]]]],[["Platform",Z,9492223502880942],["ScrollTo",mc,0xee72b10e8521]],!1,!1,0xbb10123a8b068,[],null],["t2",gc,!1,[],1,0,["images/solidtile.png",100,1],null,[["Solid",bc,9796538509599506]],!1,!1,0xbc4af981418db,[],null],["t3",gc,!1,[],2,0,["images/solidtile.png",100,1],null,[["Solid",bc,4561732112850971],["Sine",lc,8840745199957519]],!1,!1,8735493706499027,
[],null],["t4",gc,!1,[],1,0,["images/jumpthrutile.png",100,1],null,[["Jumpthru",cc,0x4173b909dc385]],!1,!1,8233156916447033,[],null],["t5",Y,!1,[],0,0,null,null,[],!1,!1,0xb725adcd0e97,[],null,[]],["t6",fc,!1,[],0,0,null,null,[],!1,!1,0x7e1eaa05572a5,[],null],["t7",dc,!1,[],0,0,null,null,[],!1,!1,0x7fb3314fb17e4,[],null,[0,0,1,1,600,600,1E4,1,5E3,1]],["t8",ec,!1,[],0,0,null,[["Default",5,!0,1,0,!1,7534607999025759,[["images/core-sheet1.png",167117,189,1,181,238,1,0.4972375631332398,0.5042017102241516,
[],[-0.4751381278038025,-0.08823531866073608,0.08287292718887329,-0.4873949885368347,0.4917126893997192,0.02521008253097534,0.4917126893997192,0,0.4861878752708435,-0.02941179275512695,0.08287292718887329,0.4621848464012146,-0.469613254070282,0.08403360843658447,-0.4806629717350006,0],0],["images/core-sheet1.png",167117,1,240,181,238,1,0.4972375631332398,0.5042017102241516,[],[-0.4806629717350006,-0.09243699908256531,0.08287292718887329,-0.4915966689586639,0.4917126893997192,0.02521008253097534,0.480663001537323,
-0.03361347317695618,0.08287292718887329,0.4663864970207214,-0.4585635364055634,0.07563024759292603,-0.4806629717350006,0],0],["images/core-sheet0.png",170074,1,240,211,238,1,0.5023696422576904,0.5,[],[-0.4691942930221558,-0.1344537734985352,0.06635075807571411,-0.4873949587345123,0.4881516695022583,-0.03361344337463379,0.4881516695022583,0.004201710224151611,0.4834123253822327,0.0378151535987854,0.06635075807571411,0.4789915680885315,-0.4786729514598846,0.1512604951858521,-0.4928909540176392,0.004201710224151611],
0],["images/core-sheet0.png",170074,1,1,239,238,1,0.5020920634269714,0.5,[],[-0.4560669660568237,-0.1764705777168274,0.05857741832733154,-0.4831932783126831,0.4811715483665466,-0.08403360843658447,0.4895397424697876,0.004201710224151611,0.4769874215126038,0.08823531866073608,0.05857741832733154,0.4831932783126831,-0.4518828690052033,0.180672287940979,-0.4937238693237305,0.004201710224151611],0],["images/core-sheet0.png",170074,241,1,213,238,1,0.5023474097251892,0.5,[],[-0.4741784036159515,-0.1428571343421936,
0.06572771072387695,-0.4789916276931763,0.4788732528686523,-0.02941176295280457,0.4835680723190308,0.004201710224151611,0.4835680723190308,0.04201680421829224,0.06572771072387695,0.4873949289321899,-0.4600938856601715,0.1386554837226868,-0.4882628917694092,0.004201710224151611],0],["images/core-sheet0.png",170074,213,240,197,238,1,0.5025380849838257,0.5,[],[-0.4111675322055817,-0.05882352590560913,0.07106596231460571,-0.4705882668495178,0.39593905210495,0.07142859697341919,0.4619289040565491,0.004201710224151611,
0.4670050740242004,-0.004201680421829224,0.07106596231460571,0.4873949289321899,-0.4771573841571808,0.1218487620353699,-0.4720812439918518,0.004201710224151611],0],["images/core-sheet1.png",167117,1,1,187,238,1,0.5026738047599792,0.5,[],[-0.4491978585720062,-0.0714285671710968,0.07486629486083984,-0.3697478771209717,0.4652406573295593,0.03361344337463379,0.4759358167648315,-0.0168067216873169,0.07486629486083984,0.3403361439704895,-0.4866310358047485,0.1092436909675598,-0.48128342628479,0.004201710224151611],
0],["images/core-sheet1.png",167117,183,240,181,237,1,0.5027624368667603,0.502109706401825,[],[-0.4751381278038025,-0.08016878366470337,0.07734805345535278,-0.4810127019882202,0.4861878156661987,0.02953588962554932,0.4861878156661987,-0.02109703421592712,0.07734805345535278,0.4303797483444214,-0.480663001537323,0.09282702207565308,-0.4917127192020416,0.004219412803649902],0],["images/core-sheet2.png",42950,0,0,181,236,1,0.5027624368667603,0.5,[],[-0.480663001537323,-0.08474576473236084,0.07734805345535278,
-0.491525411605835,0.4861878156661987,0.02966099977493286,0.4861878156661987,0.00423729419708252,0.480663001537323,-0.02542373538017273,0.07734805345535278,0.4618644118309021,-0.4751381278038025,0.08898305892944336,-0.4861878454685211,0.00423729419708252],0]]]],[],!1,!1,0x8e301206fb890,[],null],["t9",X,!1,[],0,0,null,null,[],!1,!1,0xa020d0e8b9bfe,[],null,[]]],[],[["Layout 1",5E3,1024,!1,"Event sheet 1",0xd715198f90b23,[["Background",0,8308686514769402,!0,[255,255,255],!1,0.5,0.5,1,!1,1,0,0,[[[0,0,
0,5E3,1024,0,0,1,0,0,0,0,[]],0,0,[],[],[0,0]]],[]],["Game",1,0x4b2b7bd1f8268,!0,[255,255,255],!0,1,1,1,!1,1,0,0,[[[176,688,0,40,40,0,0,1,0.5019999742507935,0.4989816844463348,0,0,[]],1,1,[],[[330,1500,1500,650,1500,1E3,1,1],[1]],[0,"Default",0,1]],[[96,784,0,320,128,0,0,1,0,0,0,0,[]],2,2,[],[[1]],[0,0]],[[1152,768,0,96,32,0,0,1,0,0,0,0,[]],2,3,[],[[1]],[0,0]],[[1376,752,0,96,32,0,0,1,0,0,0,0,[]],2,4,[],[[1]],[0,0]],[[1008,832,0,128,32,0,0,1,0,0,0,0,[]],2,5,[],[[1]],[0,0]],[[432,736,0,128,32,0,-0.1868126690387726,
1,0,0,0,0,[]],3,6,[],[[1],[1,0,0,4,0,0,0,50,0]],[0,0]],[[1680,736,0,160,16,0,0,0.800000011920929,0,0,0,0,[]],4,8,[],[[1]],[0,0]],[[640,688,0,372.0345458984375,32,0,0.1745329201221466,1,0,0,0,0,[]],2,9,[],[[1]],[0,0]],[[1568,736,0,2928,160,0,0,1,0,0,0,0,[]],2,10,[],[[1]],[0,0]],[[160,224,0,96,16,0,0,0.800000011920929,0,0,0,0,[]],4,12,[],[[1]],[0,0]],[[160,336,0,96,32,0,0,1,0,0,0,0,[]],2,13,[],[[1]],[0,0]],[[320,160,0,96,16,0,0,0.800000011920929,0,0,0,0,[]],4,14,[],[[1]],[0,0]],[[512,128,0,96,16,0,
0,0.800000011920929,0,0,0,0,[]],4,15,[],[[1]],[0,0]],[[928,288,0,96,16,0,0,1,0,0,0,0,[]],3,18,[],[[1],[1,1,0,4,0,0,0,50,0]],[0,0]],[[4192,592,0,140.2749938964844,166.6000061035156,0,0,1,0.4972375631332398,0.5042017102241516,0,0,[]],8,11,[],[],[0,"Default",0,1]]],[]],["UI",2,9193333642115920,!0,[255,255,255],!0,0,0,1,!1,1,0,0,[[[0,0,0,352,32,0,0,1,0,0,0,0,[]],6,19,[],[],["Arrow keys or WASD to move",0,"bold 16pt Consolas","rgb(255,255,255)",0,0,0,0,0]]],[]]],[],[]]],[["Event sheet 1",[[0,null,!1,null,
894150600528298,[[5,Y.prototype.k.Ye,null,1,!1,!1,!1,8183446324240598,!1,[[9,40]]]],[[1,Z.prototype.ma.zl,"Platform",0xa1a2d69a5df58,!1]]],[0,null,!1,null,0x71464c5969009,[[5,Y.prototype.k.gh,null,0,!1,!1,!1,0xe0f7d6ffd44f7,!1,[[9,87]]]],[[1,Z.prototype.ma.kj,"Platform",0xa9b83c9bad1ba,!1,[[3,2]]]]],[0,null,!1,null,6566464689267975,[[5,Y.prototype.k.gh,null,0,!1,!1,!1,0x8b1245641bab7,!1,[[9,65]]]],[[1,Z.prototype.ma.kj,"Platform",7868044645532811,!1,[[3,0]]]]],[0,null,!1,null,5025675104076274,[[5,
Y.prototype.k.gh,null,0,!1,!1,!1,0xe3610c748295,!1,[[9,83]]]],[[1,Z.prototype.ma.zl,"Platform",6108663395704785,!1]]],[0,null,!1,null,0xe9b54fd8965a4,[[5,Y.prototype.k.gh,null,0,!1,!1,!1,0x9fa018f4ae8cc,!1,[[9,68]]]],[[1,Z.prototype.ma.kj,"Platform",7189109382391264,!1,[[3,1]]]]],[0,null,!0,null,609624066967501,[[5,Y.prototype.k.Ye,null,1,!1,!1,!1,4942121088372212,!1,[[9,37]]],[5,Y.prototype.k.Ye,null,1,!1,!1,!1,5103690791733309,!1,[[9,65]]]],[[1,ec.prototype.ma.Jl,null,8352664471948063,!1,[[3,0]]]]],
[0,null,!0,null,7118750974362616,[[5,Y.prototype.k.Ye,null,1,!1,!1,!1,903945273603009,!1,[[9,39]]],[5,Y.prototype.k.Ye,null,1,!1,!1,!1,9547869314438096,!1,[[9,68]]]],[[1,ec.prototype.ma.Jl,null,0x713487e102263,!1,[[3,1]]]]],[0,null,!1,null,5305863874223682,[[1,ec.prototype.k.zo,null,0,!1,!1,!1,487511280769779,!1,[[8,4],[0,[19,W.prototype.sc.kr]]]]],[[-1,W.prototype.ma.$o,null,0xa024cbca0037a,!1]]],[0,null,!1,null,0x90c366d36ea15,[[-1,W.prototype.k.Dl,null,1,!1,!1,!1,0x5d711e08e0887,!1]],[[7,dc.prototype.ma.Hl,
null,0x968763727633c,!1,[[3,1],[1,[2,"Ultimo nivel"]],[3,1],[0,[0,0]],[1,[2,""]]]]]],[0,null,!1,null,4887047291240262,[[1,Z.prototype.k.Cl,"Platform",1,!1,!1,!1,0xda24e619fb7c,!1]],[[7,dc.prototype.ma.Hl,null,7514255334818069,!1,[[3,0],[1,[2,"salto"]],[3,0],[0,[0,0]],[1,[2,""]]]]]],[0,null,!1,null,5589679141426805,[[1,Z.prototype.k.Al,"Platform",0,!1,!1,!1,5246532819766499,!1]],[[1,ec.prototype.ma.Il,null,0x3fcb42b657efc,!1,[[1,[2,"moving"]],[3,1]]]]],[0,null,!1,null,0x4cb82eb69fcf9,[[1,Z.prototype.k.Al,
"Platform",0,!1,!0,!1,5595963319473662,!1]],[[1,ec.prototype.ma.Il,null,7983332685486752,!1,[[1,[2,"idle"]],[3,1]]]]],[0,null,!1,null,0x549f7b1fc2273,[[8,ec.prototype.k.Io,null,0,!1,!1,!0,0x9d0a605c4d855,!1,[[4,1]]]],[[9,X.prototype.ma.Bo,null,0x46c935ef3043f,!1,[[1,[2,"../animacion_final.html"]]]]]]]]],"media/",!1,640,480,4,!0,!0,!0,"1.0",!0,!1,0,0,21,!1,!0,[]]};
